text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import {Z80Ports} from './z80ports'; import {Z80RegistersClass} from '../z80registers'; import {MemBuffer, Serializeable} from '../../misc/membuffer' import {Settings} from '../../settings'; import * as Z80 from '../../3rdparty/z80.js/Z80.js'; import {SimulatedMemory} from './simmemory'; export class Z80Cpu implemen...
the_stack
import Application from "./application"; import StreamClient from "./streamclient"; // const xCloudClient from '../xsdk/client.js' export default class StreamingView { _application:Application _streamClient:StreamClient _streamActive = false _lastMouseMovement = 0 _mouseInterval:any _keepAliv...
the_stack
type Long = protobuf.Long; // DO NOT EDIT! This is a generated file. Edit the JSDoc in src/*.js instead and run 'npm run types'. /** Namespace pb_test. */ declare namespace pb_test { /** Properties of a ResData. */ interface IResData { /** ResData result */ result: number; /** ResDat...
the_stack
import type { IAsync, IFold, Instruction, IRaceWith } from "@effect/core/io/Effect/definition/primitives" import { instruction } from "@effect/core/io/Effect/definition/primitives" import { CancelerState } from "@effect/core/io/Fiber/_internal/cancelerState" import type { Callback } from "@effect/core/io/Fiber/_interna...
the_stack
import { Component } from "../component/Component"; import { Image } from "../component/Image"; import { Rect } from "../component/Rect"; import { Text, TextOptions } from "../component/Text"; import { colorPicker } from "../ColorPicker"; import { canvasHelper } from "../CanvasHelper"; import { Stage } from "../Stage";...
the_stack
import React, {useState, useEffect, useContext, CSSProperties} from "react"; import {faProjectDiagram, faTable} from "@fortawesome/free-solid-svg-icons"; import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; import {MLButton, MLTooltip, MLAlert, MLRadio} from "@marklogic/design-system"; import "./Modeling.scs...
the_stack
import React from "react"; import { Link } from "gatsby"; import { Heading, Inline, Stack, Grid, Button } from "@kiwicom/orbit-components"; import { NewWindow } from "@kiwicom/orbit-components/icons"; import { css } from "styled-components"; import { WindowLocation } from "@reach/router"; // temporarily extract images...
the_stack
import _ from 'underscore' import $ from 'jquery' import Backbone from 'backbone' // #ChromeStorage.Wrapper // A wrapper around the `chrome.storage.*` API that uses // `$.Deferred` objects for greater flexibility. function Wrapper(type) { type = ''+type || 'local'; if (!chrome.storage[type]) { console.warn('U...
the_stack
import tl = require('azure-pipelines-task-lib/task'); import Q = require('q'); import path = require('path'); import minimatch = require('minimatch'); import task = require('./ftpuploadtask'); import FtpOptions = task.FtpOptions; export class FtpHelper { ftpOptions: FtpOptions = null; ftpClient: any = null; ...
the_stack
import { FilledSignaturePayload1155WithTokenId, MintRequest1155, PayloadToSign1155, PayloadToSign1155WithTokenId, PayloadWithUri1155, Signature1155PayloadInputWithTokenId, Signature1155PayloadOutput, SignedPayload1155, } from "../../schema/contracts/common/signature"; import { TransactionResultWithId } ...
the_stack
import assert from 'assert'; import { CancellationToken } from 'vscode-languageserver'; import { findNodeByOffset } from '../analyzer/parseTreeUtils'; import { Program } from '../analyzer/program'; import { createMapFromItems } from '../common/collectionUtils'; import { ConfigOptions } from '../common/configOptions'; ...
the_stack
import { decelerateMax, accelerateMax } from './timingFunctions'; import { ultraFast, faster, fast, normal, slow, slower, ultraSlow } from './durations'; export const slideAnimations = { // Slide Down Animations // Slides object down to original position --ultrafast slideDownEnterUltraFast: { keyframe: ({ de...
the_stack
import kernel = require("./xray-kernel-turbo"); const turbo = kernel.turbo; const Color = kernel.Color; const Vector = kernel.Vector; const Matrix = kernel.matrix; describe("Turbo Runtime suite", () => { it("Turbo should have defined", () => { expect(turbo).toBeDefined(); }); it("Turbo Runtime s...
the_stack
import { assert, expect } from 'chai'; import { ParticipantStack } from '../src'; import { spawnSync } from 'child_process' import { tryTimes } from '../src/index' const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms)); export const shouldBehaveLikeAWorkgroupOrganization = (getApp: () => ParticipantSta...
the_stack
import { Col, Input, PageHeader, Row, Select, Tooltip } from 'antd'; import deepEqual from 'deep-equal'; import parse from 'html-react-parser'; import { cloneDeep } from 'lodash'; import React, { useCallback, useMemo } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import useLocalStorage from '~/...
the_stack
'use strict'; var assert = require('proclaim'); var Facade = require('segmentio-facade'); var SourceMiddlewareChain = require('../build/middleware') .SourceMiddlewareChain; var IntegrationMiddlewareChain = require('../build/middleware') .IntegrationMiddlewareChain; var middlewareChain = require('../build/middlewar...
the_stack
/// <reference types="node" /> import * as net from "net"; export type FEED_CONTROL_TYPE = 'LF' | 'GLF' | 'FF' | 'CR' | 'HT' | 'VT'; export type BITMAP_FORMAT_TYPE = 'S8' | 'D8' | 'S24' | 'D24'; export type QRCODE_LEVEL = 'L' | 'M' | 'Q' | 'H'; /** * `B` = Bold * `I` = Italic * `U` = Underline */ export type TXT...
the_stack
import { injectable } from "inversify"; import { isValidDimension, almostEquals } from "../../utils/geometry"; import { Animation, CompoundAnimation } from '../../base/animations/animation'; import { Command, CommandExecutionContext, CommandResult } from '../../base/commands/command'; import { FadeAnimation, ResolvedEl...
the_stack
import {SimpleChanges} from '@angular/core'; import * as _moment from 'moment'; import {DlDateTimePickerModel} from './dl-date-time-picker-model'; import {DlModelProvider} from './dl-model-provider'; /** * Work around for moment namespace conflict when used with webpack and rollup. * See https://github.com/dherges/n...
the_stack
import { prop,propObject,propArray,required,maxLength,range } from "@rxweb/reactive-form-validators" import { gridColumn } from "@rxweb/grid" export class SpecItemHistoryBase { //#region specItemId Prop @prop() specItemId : number; //#endregion specItemId Prop //#region specId Prop @prop()...
the_stack
import test, { Macro } from 'ava'; import { fc, testProp } from 'ava-fast-check'; import { assembleBytecode, assembleBytecodeBCH, assembleBytecodeBTC, AuthenticationInstruction, AuthenticationInstructionPush, authenticationInstructionsAreMalformed, binToHex, disassembleBytecode, disassembleBytecodeBC...
the_stack
import { filterResourcesByGrouping, sortFilteredResources, getGroupsFromResources, expandViewCellsDataWithGroups, updateGroupingWithMainResource, expandGroups, updateTimeTableCellElementsMeta, updateAllDayCellElementsMeta, updateTimeCellsData, } from './computeds'; import { expandGroupedAppointment, groupAppoin...
the_stack
import { GatsbyIterable } from "../iterable" describe(`GatsbyIterable.constructor`, () => { it(`supports arrays`, () => { const arr = [`foo`, `bar`, `baz`] const iterable = new GatsbyIterable(arr) expect(Array.from(iterable)).toEqual([`foo`, `bar`, `baz`]) }) it(`supports array thunks`, () => { ...
the_stack
* @title: User Data * @description: * This samples shows how to load and save user specific data using our Turbulenz services. */ /*{{ javascript("jslib/aabbtree.js") }}*/ /*{{ javascript("jslib/camera.js") }}*/ /*{{ javascript("jslib/geometry.js") }}*/ /*{{ javascript("jslib/material.js") }}*/ /*{{ javascript("jsli...
the_stack
import React, {useState, useEffect, useRef} from 'react'; import { Components, registerComponent } from '../../lib/vulcan-lib'; import { useCurrentUser } from '../common/withUser'; import { useUpdateCurrentUser } from '../hooks/useUpdateCurrentUser'; import { userEmailAddressIsVerified, userHasEmailAddress } from '../....
the_stack
import ChildProcess from 'child_process'; import FS from 'fs'; import Path from 'path'; import Util from 'util'; import type Stream from 'stream'; import FFMpeg from 'fluent-ffmpeg'; import GM from 'gm'; import Rimraf from 'rimraf'; import Config from '../config'; import type { BaseMedia, Media, MediaType, Metadata, ...
the_stack
import * as core from '@actions/core'; import NotImplementedException from './error/not-implemented-exception'; import System from './system'; import Versioning from './versioning'; afterEach(() => { jest.restoreAllMocks(); }); describe('Versioning', () => { describe('strategies', () => { it('returns an objec...
the_stack
import * as pino from 'pino' import * as nats from 'nats' import { Stream } from 'stream' declare namespace Hemera { type LogLevel = | 'fatal' | 'error' | 'warn' | 'info' | 'debug' | 'trace' | 'silent' interface ErrioConfig { recursive?: boolean inherited?: boolean stack?: ...
the_stack
import { isNumber, isString } from 'lodash'; import { accessor, alwaysBoolean, alwaysNumber, alwaysString, applyDecorators, initString, nonenumerable as nonenumerableDecorator } from 'toxic-decorators'; import { isNumeric } from 'toxic-predicate-functions'; import { videoDomAttributes } from '../const/attribute'; impor...
the_stack
import { mochaExpress, mochaTmpdir } from "@adpt/testutils"; import { MaybeArray, readJson5, toArray, waitForNoThrow } from "@adpt/utils"; import db from "debug"; import dedent from "dedent"; import fs from "fs-extra"; import path from "path"; import which from "which"; import { userConfigSchema } from "../../src/confi...
the_stack
import * as ABIDecoder from "abi-decoder"; import * as _ from "lodash"; import * as omit from "lodash.omit"; import * as singleLineString from "single-line-string"; import * as Web3 from "web3"; // Utils import { BigNumber } from "../../utils/bignumber"; import { NULL_ADDRESS } from "../../utils/constants"; import * a...
the_stack
/// <reference path="guiobject.ts" /> module EZGUI { export class GUISprite extends GUIObject { public guiID: string; public userData: any; public draggable: PIXI.Container; public draghandle: any; public dragConstraint: string; public dragXInt...
the_stack
import * as charts from './core' import { ChartLegendType, Chart, StandardTimeSeries, DashboardItem } from '../models/items' import Query from '../models/data/query' import { AxisScale } from '../models/axis' import { get_colors, get_palette } from './util' import { logger, extend } from '../util' import * as graphite ...
the_stack
import {Component, PropsWithChildren} from 'react'; import * as PropTypes from 'prop-types'; import {connect} from 'react-redux'; import {addRootFilesAction, FileIndexReducerType} from '../redux/fileIndexReducer'; import { getAllFilesFromStore, getBundleIdFromStore, getTabletopIdFromStore, GtoveDispatc...
the_stack
import * as treeDescription from "./tree-description"; import {TreeDescription, TreeNode, Crosslink, collapseAllChildren, streamline} from "./tree-description"; import {typesafeXMLParse, ParsedXML} from "./xml"; import {assert} from "./loader-utils"; // Convert JSON as returned by xml2js parser to d3 tree format funct...
the_stack
import * as util from "../../util.js"; import { repr, bySecondElem } from "./javascript.js"; import type { Request, Warnings } from "../../util.js"; const supportedArgs = new Set([ "url", "request", "user-agent", "cookie", "data", "data-raw", "data-ascii", "data-binary", "data-urlencode", "json", ...
the_stack
export interface Vehicle { id: string; vehicleID: number; [key: string]: string | number | boolean | null; } export interface Credentials { username: string; password: string; mfaPassCode?: string | undefined; mfaDeviceName?: string | undefined; } export interface TokenResponse { respons...
the_stack
import { ManagedEvent } from "../../core"; import { UIComponentEvent, UIComponentEventHandler, UIRenderable, UIRenderableConstructor, } from "../UIComponent"; import { UIStyle } from "../UIStyle"; import { UITheme } from "../UITheme"; import { UIContainer } from "./UIContainer"; /** Slowdown factor at which sc...
the_stack
import { browser, protractor, $} from 'protractor'; import { Login } from '../page-objects/login.po'; import { OverviewCompliance } from '../page-objects/overview.po'; import { CompliancePolicy } from '../page-objects/compliance-policy.po'; import { PolicyDetails } from '../page-objects/policy-details.po'; import { Ass...
the_stack
import React, { useLayoutEffect, useState, useRef, SyntheticEvent, ComponentProps, } from "react"; import omit from "lodash/omit"; import debounce from "lodash/debounce"; import get from "lodash/get"; import { Button, Checkbox, Flex, Popup, Menu, MenuButton, PropsOfElement, ProviderConsumer a...
the_stack
import { RequestUtil } from "mesosphere-shared-reactjs"; import AppDispatcher from "#SRC/js/events/AppDispatcher"; import Config from "#SRC/js/config/Config"; import Util from "#SRC/js/utils/Util"; import { REQUEST_MARATHON_GROUP_CREATE_ERROR, REQUEST_MARATHON_GROUP_CREATE_SUCCESS, REQUEST_MARATHON_GROUP_DELETE...
the_stack
import { colord, getFormat, extend, Colord } from "../src/"; import a11yPlugin from "../src/plugins/a11y"; import cmykPlugin from "../src/plugins/cmyk"; import harmoniesPlugin, { HarmonyType } from "../src/plugins/harmonies"; import hwbPlugin from "../src/plugins/hwb"; import labPlugin from "../src/plugins/lab"; import...
the_stack
import * as React from 'react'; import { connect } from 'react-redux'; import { Dispatch } from 'redux'; import { addExpressionUI, clearExpressionsUI, removeListUI, } from '../../../redux/Actions'; import { cadLog, getMatchedExpressions, getSetting, validateExpressionDomain, } from '../../../services/Libs...
the_stack
'use strict'; export enum AF { UNSPEC = 0, LOCAL = 1, UNIX = 1, FILE = 1, INET = 2, INET6 = 10, } export enum SOCK { STREAM = 1, DGRAM = 2, } export interface Stat { dev: number; mode: number; nlink: number; uid: number; gid: number; rdev: number; blksize: number; ino: number; size: number; blocks:...
the_stack
import { HTMLDataV1 } from '../../htmlLanguageTypes'; export const ismlData: HTMLDataV1 = { "version": 1.1, "tags": [{ name: 'isprint', attributes: [{ name: 'value', values: [{ name: '${}' }], description: { kind: "markdown", value: 'Allowed data type: expression only. String is not allow...
the_stack
"use strict"; // uuid: 57f31321-69a9-4170-96a1-6baac731403b // ------------------------------------------------------------------------ // Copyright (c) 2018 Alexandre Bento Freire. All rights reserved. // Licensed under the MIT License+uuid License. See License.txt for details // -------------------------------------...
the_stack
import { decorateWithTemplateLanguageService, Logger, TemplateContext, TemplateLanguageService, } from "typescript-template-language-service-decorator"; import * as ts from "typescript/lib/tsserverlibrary"; import * as vscode from "vscode-languageserver-types"; import { TailwindConfig, TwClassDictionary } from ...
the_stack
import { encode, decode } from "@stablelib/hex"; import { concat } from "@stablelib/bytes"; import { oneTimeAuth, Poly1305 } from "./poly1305"; const testVectors = [ { data: "48656C6C6F20776F726C6421", key: "746869732069732033322D62797465206B657920666F7220506F6C7931333035", ...
the_stack
import {interpret, State} from 'xstate'; import {Guid} from 'guid-typescript'; import { StateChannelsNotification, StateChannelsResponse, StateChannelsErrorResponse } from '@statechannels/client-api-schema'; import {filter, take} from 'rxjs/operators'; import { Payload, isOpenChannel, OpenChannel, Address...
the_stack
import { TestingUtils } from '@nestjs-bff/global-utils-dev/lib/testing.utils'; import * as cacheManager from 'cache-manager'; import _ = require('lodash'); import * as mongoose from 'mongoose'; import { NestjsBffConfig } from '../../../config/nestjs-bff.config'; import { CacheStore } from '../../../shared/caching/cache...
the_stack
import { browser, by, element, protractor, $ } from 'protractor'; import { Login } from '../page-objects/login.po'; import { OverviewCompliance } from '../page-objects/overview.po'; import { TaggingCompliance } from '../page-objects/tagging-compliance.po'; import { AssetList } from '../page-objects/asset-list.po'; impo...
the_stack
import { EstimationMode } from '@emeraldpay/api'; import { BigAmount } from '@emeraldpay/bigamount'; import { Wei } from '@emeraldpay/bigamount-crypto'; import { UnsignedTx } from '@emeraldpay/emerald-vault-core'; import { EntryId, UnsignedBitcoinTx } from '@emeraldpay/emerald-vault-core/lib/types'; import { IEmeraldVa...
the_stack
import { Form } from 'react-final-form' import * as web3 from 'src/logic/wallets/getWeb3' import { render, screen, fireEvent, waitFor } from 'src/utils/test-utils' import AddressInput from '.' const fieldName = 'test-field' const fieldTestId = 'test-field-id' const invalidNetworkPrefixErrorMessage = 'The chain prefix...
the_stack
import * as assert from "assert"; class RegexParser { readonly currentns: string; readonly restr: string; pos: number; constructor(currentns: string, restr: string) { this.currentns = currentns; this.restr = restr; this.pos = 0; } private done(): boolean { retu...
the_stack
const chai = require('chai'); const expect = chai.expect; import { AllocationRegister } from '../source/allocationregister'; import { Buffer } from '../source/buffer'; import { Context } from '../source/context'; import { UnifiedBuffer } from '../source/unifiedbuffer'; /* spellchecker: enable */ /* tslint:disable...
the_stack
import { Component, QueryList } from '@angular/core'; import { ViewChildren, ViewChild } from '@angular/core'; import { OnInit } from '@angular/core'; import { MdInputDirective } from '@angular/material'; import { NgForm } from '@angular/forms'; import { FormControl } ...
the_stack
import * as fs from "fs"; import * as path from "path"; import {Option, program} from "commander"; import { CassetteFile, CassetteSpeed, CmdLoadModuleHeaderChunk, CmdProgram, CmdProgramBuilder, CmdTransferAddressChunk, decodeBasicProgram, decodeSystemProgram, decodeTrs80CassetteFile,...
the_stack
import {OnInit} from '@angular/core'; import {Component} from '@angular/core'; import {Ajax} from '../../../../shared/ajax/ajax.service'; import * as yaml from 'js-yaml'; declare let toastr: any; declare let swal: any; declare let $: any; declare let mApp: any; @Component({ templateUrl: './config-manage.component....
the_stack
import { Order } from 'ccxt' import { EventBusEmitter, EventBusNode } from '@magic8bot/event-bus' import { ExchangeProvider, OrderOpts } from '../exchange' import { StrategyConfig, Wallet, Adjustment, eventBus, EVENT } from '../lib' import { OrderEngine, QuoteEngine } from '../engine' import { WalletStore } from '../...
the_stack
import { window } from "vscode"; import * as vscode from "vscode"; import { glo, IEditorInfo, IInLineInDepthDecorsRefs, infosOfControlledEditors, TyInLineInDepthInQueueInfo, TyOneFileEditorDecInfo, updateAllControlledEditors, } from "./extension"; import { getFullFileStats, renderLevels, tab...
the_stack
export * from '././account'; export * from '././accounts'; export * from '././address'; export * from '././bankAccount'; export * from '././benefit'; export * from '././benefitLine'; export * from '././benefitObject'; export * from '././benefits'; export * from '././courtOrderLine'; export * from '././deductio...
the_stack
import { assert } from "chai"; import * as buffer from "buffer"; import * as fs from "fs"; import * as path from "path"; import { PassThrough, Readable } from "stream"; import { AbortController } from "@azure/abort-controller"; import { createRandomLocalFile, recorderEnvSetup, bodyToString, getBSU, createRan...
the_stack
import {BacklogClient, BacklogClientImpl, GoogleAppsScriptDateFormatter} from "./BacklogClient" import {Key, Project, Issue, BacklogDefinition, Locale, UserProperty, CustomFieldDefinition, IssueType, isSupportedCustomField} from "./datas" import {HttpClient} from "./Http" import {Option, Some, None} from "./Option" imp...
the_stack
import {fakeAsync, TestBed, tick} from "@angular/core/testing"; import {HttpClientTestingModule, HttpTestingController} from "@angular/common/http/testing"; import * as Immutable from "immutable"; import {ConfigService} from "../../../../services/settings/config.service"; import {LoggerService} from "../../../../serv...
the_stack
import { Cluster } from './Cluster' import { MarkerExtended, ClustererOptions, ClusterIconStyle, TCalculator, ClusterIconInfo, } from './types' /** * Supports up to 9007199254740991 (Number.MAX_SAFE_INTEGER) markers * which is not a problem as max array length is 4294967296 (2**32) */ const CALCULATOR = ...
the_stack
import assert from "assert"; import { readFileSync } from "fs"; import fs from "fs/promises"; import path from "path"; import { setImmediate } from "timers/promises"; import { CachePlugin } from "@miniflare/cache"; import { BindingsPlugin, Fetcher, MiniflareCoreError, Response, _CoreMount, } from "@miniflare/...
the_stack
export interface paths { "/pet": { put: operations["updatePet"]; post: operations["addPet"]; }; "/pet/findByStatus": { /** Multiple status values can be provided with comma separated strings */ get: operations["findPetsByStatus"]; }; "/pet/findByTags": { /** Multiple tags can be provided w...
the_stack
import { API_DOMAIN, API_VER } from "./config"; import { Vector, FrameOffset } from "./ast-types"; import { GetFileResult, GetFileNodesResult, GetImageResult, GetImageFillsResult, GetCommentsResult, PostCommentResult, DeleteCommentsResult, GetUserMeResult, GetVersionsResult, GetT...
the_stack
import { AndroidDeviceDiscovery } from "../../../mobile/mobile-core/android-device-discovery"; import { AndroidDebugBridge } from "../../../mobile/android/android-debug-bridge"; import { AndroidDebugBridgeResultHandler } from "../../../mobile/android/android-debug-bridge-result-handler"; import { Yok } from "../../../y...
the_stack
import { Reader, util, configure, Writer } from 'protobufjs/minimal' import { Timestamp } from '../../google/protobuf/timestamp' import * as Long from 'long' import { Header } from '../../tendermint/types/types' import { ProofOps } from '../../tendermint/crypto/proof' import { EvidenceParams, ValidatorParams, Ver...
the_stack
import { Utils } from "@arkecosystem/crypto"; import { StandardCriteriaOf, StandardCriteriaOfItem } from "../../contracts/search"; import { injectable } from "../../ioc"; import { InvalidCriteria, UnexpectedError, UnsupportedValue } from "./errors"; @injectable() export class StandardCriteriaService { public test...
the_stack
import { observer } from "mobx-react" import React from "react" import { HotTable } from "@handsontable/react" import { action, observable, computed } from "mobx" import { ExplorerProgram, EXPLORER_FILE_SUFFIX, makeFullPath, } from "../explorer/ExplorerProgram" import { GitCmsClient } from "../gitCms/GitCms...
the_stack
import { generateId } from '@/common/js/util'; import popContainer from '@/components/popContainer'; import { Component, Emit, Prop, Ref, Vue, Watch } from 'vue-property-decorator'; import { VNode } from 'vue/types/umd'; @Component({ components: { popContainer, }, }) export default class ConditionSelector exte...
the_stack
import React, { useContext } from 'react' import { NativeEventEmitter, DeviceEventEmitter, NativeModules, Platform, } from 'react-native' import { requestLocationPermission } from '../utils/Permission' import { beaconLookup } from './beacon-lookup' import { beaconScanner, bluetoothScanner } from './contact-scan...
the_stack
import { SetParser } from '@/parsers/SetParser'; import { Objects } from '@/lib/Objects'; import { Arrays } from '@/lib/Arrays'; import { Value } from '@/lib/Value'; import { ArrayUIDescriptor } from '@/descriptors/ArrayUIDescriptor'; import { ArrayField, ParserOptions, FieldKind, ArrayItemField, UnknowParser, ArrayDes...
the_stack
import * as utils from '../util/utils' import { EVENT, RECORD_ACTION, RecordMessage, TOPIC, RecordData, RecordPathData, ListenMessage, Message } from '../constants' import { Services } from '../deepstream-client' import { Options } from '../client-options' import { RecordCore, WriteAckCallback } from './record-core' im...
the_stack
export const CoNET_version = '3.2.0' import * as Fs from 'fs' import * as Path from 'path' import * as Os from 'os' import * as Async from 'async' import * as Crypto from 'crypto' import * as OpenPgp from 'openpgp' import * as Util from 'util' import * as Http from 'http' import * as Https from 'https' import * as Net ...
the_stack
import * as React from 'react' import { Content, Header, Layout, Wrapper, SectionTitle, SectionHeader, SEO } from '../components' import Helmet from 'react-helmet' import config from '../../config/SiteConfig' import theme from '../../config/Theme' import styled from 'styled-components' import { media } fr...
the_stack
import dayjs from 'dayjs'; import { enterInput, verifyElementIsVisible, clickButton, clickElementByText, enterInputConditionally, clearField, clickKeyboardBtnByKeycode, clickButtonByIndex, waitElementToHide, verifyText, verifyTextNotExisting, clickButtonWithForce } from '../utils/util'; import { ManageEmplo...
the_stack
import { getComponent } from '@xrengine/engine/src/ecs/functions/ComponentFunctions' import { InputComponent, InputComponentType } from '../classes/InputComponent' import isInputSelected from '../functions/isInputSelected' import { SceneManager } from '../managers/SceneManager' import { InputMapping, ActionKey, Action,...
the_stack
import { HexString } from '../../hex_string'; import { Deserializer, Serializer, Uint64, Bytes, Seq, Uint8, Uint128, deserializeVector, serializeVector, } from '../bcs'; import { AccountAddress } from './account_address'; import { TransactionAuthenticator } from './authenticator'; import { Identifier ...
the_stack
import ScriptWidget = require("ui/ScriptWidget"); import EditorUI = require("ui/EditorUI"); import TextureSelector = require("./TextureSelector"); var techniqueSource = new Atomic.UIMenuItemSource(); var solidSource = new Atomic.UIMenuItemSource(); solidSource.addItem(new Atomic.UIMenuItem("Diffuse", "Diffuse")); so...
the_stack
import { Component, OnInit, Inject, OnDestroy, ViewChild, ViewEncapsulation } from '@angular/core'; import { Subject, Observable } from 'rxjs'; import { BpmnProperty, AmaState, selectProcessTaskAssignmentFor, selectSelectedProcess, UpdateServiceAssignmentAction, TaskAssignment, AssignmentTyp...
the_stack
import React, { KeyboardEvent } from 'react'; import { render, fireEvent, EventType } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import cases from 'jest-in-case'; import { OPTIONS, OPTIONS_ACCENTED, OPTIONS_NUMBER_VALUE, OPTIONS_BOOLEAN_VALUE, OPTIONS_DISABLED, Opti...
the_stack
import fs from 'fs'; import { EventEmitter } from 'events'; import invariant from 'invariant'; import sleep from 'delay'; import warning from 'warning'; import { FacebookBatchQueue } from 'facebook-batch'; import { JsonObject } from 'type-fest'; import { MessengerBatch, MessengerClient } from 'messaging-api-messenger'...
the_stack
import { notAllowedOptionalAssignment } from "../../src/transformation/utils/diagnostics"; import * as util from "../util"; import { ScriptTarget } from "typescript"; test.each(["null", "undefined", '{ foo: "foo" }'])("optional chaining (%p)", value => { util.testFunction` const obj: any = ${value}; ...
the_stack
namespace gdjs { export type ParticleEmitterObjectDataType = { emitterAngleA: number; emitterForceMin: number; emitterAngleB: number; zoneRadius: number; emitterForceMax: number; particleLifeTimeMax: number; particleLifeTimeMin: number; particleGravityY: number; particleGravityX: n...
the_stack
import { Trigger } from "@akashic/trigger"; import { Timer, TimerManager, TimerIdentifier } from ".."; import { customMatchers } from "./helpers"; expect.extend(customMatchers); describe("test TimerManager", () => { let trigger: Trigger<void>; beforeEach(() => { trigger = new Trigger(); }); function loopFire(...
the_stack
import { Button } from '../src/button/button'; import { createElement, detach } from '@syncfusion/ej2-base'; import { profile , inMB, getMemoryProfile } from './common.spec'; /** * @param {} 'Button' * @param {} function( */ describe('Button', () => { beforeAll(() => { const isDef: any = (o: any) => o...
the_stack
import { IDiagnosticLogger, IPlugin, getPerformance, getExceptionName as coreGetExceptionName, dumpObj, isNullOrUndefined, strTrim, random32, isArray, isError, isDate, newId, generateW3CId, toISOString, arrForEach, getIEVersion, attachEvent, dateNow, uaDisallowsSameSiteNone, disableCookies as coreDi...
the_stack
import { $, $$, browser, by, element } from 'protractor'; import { fakeServer } from './helpers/fake_server'; describe('Integrations', () => { beforeAll(() => { browser.waitForAngularEnabled(false); }); describe('integrations view', () => { beforeEach(() => { fakeServer() .post('/api/v0/n...
the_stack
import { expect } from "chai"; import { IModelConnection, SnapshotConnection } from "@itwin/core-frontend"; import { ContentSpecificationTypes, KeySet, RelationshipDirection, Ruleset, RuleTypes } from "@itwin/presentation-common"; import { Presentation } from "@itwin/presentation-frontend"; import { initialize, termina...
the_stack
declare namespace Bob { // https://ripperhe.gitee.io/bob/#/plugin/addtion/language enum LanguagesEnum { 'auto' = '自动', 'zh-Hans' = '中文简体', 'zh-Hant' = '中文繁体', 'yue' = '粤语', 'wyw' = '文言文', 'pysx' = '拼音缩写', 'en' = '英语', 'ja' = '日语', 'ko' = '韩语', 'fr' = '法语', 'de' = '德语', ...
the_stack
import { ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, Input, OnChanges, OnInit, Output, Renderer2, SimpleChanges } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; import { I18nService } from 'ng-devui/i18n'; import { DatePickerConfigService as DateP...
the_stack
import * as THREE from 'three' import * as v3 from 'v3js' import * as nodesVS from './shaders/nodes.vs' import * as nodesFS from './shaders/nodes.fs' import * as linesFS from './shaders/lines.fs' import * as linesVS from './shaders/lines.vs' import * as arrowsVS from './shaders/arrows.vs' import * as arrowsFS from './s...
the_stack
| Copyright (c) 2014-2017, PhosphorJS Contributors | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |----------------------------------------------------------------------------*/ import { IDisposable } from '@lumino/disposable';...
the_stack
* This file contains definitons for objects of which Delivery Services are * composed - including some convenience functions for the magic numbers used to * represent certain properties. */ /** * Represents the `geoLimit` field of a Delivery Service */ export const enum GeoLimit { /** * No geographic limiting ...
the_stack
import { Collapse } from '@material-ui/core'; import { autobind } from 'core-decorators'; import FocusTrap from 'focus-trap-react'; import { List, Set } from 'immutable'; import keyboardJS from 'keyboardjs'; import qs from 'query-string'; import React from 'react'; import { RouteComponentProps } from 'react-router'; im...
the_stack
import { ServiceClient, ServiceClientOptions, ServiceCallback, HttpOperationResponse, ServiceClientCredentials } from 'ms-rest'; import { AzureServiceClient, AzureServiceClientOptions } from 'ms-rest-azure'; import * as models from "./models"; import * as operations from "./operations"; export default class WebSiteMan...
the_stack
import { Div, Scroll, TextNode, Hybrid, _CVD } from 'ftr'; import { Mynavpage } from './public'; const resolve = require.resolve; const icon_str = ` \ue900 \ue901 \ue902 \ue903 \ue904 \ue905 \ue906 \ue907 \ue908 \ue909 \ue90a \ue90b \ue90c \ue90d \ue90e \ue90f \ue910 \ue911 \ue912 \ue913 \ue914 \ue915 \ue916 \ue917 \u...
the_stack