text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
* @title: Material * @description: * This sample shows how to load materials, how to create them procedurally, and how to apply them to renderables in the scene. * You can select and apply different materials using different rendering effects to the rotation model. */ /*{{ javascript("jslib/aabbtree.js") }}*/ /*{{ ...
the_stack
import { union } from 'lodash'; import { logger, Type } from '../utils'; import { ElementDefinition, ElementDefinitionType, StructureDefinition } from '../fhirtypes'; import { FHIRDefinitions } from '../fhirdefs'; export const IMPLIED_EXTENSION_REGEX = /^http:\/\/hl7\.org\/fhir\/([1345]\.0)\/StructureDefinition\/ext...
the_stack
import dbInit from '../helpers/database-init'; import getLogger from '../../fixtures/no-logger'; // eslint-disable-next-line import/no-unresolved import { AccessService, ALL_PROJECTS, } from '../../../lib/services/access-service'; import * as permissions from '../../../lib/types/permissions'; import { RoleNam...
the_stack
import * as React from 'react'; import { IconName, Icon, HotkeysTarget, Hotkeys, Hotkey, IHotkeysProps } from '@blueprintjs/core'; import { Column, Table, AutoSizer, Index, HeaderMouseEventHandlerParams, RowMouseEventHandlerParams, TableHeaderProps, ScrollParams, TableCellProps, } fr...
the_stack
import React from "react"; import ReactDOM from "react-dom"; import { html_beautify } from "vscode-html-languageservice/lib/esm/beautify/beautify-html"; import { mapDataDictionaryToMonacoEditorHTML } from "@microsoft/fast-tooling/dist/esm/data-utilities/monaco"; import { AjvMapper, CustomMessage, DataDictio...
the_stack
import {AC} from './AC'; import {NotEnoughDataError} from '../error'; describe('AC', () => { describe('getResult', () => { it('works with a signal line of SMA(5)', () => { const ac = new AC(5, 34, 5); // Test data taken from: // https://github.com/jesse-ai/jesse/blob/8e502d070c24bed29db80e1d093...
the_stack
import type { SinonSpy, SinonStub } from 'sinon'; import * as C from '@apollo/client/core'; import * as S from '@apollo-elements/test'; import { ApolloError } from '@apollo/client/core'; import { aTimeout, expect, fixture, fixtureSync, nextFrame, oneEvent, } from '@open-wc/testing'; import { html } fro...
the_stack
// This is internal methods of graphql-js (introduced in 14.0.0) // required for correct config conversion to internal field definition of types // copy pasted from https://github.com/graphql/graphql-js/blame/master/src/type/definition.js import type { Thunk } from './definitions'; import { inspect, invariant } from '...
the_stack
import { AfterContentChecked, ChangeDetectorRef, Component, Input, OnInit, ViewEncapsulation } from '@angular/core'; import { ListPropertyConfig } from '../list-property.component'; import { COMMA, ENTER } from '@angular/cdk/keycodes'; import { MatChipInputEvent } from '@angular/material/chips'; import { FormControl, V...
the_stack
import * as React from "react" import * as moment from "moment" import { OrderProps, amountOfAsset, amountOfAssetPlusFees } from "./market" import { monsterImageSrc } from "../monsters/monsters" import { State, GlobalConfig, NOTIFICATION_SUCCESS, pushNotification, NOTIFICATION_ERROR, doLoadMyMonsters, } fro...
the_stack
import Ethash, { Solution, Miner as EthashMiner } from '@ethereumjs/ethash' import { BlockHeader } from '@ethereumjs/block' import { BN } from 'ethereumjs-util' import { ConsensusType, Hardfork } from '@ethereumjs/common' import { Event } from '../types' import { Config } from '../config' import { FullSynchronizer } fr...
the_stack
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client"; import { Lab as LabMapper, LabFragment as LabFragmentMapper, LabVirtualMachineCreationParameter as LabVirtualMachineCreationParameterMapper, ExportResourceUsageParameters as ExportResourceUsageParamete...
the_stack
import { triggerEvent, options, arrayForEach } from '@tko/utils' import { applyBindings, contextFor, dataFor } from '@tko/bind' import { observable, observableArray } from '@tko/observable' import { DataBindProvider } from '@tko/provider.databind' import { MultiProvider } from '@tko/provider.multi' impor...
the_stack
import { act, fireEvent, render, screen } from "@testing-library/react"; import "@testing-library/jest-dom"; import userEvent from "@testing-library/user-event"; import React, { useState } from "react"; import { z } from "zod"; import { useZorm } from "../src"; import { assertNotAny } from "./test-helpers"; import { u...
the_stack
import { Stats, StatsCompilation, StatsModule } from 'webpack'; const anyPathSeparator = /\/|\\/; /** * Replaces the loader path in an identifier. * '(<loader expression>!)?/path/to/module.js' */ export const replaceLoaderInIdentifier = (identifier?: string) => { if (!identifier) { return ''; } const in...
the_stack
import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, ElementRef, Inject, Input, NgZone, OnDestroy, OnInit, QueryList, Renderer2, ViewChild } from '@angular/core'; import { BehaviorSubject, iif, merge, NEVER, Observable, Subject, Subscription } from 'rxjs'; import { exhaustMap, filter,...
the_stack
import * as msRest from "@azure/ms-rest-js"; export const acceptLanguage: msRest.OperationParameter = { parameterPath: "acceptLanguage", mapper: { serializedName: "accept-language", defaultValue: 'en-US', type: { name: "String" } } }; export const activityName: msRest.OperationURLParameter ...
the_stack
export type ClarinetEvent = | 'onvalue' | 'onstring' | 'onkey' | 'onopenobject' | 'oncloseobject' | 'onopenarray' | 'onclosearray' | 'onerror' | 'onend' | 'onready'; // Removes the MAX_BUFFER_LENGTH, originally set to 64 * 1024 const MAX_BUFFER_LENGTH = Number.MAX_SAFE_INTEGER; // const DEBUG = fal...
the_stack
// Text Field inputs // // Spec: http://www.google.com/design/spec/components/text-fields.html // // Single-line text fields: // // Without floating label: // // | 16 |--- // 48 | |Input Text (16sp) // | 16 |--- // // With floating label: // // | 16 |--- // | |Label Text (12sp) // 72 | 8 |--- // | |Input Tex...
the_stack
import * as Analytics from "expo-firebase-analytics"; import * as Haptics from "expo-haptics"; import { Platform } from "react-native"; import * as THREE from "three"; import { DirectionalLight, HemisphereLight } from "three"; import Settings from "../constants/Settings"; import { dispatch } from "../rematch/store"; im...
the_stack
(function () { GM.xmlHttpRequest = GM_xmlhttpRequest; GM.getValue = GM_getValue; GM.setValue = GM_setValue; GM.deleteValue = GM_deleteValue; GM.listValues = GM_listValues; GM.getResourceText = GM_getResourceText; GM.getResourceURL = GM_getResourceText; // @ts-ignore 忽略unsafeWindow错误 ...
the_stack
import { UserError } from "@adpt/utils"; import { cloneDeep, isError } from "lodash"; import * as randomstring from "randomstring"; import { DeployStatus } from "../deploy"; import { DeploymentNotActive, DeploymentOpIDNotActive, DeployStepIDNotFound, InternalError } from "../error"; import { ElementID } from "../jsx"; ...
the_stack
import * as core from '@actions/core'; import * as github from '@actions/github'; import {wasLineAddedInPR, GHFile} from './git'; const pkg = require('../package.json'); const USER_AGENT = `${pkg.name}/${pkg.version} (${pkg.bugs.url})`; type ChecksCreateParamsOutputAnnotations = any; type Severity = 'suggestion' | '...
the_stack
import * as grpc from '@grpc/grpc-js'; import { filterNullAndUndefined, normalizeTlsConfig, TLSConfig } from '@temporalio/internal-non-workflow-common'; import { AsyncLocalStorage } from 'async_hooks'; import type { RPCImpl } from 'protobufjs'; import { isServerErrorResponse, ServiceError } from './errors'; import { de...
the_stack
import * as React from "react"; import * as data from "./data"; import * as simulator from "./simulator"; import { DebuggerTable, DebuggerTableRow } from "./debuggerTable"; const MAX_VARIABLE_LENGTH = 20; interface ScopeVariables { title: string; variables: Variable[]; key?: string; } interface Variable ...
the_stack
import { ReactiveElement, PropertyValues, ReactiveControllerHost, } from '@lit/reactive-element'; import {ResizeController, ResizeControllerConfig} from '../resize_controller'; import {generateElementName, nextFrame} from './test-helpers'; import {assert} from '@esm-bundle/chai'; // Note, since tests are not bui...
the_stack
export interface HeaderFromValue { /** * Name of the header */ name: string; /** * Value of the header */ value: string; } /** * * https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv */ export interface HeaderFromEnv { /...
the_stack
import type { AddedKeywordDefinition, AnySchema, AnySchemaObject, KeywordErrorCxt, KeywordCxtParams, } from "../../types" import type {SchemaCxt, SchemaObjCxt} from ".." import type {InstanceOptions} from "../../core" import {boolOrEmptySchema, topBoolOrEmptySchema} from "./boolSchema" import {coerceAndCheckD...
the_stack
import { __ } from '@/components/_utils/_all'; declare global { interface Window { dragEvents?: any[any]; intervalEvents?: any[any]; windowResizeEvents?: any[any]; } } interface sliderAnimeConfig { /** Setup a sliderAnime for the slider to animate automatically. */ auto?: string ...
the_stack
import { Injectable } from '@angular/core'; import { CoreError } from '@classes/errors/error'; import { CoreSite, CoreSiteWSPreSets } from '@classes/site'; import { CoreCourseLogHelper } from '@features/course/services/log-helper'; import { CoreApp } from '@services/app'; import { CoreFile } from '@services/file'; imp...
the_stack
import * as React from 'react'; import { DateUtils, RangeModifier, DayModifiers } from 'react-day-picker'; import fnsIsSameDay from 'date-fns/isSameDay'; import MonthPicker from '@synerise/ds-date-picker/dist/Elements/MonthPicker/MonthPicker'; import MomentLocaleUtils from 'react-day-picker/moment'; import TimePicker f...
the_stack
import React, { PureComponent } from 'react'; import { registerComponent, Components } from '../../lib/vulcan-lib'; import { withUpdateCurrentUser, WithUpdateCurrentUserProps } from '../hooks/useUpdateCurrentUser'; import { withSingle } from '../../lib/crud/withSingle'; import withUser, { useCurrentUser } from '../comm...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { LiveEvent, LiveEventsListOptionalParams, LiveEventsGetOptionalParams, LiveEventsGetResponse, LiveEventsCreateOptionalParams, LiveEventsCreateResponse, LiveEventsUpdat...
the_stack
import express from 'express'; import * as fs from 'fs'; import JSZip from 'jszip'; import * as ThingTalk from 'thingtalk'; import * as stream from 'stream'; import deq from 'deep-equal'; import * as util from 'util'; import * as model from '../model/device'; import * as schemaModel from '../model/schema'; import * as...
the_stack
* @module Quantity */ import { QuantityConstants } from "../Constants"; import { QuantityError, QuantityStatus } from "../Exception"; import { UnitProps, UnitsProvider } from "../Interfaces"; import { DecimalPrecision, FormatTraits, formatTraitsToArray, FormatType, formatTypeToString, FractionalPrecision, getTraitS...
the_stack
import { isToday, isYesterday } from 'date-fns'; import { app, Menu, MenuItemConstructorOptions, shell, Tray } from 'electron'; // tslint:disable-line no-implicit-dependencies import settings from 'electron-settings'; import { EventEmitter } from 'events'; import { POLL_DURATIONS } from './config'; import Connection fr...
the_stack
import { ContainerAdapterClient } from '../../container_adapter_client' import { MasterNodeRegTestContainer, RegTestContainer } from '@defichain/testcontainers' import { wallet } from '../../../src' import BigNumber from 'bignumber.js' import waitForExpect from 'wait-for-expect' import { ListUnspentOptions, Mode, ...
the_stack
import _ from "lodash" import moment from "moment-timezone" import { GraphQLFieldConfig, GraphQLList, GraphQLObjectType } from "graphql" import { ResolverContext } from "types/graphql" import gql from "lib/gql" import Sale from "../sale" import { SaleArtworkType } from "../sale_artwork" import { BodyAndHeaders } from ...
the_stack
import { serveFormatToWebFormat } from '@/common/js/Utils'; import DiffContents from '@/components/diffContents/DiffContents.vue'; import EmptyView from '@/components/emptyView/EmptyView.vue'; import popContainer from '@/components/popContainer'; import utils from '@/pages/DataGraph/Common/utils.js'; import { bkDiff } ...
the_stack
import { EventEmitter } from 'events'; import { bind, cloneDeep, defaults, each, isEqual, keys, uniqueId } from 'lodash'; import { CompositeDisposable, IDisposable } from 'ts-disposables'; import { CommandContext } from '../contexts/CommandContext'; import { RequestContext } from '../contexts/RequestContext'; import {...
the_stack
import { BufferGeometry, Float32BufferAttribute, Points, Color, Vector2, ShaderMaterial, MathUtils, BufferAttribute } from 'three'; import { Tween, Easing } from '@tweenjs/tween.js'; import { ParticleShader } from './shaders/particle-shader'; import { ShaderUtils } from './shaders/shader-utils'; import { LoopableTransi...
the_stack
import { Semigroup } from "fp-ts/lib/Semigroup" import { Monoid } from "fp-ts/lib/Monoid"; import { Applicative2 } from "fp-ts/lib/Applicative"; import { Either, left, right } from "fp-ts/lib/Either"; import * as either from "fp-ts/lib/Either"; import { constant, flow, FunctionN, identity, Lazy } from "fp-ts/lib/functi...
the_stack
import * as fs from 'fs-extra'; import * as path from 'path'; import * as semver from 'semver'; import { commands, ProgressLocation, window } from 'vscode'; import { Constants, RequiredApps } from '../Constants'; import { getWorkspaceRoot } from '../helpers'; import { Output } from '../Output'; import { Telemetry } fro...
the_stack
import {useIsFocused} from '@react-navigation/native'; import React, { useCallback, useLayoutEffect, useState, useMemo, useRef, } from 'react'; import {StyleSheet, LayoutRectangle, Text, View} from 'react-native'; import { Canvas, CanvasRenderingContext2D, Image, ImageUtil, media, MobileModel, M...
the_stack
import { IView, IViewSize } from 'vs/base/browser/ui/grid/grid'; import { IconLabel } from 'vs/base/browser/ui/iconLabel/iconLabel'; import { Toggle } from 'vs/base/browser/ui/toggle/toggle'; import { CompareResult } from 'vs/base/common/arrays'; import { Codicon } from 'vs/base/common/codicons'; import { Emitter } fro...
the_stack
import { AbstractCrdt, Doc, ApplyResult } from "./AbstractCrdt"; import { deserialize, selfOrRegister, selfOrRegisterValue } from "./utils"; import { SerializedList, SerializedCrdtWithId, Op, CreateListOp, OpType, } from "./live"; import { makePosition, compare } from "./position"; type LiveListItem = [crdt:...
the_stack
import { getColorMode } from '../../colorMode' import { WalletInfo } from '../../events' import { replaceInTemplate } from '../../utils/replace-in-template' import { generateGUID } from '../../utils/generate-uuid' import { toastTemplates } from './toast-templates' export interface ToastAction { text: string action...
the_stack
import * as vd from "virtual-dom"; import { combineLatest as observableCombineLatest, concat as observableConcat, merge as observableMerge, empty as observableEmpty, of as observableOf, Observable, Scheduler, Subject, } from "rxjs"; import { auditTime, catchError, debounceT...
the_stack
import { Component, Prop, Element, State, Event, EventEmitter, Method } from "@stencil/core"; enum Mode { Inactive = 1, CameraReady, Countdown, TakingPicture, CheckingPicture, Error, UserHappy, UserUnhappy } @Component({ tag: "smile-to-unlock", styleUrl: "smile-to-unlock.scss" }) exp...
the_stack
import React from 'react'; import {screen, render} from '@testing-library/react'; import {expectTypeOf} from 'expect-type'; import { composeHooks, createComponent, useForkRef, useLocalRef, ElementComponent, mergeProps, createHook, Model, BehaviorHook, } from '@workday/canvas-kit-react/common'; descr...
the_stack
import { ComparisonResult } from "../ComparisonResult"; import { ComparisonResultType } from "../ComparisonResult"; import { defaultLocalSymbolTable, makeReader, ReaderOctetBuffer } from "../Ion"; import { BinaryReader } from "../IonBinaryReader"; import { Reader } from "../IonReader"; import { BinarySpan } from "../Io...
the_stack
import "mocha"; import * as expect from "expect"; import * as fs from "fs"; import * as path from "path"; import { MachineApi } from "../../../src/renderer/machines/wa-api"; import { importObject } from "../../import-object"; import { CambridgeZ88 } from "../../../src/renderer/machines/cz88/CambridgeZ88"; const buffer...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { VirtualMachines } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DevTestLabsClient } from "../devTestLab...
the_stack
import ddb from "./aws/ddb/internal"; import CustomError from "./Error"; import utils from "./utils"; import {Condition, ConditionInitializer, BasicOperators} from "./Condition"; import {Model} from "./Model"; import {Item} from "./Item"; import {CallbackType, ObjectType, ItemArray, SortOrder} from "./General"; import ...
the_stack
import { getRemoteLogger } from "../../logging"; import { PdfjsFindQueryWidget } from "../pdfjs/PdfjsFindQueryWidget"; import * as selectors from "../../selectors"; import { SymbolFilters } from "../../state"; import { SymbolFindQueryWidget } from "./SymbolFindQueryWidget"; import TermFindQueryWidget from "./TermFindQu...
the_stack
import { SWRResponse } from 'swr'; import { IPageToDeleteWithMeta, IPageToRenameWithMeta } from '~/interfaces/page'; import { OnDuplicatedFunction, OnRenamedFunction, OnDeletedFunction, OnPutBackedFunction, } from '~/interfaces/ui'; import { IUserGroupHasId } from '~/interfaces/user'; import { useStaticSWR } from '...
the_stack
import * as fs from 'fs/promises'; import * as path from 'path'; const OUTPUT_PATH = path.join(__dirname, '..', 'src', 'ops.ts'); // The idea here is to parse the ops json file from https://github.com/izik1/gbops/ // and automatically generate function definitions that for the assembly DSL. // The position in the arr...
the_stack
import { aws_events, aws_events_targets, aws_lambda, Duration, Stack, } from "aws-cdk-lib"; import { ExpressStepFunction, StepFunction } from "../src"; import { EventBus, Rule, Event, ScheduledEvent } from "../src/event-bridge"; import { synthesizeEventPattern } from "../src/event-bridge/event-pattern"; impor...
the_stack
import React, { useState, useMemo, useEffect } from "react"; import { Component } from "@ui_types"; import { Api, Client, Model } from "@core/types"; import * as g from "@core/lib/graph"; import { HomeContainer } from "./home_container"; import * as styles from "@styles"; import { MIN_ACTION_DELAY_MS } from "@constants...
the_stack
/* * Copyright (c) 2016 - now David Sehnal, licensed under Apache 2.0, See LICENSE file for more info. */ namespace LiteMol.Visualization.Molecule.Cartoons { "use strict"; export enum CartoonsModelType { Default, AlphaTrace }; export interface Parameters { tessalation?: number, ...
the_stack
var ast = require('./SwiftAst') function makeFile(file: any[], accessLevel: string, globalAttrs: GlobalAttrs, filename: string): string[] { const accessLevelPrefix = accessLevel == null ? '' : accessLevel + ' ' function constructorExists(struct: Struct) : boolean { const paramNames = struct.varDecls.map(vd =...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [discovery](https://docs.aws.amazon.com/service-authorization/latest/reference/list_applicationdiscovery.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/User...
the_stack
import { Constants } from "../Engines/constants"; import { Engine } from "../Engines/engine"; import { Effect } from "../Materials/effect"; import { MultiRenderTarget } from "../Materials/Textures/multiRenderTarget"; import { InternalTextureCreationOptions } from "../Materials/Textures/textureCreationOptions"; imp...
the_stack
// SVGPathSeg API polyfill // https://github.com/progers/pathseg // // This is a drop-in replacement for the SVGPathSeg and SVGPathSegList APIs that were removed from // SVG2 (https://lists.w3.org/Archives/Public/www-svg/2015Jun/0044.html), including the latest spec // changes which were implemented in Firefox 43 and C...
the_stack
import React, {useState, useEffect, useCallback, FC} from 'react'; import {Text, StyleSheet, View} from 'react-native'; import * as SecureStore from 'expo-secure-store'; import {useTranslation} from 'react-i18next'; import {RouteProp} from '@react-navigation/native'; import {StackNavigationProp} from '@react-navigation...
the_stack
import { Observable, ReplaySubject, Subject } from 'rxjs'; import { assert, log, logIf, LogLevel, logVerbosity } from './auxiliaries'; import { clamp } from './gl-matrix-extensions'; /* spellchecker: enable */ /** * This internal interface is not intended for module export and should not be used as generic renderi...
the_stack
import { NgxCarouselItemDirective, NgxCarouselNextDirective, NgxCarouselPrevDirective } from './ngx-carousel.directive'; import { Component, ElementRef, Renderer, Input, Output, OnInit, OnDestroy, AfterViewInit, HostListener, EventEmitter, ContentChildren, QueryList, ViewChild, AfterCo...
the_stack
import * as React from "react" import { DateConstants } from "./DateRange" import WebpackLoader from "../../modules/WebpackLoader" import { getInternalTextInput } from "./TextInput" import Button from "./Button" import ReactDOM = require("react-dom") import * as DatePicker from "react-datepicker"; export type ...
the_stack
import * as pigpio from 'pigpio'; import * as assert from 'assert'; (function alert_pwm_measurement(): void { const Gpio = pigpio.Gpio; pigpio.configureClock(1, pigpio.CLOCK_PWM); pigpio.configureSocketPort(23456); const led = new Gpio(18, { mode: Gpio.OUTPUT, alert: true }); ...
the_stack
import {Bounds} from '../css/layout/bounds'; import { isBodyElement, isCanvasElement, isElementNode, isHTMLElementNode, isIFrameElement, isImageElement, isScriptElement, isSelectElement, isStyleElement, isSVGElementNode, isTextareaElement, isTextNode } from './node-parser...
the_stack
import * as React from "react" import { Mark } from "semiotic-mark" import { line, area, curveStep, curveStepBefore, curveStepAfter, curveCardinal, curveBasis, curveLinear, curveCatmullRom, curveMonotoneX, curveMonotoneY, curveNatural } from "d3-shape" import { shapeBounds } from "../svg/areaD...
the_stack
import DebugLogger from "debug" import { multicast, Observable, Subject } from "observable-fns" import { allSettled } from "../ponyfills" import { defaultPoolSize } from "./implementation" import { PoolEvent, PoolEventType, QueuedTask, TaskRunFunction, WorkerDescriptor } from "./pool-types" import { Thread } ...
the_stack
import React from 'react'; import escapeHtml from 'escape-html'; import { ALLOWED_TAG_LIST, ATTRIBUTES, ATTRIBUTES_TO_PROPS, BANNED_TAG_LIST, FILTER_CAST_BOOL, FILTER_CAST_NUMBER, FILTER_DENY, FILTER_NO_CAST, TAGS, } from './constants'; import Element from './Element'; import StyleFilter from './Style...
the_stack
import {assert, isArray} from 'zrender/src/core/util'; import SeriesModel from '../model/Series'; import { Pipeline } from './Scheduler'; import { Payload } from '../util/types'; import SeriesData from '../data/SeriesData'; export interface TaskContext { outputData?: SeriesData; data?: SeriesData; payload...
the_stack
import { AfterViewInit, ChangeDetectorRef, Component, Directive, ElementRef, EventEmitter, HostListener, Injector, Input, OnChanges, OnDestroy, Optional, Output, SimpleChanges, SkipSelf, TemplateRef, ViewChild, ViewContainerRef } from '@angular/cor...
the_stack
* WARNING: This file has been deprecated and should now be considered locked against further changes. Its contents * have been partially or wholely superceded by functionality included in the @salesforce/core npm package, and exists * now to service prior uses in this repository only until they can be ported to use ...
the_stack
// The reporting system in use here is best described as a "hairball" or snowball design // as an initial approach. A large, informative set of contextual data is built by the // report providers. It is OK for a provider in the pipeline to depend on the data // collected before its execution. import os from 'os'; impo...
the_stack
import { ApiContract, ApiManagementServiceResource, BackendContract } from "@azure/arm-apimanagement/esm/models"; import { FunctionEnvelope, Site } from "@azure/arm-appservice/esm/models"; import { DeploymentExtended, DeploymentsListByResourceGroupResponse } from "@azure/arm-resources/esm/models"; import { HttpHeaders,...
the_stack
import { timeParse as d3TimeParse, timeFormat as d3TimeFormat, utcParse as d3UtcParse, utcFormat as d3UtcFormat } from "d3-time-format"; import {select as d3Select} from "d3-selection"; import {d3Selection} from "../../types/types"; import {checkModuleImport} from "../module/error"; import CLASS from "../config/cl...
the_stack
import React, { ChangeEvent } from "react"; import _ from 'lodash' import { withStyles, WithStyles, MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles' import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; import {ExpansionPanel, ExpansionPanelSummary, ExpansionPanelDetails, Typography, Lis...
the_stack
import { basename, normalize, strings } from '@angular-devkit/core'; import { Logger } from '@angular-devkit/core/src/logger'; import { apply, applyTemplates, mergeWith, move, Rule, schematic, SchematicContext, Source, source, Tree, url } from '@angular-devkit/schematics'; im...
the_stack
import * as clone from 'clone'; import {PackageRelativeUrl, ResolvedUrl, UrlResolver} from 'polymer-analyzer'; import {getSuperBundleUrl} from './deps-index'; import {getFileExtension} from './url-utils'; import {partitionMap, uniq} from './utils'; /** * A bundle strategy function is used to transform an array of bu...
the_stack
import { distinct, flatten } from 'vs/base/common/arrays'; import { Emitter, Event } from 'vs/base/common/event'; import { parse } from 'vs/base/common/json'; import { Disposable } from 'vs/base/common/lifecycle'; import { getIconClasses } from 'vs/editor/common/services/getIconClasses'; import { FileKind, IFileService...
the_stack
import { type, ipairs, pairs, wipe, truthy, LuaArray, LuaObj, } from "@wowts/lua"; import { find } from "@wowts/string"; import { isNumber, oneTimeMessage } from "../tools/tools"; import { HasteType } from "../states/PaperDoll"; import { PowerType } from "../states/Power"; import { GetSpellI...
the_stack
// Class 00 — Successful Completion export const SUCCESSFUL_COMPLETION = '00000' // Class 01 — Warning export const WARNING = '01000' export const DYNAMIC_RESULT_SETS_RETURNED = '0100C' export const IMPLICIT_ZERO_BIT_PADDING = '01008' export const NULL_VALUE_ELIMINATED_IN_SET_FUNCTION = '01003' export const PRIVILEGE_...
the_stack
import { autoinject } from 'aurelia-dependency-injection'; import { SessionService, SessionPort } from './session'; import { Event, getEntityPositionInReferenceFrame, getEntityOrientationInReferenceFrame, getSerializedEntityState, jsonEquals } from './utils'; import { SerializedEntityState, SerializedEntityStateMap } f...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { DataCollectionEndpoints } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { MonitorClient } from "../monito...
the_stack
import SecuredField from './SecuredField'; import { AriaConfig, CVCPolicyType, DatePolicyType } from './AbstractSecuredField'; import Language from '../../../../../language/Language'; import LANG from '../../../../../language/locales/en-US.json'; import { ERROR_CODES, ERROR_MSG_CARD_TOO_OLD, ERROR_MSG_INVALID_FIELD, ER...
the_stack
import { TemplateHandler } from 'src/templateHandler'; import { readFixture } from './fixtureUtils'; describe('loop fixtures', () => { it("replaces paragraph loops correctly", async () => { const handler = new TemplateHandler(); const template = readFixture('loop - simple.docx'); const t...
the_stack
import { CollateralGainTransferDetails, Decimalish, LiquidationDetails, RedemptionDetails, SendableLiquity, StabilityDepositChangeDetails, StabilityPoolGainsWithdrawalDetails, TroveAdjustmentDetails, TroveAdjustmentParams, TroveClosureDetails, TroveCreationDetails, TroveCreationParams } from "@l...
the_stack
import * as React from "react"; import { IServiceCatalogState } from "reducers/catalog"; import { IClusterServiceClass } from "../../shared/ClusterServiceClass"; import { IServicePlan } from "../../shared/ServiceCatalog"; import { IServiceInstance } from "../../shared/ServiceInstance"; import { IRBACRole, NotFoundErro...
the_stack
import { FieldModel, Field, RoSGNode } from "./RoSGNode"; import { BrsType } from ".."; import { ValueKind, BrsString, BrsBoolean } from "../BrsType"; import { Interpreter } from "../../interpreter"; import { Int32 } from "../Int32"; import { Callable, StdlibArgument } from "../Callable"; import { RoArray } from "./RoA...
the_stack
import { validator } from '@liskhq/lisk-validator'; import { objects } from '@liskhq/lisk-utils'; import { ApplyAssetContext, ValidateAssetContext } from '../../../../../src/types'; import { VoteTransactionAsset } from '../../../../../src/modules/dpos/transaction_assets/vote_transaction_asset'; import { DPOSAccountPro...
the_stack
import { LBA2BodyType, LBA1BodyType } from './bodyType'; import { getParams } from '../../params'; // Note that slots are for the inventory are defined as starting from 0 in the // top left and increasing to the right row by row. const isLBA1 = getParams().game === 'lba1'; const LBA2InventoryColumns = 7; const LBA2I...
the_stack
import 'jest-extended'; import path from 'path'; import { DataEntity, get, cloneDeep } from '@terascope/utils'; import { xLuceneFieldType } from '@terascope/types'; import TestHarness from './test-harness'; import { WatcherConfig } from '../src'; import Plugins from './fixtures/plugins'; describe('can transform matche...
the_stack
* @module Core */ import { BeEvent, CompressedId64Set, IDisposable, OrderedId64Iterable } from "@itwin/core-bentley"; import { IModelConnection, IpcApp } from "@itwin/core-frontend"; import { UnitSystemKey } from "@itwin/core-quantity"; import { Content, ContentDescriptorRequestOptions, ContentInstanceKeysRequestOp...
the_stack
"use strict"; // IMPORTS // import tm = require("./projectManager"); import tu = require("./testUtil"); import su = require("./serverUtil"); import platform = require("./platform"); import path = require("path"); import assert = require("assert"); import Q = require("q"); // GLOBALS // var express = require("expres...
the_stack
"use strict"; import { Socket } from "socket.io"; import { NameColorPair, Stopwatch, Colors } from "./utils"; import { Game } from "./game"; //set this to what the admin password should be const password = "goat"; export interface Phrase { text: string; color?: Colors; backgroundColor?: Colors; italic?: boole...
the_stack
* @module Tiles */ import { request, RequestOptions } from "./request/Request"; import { AccessToken, assert, GuidString, Logger } from "@itwin/core-bentley"; import { RealityData, RealityDataFormat, RealityDataProvider, RealityDataSourceKey, RealityDataSourceProps } from "@itwin/core-common"; import { FrontendLoggerC...
the_stack
import { sm } from '../jssm'; const r639 = require('reduce-to-639-1').reduce; test.todo('Most of this machine_attributes stuff should be rewritten as table-driven and/or stoch'); describe('machine_name', () => { test('atom', () => expect(() => { const _foo = sm`machine_name: bob; a->b;`; }) .not...
the_stack