text
stringlengths
9.82k
47.8k
import fs from "fs" import p from "../data/pokemon.json"; import npm_pokemon from 'pokemon' import { getStrings } from "../actions/getTranslation"; //Data imported from https://github.com/sindresorhus/pokemon/ //Declare objects for each language let newen : {[key : string]:any} = {}; let newfr : {[key : stri...
<filename>packages/chart/src/Axis.ts import { publish, SVGWidget } from "@hpcc-js/common"; import { axisBottom as d3AxisBottom, axisLeft as d3AxisLeft, axisRight as d3AxisRight, axisTop as d3AxisTop } from "d3-axis"; import { format as d3Format } from "d3-format"; import { scaleBand as d3ScaleBand, scaleLinear as d3Sca...
<reponame>SignalK/freeboard-sk /******************************** ** GPX File Class Module * ********************************/ import { XML2JS } from './xml2js' /************************ ** GPX File Class ** ************************/ export class GPX { private version: string; // ** GPX ...
/*! Copyright (c) 2020 Siemens AG. Licensed under the MIT License. */ import { Client, connect, IClientOptions, ISubscriptionMap } from "mqtt"; import { CommunicationBinding, CommunicationBindingJoinOptions, CommunicationBindingLogLevel, CommunicationBindingOptions, CommunicationBindingWithOptions...
/* * @Author: 焦质晔 * @Date: 2021-12-26 14:21:57 * @Last Modified by: 焦质晔 * @Last Modified time: 2022-01-12 16:13:27 */ import React from 'react'; import { get, intersection } from 'lodash-es'; import { createUidKey, deepFindColumn, deepFindRowKey, difference, getCellValue, groupByProps, hasOwn, isAr...
import { IResolvers, makeExecutableSchema, SchemaDirectiveVisitor, ILogger, mergeSchemas, IDirectiveResolvers, IResolverValidationOptions } from 'graphql-tools'; import { mergeGraphQLSchemas, mergeResolvers } from '@graphql-modules/epoxy'; import { Provider, Injector, ProviderScope } from '@graphql-modules/di'; import ...
<filename>PetBattleClient/assets/Script/SDK/JCTool.ts export default class JCTool { public static shuffleSort(arr) { var n = arr.length; while(n--) { var index = Math.floor(Math.random() * n); [arr[index], arr[n]] = [arr[n], arr[index]]; } } public static up...
<filename>src/toc.ts<gh_stars>0 'use strict'; import path from 'path-browserify'; import * as stringSimilarity from 'string-similarity'; import { CancellationToken, CodeLens, CodeLensProvider, commands, EndOfLine, ExtensionContext, languages, Position, Range, TextDocument, TextDocumentWillSaveEvent, TextEditor, Uri, w...
<gh_stars>1-10 import { AmazonS3State, AmazonS3Props, AmazonS3Args, AmazonS3 } from './amazon-s3'; import { AWSCLI2State, AWSCLI2Props, AWSCLI2Args, AWSCLI2 } from './aws-cli-2'; import { AWSCLIState, AWSCLIProps, AWSCLIArgs, AWSCLI } from './aws-cli'; import { AWSECSState, AWSECSProps, AWSECSArgs, AWSECS } from './aws...
<filename>meteor/server/api/ingest/commit.ts import { loadShowStyleBlueprint, loadStudioBlueprint } from '../blueprints/cache' import { CacheForPlayout } from '../playout/cache' import { triggerUpdateTimelineAfterIngestData } from '../playout/playout' import { allowedToMoveRundownOutOfPlaylist, updatePartInstanceRanks ...
import React, { useEffect, useReducer, useState } from 'react'; import { PageHeaderWrapper } from '@ant-design/pro-layout'; import { Alert, Button, Card, Checkbox, Col, Divider, Drawer, Form, Input, message, Modal, Radio, Row, Select, Spin, Table, Tag, Tooltip, } from 'antd'; import ...
<reponame>DevLoris/gobelins_taiwan import { Camera, Color, PerspectiveCamera, REVISION, Scene, sRGBEncoding, WebGLRenderer, Box3, Vector3, AxesHelper, Object3D, GridHelper, InstancedMesh, BoxGeometry, MeshBasicMaterial, Mesh, PlaneGeometry, Clock, ...
<filename>src/settingsManager.ts import * as vscode from "vscode"; import { ColorThemeKind, workspace } from "vscode"; import { colorCombos, IColorCombo } from "./colors"; import { glo } from "./extension"; // Possible color values are almost (Please see the notes below) all CSS color/gradient values. // ---- 'transpa...
/* * @Author: richard.wilson * @Date: 2020-05-09 07:38:02 * @Last Modified by: richard.wilson * @Last Modified time: 2021-01-20 13:05:14 */ import * as React from 'react'; import {IInputs} from "./generated/ManifestTypes"; import DataSetInterfaces = ComponentFramework.PropertyHelper.DataSetApi; import { Calenda...
import { Injectable } from "@angular/core"; import { Subject, Observable } from "rxjs"; import { StoryService } from "./story.service"; import { PlayerType } from "../vm/player-type.enum"; import { AdService } from "./ad.service"; import { DbService } from "./db.service"; import { FsService } from "./fs.service"; impor...
<filename>ui/frame/frame.android.ts import definition = require("ui/frame"); import frameCommon = require("./frame-common"); import pages = require("ui/page"); import transitionModule = require("ui/transition"); import trace = require("trace"); import {View} from "ui/core/view"; import {Observable} from "data/observab...
<gh_stars>0 import { FrameQuality, Mirror, MirrorQuality, costForNextLevel, craftCost, frameMatNames, frameMatSprite, getMirrorName, getSpecialText, getSummaryText } from "../gameplay/mirror"; import { Scenes, setScene } from "../scene-manager"; import { addChildNode, createNode, moveNode, node_enabled, node_interactiv...
import { Blueprint } from "./blueprint"; import { BlueprintItem } from "./blueprint-item"; import { CameraService } from "../drawing/camera-service"; import { MdbBuilding } from "../io/mdb/mdb-building"; import { Overlay } from "../enums/overlay"; import { SpriteTag } from "../enums/sprite-tag"; import { Display ...
<reponame>gjsify/ts-for-gjs /** * GstBadAudio-1.0 */ import type * as Gjs from './Gjs'; import type * as GstBase from './GstBase-1.0'; import type * as Gst from './Gst-1.0'; import type * as GObject from './GObject-2.0'; import type * as GLib from './GLib-2.0'; import type * as GModule from './GModule-2.0'; import t...
/* eslint-disable no-await-in-loop */ /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable no-param-reassign */ import * as net from 'net'; import { workspace as ws, window as wd, Webview, WebviewPanel, Uri, FileType, ViewColumn, Range, TextEditor, WorkspaceFolder ...
<gh_stars>1-10 import * as nodes from "../../nodes"; import { escape2null, getTrimFootnoteRefSpace, isIterable, splitEscapedWhitespace } from "../../utils"; import { matchChars } from "../../utils/punctuationChars"; import roleInterface from "./Roles"; import { ApplicationError } from "../../Exceptions"; import...
<reponame>hutia/pdms const ICONS: { [key: string]: string } = {}; export const ICON_NAMES: string[] = []; ICONS["Addteam"] = 'addteam.png'; ICON_NAMES.push("Addteam"); ICONS["Adduser"] = 'adduser.png'; ICON_NAMES.push("Adduser"); ICONS["Alert Fill"] = 'alert-fill.png'; ICON_NAMES.push("Alert Fill"); ICONS["Alipay Circl...
<gh_stars>0 import $ from 'jquery'; import _ from 'lodash'; import Match from './Match'; import Player from './Player'; require('../../styles/styles.scss'); function customLog(message: any, color = 'black'): void { switch (color) { case 'success': color = 'Green'; break; case 'info': color = 'Blue'; ...
export type Matrix3x3 = number[] | Float32Array; export type Matrix4x4 = number[] | Float32Array; export type Vector3D = number[] | Float32Array; /* * Returns a list of 2-D vertex coordinates that will create * a rectangle, centered at the specified position. */ export function generateRectangleVertices( x: numbe...
import P from 'bluebird' import assert from 'assert' import { calcUtxoId } from './helpers' import { Address, Script, Transaction, PrivateKey, HDPrivateKey, PublicKey, } from 'bitcore-lib-xpi' import { UtxoStore } from './storage/storage' import { Utxo } from '../types/utxo' import { ChronikClient, Subsc...
<gh_stars>1-10 import { Neovim } from '@chemzqm/neovim' import debounce from 'debounce' import { Diagnostic, DiagnosticSeverity, DiagnosticTag, Disposable, Emitter, Event, Location, Position, Range } from 'vscode-languageserver-protocol' import { TextDocument } from 'vscode-languageserver-textdocument' import { URI } f...
<reponame>hoavo1490/crud import { CreateManyDto, CrudRequest, CrudRequestOptions, CrudService, GetManyDefaultResponse, JoinOption, JoinOptions, QueryOptions, } from '@nestjsx/crud'; import { ParsedRequestParams, QueryFilter, QueryJoin, QuerySort, SCondition, SConditionKey, ComparisonOperat...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *----------------------------------------------------------------------...
import { Vector2 } from "../math/Vector2"; import { Vector3 } from "../math/Vector3"; /** * @author Mugen87 / https://github.com/Mugen87 * Port from https://github.com/mapbox/earcut (v2.1.2) */ export abstract class Earcut { //TODO: create class static triangulate ( data : any, holeIndices : Array<number>, dim ...
declare namespace base { const SymbolType: { eth: string; eos: string; }; const BaseEvent: { EVENT_CBK: string; ERROR_CBK: string; ACCOUNT_CHANGED: string; CONTRACT_CBK: string; IDENTITY_CBK: string; }; type Event = { target: any; ...
import { defaults, noop } from "../utils/lodash"; import { inherits } from "util"; import { EventEmitter } from "events"; import Deque = require("denque"); import Command from "../command"; import Commander from "../commander"; import { isInt, CONNECTION_CLOSED_ERROR_MSG, parseURL, Debug } from "../utils"; import asCal...
<filename>src/lib/src/shared/json-schema.functions.ts import * as _ from 'lodash'; import { getType, hasValue, inArray, isArray, isEmpty, isFunction, isNumber, isObject, isString } from './validator.functions'; import { forEach, hasOwn, mergeFilteredObject, uniqueItems, commonItems } from './utility.functions'; ...
/* * Copyright (C) 2019 Toshiba Corporation * SPDX-License-Identifier: Apache-2.0 */ import { Container, interaction, Point, Sprite, Texture } from "pixi.js"; import InteractionEvent = interaction.InteractionEvent; import { DApplications } from "./d-applications"; import { DBase, DBaseOptions, DThemeBase } from "./...
<reponame>Faithree/semi-design<filename>packages/semi-foundation/form/foundation.ts<gh_stars>1-10 /* eslint-disable prefer-const, max-len */ import BaseFoundation from '../base/foundation'; import * as ObjectUtil from '../utils/object'; import isPromise from '../utils/isPromise'; import { isValid } from './utils'; impo...
import { Site, SiteSchema, Dictionary, Options, DataResult, EDataResultType, SearchEntry, EModule, ERequestResultType, SearchEntryConfigArea, SearchEntryConfig, ISearchPayload, SiteCategories, SiteCategory, ERequestMethod, BASE_TAG_COLORS } from "@/interface/common"; import { APP } from ...
import { AnimationTriggerMetadata, animate, animateChild, group, query, state, style, transition, trigger, } from '@angular/animations'; import { Directionality } from '@angular/cdk/bidi'; import { CdkConnectedOverlay, ConnectionPositionPa...
import clone from 'clone'; import { setDefaultProtocol } from 'insomnia-url'; import orderedJSON from 'json-order'; import jsonpath from 'jsonpath'; import * as models from '../models'; import { BaseModel } from '../models'; import type { CookieJar } from '../models/cookie-jar'; import type { Environment } from '../mo...
/* * 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 ...
import React, { createRef } from 'react'; import { View, Text, ScrollView, Clipboard, TouchableOpacity, StatusBar, ActivityIndicator, Dimensions, ToastAndroid, StyleSheet } from 'react-native'; import { NavigationStackProp } from 'react-navigation-stack'; import moment from 'moment'; import { Header } from 'react-navig...
// Copyright (c) 2012-2022 <NAME> and contributing authors, distributed under the MIT license, see accompanying the LICENSE.md file. import { Dictionary, DictionaryArray, EnvelopeType, InstrumentType, Transition, Chord, Envelope, Config } from "../synth/SynthConfig"; import { ColorConfig } from "../editor/ColorConfig"...
<reponame>gregorwolf/fundamental-tools // SPDX-FileCopyrightText: 2014 SAP SE <NAME> <<EMAIL>> // // SPDX-License-Identifier: Apache-2.0 // check search_help_api import chalk from "chalk"; import fs from "fs"; import path from "path"; import { sprintf } from "sprintf-js"; import { Client, RfcParameterValue, Rfc...
/* eslint-disable @typescript-eslint/ban-types */ // Type definitions for bsv 1.5.5 // Project: https://github.com/moneybutton/bsv // Forked From: https://github.com/bitpay/bitcore-lib // Definitions by: <NAME> <https://github.com/lautarodragan> // Definitions extended by: <NAME> <https://github.com/shruggr> // Definit...
<reponame>Rudracool/MotherCareBackend-<gh_stars>0 /* © 2020 NetSuite Inc. User may not copy, modify, distribute, or re-bundle or otherwise make available this code; provided, however, if you are an authorized user with a NetSuite account or log-in, you may use this code subject to the terms that govern your access ...
<reponame>vilyLei/voxweb3d import RendererDevice from "../../vox/render/RendererDevice"; import RendererParam from "../../vox/scene/RendererParam"; import RendererInstanceContext from "../../vox/scene/RendererInstanceContext"; import RenderStatusDisplay from "../../vox/scene/RenderStatusDisplay"; import DisplayEntity ...
<reponame>StefanLindel/DiagramJS import {Control} from '../../Control'; import BridgeElement from '../../BridgeElement'; import Data from '../../Data'; import {Util} from '../../util'; // noinspection JSUnusedGlobalSymbols export class Table extends Control { protected items: BridgeElement[] = []; private colu...
import React, { useState, useEffect, useCallback, Fragment } from 'react'; import { makeStyles, Divider, List, ListItem, ListItemText, AppBar, Toolbar, Drawer, Typography, Hidden, IconButton, Button, Menu, MenuItem, CircularProgress, Backdrop, Icon, LinearProgress, withStyles, Theme, createStyles, Badge } from "@mater...
<reponame>danfma/aurelia import { DI, IContainer, Key, Reporter } from '@aurelia/kernel'; import { Aurelia, CustomElement, IController, IRenderContext } from '@aurelia/runtime'; import { BrowserNavigator } from './browser-navigator'; import { Guardian, GuardTypes } from './guardian'; import { InstructionResolver, IRout...
#!/usr/bin/env node import { Express, Request, Response } from "express"; import { cpus } from "os"; import { resolve as resolvePath } from "path"; import * as util from "util"; import { diff_match_patch } from "diff-match-patch"; import memoize, { once } from "./host/memoize"; const diffMatchPatchNode = once(() => ne...
<reponame>sony/cdp-js /* tslint:disable:no-bitwise */ import * as $ from "jquery"; import * as _ from "underscore"; import { IPromiseBase, toUrl, Orientation, getOrientation, registerPage, ShowEventData, HideEventData, Dialog, Toast, } from "cdp/ui"; import { min, max } from "cdp/t...
import { MUIView, MUIButton, MUICoreLayerAddStyle, MUICoreLayerRemoveStyle, MUILabel, MUIGestureRecognizer, MUIGestureRecognizerState, MUITapGestureRecognizer, MUIComboBox } from "."; import { MIODateCopy, MIODateGetMonthFromDate, MIODateToday, MIODateGetYearFromDate, MIODateGetDateString, MIODateGetStringForMonth, MIO...
import Conditions from '../../../../../resources/conditions'; import NetRegexes from '../../../../../resources/netregexes'; import Outputs from '../../../../../resources/outputs'; import { Responses } from '../../../../../resources/responses'; import ZoneId from '../../../../../resources/zone_id'; import { Raidbos...
/** * @license * Copyright <NAME> <L2jLiga>. 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://github.com/L2jLiga/mockup-viewer/LICENSE */ import { helpTemplate } from './help-template'; import { CachedStyle...
<reponame>thundra-io/thundra-lambda-agent-nodejs<filename>src/Constants.ts<gh_stars>10-100 /** * Defines all global constants here */ import HttpIntegration from './integrations/HttpIntegration'; import Http2Integration from './integrations/Http2Integration'; import PostgreIntegration from './integrations/PostgreInt...
import AIServerSocket from './AI/AIServerSocket'; import AIUser from './AI/AIUser'; import AskingType from './AskingType'; import Card from './Card'; import Game from './Game'; import GameEarlierEvent from './GameEarlierEvent'; import GameEarlierEventEmitter from './GameEarlierEventEmitter'; import GameEvent from './Ga...
import {LayoutService} from './../layout/layout.service'; import {SocketioService} from './../../services/socketio.service'; import {MessageService} from './../../services/message.service'; import {environment} from '../../../environments/environment'; import {ChatService} from './../chat/chat.service'; import {trigger...
<gh_stars>1-10 // CodeGeneratorBasic.ts - Code Generator for BASIC (for testing, pretty print?) // (c) <NAME>, 2019 // https://benchmarko.github.io/CPCBasicTS/ // // import { Utils, CustomError } from "./Utils"; import { BasicLexer } from "./BasicLexer"; import { BasicParser, ParserNode } from "./BasicParser"; // Basi...
<filename>test/fixtures.ts import { Fixture } from 'ethereum-waffle' import { BigNumber, ContractFactory } from 'ethers' import { ethers } from 'hardhat' import { expectInReceipt } from '../common/events' import { EASY_AUCTION_ADDRESS } from './integration/mainnet' import { bn, fp } from '../common/numbers' import { ...
<filename>main.ts function set_punkt(x: number, y:number, color: number,snr:number=0) { let mx = arr_neop_settings[snr].hwMatrix[0]; let my = arr_neop_settings[snr].hwMatrix[1]; let px = (my-y-1)*my + ((y % 2) ? mx-(x % mx)-1:(x % mx)) //console.log("px="+px+" "+mx+" "+x+" "+y) arr_neop_strips[snr...
/** * 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 Master from "../Master"; import { Manifest, ManifestDefinition, normalizeManifest, } from "@romejs/codec-js-manifest"; i...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Injector} from '../di'; import {getViewComponent} from '../render3/global_utils_api'; import {CONTAINER_HEAD...
<reponame>SimpleDashes/discowork enum Locale { af = 'af', af_NA = 'af-NA', af_ZA = 'af-ZA', agq = 'agq', agq_CM = 'agq-CM', ak = 'ak', ak_GH = 'ak-GH', am = 'am', am_ET = 'am-ET', ar = 'ar', ar_001 = 'ar-001', ar_AE = 'ar-AE', ar_BH = 'ar-BH', ar_DZ = 'ar-DZ', ar_EG = 'ar-EG', ar_IQ = 'a...
<reponame>georgejecook/maestro-vsc-extension-plugin import type { AnnotationExpression, BrsFile, ClassFieldStatement, ClassMethodStatement, ClassStatement, EnumMemberStatement, FieldStatement, FunctionParameterExpression, Program, XmlFile } from 'brighterscript'; import { isEnumMemberStatement, isDottedGetExpression, i...
<gh_stars>1-10 import * as d3 from 'd3'; import * as nt from '../../service/num'; import { Painter, ColorType, labelColor, defaultDuration } from '../Painters'; import { RuleX } from './models'; // import { registerStripePattern } from '../../service/utils'; import { isRuleGroup } from '../../models/ruleModel'; // Ret...
import React, { useState, useRef, useEffect } from 'react' import { TouchableOpacity, View, StyleSheet, ActivityIndicator, KeyboardAvoidingView, Text as TextNative, SectionListRenderItem, SectionListData, SectionList, ViewToken, } from 'react-native' import { Text, Icon } from '@ui-kitten/components' import {...
<filename>src/adapter/variables.ts<gh_stars>0 /*--------------------------------------------------------- * Copyright (C) Microsoft Corporation. All rights reserved. *--------------------------------------------------------*/ import { generate } from 'astring'; import * as nls from 'vscode-nls'; import Cdp from '../...
import { IHeaderColumn } from "./iHeaderColumn"; import { IProvidedColumn } from "./iProvidedColumn"; import { AbstractColDef, BaseColDefParams, ColDef, ColSpanParams, IAggFunc, ColumnFunctionCallbackParams, RowSpanParams } from "./colDef"; import { EventService } from "../eventService"; imp...
import { StyleSheet, css } from 'aphrodite'; import debounce from 'lodash/debounce'; import * as React from 'react'; import { connect } from 'react-redux'; import { Viewer, SnackFiles, Annotation, SDKVersion } from '../types'; import Analytics from '../utils/Analytics'; import { isMobile } from '../utils/detectPlatfor...
<filename>src/typescript-to-file-datas.ts /** 2021-07-12 <EMAIL> ts类型转换为jsonschema 解析ts类型文件,与ts文件中的类型定义 */ import * as path from 'path'; import traverse from '@babel/traverse'; import * as _ from 'lodash'; import * as fs from 'fs'; // types import type { AnyOption, TSTypeAnnotationConfig, TypeAnnotationConfig } from '...
/*****************************************************************************\ * Ɗaɳƙ Ɗoɱaiɳ: the return of Hack & Slash * * DOOR authored by: <NAME> <<EMAIL>> * \*****************************************************************************/ import chokidar = requi...
<gh_stars>0 import TitleBarReplacerView from "./title-bar-replacer-view"; import WindowFrameRemover from "./window-frame-remover"; import { CompositeDisposable } from "atom"; const $: JQueryStatic = require("jquery"); const jQuery = $; const ConfigSchema = require("./configuration.js"); var __this: TitleBarReplacer; v...
/* Copyright 2016-2017 Resin.io 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, software di...
<gh_stars>0 /* * Copyright 2020 Salto Labs 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...
<reponame>WalkingPizza/medusa import _ from "lodash" import { BaseService } from "medusa-interfaces" import { MedusaError } from "medusa-core-utils" import { LineItemTaxLine } from "../models/line-item-tax-line" import { ShippingMethodTaxLine } from "../models/shipping-method-tax-line" import { Order } from "../models...
<gh_stars>10-100 /*! ***************************************************************************** Copyright (c) 2018 Tangra 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...
<reponame>tamtakoe/base-select<filename>src/utils.ts import { myer } from './myer-array-diff'; /** * Merge object by another one. Use default value if new value is undefined or null * @param obj * @param newObj * @param defaults * @returns {any} */ export function mergeWithDefaults(obj, newObj = {}, defaults = {...
// Types import { AirdropEvent } from 'lib/types'; // Events addresses import yamHeroes from 'lib/events/yam'; import medallaResuscitators from 'lib/events/resuscitators'; import medalla from 'lib/events/medalla'; import proofOfGucci from 'lib/events/proof-of-gucci'; import proofOfGucciDesign from 'lib/events/proof-of...
type RGBA = [number, number, number, number]; const NamedColors: {[name: string]: RGBA} = { "aliceblue": [240, 248, 255, 1.0], "antiquewhite": [250, 235, 215, 1.0], "aqua": [0, 255, 255, 1.0], "aquamarine": [127, 255, 212, 1.0], "azure": [240, 255, 255, 1.0], "beige": [245, 245, 220, 1.0], ...
import {$} from '../../caching/GlobalCache'; import {log} from '../../console/log'; import {Roles, Setups} from '../../creepSetups/setups'; import {CommandCenter} from '../../hiveClusters/commandCenter'; import {SpawnRequestOptions} from '../../hiveClusters/hatchery'; import {Energetics} from '../../logistics/Energetic...
<gh_stars>1-10 import { EventEmitter } from 'events' import { InitProps, DEFAULT_CHILD_FREEZE_TIME, encodeArguments, CallbackFunction, Message, ArgDefinition, decodeArguments } from '../shared/sharedApi' import { ThreadedClassConfig, ThreadedClass, MemUsageReport, MemUsageReportInner } from '../api' import { isB...
<reponame>takhello/babel import jsx from "@babel/plugin-syntax-jsx"; import { declare } from "@babel/helper-plugin-utils"; import { types as t } from "@babel/core"; import type { PluginPass } from "@babel/core"; import type { NodePath, Visitor } from "@babel/traverse"; import { addNamed, addNamespace, isModule } from "...
import React, { Component } from "react"; import { withStyles, Paper, Typography, Button, TextField, Fade, Link, CircularProgress, Tooltip, Dialog, DialogTitle, DialogActions, DialogContent, List, ListItem, ListItemText, ListItemAvatar, ListItemSec...
import { Accordion, AccordionSummary, AccordionDetails, Typography, Button, Box, Skeleton, CircularProgress, Modal, IconButton, Alert, AlertTitle, Paper, Dialog, DialogTitle, DialogContent, DialogActions, // Pagination, - Use when mangadex-full-api exposes the total number of results...
<filename>src/team-extension.ts /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *----------------------------------...
<reponame>laituanmanh32/NativeScript // Definitions. import { ViewBase as ViewBaseDefinition } from "."; import { Page } from "../../page"; import { Order, FlexGrow, FlexShrink, FlexWrapBefore, AlignSelf } from "../../layouts/flexbox-layout"; // Types. import { Property, CssProperty, CssAnimationProperty, InheritedPro...
<filename>Source/WebAssembly/RemObjectsElements.ts ///<reference path="webassembly.es6.d.ts" /> // __elements_debug_wasm_loaded; Keep this on line 3 for debugging purposes function __elements_debug_wasm_loaded(url: string, bytes: ArrayBuffer, data: WebAssembly.ResultObject, importObject: any, memory: WebAssembly.Memo...
<reponame>dheerajkraaj94/oppo-android import { Injectable, ViewChild, ElementRef, ComponentFactoryResolver } from '@angular/core'; import { CoreAppProvider } from '@providers/app'; import { Observable } from 'rxjs'; import _ from 'lodash'; // import '../../../../assets/liveclass/socket.io.js'; export declare var RTCMu...
import React, { useRef, useState, useEffect, useCallback } from 'react'; import { intersection, isUndefined, omit, isArray, isNil, clone, isEmpty } from 'lodash'; import shallowEqualArray from '../utils/shallowEqualArray'; import { TreeNodeType, TreeNodesType, getNodeCheckState } from '../CheckTreePicker/utils'; import...
<filename>src/frontend/extension.ts import * as vscode from 'vscode'; import * as fs from 'fs'; import * as path from 'path'; import { PeripheralTreeProvider } from './views/peripheral'; import { RegisterTreeProvider } from './views/registers'; import { CounterTreeProvider } from './views/counter'; import { StackTreeP...
/* * 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 ...
<filename>packages/core/src/collision/b2_dynamic_tree.ts<gh_stars>0 /* * Copyright (c) 2009 <NAME> http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permissi...
<gh_stars>1-10 /* * Copyright (c) 2018 VMware Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 * * 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...
import * as React from 'react'; import sqlstring from 'sqlstring'; const { useEffect, useState, useCallback } = React; import { PanelProps, dateTimeAsMoment, TimeRange, DataFrame, LoadingState, DataQueryResponse, Vector, dateTime, } from '@grafana/data'; import { getLocationSrv, getTemplateSrv, ...
import BitcoinClient from './BitcoinClient'; import BitcoinTransactionModel from './models/BitcoinTransactionModel'; import ErrorCode from './ErrorCode'; import IBitcoinConfig from './IBitcoinConfig'; import LockMonitor from './lock/LockMonitor'; import LockResolver from './lock/LockResolver'; import LogColor from '../...
<gh_stars>0 import { Vector3, Matrix } from '../../babylon_math/Maths/math'; /** * WEBGL 基本处理 */ export interface WebGLInstanceOpt { canvas: HTMLCanvasElement; } export class Camera { public position: Vector3 = new Vector3(0, 0, 1); public target: Vector3 = new Vector3(0, 0, -1); publi...
import {castArray, includes, unique} from "../core/array"; import {divide, getSafeNum, times} from "../core/number"; import {assign, forEachObj, objReduce, pickByKeys} from "../core/object"; import type {SettableProps, SettableStyle} from "../TsTypes"; import {isArray, isString} from "../core/dataType"; import {isDom, ...
import { Component, OnInit, ElementRef, ViewChild, Input, AfterViewInit } from '@angular/core'; import { SkyconsTypes } from './ngx-skycons-types'; export const KEYFRAME = 500; export const STROKE = 0.08; export const TAU = 2.0 * Math.PI; export const TWO_OVER_SQRT_2 = 2.0 / Math.sqrt(2); @Component({ selector: 'sc...
/** * @file Test suite for the Bravo client. * * Favro does not have test environments, and its API is not * fully capable of bootstrapping all of the resources needed * for full testing. Therefore the developer must do some * manual setup work in a Favro Organization created for testing: * * ## TESTING SETUP ...
<filename>src/kernels/kernel.base.ts // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import type * as nbformat from '@jupyterlab/nbformat'; import type { KernelMessage } from '@jupyterlab/services'; import { Observable } from 'rxjs/Observable'; import { Rep...
export * from './Bank' export * from './Building2' export * from './Building3' export * from './Building4' export * from './Building' export * from './Community' export * from './Government' export * from './Home2' export * from './Home3' export * from './Home4' export * from './Home5' export * from './Home6' export * ...
<reponame>SrikanthJakkaslokam/KaveriProject import { Component, Input, EventEmitter, OnInit, Output, ChangeDetectorRef } from '@angular/core'; import { FormControl, FormGroup, Validators,FormBuilder } from '@angular/forms'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; import { Router } from '@ang...