text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { Path } from 'object-path'; import { Component, Emit, Prop, Vue, Watch } from 'vue-property-decorator'; import { TableType } from '../../classes'; import { Column, IColumnDefinition } from '../../classes/column'; import { ESortDir, IDisplayHandlerParam, IDisplayHandlerResult } from '../../classes/handlers'; im...
the_stack
import test from 'japa' import 'reflect-metadata' import { ApplicationContract } from '@ioc:Adonis/Core/Application' import { AuthManager } from '../src/AuthManager' import { SessionGuard } from '../src/Guards/Session' import { LucidProvider } from '../src/UserProviders/Lucid' import { DatabaseProvider } from '../src/...
the_stack
import {CrA11yAnnouncerElement} from 'chrome://resources/cr_elements/cr_a11y_announcer/cr_a11y_announcer.js'; import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js'; import {afterNextRender, html, PolymerElement} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; import {ReadLaterAp...
the_stack
* @fileoverview Implements utilities for notations for menclose elements * * @author dpvc@mathjax.org (Davide Cervone) */ import {AnyWrapper} from './Wrapper.js'; import {CommonMenclose} from './Wrappers/menclose.js'; /*****************************************************************/ export const ARROWX = 4, AR...
the_stack
import {ControllerClass} from '@loopback/core'; import {model, property} from '@loopback/repository'; import { Client, createRestAppClient, expect, givenHttpServerConfig, } from '@loopback/testlab'; import { api, getJsonSchema, jsonToSchemaObject, post, requestBody, RestApplication, RestBindings, ...
the_stack
import ReactDOM from "react-dom"; import { render, fireEvent, mockBoundingClientRect, restoreOriginalGetBoundingClientRect, GlobalTestState, screen, queryByText, queryAllByText, waitFor, } from "./test-utils"; import ExcalidrawApp from "../excalidraw-app"; import * as Renderer from "../renderer/render...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement, Operator } from "../shared"; /** * Statement provider for service [s3-outposts](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazons3onoutposts.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/l...
the_stack
import { assert, expect } from '@open-wc/testing'; import { LitElement } from 'lit'; import { customElement } from 'lit/decorators.js'; import sinon from 'sinon'; // API to test import { Binder, BinderConfiguration } from '../src'; import { Employee, EmployeeModel, Order, OrderModel, TestEntity, TestModel } from './Tes...
the_stack
import { computed, defineComponent, inject, nextTick, onBeforeUnmount, onMounted, provide, reactive, ref, toRefs, VNode, watch, } from 'vue'; import { CheckCircleFilledIcon, CloseCircleFilledIcon, ErrorCircleFilledIcon } from 'tdesign-icons-vue-next'; import cloneDeep from 'lodash/cloneDeep'; im...
the_stack
import { Maps } from '../../index'; import { BubbleSettingsModel, ColorMapping, IBubbleRenderingEventArgs, bubbleRendering } from '../index'; import { IBubbleClickEventArgs, bubbleClick, LayerSettings, IBubbleMoveEventArgs, bubbleMouseMove } from '../index'; import { isNullOrUndefined } from '@syncfusion/ej2-base'; imp...
the_stack
import * as ethers from 'ethers' import { AbstractContract, RevertError, expect, BigNumber } from './utils' import * as utils from './utils' import { ERC1155MetaMintBurnPackedBalanceMock, ERC1155ReceiverMock } from 'src/gen/typechain' // init test wallets from package.json mnemonic import { web3 } from 'hardhat'...
the_stack
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
the_stack
import { Attribute, PrimaryIdentifierAttribute, SecondaryIdentifierAttribute, Method, createAttributeDecorator, createMethodDecorator, isComponentClassOrInstance, isComponentInstance } from '@layr/component'; import {StorableComponent, SortDirection} from './storable'; import { StorablePropertyFinder...
the_stack
import EventsList from '../interfaces/events-list'; import Level from '../interfaces/level'; import Source from '../interfaces/source'; import { DVR_THRESHOLD, EVENT_OPTIONS, SUPPORTS_HLS } from '../utils/constants'; import { addEvent } from '../utils/events'; import { loadScript } from '../utils/general'; import { isH...
the_stack
import * as fs from 'fs'; import { inspect, promisify } from 'util'; import * as xml2js from 'xml2js'; import { AbstractRunnable, RunnableReloadResult } from '../AbstractRunnable'; import { AbstractTest, AbstractTestEvent } from '../AbstractTest'; import { Suite } from '../Suite'; import { DOCTest } from './DOCTest'; ...
the_stack
export class Endpoints { static readonly CHANNEL = (channelId) => [ 'channels', channelId ] static readonly CHANNEL_BULK_DELETE = (channelId) => [ 'channels', channelId, 'messages', 'bulk-delete' ] static readonly CHANNEL_CALL_RING = ...
the_stack
import './styles.js'; import {FilePath} from 'chrome://resources/mojo/mojo/public/mojom/base/file_path.mojom-webui.js'; import {Url} from 'chrome://resources/mojo/url/mojom/url.mojom-webui.js'; import {afterNextRender, html} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; import {kMaximumGoogle...
the_stack
import React from "react" import { observer } from "mobx-react" import { action, observable, computed, reaction } from "mobx" import { GrapherInterface, GrapherQueryParams, } from "../grapher/core/GrapherInterface" import { ExplorerControlPanel, ExplorerControlBar, } from "../explorer/ExplorerControls" ...
the_stack
import { default as axios } from 'axios'; import BigNumber from 'bignumber.js'; import { ApiAccount, ApiFundingRates, ApiHistoricalFundingRates, ApiIndexPrice, ApiMarketMessage, ApiMarketName, ApiOptions, ApiOrder, ApiOrderOnOrderbook, ApiSide, BigNumberable, Fee, Order, Price, SignedOrder...
the_stack
import addSemivoicedMarks from './fn/addSemivoicedMarks'; import addVoicedMarks from './fn/addVoicedMarks'; import byteSize from './fn/byteSize'; import charAt from './fn/charAt'; import charCodeAt from './fn/charCodeAt'; import combinateSoundMarks from './fn/combinateSoundMarks'; import concat from './fn/concat'; impo...
the_stack
import {CompositionTypeEnum} from '../../foundation/definitions/CompositionType'; import {ProcessApproach} from '../../foundation/definitions/ProcessApproach'; import {ShaderAttributeOrSemanticsOrString} from '../../foundation/materials/core/AbstractMaterialNode'; import {ShaderSemanticsClass} from '../../foundation/de...
the_stack
import { Datetime } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { BodyDateTimeClient } from "../bodyDateTimeClient"; import { DatetimeGetNullOptionalParams, DatetimeGetNullR...
the_stack
import * as PIXI from 'pixi.js'; import PIXIHelper from '../class/pixi/helper/PIXIHelper'; import { PIXIGlobal } from '../class/pixi/init/PIXIGlobal'; import { GEDragHelper } from './GEDragHelper'; import { IGEResManager } from './IGEResManager'; import { EaselResManager } from './EaselResManager'; import { PIXIBrushAd...
the_stack
import {PbEcdsaParams, PbEcdsaPublicKey, PbEcdsaSignatureEncoding, PbEllipticCurveType, PbHashType, PbKeyData} from '../internal/proto'; import * as Registry from '../internal/registry'; import * as Util from '../internal/util'; import * as Bytes from '../subtle/bytes'; import * as EllipticCurves from '../subtle/ellipt...
the_stack
import { IPackage } from '../interfaces/IPackage'; import { IPackageExplorer } from '../interfaces/IPackageExplorer'; import { NpmService } from '../services/NpmService'; import { IPackageDetail } from '../interfaces/IPackageDetail'; import { BowerService } from '../services/BowerService'; import { IPackageCommand } fr...
the_stack
import { testTokenization } from '../test/testRunner'; testTokenization('pug', [ // Tags [Pug] [ { line: 'p 5', tokens: [ { startIndex: 0, type: 'tag.pug' }, { startIndex: 1, type: '' } ] } ], [ { line: 'div#container.stuff', tokens: [ { startIndex: 0, type: 'tag.pug' }, { sta...
the_stack
declare namespace AMap { namespace Map { type Feature = 'bg' | 'point' | 'road' | 'building'; type ViewMode = '2D' | '3D'; interface Options { /** * 地图视口,用于控制影响地图静态显示的属性 */ view?: View2D | undefined; /** * 地图图层数组,数组可以...
the_stack
import type { DidCommService, ConnectionRecord } from '../modules/connections' import type { OutboundTransport } from '../transport/OutboundTransport' import type { OutboundMessage, OutboundPackage, EncryptedMessage } from '../types' import type { AgentMessage } from './AgentMessage' import type { EnvelopeKeys } from '...
the_stack
import _ from "lodash"; import m from "mithril"; import Stream from "mithril/stream"; import {TaskJSON, Template} from "models/admin_templates/templates"; import {EnvironmentVariableJSON} from "models/environment_variables/types"; import {PipelineStructure} from "models/internal_pipeline_structure/pipeline_structure"; ...
the_stack
import { animate, style, transition, trigger } from '@angular/animations' import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop' import { DOCUMENT } from '@angular/common' import { Component, ElementRef, EventEmitter, Inject, Input, OnChanges, OnInit, Output, QueryList, SimpleChanges, ViewChild, ViewChil...
the_stack
import os = require("os"); import TelemetryClient = require("../Library/TelemetryClient"); import Constants = require("../Declarations/Constants"); class AutoCollectPerformance { public static INSTANCE: AutoCollectPerformance; private static _totalRequestCount: number = 0; private static _totalFailedReq...
the_stack
import { IQuestionsFilter, IQuestionItem, IPagedItems, ICurrentUser, IReplyItem, IPostItem } from "models"; import { WebPartContext } from "@microsoft/sp-webpart-base"; import { IReadonlyTheme } from '@microsoft/sp-component-base'; import { DisplayMode } from "@microsoft/sp-core-library"; import { StandardFields, SortO...
the_stack
import { getRealURL } from "../utils/url"; import { ArConnectEvent } from "../views/Popup/routes/Settings"; import { connect, disconnect } from "../background/api/connection"; import { activeAddress, allAddresses, publicKey } from "../background/api/address"; import { addToken, walletNames } from "../background/a...
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 { message, Spin } from 'antd'; import ChartDrillContextMenu from 'app/components/ChartDrill/ChartDrillContextMenu'; import ChartDrillPaths from 'app/components/ChartDrill/ChartDrillPaths'; import { ChartIFrameContainer } from 'app/components/ChartIFrameContainer'; import { VizHeader } from 'app/components/VizHea...
the_stack
import difference from "lodash-es/difference"; import each from "lodash-es/each"; import flatten from "lodash-es/flatten"; import flow from "lodash-es/flow"; import intersection from "lodash-es/intersection"; import isEqual from "lodash-es/isEqual"; import isNumber from "lodash-es/isNumber"; import keys from "lodash-es...
the_stack
module Cats.OS.File { export var PATH:NodeJS.Path = require("path"); var fs = require("fs"); var exec = require("child_process").exec; var glob = require("glob"); /** * Very lightweight watcher for files and directories, used to inform the user of changes ...
the_stack
/// <reference path="node_modules/@types/snapsvg/index.d.ts"/> /// <reference path="node_modules/@types/knockout/index.d.ts"/> /// <reference path="node_modules/@types/jquery/index.d.ts"/> var COLOR_PRIMARY = ko.observable<Snap.RGB>(Snap.getRGB("#2C3E50")); var COLOR_SUCCESS = ko.observable<Snap.RGB>(Snap.getRGB("#18...
the_stack
declare var describe: any, console: any; import * as expect from 'expect'; import { findNodesByType, Nodes, PhaseFlags } from '../dist/compiler/nodes'; import { folderBasedTest, testParseToken, testParseTokenFailsafe, PhasesResult } from './TestHelpers'; import { ParsingContext } from '../dist/compiler/ParsingContext'...
the_stack
import { expect } from "chai"; import * as fs from "fs"; import { ClipPlane } from "../../clipping/ClipPlane"; import { ClipUtilities } from "../../clipping/ClipUtils"; import { ConvexClipPlaneSet } from "../../clipping/ConvexClipPlaneSet"; import { UnionOfConvexClipPlaneSets } from "../../clipping/UnionOfConvexClipPla...
the_stack
'use strict'; import * as turfHelpers from '@turf/helpers'; import lineSliceAlong from '@turf/line-slice-along'; import along from '@turf/along'; import bearing from '@turf/bearing'; import distance from '@turf/distance'; import length from '@turf/length'; import nearestPointOnLine from '@turf/nearest-point-on-line';...
the_stack
import open = require('open'); import { ExtensionContext, QuickPickItem, window, workspace } from 'vscode'; import { CargoManager } from './components/cargo/CargoManager'; import { CommandInvocationReason } from './components/cargo/CommandInvocationReason'; import { Configuration, Mode } from './components/configuratio...
the_stack
import * as path from "path"; import * as fs from "fs"; import { ProjectInSolution } from "./ProjectInSolution"; import { SolutionConfigurationInSolution } from "./SolutionConfigurationInSolution"; import { SolutionProjectType } from "./SolutionProjectType"; import { ProjectConfigurationInSolution } from "./ProjectConf...
the_stack
import * as ts from "typescript/lib/tsserverlibrary"; import * as lsp from "vscode-languageserver"; import { Logger } from "./logger"; import { ProjectService } from "./project_service"; import { projectLoadingNotification } from "./protocol"; import { ServerHost } from "./server_host"; import { tsDiagnosticToLspDiag...
the_stack
import { t } from "typy"; import { IQueryOperationResolver, IQueryResolver, IEntityQueryResolver } from "@miniql/core-types"; export { INestedEntityResolver, INestedEntityResolvers, IEntityQueryResolver, IQueryOperationResolver, IQueryResolver } from "@miniql/core-types"; // // Represents a nested/related entity to be...
the_stack
import quip from "quip-apps-api"; import quiptext from "quiptext"; import { COLUMN_TYPE as TABLE_VIEW_COLUMN_TYPE, COLUMN_TYPE_LABELS, ColumnRecord, DateRecord, FileRecord, PersonRecord, RowRecord, StatusRecord, StatusTypeRecord, TextRecord, UserRecord, } from "../../../share...
the_stack
import * as childProcess from "child_process" import * as events from "events" import * as fs from "fs" import * as os from "os" import * as path from "path" import * as readline from "readline" const tssPath = path.join( __dirname, "..", "..", "..", "..", "node_modules", "typescript", ...
the_stack
import * as vscode from "vscode"; import type { PerEditorState } from "./editors"; import type { Extension } from "./extension"; import type { Mode } from "./modes"; import type { StatusBar } from "./status-bar"; import { Context, Positions, Selections } from "../api"; import { CommandDescriptor } from "../commands"; ...
the_stack
import * as assert from 'assert'; import * as diff from 'diff'; // You can import and use all API from the 'vscode' module // as well as import your extension to test it import * as text from '../src/util/AnnotatedText'; import * as proto from '../src/coqtop/coq-proto'; import * as db from '../src/coqtop/xml-protocol/...
the_stack
import * as React from 'react'; import { mount } from 'enzyme'; import { PluginHost } from '@devexpress/dx-react-core'; import { pluginDepsToComponents, getComputedState, executeComputedAction, testStatePluginField, setupConsole, } from '@devexpress/dx-testing'; import { changeColumnGrouping, toggleExpand...
the_stack
import { Params } from "../server/params"; import { Stores } from "../schema/stores"; import zlib from "zlib"; import { KotsAppStore } from "./kots_app_store"; import { eq, eqIgnoringLeadingSlash, FilesAsBuffers, TarballUnpacker, isTgzByName } from "../troubleshoot/util"; import { kotsRenderFile, kotsTemplateConfig } f...
the_stack
import * as React from 'react'; import { Categorization, Category, ControlElement, JsonSchema, Layout, } from '@jsonforms/core'; import { JsonFormsStateProvider } from '@jsonforms/react'; import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; import Enzyme, { mount, ReactWrapper } from 'enzyme'; import Cat...
the_stack
import { QuickPickItem, window } from 'vscode'; import { GitActions } from '../../commands/gitCommands.actions'; import { OpenChangedFilesCommandArgs } from '../../commands/openChangedFiles'; import { QuickCommandButtons } from '../../commands/quickCommand.buttons'; import { Commands, GlyphChars } from '../../constants...
the_stack
import { wait } from "@core/lib/utils/wait"; import { SharedIniFileCredentials } from "aws-sdk"; import IAM from "aws-sdk/clients/iam"; import ECR from "aws-sdk/clients/ecr"; import ECS from "aws-sdk/clients/ecs"; import EC2 from "aws-sdk/clients/ec2"; import ELBv2 from "aws-sdk/clients/elbv2"; import CF from "aws-sdk/...
the_stack
import { mockAwsRekognition, mockAwsS3 } from './mock'; import fs from 'fs'; import sharp from 'sharp'; import S3 from 'aws-sdk/clients/s3'; import Rekognition from 'aws-sdk/clients/rekognition'; import { ImageHandler } from '../image-handler'; import { BoundingBox, BoxSize, ImageEdits, ImageFormatTypes, ImageHandler...
the_stack
import { StatusCode, StatusCodes } from "node-opcua-status-code"; import { BrowseResultOptions, ReferenceDescription } from "node-opcua-types"; import { ContinuationPoint, IContinuationPointManager, IContinuationPointInfo, ContinuationData } from "node-opcua-address-space-base"; import { DataValue } fro...
the_stack
import { Widget } from '@lumino/widgets'; import { DocumentRegistry } from '@jupyterlab/docregistry'; import { PromiseDelegate, UUID } from '@lumino/coreutils'; import { PathExt } from '@jupyterlab/coreutils'; import Papa from 'papaparse'; import { Message } from '@lumino/messaging'; import jexcel from 'jexcel'; import...
the_stack
import { IDisposable } from '@phosphor/disposable'; import { Platform } from '@phosphor/domutils'; import { Drag } from '@phosphor/dragdrop'; import { DataGrid } from './datagrid'; import { DataModel } from './datamodel'; import { SelectionModel } from './selectionmodel'; /** * A basic implementatio...
the_stack
namespace ergometer { import hasWebBlueTooth = ergometer.ble.hasWebBlueTooth; export interface RowingGeneralStatusEvent extends pubSub.ISubscription { (data : RowingGeneralStatus) : void; } export interface RowingAdditionalStatus1Event extends pubSub.ISubscription { (data : RowingAdditi...
the_stack
import { once } from 'vs/base/common/functional'; import { Disposable } from 'vs/base/common/lifecycle'; import { IStorage } from 'vs/base/parts/storage/common/storage'; import { IEnvironmentService } from 'vs/platform/environment/common/environment'; import { IFileService } from 'vs/platform/files/common/files'; impor...
the_stack
import React, {useEffect, useRef, useState, useImperativeHandle} from 'react'; import marked from "marked"; import hljs from 'highlight.js' import './mdEditor.scss' import './preview.scss' import 'codemirror/lib/codemirror.css' import 'codemirror/theme/darcula.css' import 'codemirror/addon/fold/foldgutter.css' const r...
the_stack
import fs from 'fs' import test from 'blue-tape' import { mock, unmock } from 'mocku' import { createSpy, getSpyCalls } from 'spyfn' import foxr from '../../src/' import ElementHandle from '../../src/api/ElementHandle' import { testWithFirefox } from '../helpers/firefox' import JSHandle from '../../src/api/JSHandle' t...
the_stack
import { expect } from 'chai'; import { find, map, toArray } from '@phosphor/algorithm'; import { LinkedList } from '@phosphor/collections'; describe('@phosphor/collections', () => { describe('LinkedList', () => { describe('#constructor()', () => { let list = new LinkedList<number>(); expe...
the_stack
import { ActionType, ActionsType, ActionType2 } from './../../types' import { AppProps, App, Init, View, Subscribe, OnUpdate, runActionResult, Context, Patch, Component, normalize, ActionReturn } from './../../index' import { Dt, dt, never, CombinedComps } from '../../helpers' import Cmd, { CmdType } from './../....
the_stack
import {Injectable} from '@angular/core'; import {SettingsService} from './settings.service'; import * as child from 'child_process'; import * as path from 'path'; import {LogService} from './log.service'; import {LogType} from '../enum/log.type.enum'; import * as AWS from 'aws-sdk'; import {ElectronService} from 'ngx-...
the_stack
import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Inject, Injector, Input, OnChanges, QueryList, SimpleChanges, ViewChild, ViewChildren } from "@angular/core"; import {AbstractControl, ControlValueAccessor, Form...
the_stack
import React, { useCallback, useState, useEffect } from 'react'; import classes from './Risk.module.scss'; import { ResponsivePie } from '@nivo/pie'; import { ResponsiveBar } from '@nivo/bar'; import { useAuthContext } from 'context'; import { makeStyles, Paper, Tooltip, Chip } from '@material-ui/core'; import { Pagina...
the_stack
import { Category, toolbar, dialogAddons } from './annotations'; import Column, { widthChanged, labelChanged, metaDataChanged, dirty, dirtyHeader, dirtyValues, rendererTypeChanged, groupRendererChanged, summaryRendererChanged, visibilityChanged, dirtyCaches, } from './Column'; import { defaultGr...
the_stack
import { Component, OnInit, Output, EventEmitter } from '@angular/core'; import { FormGroup, FormArray, FormBuilder, Validators } from '@angular/forms'; import { ActivatedRoute } from '@angular/router'; import { NgbPanelChangeEvent } from '@ng-bootstrap/ng-bootstrap'; import { timer } from 'rxjs'; import { debounc...
the_stack
import { Characteristic } from "../Characteristic"; import { Service } from "../Service"; /** * Service "Access Code" * @since iOS 15 */ export class AccessCode extends Service { public static readonly UUID: string = "00000260-0000-1000-8000-0026BB765291"; constructor(displayName?: string, subtype?: string) {...
the_stack
import * as fs from "fs-extra"; import * as Path from "path"; import {IConf, ISetting} from "../conf/interface"; import {EventEmitter} from "events"; import {IApi, APIRunningState} from "../core/api"; import {exitLog, genLogger, genMemCache, Logger} from "../utils"; import {timeoutPromise} from "kht/lib"; import * as g...
the_stack
import { ApplicationRef, Component, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { skip } from 'rxjs/operators'; import { NbCalendarRange, NbDatepickerDirective, NbTimepickerModule, NbDateTimePi...
the_stack
import * as tsUnit from './tsUnit'; export class RealClass { public name = 'Real'; run() { return false; } returnValue(): RealClass { return this; } } class SetUpTestClassStub extends tsUnit.TestClass { public TestProperty: string = ''; setUp() { th...
the_stack
import { core } from 'nexus' import { GraphQLResolveInfo } from 'graphql' import * as prisma from '../prisma-client' declare global { interface NexusPrismaGen extends NexusPrismaTypes {} } export interface NexusPrismaTypes { objectTypes: { fields: { Query: QueryObject User: UserObject Passwo...
the_stack
import { DocumentColorProvider, TextDocument, CancellationToken, Range, Color, ColorPresentation, TextEdit, ColorInformation } from "vscode"; import { getCssRanges, isInCfOutput } from "../utils/contextUtil"; import { getDocumentStateContext, DocumentStateContext } from "../utils/documentUtil"; import { cssPropertyPatt...
the_stack
import {HttpClient} from "@angular/common/http"; import {Component, Inject, Input, OnChanges, OnInit, SimpleChanges, ViewChild} from "@angular/core"; import {FormControl, FormGroup, ValidationErrors, Validators} from "@angular/forms"; import {MatAutocompleteSelectedEvent, MatAutocompleteTrigger} from "@angular/material...
the_stack
import {GearIcon} from '../../../vectors'; import OptionsContainer from '../options-container'; import Select from './select'; import {ipcRenderer as ipc} from 'electron-better-ipc'; import useConversionIdContext from 'hooks/editor/use-conversion-id'; import useEditorWindowState from 'hooks/editor/use-editor-window-sta...
the_stack
export enum lngKeys { GeneralError = 'general.error', GeneralCreate = 'general.create', GeneralCancel = 'general.cancel', GeneralUpdate = 'general.update', GeneralAttachments = 'general.attachments', GeneralArchive = 'general.archive', GeneralSignin = 'general.signin', GeneralSigningIn = 'general.signin...
the_stack
import { setContext } from "svelte"; import { handleChromeAutofill } from "./chromeAutofill"; import { Form } from "./models/form"; import type { FormControl } from "./models/formControl"; import { FormMember, isFormMember, isTextElement, TextElement, } from "./models/formMembers"; import type { FormProperties...
the_stack
import { expect } from 'chai'; import chalk from 'chalk'; import { spy } from 'sinon'; import { ClientRequest } from 'http'; import nock from 'nock'; import { extractProxy, getHttpsTransport, doFingerprintsMatch, normalizeFingerprint, applyCertPinning, finishWatchJobStatusTask, logJobStatus, ...
the_stack
import { testTokenization } from '../test/testRunner'; testTokenization('dart', [ // Comments - single line [ { line: '//', tokens: [{ startIndex: 0, type: 'comment.dart' }] } ], [ { line: ' // a comment', tokens: [ { startIndex: 0, type: '' }, { startIndex: 4, type: 'comment.dart' } ...
the_stack
import { Form, Formik, FormikErrors } from "formik"; import React from "react"; import { Modal } from "react-bootstrap"; import { GetMessage, DEFAULT_EMAIL_CUSTOM_FIELD } from "src/common/helpers"; import TextField from "src/options/components/common/TextField"; import DataTypeSelectField from "src/options/compo...
the_stack
import { Button } from '@chakra-ui/react'; import { css } from '@emotion/react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { isBrowser } from '@unly/utils'; import React, { MutableRefObject, useEffect, useState, } from 'react'; import { Canvas, CanvasRef, EdgeProps, NodeProp...
the_stack
import ChangeListeners from './ChangeListeners'; import {hint} from './Console'; import EventObject from './EventObject'; import {EventsClass} from './Events'; import Listeners from './Listeners'; import {PropertyTypes, types} from './property-types'; import * as symbols from './symbols'; import {notify} from './symbol...
the_stack
import xs, {Stream} from 'xstream'; import concat from 'xstream/extra/concat'; import sampleCombine from 'xstream/extra/sampleCombine'; import debounce from 'xstream/extra/debounce'; import {Reducer, Lens} from '@cycle/state'; import {Platform} from 'react-native'; import {AsyncStorageSource} from 'cycle-native-asyncst...
the_stack
import React, { ReactNode, useState, useEffect } from "react"; import { ThemeableElement, useTheme } from "@devtools-ds/themes"; import makeClass from "clsx"; import TreeContext from "./TreeContext"; import styles from "./Tree.css"; export interface TreeProps extends ThemeableElement<"ul"> { /** The label for this n...
the_stack
/// <reference path="models/models.ts" /> /// <reference path="typings/window-options.d.ts" /> /// <reference path="typings/draggabilly.d.ts" /> /// <reference path="typings/packery.d.ts" /> /// <reference path="typings/packery.jquery.d.ts" /> /// <reference path="../../node_modules/@aspnet/signalr/dist/esm/index.d.ts...
the_stack
import type { TSESTree } from '@typescript-eslint/types'; import assert from 'assert'; import { createTextDocument, CSpellSettings, DocumentValidator, ValidationIssue, TextDocument } from 'cspell-lib'; import type { Rule } from 'eslint'; // eslint-disable-next-line node/no-missing-import import type { Comment, Identifi...
the_stack
/// <reference types="./passport-totp" /> import * as crypto from 'crypto'; import * as util from 'util'; import * as jwt from 'jsonwebtoken'; import assert from 'assert'; import { Request, } from 'express'; import '../types'; import * as db from './db'; import * as model from '../model/user'; import * as secret from...
the_stack
import type {Mutable, ObserverType} from "@swim/util"; import type {FastenerOwner} from "@swim/component"; import type {GestureInputType} from "./GestureInput"; import {GestureMethod, GestureInit, GestureClass, Gesture} from "./Gesture"; import {PositionGestureInput} from "./PositionGestureInput"; import {MousePosition...
the_stack
import * as test from 'tape'; import { MuSchema, MuASCII, MuFixedASCII, MuUTF8, MuBoolean, MuFloat32, MuFloat64, MuInt8, MuInt16, MuInt32, MuUint8, MuUint16, MuUint32, MuVarint, MuRelativeVarint, MuStruct, MuArray, MuSortedArray, MuDictionary, ...
the_stack
import * as Path from "path"; import * as FS from "fs"; import {Mutable, Proto, Equals} from "@swim/util"; import {FastenerOwner, FastenerFlags, FastenerInit, FastenerClass, Fastener} from "@swim/component"; /** @internal */ export type FileRelationValue<F extends FileRelation<any, any>> = F extends FileRelation<any...
the_stack
namespace LiteMol.Viewer.PDBe.SequenceAnnotation { import Entity = Bootstrap.Entity; import Transformer = Bootstrap.Entity.Transformer; import Query = LiteMol.Core.Structure.Query; export interface Annotations extends Entity<{ data: any }> { } export const Annotations = Entity.create<{ data...
the_stack
import { BarcodeGenerator } from "../../../src/barcode/barcode"; import { createElement } from "@syncfusion/ej2-base"; let barcode: BarcodeGenerator; let ele: HTMLElement; describe('Barcode Control', () => { describe('Checking the general rendering of bar code', () => { beforeAll((): void => { ...
the_stack
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { registerComponent, Components } from '../../lib/vulcan-lib'; import { userUseMarkdownPostEditor } from '../../lib/collections/users/helpers'; import { editorStyles, ckEditorStyles } from '../../themes/stylePiping' import withUser fro...
the_stack
'use strict'; import * as assert from 'assert'; import { Deferred } from 'ts-deferred'; import * as component from '../common/component'; import { Database, DataStore, MetricData, MetricDataRecord, MetricType, TrialJobEvent, TrialJobEventRecord, TrialJobInfo, HyperParameterFormat, ExportedDataFormat } from '....
the_stack
import { isArray } from '../common/types'; import { makeStruts, parseLatex, Atom, coalesce, Box, Context, adjustInterAtomSpacing, DEFAULT_FONT_SIZE, getMacros, } from '../core/core'; import { getKeybindingsForCommand } from './keybindings'; import { attachButtonHandlers } from '../editor-mathfield/b...
the_stack
import { resolveNameBank } from '../../../util'; import itemID from '../../../util/itemID'; import { Plant } from '../../types'; const herbPlants: Plant[] = [ { level: 9, plantXp: 0, checkXp: 11, harvestXp: 12.5, name: 'Guam', aliases: ['guam weed', 'guam'], inputItems: resolveNameBank({ 'Guam seed': 1 ...
the_stack
import { Approx } from '@basemaps/test'; import { round } from '@basemaps/test/build/rounding.js'; import o from 'ospec'; import { Point } from '../bounds.js'; import { Epsg } from '../epsg.js'; import { QuadKey } from '../quad.key.js'; import { TileMatrixSet } from '../tile.matrix.set.js'; import { TileMatrixSets } fr...
the_stack
import { Heading, Icon } from "@kaizen/component-library" import { Checkbox, CheckedStatus } from "@kaizen/draft-form" import classNames from "classnames" import * as React from "react" import sortAscendingIcon from "@kaizen/component-library/icons/sort-ascending.icon.svg" import sortDescendingIcon from "@kaizen/compon...
the_stack