text
stringlengths
10
953k
import {MigrationInterface, QueryRunner} from "typeorm"; export class UserMigration1640185403208 implements MigrationInterface { name = 'UserMigration1640185403208' public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.query(`CREATE TABLE "user" ("id" integer PRIMARY KEY AUTOINC...
import * as React from "react"; import { graphql, PageProps } from "gatsby"; import { Layout, Seo, Pagination, ArticleListItem, NoneArticle, } from "../components"; import { ArticleListContext } from "../gatsby-node/index"; type ContextProps = { pageContext: ArticleListContext; }; const BlogPostsByCategor...
// svg/record-circle-outline.svg import { createSvgIcon } from './createSvgIcon'; export const SvgRecordCircleOutline = createSvgIcon( `<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg"...
import dayjs from 'dayjs'; import { Post, SortedPosts } from '../types/types'; /** * Sort given posts by weekday and hour * @param {Post[]} posts * @returns {SortedPosts} */ const sortPosts = (posts: Post[]): SortedPosts => { // Create an array for sorted posts const sorted: SortedPosts = new Array<number>(7)....
import * as React from 'react' import { NumericTextBox, NumericTextBoxChangeEvent } from "@progress/kendo-react-inputs"; export interface PercentageControlProps { value: number | null; onChange(value: number | null): void; } export class PercentageControl extends React.Component<PercentageControlProps, {}> { ...
import { Observable } from 'rxjs/internal/Observable'; export interface DashboardDataSource { key: string; metaData: any; data: any; } export abstract class DataSourceService { abstract init(); abstract dataSourceList(): Observable<string[]>; abstract dataSourceMetadata(dataSourceKey: string): Observable<...
import React from 'react'; import styled from 'styled-components'; import Skeleton from '../../../Skeleton'; import tokens from '../../../../tokens'; import { StepProps } from '../Step'; const StepSkeletonWrapper = styled.span.attrs({ className: 'step--skeleton' })` position: relative; &:before { position: absolu...
declare module 'good';
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { inject, injectable } from 'inversify'; import { StatusBarAlignment, StatusBarItem } from 'vscode'; import { IExtensionSingleActivationService } from '../../platform/activation/types'; import { IDocumentManager,...
import { bridge } from '../decorator/bridge' import { native } from '../decorator/native' import { View } from './View' import './SpinnerView.ds' @bridge('dezel.view.SpinnerView') /** * Displays a spinning indicator. * @class SpinnerView * @super View * @since 0.1.0 */ export class SpinnerView extends View { ...
export interface TenantSettings { "CustomPortalSettings.RegistrationEnabled": boolean; "CustomPortalSettings.UserRegistrationTerms": string; "CustomPortalSettings.UserRegistrationTermsEnabled": string; "CustomPortalSettings.UserRegistrationTermsConsentRequired": string; "CustomPortalSettings.Delegat...
import type { Config } from "@jest/types"; // Sync object const config: Config.InitialOptions = { verbose: true, transform: { "^.+\\.ts?$": "ts-jest", }, }; export default config;
import {MigrationInterface, QueryRunner, Table} from "typeorm"; export class createImages1602871302209 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.createTable(new Table({ name: 'images', columns: [ { name: 'id', ...
import { Component } from '@angular/core'; /** * This class represents the navigation bar component. */ @Component({ moduleId: module.id, selector: 'sd-navbar', templateUrl: 'navbar.component.html', styleUrls: ['navbar.component.css'], }) export class NavbarComponent { }
export * from './DashDialog'; export * from './DashView'; export * from './DashComponent'; export * from './EditorMode'; export * from './EventType'; export * from './Direction';
export const attribute_names = Object.freeze([ "intelligence", "memory", "perception", "willpower", "charisma", ]); export const attribute_types = Object.freeze([ "intelligence/memory", "intelligence/perception", "intelligence/willpower", "intelligence/charisma", "memory/intelli...
import { MutationUpdaterFn } from 'apollo-boost'; const onCompletedUpdate = <T>(f: (data: T | null | undefined) => void) => { const handleUpdate: MutationUpdaterFn<T> = ({}, { errors, data }) => { if (!errors || errors.length === 0) { return f(data); } }; return handleUpdate; }; export default onC...
import * as THREE from "three"; import { Camera, Dim } from "./types"; export class AxisLabel { private div: HTMLDivElement; private canvas: HTMLCanvasElement; private text: string; private position: THREE.Vector3; private dim: Dim; private dpr: number; constructor( text: string, pos: number[], ...
import { BinanceClient, Balance } from '@thorchain/asgardex-binance' import { assetToBase, assetAmount, PoolData, EMPTY_ASSET } from '@thorchain/asgardex-util' import * as E from 'fp-ts/lib/Either' import * as FP from 'fp-ts/lib/function' import * as O from 'fp-ts/lib/Option' import { PoolAsset } from '../../views/poo...
import React, { useEffect, useState } from 'react'; import { JupyterFrontEnd } from '@jupyterlab/application'; import { IDocumentManager } from '@jupyterlab/docmanager'; import StyledTabbedHeader, { ITabbedHeaderTab } from '../common/TabbedHeader'; import { useParams, useNavigate } from 'react-router-dom'; import Style...
type DataType = { attr: '検査実施人数' value: number children: [ { attr: '陽性患者数' value: number children: [ { attr: '入院中' value: number children: [ { attr: '軽症・中等症' value: number }, { ...
export const ROUTES = [ { package: 'Core', urlSegment: 'core', groups: { functions: ['bootstrap'], decorators: ['Controller', 'Injectable', 'Middleware', 'Module', 'Route'] } }, { package: 'GraphQL', urlSegment: 'graphql', group...
import Object = require('nashorn/java/lang/Object'); import LeafElement = require('nashorn/com/intellij/psi/impl/source/tree/LeafElement'); import CompositeElement = require('nashorn/com/intellij/psi/impl/source/tree/CompositeElement'); declare class TreeElementVisitor extends Object { constructor(); visitLeaf(arg1 ...
import 'jest-extended' import { maxBigInt } from '~' describe('maxBigInt', () => { it.each<[unknown]>([[Number.POSITIVE_INFINITY], [Number.NaN], [null], ['']])( 'should throw for %p as a maxValue', maxValue => { expect(() => maxBigInt(0, maxValue as number)).toThrow(TypeError) ...
import React from 'react'; interface Props { quantity: number; } const ServicesCardLoadingSkeleton: React.FunctionComponent<Props> = ({ quantity }) => { return ( <React.Fragment> <div className="grid grid-cols-1 items-start justify-items-center gap-8 md:grid-cols-2 lg:grid-cols-4"> {Array(quantity) .f...
import { SkyraCommand, SkyraCommandOptions } from '@lib/structures/SkyraCommand'; import { CLIENT_ID } from '@root/config'; import { ApplyOptions } from '@skyra/decorators'; import { assetsFolder } from '@utils/constants'; import { fetchAvatar, radians } from '@utils/util'; import { Canvas } from 'canvas-constructor'; ...
import { expose, Remote } from "comlink"; import { HatebuSearchListItem } from "../src/container/SearchContainer/SearchContainerStore"; import { matchBookmarkItem } from "../src/domain/Hatebu/BookmarkSearch"; let currentItems: HatebuSearchListItem[] = []; const WorkerAPI = { init(items: HatebuSearchListItem[]) { ...
import * as React from "react"; import { IRepository } from "../types"; export interface IProps { repo: IRepository; } export class GitRepoDetails extends React.Component<IProps, { issues: any[] }> { constructor(props: any) { super(props); this.state = { issues: undefined }...
import { Location } from './location'; /** * The set of allowed kind values for AST nodes. */ export enum ASTNodeKind { /** Name */ NAME = 'Name', /** Document */ DOCUMENT = 'Document', /** Types */ NAMED_TYPE = 'NamedType', LIST_TYPE = 'ListType', /** Type System Definitions */ FIELD_DEFINITIO...
/* University of Illinois/NCSA Open Source License Copyright (c) 2018 Terrain Data, Inc. and the authors. All rights reserved. Developed by: Terrain Data, Inc. and the individuals who committed the code in this file. https://github.com/terraindata/terrain Permission is ...
import { Test, TestingModule } from '@nestjs/testing'; import { Request, request, Response, response } from 'express'; import { BackendLoggerMiddleware } from './logger.middleware'; describe('BackendLoggerMiddleware', () => { let testingModule: TestingModule; let middleware: BackendLoggerMiddleware; beforeAll(...
import { Component, EventEmitter, Input, OnInit, OnDestroy } from '@angular/core'; import { combineLatest, Subject } from 'rxjs'; import { isNil } from 'lodash/fp'; import { takeUntil } from 'rxjs/operators'; import { Store } from '@ngrx/store'; import { NgrxStateAtom } from 'app/ngrx.reducers'; import { updateTagsSt...
// tslint:disable:max-line-length import * as fs from 'fs-extra'; import { expect } from 'chai'; import * as path from 'path'; const ng = require('../helpers/ng'); const tmp = require('../helpers/tmp'); const root = process.cwd(); const testPath = path.join(root, 'tmp', 'foo', 'src', 'app'); function fileExpectatio...
/* * Public API Surface of b5k-datepicker */ export * from './lib/datepicker/view-mode'; export * from './lib/datepicker/datepicker.component'; export * from './lib/b5k-datepicker.module'; export * from './lib/B5kDatepickerConfigService'; export * from './lib/datepicker/datepicker.directive';
import {Injectable} from '@angular/core'; import * as signalR from '@microsoft/signalr'; import {environment} from '../../../../environments/environment'; import * as _ from 'lodash'; import {UserInfoCompetition} from '@app/modules/user/models/competition.model'; import {AppNotify} from '@app/share/AppNotify'; @Inject...
import { Editor, Code, ErrorReason } from "../../editor/editor"; import { Selection } from "../../editor/selection"; import { InMemoryEditor } from "../../editor/adapters/in-memory-editor"; import { testEach } from "../../tests-helpers"; import { convertTernaryToIfElse } from "./convert-ternary-to-if-else"; describe(...
import { NgModule } from '@angular/core'; import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; const routes: Routes = [ { path: 'app', loadChildren: './tabs/tabs.module#TabsPageModule' }, { path: '', loadChildren: './pages/preflight/preflight.module#PreflightPageModule' }, ]; @NgModule({ im...
export default function ContactPage() { return ( <div> <p> ContactPage Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam tempore, minima repellendus vel amet sed iste rem reprehenderit quod magnam incidunt qui ex corrupti eos nobis optio suscipit ex...
export type PlayerShipName = | "金剛" | "金剛改" | "金剛改二" | "金剛改二丙" | "比叡" | "比叡改" | "比叡改二" | "比叡改二丙" | "榛名" | "榛名改" | "榛名改二" | "霧島" | "霧島改" | "霧島改二" | "扶桑" | "扶桑改" | "扶桑改二" | "山城" | "山城改" | "山城改二" | "伊勢" | "伊勢改" | "伊勢改二" | "日向" | "日向改" | "日向改二" | "長門" | "長門改" | "長門改...
import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerExecutionContext, HttpHandlerOptions...
import { Entity, EntityField } from "pouchable"; import { identity } from 'lodash'; import { amount0OrGreater } from '../validators/amount0OrGreater'; import { noWhitespace } from '../validators/noWhitespace'; import { lengthGreater1 } from "../validators/lengthGreater1"; /** * Represent a Order entity */ export clas...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ProjectcontactComponent } from './projectcontact.component'; describe('ProjectcontactComponent', () => { let component: ProjectcontactComponent; let fixture: ComponentFixture<ProjectcontactComponent>; beforeEach(async(() => { ...
import {Scene, Physics, Math as PhaserMath, GameObjects} from 'phaser'; type Sprite = Physics.Arcade.Sprite; type Group = Physics.Arcade.Group; type StaticGroup = Physics.Arcade.StaticGroup; export class PlatformScene extends Scene { private platforms: StaticGroup | null = null; private bombs: Group | null = nu...
import {HistoryEntry} from "../models/history-entry"; // The "game" object contains the event handlers and custom commands defined for the loaded adventure. declare var game; /** * History manager model. Provides a container for all the history entries. */ export class HistoryManager { history: HistoryEntry[]; ...
import * as React from 'react' import { SemanticShorthandItem } from '../../generic' import { StrictPortalProps } from '../../addons/Portal' import { default as PopupContent, PopupContentProps } from './PopupContent' import { default as PopupHeader, PopupHeaderProps } from './PopupHeader' export interface PopupProps ...
import Link from 'next/link' import Image from 'next/image' import { Text, useColorModeValue } from '@chakra-ui/react' import styled from '@emotion/styled' const LogoBox = styled.span` font-weight: bold; font-size: 18px; display: inline-flex; align-items: center; height: 30px; line-height: 20px; padding:...
/** @jsx jsx */ import { Container, Footer as FooterUI, jsx } from 'theme-ui'; import NavLink from './nav-link'; export const Footer = () => ( <FooterUI sx={{ py: 3, }} > <Container> <div sx={{ display: 'flex' }}> <div sx={{ mx: 'auto' }} /> <NavLink to='/'>Remirror</NavLi...
import React from 'react'; import { Switch, Route } from 'react-router-dom'; import Login from '../Pages/Login/Login'; import Dashboard from '../Pages/Dashboard/Dashboard'; import { Home } from '../Pages/Home/Home'; import { PrivateRoute } from './PrivateRoute'; import { PublicRoute } from './PublicRoute'; import Regis...
/** * @author Michael Breitung * @copyright Michael Breitung Photography (www.mibreit-photo.com) */ import IThumbScroller from '../interfaces/IThumbScroller'; import IThumbScrollerLayout from '../interfaces/IThumbScrollerLayout'; import HorizontalScroller from './HorizontalScroller'; export default class ThumbScro...
import type { HelpObj } from '../../structures/commandhandler'; import { MessageEmbed } from 'discord.js'; import type ReknownClient from '../../structures/client'; import type { Message, PermissionString } from 'discord.js'; function text2Binary (str: string): string { str = unescape(encodeURIComponent(str)); le...
/** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors ma...
import { Behavior } from "../Model/Behavior"; import { State } from "../Model/State"; import { PointerLocation, Direction } from "../../core"; import { PointerEvent } from "../Model/domEventsTypes"; export declare class RowReorderBehavior extends Behavior { private initialRowIdx; private lastPossibleDropLocatio...
import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'currency' }) export class CurrencyPipe implements PipeTransform { transform(value: any, args?: any): any { if (!value) { return; } return value.filter(organization => organization.currencies[ args ]); } }
export * from "./proto/led_pb_service"; export * from "./proto/led_pb";
import Head from "next/head"; import React from "react"; import { Redirect, Route } from "react-router-dom"; import { fetchHydra as baseFetchHydra, hydraDataProvider as baseHydraDataProvider, useIntrospection } from "@api-platform/admin"; import { parseHydraDocumentation } from "@api-platform/api-doc-parser"; imp...
export interface IThemeConfig { /** * 字体 */ font?: { /** * 当前皮肤字体 */ family?: string } }
export const INDEX_PAGE = '/'; export const SEARCH_PAGE = '/search'; export const SERVER_PAGE = { INDEX_PAGE: '/server/:key', TRIBE_PAGE: { INDEX_PAGE: '/server/:key/tribe/:id', MEMBERS_PAGE: '/server/:key/tribe/:id/members', HISTORY_PAGE: '/server/:key/tribe/:id/history', TRIBE_CHANGES_PAGE: '/se...
import { TranslateService } from '@ngx-translate/core'; import { BatchOperation } from '../../../../../model/BatchOperation'; import { IContainer } from '../../../../../model/IContainer'; import { Id } from '../../../../../util/id'; import { LoggingService } from '../../../../views/side/modules/log-list/services/loggin...
interface ISettings { node: any; image: any; psImageWidth: number; psImageHeight: number; } const searchForImage = async (node: any, psImageWidth: number, psImageHeight: number): Promise<string | undefined> => { if (node && node.hasChildren()) { searchForImage(node.childeren, psImageWidth, psImageHeight)...
export enum FirestoreCollection { AssMembers = 'associate-members', Contact = 'contact', Education = 'education', FullMembers = 'full-members', News = 'news', Projects = 'projects', Resources = 'resources', GlycoDb = 'glyco-databases', }
import { AsyncIterator } from "asynciterator"; import { EventEmitter } from "events"; import "isomorphic-fetch"; import "reflect-metadata"; import inBBox from "tiles-in-bbox"; import defaultContainer from "../../configs/default"; import Profile from "../../entities/profile/Profile"; import { RoutableTile } from "../../...
import React from 'mreact'; import ReactDOM from 'mreact-dom'; console.log(React) ReactDOM.render( React.createElement( 'header', null, React.createElement( 'h1', null, '123' ), React.createElement( 'h1', null, ...
import * as React from 'react'; import { Tree } from '@fluentui/react-northstar'; const items = [ { id: 'tree-item-1', title: 'House Lannister', items: [ { id: 'tree-item-11', title: 'Tywin', items: [ { id: 'tree-item-111', title: 'Jaime', ...
// tslint:disable /** * Copyright 2021 Splunk, 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 l...
#!/usr/bin/env node import * as chalk from 'chalk'; import * as program from 'commander'; import * as figlet from 'figlet'; import * as inquirer from 'inquirer'; import { modelQuestion } from './helper_scripts/Definitions/Entity'; import { serviceQuestion } from './helper_scripts/Definitions/Service'; console.clear(...
import * as monacoEditor from 'monaco-editor/esm/vs/editor/editor.api'; import React, { useRef, useState } from 'react'; import MonacoEditor from 'react-monaco-editor'; import { compileAndEmitDiagnostics, getSemanticTokens, getSemanticTokensLegend } from './lspInterop'; interface Props { initialCode: string, onBi...
interface Event { characterBanner: BaseEvent[], weaponBanner: BaseEvent[], specialEvent: SpecialEvent[], miniEvent: BaseEvent[] } interface BaseEvent { title: string, startDate: string, endDate: string, image: string } interface SpecialEvent extends BaseEvent { order?: number, } export { Event, ...
import { Select, withStyles } from "@material-ui/core"; export const WhiteSelect = withStyles({ root: { paddingTop: "12px", paddingBottom: "11px", backgroundColor: "#FFFFFF", "&:focus": { backgroundColor: "#FFFFFF", }, }, })(Select);
module PhaserI18n { /** * We override Phaser.Text's _text property to make sure we always fetch a translations instead of the original key value */ export class TranslatedText extends Phaser.Text { private _nonTranslated: string = ''; private _interpolations: any = {}; constr...
/** * Component to display a product's brand, title, price, and review stars. */ import React, { Component } from 'react'; import { StyleProp, StyleSheet, Text, TextStyle, View, ViewStyle } from 'react-native'; import { ReviewIndicator, ReviewIndicatorProps } from './ReviewIndicator'; import { CommerceT...
/** * @license * Copyright 2017 Google Inc. All Rights Reserved. * 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 a...
import { describe, expect, it } from '@jest/globals'; import fs from 'fs'; import path from 'path'; import { convert } from '../convert'; const fixturesPath = path.join(__dirname, './fixtures'); const fixtures = fs.readdirSync(fixturesPath); describe('Fixtures', () => { describe.each(fixtures)('Import %s', name =>...
/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; export namespace Components { interface WizAutoco...
<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> <trans...
import { Controller, Post, Body, HttpException, HttpStatus, Request, UseGuards, } from '@nestjs/common'; import { AccountService } from './account.service'; import { Result } from '../_core/utils/result/result.model'; import { AuthService } from '../auth/auth.service'; import { AuthenticateDto } from './d...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { Routes, RouterModule } from '@angular/router'; import { IonicModule } from '@ionic/angular'; import { FeatureDiscoveryPage } from './feature-discovery.page'; import { FivFea...
// Type definitions for RefluxJS // Project: https://github.com/reflux/refluxjs // Definitions by: Maurice de Beijer <https://github.com/mauricedb> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module RefluxCore { interface StoreDefinition { listenables?: any[], init?...
/*! * @license * Copyright 2019 Alfresco, Inc. and/or its affiliates. * * 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...
// This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build interface Console { Console: NodeJS.ConsoleConstructor; /** * A simple assertion test that verifies whether `value` is truthy. * If it is not, an `AssertionError` is thrown. * If provided, the error `mess...
import GasnowInpageProvider from './GasnowInpageProvider'; import createExternalExtensionProvider from './extension-provider/createExternalExtensionProvider'; import BaseProvider from './BaseProvider'; import { initializeProvider, setGlobalProvider, } from './initializeInpageProvider'; import shimWeb3 from './shimW...
export const actionTypes = { //将列表的数据操作放置redux FETCH_MEMBERS_COMPLETED: 'FETCH_MEMBERS_COMPLETED', //表单/member/:id FETCH_MEMBER_BY_ID_COMPLETED: 'FETCH_MEMBER_BY_ID_COMPLETED', // change action 修改 UPDATE_MEMBER_FIELD: 'UPDATE_MEMBER_FIELD', // 保存 SAVE_MEMBER: 'SAVE_MEMBER' }
import { TABLE_TOTAL_SUMMARY_TYPE, TABLE_GROUP_SUMMARY_TYPE, TABLE_TREE_SUMMARY_TYPE, } from './constants'; import { TABLE_DATA_TYPE } from '../table/constants'; import { GetColumnSummariesFn, IsSpecificCellFn, IsSpecificRowFn, SummaryItem } from '../../types'; export const isTotalSummaryTableCell: IsSpecificCellFn ...
import { Injectable, Logger } from '@nestjs/common'; import { Client, ClientProxy, Transport } from '@nestjs/microservices'; @Injectable() export class RpcService { // add RPC transport client @Client({ transport: Transport.REDIS }) client: ClientProxy; // add logging behavior private logger = new Logger('...
/** * A page is a sublist of a list of objects. It allows gain information about the position of it in the containing * entire list. * * Adapted from the Spring Data Commons Package * * @param <T> * @author Oliver Gierke * @author Navid Mitchell */ export declare class Page<T> { /** * Returns the size...
/******************************************************************************* * FILE: RemoveVicePresident * DESCRIPTION: * Remove a user's Vice President role ******************************************************************************/ import {Command, CommandMessage, CommandoClient} from "discord.js-comman...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hr" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About GridPay</source> <translation type="unfinished"/> </message> <message> <location line="...
import { Card } from '../../../interfaces' import Set from '../Unified Minds' const card: Card = { name: { en: "Bibarel", fr: "Castorno", es: "Bibarel", it: "Bibarel", pt: "Bibarel", de: "Bidifas" }, illustrator: "Kagemaru Himeno", rarity: "Uncommon", category: "Pokemon", set: Set, dexId: [ 400, ...
import { computed, watch, ref, reactive, nextTick, inject, onMounted, onBeforeMount, } from 'vue' import { isArray, isFunction, isObject } from '@vue/shared' import isEqual from 'lodash/isEqual' import lodashDebounce from 'lodash/debounce' import { elFormKey, elFormItemKey } from '@element-plus/tokens' ...
// Type definitions for zen-observable 0.5 // Project: https://github.com/zenparsing/zen-observable // Definitions by: Kombu <https://github.com/aicest> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare global { interface SymbolConstructor { observable: symbol; } namespace...
import Strategy from './strategy'; import StrategyRunner from './strategy_runner'; export default class IfStrategy implements Strategy { test: () => boolean; trueBranch: Strategy; falseBranch: Strategy; constructor(test: () => boolean, trueBranch: Strategy, falseBranch: Strategy); isSupported(): boo...
import * as reflect from 'jsii-reflect'; import { Markdown } from '../render/markdown'; import { Transpile, TranspiledCallable, TranspiledType } from '../transpile/transpile'; import { Parameter } from './parameter'; export class StaticFunction { private readonly transpiled: TranspiledCallable; private readonly pa...
export {default} from './Alert'; export * from './Alert';
/** * @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 {AbsoluteFsPath} from '../../../src/ngtsc/path'; import {DependencyResolver, SortedEntryPointsInfo} from '../d...
import {NgModule} from '@angular/core'; import {RouterModule, Routes} from '@angular/router'; import {MainComponent} from './main/main.component'; import {TournamentsComponent} from './tournaments/tournaments.component'; import {TeamsComponent} from './teams/teams.component'; import {HelpComponent} from './help/help.co...
import { HexColor } from './utils' export namespace Wx { export namespace App { type IWindow = { /** * 导航栏背景颜色,如 #000000 */ navigationBarBackgroundColor: HexColor /** * 导航栏标题颜色,仅支持 black / white */ navigationBarTextStyle: 'black' | 'white' /** * 导航...
import { NgModule } from "@angular/core"; import { AppInputModule } from "../input.module"; import { AppInputPasswordComponent } from "./password.component"; @NgModule({ declarations: [ AppInputPasswordComponent ], exports: [ AppInputPasswordComponent ], imports: [ AppInputM...
import { Component } from '@angular/core'; @Component({ selector: 'sky-filter-inline-demo', templateUrl: './filter-inline-demo.component.html' }) export class SkyFilterInlineDemoComponent { public filtersActive: boolean = false; public showInlineFilters: boolean = false; public fruitType: string = 'any'...
const mongoose = require('mongoose'); const { Schema, model } = mongoose; const NoteSchema = new Schema({ title: { type: String, required: true, trim: true }, description: { type: String, required: true, trim: true }, date: { type: Date, default: Date.now }, user: { ty...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utilities"; /** * T...
import React, { useState } from "react"; import DemoOptions from "./DemoOptions"; import Feedback from "../../src"; export default function App() { const [location, setLocation] = useState("top-right"); const [slackToken, setSlackToken] = useState(""); const [slackChannel, setSlackChannel] = useState(""); co...