text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
export default {
"PI-SceI": {
rseq: "ATCTATGTCGGGTGCGGAGAAAGAGGTAATGAAATGG",
rcut: 11,
fcut: 15
},
"PI-PspI": {
rseq: "TGGCAAACAGCTATTATGGGTATTATGGGT",
rcut: 13,
fcut: 17
},
"I-CeuI": {
rseq: "TAACTATAACGGTCCTAAGGTAGCGAA",
rcut: 14,
fcut: 18
},
"I-SceI": {
rseq: "TA... | the_stack |
import { MetaUtils } from "../metadata/utils";
import * as Utils from "../utils";
import { Decorators } from '../constants/decorators';
import { DecoratorType } from '../enums/decorator-type';
import { IProcessControlParams } from './interfaces/IProcessControlParams';
import { IProcessControlService, processControlSer... | the_stack |
// tslint:disable:no-unused-expression max-func-body-length promise-function-async max-line-length insecure-random
// tslint:disable:object-literal-key-quotes no-function-expression no-non-null-assertion align no-http-string
import * as assert from "assert";
import { Position, Range, Uri } from "vscode";
import { IGot... | the_stack |
import { TransformationRuleService } from './transformation-rule.service';
import { Logger } from '../../shared/logger/default-log.service';
import {
CreateNestedRuleDescription,
DeleteRuleDescription,
EventPropertyNested,
EventPropertyPrimitive,
EventPropertyUnion,
EventSchema,
MoveRuleDesc... | the_stack |
declare namespace javaemul.internal {
/**
* Private implementation class for GWT. This API should not be
* considered public or stable.
* @class
*/
class Coercions {
/**
* Coerce js int to 32 bits.
* Trick related to JS and lack of integer rollover.
* {@see... | the_stack |
import React, { ReactNode, useEffect, useState } from 'react'
import { useLazyQuery } from '@apollo/client'
import {
useForm,
Controller,
ValidationRules,
useFormContext,
FormProvider,
} from 'react-hook-form'
import { useDebounce } from 'react-use'
import { FormatInputValueFunction } from 'react-number-forma... | the_stack |
import { createElement } from '@syncfusion/ej2-base';
import { Diagram } from '../../../src/diagram/diagram';
import { NodeModel } from '../../../src/diagram/objects/node-model';
import { Node } from '../../../src/diagram/objects/node';
import { ConnectorModel } from '../../../src/diagram/objects/connector-model';
impo... | the_stack |
import * as d3 from "d3";
import * as Typesettable from "typesettable";
import { Formatter } from "../core/formatters";
import * as Formatters from "../core/formatters";
import * as Scales from "../scales";
import * as Utils from "../utils";
import { LabelFontSizePx } from "../components/label";
import { SimpleSelect... | the_stack |
import {
Nodey,
NodeyCode,
NodeyOutput,
NodeyCodeCell,
NodeyMarkdown,
NodeyCell,
NodeyNotebook,
NodeyRawCell,
} from "../../nodey";
import { log } from "../../notebook";
import { FileManager } from "../../jupyter-hooks/file-manager";
import { History, NodeHistory, OutputHistory, CodeHistory } from ".... | the_stack |
import * as assert from 'assert';
import {describe, it, before, after, afterEach} from 'mocha';
import {cls, TraceCLS, TraceCLSMechanism} from '../src/cls';
import {
defaultConfig,
GetHeaderFunction as HeaderGetter,
OpenCensusPropagation,
RequestDetails,
SetHeaderFunction as HeaderSetter,
} from '../src/conf... | the_stack |
import { __testMethods } from './SpellingDictionaryMethods';
import { createSpellingDictionary } from './createSpellingDictionary';
import { SpellingDictionaryFromTrie } from './SpellingDictionaryFromTrie';
import { Trie } from 'cspell-trie-lib';
// cSpell:ignore aple
describe('Verify building Dictionary', () => {
... | the_stack |
import 'chrome://resources/cr_elements/shared_vars_css.m.js';
import 'chrome://resources/cr_elements/cr_input/cr_input_style_css.m.js';
import '../strings.m.js';
import {assert} from 'chrome://resources/js/assert.m.js';
import {I18nMixin} from 'chrome://resources/js/i18n_mixin.js';
import {WebUIListenerMixin} from 'ch... | the_stack |
import { Component, Optional, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { Params } from '@angular/router';
import { CoreSite } from '@classes/site';
import { CoreCourseModuleMainActivityComponent } from '@features/course/classes/main-activity-component';
import { CoreCourseContentsPage } from '@featur... | the_stack |
import { NGAExtensions } from './ngaExtensions';
import { GeoPackage } from '../geoPackage';
import { RTreeIndex } from './rtree/rtreeIndex';
import { RelatedTablesExtension } from './relatedTables';
import { TableInfo } from '../db/table/tableInfo';
import { CoreSQLUtils } from '../db/coreSQLUtils';
import { UserCusto... | the_stack |
'use strict';
import { existsSync } from 'graceful-fs';
import * as recursive from 'recursive-readdir';
import * as vscode from 'vscode';
import { QuickPickItem, QuickPickOptions, window } from 'vscode';
import { insertBookmarkExternal, insertBookmarkInternal } from '../controllers/bookmark-controller';
import {
getY... | the_stack |
jest.unmock('../../src/TestResults/match-node');
jest.unmock('../../src/TestResults/match-by-context');
jest.unmock('../test-helper');
import * as helper from '../test-helper';
import * as match from '../../src/TestResults/match-by-context';
import { TestReconciliationStateType, TestResult } from '../../src/TestResult... | the_stack |
import { CSSProperties } from 'react';
import { isServerRendering } from '../_util/dom';
import { isArray } from '../_util/is';
import { TriggerProps, MouseLocationType } from './interface';
// get element's position relative to root element
function getElementPosition(element: HTMLElement, elementRect: ChildRect, roo... | the_stack |
/// <reference path="ezgui.ts" />
/// <reference path="../lib/pixi.d.ts" />
/// <reference path="multistatesprite.ts" />
/// <reference path="compatibility.ts" />
module EZGUI {
export class GUIObject extends EZGUI.Compatibility.GUIDisplayObjectContainer {
public guiID: string;
get Id(): strin... | the_stack |
import { A } from '@ember/array';
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
//@ts-ignore
import { initialize as injectC3Enhancements } from '@yavin/c3/initializers/inject-c3-enhancem... | the_stack |
import * as s from './RegulationsSearchSection.css'
import React, { useEffect, useMemo, useState } from 'react'
import { useRouter } from 'next/router'
import {
Box,
Button,
Checkbox,
GridColumn,
GridContainer,
GridRow,
Input,
Option,
Select,
} from '@island.is/island-ui/core'
import { useNamespaceSt... | the_stack |
import test from 'ava';
import {
compilerOperationAddressData,
compileScript,
compileScriptContents,
describeExpectedInput,
hexToBin,
stringifyTestVector,
} from '../../lib';
test('compileScript: unprovided ID', (t) => {
t.deepEqual(compileScript('test', {}, { scripts: { typo: '1' } }), {
errorType:... | the_stack |
import React from "react";
import * as d3 from "d3";
import style from "../hiplot.scss";
import { create_d3_scale_without_outliers, ParamDef } from "../infertypes";
import { foCreateAxisLabel, foDynamicSizeFitContent } from "../lib/svghelpers";
import { ParamType, Datapoint } from "../types";
const margin = {top: 20, ... | the_stack |
import { BotConfiguration, BotRecipe, IBlobResource, IBlobStorageService, IConnectedService, ICosmosDBResource, ICosmosDBService, IDispatchResource, IDispatchService, IEndpointService, IFileResource, IFileService, IGenericResource, IGenericService, ILuisService, IQnAService, IResource, IUrlResource, ServiceTypes } from... | the_stack |
export default function makeDashboard(integrationId: string) {
return {
annotations: {
list: [
{
builtIn: 1,
datasource: "-- Grafana --",
enable: true,
hide: true,
iconColor: "rgba(0, 211, 255, 1)",
name: "Annotations & Alerts",
t... | the_stack |
import { Component, OnInit, OnDestroy } from '@angular/core';
import {Subscription} from 'rxjs/Subscription';
import { environment } from './../../../../../environments/environment';
import {LoggerService} from '../../../../shared/services/logger.service';
import {UtilsService} from '../../../../shared/services/utils.s... | the_stack |
import * as qlogschema from '@/data/QlogSchema';
export default class TextSequenceJSONToQlog {
public static async convert( inputStream:ReadableStream ) : Promise<qlogschema.IQLog | undefined> {
console.log("TextSequenceJSONToQlog: converting textsequence JSON file");
// make proper qlogschema.I... | the_stack |
import { Appointment } from "../Items/Appointment";
import { AppointmentType } from "../../../Enumerations/AppointmentType";
import { AttendeeCollection } from "../../../ComplexProperties/AttendeeCollection";
import { BoolPropertyDefinition } from "../../../PropertyDefinitions/BoolPropertyDefinition";
import { Complex... | the_stack |
import {NvItemsIds, NvSystemIds, ZnpCommandStatus} from "../constants/common";
import {Subsystem} from "../unpi/constants";
import {Znp} from "../znp";
import * as Structs from "../structs";
import {BuiltTable} from "../structs";
/**
* Adapter non-volatile memory instrumentation. This class provides interface to inte... | the_stack |
import 'chrome://resources/cr_elements/cr_icon_button/cr_icon_button.m.js';
import 'chrome://resources/cr_elements/cr_nav_menu_item_style.js';
import 'chrome://resources/cr_elements/shared_style_css.m.js';
import 'chrome://resources/cr_elements/shared_vars_css.m.js';
import 'chrome://resources/polymer/v3_0/paper-ripple... | the_stack |
const DATA = "<BASE64_DATA_PLACEHOLDER>";
// Standard Myanmar code point range before digits
const STD_CP0 = 0x1000;
const STD_CP1 = 0x103F;
// Standard Myanmar code point range after digits
const AFT_CP0 = 0x104A;
const AFT_CP1 = 0x109F;
// Extended Myanmar code point range A
const EXA_CP0 = 0xAA60;
const EXA_CP1 =... | the_stack |
import MultiFormat from '@requestnetwork/multi-format';
import { IdentityTypes, RequestLogicTypes } from '@requestnetwork/types';
import Utils from '@requestnetwork/utils';
import CreateAction from '../../../src/actions/create';
import Version from '../../../src/version';
const CURRENT_VERSION = Version.currentVersi... | the_stack |
import crypto from '@trust/webcrypto';
import { EventEmitter } from 'events';
import * as util from 'util';
import { Role } from './Role';
import { SignalingClient, SignalingClientConfig } from './SignalingClient';
import { mockDateClass, restoreDateClass } from './internal/testUtils';
const RealWebSocket = window.We... | the_stack |
module txt {
export enum PathFit {
Rainbow,
Stairstep
};
export interface PathPoint{
x:number;
y:number;
rotation?:number;
offsetX?:number;
}
export enum PathAlign {
Center,
Right,
Left
};
export class Path {
... | the_stack |
import { assertEq, assertDeepEq, assertOk } from '../test-helpers';
import { moment } from '../chain';
xdescribe('is valid', () => {
it('array bad month', function () {
assertEq(moment([2010, -1]).isValid(), false, 'month -1 invalid');
assertEq(moment([2100, 12]).isValid(), false, 'month 12 invalid');
});... | the_stack |
import { createServer } from "http";
import { Server } from "socket.io";
import { Server as ServerV3 } from "socket.io-v3";
import { io as ioc } from "socket.io-client";
import { AddressInfo } from "net";
import { InMemoryStore, instrument, RedisStore } from "..";
import expect = require("expect.js");
import { createCl... | the_stack |
// ------------------------------------------------------------------------
// Copyright (c) 2018 Alexandre Bento Freire. All rights reserved.
// Licensed under the MIT License+uuid License. See License.txt for details
// ------------------------------------------------------------------------
// This file was gene... | the_stack |
export class CSSFormatter {
private ch: any;
private pos: number = -1;
private source_text: string;
private whiteRe: RegExp = /^\s+$/; // tokenizer
// printer
private indentSize: any;
private indentString: string;
private singleIndent: string;
private indentLevel = 0;
private ne... | the_stack |
import * as _ from 'lodash';
import {Component, ElementRef, HostListener, Injector, OnDestroy, OnInit, ViewChild} from '@angular/core';
import {StringUtil} from '@common/util/string.util';
import {CommonUtil} from '@common/util/common.util';
import {EventBroadcaster} from '@common/event/event.broadcaster';
import {Abst... | the_stack |
import {Type} from "./type";
import {isType, Symbol, SYMBOL_FLAG_IS_TEMPLATE, SymbolKind} from "./symbol";
import {SourceRange} from "../../utils/log";
import {Scope} from "./scope";
import {addScopeToSymbol, CheckContext, linkSymbolToNode} from "../analyzer/type-checker";
import {assert} from "../../utils/assert";
/*... | the_stack |
import { Array } from "@siteimprove/alfa-array";
import { Callback } from "@siteimprove/alfa-callback";
import { Collection } from "@siteimprove/alfa-collection";
import { Comparable, Comparer, Comparison } from "@siteimprove/alfa-comparable";
import { Hash } from "@siteimprove/alfa-hash";
import { Iterable } from "@si... | the_stack |
import type {Mutable, Proto, ObserverType} from "@swim/util";
import type {FastenerOwner, FastenerFlags} from "../fastener/Fastener";
import type {AnyComponent, Component} from "./Component";
import {ComponentRelationInit, ComponentRelationClass, ComponentRelation} from "./ComponentRelation";
/** @internal */
export t... | the_stack |
* @packageDocumentation
* @module std
*/
//================================================================
import { IForwardIterator } from "../iterator/IForwardIterator";
import { IBidirectionalIterator } from "../iterator/IBidirectionalIterator";
import { IRandomAccessIterator } from "../iterator/IRandomAccessIt... | the_stack |
import { Component, IterableDiffers, ElementRef, KeyValueDiffers, ChangeDetectorRef, Input, Renderer2, OnInit } from '@angular/core';
import { IgControlBase } from '../igcontrolbase/igcontrolbase';
@Component({
selector: 'ig-map',
template: '<ng-content></ng-content>',
inputs: ['widgetId', 'options', 'chan... | the_stack |
import * as vscode from "vscode";
import { executeCommand, ExpectedDocument, groupTestsByParentName } from "../utils";
suite("./test/suite/commands/seek-word-edge.md", function () {
// Set up document.
let document: vscode.TextDocument,
editor: vscode.TextEditor;
this.beforeAll(async () => {
document... | the_stack |
import * as React from 'react';
import { Input } from '@fluentui/react-input';
import { Label } from '@fluentui/react-label';
import { Button } from '@fluentui/react-button';
import { Scenario } from './utils';
import { useForm, Controller, OnSubmit } from 'react-hook-form';
import { usePubSub, PubSubProvider, Handl... | the_stack |
import { Compare, Plot } from "@tonejs/plot";
import { expect } from "chai";
import { BasicTests, testAudioContext } from "test/helper/Basic";
import { atTime, Offline } from "test/helper/Offline";
import { SCHEDULE_RAMP_AFTER_SET_TARGET } from "test/helper/Supports";
import { BPM, Decibels, Frequency, Positive, Second... | the_stack |
import { CellPosition, toCursor } from "app/client/components/CellPosition";
import {
Disposable, dom, Emitter, Holder, IDisposable, IDisposableOwner,
IDomArgs, MultiHolder, styled, TagElem
} from "grainjs";
import { GristDoc } from "app/client/components/GristDoc";
import { ITooltipControl, showTooltip, tooltipClo... | the_stack |
import * as babelTypes from 'babel-types';
export type coreTypes = babelTypes.ArrayExpression | babelTypes.AssignmentExpression | babelTypes.BinaryExpression |
babelTypes.Directive | babelTypes.DirectiveLiteral | babelTypes.BlockStatement | babelTypes.BreakStatement |
babelTypes.CallExpression | babelTypes.Cat... | the_stack |
import * as fs from 'fs';
import * as path from 'path';
import * as crypto from 'crypto';
import { execSync } from 'child_process';
import { TextDocument } from 'vscode-languageserver-textdocument';
import {
Diagnostic, DiagnosticSeverity, DiagnosticTag, ProposedFeatures, Range, TextEdit, Files, DocumentFilter, Docum... | the_stack |
import CommonUtils from "../../utils/CommonUtils";
import { BlockRegData } from "../Define/BlockDef";
import { BlockPort } from "../Define/Port";
export default {
register,
packageName: 'Array',
version: 1,
}
function register() {
//#region 创建数组
let CreateArray = new BlockRegData("9C432A9B-25DD-49D1-C504... | the_stack |
import _debug from 'debug'
import { PubTrackEvent as PubTrackEvt, TrackKind } from '../SocketEvent'
import { WebWorker } from '../webworker'
import { config } from '../window'
const debug = _debug('peercalls')
const { peerId } = config
interface EncryptStreamEvent {
type: 'encrypt'
readable: ReadableStream<RTCEn... | the_stack |
import { Storage } from '../storage/Storage'
import { Logger } from '../utils/Logger'
import { ExposedPromise } from '../utils/exposed-promise'
import { MatrixClientStore } from './MatrixClientStore'
import { MatrixHttpClient } from './MatrixHttpClient'
import { MatrixRoom, MatrixRoomStatus } from './models/MatrixRoom'... | the_stack |
import assert from 'assert'
import { parseArgv } from './cli'
describe('CLI', () => {
describe('parseArgv', () => {
describe('input', () => {
it('--input', () => {
const argv = ['', '', '--input', 'sample.svg']
const options = parseArgv(argv)
assert.strictEqual(options.input, 'sampl... | the_stack |
import {Sparkline, ISparklineLoadedEventArgs, SparklineTooltip} from '../../src/sparkline/index';
import {removeElement, getIdElement} from '../../src/sparkline/utils/helper';
import {createElement} from '@syncfusion/ej2-base';
import { MouseEvents } from './events.spec';
import {profile , inMB, getMemoryProfile} from... | the_stack |
import {applyEdits, Edit, isPositionInsideRange, makeParseLoader, SourceRange, Warning} from 'polymer-analyzer';
import {Linter, registry, Rule} from 'polymer-linter';
import {CodeActionParams, Command, Diagnostic, DiagnosticSeverity, IConnection, TextDocuments, TextEdit, WorkspaceEdit} from 'vscode-languageserver';
i... | 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
* The resource defi... | the_stack |
interface glMatrix {
EPSILON: number;
ARRAY_TYPE: Float32Array | Array<number>;
RANDOM: () => number;
setMatrixArrayType<T>(type: T): void;
toRadian(a: number): number;
}
declare var glMatrix: glMatrix;
interface vec2 {
create(): Float32Array;
clone(a: Float32Array): Float32Array;
fromValues(x: number, y: num... | the_stack |
import ParamTypeServiceInstance from "../../sevices/ParamTypeService";
import DebugWorkProviderInstance from "../WorkProvider/DebugWorkProvider";
import CommonUtils from "../../utils/CommonUtils";
import StringUtils from "../../utils/StringUtils";
import CanvasUtils from "../../utils/CanvasUtils";
import logger from ".... | the_stack |
import { VexFlowTests, TestOptions } from './vexflow_test_helpers';
import { Articulation } from 'articulation';
import { Beam } from 'beam';
import { Flow } from 'flow';
import { Formatter } from 'formatter';
import { ContextBuilder } from 'renderer';
import { Stave } from 'stave';
import { Barline, BarlineType } from... | the_stack |
import { UserLockedAfterFailedAttemptsEvent } from "./../events";
import { SecurityService, IFieldMap, UserId } from "@bluelibs/security-bundle";
import {
IPasswordBundleConfig,
IPasswordService,
IPasswordAuthenticationStrategyCreationOptions,
IPasswordValidationOptions,
IPasswordAuthenticationStrategy,
IHa... | the_stack |
import { tuple } from "@adpt/utils";
import { WithRequiredT } from "type-ops";
import {
defaultDomain,
defaultOfficialRepo,
defaultTag,
parseFamiliar,
parseName,
parsePathTag,
parseReference,
validate,
} from "./image-ref-parse";
import { ImageIdString, ImageNameString, NameTagString, Re... | the_stack |
import { DebugFlags, UseOnigurumaFindOptions } from '../debug';
import type { LineTokens, StateStack } from './grammar';
import { disposeOnigString, FindOption, IOnigCaptureIndex, OnigString } from '../onigLib';
import { BeginEndRule, BeginWhileRule, CaptureRule, CompiledRule, endRuleId, MatchRule, Rule, RuleId, whileR... | the_stack |
import * as util from 'util';
import * as path from 'path';
import { Logger } from '@salesforce/core';
import { WorkspaceFileState, toReadableState } from './workspaceFileState';
import { AggregateSourceElement } from './aggregateSourceElement';
import { AggregateSourceElements } from './aggregateSourceElements';
impo... | the_stack |
import * as coreHttp from "@azure/core-http";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { StorageClientContext } from "../storageClientContext";
import {
ShareCreateOptionalParams,
ShareCreateResponse,
ShareGetPropertiesOptionalParams,
ShareGetPrope... | the_stack |
import { bootstrap } from "../Bootstrap";
bootstrap();
import {
of as observableOf,
zip as observableZip,
Observable,
Subject,
} from "rxjs";
import { take, first, skip } from "rxjs/operators";
import { MockCreator } from "../helper/MockCreator";
import { ImageHelper } from "../helper/ImageHelper";
imp... | the_stack |
import { Loki } from "../../src/loki";
import { Collection } from "../../src/collection";
import { Doc } from "../../../common/types";
describe("collection", () => {
interface CL {
a: number;
b: number;
}
it("works", () => {
class SubclassedCollection extends Collection {
constructor(name: str... | the_stack |
import {Area, OutputArea, LabContainer} from './areas';
import {Editor, EditorTheme} from './editor';
import {fetchBlob, DownloadRequest, DownloadResponse} from './comms';
import {getElemsByClass, getElemById, getElemsByTag}
from './dom-utils';
import {Resource, ResourceList} from './resource';
import {ServerWorker} ... | the_stack |
module android.widget {
import DataSetObserver = android.database.DataSetObserver;
import Rect = android.graphics.Rect;
import SparseArray = android.util.SparseArray;
import View = android.view.View;
import ViewGroup = android.view.ViewGroup;
import Integer = java.lang.Integer;
import System = java.lang.System;
import ... | the_stack |
import { IterableChanges, IterableChangeRecord } from '@angular/core';
import { FastIterableDiffer, FastIterableDifferFactory } from './fast-iterable-differ';
import { stringify } from './utils';
class ItemWithId {
constructor(private id: string) { }
toString() { return `{id: ${this.id}}`; }
}
class ComplexItem ... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type AuctionResultsForArtistsYouFollowContainerPaginationQueryVariables = {
first: number;
after?: string | null | undefined;
};
export type AuctionResultsForArtistsYouFollowContainerPaginationQueryResponse = {... | the_stack |
import * as THREE from 'three';
import { getRandom, getHtmlColor } from '../utils/lba';
import { SpriteType } from './data/spriteType';
import SampleType from './data/sampleType';
import { loadSprite } from './scenery/isometric/sprites';
import { clone } from 'lodash';
import { MAX_LIFE } from './GameState';
import Sc... | the_stack |
import { CoreFile } from '@services/file';
import { CoreFilepool } from '@services/filepool';
import { CoreSites } from '@services/sites';
import { CoreMimetypeUtils } from '@services/utils/mimetype';
import { CoreTextUtils } from '@services/utils/text';
import { CoreUtils } from '@services/utils/utils';
import {
C... | the_stack |
import { map, mergeMap } from 'rxjs/operators';
import { SchemaFormat } from './interface';
import { CoreSchemaRegistry, SchemaValidationException } from './registry';
import { addUndefinedDefaults } from './transforms';
describe('CoreSchemaRegistry', () => {
it('works asynchronously', (done) => {
const registry... | the_stack |
import AnchoredOperationModel from '../../lib/core/models/AnchoredOperationModel';
import CreateOperation from '../../lib/core/versions/latest/CreateOperation';
import DeactivateOperation from '../../lib/core/versions/latest/DeactivateOperation';
import DidState from '../../lib/core/models/DidState';
import Document fr... | the_stack |
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class WorkDocs e... | the_stack |
export function sortBy<T>(arr: T[], keys: Array<keyof T>): T[] {
return arr.slice().sort((a, b) => {
for (let i = 0; i < keys.length; i++) {
const key = keys[i];
if (a[key] < b[key]) return -1;
else if (a[key] > b[key]) return 1;
}
return 0;
});
}
/**
* Take out the first N items of an array
*/
exp... | the_stack |
import * as angular from 'angular';
import * as _ from "underscore";
import {AccessControlService} from '../../../services/AccessControlService';
import { RegisterTemplateServiceFactory } from '../../services/RegisterTemplateServiceFactory';
import { EntityAccessControlService } from '../../shared/entity-access-control... | the_stack |
import Fuse = require('fuse.js');
import preact = require("preact");
const { h, Component } = preact;
type DocItem = {
display_html: string
name: string
module: string
link: string
}
function loadJSON(path: string, success: (json: DocItem[]) => void, error: (xhr: XMLHttpRequest) => void) {
const xhr = new ... | the_stack |
import {createMouseEvent, emitEvent} from '../../../testing/dom/events';
import {verifyDefaultAdapter} from '../../../testing/helpers/foundation';
import {setUpFoundationTest, setUpMdcTestEnvironment} from '../../../testing/helpers/setup';
import {MDCTooltipAdapter} from '../adapter';
import {AnchorBoundaryType, attrib... | the_stack |
import { ContextMenuCreateProperties, BrowserTabsQueryInfo } from "../background/sharedTypes";
declare global {
namespace _browser.runtime {
function getManifest(): _chrome.runtime.Manifest;
}
namespace _browser.storage {
interface Get {
<S extends CRM.StorageLocal|CRM.SettingsStorage =
CRM.S... | the_stack |
import {
Hash,
Preimage,
SendTransaction,
SwapAbortTransaction,
SwapClaimTransaction,
SwapIdBytes,
SwapOfferTransaction,
UnsignedTransaction,
} from "@iov/bcp";
import {
decodeAccountConfiguration,
decodeAccountMsgFee,
decodeAmount,
decodeBlockchainAddress,
decodeChainAddressPair,
decodePar... | the_stack |
import { Parser, UnitProps } from "@itwin/core-quantity";
import { assert } from "chai";
import { LocalUnitFormatProvider } from "../quantity-formatting/LocalUnitFormatProvider";
import { OverrideFormatEntry, QuantityFormatter, QuantityType, QuantityTypeArg } from "../quantity-formatting/QuantityFormatter";
import { Be... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { VirtualMachineRunCommands } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { ComputeManagementClient } fro... | the_stack |
import { DI, IContainer, Registration } from '@aurelia/kernel';
import { StandardConfiguration, Aurelia as $Aurelia, IPlatform, IAppRoot, CustomElementType, CustomElement, IHydratedParentController } from '@aurelia/runtime-html';
import { BrowserPlatform } from '@aurelia/platform-browser';
import type { ISinglePageApp,... | the_stack |
import BN from 'bn.js'
import debug from 'debug'
import { ethers } from 'ethers'
import { LocalAddress, CryptoUtils, Address, Contracts } from '.'
import { Coin, LoomCoinTransferGateway } from './contracts'
import { IWithdrawalReceipt } from './contracts/transfer-gateway'
import { sleep, parseSigs } from './helpers'
i... | the_stack |
import { Either } from './Either'
import { Eq } from './Eq'
import { identity } from './function'
import { Magma } from './Magma'
import { Monoid } from './Monoid'
import { Option } from './Option'
import { Ord } from './Ord'
import { Predicate } from './Predicate'
import * as RS from './ReadonlySet'
import { Refinemen... | the_stack |
import '../../../test/common-test-setup-karma';
import './gr-change-list';
import {GrChangeList} from './gr-change-list';
import {GerritNav} from '../../core/gr-navigation/gr-navigation';
import {
pressKey,
query,
queryAll,
queryAndAssert,
stubFlags,
} from '../../../test/test-utils';
import {YOUR_TURN} from ... | the_stack |
import * as vscode from "vscode";
import * as fs from "fs";
import * as path from "path";
import Utils from "./utils";
import * as nls from "vscode-nls";
import { inputConnectionParameters } from "./inputConnectionParameters";
import { inputAuthenticationParameters } from "./inputAuthenticationParameters";
import { Res... | the_stack |
import { ComponentInstance } from '../component'
import { Ref, isRef, isReactive, ComputedRef } from '../reactivity'
import {
assert,
logError,
noopFn,
warn,
isFunction,
isObject,
isArray,
isPlainObject,
isSet,
isMap,
} from '../utils'
import { defineComponentInstance } from '../utils/helper'
import... | the_stack |
import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass } from "../../../api/IEngine";
import { DOMUtil } from "../../../dom/DOMUtil";
import { DOMWalker } from "../../../dom/DOMWalker";
import { FragmentUtil } from "../util/fragment";
import { RPTUtil, NodeWalker } from "../util/legacy";
... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement } from "../shared";
/**
* Statement provider for service [bugbust](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsbugbust.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/refere... | 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
* An Azure resource... | the_stack |
import {
ILogPayload,
Logger,
LoggerOutputAreaModel,
LogLevel
} from '@jupyterlab/logconsole';
import { RenderMimeRegistry } from '@jupyterlab/rendermime';
import { ISignal, Signal } from '@lumino/signaling';
class SignalLogger<SENDER, ARGS> {
constructor(signal: ISignal<SENDER, ARGS>) {
signal.connect(t... | the_stack |
'use strict';
import { localize } from 'vs/nls';
import * as platform from 'vs/base/common/platform';
import { TPromise } from 'vs/base/common/winjs.base';
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
import { Action } from 'vs/base/common/actions';
import { isPromiseCanceledError, create as create... | the_stack |
import * as React from 'react';
import { useId, useControllableValue, useConst, useSetTimeout } from '@fluentui/react-hooks';
import {
KeyCodes,
css,
getRTL,
getRTLSafeKeyCode,
on,
classNamesFunction,
getNativeProps,
divProperties,
} from '@fluentui/utilities';
import type { ISliderProps, ISliderStylePr... | the_stack |
import {
INodeProperties,
} from 'n8n-workflow';
export const timeEntryOperations: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
displayOptions: {
show: {
resource: [
'timeEntry',
],
},
},
options: [
{
name: 'Create',
value: 'create',
... | the_stack |
import XEUtils from 'xe-utils'
import { browse, hasClass, getAbsolutePos, addClass, removeClass, getEventTargetNode } from '../../tools/dom'
import { VxeGlobalHooksHandles, TableKeyboardPrivateMethods } from '../../../types/all'
function getTargetOffset (target: any, container: any) {
let offsetTop = 0
let offset... | the_stack |
import * as ts from 'typescript';
// tslint:disable-next-line:max-line-length
import {DocClass, DocExtraType, DocFunction, DocFunctionParam, DocHeading, Docs, DocSubheading} from './view';
// Mirrors the info argument to @doc in decorators.ts.
export interface DocInfo {
heading: string;
subheading: string;
name... | the_stack |
import { ProjectSyncMetadataModel } from "@plasmicapp/code-merger";
import axios, { AxiosError } from "axios";
import socketio from "socket.io-client";
import {
AuthConfig,
CodeConfig,
DEFAULT_HOST,
ImagesConfig,
StyleConfig,
} from "./utils/config-utils";
import { HandledError } from "./utils/error";
import ... | the_stack |
import * as $protobuf from 'protobufjs'
/** Properties of a Metric. */
export interface IMetric {
/** Metric xAdvance */
xAdvance?: number | null
/** Metric xOffset */
xOffset?: number | null
/** Metric yOffset */
yOffset?: number | null
}
/** Represents a Metric. */
export class Metric implements IMetri... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.