text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { Buffer } from 'buffer'; import { U2F } from '../../src'; import { mergeMap } from 'rxjs'; describe('- Integration u2f.test.ts file', () => { /** * Test if U2F.decodeAuthKey() function returns the same value than initial value in base32 */ test('- `U2F.decodeAuthKey()` must return the same va...
the_stack
import { Trans } from "@lingui/macro"; import { i18nMark, withI18n } from "@lingui/react"; import classNames from "classnames"; import isEqual from "lodash.isequal"; import { MountService } from "foundation-ui"; import { Hooks } from "PluginSDK"; import PropTypes from "prop-types"; import * as React from "react"; impo...
the_stack
import { observable, SetterObserver, IObservable, ValueConverter, IObserverLocator } from '@aurelia/runtime-html'; import { assert, createFixture } from '@aurelia/testing'; import { noop } from '@aurelia/kernel'; import type { IObserver } from '@aurelia/runtime'; describe('3-runtime-html/decorator-observable.spec.ts',...
the_stack
import { Options } from 'vue-class-component'; import { isUndefined } from '@syncfusion/ej2-base'; import { ComponentBase, EJComponentDecorator, getProps, allVue, gh } from '@syncfusion/ej2-vue-base'; import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base'; import { StockChart } from '@syncfusion/ej2-charts...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement, Operator } from "../shared"; /** * Statement provider for service [elasticloadbalancing](https://docs.aws.amazon.com/service-authorization/latest/reference/list_elasticloadbalancing.html). * * @param sid [SID](https://docs.aws.amazo...
the_stack
import * as React from "react"; import { ReactNode, RefObject, PureComponent } from "react"; import SceneRenderer, { sceneDefaultProps } from "./SceneRenderer"; import Sidepanel from "./Sidepanel"; import View, { CommonViewClass } from "./View"; import { ViewProps } from "./ViewRenderer"; import Mayer, { PreparedProps ...
the_stack
import * as React from "react"; import { IShowAdaptiveCardProps } from "./IShowAdaptiveCardProps"; import * as adaptiveCards from "adaptivecards"; import { Stack } from "@fluentui/react/lib/Stack"; import * as markdownit from "markdown-it"; import { FontType, Spacing, TextSize, TextWeight } from "adaptivecards"; import...
the_stack
import BigNumber from 'bignumber.js'; import _ from 'lodash'; import { fastForward, mineAvgBlock } from './helpers/EVM'; import initializePerpetual from './helpers/initializePerpetual'; import { expectBalances, mintAndDeposit } from './helpers/balances'; import { ITestContext, perpetualDescribe } from './helpers/perpe...
the_stack
import * as ts from "typescript"; import * as tsserver from "typescript/lib/tsserverlibrary"; import { ApiMethod, ApiMethodKind, isApiMethodKind } from "./api"; import { AppsyncResolver } from "./appsync"; import { EventBus, Rule } from "./event-bridge"; import { EventTransform } from "./event-bridge/transform"; import...
the_stack
import { Options, Series, ChartOptionsUsingYAxis, Axes, ViewAxisLabel, RotationLabelData, InitAxisData, Layout, Categories, DefaultRadialAxisData, RadiusInfo, ScaleData, } from '@t/store/store'; import { LineTypeXAxisOptions, BulletChartOptions, AxisTitle, Rect } from '@t/options'; import { Them...
the_stack
"atomic component"; //import gl-matrix library //https://github.com/toji/gl-matrix for more information import {vec3, quat} from "gl-matrix"; //define constans const MOVE_FORCE = 1.8; const INAIR_MOVE_FORCE = 0.02; const BRAKE_FORCE = 0.2; const JUMP_FORCE = 7.0; const YAW_SENSITIVITY = 0.1; const INAIR_THRESHOLD_TIME...
the_stack
'use strict'; import { ChildProcess } from 'child_process'; import * as fs from 'fs'; import * as path from 'path'; import * as spawn from 'spawn-command-with-kill'; import * as vscode from 'vscode'; import GlslOptions from './options'; export interface GlslExportInclude { fragment: string; filename: string; } exp...
the_stack
import pick from 'lodash.pick'; import {VERSIONS} from './versions'; import {isValidFilterValue} from 'utils/filter-utils'; import {LAYER_VIS_CONFIGS} from 'layers/layer-factory'; import Schema from './schema'; import cloneDeep from 'lodash.clonedeep'; import {notNullorUndefined} from 'utils/data-utils'; /** * V0 Sch...
the_stack
import React, { FunctionComponent } from 'react'; import { unmountComponentAtNode, render, Switch, Route } from 'reactant-web'; // eslint-disable-next-line import/no-extraneous-dependencies import { act } from 'react-dom/test-utils'; import { injectable, state, action, ViewModule, useConnector, subscribe, ...
the_stack
Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. https://www.cocos.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, worldwide, royalty-free, non-assignable, revocable and non-exclusive license to use...
the_stack
* @module OrbitGT */ //package orbitgt.pointcloud.render; type int8 = number; type int16 = number; type int32 = number; type float32 = number; type float64 = number; import { Bounds } from "../../spatial/geom/Bounds"; import { Transform } from "../../spatial/geom/Transform"; import { AList } from "../../system/coll...
the_stack
'use strict' import * as React from 'react-native'; import RNTSExample from '../RNTSExample' import RNTSExampleModule from '../RNTSExampleModule' const { StyleSheet, Text, View, } = React const styles = StyleSheet.create( { backgroundColorText: { left:...
the_stack
import { Tree } from '@angular-devkit/schematics'; import { UnitTestTree } from '@angular-devkit/schematics/testing'; import type { Linter } from 'eslint'; import { updateArrPropAndRemoveDuplication, updateObjPropAndRemoveDuplication, } from '../../src/convert-tslint-to-eslint/utils'; import { isTSLintUsedInWorkspa...
the_stack
import { IConfig, PageViewPerformance, IAppInsights, PageView, RemoteDependencyData, Event as EventTelemetry, IEventTelemetry, createTelemetryItem, Metric, Exception, eSeverityLevel, Trace, IDependencyTelemetry, IExceptionTelemetry, ITraceTelemetry, IMetricTelemetry, IAutoExceptionTelemetry, IPageViewTe...
the_stack
/// <reference types="node" /> import { EventEmitter } from 'events'; import { Writable as NodeJSWritable, Readable as NodeJSReadable, Stream as NodeJSStream } from 'stream'; export interface AbortSignalLike { addEventListener: (type: 'abort', listener: (this: AbortSignalLike, event: any) => any) => void; } expo...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement, Operator } from "../shared"; /** * Statement provider for service [networkmanager](https://docs.aws.amazon.com/service-authorization/latest/reference/list_networkmanager.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/la...
the_stack
import {ResourceBase, ResourceTag} from '../resource' import {Value, List} from '../dataTypes' export class TlsValidationContextSdsTrust { SecretName!: Value<string> constructor(properties: TlsValidationContextSdsTrust) { Object.assign(this, properties) } } export class ClientPolicyTls { Vali...
the_stack
import { AfterViewInit, Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; import interact from 'interactjs'; import { Exercise } from 'app/entities/exercise.model'; import { Lecture } from 'app/entities/lecture.model'; import { DisplayPriority, PageType, SortDirection, VOTE_EMOJI_ID } from 'app/sha...
the_stack
/** * @license Copyright © 2019 onwards, Andrew Whewell * All rights reserved. * * Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyri...
the_stack
import { BinaryReader } from "@core/utils/BinaryReader"; import { Z80CpuState } from "../../cpu/Z80Cpu"; import { MemoryHelper } from "../wa-interop/memory-helpers"; import { BEEPER_SAMPLE_BUFFER, COLORIZATION_BUFFER, PSG_SAMPLE_BUFFER, RENDERING_TACT_TABLE, SPECTRUM_MACHINE_STATE_BUFFER, } from "../wa-intero...
the_stack
import { Component, ViewChild, ViewChildren, QueryList, Input } from '@angular/core'; import { AlertController, PopoverController, Events } from 'ionic-angular'; import { LoadingService } from '../../../services/loading/loading.service'; import { ToastService } from '../../../services/toast/toast.service'; import 'rxjs...
the_stack
import type { Rule, SourceCode, AST, Scope } from "eslint" import * as eslintUtils from "eslint-utils" import type { ArrowFunctionExpression, CallExpression, Expression, FunctionDeclaration, FunctionExpression, Identifier, Literal, MemberExpression, Node, RegExpLiteral, } from "e...
the_stack
import React, { useState, useEffect, useRef } from 'react' import { useRouter } from '../../cloud/lib/router' import { ThemeProvider } from 'styled-components' import { useGlobalData } from '../../cloud/lib/stores/globalData' import { getGlobalData } from '../../cloud/api/global' import { useEffectOnce } from 'react-us...
the_stack
import path from 'path'; import fs from 'fs-extra'; import { getTestConfiguration } from '../../test-utils/config'; import { Request, Response } from '../../domain/entity'; import { RequestRepository } from '../../domain/repository'; import { getRequestDirectory } from '../../utils/path'; import { RequestRepositoryFil...
the_stack
import type { FileCoverageData } from "istanbul-lib-coverage"; import { Stmt, Expr } from "../parser"; import { Location, isToken, Lexeme } from "../lexer"; import { BrsInvalid, BrsType } from "../brsTypes"; import { isStatement } from "../parser/Statement"; /** Keeps track of the number of hits on a given statement o...
the_stack
import * as d3 from 'd3'; import _ from 'lodash'; import { observer } from 'mobx-react'; import React, { FunctionComponent, useEffect, useRef } from 'react'; import { tooSmall } from '~/domain/misc'; import { Line2, utils as gutils, Vec2 } from '~/domain/geometry'; import { Arrow, ArrowColor, ArrowEnding, Arro...
the_stack
import { GraphQLResolveInfo, GraphQLSchema } from 'graphql' import { IResolvers } from 'graphql-tools/dist/Interfaces' import { makePrismaBindingClass, BasePrismaOptions, Options } from 'prisma-lib' export interface Exists { user: (where?: UserWhereInput) => Promise<boolean> tweet: (where?: TweetWhereInput) => Pro...
the_stack
import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; export const LocalizableString: msRest.CompositeMapper = { serializedName: "LocalizableString", t...
the_stack
import { Common } from '../common'; import { Constants } from '../constants'; import { Capivara } from '../index'; import { CPAttr } from './directive/cp-attr'; import { CPBlur } from './directive/cp-blur'; import { CPChange } from './directive/cp-change'; import { CPClass } from './directive/cp-class'; import { CPClic...
the_stack
import { FilenamePipe } from '../../shared/pipes/filename.pipe'; import { ComposeMailActions, ComposeMailActionTypes } from '../actions'; import { ComposeMailState, Draft, PGP_MIME_DEFAULT_ATTACHMENT_FILE_NAME, PGP_MIME_DEFAULT_CONTENT, PGPEncryptionType, } from '../datatypes'; import { Attachment, MailFolder...
the_stack
import got from 'got' import range from 'lodash.range' import nock from 'nock' import { Method } from '../../methods' import Batch, { chunkCommands, MAX_COMMANDS_PER_BATCH, mergeBatchPayloads, prepareCommandsQueries } from './batch' describe('Client `chunkCommands` method', () => { it('should chunk named com...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/organizationMappers"; import * as Parameters from "../models/parameters"; import { ConfluentManagementClientContext } from "../confluentManagement...
the_stack
import React, { Component } from 'react'; import { render } from 'react-dom'; import Button from '../src/Button'; import RadioButtonGroup from '../../RadioButtonGroup'; import DropDownButton from '../../DropdownButton'; import SplitButton from '../../SplitButton'; import CheckBox from '../../CheckBox'; import '../../C...
the_stack
import {AttribValue, NumericAttribValue, PolyDictionary} from '../../types/GlobalTypes'; import {Vector2} from 'three/src/math/Vector2'; import {Vector3} from 'three/src/math/Vector3'; import {Vector4} from 'three/src/math/Vector4'; import {Object3D} from 'three/src/core/Object3D'; import {Mesh} from 'three/src/objects...
the_stack
import * as ts from '@terascope/utils'; import { FieldType } from '@terascope/types'; import crypto from 'crypto'; import PhoneValidator from 'awesome-phonenumber'; import { format as dateFormat, parse } from 'date-fns'; import { ReplaceLiteralConfig, ReplaceRegexConfig, ExtractFieldConfig } from './interfaces'; import...
the_stack
import { Component, OnInit, Inject, Input, OnDestroy, OnChanges, SimpleChanges, Output, EventEmitter, HostListener, AfterViewInit } from '@angular/core'; import { Subscription } from 'rxjs/Subscription'; import { environment } from './../../../../environments/environment'; import { LoggerService } from '../../../shared...
the_stack
import { AccessKeyedExpression, AccessMemberExpression, AccessScopeExpression, AnyBindingExpression, BinaryExpression, BindingBehaviorExpression, CallMemberExpression, CallScopeExpression, ConditionalExpression, ExpressionKind, ExpressionType, ForOfStatement, Interpolation, IsAssign, IsExp...
the_stack
import { tick } from 'svelte'; import Select from '../Select.svelte'; const items = [ { id: 'au', text: 'Australia' }, { id: 'cn', text: 'China' }, { id: 'jp', text: 'Japan' }, { id: 'kr', text: 'Korea' }, { id: 'other', text: 'Other / Unknown' }, ]; /* eslint-disable sort-keys */ const itemsDisabled = [ {...
the_stack
import React, { useMemo, useCallback, useEffect } from 'react'; import { bigNumberify } from 'ethers/utils'; import { FormattedDateParts, FormattedMessage, defineMessages, useIntl, } from 'react-intl'; import { ColonyRoles } from '@colony/colony-js'; import { AddressZero } from 'ethers/constants'; import Hooke...
the_stack
import { connect } from 'react-redux' import { push } from 'connected-react-router' import { withRouter } from 'react-router-dom' import { withStyles } from '@material-ui/core/styles' import AddIcon from '@material-ui/icons/Add' import Button from '@material-ui/core/Button' import CloseIcon from '@material-ui/icons/Clo...
the_stack
import httpStatusCodes from 'http-status'; import BoxClient from '../box-client'; import errors from '../util/errors'; import urlPath from '../util/url-path'; // ----------------------------------------------------------------------------- // Typedefs // ----------------------------------------------------------------...
the_stack
import * as React from 'react' import { render, screen } from '@testing-library/react' import { CheckboxField } from '.' import userEvent from '@testing-library/user-event' import { axe } from 'jest-axe' describe('CheckboxField', () => { function IndeterminateTestCase({ initialState }: { initialState: boolean[] })...
the_stack
import { AccuDrawHintBuilder, BeButtonEvent, DynamicsContext, ElementSetTool, FeatureOverrideProvider, FeatureSymbology, HitDetail, IModelApp, LengthDescription, LocateResponse, NotifyMessageDetails, OutputMessagePriority, ToolAssistanceInstruction, Viewport } from "@itwin/core-frontend"; import { BentleyError, Code, E...
the_stack
import {Core} from "./Core"; import {Model} from "./Model"; import {Plugin} from "./Plugins"; import {CacheDirector} from "./CacheDirector"; import * as General from "./General"; import * as ModelInterfaces from "./ModelInterfaces"; import * as Index from "./Index"; import {Schema} from "./Schema"; import {Transforms}...
the_stack
import * as webpack from 'webpack' import * as path from 'path' import * as autoprefixer from 'autoprefixer' import * as postcssPluginPx2rem from 'postcss-plugin-px2rem' import * as weexVuePrecompiler from 'weex-vue-precompiler' import * as webpackMerge from 'webpack-merge' import * as postcssPluginWeex from 'postcss-p...
the_stack
import { PdfFont } from './pdf-font'; import { PdfStringFormat } from './pdf-string-format'; import { SizeF, RectangleF, PointF } from './../../drawing/pdf-drawing'; import { PdfWordWrapType } from './enum'; import { StringTokenizer } from './string-tokenizer'; /** * Class `lay outing the text`. */ export class PdfSt...
the_stack
namespace Kurve { export enum EndpointVersion { v1=1, v2=2 } export enum Mode { Client = 1, Node = 2 } class CachedToken { constructor( public id: string, public scopes: string[], public resource: string, publ...
the_stack
import isEmpty from 'lodash/isEmpty'; import escapeRegExp from 'lodash/escapeRegExp'; import tokenTypes from './tokenTypes'; export default class Tokenizer { private readonly WHITESPACE_REGEX: RegExp; private readonly NUMBER_REGEX: RegExp; private readonly OPERATOR_REGEX: RegExp; private readonly BLOCK_COMMENT...
the_stack
import * as nls from 'vs/nls'; import * as Objects from 'vs/base/common/objects'; import { Task, ContributedTask, CustomTask, ConfiguringTask, TaskSorter, KeyedTaskIdentifier } from 'vs/workbench/contrib/tasks/common/tasks'; import { IWorkspace, IWorkspaceFolder } from 'vs/platform/workspace/common/workspace'; import *...
the_stack
import * as assert from 'assert'; import {beforeEach, describe, it, afterEach} from 'mocha'; import * as Long from 'long'; import * as sinon from 'sinon'; import {IMutateRowRequest, Mutation, IMutation} from '../src/mutation.js'; const sandbox = sinon.createSandbox(); describe('Bigtable/Mutation', () => { afterEac...
the_stack
import TypeUtils = require("utils/types"); var _formatProviders = []; /** * Stores the value for a "new line". */ export var NewLine: string = "\n"; /** * Describes a format provider context. */ export interface IFormatProviderContext { /** * The format expression. */ expression...
the_stack
import { createApiService, ApplicationsUtil, LoginPage, ModelsActions, UserFiltersUtil, UserModel, UsersActions } from '@alfresco/adf-testing'; import { NavigationBarPage } from '../../core/pages/navigation-bar.page'; import { ProcessServicesPage } from './../pages/process-services.page'; import { T...
the_stack
import { Property, Event, Component, EmitType, Internationalization, extend } from '@syncfusion/ej2-base'; import { L10n, remove, addClass, Browser, Complex, ModuleDeclaration, getInstance } from '@syncfusion/ej2-base'; import { NotifyPropertyChanges, INotifyPropertyChanged, removeClass, isNullOrUndefined } from '@sync...
the_stack
import '../fixtures/window'; import { Editor, engineConfig } from '@alilc/lowcode-editor-core'; import { LowCodePluginManager } from '../../src/plugin/plugin-manager'; import { ILowCodePluginContext, ILowCodePluginManager } from '../../src/plugin/plugin-types'; const editor = new Editor(); describe('plugin 测试', () => ...
the_stack
export as namespace AthenaJS; export function Dom(sel?: string | HTMLElement): _Dom<HTMLElement>; export class Scene { constructor(options?: SceneOptions); map: Map; hudScene: Scene | null; running: boolean; opacity: number; addObject(object: Drawable | Drawable[], layer?: number): Scene; ...
the_stack
import React from 'react'; import { mount, shallow, ReactWrapper } from 'enzyme'; import sinon from 'sinon'; import ContextMenu, { ContextMenuProps, ContextMenuState } from '../ContextMenu'; import Button, { ButtonType } from '../../button/Button'; import Menu from '../../menu/Menu'; const sandbox = sinon.sandbox.cre...
the_stack
require('./link-view.css'); import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { Expression, $, find } from 'plywood'; import { Timezone } from 'chronoshift'; import { classNames } from '../../utils/dom/dom'; import { Fn } from '../../../common/utils/general/general'; import { Colors, Clicke...
the_stack
import assert from 'assert' import zip from 'lodash/zip' import { getWellDepth } from '@opentrons/shared-data' import { AIR_GAP_OFFSET_FROM_TOP } from '../../constants' import * as errorCreators from '../../errorCreators' import { getPipetteWithTipMaxVol } from '../../robotStateSelectors' import { blowoutUtil, curr...
the_stack
import { Matrix, Vector3 } from '.'; import { MathTmp } from './tmp'; export interface QuaternionLike { x: number; y: number; z: number; w: number; } /** * Class used to store quaternion data * @see https://en.wikipedia.org/wiki/Quaternion */ export class Quaternion implements QuaternionLike { /** * Create...
the_stack
import { URLSearchParams } from 'url'; import { authentication, usGovernmentAuthentication } from '../constants/authEndpoints'; import { BotEndpoint } from './botEndpoint'; describe('BotEndpoint', () => { it('should determine whether a token will expire within a time period', () => { const endpoint = new BotEn...
the_stack
interface IBroadcastCacheUpdateOptions { /** * A list of headers that will be used to determine whether the responses differ. */ headersToCheck: string[]; /** * An attribution value that indicates where the update originated. */ source: string; } /** * Uses the Broadcast Channel A...
the_stack
import { RangeSliderDemoPage } from './range-slider-demo.po'; import { approximateGeometryMatchers, expect } from '../utils'; import { Key, browser } from 'protractor'; describe('range slider', () => { let page: RangeSliderDemoPage; beforeEach(() => { jasmine.addMatchers(approximateGeometryMatchers); pag...
the_stack
import { Renderer, SnappableProps, SnappableState, SnapGuideline, SnapInfo, BoundInfo, ScalableProps, SnapPosInfo, RotatableProps, RectInfo, DraggableProps, SnapOffsetInfo, GapGuideline, MoveableManagerInterface, SnappableRenderType, BoundType, SnapBou...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/automationAccountOperationsMappers"; import * as Parameters from "../models/parameters"; import { AutomationClientContext } from "../automationClientContext"; /** Class representing a AutomationAccount...
the_stack
import * as os from "os" import { app, BrowserWindow, dialog, Menu } from "electron" import { createWindow, IDelayedEvent } from "./main" export const buildDockMenu = (mainWindow, loadInit) => { const menu = [] menu.push({ label: "New Window", click() { createWindow([], process.cwd...
the_stack
import { MouseEventDelegate } from "@/utils/EventHandler"; import ParamTypeServiceInstance from "../../sevices/ParamTypeService"; import CommonUtils from "../../utils/CommonUtils"; import HtmlUtils from "../../utils/HtmlUtils"; import ToolTipUtils from "../../utils/ToolTipUtils"; import { BlockParameterEditorRegData, B...
the_stack
import { Emitter, Event } from 'vs/base/common/event'; import { IModelDecorationOptions, IModelDecorationsChangeAccessor, IModelDeltaDecoration, ITextModel } from 'vs/editor/common/model'; import { FoldingRegion, FoldingRegions, ILineRange } from './foldingRanges'; export interface IDecorationProvider { getDecoration...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import { EOL } from 'os'; import { CdmArgumentDefinition, CdmCollection, CdmConstantEntityDefinition, CdmCorpusDefinition, CdmE2ERelationship, CdmEntityDefinition, CdmEntityReference, CdmFolderDefinition, CdmManifestDefinition, ...
the_stack
namespace ts { const enum ClassPropertySubstitutionFlags { /** * Enables substitutions for class expressions with static fields * which have initializers that reference the class name. */ ClassAliases = 1 << 0, /** * Enables substitutions for class...
the_stack
import { bytes16, bytes24, bytes32, bytesF32, bytesF64, } from "@thi.ng/binary/bytes"; import { unsupported } from "@thi.ng/errors/unsupported"; import type { Reducer, Transducer } from "@thi.ng/transducers"; import { iterator } from "@thi.ng/transducers/iterator"; import { mapcat } from "@thi.ng/tr...
the_stack
import { Component, Input, OnInit, OnDestroy, ViewChild, NgZone } from '@angular/core'; import { FormGroup, FormBuilder, Validators, NgForm } from '@angular/forms'; import { DeviceService } from '../../service/device.service'; import { Router, ActivatedRoute } from '@angular/router'; import { SwalComponent } from '@tov...
the_stack
import { SwiperOptions } from './swiper-options'; import Swiper from './swiper-class'; import { A11yEvents } from './modules/a11y'; import { AutoplayEvents } from './modules/autoplay'; import { ControllerEvents } from './modules/controller'; import { CoverflowEffectEvents } from './modules/effect-coverflow'; import { ...
the_stack
export interface SvgCoord { x: number; y: number; } export interface SvgGraphItem { activity: MapActivity; position: SvgCoord; } export interface SvgGraphPath { points: SvgCoord[]; } export interface SvgGraph { map: SkillMap; items: SvgGraphItem[]; paths: SvgGraphPath[]; width: nu...
the_stack
import { URL, URLSearchParams } from "url"; import * as vscode from "vscode"; import { Base64 } from "js-base64"; import { RequestParams } from "../clientDevice"; import { Request, Response, Header, ResponseFollowupChunk, PartialResponse, } from "../networkMessageData"; import { EditorColorThemesHel...
the_stack
import { BarcodeGenerator } from "../../../src/barcode/barcode"; import { createElement } from "@syncfusion/ej2-base"; let barcode: BarcodeGenerator; let ele: HTMLElement; describe('Code128C - Barcode', () => { describe('checking Code128C barcode rendering all lines check', () => { beforeA...
the_stack
import { IExecuteFunctions, } from 'n8n-core'; import { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, NodeApiError, NodeOperationError, } from 'n8n-workflow'; import { codaApiRequest, codaApiRequestAllItems, } from './GenericFunctions'; import ...
the_stack
import { Source, SourceResolver, sourcePositionToStringKey } from "../src/source-resolver"; import { SelectionBroker } from "../src/selection-broker"; import { View } from "../src/view"; import { MySelection } from "../src/selection"; import { ViewElements } from "../src/util"; import { SelectionHandler } from "./selec...
the_stack
import { rectangle, line, ellipse } from './wired-lib'; import { randomSeed, fireEvent } from './wired-base'; import { css, TemplateResult, html, LitElement, PropertyValues } from 'lit'; import { customElement, property } from 'lit/decorators.js'; interface AreaSize { width: number; height: number; } interface Ca...
the_stack
import { AccountSASPermissions, AccountSASResourceTypes, AccountSASServices } from "@azure/storage-blob"; import Operation from "../generated/artifacts/operation"; import { AccountSASPermission } from "./AccountSASPermissions"; import { AccountSASResourceType } from "./AccountSASResourceTypes"; import { AccountS...
the_stack
import { Nullable } from "../types"; import { Vector3, Vector2 } from "../Maths/math.vector"; import { StringDictionary } from "./stringDictionary"; // Mainly based on these 2 articles : // Creating an universal virtual touch joystick working for all Touch models thanks to Hand.JS : http://blogs.msdn.com/b/davrou...
the_stack
import { Component, ViewChild, OnInit, NgZone } from '@angular/core'; import { environment } from '../../../environments/environment'; import { AdminService } from '../../shared/admin.service'; import { FileService } from '../../shared/file.service'; import { Session } from '../../shared/session.model'; import { Sessi...
the_stack
require('./data-table.css'); import { Ajax } from '../../../utils/ajax/ajax'; import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { AttributeInfo, Attributes, findByName, Dataset } from 'plywood'; import { titleCase } from '../../../../common/utils/string/string'; import { pluralIfNeeded } f...
the_stack
namespace DotVVM.Samples.Common.Api.Owin { class ClientBase { public transformOptions(options: RequestInit) { options.credentials = "same-origin"; return Promise.resolve(options); } } /* tslint:disable */ /* eslint-disable */ //---------------------- // <a...
the_stack
export module Constants { export module Classes { // animators export var heightAnimator = "height-animator"; export var panelAnimator = "panel-animator"; export var clearfix = "clearfix"; // changeLogPanel export var change = "change"; export var changes = "changes"; export var changeBody = "change-b...
the_stack
import React from 'react'; import createClass from 'create-react-class'; import { Grid } from './../../index'; export default { title: 'Layout/Grid', component: Grid, parameters: { docs: { description: { component: (Grid as any).peek.description, }, }, }, }; /* Grid Columns */ export const GridColum...
the_stack
import React, { useState, useEffect } from 'react'; import { useHistory, useParams } from 'react-router-dom'; import { DefaultButton, Dropdown, DropdownMenuItemType, IDropdownOption, PrimaryButton, Stack, Checkbox, Toggle, IComboBoxOption, ComboBox, IComboBox, Text, Label } from '@fluentui/react'; import { Component, C...
the_stack
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 bui...
the_stack
import _ from 'lodash' import { ElemID, CORE_ANNOTATIONS } from '@salto-io/adapter-api' import { createMatchingObjectType } from '@salto-io/adapter-utils' import { client as clientUtils, config as configUtils } from '@salto-io/adapter-components' import { ZENDESK_SUPPORT } from './constants' const { createClientConfig...
the_stack
import { ConnectionOptions as TlsConnectionOptions } from 'tls' import { URL } from 'url' import buffer from 'buffer' import { Transport, UndiciConnection, WeightedConnectionPool, CloudConnectionPool, Serializer, Diagnostic, errors, BaseConnectionPool } from '@elastic/transport' import { HttpAgentOpti...
the_stack
import { ColumnApi } from "../../../columns/columnApi"; import { ColumnModel } from "../../../columns/columnModel"; import { UserCompDetails, UserComponentFactory } from "../../../components/framework/userComponentFactory"; import { KeyCode } from '../../../constants/keyCode'; import { Autowired, PreDestroy } from "../...
the_stack
import { browser, $, ExpectedConditions as EC } from 'protractor'; import { fakeServer } from './helpers/fake_server'; import { expectCountElements, waitForElement, waitForSpinners } from './helpers/browser_expectations'; describe('Admin pages', () => { describe('User Management', () => { beforeEach(() => ...
the_stack
import {ControllableChar} from "./ControllableChar"; import {GoldenSun} from "./GoldenSun"; import {Map as GameMap} from "./Map"; import * as numbers from "./magic_numbers"; import {range_360, base_actions, get_direction_mask, directions, get_tile_position} from "./utils"; import * as turf from "@turf/turf"; import {Lo...
the_stack
import { FocusKeyManager } from '@angular/cdk/a11y'; import { SelectionModel } from '@angular/cdk/collections'; import { AfterContentInit, AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, EventEmitter, Input, NgZone, OnDestroy, OnInit, Output, ...
the_stack
import * as jsStyles from './NewTaskStyles'; import * as moment from 'moment'; import * as React from 'react'; import styles from './NewTask.module.scss'; import { ActionButton, CommandButton, DatePicker, DayOfWeek, DefaultButton, Dialog, DialogFooter, DialogType, Dropdown, FirstWeekOfYear, Icon, ...
the_stack
import { Expr, query as q } from 'faunadb'; import { TS_2500_YEARS } from '~/consts'; import { action } from '~/factory/api/action'; import { ContextNoLogNoAnnotation, ContextProp } from '~/factory/constructors/context'; import { ThrowError } from '~/factory/constructors/error'; import { MethodDispatch, Query } from '~...
the_stack