text
stringlengths
9.82k
47.8k
import {EventCallback, IDataProvider, IMetaInfo, ISubscriptionToken} from '../shared/dataProvider'; import { CoordinateType, GenericEventType, IEventInfo, IPackageCreatedEventInfo, IPackageDestroyedEventInfo, IPackageInfo, IPackageMovedEventInfo, IPackagePositionInfo, IPipeInfo, IPip...
/** * @author FrominXu */ import uuid from 'uuid'; import { nodeRevise } from './utils/schema-utils'; import { objectReadOnly, deepClone, hasOwnProperty, evaluateSelector, createShadow } from './utils/common-utils'; import SchemaTree from './SchemaTree'; import EventEmitter from './Event'; import Watcher from './Watc...
import ArrowDownwardIcon from "@mui/icons-material/ArrowDownward" import ArrowUpwardIcon from "@mui/icons-material/ArrowUpward" import EditIcon from "@mui/icons-material/Edit" import EventNoteIcon from "@mui/icons-material/EventNote" import ExpandMoreIcon from "@mui/icons-material/ExpandMore" import { Alert, Card, ...
// Loaded from https://dev.jspm.io/npm:@jspm/core@1.1.1/nodelibs/chunk-dac557ba.js import { h as h$1 } from "./chunk-0c2d1322.js"; var t = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag, e = Object.prototype.toString, o = function (o) { return !(t && o && "object" == typeof o && Symbo...
import { strict as assert } from 'assert'; import { ProjectPlan, RetrieveProjectPlanOptions, YouTrackConfig, YouTrackIssue, } from './api-types'; import { assignDefined, OnlyOptionals } from './util'; import { httpGet, httpGetAll, httpGetAllWithOptions } from './you-track-http'; import * as RestApi from './you-track-re...
<reponame>CraigMacomber/FluidFramework<filename>packages/dds/matrix/src/matrix.ts /*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { assert } from "@fluidframework/common-utils"; import { IFluidSerializer } from "@fluidframework/core-interf...
<filename>src/extension.ts import * as os from 'os'; import * as path from "path"; import * as vscode from 'vscode'; import * as fs from 'fs'; // POV-Ray Extension Activation export function activate(context: vscode.ExtensionContext) { registerTasks(); registerCommands(context); } // Create a Render Taks De...
<gh_stars>1-10 /** * Environment definitions for compiling AssemblyScript to JavaScript using tsc. * * Note that semantic differences require additional explicit conversions for full compatibility. * For example, when casting an i32 to an u8, doing `<u8>(someI32 & 0xff)` will yield the same * result when compiling...
import { prefix, triggerEvent, fillParams, calculatePosition, fillEndParams, getRotationRad, getRefTargets, } from "../utils"; import { IObject, hasClass, getRad, throttle, } from "@daybrush/utils"; import { RotatableProps, OnRotateGroup, OnRotateGroupEnd, Renderer, OnRotateGroupStart, OnRotateS...
<reponame>joelyancey/neuroglancer /** * @license * Copyright 2018 Google 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 * * Un...
import * as React from 'react'; import * as stylesImport from './DetailsList.scss'; import { BaseComponent, KeyCodes, assign, autobind, css, elementContains, getRTLSafeKeyCode, IRenderFunction } from '../../Utilities'; import { CheckboxVisibility, ColumnActionsMode, ConstrainMode, DetailsListL...
<gh_stars>1-10 interface Window { wzmShowImages(): void; } interface Settings { isPaused: boolean, isNoPattern: boolean, isNoEye: boolean, isBlackList: boolean, maxSafe: number, isExcluded: boolean, isExcludedForTab: boolean, isPausedForTab: boolean, } interface HTMLElem...
/*! Copyright 2018 Propel http://propel.site/. 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 ...
import * as errors from './errors'; import { BATCH_REGEX, BINDING_REGEX, END_OF_INPUT, HELP_COMMAND_INDEX, HELP_REGEX, NODE_ERRORED, NODE_INITIAL, NODE_SUCCESS, OPTION_REGEX, START_OF_INPUT, DEBUG } from './constants'; declare const console: any; // ----------------------------------------------------...
import React from 'react'; import { AgGridReact } from 'ag-grid-react'; // import 'ag-grid-community/dist/styles/ag-grid.css'; // import 'ag-grid-community/dist/styles/ag-theme-balham-dark.css'; import Axios from 'axios'; import PontusComponent, { PubSubCallback } from './PontusComponent'; // import * as reveal2 from...
import { addClass, append, createElement, extend, remove, isNullOrUndefined } from '@syncfusion/ej2-base'; import { setStyleAttribute, EventHandler } from '@syncfusion/ej2-base'; import { Schedule } from '../base/schedule'; import { EventRenderedArgs, TdData } from '../base/interface'; import { TimelineEvent } from './...
import { CreatureSheetPF2e } from '../creature/sheet'; import { DicePF2e } from '@scripts/dice'; import { ABILITY_ABBREVIATIONS, SKILL_DICTIONARY } from '@actor/data/values'; import { NPCSkillsEditor } from '@system/npc-skills-editor'; import { ActorPF2e, NPCPF2e } from '@actor/index'; import { identifyCreature, Identi...
import type { DeterministicSortComparator, QueryMatcher, ChangeEvent } from 'event-reduce-js'; import lokijs from 'lokijs'; import { Subject, Observable } from 'rxjs'; import { promiseWait, createRevision, getHeightOfRevision, parseRevision, lastOfArray, flatClone, now, ...
<gh_stars>1-10 import Vector3 = THREE.Vector3; import { ITrendOptions, Trend, ITrendData, TREND_TYPE } from "./Trend"; import { EventEmitter } from './EventEmmiter'; import { Utils } from './Utils'; import { TrendsManager, ITrendsOptions } from "./TrendsManager"; import { Viewport } from "./Viewport"; import { Interpol...
import { Injectable } from '@angular/core'; import { SolidSession } from '../models/solid-session.model'; declare let solid: any; declare let $rdf: any; // import * as $rdf from 'rdflib' // TODO: Remove any UI interaction from this service import { NgForm } from '@angular/forms'; import { ToastrService, Toast } from '...
process.env.LOG_LEVEL = "SILENT"; import pull from "../pull"; /* UNCHANGED - Note should remain unchanged if not DELETED || NEW || UPDATED DELETED - Delete notes that were synced (having sync?.file.id) but deleted from the remote NEW - Add new notes created in the remote (file.id not present in any of notes) UPDATED ...
<gh_stars>0 /* * 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")...
import { Typography } from "@material-ui/core"; // @ts-ignore import faintTickAudio from "audio/faintTick.mp3"; // @ts-ignore import startedAudio from "audio/notification_simple-01.mp3"; // @ts-ignore import stoppedAudio from "audio/notification_simple-02.mp3"; // @ts-ignore import achievedAudio from "audio/sou...
import * as $ from 'jquery' import { DragListener, CoordCache, parseFieldSpecs, compareByFieldSpecs, flexibleCompare } from 'fullcalendar' import ScrollJoiner from '../util/ScrollJoiner' import ResourceComponentFootprint from '../models/ResourceComponentFootprint' import { default as ResourceViewMixin, ResourceViewIn...
import {Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, TemplateRef, ViewChild} from '@angular/core'; import {DataPresentationType, ResultSet} from './models/result-set.model'; import {TableConfig} from './data-table/table-config'; import {CrudService} from '../../services/crud.serv...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
<filename>src/metroid_prime/render.ts<gh_stars>0 import { mat4 } from 'gl-matrix'; import ArrayBufferSlice from '../ArrayBufferSlice'; import { nArray, assert } from '../util'; import { MaterialParams, PacketParams, GXTextureHolder, GXShapeHelperGfx, GXRenderHelperGfx, GXMaterialHelperGfx, ColorKind } from '../gx/gx_...
interface CoreStats { intelligence: number; strength: number; dexterity: number; } interface Actor extends CoreStats { mainHand: Weapon; offHand: Weapon | Shield; armour: Armour; } enum EdgeType { blunt, pierce, slash } enum ArmourType { none, padded, leather, mail...
import { MenuItemConstructorOptions } from 'electron'; import { BrowserWindow, shell } from '@electron/remote'; import * as fs from 'fs'; import * as React from 'react'; import { BackIn, DeleteImageData, LaunchAddAppData, LaunchGameData, SaveImageData } from '@shared/back/types'; import { EXODOS_GAMES_PLATFORM_NAME, LO...
import Realm from 'realm'; import DictUtils from '@asianpersonn/dict-utils'; import { pageRank as genericPageRank, getInitialWeights, redistributeNodeWeight, inflateEdgeAttrs } from '@asianpersonn/pagerank'; import DynamicRealm, { SaveSchemaParams } from 'dynamic-realm'; import CatalystGraph, { CGNode, CGEdge, RatingMo...
<reponame>Simsteve7/ng-kaart /// <reference types="@types/googlemaps" /> import { HttpClient, HttpHeaders } from "@angular/common/http"; import { Inject, Injectable } from "@angular/core"; import { option } from "fp-ts"; import * as rx from "rxjs"; import { combineLatest, Observable, Observer, timer } from "rxjs"; impo...
<filename>src/adapters/DebugProtocolAdapter.ts import type { ProtocolVersionDetails } from '../debugProtocol/Debugger'; import { Debugger } from '../debugProtocol/Debugger'; import * as EventEmitter from 'events'; import { Socket } from 'net'; import { CompileErrorProcessor } from '../CompileErrorProcessor'; import typ...
<filename>src/settings.ts import { PlatformConfig } from 'homebridge'; /** * This is the name of the platform that users will use to register the plugin in the Homebridge config.json */ export const PLATFORM_NAME = 'TuyaCamera'; /** * This must match the name of your plugin as defined the package.json */ export co...
/** * Typen um Fahrplaene einzugeben */ import { /*TBlockinhaltBaseV2 */ } from "./SaxParsedTypes"; export type EinzelEintragInputBaseKinded = TZeilentypEintrag | TKMEintrag | StationTicketInfoEntryKpxTagged ...
import { DebugSession, InitializedEvent, TerminatedEvent, StoppedEvent, OutputEvent, Event, Thread, StackFrame, Scope, Source, Breakpoint } from 'vscode-debugadapter' import { DebugProtocol } from 'vscode-debugprotocol' import child_process = require('child_process') const fs = require('fs') const ospath = require('pat...
/* * Copyright 2020 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 required by applicable law or agreed to ...
<filename>src/emulator/controller.ts import * as _ from "lodash"; import * as clc from "cli-color"; import * as fs from "fs"; import * as path from "path"; import * as Config from "../config"; import { logger } from "../logger"; import * as track from "../track"; import * as utils from "../utils"; import { EmulatorReg...
<filename>controls/schedule/src/schedule/event-renderer/timeline-view.ts /* eslint-disable max-len */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { isNullOrUndefined, setStyleAttribute, extend, EventHandler, createElement } from '@syncfusion/ej2-base'; import { Schedule } from '../base/schedule'; imp...
import path from 'path'; import * as postcss from 'postcss'; import postcssValueParser from 'postcss-value-parser'; import { deprecatedStFunctions } from './custom-values'; import { Diagnostics } from './diagnostics'; import { parseSelector as deprecatedParseSelector } from './deprecated/deprecated-selector-utils'; imp...
import { Component, OnInit, ViewChild, Output } from "@angular/core"; import { NbDialogRef } from "@nebular/theme"; import { HttpserviceService } from "../../../../services/http/httpservice.service"; import { PublicmethodService } from "../../../../services/publicmethod/publicmethod.service"; import { UserInfoService ...
<reponame>mrsmkl/celo-monorepo<filename>packages/celotool/src/e2e-tests/governance_tests.ts // tslint:disable-next-line: no-reference (Required to make this work w/ ts-node) /// <reference path="../../../contractkit/types/web3.d.ts" /> import { ContractKit, newKitFromWeb3 } from '@celo/contractkit' import { getBlsPoP, ...
import { AxiosResponse } from "axios"; import * as fs from "fs"; import JSZip from "jszip"; import * as mkdirp from "mkdirp"; import * as path from "path"; import * as vscode from "vscode"; import { APIClient } from "./client/APIClient"; import { CurrentUser } from "./client/CurrentUser"; import { WebSocketV4TConnectio...
export enum ChainName { EthereumMainnet = 'Ethereum Mainnet', ExpanseNetwork = 'Expanse Network', EthereumTestnetRopsten = 'Ethereum Testnet Ropsten', EthereumTestnetRinkeby = 'Ethereum Testnet Rinkeby', EthereumTestnetGörli = 'Ethereum Testnet Görli', EthereumClassicTestnetKotti = 'Ethereum Classic Testnet...
<gh_stars>0 /* * 项目相关 * @Author: czy0729 * @Date: 2019-03-23 09:21:16 * @Last Modified by: czy0729 * @Last Modified time: 2022-06-08 09:26:40 */ import { Alert, BackHandler } from 'react-native' import * as WebBrowser from 'expo-web-browser' import { HTMLDecode } from '@utils/html' import { DEV } from '@/config' ...
/** * 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 { DiagnosticCategory, DiagnosticLocation, descriptions, } from "@internal/diagnostics"; import { Comments, ConfigComme...
// #!/usr/bin/env babel-node // -*- coding: utf-8 -*- /** @module unixCrypt */ 'use strict' /* ! region header [Project page](https://torben.website/webNode) Copyright <NAME> (info["~at~"]torben.website) 16.12.2012 License ------- This library written by <NAME> stand under a creative commons ...
<gh_stars>1-10 export { default as PersonRole1 } from './PersonRole1' export { default as PersonRole10 } from './PersonRole10' export { default as PersonRole100 } from './PersonRole100' export { default as PersonRole101 } from './PersonRole101' export { default as PersonRole102 } from './PersonRole102' export { default...
<gh_stars>1-10 // Declare "static" methods in Error interface ErrorConstructor { /** Create .stack property on a target object */ captureStackTrace(targetObject: object, constructorOpt?: Function): void; /** * Optional override for formatting stack traces * * @see https://github.com/v8/v8/wi...
/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /// <reference types="node" /> import type {Arguments} from 'yargs'; import type {CoverageMapData} from 'ista...
<reponame>epignosisx/scsyncr /// <reference path="../scripts/typings/knockout/knockout.d.ts" /> interface JQuery { mergely(opts: any): JQuery; mergely(method: string, param: any): JQuery; modal(opts?: any): JQuery; } interface KnockoutBindingHandlers { diff; compareReport; } ko.bindingHandlers.di...
<gh_stars>1-10 /* * 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 writing, softw...
import * as grok from 'datagrok-api/grok'; import * as ui from 'datagrok-api/ui'; import * as DG from 'datagrok-api/dg'; import CodeMirror from 'codemirror'; import 'codemirror/lib/codemirror.css'; import {BehaviorSubject} from 'rxjs'; const DEFAULT_CATEGORY = 'Misc'; const enum FUNC_PROPS_FIELDS { NAME = 'name', ...
"use strict"; import {InvitationEventHandler} from "../XMPPServiceHandler/invitationEventHandler"; export {}; import {XMPPUTils} from "../../common/XMPPUtils"; import {logEntryExit} from "../../common/Utils"; import {rejects} from "assert"; import {RESTService} from "../RESTService"; import {ContactsSe...
import { cssFunction } from '../'; import { ensurePercent, formatPercent } from '../formatting' const isTypeArraySupported = typeof Float32Array === 'undefined'; const RGB = 0, HSL = 1, R = 0, G = 1, B = 2, H = 0, S = 1, L = 2, A = 3; /** * Map of Color converters. By subtracting the from-format from the to-fo...
import { ethers } from 'ethers'; import moment from 'moment'; import { BigNumber } from 'ethers/utils'; export const REQUIRED = 'REQUIRED'; export const CHOICE = 'CHOICE'; // Market templates export const SPORTS = 'Sports'; export const POLITICS = 'Politics'; export const FINANCE = 'Finance'; export const ENTERTAINMEN...
<reponame>kikstart-ui/kikstart-ui export function getTextColor(color) { const r = parseInt(color.substr(0, 2), 16) const g = parseInt(color.substr(2, 2), 16) const b = parseInt(color.substr(4, 2), 16) const text = (r * 299 + g * 587 + b * 114) / 1000 return text >= 128 ? 'black' : 'white' } export function g...
<reponame>zapaz/uad-contracts import { HardhatRuntimeEnvironment } from "hardhat/types"; import { DeployFunction } from "hardhat-deploy/types"; import { ERC20 } from "../artifacts/types/ERC20"; import { UbiquityAlgorithmicDollarManager } from "../artifacts/types/UbiquityAlgorithmicDollarManager"; import { UbiquityAlgor...
// import MosaicControls from '@veupathdb/components/lib/components/plotControls/MosaicControls'; import Mosaic, { MosaicPlotProps as MosaicProps, } from '@veupathdb/components/lib/plots/MosaicPlot'; import { FacetedData, MosaicPlotData, } from '@veupathdb/components/lib/types/plots'; import { ContingencyTable } ...
<filename>src/cube.ts // @ts-nocheck // Centers const [U, R, F, D, L, B] = Array.from([0, 1, 2, 3, 4, 5]); // Corners const [URF, UFL, ULB, UBR, DFR, DLF, DBL, DRB] = Array.from([ 0, 1, 2, 3, 4, 5, 6, 7, ]); // Edges const [UR, UF, UL, UB, DR, DF, DL, DB, FR, FL, BL, BR] = Array.from([ 0, 1, 2,...
<reponame>hec9527/vConsole /* Tencent is pleased to support the open source community by making vConsole available. Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtai...
import type { Updater } from '../../hooks/two-way-binding'; import type { DSelectBoxProps } from '../_select-box'; import type { DFormControl } from '../form'; import type { Draft } from 'immer'; import { isArray, isNull, isNumber, isString, isUndefined } from 'lodash'; import React, { useCallback, useRef, useEffect, ...
<reponame>lydianlights/yet-another-factory-planner import loadGLPK, { GLPK, LP, Var } from 'glpk.js'; import { nanoid } from 'nanoid'; import { FactoryOptions, RecipeMap } from '../../contexts/production/reducer'; import { buildings, items, recipes, resources, handGatheredItems } from '../../data'; import { GraphError ...
import { createSlice } from '@reduxjs/toolkit'; import nodeCrypto from 'crypto'; import fs from 'fs'; import yaml from 'js-yaml'; import path from 'path'; import * as R from 'ramda'; import url from 'url'; import * as uuid from 'uuid'; // imports in this app // eslint-disable-next-line import/no-cycle import { AppThun...
import MuiLink from "@mui/material/Link"; import { createI18nApi } from "i18nifty"; import { languages } from "sill-api"; import type { Language } from "sill-api"; import { assert } from "tsafe/assert"; export { languages }; export type { Language }; export const fallbackLanguage = "en"; export const { useTransl...
import { useEffect, useState } from 'react' import { ContractWrappers, ERC20TokenContract, } from '@0x/contract-wrappers'; import detectEthereumProvider from '@metamask/detect-provider'; import { useMetaMask } from 'metamask-react'; import axios from 'axios' import { assetDataUtils, BigNumber, MetamaskSubprovider, ...
import { getViewClass, getViewMeta, normalizeElementName, NSVViewMeta, } from './registry' import { ELEMENT_REF } from './runtimeHelpers'; // import { debug } from '../shared'; import { Component, NodeObject, NodeWidget, QObjectSignals, QWidgetSignals } from '@nodegui/nodegui' import type { RNComponent ...
<filename>src/web-pet/web-pet.ts import * as tpl from "./template"; import * as utils from "./utils"; /** * webPet配置模型 */ interface WebPetOptions { // 名称 name?: string // 脚印 footPrint?: boolean // 是否展示 isShow?: boolean, // 首次出现位置 firstPosition?: string | object // 操作 oper...
<gh_stars>0 /** @format */ import { Coordinate } from "app/classes/Coordinate" import { FramePoint, Frames, FrameType } from "app/define/Frames" import { Logger } from "app/log" import { HintText, MessageColors } from "lib/resources/colors" import { GameConstants } from "lib/resources/GameConstants" import { File, Fra...
/** * @license * Copyright 2017 Google 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...
/** * This module deals with creating delimiters of various sizes. The TeXbook * discusses these routines on page 441-442, in the "Another subroutine sets box * x to a specified variable delimiter" paragraph. * * There are three main routines here. `makeSmallDelim` makes a delimiter in the * normal font, but in e...
<filename>cocos/core/gfx/pipeline-state.jsb.ts /* Copyright (c) 2020 <NAME> Co., Ltd. https://www.cocos.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, worldwide, royalty-free, non-assignable, revoca...
<filename>src/views/memorydumpview.ts import * as vscode from 'vscode'; import { Remote } from '../remotes/remotefactory'; import * as util from 'util'; import { Utility } from '../misc/utility'; import { Labels } from '../labels/labels'; import { MetaBlock, MemoryDump } from '../misc/memorydump'; import { Settings } f...
import * as React from 'react'; import { Button, Checkbox, Dialog, DialogActions, DialogContent, DialogTitle, Grid, Divider, Typography, IconButton, CircularProgress, Zoom, } from '@material-ui/core'; import AddIcon from '@material-ui/icons/Add'; import Help from '@material-ui/icons/Help'; impor...
import * as fuzzy from 'fuzzy' import IconButton from '../../../system/platform/component/core/IconButton/Component' import MicrophoneButton from '../../../system/platform/component/core/MicrophoneButton/Component' import Div from '../../../system/platform/component/Div/Component' import Icon from '../../../system/plat...
import * as Viewer from '../viewer'; import * as CX from '../compression/CX'; import * as U8 from '../rres/u8'; import * as TPL from './tpl'; import * as World from './world'; import { WorldRenderer, TPLTextureHolder } from './render'; import ArrayBufferSlice from '../ArrayBufferSlice'; import { GfxDevice } from '.....
/* * Dezent - Powerful pattern matching and parsing that's readable, recursive, and structured. * * Copyright (c) 2021 <NAME> <<EMAIL>> * * 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 Softwa...
<gh_stars>1-10 // https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F enum Colors { body = "#F5F5F5", absolute_zero = '#0048BA', acid_green = '#B0BF1A', aero = '#7CB9E8', aero_blue = '#C9FFE5', african_violet = '#B284BE', air_superiority_blue = '#72A0C1', alabaster = '#EDEAE0', ...
import * as React from 'react'; import ta from 'time-ago'; import ReactMarkdown from 'react-markdown'; import gfm from 'remark-gfm'; import {subDays, format} from 'date-fns'; import ReactGA from 'react-ga'; import LZString from "lz-string"; import {isEmpty} from "underscore"; import {DateRange} from 'react-date-range';...
<gh_stars>0 import createClient, { Feature, ProductType, Profile } from 'hafas-client'; import bvgProfile, { products } from 'hafas-client/p/bvg'; import cflProfile from 'hafas-client/p/cfl'; import cmtaProfile from 'hafas-client/p/cmta'; import dbProfile from 'hafas-client/p/db'; import dbbusradarnrwProfile from 'haf...
<reponame>marimeireles/bqplot /* Copyright 2015 Bloomberg Finance L.P. * * 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 re...
'use strict' import * as vscode from 'vscode' import * as path from 'path' import * as os from 'os' import { getBuildDefinitionFromWorkspace, saveAsDefaultTaskDefinition, internalBuildDefinition, BmxBuildTaskDefinition, makeTaskDefinition, getFirstBlitzMaxWorkspace } from './taskprovider' let CurrentWorkspace: ...
<filename>src/core/ArSyncStore.ts<gh_stars>0 import ArSyncAPI from './ArSyncApi' const ModelBatchRequest = { timer: null, apiRequests: {} as { [api: string]: { [queryJSON: string]: { query requests: { [id: number]: { id: number model? callback...
import type { Connection, ConnectionInfo, ConnectionOptions, WebSocketConnectionOptions } from '@d-fischer/connection'; import { DirectConnection, PersistentConnection, WebSocketConnection } from '@d-fischer/connection'; import type { Logger, LoggerOptionsOrCustom } from '@d-fischer/logger'; import { createLogger } fro...
<filename>src/gax.ts /** * Copyright 2019 Google LLC * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, t...
<reponame>sfdx-isv/sfdx-falcon-library<filename>packages/task/src/task.ts //─────────────────────────────────────────────────────────────────────────────────────────────────┐ /** * @author <NAME> <@VivekMChawla> * @copyright 2019, <NAME> / Salesforce. All rights reserved. * @license BSD-3-Clause For...
<reponame>jmallette/attack-navigator import { Component, Input, ViewChild, HostListener, AfterViewInit } from '@angular/core'; import {DataService, Technique} from '../data.service'; import { TabsComponent } from '../tabs/tabs.component'; import { ViewModel, TechniqueVM, Filter, Gradient, Gcolor, ViewModelsService } fr...
import {EventEmitter} from '@angular/core'; import {AudioDecoder} from './audio-decoder'; import {AudioInfo} from './audio-info'; import {AudioRessource} from './audio-ressource'; import {AudioFormat, WavFormat} from './AudioFormats'; import {SubscriptionManager} from '@octra/utilities'; import {SampleUnit} from './aud...
<filename>src/components/challenge-32/index.ts import { PolymerElement, html } from '@polymer/polymer/polymer-element'; import { GestureEventListeners } from '@polymer/polymer/lib/mixins/gesture-event-listeners.js'; import { Debouncer } from '@polymer/polymer/lib/utils/debounce'; import { timeOut } from '@polymer/polym...
const quickselect = require('quickselect'); export interface GNode<L extends boolean> { children:L extends true ? BBox[] : Node[]; height:number; leaf:L; minX:number; minY:number; minZ:number; maxX:number; maxY:number; maxZ:number; } export type LeafNode = GNode<true>; export type NonLeafNode = GNod...
import * as vscode from 'vscode'; import { LoggerWrapper } from './LoggerWrapper'; import { ExecutableConfig, ExecutableConfigFrameworkSpecific, RunTask } from './ExecutableConfig'; import { SharedVariables } from './SharedVariables'; import { hashString } from './Util'; import { performance } from 'perf_hooks'; import...
import WKT from 'ol/format/WKT' import Feature from 'ol/Feature' import GeoJSON, { GeoJSONFeature, GeoJSONFeatureCollection, } from 'ol/format/GeoJSON' import GeometryType from 'ol/geom/GeometryType' import Geometry from 'ol/geom/Geometry' import LineString from 'ol/geom/LineString' import MultiLineString from 'ol/...
<gh_stars>0 export const presetMiniTargets: string[] = [ // align 'vertical-baseline', 'vertical-super', 'align-text-bottom', 'v-top', 'v-mid', 'text-left', // behaviors 'outline-none', 'outline', 'outline-size-none', 'outline-hidden', 'outline-gray', 'outline-gray-400', 'outline-size-4',...
<reponame>williamchai/scrypted import { Level } from './level'; import { PluginHost } from './plugin/plugin-host'; import { ScryptedNativeId, Device, EngineIOHandler, HttpRequest, HttpRequestHandler, OauthClient, PushHandler, ScryptedDevice, ScryptedInterface, ScryptedInterfaceProperty, DeviceInformation } from '@scryp...
import {EditorState, Transaction, TransactionSpec, Extension, precedence, ChangeDesc, EditorSelection, SelectionRange} from "@codemirror/next/state" import {Line} from "@codemirror/next/text" import {StyleModule, StyleSpec} from "style-mod" import {DocView} from "./docview" import {ContentView} from "./content...
import {BigNumber} from "bignumber.js"; import { Badge, Button, Card, Col, DatePicker, Input, Popover, Row, Space, Switch, Tag, Tooltip, } from "antd"; import { CloseCircleOutlined, DeleteOutlined, FireOutlined, IdcardOutlined, SendOutlined, SyncOu...
<gh_stars>10-100 /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *----------------------------------------------...
<reponame>dra2020/baseclient import * as JsColorMapsData from './jscolormapsdata'; import {Util} from '../all/all' export const MaxOrderedColors: number = 50; export const MaxColors: number = MaxOrderedColors * 3; // Tied to orderedColors() export const MaxClassicColors: number = 55; export const DefaultColorNames...
import {BillingPage, BillingSubPage, BillingTask} from 'app/common/BillingAPI'; import {OpenDocMode} from 'app/common/DocListAPI'; import {EngineCode} from 'app/common/DocumentSettings'; import {encodeQueryParams, isAffirmative} from 'app/common/gutil'; import {localhostRegex} from 'app/common/LoginState'; import {Loca...
/** * @license * Copyright 2018 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...
<filename>packages/jsii/lib/transforms/deprecated-remover.ts import { Assembly, ClassType, Initializer, InterfaceType, isClassOrInterfaceType, isClassType, isCollectionTypeReference, isEnumType, isMethod, isNamedTypeReference, isPrimitiveTypeReference, Method, Parameter, Property, Stabilit...