text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { ChangeDetectorRef, Component, Inject } from '@angular/core';
import {
BehaviorSubject,
combineLatest as observableCombineLatest,
Observable,
Subscription
} from 'rxjs';
import { distinctUntilChanged, filter, map, mergeMap, switchMap, tap } from 'rxjs/operators';
import { SectionModelComponent } from ... | the_stack |
import { easeOut, easeIn } from './timingFunctions'
const slideAnimations = {
// Slides object down to original position
slideDownEnterFast: {
keyframe: ({ distance }) => ({
'0%': {
transform: `translateY(-${distance})`,
opacity: 0,
},
'100%': {
transform: 'translateY(... | the_stack |
import {Injectable} from '@angular/core';
import {HttpClient, HttpErrorResponse, HttpHeaders, HttpResponse} from '@angular/common/http';
import {Observable, Subject} from 'rxjs';
import * as utpl from 'uri-templates';
import {URITemplate} from 'uri-templates';
import {AppService, RequestHeader} from '../app.service';
i... | the_stack |
import { getTextWidth } from './textHelpers';
import { formatStats } from './formatStats';
import { setLegendAccess } from './accessibilityUtils';
import { symbols } from './symbols';
import {
getAccessibleStrokes,
getContrastingStroke,
calculateRelativeLuminance,
calculateLuminance,
visaColorToHex
} from './... | 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 { action } from 'mobx';
import { observer } from 'mobx-react';
import React from 'react';
import { MapStyles } from '../styles/MapStyles';
import { GameQueryType } from '../transport/GameQueryType';
import { MapActor, Player, PlayerRace, MapItem } from '../transport/Model';
import { capitalize, formatTime } fro... | the_stack |
import { IPython } from "./ipython";
declare var IPython: IPython;
import { Telemetry, ClientInfo } from "./telemetry";
import { Chart } from "chart.js";
import { DisplayableState, addToolbarButton as addToolbarButton, attachDumpMachineToolbar, createNewCanvas, createToolbarContainer, PlotStyle, updateChart } from "./... | the_stack |
import { handler } from "./list.ts";
import {
cleanupDatabase,
createAPIGatewayProxyEventV2,
createContext,
} from "../../utils/test_utils.ts";
import { assert, assertEquals } from "../../test_deps.ts";
import { Database } from "../../utils/database.ts";
const database = new Database(Deno.env.get("MONGO_URI")!);... | the_stack |
import { reportError } from 'app/client/models/AppModel';
import { ColumnRec, DocModel, TableRec, ViewSectionRec } from 'app/client/models/DocModel';
import { linkId, NoLink } from 'app/client/ui/selectBy';
import { getWidgetTypes, IWidgetType } from 'app/client/ui/widgetTypes';
import { bigPrimaryButton } from "app/cl... | the_stack |
import React, {createRef, createContext, memo, useContext} from 'react';
import {mount} from 'enzyme';
import type {MutableRefObject} from 'react';
import type {Fiber} from 'react-reconciler';
import type {ReactWrapper} from 'enzyme';
import {Child, getFibersIndices, getFibersKeys} from './__shared__';
import {findChil... | the_stack |
import { createTransformer, Transformer } from '../src'
import { defineMacro, EnvContext } from '@typed-macro/core'
import { createMacroRemove } from '../../core/__tests__/macros'
describe('Transformer', () => {
const env: EnvContext = {
host: 'test',
packageManager: 'test',
projectPath: [''],
dev: t... | the_stack |
import { ComprModeType } from './compr-mode-type'
import { Context } from './context'
import { LoaderOptions, Library, Instance } from './seal'
import { Exception, SealError } from './exception'
import { MemoryPoolHandle } from './memory-pool-handle'
import { ParmsIdType, ParmsIdTypeConstructorOptions } from './parms-i... | the_stack |
* Copyright 2022, Yahoo Holdings Inc.
* Licensed under the terms of the MIT license. See accompanying LICENSE.md file for terms.
*/
import Component from '@glimmer/component';
import { inject as service } from '@ember/service';
import config from 'ember-get-config';
// @ts-ignore
import { getAllApiErrMsg } from 'nav... | the_stack |
import * as path from 'path';
import * as ts from 'typescript';
import * as builtin from './builtin';
import { Context } from './Context';
import * as emit from './emit';
import * as format from './format';
import * as literal from './literal';
import { Local } from './Local';
import { Locals } from './Locals';
impor... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormProduct {
interface Header extends DevKit.Controls.IHeader {
/** Status of the product. */
StateCode: DevKit.Controls.OptionSet;
}
interface tab_FieldService_Sections {
tab_3_section_1: DevKit.Controls.Section;
... | the_stack |
import { ISearchMatch, ISearchProvider } from '@jupyterlab/documentsearch';
import { SpreadsheetEditorDocumentWidget } from './documentwidget';
import { Widget } from '@lumino/widgets';
import { DocumentWidget } from '@jupyterlab/docregistry';
import { SpreadsheetWidget } from './widget';
import { ISignal, Signal } fro... | the_stack |
declare module 'rn-components-kit' {
import * as React from 'react';
import {
ViewStyle,
TextStyle,
TextProps,
Constructor,
ImageRequireSource,
NativeMethodsMixin,
TouchableOpacityProps,
} from 'react-native'
interface BadgeProps {
/**
* Allow you to customize style
... | the_stack |
import React from 'react';
import {Disc, X} from 'react-feather';
import styled from '@emotion/styled';
import {formatDistance} from 'date-fns';
import {AnimatePresence, motion} from 'framer-motion';
import {toJS} from 'mobx';
import {observer} from 'mobx-react';
import TimeTicker from 'src/shared/components/TimeTicke... | the_stack |
import React from 'react';
import 'jest-styled-components';
import 'jest-axe/extend-expect';
import 'regenerator-runtime/runtime';
import { render } from '@testing-library/react';
import { fireEvent } from '@testing-library/dom';
import { Grommet } from '../../Grommet';
import { Pagination } from '..';
const NUM_ITE... | the_stack |
import { IDisposable } from "../../core/types";
import { transformGeometry } from "../../geometry/Geometry.Functions";
import { planeGeometry } from "../../geometry/primitives/planeGeometry";
import { Blending } from "../../materials/Blending";
import { ShaderMaterial } from "../../materials/ShaderMaterial";
import { c... | the_stack |
import $ from 'mdui.jq/es/$';
import contains from 'mdui.jq/es/functions/contains';
import extend from 'mdui.jq/es/functions/extend';
import { JQ } from 'mdui.jq/es/JQ';
import 'mdui.jq/es/methods/addClass';
import 'mdui.jq/es/methods/attr';
import 'mdui.jq/es/methods/children';
import 'mdui.jq/es/methods/css';
import ... | the_stack |
import {CUSTOM_DRAG_TYPE, GENERIC_TYPE, NATIVE_DRAG_TYPES} from './constants';
import {DirectoryItem, DragItem, DropItem, FileItem, DragTypes as IDragTypes} from '@react-types/shared';
import {DroppableCollectionState} from '@react-stately/dnd';
import {getInteractionModality, useInteractionModality} from '@react-aria/... | the_stack |
import mnemonicData from "./Opcodes.js";
import {hi, isByteReg, isWordReg, lo, toHexWord} from "z80-base";
import {Variant} from "./OpcodesTypes.js";
import * as path from "path";
import * as fs from "fs";
/**
* List of all flags that can be specified in an instruction.
*/
const FLAGS = new Set(["z", "nz", "c", "nc"... | the_stack |
import { discardPeriodicTasks, fakeAsync, flushMicrotasks, TestBed, tick, waitForAsync } from '@angular/core/testing';
import { AudioPlayerService } from './audio-player.service';
import { AssetsBackendApiService } from './assets-backend-api.service';
import { ContextService } from './context.service';
import { EventEm... | the_stack |
import { makeExecutableSchema } from '@graphql-tools/schema';
import { IResolverValidationOptions } from '@graphql-tools/utils';
import {
graphql,
ExecutionResult,
GraphQLDirective,
GraphQLError,
GraphQLResolveInfo,
GraphQLSchema,
} from 'graphql';
import { IRateLimiterOptions, RateLimiterMemory, RateLimite... | the_stack |
import React, {
useState,
useRef,
useEffect,
useMemo,
useLayoutEffect,
} from "react";
import { EnvManagerComponent } from "@ui_types";
import { Client, Model } from "@core/types";
import * as g from "@core/lib/graph";
import { style } from "typestyle";
import * as ui from "@ui";
import { getValDisplay } from... | the_stack |
import { ARobotBehaviour } from './interpreter.aRobotBehaviour';
import { State } from './interpreter.state';
import * as C from './interpreter.constants';
import * as U from './interpreter.util';
export class RobotWeDoBehaviour extends ARobotBehaviour {
/*
* represents the state of connected wedo devices wit... | the_stack |
'use strict';
/**
* TODO: Update functions to remove interaction with the VSCode editor, to allow for unit testing of functionality.
* TODO: Add function comments
* TODO: Use common support functions instead of repetitious calls to VSCode directly.
*/
import * as vscode from 'vscode';
import { ListType } from '..... | the_stack |
import { EventStream } from '~/api/grpc/event-stream';
import { Filters, FilterEntry, FilterDirection } from '~/domain/filtering';
import { FlowFilter, Verdict } from '~backend/proto/flow/flow_pb';
import { filterEntries } from '~/testing/data';
// TODO: consider to move it to helper utils ~/testing/helpers
interface... | the_stack |
import * as React from 'react';
import * as ReactDom from 'react-dom';
import * as strings from 'contentQueryStrings';
import { Version, Text, Log } from '@microsoft/sp-core-library';
import { BaseClientSideWebPart } from "@microsoft/sp-webpart-base";
import { IPropertyPaneConfiguration, IPropertyPaneField } from "@mic... | the_stack |
import { observable, IObservableArray, action } from 'mobx'
import { referenceOne, referenceMany } from '.'
import { moveItem } from 'mobx-utils'
const map = require('lodash/map')
const filter = require('lodash/filter')
const find = require('lodash/find')
const some = require('lodash/some')
const every = require('lodas... | the_stack |
import * as angular from 'angular';
import * as _ from "underscore";
import {VisualQueryPainterService} from '../../visual-query/transform-data/visual-query-table/visual-query-painter.service';
import {DOCUMENT} from '@angular/platform-browser';
import {Component, ElementRef, HostListener, Inject, Input} from "@angular... | the_stack |
import { RequestUtil } from "mesosphere-shared-reactjs";
import { request } from "@dcos/http-service";
import Config from "#SRC/js/config/Config";
import getFixtureResponses from "#SRC/js/utils/getFixtureResponses";
import PrivatePluginsConfig from "../../PrivatePluginsConfig";
import * as ActionTypes from "../consta... | the_stack |
import * as chai from 'chai';
import * as chaiAsPromised from 'chai-as-promised';
import * as fabricNetwork from 'fabric-network';
import { SmartContractUtil } from './ts-smart-contract-util';
import { User } from 'fabric-client';
import * as path from 'path';
chai.use(chaiAsPromised);
const expect = chai.expect;
co... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement } from "../shared";
/**
* Statement provider for service [lookoutmetrics](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonlookoutformetrics.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/lat... | the_stack |
import m from 'mithril';
import classnames from 'classnames';
import PopperJS, { Boundary } from 'popper.js';
import { Classes, IAttrs, Style, safeCall, getClosest, elementIsOrContains } from '../../_shared';
import { AbstractComponent } from '../abstract-component';
import { IOverlayableAttrs, Overlay } from '../overl... | the_stack |
import React, { ReactType } from 'react'
import { Dispatch } from 'redux'
import { connect } from 'react-redux'
import {
Text,
FlatList,
ListRenderItemInfo,
Dimensions,
TouchableWithoutFeedback,
View,
Clipboard,
Platform
} from 'react-native'
import { NavigationScreenProps, SafeAreaView } from 'react-na... | the_stack |
declare module 'gvis' {
export = gvis;
}
declare namespace gvis {
/**
* BaseApi Class for all future charts.
* @preferred
*/
export abstract class BaseApi {
protected version: string;
instanceIndex: number;
typeName: string;
container: any;
data: any;
render: any;
... | the_stack |
/*!
* @author electricessence / https://github.com/electricessence/
* Original: http://linqjs.codeplex.com/
* Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
*/
import {areEqual as areEqualValues, compare as compareValues} from "../System/Compare";
import {copy} from "../Sy... | the_stack |
import { connectSlot, slot, defaultSlotConfig } from './../src/Slot'
import { TestChannel } from './TestChannel'
import { Transport } from './../src/Transport'
import { DEFAULT_PARAM } from './../src/Constants'
import { TransportRegistrationMessage } from './../src/Message'
const makeTestTransport = () => {
const ... | the_stack |
import {
Score_itf, Staff_itf, Measure_itf, Note_itf, Rest_itf, Slur_itf, Cresc_itf, Time_signature,
CLEF, ACCIDENTAL, ORDER_OF_ACCIDENTALS, NOTE_LENGTH,
note_name_to_staff_pos, get_median_staff_pos, chord_and_beam_staff, short_id, Tuplet_itf, ARTICULATION, BARLINE, BRACKET,
} from "./common"
import {CONFIG} f... | the_stack |
import {
JavaArrayList,
JavaBigDecimal,
JavaBigInteger,
JavaBoolean,
JavaByte,
JavaDate,
JavaDouble,
JavaFloat,
JavaHashMap,
JavaHashSet,
JavaInteger,
JavaLong,
JavaOptional,
JavaShort,
JavaString
} from "../../java-wrappers";
import { MarshallerProvider } from "../MarshallerProvider";
imp... | the_stack |
import { ready as cryptoReady, tcrypto } from '@tanker/crypto';
import { expect } from '@tanker/test-utils';
import makeUint8Array from '../../__tests__/makeUint8Array';
import {
serializeUserGroupCreationV1,
unserializeUserGroupCreationV1,
serializeUserGroupCreationV2,
unserializeUserGroupCreationV2,
seria... | the_stack |
import { TreeItem, TreeModel, TreeNode, walkTree } from "app/client/models/TreeModel";
import { mouseDrag, MouseDragHandler, MouseDragStart } from "app/client/ui/mouseDrag";
import * as css from 'app/client/ui/TreeViewComponentCss';
import { Computed, dom, DomArg, Holder } from "grainjs";
import { Disposable, IDisposab... | the_stack |
export = bigInt;
export as namespace bigInt;
declare var bigInt: bigInt.BigIntegerStatic;
declare namespace bigInt {
type BigNumber = number | bigint | string | BigInteger;
interface BigIntegerStatic {
/**
* Equivalent to bigInt(0).
*/
(): BigInteger;
/**
*... | the_stack |
import { docsUrl } from "gen/gocd_version";
import { MithrilComponent, MithrilViewComponent } from "jsx/mithril-component";
import _ from "lodash";
import m from "mithril";
import Stream from "mithril/stream";
import { ConfigRepo, ParseInfo } from "models/config_repos/types";
import { PluginInfo } from "models/shared/p... | the_stack |
import { ReactNode, MouseEvent } from 'react';
import {
BUY,
SELL,
CATEGORY_PARAM_NAME,
TAGS_PARAM_NAME,
} from 'modules/common/constants';
import {
MARKET_ID_PARAM_NAME,
RETURN_PARAM_NAME,
OUTCOME_ID_PARAM_NAME,
CREATE_MARKET_FORM_PARAM_NAME,
} from './routes/constants/param-names';
import { AnyAction ... | the_stack |
import { LogFileConnection } from 'common-utils/index.js';
import { log, logError, logger, logInfo, setWorkspaceBase, setWorkspaceFolders } from 'common-utils/log.js';
import { toFileUri, toUri } from 'common-utils/uriHelper.js';
import * as CSpell from 'cspell-lib';
import { CSpellSettingsWithSourceTrace, extractImpor... | the_stack |
import React, { CSSProperties, MouseEventHandler, ReactNode, RefCallback } from "react";
import ReactDOM from "react-dom";
import classNames from "classnames";
import UIStore from "../../../stores/UIStore";
import { ChevronFace } from "../../structures/ContextMenu";
const InteractiveTooltipContainerId = "mx_Interacti... | the_stack |
import { strict as assert } from "assert";
import { SinonFakeTimers, useFakeTimers } from "sinon";
import { PromiseCache } from "../..";
describe("PromiseCache", () => {
describe("Basic Cache Mechanism", () => {
let pc: PromiseCache<number, string> | undefined;
it("addOrGet", async () => {
... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* A Cloud TPU instance.
*
* To get more information about Node, see:
*
* * [API documentation](https://cloud.google.com/tpu/docs/reference/rest/v1/projects.locati... | the_stack |
import { GitProject } from "@atomist/automation-client/lib/project/git/GitProject";
import { InMemoryFile as InMemoryProjectFile } from "@atomist/automation-client/lib/project/mem/InMemoryFile";
import { InMemoryProject } from "@atomist/automation-client/lib/project/mem/InMemoryProject";
import * as projectUtils from "... | the_stack |
import test, { Test } from "tape-promise/tape";
import { v4 as internalIpV4 } from "internal-ip";
import { v4 as uuidv4 } from "uuid";
import http from "http";
import bodyParser from "body-parser";
import express from "express";
import { AddressInfo } from "net";
import { Containers, CordaTestLedger } from "@hyperledg... | the_stack |
import { Server } from "http";
import { Server as SecureServer } from "https";
import { v4 as uuidv4 } from "uuid";
import { Express } from "express";
import { promisify } from "util";
import { Optional } from "typescript-optional";
import OAS from "../json/openapi.json";
import {
ICactusPlugin,
ICactusPluginOption... | the_stack |
import { AuthorizationServerOptions } from "../../authorization_server";
import { isClientConfidential, OAuthClient } from "../../entities/client.entity";
import { OAuthScope } from "../../entities/scope.entity";
import { OAuthToken } from "../../entities/token.entity";
import { OAuthUser } from "../../entities/user.en... | the_stack |
import * as d3 from "d3";
import { Dataset } from "../core/dataset";
import { AttributeToProjector, IAccessor, Projector, SimpleSelection } from "../core/interfaces";
import * as Scales from "../scales";
import { QuantitativeScale } from "../scales/quantitativeScale";
import * as Utils from "../utils";
import * as Dr... | the_stack |
import {
Input,
OnDestroy,
OnInit,
Output,
NgZone,
Directive,
OnChanges,
SimpleChanges,
} from '@angular/core';
import {Observable} from 'rxjs';
import {GoogleMap} from '../google-map/google-map';
import {MapEventManager} from '../map-event-manager';
import {MapAnchorPoint} from '../map-anchor-point';
... | the_stack |
declare namespace AMap {
type EventCallback = (...args: any[]) => void;
type GenericEventCallback<T> = (res: T) => void;
/**
* 加载插件
* @param pluginNames
* @param ready
*/
function plugin(pluginNames: string[], ready?: () => void): void;
/**
* 加载服务
* @param serviceName... | the_stack |
import * as Babel from "babel-standalone";
import { registerDialog } from "dialog-polyfill";
import { debounce, throttle } from "lodash";
import { monaco } from "./monaco";
import * as ts from "typescript";
import { StrictLevel, ViewType } from "./model";
import { decodeUrlData } from "./urls";
import protect from "loo... | the_stack |
import { AnyOS, LinuxOS } from './getos';
import { resolveConfig, ResolveConfigVariables } from './resolveConfig';
import debug from 'debug';
import * as semver from 'semver';
import { isNullOrUndefined } from './utils';
import { BaseDryMongoBinaryOptions, DryMongoBinary } from './DryMongoBinary';
import { URL } from '... | the_stack |
import { TypedDocumentNode } from "@graphql-typed-document-node/core";
import fastJson from "fast-json-stringify";
import genFn from "generate-function";
import {
ASTNode,
DocumentNode,
ExecutionResult,
FragmentDefinitionNode,
getOperationRootType,
GraphQLAbstractType,
GraphQLEnumType,
GraphQLError,
G... | the_stack |
import { Buffer, Neovim, Window } from '@chemzqm/neovim'
import debounce from 'debounce'
import { Disposable } from 'vscode-languageserver-protocol'
import { Mutex } from '../util/mutex'
import extensions from '../extensions'
import Highlighter from '../model/highligher'
import { IList, ListAction, ListContext, ListIte... | the_stack |
import * as moment from "moment";
/**
* Error body.
*/
export interface ErrorModel {
code?: string;
message?: string;
}
/**
* Error information returned by the API
*/
export interface APIError {
error?: ErrorModel;
}
/**
* A rectangle within which a face can be found
*/
export interface FaceRectangle {
/... | the_stack |
import { AccountIsLockedException } from "../Exceptions/AccountIsLockedException";
import { ArgumentException } from "../Exceptions/ArgumentException";
import { DateTime, DateTimeKind } from "../DateTime";
import { Dictionary, DictionaryWithStringKey } from "../AltDictionary";
import { EwsLogging } from "./EwsLogging";... | the_stack |
import type { AgentMessage } from '../../../agent/AgentMessage'
import type { InboundMessageContext } from '../../../agent/models/InboundMessageContext'
import type { Logger } from '../../../logger'
import type { ConnectionRecord } from '../../connections'
import type { AutoAcceptProof } from '../ProofAutoAcceptType'
i... | the_stack |
import callbackQueue from 'callback-queue';
import pluralize from 'pluralize';
import request from 'request-retry-dayjs';
import async from 'async';
import dayjs from 'dayjs';
import Currencies from '@tf2autobot/tf2-currencies';
import sleepasync from 'sleep-async';
import Bot from './Bot';
import { Entry, PricesObject... | the_stack |
import React, { useState } from 'react';
import {
addons,
makeDecorator,
OptionsParameter,
StoryContext,
StoryGetter,
} from '@storybook/addons';
// import { useAddonState } from '@storybook/client-api';
import { STORY_CHANGED, STORY_RENDERED } from '@storybook/core-events';
import {
ADDON_GLOBAL_DISABLE_ST... | the_stack |
import { formatTick, computeTimeIntervalName } from './time-series';
import { TimeScaleOptions } from '../interfaces';
import * as Configuration from '../configuration';
import frLocaleObject from 'date-fns/locale/fr/index';
type TickTuple = [Date, string];
type Dataset = TickTuple[];
const timeScaleDefaultOptions = ... | the_stack |
import { AbstractParam } from "../context/AbstractParam";
import { dbToGain, gainToDb } from "../type/Conversions";
import { Decibels, Frequency, Positive, Time, UnitMap, UnitName } from "../type/Units";
import { isAudioParam } from "../util/AdvancedTypeCheck";
import { optionsFromArguments } from "../util/Defaults";
i... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
/**
* Creates a [Flex Template](https://cloud.google.com/dataflow/docs/guides/templates/using-flex-templates)
* job on Dataflow, which is an implementation of Apache Beam running on Google
* Compute Engine. For more information see... | the_stack |
import chalk, { Chalk } from 'chalk'
/**
* A generic interface that holds all available language tokens.
*/
export interface Tokens<T> {
/**
* keyword in a regular Algol-style language
*/
keyword?: T
/**
* built-in or library object (constant, class, function)
*/
built_in?: T
... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { JobExecutions } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { SqlManagementClient } from "../sqlManagem... | the_stack |
import * as handler from '../handler/queue';
import * as arraybuffers from '../arraybuffers/arraybuffers';
import * as logging from '../logging/logging';
declare const freedom: freedom.FreedomInModuleEnv;
var log: logging.Log = new logging.Log('DataChannel');
// Messages are limited to a 16KB length by SCTP. For max... | the_stack |
import assert = require("assert")
import fs = require("fs")
import path = require("path")
import _=require("underscore")
import def = require("raml-definition-system")
import ll=require("../lowLevelAST")
import yll=require("../jsyaml/jsyaml2lowLevel")
import high = require("../highLevelImpl")
import hl=require("../high... | the_stack |
import { some, isEqual, reverse } from 'lodash';
import path from 'path';
import process from 'process';
import { getBuildArtifacts } from '../artifacts/BuildArtifacts';
import Contract from '../artifacts/Contract.js';
import { BuildArtifacts } from '../artifacts/BuildArtifacts.js';
import { Node, NodeMapping, TypeInfo... | the_stack |
import {BackgroundColorValue, BorderColorValue, BorderRadiusValue, BorderSizeValue, ColorValue, DimensionValue, Direction, Responsive, ResponsiveProp, StyleProps, ViewStyleProps} from '@react-types/shared';
import {CSSProperties, HTMLAttributes} from 'react';
import {useBreakpoint} from './BreakpointProvider';
import {... | the_stack |
import {tuiAssert} from '@taiga-ui/cdk/classes';
import {TuiDayOfWeek, TuiMonthNumber} from '@taiga-ui/cdk/enums';
import {TuiDayLike} from '@taiga-ui/cdk/interfaces';
import {TuiDateMode} from '@taiga-ui/cdk/types';
import {padStart} from '@taiga-ui/cdk/utils/format';
import {inRange, normalizeToIntNumber} from '@taig... | the_stack |
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'
import CacheHelper from 'App/Helpers/CacheHelper'
import UserServices from 'App/Services/UserServices'
import CompanyValidator from 'App/Validators/CompanyValidator'
import { CACHE_TAGS } from 'Contracts/cache'
import Logger from '@ioc:Adonis/Core/Logge... | the_stack |
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
import { BudgetsClient } from "./BudgetsClient";
import {
CreateBudgetActionCommand,
CreateBudgetActionCommandInput,
CreateBudgetActionCommandOutput,
} from "./commands/CreateBudgetActionCommand";
import {
CreateBudgetCommand,
Creat... | the_stack |
export default function makeDashboard(integrationId: string) {
return {
annotations: {
list: [
{
builtIn: 1,
datasource: "-- Grafana --",
enable: true,
hide: true,
iconColor: "rgba(0, 211, 255, 1)",
name: "Annotations & Alerts",
t... | the_stack |
* @module AccuDraw
*/
import { BeUiEvent } from "@itwin/core-bentley";
import {
AccuDraw, BeButtonEvent, CompassMode, IModelApp, ItemField,
NotifyMessageDetails, OutputMessagePriority, QuantityType, RotationMode,
} from "@itwin/core-frontend";
import { ConditionalBooleanValue } from "@itwin/appui-abstract";
impor... | the_stack |
import type {
Feature,
Geometry,
Point,
MultiPoint,
LineString,
MultiLineString,
Polygon,
MultiPolygon,
GeometryCollection
} from '@loaders.gl/schema';
import BinaryWriter from './utils/binary-writer';
/**
* Integer code for geometry type
* Reference: https://en.wikipedia.org/wiki/Well-known_text_... | the_stack |
import { ControllerAbstract } from './lib'
import { PrompterConfigMode, PrompterViewInner } from '../PrompterView'
import Spline from 'cubic-spline'
import { invert } from 'underscore'
const LOCALSTORAGEMODE = 'prompter-controller-arrowkeys'
type JoyconMode = 'L' | 'R' | 'LR'
/**
* This class handles control of the... | the_stack |
import gensync from "gensync";
import type { Handler } from "gensync";
import { forwardAsync, maybeAsync, isThenable } from "../gensync-utils/async";
import { mergeOptions } from "./util";
import * as context from "../index";
import Plugin from "./plugin";
import { getItemDescriptor } from "./item";
import { buildPres... | the_stack |
import { html, PropertyValues, TemplateResult } from 'lit';
import { property, state } from 'lit/decorators.js';
import { createRef } from 'lit/directives/ref.js';
import { listen, redispatchEvent, vdsEvent } from '../../base/events';
import { DEV_MODE } from '../../global/env';
import {
CanPlay,
MediaProviderElem... | the_stack |
/// <reference path="..\..\typings\jquery\jquery.d.ts" />
/// <reference path="..\..\typings\jquery.gridster\gridster.d.ts" />
/// <reference path="..\..\typings\select2\select2.d.ts" />
/// <reference path="..\..\typings\highcharts\highstock.d.ts" />
/// <reference path="..\..\typings\bootstrap.v3.datetimepicker\boot... | the_stack |
import { v4 as uuid4 } from "uuid";
import { pureDeepObjectAssign } from "vis-util/esnext";
import {
DataInterface,
DataInterfaceForEachOptions,
DataInterfaceGetIdsOptions,
DataInterfaceGetOptions,
DataInterfaceGetOptionsArray,
DataInterfaceGetOptionsObject,
DataInterfaceMapOptions,
DataInterfaceOrder,... | the_stack |
import * as vscode from 'vscode';
import * as path from 'path';
import { copyFile } from 'fs';
import { runTlc, stopProcess } from '../tla2tools';
import { TlcModelCheckerStdoutParser } from '../parsers/tlc';
import { updateCheckResultView, revealEmptyCheckResultView, revealLastCheckResultView } from '../checkResultVie... | the_stack |
const availableImapServer = /imap\-mail\.outlook\.com$|imap\.mail\.yahoo\.(com|co\.jp|co\.uk|au)$|imap\.mail\.me\.com$|imap\.gmail\.com$|gmx\.(com|us|net)$|imap\.zoho\.com$/i
/**
* getImapSmtpHost
* @param email <string>
* @return Imap & Smtp info
*/
const getImapSmtpHost = function ( _email: string ) {
co... | the_stack |
import BigNumber from 'bignumber.js'
import { ApiClient } from '../.'
/**
* Blockchain RPCs for DeFi Blockchain
*/
export class Blockchain {
private readonly client: ApiClient
constructor (client: ApiClient) {
this.client = client
}
/**
* Get various state info regarding blockchain processing.
*
... | the_stack |
import { Route } from 'vue-router';
import { sync } from 'vuex-router-sync';
import { VuexAction, VuexModule, VuexMutation, VuexStore } from '../../utils/vuex';
import { CommunityJoinLocation } from '../../_common/analytics/analytics.service';
import { Api } from '../../_common/api/api.service';
import { Backdrop } fro... | the_stack |
import type {Mutable, Class} from "@swim/util";
import {Affinity, Animator} from "@swim/component";
import {
AnyLength,
Length,
AnyAngle,
Angle,
AnyR2Point,
R2Point,
R2Segment,
R2Box,
R2Circle,
} from "@swim/math";
import {AnyGeoPoint, GeoPoint, GeoBox} from "@swim/geo";
import {AnyColor, Color} from ... | the_stack |
import { Injectable, Inject } from '@angular/core'
import { Response } from '@angular/http';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import {Jsonp} from '@angular/http'
import { Observable } from "rxjs/Rx";
import './rxjs-operators';
import { ConfigService } from './config.service';
import { Aut... | the_stack |
import { Filter } from './filters/Filter';
import { IMediaContext } from './interfaces/IMediaContext';
import { IMediaInstance } from './interfaces/IMediaInstance';
import { SoundLoader } from './SoundLoader';
import { CompleteCallback, Options, PlayOptions, Sound } from './Sound';
import { HTMLAudioContext } from './h... | the_stack |
import fs from 'fs';
import * as pathModule from 'path';
import {
isString,
uniq,
parseError,
castArray,
get,
has,
joinList,
} from '@terascope/utils';
import {
OperationAPIConstructor,
FetcherConstructor,
SlicerConstructor,
ProcessorConstructor,
ObserverConstructor,
... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* A Secret is a logical secret whose value and versions can be accessed.
*
* To get more information about Secret, see:
*
* * [API documentation](https://cloud.go... | the_stack |
import {addCanvas, addTitle, colors, sizes} from "./internal/layout";
import {
point,
drawOpen,
calcBouncePercentage,
drawLine,
drawPoint,
tempStyles,
drawClosed,
forceStyles,
} from "./internal/canvas";
import {
split,
expandHandle,
splitLine,
forPoints,
mapPoints,
... | the_stack |
import { kea } from 'kea'
import api from 'lib/api'
import { errorToast, eventToName, toParams } from 'lib/utils'
import { sessionsPlayLogicType } from './sessionsPlayLogicType'
import { SessionPlayerData, SessionRecordingId, SessionType } from '~/types'
import dayjs from 'dayjs'
import { EventIndex } from '@posthog/re... | the_stack |
import * as React from "react";
import { Input, LabeledInput, ProgressLinear, Radio, Select, SelectOption } from "@itwin/itwinui-react";
import { Dialog, Icon, InputStatus } from "@itwin/core-react";
import { ModalDialogManager } from "@itwin/appui-react";
import { MapLayersUiItemsProvider } from "../MapLayersUiItemsPr... | the_stack |
import { ApplicationRef, ChangeDetectorRef, ElementRef, NgZone, QueryList, SimpleChanges } from '@angular/core';
import { fakeAsync, tick } from '@angular/core/testing';
import { deepClone } from '@angular-ru/cdk/object';
import { Any, Fn, Nullable, PlainObject } from '@angular-ru/cdk/typings';
import { NgxColumnCompon... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.