text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
abstract class Layer { public readonly element: SVGGElement; public readonly tileWidth: number; // unit: px public readonly tileHeight: number; // unit: px public readonly mapWidth: number; // unit: tile public readonly mapHeight: number; // unit: tile constructor(element: SVGGElement, tileWid...
the_stack
import { Settings, TestManager, Utils } from '@microsoft/windows-admin-center-sdk/e2e'; import { EventViewer } from '../ui/eventViewer'; TestManager.doTest<EventViewer>(new EventViewer('Tool'), (testManager, testSuite) => { let strings = require('../../assets/strings/strings.json'); testSuite.describe( ...
the_stack
import React from 'react'; import {defineMessages} from 'react-intl'; import {FormattedMessage} from 'gatsby-plugin-intl'; export const PAGE = defineMessages({ TILE: { id: 'methodology.page.title.text', defaultMessage: 'Methodology & data', description: 'methodology page title text', }, HEADING: { ...
the_stack
import { ActionReducer } from '@ngrx/store'; import { camelCase } from '../../util/case'; import { iif, isUndefined, map, noop, pipe, throwError } from '../../util/func'; import { EntityActionTypes } from '../actions/action-types'; import { CreateManySuccess, CreateSuccess } from '../actions/create-actions'; import { ...
the_stack
import type { Action, // BrowserHistory, // HashHistory, History, Location, LocationDescriptor, LocationDescriptorObject, MemoryHistory, // Path, // PartialPath, // State, // To, // Update, } from 'history'; import type { ComponentType } from 'react'; import type { SuspenseResource } from './u...
the_stack
import React, { Component } from 'react' import { StyleSheet, Text, View, Image, Dimensions, TouchableNativeFeedback, InteractionManager, ActivityIndicator, Animated, FlatList, Button } from 'react-native' import Values from 'values.js' import Ionicons from 'react-native-vector-icons/Ionicons' i...
the_stack
import * as Atk from '@gi-types/atk'; import * as cairo from '@gi-types/cairo'; import * as Clutter from '@gi-types/clutter'; import * as Cogl from '@gi-types/cogl'; import * as GDesktopEnums from '@gi-types/gdesktopenums'; import * as Gio from '@gi-types/gio'; import * as GLib from '@gi-types/glib'; import * as GObjec...
the_stack
import * as React from "react"; export interface BaseProps { /** * Additional CSS ui classes */ className?: string; /** * Use other component for composing results: <DropdownMenu component={Button}> */ component?: React.ReactType; /** * Apply default semantic UI classes for...
the_stack
export interface OAuth2PopupFlowOptions<TokenPayload extends { exp: number }> { /** * REQUIRED * The full URI of the authorization endpoint provided by the authorization server. * * e.g. `https://example.com/oauth/authorize` */ authorizationUri: string; /** * REQUIRED * The client ID of your ...
the_stack
import * as React from 'react'; import styles from './Minesweeper.module.scss'; import { IMinesweeperProps } from './IMinesweeperProps'; import { IMinesweeperState } from './IMinesweeperState'; import Tile from '../Tile/Tile'; import { FieldType as FieldType } from '../../../../enums/FieldType'; import { Coords } from ...
the_stack
import React, { ReactElement, PropsWithChildren, PropsWithoutRef, RefAttributes, WeakValidationMap, ValidationMap } from 'react'; declare type Func = (...args: any) => any; interface Noop { (): any; [key: string]: any; } declare const templateElement: Noop; declare type Obj = Record<string, unknown>; declare ...
the_stack
import * as ws from 'ws'; import * as http from 'http'; import * as https from 'https'; import * as url from 'url'; import { MuSessionId, MuSocket, MuSocketState, MuSocketSpec, MuSocketServer, MuSocketServerState, MuSocketServerSpec, } from '../socket'; import { MuScheduler } from '../../scheduler/scheduler'; ...
the_stack
describe('URLSearchParams', () => { [ {"input": "test", "output": [["test", ""]]}, {"input": "\uFEFFtest=\uFEFF", "output": [["\uFEFFtest", "\uFEFF"]]}, {"input": "%EF%BB%BFtest=%EF%BB%BF", "output": [["\uFEFFtest", "\uFEFF"]]}, {"input": '', "output": []}, {"input": 'a', "output": [['a', '']]}, ...
the_stack
import * as functions from 'firebase-functions' import * as admin from 'firebase-admin' import { map } from 'lodash' import { copyFromRTDBToFirestore, copyFromFirestoreToRTDB, copyBetweenFirestoreInstances, copyFromStorageToRTDB, copyBetweenRTDBInstances, copyFromRTDBToStorage, batchCopyBetweenRTDBInstanc...
the_stack
import { ApiDefinition, ApiSharedValueConsumers, ArgsType, EnvelopeBusMessage, EnvelopeBusMessagePurpose, FunctionPropertyNames, MessageBusClientApi, MessageBusServer, NotificationCallback, NotificationConsumer, NotificationPropertyNames, RequestConsumer, RequestPropertyNames, SharedValueCon...
the_stack
import { ChangeDataType, CreateDocumentMarkerPermalinkRequestType } from "@codestream/protocols/agent"; import { CodemarkType } from "@codestream/protocols/api"; import { CompositeDisposable, Disposable } from "atom"; import { FileLogger, LOG_DIR } from "logger"; import { SplitDiffService } from "types/package-servic...
the_stack
import {Expression} from "estree"; import {ParseException} from "../../wrangler/parse-exception"; import {SparkConstants} from "./spark-constants"; import {SparkExpressionType} from "./spark-expression-type"; declare const angular: angular.IAngularStatic; /** * Context for formatting a Spark conversion string. */ ...
the_stack
import {LOCALES} from '../locales'; export default { property: { weight: 'painotus', label: 'nimiö', fillColor: 'täyttöväri', color: 'väri', strokeColor: 'viivan väri', radius: 'säde', outline: 'ääriviiva', stroke: 'viiva', density: 'tiheys', coverage: 'kattavuus', sum: 's...
the_stack
import * as React from 'react'; import * as ReactDom from 'react-dom'; import { Version } from '@microsoft/sp-core-library'; import { IPropertyPaneConfiguration, PropertyPaneTextField } from '@microsoft/sp-property-pane'; import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base'; import * as strings from '...
the_stack
import assert from 'assert'; import Node, { SourceRange } from './base'; import { FunctionDef } from './function_def'; import { Invocation, DeviceSelector, InputParam, } from './invocation'; import { BooleanExpression } from './boolean_expression'; import { Expression, FunctionCallExpression, ...
the_stack
import { Accessibility, toolbarBehavior, ToolbarBehaviorProps, toggleButtonBehavior, IS_FOCUSABLE_ATTRIBUTE, } from '@fluentui/accessibility'; import { ComponentWithAs, compose, getElementType, getFirstFocusable, useFluentContext, useAccessibility, useStyles, useTelemetry, useUnhandledProps,...
the_stack
import { JavaArrayList, JavaBigDecimal, JavaBigInteger, JavaBoolean, JavaByte, JavaDate, JavaDouble, JavaFloat, JavaHashMap, JavaHashSet, JavaInteger, JavaLong, JavaOptional, JavaShort, JavaString } from "../../../../java-wrappers"; import { GenericsTypeMarshallingUtils } from "../Generics...
the_stack
import * as assert from 'assert'; import { join } from 'vs/base/common/path'; import { isLinux, isWindows } from 'vs/base/common/platform'; import { extUriBiasedIgnorePathCase } from 'vs/base/common/resources'; import { URI } from 'vs/base/common/uri'; import { IRawFileWorkspaceFolder, Workspace, WorkspaceFolder } from...
the_stack
import { GaxiosPromise } from 'gaxios'; import { Compute, JWT, OAuth2Client, UserRefreshClient } from 'google-auth-library'; import { APIRequestContext, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions } from 'googleapis-common'; export declare namespace admin_directory_v1 { interface Options ...
the_stack
import assert = require("assert"); import { AppSoftmaxRegressionSparse } from "../../../../../../src/model/supervised/classifier/neural_network/learner/AppSoftmaxRegressionSparse"; import { SoftmaxRegressionSparse } from "../../../../../../src/model/supervised/classifier/neural_network/learner/SoftmaxRegressionSparse"...
the_stack
import { DialogOptions, ConfirmOptions, PromptOptions, PromptResult, LoginOptions, LoginResult, ActionOptions } from './dialogs-common'; import { getLabelColor, getButtonColors, isDialogOptions, inputType, capitalizationType, DialogStrings, parseLoginOptions } from './dialogs-common'; import { android as androidApp } f...
the_stack
import {BoundingBox, CollisionGrid} from './label'; import {DataSet, Mode, OnHoverListener, OnSelectionListener, Point3D, Scatter} from './scatter'; import {shuffle} from './util'; const FONT_SIZE = 10; // Colors (in various necessary formats). const BACKGROUND_COLOR_DAY = 0xffffff; const BACKGROUND_COLOR_NIGHT = 0x0...
the_stack
import * as StellarSdk from 'stellar-base'; const masterKey = StellarSdk.Keypair.master(StellarSdk.Networks.TESTNET); // $ExpectType Keypair const sourceKey = StellarSdk.Keypair.random(); // $ExpectType Keypair const destKey = StellarSdk.Keypair.random(); const usd = new StellarSdk.Asset('USD', 'GDGU5OAPHNPU5UCLE5RDJH...
the_stack
import { ThemeColorDefinition } from '@fluentui-react-native/theme-types'; import { ApplePalette } from './appleColors.types.ios'; function getFluentUIAppleLightPalette(): ApplePalette { return { blue10: '#4F6BED', blueMagenta20: '#8764B8', blueMagenta30: '#5C2E91', communicationBlue: '#0078D4', ...
the_stack
import ez = require("TypeScript/ez") import EZ_TEST = require("./TestFramework") function mul(m: ez.Mat3, v: ez.Vec3): ez.Vec3 { let r = v.Clone(); m.TransformDirection(r); return r; } export class TestMat3 extends ez.TypescriptComponent { /* BEGIN AUTO-GENERATED: VARIABLES */ /* END AUTO-GENERAT...
the_stack
/* eslint-disable */ import * as jspb from "google-protobuf"; import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; import * as dapr_proto_common_v1_common_pb from "../../../../dapr/proto/common/v1/common_pb"; export class TopicEventRequest extends jspb.Message { getId(): string; ...
the_stack
import type {Options} from "../src/Options"; import { CREATE_STAR_EXPORT_PREFIX, ESMODULE_PREFIX, IMPORT_DEFAULT_PREFIX, IMPORT_WILDCARD_PREFIX, JSX_PREFIX, OPTIONAL_CHAIN_PREFIX, } from "./prefixes"; import {assertResult, devProps} from "./util"; function assertTypeScriptResult( code: string, expected...
the_stack
* A third-party license is embeded for some of the code in this file: * The tree layoutHelper implementation was originally copied from * "d3.js"(https://github.com/d3/d3-hierarchy) with * some modifications made for this project. * (see more details in the comment of the specific method below.) * The use of the source...
the_stack
import * as nodePath from 'path'; import { v4 as uuid } from 'uuid'; import * as vscode from 'vscode'; import { Repository } from '../api/api'; import { CommentHandler, registerCommentHandler, unregisterCommentHandler } from '../commentHandlerResolver'; import { DiffSide, IComment, IReviewThread } from '../common/comme...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { TextElement } from '../../../src/diagram/core/elements/text-element'; import { DiagramModel, DiagramElement, NodeModel } from '../../../src/diagram/index'; import { profile, inMB, getMemoryProfile } fr...
the_stack
import { CancellationToken, Hover, MarkupKind } from 'vscode-languageserver'; import { Declaration, DeclarationType } from '../analyzer/declaration'; import { convertDocStringToMarkdown, convertDocStringToPlainText } from '../analyzer/docStringConversion'; import * as ParseTreeUtils from '../analyzer/parseTreeUtils'; ...
the_stack
export function Model(arg?: { hooks?: {}, remotes?: {} }): any; export interface ModelLoopback { modelName?: string; dataSource?: { name: string; config: any; }; sharedMethod?: any; settings: any; } export interface ModelConstructor { //Event stuff// /** * @see https:/...
the_stack
import has = Reflect.has; var universe = require("../parser/tools/universe"); import core = require("../parser/wrapped-ast/parserCore"); import proxy = require("../parser/ast.core/LowLevelASTProxy"); import yaml = require("yaml-ast-parser"); import def = require("raml-definition-system"); import tsInterfaces = def.tsI...
the_stack
import React, { useCallback, useEffect, useState } from 'react' import styled from 'styled-components' import { AddRallyPointServerBody, AddRallyPointServerPayload, GetRallyPointServersPayload, RallyPointServer, UpdateRallyPointServerBody, UpdateRallyPointServerPayload, } from '../../common/rally-point' imp...
the_stack
import { promises as fs } from 'fs'; import * as path from 'path'; import * as io from '@actions/io'; import * as core from '@actions/core'; import * as github from '@actions/github'; import * as git from './git'; import { Benchmark, BenchmarkResult } from './extract'; import { Config, ToolType } from './config'; impor...
the_stack
import Bowser from 'bowser'; import { Logger } from './Logger'; import { EnhancedEventEmitter } from './EnhancedEventEmitter'; import { UnsupportedError, InvalidStateError } from './errors'; import * as utils from './utils'; import * as ortc from './ortc'; import { Transport, TransportOptions, CanProduceByKind } from '...
the_stack
import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { assert } from '@ember/debug'; import { action } from '@ember/object'; import { next } from '@ember/runloop'; import * as Classes from '../../_private/common/classes'; import * as Keys from '../../_private/common/keys'; i...
the_stack
import { Component, h, RenderableProps } from 'preact'; import { route } from 'preact-router'; import { AccountCode, IAccount } from '../../api/account'; import { TDevices } from '../../api/devices'; import Guide from './guide'; import A from '../../components/anchor/anchor'; import { Header } from '../../components/la...
the_stack
import * as cdk from '@aws-cdk/core'; import * as cfn_parse from '@aws-cdk/core/lib/cfn-parse'; /** * Properties for defining a `AWS::Events::Archive`. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html * @external */ export interface CfnArchiveProps { /** ...
the_stack
import { ContractTxFunctionObj } from '@0x/contract-wrappers'; import { blockchainTests, constants, expect, filterLogsToArguments, getRandomInteger, randomAddress, shortZip, } from '@0x/contracts-test-utils'; import { BigNumber, hexUtils, NULL_ADDRESS } from '@0x/utils'; import { DecodedLogs...
the_stack
import * as OPI from 'object-path-immutable' import { FlexLength, LayoutSystem, Sides } from 'utopia-api' import { getReorderDirection } from '../../components/canvas/controls/select-mode/yoga-utils' import { getImageSize, scaleImageDimensions } from '../../components/images' import { foldThese, makeThat, makeThi...
the_stack
import Conditions from '../../../../../resources/conditions'; import NetRegexes from '../../../../../resources/netregexes'; import { UnreachableCode } from '../../../../../resources/not_reached'; import Outputs from '../../../../../resources/outputs'; import { Responses } from '../../../../../resources/responses'; ...
the_stack
import '../support/polyfills'; import {DEFAULT_THEME} from '../../../src/defaults'; import {isFirefox} from '../../../src/utils/platform'; import {createOrUpdateDynamicTheme, removeDynamicTheme} from '../../../src/inject/dynamic-theme'; import {multiline, timeout, waitForEvent} from '../support/test-utils'; const them...
the_stack
import type { BuildResult } from 'esbuild'; import type vite from '../vite'; import type { AstroConfig, ComponentInstance, GetStaticPathsResult, GetStaticPathsResultKeyed, Params, Props, Renderer, RouteCache, RouteData, RuntimeMode, SSRElement, SSRError, } from '../../@types/astro'; import type { LogOptions...
the_stack
import { join, normalize, resolve } from '@angular-devkit/core'; import type { NgtscProgram, ParsedConfiguration } from '@angular/compiler-cli'; import type { NgCompiler } from '@angular/compiler-cli/src/ngtsc/core'; import { externalizePath } from '@ngtools/webpack/src/ivy/paths'; import { createHash } from 'crypto'; ...
the_stack
import { camelCase } from "lodash-es"; import { hAccSum } from "../util"; import { i18n } from "@/i18n"; /** 伤害类型 */ export enum DamageType { /** 冲击 */ Impact = "Impact", /** 穿刺 */ Puncture = "Puncture", /** 切割 */ Slash = "Slash", /** 冰冻 */ Cold = "Cold", /** 电击 */ Electricity = "Electricity", /** 火焰 */ He...
the_stack
import { IDataOptions, IDataSet } from '../../src/base/engine'; import { pivot_dataset } from '../base/datasource.spec'; import { PivotView } from '../../src/pivotview/base/pivotview'; import { createElement, remove, extend } from '@syncfusion/ej2-base'; import { GroupingBar } from '../../src/common/grouping-bar/groupi...
the_stack
import { DBusClient, DBusProxyConfig, DBusObject } from "./dbusClient"; import { ProxyObject, ClientInterface, Variant } from "dbus-next"; /** * Access to ratbagd. */ export class RatBagManager extends DBusObject { static readonly PROXY: DBusProxyConfig<RatBagManager> = { iface: "org.freedesktop.ratbag1"...
the_stack
import "jest-extended"; import { ForgeNewBlockAction, IsForgingAllowedAction } from "@packages/core-forger/src/actions"; import { Contracts } from "@packages/core-kernel"; import { Sandbox } from "@packages/core-test-framework"; import { Interfaces } from "@packages/crypto"; import { Slots } from "@packages/crypto/dis...
the_stack
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { AddTagsCommand, AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand"; import { ApplySecurityGroupsToLoadBalancerCommand, ApplySecurityGroupsToLoadBalancerCommandInput, ApplySecurityGroupsToLoadBalancerCo...
the_stack
import * as should from "should"; import { redirectToFile } from "node-opcua-debug/nodeJS"; import { BaseUAObject, DataTypeFactory } from "node-opcua-factory"; import { makeExpandedNodeId } from "node-opcua-nodeid"; import { getObjectClassName } from "node-opcua-utils"; import { compare_obj_by_encoding, encode_decode_...
the_stack
import { Logger, LogLevel } from "@pnp/logging"; import { IWeb } from "@pnp/sp/webs"; import "@pnp/sp/lists"; import "@pnp/sp/fields"; import "@pnp/sp/views"; import "@pnp/sp/site-groups"; import "@pnp/sp/security"; import { CustomListNames } from "../models/Enums"; import { params } from "./Parameters"; export inter...
the_stack
import { HalfEdge, HalfEdgeGraph, HalfEdgeMask } from "./Graph"; /** @packageDocumentation * @module Topology */ /** * A class to manage a set of edges as both (a) an array of possible members and (b) mask bits. * * A half edge is "in the MarkSet" if its mask is set. * * The MarkSet array is a superset of the hal...
the_stack
import { malloc, free, realloc, listFreeBlocks, listAllocatedBlocks, stats, allocatorInit, } from "./functional"; import type { AllocatorState } from "./functionalInterfaces"; let allocatorState: AllocatorState; describe("next gen", () => { beforeEach(() => { allocatorState = allocatorInit({ ...
the_stack
import { Text, TextPossibilities } from "./file-generator"; let indentation = " "; export const lineCommentPrefix = "//"; export const docCommentPrefix = "///"; export const EOL = "\n"; export const CommaChar = ", "; const acronyms = new Set([ "ip", "os", "ms", "vm", // 'ssl', 'https', 'http', '' ]); ex...
the_stack
import { assert, expect } from "chai"; import * as os from "os"; import * as readline from "readline"; import { AccessToken, BriefcaseStatus, GuidString, StopWatch } from "@itwin/core-bentley"; import { BriefcaseIdValue, BriefcaseProps, IModelError, IModelVersion } from "@itwin/core-common"; import { UserCancelledError...
the_stack
import chai from 'chai'; import faker from 'faker'; import { readFileSync } from 'fs'; import path from 'path'; import { wrapSetToArrayField } from './utils'; const expect = chai.expect; const userFields = ` id username email status attributes location { lat lng } note { title text } ...
the_stack
import ActionType from '../public/ActionType' import ActionTagMap from './ActionTagMap' const { Attr, Behav, Event, Node, Style } = ActionType type ActionTagMap = { 'default': ActionType; [tag: string]: ActionType; } // @NOTE: those actions whose type determined by argument or property // (1) Element.a...
the_stack
import { browser, protractor, $ } from 'protractor'; import { Menu } from '../page-objects/menu.po'; import { VulnerabilityReport } from '../page-objects/vulnerability-report.po'; import { AssetGroups } from '../page-objects/asset-groups.po'; import { CONFIGURATIONS } from './../../src/config/configurations'; const do...
the_stack
import * as firebase from '@firebase/testing'; import * as fs from 'fs'; import { Offer, OfferFirestoreConverter, OfferStatus } from '../src/models/offers'; import { Questionnaire, QuestionnaireFirestoreConverter, QuestionnaireType } from '../src/models/questionnaires'; import { User, UserFirestoreConverter } from '.....
the_stack
declare namespace llvm { // bitcode/bitcodewriter import AttrKind = llvm.Attribute.AttrKind; function writeBitcodeToFile(module: Module, filename: string): void; // IR/verifier function verifyModule(mod: Module): void; function verifyFunction(fun: Function): void; // support function initializeAllTa...
the_stack
import * as React from "react"; import { Color, getColorConverter } from "../../core"; import { ColorPalette, addPowerBIThemeColors, predefinedPalettes, } from "../resources"; import { classNames } from "../utils"; import { Button } from "../views/panels/widgets/controls"; import { ColorSpaceDescription, ColorSpa...
the_stack
import { Trigger } from "@akashic/trigger"; import { AssetConfiguration, AssetManager, E, Scene, SceneStateString, StorageRegion } from ".."; import { customMatchers, Game, skeletonRuntime, ImageAsset, AudioAsset } from "./helpers"; expect.extend(customMatchers); describe("test Scene", () => { const assetsConfigurat...
the_stack
import * as Globalize from "globalize"; import "jquery"; import { ColumnFilter, CoreTheme, EmptySorting, MatchType, PagerConfiguration, RelativeSorting, SortDefinitionOrder, SortOrder, StorageType, StringSorting, TablesorterConfiguration, WidgetOptions } from "tablesorter...
the_stack
import { Inject, Injectable } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import { PrismaService } from 'nestjs-prisma'; import { WINSTON_MODULE_PROVIDER } from 'nest-winston'; import { subSeconds, differenceInSeconds, subDays } from 'date-fns'; import { isEmpty } from 'lodash'; import * as ...
the_stack
import * as tape from 'tape'; import {formatDateTime} from "../../../../../../src/lib/helpers/format-date-time"; const {DateTime, Settings} = require('luxon'); Settings.defaultLocale = 'en'; // Thursday, January 1, 1970 4:12:29 PM let date = DateTime.fromMillis(58349457, {zone: 'UTC'}); // Tuesday, February 2, 1971 ...
the_stack
import type { ConnInfo, ServeInit } from "https://deno.land/std@0.144.0/http/server.ts"; import { serve as stdServe, serveTls } from "https://deno.land/std@0.144.0/http/server.ts"; import { readableStreamFromReader } from "https://deno.land/std@0.144.0/streams/conversion.ts"; import { generateErrorHtml, TransformError ...
the_stack
import has = require('./has'); declare var process: any; declare var require: <ModuleType>(moduleId: string) => ModuleType; declare var module: { exports: any; }; export interface IConfig { baseUrl?: string; map?: IModuleMap; packages?: IPackage[]; paths?: { [path: string]: string; }; } export interface IDefine ...
the_stack
import type { ClientPagesLoaderOptions } from './webpack/loaders/next-client-pages-loader' import type { MiddlewareLoaderOptions } from './webpack/loaders/next-middleware-loader' import type { MiddlewareSSRLoaderQuery } from './webpack/loaders/next-middleware-ssr-loader' import type { NextConfigComplete } from '../serv...
the_stack
import { GeoPackage, GeoPackageAPI, FeatureColumn, GeometryColumns, GeoPackageDataType, BoundingBox, } from '@ngageoint/geopackage'; import fs from 'fs'; import path from 'path'; import stream from 'stream'; import shp from 'shp-stream'; import shpwrite from 'shp-write'; import proj4 from 'proj4'; import r...
the_stack
import * as t from '@babel/types'; import traverse from '@babel/traverse'; import type { Metadata } from '../types'; import { babelEvaluateExpression, getMemberExpressionMeta, getPathOfNode, getValueFromObjectExpression, isCompiledKeyframesCallExpression, resolveBindingNode, wrapNodeInIIFE, } from './as...
the_stack
import { Code, Function as LambdaFunction, Runtime } from '@aws-cdk/aws-lambda'; import { Aws, CfnResource, Construct, Duration, RemovalPolicy, Stack, Tags } from '@aws-cdk/core'; import { IBucket } from '@aws-cdk/aws-s3'; import { LogGroup, RetentionDays } from '@aws-cdk/aws-logs'; import { Effect, Policy, PolicyDocum...
the_stack
import { ItemsList } from './items-list'; import { PickPaneComponent } from './pick-pane.component'; import { DefaultSelectionModel } from './selection-model'; import { PickPaneDragService } from './pick-pane-drag.service'; import { PicklistService } from '../picklist.service'; import { PickOption } from '../pick.types...
the_stack
import {t} from '@lingui/macro' import {Trans} from '@lingui/react' import {DataLink, ActionLink} from 'components/ui/DbLink' import NormalisedMessage from 'components/ui/NormalisedMessage' import styles from 'components/ui/Procs/ProcOverlay.module.css' import {Event, Events} from 'event' import {Analyser} from 'parser...
the_stack
import { Visitor, NodePath } from '@babel/traverse'; import * as types from '@babel/types'; import { SFC_FUNC, SFC_COMPONENT, SFC_RENDER, getOptionsName, getSfcName, SFC_CREATE_OPTIONS, SFC_FORWARD_REF } from './utils'; import * as astUtils from './utils/ast'; import * as utils from './utils'; // import g...
the_stack
import * as d3 from "d3"; import { AppState } from "../AppState"; import * as J from "../JavaIntf"; import { PubSub } from "../PubSub"; import { Singletons } from "../Singletons"; import { Div } from "./Div"; import { Main } from "./Main"; import { Constants as C } from "../Constants"; // https://observablehq.com/@d3/...
the_stack
import * as React from "react"; import { ComponentClass, Component } from "react"; import { ReactComponent, ReactAnyComponent, ComponentEnhancer } from "./types"; import { createBlueprint, InstanceCallbackListTypesafe, StateUpdater, LifeCycleCallbackTypes, Blueprint, InstanceCallbackEntry, ComponentCallbacks, } fr...
the_stack
import { html, property, CSSResultArray, TemplateResult, PropertyValues, ifDefined, } from '@spectrum-web-components/base'; import { Tab } from './Tab.js'; import { Focusable, getActiveElement } from '@spectrum-web-components/shared'; import tabStyles from './tabs.css.js'; import { TabPanel } f...
the_stack
import {Component, EventEmitter, Inject, OnInit, Output, QueryList, ViewChildren} from "@angular/core"; import {ResultConstant} from "../../enums/result-constant.enum"; import {TestCasePriority} from "../../models/test-case-priority.model"; import {TestCaseType} from "../../models/test-case-type.model"; import {Page} f...
the_stack
import { get } from 'lodash'; import { ChartStatus, ChartStatusEnum } from 'model/Chart'; import { UnitEnum } from 'model/Metric'; import { DataFormatter } from 'utils/DataFormatter'; const ChartJS = require('chart.js') ChartJS.defaults.global.elements.line.borderWidth = 0; ChartJS.defaults.global.elements.line.cubic...
the_stack
import BigNumber from 'bignumber.js'; import { bnToBytes32 } from '../src/lib/BytesHelper'; import { ADDRESSES } from '../src/lib/Constants'; import { createTypedSignature, getPrependedHash, SIGNATURE_TYPES, } from '../src/lib/SignatureHelper'; import { address, BaseValue, Balance, Price } from '../src/lib/types...
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 SystemData: msRest.CompositeMapper = { serializedName: "systemData", type: { nam...
the_stack
'use strict'; export var FILE_NOT_FOUND = 'not found'; export class FileSystem { constructor(public root: Directory) { root.setParent(null); } private listeners: { [event: string]: {(...rest: any[]): any }[] } = {}; getFileForPath(path: string): File { var result = this.getE...
the_stack
module WinJSTests { "use strict"; function errorHandler(msg) { try { LiveUnit.Assert.fail('There was an unhandled error in your test: ' + msg); } catch (ex) { } } function post(v?) { return WinJS.Promise.timeout(). then(function () { return v; }); }...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { ZoomOptions } from '../../../src/diagram/objects/interface/interfaces'; import { NodeModel } from '../../../src/diagram/objects/node-model'; import { profile, inMB, getMemoryProfile } from '../../../sp...
the_stack
import * as keybase1 from '../keybase1' export type BundleRevision = number export type EncryptedBundle = { v: number e: Buffer n: keybase1.BoxNonce gen: keybase1.PerUserKeyGeneration } export enum BundleVersion { V1 = 'v1', V2 = 'v2', V3 = 'v3', V4 = 'v4', V5 = 'v5', V6 = 'v6', V7 = 'v7', V8...
the_stack
import fs = require("fs"); import util = require("util"); import SoapService = require('../lib/SoapService'); import { Utils } from '../lib/utils'; import url = require('url'); import { Server } from 'http'; import Camera = require('../lib/camera'); import { v4l2ctl } from '../lib/v4l2ctl'; import { exec } from 'child...
the_stack
* @fileoverview Implements component Package object for handling * dynamic loading of components. * * @author dpvc@mathjax.org (Davide Cervone) */ import {CONFIG, Loader} from './loader.js'; /* * The browser document (for creating scripts to load components) */ declare var document: Document; /...
the_stack
import { module, test } from 'qunit'; import { click, currentURL, visit, waitFor, waitUntil, fillIn, settled, } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; import Layer2TestWeb3Strategy from '@cardstack/web-client/utils/web3-strategies/test-layer2'; import { fromWei, to...
the_stack
import { Nullable } from "../../../shared/types"; import * as React from "react"; import { Classes, Tabs, Tab, Tag, Divider, Intent } from "@blueprintjs/core"; import { Observer, Scene, EngineInstrumentation, SceneInstrumentation } from "babylonjs"; import { AbstractEditorPlugin, IEditorPluginProps } from "../../edi...
the_stack
import { Array } from "@siteimprove/alfa-array"; import { Token, Function, Nth } from "@siteimprove/alfa-css"; import { Element } from "@siteimprove/alfa-dom"; import { Equatable } from "@siteimprove/alfa-equatable"; import { Iterable } from "@siteimprove/alfa-iterable"; import { Serializable } from "@siteimprove/alfa-...
the_stack
// NOTE: This file is only partially ported and is a work in progress /* eslint-disable */ import {Vector2, Vector3, Vector4, Color, CesiumMath} from '@math.gl/core'; // define([ // '../Core/Check', // '../Core/Color', // '../Core/defined', // '../Core/defineProperties', // '../Core/DeveloperError', // '.....
the_stack
import "jest"; import React from "react"; import ReactDOM from "react-dom"; import { act, Simulate } from "react-dom/test-utils"; import { inMemory } from "@hickory/in-memory"; import { createRouter, prepareRoutes } from "@curi/router"; import { sleep } from "../../../utils/tests"; import { createRouterComponent, Asy...
the_stack
import {BytecodeOptions, HaikuBytecode, IHaikuClock, IHaikuContext, IRenderer} from './api'; import Config from './Config'; import HaikuBase from './HaikuBase'; import HaikuClock from './HaikuClock'; import HaikuComponent from './HaikuComponent'; const pkg = require('./../package.json'); const VERSION = pkg.version; ...
the_stack
import * as path from "path"; const uuidv1 = require("uuid/v1"); import * as vsts from "azure-devops-node-api/WebApi"; import * as wit from "azure-devops-node-api/interfaces/WorkItemTrackingInterfaces"; import * as bi from "azure-devops-node-api/interfaces/BuildInterfaces"; import * as tasks from "azure-pipelines-task-...
the_stack