text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { PdfDocument, PdfPage ,PdfColor, PdfFont, PdfStandardFont} from './../../../src/index'; import { PointF, PdfFontFamily, PdfSolidBrush, PdfPageOrientation } from './../../../src/index'; import { PdfPageRotateAngle, PdfPageSize, SizeF } from './../../../src/index'; import { Utils } from './../utils.spec'; describ...
the_stack
import DataFrame from "../core/frame" import { ArrayType1D, ArrayType2D } from "../shared/types" import Utils from "../shared/utils"; const utils = new Utils(); type mergeParam = { left: DataFrame, right: DataFrame, on: Array<string>, how: "outer" | "inner" | "left" | "right" } type keyComb = { [key: string...
the_stack
// clang-format off import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js'; import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js'; import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; import {ClearBrowsingDataBrowserProxyImpl, ContentSettingsTypes, CookiePr...
the_stack
import { PdfPage } from './../pages/pdf-page'; import { PdfGraphics } from './../graphics/pdf-graphics'; import { PointF, RectangleF, SizeF } from './../drawing/pdf-drawing'; import { PdfTextElement } from './../graphics/figures/text-element'; import { PdfUriAnnotation } from './uri-annotation'; import { PdfStringLayou...
the_stack
import * as vscode from "vscode"; /** * A VS Code `Position`, `Range` or `Selection`. */ export type PRS = vscode.Position | vscode.Range | vscode.Selection; /** * A VS Code `Position` or `Selection`. */ export type PS = vscode.Position | vscode.Selection; /** * Returns whether the given value is a `vscode.Posi...
the_stack
declare namespace WXPage { /** 页面跳转参数 */ interface PageLifeTimeOptions { /** 页面跳转地址 */ url?: string; /** 跳转参数 */ query: Record<string, string>; } /** 事件监听器 */ interface Emitter { /** * 开始监听一个事件 * * @param eventName 开始监听的事件名称 * @param callback 当监听事件被触发时执行的回调 */ ...
the_stack
import { ConcreteRequest } from "relay-runtime"; export type BidderPositionInput = { artworkID: string; clientMutationId?: string | null | undefined; maxBidAmountCents: number; saleID: string; }; export type ConfirmBidCreateBidderPositionMutationVariables = { input: BidderPositionInput; }; export ty...
the_stack
import { WebPartContext } from "@microsoft/sp-webpart-base"; import { SPHttpClient, SPHttpClientResponse, ISPHttpClientOptions, IHttpClientOptions, } from '@microsoft/sp-http'; import { ISPList } from '../../interfaces/ISPList'; import...
the_stack
import '../../../test/common-test-setup-karma'; import './gr-repo-access'; import {GrRepoAccess} from './gr-repo-access'; import {GerritNav} from '../../core/gr-navigation/gr-navigation'; import {toSortedPermissionsArray} from '../../../utils/access-util'; import { addListenerForTest, mockPromise, queryAll, que...
the_stack
* @module WebGL */ import { assert } from "@itwin/core-bentley"; import { WebGLDisposable } from "./Disposable"; import { GL } from "./GL"; import { RenderBuffer, RenderBufferMultiSample } from "./RenderBuffer"; import { System } from "./System"; import { TextureHandle } from "./Texture"; /** @internal */ export typ...
the_stack
import path from 'path'; import { StructureDefinitionExporter, Package } from '../../src/export'; import { FSHTank, FSHDocument } from '../../src/import'; import { FHIRDefinitions, loadFromPath } from '../../src/fhirdefs'; import { Logical } from '../../src/fshtypes'; import { loggerSpy } from '../testhelpers/loggerSpy...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/listManagementTermListsMappers"; import * as Parameters from "../models/parameters"; import { ContentModeratorClientContext } from "../contentModeratorClientContext"; /** Class representing a ListManag...
the_stack
import { defaults, Chart, ScatterController, registry, LinearScale, PointElement, UpdateMode, TooltipItem, ChartMeta, ChartItem, ChartConfiguration, ControllerDatasetOptions, ScriptableAndArrayOptions, LineHoverOptions, PointPrefixedOptions, PointPrefixedHoverOptions, CartesianScaleTyp...
the_stack
var Props = "width height margin-top margin-right margin-bottom margin-left padding-top padding-right padding-bottom padding-left border-top-width border-right-width border-bottom-width border-left-width float display text-align border-top-style border-right-style border-bottom-style border-left-style overflow-x overfl...
the_stack
import turfLength from '@turf/length'; import turfArea from '@turf/area'; import { convertArea } from '@turf/helpers'; import mapboxgl from 'vue-iclient/static/libs/mapboxgl/mapbox-gl-enhance'; import drawEvent from 'vue-iclient/src/mapboxgl/_types/draw-event'; import { geti18n } from 'vue-iclient/src/common/_lang/inde...
the_stack
import { Color } from '../../Color'; import { BoundingBox } from '../BoundingBox'; import { EdgeCollider } from './EdgeCollider'; import { CollisionJumpTable } from './CollisionJumpTable'; import { CircleCollider } from './CircleCollider'; import { CollisionContact } from '../Detection/CollisionContact'; import { Proj...
the_stack
import React from 'react'; import { DualListSelector, DualListSelectorPane, DualListSelectorList, DualListSelectorControlsWrapper, DualListSelectorControl, DualListSelectorTree, DualListSelectorTreeItemData, SearchInput } from '@patternfly/react-core'; import AngleDoubleLeftIcon from '@patternfly/react-...
the_stack
import {PrintPreviewModelElement, PrintPreviewScalingSettingsElement, ScalingType} from 'chrome://print/print_preview.js'; import {assert} from 'chrome://resources/js/assert.m.js'; import {assertEquals, assertFalse, assertTrue} from 'chrome://webui-test/chai_assert.js'; import {fakeDataBind} from 'chrome://webui-test/t...
the_stack
import { Component, OnInit, AfterContentInit, AfterViewChecked, ElementRef, ViewChild, OnDestroy } from '@angular/core'; import { Http, Response, Headers, RequestOptions } from '@angular/http'; import { Observable } from 'rxjs'; import { BackendService, ServerStatus, MemberStatus, Connect } from './backend.service'; e...
the_stack
import React, { useState, useRef, useMemo, useCallback } from 'react'; import { Popover as UUIPopover, PopoverPlacement, PopoverPlacementPropTypes } from '../Popover'; import { Tag as UUITag } from '../Tag'; import { TextField as UUITextField } from '../Input'; import { flatMap, compact } from 'lodash-es'; import { Ico...
the_stack
import AParsing from "../parsing/AParsing"; import { utils } from "../utils/utils"; import { message } from "./message" export default class Popup { //#region "singleton" static getInstance(): Popup { if (Popup.#instance === null) { Popup.#instance = new Popup(); } return Po...
the_stack
import { Platform, AppState, NativeModules, Linking } from 'react-native' import { delay } from 'redux-saga' import { call, put, take, takeEvery, takeLatest, all, select } from 'redux-saga/effects' import { ActionType, getType } from 'typesafe-actions' import Textile, { Notification, INotificationLis...
the_stack
import TileSetRenderer from "../../components/TileSetRenderer"; import TileSetRendererUpdater from "../../components/TileSetRendererUpdater"; import * as TreeView from "dnd-tree-view"; import * as ResizeHandle from "resize-handle"; let data: { projectClient: SupClient.ProjectClient; tileSetUpdater: TileSetRendererUpd...
the_stack
import { IS_PROXY, ProxyStateTree } from './' describe('CREATION', () => { test('should create a ProxyStateTree instance', () => { const tree = new ProxyStateTree({}) expect(tree).toBeInstanceOf(ProxyStateTree) }) }) describe('TrackStateTree', () => { test('should create proxy of root state', () => { ...
the_stack
import { Sparkline, ISparklineLoadedEventArgs, SparklineTooltip } from '../../src/sparkline/index'; import { removeElement, getIdElement, Rect } from '../../src/sparkline/utils/helper'; import { createElement, isNullOrUndefined } from '@syncfusion/ej2-base'; import {profile , inMB, getMemoryProfile} from '../common.sp...
the_stack
import type { DictionaryFileTypes } from '@cspell/cspell-types'; import { promises as fs, statSync } from 'fs'; import { genSequence } from 'gensequence'; import * as path from 'path'; import { format } from 'util'; import { DictionaryDefinitionInternal } from '../Models/CSpellSettingsInternalDef'; import { isErrnoExce...
the_stack
/// <reference types="jquery" /> interface ColorboxResizeSettings { height?: number | string | undefined; innerHeight?: number | string | undefined; width?: number | string | undefined; innerWidth?: number | string | undefined; } interface ColorboxSettings { /** * The transition type. Can be s...
the_stack
const fs = require('fs'); import { DSVModel } from '../src'; function readCSV(path: string): any { path = require.resolve(path); return fs.readFileSync(path, 'utf8'); } /* tslint:disable:no-var-requires */ const CSV_TEST_FILES = [ [ 'comma_in_quotes', readCSV('csv-spectrum/csvs/comma_in_quotes.csv'), ...
the_stack
import React from 'react'; import ReactDOM from 'react-dom'; import isEqual from 'lodash/isEqual'; import Quill, { QuillOptionsStatic, DeltaStatic, RangeStatic, BoundsStatic, StringMap, Sources, } from 'quill'; // Merged namespace hack to export types along with default object // See: https://github.com/M...
the_stack
import { WebGLRenderingContext } from '../../../node_modules/aswebglue/src/WebGL' import { Scene } from '../scenes/Scene' import { Camera } from '../cameras/Camera' // import { WebGLExtensions } from './webgl/WebGLExtensions'; // import { WebGLInfo } from './webgl/WebGLInfo'; // import { WebGLShadowMap } from './webgl/...
the_stack
import _ from 'lodash' import capitalize from 'underscore.string/capitalize' import minimatch from 'minimatch' import $errUtils from './error_utils' import $XHR from './xml_http_request' import { makeContentWindowListener } from './events' const regularResourcesRe = /\.(jsx?|coffee|html|less|s?css|svg)(\?.*)?$/ const...
the_stack
'use strict'; import * as solparse from 'solparse-exp-jb'; import { CompletionItem, CompletionItemKind } from 'vscode-languageserver'; import * as vscode from 'vscode-languageserver'; import {Contract2, DeclarationType, DocumentContract, Function, SolidityCodeWalker, Variable, Struct} from './codeWalkerService'; import...
the_stack
import { Component, ElementRef, EventEmitter, forwardRef, Input, NgZone, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { DomHandler } from './slider.handler'; import { ValueAccessorBaseComponent } from '../../base/value-acc...
the_stack
import { Balance } from './balance'; import { Hlr, HLRParameter } from './hlr'; import { Message, MessageParameters, FilterParameters } from './messages'; import { VoiceMessage, VoiceParameters, VoiceParametersWithRecipients } from './voice_messages'; import { msisdn } from './general'; import { Verify, VerifyPar...
the_stack
import { each, get, isEmpty } from 'lodash'; import { BrickAction, ChildNodesType, PageConfigType, ComponentSchemaType, PropsNodeType, SelectedInfoType, StateType, BrickDesignStateType, ConfigType, STATE_PROPS, } from '../types'; import { ReducerType } from '../reducers'; import { BrickdStoreType } ...
the_stack
import { vec2, vec3, mat4, vec4, quat } from "../math"; export class Mesh { attributes: Accessor[]; // AKA Vertexes indices: Accessor; // AKA Triangles // Render mode mode: number; data = {}; // Raw data constructor(attributes: Accessor[], indices?: Accessor, mode = WebGL2RenderingContex...
the_stack
declare module 'stripe' { namespace Stripe { namespace Identity { /** * The VerificationSession object. */ interface VerificationSession { /** * Unique identifier for the object. */ id: string; /** * String representing the object's typ...
the_stack
const Me = imports.misc.extensionUtils.getCurrentExtension(); /** Gnome libs imports */ import { Rectangular } from 'src/types/mod'; const Signals = imports.signals; const MIN_BASIS_RATIO = 0.1; export type PortionState = { basis: number; vertical: boolean; children: PortionState[]; }; export class Port...
the_stack
import { dirname, join } from 'path' import { fileURLToPath } from 'url' import fs from 'fs' // eslint-disable-next-line import/no-named-as-default import glob from 'glob' import { watch } from 'chokidar' import markdownToAst from 'markdown-to-ast' import { format } from 'prettier' import { SRC_DIR, getVantConfig } fro...
the_stack
import * as Fluent from '@fluentui/react' import { B, Dict, Id, S, U } from 'h2o-wave' import React from 'react' import { stylesheet } from 'typestyle' import { IconTableCellType, XIconTableCellType } from "./icon_table_cell_type" import { ProgressTableCellType, XProgressTableCellType } from "./progress_table_cell_type...
the_stack
import * as fs from "fs" /** * Comparison options. */ export interface Options { /** * Properties to be used in various extension points ie. result builder. */ /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ [key: string]: any /** * Compares files by size. Defaults...
the_stack
import { act, fireEvent, screen } from '@testing-library/react' import React, { useState, StrictMode } from 'react' import useSWR, { useSWRConfig, SWRConfig, mutate as globalMutate } from 'swr' import { sleep, createKey, createResponse, nextTick, focusOn, renderWithConfig, renderWithGlobalCache } from './...
the_stack
import React, { useLayoutEffect, MouseEvent } from 'react' import clsx from 'clsx' import { makeStyles, createStyles } from '@material-ui/core/styles' import List from '@material-ui/core/List' import ListItemIcon from '@material-ui/core/ListItemIcon' import ListItemText from '@material-ui/core/ListItemText' import T...
the_stack
import * as assert from 'assert'; import { values } from 'bitcode-builder'; import { Abbr, BitStream, BlockInfoMap } from '../bitstream'; import { BLOCK_ID, FIXED, FUNCTION_CODE, VALUE_SYMTAB_CODE, VBR, } from '../constants'; import { encodeBinopType, encodeCallFlags, encodeCastType, encodeICmpPredicate, encodeS...
the_stack
import { Rhum } from "../../deps.ts"; import * as Drash from "../../../mod.ts"; Rhum.testPlan("http/request_test.ts", () => { Rhum.testSuite("accepts()", () => { acceptsTests(); }); Rhum.testSuite("getCookie()", () => { getCookieTests(); }); Rhum.testSuite("bodyParam()", () => { bodyTests(); ...
the_stack
import * as coreClient from "@azure/core-client"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import * as Parameters from "./models/parameters"; import * as Mappers from "./models/mappers"; import { GeneratedClientContext } from "./generatedClientContext"; import { GeneratedClientOptionalParams, ...
the_stack
import React, { Component } from 'react' import { StyleSheet, View, Image, Dimensions, TouchableNativeFeedback, KeyboardAvoidingView, InteractionManager, Keyboard, TextInput, Animated, StatusBar, Picker } from 'react-native' import Ionicons from 'react-native-vector-icons/Ionicons' import { sta...
the_stack
import * as loginPage from '../../Base/pages/Login.po'; import { LoginPageData } from '../../Base/pagedata/LoginPageData'; import * as customersPage from '../../Base/pages/Customers.po'; import * as faker from 'faker'; import { CustomersPageData } from '../../Base/pagedata/CustomersPageData'; import * as dashboardPage ...
the_stack
import { Workbook } from '@syncfusion/ej2-excel-export'; import { ExcelRow, ExcelCell, ExcelColumn, BeforeExportEventArgs } from '../../common/base/interface'; import * as events from '../../common/base/constant'; import { PivotView } from '../base/pivotview'; import { IAxisSet, IPivotValues, PivotEngine } from '../../...
the_stack
import * as React from 'react'; import * as ReactDom from 'react-dom'; import { Version } from '@microsoft/sp-core-library'; import { BaseClientSideWebPart } from "@microsoft/sp-webpart-base"; import { IPropertyPaneConfiguration, IPropertyPaneDropdownOption, PropertyPaneDropdown, PropertyPaneSlider, PropertyPaneTextFie...
the_stack
import {assert} from '../../../platform/chai-web.js'; import {checkDefined} from '../../../runtime/testing/preconditions.js'; import {ParticleNode, ParticleOutput, ParticleInput} from '../particle-node.js'; import {buildFlowGraph} from '../testing/flow-graph-testing.js'; import {FlowModifier} from '../graph-internals.j...
the_stack
import { Protocol } from 'devtools-protocol'; import { getResourceTypeForChromeValue } from '@secret-agent/interfaces/ResourceType'; import * as eventUtils from '@secret-agent/commons/eventUtils'; import { TypedEventEmitter } from '@secret-agent/commons/eventUtils'; import { IPuppetNetworkEvents, IPuppetResourceReq...
the_stack
declare function App(param: WeApp.AppParam): void; /**注册一个页面 */ declare function Page(param: WeApp.PageParam): void; /**注册一个组件 */ declare function Component(param: WeApp.ComponentParam): void /**全局函数 可以获取到小程序实例 */ declare function getApp(): WeApp.AppParam; /**获取当前页面栈的实例 以数组形式按栈的顺序给出 第一个元素为首页 最后一个元素为当前页面 */ declare ...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [iotthingsgraph](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotthingsgraph.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/Us...
the_stack
import * as chai from 'chai'; import * as chaiAsPromised from 'chai-as-promised'; import * as cp from 'child_process'; import * as fs from 'fs'; import * as os from 'os'; import * as path from 'path'; import rimraf = require('rimraf'); import * as vscode from 'vscode'; import { DotnetAcquisitionAlreadyInstalled, Do...
the_stack
import React from 'react'; import { render, cleanup } from '@testing-library/react'; import { Animator, ENTERED, ENTERING, EXITED, EXITING } from '@arwes/animator'; import anime from 'animejs'; import { makeJestMoveTimeTo } from '../../test-utils/makeJestMoveTimeTo'; import { ActJestMoveTimeTo, makeActJestMoveTimeTo }...
the_stack
import assert from "assert"; import { URL } from "url"; import { Cache, CacheError, CachedMeta } from "@miniflare/cache"; import { Request, RequestInitCfProperties, Response } from "@miniflare/core"; import { RequestContext, Storage } from "@miniflare/shared"; import { getObjectProperties, utf8Decode, utf8Encode,...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ReservationsSummaries } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { ConsumptionManagementClient } fro...
the_stack
declare module '@shopify/draggable/lib/draggable.bundle.legacy' { export * from '@shopify/draggable'; } declare module '@shopify/draggable/lib/es5/draggable.bundle' { export * from '@shopify/draggable'; } declare module '@shopify/draggable/lib/es5/draggable.bundle.legacy' { export * from '@shopify/draggab...
the_stack
import { AfterContentInit, AfterViewInit, Directive, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnChanges, OnDestroy, OnInit, Optional, Output, Self, SimpleChange, SkipSelf } from '@angular/core'; import { animationFrameScheduler, EMPTY, s...
the_stack
// Files that export a single object. export { default as AriaListMixin } from "./base/AriaListMixin.js"; export { default as AriaMenuMixin } from "./base/AriaMenuMixin.js"; export { default as AriaRoleMixin } from "./base/AriaRoleMixin.js"; export { default as AttributeMarshallingMixin } from "./core/AttributeMarshall...
the_stack
* @module Core */ import * as hash from "object-hash"; import * as path from "path"; import { BriefcaseDb, IModelDb, IModelJsNative, IpcHost } from "@itwin/core-backend"; import { Id64String } from "@itwin/core-bentley"; import { FormatProps, UnitSystemKey } from "@itwin/core-quantity"; import { Content, ContentDes...
the_stack
module android.view{ import View = android.view.View; import Rect = android.graphics.Rect; import ArrayList = java.util.ArrayList; /** * The algorithm used for finding the next focusable view in a given direction * from a view that currently has focus. */ export class FocusFinder{ ...
the_stack
import React, { useContext, useState, ChangeEvent, FormEvent } from 'react' import StoreContext from '../../lib/stores/context' import Button from '../Button' import TextField from '@material-ui/core/TextField' import { requestArtifactRun, RunParameters } from '../../lib/api/run'; interface RunViewProps { type: st...
the_stack
import { PathOperations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataLakeStorageClient } from "../dataLakeS...
the_stack
import React, { createElement, ForwardRefExoticComponent, ReactElement, ReactNode, useEffect, useRef, useState, } from 'react' import classnames from 'classnames' import { isElementInViewport } from './utils' type TooltipProps<T> = { label: string position?: 'top' | 'bottom' | 'left' | 'right' | unde...
the_stack
import { Browser } from "@syncfusion/ej2-base"; import { RichTextEditor } from './../../../src/index'; import { renderRTE, destroy, dispatchKeyEvent, dispatchEvent } from "./../render.spec"; function setCursorPoint(curDocument: Document, element: Element, point: number) { let range: Range = curDocument.createRange...
the_stack
import * as freedomMocker from '../lib/freedom/mocks/mock-freedom-in-module-env'; import * as freedom_mocks from '../mocks/freedom-mocks'; declare var freedom: freedom.FreedomInModuleEnv; freedom = freedomMocker.makeMockFreedomInModuleEnv({ 'core.online': () => { return new freedom_mocks.MockFreedomOnline(); }, 'c...
the_stack
import React, { useEffect, useState } from 'react'; import Form from 'antd/es/form'; import { FormComponentProps } from 'antd/lib/form'; import { Button, Card, Col, Icon, Input, Modal, Row, Radio, Switch, Tooltip, Select, message } from 'antd'; import { alarm } from '../data'; import Service from '../service'; import T...
the_stack
import * as express from 'express'; import * as _ from 'lodash'; import StrictEventEmitter from 'strict-event-emitter-types'; import * as config from '../config'; import { transaction, Transaction } from '../db'; import * as dbFormat from '../device-state/db-format'; import { validateTargetContracts } from '../lib/con...
the_stack
import {ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output, ViewChild} from '@angular/core'; import {Subject, Subscription} from 'rxjs'; import {DeepLeftNodeChild} from '../../modules/utils/deep-left-node-child'; import {DeepRightNodeChild} from '../../modules/utils/deep-right-node-child'; import {FirstSubStrin...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/secretMappers"; import * as Parameters from "../models/parameters"; import { ServiceFabricMeshManagementClientContext } from "../serviceFabricMeshManagementClientContext"; /** Class representing a Secr...
the_stack
import * as debug from "debug"; import { PreventIframe } from "express-msteams-host"; import { TurnContext, CardFactory, MessagingExtensionQuery, MessagingExtensionResult, MessagingExtensionAction, ActionTypes, MessagingExtensionAttachment } from "botbuilder"; // import { MessagingExtensionQuery, MessagingExtensionResu...
the_stack
import { IdType, Point, TestData, addMoreEdges, generateMaryTree, } from "../helpers"; /** * Generate a consecutive list of ids starting with first and ending with last * including both. * * @param first - Number of the first id to generate. * @param last - Number of the last id to generate. * * @retu...
the_stack
import { EventEmitter } from '@angular/core'; import { TestBed } from '@angular/core/testing'; import { StateEditorService } from // eslint-disable-next-line max-len 'components/state-editor/state-editor-properties-services/state-editor.service'; import { StateWrittenTranslationsService } from // eslint-disable-n...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/globalUsersMappers"; import * as Parameters from "../models/parameters"; import { ManagedLabsClientContext } from "../managedLabsClientContext"; ...
the_stack
import * as chai from 'chai'; import { evaluateUpdatingExpression, evaluateXPath, executePendingUpdateList } from 'fontoxpath'; import * as slimdom from 'slimdom'; let documentNode: slimdom.Document; beforeEach(() => { documentNode = new slimdom.Document(); }); describe('evaluateUpdatingExpression', () => { let ins...
the_stack
import { ComponentFixture, TestBed, async } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; import { IconLoaderService } from '../../../index'; import { AmexioFloatingPanelComponent } from './floatingpanel.component'; import { AmexioFormsModule } from '../../forms/amexio.forms.module'; impor...
the_stack
import popContainer from '@/components/popContainer'; import { Component, Emit, Prop, PropSync, Ref, Vue, Watch } from 'vue-property-decorator'; import { VNode } from 'vue/types/umd'; import { getDimensionModelsCanBeRelated, getMasterTableInfo } from '../../../Api/index'; import { CDataModelManage, MasterTableInfo, Mst...
the_stack
//import { SharedStreetsMetadata, SharedStreetsIntersection, SharedStreetsGeometry, SharedStreetsReference, RoadClass } from 'sharedstreets-types'; import * as turfHelpers from '@turf/helpers'; import buffer from '@turf/buffer'; import along from '@turf/along'; import envelope from '@turf/envelope'; import lineSlice...
the_stack
import { newSpecPage, SpecPage } from '@stencil/core/testing'; import { DumbbellPlot } from './dumbbell-plot'; import { DumbbellPlotDefaultValues } from './dumbbell-plot-default-values'; import { scalePoint, scaleLinear, scaleTime } from 'd3-scale'; import { timeMonth } from 'd3-time'; import { rgb } from 'd3-color'; /...
the_stack
import { EarthMap } from '../earthmap'; import LngLat from '../geo/lng_lat'; import Point from '../geo/point'; import { Map } from '../map'; import { bezier, ease, interpolate, now } from '../util'; import DOM from '../utils/dom'; import HandlerManager from './handler_manager'; // deltaY value for mouse scroll wheel i...
the_stack
namespace ts.refactor.convertToOptionalChainExpression { const refactorName = "Convert to optional chain expression"; const convertToOptionalChainExpressionMessage = getLocaleSpecificMessage(Diagnostics.Convert_to_optional_chain_expression); const toOptionalChainAction = { name: refactorName, ...
the_stack
module android.widget { import DataSetObserver = android.database.DataSetObserver; import SystemClock = android.os.SystemClock; import SparseArray = android.util.SparseArray; import SoundEffectConstants = android.view.SoundEffectConstants; import View = android.view.View; import ViewGroup = andr...
the_stack
import { NestedObject } from '../../../test/models' import { ModelWithCollections } from '../../../test/models/model-with-collections.model' import { Metadata } from '../../decorator/metadata/metadata' import { metadataForModel } from '../../decorator/metadata/metadata-for-model.function' import { PropertyMetadata } fr...
the_stack
import {ResourceBase, ResourceTag} from '../resource' import {Value, List} from '../dataTypes' export class AssetPropertyVariant { StringValue?: Value<string> DoubleValue?: Value<string> BooleanValue?: Value<string> IntegerValue?: Value<string> constructor(properties: AssetPropertyVariant) { ...
the_stack
import { SpreadsheetModel, CellRenderEventArgs, Spreadsheet } from '../../../src/spreadsheet/index'; import { SpreadsheetHelper } from "../util/spreadsheethelper.spec"; import { defaultData } from '../util/datasource.spec'; import { CellModel } from '../../../src/index'; import { Button } from '@syncfusion/ej2-buttons'...
the_stack
import React, { FC } from 'react'; import { mount, ComponentType, ReactWrapper, shallow, } from 'enzyme'; import { DefaultContentNode, NodeProvider, useNode, withNodeKey, withNode, PageEditContext, PageContextProvider, } from '@bodiless/core'; import flowRight from 'lodash/flowRight'; import flow from 'lodash/flo...
the_stack
import childProcess, { ChildProcessWithoutNullStreams } from 'child_process' import fs from 'fs' import path from 'path' import { ether } from '@openzeppelin/test-helpers' import { StakeManagerInstance, RelayHubContract, RelayHubInstance, TestTokenInstance } from '@opengsn/contracts/types/truffle-contracts' i...
the_stack
'use strict'; /** * A tagging type for string properties that are actually URIs. */ export type DocumentUri = string; /** * Position in a text document expressed as zero-based line and character offset. * The offsets are based on a UTF-16 string representation. So a string of the form * `a𐐀b` the character offs...
the_stack
import { expect } from "chai"; import sinon from "sinon"; import * as moq from "typemoq"; import { QueryRowFormat } from "@itwin/core-common"; import { IModelConnection } from "@itwin/core-frontend"; import { Field, NestedContentField, PropertiesField, PropertyInfo } from "@itwin/presentation-common"; import { create...
the_stack
import path from 'path' import http from 'http' import { fs } from 'saber-utils' import { log, colors, Log } from 'saber-log' import resolveFrom from 'resolve-from' import merge from 'lodash.merge' import getPort from 'get-port' import { Pages, CreatePageInput } from './Pages' import { BrowserApi } from './BrowserApi' ...
the_stack
import { Lens, Prism, PropExpr } from './../lens' import { structEq, Option } from './../utils' import { Observable, Subscriber, Subscription, BehaviorSubject, combineLatest } from 'rxjs' /** * Read-only atom. * * @template T type of atom values */ export interface ReadOnlyAtom<T> extends Observable<T> { /** ...
the_stack
import { IButtonStyles, DefaultButton } from "@fluentui/react"; import { Icon, IIconProps } from '@fluentui/react/lib/Icon'; import { Label } from "@fluentui/react/lib/Label"; import { MSGraphClient } from "@microsoft/sp-http"; import { WebPartContext } from "@microsoft/sp-webpart-base"; import * as React from "react";...
the_stack
import { Component, Type, ViewChild, Directive } from '@angular/core'; import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NxTabGroupCom...
the_stack
import { BooleanAlgebra } from './BooleanAlgebra' import { Monoid } from './Monoid' import { Ring } from './Ring' import { Semigroup } from './Semigroup' import { Semiring } from './Semiring' // ------------------------------------------------------------------------------------- // instances // ----------------------...
the_stack
const recursiveReadDir = require('recursive-readdir'); const fuzzysort = require('fuzzysort'); import { promisify } from 'util'; import { Service } from 'typedi'; import Project from './Project'; import SourceFile, { ParseFailure, ParseResult } from './SourceFile'; import { getFileType } from 'indexer/util'; import ESM...
the_stack
import {CoreGraphNode} from '../../../../core/graph/CoreGraphNode'; import { ConnectionPointTypeMap, ConnectionPointEnumMap, DEFAULT_CONNECTION_POINT_ENUM_MAP, create_connection_point, } from './connections/ConnectionMap'; import {TypedNode} from '../../_Base'; import {ConnectionPointsSpareParamsController} from '....
the_stack
import ifm = require('./interfaces'); import testifm = require('vso-node-api/interfaces/TestInterfaces'); import ccp = require('./codecoveragepublisher'); import utilities = require('./utilities'); import cm = require('./common'); import Q = require('q'); var xmlreader = require('xmlreader'); export class CodeCoverag...
the_stack
import process from "process"; import path from "path"; import os from "os"; import fs from "fs-extra"; import execa from "execa"; import archiver from "archiver"; import cryptoRandomString from "crypto-random-string"; import commander from "commander"; import globby from "globby"; import bash from "dedent"; export de...
the_stack