text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { BigNumber } from '@0x/utils'; import { SourceFilters } from './source_filters'; import { CurveFunctionSelectors, CurveInfo, ERC20BridgeSource, GetMarketOrdersOpts } from './types'; // tslint:disable: custom-no-magic-numbers no-bitwise /** * Valid sources for market sell. */ export const SELL_SOURCE_FILTER...
the_stack
import { dew as _npmNgraphDew } from "/npm:ngraph.events@1?dew"; var exports = {}, _dewExec = false; var _global = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : global; export function dew() { if (_dewExec) return exports; _dewExec = true; /** * @fileOverview Cont...
the_stack
import { CloseOutlined, EditOutlined, EyeOutlined, FileAddOutlined, GithubOutlined, PlusOutlined, SettingOutlined, UploadOutlined, } from '@ant-design/icons'; import { Button, Drawer, message } from 'antd'; import React, { useCallback, useEffect, useRef, useState } from 'react'; import { useDispatch, us...
the_stack
import React, { Component } from 'react' import { StyleSheet, Text, View, Image, Dimensions, TouchableNativeFeedback, InteractionManager, ActivityIndicator, StatusBar, Animated, Easing, FlatList, Linking } from 'react-native' import { updown, fav } from '../../dao/sync' import Ionicons from ...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type SellerReplyEstimate_Test_QueryVariables = {}; export type SellerReplyEstimate_Test_QueryResponse = { readonly me: { readonly conversation: { readonly orderConnection: { read...
the_stack
import * as Electron from 'electron'; import * as Types from '@meetalva/types'; import * as M from '@meetalva/message'; import * as Matchers from '../../matchers'; import { MessageType as MT } from '@meetalva/message'; import * as ContextMenu from '../../context-menu'; import { ElectronUpdater } from './electron-update...
the_stack
import VideoTimeContainer from '../video-time-container'; import {useState, useRef} from 'react'; import VideoControlsContainer from '../video-controls-container'; import Preview from './preview'; const PlayBar = () => { const [resizing, setResizing] = useState(false); const [hoverTime, setHoverTime] = useState(0)...
the_stack
import { Component, OnInit, OnDestroy, ViewChild, trigger, state, style, transition, animate } from '@angular/core'; import { environment } from './../../../../../../environments/environment'; import { Router } from '@angular/router'; import { Subscription } from 'rxjs/Subscription'; import * as _ from 'lodash'; impor...
the_stack
export interface JeelizFaceFilterInitVideoSettings { /** * not set by default. <video> element used WARN: If you specify this parameter, 1. all other settings will be useless 2. it means that you fully handle the video aspect 3. in case of using web-camera device make sure th...
the_stack
import {Server as HTTPServer} from 'http'; import BLeak from '../src/lib/bleak'; import createHTTPServer from './util/http_server'; import ChromeDriver from '../src/lib/chrome_driver'; import {readFileSync} from 'fs'; import {equal as assertEqual} from 'assert'; import NopProgressBar from '../src/lib/nop_progress_bar';...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement, Operator } from "../shared"; /** * Statement provider for service [dms](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/...
the_stack
import { Auth } from '@aws-amplify/auth'; import { Credentials, Logger, Signer } from '@aws-amplify/core'; import { GraphQLError, isCompositeType } from 'graphql'; import Observable from 'zen-observable-ts'; import { AWSAppSyncRealTimeProvider } from '../src/Providers/AWSAppSyncRealTimeProvider'; import Cache from '@aw...
the_stack
import React from 'react'; import styles from './bannerSVG.module.less'; interface BannerSVGProps { play: boolean; } const BannerSVG = (props: BannerSVGProps) => { const block6NodeRadius = '2'; const block6CirclePositions = [ { x: 36.8, y: 49.8 }, //A { x: 66.8, y: 29.8 }, //B { x: 84.8, y: 29.8 }, ...
the_stack
import * as React from 'react' import * as ReactDOM from 'react-dom' import {matchesSelectorAndParentsTo, addEvent, removeEvent, addUserSelectStyles, getTouchIdentifier, removeUserSelectStyles, styleHacks} from './utils/domFns' import {createCoreData, getControlPosition, snapToGrid} from './utils/positionFns' i...
the_stack
import {Injectable} from '@angular/core'; import { BaseType as D3BaseType, ContainerElement as D3ContainerElement, select as d3Select, selectAll as d3SelectAll, Selection as D3Selection } from 'd3-selection'; import {Transition as D3Transition} from 'd3-transition'; import {TimeSeries} from '../../models/time...
the_stack
import * as fs from "fs"; import * as path from "path"; import * as _ from "lodash"; import { app } from "electron"; import { createUuid } from "extraterm-uuid"; import { Logger, getLogger } from "extraterm-logging"; import { ThemeInfo, ThemeType, FALLBACK_TERMINAL_THEME, FALLBACK_SYNTAX_THEME } from "../theme/Theme";...
the_stack
import { t } from "../index"; import { replayCore } from "../core"; import { TestGame, getTestPlatform, FullTestGame, TestGameWithSprites, gameProps, NestedSpriteGame, LocalStorageGame, nativeSpriteSettings, NativeSpriteGame, MyWidgetImplementation, widgetState, widgetCallback, MaskGame, Cal...
the_stack
//support v4 23.1.0 module android.support.v4.view { import View = android.view.View; import Gravity = android.view.Gravity; import MeasureSpec = View.MeasureSpec; import OverScroller = android.widget.OverScroller; import ViewGroup = android.view.ViewGroup; import Interpolator = android.view.ani...
the_stack
import { Barrier, isThenable, RunOnceScheduler } from 'vs/base/common/async'; import { Emitter } from 'vs/base/common/event'; import { Disposable } from 'vs/base/common/lifecycle'; import { assertNever } from 'vs/base/common/types'; import { applyTestItemUpdate, ITestItem, ITestTag, namespaceTestTag, TestDiffOpType, Te...
the_stack
import { cloneDeep } from 'lodash'; import gql from 'graphql-tag'; import { GraphQLError } from 'graphql'; import { ApolloClient } from '../core'; import { InMemoryCache } from '../cache'; import { ApolloLink } from '../link/core'; import { Observable, ObservableSubscription as Subscription } from '../utilities'; impo...
the_stack
* Miscellaneous types. */ type Attributes = {[key: string]: any}; type GraphType = 'mixed' | 'directed' | 'undirected'; type UpdateHints = {attributes?: Array<string>}; type EdgeKeyGeneratorFunction<EdgeAttributes extends Attributes = Attributes> = (data: { undirected: boolean; source: string; target:...
the_stack
import * as R from 'ramda'; import { ResolverFn } from '../'; import validator from 'validator'; import { logger } from '../../loggers/logger'; import { isPatchEmpty } from '../../util/db'; import { GroupNotFoundError } from '../../models/group'; import { Helpers as projectHelpers } from '../project/helpers'; import { ...
the_stack
import { ABSENT, arrayWith, objectLike, SynthUtils } from '@aws-cdk/assert-internal'; import '@aws-cdk/assert-internal/jest'; import { AutoScalingGroup } from '@aws-cdk/aws-autoscaling'; import { Certificate } from '@aws-cdk/aws-certificatemanager'; import * as ec2 from '@aws-cdk/aws-ec2'; import { MachineImage } from ...
the_stack
import gql from "lib/gql" import { GraphQLSchema } from "graphql" import moment from "moment" import { defineCustomLocale, isExisty } from "lib/helpers" import { normalizeImageData, getDefault } from "schema/v2/image" import { formatMarkdownValue } from "schema/v2/fields/markdown" import Format from "schema/v2/input_fi...
the_stack
import { noop } from "lodash"; import { v1 as uuid } from "uuid"; import { pureMerge } from "coral-common/utils"; import { GQLResolver, GQLUSER_ROLE, GQLUSER_STATUS, QueryToSettingsResolver, QueryToUsersResolver, } from "coral-framework/schema"; import { act, createQueryResolverStub, createResolversStu...
the_stack
* Unit tests for indexed_db.ts. */ import * as tf from '../index'; import {BROWSER_ENVS, describeWithFlags, runWithLock} from '../jasmine_util'; import {expectArrayBuffersEqual} from '../test_util'; import {browserIndexedDB, BrowserIndexedDB, BrowserIndexedDBManager, deleteDatabase, indexedDBRouter} from './indexed_d...
the_stack
import * as path from 'path' import * as cp from 'child_process' import * as fs from 'fs-extra' import packager, { OsxNotarizeOptions, OsxSignOptions, Options, } from 'electron-packager' import frontMatter from 'front-matter' import { externals } from '../app/webpack.common' interface IChooseALicense { readonl...
the_stack
import * as xlsx from "xlsx"; import { defaultValueTransFuncMap } from "./default-value-func-map"; import { Logger } from "./loger"; import { forEachHorizontalSheet, forEachVerticalSheet, isCSV, isEmptyCell, readTableData, readTableFile } from "./table-utils"; declare global { interface ITa...
the_stack
import { LayoutViewer, DocumentHelper } from '../index'; import { TextSearchResults } from './text-search-results'; import { TextSearchResult } from './text-search-result'; import { createElement, isNullOrUndefined, L10n, classList } from '@syncfusion/ej2-base'; import { FindOption } from '../../base/types'; import { T...
the_stack
import { Injectable } from '@angular/core'; import { CoreSites } from '@services/sites'; import { CoreSite, CoreSiteWSPreSets } from '@classes/site'; import { CoreError } from '@classes/errors/error'; import { makeSingleton, Translate } from '@singletons'; import { CoreWSExternalWarning } from '@services/ws'; import {...
the_stack
import { decrypt, decryptSafely, encrypt, encryptSafely, getEncryptionPublicKey, } from './encryption'; describe('encryption', function () { const bob = { ethereumPrivateKey: '7e5374ec2ef0d91761a6e72fdf8f6ac665519bfdf6da0a2329cf0d804514b816', encryptionPrivateKey: 'flN07C7w2Rdhpucv349qxmVRm/3...
the_stack
import fs from 'fs-extra'; import * as path from 'path'; import R from 'ramda'; import semver from 'semver'; import { flatten } from 'lodash'; import { BitIds } from '../../bit-id'; import { COMPILER_ENV_TYPE, COMPONENT_DIST_PATH_TEMPLATE, COMPONENT_ORIGINS, TESTER_ENV_TYPE } from '../../constants'; import ShowDoctorEr...
the_stack
import { EventEmitter } from '@angular/core'; import { Observable, throwError, forkJoin, NEVER, of } from 'rxjs'; import { map, tap } from 'rxjs/operators'; import { ODataEntityResource, ODataNavigationPropertyResource, ODataPropertyResource, ODataOptions, ODataEntityAnnotations, ODataEntity, Select, E...
the_stack
import { AcEntity } from '../../angular-cesium/models/ac-entity'; import { EditPoint } from './edit-point'; import { EditPolyline } from './edit-polyline'; import { AcLayerComponent } from '../../angular-cesium/components/ac-layer/ac-layer.component'; import { Cartesian3 } from '../../angular-cesium/models/cartesian3';...
the_stack
import objectPath from 'object-path'; import { createRxDocumentConstructor, basePrototype } from '../rx-document'; import { createDocCache } from '../doc-cache'; import { newRxError, newRxTypeError } from '../rx-error'; import { flatClone, getFromMapOrThrow } from '../util'; import type { ...
the_stack
import React, { useEffect, useState } from 'react'; import { I18nManager, LayoutChangeEvent, StatusBarAnimation, StyleProp, StyleSheet, ViewStyle, Keyboard, StatusBar, } from 'react-native'; import { DrawerKeyboardDismissMode, DrawerLockMode, DrawerPosition, DrawerType, GestureDetector, Gest...
the_stack
import { EventEmitter } from 'events'; import * as BluebirdPromise from 'bluebird'; export interface ISoapMethod { (args: any, callback: (err: any, result: any, raw: any, soapHeader: any) => void, options?: any, extraHeaders?: any): void; } export interface ISoapServiceMethod { (args:any, callback?: (data: an...
the_stack
import { Ranking, isNumberColumn, Column, IColumnDesc, isSupportType, isMapAbleColumn, DEFAULT_COLOR, IDataRow, } from '../model'; import { colorPool, MAX_COLORS } from '../model/internal'; import { concat, equal, extent, range, resolveValue, ISequence } from '../internal'; import { timeParse } from 'd3...
the_stack
import { get_exchange_rates } from './exchangeRate' const mathjs = require('mathjs'); interface PluginState { scope: object; globalConfig: object; lineData: object; }; type BlockType = '+' | '-'; const inline_math_regex = /^(\+|\-)?=(?= *[0-9a-zA-Z\[\(\-\+])/; const equation_result_separator = " => "; const equat...
the_stack
import { Resolver, schemaComposer, ObjectTypeComposer } from 'graphql-compose'; import { Query } from 'mongoose'; import { UserModel, IUser } from '../../__mocks__/userModel'; import { connection, prepareCursorQuery } from '../connection'; import { findMany } from '../findMany'; import { count } from '../count'; import...
the_stack
import { IonBackButton, IonButton, IonButtons, IonCard, IonCardContent, IonCol, IonContent, IonGrid, IonHeader, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonLabel, IonList, IonListHeader, IonMenuButton, IonPage, IonProgressBar, IonRow, IonSegment, IonSeg...
the_stack
import path from 'path'; import { DynamicPool, isTimeoutError, StaticPool } from '../src'; import { Pool } from '../src/pool'; const TASK_NUM = 4; function wait(t: number) { return new Promise((resolve) => { setTimeout(resolve, t); }); } describe('pool tests', () => { it('should throw error if size is not ...
the_stack
import type { Uri } from '@velcro/common'; import type { BinaryOperator, Function, Identifier, MemberExpression, Node, Pattern } from 'estree'; import MagicString from 'magic-string'; import type { ParserFunction } from '../parsing'; import type { DEFAULT_SHIM_GLOBALS } from '../shims'; import { SourceModuleDependency ...
the_stack
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class CustomerPr...
the_stack
import {ModelBase} from "../config/model.base"; import {DataEntityType} from "../api/entity/data-entity.base"; import {Paris} from "../paris"; import {combineLatest, Observable, of} from "rxjs"; import {map} from "rxjs/operators"; import {valueObjectsService} from "../config/services/value-objects.service"; import {Ent...
the_stack
import path from 'path'; import React, { ChangeEvent, useEffect, useRef, useState } from 'react'; import uniqueId from 'lodash.uniqueid'; // import core base styles import 'hds-core'; import composeAriaDescribedBy from '../../utils/composeAriaDescribedBy'; import classNames from '../../utils/classNames'; import { But...
the_stack
import MultiFormat from '@requestnetwork/multi-format'; import Utils from '@requestnetwork/utils'; import { EventEmitter } from 'events'; import { DataAccessTypes, EncryptionTypes, TransactionTypes } from '@requestnetwork/types'; import { TransactionManager } from '../src/index'; import TransactionsFactory from '../...
the_stack
declare namespace Proto { export interface webviewView { log?: string; resources?: webviewResource[]; /** * We used to have a setting that allowed users to dynamically * prepend timestamps in logs. */ DEPRECATEDLogTimestamps?: boolean; featureFlags?: object; needsAnalyticsNudge?...
the_stack
import { IDataObject, INodeExecutionData } from 'n8n-workflow'; import pgPromise = require('pg-promise'); import pg = require('pg-promise/typescript/pg-subset'); /** * Returns of a shallow copy of the items which only contains the json data and * of that only the define properties * * @param {INodeExecutionData[]}...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import * as iam from '@aws-cdk/aws-iam'; import * as sfn from '@aws-cdk/aws-stepfunctions'; import { Token } from '@aws-cdk/core'; import { RequestContext } from '.'; import { IntegrationConfig, IntegrationOptions, PassthroughBehavior } from '../integration'; impo...
the_stack
import fs from 'fs'; import path from 'path'; import url from 'url'; // @ts-ignore: html-to-react-components does not have type definitions import HtmlToJsx from 'html-to-react-components/lib/html2jsx'; import { deleteFolderRecursive, ensureDirectoryExistence, isUrlExternal, mapUrlToFilePath, } from './helpers'...
the_stack
import { T, Val, EmptyArray, IterType, FalseyValues, isTruthy } from "./common"; import { Result, Ok, Err } from "./result"; export type Some<T> = OptionType<T> & { [T]: true }; export type None = OptionType<never> & { [T]: false }; export type Option<T> = OptionType<T>; type From<T> = Exclude<T, Error | FalseyValues...
the_stack
import { getAncestorsTree } from './ancestor-chart'; import { HierarchyNode, HierarchyPointNode } from 'd3-hierarchy'; import { IdGenerator } from './id-generator'; import { layOutDescendants } from './descendant-chart'; import { max, min } from 'd3-array'; import { Chart, ChartInfo, ChartOptions, DataProvider,...
the_stack
import StreamID, { CommitID } from '@ceramicnetwork/streamid' import { AnchorService, AnchorStatus, CommitType, Context, CreateOpts, LoadOpts, PinningOpts, PublishOpts, StreamState, StreamStateHolder, StreamUtils, SyncOptions, UpdateOpts, } from '@ceramicnetwork/common' import { PinStore } fro...
the_stack
declare enum AdjustmentReference { ABSOLUTE, RELATIVE } /** * The point around which to transform an object. This is the point that does * not move when an object is rotated or resized using methods in ArtLayer, * LayerSet, and Selection, or when the entire canvas is resized with * Document.resizeCanvas()....
the_stack
(function script_init() { "use strict"; const sparser:sparser = global.sparser, script = function lexer_script(source:string):data { let a:number = 0, ltoke:string = "", ltype:string = "", lword:Array<[string, number]> = [], ...
the_stack
'use strict'; import { IntegrationsSettings, InitOptions, SegmentAnalytics, SegmentOpts, SegmentIntegration } from './types'; var _analytics = global.analytics; /* * Module dependencies. */ var Alias = require('segmentio-facade').Alias; var Emitter = require('component-emitter'); var Facade = require('s...
the_stack
import { Disposable } from '../dispose' import { Hub } from '../hub/index' import { Forward } from '../hub/index' /** Creates a timeout that throws with the given error message. */ function timeout<T=any>(ms: number, message: string = 'timeout'): Promise<T> { return new Promise<T>((_, reject) => { setT...
the_stack
import { Where, WhereParamsByIdentifierI, WhereParamsI } from '../Where'; import { Neo4jSupportedProperties, NeogmaModel } from '../..'; /** returns the given type, while making the given properties required */ type RequiredProperties<T, P extends keyof T> = T & { [key in P]-?: Required<NonNullable<T[key]>...
the_stack
import { View, Text } from 'react-native'; import React from 'react'; import Animated from 'react-native-reanimated'; import LinearGradient from 'react-native-linear-gradient'; import { create } from 'react-test-renderer'; import SkeletonContent from '../SkeletonContent'; import { ISkeletonContentProps, D...
the_stack
// IMPORTANT // This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator // Generated from: https://partners.googleapis.com/$discovery/rest?version=v2 /// <...
the_stack
import { Carousel, DynamicEntities, DynamicEntitiesMode, DynamicEntity, DynamicEntityMap, mergeInstances, MessageMaxLength, MessageValue, NormalizedOutputTemplate, OutputTemplate, OutputTemplateConverterStrategyConfig, QuickReplyValue, removeSSML, SingleResponseOutputTemplateConverterStrateg...
the_stack
import nj from 'numjs' import { FaceEmbedding, INPUT_FACE_SIZE, log, VERSION, } from './config' import { Face, } from './face' import { distance, imageToData, loadImage, resizeImage, } from './misc' import { PythonF...
the_stack
import {log} from '../console/log'; import {CombatIntel} from '../intel/CombatIntel'; import {Pathing} from '../movement/Pathing'; import {AttackStructurePriorities, AttackStructureScores} from '../priorities/priorities_structures'; import {profile} from '../profiler/decorator'; import {maxBy} from '../utilities/utils'...
the_stack
import uuid = require('node-uuid'); import io = require('socket.io-client'); import { Subject } from 'rxjs/Subject'; import { Observer } from 'rxjs/Observer'; import { Observable } from 'rxjs/Observable'; import { BehaviorSubject } from 'rxjs/BehaviorSubject'; import { Subscription } from 'rxjs/Subscription'; import {...
the_stack
import { Channel } from 'channel/channel' import { ExtendedSocket } from 'extendedsocket' import { CSO2TakeDamageInfo, TDIKillFlags } from 'gametypes/cso2takedamageinfo' import { CSTeamNum, RoomTeamBalance, RoomGamemode } from 'gametypes/shareddefs' import { MatchProgress } from 'room/matchprogress' import { RoomSett...
the_stack
import { browser } from '$app/env'; import * as Types from '$lib/graphql/_kitql/graphqlTypes'; import { defaultStoreValue, RequestStatus, ResponseResultType, type PatchType, type RequestParameters, type RequestQueryParameters, type RequestResult } from '@kitql/client'; import { get, writable } from 'svelte/store'; impo...
the_stack
import { IGraph, prepScopes, CacheItem, CacheService, CacheStore } from '@microsoft/mgt-element'; import { User } from '@microsoft/microsoft-graph-types'; import { findPeople, PersonType } from './graph.people'; import { schemas } from './cacheStores'; /** * Object to be stored in cache */ export interface CacheUse...
the_stack
import { useFruitManageHandler } from "../utils/useFruitManageHandler"; import { Fruit } from "./mocks/contentModels"; import { setupContentModelGroup, setupContentModels } from "../utils/setup"; import { useContentGqlHandler } from "../utils/useContentGqlHandler"; const appleData: Fruit = { name: "Apple", isS...
the_stack
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ArtemisTranslatePipe } from 'app/shared/pipes/artemis-translate.pipe'; import { MockPipe, MockProvider } from 'ng-mocks'; import { LearningGoalService } from 'app/course/learning-goals/learningGoal.service'; import { of } from 'rxjs'; import { ...
the_stack
'use strict'; import { ParseError } from '../../parser/cssErrors'; import { LESSParser } from '../../parser/lessParser'; import { assertNode, assertNoNode, assertError } from '../css/parser.test'; suite('LESS - Parser', () => { test('Variable', function () { let parser = new LESSParser(); assertNode('@color', ...
the_stack
import { GeoPackage } from '../../geoPackage'; import { BaseExtension } from '../baseExtension'; import { Extension } from '../extension'; import { RTreeIndexDao } from './rtreeIndexDao'; import { FeatureDao } from '../../features/user/featureDao'; import { EnvelopeBuilder } from '../../geom/envelopeBuilder'; import { ...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import { IDotnetInstallationContext } from '../Acquisition/IDotnetInstallationContext'; import { EventType } from './EventType'; import { IEvent } from './IEvent'; // tslint:disable max-classes-per-file export class DotnetAcquisitionStarted extends IEvent { ...
the_stack
import net from "net"; import { TextEncoder } from "util"; import { IBApiCreationOptions, MAX_SUPPORTED_SERVER_VERSION, MIN_SERVER_VER_SUPPORTED, } from "../../api/api"; import { EventName } from "../../api/data/enum/event-name"; import MIN_SERVER_VER from "../../api/data/enum/min-server-version"; import configu...
the_stack
import { Schema, Definition, Field } from "./schema"; import { error, quote } from "./util"; function cppType(definitions: {[name: string]: Definition}, field: Field, isArray: boolean): string { let type; switch (field.type) { case 'bool': type = 'bool'; break; case 'byte': type = 'uint8_t'; break; ca...
the_stack
import * as qpschema from './QuickPulseSchema'; import { QPSchemaConfigurationMetric, QPSchemaDocumentStreamInfo, RequestFieldsEnum, DependencyFieldsEnum } from './QuickPulseSchema'; import axios, { AxiosRequestConfig } from 'axios'; // tslint:disable: max-classes-per-file export function makeQuickPulseId() { let ...
the_stack
import { Component, ModuleDeclaration, L10n, EmitType, Browser, addClass, removeClass, KeyboardEventArgs } from '@syncfusion/ej2-base'; import { createElement, compile as templateCompiler, EventHandler, extend } from '@syncfusion/ej2-base'; import { isNullOrUndefined } from '@syncfusion/ej2-base'; import { Property, Ev...
the_stack
import { randomBytes, createHash } from "crypto"; import { EventEmitter } from "events"; // AbortController became available as a global in node version 16. Once version // 14 reaches its end-of-life, this can be removed. import PolyfillAbortController from "node-abort-controller"; import { Redis as IORedisClient } f...
the_stack
import Grid from "../Grid"; import { PROPERTY_TYPE } from "../consts"; import { GridOptions, Properties, GridOutlines, GridRect } from "../types"; import { GetterSetter, range } from "../utils"; import { GridItem } from "../GridItem"; function getMaxPoint(outline: number[]) { let maxPoint = -Infinity; outline.fo...
the_stack
// tslint:disable:max-classes-per-file import { PathLike } from "fs"; import { FileAudioSource, MicAudioSource, PcmRecorder, } from "../../common.browser/Exports"; import { ISpeechConfigAudioDevice } from "../../common.speech/Exports"; import { AudioSourceEvent, Deferred, EventSource, IAudi...
the_stack
import type { Faker } from '../../faker'; /** * Color space names supported by CSS. */ export const CSS_SPACES = [ 'sRGB', 'display-p3', 'rec2020', 'a98-rgb', 'prophoto-rgb', 'rec2020', ] as const; /** * Functions supported by CSS to produce color. */ export const CSS_FUNCTIONS = [ 'rgb', 'rgba', ...
the_stack
import ServiceElectron from '../service.electron'; import ServiceStreams from '../service.streams'; import ServiceStreamSource from '../service.stream.sources'; import ServiceHotkeys from '../service.hotkeys'; import ServiceFileRecent from './service.file.recent'; import ServiceNotifications from '../service.notificati...
the_stack
import { BuildError } from './errors'; import * as helpers from './helpers'; let originalEnv: any = null; describe('helpers', () => { beforeEach(() => { originalEnv = process.env; process.env = {}; }); afterEach(() => { process.env = originalEnv; }); describe('getIntPropertyValue', () => { ...
the_stack
class ArrayHelper { /** * Clone an array or an object. If an object is passed, a shallow clone will be created. * * @static * @param {*} arr The array or object to be cloned. * @returns {*} A clone of the array or object. */ static clone(arr) { let out = Array.isAr...
the_stack
import * as React from "react"; import { Geometry, Point, Prototypes, ZoomInfo } from "../../../core"; import { DragContext, DragModifiers, Droppable } from "../../controllers"; import * as globals from "../../globals"; import { classNames } from "../../utils"; export interface DropZoneViewProps { zone: Prototypes.D...
the_stack
import { JSToken, stringToTokens } from "../../javascript"; import { TokenReader, IRenderSettings, ScriptLanguages, defaultRenderSettings, IRenderable } from "../../../helpers"; import { ValueTypes } from "../value/value"; import { TypeSignature } from "../types/type-signature"; import { Expression, VariableReference, ...
the_stack
import { PdfViewer } from '../index'; import { PdfViewerBase, IPageAnnotations } from '../index'; import { createElement, isNullOrUndefined, isBlazor } from '@syncfusion/ej2-base'; import { Dialog } from '@syncfusion/ej2-popups'; import { PdfAnnotationBaseModel } from '../drawing/pdf-annotation-model'; import { PdfAnno...
the_stack
import assert from 'assert'; import request from 'axios'; import debugTest from 'debug'; import EventEmitter from 'events'; import type { ErrorRequestHandler, Express } from 'express'; import express from 'express'; import http from 'http'; import shutdown from 'http-shutdown'; import type { InlineKeyboardMarkup, Mes...
the_stack
import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import { withStyles } from '@material-ui/core/styles' import Button from '@material-ui/core/Button' import Chip from '@material-ui/core/Chip' import Divider from '@material-ui/core/Divider' import Grid from '@material-ui/core/Grid' impo...
the_stack
import { InstanceElement, ObjectType, PrimitiveTypes, PrimitiveType, ReferenceExpression, ElemID, ListType, BuiltinTypes, CORE_ANNOTATIONS, MapType, } from '@salto-io/adapter-api' import { extendGeneratedDependencies, FlatDetailedDependency, DetailedDependency } from '../src/dependencies' describe('dependencies', ...
the_stack
import { Channel } from 'channel/channel' import { ChannelManager } from 'channel/channelmanager' import { ExtendedSocket } from 'extendedsocket' import { Room, RoomReadyStatus, RoomStatus } from 'room/room' import { UserSession } from 'user/usersession' import { ChatMessageType } from 'packets/definitions' import...
the_stack
import { fsSyncer } from 'fs-syncer'; import { UmzugCLI } from '../src/cli'; import path = require('path'); import fs = require('fs'); import childProcess = require('child_process'); import { Umzug } from '../src'; import del = require('del'); import { expectTypeOf } from 'expect-type'; describe('cli from instance', (...
the_stack
import { Component, OnInit, OnDestroy, Inject, AfterViewInit, ViewChild } from '@angular/core'; import { MatDialogRef, MAT_DIALOG_DATA, MatTabGroup, MatTab } from '@angular/material'; import { Subscription } from "rxjs"; import { HmiService } from '../../_services/hmi.service'; import { TranslateService } from '@ngx-t...
the_stack
import { URL_SOUND_LIST_CONVERSATION } from './../../../chat21-core/utils/constants'; import { Component, OnInit, OnDestroy, AfterViewInit, ViewChild, ElementRef, Directive, HostListener, ChangeDetectorRef } from '@angular/core'; import { ActivatedRoute, NavigationEnd, Router } from '@angular/router'; import { ModalCon...
the_stack
import { ArrayTypeName, assert, Assignment, ASTNode, Conditional, ContractDefinition, ContractKind, DataLocation, ElementaryTypeName, ErrorDefinition, EventDefinition, Expression, ExternalReferenceType, FunctionCall, FunctionCallKind, FunctionDefinition, ...
the_stack
import { InteractionProfile, Device, ActionBinding, Input, InputState, ActionType, Av, InputInfo, ActionSet, ActiveActionSet, Action } from './aardvark'; interface InputCallback { id: number; } interface BooleanCallback extends InputCallback { rising?: () => void; falling?: () => void; } interface FloatCallback ...
the_stack
import * as vscode from 'vscode'; import * as chai from 'chai'; import * as sinon from 'sinon'; import * as path from 'path'; import * as fs from 'fs-extra'; import * as os from 'os'; import { ExtensionCommands } from '../../ExtensionCommands'; import { LogType, FabricGatewayRegistryEntry, FabricGatewayRegistry, Connec...
the_stack
import 'reflect-metadata' import { GLOBAL_KEY_SYMBOL, EffectModule, ImmerReducer, Module, Effect, Reducer, RETRY_KEY_SYMBOL } from '@sigi/core' import { Injectable, Injector } from '@sigi/di' import { emitSSREffects, match } from '@sigi/ssr' import { Action } from '@sigi/types' import { Draft } from 'immer' import { u...
the_stack
import {HttpClient} from "@angular/common/http"; import {Component, EventEmitter, Inject, Input, OnDestroy, OnInit, Output} from "@angular/core"; import {FormControl, FormGroup, Validators} from "@angular/forms"; import {TdDialogService} from "@covalent/core/dialogs"; import {Observable, ObservableInput} from "rxjs/Obs...
the_stack
import { getSnapshot } from 'mobx-keystone' import { RootInstance } from '../type' // import { mapToArrary } from '../util' import { initStyle } from './item/style' const getLength = (length: number) => { return length >= 20 ? length : 20 } export const createData = (root: RootInstance) => { //alert('createDa...
the_stack