text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { log } from "@ledgerhq/logs"; import type { Currency, Account } from "../types"; import { flattenAccounts, getAccountCurrency } from "../account/helpers"; import { promiseAllBatched } from "../promise"; import type { CounterValuesState, CounterValuesStateRaw, CountervaluesSettings, TrackingPair, RateM...
the_stack
import * as React from 'react'; import DocumentTitle from 'react-document-title'; import { Drawer, Button, Table, Space, Pagination, message, Select, Form, Input, DatePicker } from 'antd'; import { StarOutlined, StarTwoTone, PlusOutlined } from '@ant-design/icons'; import { ColumnsType } from 'antd/es/table'; import m...
the_stack
'use strict' module altai { export const MaxNumColorAttachments = 4; export const MaxNumVertexAttribs = 16; export function some<T>(opt0: T, opt1: T): T { return opt0 != null ? opt0 : opt1; } export function some3<T>(opt0: T, opt1: T, opt2: T): T { return opt0 != null ? opt0 : (opt1 != null ? opt1 : opt2); ...
the_stack
import { HttpHandler, HttpResponse } from '@angular/common/http'; import { PLATFORM_ID } from '@angular/core'; import { Observable } from 'rxjs'; import { take } from 'rxjs/operators'; import { FacebookProvider } from '../providers/facebook-provider'; import { GoogleProvider } from '../providers/google-provider'; impor...
the_stack
declare function NSStringFromTWTRMediaEntitySizeResizingMode(resizingMode: TWTRMediaEntitySizeResizingMode): string; declare class TWTRAPIClient extends NSObject { static alloc(): TWTRAPIClient; // inherited from NSObject static clientWithCurrentUser(): TWTRAPIClient; static new(): TWTRAPIClient; // inherited fr...
the_stack
import { PageRange } from "../generated/artifacts/models"; import { PersistencyPageRange, ZERO_EXTENT_ID } from "../persistence/IBlobMetadataStore"; import IPageBlobRangesManager from "./IPageBlobRangesManager"; /********** Ranges Merging Strategy ************/ // // Example: // Existing ranges: |---| |------| ...
the_stack
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="ru_RU"> <context> <name>AboutDialog</name> <message> <location filename="../../src/dialogs/aboutdialog.cpp" line="45"/> <source>About &lt;AppName&gt;</source> <translation>О программе &lt;AppName&gt;</transl...
the_stack
import * as monaco from "../monaco/monaco" import "./editor-themes" // for side-effects import { Script, ScriptMeta } from "./script" import { EventEmitter } from "./event" import { db } from "./data" import { config } from "./config" import { scriptsData } from "./script-data" import { ViewZones } from "./viewzones" ...
the_stack
import { BufferGeometry, Matrix3, Mesh, Object3D, Vector3 } from 'three' /** * https://github.com/gkjohnson/ply-exporter-js * * Usage: * const exporter = new PLYExporter(); * * // second argument is a list of options * exporter.parse(mesh, data => console.log(data), { binary: true, excludeAttributes: [ 'colo...
the_stack
import * as should from "should"; import { ContinuationPoint, nodesets, StatusCodes } from "node-opcua"; import { OPCUAServer } from "node-opcua-server"; import { date_add } from "node-opcua-address-space/testHelpers"; import { OPCUAClient, ClientSession, ReadRawModifiedDetails, HistoryReadRequest, ...
the_stack
import { build } from "."; import JsHistogram from "./JsHistogram"; import { NO_TAG } from "./Histogram"; import Int32Histogram from "./Int32Histogram"; import { initWebAssembly, WasmHistogram, initWebAssemblySync } from "./wasm"; import Int8Histogram from "./Int8Histogram"; import Histogram from "./Histogram"; class ...
the_stack
module TDev.RT { export enum ShakeType { X, Y, Z, } export module ShakeDetector { /// <summary> /// Any vector that has a magnitude (after reducing gravitation) bigger than this parameter will be considered as a shake vector /// </summary> var...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormCustomerAddress_Information { interface tab_general_Sections { additional_information: DevKit.Controls.Section; customer_address_information: DevKit.Controls.Section; phone_numbers: DevKit.Controls.Section; } inter...
the_stack
import React from 'react' import { FlatList, View, Text, TouchableOpacity, Linking } from 'react-native' // @ts-ignore import Prompt from 'react-native-input-prompt' // @ts-ignore import { USER_API_SECRET, USER_API_KEY } from 'react-native-dotenv' // @ts-ignore import Filter from 'bad-words' import { Buckets, Client, K...
the_stack
'use strict'; import { expect } from 'chai'; import { afterEach } from 'mocha'; import { SnippetString } from 'vscode'; import { DidactUriCompletionItemProvider, DIDACT_COMMAND_PREFIX } from "../../didactUriCompletionItemProvider"; import { getContext } from '../../extensionFunctions'; import * as vscode from 'vscode'...
the_stack
import { InanoSQLAdapter, InanoSQLDataModel, InanoSQLTable, InanoSQLPlugin, InanoSQLInstance, VERSION } from "@nano-sql/core/lib/interfaces"; import { _nanoSQLQueue, generateID, maybeAssign, setFast, deepSet, allAsync, blankTableDefinition, chainAsync, slugify, binarySearch } from "@nano-sql/core/lib/utilities"; // imp...
the_stack
import classNames from 'classnames'; import React, { ChangeEvent, ReactElement, useEffect, useState } from 'react'; import { FieldError, useForm } from 'react-hook-form'; import * as yup from 'yup'; import { Layout } from '../components/Layout'; import { previews } from '../data/defaultPreviews'; import { Spinner } fro...
the_stack
import * as KMLTAGS from './KMLTags'; import _ from 'lodash'; import { BoundingBox, GeoPackage, TileScaling, TileScalingType, FeatureTableStyles } from '@ngageoint/geopackage'; import { GeoSpatialUtilities } from './geoSpatialUtilities'; import { ImageUtilities } from './imageUtilities'; import Jimp from 'jimp'; import...
the_stack
import * as fs from "fs"; import { dirname, resolve, sep } from "path"; import { InternalError } from "../error"; import { trace, tracef } from "../utils"; import * as ts from "./tsmod"; // tslint:disable-next-line:no-var-requires const typeName = require("type-name"); const tsmod = ts.tsmod; export let debugChainab...
the_stack
'use strict'; import * as dom5 from 'dom5'; var p = dom5.predicates; import {LintError} from './lint-error'; import {ExpressionParser} from './expressions'; var expressionParser = new ExpressionParser(); function getDomModules(analyzer, id) { if (!analyzer.__domModuleCache) { analyzer.__domModuleCache = {}; ...
the_stack
import { ElementRefs, EElementSignature, getElementType } from './field.render'; export enum ESettingType { standard = 'standard', advanced = 'advanced', hidden = 'hidden', } export interface IStorage { [key: string]: number | string | boolean | IStorage; } export interface IEntry { key: string; ...
the_stack
'use strict'; // ==================== // KONG TYPES // ==================== export interface KongApi { created_at?: number, hosts?: string[], uris?: string[], http_if_terminated?: boolean, https_only?: boolean, id?: string, name: string, preserve_host?: boolean, retries?: number, ...
the_stack
import React from 'react'; import {Link, RouteComponentProps} from "react-router-dom"; import "./Index.less" import TankComponent from "../../common/component/TankComponent"; import TankTitle from "../widget/TankTitle"; import {Alert, Col, Row} from 'antd'; import RatePanel from "./widget/RatePanel"; import ReactEchart...
the_stack
import { AssertionKind, BlockStatement, ClassDeclaration, CommonFlags, Expression, FieldDeclaration, IfStatement, MethodDeclaration, NodeKind, ParameterKind, ParameterNode, PropertyAccessExpression, Range, Statement, Token, TypeNode, } from "./assemblyscript"; import { djb2Hash } from "....
the_stack
export type MAGIC_EVENTS = | '@init' | '@enter' | '@leave' | '@change' | '@miss' | '@guard'; export type MAGIC_PHASES = '@current' | '@busy' | '@locked'; const BUSY_PHASES: MAGIC_PHASES[] = ['@busy', '@locked']; export interface InternalMachine< State, Attributes, AvailablePhases, Messages, Sign...
the_stack
import { Writable } from 'stream'; import cheerio = require('cheerio'); /** * Key and certificate to be passed to https.createServer() * See supported formats [here](https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options) */ export interface CertificateParams { cert: string | string[] | Buffer | Bu...
the_stack
import { BezierNode } from '@0b5vr/automaton'; import { Colors } from '../constants/Colors'; import { MouseComboBit, mouseCombo } from '../utils/mouseCombo'; import { Resolution } from '../utils/Resolution'; import { TimeValueRange, dt2dx, dv2dy, dx2dt, dy2dv, snapTime, snapValue, t2x, v2y, x2t, y2v } from '../utils/Ti...
the_stack
import { Nullable } from "../../../shared/types"; import * as React from "react"; import { Dialog, Classes, MenuItem, Button, Callout, InputGroup, RadioGroup, Radio, Divider, Switch, Intent, NumericInput, FormGroup } from "@blueprintjs/core"; import { Suggest } from "@blueprintjs/select"; import { Animation, Co...
the_stack
import { commands, Disposable, GitTimelineItem, SourceControlResourceGroup, SourceControlResourceState, TextEditor, TextEditorEdit, TimelineItem, Uri, window, } from 'vscode'; import type { ActionContext } from '../api/gitlens'; import { Commands } from '../constants'; import { GitBranch, GitCommit, GitCon...
the_stack
import { AuthModeStrategy, InternalSchema, LimitTimerRaceResolvedValues, SchemaModel, SchemaNamespace, } from '../src/types'; import { generateSelectionSet, getModelAuthModes } from '../src/sync/utils'; import { GRAPHQL_AUTH_MODE } from '@aws-amplify/api-graphql'; import { DeferredCallbackResolver } from '../src/u...
the_stack
import React from "react"; import { render, screen } from "@testing-library/react"; import { Box } from "."; describe("Box", () => { it("renders visibly", () => { render(<Box>box</Box>); expect(screen.getByText("box")).toBeVisible(); }); it("renders as element", () => { render(<Box as="span">box</B...
the_stack
import { fabric } from 'fabric'; import { IEvent } from 'fabric/fabric-impl'; import jsonPatch from 'fast-json-patch'; import _ from 'lodash'; import { applyObjectConfig, deleteObject, getDeleteAtVersion, getId, isLiveObj, objectToJson, setDeleteAtVersion, } from './fabric-utils'; import LiveUpdate...
the_stack
import { assert } from "chai"; import { spy, useFakeTimers } from "sinon"; import { go, map, mapTo } from "@funkia/jabz"; import { at, Behavior, isBehavior, observe, producerBehavior, push, sinkBehavior, moment, format, switchTo, fromFunction, sinkFuture, freezeTo, Stream, time, runNow, ...
the_stack
import * as GObject from "@gi-types/gobject"; export const ANALYZER_ANALYZING: number; export const ASCII_DTOSTR_BUF_SIZE: number; export const BIG_ENDIAN: number; export const CSET_A_2_Z: string; export const CSET_DIGITS: string; export const CSET_a_2_z: string; export const DATALIST_FLAGS_MASK: number; export const ...
the_stack
import { gql } from "@apollo/client"; import * as Apollo from "@apollo/client"; export type Maybe<T> = T | null; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }; export type MakeMaybe...
the_stack
import { Input, Model, Value } from '@contember/schema' import { Mapper } from '../Mapper' import { UpdateBuilder } from './UpdateBuilder' import { UpdateInputProcessor } from '../../inputProcessing' import * as Context from '../../inputProcessing' import { ConstraintType, getInsertPrimary, MutationConstraintViolati...
the_stack
import { MochaJSDelegate } from './MochaJSDelegate'; import { uuidv4, coscriptKeepAround, coscriptNotKeepAround } from './keepAround'; import { logger } from '../meaxure/common/logger'; import { meaxure, wrapWebViewScripts } from './webviewScripts'; import { dispatchFirstClick } from './dispatchFirstClick'; export int...
the_stack
import * as path from 'path'; import * as fsx from 'fs-extra'; import * as klaw from 'klaw'; import * as BBPromise from 'bluebird'; import * as optional from 'optional-js'; import * as _ from 'lodash'; import { ForceIgnore } from '@salesforce/source-deploy-retrieve/lib/src/metadata-registry/forceIgnore'; import { fs ...
the_stack
import rule from "./no-unsafe-mutable-readonly-assignment"; import { RuleTester } from "@typescript-eslint/experimental-utils/dist/ts-eslint"; import { AST_NODE_TYPES } from "@typescript-eslint/experimental-utils/dist/ts-estree"; const ruleTester = new RuleTester({ parserOptions: { sourceType: "module", proj...
the_stack
// make TypeScript happy about external libraries (TODO: use .d.ts files) declare var heart: any; declare var PF: any; declare var pako: any; interface HeartImage { img: HTMLImageElement; getWidth(): number; getHeight(): number; } let gMap!: GameMap; const images: { [name: string]: HeartImage } = {} // Im...
the_stack
import React from 'react'; import {useIntl, FormattedMessage} from 'gatsby-plugin-intl'; import {Accordion} from '@trussworks/react-uswds'; // Components: import Category from '../Category'; import DisadvantageDot from '../DisadvantageDot'; import Indicator from '../Indicator'; // Styles and constants import * as sty...
the_stack
import { computeStackTrace } from './compute-stack-trace'; export const OPERA_25 = { message: "Cannot read property 'undef' of null", name: 'TypeError', stack: "TypeError: Cannot read property 'undef' of null\n" + ' at http://path/to/file.js:47:22\n' + ' at foo (http://path/to/file.js:52:15)\n'...
the_stack
import * as collabs from "@collabs/collabs"; import { YataSave } from "../generated/proto_compiled"; type YataOpArgs<T> = [ string, string, string, T, Record<string, any>, Record<string, any>? ]; export class YataOp<T> extends collabs.CObject { readonly creatorId: string; // TODO: readonly (broken onl...
the_stack
namespace $ { export function $mol_build_start( this: $, paths : string[], ) { var build = $mol_build.relative( '.' ) if( paths.length > 0 ) { try { paths.forEach( ( path : string )=> { path = build.root().resolve( path ).path() return build.bundleAll( { path } ) } ) pro...
the_stack
import type { CSpellSettingsWithSourceTrace, DictionaryDefinition, DictionaryDefinitionCustom, FileSource, Glob, GlobDef, Pattern, RegExpPatternDefinition, } from '@cspell/cspell-types'; import { AutoLoadCache, createAutoLoadCache, createLazyValue, LazyValue } from 'common-utils/autoLoad...
the_stack
import * as React from 'react'; import BusyButton from '../atoms/BusyButton'; import Button from '@material-ui/core/Button'; import Buttons from '../lib/Buttons'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogContent from '@material-ui/core/Dial...
the_stack
'use strict' import Dataset from '../../rdf/dataset' import { rdf } from '../../utils' import { Algebra } from 'sparqljs' import { partition } from 'lodash' /** * Create a triple pattern that matches all RDF triples in a graph * @private * @return A triple pattern that matches all RDF triples in a graph */ functi...
the_stack
import * as path from 'path'; import * as fs from 'fs'; import { workspace, window, commands, QuickPickItem, ExtensionContext, StatusBarAlignment, TextEditor,ThemeColor, Disposable, TextDocumentSaveReason, Uri } from 'vscode'; import { LanguageClient, LanguageClientOptions, SettingMonitor, ServerOptions, TextEdit, Re...
the_stack
import appModule from 'app-module-path'; import * as globby from 'globby'; import * as fs from '../fs'; import * as inquirer from '../inquirer'; import { PackageJson } from '../fs'; jest.mock('flex-plugins-utils-logger/dist/lib/inquirer'); jest.mock('globby'); jest.mock('app-module-path'); describe('fs', () => { c...
the_stack
import { window, TextEditor, TextDocument, Uri, workspace, WorkspaceEdit, Position, Range, Selection, QuickPickItem, QuickPickOptions, ViewColumn } from 'vscode'; import { readJSON } from 'fs-extra'; import * as path from 'path'; import { sessionDir, sessionDirectoryExists, writeResponse, writeSuccessResponse } f...
the_stack
import { jestConsoleContext, jestContext } from '@prisma/sdk' import execa from 'execa' import fs from 'fs-jetpack' import { DbSeed } from '../commands/DbSeed' // TODO: Windows: snapshot tests fail on Windows because of emoji. const describeIf = (condition: boolean) => (condition ? describe : describe.skip) const ct...
the_stack
import dox from 'dox'; import path from 'path'; import { ObjectTypeComposer, EnumTypeComposer } from 'graphql-compose'; import ElasticApiParser from '../ElasticApiParser'; const apiPartialPath = path.resolve(__dirname, '../__mocks__/apiPartial.js'); describe('ElasticApiParser', () => { let parser: ElasticApiParser;...
the_stack
import { blockchainTests, constants, expect, verifyEventsFromLogs } from '@0x/contracts-test-utils'; import { AuthorizableRevertErrors } from '@0x/contracts-utils'; import { BigNumber, StakingRevertErrors } from '@0x/utils'; import * as _ from 'lodash'; import { artifacts } from '../artifacts'; import { StakingPro...
the_stack
import { dirname } from 'path'; import { addImportToModule, addBootstrapToModule, addSymbolToNgModuleMetadata, findNodes, } from '@schematics/angular/utility/ast-utils'; import { InsertChange, Change } from '@schematics/angular/utility/change'; import { SchematicsException, Rule, Tree } from '@angular-devkit/s...
the_stack
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { AcceptAdministratorInvitationCommand, AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput, } from "./commands/AcceptAdministratorInvitationCommand"; import { AcceptInvitationCommand, Accept...
the_stack
import { Observable } from 'rxjs/Observable'; import { ArmServiceHelper } from './arm.service-helper'; import { Jwt } from './../Utilities/jwt'; import { Url } from './../Utilities/url'; import { Injectable } from '@angular/core'; import { Subject } from 'rxjs/Subject'; import { ReplaySubject } from 'rxjs/ReplaySubjec...
the_stack
import { ClassType, JsonAppendOptions, JsonClassTypeOptions, JsonDecoratorOptions, JsonFilterOptions, JsonFormatOptions, JsonIdentityInfoOptions, JsonIdentityReferenceOptions, JsonIgnorePropertiesOptions, JsonIncludeOptions, JsonNamingOptions, JsonPropertyOptions, JsonPropertyOrderOptions, J...
the_stack
import OAuth2Service = GoogleAppsScriptOAuth2.OAuth2Service; import CacheService = GoogleAppsScript.Cache.CacheService; import HtmlOutput = GoogleAppsScript.HTML.HtmlOutput; import AppsScriptHttpRequestEvent = GoogleAppsScript.Events.AppsScriptHttpRequestEvent; import Properties = GoogleAppsScript.Properties.Properties...
the_stack
import { VerticalAlignment, HorizontalAlignment, PositionSettings, Size, Util, ConnectedFit, Point } from '../services/overlay/utilities'; import { IPositionStrategy } from '../services/overlay/position'; import { fadeOut, fadeIn } from '../animations/main'; import { IgxSelectBase } from './select.common'; import { Ba...
the_stack
import { cleanNode, getStmt, intersection, nodesEqual, sortStmts, } from "analysis/SubstanceAnalysis"; import { prettyStmt } from "compiler/Substance"; import { cloneDeep, difference, get, groupBy, intersectionWith, map, sortBy, } from "lodash"; import { applyDiff, getDiff, rdiffResult } from "r...
the_stack
import { expect } from 'chai'; import { ChildrenNode } from '../src/core/snap/ChildrenNode'; import { NAME_COMPARATOR } from '../src/core/snap/comparators'; import { PRIORITY_INDEX } from '../src/core/snap/indexes/PriorityIndex'; import { IndexMap } from '../src/core/snap/IndexMap'; import { LeafNode } from '../src/co...
the_stack
import { ObjectExt, Dom, Vector, Point, View } from '@antv/x6' // need: <meta http-equiv="x-ua-compatible" content="IE=Edge" /> export class PathDrawer extends View { public readonly options: PathDrawer.Options protected action: PathDrawer.Action protected pathElement: SVGPathElement protected pathTemplate: SV...
the_stack
import { CONFLICT_REASON_STRINGS, IMessageMetadata, INDEXATION_PAYLOAD_TYPE, MILESTONE_PAYLOAD_TYPE, serializeMessage, TRANSACTION_PAYLOAD_TYPE } from "@iota/iota.js"; import { WriteStream } from "@iota/util.js"; import classNames from "classnames"; import React, { ReactNode } from "react"; import { FaFileDownload } fr...
the_stack
'use strict'; import { Color, ColorInformation, ColorPresentation, DocumentHighlight, DocumentHighlightKind, DocumentLink, Location, Position, Range, SymbolInformation, SymbolKind, TextEdit, WorkspaceEdit, TextDocument, DocumentContext, FileSystemProvider, FileType } from '../cssLanguageTypes'; import * as nls from ...
the_stack
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * Cluster node details. */ export interface ClusterNode { /** * Name of the cluster node. * **NOTE: This property will not be s...
the_stack
import React, { createContext, useContext, useEffect, useRef, useState, forwardRef } from 'react'; import { observer, useField, useFieldSchema, RecursionField, Schema } from '@formily/react'; import { Menu as AntdMenu, Dropdown, Modal, Button, Space } from 'antd'; import { uid } from '@formily/shared'; import cls from ...
the_stack
import { assert, expect } from "chai"; import { CheckpointConnection, IModelApp, IModelConnection, RealityDataSource, SpatialModelState, ThreeDTileFormatInterpreter, TileAdmin } from "@itwin/core-frontend"; import { TestUsers } from "@itwin/oidc-signin-tool/lib/cjs/frontend"; import { TestUtility } from "../TestUtility...
the_stack
namespace Textor { export class TextController { public get isMozilla(): boolean { return this._isMozilla; } private _textEditor: TextEditor; private _canvas: HTMLCanvasElement; private _isWebKit: boolean; private _isChrome: boolean; private _is...
the_stack
import { Pulse } from './pulse'; import { Dep } from './internal'; import { copy, shallowmerge } from './utils'; import { deepmerge } from './helpers/deepmerge'; export class State<ValueType = any> { // a unique key for this State public name?: string; // internal storage for the current value public _value: V...
the_stack
import * as FZ from 'fuzzaldrin' import { TextBuffer, Point, Disposable, Range, Directory } from 'atom' import { BufferInfo } from './buffer-info' import { ModuleInfo } from './module-info' import { GhcModiProcess } from '../ghc-mod' import * as Util from '../util' import * as UPI from 'atom-haskell-upi' import * as CB...
the_stack
import { Template } from '@aws-cdk/assertions'; import * as iam from '@aws-cdk/aws-iam'; import { Duration, RemovalPolicy, Stack } from '@aws-cdk/core'; import * as route53 from '../lib'; describe('record set', () => { test('with default ttl', () => { // GIVEN const stack = new Stack(); const zone = new...
the_stack
import { format as formatDate, parseISO as parseDate } from 'date-fns'; import * as React from 'react'; import { DateInput, DateTimeInput } from 'semantic-ui-calendar-react'; import { Button, Checkbox, CheckboxProps, DropdownProps, Form, Header, Input, Label } from 'semantic-ui-react'; ...
the_stack
import { BuildIndexQueryError } from '../exceptions/ottoman-errors'; import { ValidationError } from '../schema'; import { isNumber } from '../utils/type-helpers'; import { BaseQuery } from './base-query'; import { IndexParamsOnExceptions, IndexParamsUsingGSIExceptions, MultipleQueryTypesException } from './exceptions'...
the_stack
import { printError } from "./debug"; import { SvgNamespace, ComponentDescriptorFlags, ComponentFlags, VNodeFlags, matchesWithAncestors } from "./misc"; import { ElementDescriptor } from "./element_descriptor"; import { VNode, vNodeAttach, vNodeDetach, vNodeMount, vNodeRender, vNodeDispose, syncVNodes } from "./vnode";...
the_stack
import type { Language } from "./Language"; import { Entity, IEntitySettings, IEntityPrivate } from "./Entity" import { TextFormatter } from "./TextFormatter"; import * as $object from "./Object"; import * as $utils from "./Utils"; import * as $type from "./Type"; /** * @ignore */ export interface INumberSuffix { ...
the_stack
import { expect, use } from 'chai'; import { useFakeTimers, stub, spy } from 'sinon'; import * as sinonChai from 'sinon-chai'; import * as _ from 'lodash'; import * as moment from 'moment'; import { Op } from 'sequelize'; import * as chaiAsPromised from 'chai-as-promised'; import { createSequelize } from '../utils/sequ...
the_stack
import { Machine, assign } from 'xstate' // This is the root machine, composing all the other machines and is the brain of the bottom sheet interface OverlayStateSchema { states: { // the overlay usually starts in the closed position closed: {} opening: { states: { // Used to fire off the ...
the_stack
* Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { Clause } from './clause'; import { MemoryInterface } from '../memory'; import { RelationshipType } from './relationshipType'; import { TriggerTree } from './triggerTree'; import { Trigger } from './trigger'; en...
the_stack
import { Request } from 'express' import { BadRequestError, Commun, DaoFilter, EntityModel, EntityPermission, getEntityRef, getJoinProperty, getModelPropertyValue, getSchemaDefinitions, getSchemaValidator, isEntityRef, isSystemProperty, UnauthorizedError } from '..' import { EntityActionPermis...
the_stack
import { Component, IComponentSettings, IComponentPrivate, DataItem, IComponentEvents, IComponentDataItem } from "../../core/render/Component"; import { List } from "../../core/util/List"; import { Color } from "../../core/util/Color"; import { percentInterpolate } from "../../core/util/Animation"; import { Percent } f...
the_stack
const PACKAGE_ID: string = "tst-reflect"; /** * Kind of type */ export enum TypeKind { /** * Interface */ Interface, /** * Class */ Class, /** * Native JavaScript/TypeScript type */ Native, /** * Container for other types in case of types union or intersection */ Container, /** * Type ...
the_stack
import { IDisposable } from '@lumino/disposable'; import { LabIcon } from '@jupyterlab/ui-components'; import { NotebookPanel, NotebookActions } from '@jupyterlab/notebook'; import { MarkdownCell } from '@jupyterlab/cells'; import CodeMirror from 'codemirror'; import { IRenderMime } from '@jupyterlab/rendermime-interfa...
the_stack
import { SongDocument } from "./SongDocument"; import { HTML } from "imperative-html/dist/esm/elements-strict"; import { ColorConfig } from "./ColorConfig"; import { InputBox } from "./HTMLWrapper"; import { ChangeChannelOrder, ChangeChannelName, ChangeChannelCount } from "./changes"; import { Config } from "../synth/S...
the_stack
import { AbsoluteDayOfMonthTransition } from "./AbsoluteDayOfMonthTransition"; import { EwsServiceXmlWriter } from "../../Core/EwsServiceXmlWriter"; import { ExchangeService } from "../../Core/ExchangeService"; import { IOutParam } from "../../Interfaces/IOutParam"; import { RelativeDayOfMonthTransition } from "./Rela...
the_stack
import { LitElement, html, customElement, property, TemplateResult, css, PropertyValues } from 'lit-element'; import { HomeAssistant, hasAction, ActionHandlerEvent, handleAction, LovelaceCardEditor, getLovelace, } from 'custom-card-helpers'; import { styleMap, StyleInfo } from 'lit-html/directi...
the_stack
export const ConsoleLogs = { 1368866505: '()', 1309416733: '(int)', 4122065833: '(uint)', 1093685164: '(string)', 843419373: '(bool)', 741264322: '(address)', 199720790: '(bytes)', 1847107880: '(bytes1)', 3921027734: '(bytes2)', 763578662: '(bytes3)', 3764340945: '(bytes4)', 2793701517: '(bytes5...
the_stack
import { $Object, } from '../types/object.js'; import { $Function, $BuiltinFunction, $GetPrototypeFromConstructor, } from '../types/function.js'; import { ExecutionContext, Realm, } from '../realm.js'; import { $AnyNonEmpty, $AnyNonEmptyNonError, $AnyObject, CompletionType, $Any, } from '../types/...
the_stack
import * as THREE from "three"; import { publishReplay, refCount, startWith, tap, } from "rxjs/operators"; import { Observable, of as observableOf, Subject, Subscription, } from "rxjs"; import { SubscriptionHolder } from "../util/SubscriptionHolder"; import { ImageTileEnt } from "../api...
the_stack
import { Dict, Option } from '@glimmer/interfaces'; import { LOCAL_DEBUG } from '@glimmer/local-debug-flags'; import { assert, assign, deprecate, isPresent } from '@glimmer/util'; import { SourceLocation, SourcePosition, SYNTHETIC_LOCATION } from '../source/location'; import { Source } from '../source/source'; import ...
the_stack
// export type SectionType = typeof SectionType[keyof typeof SectionType] export const SectionType = { Study: 'study', Break: 'break' } export type TimeSection = { starts: { h: number m: number } ends: { h: number m: number } sectionType: string sectionI...
the_stack
/** @hidden */ const POW_2_24 = 5.960464477539063e-8 /** @hidden */ const POW_2_32 = 4294967296 /** @hidden */ const POW_2_53 = 9007199254740992; /** @hidden */ const DECODE_CHUNK_SIZE = 8192 /** @hidden */ function objectIs(x: any, y: any) { if (typeof Object.is === 'function') { return Object.is(x,...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Allows configuring a single access level condition to be appended to an access level's conditions. * This resource is intended to be used in cases where it is not ...
the_stack
import React, { useEffect } from "react"; import Chart from "chart.js"; import { SiteVariablesPrepared } from "@fluentui/react-northstar"; import { IChartData } from "../ChartTypes"; import { tooltipTrigger, tooltipAxisYLine, chartConfig, axesConfig, setTooltipColorScheme, hexToRgb, } from "../ChartUtils"; ...
the_stack
import {UserPrefRepo} from '../UserPrefRepo'; import {GitHubSearchClient} from '../../Library/GitHub/GitHubSearchClient'; import {DateUtil} from '../../Library/Util/DateUtil'; import {StreamId, StreamRepo} from '../StreamRepo'; import {StreamEntity} from '../../Library/Type/StreamEntity'; import {DB} from '../../Librar...
the_stack
import { assert, ContractDefinition, ContractKind, FunctionDefinition, resolve, resolveAny, SourceUnit, Statement, StatementWithChildren, StructuredDocumentation, TryCatchClause, VariableDeclaration } from "solc-typed-ast"; import { MacroDefinition, parseMacroMethodSignat...
the_stack
import * as d3 from "d3"; import * as Typesettable from "typesettable"; import * as Animators from "../animators"; import { Dataset } from "../core/dataset"; import * as Formatters from "../core/formatters"; import { DatumFormatter } from "../core/formatters"; import { AttributeToProjector, IAccessor, Point, SimpleSel...
the_stack
* Hyperledger Cactus Plugin - Odap Hermes * Implementation for Odap and Hermes * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Configu...
the_stack
import React, { useRef, useCallback, useEffect, useState, useMemo } from 'react' import { EMState, createEM } from "./em" import { makeDrawSquareInfo, makeDrawEllipseInfo, DrawShape } from "./em/drawing" import { signalSourceToDescriptor, descriptorToSignalSource, makeMaterialMap } from './em/serialization' import { ...
the_stack
import { act, render } from "@testing-library/svelte"; import { suppressConsoleLogs } from "$lib/test-utils/suppress-console-logs"; import TestRenderer from "$lib/test-utils/TestRenderer.svelte"; import { Tab, TabGroup, TabList, TabPanel, TabPanels } from "."; import { assertActiveElement, assertTabs, getByText, getTab...
the_stack
import {AfterViewInit, Component, ViewEncapsulation, NgZone} from "@angular/core"; import {HttpClient} from "@angular/common/http"; import {take} from 'rxjs/operators'; import {ChartIconFactory, ChartType, JigsawTheme, SimpleTreeData} from "jigsaw/public_api"; @Component({ templateUrl: './demo.component.html', ...
the_stack