text
stringlengths
9.82k
47.8k
import { NodeModel, SwimLaneModel } from '../objects/node-model'; import { Node } from '../objects/node'; import { Diagram } from '../diagram'; import { ConnectorModel } from '../objects/connector-model'; import { Connector } from '../objects/connector'; import { PointModel } from '../primitives/point-model'; import { ...
<gh_stars>1-10 // package: pb // file: proto/item.proto import * as jspb from "google-protobuf"; export class Item extends jspb.Message { getId(): number; setId(value: number): void; getMinstatus(): number; setMinstatus(value: number): void; getName(): string; setName(value: string): void; getAagi():...
<filename>src/archive/anchor-borrow-bot/src/Bot.ts import { dset } from 'dset' import dedent from 'dedent-js' import Decimal from 'decimal.js' import { Coin, Denom, LCDClient, MnemonicKey, Msg, MsgExecuteContract, MsgSwap, StdFee, Wallet, } from '@terra-money/terra.js' import { AddressProviderF...
import {loop, Cmd, LoopReducer, Loop} from 'redux-loop' import invariant from 'invariant' import isEqual from 'lodash/isEqual' import keyBy from 'lodash/keyBy' import uniq from 'lodash/uniq' import omit from 'lodash/omit' import pick from 'lodash/pick' import zip from 'lodash/zip' import compact from 'lodash/compact' ...
<gh_stars>1-10 import * as d3 from 'd3'; import { get } from 'lodash-es'; import { UiElementItem } from '@core/models/ui-element-item'; import { D3PathAttr, SvgElementOptions, D3GroupFullAttributes, SimpleMargin } from './d3-def-types'; import { d3Element } from '@core/svg/d3-def-types'; import { appendRightBrac...
<reponame>alexkreidler/rdfine<filename>vocabularies/schema/bundles/index.ts<gh_stars>0 export { AboutPageBundle } from './AboutPage'; export { AcceptActionBundle } from './AcceptAction'; export { AccommodationBundle } from './Accommodation'; export { AccountingServiceBundle } from './AccountingService'; export { Achiev...
<reponame>alierkanimrek/glider<filename>src/glider/glider.ts /* The MIT License (MIT) Copyright © 2019 <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 Software without restriction, in...
<reponame>vega-studio/deltav-quick-surface<filename>src/surface/quick-surface.ts import { BaseResourceOptions, BasicCamera2DController, BasicSurface, BasicSurfaceSceneOptions, Camera, Camera2D, Color, createAtlas, createFont, createLayer, createView, EventManager, FontMapGlyphType, IFontReso...
/* Converted from JavaScript to TypeScript by * nmtigor (https://github.com/nmtigor) @2022 */ /* Copyright 2012 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
<filename>src/manager.ts import defaultRouterTemplates from './router_templates'; import {BrowserSerializedStore, NativeSerializedStore} from './serialized_state'; import {TracerSession} from './tracer'; import DefaultRouter from './router_base'; import DefaultRouterStateStore from './all_router_state'; import {objKeys...
<reponame>cinerino/chevre-console<filename>src/routes/products.ts /** * プロダクトルーター */ import { chevre } from '@cinerino/sdk'; import { Request, Router } from 'express'; // tslint:disable-next-line:no-implicit-dependencies import { ParamsDictionary } from 'express-serve-static-core'; import { body, Meta, validationResu...
<gh_stars>1-10 import { TransformChunkSizes } from "./transform-chunk-sizes.ts"; import { readableStreamFromIterable } from "./deps.ts"; import * as errors from "./errors.ts"; import { isValidBucketName, isValidObjectName, isValidPort, makeDateLong, sanitizeETag, sha256digestHex, } from "./helpers.ts"; impo...
// Copyright 2019-2020 @Premiurly/polkassembly authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. /* eslint-disable max-len */ import { DeriveReferendum } from '@polkadot/api-derive/types' import styled from '@xstyled...
/** * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation * th...
import Conditions from '../../../../../resources/conditions'; import NetRegexes from '../../../../../resources/netregexes'; import { Responses } from '../../../../../resources/responses'; import ZoneId from '../../../../../resources/zone_id'; import { RaidbossData } from '../../../../../types/data'; import { Trigg...
/** * @fileoverview Box API Client */ import { Promise } from 'bluebird'; // ------------------------------------------------------------------------------ // Typedefs and Callbacks // ------------------------------------------------------------------------------ /** * A collaboration role constant * @typedef {s...
import { LoadingOutlined, CloseOutlined } from '@ant-design/icons'; import { AuctionDataExtended, AuctionState, BidderMetadata, BidRedemptionTicket, BidStateType, formatTokenAmount, fromLamports, getAuctionExtended, Identicon, loadMultipleAccounts, MAX_EDITION_LEN, MAX_METADATA_LEN, MAX_PRIZE_...
import { JsPlumbDefaults } from "./defaults"; import { Connection, ConnectionOptions } from "./connector/connection-impl"; import { Endpoint } from "./endpoint/endpoint"; import { RedrawResult } from "./router/router"; import { RotatedPointXY, Rotations, PointXY, Size, Dictionary, Extents, EventGenerator } from "@jsplu...
<reponame>CEO-NextMindCoin/trusteeWallet<gh_stars>10-100 /** * @version 0.20 */ import { BlocksoftBlockchainTypes } from '../BlocksoftBlockchainTypes' import BlocksoftCryptoLog from '../../common/BlocksoftCryptoLog' import BlocksoftUtils from '../../common/BlocksoftUtils' import DogeNetworkPrices from './basic/DogeN...
// Copyright 2021 The Prometheus Authors // 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...
// Scrape a room listing using puppeteer. // To make things difficult, airbnb likely to do A/B testing and have different formats in different cities. // FIXME: Doesn't handle Airbnb Plus which is a totally different layout again! See https://www.airbnb.ca/rooms/plus/29011112 import { ElementHandle, Page } from "puppet...
<gh_stars>0 import { Headers, RequestOptions, Http, Response } from '@angular/http'; import { LoadingController, Loading } from 'ionic-angular'; import { Observable } from 'rxjs/Observable'; export class ApiConfig { public static getApiUrl() { return "http://cmsdev.helpfooter.com/alucard263096/drewfac...
<reponame>GovTechSG/mcf-boilerplate-node // data used by MCF PRODUCT, following the specific order required by UIs import { COMPANY_REGISTRATION_TYPES as MSF_COMPANY_REGISTRATION_TYPES, COUNTRIES as MSF_COUNTRIES, DISTRICTS as MSF_DISTRICTS, EMPLOYMENT_TYPES as MSF_EMPLOYMENT_TYPES, JOB_CATEGORIES as MSF_JOB...
<gh_stars>1-10 /** * Copyright 2021 CACI (formerly Next Century 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 * * Unles...
<gh_stars>0 import { EmulatorLog } from "./types"; import { DeploymentOptions } from "firebase-functions"; import { EmulatedTrigger, EmulatedTriggerDefinition, EmulatedTriggerMap, findModuleRoot, FunctionsRuntimeBundle, FunctionsRuntimeFeatures, getEmulatedTriggersFromDefinitions, getFunctionService, ...
/* eslint-disable */ // All of the following tables were extracted for the links associated with the variable. // Non-binary Unicode property aliases and their canonical property names // https://tc39.es/ecma262/#table-nonbinary-unicode-properties export const NonBinaryProperty: Record<string, "General_Category" | "S...
<reponame>croizier/edwood import hashing = require('./hashing'); import lib = require('./library'); import pat = require('./pattern'); function assert(value: any, message?: string): void { console.assert(value, message); } function testHashing() { assert(hashing.mixs('') === 0); var n = 1000; var a =...
<gh_stars>10-100 import { Nes } from "./nes"; import { BitHelper } from "./bithelper"; import { ToneJS } from "./tonejs"; declare var Tone; export class APU { audioContext: AudioContext; nes: Nes; masterGainNode: GainNode; useDuty = true; _soundDisabled = true; //for performance, don'...
<reponame>ben-hayes/magenta-js<filename>music/src/core/visualizer.ts /** * A module containing a visualizer for `NoteSequences`. * * @license * Copyright 2018 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
<reponame>smiile8888/tabli import log from 'loglevel'; import * as utils from './utils'; import * as prefs from './preferences'; import * as Constants from './components/constants'; import { TabItem, TabWindow } from './tabWindow'; // eslint-disable-line import { StateRef, utils as oneRefUtils, update, ...
import * as ChromeLauncher from 'chrome-launcher'; import http from 'http'; import fs from 'fs'; import url from 'url'; import path from 'path'; import WebSocket from 'ws'; import { preprocessor } from '@testmate/preprocessor'; import type { testing } from '@testmate/testing'; import { DefaultTemplateHTML } from './te...
<gh_stars>1-10 import { EventEmitter } from 'events'; import { FitnesseApi, FitnesseRequest, FitnesseResponse } from './fitnesseApi'; import * as fs from 'fs'; import * as path from 'path'; import { FileResultsLogger, IFitResultsLogger, NullResultsLogger } from './resultsLogger'; export interface DebuggerCallback { ...
<gh_stars>1-10 // Skill descriptions are in the following form: // key: name on the button // value: [cost of upgrade, hover message]. let SKILL_DESCS: { [key: string]: [number, string] } = { "Particles": [100, "Add particles to your juice; increase value & difficulty."], "Shake": [100, "Add screen shake to you...
<gh_stars>0 // Some imports import { FontFamilyValues, FontString } from "../../element/types"; import { SVG_NS, getFontString, getFontFamilyString, getShortcutKey, isRTL, measureText, } from "../../utils"; import { isTextElement } from "../../element/typeChecks"; import { ExcalidrawElement, ExcalidrawT...
/* * 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 ...
<reponame>TheRakeshPurohit/material-icons-extended import { IMXIcon } from "./common/icon"; import accessibilityIcon from "./svgs/accessibility.svg"; import aidsRibbonIcon from "./svgs/aids-ribbon.svg"; import ambulanceIcon from "./svgs/ambulance.svg"; import anxietyIcon from "./svgs/anxiety.svg"; import babyBottleIcon...
import { Object3D, Quaternion, Vector3, Matrix4, Intersection, OrthographicCamera } from 'three'; import { PointerTracker } from './core/Pointers.js'; import { AnyCameraType, UNIT } from './core/ControlsBase.js'; import { ControlsInteractive } from './core/ControlsInteractive.js'; import { TransformHelper } from './T...
<reponame>theweaver19/wbtc-cafe import RenJS from "@renproject/ren"; import { useCallback, useEffect, useState, useRef } from "react"; import * as Sentry from "@sentry/react"; import { EthArgs, UTXOIndex } from "@renproject/interfaces"; import { AbiItem } from "web3-utils"; import { useInterval } from "../hooks/useInte...
<gh_stars>1-10 import {IStyleDefinition, IStyleDefinitionClass, NameGenerationMethod} from "../api/RuleTypes" import {StyleDefinition, ThemeDefinition} from "../api/RuleAPI" import {Rule, ITopLevelRuleContainer, RuleLike, IRuleSerializationContext} from "./Rule" import {VarRule} from "./VarRule" import {ImportRule, Nam...
import { Dataframe, IdentityInt32Index, dataframeMemo, } from "../util/dataframe"; import { _getColumnDimensionNames, _getColumnSchema, _schemaColumns, _getWritableColumns, } from "./schema"; import { indexEntireSchema } from "../util/stateManager/schemaHelpers"; import { _whereCacheGet, _whereCacheMerge ...
<filename>extensions/mlb-scores/src/interfaces/feed.ts export default interface FeedInterface { copyright: string; gamePk: number; link: string; metaData: MetaData; gameData: GameData; liveData: LiveData; } export interface GameData { game: Game; datetime: Datetime; status: Status; teams: GameDataT...
/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { expect } from 'chai'; import { MockContainerRuntimeFactory } from '@fluidframework/test-runtime-utils'; import { NodeId } from '../Identifiers'; import { ChangeNode, TraitLocation } from '....
<reponame>plankp/vscode<filename>src/vs/workbench/contrib/files/browser/fileImportExport.ts /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project roo...
import { IWebXRFeature, WebXRFeaturesManager, WebXRFeatureName } from '../webXRFeaturesManager'; import { Observer } from '../../Misc/observable'; import { WebXRSessionManager } from '../webXRSessionManager'; import { Nullable } from '../../types'; import { WebXRInput } from '../webXRInput'; import { WebXRInputSou...
<reponame>UnitedBitcoin/uvm-ace-builds<gh_stars>0 export namespace Ace { export type NewLineMode = 'auto' | 'unix' | 'windows'; export interface Anchor extends EventEmitter { getPosition(): Position; getDocument(): Document; setPosition(row: number, column: number, noClip?: boolean): void; detach()...
import { transform } from 'babel-core'; import { exec, spawn } from 'child_process'; import { serialize } from 'cookie'; import { readdirSync, readFileSync, statSync, unlink } from 'fs'; import { createWriteStream, mkdirp, readFile, readJSON, readJSONSync } from 'fs-extra'; import { compile } from 'handlebars'; import ...
import YogaLayout, { YogaDirection } from "yoga-layout"; const { DIRECTION_LTR, OVERFLOW_HIDDEN, OVERFLOW_SCROLL, POSITION_TYPE_ABSOLUTE, EDGE_LEFT, EDGE_TOP, EDGE_RIGHT, EDGE_BOTTOM } = YogaLayout; import { renderText, renderMultilineText, closedInnerBorderPath, createBorderPath, outerBor...
import { ApiPromise } from "@polkadot/api"; import { DeriveStakerReward, DeriveStakingElected, DeriveSessionInfo, DeriveStakingWaiting } from "@polkadot/api-derive/types"; import type { Option, StorageKey } from '@polkadot/types'; import { u8aConcat, u8aToHex, BN_ZERO, BN_MILLION, BN_ONE, formatBalance, isFunct...
<reponame>wongmjane/stitches<filename>packages/tailwind/src/theme.ts const negativeSpacing = { "-px": "-1px", "-1": "-0.25rem", "-2": "-0.5rem", "-3": "-0.75rem", "-4": "-1rem", "-5": "-1.25rem", "-6": "-1.5rem", "-8": "-2rem", "-10": "-2.5rem", "-12": "-3rem", "-16": "-4rem", "-20": "-5rem", ...
/* * Copyright (c) 2012 - 2017 Adobe Systems Incorporated. All rights reserved. * Copyright (c) 2018 - present The quadre code authors. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal ...
import * as pathlib from 'path'; import * as fs from 'fs'; import { RunnableProperties } from './RunnableProperties'; import { AbstractTest, AbstractTestEvent } from './AbstractTest'; import { Suite } from './Suite'; import { TaskPool } from './TaskPool'; import { SharedVariables } from './SharedVariables'; import { R...
import * as ui from "../../ui"; import * as csx from "../../base/csx"; import * as React from "react"; import * as tab from "./tab"; import { server, cast } from "../../../socket/socketClient"; import * as commands from "../../commands/commands"; import * as utils from "../../../common/utils"; import * as d3 from "d3";...
<reponame>SAP/cloud-foundry-tools import * as vscode from "vscode"; import { ServiceInfo, PlanInfo, ServiceInstanceInfo, cfLogin, cfGetAvailableOrgs, cfGetAvailableSpaces, cfSetOrgSpace, CF_PAGE_SIZE, IServiceQuery, Cli, CliResult, cfGetServices, cfCreateService, cfGetServicePlansList, ServiceTypeInfo, cfGetTar...
// (C) Copyright 2015 Moodle Pty 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 law or agree...
/* Copyright (c) 2017-2020 <NAME> Software 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, revocable and non-exclusive license to...
/* eslint-disable @typescript-eslint/no-non-null-assertion */ /* eslint-disable prefer-rest-params */ import type { ImgString, WriteTag } from "@common/@types/electron-window"; import type { Media, Path } from "@common/@types/generalTypes"; import type { MediaUrl } from "@contexts/downloadList"; import type { IPicture...
<reponame>North-West-Wind/NWWbot<gh_stars>1-10 import * as moment from "moment"; import formatSetup from "moment-duration-format"; import { Message } from "discord.js"; formatSetup(moment); import * as mm from "music-metadata"; import muse from "musescore-metadata"; import scdl from 'soundcloud-downloader/dist/index'; ...
<reponame>jc-lab/pfcurve.js import { BigInteger, bigInt, BigintSix, BigintTwelve, FieldStatic, PairingFriendly, SignOfX, NativeBigintTwelve } from './types'; import {FQP} from './intl'; import Curve from './curve'; import Fq from './fq'; import Fq2 from './fq2'; import Fq6 from './fq6'; import { bitLen, bitGet } ...
<reponame>lmtedds/AREF // Scrape the main page import { ElementHandle, Page } from "puppeteer"; import { logger } from "../logging"; import { delay, fuzzyDelay } from "../timeouts"; import { IMapDimensions } from "../types"; import { getRoomIdForThisPage } from "./room"; import { closeSurvey, findSurvey } from "./sur...
import * as React from 'react'; import warning from 'rc-util/lib/warning'; import type { Callbacks, FieldData, FieldEntity, FieldError, InternalNamePath, InternalHooks, NamePath, NotifyInfo, Store, ValidateOptions, FormInstance, ValidateMessages, InternalValidateFields, InternalFormInstance,...
'use strict'; import * as vscode from 'vscode'; import * as figlet from 'figlet'; import * as fs from 'fs'; import * as path from 'path'; import * as commentJson from 'comment-json'; import * as async from 'async'; // String for accessing settings in getConfiguration const BCP_CONFIG_NS:string = "banner-comments-plus...
/** * @license * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/** Namespace describing each ShaderLanguage type option in a ShaderYY file */ export namespace ShaderLanguageType { export const GLSLES: 0 = 0; export const GLSL: 2 = 2; export const HLSL: 4 = 4; } export type ShaderLanguageType = 0 | 2 | 4; /** Unknown purpose, as opposed to true boolean. Used in Rooms */ expo...
declare const window: any declare const document: any declare const Components: any declare const Zotero: any declare const AddonManager: any import { Preferences as Prefs } from './prefs.ts' // needs to be here early, initializes the prefs observer require('./pull-export.ts') // just require, initializes the pull-exp...
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. import Application = require('./Application'); import _Base = require('./Core/_Base'); import _BaseUtils = require('./Core/_BaseUtils'); import _ElementUtilities = ...
<gh_stars>0 import { Matrix4, Quaternion, Scene, SkinnedMesh, Vector3 } from "three" import { Component } from "@xr3ngine/engine/src/ecs/classes/Component" import { copySkeleton, countActors as countCharacters, findArmature, findClosestParentBone, findEye, findFoot, findFurthestParentBone, findHand, f...
<filename>src/repl.ts import type * as _diff from 'diff'; import { homedir } from 'os'; import { join } from 'path'; import { Recoverable, ReplOptions, REPLServer, start as nodeReplStart, } from 'repl'; import { Context, createContext, Script } from 'vm'; import { Service, CreateOptions, TSError, env } from './...
import {Component, OnInit} from '@angular/core'; import {Router} from '@angular/router'; import {IPlan} from '../../interfaces/iplan'; import {PlanService} from '../../services/plan-service'; @Component({ selector: 'plan-new', templateUrl: 'app/components/plan-new/plan-new.html', providers: [PlanService],...
<reponame>anpham6/squared<gh_stars>10-100 import USER_AGENT = squared.lib.constant.USER_AGENT; import NODE_TEMPLATE = squared.base.lib.constant.NODE_TEMPLATE; import type ApplicationUI from './application-ui'; import type ContentUI from './content-ui'; import type LayoutUI from './layout-ui'; import type NodeUI from '...
import { Marker, IntOrRange, getMarkerStyleType, MarkerStyleType } from './marker'; import { lexer } from './lexer'; import { ParserError, StyleBlockBase, PushErrorFunction, parseIntOrRange, sortStyleBlocks } from './parser_utils'; import { StyleBlockFootnote, parseFootnote } from './parser_footnotes'; import...
import * as React from "react"; import * as BABYLON from 'babylonjs'; import * as $ from 'jquery'; import { socketClient } from '../common/SocketClient'; import { CommonUtility } from '../common/CommonUtility'; import { BabylonUtility, Line } from '../common/BabylonUtility'; import { AsyncWorker } from '../common/Async...
<reponame>Quezler/vscode-factoriomod-debug<gh_stars>10-100 import { DebugProtocol } from 'vscode-debugprotocol'; import { BufferStream } from "./BufferStream"; /* eslint-disable no-bitwise */ export enum LuaOpcode { OP_MOVE,/* A B R(A) := R(B) */ OP_LOADK,/* A Bx R(A) := Kst(Bx) */ OP_LOADKX,/* A R(...
<reponame>longyap/typescene import { err, ERROR } from "../errors"; import { HIDDEN } from "./util"; import { Binding } from "./Binding"; import { ManagedEvent, ManagedParentChangeEvent, ManagedCoreEvent } from "./ManagedEvent"; import { ManagedList } from "./ManagedList"; import { ManagedMap } from "./ManagedMap"; imp...
import { Result } from "@badrap/result"; import { Rules, CastlingSide, CASTLING_SIDES, Color, COLORS, Square, ByColor, ByCastlingSide, Move, NormalMove, isDrop, Piece, Outcome, } from "./types.js"; import { SquareSet } from "./squareSet.js"; import { Board } from "./board.js"; import { Setup, ...
<filename>src/versionedservice/service.ts /* eslint-disable no-multi-str */ import { BaseService } from '@txstate-mws/graphql-server' import { OneToManyLoader, PrimaryKeyLoader } from 'dataloader-factory' import { applyPatch, compare } from 'fast-json-patch' import { Queryable } from 'mysql2-async' import db from 'mysq...
/// <reference path='../typings/node/node.d.ts' /> 'use strict'; import * as td from './td'; import * as assert from 'assert'; type JsonObject = td.JsonObject; type JsonBuilder = td.JsonBuilder; import * as azureBlobStorage from "./azure-blob-storage" import * as cachedStore from "./cached-store" import * as index...
<filename>app/src/ts/renderer/mishiro-live.ts<gh_stars>100-1000 import type { Event } from 'electron' import { Vue, Component } from 'vue-property-decorator' import TabSmall from '../../vue/component/TabSmall.vue' import TaskLoading from '../../vue/component/TaskLoading.vue' import InputText from '../../vue/component...
// Server which handles SOCKS connections over WebRTC datachannels and send them // out to the internet and sending back over WebRTC the responses. /// <reference path='../../../third_party/typings/index.d.ts' /> import * as arraybuffers from '../arraybuffers/arraybuffers'; import * as handler from '../handler/queue'...
<filename>src/app/index.ts /** * Start and configure the web application. */ import * as crypto from 'crypto'; import * as fs from 'fs'; import * as net from 'net'; import * as path from 'path'; import * as util from 'util'; // Required syntax because the type declaration uses 'export = rc;'. // (See: https://github...
<reponame>zzh1234567/Typescript-WebPack-ThreeJS-ES6-datGui import * as THREE from 'three' import * as Detector from "../js/vendor/Detector"; import * as DAT from 'dat.gui'; import { OrbitControls } from 'three-orbitcontrols-ts'; import { Interaction } from "three.interaction"; ////import * as checkerboard from "../tex...
<reponame>leosingleton/fim // FIM - Fast Image Manipulation Library for Javascript // Copyright (c) <NAME> <<EMAIL>> // See LICENSE in the project root for license information. import { CoreCanvas } from './CoreCanvas'; import { CoreShader } from './CoreShader'; import { CoreTexture } from './CoreTexture'; import { Co...
<reponame>johnerjr/preshent_admin import { Component, OnInit, Input, ViewChild } from '@angular/core'; import { JwtService, AuthService } from 'src/app/shared/services'; import { FormBuilder, FormGroup, Validators, FormGroupName } from '@angular/forms'; import { ToastrService } from 'ngx-toastr'; import...
import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; import { CaptchaService } from '@/_services'; import { take } from 'rxjs/operators'; export const PROCESS_TYPE = [ // "IPL_BORDER_CONSTANT","IPL_BORDER_REPLICATE","IPL_BORDER_REFLEC...
/** @jsx jsx */ import { jsx } from '@emotion/core' import * as React from "react"; import { createRef, useEffect, useState } from "react"; import { CASE_HEADER_HEIGHT, CASE_HEADER_LABEL_SIZE, CASE_MARGIN_BOTTOM, HEADER_MARGIN_BOTTOM, HEADER_MARGIN_TOP, HEADER_OFFSET } from "../../../../viewer/Constants"; i...
import React, { useState } from "react"; import { withTranslation, Trans } from "react-i18next"; import { Form, Button } from "react-bootstrap"; import "./style.scss"; const CGU = (props) => { const { t, onClickNext } = props; const isMobile = window.innerWidth < 768; const [CGUAccepted, setCGUAccepted] = us...
<reponame>Up-Group/react-controls import {css} from '../../../../../Common/theming/themedComponents'; export const HeightLarge = css` height: 40px; line-height: 40px; font-size: 16px; padding: 0 15px; ` export const defaultStyles = css` outline: none; border: none; border-radius: 3px; box-shadow: 0 0...
const MOVEMENT_SCHEDULE_TIMER = 0.1; SubscribeNetTableKey("misc", "price_definition", tilesObj => { $.Msg("Property Definition Listener firing"); let purchasabletiles = Object.entries(tilesObj).filter(([k,v]) => v.type === "property" || v.type === "railroad" || v.type === "utility") as Array<[PurchasableTiles,...
export const GenresByNumbers = [ 'Blues', 'Classic Rock', 'Country', 'Dance', 'Disco', 'Funk', 'Grunge', 'Hip Hop', 'Jazz', 'Metal', 'New Age', 'Oldies', 'Other', 'Pop', 'R&B', 'Rap', 'Reggae', 'Rock', 'Techno', 'Industrial', 'Alternative', 'Ska', 'Death Metal', 'Pranks', 'Soundtrack', 'Euro-T...
<filename>packages/types/src/metadata/PortableRegistry/PortableRegistry.ts // Copyright 2017-2022 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Text, Type, Vec } from '@polkadot/types-codec'; import type { Registry } from '@polkadot/types-codec/types'; import type { ILooku...
import './Editor.scss'; import cc from 'clsx'; import * as Inferno from 'inferno'; import { Fragment, Translation } from '../backend'; import * as gui from '../gui'; import * as utils from '../utils'; import { AppMainGuiCtx } from './AppMain'; import { BoxGui, BoxItemFillerGui, WrapperGui } from './Box'; import { Ico...
<filename>webapp/src/package.ts import * as workspace from "./workspace"; import * as data from "./data"; import * as core from "./core"; import * as db from "./db"; import * as compiler from "./compiler"; import Util = pxt.Util; let hostCache = new db.Table("hostcache") let extWeight: pxt.Map<number> = { "ts": ...
import { GeometryCfg } from './geometry/base'; import { IInteractionContext } from './interface'; // 注册黑暗主题 import { registerTheme } from './core'; import { antvDark } from './theme/style-sheet/dark'; import { createThemeByStyleSheet } from './theme/util/create-by-style-sheet'; registerTheme('dark', createThemeByStyle...
<gh_stars>0 /* * Copyright (c) 2018, Gnock * Copyright (c) 2018, The Masari Project * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this ...
/* * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "lic...
<gh_stars>0 // Note: this file is a copy from TSR import * as request from 'request' import { EventEmitter } from 'events' import * as _ from 'underscore' const CHECK_STATUS_INTERVAL = 3000 const CALL_TIMEOUT = 1000 export class QuantelGateway extends EventEmitter { public checkStatusInterval: number = CHECK_STATUS_...
import Conditions from '../../../../../resources/conditions'; import NetRegexes from '../../../../../resources/netregexes'; import { Responses } from '../../../../../resources/responses'; import ZoneId from '../../../../../resources/zone_id'; import { RaidbossData } from '../../../../../types/data'; import { Trigg...
<gh_stars>10-100 // eslint-disable-next-line @typescript-eslint/triple-slash-reference /// <reference path="../../global.d.ts" /> const lookup = new Map<object, Platform>(); function notImplemented(name: string): (...args: any[]) => any { return function notImplemented() { throw new Error(`The PLATFORM did not r...
<gh_stars>1-10 import queenslandjson from '../../../../data/State_electoral_boundaries_2017.json'; import testjson from '../../../../data/test.json'; import { Component, ViewEncapsulation, Inject, OnInit, ViewChild } from '@angular/core'; import { MapsTheme, Maps, shapeSelected, IShapeSelectedEventArgs, Highlight, ...
import * as appActions from 'actions/app' import * as sakActions from 'actions/sak' import Family from 'applications/OpprettSak/Family/Family' import PersonSearch from 'applications/OpprettSak/PersonSearch/PersonSearch' import classNames from 'classnames' import AbortModal from 'components/AbortModal/AbortModal' import...
/* eslint-disable no-console */ import { Store } from 'vuex'; import { readdirSync, readFileSync, rename, writeFile } from 'fs'; import * as os from 'os'; import * as path from 'path'; import { app, BrowserView, BrowserWindow, dialog, globalShortcut, ipcMain, Menu, MenuItem, nativeImage, protocol, ...