text
stringlengths
9.82k
47.8k
// All of the Node.js APIs are available in the preload process. // import { ipcRenderer } from "electron" const { ipcRenderer } = require('electron') import * as path from 'path' import * as fs from 'fs-extra' import { TrojandaBook, NavPoint, ManifestItem } from './trojanda-book'; import { romanize } from './romaniz...
<gh_stars>1-10 import { BlockCursorPlugin, hideNativeSelection } from "./block-cursor" import { StateField, StateEffect, ChangeDesc, EditorSelection, Extension, MapMode } from "@codemirror/state" import { showPanel, EditorView, ViewPlugin, PluginValue, ViewUpdate } from "@codemirror/view" import * as commands from "@co...
import { Helper } from './helper'; import { DIRECTIONS } from './enums'; import { Game } from './game'; import { BLOCK_TYPE } from './map'; import { isNullOrUndefined } from 'util'; export class Ghost { public game: Game; public name: string; public size = 0; public blockSize = 0; public bornCoo...
<gh_stars>0 import { equals } from "../../Data/Eq" import { flip, ident, thrush } from "../../Data/Function" import { fmap, fmapF } from "../../Data/Functor" import { set } from "../../Data/Lens" import { any, append, consF, filter, foldr, ifilter, imap, List, map, maximum, subscript, sum } from "../../Data/List" impor...
<gh_stars>100-1000 /** * @license * Copyright (c) 2015 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of co...
import { AlCoralClientV2 } from '@al/aecoral'; import { ALCargoV2, ScheduledReportV2, TableauReportDefinitionV2, SearchReportDefinitionV2, CargoReportWeeklyScheduleV2, CargoReportMonthlyScheduleV2, } from '@al/cargo'; import { AlCardstackItem, AlLocation, AlLocatorService } from '@al/core'; impo...
<reponame>alexharri/animation-editor import { areaActions } from "~/area/state/areaActions"; import { areaInitialStates } from "~/area/state/areaInitialStates"; import { dragOpenArea } from "~/area/util/dragOpenArea"; import { compositionActions } from "~/composition/compositionReducer"; import { compSelectionActions }...
<gh_stars>1-10 // Copyright (C) 2019 The Android Open Source Project // // 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 req...
import { ConfiguredVueProject, InferredVueProject, VueProject, } from '@vuedx/analyze' import { collect, collectError, first, Telemetry } from '@vuedx/shared' import { asFsPath, asFsUri, asUri, DocumentStore, getContainingFile, INTERNAL_MODULE_SELECTOR, isVirtualFile, isVueFile, MODULE_SELECTOR,...
import { Injectable } from "@angular/core"; import { default as Web3 } from "web3"; import { Web3Service } from "../core/web3.service"; import { ILogger, LoggerService } from "../core/logger.service"; import { HttpClient } from "@angular/common/http"; import { default as TruffleContract } from "truffle-contract"; impor...
<filename>src/vs/editor/browser/viewParts/minimap/minimap.ts /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--...
/* * Rusha, a JavaScript implementation of the Secure Hash Algorithm, SHA-1, * as defined in FIPS PUB 180-1, tuned for high performance with large inputs. * (http://github.com/srijs/rusha) * * Inspired by Paul Johnstons implementation (http://pajhome.org.uk/crypt/md5). * * Copyright (c) 2013 <NAME> (http://awesa...
import _ from 'lodash'; import { Clone } from 'app/content/clone'; import { enemyDefinitions } from 'app/content/enemies/enemyHash'; import { AnimationEffect } from 'app/content/animationEffect'; import { EnemyArrow } from 'app/content/arrow'; import { Flame } from 'app/content/effects/flame'; import { FrostGrenade } ...
<reponame>jnterry/usfm-reference<gh_stars>1-10 /** * A Versification represents the way in which the bible text is split into * books, chapters and verses * * This module exports both a type decleration, and the default data set */ /** * Minimal data set used to create full BookMeta * @private */ export interf...
/** * Time zone */ export class Timezone { public offset(date: Date, timezone: string): number { let localOffset: number = date.getTimezoneOffset(); try { let convertedDate: Date = new Date(date.toLocaleString('en-US', { timeZone: timezone })); if (!isNaN(convertedDate.getT...
/*--------------------------------------------------------- * Copyright (C) 2020 <NAME> * *--------------------------------------------------------*/ import { EventEmitter } from 'events'; import * as child_process from 'child_process'; import { AsyncBlockingQueue } from './queue'; import { log } f...
<filename>packages/node-opcua/node-opcua.d.ts export declare enum AttributeIds { NodeId = 1, NodeClass = 2, BrowseName = 3, DisplayName = 4, Description = 5, WriteMask = 6, UserWriteMask = 7, IsAbstract = 8, Symmetric = 9, InverseName = 10, ContainsNoLoops = 11, EventNoti...
<reponame>uon-team/uon.math import { Vector3 } from './Vector3'; import { Quaternion } from './Quaternion'; import { ToRadians } from './Utils'; var TEMP_VEC30 = new Vector3(); var TEMP_VEC31 = new Vector3(); var TEMP_VEC32 = new Vector3(); var TEMP_VEC33 = new Vector3(); /** * @memberOf uon.math */ export class...
import { randomBytes } from "crypto"; import debug from "debug"; import dns from "dns"; import { Uint64BE } from "int64-buffer"; import * as nodeIp from "ip"; import range from "lodash/range"; import isEqual from "lodash/isEqual"; import { isIPv4 } from "net"; import PCancelable, { all } from "p-cancelable"; import { E...
<reponame>german-in-austria/transcribe import _ from 'lodash' import PromiseWorker from 'promise-worker-transferable' import { TranscriptEvent, // eventStore, LocalTranscript, TranscriptTier, TranscriptSpeakerEventTiers, TokenTierType } from '../types/transcript' import { clone, timeToSeconds } from '../ut...
<reponame>AaronDavidNewman/vexflow // [VexFlow](https://vexflow.com) - Copyright (c) <NAME> 2010. // // Author: Aaron (@AaronDavidNewman) // // This implements chord symbols above/below a chord. // Chord symbols are modifiers that can be attached to notes. // They can contain multiple 'blocks' which represent text or /...
// Current through 10/18/21 commits to PrimeFlex // TODO: PrimeFlex Grid and Grid Extensions // Status: Done // https://www.primefaces.org/primeflex/gridsystem // Background colors with PrimeVue // Status: Done // https://www.primefaces.org/primeflex/backgroundcolor // bg-primary, surface colors // Border Radius - P...
<gh_stars>0 import { Analysis, ParseTable, PNode, PRule, PRuleRef, PValueNode, NumMapLike, MapLike } from '.'; export const MATCH_TOKEN = 40; export const ACCEPT_TOKEN = 41; export enum HyperGEnvType { NONE, ANALYZING, RUNTIME, INTEGRITY_CHECK, INTEGRITY_CHECK_VERBOSE } export namespace HyperG { export class Bac...
<reponame>cobaltutby/dev0 import {Map, MapWrapper, ListWrapper} from 'angular2/src/core/facade/collection'; import {ResolvedBinding, Binding, Dependency, BindingBuilder, bind} from './binding'; import { AbstractBindingError, NoBindingError, CyclicDependencyError, InstantiationError, InvalidBindingError, Out...
<gh_stars>1-10 const MEMOS_APPLY: string[] = [ "07/09 3mth leak ext" ]; const SUBSTANCES_PERMITTED: string[] = [ "Substances permitted under the tank code and any special provisions specified in 9 may be carried", "Substances (Class UN number and if necessary packing group and proper shipping name) may be carrie...
<filename>packages/neo-one-node-blockchain/src/Blockchain.ts<gh_stars>0 import { common, crypto, ECPoint, ScriptBuilder, UInt160, VMState } from '@neo-one/client-common'; import { createChild, nodeLogger } from '@neo-one/logger'; import { Action, Block, Blockchain as BlockchainType, CallReceipt, ConsensusPayl...
<filename>packages/utils/src/utils/colors.ts /** * Copyright (c) 2020, 2021 Visa, Inc. * * This source code is licensed under the MIT license * https://github.com/visa/visa-chart-components/blob/master/LICENSE * **/ import { scaleQuantize, scaleOrdinal, scaleLinear } from 'd3-scale'; import { hsl, rgb } from 'd3-...
import {TileSetOptions} from '../engine/tile/TileSetOptions'; import {TileSet} from '../engine/tile/TileSet'; const tiles = [ {"n": "CLEAR", "x": 1000, "y": 1000, "w": 70, "h": 70}, {"n": "box", "x": 0, "y": 864, "w": 70, "h": 70}, {"n": "boxAlt", "x": 0, "y": 792, "w": 70, "h": 70}, {"n": "boxCoin", "...
/* * Copyright © 2020 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...
<filename>src/process/bpmn/bpmnprocess.test.ts /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ /* eslint-disable @typescript-eslint/no-non-null-assertion */ import BpmnModdle from "bpmn-moddle"; import { assert, expect } from "chai"; import { Bpmn } from "../../process/bpmn"; import { isId } from ...
export enum ECountries { AFGHANISTAN = "AF", ALAND_ISLANDS = "AX", ALBANIA = "AL", ALGERIA = "DZ", AMERICAN_SAMOA = "AS", ANDORRA = "AD", ANGOLA = "AO", ANGUILLA = "AI", ANTARCTICA = "AQ", ANTIGUA_AND_BARBUDA = "AG", ARGENTINA = "AR", ARMENIA = "AM", ARUBA = "AW", AUSTRALIA = "AU", AUSTRIA...
<reponame>ericmbernier/gm-games import loadDataBasketball, { Basketball } from "./loadData.basketball"; import formatScheduledEvents from "./formatScheduledEvents"; import orderBy from "lodash/orderBy"; import type { GetLeagueOptions, DraftPickWithoutKey, DraftLotteryResult, } from "../../../common/types"; import { ...
<reponame>bitfocus/companion-module-discord-api<gh_stars>1-10 import EventEmitter from 'events' import got from 'got-cjs' import { DropdownChoice } from '../../../instance_skel_types' import { createUUID } from './utils' import { IPCTransport } from './ipc' import DiscordInstance from './index' interface Application {...
import { Injectable } from '@angular/core'; import { BehaviorSubject, Observable } from 'rxjs'; import { filter } from 'rxjs/operators'; interface Key { types: any[]; move_damage_class: any[]; no_habitat: any[]; encounter_method: any[]; machines: any[]; machines_data: any[]; pokemon_search: { true_f...
import { addInternalStat, InternalStat } from './stat'; export type GearGrade = 't3_1340_relic' | 't3_1390_relic' | 't3_1390_ancient'; export type GearSlot = | 'head' | 'shoulder' | 'top' | 'bottom' | 'glove' | 'weapon'; export interface GearState { grade: GearGrade; upgrade: number; } export type Ge...
import * as http from "http" import express from "express" import logger, { loggerOutput } from "../logger" import env from "./env" import { closeTrade, deleteBalanceHistory, deleteTrade, resetVirtualBalances, setStrategyStopped, setTradeHODL, setTradeStopped, setVirtualWalletFunds, topUpBNBFloat, tradingMetaData} fro...
// Type definitions for react-navigation 1.5 // Project: https://github.com/react-navigation/react-navigation // Definitions by: Huhuanming <https://github.com/huhuanming> // mhcgrq <https://github.com/mhcgrq> // fangpenlin <https://github.com/fangpenlin> // petejkim <htt...
import { relative, basename, extname, resolve, dirname, join } from 'path' import sourceMapSupport = require('source-map-support') import * as yn from 'yn' import { BaseError } from 'make-error' import * as util from 'util' import * as _ts from 'typescript' /** * Registered `ts-node` instance information. */ export ...
/** * @license * Copyright 2020 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/licenses/LICENSE-2.0 * * Unless required by a...
enum SpriteFlag { //% block="ghost" Ghost = sprites.Flag.Ghost, //% block="auto destroy" AutoDestroy = sprites.Flag.AutoDestroy, //% block="stay in screen" StayInScreen = sprites.Flag.StayInScreen, //% block="destroy on wall" DestroyOnWall = sprites.Flag.DestroyOnWall, //% block="bou...
<reponame>nickpainter/ShieldBattery // Every possible dispatched action in the app should be included here, sorted semi-alphabetically // A new StarCraft game has launched export const ACTIVE_GAME_LAUNCH = 'ACTIVE_GAME_LAUNCH' // The status for a currently running StarCraft game has been updated export const ACTIVE_GA...
<gh_stars>0 import { AdditionalApp } from '@database/entity/AdditionalApp'; import { Game } from '@database/entity/Game'; import { Playlist } from '@database/entity/Playlist'; import { PlaylistGame } from '@database/entity/PlaylistGame'; import { Tag } from '@database/entity/Tag'; import { TagAlias } from '@database/en...
import { _ISelection, IValue, _IType, _ISchema } from './interfaces-private'; import { trimNullish, queryJson, buildLikeMatcher, nullIsh, hasNullish, intervalToSec, parseTime, asSingleQName } from './utils'; import { DataType, CastError, QueryError, IType, NotSupported, nil } from './interfaces'; import hash from 'obje...
<reponame>AbstractPlay/gameslib /* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable @typescript-eslint/no-unsafe-call */ import { GameBase, IAPGameState, IClickResult, IIndividualState, IValidationResult } from "./_base"; import { APGamesInformation } from "../schemas/gameinfo"; import { APRenderR...
import * as fs from 'fs'; import * as path from 'path'; import { CloudFormation, Fn, Template } from "cloudform-types"; import GraphQLTransform from '..'; import Transformer from '../Transformer'; import DeploymentResources from '../DeploymentResources'; import { StackMappingOption } from '../GraphQLTransform'; import ...
const Cesium = require('cesium/Cesium'); export enum LOOP_TYPE {CLAMP = 1, LOOP = 2}; export enum PLAY_STATE {PLAY = 1, STOP = 2, PAUSE = 3}; export class AnimationKey { time : number; value : any; constructor(time : number, value : any) { this.time = time; this.value = value; } }; export class Anima...
<gh_stars>0 import * as Sentry from '@sentry/node'; import { isBrowser } from '@unly/utils'; import { createLogger } from '@unly/utils-simple-logger'; import deepmerge from 'deepmerge'; import i18next, { i18n } from 'i18next'; import i18nextLocizeBackend from 'i18next-locize-backend/cjs'; // https://github.com/locize/i...
import { makeStyles, withStyles, Theme, createStyles, Paper, IconButton, Typography, Slider, InputLabel, Divider, Input, Grid, } from '@material-ui/core'; import ToggleButton from '@material-ui/lab/ToggleButton'; import React, { useState, useEffect, useRef, ChangeEvent, useContext, } f...
<reponame>mike-lischke/mysql-shell-plugins /* * Copyright (c) 2022, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also ...
import { ok } from "assert"; import { compileJsSync } from "../../compiler"; import { ObfuscateOrder } from "../../order"; import { ComputeProbabilityMap } from "../../probability"; import Template from "../../templates/template"; import { getBlock, isBlock, walk } from "../../traverse"; import { ArrayExpressi...
import { OLInteractionSelectParcelsComponent } from './parcels/ol-interaction-selectparcels'; import { OLLayerVectorComponent } from './ol-layer-vector'; import { OLMapComponent } from './ol-map'; import { OLStylePatternDirective } from './ol-style-pattern'; import { OverlayState } from '../state/overlay'; import { Par...
<reponame>Ramayana1202/Ionic2MobileApp import * as RsaEmun from './Enums/RsaEnum'; class Base64Array { S = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; CA = []; IA = []; constructor() { var c = ""; for (var i = 0; i < this.S.length; i++) { c = this.S.charAt(i); this.CA[i] ...
<reponame>Simsteve7/ng-kaart import { ChangeDetectionStrategy, Component, ElementRef, NgZone, QueryList, ViewChildren, ViewEncapsulation, } from "@angular/core"; import { FormControl } from "@angular/forms"; import { MatTabChangeEvent } from "@angular/material/tabs"; import { array, eq, option } from "fp-...
<filename>server/core/server.ts import { Emitter, EventCallback, EventErrorHandler } from '../libs/emitter.ts'; import { Player, PlayerData } from './player.ts'; import { PhysicsLevel, World, WorldData, WorldGenerator } from './world/world.ts'; import * as event from './events.ts'; import { AuthData, Holder, Command, ...
<filename>src/API/SKSQL.ts import {ITable} from "../Table/ITable"; import {readTableDefinition} from "../Table/readTableDefinition"; import {SQLStatement} from "./SQLStatement"; import {SQLResult} from "./SQLResult"; import {generateV4UUID} from "./generateV4UUID"; import { compileNewRoutines, decompress, g...
import { CdkDragDrop, copyArrayItem, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop'; import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling'; import { Component, OnInit,NgZone, ChangeDetectorRef, Inject, ViewChild } from '@angular/core'; import { AbstractControl, FormArray, FormBuilder, Fo...
import { EventEmitter } from "@angular/core"; import { StringExtension } from "../util/string-extension"; import { AssetGroup, LowMediumHighNumber, MyData } from "./assets"; import { CharScope } from "./char-scope"; import { MyComponentType, MyComponent, MyComponentStack, MyComponentTypeIDs } from "./component"; import...
<reponame>stronghold-financial/stronghold /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ import { IDatabase, IDatabaseEncoding, IDatabaseStore, IDatabas...
<filename>src/resources/pokemon.ts<gh_stars>0 // deno-lint-ignore-file camelcase // https://pokeapi.co/docs/v2#pokemon-section import type { BerryFlavor } from "./berries.ts"; import type { EvolutionChain } from "./evolution.ts"; import type { Generation, Pokedex, Version, VersionGroup } from "./games.ts"; import typ...
import { PacketType, packetTypeToSize, SampleLengthBytes, kMaxSizePacketType } from './utils'; import { IDataSink, IDuplexStream } from '../../../public/device-api'; import { kNumberOfOrientationSignals } from './settings'; import { kEnableLogging } from './enableLogging'; const kFletcherSizeBytes = 4; //...
'use strict' import {concat, includes} from '../utils/arrayHelpers' /* * The Proxy implementation was originally derived from * the implementation of Google's proxy-polyfill * https://github.com/GoogleChrome/proxy-polyfill/blob/f667dd4b25355b99a264e56d101307d50807e187/src/proxy.js * which is licensed under Apache L...
<filename>app/src/main/headless.ts /* * Copyright 2017 IBM 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 requi...
import shortUUID, { generate as shortUuid } from 'short-uuid'; import * as Election from './election'; import * as Team from './team'; import * as Player from './player'; import { commandMapping, ECommand } from './commands'; import * as MatchMap from './matchMap'; import { escapeRconString, sleep } from './utils'; imp...
/* * Copyright (c) 2022, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with certain software (includin...
// import type ConsoleStyler from './console-styler'; import { type ConsoleStylerBase } from './console-styler'; import * as Colors from './colors.js'; export enum Modifier { BOLD = 0x0001, DIM = 0x0002, BOLD_DIM = BOLD | DIM, ITALIC = 0x0004, UNDERLINE ...
<filename>src/utils/openlayers.SearchControl.ts /** * Copyright 2016, RadiantBlue Technologies, 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/license...
import { ASTNode, ASTNodeType, baseVectorId, deepFirstFlatMap, kroneckerId, parse, TreeNode } from "./leibniz-parser"; import _ from 'lodash'; import { BodyStructure, Errors, SystemDefinition, SystemErrors, CompilerResult, SystemStructure, BodyStatus, BodyStructurePR, CurrentSysDefVersion } from "./leibniz-def...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
<reponame>hexuallyactive/forge-convert-utils import * as path from 'path'; import crypto from 'crypto'; import * as fse from 'fs-extra'; import * as pipeline from 'gltf-pipeline'; import * as gltf from './schema'; import { isUndefined, isNullOrUndefined } from 'util'; import { IMaterial, IFragment, IMesh, ILines, IPoi...
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import { IConnectionLost, ILabShell, ILabStatus, ILayoutRestorer, IRouter, ITreePathUpdater, ConnectionLost, JupyterFrontEnd, JupyterFrontEndPlugin, JupyterFrontEndContextMenu, JupyterLab, Lab...
import * as React from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { FormGroup, FormControlReadonly, ValueLine, ValueLineType, EntityLine, EntityCombo, EntityList, EntityRepeater } from '@framework/Lines' import { classes, Dic } from '@framework/Globals' import * as Finder from '...
<reponame>k-czajka/fh import {InputText} from "./InputText"; import {HTMLFormComponent} from 'fh-forms-handler'; import * as _ from "lodash"; class SelectComboMenu extends InputText { protected values: any; protected autocompleter: any; protected selectedIndex: any; protected highlighted: any; prot...
// add styles import './style.css'; let clientId, roomId createScene() function createScene() { init() renderSidebar() // toggleDarkMode() updateUI() // if (typeof clientId === "undefined") { // let _cards_ = createCards([['A','h'],['K','d'],['T','c'],['9','s']]) // document.body.appendChild(_c...
import { player, format, clearInt, interval } from './Synergism'; import { calculateSigmoidExponential, calculateSigmoid, calculateAnts, calculateRuneLevels, calculateMaxRunes, calculateAntSacrificeELO, calculateAntSacrificeRewards } from './Calculate'; import { Globals as G } from './Variables'; import Decimal, { Dec...
/** * @license * Copyright Google LLC 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 {AnimationEvent} from '@angular/animations'; import {AriaDescriber, FocusMonitor} from '@angular/cdk/a11y'; imp...
'use strict' // **Github:** https://github.com/fidm/x509 // // **License:** MIT import { Buffer } from "buffer"; import { createHash } from "crypto-browserify"; import { PEM, ASN1, Class, Tag, Template, Captures, BitString } from '@sardinefish/asn1' import { bytesToIP, getOID, getOIDName } from './common' import { pub...
/*--------------------------------------------------------- * Copyright (C) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------*/ 'use strict'; import cp = require('child_pro...
<filename>bogenliga/src/app/modules/wettkampf/components/wettkampf/wettkampf.component.ts import {Component, OnInit} from '@angular/core'; import {WETTKAMPF_CONFIG} from './wettkampf.config'; import {CommonComponentDirective, toTableRows} from '@shared/components'; import {BogenligaResponse, UriBuilder} from '@shared/d...
import { $, CardEntry, DATA_TRANSIENT_ATTRIBUTES, isEngine, MarkPlugin, NodeInterface, Parser, Range, RangeInterface, SchemaGlobal, SchemaMark, Selection, PluginOptions, uuid, EDITABLE_SELECTOR, CARD_SELECTOR, transformCustomTags, } from '@aomao/engine'; import { Path } from 'sharedb'; export interfac...
<reponame>Cloud7050/js-slang import OpCodes from '../vm/opcodes' import { Program, SVMFunction } from '../vm/svml-compiler' import { char_at, get_time, parse_int } from './misc' // functions should be sorted in alphabetical order. Refer to SVML spec on wiki // placeholders should be manually replaced with the correct ...
<reponame>gridgrid/grid import { IBuilderRenderContext } from '../abstract-row-col-model'; import { Grid, IGridDimension } from '../core'; import customEvent from '../custom-event'; import { IDecorator } from '../decorators'; import { EventUnion, isAnnotatedEvent } from '../event-loop'; import { RawPositionRange } from...
// Type definitions for TinyMCE 4.5 // Project: https://github.com/tinymce/tinymce, https://github.com/tinymce/tinymce-dist // Definitions by: <NAME> <https://github.com/martinduparc> // <NAME> <https://github.com/ipoul> // <NAME> <https://github.com/nicohartto> // <NAME>...
// do not remove the following comment // JALANGI DO NOT INSTRUMENT import {Accessor, ExceptionVal} from "../nodeprof"; import { AbstractMachine, DynamicDescription, Location, RawVariableDescription, RunSpecification, ShadowObject, SourceSpan, SourcePosition, StaticDescription, VariableDescrip...
import { NodePath, Scope } from 'babel-traverse' import * as t from 'babel-types' import { codeFrameError, isNumeric, pathResolver, incrementId, findFirstIdentifierFromMemberExpression, isArrayMapCallExpression, hasComplexExpression, generateAnonymousState, buildConstVariableDeclaration, createUUID ...
import Cookies from 'js-cookie'; import React, { FC, useEffect, useState, useMemo, useCallback, useRef, useContext, RefObject, useLayoutEffect, } from 'react'; import { unstable_batchedUpdates } from 'react-dom'; import { Col, Container, Row, Button } from 'react-bootstrap'; import { AsyncTypeahead, Menu, Menu...
import CANNON from 'cannon'; import p2 from "p2"; // Type definitions for lance-gg 4.0 // Project: https://github.com/lance-gg/lance#readme // Definitions by: <NAME> <https://github.com/smokku> export class AFrameRenderer<GE extends GameEngine<PhysicsEngine>, CE extends ClientEngine<GE>> extends Renderer<GE, CE> { ...
import { BotConfig, Collection, CreateGuildBan, CreateGuildRole, StatusUpdate, CreateMessage, DiscordBitwisePermissionFlags, DiscordGatewayIntents, DiscordImageFormat, DiscordImageSize, DiscordOverwrite, EditMessage, Emoji, Errors, EventEmitter, GetGuildAuditLog, ModifyChannel, Modif...
<gh_stars>10-100 import { promisify } from 'util'; import express from 'express'; import rimrafCb from 'rimraf'; import webpack from 'webpack'; import { childPackagesFromContext, resolveDirectoryContext } from '@wixc3/resolve-directory-context'; import fs from '@file-services/node'; import type io from 'socket.io'; imp...
/**======================================================== * Module: gen-cmdjobs-view.ts * Created by wjwong on 2/5/16. =========================================================*/ /// <reference path="gen-3d-engine.ts" /> /// <reference path="../../../../../model/gencmdjobsdb.ts" /> /// <reference path="../../../.....
/** * * Extension block for lorabit LoRaWAN I2C-Device * <NAME>: 2019 * */ const enum loraBit_freq_Plan { //% block=AS923 AS923 = 0, }; const enum loraJoin_Mode { //% block=ABP ABP = 0, //% block=OTAA OTAA = 1, }; const enum loraBit_Confirmed { //% block=Uncomfirmed Uncomfirmed, //% block=Confirmed ...
import { Component } from "@symph/core"; import { JoyReactServer } from "../joy-react-server"; import { IncomingMessage, ServerResponse } from "http"; import { JoyAppConfig } from "../joy-app-config"; import { join } from "path"; import { promises } from "fs"; import { getContentType, getExtension } from "../serve-stat...
import { SRNC } from './SRNC-Definitions'; import { register as registerLandmarksJaws } from './SRNC-LandmarksAndGroups-Win_JAWS'; import { register as registerLandmarksJawsVpc } from './SRNC-LandmarksAndGroups-Win_JAWS_VPC'; import { register as registerElementTypesJaws } from './SRNC-ElementTypes-Win_JAWS'; import {...
<gh_stars>100-1000 // Copyright 2015-2021 Swim.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...
// [Smoosic](https://github.com/AaronDavidNewman/Smoosic) // Copyright (c) <NAME> 2021. // ## Description: // This file calls the vexflow routines that actually render a // measure of music. If multiple measures are justified in a // column, the rendering is deferred until all the measures have been // preformatted. i...
import * as fse from "fs-extra"; import * as path from "path"; import * as xml2js from "xml2js"; import * as TreeSitter from "tree-sitter"; import * as TreeSitterSql from "tree-sitter-sql"; //import * as vscode from "vscode"; // in the future read all unversioned .ecschema.xml files in the repo const bisCoreSchemaTex...
import { ElrondParams } from "../helpers/elrond"; import { TronParams } from "../helpers/tron"; import { Web3Params } from "../helpers/web3"; import { Chain, CHAIN_INFO } from "../consts"; export * from "./factories"; import { ChainNonceGet, EstimateTxFees, ExtractAction, ExtractTxnStatus, MintNft, NftInfo...
import { createSlice } from '@reduxjs/toolkit'; import nodeCrypto from 'crypto'; import fs from 'fs'; import yaml from 'js-yaml'; import * as R from 'ramda'; import url from 'url'; import * as uuid from 'uuid'; // eslint-disable-next-line import/no-cycle import { AppThunk } from '../../store'; import { CacheData, ...
import { Range } from 'vscode-languageserver-textdocument'; import { buildBinaryTree, delimitSubstring, escapeLuaTableStringKey, flattenBinaryTree, splitCarefully } from '../util'; export type LuaNil = 'nil' export type LuaNumber = 'number' export type LuaBoolean = 'boolean' export type LuaString = 'string' export ty...
/* * @Author: Vir * @Date: 2021-10-10 01:47:42 * @Last Modified by: Vir * @Last Modified time: 2021-10-10 14:05:53 */ export type Emoji = | '🎨' | '⚡️' | '🔥' | '🐛' | '🚑️' | '✨' | '📝' | '🚀' | '💄' | '🎉' | '✅' | '🔒️' | '🔖' | '🚨' | '🚧' | '💚' | '⬇️' | '⬆️' | '📌' | '...
// deno-lint-ignore-file camelcase import { ImmSet } from "./deps.ts"; import type { U256, U64 } from "./lib/numbers/mod.ts"; import { bits_mask, u16, u256, u64 } from "./lib/numbers/mod.ts"; import * as heap from "./lib/heap.ts"; import { get_dir_with_base } from "./lib/files.ts"; import type { AddressOptPort } from ...