text
stringlengths
10
953k
import { DefaultSigners } from "../../common/types"; import { WalletService } from "./walletService"; export default class EnsService { constructor( private _walletService: WalletService ) {} async resolveName(name: string): Promise<string> { const signer = await this._walletService.eth_g...
import React from "react"; import "./display.scss" interface DisplayMainProps{ value:string; } class DisplayMain extends React.Component<DisplayMainProps>{ private ref:any; constructor(props:any){ super(props); this.ref = React.createRef() } render(){ return ( ...
import { ICommandDefinition } from "../command-parser"; import { Player } from "../room-activity"; import { Game } from "../room-game"; import { Room } from "../rooms"; import { IGameFile, AchievementsDict, GameCommandReturnType } from "../types/games"; interface ICaughtPokemon { points: number; species: string; } ...
import * as React from 'react'; const ReadAloud20FilledIcon = () => { return( <?xml version="1.0" encoding="UTF-8"?> <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- Generator: Sketch 64 (93537) - https://...
import { IUMLGenerator } from "./interfaces/IUMLGenerator"; import { DrawIOUMLDiagram } from "../DrawIOUMLDiagram"; export class Header implements IUMLGenerator { id: number; constructor() { this.id = 1; } generateXML(): string { return `<?xml version="1.0" encoding="UTF-8"?> <mxfile host="app.diagrams.net" mo...
import React from "react"; import Layout from "../components/Layout"; import SoldOutPage from "../page/SoldOut"; export default function SoldOut() { return ( <Layout title={"商品売切れ設定"}> <SoldOutPage /> </Layout> ); }
export function round2(v: number) { if (v == 0) return 2; v--; v |= v >> 1; v |= v >> 2; v |= v >> 4; v |= v >> 8; v |= v >> 16; v++; return v; }
import React from 'dom-chef'; const units = { m: 'minute', h: 'hour', d: 'day', y: 'year' }; export default function timeAgo(date: Date): {value: number; unit: string} { // Documentation: https://github.com/github/time-elements#time-ago const time = (<time-ago datetime={date.toISOString()} format="micro"/>).tex...
import {CommandStaticConfig} from '../types'; export function getConstructor(target: Object): CommandStaticConfig { return target.constructor as unknown as CommandStaticConfig; }
/** @jsx jsx */ import { Transforms } from 'meow-slate' import { jsx } from '../../..' export const run = editor => { Transforms.splitNodes(editor, { at: [0, 1, 1], voids: true }) } export const input = ( <editor> <block> <text /> <inline void> <text>one</text> <text>two</text> ...
import { Factory } from 'ember-cli-mirage'; import Faker from 'faker'; type ChangeLogDetailResponse = Com.Linkedin.DataConstructChangeManagement.DataConstructChangeManagement; const recipient = (): Com.Linkedin.DataConstructChangeManagement.NotificationRecipient => { return { userUrn: Faker.name.firstName().sli...
import React from 'react' import { useDragon, usePrefix } from '../../hooks' import { ClosestDirection } from '@designable/core' import { observer } from '@formily/reactive-react' export const Insertion = observer(() => { const viewportDragon = useDragon() const prefix = usePrefix('aux-insertion') const createIn...
import * as React from 'react'; import {enhanceProps} from 'commons'; import {HtmlOmittedProps, DazzlerHtmlProps} from '../../commons/js/types'; type Props = Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, HtmlOmittedProps> & DazzlerHtmlProps; const Span = (props: Props) => <span...
import { Injectable, OnModuleInit } from '@nestjs/common'; import { ConfigurableOperation, ConfigurableOperationDefinition, CreateCollectionInput, DeletionResponse, DeletionResult, MoveCollectionInput, UpdateCollectionInput, } from '@vendure/common/lib/generated-types'; import { pick } from ...
import { ILobbyManager, LobbyManager } from '../../lobby'; import { BroadcastMods, ClientMessage, MessageType, SendRegister, SendUploadMod } from '../../types'; import { FakeTimeKeeper } from '../../__tests__/__mocks__/fakeTimeKeeper'; import { SocketContainer } from '../socket'; import { FakeSocket } from './__mocks__...
import * as React from "react"; import { Light } from "babylonjs"; import { InspectorList } from "../../gui/inspector/fields/list"; import { InspectorColor } from "../../gui/inspector/fields/color"; import { InspectorNumber } from "../../gui/inspector/fields/number"; import { InspectorSection } from "../../gui/inspec...
<TS language="es" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Haz clic derecho para editar la dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> ...
import React from "react"; import { Header, Segment } from "semantic-ui-react"; import { EmployeeSummary } from "../../utils/employee"; type Props = EmployeeSummary & { loading?: boolean }; /** * React component for the view of the `MainScreen`. */ const SummaryView: React.FC<Props> = ({ employee, boss, remai...
import Appointment from '../infra/typeorm/entities/Appointment'; import ICreateAppointmentDTO from '../dtos/ICreateAppointmentDTO'; import IFindAllInMonthFromProviderDTO from '../dtos/IFindAllInMonthFromProviderDTO'; import IFindAllInDayFromProviderDTO from '../dtos/IFindAllInDayFromProviderDTO'; /* Interface para man...
<TS language="eu_ES" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Eskuin-klika helbidea edo etiketa editatzeko</translation> </message> <message> <source>Create a new address</source> <t...
import { DB } from "../db"; import { Model } from "./model"; export class Pickup extends Model { constructor(dbo: DB) { super(dbo, 'pickups'); } }
import { titleize } from '../../../../core/utils/inflector'; import { ElementOffset, ScrollableDirection, ScrollOffset, } from '../common/types'; import { getRelativeOffset } from './get_relative_offset'; import { DIRECTION_VERTICAL, SCROLLABLE_CONTENT_CLASS, } from '../common/consts'; /* istanbul ignore nex...
import { PaymentElement, useElements, useStripe } from "@stripe/react-stripe-js" import { useTranslation } from "next-i18next" import { FormEvent, FunctionComponent, useState } from "react" import { toast } from "react-toastify" import { setTransactionPending, setTransactionSaveCard, } from "../../../asyncs/payment...
import { coachSequenceMonitoring } from 'server/coachSequence/monitoring'; import { Controller, Get, Hidden, Res, Route } from 'tsoa'; import type { CoachSequenceInformation } from 'types/coachSequence'; import type { TsoaResponse } from 'tsoa'; @Route('/reihung/monitoring') export class ReihungMonitoringController ex...
const fUtil = require("../misc/file.ts"); const stuff = require("./info"); const http = require("http"); function toAttrString(table) { return typeof table == "object" ? Object.keys(table) .filter((key) => table[key] !== null) .map((key) => `${encodeURIComponent(key)}=${encodeURIComponent(table[key])}`) ...
// *** 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"; /*...
/// <reference path="../xtf.d.ts" /> /** * Apache Licenses Version 2.0 * Author: Pony Cui */ import { UserDefaults as IUserDefaults } from '../interface/UserDefaults' export class UserDefaults extends IUserDefaults { static standard: UserDefaults = new UserDefaults() constructor(readonly suite: string | u...
import * as React from 'react'; import {BehaviorSubject} from "rxjs/BehaviorSubject"; export abstract class XComponent<P, S> extends React.Component<P, S> { protected readonly props$: BehaviorSubject<P>; constructor(props: P) { super(props); this.props$ = new BehaviorSubject(props); } ...
import { Field, Formik } from "formik"; import { Button, Form } from "semantic-ui-react"; import withApollo from "../lib/withApollo"; import { InputField } from "../components/formik-fields/InputField"; import { useCreateCodeReviewMutation } from "../generated/graphql"; import { normalizeErrors } from "../utils/normali...
import { Request, Response } from "express"; import { container } from "tsyringe" import { CreateCategoryUseCase } from "./CreateCategoryUseCase"; class CreateCategoryController { async handle(request: Request, response: Response): Promise<Response> { const { name, description } = request.body; const creat...
import { Sequelize, DataTypes, ModelCtor, Model, Optional } from 'sequelize'; import { ADDRESS } from 'config/constants'; export interface AddressAttribures { id: string; name: string; address: string; addressDetail: string; receiver: string; UserId: string; } export type AddressCreationAttributes = Optio...
/** * @license * Copyright 2020 Google LLC. 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...
/** * Copyright 2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or ...
import { mapboxConfig } from '../local/mapbox.config'; import { Observable } from 'rxjs/Observable'; import { Injectable } from '@angular/core' import { MapComponent } from './map/map.component' import * as mapboxgl from 'mapbox-gl/dist/mapbox-gl'; import { YelpService } from './yelp.service' @Injectable() export cl...
import * as fs from "fs"; import * as path from "path"; const outDir = process.argv[2] || "out"; const readStdin = (): Promise<string> => new Promise((resolve, reject) => { let input = ""; process.stdin.resume(); process.stdin.setEncoding("utf8"); process.stdin.on("data", chunk => { input += c...
import {IAccounts, ICurrencies, ICurrencyPair, IExchangeData} from "../../types"; export interface ICurrencyExchangeWidgetProps { accounts: IAccounts; currencies: ICurrencies; defaultPair: ICurrencyPair; onExchange?: (values: IExchangeData) => void; }
import { Component, HostListener} from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import template from './contacto.component.html'; import style from './contacto.component.scss'; import '../../../../public/scripts/jquery.fullpage.min.js'; declare var $:any; declare var moment:any; @Comp...
import { Container } from '..'; import { CarouselCore } from './carousel/carouselcore'; import { HorizontalOrientation } from './carousel/orientations/horizontal'; import { VerticalOrientation } from './carousel/orientations/vertical'; import { Widget } from './widget'; export declare class Carousel extends CarouselCor...
import { attr, DOM, nullableNumberConverter, observable, SyntheticViewTemplate, } from "@microsoft/fast-element"; import { keyArrowDown, keyArrowUp } from "@microsoft/fast-web-utilities"; import { StartEnd, StartEndOptions } from "../patterns/index"; import { applyMixins } from "../utilities/index";...
import { Component } from '@angular/core'; @Component({ selector: 'ngx-one-column-layout', styleUrls: ['./one-column.layout.scss'], template: ` <nb-layout windowMode> <nb-layout-header fixed> <ngx-header></ngx-header> </nb-layout-header> <nb-sidebar class="menu-sidebar" tag="menu-s...
import { Cache } from "./cache"; import { sleep } from "./util"; test("core / cache: timeout", async () => { const cache = Cache.create<string>(1000); expect(cache.get()).toBe(undefined); expect(cache.set("hello")).toBe(undefined); expect(cache.get()).toEqual("hello"); await sleep(500); expect(cache.get...
import {SourceStaffEntry} from "../VoiceData/SourceStaffEntry"; import {BoundingBox} from "./BoundingBox"; import {Fraction} from "../../Common/DataObjects/Fraction"; import {VerticalGraphicalStaffEntryContainer} from "./VerticalGraphicalStaffEntryContainer"; import {Note} from "../VoiceData/Note"; import {Slur} from "...
// Copyright (C) 2021 The Android Open Source Project // // 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 applic...
export type Maybe<T> = T | null; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }; export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }; /** All...
// tslint:disable:no-implicit-dependencies /** * telemetry repository test * @ignore */ import { } from 'mocha'; import * as assert from 'power-assert'; import * as sinon from 'sinon'; // tslint:disable-next-line:no-require-imports no-var-requires require('sinon-mongoose'); import * as kwskfs from '../index'; let...
/******************************************************************************** * Copyright (C) 2017 Ericsson and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * T...
import { TestBed, inject } from '@angular/core/testing'; import { AuthenGuardService } from './authen-guard.service'; describe('AuthenGuardService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [AuthenGuardService] }); }); it('should be created', inject([AuthenGuardServi...
///<reference path="../../../headers/common.d.ts" /> import coreModule from '../../core_module'; import appEvents from 'app/core/app_events'; export class HelpCtrl { tabIndex: any; shortcuts: any; /** @ngInject */ constructor(private $scope, $sce) { this.tabIndex = 0; this.shortcuts = { 'Global...
import React, { FC, useCallback } from 'react'; import { colors } from '@keen.io/colors'; import { ToggleWrapper, Track, TrackMotion, LabelMotion, SwitcherMotion, } from './toggle.component.styles'; type Props = { isOn?: boolean; isDisabled?: boolean; onChange?: (res: boolean) => void; }; const Toggl...
import React from 'dom-chef'; import select from 'select-dom'; import onetime from 'onetime'; import * as pageDetect from 'github-url-detection'; import features from '.'; const getBufferField = onetime((): HTMLInputElement => ( <input type="text" className="form-control tree-finder-input p-0 ml-1 border-0" st...
import * as assert from 'assert' import { fold } from 'fp-ts/lib/Either' import { pipe } from 'fp-ts/lib/pipeable' import * as t from '../src/index' import { assertFailure, assertStrictEqual, assertSuccess, NumberFromString } from './helpers' describe('type', () => { describe('name', () => { it('should assign a ...
export * from './util/async'; export * from './util/base64'; export * from './util/events'; export * from './util/permissions'; export * from './util/sqltypes'; export * from './util/util'; export * from './components/service.utils'; export * from './components/filter-expression.utils'; export * from './util/codes';
interface Status { valid: boolean message?: string } export function isCardValid(cardNumber: string): Status { const sanitizedCardNumber = sanitizeNumber(cardNumber) const NUMBER_SIZE = sanitizedCardNumber.length - 1 let shouldDouble = false let sum = 0 if (sanitizedCardNumber.length < 13) { return { vali...
import CustomerService from "../../../../services/customer" /** * @oas [get] /customers/{id} * operationId: "GetCustomersCustomer" * summary: "Retrieve a Customer" * description: "Retrieves a Customer." * x-authenticated: true * parameters: * - (path) id=* {string} The id of the Customer. * tags: * - Cust...
// *** 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"; /*...
import { EventEmitter, Renderer, ElementRef } from '@angular/core'; import "rxjs/add/operator/throttleTime"; import "rxjs/add/operator/takeUntil"; export declare class EmojiSearchComponent { private _renderer; inputAutofocus: boolean; searchEmitter: EventEmitter<string>; input: ElementRef; private _...
import { Component, OnInit } from '@angular/core'; import { JhiAlertService } from 'ng-jhipster'; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; import { QmsMaterialProcedureSelection } from 'app/shared/model/qms-material-procedure-selection'; import { IQmsVehicleTypeInfo } from 'app/shared/model/qms-veh...
import { Injectable, EventEmitter } from '@angular/core'; import { BusyService } from 'src/app/shared/busy/busy.service'; import { HttpClient } from '@angular/common/http'; import { FilterData, CategoryGoalsVM, EntriesParetoVM, MonthlyTargetVM, MonthlyBudgetVM, PatrimonyVM, PatrimonyResumeItem } from './analytics.viewm...
<TS language="es_MX" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Haga clic derecho para editar la dirección o la etiqueta</translation> </message> <message> <source>Create a new address</source...
import React, { useState, useEffect } from 'react'; import { useTranslation } from 'react-i18next'; import classNames from 'classnames'; import Grid from '@material-ui/core/Grid'; import Zoom from '@material-ui/core/Zoom'; import Select from '@material-ui/core/Select'; import MenuItem from '@material-ui/core/MenuItem';...
import { AzurePortalColors as DarkThemePortalColors, semanticColors as darkThemeSemanticColors, themePalette as darkThemePalette, } from './dark'; import { IPalette } from '@fluentui/react'; import { ThemeExtended } from './SemanticColorsExtended'; export const AzurePortalColors = { ...DarkThemePortalColors, ...
import React from 'react'; import { createNormalWixUiIcon } from './wix-ui-icon'; export const QuestionMark = createNormalWixUiIcon( <path d="M12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 Z M12,4 C7.581722,4 4,7.581722 4,...
import React, { InputHTMLAttributes } from "react"; import "./styles.css"; interface Textarea extends InputHTMLAttributes<HTMLTextAreaElement> { name: string; label: string; } const Textarea: React.FC<Textarea> = ({ name, label, ...rest }) => { return ( <div className="textarea-block"> <label htmlFor...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { DashboardComponent } from './dashboard.component'; const routes: Routes = [ { path: '', component: DashboardComponent, data: { title: 'Dashboard', breadcrumb: 'Dashboard' } } ]; @...
/** * @license * Copyright Google LLC 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 { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, ElementRef, ComponentFactoryResolver, ViewContainerRef } ...
import React from "react"; import { Section, Switch } from "@/components/visualizations/editor"; import { EditorPropTypes } from "@/visualizations/prop-types"; import AxisSettings from "./AxisSettings"; export default function YAxisSettings({ options, onOptionsChange }: any) { const [leftYAxis, rightYAxis] = option...
import { Pipe, PipeTransform } from '@angular/core'; import { formatHour } from '../theme/utils'; @Pipe({ name: 'duration' }) export class DurationPipe implements PipeTransform { transform(value: number, args?: any): string { return formatHour(value, undefined, true); } }
import { Component, OnInit } from '@angular/core'; import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { AccountInfoEditComponent } from '../modals/account-info-edit/account-info-edit.component'; import {PurchaseAccountServiceService} from "../../../../shared/services/purchase-account-service.service"; impor...
import { Card } from '../../../interfaces' import Set from '../Boundaries Crossed' const card: Card = { name: { en: "Mienfoo", fr: "Kungfouine", es: "Mienfoo", it: "Mienfoo", pt: "Mienfoo", de: "Lin-Fu" }, illustrator: "Masakazu Fukuda", rarity: "Uncommon", category: "Pokemon", set: Set, dexId: [ ...
import { AxNavigation, AxNavigationItem } from './CustomElements.js'; export function register() { if (window.CSS && CSS.registerProperty) { customElements.define(AxNavigation.ElementName, AxNavigation); customElements.define(AxNavigationItem.ElementName, AxNavigationItem); CSS.registerPrope...
// *** 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"; /*...
import { RTMClient, LogLevel } from "@slack/rtm-api"; import { Main, ISlackTeam } from "./Main"; import { SlackEventHandler } from "./SlackEventHandler"; import { Logging } from "matrix-appservice-bridge"; import { PuppetEntry } from "./datastore/Models"; import { ConversationsInfoResponse, ConversationsMembersResponse...
import { ErrorList, ErrorMsgs } from './errors-list'; /** * Class for managing general errors */ export class GeneralError extends Error { private _code: string; private _status: number; constructor(status: number, code: ErrorList, msg: ErrorMsgs) { super(msg); this._code = code; ...
<TS language="it_IT" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Click destro per modificare indirizzo o etichetta</translation> </message> <message> <source>Create a new address</source> ...
import { Generic, genericDef, newtype, typeDef, TypeOf } from "./newtype" /** * A newtype representing addition. */ export const Sum = genericDef("@newtype/Sum") export interface Sum<A> extends Generic<A, typeof Sum> {} /** * A newtype representing multiplication. */ export const Prod = genericDef("@newtype/Prod...
export type Direction = 'UP' | 'DOWN';
import { Test, TestingModule } from '@nestjs/testing'; import * as request from 'supertest'; import { AppModule } from './../src/app.module'; describe('AppController (e2e)', () => { let app; beforeEach(async () => { const moduleFixture: TestingModule = await Test.createTestingModule({ imports: [AppModul...
import { Injectable } from '@angular/core'; import { DynamicFormControl } from './builder/dynamic-form-control'; import { DynamicFormArray } from './builder/dynamic-form-array'; @Injectable() export class DynamicFormService { public defaults = {}; private elementsReference = {}; resetFormProps() { ...
/* * Copyright 2021 Marcus Portmann * * 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 agreed t...
import { ElasticsearchServiceClient } from "./ElasticsearchServiceClient.ts"; import { AcceptInboundCrossClusterSearchConnectionCommand, AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCrossClusterSearchConnectionCommandOutput, } from "./commands/AcceptInboundCrossClusterSearchConnectionComman...
import { Component, OnInit } from '@angular/core'; //import { MainService } from './../../providers/homeservice'; import { DashboardService } from './../../providers/dashboard/dashboard.service'; import { PropertiesService } from './../../providers/properties/properties.service'; import {LoginService} from "../../prov...
import React from "react" import { useLedgerInfo, useNetworkContext } from "features/network" import { BoundType, OrderType } from "many-js" import type { ListFilterArgs, Transaction } from "many-js" import { useMutation, useQuery, useQueryClient } from "react-query" export function useSendToken() { const [, network...
import findLanguage from "./findLanguage"; /** * Gets the direction of a language's text * @param lang The locale, ISO code or name of the language to find the direction of * @returns The direction of the language's text, or `null` if it is not found */ export function getDirection(lang: string) { const language ...
import AppBar from '@material-ui/core/AppBar'; import Box from '@material-ui/core/Box'; import { createStyles, makeStyles, Theme } from '@material-ui/core/styles'; import Tab from '@material-ui/core/Tab'; import Tabs from '@material-ui/core/Tabs'; import * as React from 'react'; import TabPanel from './TabPanel'; impor...
/* eslint global-require: off, no-console: off */ /** * This module executes inside of electron's main process. You can start * electron renderer process from here and communicate with the other processes * through IPC. * * When running `yarn build` or `yarn build:main`, this file is compiled to * `./src/main.pr...
export default interface Aspect<T> { red: T blue: T }
// *** 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 * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as utilities from ".....
import React from 'react' import { FontAwesomeIcon as Icon } from '@fortawesome/react-fontawesome' import { faCheck } from '@fortawesome/free-solid-svg-icons' type InputCheckProps = { checked: boolean label?: string onChange: (checked: boolean) => void } const InputCheck: React.FC<InputCheckProps> = ({ checke...
import { grpc } from '@improbable-eng/grpc-web'; import { ContextInterface } from '@textile/context'; import { GrpcConnection } from '@textile/grpc-connection'; import type { AbortSignal } from 'abort-controller'; import CID from 'cids'; /** * PushOptions provides additional options for controlling a push to a bucket ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_CN" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About MostCoin</source> <translation>关于莱特币</translation> </message>...
import React from 'react'; import createSvgIcon from './helpers/createSvgIcon'; export default createSvgIcon( <path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3....
// eslint-disable-next-line camelcase import { chevron_down, chevron_up } from "@equinor/eds-icons" import { Icon, Table } from "@equinor/eds-core-react" import { useMemo, useState, ReactElement } from "react" import styled from "styled-components" import { Column, SortDirection } from "./types" const { Body, Row,...
import { SampledataModel } from '../../models/sampledata.model'; import { SampleDataActionTypes, SampleDataAction, } from '../actions/sampledata.actions'; /* @export * @interface SampleDataState */ export interface SampleDataState { sampleData: SampledataModel[]; loaded: boolean; loading: boolean; textMe...
import { Volume } from "../component/channel/Volume"; import { Param } from "../core/context/Param"; import { OutputNode, ToneAudioNode, ToneAudioNodeOptions } from "../core/context/ToneAudioNode"; import { Decibels, Frequency, NormalRange, Time } from "../core/type/Units"; import { optionsFromArguments } from "../core...
import { FocusTools, Keyboard, Keys, Log, Pipeline } from '@ephox/agar'; import { UnitTest } from '@ephox/bedrock-client'; import { TinyApis, TinyLoader } from '@ephox/mcagar'; import { SugarElement } from '@ephox/sugar'; import Plugin from 'tinymce/plugins/image/Plugin'; import SilverTheme from 'tinymce/themes/silver...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { LeeliteAppComponent } from './leelite-app.component'; describe('LeeliteAppComponent', () => { let component: LeeliteAppComponent; let fixture: ComponentFixture<LeeliteAppComponent>; beforeEach(async(() => { TestBed.configure...
/** * BaseService Konfiguration, wird in BaseService im Konstruktor verwendet. * Werte koennen hier ueberschrieben werden. * * API-Version: 1.0 * Datum: 10.10.2018 * * @module speech/base * @author SB */ // base import { BaseServiceOptionInterface } from './base-service-option.interface'; /** @expor...
/* eslint-disable no-console */ 'use strict' import * as React from 'react' import {Transaction} from 'algosdk' import { useParams, useHistory } from 'react-router-dom' import { AnchorButton, Button, NumericInput, Card, Elevation } from '@blueprintjs/core' import { getListing, getSuggested, isOptedInt...
import { GitgraphCore } from "../gitgraph"; describe("Gitgraph.tag", () => { it("should add a tag to a commit", () => { const core = new GitgraphCore(); const gitgraph = core.getUserApi(); const master = gitgraph .branch("master") .commit({ subject: "one-tagged", hash: "one-tagged-hash" }); ...
import getBoundaries from "../utils/geometry/getBoundaries"; import Sigma from "../classes/Sigma"; import { Keyed } from "../../interfaces"; /** * This middleware will rescale the graph such that it takes an optimal space * on the renderer. * * @param {?string} readPrefix The read prefix. * @param {?string} writ...