text stringlengths 10 953k |
|---|
<TS language="bg" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Десен бутон за да редактирате адрес или наименование</translation>
</message>
<message>
<source>Create a new address</source>
... |
/* Autogenerated by @sbb-esta/angular-icons schematics */
// tslint:disable
import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
/**
* @deprecated use @sbb-esta/angular-core/icon module
*/
@Component({
selector: 'svg[sbbIconTicketHeartMedium]',
template: `
<svg:g fill="none" fill-rul... |
import { ControllerRouteResponse } from "./controllers/ControllerRouteResponse";
import { MvcGame } from "./MvcGame";
export abstract class MvcCanvasGame<MODELS, VIEWS, CONTROLLERS> extends MvcGame {
protected canvas: HTMLCanvasElement;
protected models: MODELS;
protected views: VIEWS;
protected contro... |
import { Controller, Get, Query } from '@nestjs/common';
import { CreateCatDto } from './dto/create-cat.dto'
@Controller('cat')
export class CatController {
@Get()
getNameCat(@Query() query: CreateCatDto): string {
console.log(query);
return 'Kem Map';
}
} |
/*
* Nest @testing
* Copyright(c) 2017-... Kamil Mysliwiec
* www.nestjs.com || www.kamilmysliwiec.com
* MIT Licensed
*/
export * from './interfaces';
export * from './test'; |
import { Component, Input, Output, EventEmitter, OnChanges } from '@angular/core';
import { Grid } from '../../../lib/grid';
import { DefaultCreateSaveCancel } from '../../../lib/create-save-cancel-default';
@Component({
selector: 'ng2-st-actions',
template: `
<div class="form-creator-submit" [formGro... |
import { css, cx } from '@emotion/css'
import type { ButtonHTMLAttributes } from 'react'
import { ThemingVariables } from '@app/styles'
export function FormButton(
props: ButtonHTMLAttributes<HTMLButtonElement> & {
variant: 'primary' | 'secondary' | 'danger'
}
) {
const { className, ...restProps } = props
... |
// eslint-disable-next-line @typescript-eslint/typedef
export const WS_ADAPTER_TYPES = {};
// eslint-disable-next-line @typescript-eslint/typedef
export const WS_ADAPTER_PUBLIC_TYPES = {}; |
<TS language="be_BY" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Правы клік, каб рэдагаваць адрас ці метку</translation>
</message>
<message>
<source>Create a new address</source>
<tran... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NewSeriesComponent } from './new-series.component';
describe('NewSeriesComponent', () => {
let component: NewSeriesComponent;
let fixture: ComponentFixture<NewSeriesComponent>;
beforeEach(async(() => {
TestBed.configureTesti... |
// Type definitions for passport-saml 1.1
// Project: https://github.com/bergie/passport-saml
// Definitions by: Chris Barth <https://github.com/cjbarth>
// Damian Assennato <https://github.com/dassennato>
// Karol Samborski <https://github.com/ksamborski>
// Jose Colella... |
export const tuple = <T extends string[]>(...args: T) => args;
export type Data = Record<string, unknown>; |
import styled from '@emotion/styled';
import {flex, FlexProps as BaseFlexProps} from './utils/flex';
import {Box, BoxProps} from './Box';
export type FlexProps = BaseFlexProps & BoxProps;
const getFlexStyles = (props: FlexProps) => {
let flexProps = {};
for (const key in props) {
if (key in flex) {
c... |
import { Component } from '@angular/core';
import { ColumnMode } from 'projects/stas-kh/ngx-datatable-with-ie-fix/src/public-api';
@Component({
selector: 'virtual-scroll-demo',
template: `
<div>
<h3>
Virtual Scrolling with 10k Rows
<small>
<a
href="https://github.com... |
import { TypeName, Module, Source, Parser } from "visitor-as/as";
import { BaseVisitor } from "visitor-as";
declare interface RegExp {
test(s: string): bool;
}
const toIgnore = [
"builtin",
".spec",
"dataview",
"date",
"math",
"number",
"string",
"typedarray",
"bindings/Date",
"bindings/Math",
]... |
import { CreatePublicationDto } from './create-publication.dto';
import { IsDecimal, IsIn, IsInt, IsPositive, IsString } from 'class-validator';
export class UpdatePublicationDto {
@IsString()
name: string;
@IsDecimal()
price: number;
@IsInt()
@IsPositive()
stock: number;
@IsString()
contact: stri... |
import { Options, Result } from "../../lib/types";
import generate from "../../lib/index";
import "spectre.css/dist/spectre.min.css";
import "spectre.css/dist/spectre-icons.min.css";
export default function(callback: (result: Result) => any) {
const form = document.getElementById("form") as HTMLFormElement;
const ... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-comp-1778',
templateUrl: './comp... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {CommonModule} from '@angular/common';
import {ChangeDetectorRef, Component, ComponentFactoryResolver, Direct... |
import * as React from 'react';
import { IconWrapper } from '../IconWrapper';
import { ISvgIconProps } from '../svgConfig';
export default IconWrapper(
(props: ISvgIconProps) => (
<svg
width={props.size}
height={props.size}
viewBox="0 0 48 48"
fill="none"
... |
import { PositioningStrategy, Modifier, Rect } from "../types";
import { BasePlacement } from "../enums";
export declare type Options = {
gpuAcceleration: boolean;
adaptive: boolean;
};
export declare function mapToStyles({ popper, popperRect, placement, offsets, position, gpuAcceleration, adaptive }: {
pop... |
import { InjectionToken } from '@angular/core';
import { GlobalConfig } from './global-config.interface';
export let APP_CONFIG = new InjectionToken<GlobalConfig>('app config');
export const APP_DI_CONFIG: GlobalConfig = {
APP_TITLE: 'Vikas\'s awesome travel blog!'
}; |
import codedeploy = require('@aws-cdk/aws-codedeploy-api');
import ec2 = require('@aws-cdk/aws-ec2');
import cdk = require('@aws-cdk/cdk');
import { cloudformation } from '../elasticloadbalancingv2.generated';
import { Protocol, TargetType } from './enums';
import { Attributes, renderAttributes } from './util';
/**
*... |
import { FunctionPatch } from 'mergerino'
import { CommentChild, Post } from 'lib/api'
import { Conf } from 'types'
export interface State {
conf: Conf
firstLoad: boolean
commentsLoading: boolean
comments: CommentChild[]
postsLoading: boolean
posts: Post[]
activePost?: Post
noContent: boolean
}
export... |
import { Component, OnInit, Input, Output } from '@angular/core';
import { routerTransition } from '../../router.animations';
import {BlueprismService} from '../../services/BlueprismService';
import { DataLoadService } from '../../services/DataLoadService';
import 'rxjs/add/operator/map';
import { BlueprismModel } from... |
import * as faker from 'faker';
import { SITE_URL } from '@core';
import {
productDetailsPage,
productImageUrl,
absoluteURL,
} from './urlConstructors';
describe('url constructors', () => {
it('productDetailsPage', () => {
const randomId = faker.random.alphaNumeric();
const expected ... |
import * as JsSearch from 'js-search';
import type { CourseCard } from './searchSortAndPaginate';
export function setUpSearch(onSearchUpdated: VoidFunction): void {
const searchInput = getSearchBox();
searchInput?.addEventListener('input', onSearchUpdated);
searchInput?.addEventListener(
'keydown',
(even... |
import Image from './Image'
import Link from './Link'
const Card = ({ title, description, imgSrc, href }) => (
<div className="p-4 md:w-1/2 md" style={{ maxWidth: '544px' }}>
<div className="h-full overflow-hidden border-2 border-gray-200 rounded-md border-opacity-60 dark:border-gray-700">
{href ? (
... |
import { defineConfig } from "vite";
export default defineConfig({
test: {
reporters: [
"verbose",
],
},
}); |
import { observable, computed } from 'mobx';
import { IDisposable } from 'common/utils/unsubscriber';
import { GoalType, GoalStatus } from 'common/models';
import AppController from 'app/controllers';
import { TextInputVM } from 'common/viewModels';
import { IClientPromptsController } from 'app/controllers/Prompts.Clie... |
import { getRepository } from 'typeorm'
import { ValidatorInfoEntity } from 'orm'
import { generateValidatorResponse } from './helper'
export function getValidators(): Promise<ValidatorResponse[]> {
return getRepository(ValidatorInfoEntity)
.find({ order: { votingPowerWeight: 'DESC' } })
.then((validators) =... |
/* eslint-disable @typescript-eslint/no-empty-interface*/
/// <reference types="../environment" />
import styled from 'styled-components';
import { OneAtomSizeProps, Size } from './size.component';
import { OneAtomCommonPropType } from '../prop_type';
export interface OneAtomStaticButtonProps extends OneAtomSizeProps,... |
import * as reducer from './reducers';
import * as actions from './actions';
export {
reducer as loaderReducer,
actions as loaderActions
}; |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { Component, EventEmitter, Input, Output } from '@angular/core';
import { Exercise, UserCallMetadata, Workout, WorkoutState, WorkoutStateEnum } from 'src/app/models';
import { UtilityService } from 'src/app/services';
@Component({
selector: 'app-workout-player',
templateUrl: './workout-player.component.html... |
import * as React from 'react';
import TestRenderer from 'react-test-renderer';
import Button from '../../../adapters/wechat/components/Button';
describe('Button', () => {
it('render correctly', () => {
const testRenderer = TestRenderer.create(
<Button className="class">Button</Button>
);
expect(t... |
import { AuthService, LoginContextInterface } from './../../../../core/service/auth.service';
import { ActivatedRoute, Router } from '@angular/router';
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import { first } from 'rxjs/operato... |
// Angular 2
// rc2 workaround
import { enableDebugTools, disableDebugTools } from '@angular/platform-browser';
import { enableProdMode, ApplicationRef } from '@angular/core';
// Environment Providers
let PROVIDERS: any[] = [
// common env directives
];
// Angular debug tools in the dev console
// https://github.com... |
import './graph';
import './series_overrides_ctrl';
import './thresholds_form';
import './time_regions_form';
import template from './template';
import _ from 'lodash';
import { MetricsPanelCtrl } from 'app/plugins/sdk';
import { DataProcessor } from './data_processor';
import { axesEditorComponent } from './axes_edi... |
import { Icon } from '@/components/icon'
Icon.register({
'brands/git-alt': {
width: 448,
height: 512,
paths: [
{
d:
'M439.6 236.1c4.7 4.7 8.5 13.8 8.5 20.4s-3.8 15.7-8.5 20.4l-194.7 194.7c-4.7 4.7-13.8 8.4-20.4 8.4s-15.7-3.8-20.4-8.4l-195.6-195.6c-4.7-4.7-8.5-13.8-8.5-20.4s3.8-15.... |
/*
Copyright (C) 2017 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... |
/**
* This module provides several function to handle version numbers on client side.
*
* Copyright: Ruben Kaiser 2022
* Version: 0.1.0
*/
import * as pj from '../../package.json'
const version = pj.version
function getCookieVersion(): number {
const v: string | null = localStorage.getItem("v")
if (!v)
... |
export class Message {
public type: string;
public message: any;
public isOpen: boolean;
public constructor (
_type: string, _message: string
) {
this.type = _type;
this.message = _message;
this.isOpen = true;
}
} |
/**
* Bungie.Net API
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* The version of the OpenAPI document: 2.12.0
* Contact: support@bungie.com
*
* NOTE: This class... |
import {
createMethodDefinition,
createModuleDefinition,
createObjectDefinition,
createObjectPropertyDefinition,
createInterfaceImplementedDefinition,
createTypeInfo,
TypeInfo,
} from "@web3api/schema-parse";
export const typeInfo: TypeInfo = {
...createTypeInfo(),
objectTypes: [
{
...creat... |
/* eslint-disable @typescript-eslint/naming-convention */
/* eslint-disable @typescript-eslint/no-unused-vars */
declare namespace NodeJS {
interface ProcessEnv {
NODE_ENV: "development" | "production";
SERVER_PORT: string;
WECHAT_APP_ID: string;
WECHAT_APP_SECRET: string;
... |
import { Theme } from "@material-ui/core"
import React from "react"
export type ThemeTypeContextType = {
_theme: Theme
toggleTheme: () => void
}
export default React.createContext<ThemeTypeContextType | null>(null) |
import React from 'react'
import { DatePicker } from '@stage-ui/core'
export default () => <DatePicker type="day" format="YYYY-MM-DD" label="Please pick a date" /> |
import { CreateCouponDto } from './create-coupon.dto';
declare const UpdateCouponDto_base: import("@nestjs/common").Type<Partial<CreateCouponDto>>;
export declare class UpdateCouponDto extends UpdateCouponDto_base {
}
export {}; |
/// <reference types="svelte" />
import { SvelteComponentTyped } from "svelte";
export type NumberInputTranslationId = "increment" | "decrement";
export interface NumberInputProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["input"]> {
/**
* Set the size of the input
* @default undefined
*/
... |
import {format_asset_title_for_ui, timestamp_to_date} from './utils';
import {format_currency_value, pages, settings} from './settings';
import {AssetBalance} from './model/asset-balance';
import 'datatables.net';
let TOTAL_BALANCES_TABLE: DataTables.Api | null = null;
const SAVED_BALANCES: { [location: string]: { [as... |
import { Inject, Injectable } from '@nestjs/common';
import { CreateRoleDto } from './dto/create-role.dto';
import { UpdateRoleDto } from './dto/update-role.dto';
import { Role } from './entities/role.entity';
@Injectable()
export class RolesService {
constructor(
@Inject('ROLES_REPOSITORY')
private rolesRep... |
import { CheckAccountForm } from "~/components/check-account";
import { LayoutRoot } from "~/components/layout/home";
import { HomePageContent } from "~/components/layout/home/home-content";
import { Container } from "~/components/ui/container";
export default function RegistrationStatus() {
return (
<LayoutRoot... |
import { UseMultipleSelect, useMultipleSelect, UseMultipleSelectProps } from "./use-multiple-select";
import {
ComboboxFunctions,
defaultFilter,
useComboboxBase,
useInputValueHandler,
useInputValueState,
} from "./combobox-core";
import { useEffect } from "react";
import { UseComboboxReturnValue } from "./use... |
import { Component, OnInit } from '@angular/core'
import { MessageService } from "../message.service"
@Component({
selector: 'app-messages',
templateUrl: './messages.component.html',
styleUrls: ['./messages.component.css']
})
export class MessagesComponent implements OnInit {
constructor(public messageService... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gl" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About UniversalDigitalCoin</source>
<translation>Acerca de UniversalDigitalCoin</translation>
</message>
... |
import { getBuildPath, buildPatch } from "./build"
import { loadConfig } from "./patch-config"
import fs from "fs"
const patch = process.argv[2]
if (patch) {
const config = loadConfig(patch)
const entryFile = `./patches/${patch}/${config.entry}`
const buildPath = getBuildPath(patch)
if (fs.existsSync(entryFil... |
/** @noSelfInFile */
declare namespace WoWAPI {
type BuffFilterType = "HELPFUL" | "HARMFUL" | "PLAYER" | "RAID" | "CANCELABLE" | "NOT_CANCELABLE";
type BuffWeaponHandType = 1 | 2;
type DebuffType = "Magic" | "Disease" | "Poison" | "Curse" | "";
}
/**
* Removes a specific buff from the unit
* @param unit... |
import Vue, { VNode } from 'vue'
declare global {
namespace JSX {
// tslint:disable no-empty-interface
interface Element extends VNode {}
// tslint:disable no-empty-interface
interface ElementClass extends Vue {}
interface IntrinsicElements {
[elem: string]: any;
}
}
interface Wind... |
import React from 'react'
import styled from 'styled-components/macro'
import { fg, borderRadius } from '../../utils/theme'
import { base, focus } from '../../utils/style'
import Container from '../Container'
const gap = '0.375rem'
const border = '1px solid'
const fontSize = '0.75rem'
const Wrapper = styled.button`
... |
import React from "react"
export const App = () => {
return (
<div>
<h1>Hello, world!</h1>
</div>
)
} |
<TS language="ja" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>右クリックでアドレスまたはラベルを編集します</translation>
</message>
<message>
<source>Create a new address</source>
<translation>新規アドレスの作成</tra... |
import { Component } from '@angular/core';
import { Auth } from '../../services/auth.service';
@Component({
moduleId: module.id,
selector: 'profile',
templateUrl: 'profile.component.html',
})
export class ProfileComponent {
profile:any;
constructor(private auth: Auth){
this.profile = JSON.parse(localS... |
import { ActionPanel, confirmAlert, Detail, getPreferenceValues, ImageMask, List, ListItem, OpenAction, showToast, ToastStyle } from "@raycast/api";
import React from "react";
import fetch from 'node-fetch';
import { exec } from "child_process";
import Item from "./interfaces/FollowingItem";
import { Preferences } fro... |
import { WorkerBody } from './WorkerBody';
import { IAnyClass, ICallback, IConfig, IMain, ISimpleWrap, IWrapProcess, TAnyFunction } from './interface';
import { Serializer } from './Serializer';
import { Wrap } from './Wrap';
import { Parser } from './Parser';
export * from './WorkerBody';
export * from './Serializer'... |
import axios from 'axios';
import {API_URL} from '@env';
const api = axios.create({
baseURL: API_URL,
});
export default api;
// 'http://localhost:3333' ||
// 'http://192.168.1.6:3333'
// 'http://10.0.2.2:3333' |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import React, { useState, FormEvent } from 'react';
import PageHeader from '../../components/PageHeader';
import TeacherItem, { Teacher } from '../../components/TeacherItem';
import Input from '../../components/Input';
import Select from '../../components/Select';
import api from '../../services/api';
import './style... |
import { WebhookPayload, Calendar } from '@asap-hub/squidex';
export const getCalendarCreateEvent = (): WebhookPayload<Calendar> => ({
type: 'CalendarsCreated',
payload: {
$type: 'EnrichedContentEvent',
type: 'Created',
id: 'cc5f74e0-c611-4043-abde-cd3c0d5a3414',
created: '2021-02-15T13:11:25Z',
... |
export const db = `mongodb+srv://${process.env.DATABASE_USER}:${process.env.DATABASE_USER_PASSWORD}@cluster.yhqh9.mongodb.net/${process.env.DATABASE_NAME}?retryWrites=true&w=majority`;
// export const db = 'mongodb://127.0.0.1:27017'; |
import { Component, OnInit } from '@angular/core';
import { PlayersService } from 'src/app/players.service';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { PlayerModalComponent } from '../player-modal/player-modal.component';
import { Player } from '../player';
import { random, cloneDeep } from 'lodas... |
import { TestBed, async, inject, ComponentFixture } from "@angular/core/testing";
import { DebugElement } from "@angular/core";
import { ReactiveFormsModule, FormGroup, FormControl } from "@angular/forms";
import { NoopAnimationsModule } from "@angular/platform-browser/animations";
import { By } from "@angular/platform... |
import {
controller, httpGet,
} from "inversify-express-utils";
import { inject } from "inversify";
import { Request } from "express";
import { AlbumRepository } from "src/domain/AlbumRepository";
import TYPES from "src/types";
@controller("/api/albums")
export class UserController {
constructor(@inject(TYPES.A... |
import Particle from "./Particle";
import { engine } from "./Sketch";
import DNA from "./DNA";
export default class Population {
private particles: Array<Particle> = new Array
constructor(readonly size: number) {
for (let i = 0; i < size; i++) {
const x = Math.floor(engine.random(1800))
... |
export interface IUser {
id: string;
nome: string;
sobreNome: string;
password: string;
email: string;
sexo: string;
telefoneCelular: string;
status: string;
perfil: string;
endereco: {
estado: string;
cidade: string;
bairro: string;
logradouro: st... |
// Copyright (c) JupyterLite Contributors
// Distributed under the terms of the Modified BSD License.
import { test as base } from '@jupyterlab/galata';
import { expect } from '@playwright/test';
// TODO: fix upstream condition so it's not specific to JupyterLab?
const test = base.extend({
waitForApplication: asyn... |
import { action, observable } from "mobx";
interface IUiState {
isShowCategoryContainer: boolean;
isShowSidebar: boolean;
}
class UiStore implements IUiState {
@observable
isShowCategoryContainer: boolean = false;
@observable
isShowSidebar: boolean = false;
constructor(initialState = {})... |
import React, { FC } from 'react';
import { css } from '@emotion/core';
import { Theme } from '@material-ui/core';
import headerImage from 'images/header.png';
import { Link } from 'common/styles';
const logo = (theme: Theme) => css`
background: ${theme.palette.secondary.main} url(${headerImage}) no-repeat center;
... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HeroesComponent } from "./HeroesComponent.1";
describe('HeroesComponent', () => {
let component: HeroesComponent;
let fixture: ComponentFixture<HeroesComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
... |
import {
CancellationToken,
Hover,
HoverProvider,
Position,
ProviderResult,
TextDocument,
MarkdownString
} from 'vscode';
import { ExtensionSetting } from '../../../settings/extension';
export abstract class AbstractHoverProvider implements HoverProvider {
protected settings: Extensio... |
import { SortDirectionNumber } from '../../models/sortDirectionNumber.enum';
import { numericSorter } from '../numericSorter';
describe('the Numeric Sorter', () => {
it('should return an array of numbers sorted ascending when only numbers are provided', () => {
const direction = SortDirectionNumber.asc;
cons... |
import React from 'react';
import {
ScrollView,
ViewStyle,
} from 'react-native';
import {
ThemedComponentProps,
ThemeType,
withStyles,
} from 'react-native-ui-kitten';
import {
ShowcaseSection,
ShowcaseSectionProps,
} from './showcaseSection.component';
import {
ComponentShowcase,
ComponentShowcaseSe... |
import * as gameObjects from "game-objects"
import _ from "lodash"
import { ObjectList } from "../object-list"
type Equippable = gameObjects.equippable.Equippable
/**
* Helpers for working with the list of `effects` on an object.
*
* see: object-list
*/
export class Equipment extends ObjectList<Equippable> {
/*... |
/* eslint-disable @typescript-eslint/naming-convention */
import * as React from 'react';
export interface TrapFocusProps {
/**
* If `true`, focus is locked.
*/
open: boolean;
/**
* Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.
* For instance, you can provide the "ta... |
import MessageHandler from "../messageHandler";
import ExtendedInfo from "../extendedInfo";
import TwitchExtendedInfo from "../extendedInfos/twitchExtendedInfo";
import MessageFloodgate from "../messageFloodgate";
class Fightan implements MessageHandler {
private _fightan = ["Last Bronx", "Galaxy Fight", "Waku Waku ... |
export * from '@styled-icons/fa-regular/WindowMaximize' |
import {Injectable} from '@angular/core';
import {HttpClient, HttpErrorResponse} from '@angular/common/http';
import {catchError, map} from 'rxjs/operators';
import {throwError} from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class MovieService {
constructor(private http: HttpClient) {
}
getAll() {
... |
import React from "react";
const Flag = () => {
return <span>xx</span>;
};
export default Flag; |
import { NgModule } from '@angular/core';
import { Routes, RouterModule, ChildrenOutletContexts } from '@angular/router';
import { AppComponent } from './app.component';
import { FirstComponent } from './components/first.component';
import { DatabindingComponent } from './components/databinding/databinding.component';
... |
/* eslint-disable complexity -- Necessary for validateCheckCash */
import { ValidationError } from '../../errors'
import { Amount } from '../common'
import { BaseTransaction, validateBaseTransaction, isAmount } from './common'
export interface CheckCash extends BaseTransaction {
TransactionType: 'CheckCash'
Check... |
import {Component} from '@angular/core';
import {ExampleBaseComponent} from '../example.abstract';
import { MatSnackBar } from '@angular/material/snack-bar';
@Component({
selector: 'app-reset-psasword',
templateUrl: './reset-password.component.html',
styleUrls: ['./reset-password.component.scss']
})
export class... |
import { expect } from '@open-wc/testing';
import $(ClassName) from './$(path).js';
describe('IgcFinancialChartComponent', () => {
it('<app-$(path)> is an instance of $(ClassName)', async () => {
const element = document.createElement('app-$(path)');
expect(element).to.be.instanceOf($(ClassName));
});
}); |
import 'isomorphic-fetch';
import { BN } from 'ethereumjs-util';
import nock from 'nock';
import * as util from './util';
import {
Transaction,
GasPriceValue,
FeeMarketEIP1559Values,
} from './transaction/TransactionController';
const VALID = '4e1fF7229BDdAf0A73DF183a88d9c3a04cc975e0';
const SOME_API = 'https://... |
import { IStore } from '../constants'
interface Descriptor {
saga: any
}
export const injectSaga = <T>(
store: IStore<T>,
key: string,
descriptor: Descriptor,
args?: any
): void => {
const { saga } = descriptor
let hasSaga = Reflect.has(store.asyncSagas, key)
if (process.env.NODE_ENV ... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import {ObjectMeta} from "../meta/v1";
export na... |
import React from 'react';
import { FieldRenderProps } from 'react-final-form';
import { GetProps } from '_helpers';
import { Radio, FormControlLabel } from 'shared/view/elements';
import { getFieldWithComponent } from 'shared/helpers/react';
type BaseProps = GetProps<typeof Radio> & FieldRenderProps<HTMLElement>;
... |
"use strict";
import { AudioPlugin } from "./AudioPlugin";
export interface AudioPluginStatic {
// Audio Pluginの実装すべきStatic methodについての定義
new (): AudioPlugin;
// 実行環境がこのpluginをサポートしているか返す
isSupported(): boolean;
} |
import { name } from '../package.json'
const errPrefix = `[${name}] `
enum Unit {
hour = 'hour',
minute = 'minute',
second = 'second'
}
enum ParamFormat {
HHmm = 'HH:mm',
HHmmss = 'HH:mm:ss',
hourjs = 'hourjs'
}
class HourJs {
hours: string
minutes: string
seconds: string
hours_num: number
minu... |
import { BrowserView, BrowserWindow } from 'electron'
import { join } from 'path'
import { getPageUrl } from './utils/pageUrl'
import newWindowHandler from './utils/newWindow'
import baseListerner from './listeners/baseListener'
import { createDefaultWinByTitle } from './default/windows'
const env = import.meta.env
f... |
// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
export declare const BiRupee: IconType; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.