text
stringlengths
9.82k
47.8k
import { serializedNode, serializedNodeWithId, NodeType, attributes, INode, idNodeMap, MaskInputOptions, SlimDOMOptions, MaskTextFn, MaskInputFn, KeepIframeSrcFn, documentNode, } from './types'; import { isElement, isShadowRoot, maskInputValue } from './utils'; import { values } from 'puppeteer/...
import { DatabaseForeignKey, DatabaseManyToOneElements, DatabaseOneToManyElements, DbApplication, EntityRelationType, file, property, repositoryEntity, } from '@airport/ground-control'; import { canBeInterface, getImplNameFromInterfaceName } from '../../../resolve/pathResolver'; import { Configuration } from ...
<filename>packages/coinlib-bitcoin/test/e2e.testnet.test.ts import fs from 'fs' import path from 'path' import { BalanceResult, TransactionStatus, NetworkType, FeeRateType, BalanceActivity, UtxoInfo, } from '@bitaccess/coinlib-common' import { HdBitcoinPayments, BitcoinTransactionInfo, BitcoinSignedTransaction, ...
<filename>src/VersionSet.ts /** * Copyright (c) 2018-present, heineiuo. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { assert } from "./DBHelper"; import Version from "./Version"; import { getCurrentFilename, getManifestFil...
import {PasswordBasedPreset} from "fs-json-store-encryption-adapter"; import type {RateLimiterMemory} from "rate-limiter-flexible"; import {URL} from "@cliqz/url-parser"; import {mapValues, pick} from "remeda"; import { ACCOUNT_EXTERNAL_CONTENT_PROXY_URL_REPLACE_PATTERN, DEFAULT_API_CALL_TIMEOUT, DEFAULT_M...
<reponame>bumplzz69/desktop import * as Fs from 'fs' import * as Path from 'path' import { Emitter, Disposable } from 'event-kit' import { Repository } from '../../models/repository' import { WorkingDirectoryFileChange, AppFileStatus } from '../../models/status' import { Branch, BranchType } from '../../models/branch' ...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import * as chars from '../chars'; import {isPresent} from '../facade/lang'; import {ParseError, ParseLocation, Pars...
<filename>test/setup.ts<gh_stars>0 // import 'expect-puppeteer' import { name as pkgName, version as pkgVersion } from '../package.json'; import { verifyEnvironment } from '../expect-env'; import { AppError, GuruMeditationError } from 'universe/backend/error'; import { sendHttpErrorResponse } from 'multiverse/next-resp...
<gh_stars>0 import { kebabCase, snakeCase } from 'lodash'; import * as ts from 'typescript'; import { AST } from 'vue-eslint-parser'; import { T_TypeScript } from '../dependencyService'; import { walkExpression } from './walkExpression'; export const renderHelperName = '__vlsRenderHelper'; export const componentHelper...
import express = require('express'); import mongoose = require('mongoose'); import gridfs = require('gridfs-stream'); import fileUpload = require('express-fileupload'); import fs = require('fs'); import HttpStatus = require('http-status-codes'); import { EMSession } from '../emSession/emSession'; import { EMEnti...
/** * Ported from @sveltejs/gl * MIT License * https://github.com/sveltejs/gl/blob/master/LICENSE */ export function process_color(color) { if (typeof color === 'number') { const r = (color & 0xff0000) >> 16; const g = (color & 0x00ff00) >> 8; const b = (color & 0x0000ff); return new Float32Array([ r ...
/* eslint-disable prefer-named-capture-group */ import {Rule, SchematicContext, Tree, chain, externalSchematic} from '@angular-devkit/schematics'; import {addDevDependency, addScript, getTemplate, removeDevDependencies, removeScript} from '../ng-add/ng-add-utils'; import { addAngularConfigInList, applyInTree, create...
import Popper from 'popper.js'; import { ReferenceElement, PopperInstance, Props, Instance, Content, LifecycleHooks, PopperElement, } from './types'; import {ListenerObject} from './types-internal'; import {isIE, updateIOSClass} from './browser'; import {PASSIVE, POPPER_SELECTOR} from './constants'; impor...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
import * as BezierEasing from 'bezier-easing' import throttle from 'lodash-es/throttle' import CollectionViewDelegate from './delegate' import CollectionViewLayout from './layout' import style from './style.css' import { Animation, Line, Position, Range, Ranges, Required, Size } from './types' import { assert, coalesce...
<filename>src/sdk/navigation/Facilities.ts /// <reference types="msfstypes/JS/Simplane" /> import { MagVar } from '..'; /** * The available facility frequency types. */ export enum FacilityFrequencyType { None, ATIS, Multicom, Unicom, CTAF, Ground, Tower, Clearance, Approach, Departure, Center...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../../utilities"; // Export members: export * from "./address"; export * from "./autoscaler";...
import * as BRRES from './brres'; import * as GX_Material from '../gx/gx_material'; import { mat4, mat2d, vec3 } from "gl-matrix"; import { MaterialParams, GXTextureHolder, ColorKind, translateTexFilterGfx, translateWrapModeGfx, loadedDataCoalescerGfx, GXRenderHelperGfx, GXShapeHelperGfx, GXMaterialHelperGfx, PacketP...
<filename>src/basic-languages/mysql/mysql.ts /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------...
<reponame>NilToOne/riven-mirror import { map } from "lodash-es"; import { hAccSum, hAccMul, hAccDiv } from "@/warframe/util"; import { Enemy, NormalModDatabase, NormalMod, AcolyteModsList, Weapon } from "./codex"; import { ModBuild } from "./modbuild"; import { RivenMod } from "./rivenmod"; import { i18n } from "@/i18n...
<filename>src/lyrics.ts import bezier from 'bezier-easing'; console.log("Lyrcis.ts startup"); let initialised = false; const lerp = (x: number, min: number, max: number) => min*(1-x)+max*x; const unlerp = (x: number, min: number, max: number) => (x-min) / (max-min); const clamp = (x: number, min?: number, max?: numb...
<gh_stars>0 // Copyright 2016-2018, Pulumi Corporation. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
<filename>plgx-angular-ui/src/app/components/hosts/filter-alerts-with-hostname/filter-alerts-with-hostname.component.ts import {AfterViewInit, Component, OnDestroy, OnInit, QueryList, ViewChild, ViewChildren} from '@angular/core'; import {DataTablesModule} from 'angular-datatables'; import {DataTableDirective} from 'an...
import { CancellationError, TimeoutError } from "./errors"; import { Fiber } from "./fiber"; import { Ref } from "./ref"; export { CancellationError, TimeoutError, Fiber, Ref }; /** * This is the primary type in the library. It represents an action * which returns a value of type `A`, or raises an error of type `E`...
<gh_stars>0 import {Culture} from "./Culture/Culture"; const _DayCountByMonthNum = { 0: 31, 1: 28, 2: 31, 3: 30, 4: 31, 5: 30, 6: 31, 7: 31, 8: 30, 9: 31, 10: 30, 11: 31, }; //date like '2019-07-05T08:58:55.720Z' //const _RegexJsonStringify = new RegExp(`\\d{4}-\\d{2}-\\...
/** * 流程图编辑器,基于antv G6 * 用于风控系统中规则的配置和编排 * create at 2019.11.11 * create by LiYuan * last edit at 2019.11.23 by LiYuan * version 1.0 */ import {Graph, registerBehavior, registerEdge, registerNode} from '@antv/g6'; import { EdgeData, RuleData } from './RuleParser' // @ts-ignore let {layout, graphlib} = dagre; // ...
import * as compiler from "./snippets/compiler"; import * as functional from "../../language/functional"; import * as light from "./snippets/light"; import * as material from "./snippets/material"; import * as materialPainter from "../painters/material"; import * as matrix from "../../math/matrix"; import * as normal f...
import * as THREE from 'three'; import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'; // import { TransformControls } from 'three/examples/jsm/controls/TransformControls.js'; import * as dat from 'dat.gui'; import vec3 = THREE.Vector3; const halfPi = Math.PI * 0.5; const TEMP_V = new vec3(); co...
/****************************************************************************** * TODO: make a web scraper that does this work * @file src/lib/_DiscordAPI.ts * @fileoverview Exports (most of) the Discord API interfaces. * {@link https://discord.com/developers/docs} *************************************************...
<reponame>jayblunt/EveOreBuilder // MIT License // Copyright (c) 2021 <NAME> // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights ...
import React from 'react'; import { Accordion, Card, Col, Container, Row, ToggleButton, ToggleButtonGroup, Button } from 'react-bootstrap'; import Nav from 'react-bootstrap/Nav'; import Tab from 'react-bootstrap/Tab'; import TabContent from 'react-bootstrap/TabContent'; // import { ReactComponent as EssentialIcon } fr...
<reponame>spsoto/blossom<gh_stars>0 /** * Copyright (c) The Blossom GraphQL Team. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import path from 'path'; import fsExtra from 'fs-extra'; import { ObjectTypeDefinitionNode, Inp...
import { Collection, Client, Message, TextChannel, DMChannel, NewsChannel, Guild, User, GuildMember, GuildChannel } from "discord.js"; import {getChannelByID, getGuildByID, getMessageByID, getUserByID, SendFunction} from "./lib"; import {hasPermission, getPermissionLevel, getPerm...
import _ from "lodash"; import moment from "moment"; import { M3UISpec, MEnumField, MFieldSchema, MFieldSchemaAnonymity, MValidationFail } from './Schema'; import { JSONSchema6 } from 'json-schema'; import React from "react"; import { SchemaFunc } from './SchemaFunc'; export type HideMap = { [fieldName: string]: boole...
<reponame>SocketMobile/capturesdk_flutter_snapshot<gh_stars>0 /** This is an property IDs template file for the properties definition 2017 © Socket Mobile, Inc. all rights reserved */ export enum Property { // Set to notify Capture that the client is shutting down gracefully. // Capture will send device removal...
import {withEnv} from './Helpers' import { Jaspr, JasprObject, JsonObject, resolveFully, Deferred, Callback } from '../src/Jaspr' import { Env, Scope, emptyScope, makeDynamic, isClosure, evalDefs, DynamicMap } from '../src/Interpreter' import * as I from '../src/Interpreter' import * as Names from '../src/ReservedN...
const characters = [ '3-D Man', 'A-Bomb', 'A.I.M.', '<NAME>', 'Abomination', 'Absorbing Man', 'Abyss', '<NAME>', '<NAME>', 'Aegis', '<NAME>', 'Agent X', 'Agent Zero', 'Agents of Atlas', 'Aginar', 'Air-Walker', 'Ajak', 'Ajaxis', 'Akemi', 'Al...
<reponame>srfcmelo1/leaflet-map import * as L from 'leaflet'; import { customElement, LitElement, property } from 'lit-element'; import { LeafletBase } from './base'; import DATA_ELEMENT_STYLES from './data-element.css'; type LegendSymbolType = 'circle' | 'image' | 'polygon' | 'polyline' | 'rectangle'; /* eslint-d...
<gh_stars>1-10 /* * Buffer Controller */ import Events from '../events'; import EventHandler from '../event-handler'; import { logger } from '../utils/logger'; import { ErrorTypes, ErrorDetails } from '../errors'; import { getMediaSource } from '../utils/mediasource-helper'; import { TrackSet } from '../types/track...
<filename>src/scatter-gl/scatter_plot.ts<gh_stars>10-100 /* @license Copyright 2019 Google LLC. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licens...
<reponame>psicomante/Babylon.js<gh_stars>0 import { Scene } from "../../scene"; import { Vector3 } from "../../Maths/math.vector"; import { Color3 } from "../../Maths/math.color"; import { Mesh } from "../mesh"; import { VertexData } from "../mesh.vertexData"; import { GroundMesh } from "../groundMesh"; import { ...
import * as eol from 'eol'; import * as EventEmitter from 'events'; import { Socket } from 'net'; import * as net from 'net'; import * as rokuDeploy from 'roku-deploy'; /** * A class that connects to a Roku device over telnet debugger port and provides a standardized way of interacting with it. */ export class Roku...
import {IMaskedDateTime} from '../maskbase/interface'; import { Internationalization, L10n, getValue, getDefaultDateObject, cldrData, KeyboardEventArgs} from '@syncfusion/ej2-base'; const ARROWLEFT: string = 'ArrowLeft'; const ARROWRIGHT: string = 'ArrowRight'; const ARROWUP: string = 'ArrowUp'; const ARROWDOWN: strin...
<reponame>ricmoo/Takoyaki<gh_stars>10-100 "use strict"; import { toASCII, toUnicode } from "punycode"; import aes from "aes-js"; import { BigNumber, constants, Contract, ContractInterface, providers, Signer, utils } from "ethers"; import { svg as SVG } from "./asset"; import { Random } from "./random"; import { pars...
import {Stack, Badness} from "./stack" import {Action, Specialize, Term, Seq, StateFlag, ParseState} from "./constants" import {InputStream, Token, StringStream, Tokenizer, TokenGroup} from "./token" import {DefaultBufferLength, Tree, TreeBuffer, NodeGroup, NodeType, NodeProp, NodePropSource} from "lezer-tree" import {...
import {Tokens} from "@tokens"; import { ChainId, supportedChainIds, type ChainIdTypeMap } from "@chainid"; import type { AddressMap, DecimalsMap } from "@common/types"; import {BaseToken, type IBaseToken, type Token} from "@token"; import type {ID} from "@internal/types"; import {type SwapTypeM...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { Diagnostic, DiagnosticAdvice, DiagnosticLanguage, DiagnosticLocation, DiagnosticSourceType, Diagnostics, Diagnosti...
import React, { ReactNode, useEffect, useMemo, useRef, useState } from 'react'; import { observer } from 'mobx-react'; import { Progress } from 'antd'; import { ProgressWrapper, SceneWrapper, SceneContainer, ScenePreview, } from '@/components/styles/3DScene'; import { useCommonStores, useMainSiteStores } from '...
<filename>libs/laya/d3/core/light/ShadowUtils.ts import { LayaGL } from "../../../layagl/LayaGL"; import { FilterMode } from "../../../resource/FilterMode"; import { RenderTextureDepthFormat, RenderTextureFormat } from "../../../resource/RenderTextureFormat"; import { WarpMode } from "../../../resource/WrapMode"; impor...
/* This code is copied from https://github.com/iwestlin/gd-utils and adapted to typescript, also I kept only the code I needed removing other parts. I hereby take no credit of the followong other than modifications. See https://github.com/iwestlin/gd-utils/blob/master/src/gd.js for original author. */ import axios fro...
/** * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
import MinecraftData from 'minecraft-data' import { Bot } from 'mineflayer' import { Entity, EntityType } from 'prismarine-entity' import { Window } from 'prismarine-windows' import { Item as PrismarineItem } from 'prismarine-item' import { Pathfinder } from 'mineflayer-pathfinder' import { Channel, Client, MessageEmbe...
/* eslint-disable eqeqeq */ /* eslint-disable @typescript-eslint/member-ordering */ /* eslint-disable max-len */ import React, { ReactNode } from 'react'; import PropTypes from 'prop-types'; import { get, size, isMap, each, isEqual, pick, isNull } from 'lodash-es'; import classnames from 'classnames'; import { Variable...
<reponame>Ptival/PeaCoq import * as d3Hierarchy from 'd3-hierarchy' import * as d3Interpolate from 'd3-interpolate' import * as d3Path from 'd3-path' import * as d3Selection from 'd3-selection' import * as d3Transition from 'd3-transition' import * as _ from 'lodash' import { debounceAndThrottle } from '../rxjs/operato...
/** * MIT License * * Copyright (c) 2021 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, ...
// ShackStats // Copyright (C) 2016 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publ...
<reponame>all-of-us/workbench import { ElementHandle, Page } from 'puppeteer'; import { FieldSelector } from 'app/page/cohort-build-page'; import { waitForNumericalString, waitForText, waitWhileLoading } from 'utils/waits-utils'; import TieredMenu from 'app/component/tiered-menu'; import { AgeSelectionRadioButton, Link...
import "es6-promise/auto"; import * as Calendar_Contracts from "./Contracts"; import * as Context from "VSS/Context"; import * as Controls from "VSS/Controls"; import * as Controls_Contributions from "VSS/Contributions/Controls"; import * as Controls_Notifications from "VSS/Controls/Notifications"; import * as Controls...
<filename>src/app/universal-service/components/personal-dates/personal-dates.component.ts<gh_stars>0 import { Component, OnInit } from '@angular/core'; import { AuthenticationService } from '@app/core'; import { Router } from '@angular/router'; import { FormBuilder, Validators } from '@angular/forms'; import { UsfServi...
/* eslint-disable no-bitwise */ import * as _ from 'lodash'; import Arc from './arc'; import { Coordinate, LatLng } from './coordinate'; // A small number for dealing with near-0 const EPSILON = 0.00000001; export const NORTH_POLE = 1; // = 0001 export const SOUTH_POLE = 2; // = 0010 const DEG_TO_RAD = Math.PI / 180; ...
<filename>packages/react-table-v8/src/types.ts export interface TableOptions { data: unknown[]; columns: Column[]; debug?: boolean; defaultColumn?: Column; initialState?: {}; state?: {}; onStateChange?: <TTableInstance>( newState: {}, instance: TTableInstance, ) => void; getSubRows?: <TOrigina...
<reponame>DangNguyenTH4/nhathuoclankha_ngadmin<filename>src/app/pages/sell-medicine/sell/sell.component.ts<gh_stars>0 import { Component, OnInit, TemplateRef} from '@angular/core'; import { LocalDataSource, Cell } from 'ng2-smart-table'; import { SellMedicineControllerService, MedicineControllerService, MedicineDto, Se...
<reponame>EricTousignant/screensaver<filename>app/scripts/sources/photo_source_google.ts<gh_stars>10-100 /** * A source of photos from Google Photos * {@link https://developers.google.com/photos/library/reference/rest/} * * @module scripts/sources/photo_source_google */ /* * Copyright (c) 2015-2019, <NAME> All ...
<filename>src/mesh/agents/state/TerminalOpsSyncAgent.ts import { HashedObject, HashedSet, Hash } from 'data/model'; import { MutationOp } from 'data/model'; import { Context, Literal, LiteralContext, Dependency } from 'data/model'; import { Store } from 'storage/store'; import { AgentPod } from '../../service/AgentPo...
<reponame>nmtigor/pdf.ts<gh_stars>0 /* Converted from JavaScript to TypeScript by * nmtigor (https://github.com/nmtigor) @2022 */ /* Copyright 2017 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
<reponame>pengYYYYY/tdesign-common<filename>js/tree/tree-node.ts<gh_stars>0 import uniqueId from 'lodash/uniqueId'; import get from 'lodash/get'; import { TreeStore } from './tree-store'; import { TreeNodeValue, TreeNodeState, TypeIdMap, TypeTreeItem, TypeSettingOptions, TypeTreeNodeModel, TypeTreeNodeDat...
import confusingBrowserGlobals from 'confusing-browser-globals'; const globals = ['error', 'isFinite', 'isNaN'].concat(confusingBrowserGlobals); const restrictedGlobals = globals.filter((item) => item !== 'self'); /** @see https://eslint.org/docs/rules/#suggestions */ module.exports = { rules: { // enforce gett...
// ==LICENSE-BEGIN== // Copyright 2017 European Digital Reading Lab. All rights reserved. // Licensed to the Readium Foundation under one or more contributor license agreements. // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file exposed on Github (readium) in the proj...
import { PlayerType, play, pause, previous, next, PlayerName, Track, PlaylistItem, saveToSpotifyLiked, addTracksToPlaylist, removeFromSpotifyLiked, setItunesLoved, repeatOn, repeatOff, PlayerDevice, playSpotifyMacDesktopTrack, playSpotifyTrack, playSpotifyPlaylist, TrackStatus, s...
<gh_stars>1-10 import { drag } from 'd3-drag' import { path } from 'd3-path' import { event, select } from 'd3-selection' type EdgeDirection = 'top' | 'right' | 'bottom' | 'left' type PointDirection = 'negative' | 'positive' type LinkType = 'sourceBeam' | 'targetBeam' | 'normal' type Coordinate = [number, number] int...
<filename>packages/core/src/storages/request_queue.ts<gh_stars>1-10 import { REQUEST_QUEUE_HEAD_MAX_LIMIT } from '@apify/consts'; import { ListDictionary, LruCache } from '@apify/datastructures'; import { cryptoRandomObjectId } from '@apify/utilities'; import crypto from 'crypto'; import { setTimeout as sleep } from 'n...
import { AuthService } from './../../services/auth.service'; import { WebsocketService } from './../../services/websocket.service'; import { DetailedField } from './../../common/entities/detailed-field'; import { SubSystemConstraintResponseDTO, SubHazardResponseDTO, SUB_HAZARD, UnlockRequestDTO, SUB_SYSTEM_CONSTRAINT, ...
<filename>src/types/graphql.ts import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; import { Country as CountryModel, State as StateModel, City as CityModel } from '@prisma/client'; import { MyContext } from './context'; export type Maybe<T> = T extends PromiseLike<infer U> ? Promis...
<filename>src/vs/workbench/services/keybinding/common/windowsKeyboardMapper.ts /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license...
<filename>packages/compiler-core/src/transforms/transformElement.ts import { NodeTransform, TransformContext } from '../transform' import { NodeTypes, ElementTypes, CallExpression, ObjectExpression, ElementNode, DirectiveNode, ExpressionNode, ArrayExpression, createCallExpression, createArrayExpress...
<gh_stars>0 import { EventDispatcher } from "./EventDispatcher"; import { Event } from "./Event"; import { ProgressEvent } from "./ProgressEvent"; import { NumberDic, StringDic } from "./Dictionary"; import { URLRequest, RequestMetaData } from "./URLRequest"; import { trace, reveal } from "./Logger"; export class Res...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {getInjectableDef, getInjectorDef} from '../di/defs'; import {InjectionToken} from '../di/injection_token'; i...
<filename>core/imodel-bridge/src/BridgeRunner.ts /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *---------------------...
<filename>src/components/snapshot/test/basic/pages/components/components.ts import { Component } from '@angular/core'; import { IonicPage } from '../../../../../../'; import { AssistiveTouchProvider } from '../../providers/assistive-touch/assistive-touch'; import { NavController } from '../../../../../../navigation/na...
<reponame>CliftonH/ably-js<filename>browser/static/ably.d.ts // Type definitions for Ably Realtime and Rest client library 1.0 // Project: https://www.ably.io/ // Definitions by: Ably <https://github.com/ably/> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace Types { namespace Chan...
<filename>src/goDebugFactory.ts<gh_stars>1-10 /* eslint-disable @typescript-eslint/no-explicit-any */ /*--------------------------------------------------------- * Copyright 2021 The Go Authors. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *---------...
import React, { useState, useEffect, useRef } from 'react'; import ReactDOM from 'react-dom'; import insertCss from 'insert-css'; import { TableColCell, GuiIcon, TableCornerCell, S2Event, InteractionStateName, CellTypes, } from '@antv/s2'; import { SheetComponent } from '@antv/s2-react'; import { Input, ...
<filename>src/replay/BB2toInternal.ts import { RACE_ID, SIDE, ACTION_TYPE, weatherTable, WEATHER, ROLL, getPlayerType, STATUS, SITUATION, KICKOFF_RESULT } from '../constants.js'; import * as B from './BB2.js'; import * as I from './Internal.js'; import { cellEq } from './Internal.js'; import parser from 'fast-x...
<gh_stars>0 /* eslint-disable no-console */ import * as fs from 'fs'; import { join, dirname, isAbsolute, resolve, sep } from 'path'; import { fileURLToPath } from 'url'; import * as crypto from 'crypto'; import request from 'request-promise'; import { Logger, LoggerService } from './logger.js'; import { CommonSelected...
/** * nt11576 Lee.Jaewon * commented area with "motion test" is for the motion detection testing canvas to test the computer vision, uncomment all codes labeled "motion test" */ import { GEHelper } from '../graphicEngine/GEHelper'; import VideoWorker from './workers/video.worker.ts'; import VideoMotionWorker from '...
import React, { ComponentProps, forwardRef, HTMLAttributes, memo, useImperativeHandle, useMemo, useRef, useState, } from 'react'; import { ArrowDown, ArrowUp } from '@ringcentral/juno-icon'; import { combineClasses, combineProps, CustomStyledComponentResult, getParsePaletteColor, omit, RcB...
/* jshint -W097 */ "use strict"; import * as d3 from "d3"; import { Controller } from "./controller"; import { Source, Method, StackFrame, SourceCoordinate, StackTraceResponse, TaggedSourceCoordinate, Scope, getSectionId, Variable, ActivityType, BreakpointType, SteppingType, EntityType } from "./messages"; impo...
type PackageName = string; export type HoisterTree = {name: PackageName, reference: string, dependencies: Set<HoisterTree>, peerNames: Set<PackageName>}; export type HoisterResult = {name: PackageName, references: Set<string>, dependencies: Set<HoisterResult>}; type Locator = string; type Ident = string; type HoisterWo...
import { addListeners } from '../../../../../client/addListener' import { ANIMATION_C } from '../../../../../client/animation/ANIMATION_C' import applyStyle from '../../../../../client/applyStyle' import namespaceURI from '../../../../../client/component/namespaceURI' import { Context } from '../../../../../client/cont...
import { IParser } from '../types/iquest'; import { Quest } from '../types/quest'; // @DOC // ## Parser Functions // // Most of these are only for internal use! See here details of how it all works. // https://github.com/ThePix/QuestJS/wiki/The-Parser#technical-notes // // @UNDOC export const parser = { BAD_SPECIAL:...
<gh_stars>0 import contentList from '../../resources/content_list'; import { Lang } from '../../resources/languages'; import { UnreachableCode } from '../../resources/not_reached'; import { callOverlayHandler } from '../../resources/overlay_plugin_api'; import Regexes from '../../resources/regexes'; import UserCon...
<filename>VCL/VXChartDonut.ts import V = require("VCL/VCL"); import VXU = require("VCL/VXUtils"); import VXC = require("VCL/VXComponent"); import VXD = require("VCL/VXDataset"); import VXCB = require("VCL/VXChartBase"); export class TChartPieBase extends VXCB.TChartBase{ public onSelectionchanged: (value: V.TDoun...
import './JS'; declare var os: any; declare var navigator: any; navigator = <Navigator>{}; // Core import WindowEx from './window'; import Canvas from './canvas'; import Image from './image'; declare var _gl: any; declare var window: WindowEx; window = new WindowEx(); function alert(s: string) ...
<reponame>UnivParis1/comptex<filename>server/tests/step_attrs_option.test.ts import { assert } from './test_utils'; import { merge_v, exportAttrs, export_v, flatten_attrs, selectUserProfile, merge_attrs_overrides, checkAttrs, one_diff, transform_object_items_oneOf_async_to_oneOf } from '../step_attrs_option'; import ch...
<filename>scripts/iCalReader.ts<gh_stars>1-10 import { CategoryChannel, Guild, MessageEmbed, TextChannel } from "discord.js" import { GuildChannel } from "discord.js/typings/index.js" import moment from "moment" import { async } from "node-ical" import { RecurrenceRule, scheduleJob } from "node-schedule" import { Disc...
<reponame>obiSerra/saasform import { _ } from 'lodash' import { REQUEST } from '@nestjs/core' import { Injectable, Scope, Inject } from '@nestjs/common' import { QueryService } from '@nestjs-query/core' import * as tldExtract from 'tld-extract' import { createECKey } from 'ec-key' import { ConfigService } from '@nestj...
import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { BigMapAbstraction, TezosToolkit } from "@taquito/taquito"; import { validateAddress, ValidationResult } from "@taquito/utils"; import BigNumber from "bignumber.js"; import constate from "constate"; import { formatImgUri } from "lib/im...
/* * Copyright © 2019 Atomist, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
import React from 'react'; import { useLocation } from "react-router-dom"; import { makeStyles } from '@material-ui/core/styles'; import { useTheme, Typography, Container, Button, Chip, Tooltip, Grid, Paper, Box, Card, CardContent, CardHeader, Collapse } from "@material-ui/core"; import { IconButton, InputBase } from "...
<filename>src/hdprivatekey.ts import { ERROR_TYPES } from './errors/spec'; import assert from 'assert'; import * as _ from 'lodash'; import $ from './util/preconditions'; import { Buffer } from 'buffer'; import { Base58Check, Base58 } from './encoding'; import { BitcoreBN, Random, Hash, Point } from './crypto'; import ...