text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
// ReadLaterUI is a Mojo WebUI controller and therefore needs mojo defined to
// finish running its tests.
import 'chrome://resources/mojo/mojo/public/js/mojo_bindings_lite.js';
import 'chrome://read-later.top-chrome/side_panel/bookmark_folder.js';
import {BookmarkFolderElement, FOLDER_OPEN_CHANGED_EVENT, getBookmark... | the_stack |
import {
getViewClass,
getViewMeta,
normalizeElementName,
NSVViewMeta,
} from './registry'
import { ELEMENT_REF } from './runtimeHelpers';
import { debug } from '../shared';
import { ViewBase, View, TextBase, LayoutBase, ContentView, Style, ObservableArray, EventData } from '@nativescript/core'
import {... | the_stack |
import chai from "chai";
import {
ServiceBusClientForTests,
createServiceBusClientForTests,
testPeekMsgsLength,
getRandomTestClientTypeWithSessions
} from "./utils/testutils2";
import { ServiceBusSender } from "../../src";
import { ServiceBusMessage, ServiceBusSessionReceiver } from "../../src";
import { TestCl... | the_stack |
import assert from 'assert';
import * as Ast from '../ast';
import { NotImplementedError } from '../utils/errors';
import { getScalarExpressionName } from '../utils';
import {
PointWiseOp,
StreamOp,
TableOp,
ActionOp,
RuleOp,
QueryInvocationHints,
BooleanExpressionOp,
isUnaryStreamOp,
... | the_stack |
import React, { Component } from 'react';
/*-- Apply Third-party plugins (import location should be in front of "GLOBAL STYLES") --*/
import '@/components/_plugins/_lib-bootstrap';
import '@/components/_plugins/_lib-icons';
// Slideshow
import { Swiper as SW } from '@/components/_plugins/_lib-slideshow';
/*-- Apply... | the_stack |
import path from "path";
import { partition, Subject, Subscription } from "rxjs";
import { first, takeUntil } from "rxjs/operators";
import { ClientPinVersion, Fido2SpecVersion, getLatestSpecVersion } from "../../environment";
import { Fido2Crypto } from "../crypto/crypto";
import { Options } from "../ctap2/cmd/get-inf... | the_stack |
import { ServiceContainer } from '../services/ServiceContainer';
import { IDesignItem } from './IDesignItem';
import { InstanceServiceContainer } from '../services/InstanceServiceContainer';
import { CssStyleChangeAction } from '../services/undoService/transactionItems/CssStyleChangeAction';
import { ChangeGroup } ... | the_stack |
import {
EventListUnitCopyWithin,
EventListUnitDelete,
EventListUnitFill,
EventListUnitPop,
EventListUnitPush,
EventListUnitRemove,
EventListUnitReverse,
EventListUnitSet,
EventListUnitShift,
EventListUnitSort,
EventListUnitSplice,
EventListUnitUnshift,
} from '../models/events';
import {UnitCon... | the_stack |
declare namespace spreedly {
type SpreedlyField = 'number' | 'cvv';
type SpreedlyFieldType = 'number' | 'text' | 'tel';
type SpreedlyNumberFormat = 'prettyFormat' | 'maskedFormat' | 'toggleMask';
type SpreedlyCardType = 'alelo' |
'alia' |
'american... | the_stack |
import { getTags } from '@linode/api-v4/lib/tags';
import classNames from 'classnames';
import { withSnackbar, WithSnackbarProps } from 'notistack';
import { clone } from 'ramda';
import * as React from 'react';
import { compose } from 'recompose';
import Plus from 'src/assets/icons/plusSign.svg';
import CircleProgress... | the_stack |
import { ValidationErrors, ValidatorFn, AbstractControl, FormGroup, FormControl, Validators } from '@angular/forms';
import { NumericValueType, RxwebValidators, ReactiveFormConfig, RxFormBuilder, FormGroupExtension, RxFormControl, RxFormArray } from '@rxweb/reactive-form-validators';
import { tick, fakeAsync } from '@a... | the_stack |
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import {
IEmployee,
IOrganization,
IOrganizationContact,
IOrganizationProject,
ProjectBillingEnum,
ITag,
ProjectOwnerEnum,
TaskListTypeEnum,
ContactType,
ICurren... | the_stack |
import { Constants } from './Constants';
import { Day } from './Day';
import { Locales } from './Locale';
import { Op } from './Operation';
import { Units } from './Units';
/**
* The calculated bounds of a DaySpan relative to a given day.
*/
export interface DaySpanBounds
{
/**
* The top of the span within t... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Factories } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { DataFactoryManagementClient } from "../dataFa... | the_stack |
import { ILogger, nextId, onResolve, resolveAll, Task, TaskStatus } from '@aurelia/kernel';
import { BindingMode, LifecycleFlags, Scope } from '@aurelia/runtime';
import { bindable } from '../../bindable.js';
import { INode, IRenderLocation } from '../../dom.js';
import { IPlatform } from '../../platform.js';
import { ... | the_stack |
import {
AppUserConfig, AppConfig, ServerAppPromptConfig,
ConfigIntegrationKind, ServerAppConfig } from "../models/AppConfig";
import { WindowEnvironmentKind } from "../models/WindowEnvironmentKind";
import { SdkInitError, SdkInitErrorKind } from "../errors/SdkInitError";
import SdkEnvironment from "../managers/Sdk... | the_stack |
import { $TSContext, JSONUtilities, pathManager } from 'amplify-cli-core';
import { DeploymentOp, DeploymentStep, DEPLOYMENT_META } from '../iterative-deployment';
import { DiffChanges, DiffableProject, getGQLDiff } from './utils';
import { DynamoDB, Template } from 'cloudform-types';
import { GSIChange, getGSIDiffs } ... | the_stack |
import {ElementRef, NgZone} from '@angular/core';
import {Platform, normalizePassiveListenerOptions} from '@angular/cdk/platform';
import {isFakeMousedownFromScreenReader, isFakeTouchstartFromScreenReader} from '@angular/cdk/a11y';
import {coerceElement} from '@angular/cdk/coercion';
import {RippleRef, RippleState, Rip... | the_stack |
import { ITelemetryLogger, IEvent } from "@fluidframework/common-definitions";
import { assert, performance, Deferred, TypedEventEmitter } from "@fluidframework/common-utils";
import { DocumentDeltaConnection } from "@fluidframework/driver-base";
import { DriverError } from "@fluidframework/driver-definitions";
import ... | the_stack |
import {
ConnectionStatus,
DidChangeConnectionStatusNotificationType,
DidChangeDataNotificationType,
DidChangeDocumentMarkersNotificationType,
DidChangeVersionCompatibilityNotification,
DidChangeVersionCompatibilityNotificationType,
DidEncounterMaintenanceModeNotificationType,
GetDocumentFromMarkerRequestType,
... | the_stack |
import React, { Component } from "react";
import { RouteComponentProps, withRouter } from "react-router";
import styled from "styled-components";
import api from "shared/api";
import { H } from "highlight.run";
import { Context } from "shared/Context";
import { PorterUrl, pushFiltered, pushQueryParams } from "shared/r... | the_stack |
import * as React from 'react';
import Positions from './Positions';
import { TNil } from '../../../../types';
type TWrapperProps = {
style: React.CSSProperties;
ref: (elm: HTMLDivElement) => void;
onScroll?: () => void;
};
/**
* @typedef
*/
type TListViewProps = {
/**
* Number of elements in the list.
... | the_stack |
import { CreateElement, VNode, VNodeChildren } from 'vue';
import { guessOptionText } from '../utils/inputOptions';
import TRichSelectInterface from '../types/TRichSelect';
import NormalizedOptions from '../types/NormalizedOptions';
import NormalizedOption from '../types/NormalizedOption';
import Key from '../types/Key... | the_stack |
import * as chalk from "chalk";
import { assert } from "node-opcua-assert";
import {
AccessLevelFlag,
BrowseDirection,
coerceLocalizedText,
coerceQualifiedName,
LocalizedText,
NodeClass,
ResultMask
} from "node-opcua-data-model";
import { make_warningLog } from "node-opcua-debug";
import { N... | the_stack |
import * as React from 'react';
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export interface Position {
x: number;
y: number;
}
export interface BoxModel {
// content + padding + border + margin
marginBox: Rect;
// content + padding + border
borderBox: Rect;
// ... | the_stack |
import { deepEqual } from 'assert';
import { expect } from 'chai';
import { firstValueFrom } from 'rxjs';
import { take, toArray } from 'rxjs/operators';
import { AccountRepository, MultisigRepository, NamespaceRepository, Order, RepositoryCallError } from '../../src/infrastructure';
import { AccountPaginationStreamer ... | the_stack |
import React, { useMemo } from 'react';
import PropTypes from 'prop-types';
import { Transition } from 'react-transition-group';
import { createDataProp, OneOf, isComponentType } from '@leafygreen-ui/lib';
import { useUsingKeyboardContext } from '@leafygreen-ui/leafygreen-provider';
import { isComponentGlyph } from '@l... | the_stack |
import { define } from 'elements-sk/define';
import { html } from 'lit-html';
import '../textarea-numbers-sk';
import 'elements-sk/checkbox-sk';
import 'elements-sk/select-sk';
import 'elements-sk/spinner-sk';
import 'elements-sk/icon/play-arrow-icon-sk';
import 'elements-sk/icon/pause-icon-sk';
import '../test-src-sk'... | the_stack |
import classNames from "classnames";
import * as React from "react";
import { polyfill } from "react-lifecycles-compat";
import { IconName } from "@blueprintjs/icons";
import {
AbstractPureComponent2,
Classes,
DISPLAYNAME_PREFIX,
HTMLInputProps,
IntentProps,
Intent,
Props,
IRef,
Ke... | the_stack |
import testifm = require('vso-node-api/interfaces/TestInterfaces');
import ctxm = require('./context');
import cm = require('./common');
import utilities = require('./utilities');
import buildifm = require('vso-node-api/interfaces/BuildInterfaces');
import fc = require('./filecontainerhelper');
import Q = require('q');... | the_stack |
import { FilePlanComponentBodyUpdate } from '../model/filePlanComponentBodyUpdate';
import { RMNodeBodyCreateWithRelativePath } from '../model/rMNodeBodyCreateWithRelativePath';
import { RecordCategoryChildEntry } from '../model/recordCategoryChildEntry';
import { RecordCategoryChildPaging } from '../model/recordCatego... | the_stack |
import { AirGapWalletStatus, MoonbaseProtocol } from '../../../src'
import * as keccak from '../../../src/dependencies/src/keccak-1.0.2/js'
import * as secp256k1 from '../../../src/dependencies/src/secp256k1-4.0.2/elliptic'
import { SubstrateNetwork } from '../../../src/protocols/substrate/SubstrateNetwork'
import { Te... | the_stack |
import { test } from '@japa/runner'
import 'reflect-metadata'
import { join } from 'path'
import { types } from 'util'
import { Filesystem } from '@poppinss/dev-utils'
import { Ioc } from '../src/Ioc'
import { inject } from '../src/decorators'
const fs = new Filesystem(join(__dirname, './app'))
test.group('Ioc', () ... | the_stack |
import { Rule, RuleProperty, ValidationDisplayNameAccessor } from './rule';
import { ValidationMessageParser } from './validation-message-parser';
import { Rules } from './rules';
import { validationMessages } from './validation-messages';
import { PropertyAccessorParser, PropertyAccessor } from '../property-access... | the_stack |
import { TestBed, ComponentFixture, fakeAsync, tick } from '@angular/core/testing';
import { IgxGridModule } from './grid.module';
import { IgxGridComponent } from './grid.component';
import { DebugElement } from '@angular/core';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { IgxC... | the_stack |
import { basename, isEqual, joinPath } from 'vs/base/common/resources';
import { URI } from 'vs/base/common/uri';
import { coalesce } from 'vs/base/common/arrays';
import { equals, deepClone } from 'vs/base/common/objects';
import { Promises, ResourceQueue } from 'vs/base/common/async';
import { IResolvedWorkingCopyBac... | the_stack |
import { Hummer, View, Text, Button, Toast, BasicAnimation, KeyframeAnimation } from '@hummer/hummer-front'
var board = new Array();
var added = new Array();
var score = 0;
var top = 240;
function newgame() {
//初始化棋盘格
init();
//在随机两个各自声称的数字
generateOneNumber();
generateOneNumber();
}
function ini... | the_stack |
import { Reader, Writer } from 'protobufjs/minimal';
import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from '../../../cosmos/distribution/v1beta1/distribution';
import { PageRequest, PageResponse } from '../../../cosmos/base/query/v1beta1/pagi... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* The result of the request or operation.
*/
export interface DeleteOperationResult {
/**
* The result of the operation or request... | the_stack |
import {protoManage} from "../proto/manage";
import i18n from '../base/i18n'
export module convert {
export function getColorByState(state: protoManage.State|undefined|null):string {
switch (state) {
case protoManage.State.StateNot:
return "color-state-main"
case pro... | the_stack |
import { Dic, _, __, Utils } from "../helpers/utils";
import { strings } from '../model/strings';
import { Sidebar } from '../view/sidebar';
import { Tabs, RemovedTabInfo } from '../view/tabs';
import { WelcomeScene } from '../view/scene-welcome';
import { Doc, DocType } from '../model/doc';
import { Confirm } from '..... | the_stack |
* @module Elements
*/
import { Id64String } from "@itwin/core-bentley";
import {
CalloutProps, DefinitionElementProps, ElementProps, GeometricElement2dProps, GeometricElement3dProps, GeometricModel3dProps, IModel,
InformationPartitionElementProps, ModelProps, PhysicalElementProps, PhysicalTypeProps, TypeDefinitio... | the_stack |
import * as URI from 'uri-js';
import ArrayMethods from './util/ArrayMethods';
import Did from './Did';
import DidState from '../../models/DidState';
import DocumentModel from './models/DocumentModel';
import Encoder from './Encoder';
import ErrorCode from './ErrorCode';
import InputValidator from './InputValidator';
i... | the_stack |
import '../../shared/gr-autocomplete/gr-autocomplete';
import {ServerInfo} from '../../../types/common';
import {
AutocompleteQuery,
AutocompleteSuggestion,
GrAutocomplete,
} from '../../shared/gr-autocomplete/gr-autocomplete';
import {getDocsBaseUrl} from '../../../utils/url-util';
import {MergeabilityComputatio... | the_stack |
import * as i from '@tf2autobot/tradeoffer-manager';
import SKU from '@tf2autobot/tf2-sku';
import Bot from '../../Bot';
import * as t from '../../../lib/tools/export';
import sendTradeDeclined from '../../../lib/DiscordWebhook/sendTradeDeclined';
import { KeyPrices } from '../../../classes/Pricelist';
export default ... | the_stack |
'use strict';
import * as assert from 'assert';
import * as sinon from 'sinon';
import { IRunTestContext, TestKind } from '../../src/types';
import { MarkdownString, Range, TestController, TestMessage, TestRunRequest, tests, workspace } from 'vscode';
import { JUnitRunnerResultAnalyzer } from '../../src/runners/junitR... | the_stack |
* @module Settings
*/
import { AccessToken, BentleyError, BentleyStatus } from "@itwin/core-bentley";
import { Client, request, RequestOptions, Response } from "@bentley/itwin-client";
import { SettingsAdmin, SettingsMapResult, SettingsResult, SettingsStatus } from "./SettingsAdmin";
/** Client API for the iTwin Prod... | the_stack |
import { createLogger } from '../../logger'
import { selectors as robotSelectors } from '../robot'
import { getConnectedRobot } from '../discovery'
import * as CustomLabware from '../custom-labware'
import * as SystemInfo from '../system-info'
import * as brActions from '../buildroot/constants'
import * as Sessions fro... | the_stack |
namespace vfs {
/**
* Posix-style path to the TypeScript compiler build outputs (including tsc.js, lib.d.ts, etc.)
*/
export const builtFolder = "/.ts";
/**
* Posix-style path to additional mountable folders (./tests/projects in this repo)
*/
export const projectsFolder = "... | the_stack |
'use strict';
import { statSync } from 'fs';
import * as path from 'path';
import * as crypto from 'crypto';
import * as utils from './utils';
import { EOL } from "os";
import * as log from 'fancy-log';
import * as colors from 'ansi-colors';
import * as ts from 'typescript';
import Vinyl = require('vinyl');
... | the_stack |
import { isMobile } from "../../clientUtils/Util"
import * as React from "react"
import { observable, computed, action } from "mobx"
import { observer } from "mobx-react"
import { Bounds, DEFAULT_BOUNDS } from "../../clientUtils/Bounds"
import { LoadingIndicator } from "../loadingIndicator/LoadingIndicator"
import { Fo... | the_stack |
declare const describe: any;
declare const it: any;
declare const expect: any;
declare const beforeEach: any;
import * as Immutable from "immutable";
import * as moment from "moment";
import Moment = moment.Moment;
import { collection } from "../src/collection";
import { duration } from "../src/duration";
import { ev... | the_stack |
import utils from './util';
import { List, KeyboardKeyName, ClickType } from './event';
import ftr, {
ViewController, Div, Indep, View,
Limit, Button, Text, TextNode, Clip, _CVD,
} from './index';
import * as value from './value';
import {prop} from './ctr';
import {event, EventNoticer, Event, ListItem} from './even... | the_stack |
import * as zrUtil from 'zrender/src/core/util';
import BoundingRect from 'zrender/src/core/BoundingRect';
import * as visualSolution from '../../visual/visualSolution';
import { BrushSelectableArea, makeBrushCommonSelectorForSeries } from './selector';
import * as throttleUtil from '../../util/throttle';
import BrushT... | the_stack |
import { ComponentFactory, ComponentFactoryResolver } from '@angular/core';
import { Location } from '@angular/common';
import { App } from '../components/app/app';
import { DIRECTION_BACK, NavLink, NavSegment, TransitionDoneFn, convertToViews, isNav, isTab, isTabs } from './nav-util';
import { ModuleLoader } from '..... | the_stack |
import Convert from '../convert';
import * as Utils from '../utils';
import { CancellationTokenSource } from 'vscode-jsonrpc';
import { ActiveServer } from '../server-manager';
import { filter } from 'fuzzaldrin-plus';
import {
CompletionContext,
CompletionItem,
CompletionItemKind,
CompletionList,
CompletionP... | the_stack |
import * as seedrandom from "seedrandom";
import { ENV } from "../../environment";
import * as util from "../../util";
import { TypedArray } from "../../util";
import * as broadcast_util from "../broadcast_util";
import * as concat_util from "../concat_util";
import { Conv2DInfo } from "../conv_util";
import { Array1D... | the_stack |
import type { GraphQLModel } from '@glazed/graphql-types'
import { pascalCase } from 'change-case'
import {
GraphQLBoolean,
GraphQLFloat,
GraphQLID,
GraphQLInputObjectType,
GraphQLInt,
GraphQLList,
GraphQLNonNull,
GraphQLObjectType,
GraphQLSchema,
GraphQLString,
} from 'graphql'
import type {
Grap... | the_stack |
'use strict';
import { GenericOAuth2Router } from '../common/generic-router';
import { AuthRequest, AuthResponse, IdentityProvider, EndpointDefinition, IdpOptions, LocalIdpConfig, CheckRefreshDecision, BooleanCallback, ErrorLink } from '../common/types';
import { OidcProfile, WickedUserInfo, Callback, WickedApi } from... | the_stack |
import {AttributeWithCacheKey, createAttributeWithCacheKey} from '../../../attribute-with-cache-key';
import {Graph} from '../../../graph';
import {OperatorImplementation, OperatorInitialization} from '../../../operators';
import {Tensor} from '../../../tensor';
import {ShapeUtil} from '../../../util';
import {getGlsl}... | the_stack |
import React, { useCallback, useEffect, useState } from 'react';
import { Route, Switch, Redirect, useHistory, useParams } from 'react-router-dom';
import { useDispatch } from 'react-redux';
import { BackLink, ButtonLink, Form, Popconfirm, ValidatedTextInput } from '../ui';
import CategorySelect from '../reports/categ... | the_stack |
import * as TestHelper from 'roosterjs-editor-api/test/TestHelper';
import { DEFAULT_TABLE, DEFAULT_TABLE_MERGED, EXCEL_TABLE, WORD_TABLE } from './tableData';
import { TableResize } from '../../lib/TableResize';
import {
IEditor,
PluginEvent,
PluginEventType,
DOMEventHandlerFunction,
} from 'roosterjs-... | the_stack |
import * as CloudFormation from 'aws-sdk/clients/cloudformation';
import * as CloudWatchLogs from 'aws-sdk/clients/cloudwatchlogs';
import * as AWS from 'aws-sdk/global';
import awaitSsmCommand from '../../common/functions/awaitSsmCommand';
// Name of testing stack is derived from env variable to ensure uniqueness
con... | the_stack |
import fetchMock from "fetch-mock-jest";
import { renderHook } from "@testing-library/react-hooks";
import createWrapper from "./tests/createWrapper";
import { setIndexLink } from "./tests/indexLinks";
import createInfiniteCachingClient from "./tests/createInfiniteCachingClient";
import {
useArchiveRepository,
useC... | the_stack |
This class provides everything to render the D3.js graph.
*/
/*
@license
Parts of the code in this file are based loosely on code from this repository:
https://github.com/gaguri777/d3--directed-graph-creator
In the repository, it is stated that the code is licensed under the
MIT/X license. However, the repository doe... | the_stack |
import {A_COLOR, A_POSITION, A_TEX_COORD, U_TEXTURE} from './constants';
import FrameBuffer from './FrameBuffer';
import Geometry from './Geometry';
import getUniformSetter from './get-uniform-setter';
import Label from './Label';
import Shader from './Shader';
import color2dFrag from './shaders/color-2d.frag';
import ... | the_stack |
import BigNumber from "bignumber.js";
import { BN } from "bn.js";
import * as testUtils from "./testUtils";
import { market, TOKEN_CODES } from "./testUtils";
import { OrderbookContract } from "../bindings/orderbook";
import { RenExBalancesContract } from "../bindings/ren_ex_balances";
import { RenExBrokerVerifierCon... | the_stack |
import React, { Component } from 'react'
import {
AsyncStorage,
ListView,
Image,
StyleSheet,
Text,
View,
TouchableNativeFeedback,
TouchableWithoutFeedback,
Alert,
StatusBar
} from 'react-native'
import {
getHomeURL
} from '../dao'
import {
standardColor
} from '../constant/colorConfig'
import... | the_stack |
import {
CSSResultGroup,
html,
LitElement,
PropertyValues,
TemplateResult
} from 'lit';
import { property, state } from 'lit/decorators.js';
import { createRef, ref } from 'lit/directives/ref.js';
import { styleMap } from 'lit/directives/style-map.js';
import { ifNonEmpty } from '../../base/directives';
impo... | the_stack |
import { DefaultButton, IButtonProps, ActionButton, Button, BaseButton, PrimaryButton } from 'office-ui-fabric-react/lib/Button';
import { Image } from 'office-ui-fabric-react/lib/Image';
import * as React from 'react';
import { WebApiTeam } from 'TFS/Core/Contracts';
import { WorkItem, WorkItemType } from 'TFS/WorkIte... | the_stack |
// IMPORTANT
// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually.
// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator
// Generated from: https://www.googleapis.com/discovery/v1/apis/toolresults/v1beta3/... | the_stack |
import {
Allure,
AllureGroup,
AllureRuntime,
AllureStep,
AllureTest,
AttachmentOptions,
ContentType,
ExecutableItemWrapper,
LabelName,
} from "allure-js-commons";
import { World as CucumberWorld, Formatter } from "cucumber";
import { CucumberAllureInterface } from "./CucumberAllureInterface";
import {... | the_stack |
import { Environment, HighestMigrationId } from '@mockoon/commons';
import { promises as fs } from 'fs';
import { resolve } from 'path';
import { validate as validateUUID } from 'uuid';
import { Settings } from '../../src/shared/models/settings.model';
import clipboard from '../libs/clipboard';
import dialogs from '../... | the_stack |
import { AdaptiveDialog } from './adaptiveDialog';
import { BotComponent } from 'botbuilder';
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
import { ConditionalSelector, FirstSelector, MostSpecificSelector, RandomSelector, TrueSelector } from './selectors';
import { Configuration, ServiceC... | the_stack |
describe('Toolbox', () => {
beforeEach(() => {
cy.visit('/');
cy.getByTestId('card-top').as('card-top');
cy.getByTestId('card-bottom').as('card-bottom');
cy.getByTestId('root-container').as('root-container');
cy.getByTestId('frame-container').as('frame-container');
});
describe('Test Toolbox... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
import * as Models from "../models";
import * as Mappers from "../models/dedicatedCloudServicesMappers";
import * as Parameters from "../models/parameters";
import { VMwareCloudSimpleClientContext } from "../vMwareCloud... | the_stack |
import { mount, ReactWrapper, shallow } from 'enzyme';
import React from 'react';
import { act } from 'react-dom/test-utils';
import { Else, Fallback, If, Then } from '../src';
import type { ExtendablePromise } from '../src/types';
const waitForComponentToPaint = async (wrapped: ReactWrapper) => {
await act(async ()... | the_stack |
import * as ui from "../../ui";
import * as csx from '../../base/csx';
import * as React from "react";
import * as tab from "./tab";
import { server, cast } from "../../../socket/socketClient";
import * as commands from "../../commands/commands";
import * as utils from "../../../common/utils";
import * as d3 from "d3";... | the_stack |
import {WebGLVertexArrayObject} from '../../WebGL2';
export class EXT_blend_minmax {
MAX_EXT: number;
MIN_EXT: number;
constructor(nativeInstance) {
this.MAX_EXT = nativeInstance.MAX_EXT;
this.MIN_EXT = nativeInstance.MIN_EXT;
}
}
export class ANGLE_instanced_arrays {
VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: numb... | the_stack |
import { $$log, $$hex } from "../utils/debug";
import { compress, getCompressedSize, decompress } from "../utils/compression";
import { toTiles, fromTiles } from "../utils/img/tiler";
import { RGBA5551fromRGBA32, RGBA5551toRGBA32 } from "../utils/img/RGBA5551";
import { arrayBuffersEqual, copyRange } from "../utils/arr... | the_stack |
import React from 'react';
import {Link, RouteComponentProps} from 'react-router-dom';
import {throttle} from 'lodash';
import {Channel, Presence, Socket} from 'phoenix';
import {Box, Flex} from 'theme-ui';
import {Replayer, ReplayerEvents} from 'rrweb';
import {Alert, Button, Paragraph, Text} from '../common';
import ... | the_stack |
import {each, isEqual, isObjectLike, clone, has, isNil, get} from 'lodash';
import {RootState} from '../../data/reducers';
import {polyfill} from 'react-lifecycles-compat';
import {
BasicProps,
ContainerSetDataOption, FormItemState,
runTimeType
} from '../../types';
import {TriggerEventItem} from '../Trigge... | the_stack |
import { createHeap } from "../structsGenerator/consts";
import type {
AllocatorInitOpts,
AllocatorStats,
Pow2,
AllocatorState,
} from "./functionalInterfaces";
const STATE_FREE = 0;
const STATE_USED = 1;
const STATE_TOP = 2;
const STATE_END = 3;
const STATE_ALIGN = 4;
const STATE_FLAGS = 5;
const STATE_MIN_SP... | the_stack |
declare module "@matrix-org/olm" {
export class Account {
constructor();
free(): void;
create(): void;
identity_keys(): string;
sign(message: string | Uint8Array): string;
one_time_keys(): string;
mark_keys_as_published(): void;
max_number_of_one_time_keys(): number;
generate_one_t... | the_stack |
module RongIMLib {
export class RCUploadLib {
public static _instance: RCUploadLib;
private store: any = {};
private listener: any = {};
private uploadType: string = "";
private conversationType: number;
private targetId: string;
constructor(imgOpts: an... | the_stack |
import * as cfxers from './cfxers';
import * as ethLikeCompiled from './CFX_compiled';
import {
debug,
envDefault,
memoizeThunk,
replaceableThunk,
truthyEnv,
} from './shared_impl';
import type { Env } from './shim'; // =>
import { process, window } from './shim';
import waitPort from './waitPort';
import cfx... | the_stack |
import areShallowEqual from 'are-shallow-equal';
import {useCallback, useDebugValue, useEffect, useMemo, useRef, useState} from 'react';
import ChangesCounters from '../changes_counters';
import {EMPTY_ARRAY, COMPARATOR_FALSE, SELECTOR_IDENTITY} from '../consts';
import Errors from '../errors';
import onChange from '..... | the_stack |
import * as Emscripten from "./emscripten";
// emcc -s MODULARIZE=0
// declare const Module: Module; export default Module;
// emcc -s MODULARIZE=1
export default function Module(Module?: Partial<Module>): Module;
export interface mallinfo {
arena: number;
ordblks: number;
smblks: number;
hblks: numb... | the_stack |
import nodeFetch from "node-fetch"
import * as FormData from "form-data"
import { AbortController, abortableFetch } from "abortcontroller-polyfill/dist/cjs-ponyfill"
import * as fs from "fs"
import { URLSearchParams } from "url"
import * as path from "path"
import wretch from "../../src"
import { mix } from "../../src/... | the_stack |
import { cloneDeep } from "lodash";
import sinon from "sinon";
import { pureMerge } from "coral-common/utils";
import { GQLResolver } from "coral-framework/schema";
import {
act,
createResolversStub,
CreateTestRendererParams,
findParentWithType,
replaceHistoryLocation,
toJSON,
wait,
waitForElement,
w... | the_stack |
import { newKit } from '@celo/contractkit'
import { extend, range } from 'lodash'
import { getHooks, sleep } from 'src/e2e-tests/utils'
import { privateKeyToPublicKey } from 'src/lib/generate_utils'
import { GethInstanceConfig } from 'src/lib/interfaces/geth-instance-config'
import { GethRunConfig } from 'src/lib/inter... | the_stack |
import { logger } from './local-logging';
import {
getOpenShiftInfoForProject,
getOpenShiftInfoForEnvironment,
getDeployTargetConfigsForProject,
getEnvironmentByName,
getEnvironmentsForProject
} from './api';
import {
getControllerBuildData,
sendToLagoonTasks
} from './tasks';
class NoNeedT... | 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 JobStatisticsVertexStage class.
* @constructor
* T... | the_stack |
import { tokenize, input, ParameterToken, Token, TokenKind, TokenStream } from './scanner'
import {
// Estree
UnaryOperator, BinaryOperator, NumberLiteral, NullLiteral, StringLiteral, BooleanLiteral,
Literal, Identifier, MemberExpression, UnaryExpression, UpdateExpression, BinaryExpression,
Property, O... | the_stack |
module TDev.RT {
//? A 2D matrix of numbers
//@ stem("m") enumerable serializable
export class Matrix
extends RTValue
{
private data: number[] = [];
private rowCount: number = 0;
private columnCount: number = 0;
//public exportJson(ctx: JsonExportCtx): any {
... | the_stack |
import {
useState,
useRef,
InputHTMLAttributes,
ChangeEvent,
ClipboardEvent,
DragEvent,
Fragment,
} from 'react';
import { css } from '@emotion/react';
import { Delete, Plus } from '@sumup/icons';
import { ClickEvent } from '../../types/events';
import styled, { StyleProps } from '../../styles/styled';
i... | the_stack |
import 'jest-extended';
import { DataEntity, debugLogger, times } from '@terascope/utils';
import { ESCachedStateStorage, ESStateStorageConfig } from '../src';
import {
ESBulkQuery,
ESMGetResponse,
ESGetResponse,
ESGetParams,
ESMGetParams,
} from '../src/elasticsearch-state-storage';
// TODO: this ... | the_stack |
import { expect } from 'chai';
import { backtest } from '../../lib/backtest';
import { DataFrame, IDataFrame } from 'data-forge';
import { IBar } from '../../lib/bar';
import { IStrategy, EnterPositionFn, IEntryRuleArgs, ExitPositionFn, IExitRuleArgs, TradeDirection } from '../../lib/strategy';
import * as moment from ... | the_stack |
import {
App,
MarkdownPostProcessorContext,
Plugin,
PluginSettingTab,
Setting,
FileSystemAdapter,
MarkdownRenderer,
Notice,
WorkspaceLeaf,
FileView,
TFile
} from 'obsidian';
import { spawn, exec, ChildProcess } from 'child_process';
import { v4 as uuid } from 'uuid';
import { statSync, writeFileSync, readFil... | the_stack |
import chalk from "chalk"
import fs from "fs"
import path from "path"
const LambdaSuffix = "$$lambda"
export function generateTsDef(context: CompilationUnitContext, ifs: InterfaceStat, typeRoot: string): boolean {
fs.mkdirSync(typeRoot, { recursive: true })
const references: string[] = []
const topNamespaces: R... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.