text
stringlengths
9.82k
47.8k
<filename>src/Graph.ts<gh_stars>0 import * as acorn from 'acorn'; import injectDynamicImportPlugin from 'acorn-dynamic-import/lib/inject'; import { timeEnd, timeStart } from './utils/flushTime'; import first from './utils/first'; import Module, { IdMap, ModuleJSON } from './Module'; import ExternalModule from './Extern...
<filename>src/Typescript/index.ts /// <reference path="DataView.ts" /> /// <reference path="DataStream.ts" /> /// <reference path="webgl.ts" /> /// <reference path="Math.ts" /> /// <reference path="Item.ts" /> /// <reference path="Player.ts" /> /// <reference path="Ham.ts" /> /// <reference path="Pig.ts" /> /// <ref...
import React, { Component } from 'react' // antd import { Spin, Card, Row, Col, Form, Input, Select, Button, Cascader, Checkbox, message, Alert, InputNumber } from 'antd' // plugin import moment from 'moment'; import debounce from 'lodash/debounce'; // component import $bmap from '../../compo...
import * as React from 'react'; import { max as d3Max, min as d3Min } from 'd3-array'; import { scaleLinear as d3ScaleLinear } from 'd3-scale'; import { select as d3Select, event as d3Event } from 'd3-selection'; import { area as d3Area, stack as d3Stack, curveMonotoneX as d3CurveBasis } from 'd3-shape'; import { class...
<filename>src/modules/transactions.ts import { default as NewTransactionPool, TransactionQueue } from 'src/logic/newTransactionPool'; import { Account, Transaction, TransactionStatus } from 'src/helpers/types'; import { getAccountByAddress } from 'src/helpers/account.utils'; import { transactionSortFunc } from 'src/hel...
import { autoinject } from 'aurelia-dependency-injection' import { Entity, EntityCollection, Cartographic, ConstantPositionProperty, ConstantProperty, Cartesian3, Quaternion, Matrix3, Matrix4, CesiumMath, Transforms, JulianDate, ReferenceFrame, PerspectiveFrustum ...
export { IAtom, Atom, BaseAtom }; export { IObservable, IDepTreeNode }; export { Reaction, IReactionPublic, IReactionDisposer }; export { IDerivation, untracked, IDerivationState }; export { useStrict, isStrictModeEnabled, IAction }; export { spy }; export { IComputedValue }; export { asReference, asFlat, asStructure, ...
// Type definitions for relay-runtime 6.0 // Project: https://github.com/facebook/relay, https://facebook.github.io/relay // Definitions by: <NAME> <https://github.com/voxmatt> // <NAME> <https://github.com/alloy> // <NAME> <https://github.com/ckknight> // Definitions: https://github.com...
import GL from '@luma.gl/constants'; import {isWebGL2, assertWebGL2Context, getWebGL2Context, withParameters, log} from '@luma.gl/gltools'; import {getKey, getKeyValue} from '../webgl-utils'; import {Texture, TextureProps} from '@luma.gl/api'; import Buffer from './webgl-buffer'; import { TEXTURE_FORMATS, DATA_FORM...
import * as React from 'react'; const svgNS = "http://www.w3.org/2000/svg"; /** * ES_XXX - LCARS element styles */ const ES_SHAPE = 0x0000000F; // Mask for ES_SHAPE_XXX styles const ES_LABEL = 0x000000F0; // Mask for ES_LABEL_XXX styles const ES_COLOR = 0x0000FF00; // Mask for EC_XXX styles co...
import React, { useState, useCallback, useEffect, useRef } from "react"; import clsx from "clsx"; import "./ShapeActions.scss"; import { ShapeType } from "../types"; import { AppState } from "../../types"; import { ExcalidrawElement, ExcalidrawImageElement, NonDeletedExcalidrawElement, } from "../../element/typ...
<reponame>volunux/angular /** * @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 {SafeValue, unwrapSafeValue} from '../../sanitization/bypass'; import {stylePropNeedsSani...
import BigNumber from "bignumber.js"; import { LOCATION_CHANGE } from "connected-react-router"; import { camelCase, isString } from "lodash"; import { compose, keyBy, map, omit } from "lodash/fp"; import { delay, Effect } from "redux-saga"; import { all, fork, put, race, select, take } from "redux-saga/effects"; impor...
<gh_stars>10-100 /* eslint-disable @typescript-eslint/no-explicit-any */ import path = require('path'); import {clearInterval} from 'timers'; import {CompletionItem} from 'vscode'; import {Breakpoint, Source, StackFrame, Thread} from 'vscode-debugadapter'; // eslint-disable-next-line node/no-extraneous-import import {D...
<gh_stars>10-100 export const names: string[] = [ '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NA...
<filename>src/typer/dokumentApi.ts export interface IDokumentData { vilkår: IVilkår; personopplysninger: IPersonopplysninger; vedtak: IVedtak; søknadsdatoer: ISøknadsdatoer; } export interface ISøknadsdatoer { søknadsdato: string; søkerStønadFra: string; } export type IAvslåVedtak = { resultatType: EBeh...
<gh_stars>0 import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; import { DBPackageProposal } from '@/schema/package-proposal/db-types'; import { DBProjectType } from '@/schema/project-type/db-types'; import { Context } from '@/context'; export type Maybe<T> = T | null; export type ...
import React, { useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, } from "react"; import { scale, translate, compose, applyToPoint, Matrix, inverse, identity, rotateDEG, } from "transformation-matrix"; import { GRID_SIZE } from "../../.....
/* * Copyright 2022 Huawei Technologies Co., Ltd * * 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 ...
import * as ts from 'typescript' import { FgWhite, Reset, Bright, FgYellow, FgCyan, FgGreen, FgMagenta, FgRed } from './colors'; import { debug, info, err } from './logger' const TSJsonCheckerName = 'ts-json-checker' interface GenerationInfo { typeNode: ts.TypeNode name: string } interface ConvertInfo { ...
<reponame>zeroedin/patternfly-elements<gh_stars>10-100 // Hi // This file was ported from http://npm.im/numeral, an npm package last updated 5 years ago // I've made the minimal effort to modernize it // But there's still lots of code that can be removed, updated, and improved, /* eslint-disable */ /* ! @preserve * ...
import AsteriskServer from "../asteriskServer"; import Bridges from "../collections/BridgesCollection"; import Peers from "../collections/PeersCollection"; import Variables from "../collections/VariablesCollection"; import {IDfiAMIResponseError, IDfiAMIResponseGetvar, IDfiCallbackResult, IDfiVariableCallback} from "../...
import {PolymerElement, html} from '@polymer/polymer/polymer-element'; import '@unicef-polymer/etools-date-time/datepicker-lite'; import '@unicef-polymer/etools-content-panel/etools-content-panel.js'; import '@unicef-polymer/etools-dialog/etools-dialog.js'; import '@polymer/paper-checkbox/paper-checkbox.js'; import '@...
<gh_stars>0 import timezones from "timezones-list" export enum Timezone { AFRICA_ABIDJAN='Africa/Abidjan', AFRICA_ACCRA='Africa/Accra', AFRICA_NAIROBI='Africa/Nairobi', AFRICA_ALGIERS='Africa/Algiers', AFRICA_LAGOS='Africa/Lagos', AFRICA_BISSAU='Africa/Bissau', AFRICA_MAPUTO='Africa/Maputo'...
<filename>src/lib/help.ts import {URLSchemeFrom} from './constants'; /**网络请求参数*/ export interface RequestParams { /**链接*/ url: string; /**数据*/ data?: unknown; /**请求头*/ header?: Record<string, string>; /**请求方式*/ method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'TRACE' | 'CONNECT'; ...
<filename>src/Inequality.ts /* Copyright 2016 <NAME> <<EMAIL>> <NAME> <<EMAIL>> 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...
<filename>src/grammar/Base.ts import {refine, Parser, TokenRange} from '../Parsec'; import * as K from '../Kit'; import {OK, Err, Charset} from '../Kit'; import Unicode from '../Unicode'; import * as UnicodeProperty from '../UnicodeProperty'; import * as AST from '../AST'; import {Omit} from 'utility-types'; import * a...
// Type definitions for Microsoft ASP.NET Ajax client side library // Project: http://msdn.microsoft.com/en-us/library/ee341002(v=vs.100).aspx // Definitions by: <NAME> <https://github.com/pjmagee/> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped function GlobalNamespace_Tests() { var arrayVar...
/** * Module of utilities enabling communication with the PepTalk websocket interface * of a Media Sequencer Engine. */ import { EventEmitter } from 'events' import * as websocket from 'ws' import * as Xml2JS from 'xml2js' /** * Location of a new XML element relative to an existing element. */ export enum Loc...
import * as path from 'path'; import * as cb from '@aws-cdk/aws-codebuild'; import * as cp from '@aws-cdk/aws-codepipeline'; import * as cpa from '@aws-cdk/aws-codepipeline-actions'; import * as ec2 from '@aws-cdk/aws-ec2'; import * as iam from '@aws-cdk/aws-iam'; import { Aws, Fn, IDependable, Lazy, PhysicalName, Stac...
import * as React from "react"; import _ from "lodash"; import * as nvd3 from "nvd3"; import * as d3 from "d3"; import * as protos from "../js/protos"; import Long from "long"; import moment from "moment"; import { NanoToMilli } from "../util/convert"; import { Bytes, ComputePrefixExponent, Duration, kibi } from "../u...
import * as baseCommand from 'prosemirror-commands'; import { Fragment, Node, NodeRange, NodeType, ResolvedPos, Slice, } from 'prosemirror-model'; import * as baseListCommand from 'prosemirror-schema-list'; import { EditorState, NodeSelection, TextSelection, Transaction, } from 'prosemirror-state'; ...
import Popper from 'popper.js' import { ReferenceElement, PopperInstance, Props, Options, Instance, Content, Listener, VirtualReference, } from './types' import { isIE } from './browser' import { closest, closestCallback, arrayFrom } from './ponyfills' import { PASSIVE, PADDING, PLACEMENT_ATTRIBUT...
import { DeployContext } from '@malagu/cli-service'; import * as JSZip from 'jszip'; import * as ora from 'ora'; import * as traverse from 'traverse'; import * as delay from 'delay'; import { DefaultCodeLoader, FaaSAdapterUtils, DefaultProfileProvider } from '@malagu/faas-adapter/lib/hooks'; import { scf, apigateway }...
<filename>src/main.ts<gh_stars>0 import { Graph } from "graphlib"; import { addIcon, EventRef, MarkdownView, normalizePath, Notice, Plugin, TFile, WorkspaceLeaf, } from "obsidian"; import { BreadcrumbsSettingTab } from "src/BreadcrumbsSettingTab"; import { DIRECTIONS, TRAIL_ICON, TRAIL_ICON_SVG, ...
<filename>src/session/service.ts import { EventEmitter } from "events"; import StrictEventEmitter from "strict-event-emitter-types"; import debug from "debug"; import { Multiaddr } from "multiaddr"; import { ITransportService, WebSocketTransportService } from "../transport"; import { PacketType, IPacket, decodeH...
/* tslint:disable: variable-name */ /* The API of the compatibility layer and parts of the implementation has been adapted from the original ZeroMQ.js version (up to 5.x) for which the license and copyright notice is reproduced below. Copyright (c) 2017-2019 <NAME> Copyright (c) 2011 <NAME> Copyright (c) 2010, ...
<reponame>ari-bag/ag-grid import { Group } from "../../../scene/group"; import { Selection } from "../../../scene/selection"; import { Rect } from "../../../scene/shape/rect"; import { Text, FontStyle, FontWeight } from "../../../scene/shape/text"; import { BandScale } from "../../../scale/bandScale"; import { DropShad...
import { VarName, FunCall, ConditionalExpr, ObjectLiteral, ArrayLiteral, BoolLiteral, IntLiteral, FloatLiteral, StrLiteral, VarExpr, PostfixDec, Lambda, PostfixInc, Expr, ObjectField, VarAssignmentExpr } from "./heron-expr"; import { Statement, CompoundStatement, IfStatement, EmptyStatement, VarDeclStatement, WhileStat...
<gh_stars>0 /** * @license * Copyright (c) 2017 Google Inc. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * Code distributed by Google as part of this project is also * subject to an additional IP rights grant found at * http://polym...
import cx from 'classnames'; import { Component, createRef } from 'react'; import Popover from '../popover'; import TagList, { ISelectTagListProps } from './TagList'; import Option from './Option'; import Search from './Search'; import { DisabledContext, IDisabledContext } from '../disabled'; import WindowEventHandler...
<reponame>pierredup/sentry import {SpanEntry, TraceContextType} from 'app/components/events/interfaces/spans/types'; import {API_ACCESS_SCOPES} from 'app/constants'; import {Field} from 'app/views/settings/components/forms/type'; import {PlatformKey} from 'app/data/platformCategories'; import {OrgExperiments, UserExper...
import { lineString } from "@turf/helpers"; import length from "@turf/length"; import * as fs from "fs"; import * as glob from "glob"; import * as path from "path"; import * as sharedstreetsPbf from "sharedstreets-pbf"; import * as sharedstreets from "./src/index"; import envelope from "@turf/envelope"; import * as tur...
export declare type BlendMode = 'pass through' | 'normal' | 'dissolve' | 'darken' | 'multiply' | 'color burn' | 'linear burn' | 'darker color' | 'lighten' | 'screen' | 'color dodge' | 'linear dodge' | 'lighter color' | 'overlay' | 'soft light' | 'hard light' | 'vivid light' | 'linear light' | 'pin light' | 'hard mix' |...
/** * API for the Support Ticket System */ import express from 'express'; import { auth } from './auth'; import { permissions } from '../permissions' import ticket_categories from '../../ticket_categories.json'; import { Ticket } from '../../types/billing/tick...
import { BitcoreLib } from '@ducatus/crypto-wallet-core'; import * as async from 'async'; import _ from 'lodash'; import { IChain, INotificationData } from '..'; import { ClientError } from '../../errors/clienterror'; import logger from '../../logger'; import { TxProposal } from '../../model'; const $ = require('precon...
/// <reference path="SkillProvider.ts"/> declare var swal; declare var startTest; /** * Set some form items to what were last chosen */ function setPreviousChoices() { // player 1 fams if (localStorage.getItem("f0") && localStorage.getItem("f0") !== "null") { for (let i = 0; i < 10; i++) { ...
<gh_stars>1-10 /* * Copyright (c) 2006-2011 <NAME> http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any p...
<reponame>yuqicxy/imodeljs /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *----------------------------------------------...
/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { exec } from 'child_process'; import { promisify } from 'util'; import merge from 'lodash/merge'; import find from 'lodash/find'; import flatten from 'lodash/flatten'; import { luImportResolverGenerator, ResolverResource, DialogSetting...
/** * 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 { MarkupFormatOptions, ansiEscapes, lineWrapAnsi, markupTag, markupToAnsi, markupToPlainText, stripAnsi, } fr...
import { AssetType } from "./Enumeration"; export class AssetDictionary{ assets: Map<string, Asset>; constructor() { this.assets = new Map<string, Asset>(); //#region : Font //#endregion //#region : Images ///#region : Background this.add(new Asset("background...
import { all, Awaited, basename, CanceledError, CancellationToken, CancellationTokenSource, checkCancellation, Decoder, DependencyNotFoundError, dirname, EntryExcludedError, EntryNotFoundError, isThenable, MapSet, PackageJson, parseBufferAsPackageJson, parseBufferAsPartialPackageJson, ...
/* eslint-disable */ import { Camera, EventDispatcher, Matrix4, MOUSE, OrthographicCamera, PerspectiveCamera, Quaternion, Spherical, TOUCH, Vector2, Vector3, } from 'three' // This set of controls performs orbiting, dollying (zooming), and panning. // Unlike TrackballControls, it maintains the "u...
import { bigint_asm, bigintresult } from './bigint.asm'; import { string_to_bytes } from '../other/utils'; import { IllegalArgumentError } from '../other/errors'; import { BigNumber_extGCD, Number_extGCD } from './extgcd'; import { getRandomValues } from '../other/get-random-values'; //////////////////////////////////...
import { Observer, Scene, Node, AbstractMesh, Tools as BabylonTools, Material } from 'babylonjs'; import { LGraph, LGraphCanvas, LiteGraph, LGraphGroup, LLink } from 'litegraph.js'; import Editor, { Layout, Toolbar, Grid, GridRow, Dialog, EditorPlugin, Tools, Picker, ProjectRoot, Conte...
import { GluegunToolbox, filesystem } from 'gluegun' const to = require('await-to-js').to const shell = require("shelljs") module.exports = (toolbox: GluegunToolbox) => { toolbox.tunetoLy = async (number, overwrite = true) => { let [err, care] = await to(toolbox.getHymnHeader(number)) if (err) return toolbox...
<filename>src/content/app/species/state/general/speciesGeneralHelper.ts /** * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lice...
/** * @module modules/shaders-app-sk * @description <h2><code>shaders-app-sk</code></h2> * */ import { $, $$ } from 'common-sk/modules/dom'; import 'codemirror/mode/clike/clike'; // Syntax highlighting for c-like languages. import { define } from 'elements-sk/define'; import { html, TemplateResult } from 'lit-html'...
<reponame>VotingTool/Online-Voting-Tool-Frontend<gh_stars>1-10 import {Component, Input, OnInit, HostListener} from '@angular/core'; import {Profile, ProfileModel} from "../model"; import {VoteFetcherService} from "../services/vote-fetcher/vote-fetcher.service"; import {EfficencyTestService} from "../services/efficency...
<reponame>nrkno/sofie-quantel-gateway-client<filename>src/quantelGateway.ts import * as Q from './quantelTypes' import * as got from 'got' import { Agent as HTTPAgent } from 'http' import { Agent as HTTPSAgent } from 'https' import { EventEmitter } from 'events' const CHECK_STATUS_INTERVAL = 3000 const CALL_TIMEOUT = ...
import Aigle from './aigle'; type AllSettledResponse<T> = Aigle.AllSettledResponse<T>; /* interface */ interface Hawk { hawk(): string; } interface Swan { swan(): string; } interface Duck { duck(): string; } class Crow extends Error { crow(): string { return 'crow'; } } type Hawks = Hawk[]; type Swa...
<gh_stars>100-1000 declare class GMSAddress extends NSObject implements NSCopying { static alloc(): GMSAddress; // inherited from NSObject static new(): GMSAddress; // inherited from NSObject readonly administrativeArea: string; readonly coordinate: CLLocationCoordinate2D; readonly country: string; readonl...
<reponame>ArisiaInc/a21-remote-site import { Injectable } from '@angular/core'; import { BehaviorSubject, ReplaySubject, Subject, Observable, of, zip, OperatorFunction, timer, pipe, defer, concat, merge } from 'rxjs'; import { map, groupBy, mergeMap, toArray, filter, tap, flatMap, pluck, every, switchMap, repeat, ignor...
import { Account, Commitment, Connection, PublicKey, Transaction, TransactionInstruction, } from '@solana/web3.js'; import fs from 'fs'; import os from 'os'; import { BN } from 'bn.js'; import { BookSide, BookSideLayout, Cluster, Config, getMultipleAccounts, getPerpMarketByBaseSymbol, getUnixT...
<filename>src/ts/calcDamage.ts import $ from 'jquery'; import 'bootstrap'; import 'bootstrap-select'; import 'bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap-select/dist/css/bootstrap-select.min.css'; import {joinAndSortMegidoByName} from './data/megido/Megido'; import {matchEnemyStage, matchEnemyName} from '...
import React from 'react' import { useNavigate } from 'react-router-dom' import { AxiosError } from 'axios' import idLocale from 'date-fns/locale/id' import { format } from 'date-fns' import { useSnackbar } from 'notistack' import { v4 as uuidv4 } from 'uuid' import { Editor } from '@tinymce/tinymce-react'; import...
/** * MVC门脸。socket连接 */ class FacadeApp extends puremvc.Facade implements puremvc.IFacade { /** * 构造函数,此处必须注册所有Reducer */ public constructor() { super(); //初始化Socket连接 this.SocketInit(); //this.localStore = redux.createStore(reducers); // 生成附加中间件的数据仓库 ...
import { API, CharacteristicEventTypes, Logging, PlatformAccessory, CharacteristicValue, CharacteristicGetCallback, CharacteristicSetCallback, Service, HAP, } from "homebridge"; import { PLUGIN_NAME } from "./settings"; import { WLEDPlatform } from "./wled-platform"; import { httpSendData } from "./ut...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ i...
<filename>src/app/pages-popups/system-set/menu/menu.component.ts import { Component, OnInit, ViewChild } from '@angular/core'; import { NbDialogRef } from '@nebular/theme'; import { ADD_MENU_ISMENU, SYSMENU,ANNIU_PARTENT_MULU, EDIT_MENU_ISMENU, SYSMENUEDIT, MULU, menu_button_list } from '../../../appconfig'; import {...
// Derived from https://github.com/multiformats/js-multicodec/blob/master/src/constants.js export const IDENTITY = 0; export const IP4 = 4; export const TCP = 6; export const SHA1 = 17; export const SHA2_256 = 18; export const SHA2_512 = 19; export const SHA3_512 = 20; export const SHA3_384 = 21; export const SHA3_256 ...
<reponame>akashic-games/raycaster-js import { FrameBuffer } from "./FrameBuffer"; import { Camera } from "./Camera"; import { Texture } from "./Texture"; import { Billboard } from "./Billboard"; import { Tilemap } from "./Tilemap"; import { Light } from "./Light"; import { Fog } from "./Fog"; import { rayTilemapInterse...
<filename>test/chain/tezos/TezosLanguageUtil.spec.ts import { expect } from 'chai'; import { TezosLanguageUtil } from '../../../src/chain/tezos/TezosLanguageUtil'; import * as fs from 'fs'; import * as path from 'path'; describe("Tezos Micheline fragment decoding", () => { it('Small int', () => { let resu...
<filename>src/render/canvas/canvas-renderer.ts import {ElementPaint, parseStackingContexts, StackingContext} from '../stacking-context'; import {asString, Color, isTransparent} from '../../css/types/color'; import {Logger} from '../../core/logger'; import {ElementContainer} from '../../dom/element-container'; import {B...
import { IconOptions, Coordinate, Bounds, MouseCoordinateOptions, ShapeData, ShapeDefinition, ClusterHeat } from "../../../models/apiModels"; import { ShapeLayerContainer } from "../../../models/shapeLayerContainer"; import { ShapeManagerInterface } from './shapes/ShapeManager'; import { ShapeManagerRepository } from '...
<filename>packages/ag-grid-community/dist/lib/utils/general.d.ts // Type definitions for ag-grid-community v21.2.0 // Project: http://www.ag-grid.com/ // Definitions by: <NAME> <https://github.com/ag-grid/> import { GridOptionsWrapper } from "../gridOptionsWrapper"; import { Column } from "../entities/column"; import {...
<reponame>j4ki/Gubongo<filename>gubongo_v1.ts /// <reference path="node_modules/phaser/types/phaser.d.ts" /> const screen_width = 1920; const screen_height = 1080; const border_size = 0; const config: Phaser.Types.Core.GameConfig = { type: Phaser.WEBGL, width: screen_width, height: screen_height, pare...
<reponame>sheerun/tsutils import { forEachDestructuringIdentifier, getPropertyName, isBlockScopedVariableDeclarationList, isBlockScopeBoundary, hasModifier, ScopeBoundarySelector, ScopeBoundary, } from './util'; import * as ts from 'typescript'; interface DeclarationInfo { declaration: ...
import * as React from 'react'; import { ActionGroup, Alert, Button, Checkbox, FileUpload, FormSelect, FormSelectOption, Split, SplitItem, Stack, StackItem, } from '@patternfly/react-core'; import axios from 'axios'; import cx from 'classnames'; import { TFunction } from 'i18next'; import { Helmet...
<reponame>nordicenergy/p2p-wallet-web<filename>src/api/token/index.ts import { AccountLayout, MintLayout, Token as SPLToken } from '@solana/spl-token'; import { TokenInfo } from '@solana/spl-token-registry'; import { Account, AccountInfo, ParsedAccountData, PublicKey, RpcResponseAndContext, SystemProgram, ...
import * as fs from "fs"; import * as path from "path"; import * as _ from "lodash"; import { Readable } from "stream"; import { hasOwnProperty, definedMap, withDefault, mapFromObject, mapMap } from "collection-utils"; import { getStream } from "./get-stream"; import { Options, RendererOptions, getTargetL...
<gh_stars>1-10 /* * Licensed to the Kassenärztliche Bundesvereinigung (KBV) (c) 2020 - 2021 under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The KBV licenses this file * to you under the Apache Lice...
import React from 'react'; import { FixedSizeList, VariableSizeList, shouldComponentUpdate, ListProps } from 'react-window'; import { TreeModel } from './tree/model/TreeModel'; import { TreeNode, CompositeTreeNode, spliceArray } from './tree'; import { RenamePromptHandle, PromptHandle } from './prompt'; import { NewPro...
<filename>lib/Message.ts const crypto = require("crypto"); const fs = require("fs"); const libqp = require("libqp"); const Iconv = require("iconv").Iconv; import dedent from "ts-dedent"; import { SyntaxError, parse, structuredHeaders } from "./message-parser"; import { MIMEVersion, ContentTransferEncoding, ContentTyp...
<filename>projects/gp-asset-viewer/src/lib/gp-asset-viewer.component.ts<gh_stars>0 /** * Copyright (c) 2020 Software AG, Darmstadt, Germany and/or its licensors * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
<reponame>chriso86/ng-zorro-antd /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventE...
import { WebGLRenderer, Scene, PerspectiveCamera, OrthographicCamera, Mesh, Vector3, AmbientLight, BoxGeometry, SphereGeometry, MeshPhongMaterial, SpotLight, DirectionalLight, PlaneGeometry } from 'three'; import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer.js'; import { RenderPass } from '...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
<filename>src/wiki-item.ts import numeral from "numeral"; import { ImperiumData, RowWrapper } from "./imperium-data"; import { currency2Id, Func1, gamedataString, localizationExploreBuildingName, localizationItemName, localizationMonsterNameById, localizationString } from "./localization"; import { ExploreItem } from '...
<filename>src/vms_jvm_debug/jvm-debug-session.ts import * as nls from "vscode-nls"; import { Logger, logger, LoggingDebugSession, InitializedEvent, TerminatedEvent, StoppedEvent, BreakpointEvent, OutputEvent, Thread, StackFrame, Scope, Source, Handles, Breakpoint, Variable } from 'vscode-debugadapter';...
<filename>src/Frame.ts import AceGUI, { AceGUIWidgetCheckBox, AceGUIWidgetDropDown } from "@wowts/ace_gui-3.0"; import Masque, { MasqueSkinGroup } from "@wowts/masque"; import { Element, OvaleBestActionClass } from "./BestAction"; import { OvaleCompileClass } from "./Compile"; import { OvaleSpellFlashClass } from "./Sp...
/** * Copyright 2018 Shift Devices AG * Copyright 2020 Shift Crypto AG * * 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...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import type { Kernel as JupyterKernel, KernelMessage } from '@jupyterlab/services'; import { Observable } from 'rxjs/Observable'; import { Subject } from 'rxjs/Subject'; import { CancellationTokenSource, ...
<reponame>netcriptus/light-client import * as t from 'io-ts'; import constant from 'lodash/constant'; import isEqual from 'lodash/isEqual'; import type { MatrixClient } from 'matrix-js-sdk'; import type { Observable, ObservedValueOf, OperatorFunction } from 'rxjs'; import { asapScheduler, AsyncSubject, defer, E...
<reponame>benmerckx/ts-sql-query //import { NoopConnection } from "./clients/NoopConnection" import { Table } from "./Table" import { PostgreSqlConnection } from "./connections/PostgreSqlConnection" import { ConsoleLogNoopQueryRunner } from "./queryRunners/ConsoleLogNoopQueryRunner" import { View } from "./View" import...
/* * Copyright (c) 2018, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: MIT * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT */ import * as parse5 from 'parse5'; import { hasOwnProperty } from '@lwc/shared'; import { ParserDiagnostics } ...
<reponame>ybisk/ISI-CWIC /**======================================================== * Module: gen-cmdtask-view * Created by wjwong on 2/10/16. =========================================================*/ /// <reference path="gen-3d-engine.ts" /> /// <reference path="../../../../../model/gencmdjobsdb.ts" /> /// <refe...
import type { Node, CacheKey, CompilerResponse, WebSocket, ServerRequest, } from "../types.ts"; import { join, expandGlob, red, yellow, green, cyan, gray, acceptWebSocket, serve, } from "../../deps.ts"; import config from "../config/index.ts"; import { Parser } from "../parser/index.ts"; imp...