text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { getEle } from "../../utility/dom/getEle"; import { getAllEle } from "../../utility/dom/getAllEle"; import { setCss } from "../../utility/dom/setCss"; import { addClass } from "../../utility/dom/addClass"; import { getAttr } from "../../utility/dom/getAttr"; import { removeClass } from "../../utility/dom/r...
the_stack
import { Injectable } from '@angular/core'; import { CoreSyncBaseProvider } from '@classes/base-sync'; import { CoreComments, CoreCommentsProvider } from './comments'; import { CoreEvents } from '@singletons/events'; import { makeSingleton, Translate } from '@singletons'; import { CoreCommentsOffline } from './comments...
the_stack
import { randomBytes } from 'crypto'; import { validator } from '@liskhq/lisk-validator'; import { codec } from '@liskhq/lisk-codec'; import { getRandomBytes, hash } from '@liskhq/lisk-cryptography'; import { Transaction, transactionSchema } from '@liskhq/lisk-chain'; import { RegisterAsset } from '../../../../src/modu...
the_stack
import {launch, Request, SetCookie} from "puppeteer"; import * as url from "url"; import * as http from "http"; import {IncomingMessage} from "http"; import * as https from "https"; import * as HttpProxyAgent from 'http-proxy-agent'; import * as HttpsProxyAgent from 'https-proxy-agent'; import * as stream from "stream"...
the_stack
import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/Rx'; declare var plugins: any; declare var document: any; @Injectable() export class JPushService { private jPushPlugin: any; warnText: string = '没有找到 jPushPlugin 对象 \n也许你是在浏览器环境下运行或者没有正确安装插件; \n如果没有在Platform 的 ready 方法中调用,也会出现这样的情况...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [sso-directory](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsssodirectory.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserG...
the_stack
import { CommonModule } from '@angular/common'; import { NO_ERRORS_SCHEMA } from '@angular/core'; import { ComponentFixture, fakeAsync, inject, TestBed, tick, waitForAsync } from '@angular/core/testing'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserModule, By } from '@angular/platf...
the_stack
import { BSTNode } from 'core/node' import { eq, lt, gt, neq } from 'core/utils2' /** * @二叉搜索树(BST):是二叉树的一种,但是它只允许你在左侧节点存储(比父节点)小的值, 在右侧节点存储(比父节点)大(或者等于)的值。 */ export default class BinarySearchTree<T> { protected root: BSTNode<T> constructor() {} // 广度优先遍历的核心实现 private breadthFirstSearchNode( ...
the_stack
"use strict"; import { exec } from "child_process"; import { Gzip, createGzip } from "zlib"; import { Readable, Writable } from "stream"; import { Stats, access, constants, createReadStream, createWriteStream } from "fs"; import { FileHandle, mkdir, open, readFile, rename, stat, unlink, writeFile } from "fs/promises";...
the_stack
import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; export const OperationDisplay: msRest.CompositeMapper = { serializedName: "Operation_display", ty...
the_stack
import { EOL } from "os"; import {} from "vscode" import type { TextDocument, WorkspaceFolder, TextLine, Position, Range, StatusBarItem, Extension, TreeDataProvider, Command, TreeItemCollapsibleState } from "vscode" import { URI } from 'vscode-uri' // adapted from https://github.com/rokucommunity/vscode-brightscript-l...
the_stack
import { PathInfo } from "acebase-core"; import { IPCPeer } from "./ipc"; const SECOND = 1000; const MINUTE = 60000; const DEBUG_MODE = false; const LOCK_TIMEOUT_MS = DEBUG_MODE ? 15 * MINUTE : 90 * SECOND; type NodeKey = string|number; export abstract class NodeLockIntention { /** * The intention to read...
the_stack
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; /** * <p>Specifies whether to get notified for alarm state changes.</p> */ export interface AcknowledgeFlow { /** * <p>The value must be <code>TRUE</code> or <code>FALSE</code>. If <code>TRUE</code>, you ...
the_stack
"use strict"; import { assert } from "chai"; import * as path from "path"; import { Strings } from "../../../src/helpers/strings"; import { Undo } from "../../../src/tfvc/commands/undo"; import { TfvcError } from "../../../src/tfvc/tfvcerror"; import { IExecutionResult } from "../../../src/tfvc/interfaces"; import { T...
the_stack
import { strict as assert } from "assert"; import AWS, { AutoScaling } from "aws-sdk"; import { Subnet } from "./types"; import { log } from "@opstrace/utils"; import { autoScalingClient, ec2c, awsPromErrFilter } from "./util"; import { AWSResource } from "./resource"; class ASGRes extends AWSResource< AutoScalin...
the_stack
import type {Mutable, Class, AnyTiming} from "@swim/util"; import {Affinity, Property} from "@swim/component"; import {AnyLength, Length, AnyR2Point, R2Point, R2Box} from "@swim/math"; import {AnyGeoPoint, GeoPoint, GeoBox} from "@swim/geo"; import {AnyFont, Font, AnyColor, Color} from "@swim/style"; import {ThemeAnima...
the_stack
import * as React from "react"; import * as R from "../resources"; import { EventSubscription } from "../../core"; import { Actions, DragData } from "../actions"; import { DraggableElement, FluentToolButton, SVGImageIcon, } from "../components"; import { ContextedComponent, MainReactContext } from "../context_co...
the_stack
import { FeatureStateBaseHolder } from './feature_state_holders'; import { FeatureStateValueInterceptor, InterceptorValueMatch } from './interceptors'; import { FeatureStateHolder } from './feature_state'; import { AnalyticsCollector } from './analytics'; import { FeatureState, FeatureStateTypeTransformer, Feature...
the_stack
import { basename } from '../Util' import { vdf } from '../Parsers/Vdf' import { BspTexture, Bsp } from '../Bsp' import { Reader, ReaderDataType } from '../Reader' import { BspLightmapParser } from '../Parsers/BspLightmapParser' import { paletteWithLastTransToRGBA, paletteToRGBA } from './Util' export function parseMo...
the_stack
import { UnexpectedUndefinedError } from '../errors/internal-error'; import { ComponentItem } from '../items/component-item'; import { LayoutManager } from '../layout-manager'; import { DomConstants } from '../utils/dom-constants'; import { DragListener } from '../utils/drag-listener'; /** * Represents an individual ...
the_stack
import { Task, TaskGroup, WorkspaceFolder, RelativePattern, ShellExecution, Uri, workspace } from "vscode"; import * as path from "path"; import * as util from "../common/utils"; import * as log from "../common/log"; import { configuration } from "../common/configuration"; import { filesCache } from "../cache"; import ...
the_stack
import { Format } from "../../lib/parse"; import { Api, Auth, Trust, Infra, Rbac } from "../"; import ActionType from "./action_type"; import { State } from "./state"; import { Env } from "./envs"; import { Patch } from "rfc6902"; import Client from "."; export namespace Action { export type EnvkeyAction = Action.Cl...
the_stack
import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, Renderer2, SimpleChanges, Type } from '@angular/core'; import { GtConfig, GtConfigField, GtConfigSetting, GtEvent, GtExpandedRow, GtInformation, GtOptions, GtRenderField, GtRow, GtRowMeta, GtTexts } from '..'; import { G...
the_stack
declare function If(props: { condition: boolean | number | string } & NornJ.Childrenable): any; /** * NornJ tag `If`, example: * * `<NjIf condition={false}><input /></NjIf>` */ declare function NjIf(props: { condition: boolean | number | string } & NornJ.Childrenable): any; /** * NornJ tag `Then`, example: * *...
the_stack
import React, { useRef, useEffect } from 'react' import { useSprings, animated, SpringConfig } from 'react-spring' import { useDrag } from 'react-use-gesture' import useResizeObserver from 'use-resize-observer' type SliderProps = { children: React.ReactNode[] index: number onIndexChange: (newIndex: number) => vo...
the_stack
import { Mark, MarkType, Node as ProseMirrorNode, NodeRange, NodeType, ResolvedPos, Slice } from 'prosemirror-model'; import { AllSelection, EditorState, SelectionRange, TextSelection, Transaction } from 'prosemirror-state'; import { RemoveMarkStep } from 'prosemirror-transform'; import { EditorView } from 'prosemirror...
the_stack
import { mat4, quat, vec3, vec4 } from 'gl-matrix'; import { Component, NonFunctionProperties } from '../../ComponentManager'; export class TransformComponent extends Component<TransformComponent> { public static DIRTY = 1 << 0; public dirtyFlag: number; public localDirtyFlag: number; public parent: Transfo...
the_stack
import AWS from 'aws-sdk'; import chalk from 'chalk'; import { Listr, ListrTask, ListrTaskWrapper } from 'listr2'; import { ResourceTagMappingList } from 'aws-sdk/clients/resourcegroupstaggingapi'; import { TrickInterface } from '../types/trick.interface'; import { TrickOptionsInterface } from '../types/trick-options....
the_stack
import { MappedDataSource } from "./MappedDataSource"; import { MappedSingleSourceQueryOperation } from "./MappedSingleSourceQueryOperation"; import { MappedSingleSourceInsertionOperation } from "./MappedSingleSourceInsertionOperation"; import { MappedSingleSourceUpdateOperation } from "./MappedSingleSourceUpdateOperat...
the_stack
import * as React from 'react'; import * as tinymce from 'tinymce'; import 'tinymce/themes/silver/theme'; // Import the theme import 'tinymce/icons/default/icons'; // Import the icons require('../../../tinymce/skins/ui/oxide/skin.min.css'); require('../../../tinymce/skins/ui/oxide/content.min.css'); // Import plugins ...
the_stack
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { ATN } from "antlr4ts/atn/ATN"; import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer"; import { CharStream } from "antlr4ts/CharStream"; import { Lexer } from "antlr4ts/Lexer"; import { LexerATNSimu...
the_stack
import type {Mutable, Proto} from "@swim/util"; import {FastenerOwner, FastenerInit, FastenerClass, Fastener} from "../fastener/Fastener"; /** @public */ export interface TimerInit extends FastenerInit { extends?: {prototype: Timer<any>} | string | boolean | null; delay?: number; fire?(): void; willSchedule?...
the_stack
* The data structure representing a diff is an array of tuples: * [[DIFF_DELETE, 'Hello'], [DIFF_INSERT, 'Goodbye'], [DIFF_EQUAL, ' world.']] * which means: delete 'Hello', add 'Goodbye' and keep ' world.' */ export const DIFF_DELETE = -1; export const DIFF_INSERT = 1; export const DIFF_EQUAL = 0; export type DiffT...
the_stack
import { createSlice, PayloadAction } from "@reduxjs/toolkit"; import { addConnectionInternal, addEventToSpaceInternal, addSpaceInternal, BoardAudioType, forEachEvent, forEachEventParameter, getBoardEvent, IBoard, IBoardAudioChanges, IEventInstance, includeEventInBoardInternal, ISpace, _makeDefaultBoard } from "../boar...
the_stack
import tape from 'tape' import Common, { Chain, Hardfork } from '@ethereumjs/common' import { FeeMarketEIP1559Transaction } from '@ethereumjs/tx' import { Block } from '@ethereumjs/block' import { PeerPool } from '../../lib/net/peerpool' import { TxPool } from '../../lib/sync/txpool' import { Config } from '../../lib/c...
the_stack
import 'aurelia-polyfills' import * as DI from 'aurelia-dependency-injection' import * as Cesium from './cesium/cesium-imports' import './webvr' import { SessionService, ConnectService, LoopbackConnectService, DOMConnectService, DebugConnectService, WKWebViewConnectService, AndroidWebViewCo...
the_stack
import RedisServer from "@/models/RedisServer" import IORedis, { RedisOptions } from "ioredis" import SSH2 from "ssh2" import Net, { Socket, Server, AddressInfo } from "net" import KeyInfo from "@/models/KeyInfo" export default class RedisStore { public static async createKey(server: RedisServer, dbIndex: number, ke...
the_stack
import react_dom = require('react-dom'); import agile_keychain = require('../lib/agile_keychain'); import app_view = require('./app_view'); import assign = require('../lib/base/assign'); import autofill = require('./autofill'); import browser_access = require('./browser_access'); import dropboxvfs = require('../lib/vf...
the_stack
'use strict'; // eslint-disable-line strict import * as fs from 'fs'; import * as util from '../src/util/util'; import {createLayout, viewTypes} from '../src/util/struct_array'; import type {ViewType, StructArrayLayout} from '../src/util/struct_array'; import posAttributes from '../src/data/pos_attributes'; import ra...
the_stack
declare module 'tle.js' { /** * Generic degrees. Generally 0 to 360 degrees unless otherwise noted. */ export type Degrees = number; export type Meters = number; export type Kilometers = number; export type KilometersPerSecond = number; /** * Latitude in degrees. * Range...
the_stack
import Decimal from 'break_infinity.js'; import { GlobalVariables } from './types/Synergism'; export const Globals: GlobalVariables = { runediv: [1.5, 2, 3, 5, 8, 1, 1], runeexpbase: [1, 4, 9, 16, 1000, 1e75, 1e256], runeMaxLvl: 40000, // this shows the logarithm of costs. ex: upgrade one will cost 1e...
the_stack
module android.app{ import Bundle = android.os.Bundle; import Intent = android.content.Intent; import ViewGroup = android.view.ViewGroup; import View = android.view.View; import Animation = android.view.animation.Animation; /** * This manages the execution of the main thread in an * ...
the_stack
'use strict'; import { ITheme, IThemeService } from 'vs/platform/theme/common/themeService'; import { inputBackground, inputForeground, ColorIdentifier, selectForeground, selectBackground, selectBorder, inputBorder, foreground, editorBackground, contrastBorder, inputActiveOptionBorder, listFocusBackground, listActiveS...
the_stack
import { CanvasPanelCtrl } from './canvas-metric'; import { DistinctPoints, LegendValue } from './distinct-points'; import { isArray } from 'lodash'; import { DataQueryResponseData, LegacyResponseData, DataFrame, guessFieldTypes, toDataFrame, getTimeField, getFieldDisplayName, Field, ArrayVector, F...
the_stack
import { Internationalization, createElement, remove, extend, EventHandler, Ajax, loadCldr } from '@syncfusion/ej2-base'; import { Dialog, Popup, Tooltip } from '@syncfusion/ej2-popups'; import { ResourceDetails, Schedule, ScheduleModel, EJ2Instance, ActionEventArgs, CallbackFunction } from '../../src/schedule/index'; ...
the_stack
import * as React from 'react'; import OlStyle from 'ol/style/Style'; import OlStyleFill from 'ol/style/Fill'; import OlStyleCircle from 'ol/style/Circle'; import OlStyleStroke from 'ol/style/Stroke'; import OlMap from 'ol/Map'; import OlFeature from 'ol/Feature'; import OlSourceVector from 'ol/source/Vector'; import ...
the_stack
/// <reference types="node" /> export as namespace PizZip; export = PizZip; declare class PizZip { /** * If the browser supports them, PizZip can take advantage of some "new" features : ArrayBuffer, Blob, Uint8Array. * To know if PizZip can use them, you can check the PizZip.support object. */ ...
the_stack
import * as aws from "@pulumi/aws"; import * as pulumi from "@pulumi/pulumi"; import * as cloudwatch from "../cloudwatch"; import { LoadBalancer } from "./loadBalancer"; import { TargetGroup } from "./targetGroup"; import { ApplicationLoadBalancer, ApplicationTargetGroup } from "./application"; import { NetworkLoadB...
the_stack
import * as nls from 'vs/nls'; import * as lifecycle from 'vs/base/common/lifecycle'; import { KeyCode } from 'vs/base/common/keyCodes'; import { ScrollbarVisibility } from 'vs/base/common/scrollable'; import * as dom from 'vs/base/browser/dom'; import { IKeyboardEvent } from 'vs/base/browser/keyboardEvent'; import { C...
the_stack
import { IFormObj, FORM, IFAC1Parsed, IFAC1VertexEntry, IVTX1Vertex } from "./FORM"; import * as THREE from "three"; import { VertexNormalsHelper } from "three/examples/jsm/helpers/VertexNormalsHelper"; import { Face3, Geometry } from "three/examples/jsm/deprecated/Geometry"; import { invertColor } from "../utils/image...
the_stack
import { promisify } from 'util' import { promises as fs, statSync } from 'fs' import path from 'path' import { getFilePathInCafs, PackageFilesIndex } from '@pnpm/cafs' import createClient from '@pnpm/client' import { streamParser } from '@pnpm/logger' import createPackageRequester, { PackageFilesResponse, PackageRespo...
the_stack
import { isEIP55Address, ParsedMessage, ParsedMessageRegExp } from "@spruceid/siwe-parser"; import { providers, utils } from "ethers"; import * as uri from "valid-url"; import { SiweError, SiweErrorType, SiweResponse, VerifyOpts, VerifyOptsKeys, VerifyParams, VerifyParamsKeys } from "./types"; import { checkContractWa...
the_stack
import { AnonymousIdentity, DerEncodedPublicKey, Identity, Signature, SignIdentity, } from '@dfinity/agent'; import { isDelegationValid } from '@dfinity/authentication'; import { Delegation, DelegationChain, DelegationIdentity, Ed25519KeyIdentity, } from '@dfinity/identity'; import { Principal } from ...
the_stack
import { ObjectType, Values, ElemID, BuiltinTypes, MapType, ListType } from '@salto-io/adapter-api' // eslint-disable-next-line import { generateType, toNestedTypeName } from '../../../src/elements/ducktype' import { TYPES_PATH, SUBTYPES_PATH } from '../../../src/elements' /* eslint-disable camelcase */ const ADAPTER_...
the_stack
export const description = ''; import { makeTestGroup } from '../../../../common/framework/test_group.js'; import { assert } from '../../../../common/util/util.js'; import { kTextureFormatInfo, kSizedTextureFormats } from '../../../capability_info.js'; import { align } from '../../../util/math.js'; import { bytesInA...
the_stack
import React from 'react'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import { FixedSizeList as List } from 'react-window'; import { noop } from 'lodash'; import PaginationFoundation, { AdapterPageList, KeyDownHandler, PageList, PaginationAdapter } from '@douyinfe/semi-foundat...
the_stack
namespace colibri.ui.ide.commands { export class CommandManager { private _commandIdMap: Map<string, Command>; private _commands: Command[]; private _commandMatcherMap: Map<Command, KeyMatcher[]>; private _commandHandlerMap: Map<Command, CommandHandler[]>; private _category...
the_stack
export const ZipkinPom = `<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2015-2019 The OpenZipkin Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.o...
the_stack
import React from "react" import { I18nManager, Image, InteractionManager, PanResponderInstance, StyleSheet, TouchableOpacity, View, } from "react-native" import tinycolor from "tinycolor2" import { HsvColor, IPickerProps, Point2D } from "./typeHelpers" import { createPanResponder, rotatePoint } from "./...
the_stack
import { CAM_VIDEO_SIMULCAST_ENCODINGS } from '@xrengine/engine/src/networking/constants/VideoConstants' import { MessageTypes } from '@xrengine/engine/src/networking/enums/MessageTypes' import { MediaStreams } from '@xrengine/engine/src/networking/systems/MediaStreamSystem' import { DataProducer, Transport as MediaSou...
the_stack
import { extend } from '@syncfusion/ej2-base'; import { Grid } from '../../../src/grid/base/grid'; import { Filter } from '../../../src/grid/actions/filter'; import { Edit } from '../../../src/grid/actions/edit'; import { Group } from '../../../src/grid/actions/group'; import { Sort } from '../../../src/grid/actions/so...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace Formmsdyn_quotebookingservice_Information { interface tab__66B308CF_F821_44E8_997A_88593F18144F_Sections { _66B308CF_F821_44E8_997A_88593F18144F_COLUMN_3_SECTION_1: DevKit.Controls.Section; _66B308CF_F821_44E8_997A_88593F1814...
the_stack
declare module '~chai~assertion-error/main' { // Type definitions for assertion-error 1.0.0 // Project: https://github.com/chaijs/assertion-error // Definitions by: Bart van der Schoor <https://github.com/Bartvds> // Definitions: https://github.com/borisyankov/DefinitelyTyped export class AssertionError implements Err...
the_stack
import CommonUtils from "../../utils/CommonUtils"; import { BlockRegData } from "../Define/BlockDef"; import { BlockPort } from "../Define/Port"; export default { register, packageName: 'Set', version: 1, } function register() { //#region 创建集 let CreateSet = new BlockRegData("C3A78FF7-7A0E-D3E7-2211-CEE6...
the_stack
import * as tracing from '@opentelemetry/tracing'; import * as resources from '@opentelemetry/resources'; import * as core from '@opentelemetry/core'; import * as api from '@opentelemetry/api'; import * as proto from './trace'; import { fromProtoResource, toProtoResource } from '../../resource/v1/transform'; import { ...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utilities"; /** * > **Note:** To prevent a race condition during service deletion, make sure to set `dependsOn` to the related `aws.iam.RolePolicy`; otherwise, the policy may ...
the_stack
import React, { FormHTMLAttributes, HTMLProps, InputHTMLAttributes, Ref } from 'react'; export type TreeItemIndex = string | number; export interface TreeItem<T = any> { index: TreeItemIndex; children?: Array<TreeItemIndex>; hasChildren?: boolean; // isChildrenLoading?: boolean; canMove?: boolean; canRena...
the_stack
import fastDeepEqual from 'fast-deep-equal'; import isPlainObject from 'is-plain-object'; export const mapOrElse = ( value: any, mappingFunction: (...args: any[]) => any, orElseValue: any ) => value !== null && value !== undefined ? mappingFunction(value) : orElseValue; export function identity<T>(val: T): T ...
the_stack
import * as React from "react"; import { SchemaSelector } from "./SchemaSelector"; import { SchemaDetail } from "./SchemaDetail"; import { SchemaNewButton } from "./SchemaNewButton"; import { DragDropContext } from "react-beautiful-dnd"; import { SchemaFormModal } from "./SchemaFormModal"; import { SchemaForm } from "....
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 AuditManag...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement, Operator } from "../shared"; /** * Statement provider for service [backup](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsbackup.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuid...
the_stack
import { render, screen, waitFor, waitForElementToBeRemoved, within, } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { getProfileLinkA11yLabel } from "components/Avatar/constants"; import { Route, Switch } from "react-router-dom"; import { discussionBaseRoute, disc...
the_stack
import { Palette, PropertyExt, SVGWidget, Utility } from "@hpcc-js/common"; import { max as d3Max, mean as d3Mean, median as d3Median, min as d3Min, sum as d3Sum } from "d3-array"; import { sankey as d3Sankey, sankeyLinkHorizontal as d3SankeyLinkHorizontal } from "d3-sankey"; import { select as d3Select } from "d3-sel...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Manages an Azure Active Directory Diagnostic Setting for Azure Monitor. * * !> **Authentication** The API for this resource does not support service principal aut...
the_stack
import * as vscode from 'vscode'; import { getType, KeywordType } from './wordinfo'; export class DocInfo { static docScaned: vscode.TextDocument | undefined = undefined; static docInfoScaned: DocInfo | undefined = undefined; static getDocInfo(doc: vscode.TextDocument): DocInfo { if (DocInfo.docInf...
the_stack
import { HttpErrorResponse } from '@angular/common/http'; import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { TestBed, fakeAsync, flushMicrotasks } from '@angular/core/testing'; import { TranslatableTexts } from 'domain/opportunity/translatable-texts.model'; import ...
the_stack
import type {EChartOption, ECharts, EChartsConvertFinder} from 'echarts'; import type {HistogramData, OffsetData, OverlayData, OverlayDataItem} from '~/resource/histogram'; import LineChart, {LineChartRef} from '~/components/LineChart'; import {Modes, options as chartOptions} from '~/resource/histogram'; import React, ...
the_stack
import React, { useEffect, useRef, useContext, // useLayoutEffect } from 'react'; // import equal from 'fast-deep-equal'; // import { SongContext } from './Song'; import { TrackContext } from './Track'; import Tone from '../lib/tone'; import { usePrevious } from '../lib/hooks'; // import { MidiNote } from '../...
the_stack
import 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.js'; import 'chrome://resources/cr_elements/cr_button/cr_button.m.js'; import '../settings_shared_css.js'; import 'chrome://resources/cr_elements/icons.m.js'; import 'chrome://resources/cr_elements/shared_style_css.m.js'; import 'chrome://resources/po...
the_stack
import * as fse from 'fs-extra'; import * as path from 'path'; import { createTestActionContext } from 'vscode-azureextensiondev'; import { FuncVersion, getRandomHexString, ProjectLanguage, verifyVersionAndLanguage } from '../extension.bundle'; import { assertThrowsAsync } from './assertThrowsAsync'; import { testFolde...
the_stack
// clang-format off import {sendWithPromise} from 'chrome://resources/js/cr.m.js'; import {ChooserType,ContentSetting,ContentSettingsTypes,SiteSettingSource} from './constants.js'; // clang-format on /** * The handler will send a policy source that is similar, but not exactly the * same as a ControlledBy value. If ...
the_stack
* @fileoverview Interfaces and abstract classes for MmlNode objects * * @author dpvc@mathjax.org (Davide Cervone) */ import {Attributes, INHERIT} from './Attributes.js'; import {Property, PropertyList, Node, AbstractNode, AbstractEmptyNode, NodeClass} from '../Tree/Node.js'; import {MmlFactory} from './MmlFactory....
the_stack
// Also relies on string-extensions provided by the web-utils package. namespace com.keyman.text { export class TextTransform implements Transform { readonly insert: string; readonly deleteLeft: number; readonly deleteRight?: number; constructor(insert: string, deleteLeft: number, deleteRight?: numb...
the_stack
/// <reference types="jquery" /> /// <reference types="monaco-editor" /> // === Extensions to the window scope interface Window { /** * The official API of the Monaco editor, exposed as a global variable. */ monaco: typeof import("monaco-editor"); /** * Exposes the internal API of monaco editor. May b...
the_stack
import { TestBed, inject, waitForAsync, ComponentFixture } from '@angular/core/testing'; import 'hammerjs'; import { Component } from '@angular/core'; import { By } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { TdDataTableColumnComponent } from './data-table-column/data-table-...
the_stack
* @module Logging */ import { BentleyError, IModelStatus, LoggingMetaData } from "./BentleyError"; import { BentleyLoggerCategory } from "./BentleyLoggerCategory"; import { IDisposable } from "./Disposable"; /** Defines the *signature* for a log function. * @public */ export type LogFunction = (category: string, m...
the_stack
import { TestBed, ComponentFixture, async } from '@angular/core/testing'; import { Component, LOCALE_ID } from '@angular/core'; import { registerLocaleData } from '@angular/common'; import localeFr from '@angular/common/locales/fr'; import { DOWN_ARROW, LEFT_ARROW, UP_ARROW, RIGHT_ARROW, HOME, END, ENTER } from '@angul...
the_stack
import { WebSocketServer as CWSServer, WebSocket } from '@clusterws/cws' import * as zlib from 'zlib' import { Client } from './Client' import { Player } from './Player' import { MetaData } from './MetaData' import { Command } from './Command' import { ConnectionError } from './models/Connection.model' import { Setti...
the_stack
import * as StartPure from './Start/StartPure'; import * as StartWithReact from './Start/StartWithReact'; /* -------------- Core --------------- */ import * as ActorComponent from './Core/ActorComponent'; import * as SceneComponentCompose from './Core/SceneComponentCompose'; import * as LifeCycle from './Core/LifeCycl...
the_stack
namespace dragonBones { /** * - 2D Transform matrix. * @version DragonBones 3.0 * @language en_US */ /** * - 2D 转换矩阵。 * @version DragonBones 3.0 * @language zh_CN */ export class Matrix { /** * - The value that affects the positioning of ...
the_stack
import * as tf from '../index'; import {CHROME_ENVS, describeWithFlags} from '../jasmine_util'; import {deleteDatabase} from './indexed_db'; import {purgeLocalStorageArtifacts} from './local_storage'; // Disabled for non-Chrome browsers due to: // https://github.com/tensorflow/tfjs/issues/427 describeWithFlags('ModelM...
the_stack
import { Address, BlockInfo, ChainId, isBlockInfoPending, isBlockInfoSucceeded, isConfirmedAndSignedTransaction, isSendTransaction, SendTransaction, TokenTicker, TransactionState, UnsignedTransaction, } from "@iov/bcp"; import { Random } from "@iov/crypto"; import { fromHex } from "@iov/encoding";...
the_stack
import ThePlugin from "../main"; import AddNewPluginModal from "../ui/AddNewPluginModal"; import { grabManifestJsonFromRepository, grabReleaseFileFromRepository } from "./githubUtils"; import { normalizePath, PluginManifest, Notice } from "obsidian"; import { addBetaPluginToList } from "../ui/settings"; import { ToastM...
the_stack
module androidui.image { import Paint = android.graphics.Paint; import Rect = android.graphics.Rect; import Color = android.graphics.Color; import Drawable = android.graphics.drawable.Drawable; import Canvas = android.graphics.Canvas; export class NinePatchDrawable extends NetDrawable { ...
the_stack
import { ContainerAdapterClient } from '../../container_adapter_client' import { MasterNodeRegTestContainer } from '@defichain/testcontainers' import { ExtHTLC, HTLC, ICXClaimDFCHTLCInfo, ICXDFCHTLCInfo, ICXEXTHTLCInfo, ICXGenericResult, ICXHTLCStatus, ICXHTLCType, ICXListHTLCOptions, ICXOffer, IC...
the_stack
import { errors, statuses } from '@tanker/core'; import type { Tanker, b64string, Verification, VerificationMethod, LegacyEmailVerificationMethod } from '@tanker/core'; import { utils } from '@tanker/crypto'; import { fetch } from '@tanker/http-utils'; import { expect, uuid } from '@tanker/test-utils'; import { createP...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Standard App Version resource to create a new version of standard GAE Application. * Learn about the differences between the standard environment and the flexible ...
the_stack
import * as nls from "vscode-nls"; import * as semver from "semver"; import { QuickPickOptions, window } from "vscode"; import { ChildProcess } from "../../common/node/childProcess"; import { waitUntil } from "../../common/node/promise"; import { IDebuggableMobileTarget, MobileTarget } from "../mobileTarget"; import { ...
the_stack
import { Unsubscribe, Emitter } from 'nanoevents' /** * Action unique ID accross all nodes. * * ```js * "1564508138460 380:R7BNGAP5:px3-J3oc 0" * ``` */ export type ID = string interface PreaddListener<ListenerAction extends Action, LogMeta extends Meta> { (action: ListenerAction, meta: LogMeta): void } inte...
the_stack
import React, { useState, useMemo, useEffect, useContext, FC } from "react"; import { useTranslation } from "react-i18next"; import { useHistory, useRouteMatch } from "react-router-dom"; import { wethAddresses } from "@airswap/constants"; import { Registry, Wrapper } from "@airswap/libraries"; import { findTokensBySym...
the_stack