text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
describe('Tabs', () => {
beforeEach(() => {
cy.visit('/tabs');
})
describe('entry url - /tabs', () => {
it('should redirect and load tab-account', () => {
testTabTitle('Tab 1 - Page 1');
cy.testStack('ion-tabs ion-router-outlet', ['app-tabs-tab1']);
testState(1, 'account');
});
... | the_stack |
export { /*class*/ b2BlockAllocator as BlockAllocator } from "./common/b2_block_allocator.js";
export { /*abstract class*/ b2Draw as Draw } from "./common/b2_draw.js";
export { /*class*/ b2Color as Color } from "./common/b2_draw.js";
export { /*enum*/ b2DrawFlags as DrawFlags } from "./common/b2_draw.js";
export { /*in... | the_stack |
import { guessType } from './typeGuess';
import { Hashable } from './hasher';
import TypedArray = NodeJS.TypedArray;
/**
* List of functions responsible for converting certain types to string
*/
export type Stringifiers = { [key: string]: (obj: any) => string };
/**
* Prefixes that used when type coercion is disab... | the_stack |
/* eslint-enable prettier/prettier*/
import { RSocketServer } from "rsocket-core";
import RSocketTCPServer from "rsocket-tcp-server";
import { AdbHelper } from "../android/adb";
import { Single } from "rsocket-flowable";
import { appNameWithUpdateHint, buildClientId } from "./clientUtils";
import { SecureClientQuery, ... | the_stack |
export interface DeleteCfsFileSystemResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 版本控制-可用区数组
*/
export interface AvailableZone {
/**
* 可用区名称
*/
Zone: string;
/**
* 可用区ID
*/
ZoneId: number;
/**
* 可用区中文名称
... | the_stack |
import {
CompatibleTypes,
FieldKind,
FieldNullability,
FieldOptionsFromKind,
NormalizeArgs,
RootName,
SchemaTypes,
TypeParam,
} from '../types';
import RootFieldBuilder from './root';
export default class FieldBuilder<
Types extends SchemaTypes,
ParentShape,
Kind extends Exclude<FieldKind, RootNa... | the_stack |
import React, { useRef, useState } from 'react'
import { render } from '@testing-library/react'
import { useInertOthers } from './use-inert-others'
import { getByText } from '../test-utils/accessibility-assertions'
import { click } from '../test-utils/interactions'
beforeEach(() => {
jest.restoreAllMocks()
jest.sp... | the_stack |
import { ThemeTypes } from '@getstation/theme';
import * as classNames from 'classnames';
// @ts-ignore: no declaration file
import * as scrollIntoView from 'dom-scroll-into-view';
// @ts-ignore: no declaration file
import * as isBlank from 'is-blank';
import * as React from 'react';
import { findDOMNode } from 'react-... | the_stack |
import { SetStateAction, useCallback, useMemo, useState } from "react";
import {
useControlledState,
useInitialValue,
useLazyValue,
useLiveRef,
useSafeLayoutEffect,
} from "ariakit-utils/hooks";
import { applyState } from "ariakit-utils/misc";
import { useStorePublisher } from "ariakit-utils/store";
import { ... | the_stack |
import * as React from 'react';
import { ownerDocument } from '@mui/material/utils';
import { GridApiRef } from '../../../models/api/gridApiRef';
import { GridPrintExportApi } from '../../../models/api/gridPrintExportApi';
import { useGridLogger } from '../../utils/useGridLogger';
import { visibleGridRowCountSelector }... | the_stack |
import * as chai from 'chai';
import { ChaincodeStub } from 'fabric-shim';
import * as mockery from 'mockery';
import * as sinon from 'sinon';
import * as sinonChai from 'sinon-chai';
import { Roles } from '../../constants';
import { EventType, Order, OrderStatus, Policy, PolicyType, UsageEvent, Vehicle, VehicleStatus ... | the_stack |
import fs from 'fs';
import path from 'path';
import {Plugin} from 'rollup';
import execa from 'execa';
import {VM as VM2} from 'vm2';
import {AbstractLogger, InstallTarget} from '../types';
import {getWebDependencyName, isJavaScript, isRemoteUrl, isTruthy} from '../util';
import isValidIdentifier from 'is-valid-identi... | the_stack |
import 'jasmine';
import {Status} from '@pigweed/pw_status';
import {MessageCreator} from '@pigweed/pw_protobuf_compiler';
import {Message} from 'google-protobuf';
import {
PacketType,
RpcPacket,
} from 'packet_proto_tspb/packet_proto_tspb_pb/pw_rpc/internal/packet_pb';
import {ProtoCollection} from 'rpc_proto_col... | the_stack |
import { colors, fs, path, ts } from "../../../deps.ts";
import { isURL } from "../../../_util.ts";
import { DependencyType, ModuleData } from "../../plugin.ts";
import type { Import } from "../../plugin.ts";
function hasModifier(
modifiers: ts.ModifiersArray,
modifier: ts.SyntaxKind,
) {
return modifiers.find((... | the_stack |
import type * as hb from "homebridge";
import type * as hap from "hap-nodejs";
import * as miio from "miio-api";
import { PlatformAccessory } from "../platform";
import { Humidifier } from "./factory";
import { AnyCharacteristicConfig } from "./features";
import { Protocol } from "./protocols";
import { ValueOf } from... | the_stack |
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { Observable, forkJoin } from 'rxjs';
import {} from 'rxjs/Observable';
import { JhiEventManager, JhiAlertService } from 'ng-jhipster';
import { IWireTapEndpoint, WireTapEndpoint, ComponentType } from '... | the_stack |
import { Nullable } from "../../../shared/types";
import { Scene } from "babylonjs";
import { LGraphNode, LiteGraph, LLink, SerializedLGraphNode, Vector2, LGraphCanvas, WidgetCallback, IWidget } from "litegraph.js";
import { Tools } from "../tools/tools";
import { undoRedo } from "../tools/undo-redo";
import... | the_stack |
import FS from 'fs';
import Path from 'path';
import Util from 'util';
import type Stream from 'stream';
import ChildProcess from 'child_process';
import Config from '../config';
import GM from 'gm';
import Rimraf from 'rimraf';
import type { Database } from '../types';
import type { Media, SegmentMetadata } from '@vi... | the_stack |
import { Nodes } from './nodes';
import { isValidType } from './types/typeHelpers';
import { Scope } from './Scope';
export type Valtype = 'i32' | 'i64' | 'f32' | 'f64' | 'u32' | 'label';
export enum NativeTypes {
i32 = 'i32',
i64 = 'i64',
f32 = 'f32',
f64 = 'f64',
anyfunc = 'anyfunc',
func = 'func',
v... | the_stack |
import { Controller } from 'egg'
import { WxPayApiConifgKit, WX_DOMAIN, WX_API_TYPE, WxPayApiConfig, PayKit, WxPay, Kits, WX_TRADE_TYPE, SIGN_TYPE, HttpKit, RequestMethod } from 'tnwx'
import * as fs from 'fs'
import * as path from 'path'
import * as x509 from 'x509'
export default class WxPayController extends Contro... | the_stack |
// prettier-ignore
export const fontA02 = new Uint8Array([
/* 0 */ 0, 0, 0, 0, 0, 0, 0, 0,
/* 1 */ 0, 0, 0, 0, 0, 0, 0, 0,
/* 2 */ 0, 0, 0, 0, 0, 0, 0, 0,
/* 3 */ 0, 0, 0, 0, 0, 0, 0, 0,
/* 4 */ 0, 0, 0, 0, 0, 0, 0, 0,
/* 5 */ 0, 0, 0, 0, 0, 0, 0, 0,
/* 6 */ 0, 0, 0, 0, 0, 0, 0, 0,
/* 7 */ 0, 0, 0, 0, 0... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type ArtistTestsQueryVariables = {
isPad: boolean;
};
export type ArtistTestsQueryResponse = {
readonly artist: {
readonly " $fragmentRefs": FragmentRefs<"Artist_artist">;
} | null;
};
export type A... | the_stack |
export { folder, file, shell, watch, delay } from './task/global/index'
// --------------------------------------------------------------------------
// Hammer
// --------------------------------------------------------------------------
import { Cache } from './cache/index'
import { Build } from '.... | the_stack |
import { LitElement, html, customElement, property, TemplateResult, CSSResult, css, internalProperty } from 'lit-element';
import { HomeAssistant, LovelaceCardEditor, ActionConfig, LovelaceCardConfig } from 'custom-card-helpers';
import '../types.js';
import { TeslaStyleSolarPowerCardConfig } from '../models/TeslaStyl... | the_stack |
import { Injectable, Type } from '@angular/core';
import { CoreDelegate, CoreDelegateHandler } from '@classes/delegate';
import { AddonModAssignDefaultSubmissionHandler } from './handlers/default-submission';
import { AddonModAssignAssign, AddonModAssignSubmission, AddonModAssignPlugin, AddonModAssignSavePluginData } f... | the_stack |
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { Inject, Injectable, InjectionToken, Optional } from '@angular/core';
import { ReposAPIClientInterface } from './repos-api-client.interface';
import { Observable } from 'rxjs';import { DefaultHttpOptions, HttpOp... | the_stack |
import * as _ from 'lodash';
import {
Component,
ElementRef,
EventEmitter,
Injector,
Input,
OnDestroy,
OnInit,
Output,
ViewChild
} from '@angular/core';
import {StringUtil} from '@common/util/string.util';
import {AbstractPopupComponent} from '@common/component/abstract-popup.component';
import {PageR... | the_stack |
export interface Format {
/**
* Whether or not this is a known format (ie.e. not automatically created)
*/
known: boolean
/**
* The lowercase name of the format e.g. `md`, `docx`, `dockerfile`
*/
name: string
/**
* Whether or not the format should be considered binary e.g. not to be displayed i... | the_stack |
import test, { ExecutionContext } from 'ava';
import {
buildAdClick,
buildAdConversion,
buildAddToCart,
buildAdImpression,
buildConsentGranted,
buildConsentWithdrawn,
buildEcommerceTransaction,
buildEcommerceTransactionItem,
buildFormFocusOrChange,
buildFormSubmission,
buildLinkClick,
buildPageP... | the_stack |
import * as napa from "../lib/index";
import * as assert from "assert";
import * as path from "path";
type Zone = napa.zone.Zone;
describe('napajs/module', function () {
let napaZone = napa.zone.create('module-tests-zone', { workers: 1 });
describe('load', function () {
it('javascript module', () => ... | the_stack |
import firebase from "firebase/app";
import {isSameStringArray, TRASH_TAG} from "./Utils";
import * as base64js from "base64-js";
import {sha1} from "./Sha1";
import {TagSet} from "./TagSet";
import DocumentData = firebase.firestore.DocumentData;
import DocumentSnapshot = firebase.firestore.DocumentSnapshot;
import {Ba... | the_stack |
import {IModel, Model} from 'mobx-collection-store';
import IDictionary from './interfaces/IDictionary';
import IRequestOptions from './interfaces/IRequestOptions';
import * as JsonApi from './interfaces/JsonApi';
import {buildUrl, create, fetchLink, handleResponse, remove, update} from './NetworkUtils';
import {Resp... | the_stack |
import {DialogButton} from "../../../scripts/clipperUI/panels/dialogPanel";
import {RatingsPanel} from "../../../scripts/clipperUI/panels/ratingsPanel";
import {Clipper} from "../../../scripts/clipperUI/frontEndGlobals";
import {RatingsHelper, RatingsPromptStage} from "../../../scripts/clipperUI/ratingsHelper";
impor... | the_stack |
import '../../shared/gr-icons/gr-icons';
import '../gr-change-list/gr-change-list';
import '../gr-repo-header/gr-repo-header';
import '../gr-user-header/gr-user-header';
import {page} from '../../../utils/page-wrapper-utils';
import {GerritNav} from '../../core/gr-navigation/gr-navigation';
import {AppElementParams} fr... | the_stack |
var objectCreate = Object.create || objectCreatePolyfill;
var objectKeys = Object.keys || objectKeysPolyfill;
var bind = Function.prototype.bind || functionBindPolyfill;
// By default Dispatchers will print a warning if more than 10 listeners are
// added to it. This is a useful default which helps finding memory leak... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement, Operator } from "../shared";
/**
* Statement provider for service [apigateway-v2](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonapigatewaymanagementv2.html).
*
* @param sid [SID](https://docs.aws.amaz... | the_stack |
import {ExtraGlamorousProps} from './glamorous-component'
import {
CSSPropertiesCompleteSingle,
CSSPropertiesPseudo,
} from './css-properties'
import {SVGPropertiesCompleteSingle} from './svg-properties'
// The file `./named-built-in-glamorous-components.d.ts` is based off this file
// and should get any updates t... | the_stack |
import { ColorPaletteDirective } from './color-palette.directive';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpClient, HttpHandler } from '@angular/common/http';
import { ViewContainerRef, Component, DebugElement, ElementRef } from '@angular/core';
import { By } from '@angular/platfo... | the_stack |
import { CalendarWrapper } from '../lib/wrappers/CalendarWrapper'
import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper'
import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper'
import '../lib/dom-misc'
['height', 'contentHeight'].forEach((heightProp) => {
describe(heightProp, () =>... | the_stack |
import { controlsProperty, VideoBase, playsinlineProperty, mutedProperty, srcProperty, currentTimeProperty } from './common';
import { Source } from '../common';
import { knownFolders, path } from '@nativescript/core';
declare const Utils;
@NativeClass()
class NativeObject extends NSObject {
_owner: WeakRef<Video>;
p... | the_stack |
import { Collection, Model } from '@datx/core';
import * as fetch from 'isomorphic-fetch';
import {
fetchModelLink,
fetchModelRefLink,
getModelLinks,
getModelMeta,
getModelRefMeta,
jsonapi,
modelToJsonApi,
config,
} from '../../src';
import { clearAllCache } from '../../src/cache';
import { setRequest... | the_stack |
import { ChallengeRegistry } from "@connext/contracts";
import {
ILoggerService,
ChallengeEvents,
ChallengeEvent,
ChallengeEventData,
ChallengeStatus,
Address,
ContractAddressBook,
STATE_PROGRESSED_EVENT,
CHALLENGE_UPDATED_EVENT,
ChallengeUpdatedEventPayload,
StateProgressedEventPayload,
} from "@... | the_stack |
import * as path from "path";
import * as fs from "fs";
import * as assert from "assert";
import { Node } from "../../src/common/node/node";
import { ReactNativeProjectHelper } from "../../src/common/reactNativeProjectHelper";
suite("ReactNativeProjectHelper", function () {
const fsHelper = new Node.FileSystem();
... | the_stack |
import "./test-helpers/staticTime";
import { BigNumber } from "bignumber.js";
import { getCryptoCurrencyById } from "../currencies";
import {
getDates,
getBalanceHistory,
getBalanceHistoryWithCountervalue,
getPortfolio,
getCurrencyPortfolio,
getAssetsDistribution,
} from "../portfolio";
import type { Accoun... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormSalesOrderDetail_Field_Service_Information {
interface tab_address_Sections {
ship_to_address: DevKit.Controls.Section;
}
interface tab_delivery_Sections {
delivery_information: DevKit.Controls.Section;
fulfillment... | the_stack |
export interface CompilerMessageBase {
type: CompilerMessage["type"];
correlationId?: number;
}
/**
* Ask the compiler to compile a source file
*/
export interface CompileFileMessage extends CompilerMessageBase {
type: "CompileFile";
filename: string;
options?: CompilerOptions;
}
/**
* Ask the compiler t... | the_stack |
import {IApp} from '../../IApp';
import IDisplayContext = etch.drawing.IDisplayContext;
import Point = etch.primitives.Point;
import {SignalToValue} from '../../Core/Audio/Components/SignalToValue';
import {SoundCloudAudioType} from '../../Core/Audio/SoundCloud/SoundCloudAudioType';
import {SoundCloudAPI} from '../../C... | the_stack |
import { Injectable } from '@angular/core';
import { AbstractControl, FormArray, FormGroup } from '@angular/forms';
import { FormlyConfig, FormlyFieldConfig } from '@ngx-formly/core';
import { BehaviorSubject, Observable } from 'rxjs';
import { FieldsService } from './fields.service';
import { DesignerTypeOption, DESIG... | the_stack |
import { Client, TableQualifier } from "beneath";
import { sortedUniqBy } from "lodash";
import { useEffect, useState } from "react";
import { FetchMoreFunction, FetchMoreOptions } from "./shared";
const DEFAULT_PAGE_SIZE = 25;
const DEFAULT_FLASH_DURATION = 2000;
const DEFAULT_RENDER_FREQUENCY = 250;
const DEFAULT_S... | the_stack |
"use strict";
// uuid: 2460e386-36d9-49ec-afd6-30963ab2e387
// ------------------------------------------------------------------------
// Copyright (c) 2018 Alexandre Bento Freire. All rights reserved.
// Licensed under the MIT License+uuid License. See License.txt for details
// -------------------------------------... | the_stack |
import {
GetFeature,
GetFeatureRequest,
GetFeatureResponse,
GetFeaturePayload,
GetFeatureCodeRequest,
GetFeatureCodePayload,
GetFeatureCode,
GetFeatureCodeResponse,
GetFeatureDescriptionRequest,
GetFeatureDescription,
GetFeatureDescriptionPayload,
GetFeatureDescriptionResponse,
UpdateFeatureDe... | the_stack |
namespace ts.pxtc.assembler {
export let debug = false
export interface InlineError {
scope: string;
message: string;
line: string;
lineNo: number;
coremsg: string;
hints: string;
}
export interface EmitResult {
stack: number;
opcode: nu... | the_stack |
import { Autowired, Injectable } from '@opensumi/di';
import {
AppConfig,
CommandRegistry,
CorePreferences,
Deferred,
ExtensionActivateEvent,
getPreferenceLanguageId,
IClientApp,
ILogger,
Disposable,
} from '@opensumi/ide-core-browser';
import { IProgressService } from '@opensumi/ide-core-browser/lib/... | the_stack |
import {
fragment,
logging,
normalize,
Path,
PathFragment,
schema,
tags,
virtualFs,
workspaces,
} from '@angular-devkit/core';
import * as chalk from 'chalk';
import { createConsoleLogger, NodeJsSyncHost } from '@angular-devkit/core/node';
import { Stats } from 'fs';
import { detectPackageManager } fr... | the_stack |
import { XIdentity, XIdentityProperty, XBoolean, XIsEmpty, XNumber, XInputNumber, XWithConfig } from '@ng-nest/ui/core';
import { Input, Component, TemplateRef } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
import { XInputOption, XInputComponent } from '@ng-nest/ui/input';
import { XSe... | the_stack |
import React from 'react'
import { createMutator, updateMutator } from "../mutators";
import passport from 'passport'
import bcrypt from 'bcrypt'
import { createHash, randomBytes } from "crypto";
import GraphQLLocalStrategy from "./graphQLLocalStrategy";
import sha1 from 'crypto-js/sha1';
import { addGraphQLMutation, a... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
/**
* Manages a Log Analytics Storage Insights resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azure";
*
* const exampleResourceGroup = new azure.... | the_stack |
import {Component, ElementRef, Injector, OnDestroy, OnInit, ViewChild} from '@angular/core';
import {AbstractComponent} from '@common/component/abstract.component';
import {CatalogService} from '../../catalog/service/catalog.service';
import {Alert} from '@common/util/alert.util';
import {Modal} from '@common/domain/mo... | the_stack |
// *** WARNING: this file was generated by the pulumigen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as path from "../../path";
import { getVersion } from "../../utilities";
import * as yaml from "../../yaml/index";
/**
* C... | the_stack |
import { IDataSet } from '../../src/base/engine';
import { pivot_dataset } from '../base/datasource.spec';
import { PivotView } from '../../src/pivotview/base/pivotview';
import { createElement, remove, EmitType } from '@syncfusion/ej2-base';
import { GroupingBar } from '../../src/common/grouping-bar/grouping-bar';
imp... | the_stack |
'use strict';
import * as vscode from 'vscode';
import * as path from 'path';
import * as fs from 'fs-extra';
import { IBlockchainQuickPickItem, UserInputUtil } from './UserInputUtil';
import { FabricGatewayConnectionManager } from '../fabric/FabricGatewayConnectionManager';
import { TransactionTreeItem } from '../expl... | the_stack |
import * as BaseView from 'app/client/components/BaseView';
import {GristDoc} from 'app/client/components/GristDoc';
import {sortByXValues, splitValuesByIndex, uniqXValues} from 'app/client/lib/chartUtil';
import {Delay} from 'app/client/lib/Delay';
import {Disposable} from 'app/client/lib/dispose';
import {fromKoSave}... | the_stack |
import { ethers, Transaction } from 'ethers'
import {
fromHexString,
remove0x,
toHexString,
toRpcHexString,
} from '@eth-optimism/core-utils'
import { getContractInterface, predeploys } from '@eth-optimism/contracts'
import * as rlp from 'rlp'
import { MerkleTree } from 'merkletreejs'
// Number of blocks added... | the_stack |
import { Injectable } from '@angular/core';
import { Meta, MetaDefinition, Title } from '@angular/platform-browser';
import { ActivatedRoute, NavigationEnd, Router } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';
import { BehaviorSubject, combineLatest, EMPTY, Observable, of as obser... | the_stack |
import Output from 'cloudform-types/types/output';
import AppSync from 'cloudform-types/types/appSync';
import IAM from 'cloudform-types/types/iam';
import Template from 'cloudform-types/types/template';
import { Fn, StringParameter, NumberParameter, Lambda, Elasticsearch, Refs } from 'cloudform-types';
import {
Elas... | the_stack |
import * as React from 'react';
import { IEvents } from '../Events';
import { ScriptLoader } from '../ScriptLoader';
import { getTinymce } from '../TinyMCE';
import { isFunction, isTextareaOrInput, mergePlugins, uuid, configHandlers, isBeforeInputEventAvailable, isInDoc } from '../Utils';
import { EditorPropTypes, IEdi... | the_stack |
import { define } from 'elements-sk/define';
import { html } from 'lit-html';
import { ParamSet, toParamSet, fromParamSet } from 'common-sk/modules/query';
import { SelectSk } from 'elements-sk/select-sk/select-sk';
import { ElementSk } from '../ElementSk';
import {
QueryValuesSk,
QueryValuesSkQueryValuesChangedEve... | the_stack |
import { ExtensionTypes, RequestLogicTypes } from '@requestnetwork/types';
import Utils from '@requestnetwork/utils';
import Erc20FeeProxyContract from '../../../../src/extensions/payment-network/erc20/fee-proxy-contract';
import * as DataERC20FeeAddData from '../../../utils/payment-network/erc20/fee-proxy-contract-a... | the_stack |
import { mat4, vec3, vec4 } from 'gl-matrix';
import {
AccumulatePass,
AntiAliasingKernel,
BlitPass,
Camera,
Canvas,
Context,
CuboidGeometry,
DefaultFramebuffer,
EventProvider,
Framebuffer,
Invalidate,
Navigation,
Program,
Renderbuffer,
Renderer,
Shader,
... | the_stack |
var globTest:any = {};
module WinJSTests {
"use strict";
function testDefaultSurfaceChaining(flipView) {
var element = flipView.element,
surface = element.querySelector(".win-surface");
// Verify if win-surface class was applied
LiveUnit.Assert.isNotNull(surface, "win-surfa... | the_stack |
import { autoBindMethodsForReact } from 'class-autobind-decorator';
import classnames from 'classnames';
import clone from 'clone';
import React, { FC, PureComponent, ReactNode } from 'react';
import { AUTOBIND_CFG } from '../../../common/constants';
import { database as db } from '../../../common/database';
import { ... | the_stack |
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
import {
CancelRotateSecretCommand,
CancelRotateSecretCommandInput,
CancelRotateSecretCommandOutput,
} from "./commands/CancelRotateSecretCommand";
import {
CreateSecretCommand,
CreateSecretCommandInput,
CreateSecretCommandOutput,... | the_stack |
import { readFileSync } from 'fs';
import { Settings } from 'insomnia-common';
import { ErrorResult, INSOMNIA_CONFIG_FILENAME, InsomniaConfig, isErrorResult, validate } from 'insomnia-config';
import { resolve } from 'path';
import { mapObjIndexed, once } from 'ramda';
import { omitBy } from 'ramda-adjunct';
import { V... | the_stack |
import { DataManager, Query, Deferred, ReturnOption, QueryOptions } from '@syncfusion/ej2-data';
import { Workbook, getCell, CellModel, RowModel, SheetModel, setCell, getSheetIndexFromId } from '../base/index';
import { getRangeIndexes, checkIsFormula, updateSheetFromDataSource, checkDateFormat, dataSourceChanged } fro... | the_stack |
import * as React from 'react';
import { LogHelper, ErrorHelper, FormMode, DiscussionType, ApplicationPages, DateUtility, Parameters } from 'utilities';
import styles from './Question.module.scss';
import * as strings from 'QuestionsWebPartStrings';
// redux related
import { connect } from 'react-redux';
import { IAppl... | the_stack |
import * as Utils from './utils/utils.js';
let iconConstructor: (() => Element)|null = null;
export class Icon extends HTMLSpanElement {
private descriptor: Descriptor|null;
private spriteSheet: SpriteSheet|null;
private iconType: string;
constructor() {
super();
this.descriptor = null;
this.sprit... | the_stack |
import "../Operator"
import * as AR from "../Collections/Immutable/Array"
import * as Chunk from "../Collections/Immutable/Chunk"
import * as Tp from "../Collections/Immutable/Tuple"
import * as HS from "../Collections/Mutable/HashSet"
import * as T from "../Effect"
import * as ES from "../Effect/ExecutionStrategy"
im... | the_stack |
import './VSlideGroup.sass'
// Components
import VIcon from '../VIcon'
import { VFadeTransition } from '../transitions'
// Extensions
import { BaseItemGroup } from '../VItemGroup/VItemGroup'
// Mixins
import Mobile from '../../mixins/mobile'
// Directives
import Resize from '../../directives/resize'
import Touch fr... | the_stack |
namespace LiteMol.Viewer.PDBe.Validation {
import Entity = Bootstrap.Entity;
import Transformer = Bootstrap.Entity.Transformer;
export interface Report extends Entity<Entity.Behaviour.Props<Interactivity.Behaviour>> { }
export const Report = Entity.create<Entity.Behaviour.Props<Interactivity.Behavi... | the_stack |
import * as bs from "binary-search-bounds";
import PriorityQueue from "priorityqueuejs";
import semaphore from "semaphore";
import { ClientContext } from "../ClientContext";
import { logger } from "../common/logger";
import { StatusCodes, SubStatusCodes } from "../common/statusCodes";
import { FeedOptions, Response } f... | the_stack |
* Virtual Key Codes, the value does not hold any inherent meaning.
* Inspired somewhat from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
* But these are "more general", as they should work across browsers & OS`s.
*/
export const enum KeyCode {
DependsOnKbLayout = -1,
/**
* Pla... | the_stack |
import {
concat,
of,
EMPTY,
interval,
Observable,
TimeoutError,
throwError,
} from "rxjs";
import {
scan,
debounce,
debounceTime,
catchError,
switchMap,
tap,
distinctUntilChanged,
timeout,
} from "rxjs/operators";
import { useEffect, useCallback, useState } from "react";
import { log } fro... | the_stack |
import { randomBytes, RandomSource } from "@stablelib/random";
import { hash, SHA512 } from "@stablelib/sha512";
import { wipe } from "@stablelib/wipe";
export const SIGNATURE_LENGTH = 64;
export const PUBLIC_KEY_LENGTH = 32;
export const SECRET_KEY_LENGTH = 64;
export const SEED_LENGTH = 32;
// TODO(dchest): some fu... | the_stack |
import * as d3Force from 'd3-force';
// -------------------------------------------------------------------------------------
// Preparatory Steps
// -------------------------------------------------------------------------------------
interface SimNode extends d3Force.SimulationNodeDatum {
id: string;
group:... | the_stack |
import { Renderer, Shader, DEG_TO_RAD } from "pixi.js"
import { LightType } from "../../lighting/light-type"
import { StandardMaterialFeatureSet } from "./standard-material-feature-set"
import { StandardShader } from "./standard-shader"
import { Material } from "../material"
import { Camera } from "../../camera/camera"... | the_stack |
import { EventEmitter } from 'events'
import { Status, PickleFilter } from '@cucumber/cucumber'
import {
Pickle, TestCase, Envelope, TestStepResult, TestCaseStarted, GherkinDocument,
TestStepStarted, TestStepFinished, PickleStep
} from '@cucumber/messages'
import logger from '@wdio/logger'
import type { Capabil... | the_stack |
import { Rectangle } from '../../Utilities';
import { getBoundsFromTargetWindow, RectangleEdge } from './index';
import { __positioningTestPackage } from './positioning';
import { DirectionalHint } from '../../common/DirectionalHint';
import type { Point } from '../../Utilities';
import type { IElementPosition } from '... | the_stack |
// Custom Typings for Taiko - https://docs.taiko.dev/api/reference
// eslint-disable-next-line no-unused-vars
import Protocol from 'devtools-protocol';
export type Cookie = Protocol.Network.Cookie;
export type BrowserEvent =
| 'DOMContentLoaded'
| 'loadEventFired'
| 'networkAlmostIdle'
| 'networkIdle'
| 'f... | the_stack |
import * as coreClient from "@azure/core-client";
/** The response to an attestation policy operation */
export interface PolicyResponse {
/** An RFC7519 JSON Web Token structure whose body is an PolicyResult object. */
token: string;
}
/** An error response from Attestation. */
export interface CloudError {
/*... | the_stack |
import * as sinon from "sinon";
import * as Moq from "typemoq";
import { WidgetZoneId, ZonesManager, ZonesManagerProps } from "../../../appui-layout-react";
import { AdjacentZonesStrategy, BottomZones, LeftZones, RightZones, TopZones } from "../../../appui-layout-react/zones/manager/AdjacentZones";
describe("AdjacentZ... | the_stack |
import { POST, BASE_API } from '../support/constants';
import { dayjsToString } from '../support/utils';
import { artemis } from '../support/ArtemisTesting';
import { MODELING_SPACE } from '../support/pageobjects/ModelingEditor';
// https://day.js.org/docs is a tool for date/time
import dayjs from 'dayjs';
// pageobj... | the_stack |
import fs = require("fs");
import path = require("path");
import tl = require("azure-pipelines-task-lib/task");
export function extractVersion(injectversion, versionRegex, versionNumber ) {
var newVersion = versionNumber;
if (injectversion === false) {
console.log(`Extracting version number from build ... | the_stack |
import { inflateString, base64Decode, isNonEmptyArray } from './utility';
import { verifyTime } from './validator';
import libsaml from './libsaml';
import {
extract,
loginRequestFields,
loginResponseFields,
logoutRequestFields,
logoutResponseFields,
ExtractorFields,
logoutResponseStatusFields,
loginRes... | the_stack |
import Logger from '../../Logger';
import ItemChange from '../../models/ItemChange';
import Setting from '../../models/Setting';
import Note from '../../models/Note';
import BaseModel from '../../BaseModel';
import ItemChangeUtils from '../ItemChangeUtils';
import shim from '../../shim';
import filterParser from './fil... | the_stack |
import * as fs from 'fs';
import * as path from 'path';
import { PostStruct } from "../rpc/rpc-package";
import { blogDirName, blogIndexName } from '../constants';
import { PostIndexInfo, PostFile, PostBaseInfo } from './shared';
import { BlogPostFile } from './blog-post-file';
import { blogWorkspace } from './blog-wo... | the_stack |
import { PointTuple, OutNode, Edge, ForceAtlas2LayoutOptions } from "../types";
import { Base } from "../base";
import { getEdgeTerminal, isArray, isNumber, isObject } from "../../util";
import Body from './body';
import Quad from './quad';
import QuadTree from './quadTree';
export class ForceAtlas2Layout extends Base... | the_stack |
declare namespace smarthome {
/**
* Smart home intents for discovery and control of local devices.
*/
enum Intents {
/**
* Received when a [[Constants.EventType]] event is sent from the platform.
* Currently only available for BLE Seamless Setup projects. For more
* details, see [[EventHand... | the_stack |
import {
Logger, logger,
LoggingDebugSession,
StoppedEvent, OutputEvent,
Thread, Source, Module, ModuleEvent, InitializedEvent, Scope, Variable, Event, TerminatedEvent, LoadedSourceEvent
} from 'vscode-debugadapter';
import { DebugProtocol } from 'vscode-debugprotocol';
import * as path from 'path';
import * as fs ... | the_stack |
import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
import 'chrome://resources/cr_elements/shared_style_css.m.js';
import '../../prefs/prefs.js';
import '../../settings_shared_css.js';
import './privacy_review_clear_on_exit_fragment.js';
import './privacy_review_cookies_fragment.js';
import './privacy_rev... | the_stack |
import { XarcOptions } from "../config/opt2/xarc-options";
import { getDevAdminPortFromEnv } from "./utils";
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable object-shorthand, max-statements, no-magic-numbers */
/* eslint-disable no-console, no-process-exit, global-require, no-param-reassign *... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.