text
stringlengths
10
953k
import { ContractWrappers } from '@0x/contract-wrappers'; // tslint:disable-next-line:no-implicit-dependencies import { DummyERC20TokenContract } from '@0x/contracts-erc20'; import { BigNumber } from '@0x/utils'; import { Web3Wrapper } from '@0x/web3-wrapper'; import { NETWORK_CONFIGS, TX_DEFAULTS } from '../configs';...
import { Injectable } from '@angular/core'; import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; import { Observable } from 'rxjs'; export interface UpdateOptions { /** * A string that contains the identifier for the Bluetooth LE device to update. It will either be a MAC address (on Android) o...
// /src/action/lock_clock/materialicons/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgLockClock = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"> <path d="M0 0h24v24H0V0z" fill="none"/> <path d="M14.5 14.2l2.9 1.7-.8 1.3L13 15v-5...
import {Injectable} from '@angular/core'; import {Actions, Effect, ofType} from '@ngrx/effects'; import {JwtHelperService} from '@auth0/angular-jwt'; import {Router} from '@angular/router'; import {Observable, of} from 'rxjs'; import { EAuthActions, FetchAuthenticatedUser, FetchAuthenticatedUserSuccess, Login, ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { FormContentComponent } from './form-content.component'; describe('FormContentComponent', () => { let component: FormContentComponent; let fixture: ComponentFixture<FormContentComponent>; beforeEach(async(() => { TestBed.conf...
import * as fs from 'fs' import * as inquirer from 'inquirer' import * as ora from 'ora' import { execSync } from 'child_process' import { mkdirSync } from './fs' import { logInsert } from './logger' import { execute } from './process' import { _logCaughtError } from './utils' const store = require('./store') export ...
import React from 'react'; import { storiesOf } from '@storybook/react'; import Story from '../../templates/Story'; import Component from './index'; const StoryComponent = () => ( <Story> <Component /> </Story> ); // Component storiesOf('Components|Molecules/Notification', module) .add('Default', () => <StoryCom...
/** * timed-kvs.ts */ import {TimedKVS as ITimedKVS, TKVS} from "../types/timed-kvs"; import {LinkedKVS} from "./linked-kvs"; interface Item<T> extends TKVS.Envelope<T> { ttl?: number; } /** * Storage with TTL for each entries */ export class TimedKVS<T> extends LinkedKVS<T> implements ITimedKVS<T> { pr...
import commonjs from '@rollup/plugin-commonjs' import dts from 'rollup-plugin-dts' import exec from 'execa' import json from '@rollup/plugin-json' import { babel } from '@rollup/plugin-babel' import { fs } from 'haoma/lib/cliUtils' import { getBabelConfig } from 'haoma' import { nodeResolve } from '@rollup/plugin-node-...
import { Body, Controller, Get, Param, Patch, Post, Query, } from '@nestjs/common'; import { ApiOperation, ApiQuery, ApiResponse, ApiTags } from '@nestjs/swagger'; import { UsersCreateService } from '../../services/users/users.create.service'; import { UsersFindService } from '../../services/users/users.f...
import * as React from 'react'; import { Switch, Route } from 'react-router-dom'; import BDCake from './bd-cake/bdCake'; import Home from './home/home'; import Button from './components/button/button'; import Video from './video/video'; import BDCard from './bd-card/bdCard'; import './style.scss'; export const App: Re...
import AutoSuggest from "./auto-suggest"; import autoSuggestSchema from "./auto-suggest.schema"; import autoSuggestSchema2 from "./auto-suggest.schema.2"; export { autoSuggestSchema, autoSuggestSchema2 }; export default AutoSuggest; export * from "./auto-suggest";
import { Config } from '@stencil/core'; // https://stenciljs.com/docs/config export const config: Config = { namespace: 'app-header', outputTargets: [ { type: 'dist' } ], globalStyle: 'src/global/app.css' };
import * as t from "io-ts"; import { Transaction } from "sequelize"; import { UUID } from "io-ts-types/UUID"; import { buildController } from "../sideEffects/buildController"; import { buildRetCodec } from "../codecs/sharedCodecs"; import { TaskEither } from "fp-ts/TaskEither"; import { ProgramError } from "../errors";...
/* Copyright 2020 The TensorFlow Authors. 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 or a...
import { generateRobotsMetaTag, RobotsMetaData } from "./robots" test("returns default restrictive robots meta tag", () => { const inputRobotsMetaData: RobotsMetaData = {} const metaTag = generateRobotsMetaTag(inputRobotsMetaData) expect(metaTag).toEqual({ property: "robots", content: "no...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import {IconResProps} from '../../mixins/icon-res'; import Tab from './tab'; import getDataAttr from '../../utils/get-data-attr'; import Vue, {VNode} from 'vue'; import Component from 'vue-class-component'; import {Inject, Prop} from 'vue-property-decorator'; @Component({ name: 'Item' }) export default class Item ex...
import { GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; export declare const GraphQLNonNegativeFloatConfig: GraphQLScalarTypeConfig<any, any>; export declare const GraphQLNonNegativeFloat: GraphQLScalarType;
import { Observable } from 'rxjs'; // HACK: this is here for backward compatability // TODO(benlesh): remove this in v6. export const toPromise: typeof Observable.prototype.toPromise = Observable.prototype.toPromise;
import { usaPhoneRegex } from './usa-phone.regex'; const validNumbers = [ '212-222-1010', '(203) 753-5678', '2155551212', '+442071838750', '001-541-754-3010', ]; const invalidNumbers: any = [ '12', 'foo', true, '020 7183 8750', '(021) 53524999', ]; describe(`usaPhoneRegex`, function() { test(`...
import styled from '@emotion/styled'; import { small, subHeading } from '../common/typography'; import { greenButton } from '../common/button'; import { input } from '../common/input'; export const Loading = styled.img` display: none; text-align: center; margin: 24px auto; `; export const LoginWrapper = styled....
import { Component, OnInit } from '@angular/core'; import { Game } from 'src/app/admin/games/game.model'; import { HomeService } from '../shared/home.service'; import { Router } from '@angular/router'; @Component({ selector: 'app-index', templateUrl: './index.component.html', styleUrls: ['./index.component.css']...
import { ConnectOptions } from '../ottoman/ottoman'; export const extractConnectionString = (connectOptions: string): ConnectOptions => { const [connUrl, credentials] = connectOptions.split('@'); const [username, password] = credentials.split(':'); const lastIndex = connUrl.lastIndexOf('/'); const connectionSt...
import { Component, Input, OnInit } from '@angular/core'; import { ExecutionEnvironmentsService } from 'api-atlas/services/execution-environments.service'; import { Router } from '@angular/router'; import { CloudServiceDto } from 'api-atlas/models/cloud-service-dto'; import { forkJoin } from 'rxjs'; import { UtilServic...
/** * Copyright 2019 Next Century Corporation * 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...
/** * 智能网关 */ import React, { useEffect } from 'react'; import { BrowserRouter as Router, Switch, Route } from 'react-router-dom'; import sdk from 'qcloud-iotexplorer-h5-panel-sdk'; import { useDeviceData } from '@hooks/useDeviceData'; import { QuicknessMode } from '@components/base'; import { DeviceSateContext } fro...
import {decodeMemo} from 'components/bridge'; import {AppThunk} from 'src/hooks/redux'; import dhive, {getClient} from 'utils/hive'; import { getConversionRequests, getDelegatees, getDelegators, } from 'utils/hiveUtils'; import {translate} from 'utils/localize'; import {getBittrexPrices} from 'utils/price'; impor...
export function webpackFinal(webpackConfig: any = {}, options: any = {}) { webpackConfig.module.rules.push({ test: /\.vue$/, loader: 'vue-docgen-loader', enforce: 'post', options: { docgenOptions: { alias: webpackConfig.resolve.alias, ...options.vueDocgenOptions, }, }, ...
export { default as Generator } from './Generator'; export { default as Report } from './Report';
declare module 'farmhash' { import * as hash from 'farmhash' const farmhash: { hash32: (input: string | Buffer | Uint8Array) => number } export default farmhash }
import React from 'react'; import { md, code, AtlassianInternalWarning } from '@atlaskit/docs'; import { createRxjsNotice } from '@atlaskit/media-common/docs'; export default md` ${(<AtlassianInternalWarning />)} ${createRxjsNotice('Media Core')} This package is required by other Media Components, and should n...
// *** Accidental global variables function myArray() { window['languages'] = new Array(10000000); } myArray(); // // *** Solve // function myArray() { // let languages = new Array(10000000); // } // myArray();
import { pipe } from "@effect-ts/core/Function" import type { RecursiveURI } from "../../Algebra/Recursive" import { interpreter } from "../../HKT" import { memo } from "../../Utils" import { reorderApplyConfig, ReorderType, ReorderURI } from "../base" export const reorderRecursiveInterpreter = interpreter<ReorderURI...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import React from 'react'; import { StyledComponent } from '@components/types'; export type LabelPlacements = ( | 'top' | 'bottom' | 'start' | 'end' ); export interface Props extends StyledComponent { /** * If `true`, the checkbox is checked. */ isChecked?: boolean, /** ...
import { Injectable } from '@angular/core'; import { Product } from './../products/product'; @Injectable() export class PanierService { constructor() { } getCurrentPanier(): Product[] { const prodList = sessionStorage.getItem('panier'); if (prodList != null) { return (JSON.parse(prodList) as any[]...
import axios from 'axios'; const api = axios.create({ baseURL: 'http://192.168.10.147:3333', }); export default api;
#! /usr/bin/env node 'use strict'; import {init} from '../index'; init();
import React, { createRef, useState, useEffect } from 'react' import { sendMail } from 'utils/sendEmail' import styles from './MainNav.module.css' import Link from 'next/link' type MainNavProps = { sticky?: boolean className?: string } const MainNav: React.FC<MainNavProps> = ({ sticky = false, className, ...rest...
import React from 'react'; import { NavigationContainer } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; const { Navigator, Screen } = createStackNavigator(); import OrphanagesMap from './pages/OrphanagesMap'; import OrphanageDetails from './pages/OrphanageDetails'; ...
import { Architect, BuilderOutput } from '@angular-devkit/architect'; import { ProjectType } from '@nrwl/workspace'; import { mockContext } from '../../utils/testing'; import * as stencilUtils from '../utils'; import { Observable, of } from 'rxjs'; import { Config } from '@stencil/core/cli'; import { switchMap } from '...
import EventEmitter from 'eventemitter3'; export type EventType = { [event: string]: (...args: any[]) => void }; export class PlayingCardBase<T extends EventType = EventType> extends EventEmitter<T> {}
import Ripple from './directive/Ripple'; import _Vue, { PluginObject } from 'vue'; export { Ripple }; export class RipplePluginOptions {} const RipplePlugin: PluginObject<RipplePluginOptions> = { key: 'RipplePlugin', install: (Vue: typeof _Vue, options?: any): void => { Vue.directive('ripple', Rippl...
import { useAuthProvider } from 'Auth/MAPI/MapiAuthProvider'; import { Box } from 'grommet'; import ErrorReporter from 'lib/errors/ErrorReporter'; import { FlashMessage, messageTTL, messageType } from 'lib/flashMessage'; import { useHttpClientFactory } from 'lib/hooks/useHttpClientFactory'; import { ClusterList } from ...
import { Component } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { Events, NavController, NavParams } from 'ionic-angular'; import * as _ from 'lodash'; import { Logger } from '../../../../../providers/logger/logger'; // Providers import { BwcErrorProvider } from '../../../../....
import { RowData } from '../helper'; export interface RegressionOptions { as?: [string, string]; method?: 'linear' | 'exponential' | 'logarithmic' | 'power' | 'polynomial'; fields: [string, string]; bandwidth?: number; extent?: [number, number]; } export declare function regression(rows: RowData[], ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import BaseAPI from "./BaseAPI"; import Client from "../Client"; export type ValidateDisplayNameNewUserOptions = { displayName: string; birthdate: string; } export type ValidateDisplayNameNewUser = unknown export type ValidateDisplayNameExistingUserOptions = { userId: number; displayName: string; } ex...
import { action } from '@storybook/addon-actions'; import { withKnobs, text, boolean } from '@storybook/addon-knobs'; import { withNotes } from '@storybook/addon-notes'; import { moduleMetadata } from '@storybook/angular'; //module imports import { DATE_PICKER_DIRECTIVES, DATE_PICKER_IMPORTS } from '../date-picker.mod...
namespace ts { const ignoreDiagnosticCommentRegEx = /(^\s*$)|(^\s*\/\/\/?\s*(@ts-ignore)?)/; export function findConfigFile(searchPath: string, fileExists: (fileName: string) => boolean, configName = "tsconfig.json"): string | undefined { return forEachAncestorDirectory(searchPath, ancestor => { ...
import React from 'react'; import { Icon, IconProps } from '@chakra-ui/icon'; export const MenuIcon = (props: IconProps) => ( <Icon viewBox="0 0 512 512" fill="currentcolor" stroke="currentcolor" {...props} > <path fill="none" stroke="currentColor" strokeLinecap="round" ...
// *** 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 type { Domain, ScaleType } from '@h5web/shared'; import { useClickOutside, useKeyboardEvent, useToggle } from '@react-hookz/web'; import { useEffect, useRef, useState } from 'react'; import { FiEdit3 } from 'react-icons/fi'; import { useSafeDomain, useVisDomain } from '../../../vis/heatmap/hooks'; import type {...
/* eslint-disable deprecation/deprecation */ import { getCurrentHub } from '@sentry/core'; import { Integration, Span } from '@sentry/types'; import { fill } from '@sentry/utils'; import { ClientRequest, ClientRequestConstructorOptions, IncomingMessage, net } from 'electron'; import * as urlModule from 'url'; import {...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ar" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Frogcoin</source> <translation>عن Frogcoin</translation> </messa...
import type { EntityAdapter, ActionCreatorWithPayload, ActionCreatorWithoutPayload, EntityStateAdapter, EntityId, Update, } from '@reduxjs/toolkit' import { createSlice, createEntityAdapter } from '@reduxjs/toolkit' import { expectType } from './helpers' function extractReducers<T>( adapter: EntityAdapte...
import React from 'react'; import { NavigationScreenProps } from 'react-navigation'; import { ForgotPasswordFormData } from '@src/components/auth'; import { ForgotPassword } from './forgotPassword.component'; import * as firebase from 'firebase'; export class ForgotPasswordContainer extends React.Component<NavigationS...
import { OWN_NAME, ROOM_SIZE, SOURCE_KEEPER_ATTACK_RANGE, SOURCE_KEEPER_NAME } from "./constants"; import { addRoomInfo, getRoomInfo } from "./mapFunctions"; /** * The format for various options which can be provided to customize callbacks. * range - The required range to the target, defaults to 1 */ export interf...
import { AnalyticsTracker, IAggregateStats, ITelemetryTagsPayload, ITelemetryOptsPayload, IDefaultTelemetryTagsPayload } from "./telemetry"; import { Request, Response } from "express"; export declare const flush: () => Promise<void>; export declare function trackFeatureIsUsed(name: string): void; export declare functi...
import AppError from '@shared/errors/AppError'; import FakeUsersRepository from '@modules/users/repositories/fakes/FakeUsersRepository'; import FakeHashProvider from '@modules/users/providers/HashProvider/fakes/FakeHashProvider'; import FakeCacheProvider from '@shared/container/providers/CacheProvider/fakes/FakeCachePr...
import { Card } from '../../../interfaces' import Set from '../Forbidden Light' const card: Card = { name: { en: "Volcanion ◇", fr: "Volcanion ◇", es: "Volcanion ◇", it: "Volcanion ◇", pt: "Volcanion ◇", de: "Volcanion ◇" }, illustrator: "Naoki Saito", rarity: "Rare", category: "Pokemon", set: Set, ...
/// <reference types="react" /> declare const ToggleUp: import("react").FC<import("../lib/Icon").IconProps>; export default ToggleUp;
import { App } from './App' import { Canvas } from './drawing/canvas' export class Grid { constructor() { } private drawGridLineV(htmlCanvas: HTMLCanvasElement, canvas: Canvas, x: number) { let y1 = Math.floor(-htmlCanvas.offsetHeight) + 0.5; let y2 = Math.floor(htmlCanvas.offsetHeight) + 0.5; x = M...
import { exec as execCmd, ExecException } from 'child_process'; import log from '../log'; /** * Authenticator properties * @public */ export interface AcatorProps { /** * Full URL for the authentication service. */ authUrl: string; /** * Origin URL for the authentication service - for development. ...
import { fromDefault, Record } from "../../../Data/Record" import { Category } from "../../Constants/Categories" import { EntryWithCategory } from "./wikiTypeHelpers" export interface Attribute { "@@name": "Attribute" id: string name: string category: Category short: string } export const Attribute = from...
import { LessonService } from './Lesson/lesson.service'; import { ClassRoomService } from './ClassRoom/ClassRoomService.service'; import { NgModule } from '@angular/core'; import {ModalManagerService} from './common/modal-manager.service' @NgModule({ providers: [ ModalManagerService, ClassRoomService, Les...
import { Component } from '@angular/core'; import { DialogComponent, DialogService } from 'ng2-bootstrap-modal'; @Component({ selector: 'confirm', template: ` <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" (click)="close()" >&ti...
/** * @packageDocumentation * @module Parts.PCA9685 */ import Obniz from "../../../obniz"; import PeripheralI2C from "../../../obniz/libs/io_peripherals/i2c"; import PeripheralIO from "../../../obniz/libs/io_peripherals/io"; import { PWMInterface } from "../../../obniz/libs/io_peripherals/pwm"; import ObnizPartsIn...
import { useConfigs } from 'containers/ConfigsContext' import * as React from 'react' import { friendlyFormatShortcut } from 'utils/general' import { useStates } from 'utils/hooks' import * as keyHelper from 'utils/keyHelper' type Props = {} export function ShortcutSettings(props: React.PropsWithChildren<Props>) { ...
/* External dependencies */ import React, { Ref, forwardRef, useState, useEffect, useImperativeHandle, useRef, useCallback, useMemo, } from 'react' import { size as getSize, isNil, isEmpty, isArray, toString, includes } from 'lodash-es' import { v4 as uuid } from 'uuid' /* Internal dependencies */ impo...
import { Token, ChainId } from '@pancakeswap/sdk' import getLpAddress from 'utils/getLpAddress' const CAKE_AS_STRING = '0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82' const BUSD_AS_STRING = '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56' const CAKE_AS_TOKEN = new Token(ChainId.MAINNET, CAKE_AS_STRING, 18) const BUSD_AS_TOKE...
import * as React from "react"; import { loadGraph, resetGraph } from "./graph-view.business"; import { withTheme, WithTheme } from "material-ui/styles"; import { GraphApi, CreateGraphApi, GraphConfig, GraphResponse } from "../../../../graph-api"; import { jfkServiceConfig } from "../../service/jfk"; import { c...
import React, { useState, useEffect } from 'react'; import { View, TouchableOpacity, Text, ScrollView, Image, Alert } from 'react-native'; import { Feather as Icon } from '@expo/vector-icons'; import { useNavigation, useRoute } from '@react-navigation/native'; import MapView, { Marker } from 'react-native-maps'; import...
export const environment = { production: true, apiUrl: 'https://bonspiel-server.herokuapp.com', };
export default (options: { ajvVersion: string }): string => `import { Injectable } from '@angular/core'; import { LazyService } from '@delon/util/other'; @Injectable() export class StartupService { constructor(private lazy: LazyService) { } load(): Promise<any> { return new Promise((resolve, reject) => { ...
<TS language="cy" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Clic-dde i olygu cyfeiriad neu label</translation> </message> <message> <source>Create a new address</source> <translation>...
import {model, Schema} from "mongoose" import {subExerciseSchema} from "./sub_exercise_model" const circuitSchema = new Schema({ setAmount: {type: Number, required: true}, timeBetweenSetsSec: {type: Number, required: true}, exercises: {type: [subExerciseSchema], required: false} }) export default model("Circuit...
import { BlockLinkDirective } from './block-link.directive'; describe('BlockLinkDirective', () => { it('should create an instance', () => { const directive = new BlockLinkDirective(); expect(directive).toBeTruthy(); }); });
import _ from 'lodash'; import React from 'react'; import PropTypes from 'prop-types'; import Icon, { IIconProps } from '../Icon'; import { lucidClassNames } from '../../../util/style-helpers'; const cx = lucidClassNames.bind('&-HelpIcon'); export const iconPropTypes = { /** Size variations of the icons. \`size\` di...
import {XZC} from '../../XZC'; import { signWithPrivateKey, signWithPrivateKeySync, } from '../../XZC/signProvider'; import {TXZC} from '../../XZC/TXZC'; import keyProvider, { SignProviderWithPrivateKeySync, } from '../../BTC/keyProvider'; const privateKey = '5a6661e8354d612c5a045075c0fe758d87b6aa39e5e1d578f4...
import $ from "jquery"; import { showNotification, removeNotification } from "./notifications"; function updateTime(reconnectTime): void { const $time = $("#shiny-reconnect-time"); // If the time has been removed, exit and don't reschedule this function. if ($time.length === 0) return; const seconds = Math....
import { Structure as _Structure_ } from "@aws-sdk/types"; export const ResourceNotFoundException: _Structure_ = { type: "structure", required: [], members: { Message: { shape: { type: "string" } }, Code: { shape: { type: "string" } } }, exceptionType: ...
/* Copyright 2021 The TensorFlow Authors. 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 or a...
import {Component, Output, EventEmitter, OnInit} from '@angular/core'; import {AuthenticationService} from '../services/authentication.service'; import {RouterModule, Routes, Router, ActivatedRoute, Event, NavigationEnd} from '@angular/router'; import {AlertService} from '../services/alert.service'; import {Title} fro...
export interface Procedimientoscentrosalud { id: number; id_centro_salud: number; id_procedimiento: number; texto_aceptado: string; texto_rechazo: string; texto_apoderado_acepta: string; texto_apoderado_rechazo: string; textoeConsent: string; activo: number; }
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
/** * Copyright © 2021 Aditya Sharoff, Gregory Hairfeld, Jesse Coyle, Francis Phan, William Papsco, Jack Sherman, Geoffrey Corvera * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without res...
import { Component, OnInit, ViewChild } from '@angular/core'; import { ChartErrorEvent, ChartEvent, GoogleChartComponent } from 'projects/angular-google-charts/src/public_api'; import { Router } from '@angular/router'; @Component({ selector: 'app-main', templateUrl: './main.component.html', styles: [':host > *:n...
// class XmlDtdException extends System.Xml.XmlException { // Message: string; //} //export = XmlDtdException;
import styled from 'styled-components/native'; export const NotesList = styled.FlatList` width: 100%; flex: 1; padding: 0 20px; `; export const NoteItem = styled.TouchableOpacity` width: 100%; background-color: ${props => props.theme.orangeColor}; border-radius: 5px; color: white; padding: 10px; mar...
import { assert, expect } from "chai"; import { ethers } from "hardhat"; import { TESTING_PARAMS } from "../../ts/constants"; import { randHex } from "../../ts/utils"; import { MockDepositManagerFactory, TestRollupFactory } from "../../types/ethers-contracts"; import { MockDepositManager } from "../../types/eth...
export default interface Entity { id:string; entityName:string; }
import { Component, OnDestroy } from '@angular/core'; import { FormArray, FormBuilder, FormGroup } from '@angular/forms'; import { Subject } from 'rxjs'; import { startWith, takeUntil } from 'rxjs/operators'; /** * @title Checkbox Panel Group * @order 30 */ @Component({ selector: 'sbb-checkbox-panel-group-example...
import {NpdaDeclaration} from "../npda-declaration"; import {isFailState} from "./is-fail-state"; interface GenerateLanguageImplArgs { readonly npda : NpdaDeclaration, readonly maxLength : number, readonly maxStep : number, readonly result : Set<string>, readonly curState : string, readonly c...
/* eslint-disable max-lines */ import { Breadcrumb, CaptureContext, Context, Contexts, Event, EventHint, EventProcessor, Extra, Extras, Scope as ScopeInterface, ScopeContext, Severity, Span, Transaction, User, } from '@sentry/types'; import { dateTimestampInSeconds, getGlobalObject, isPlai...
export * from "./Option"; export * from "./Result"; export * from "./AsyncResult";
/** * @license * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview This color picker / wheel. */ import * as Blockly from 'blockly/core'; import iro from '@jaames/iro'; import type {ColorPickerProps} from '@jaames/iro/dist/ColorPicker'; /** * This is the class for the color wheel. */ export class Col...
import { HttpClientTestingModule } from '@angular/common/http/testing'; import { TestBed } from '@angular/core/testing'; import { UploadDownloadService } from './upload-download.service'; describe('UploadDownloadService', () => { let service: UploadDownloadService; beforeEach(() => { TestBed.configureTestingM...
import PurgeCSS from "./../src/index"; import { ROOT_TEST_EXAMPLES } from "./utils"; describe(":not pseudo class", () => { let purgedCSS: string; beforeAll(async () => { const resultsPurge = await new PurgeCSS().purge({ content: [`${ROOT_TEST_EXAMPLES}pseudo-class/not.html`], css: [`${ROOT_TEST_EXA...