text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
/**
* @module
* Beetle module.
*/
declare module beetle {
/** Promise abstraction. We can change Ajax Provider result via this type. */
type AjaxCall<T> = PromiseLike<T>;
/** Beetle interfaces. Some polyfill, other duck typing signatures. */
namespace interfaces {
/** Key-value pair colle... | the_stack |
import fs from 'fs';
import mkdirp from 'mkdirp';
import glob from 'globby';
import path from 'path';
import ts from 'typescript';
import yn from 'yn';
import { eggInfoPath, tmpDir } from './config';
import { execSync, exec, ExecOptions } from 'child_process';
import JSON5 from 'json5';
export const JS_CONFIG = {
in... | the_stack |
import {
Component,
Element,
Event,
EventEmitter,
h,
Host,
Listen,
Method,
Prop,
State,
VNode,
Watch
} from "@stencil/core";
import { guid } from "../../utils/guid";
import { getKey } from "../../utils/key";
import { ColorStop, DataSeries } from "../calcite-graph/interfaces";
import { intersects... | the_stack |
import { expect } from "chai";
import { GeometryQuery } from "../../curve/GeometryQuery";
import { Geometry } from "../../Geometry";
import { Point2d } from "../../geometry3d/Point2dVector2d";
import { Point3d } from "../../geometry3d/Point3dVector3d";
import { Range3d } from "../../geometry3d/Range";
import { IndexedP... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* An access policy entry.
*/
export interface ServiceAccessPolicyEntry {
/**
* An Azure AD object ID (User or Apps) that is allowe... | the_stack |
// The MIT License (MIT)
//
// vs-deploy (https://github.com/mkloubert/vs-deploy)
// Copyright (c) Marcel Joachim Kloubert <marcel.kloubert@gmx.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// ... | the_stack |
import React, {
useEffect, useState, useMemo,
} from "react";
import EditorViewHeader from "./EditorViewHeader";
import NoteList from "./NoteList";
import NoteListControls from "./NoteListControls";
import Note from "./Note";
import * as Utils from "../lib/utils";
import * as Config from "../lib/config";
import * as ... | the_stack |
import {DOCUMENT} from '@angular/common';
import {Injector} from '@angular/core';
import {fromEvent, Observable, Subject, Subscription} from 'rxjs';
import {filter, takeUntil, withLatestFrom} from 'rxjs/operators';
import {PlaceholderRenderer} from '../../modules/components/placeholder-renderer/placeholder-renderer.se... | the_stack |
'use strict';
const async = require('async');
const { debug, info, warn, error } = require('portal-env').Logger('kong-adapter:kong');
const qs = require('querystring');
import * as utils from './utils';
import { KongCollection, KongConsumer, KongPlugin, Callback, ErrorCallback, KongApiConfig } from 'wicked-sdk';
impo... | the_stack |
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { EventEmitter, NO_ERRORS_SCHEMA } from '@angular/core';
import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing';
import { UrlSerializer } from '@angular/router';
import { NgbModal, NgbModalRef } from... | the_stack |
var statusRefreshInterval = 2000;
var configRefreshInterval = 120000;
var statusWaitingRespTime = 1000;
var configWaitingRespTime = 1500;
var updateConfigAfterSendingGcodeTime = 200;
var axisPrecision = 6;
var heaterPrecision = 4;
var fanPrecision = 3;
var speedPrecision = 4;
var configPrecision = 15;
var defaultSpeed ... | the_stack |
import { TestUtils } from '../../test';
// Providers
import { ConfigProvider } from '../config/config';
import { FilterProvider } from '../filter/filter';
import { PersistenceProvider } from '../persistence/persistence';
import { RateProvider } from '../rate/rate';
import { TxFormatProvider } from './tx-format';
desc... | the_stack |
import * as React from 'react';
import { IWebPartContext} from '@microsoft/sp-webpart-base';
import { Environment, EnvironmentType } from '@microsoft/sp-core-library';
import { SPHttpClient, SPHttpClientResponse } from '@microsoft/sp-http';
import { IPropertyFieldSPListQueryPropsInternal, PropertyFieldSPListQueryOrderB... | the_stack |
export interface DisableRsgAsGroupRequest {
/**
* 伸缩组 ID
*/
Id: string;
}
/**
* ExposeService返回参数结构体
*/
export interface ExposeServiceResponse {
/**
* 暴露方式
*/
Expose?: ExposeInfo;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
... | the_stack |
import { IModelApp, MapLayerSource, NotifyMessageDetails, OutputMessagePriority } from "@itwin/core-frontend";
import { BeEvent, GuidString } from "@itwin/core-bentley";
import { MapLayersUI } from "./mapLayers";
/** @internal */
export interface MapLayerPreferencesContent {
url: string;
name: string;
formatId: ... | the_stack |
import {Labels} from '../labels/labels';
import {DebugProtocol} from 'vscode-debugprotocol/lib/debugProtocol';
import {Settings} from '../settings'
import {Utility} from '../misc/utility';
import {RefList} from '../misc/reflist';
import {Remote} from '../remotes/remotebase';
import {Format} from '../disassembler/format... | the_stack |
import {
AttributeContextParameters,
CdmAttribute,
CdmAttributeContext,
cdmAttributeContextType,
CdmCollection,
CdmCorpusContext,
cdmLogCode,
CdmObject,
CdmObjectBase,
cdmObjectType,
CdmOperationBase,
cdmOperationType,
CdmTraitReferenceBase,
Logger,
ParameterV... | the_stack |
import UPlot, {Options, Series} from 'uplot';
import Yagr from '../../index';
import {DEFAULT_X_SERIE_NAME} from '../../defaults';
export type LegendPosition = 'top' | 'bottom';
export interface LegendOptions {
/** Show legend (default: false) */
show?: boolean;
/** Root classname */
className?: strin... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* Identity for the resource.
*/
export interface Identity {
/**
* The identity type.
*/
type: string;
/**
* The list of ... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormSocial_Activity {
interface Header extends DevKit.Controls.IHeader {
/** Shows how contact about the social activity originated, such as from Twitter or Facebook. This field is read-only. */
Community: DevKit.Controls.Opt... | the_stack |
import { CPU } from '../cpu/cpu';
import { AVRUSART, usart0Config } from './usart';
const FREQ_16MHZ = 16e6;
const FREQ_11_0529MHZ = 11059200;
// CPU registers
const SREG = 95;
// USART0 Registers
const UCSR0A = 0xc0;
const UCSR0B = 0xc1;
const UCSR0C = 0xc2;
const UBRR0L = 0xc4;
const UBRR0H = 0xc5;
const UDR0 = 0x... | the_stack |
module formFor {
/**
* TextField $scope.
*/
interface TextFieldScope extends ng.IScope {
/**
* Name of the attribute within the parent form-for directive's model object.
* This attributes specifies the data-binding target for the input.
* Dot notation (ex "address.street") is supported.
... | the_stack |
import React, { useRef, useState, useCallback } from "react";
import useResizeObserver from "../";
import { render, cleanup } from "@testing-library/react";
import useRenderTrigger from "./utils/useRenderTrigger";
import awaitNextFrame from "./utils/awaitNextFrame";
import createController from "./utils/createControlle... | the_stack |
import { ElementRef, Injectable } from '@angular/core';
import { ActiveElement, ChartConfiguration, ChartOptions, ScatterDataPoint } from 'chart.js';
import { AnnotationOptions } from 'chartjs-plugin-annotation';
import { toDate } from 'date-fns';
import { mergeDeepAll } from '../../../helpers/merge-deep';
import {
... | the_stack |
import { LoggerService } from '@app/services/logger/logger.service';
import { DefaultScanWorkerJobInfo } from '@app/default-scan/default-scan-worker/default-scan-worker-job-info.interface';
import { DepClient } from '@app/default-scan/dep-clients/common/dep-client.interface';
import { GolangService } from '@app/default... | the_stack |
import * as Atom from "atom"
import * as ACP from "atom/autocomplete-plus"
import * as fuzzaldrin from "fuzzaldrin"
import {
CompletionEntryDetails,
CompletionEntryIdentifier,
CompletionsTriggerCharacter,
} from "typescript/lib/protocol"
import {GetClientFunction, TSClient} from "../../client"
import {handlePromi... | the_stack |
import {ZiGateMessageCode} from "./constants";
export interface ZiGateMessageParameter {
name: string;
parameterType: string;
options?: object;
}
export interface ZiGateMessageType {
response: ZiGateMessageParameter[];
}
export const ZiGateMessage: { [k: number]: ZiGateMessageType } = {
[ZiGateMe... | the_stack |
/// <reference types="node" />
import { EventEmitter } from 'events';
import { PNG } from 'pngjs';
declare namespace ATEM {
/** 0-indexed, so ME1 = 0, ..., ME4 = 3 */
type MixEffect = 0 | 1 | 2 | 3;
/**
* - 0: Black
* - 1-40: Physical SDI/HDMI inputs
* - 1000: Color Bars (test pattern)
... | the_stack |
import startsWith from 'lodash/startsWith';
import { getDocument } from '../../utils';
import {
AjaxInterface,
AjaxOptions,
RequestHeaders,
SetupOptions,
} from '../../types/request';
import { isFormData, toQueryString, urlAppend } from './utils';
import {
CONTENT_TYPE,
HTTP_REG,
PROTOCO_REG,
READY_STATE,
REQU... | the_stack |
import ez = require("TypeScript/ez")
import EZ_TEST = require("./TestFramework")
export class TestQuat extends ez.TypescriptComponent {
/* BEGIN AUTO-GENERATED: VARIABLES */
/* END AUTO-GENERATED: VARIABLES */
constructor() {
super()
}
static RegisterMessageHandlers() {
ez.Typesc... | the_stack |
import { UpdateExpression as UpdateExpressionStr } from '../DocumentClient';
import ExpressionAttributeNames from './ExpressionAttributeNames';
import ExpressionAttributeValues from './ExpressionAttributeValues';
import UpdateValueExpression from './UpdateValueExpression';
// Docs:
// https://docs.aws.amazon.com/amazo... | the_stack |
import { Vector2, Vector3 } from 'three';
import { flatteningParams } from '../common/Defaults';
import GPUHelper from '../common/GPUHelper';
import MutableTypedArray from '../common/MutableTypedArray';
import { FileParams, FlatteningParams, Type } from '../common/types';
import { arrayIntersection, log } from '../comm... | the_stack |
import { DbCollectionName } from '../utils/test-utils'
import { UserMenuItem } from '../support/commands'
import { IUser } from '../../../../src/models/user.models'
interface Info {
username: string
country?: string
description: string
coverImage: string
}
interface IMapPin {
description: string
searchKey... | the_stack |
import * as protobuf from 'protobufjs';
import * as gax from './gax';
import * as routingHeader from './routingHeader';
import {Status} from './status';
import {OutgoingHttpHeaders} from 'http';
import {
GoogleAuth,
OAuth2Client,
Compute,
JWT,
UserRefreshClient,
GoogleAuthOptions,
BaseExternalAccountClien... | the_stack |
import { Nullable } from "../../../../../shared/types";
import * as React from "react";
import Slider from "antd/lib/slider";
import { InputGroup, Tooltip } from "@blueprintjs/core";
import { InspectorUtils } from "../utils";
import { InspectorNotifier } from "../notifier";
import { AbstractFieldComponent } from "./... | the_stack |
import {
CoreBindings,
createProxyWithInterceptors,
GLOBAL_INTERCEPTOR_NAMESPACE,
} from '@loopback/core';
import {
RestApplication,
RestServer,
RestServerConfig,
SequenceActions,
} from '@loopback/rest';
import {
Client,
createRestAppClient,
expect,
givenHttpServerConfig,
validateApiSpec,
} fro... | the_stack |
import { assert } from 'chai'
import feathersVuex, { models } from '../../src/index'
import { clearModels } from '../../src/service-module/global-models'
import { feathersRestClient as feathersClient } from '../fixtures/feathers-client'
import Vuex from 'vuex'
describe('Models - `setupInstance` & Relatioships', funct... | the_stack |
declare module com {
export module google {
export module android {
export module gms {
export module config {
export module proto {
export class Config {
public static class: java.lang.Class<com.google.android.gms.config.proto.Config>;
public static registerAllExtensions(param0: com.... | the_stack |
import { basicLanguages, createEditor, selectedEditor } from './editor';
import {
languages,
getLanguageEditorId,
getLanguageCompiler,
languageIsEnabled,
pluginSpecs,
PluginName,
processorIsEnabled,
getLanguageByAlias,
mapLanguage,
createLanguageMenus,
} from './languages';
import { createStorage, I... | the_stack |
interface RCConversation {
watcher: any;
watch(_watcher: Function): void;
unwatch(_watcher: Function): void;
_notify(conversationList: Array<any>): void;
}
module RongIMLib {
export class ServerDataProvider implements DataAccessProvider {
userStatusListener: Function = null;
Conve... | the_stack |
import fs from 'fs'
import path from 'path'
import execa from 'execa'
import globby from 'globby'
import cheerio from 'cheerio'
import { install } from '../lib/install'
import runJscodeshift from '../lib/run-jscodeshift'
import htmlToReactAttributes from '../lib/html-to-react-attributes'
import { indexContext } from '.... | the_stack |
import FocusTrap from 'focus-trap-react';
import { Set } from 'immutable';
import React, {useMemo, useState} from 'react';
import { useSelector } from 'react-redux';
import { useHistory, useParams } from 'react-router';
import { Link } from 'react-router-dom';
import AutoSizer from 'react-virtualized-auto-sizer';
impor... | the_stack |
import * as React from "react";
import Tree from "antd/lib/tree/Tree";
import {
ContextMenu, Menu, MenuItem, MenuDivider, Classes, Tooltip,
Position, InputGroup, FormGroup,
Switch, ButtonGroup, Button, Popover, Pre, Intent, Code, Tag,
} from "@blueprintjs/core";
import { Nullable, Undefinable } fro... | the_stack |
import { asapScheduler, animationFrameScheduler } from 'rxjs';
import { filter, take, tap, observeOn, switchMap, map, mapTo, startWith, pairwise } from 'rxjs/operators';
import {
AfterViewInit,
Component,
ElementRef,
Input,
Injector,
ChangeDetectionStrategy,
ViewChild,
ViewChildren,
QueryList,
After... | the_stack |
import { mobiscroll } from '../core/dom';
import {
$, extend,
MbscCoreOptions
} from '../core/core';
import { MbscFrameOptions } from '../classes/frame';
import {
AfterViewInit,
// Component,
// ContentChild,
// ContentChildren,
Directive,
DoCheck,
ElementRef,
EventEmitter,
/... | the_stack |
import { INumberDictionary, Undefinable, Nullable } from "../../../../../shared/types";
import { FBXReaderNode } from "fbx-parser";
import { Geometry, VertexData, Scene, FloatArray, Vector3, Vector4, Matrix } from "babylonjs";
import { FBXUtils } from "../utils";
import { IFBXLoaderRuntime } from "../loader";
import... | the_stack |
import { SimpleChange } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { By } from '@angular/platform-browser';
import { UMLDiagramType, UMLElement, UMLModel, UMLRelationship } from '@ls1intum/apollon';
import { Feedback, Fee... | the_stack |
import { describe, it, expect } from "@jest/globals";
import { NamedNode } from "@rdfjs/types";
import { DataFactory } from "n3";
import { createThing, getThing, getThingAll, setThing } from "../thing/thing";
import {
addAgent,
addNoneOfMatcherUrl,
addAnyOfMatcherUrl,
addAllOfMatcherUrl,
createMatcher,
get... | the_stack |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { ATN } from "antlr4ts/atn/ATN";
import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer";
import { FailedPredicateException } from "antlr4ts/FailedPredicateException";
import { NotNull } from "... | the_stack |
export interface RequestOption {
uri?: string | undefined;
headers?: any;
json?: any;
timeout?: any;
metricRequestID?: string | undefined;
metricUserName?: string | undefined;
metricLogger?: any;
}
export interface Project {
general_token: string;
project_token: string;
glance: ... | the_stack |
import {
AfterViewInit,
Component,
DoCheck,
ElementRef,
EventEmitter,
Injector,
Input,
OnDestroy,
OnInit,
Output,
ViewChild
} from '@angular/core';
import {Alert} from '@common/util/alert.util';
import {CommonConstant} from '@common/constant/common.constant';
import {EventBroadcaster} from '@comm... | the_stack |
import msRestAzure = require("./azure-arm-common");
import tl = require('vsts-task-lib/task');
import util = require("util");
import webClient = require("./webClient");
import azureServiceClient = require("./AzureServiceClient");
import Model = require("./azureModels");
import Q = require("q");
export class ComputeMan... | the_stack |
import { Abstract } from "./Abstract"
import { TeamSpeak } from "../TeamSpeak"
import { ClientEntry } from "../types/ResponseTypes"
import { ClientDBEdit, ClientEdit } from "../types/PropertyTypes"
import { ClientType } from "../types/enum"
import { TeamSpeakChannel } from "./Channel"
import { TeamSpeakServerGrou... | the_stack |
const promiseExists = typeof Promise === 'function';
const globalObject = ((Obj) => {
if (typeof globalThis === 'object') {
return globalThis; // eslint-disable-line
}
Object.defineProperty(Obj, 'typeDetectGlobalObject', {
get() {
return this;
},
configurable: true,
});
// @ts-ignore
... | the_stack |
// If a UI module has been loaded, we can rely on the publically-published 'name' property
// having been set as a way to short-out a UI reload. Its parent object always exists by
// this point in the build process.
if(!window['keyman']['ui']['name']) {
/********************************/
/* ... | the_stack |
import { UAProperty } from "node-opcua-address-space-base"
import { DataType } from "node-opcua-variant"
import { UInt32 } from "node-opcua-basic-types"
import { UAInitialState } from "node-opcua-nodeset-ua/source/ua_initial_state"
import { UAState } from "node-opcua-nodeset-ua/source/ua_state"
import { UAFiniteStateMa... | the_stack |
const models = require('../../../../../db/mysqldb/index')
import moment from 'moment'
const { resClientJson } = require('../../../utils/resData')
const Op = require('sequelize').Op
const trimHtml = require('trim-html')
const xss = require('xss')
const clientWhere = require('../../../utils/clientWhere')
const config = r... | the_stack |
"use strict";
import { TxtNode } from "@textlint/ast-node-types";
import { parse, Syntax } from "../src/index";
import assert from "assert";
import traverse from "traverse";
const inspect = (obj: Record<string, unknown>) => JSON.stringify(obj, null, 4);
function findFirstTypedNode(node: TxtNode, type: string, value?:... | the_stack |
import { async, TestBed, inject } from "@angular/core/testing";
import { NO_ERRORS_SCHEMA } from "@angular/core";
import { IdprestapiService } from "./idprestapi.service";
import {
MockBackend,
MockConnection
} from "@angular/http/testing";
import { HttpModule, XHRBackend, ResponseOptions, Response, Reques... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* @interface
* An interface representing ErrorMesssage.
* Error response containing message and code.
*
*/
export interface ErrorMe... | the_stack |
import * as assert from "assert";
import * as moment from "moment";
import { testContext, disposeTestDocumentStore } from "../Utils/TestUtil";
import {
IDocumentStore,
} from "../../src";
import { DateUtil } from "../../src/Utility/DateUtil";
import { GetDocumentsCommand } from "../../src/Documents/Command... | the_stack |
import * as vscode from "vscode";
import { Context, edit, Positions, Selections } from "..";
import { TrackedSelection } from "../../utils/tracked-selection";
const enum Constants {
PositionMask = 0b00_11_1,
BehaviorMask = 0b11_00_1,
}
function mapResults(
insertFlags: insert.Flags,
document: vscode.TextDocu... | the_stack |
namespace Textor {
export class TextModel {
private _textBuffer: TextBuffer;
private _undoService: UndoService;
private _textRange: TextRange = new TextRange(new TextPosition(0, 0), new TextPosition(0, 0));
private _selectionChangedHandlers: SelectionChangeHandler[] = [];
pri... | the_stack |
namespace LiteMol.Example.Channels.UI {
import React = LiteMol.Plugin.React
export interface UIState {
app: State.AppState,
/**
* This represents the JSON data returned by MOLE.
*
* In a production environment (when using TypeScript),
* it would be a good i... | the_stack |
import argparse = require('argparse');
import mkdirp = require('mkdirp')
import sprintf = require('sprintf');
import pathLib = require('path');
import underscore = require('underscore');
import agile_keychain = require('../lib/agile_keychain');
import asyncutil = require('../lib/base/asyncutil');
import cli_common = r... | the_stack |
import { createLocalVue, mount, shallowMount, Wrapper } from '@vue/test-utils';
import Vuex, { Store } from 'vuex';
import AutocompleteWidget from '@/components/stepforms/widgets/Autocomplete.vue';
import FilterSimpleConditionWidget from '@/components/stepforms/widgets/FilterSimpleCondition.vue';
import InputTextWidge... | the_stack |
import { IEntityAnnotationObject } from "./IEntityAnnotationObject";
import { ITextIntentSequenceLabelObjectByPosition} from "./ITextIntentSequenceLabelObjectByPosition";
import { Data } from "./Data";
import { Utility } from "../utility/Utility";
export class EntityAnnotatedCorpusData extends Data {
public sta... | the_stack |
import { expect } from "chai";
import { TestConfig } from "./TestConfig";
import RandomGenerator from "./mocks/RandomGenerator";
import { SkuType, DeveloperNotification, NotificationType } from "../../src/play-billing";
const testConfig = TestConfig.getInstance();
const playBilling = testConfig.playBilling;
const api... | the_stack |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DebugElement } from '@angular/core';
import { ComponentBase } from '../src/component-base';
import { ControlComponents } from './control.component';
import { AppComponent } from './app.module';
import { pipeComponents } from './pipe.component';... | the_stack |
cornerstoneWADOImageLoader.configure({
beforeSend: function(xhr) {
// Add custom headers here (e.g. auth tokens)
//xhr.setRequestHeader('x-auth-token', 'my auth token');
if (DICOMwebJS.ServerConfiguration.IncludeAuthorizationHeader)
{
xhr.setRequ... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { ScalingPlans } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { DesktopVirtualizationAPIClient } from "../... | the_stack |
import { Contract, ContractFactory } from '@ethersproject/contracts'
import { Resolvable, Resolver } from 'did-resolver'
import { getResolver } from '../resolver'
import { EthrDidController } from '../controller'
import DidRegistryContract from 'ethr-did-registry'
import { interpretIdentifier, stringToBytes32 } from '.... | the_stack |
import * as React from 'react';
import type { PageProps } from 'gatsby';
import { graphql, navigate } from 'gatsby';
import { styled } from 'gatsby-theme-stitches/src/config';
import { GatsbySeo } from 'gatsby-plugin-next-seo';
import { rem } from 'polished';
import { required } from '@cometjs/core';
import type { Prop... | the_stack |
import { defineConfig } from '@agile-ts/utils';
import type { Logger } from '@agile-ts/logger';
// The Log Code Manager keeps track
// and manages all important Logs of AgileTs.
//
// How does the identification of Log Messages work?
// Let's take a look at this example:
// 00:00:00
//
// |00|:00:00 first digits are b... | the_stack |
import {
fillValue,
findInput,
findLabel,
getValue,
iff,
LOG,
NGX,
setValue,
open,
close,
getByLabel,
getByPlaceholder
} from './functions';
// -------------- Helpers --------------
// Workaround for https://github.com/cypress-io/cypress/issues/18879
function Cypress_Commands_add_Subject<T ext... | the_stack |
import { ISvgJsonElement, ISvgJsonRoot } from "./svgjson";
import { TagBuilder } from "./tag-builder";
enum ENodeKind {
root,
element
}
interface ENode {
parent?: ENode;
is_group?: boolean;
tag?: string;
element?: ISvgJsonElement;
repeats?: number;
chilren: Array<ENode>;
textCo... | the_stack |
import _ from 'lodash'
import {ActionGroupSpec, ActionContextType, ActionOutputStyle, ActionOutput, ActionContextOrder, SelectionType} from '../actions/actionSpec'
import K8sFunctions from '../k8s/k8sFunctions'
import IstioFunctions from '../k8s/istioFunctions'
import ChoiceManager, {ItemSelection} from '../actions/cho... | the_stack |
import * as React from "react";
import { Route } from "react-router-dom";
import service from "./../services/service";
import Spinner from "./../components/Spinner";
import MoreVertIcon from "material-ui/svg-icons/navigation/more-vert";
import {
Chip,
Divider,
Dialog,
FlatButton,
IconButton,
IconMenu,
Lis... | the_stack |
import {
Device,
TextureProps,
Sampler,
SamplerProps,
SamplerParameters,
isObjectEmpty
} from '@luma.gl/api';
import {Texture, cast, log, assert, isPowerOfTwo, loadImage} from '@luma.gl/api';
import GL from '@luma.gl/constants';
import type {WebGLSamplerParameters} from '../../types/webgl';
import {withPara... | the_stack |
import Vue from 'vue'
import { PropValidator } from 'vue/types/options'
import WPicker from '../WPicker'
// Mixins
import Picker from '@/mixins/picker'
// Utils
import mixins, { ExtractVue } from '@/utils/mixins'
type StartBoundary = {
startYear: number
startMonth: number
startDate: number
startHour: number
... | the_stack |
import { Codicon } from 'vs/base/common/codicons';
import { localize } from 'vs/nls';
import { foreground, registerColor } from 'vs/platform/theme/common/colorRegistry';
import { IColorTheme, ICssStyleCollector, registerThemingParticipant } from 'vs/platform/theme/common/themeService';
export const SYMBOL_ICON_ARRAY_F... | the_stack |
import {
AnnotationEvent,
CoreApp,
DataQueryError,
DataQueryRequest,
DataQueryResponse,
DataSourceApi,
DataSourceInstanceSettings,
dateMath,
DateTime,
LoadingState,
rangeUtil,
ScopedVars,
TimeRange,
} from '@grafana/data';
import { BackendSrvRequest, FetchError, getBackendSrv } from '@grafana/... | the_stack |
'use strict';
require('dnscache')({enable: true});
import fs from 'fs';
// `inspect` is used instead of `JSON.stringify` because it can handle circular structures, such as `AxiosResponse` objects.
import {inspect} from 'util';
import axios from 'axios';
import {errors, Browser} from 'puppeteer';
const {TimeoutErro... | the_stack |
import { callbackify } from "util";
import {
AddressSpace,
SessionContext,
UAMethod,
UATrustList,
UAObject,
UAVariable,
UAServerConfiguration,
ISessionContext
} from "node-opcua-address-space";
import {
checkDebugFlag,
make_debugLog,
make_warningLog
} from "node-opcua-debug"... | the_stack |
import {AnimationFrame} from '@material/animation/animationframe';
import {MDCFoundation} from '@material/base/foundation';
import {SpecificEventListener, SpecificWindowEventListener} from '@material/base/types';
import {MDCDialogAdapter} from './adapter';
import {cssClasses, numbers, strings} from './constants';
impo... | the_stack |
import { createElement, isNullOrUndefined, isObject, remove } from '@syncfusion/ej2-base';
import { Gantt } from '../base/gantt';
import * as cls from '../base/css-constants';
import { IGanttData, ITaskData, IConnectorLineObject, IPredecessor } from '../base/interface';
import { isScheduledTask } from '../base/utils';
... | the_stack |
import {
unitTest,
assert,
assertEquals,
assertNotEquals,
assertThrows,
} from "./test_util.ts";
function delay(seconds: number): Promise<void> {
return new Promise<void>((resolve) => {
setTimeout(() => {
resolve();
}, seconds);
});
}
function readableStreamToArray<R>(
readable: { getRea... | the_stack |
import { IMemoryTable, Schema, QueryError, TableEvent, PermissionDeniedError, NotSupported, IndexDef, ColumnNotFound, ISubscription, nil, DataType } from './interfaces';
import { _ISelection, IValue, _ITable, setId, getId, CreateIndexDef, CreateIndexColDef, _IDb, _Transaction, _ISchema, _Column, _IType, SchemaField, _I... | the_stack |
import { Section, Chapter, C, R } from 'core/components'
import { PageType } from 'core/types'
import FadeIn from 'core/components/ui/fadein'
import { SyntaxHighlighter, prism, styles, FooterNav } from '..'
import { BulletedList } from 'core/components/widgets'
export const Page: PageType = () => {
return (
... | the_stack |
import {spawn, ChildProcess} from "child_process"
import {Socket} from "net"
import {argv} from "yargs"
import {join, delimiter, basename, extname, dirname} from "path"
import os from "os"
import assert from "assert"
import chalk from "chalk"
import which from "which"
import {task, task2, success, passthrough, BuildE... | the_stack |
declare module fng {
export interface IFng extends angular.IModule {
beforeProcess? : (scope: IFormScope, cb: (err?: Error) => void) => void;
}
var formsAngular: IFng;
/*
Type definitions for types that are used on both the client and the server
*/
type formStyle = 'inline' | 'vertical' | 'horizonta... | the_stack |
import { Component, OnInit, OnDestroy } from '@angular/core';
import { IonRefresher } from '@ionic/angular';
import { CoreApp } from '@services/app';
import { CoreEventObserver, CoreEvents } from '@singletons/events';
import { CoreLocalNotifications } from '@services/local-notifications';
import { CoreSites } from '@se... | the_stack |
import genFn from "generate-function";
import {
ArgumentNode,
ASTNode,
DirectiveNode,
FieldNode,
FragmentDefinitionNode,
getLocation,
GraphQLArgument,
GraphQLDirective,
GraphQLError,
GraphQLField,
GraphQLIncludeDirective,
GraphQLInputType,
GraphQLObjectType,
GraphQLSkipDirective,
InlineFra... | the_stack |
import React from "react";
import { RouteComponentProps } from "react-router-dom";
import { GoThreeBars, GoX } from "react-icons/go";
import { BsArrowRightShort } from "react-icons/bs";
import {
useDisclosureState,
Disclosure,
DisclosureContent,
} from "reakit/Disclosure";
import formatDistance from "date-fns/for... | the_stack |
import Animations = require('../../Animations');
import _Base = require('../../Core/_Base');
import _BaseUtils = require('../../Core/_BaseUtils');
import _Control = require('../../Utilities/_Control');
import _Dispose = require('../../Utilities/_Dispose');
import _ElementUtilities = require('../../Utilities/_ElementUti... | the_stack |
import {
ZoneId,
LocalDateTime,
LocalDate,
LocalTime,
ZonedDateTime,
DateTimeParseException,
DateTimeFormatter,
Instant,
convert,
Temporal,
DateTimeFormatterBuilder,
ResolverStyle,
IsoChronology,
ChronoField,
ChronoUnit,
YearMonth,
Year,
TemporalQueries,
} from "@js-joda/core";
impor... | the_stack |
import { createElement } from '@syncfusion/ej2-base';
import { Diagram } from '../../../src/diagram/diagram';
import {
ConnectorModel, Node,
DataBinding, HierarchicalTree, NodeModel, Rect, TextElement, LayoutAnimation, Container, StackPanel, ImageElement, TreeInfo, TextModel, ConnectorConstraints, PortVisibilit... | the_stack |
import AMQPChannel from './amqp-channel.js'
import AMQPError from './amqp-error.js'
import AMQPMessage from './amqp-message.js'
import AMQPView from './amqp-view.js'
const VERSION = '1.3.0'
/**
* Base class for AMQPClients.
* Implements everything except how to connect, send data and close the socket
*/
export def... | the_stack |
import * as path from 'path';
import { BitId } from '../bit-id';
import { DEFAULT_DIST_DIRNAME, DEFAULT_INDEX_NAME } from '../constants';
import BitMap from '../consumer/bit-map';
import ComponentMap from '../consumer/bit-map/component-map';
import { throwForNonLegacy } from '../consumer/component/component-schema';
i... | the_stack |
/// <reference path="Interfaces.d.ts"/>
/// <reference path="Common.ts"/>
module EdgeDiagnosticsAdapter {
"use strict";
enum BreakResumeAction {
Abort,
Continue,
StepInto,
StepOver,
StepOut,
Ignore, // Continue, but with state (fast refresh)
StepDocument... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.