text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { toWorkspaceFolders, IWorkspaceIdentifier, hasWorkspaceFileExtension, UNTITLED_WORKSPACE_NAME, IResolvedWorkspace, IStoredWorkspaceFolder, isStoredWorkspaceFolder, IWorkspaceFolderCreationData, IUntitledWorkspaceInfo, getStoredWorkspaceFolder, IEnterWorkspaceResult, isUntitledWorkspace, isWorkspaceIdentifier, I...
the_stack
import { NodeTransform, TransformContext } from '../transform' import { NodeTypes, ElementTypes, CallExpression, ObjectExpression, ElementNode, DirectiveNode, ExpressionNode, ArrayExpression, createCallExpression, createArrayExpression, createObjectProperty, createSimpleExpression, createObjec...
the_stack
* @module Utils */ import { assert, compareBooleans, compareBooleansOrUndefined, compareNumbers, compareStringsOrUndefined, CompressedId64Set, Id64String, } from "@itwin/core-bentley"; import { Cartographic, DefaultSupportedTypes, GeoCoordStatus, PlanarClipMaskPriority, PlanarClipMaskSettings, RealityDa...
the_stack
import { AnyAction, createSelector, ThunkAction, ThunkDispatch } from '@reduxjs/toolkit'; import { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { QueryStatus, QuerySubState, SubscriptionOptions, QueryKeys, RootState } from '../core/apiState'; import { EndpointDefinitions, MutationDefinit...
the_stack
import test from "ava"; import { CellProvider } from "./cell_provider"; import { TransactionSkeleton, TransactionSkeletonType, } from "@ckb-lumos/helpers"; import { dao, common } from "../src"; import { predefined, Config } from "@ckb-lumos/config-manager"; const { LINA, AGGRON4 } = predefined; import { bob } from ...
the_stack
import { Entity, RELATION_API_CONSUMED_BY, RELATION_API_PROVIDED_BY, RELATION_CONSUMES_API, RELATION_DEPENDENCY_OF, RELATION_DEPENDS_ON, RELATION_HAS_PART, RELATION_PART_OF, RELATION_PROVIDES_API, } from '@backstage/catalog-model'; import { EmptyState } from '@backstage/core-components'; import { En...
the_stack
declare module "attachCustomCommands" { import * as admin from 'firebase-admin'; /** * Params for attachCustomCommand function for * attaching custom commands. */ export interface AttachCustomCommandParams { Cypress: any; cy: any; firebase: any; } /** * Ac...
the_stack
import { equal } from 'assert'; import html from '../src/markup/format/html'; import haml from '../src/markup/format/haml'; import pug from '../src/markup/format/pug'; import slim from '../src/markup/format/slim'; import parse from '../src/markup'; import createConfig, { Options } from '../src/config'; describe('Forma...
the_stack
import { escape, parse, translate, visit, Flavor, Token, TokenType } from '@daiyam/regexp'; import { ExplicitFoldingConfig } from '@zokugun/vscode.explicit-folding-api'; import { basename } from 'path'; import { commands, FoldingRange, FoldingRangeKind, FoldingRangeProvider, OutputChannel, ProviderResult, TextDocument,...
the_stack
import { ToError, ServiceClient } from './AzureServiceClient'; import { AzureEndpoint } from './azureModels'; import msRestAzure = require('./azure-arm-common'); import azureServiceClient = require('./AzureServiceClient'); import webClient = require('./webClient'); import tl = require('azure-pipelines-task-lib/task'); ...
the_stack
import {Generator, processNavigationUrls} from '../src/generator'; import {AssetGroup} from '../src/in'; import {MockFilesystem} from '../testing/mock'; describe('Generator', () => { beforeEach(() => spyOn(Date, 'now').and.returnValue(1234567890123)); it('generates a correct config', async () => { const fs = ...
the_stack
import * as cdk from '@aws-cdk/core'; import { Group } from './group'; import { AccountPrincipal, AccountRootPrincipal, AnyPrincipal, ArnPrincipal, CanonicalUserPrincipal, FederatedPrincipal, IPrincipal, PrincipalBase, PrincipalPolicyFragment, ServicePrincipal, ServicePrincipalOpts, } from './principals'; import { ...
the_stack
import {absoluteFrom, getFileSystem, PathManipulation} from '@angular/compiler-cli/src/ngtsc/file_system'; import {ɵmakeTemplateObject} from '@angular/localize'; import generate from '@babel/generator'; import {NodePath, TransformOptions, transformSync, types as t} from '../src/babel_core'; import template from '@bab...
the_stack
import { AssetType, FileSet, ShellStep, StackAsset, StackDeployment, StageDeployment, Step, Wave } from '../blueprint'; import { PipelineBase } from '../main/pipeline-base'; import { DependencyBuilders, Graph, GraphNode, GraphNodeCollection } from './graph'; import { PipelineQueries } from './pipeline-queries'; export...
the_stack
import { Texture } from './Drawing/Texture'; import { InitializeEvent, KillEvent, PreUpdateEvent, PostUpdateEvent, PreDrawEvent, PostDrawEvent, PreDebugDrawEvent, PostDebugDrawEvent, PostCollisionEvent, PreCollisionEvent, CollisionStartEvent, CollisionEndEvent, PostKillEvent, PreKillEvent, ...
the_stack
import * as assert from "assert"; import { isNode, URLBuilder, URLQuery } from "@azure/ms-rest-js"; import { Aborter } from "../lib/Aborter"; import { BlobURL } from "../lib/BlobURL"; import { BlockBlobURL } from "../lib/BlockBlobURL"; import { ContainerURL } from "../lib/ContainerURL"; import { bodyToString, getBSU, ...
the_stack
import { CommandOptions, CommandPermissions, LibTextableChannel, LibMember, LibMessage, Command, LibGuild, LibUser, LIBRARY_TYPES, LOGGER_TYPES, DB_TYPES, Utils, ALogger, ADBProvider, AxonConfig, GuildConfig, User, Member, Message, Channel, Guild, Resolver, Embed, COMMAND_EXECUTION_TYPES, LibAllowedMentions, } ...
the_stack
* @module node-opcua-address-space */ import { assert } from "node-opcua-assert"; import { NodeClass } from "node-opcua-data-model"; import { StatusCodes } from "node-opcua-status-code"; import { CallMethodResultOptions } from "node-opcua-types"; import { lowerFirstLetter } from "node-opcua-utils"; import { VariantLik...
the_stack
import "jasmine"; import { Deferred } from "../Deferred"; import { FullDuplexStream } from "../FullDuplexStream"; import { MultiplexingStream } from "../MultiplexingStream"; import { getBufferFrom } from "../Utilities"; import { startJsonRpc } from "./jsonRpcStreams"; import { timeout } from "./Timeout"; import { Chann...
the_stack
import { AxiosInstance } from 'axios' import { SdkOptions } from './config' export interface LoginCustomerInput { email: string password: string } export interface RegisterCustomerInput { email: string categories: string[] accepted_terms_and_conditions: boolean password: string } export interface ForgotP...
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'; interface Blob {} declare class MediaPackage ex...
the_stack
import type { ReactNode } from 'react'; import React, { useRef, useEffect, useState } from 'react'; import { PageHeaderWrapper } from '@ant-design/pro-layout'; import ProTable from '@ant-design/pro-table'; import type { ProColumns, ActionType } from '@ant-design/pro-table'; import { Button, Popconfirm, notificati...
the_stack
import { isNullOrUndefined } from '@syncfusion/ej2-base'; /** * `Selection` module is used to handle RTE Selections. */ export class NodeSelection { public range: Range; public rootNode: Node; public body: HTMLBodyElement; public html: string; public startContainer: number[]; public endConta...
the_stack
import 'neuroglancer/data_panel_layout.css'; import debounce from 'lodash/debounce'; import {ChunkManager} from 'neuroglancer/chunk_manager/frontend'; import {DisplayContext} from 'neuroglancer/display_context'; import {LayerManager, MouseSelectionState, SelectedLayerState, TrackableDataSelectionState} from 'neuroglan...
the_stack
import { ethers, upgrades, waffle } from "hardhat"; import { Signer, constants, BigNumber } from "ethers"; import chai from "chai"; import { solidity } from "ethereum-waffle"; import "@openzeppelin/test-helpers"; import { AlpacaToken, CakeToken, DebtToken, FairLaunch, FairLaunch__factory, MockContractContex...
the_stack
import {createElement as $, PureComponent} from 'react'; import { Linking, Platform, StyleSheet, Text, TextProps, View, ViewProps, } from 'react-native'; import {Palette} from '../global-styles/palette'; import {Dimensions} from '../global-styles/dimens'; import {Typography} from '../global-styles/typogra...
the_stack
import * as React from "react"; import { storiesOf } from "@storybook/react"; import { Gitgraph, Mode, Branch } from "@gitgraph/react"; import { GitgraphCore } from "@gitgraph/core"; import { createFixedHashGenerator, hashPrefix } from "../helpers"; storiesOf("gitgraph-react/1. Basic usage", module) .add("default",...
the_stack
import { GridLayoutBase, ItemSpec } from './grid-layout-common'; import { View } from '../../core/view'; import { layout } from '../../../utils'; export * from './grid-layout-common'; export class GridLayout extends GridLayoutBase { private helper: MeasureHelper; private columnOffsets = new Array<number>(); privat...
the_stack
import { compareDates, DateInfoBase, DateInfoBase1, DateStr, fillTo, getMonthByStep, getMonthLen, parseDate, parseTime, TimeInfo, TimeStr, } from '@livelybone/date-generator' export const dateReg = /^((\d{4})-?(\d{1,2})?-?(\d{1,2})?)/ export const timeReg = /^((\d{1,2}):?(\d{1,2})?:?(\d{1,2})?)/ ...
the_stack
import type { Keybinding } from '../public/options'; export const DEFAULT_KEYBINDINGS: Keybinding[] = [ { key: 'left', command: 'moveToPreviousChar' }, { key: 'right', command: 'moveToNextChar' }, { key: 'up', command: 'moveUp' }, { key: 'down', command: 'moveDown' }, { key: 'shift+[ArrowLeft]', command: 'e...
the_stack
import {ipcRenderer, remote} from "electron" import jwtDecode from "jwt-decode" import Workspaces from "src/js/state/Workspaces" import WorkspaceStatuses from "src/js/state/WorkspaceStatuses" import {mocked} from "ts-jest/utils" import {createZealotMock} from "zealot" import Auth0Client from "../../auth0" import {AuthT...
the_stack
// This code is written with trying new technology in mind ( virtual-dom), // and not necessarily the simplest solution. // In fact, using html directly would be easier. /// <reference path='./typings/browser.d.ts' /> import $ = require('jquery') import _ = require('lodash') import V = require('virtual-dom') let {h, ...
the_stack
import { expect } from 'chai'; import 'mocha'; import * as path from 'path'; import * as fs from 'fs'; import { TestSuiteInfo } from 'vscode-test-adapter-api'; import { isFileExists } from '../../src/utilities/fs'; import { IWorkspaceConfiguration } from '../../src/configuration/workspaceConfiguration'; import { Py...
the_stack
import React, { Children } from "react"; import { RouteComponentProps } from "react-router-dom"; import "./List.less"; import TankComponent from "../../common/component/TankComponent"; import Pager from "../../common/model/base/Pager"; import Matter from "../../common/model/matter/Matter"; import Moon from "../../commo...
the_stack
import * as React from 'react'; import identity from 'lodash/identity'; import { render, configure, cleanup, wait, fireEvent } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; import { SlugEditor } from './SlugEditor'; import { createFakeFieldAPI, createFakeLocalesAPI } from '@contentful...
the_stack
import {luma, Device, DeviceProps} from '@luma.gl/api'; import {requestAnimationFrame, cancelAnimationFrame} from '@luma.gl/api'; import {Timeline} from '../animation/timeline'; import {AnimationProps} from '../lib/animation-props'; import {Stats, Stat} from '@probe.gl/stats'; import {isBrowser} from '@probe.gl/env'; ...
the_stack
import { ModelInit, MutableModel, Schema, InternalSchema, SchemaModel, } from '../src/types'; /** * Convenience function to wait for a number of ms. * * Intended as a cheap way to wait for async operations to settle. * * @param ms number of ms to pause for */ export async function pause(ms) { return new Pr...
the_stack
module Fayde.Data { export class BindingExpressionBase extends Expression implements IPropertyPathWalkerListener { //read-only properties ParentBinding: Data.Binding; Target: DependencyObject; Property: DependencyProperty; private PropertyPathWalker: PropertyPathWalke...
the_stack
import React from 'react' import { store } from '../../../../../store' import { StoreContext } from 'storeon/react' import { object, withKnobs, select, boolean, files, text } from '@storybook/addon-knobs' import uiManagmentApi from '../../../../../api/uiManagment/uiManagmentApi' import stylesApi from '../../../../../ap...
the_stack
import { MachineCreationOptions, MachineState, } from "@abstractions/vm-core-types"; import { ICpuState } from "@abstractions/abstract-cpu"; import { KliveProcess } from "@abstractions/command-definitions"; import { CodeToInject } from "@abstractions/code-runner-service"; import { KliveAction } from "@core/state/st...
the_stack
import "mocha"; import * as expect from "expect"; import * as fs from "fs"; import * as path from "path"; import { MachineApi } from "../../../src/renderer/machines/wa-api"; import { ZxSpectrum48 } from "../../../src/renderer/machines/spectrum/ZxSpectrum48"; import { ExecuteCycleOptions, EmulationMode, SpectrumMa...
the_stack
import * as path from 'path'; import {IConfusionMatrix} from '@microsoft/bf-dispatcher'; import {MultiLabelObjectConfusionMatrixExact} from '@microsoft/bf-dispatcher'; import {MultiLabelObjectConfusionMatrixSubset} from '@microsoft/bf-dispatcher'; import {ILabelArrayAndMap} from '@microsoft/bf-dispatcher'; import {IT...
the_stack
import { of, throwError, interval, Subject } from "rxjs"; import { eachValueFrom, bufferedValuesFrom, latestValueFrom, nextValueFrom, } from ".."; import { take, finalize } from "rxjs/operators"; describe("eachValueFrom", () => { test("should work for sync observables", async () => { const source = of(1,...
the_stack
import { ComponentClass } from "react"; import Taro, { Component, Config } from "@tarojs/taro"; import { View, Image, Text, ScrollView } from "@tarojs/components"; import { AtSearchBar, AtTabs, AtTabsPane, AtIcon } from "taro-ui"; import classnames from "classnames"; import CLoading from "../../components/CLoading"; im...
the_stack
interface JQueryStatic { api: SemanticUI.Api; } interface JQuery { api: SemanticUI.Api; } declare namespace SemanticUI { interface Api { settings: ApiSettings; /** * Execute query using existing API settings */ (behavior: 'query'): JQuery; /** * ...
the_stack
import { BaseState } from "../baseState"; import { WebGlConstants, WebGlConstantsByName, WebGlConstant, WebGlConstantsByValue } from "../../types/webglConstants"; import { DrawCallTextureInputState } from "./drawCallTextureInputState"; import { DrawCallUboInputState } from "./drawCallUboInputState"; import { ProgramRec...
the_stack
import contentList from '../../resources/content_list'; import ContentType from '../../resources/content_type'; import { isLang, Lang, langToLocale } from '../../resources/languages'; import { UnreachableCode } from '../../resources/not_reached'; import ZoneInfo from '../../resources/zone_info'; import { LocaleTex...
the_stack
import passport from 'passport'; import {Strategy as LocalStrategy} from 'passport-local'; import session from 'express-session'; import sessionKnex from 'connect-session-knex'; import {Express, RequestHandler} from 'express'; import {Strategy as BearerStrategy} from 'passport-http-bearer'; import * as bcrypt from 'bcr...
the_stack
import { assert } from "node-opcua-assert"; import { BrowseDirection, NodeClass } from "node-opcua-data-model"; import { checkDebugFlag, make_debugLog } from "node-opcua-debug"; import { NodeId } from "node-opcua-nodeid"; import { Variant } from "node-opcua-variant"; import { DataType } from "node-opcua-variant"; impo...
the_stack
import type { SendOptions } from '../client'; import Device, { isBulbSysinfo } from '../device'; import type { CommonSysinfo, DeviceConstructorOptions } from '../device'; import Cloud from '../shared/cloud'; import Emeter, { RealtimeNormalized } from '../shared/emeter'; import Lighting, { LightState } from './lighting'...
the_stack
import * as vscode from 'vscode'; import { TknElementType } from '../model/element-type'; import { TknDocument } from '../model/document'; import { PipelineTask } from '../model/pipeline/pipeline-model'; import { tektonFSUri, tektonVfsProvider } from '../util/tekton-vfs'; import { TektonYamlType } from './tkn-yaml'; im...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { DisasterRecoveryConfigs } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { ServiceBusManagementClient } fr...
the_stack
import qs from 'qs'; import { createSearchClient } from '../../../test/mock/createSearchClient'; import { createWidget } from '../../../test/mock/createWidget'; import { wait } from '../../../test/utils/wait'; import type { Router, Widget, UiState, StateMapping, IndexUiState, } from '../../types'; import hist...
the_stack
import React, { useState, useRef } from 'react'; import { useQueryClient } from 'react-query'; import { T } from '@tolgee/react'; import ReactList from 'react-list'; import { createProvider } from 'tg.fixtures/createProvider'; import { components, operations } from 'tg.service/apiSchema.generated'; import { invalidate...
the_stack
import { Lexer, OPERATOR_CHARS, OPERATORS, OperatorTree, TemplateLexer, Token, TokenType } from './lexer' describe('Lexer', () => { const lexer = new Lexer() test('scans an expression', () => { lexer.reset('ab * 2') expect(lexer.peek()).toEqual({ type: TokenType.Identifier, value: 'ab' } as To...
the_stack
import uid2 = require("uid2"); import msgpack = require("notepack.io"); import { Adapter, BroadcastOptions, Room, SocketId } from "socket.io-adapter"; const debug = require("debug")("socket.io-redis"); module.exports = exports = createAdapter; /** * Request types, for messages between nodes */ enum RequestType { ...
the_stack
import { h, render } from 'preact'; import cx from 'classnames'; import type { RefinementListComponentCSSClasses } from '../../components/RefinementList/RefinementList'; import RefinementList from '../../components/RefinementList/RefinementList'; import type { RefinementListRenderState, RefinementListConnectorParam...
the_stack
import * as assert from "assert"; import { testContext, disposeTestDocumentStore } from "../../Utils/TestUtil"; import { RavenErrorType, IDocumentStore, GetCountersOperation, CreateDatabaseOperation, DeleteDatabasesOperation, IDocumentSession, DocumentCountersOperation, Count...
the_stack
import { Events, Segment, LoaderInterface, XhrSetupCallback } from "p2p-media-loader-core"; import { Manifest, Parser } from "m3u8-parser"; import { AssetsStorage } from "./engine"; const defaultSettings: SegmentManagerSettings = { forwardSegmentCount: 20, swarmId: undefined, assetsStorage: undefined, }; ...
the_stack
import { createTheme, createStyles, Grid, withStyles } from '@material-ui/core'; import * as React from 'react'; import { connect } from 'react-redux'; import { Dispatch } from 'redux'; import AltinnColumnLayout from 'app-shared/components/AltinnColumnLayout'; import AltinnSpinner from 'app-shared/components/AltinnSpin...
the_stack
import Restful from '../../'; import {FilePurpose, GetReturnFieldGroupEnum} from '../../../../enums'; import { CheckEligibilityRequest, CloseReturnRequest, CreateReturnRequest, DecideReturnRequest, EscalateRequest, GetEstimateRequest, MarkAsReceivedRequest, MarkAsShippedRequest, MarkRefundSentRequest,...
the_stack
declare namespace JQueryRoundabout { /** * Specifier for an axis. * - `x`: The horizontal axis. * - `x`: The vertical axis. */ export type Axis = "x" | "y"; /** * The animation method used when animating the roundabout. */ export type AnimationMethod = "next" | "previous"...
the_stack
import Title from 'view/title'; import TizenControlbar from 'view/controls/tizen/tizen-controlbar'; import TizenSeekbar from './tizen-seekbar'; import DisplayContainer from 'view/controls/display-container'; import PauseDisplayTemplate from 'view/controls/tizen/templates/pause-display'; import { TizenMenu } from 'view/...
the_stack
/** * @license Copyright © 2013 onwards, Andrew Whewell * All rights reserved. * * Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyri...
the_stack
import { addListeners } from '../../../../../client/addListener' import { ANIMATION_C } from '../../../../../client/animation/ANIMATION_C' import applyStyle from '../../../../../client/applyStyle' import namespaceURI from '../../../../../client/component/namespaceURI' import { Context } from '../../../../../client/cont...
the_stack
import { Smithchart, ISmithchartLoadedEventArgs } from '../../../src/smithchart/index'; import { createElement, remove } from '@syncfusion/ej2-base'; import {profile , inMB, getMemoryProfile} from '../../common.spec'; /** * Title spec */ describe('Smithchart title properties tesing', () => { beforeAll(() => { ...
the_stack
import { HttpClientTestingModule } from '@angular/common/http/testing'; import { Type } from '@angular/core'; import { discardPeriodicTasks, fakeAsync, flush, TestBed, tick, waitForAsync, } from '@angular/core/testing'; import { AuthService } from '@spartacus/core'; import { cold } from 'jasmine-marbles'; i...
the_stack
import 'reflect-metadata'; import {Rule, RuleResult, RuleTarget} from '../../../src/types'; import path = require('path'); import {expect} from 'chai'; import {RetireJsEngine, RetireJsInvocation} from '../../../src/lib/retire-js/RetireJsEngine' import * as TestOverrides from '../../test-related-lib/TestOverrides'; impo...
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://ml.googleapis.com/$discovery/rest?version=v1 /// <refere...
the_stack
import { isString, isUndefined, isNumber, includes, isNull, range, getFirstValidValue, } from '@src/helpers/utils'; import { DataToExport } from '@src/component/exportMenu'; import { HeatmapCategoriesType, TreemapSeriesType, AreaSeriesDataType, CoordinateDataType, LineSeriesDataType, RangeData...
the_stack
import nj from 'numjs' import { FaceEmbedding, log, Point, Rectangle, } from './config' import { createImageData, cropImage, distance, imageMd5, imageToData, loadImage, saveImage, toBuffer, toDataURL, } from './misc' export int...
the_stack
import { SpawnSyncReturns } from "child_process"; import { join } from "path"; import { writeToFileSync } from "./utils"; import { readFileSync, existsSync } from "fs"; import { CompanionConfig } from "./companion"; export const ATTIC = "attic"; export const TESTCASES = "testcases"; export const LANGUAGES = "languages...
the_stack
import type { LDClient as TLDClient, LDOptions as TLDOptions, } from 'launchdarkly-js-client-sdk'; import type { LDUser as TLDUser } from 'launchdarkly-js-sdk-common'; export type TFlagName = string; export type TFlagVariation = | boolean | string | number | Record<string, unknown> | unknown[]; export ty...
the_stack
import { ClassType } from '@deepkit/core'; import { expect, test } from '@jest/globals'; import { entity, t } from '../src/decorator'; import { propertiesOf, reflect, ReflectionClass, ReflectionFunction, ReflectionMethod, typeOf, valuesOf } from '../src/reflection/reflection'; import { annotateClass, assertType...
the_stack
import {HttpErrorResponse} from '@angular/common/http'; import {ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing'; import {FormsModule} from '@angular/forms'; import {MatFormFieldModule} from '@angular/material/form-field'; import {MatIconModule} from '@angular/material/icon'; import {MatInputMod...
the_stack
import * as vscode from "vscode"; import { Position, TextDocument, Uri } from "vscode"; import { Bookmark, BookmarkQuickPickItem } from "../vscode-numbered-bookmarks-core/src/bookmark"; import { NO_BOOKMARK_DEFINED } from "../vscode-numbered-bookmarks-core/src/constants"; import { Controller } from "../vscode-numbered...
the_stack
import { Trans } from "@lingui/macro"; import { i18nMark } from "@lingui/react"; import classNames from "classnames"; import { Dropdown, Form, Table } from "reactjs-components"; import { Hooks } from "PluginSDK"; import { Link } from "react-router"; import mixin from "reactjs-mixin"; import PropTypes from "prop-types";...
the_stack
"use strict"; import { ArgumentListCtx, ArrayAccessSuffixCtx, ArrayCreationDefaultInitSuffixCtx, ArrayCreationExplicitInitSuffixCtx, ArrayCreationExpressionCtx, BinaryExpressionCtx, CastExpressionCtx, ClassLiteralSuffixCtx, ClassOrInterfaceTypeToInstantiateCtx, DiamondCtx, DimExprCtx, DimExprsC...
the_stack
import { assert, log, logIf, LogLevel } from './auxiliaries'; import { GLsizei2 } from './tuples'; import { ChangeLookup } from './changelookup'; import { Context } from './context'; import { Framebuffer } from './framebuffer'; import { Initializable } from './initializable'; import { NdcFillingTriangle } from './ndcf...
the_stack
import { utilities, negative } from './utilities'; import { flatColors } from './index'; import type { Attr, Completion } from '../interfaces'; import type { Processor } from 'windicss/lib'; import type { colorObject } from 'windicss/types/interfaces'; export function generateCompletions(processor: Processor, colors:...
the_stack
import { concat as observableConcat, defer as observableDefer, interval as observableInterval, mapTo, merge as observableMerge, Observable, of as observableOf, startWith, Subject, switchMapTo, takeUntil, } from "rxjs"; import { events, onHeightWidthChange, } from "../../../../../compat"; impor...
the_stack
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql' export type Maybe<T> = T | null export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] } export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> } export type MakeM...
the_stack
import { throttle, each } from 'utils/underscore'; import { between } from 'utils/math'; import { style, transform } from 'utils/css'; import { timeFormat, timeFormatAria } from 'utils/parser'; import { addClass, removeClass, setAttribute, bounds } from 'utils/dom'; import { limit } from 'utils/function-wrappers'; impo...
the_stack
import { Action, AnyAction, isAllOf, isPlainObject } from '@reduxjs/toolkit'; import { QueryStatus } from '@reduxjs/toolkit/query'; import { QueryInfo, RtkQueryMonitorState, RtkQueryApiState, RTKQuerySubscribers, RtkQueryTag, RTKStatusFlags, RtkQueryState, MutationInfo, ApiStats, QueryTally, RtkQu...
the_stack
namespace Pandyle { export class VM<T> { protected _data: T; private _root: JQuery<HTMLElement>; public _methods: object; private _variables: object; private _defaultAlias: object; public _relationCollection: IRelationCollection; private _util: Util<T>; ...
the_stack
import * as path from 'path'; import * as fs from 'fs-extra'; import * as Debug from 'debug'; import { MetadataType } from '../metadataType'; import { TypeDefObj } from '../typeDefObj'; import { WorkspaceElement } from '../workspaceElement'; import * as PathUtil from '../sourcePathUtil'; import { DecompositionConfig }...
the_stack
import { workspace, extensions, window, WorkspaceFolder, commands } from "vscode"; import { MUSIC_TIME_EXT_ID, launch_url, MUSIC_TIME_PLUGIN_ID, MUSIC_TIME_TYPE, SOFTWARE_FOLDER, CODE_TIME_EXT_ID } from "./Constants"; import { CodyResponse, CodyResponseType } from "cody-music"; import { getItem } from "./managers/FileM...
the_stack
import { _, DefaultDialogs, Dialogs, Mustache, StringUtils } from "./brackets-modules"; import * as ErrorHandler from "./ErrorHandler"; import * as Events from "./Events"; import EventEmitter from "./EventEmitter"; import * as Git from "./git/GitCli"; import * as Git2 from "./git/Git"; import * as Preferences from "./P...
the_stack
import { debounce, includes } from 'lodash'; import { Models } from 'omnisharp-client'; import { Observable, Subject, Subscription } from 'rxjs'; import { CompositeDisposable, Disposable, IDisposable } from 'ts-disposables'; import { Omni } from '../server/omni'; interface IDecoration { destroy(): any; getMark...
the_stack
export type RecoveryId = 0 | 1 | 2 | 3; export interface RecoverableSignature { recoveryId: RecoveryId; signature: Uint8Array; } /** * An object which exposes a set of purely-functional Secp256k1 methods. * * Under the hood, this object uses a [[Secp256k1Wasm]] instance to provide it's * functionality. Becaus...
the_stack
import inRange from 'lodash/inRange'; import isUndefined from 'lodash/isUndefined'; import get from 'lodash/get'; import has from 'lodash/has'; import slice from 'lodash/slice'; import { Option } from 'baseui/select'; import { isWithinInterval } from 'date-fns'; import { ALL_FIELD_TYPES, flattenObject, } from '../...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { EncryptionScopes } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { StorageManagementClient } from "../sto...
the_stack
import { _ } from 'lodash' import { REQUEST } from '@nestjs/core' import { Injectable, Scope, Inject } from '@nestjs/common' import { QueryService } from '@nestjs-query/core' import * as tldExtract from 'tld-extract' import { createECKey } from 'ec-key' import { ConfigService } from '@nestjs/config' import { renderCha...
the_stack
'use strict' import fs from 'fs' import _ from 'lodash' import path from 'path' import semver from 'semver' import { v4 as uuidv4 } from 'uuid' import { SelfIdentity, SignalKMessageHub, WithConfig } from '../app' import { createDebug } from '../debug' import DeltaEditor from '../deltaeditor' const debug = createDebug(...
the_stack
export let UDOC:any = {}; UDOC.G = { concat : function(p:any,r:any) { for(var i=0; i<r.cmds.length; i++) p.cmds.push(r.cmds[i]); for(var i=0; i<r.crds.length; i++) p.crds.push(r.crds[i]); }, getBB : function(ps:any) { var x0=1e99, y0=1e99, x1=-x0, y1=-y0; for(var i=0; i<ps.length; i+=2) { var x=p...
the_stack
import Cartesian3 from "terriajs-cesium/Source/Core/Cartesian3"; import Cartographic from "terriajs-cesium/Source/Core/Cartographic"; import DeveloperError from "terriajs-cesium/Source/Core/DeveloperError"; import Ellipsoid from "terriajs-cesium/Source/Core/Ellipsoid"; import HeadingPitchRange from "terriajs-cesium/Sou...
the_stack
import { flatbuffers } from "flatbuffers"; import ByteBuffer = flatbuffers.ByteBuffer; import { TypedArray, TypedArrayConstructor } from "../interfaces"; import { BigIntArray, BigIntArrayConstructor } from "../interfaces"; /** @ignore */ export declare function memcpy< TTarget extends ArrayBufferView, TSource exten...
the_stack
* @packageDocumentation * @hidden */ import { DEV, EDITOR, SUPPORT_JIT, TEST } from 'internal:constants'; import { errorID, warnID, error } from '../platform/debug'; import * as js from '../utils/js'; import { getSuper } from '../utils/js'; import { BitMask } from '../value-types'; import { Enum } from '../value-typ...
the_stack
import Chart from './chart'; import dataRange from '@src/store/dataRange'; import scale from '@src/store/scale'; import gaugeAxesData from '@src/store/gaugeAxes'; import Tooltip from '@src/component/tooltip'; import GaugeSeries from '@src/component/gaugeSeries'; import Title from '@src/component/title'; import Export...
the_stack
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; import { By } from '@angular/platform-browser'; import { IconLoaderService } from '../../../index'; import { AmexioThemeSwitcherService } from '../../services/data/amexio.theme.service'; import { CommonIcon...
the_stack