text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { IntegrationAccountPartners } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { LogicManagementClient } from... | the_stack |
import htmlclean from 'htmlclean';
import {
transformAbsoluteUrlToRelative,
transformRelativeUrlToInternal,
removeTrailingSlashFromUrl,
addTrailingSlashToUrl,
} from '../src/helpers';
import HtmlParser from '../src/html-parser';
import ResourcesFromCssExtractor from '../src/resources-from-css';
describe('asset... | the_stack |
import { v4 as uuidv4 } from 'uuid';
import { BaseContract } from './../base-contract/baseContract';
import { EffectClientConfig } from './../types/effectClientConfig';
import { Api, Serialize, Numeric } from 'eosjs';
import { GetTableRowsResult, PushTransactionArgs, ReadOnlyTransactResult } from "eosjs/dist/eosjs-rpc-... | the_stack |
import { Matrix4 } from 'three'
import { Debug, Log, ParserRegistry } from '../globals'
import StructureParser from './structure-parser'
import {
buildUnitcellAssembly, calculateBondsBetween, calculateBondsWithin
} from '../structure/structure-utils'
import { ChemCompHetero } from '../structure/structure-constants'
... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../types";
import * as utilities from "../utilities";
/**
* Provides an Elastic MapReduce Cluster, a web service that makes it easy to process large amounts of data efficiently. See [Amazon Elastic MapReduce Documenta... | the_stack |
import {Oas20Document} from "../src/models/2.0/document.model";
import {OasLibraryUtils} from "../src/library.utils";
import {OasNodePath, OasNodePathSegment} from "../src/models/node-path";
import {OasNode, OasValidationProblem} from "../src/models/node.model";
import {Oas30Document} from "../src/models/3.0/document.m... | the_stack |
'use strict'
import { Algebra } from 'sparqljs'
import { BGPCache } from './engine/cache/bgp-cache'
import { Bindings, BindingBase } from './rdf/bindings'
import { BlankNode, Literal, NamedNode, Term } from 'rdf-js'
import { includes, union } from 'lodash'
import { parseZone, Moment, ISO_8601 } from 'moment'
import { ... | the_stack |
import "mocha";
import { canfulfill, RequestEnvelope } from "ask-sdk-model";
import { expect } from "chai";
import * as _ from "lodash";
import * as simple from "simple-mock";
import {
AlexaEvent,
AlexaPlatform,
AlexaReply,
ITransition,
IVoxaEvent,
IVoxaIntentEvent,
IVoxaReply,
Model,
State,
VoxaA... | the_stack |
import BN from 'bn.js'
import { Client } from '../client'
import { Contract } from '../contract'
import { Address } from '../address'
import {
TransferGatewayWithdrawTokenRequest,
TransferGatewayWithdrawETHRequest,
TransferGatewayWithdrawalReceipt,
TransferGatewayWithdrawalReceiptRequest,
TransferGatewayWithd... | the_stack |
import archy from "archy";
import * as path from "path";
import * as semver from "semver";
import { SemVer } from "semver";
import * as debug from "../util/debug";
import * as packageUtils from "../util/package";
import resolve from "../util/resolve";
import { SimpleCache } from "../util/SimpleCache";
import { URI } fr... | the_stack |
import { exec as execAsync, execSync } from 'child_process';
import { promisify } from 'util';
// eslint-disable-next-line import/no-extraneous-dependencies
import { SecretsManager } from 'aws-sdk';
import { LambdaContext } from '../lib/aws-lambda';
import { CfnRequestEvent, SimpleCustomResource } from '../lib/custom-r... | the_stack |
* @fileoverview Configuration options for the TexParser.
*
* @author v.sorge@mathjax.org (Volker Sorge)
*/
import {HandlerConfig, FallbackConfig} from './MapHandler.js';
import {StackItemClass} from './StackItem.js';
import {TagsClass} from './Tags.js';
import {userOptions, defaultOptions, OptionList} from '../../u... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
class UserEntityInstanceDataApi {
/**
* DynamicsCrm.DevKit UserEntityInstanceDataApi
* @param entity The entity object
*/
constructor(entity?: any);
/**
* Get the value of alias
* @param alias the alias value
* @param isMu... | the_stack |
import { module, test } from 'qunit';
import { setupApplicationTest } from 'ember-qunit';
import {
click,
currentURL,
settled,
visit,
waitFor,
} from '@ember/test-helpers';
import percySnapshot from '@percy/ember';
import Layer2TestWeb3Strategy from '@cardstack/web-client/utils/web3-strategies/test-layer2';
i... | the_stack |
import DataFrame from '../../src/dataset/data-frame';
import Series from '../../src/dataset/series';
import * as analyzer from '../../src/analyzer';
describe('new DataFrame', () => {
test('1D: basic type', () => {
const df = new DataFrame(1);
expect(df.data).toStrictEqual([1]);
expect(df.colData).toStric... | the_stack |
import { createElement } from '@syncfusion/ej2-base';
import { Diagram } from '../../../src/diagram/diagram';
import { DiagramElement } from '../../../src/diagram/core/elements/diagram-element';
import { Container } from '../../../src/diagram/core/containers/container';
import { DiagramModel } from '../../../src/diagra... | the_stack |
import {
AfterViewInit,
ApplicationRef,
ChangeDetectorRef,
Component,
ComponentFactoryResolver,
ComponentRef,
Directive,
EventEmitter,
Inject,
Injector,
Input,
OnChanges,
OnDestroy,
Output,
SimpleChanges,
TemplateRef,
Type,
ViewChild,
ViewConta... | the_stack |
import * as bSemver from 'balena-semver';
import once = require('lodash/once');
import {
isNotFoundResponse,
onlyIf,
treatAsMissingApplication,
mergePineOptionsTyped,
} from '../util';
import type { BalenaRequestStreamResult } from 'balena-request';
import type { Dictionary, ResolvableReturnType } from '../../typi... | the_stack |
import { CommonModule, DOCUMENT } from '@angular/common';
import {
AfterViewChecked,
Component,
ContentChild,
ContentChildren,
ElementRef,
HostBinding,
HostListener,
Input,
NgModule,
QueryList,
Inject,
Optional,
OnDestroy,
ChangeDetectorRef,
} from '@angular/core'... | the_stack |
import {
InternalUpGradeNode,
InternalUpGradeLink,
DAGAIUConfig
} from './types';
import { getRatio } from './utils';
import { isCross, crossPoint, distance, Point } from '../../Utils/graph';
import { find } from '../../Utils/utils';
export type LinkType = 'straightLine' | 'polyline' | 'diy';
export class Strai... | the_stack |
import { BaseResource } from 'ms-rest-azure';
import { CloudError } from 'ms-rest-azure';
import * as moment from 'moment';
export { BaseResource } from 'ms-rest-azure';
export { CloudError } from 'ms-rest-azure';
/**
* @class
* Initializes a new instance of the Resource class.
* @constructor
* Describes an Azur... | the_stack |
import { addClass, detach, EventHandler, L10n, isNullOrUndefined, KeyboardEventArgs, select, Ajax, formatUnit } from '@syncfusion/ej2-base';
import { Browser, closest, removeClass, isNullOrUndefined as isNOU } from '@syncfusion/ej2-base';
import {
IImageCommandsArgs, IRenderer, IDropDownItemModel, IToolbarItemModel... | the_stack |
import { WeightRecord } from '../types'
import { dice } from './dice'
import { random } from './random'
export type Biome = 'temperate' | 'tropical' | 'arid' | 'polar'
export type Seasons = 'spring' | 'summer' | 'autumn' | 'winter'
export interface TerrainData {
start: WeightRecord<Locations>
weather: WeatherData... | the_stack |
import "@material/mwc-list/mwc-list-item";
import {
css,
CSSResultGroup,
html,
LitElement,
PropertyValues,
TemplateResult,
} from "lit";
import { property } from "lit/decorators";
import { classMap } from "lit/directives/class-map";
import { fireEvent } from "../../../common/dom/fire_event";
import { stopPr... | the_stack |
import React, { Fragment, Component } from 'react'
import { connect } from 'dva'
import { Form, Input, Icon, Tooltip, InputNumber, Switch, Collapse, Button, Select, message } from 'antd'
import { } from 'antd/es/form'
import _ from 'lodash'
import classNames from 'classnames'
import { emitter } from '~/utils/events'
i... | the_stack |
import * as zrUtil from 'zrender/src/core/util';
import VisualMapModel, { VisualMapOption, VisualMeta } from './VisualMapModel';
import VisualMapping, { VisualMappingOption } from '../../visual/VisualMapping';
import visualDefault from '../../visual/visualDefault';
import {reformIntervals} from '../../util/number';
imp... | the_stack |
import {
API,
APIEvent,
Logger,
PlatformAccessory,
PlatformConfig,
Service,
Characteristic,
DynamicPlatformPlugin,
} from 'homebridge'
import { PLUGIN_NAME, PLATFORM_NAME } from './settings'
import detectDevices from './utils/detectDevices'
import * as remote from './utils/remote'
import hasCapability f... | the_stack |
// Local Store Schema (v2)
//
// keys: // encryption key and password hint storage
// hint: string // password hint as plain text
// key/<ID>: key_agent.Key // encrypted encryption key, plus metadata
// // for PBKDF2
//
//
// items: // encrypted item content and sync metadata
// index: O... | the_stack |
import type { HookContext } from '@feathersjs/feathers';
import { assert } from 'chai';
import { iff } from '../../src';
import { isPromise } from '../../src/common';
let hook: any;
let hookBefore: any;
let hookAfter: any;
let hookFcnSyncCalls: any;
let hookFcnAsyncCalls: any;
let hookFcnCbCalls: any;
let predicateHoo... | the_stack |
import * as canaryLoader from './utils/canary-loader';
const { fn, mock } = jest;
const { any, anything, objectContaining, stringContaining } = expect;
/* Utils */
const canaryLoggingOn = true;
const log = (logger: Handler, ...params: any[]) => {
if (canaryLoggingOn) {
logger(...params);
}
};
cons... | the_stack |
import {
ContractArtifacts,
TestContractArtifacts,
createERC20DepositTransaction,
createETHDepositTransaction,
getChallengeRegisteredEvent,
getChannelId,
Transactions,
computeNewOutcome,
} from '@statechannels/nitro-protocol';
import {
Address,
BN,
fromNitroSignedState,
makeAddress,
PrivateKey... | the_stack |
import * as Gio from "@gi-types/gio";
import * as GObject from "@gi-types/gobject";
import * as GLib from "@gi-types/glib";
export const ACCESS_POINT_BSSID: string;
export const ACCESS_POINT_FLAGS: string;
export const ACCESS_POINT_FREQUENCY: string;
export const ACCESS_POINT_HW_ADDRESS: string;
export const ACCESS_PO... | the_stack |
namespace fgui {
export class LineInfo {
public width: number = 0;
public height: number = 0;
public textHeight: number = 0;
public text: string;
public y: number = 0;
private static pool: LineInfo[] = [];
public static get(): LineInfo {
if (Lin... | the_stack |
import { EventEmitter, Injectable, NgZone } from '@angular/core';
import { Subject } from 'rxjs';
import { PlatformUtil } from '../../core/utils';
import { FilteringExpressionsTree } from '../../data-operations/filtering-expressions-tree';
import { IgxGridBaseDirective } from '../grid/public_api';
export interface Gri... | the_stack |
import joynr from "joynr";
import testbase from "test-base";
import * as TestInterfaceProvider from "../generated-javascript/joynr/interlanguagetest/TestInterfaceProvider";
const prettyLog = testbase.logging.prettyLog;
import * as IltUtil from "./IltUtil";
import ExtendedEnumerationWithPartlyDefinedValues from "../gen... | the_stack |
import { authn, icons, ns, pad, widgets } from 'solid-ui'
import { graph, log, NamedNode, Namespace, sym, serialize, Store } from 'rdflib'
import { PaneDefinition } from 'pane-registry'
import { AppDetails } from 'solid-ui/lib/authn/types'
/* pad Pane
**
*/
const paneDef: PaneDefinition = {
// icon: (module.__d... | the_stack |
import * as path from "path";
import { snake } from "case";
import { Component } from "../component";
import { Project } from "../project";
import { YamlFile } from "../yaml";
import {
Artifacts,
Cache,
Default,
Image,
Include,
Job,
Retry,
Service,
VariableConfig,
Workflow,
} from "./configuration-m... | the_stack |
declare namespace Multiaddr {
type Code = number;
type Size = number;
interface Protocol {
code: Code;
size: Size;
name: string;
resolvable: boolean;
path: boolean;
}
interface Protocols {
(proto: string | number): Protocol;
readonly lengthPrefixedVarSize: number;
readonly V:... | the_stack |
import * as fs from "fs";
import * as path from "path";
import * as ejs from "ejs";
import {
indent,
ComposeWithOptions,
trailingComma,
normalizeProjectInput,
Project,
RelationTypes,
RuntimeLogLevel,
RuntimeLogLevels,
PluginMetadata,
PluginRegistration,
RuntimeProps,
Runt... | the_stack |
/// <reference path="../../elements.d.ts" />
import { MonacoEditor, MonacoEditorScriptMetaMods } from '../../options/editpages/monaco-editor/monaco-editor';
import { Polymer } from '../../../../tools/definitions/polymer';
import { I18NKeys } from '../../../_locales/i18n-keys';
declare const browserAPI: browserAPI;
d... | the_stack |
import contract = require('truffle-contract');
import { W3 } from './';
import SolidityCoder = require('web3/lib/solidity/coder.js');
/**
* Base contract for all Soltsice contracts
*/
export class SoltsiceContract {
public static silent: boolean = false;
public transactionHash: Promise<string>;
publi... | the_stack |
import type { IParser } from '@yozora/core-parser'
import invariant from '@yozora/invariant'
import fs from 'fs-extra'
import globby from 'globby'
import path from 'path'
import type { ITokenizerUseCase, ITokenizerUseCaseGroup } from './types'
/**
* Params for construct TokenizerTester
*/
export interface ITokenizer... | the_stack |
import * as Common from '../../core/common/common.js';
import * as i18n from '../../core/i18n/i18n.js';
import * as Platform from '../../core/platform/platform.js';
import * as SDK from '../../core/sdk/sdk.js';
import * as Bindings from '../../models/bindings/bindings.js';
import type * as Workspace from '../../models/... | the_stack |
import path from 'path';
import { Table, AttributeType, BillingMode } from 'aws-cdk-lib/aws-dynamodb';
import { App, Stack, RemovalPolicy } from 'aws-cdk-lib';
import * as AWS from 'aws-sdk';
import { v4 } from 'uuid';
import { deployStack, destroyStack } from '../../../commons/tests/utils/cdk-cli';
import {
getTrace... | the_stack |
import { Flac, DestroyedEvent, decoder_read_callback_fn, decoder_write_callback_fn, decoder_error_callback_fn, metadata_callback_fn, StreamMetadata , ReadResult , FLAC__StreamDecoderState, CompletedReadResult , CodingOptions } from '../index.d';
import { interleave } from './utils/wav-utils';
import { mergeBuffers , ... | the_stack |
import localVarRequest from 'request';
import http from 'http';
/* tslint:disable:no-unused-locals */
import { SettingsPatchRequest } from '../model/settingsPatchRequest';
import { SettingsRequest } from '../model/settingsRequest';
import { SettingsResponse } from '../model/settingsResponse';
import { ObjectSerialize... | the_stack |
import { EnvVarKeys, getEnvVars, getStartingPositionsForTests } from "./utils/testUtils";
import {
EventHubConsumerClient,
EventHubProducerClient,
EventPosition,
ReceivedEventData,
Subscription
} from "../../src";
import { AmqpAnnotatedMessage } from "@azure/core-amqp";
import { BodyTypes } from "../../src/da... | the_stack |
import { INodeProperties } from 'n8n-workflow';
export const userOperations: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
displayOptions: {
show: {
resource: [
'user',
],
},
},
options: [
{
name: 'Create',
value: 'create',
descript... | the_stack |
import {TypedNode, BaseNodeType} from '../../../nodes/_Base';
import {SceneJsonImporter} from '../../../io/json/import/Scene';
import {NodeContext} from '../../../poly/NodeContext';
import {NodeJsonExporterData} from '../export/Node';
import {ParamJsonImporter} from './Param';
import {Poly} from '../../../Poly';
import... | the_stack |
import { Vec3, v3, IVec3, IVec2 } from '../math/Vec3';
import { Vec2 } from '../math/Vec2';
import { quat, Quat } from '../math/Quat';
import { Path } from '../struct/3d/Path';
import { clone, rotateByUnitVectors, angle } from './common';
import { applyMat4, translate } from './pointset';
import { indexable } from '../... | the_stack |
* @file Pre-computed lookup tables for encoding ambisonic sources.
* @author Andrew Allen <bitllama@google.com>
*/
/**
* Pre-computed Spherical Harmonics Coefficients.
*
* This function generates an efficient lookup table of SH coefficients. It
* exploits the way SHs are generated (i.e. Ylm = Nlm * Plm * Em). ... | the_stack |
import * as React from 'react';
import { IPropertyFieldIconPickerPropsInternal } from './PropertyFieldIconPicker';
import { Label } from 'office-ui-fabric-react/lib/Label';
import { Dropdown, IDropdownOption } from 'office-ui-fabric-react/lib/Dropdown';
import { Async } from 'office-ui-fabric-react/lib/Utilities';
impo... | the_stack |
import "../../../node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution.js";
import "../../../node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.contribution.js";
import "../../../node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js";
... | the_stack |
import * as Immutable from "immutable";
import * as _ from "lodash";
import { Base } from "./base";
import { Collapse } from "./collapse";
import { Event } from "./event";
import { Key } from "./key";
import { Select } from "./select";
import { timerange, TimeRange } from "./timerange";
import { CollapseOptions, Sele... | the_stack |
import * as chai from "chai"
import * as chaiAsPromised from "chai-as-promised"
import * as sinon from "sinon"
import * as sinonChai from "sinon-chai"
import { HTTPMethod } from "./common/request"
import { Interaction, InteractionObject } from "./dsl/interaction"
import { MockService } from "./dsl/mockService"
import {... | the_stack |
import { NULL_ADDRESS, trimLeading0x } from '@celo/base/lib/address'
import { BigNumber } from 'bignumber.js'
import { keccak } from 'ethereumjs-util'
import coder from 'web3-eth-abi'
export interface EIP712Parameter {
name: string
type: string
}
export interface EIP712Types {
[key: string]: EIP712Parameter[]
}... | the_stack |
import { mergeDefault } from '@klasa/utils';
import { Cache } from '@klasa/cache';
import { Tag, TagRequirement } from './Tag';
import type { TextBasedChannel, MessageOptions, MessageBuilder, Client, User, Message } from '@klasa/core';
import type { Usage } from './Usage';
import type { CommandUsage } from './CommandU... | the_stack |
import {VComponent} from "./VisComponent";
import {D3Sel} from "../etc/Util";
import {SimpleEventHandler} from "../etc/SimpleEventHandler";
import {AblationUpload, GanterAPI, ImageMask} from "../api/GanterAPI";
import {isEqual} from "lodash"
import * as d3 from "d3"
export type GanPaintViewData = {
image: HTMLIma... | the_stack |
export const ietfLanguageTags = [
'af',
'af-NA',
'af-ZA',
'agq',
'agq-CM',
'ak',
'ak-GH',
'am',
'am-ET',
'ar',
'ar-001',
'ar-AE',
'ar-BH',
'ar-DJ',
'ar-DZ',
'ar-EG',
'ar-EH',
'ar-ER',
'ar-IL',
'ar-IQ',
'ar-JO',
'ar-KM',
'ar-KW',
'ar-LB',
'ar-LY',
'ar-MA',
'ar-MR',
... | the_stack |
export const enum Direction {
Normal = 'normal',
Reverse = 'reverse',
Random = 'random',
}
/**
* All available ken burns CSS animations.
*/
export const animationNames = [
'ken-burns-bottom-right',
'ken-burns-top-left',
'ken-burns-bottom-left',
'ken-burns-top-right',
'ken-burns-middle... | the_stack |
import {DEFAULT_ROTATION_CONFIG, ILogger, HEARTBEAT_TIME_MAX, MESSENGER_ACTION_SERVICE, SOCKET_FILE_NAME, MsgReloadPayload,
MsgHeartbeatPayload, MsgSendStrategyPayload, RotationStrategy, MsgPkg} from './domain';
import assert = require('assert');
import * as $ from 'pandora-dollar';
import {MessengerServer, default ... | the_stack |
import "jest";
import { inMemory } from "@hickory/in-memory";
import { NavType } from "@hickory/root";
import { createRouter, prepareRoutes } from "@curi/router";
describe("createRouter", () => {
describe("constructor", () => {
// these tests rely on the fact that the pathname interaction is built-in
it("r... | the_stack |
import {
MeshPlatform,
MeshTag,
MeshTenant,
MeshTenantCost,
} from "../mesh/mesh-tenant.model.ts";
import { isSubscription, Tag } from "./azure.model.ts";
import { AzureCliFacade } from "./azure-cli-facade.ts";
import { MeshAdapter } from "../mesh/mesh-adapter.ts";
import { moment } from "../deps.ts";
import { ... | the_stack |
import { NOT_FOUND_PATH } from '../constants'
import { RouteInspector } from '../debug/inspector'
import {
Input,
MatchedValue,
Matcher,
MatchingProp,
Nullable,
ProcessInputResult,
Route,
RouteParams,
RoutePath,
RoutingState,
Session,
} from '../models'
import { cloneObject } from '../utils'
impor... | the_stack |
import * as chai from 'chai';
import * as request from 'superagent';
import {Server} from '../../src/server';
import {FixtureLoader} from '../../fixtures/FixtureLoader';
import {JwtUtils} from '../../src/security/JwtUtils';
import {User} from '../../src/models/User';
import {errorCodes} from '../../src/config/errorCode... | the_stack |
// This file was automatically generated by elastic/elastic-client-generator-js
// DO NOT MODIFY IT BY HAND. Instead, modify the source open api file,
// and elastic/elastic-client-generator-js to regenerate this file again.
import AsyncSearchApi from './api/async_search'
import AutoscalingApi from './api/autoscaling'... | the_stack |
import { expect } from "chai";
import { GeometryQuery } from "../../curve/GeometryQuery";
import { LineSegment3d } from "../../curve/LineSegment3d";
import { LineString3d } from "../../curve/LineString3d";
import { Geometry } from "../../Geometry";
import { Angle } from "../../geometry3d/Angle";
import { Point3d, Vecto... | the_stack |
"use strict";
export interface Image {
url: string;
height: Nullable<number>;
width: Nullable<number>;
}
enum Capability {
VIDEO_OUT = "video_out",
AUDIO_OUT = "audio_out",
VIDEO_IN = "video_in",
AUDIO_IN = "audio_in",
MULTIZONE_GROUP = "multizone_group"
}
enum ReceiverType {
CAST... | the_stack |
// Ledger settings
const imageName = "ghcr.io/hyperledger/cactus-fabric2-all-in-one";
const imageVersion = "2021-09-02--fix-876-supervisord-retries";
const fabricEnvVersion = "2.2.0";
const fabricEnvCAVersion = "1.4.9";
const ledgerUserName = "appUser";
const ledgerChannelName = "mychannel";
const ledgerContractName = ... | the_stack |
'use strict';
/* tslint:disable:prefer-conditional-expression */
import { IErrorMessage, IIPCSendMessage, IPrintMessage, MessageType, ReceiveTypes, SendTypes } from 'wpilib-riolog';
import { checkResize, scrollImpl, sendMessage } from '../script/implscript';
let paused = false;
export function onPause() {
c... | the_stack |
import { DecodedTile } from "@here/harp-datasource-protocol";
import {
mercatorProjection,
OrientedBox3,
TileKey,
webMercatorTilingScheme
} from "@here/harp-geoutils";
import { silenceLoggingAroundFunction } from "@here/harp-test-utils";
import { TaskQueue } from "@here/harp-utils";
import { assert, exp... | the_stack |
import React, {MouseEvent} from "react";
import {Button, Row, Col, Card, CardBody} from "helpers/reactstrap";
import Tour from "helpers/tourHelper";
import {Typing} from "react-typing";
import "./style.scss";
import Grid from "./GridDom";
import DamageOverlay from "../helpers/DamageOverlay";
import SensorScans from "./... | the_stack |
import {expect} from 'chai';
import * as fetch from 'isomorphic-fetch';
// tslint:disable:no-string-literal
import {config, Record, Store} from '../../src';
import mockApi from '../utils/api';
import {Event, Image, Organiser, Photo, TestStore, User} from '../utils/setup';
const baseStoreFetch = config.storeFetch;
... | the_stack |
import { defer, delay, difference, each, endsWith, filter, find, intersection, pull, some, take } from 'lodash';
import { findCandidates, Candidate, DriverState, Runtime } from 'omnisharp-client';
import * as path from 'path';
import { AsyncSubject, BehaviorSubject, Observable, Scheduler, Subject } from 'rxjs';
import ... | the_stack |
import {
IonButton,
IonCard,
IonCardContent,
IonCol,
IonGrid,
IonInput,
IonItem,
IonLabel,
IonList,
IonProgressBar,
IonRow,
IonSegment,
IonSegmentButton,
IonSelect,
IonSelectOption,
} from '@ionic/react';
import { V1PodList } from '@kubernetes/client-node';
import React, { useContext, useS... | the_stack |
import { Application, Color, CoreTypes, Font, ImageSource, Utils, getTransformedText } from '@nativescript/core';
import { TabContentItem } from '../tab-content-item';
import { getIconSpecSize, itemsProperty, selectedIndexProperty, tabStripProperty } from '../tab-navigation-base';
import { TabStrip } from '../tab-strip... | the_stack |
import { dlog } from "./util"
import { EventEmitter } from "./event"
import * as monaco from "../monaco/monaco"
import { EditorState } from "./editor"
import { UIInput } from "./ui-input"
import { UIInputResponseMsg } from "../common/messages"
export type ViewZoneID = string
const kViewZoneDOMObserver = Symbol("kVi... | the_stack |
import {ColorFormat} from '@react-types/color';
import fc from 'fast-check';
import {getDeltaE00} from 'delta-e';
import {parseColor} from '../src/Color';
import space from 'color-space';
describe('Color', function () {
describe('hex', function () {
it('should parse a short hex color', function () {
let co... | the_stack |
import angular, {ICompileService, IRootScopeService, ITimeoutService} from 'angular'
import 'angular-mocks'
import jQuery from 'jquery'
import moment from 'moment'
import { expect } from 'chai'
describe('Gantt', function () {
// Load the module with MainController
beforeEach(angular.mock.module('gantt'))
let... | the_stack |
export interface OpenApiV3 {
openapi: "3.0.2";
info: InfoObject;
servers?: ServerObject[];
paths: PathsObject;
components?: ComponentsObject;
security?: SecurityRequirementObject[];
tags?: TagObject[];
externalDocs?: ExternalDocumentationObject;
}
// https://github.com/OAI/OpenAPI-Specification/blob/ma... | the_stack |
* @module OrbitGT
*/
//package orbitgt.spatial.ecrs;
type int8 = number;
type int16 = number;
type int32 = number;
type float32 = number;
type float64 = number;
import { AList } from "../../system/collection/AList";
import { ASystem } from "../../system/runtime/ASystem";
import { Strings } from "../../system/runtim... | the_stack |
import React, { useState, useContext } from "react";
import styled, { css, ThemeContext } from "styled-components";
import { Helmet } from "react-helmet";
import {
Button,
Card,
CompanyCard,
JobCard,
ReviewCard,
Checkbox,
InputButtonCombo,
Link,
PageContainer,
StarRating,
Select,
Text,
TextAr... | the_stack |
import { create as XMLBuilder } from 'xmlbuilder'
// Options NS
import { Options as OptionsNS } from './AMCPConnectionOptions'
import CasparCGVersion = OptionsNS.CasparCGVersion
/***/
export namespace Config {
/***/
export namespace v2xx {
/***/
export class CasparCGConfigVO {
public channelGrid: boolean = fa... | the_stack |
import Flyout = require("../Controls/Flyout");
/**
* Represents a command to be displayed in a Menu object.
**/
export declare class MediaPlayer {
//#region Constructors
/**
* Creates a new MenuCommand object.
* @constructor
* @param element The DOM element that hosts the MediaPlayer control.
... | the_stack |
'use strict';
const cors = require('cors');
const { debug, info, warn, error } = require('portal-env').Logger('portal-auth:utils');
const passwordValidator = require('portal-env').PasswordValidator;
import * as wicked from 'wicked-sdk';
const crypto = require('crypto');
const url = require('url');
const fs = require('... | the_stack |
import {
Serializer,
Client,
BeaconMessage,
WalletClientOptions,
LocalStorage,
TransportType,
BeaconRequestOutputMessage,
BeaconResponseInputMessage,
AppMetadata,
PermissionInfo,
TransportStatus,
WalletP2PTransport,
DisconnectMessage
} from '../..'
import { PermissionManager } from '../../mana... | the_stack |
import BigNumber from 'bignumber.js';
import { EventEmitter } from 'events';
import { ClientRuntimeError, NotCampaigningError } from './errors';
import { Lease } from './lease';
import { Namespace } from './namespace';
import { IKeyValue } from './rpc';
import { getDeferred, IDeferred, toBuffer } from './util';
const ... | the_stack |
import * as _ from 'lodash';
import * as setProtocolUtils from 'set-protocol-utils';
import * as ethUtil from 'ethereumjs-util';
import { Address } from 'set-protocol-utils';
import { BigNumber } from 'bignumber.js';
import {
AuctionMockContract,
AuctionGettersMockContract,
LinearAuctionLiquidatorContract,
Lin... | the_stack |
import React, { useState, useEffect } from "react";
import Grid from "@material-ui/core/Grid";
import List from "@material-ui/core/List";
import ListItemText from "@material-ui/core/ListItemText";
import ListItem from "@material-ui/core/ListItem";
import { makeStyles } from "@material-ui/core/styles";
import {
MuiClo... | the_stack |
import { dew as _supportDewDew } from "./support.dew.js";
import { dew as _base64DewDew } from "./base64.dew.js";
import { dew as _nodejsUtilsDewDew } from "./nodejsUtils.dew.js";
import { dew as _npmSetImmediateShimDew } from "/npm:set-immediate-shim@1.0?dew";
import { dew as _externalDewDew } from "./external.dew.js"... | the_stack |
import { makeTest, TestBedConfig, ItFuncConfig, ItFunc } from './scaffolding/runner';
import { DatasourceRemover, getDatasourceClassForRemovals } from './scaffolding/datasources/class';
import { Misc } from './miscellaneous/misc';
import { getDynamicSumSize, getDynamicSizeByIndex } from './miscellaneous/dynamicSize';
i... | the_stack |
export default {
// Number formatting options.
//
// Please check with the local standards which separator is accepted to be
// used for separating decimals, and which for thousands.
"_decimalSeparator": ",",
"_thousandSeparator": ".",
// Suffixes for numbers
// When formatting numbers, big or small nu... | the_stack |
import { ObservableLike } from "observable-fns"
import React from "react"
import { Asset, Horizon, ServerApi } from "stellar-sdk"
import { Account } from "~App/contexts/accounts"
import { createEmptyAccountData, AccountData, BalanceLine } from "../lib/account"
import { FixedOrderbookRecord } from "../lib/orderbook"
imp... | the_stack |
import util from 'util';
import _ from 'lodash';
import * as common from './common';
import { wrapError } from '../utils';
import { TeamMember } from './teamMember';
import { TeamRepositoryPermission } from './teamRepositoryPermission';
import { IApprovalProvider } from '../entities/teamJoinApproval/approvalProvider'... | the_stack |
import * as clipperLib from "../src";
import { hiRange } from "../src/constants";
import {
pathsToPureJs,
pathToPureJs,
pureJsClipperLib,
pureJsTestOffset,
pureJsTestPolyOperation
} from "./pureJs";
import { circlePath } from "./utils";
// tslint:disable-next-line:no-console
window.alert = (msg) => console.e... | the_stack |
import { PubSub, PubSubEngine } from "apollo-server";
import { Context, SubscriptionServerOptions } from "apollo-server-core";
import { ExpressContext } from "apollo-server-express/dist/ApolloServer";
import { filter } from "axax/es5/filter";
import { map } from "axax/es5/map";
import { pipe } from "axax/es5/pipe";
imp... | the_stack |
import { property } from "./jsonobject";
import { Question } from "./question";
import { Base } from "./base";
import { ItemValue } from "./itemvalue";
import { surveyLocalization } from "./surveyStrings";
import { LocalizableString } from "./localizablestring";
import { PanelModel } from "./panel";
import { Act... | the_stack |
import IdentitiesInterfaces = require("../interfaces/IdentitiesInterfaces");
import VSSInterfaces = require("../interfaces/common/VSSInterfaces");
export declare enum ConnectedServiceKind {
/**
* Custom or unknown service
*/
Custom = 0,
/**
* Azure Subscription
*/
AzureSubscription =... | the_stack |
import {
ComponentFixture,
TestBed,
tick,
fakeAsync
} from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import {
Component,
DebugElement,
ViewChild
} from '@angular/core';
import { FormsModule } from '@angular/forms';
import {
SohoMenuButtonComponent,
SohoMenuButtonModu... | the_stack |
import React from 'react';
import PropTypes from 'prop-types';
import Component from '../../react-class';
import { Flex, Item } from '../../Flex';
import InlineBlock from './InlineBlock';
import assign from '../../../common/assign';
import join from '../../../common/join';
import assignDefined from './assignDefined';
i... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.