text
stringlengths
10
953k
import 'isomorphic-fetch'; import 'scoopy-react';
/** * Copyright (c) 2010, Ajax.org B.V. * Copyright (c) 2015-2018, David Holmes * Licensed under the 3-Clause BSD license. See the LICENSE file for details. */ import { EditSession } from './EditSession'; import { Editor } from './Editor'; /** * The editor service is a factory for creating editors and sessions. *...
/** @jsxRuntime classic */ /** @jsx jsx */ import { Fragment, ReactNode, forwardRef, useState, HTMLAttributes, useMemo, useContext, } from 'react'; import { Editor, Transforms } from 'slate'; import { applyRefs } from 'apply-ref'; import { jsx, useTheme } from '@keystone-ui/core'; import { useControlled...
import React, { createContext, Dispatch, useEffect, useReducer, useState } from 'react'; import Checkbox from 'ustudio-ui/components/Checkbox'; import Text from 'ustudio-ui/components/Text'; import Field from '../components/Field'; import FieldSet from '../components/FieldSet'; import Form from '../components/Form'; im...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distr...
import { AppPage } from './app.po'; import { browser, logging } from 'protractor'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getTitleText()).toEqual('Welcome...
//tslint:disable import { Component, ViewEncapsulation, ViewChild, } from '@angular/core'; import { ILoadEventArgs, TreeMapTheme, TreeMap } from '@syncfusion/ej2-angular-treemap'; import { Metals } from './assets/metals'; import { Browser } from '@syncfusion/ej2-base'; @Component({ selector: 'control-content', ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; import { OfferComponent } from './offer.component'; @NgModule({ declarations: [OfferComponent], exports: [OfferComponent], imports:[CommonModule] }) export class Offer...
import { BasicColumn } from '/@/components/Table'; import { FormSchema } from '/@/components/Table'; import { h } from 'vue'; import { Switch } from 'ant-design-vue'; import { setRoleStatus } from '/@/api/demo/system'; import { useMessage } from '/@/hooks/web/useMessage'; export const columns: BasicColumn[] = [ { ...
import {TextObj, Window} from "../../Window"; import {Item} from "../../Item"; import {GoldenSun} from "../../GoldenSun"; import {ItemSlot, MainChar} from "../../MainChar"; import * as _ from "lodash"; import {Classes} from "../../Classes"; const BASE_WIN_WIDTH = 100; const BASE_WIN_HEIGHT = 92; const BASE_WIN_X = 0; ...
import fs from "fs"; import ESTree from "estree"; import { walk } from "estree-walker"; import globby from "globby"; const Acorn = require("acorn"); const debug = require("debug")("sql-string-search"); export const search = async (globs: string[]) => { const files = await globby(globs, { gitignore: true, ...
/* eslint promise/param-names: 0, prefer-promise-reject-errors: 0 */ import Vue from 'vue' import Vuetify from 'vuetify' import Vuelidate from 'vuelidate' import sinon from 'sinon' import { createLocalVue, shallowMount, mount, Wrapper } from '@vue/test-utils' import flushPromises from 'flush-promises' import axios from...
import * as types from "./types"; import { dispatchToMainThread, isMainThread } from "./mainthread-helper"; import { sanitizeModuleName } from "../ui/builder/module-name-sanitizer"; import * as layout from "./layout-helper"; export { layout }; export * from "./mainthread-helper"; export const RESOURCE_PREFIX = "res:/...
import Pointercrate = require("./Pointercrate"); import { SendRequestOptions } from "../types/options"; /** * The base of the authentication classes. This requires an authentication token to access its endpoints. */ class BaseAuthPointercrate extends Pointercrate { /** * The authentication token required. ...
interface Profile { id: number, name: string, createdAt: Date, updatedAt: Date, user_id: number, username: string, email: string, image: string, title: string, bio: string, website: string } export default Profile;
/* Copyright 2021 Palantir Technologies, 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 applicable law ...
import { LogLevels } from 'bs-logger' import { writeFileSync } from 'fs' import { removeSync } from 'fs-extra' import { normalize } from 'path' import { makeCompiler } from '../__helpers__/fakers' import { logTargetMock } from '../__helpers__/mocks' import { tempDir } from '../__helpers__/path' import ProcessedSource ...
// Copyright (c) 2017 Uber Technologies, 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 a...
// THIS FILE IS AUTO GENERATED import { IconTree, IconType } from '../lib' export declare const VscFileMedia: IconType;
import {Camera} from "./components/com_camera.js"; import {Children} from "./components/com_children.js"; import {Collide} from "./components/com_collide.js"; import {ControlMove} from "./components/com_control_move.js"; import {Light} from "./components/com_light.js"; import {Move} from "./components/com_move.js"; imp...
export const c_options_menu__menu_item_PaddingLeft: { "name": "--pf-c-options-menu__menu-item--PaddingLeft", "value": "1rem", "var": "var(--pf-c-options-menu__menu-item--PaddingLeft)" }; export default c_options_menu__menu_item_PaddingLeft;
import { Component, Inject, OnInit } from '@angular/core' import { ActivatedRoute, Router } from '@angular/router' import { CaseListComponent, CaseConfig, ResourceDefinition, Yield, BreadcrumbService, FlashMessageService, ResourceService, caseListTemplate, Filter, InputType } from '@case-app/angula...
import { Injectable } from '@angular/core'; import { NbMenuItem } from '@nebular/theme'; import { MENU_ITEMS } from 'app/pages/pages-menu'; @Injectable({ providedIn: 'root' }) export class DataService { BKP_MENU_ITEMS: NbMenuItem[] = MENU_ITEMS.slice(); //BKP_MENU_ITEMS: NbMenuItem[]; isSidebarActivated = fal...
import * as __aws_sdk_middleware_stack from '@aws-sdk/middleware-stack'; import * as __aws_sdk_types from '@aws-sdk/types'; import * as _stream from 'stream'; import {ListRepositories} from '../model/ListRepositories'; import {InputTypesUnion} from '../types/InputTypesUnion'; import {OutputTypesUnion} from '../types/Ou...
import './styles.scss'; import * as React from 'react'; import { render } from 'react-dom'; import * as components from './components'; class TweetHeat { private el: HTMLElement; private constructor(el: HTMLElement) { this.el = el; } public renderRoot() { render(<components.TweetH...
import React from 'react'; import { SvgIcon, SvgIconProps } from '@kukui/ui'; const SvgComponent = props => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" {...props}> <path d="M160 338.8V144c0-8.9-7.1-16-16-16s-16 7.1-16 16v194.8c-18.62 6.625-32 24.38-32 45.25 0 26.5 21.5 48 47.1 48C170.5 432 19...
export interface User { idUser?: number name: string cpf: string walletValue?: number idAdmin?: string }
/*! * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { AppRunner } from 'aws-sdk' import { createWizardTester, WizardTester } from '../../shared/wizards/wizardTestUtils' import { AppRunnerImageRepositoryWizard, ImageIdentifierForm, ...
import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces'; import { DynamoDbDataSource } from '@aws-cdk/aws-appsync'; import { Table } from '@aws-cdk/aws-dynamodb'; import * as assert from 'assert'; import { ObjectTypeDefinitionNode } from 'graphql'; import { ModelResourceIDs } from 'grap...
// Examples from project repo used for tests. import Sortable = require('sortablejs'); var simpleList = document.createElement('ul'); var list = simpleList; var el = document.createElement('div'); var sortable = new Sortable(simpleList, {}); var order = sortable.toArray(); var angular: any; var Ply: any; sortable.sor...
/** * @module common/converters * @preferred */ /** */ export * from "./interfaces"; // decorators export * from "./decorators/converter"; export * from "./decorators/modelStrict"; // services export * from "./components"; export * from "./services/ConverterService";
export const environment = { production: true, //apiUrl: 'http://192.168.110.94:7001/citiCon/', //apiUrl:'http://10.31.11.22:7002/citiCon/', apiUrl:'http://10.31.11.21:8080/citiCon/', //apiUrl: '${window.location.protocol}//${window.location.host}'+'/citiCon/' };
import * as React from 'react'; import Tooltip from '@atlaskit/tooltip'; import Button from '@atlaskit/button'; import { getButtonStyles, baseStyles } from './styles'; export type ButtonAppearance = 'subtle' | 'danger'; export interface Props { title?: string; icon?: React.ReactElement<any>; iconAfter?: React.Re...
import { ChannelId } from '@/types/entity-ids' export const rootChannelId = '' export type RootChannelId = typeof rootChannelId export interface ChannelTreeNode { id: ChannelId name: string children: ChannelTreeNode[] active: boolean archived: boolean /** * スキップされた子孫 (子から親への順番) */ skippedAncestor...
import {css, cx} from '@emotion/css'; import {DateTime} from 'luxon'; import React, {FC, ReactNode} from 'react'; import {HandlerOf, RendererOf} from '../../helpers/typeHelpers'; import {BTDSettings} from '../../types/btdSettingsTypes'; import {settingsIndent} from './settingsStyles'; export function makeSettingsRow<...
import React from "react"; // import { useDispatch } from "react-redux"; import { Grid } from "semantic-ui-react"; import Roles from "../components/roles/pages/role"; import { InnerPageLayout } from "../layouts"; // import { AlertInterface } from "../models"; // import { addAlert } from "../store/actions"; /** * Role...
/* Redux saga class * logins the user into the app * requires username and password. * un - username * pwd - password */ import { put } from 'redux-saga/effects'; // import { delay } from 'redux-saga'; import { Alert } from 'react-native'; // import loginUser from 'app/services/loginUser'; import * as loginAction...
import type { IOpacity } from "../../../../Interfaces/Options/Particles/Opacity/IOpacity"; import { OpacityAnimation } from "./OpacityAnimation"; import type { IOpacityAnimation } from "../../../../Interfaces/Options/Particles/Opacity/IOpacityAnimation"; import type { RecursivePartial } from "../../../../Types/Recursiv...
/** * Created by hevan on 2018/6/4. */ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule ,ReactiveFormsModule} from '@angular/forms'; import {PageHeaderModule} from "../../../../shared/modules/page-header/page-header.module"; import { FileUploadModule } f...
// Type definitions for ical 0.6 // Project: https://github.com/peterbraden/ical.js // Definitions by: Nick Clifford <https://github.com/nickbclifford> // Matej Vilk <https://github.com/iammatis> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import reques...
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ import { Contents, Session } from '@jupyterlab/services'; ...
/* eslint-disable @typescript-eslint/naming-convention */ declare module "@blu3r4y/lzma" { type Mode = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; export function compress(data: string | Uint8Array, mode: Mode); export function compress( data: string | Uint8Array, mode: Mode, on_finish: (result: Uint8Array, ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* * Copyright 2020 Red Hat, 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 required by ...
import { setTimeout as sleep } from 'node:timers/promises'; import { AsyncQueue } from '@sapphire/async-queue'; import fetch, { RequestInit, Response } from 'node-fetch'; import { DiscordAPIError, DiscordErrorData } from '../errors/DiscordAPIError'; import { HTTPError } from '../errors/HTTPError'; import { RateLimitErr...
import { Component, Input, Renderer2, ViewChild, ElementRef, Output, EventEmitter, Type, AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from "@angular/core"; import { ImageCropper } from "./imageCropper"; import { CropperSettings } from "./cropperSettings"; import { Exif } from "./exif"; i...
import { Omit } from "@material-ui/core"; import { storiesOf } from "@storybook/react"; import React from "react"; import placeholderImage from "@assets/images/placeholder60x60.png"; import { fetchMoreProps, permissions } from "@saleor/fixtures"; import OrderDraftPage, { OrderDraftPageProps } from "../../../orders/c...
import { render, screen } from "@testing-library/react"; import React from "react"; import Filters from "./index"; test('renders Filters component with given title and options', () => { render(<Filters title='TYPE' data={['Filter 1', 'Filter 2', 'Filter 3']} />); const txtElement = screen.getByText(/TYPE/i); exp...
export declare const resolveFiles: ({ fileGlob, extensions, recursive, workingDirectory, allowEmptyGlobs, }: { fileGlob: string; extensions: string[]; recursive: boolean; workingDirectory: string; allowEmptyGlobs?: boolean | undefined; }) => string | string[]; export declare const importModules: ({ ...
// The JSON object can be acquired by visiting // http://reg.bom.gov.au/info/forecast_icons.shtml // and run the following JS /* var icons = {} jQuery('table.icon').find("tr").toArray().map(function(e) { const row = jQuery(e); const cells = row.find('td'); const result = { graphics: jQue...
import { IsUUID } from "class-validator"; export class DeleteClientByIdDto { /** @example "54d45c35-f390-4a73-bf20-353ffffa2c42" */ @IsUUID() readonly id: string; }
import { Component, ComponentInterface, Element, h } from '@stencil/core'; @Component({ tag: 'evb-list', styleUrl: 'list.css', shadow: true }) export class List implements ComponentInterface { @Element() el: HTMLElement; render() { return ( <div role='list'> <slot></slot> </div> ...
export * from './shared-routes.config'
// since these will often be python API driven snake_case names /* eslint-disable @typescript-eslint/naming-convention */ import { Injectable } from '@angular/core'; import { Observable, throwError } from 'rxjs'; import { catchError } from 'rxjs/operators'; import { environment } from '../environments/environment'; im...
import { HookName } from "../types"; export declare const onStart: HookName; export declare const onError: HookName; export declare const beforeAll: HookName; export declare const afterAll: HookName; export declare const beforeEach: HookName; export declare const afterEach: HookName;
/*! * @license * Copyright 2019 Alfresco Software, Ltd. * * 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 app...
export declare class UserDto { readonly name: string; readonly email: string; readonly password: string; }
import Head from 'next/head' const Meta: React.FC = () => ( <Head> <meta charSet="utf-8" /> <title>Boilerplate!!!!</title> <meta name="theme-color" content="#fff" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="shortcut icon" href="/public/images/favicon.ico" ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0"> <context> <name>AddOperatorAction</name> <message> <source>Add operator</source> <translation type="unfinished">Addway operatorway</translation> </message> <message> <source>Add %1 operator</source> <...
import * as React from "react"; import { useMemo } from "react"; import { Label } from "@patternfly/react-core/dist/js/components/Label"; import { every } from "lodash"; import { ConstraintType, DDDataField } from "../DataDictionaryContainer/DataDictionaryContainer"; import { ValidationIndicatorLabel } from "../../Edit...
import React, { ErrorInfo } from "react"; interface State { hasError: boolean; } interface Props { [key: string]: any; } class ErrorBoundary extends React.Component<Props, State> { constructor(props: Props) { super(props); this.state = { hasError: false }; } static getDerivedStateF...
import React from "react"; //buttons import Button from "../button"; import Badge from '../badge'; // Components import TopNav from "../header/header-with-back-icon"; import ProductCardCartlist from '../product-card-card-list/product-card-list-no-qty'; import Product1 from "../product-details/images/product.png"; i...
import { makeStyles } from '@material-ui/core'; import { PropsWithChildren, ReactElement } from 'react'; const useStyle = makeStyles({ root: { display: 'flex', position: 'absolute', width: '100vw', height: '100vh', overflow: 'hidden', }, }); export default function ColumnLayout(props: PropsWit...
export class Receipe { public name: String; public description: String; public imagePath: String; constructor(name: String, description: String, imagePath: String){ this.name=name; this.description=description; this.imagePath=imagePath; } }
/* Copyright 2020-2022 University of Oxford and Health and Social Care Information Centre, also known as NHS Digital 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/licens...
import { useField } from 'formik'; import * as React from 'react'; type Props = { label: string; name: string; title?: string; helpText?: string | React.ReactNode; } & React.InputHTMLAttributes<HTMLInputElement>; const CheckboxField = React.forwardRef((props: Props, ref: React.Ref<HTMLInputElement>) => { co...
import { ComponentFixture, TestBed, async, inject, fakeAsync, tick } from '@angular/core/testing'; import { FormBuilder } from '@angular/forms'; import { Router } from '@angular/router'; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; import { LoginService } from 'app/core/login/login.service'; import { L...
import * as chai from 'chai'; import { chaiRequest } from './shared/chai-request'; import categoryMock from './findcategories/find-categories.data'; import { app } from '../src/app'; import { CategoryAppTest } from './shared/category-app.test'; import { findCategoriesTest } from './findcategories/find-categories.test'...
import styled from 'styled-components/native'; import { RFPercentage, RFValue } from 'react-native-responsive-fontsize'; import { Feather } from '@expo/vector-icons'; import { FlatList } from 'react-native'; import { BorderlessButton, RectButton } from 'react-native-gesture-handler'; import { DataListProps } from '.'; ...
import koaRouter from 'koa-router'; export default async (ctx: koaRouter.IRouterContext, next: Function) => { const data = await next(); if(data) { ctx.body = { success: true, data, error: null }; } };
import { Module } from '@nestjs/common'; import { AuthService } from './auth.service'; import { UserModule } from'../user/user.module'; import { PassportModule } from '@nestjs/passport'; import { JwtModule } from '@nestjs/jwt'; import { jwtConstants} from './constants'; import { JwtStrategy } from './jwt.strategy'; imp...
/* * Copyright 2018- The Pixie Authors. * * 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 ag...
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { Store } from '@ngxs/store'; import { IPopup, SuiActiveModal } from '@richardlt/ng2-s...
import React, { useEffect, useState } from "react"; import { useRouter } from 'next/router'; import Link from 'next/link'; import Layout from "@layout"; import UserInfo from '@components/UserInfo'; import UserRepositories from '@components/UserRepositories'; import { Container, Header, Title, Button, Profile } from ...
import { constFile as dirConstFile } from "@dir/const-file"; import { constIndex as dirConstIndex } from "@dir/const-index"; import { module1 as dirModule1 } from "@dir/module-file"; import { module2 as dirModule2 } from "@dir/module-index"; import { constFile as subdirConstFile } from "@dir/subdir/const-file"; import ...
import Vue, { App } from 'vue'; declare const VueHead: (Vue: App) => void; export = VueHead; interface TitleOptions { inner?: string; separator?: string; complement?: string; } interface ElementOptions extends Object { /** Shorthand of `charset` */ ch?: string; charset?: string; /** Shorthand of `target` ...
import { Injectable } from '@angular/core'; import { ApiService } from './api.service'; @Injectable({ providedIn: 'root', }) export class KanjiPollingService { constructor(private api: ApiService) {} async getGradeData(grade: string) { return this.api .getGrade(grade) .toPromise() .then(as...
/** * @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 */ declare const ng: any; export const appIsAngularInDevMode = (): boolean => { return appIsAngular() && appHasGlobal...
import BaseModel from '../models/BaseModel'; import { IBaseData } from './types'; export interface DirData extends IBaseData { namespace: string; path: string; name: string; } class Dir extends BaseModel<Dir, DirData> { static collectionName = 'docs.dirs'; static schema = { namespace: { type: 'string' ...
import {Component} from '@angular/core'; import {FormControl, Validators} from '@angular/forms'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import { defaultEditorExtensions, tiptapEditorStyles, TUI_EDITOR_EXTENSIONS, TUI_EDI...
import { XmlComponent } from "file/xml-components"; export declare class Seperator extends XmlComponent { constructor(); }
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {useState} from 'react' import {FormattedMessage, useIntl} from 'react-intl' import {Archiver} from '../../archiver' import { darkTheme, darkThemeName, defaultTheme, defaultThem...
import { Component, OnInit, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { Observable, of } from 'rxjs'; import { map, filter, switchMap, pluck } from 'rxjs/operators'; import { TranslateReplaceService } from 'app/shared/services'; im...
import { SendValueService } from './../send-value.service'; import { Component, OnInit, OnDestroy } from '@angular/core'; import { tap, take } from 'rxjs/operators'; @Component({ selector: 'app-poc-take', template: ` <app-poc-base [nome]="nome" [valor]="valor" estilo="bg-info"> </app-poc-base> ` })...
import {Middleware, NestMiddleware, RequestMethod} from '@nestjs/common'; export const FRONT_ROUTES: { path: string, method: string, url?: string }[] = <any>[ {path: '/', method: RequestMethod.GET, url: 'home'}, {path: 'test', method: RequestMethod.GET}, ]; @Middleware() export class RouterMiddleware implements ...
module Component3d { export class NotImplementedExceptionModel extends BaseExceptionModel { constructor() { super("NotImplementedException", Component3d.ExceptionMessageEnum.NOT_IMPLEMENTED()); } } }
export { OAuthCreateClientDto } from './o-auth-create-client.dto'; export { OAuthUpdateClientsDto } from './o-auth-update-clients.dto'; export { OAuthUpdateClientByIdDto } from './o-auth-update-client-by-id.dto'; export { OAuthClientDto } from './o-auth-client.dto';
import { Trait } from '@lifaon/traits'; import { IHSLAObject, TraitColorToHSLAObject } from './trait-color-to-hsla-object'; import { ITraitGetColors } from '../../colors/interface-trait-get-colors'; export interface ITraitColorToHSLAObjectUsingGetColorsGSelfConstraint extends // traits ITraitGetColors<any> // {...
import React, { FC, useMemo, useState } from 'react'; import { Tab, TabContent, TabsBar, useTheme } from '@grafana/ui'; import { getSettingsStyles } from 'app/percona/settings/Settings.styles'; import { cx } from 'emotion'; import { CommunicationProps } from './Communication.types'; import { EmailPayload } from '../../...
import { NetworkInfo } from '@terra-money/wallet-types'; import { TerraWebExtensionConnector, WebExtensionNetworkInfo, WebExtensionPostPayload, WebExtensionSignBytesPayload, WebExtensionSignPayload, WebExtensionStates, WebExtensionStatus, WebExtensionTxResult, } from '@terra-money/web-extension-interfac...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Framework Emulator Github: // https://github.com/Microsoft/BotFramwork-Emulator // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // ...
// Copyright 2019 Diffblue Limited. All Rights Reserved. import { Context } from 'mocha'; import * as sinon from 'sinon'; /** * Helper which injects a sinon sandbox into a Mocha callback * * Usage: * ``` * it('Tests the function', sinonTest((sinon) => { * const logger = sinon.stub(dependency, 'logger'); * *...
import Vue from 'vue' export default { id: 'focus', bind(el) { Vue.nextTick(() => { if (el) { el.focus() } }, 0) } }
import { RAM } from "../RAM"; import { RAMClient } from "../RAMClient"; import { GetResourceSharesCommand, GetResourceSharesCommandInput, GetResourceSharesCommandOutput, } from "../commands/GetResourceSharesCommand"; import { RAMPaginationConfiguration } from "./Interfaces"; import { Paginator } from "@aws-sdk/ty...
import {NgModule} from '@angular/core'; import {ItemService} from './service/item/item.service'; import {HttpModule} from '@angular/http'; import {HttpClientModule} from '@angular/common/http'; import {PodcastService} from './service/podcast/podcast.service'; @NgModule({ imports: [HttpModule, HttpClientModule], pr...
import type { Container } from '@tinkoff/dippy'; import type { Params, Result } from './index'; import { showBanner } from './utils/banner'; import { resolveDone } from './utils/resolveDone'; import { COMMAND_PARAMETERS_TOKEN } from '../../di/tokens'; import { WEBPACK_CLIENT_COMPILER_TOKEN, WEBPACK_SERVER_COMPILER_...
import fetch from "isomorphic-unfetch"; const UNICODE_REGEX = /\/([\d\w-]*?).png/; /** * Returns a map with emojis as its key and the corresponding short codes as its * value. */ export async function getEmojiShortCodes(): Promise<Map<string, string[]>> { const shortCodes = await fetchEmojiShortcuts(); const em...
/// <reference types="pixi.js-legacy" /> namespace pixi_blit { (PIXI as any).blit = pixi_blit; } declare module "pixi-blit" { export = pixi_blit; }
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { LoginComponent } from './login.component'; import { RouterModule, Routes,ActivatedRoute } from '@angular/router'; import { FormsModule } from '@angular/forms'; @...
export class Todo { constructor( public id: number, public title: string, public description?: string, public done = false ){} }