text
stringlengths
9.82k
47.8k
/** * Context to manage how the interatctions heppen within the application */ import { BottomSheetBackdropProps, BottomSheetModal, BottomSheetModalProvider, BottomSheetScrollView, } from '@gorhom/bottom-sheet'; import produce from 'immer'; import * as React from 'react'; import {Pressable, StyleSheet, View} ...
<filename>src/tasks/bankImage.ts import { Canvas, CanvasRenderingContext2D, createCanvas, Image, registerFont } from 'canvas'; import { objectKeys } from 'e'; import * as fs from 'fs'; import { KlasaUser, Task, TaskStore, util } from 'klasa'; import fetch from 'node-fetch'; import { Bank } from 'oldschooljs'; import { ...
<filename>lib/api-helper/machine/handlerRegistrations.ts /* * Copyright © 2019 Atomist, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
import { OutputStream } from '../output' import AST_Node, { AST_Node_Props } from './node' import Compressor from '../compressor' import AST_With from './with' import TreeWalker from '../tree-walker' import { MozillaAst } from '../types' import { is_undefined, make_node, first_in_statement, best_of, make_sequence, mai...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
<gh_stars>0 import { Edge, Node, Keyed } from "../../interfaces"; import emptyObject from "../utils/misc/emptyObject"; type NamedBindings = Keyed<Function | null>; const _methods: NamedBindings = Object.create(null); // tracks binding objects that have been registered. const _indexes: Set<string> = new Set(); const _i...
import { cloneDeep } from 'lodash'; import { Moment } from 'moment'; import Vue from 'vue'; import { ActionContext, ActionTree, GetterTree, MutationTree } from "vuex"; import { Action, Getter, namespace } from 'vuex-class/lib/bindings'; import { getStoreAccessors } from "vuex-typescript"; import IPlanEnseigne from '../...
/**======================================================== * Module: gen-jobs-view.ts * Created by wjwong on 9/23/15. =========================================================*/ /// <reference path="../../../../../model/genjobsmgrdb.ts" /> /// <reference path="../../../../../model/genstatesdb.ts" /> /// <reference ...
import { CellEvent } from './cell/cell-event'; import { RenderedCell } from './cell/rendered-cell'; import { GridProperties } from './grid-properties'; import { assignOrDelete } from './lib/utils'; import { MetaModel } from './model/meta-model'; import { SchemaModel } from './model/schema-model'; import { Revgrid } fro...
<gh_stars>0 // Copyright 2017-2019 @polkadot/api authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. import { ProviderInterface } from '@polkadot/rpc-provider/types'; import { Storage } from '@polkadot/storage/types'; i...
<filename>src/tdlite-art.ts /// <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 parallel from "./parall...
/* tslint:disable:no-string-literal */ /// <reference types="webgl-strict-types" /> import { assert, assertf, assertInst, assertVectors, int, M4, NLA_DEBUG, V3, } from "ts3dutils" import { Buffer, currentGL, GL_COLOR, Mesh, TSGLContext } from "./index" import GL = WebGLRenderingContextStrict const WGL...
import * as path from 'path'; import * as vscode from 'vscode'; import { commandCheck, foldersInDir, getBasename, pathExists, readJsonFile, removeExtension, replaceBackslashes, writeJsonFile, } from '../utils/fileUtils'; import { commandExists, getCompilerArchitecture, getOperatingSystem, } from '../utils/s...
export const TEST_API_HOST: "http://test.com/"; export const TEST_TOKEN: "test-token"; export const TEST_API_PREFIX: "test-api/v1.0/"; export const OTHER_TEST_API_PREFIX: "other-test-api/v2.0/"; export const CUSTOM_TEST_API_PREFIX: "custom-test-api/data/"; export const TEST_MODEL_ENDPOINT: "test-model/"; export const T...
<reponame>maniator/angular-md import { AfterContentInit, Component, ElementRef, HostListener, Input, Output, Optional, EventEmitter, ViewEncapsulation, NgModule, ModuleWithProviders } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { CommonModule ...
import { hideLinkEmbed, userMention } from '@discordjs/builders'; import { stripIndent, stripIndents } from 'common-tags'; import { LogStatuses } from '@/types/database'; export const contact = { options: { aliases: ['contact', 'contacts'], description: 'contact', enabled: true, usage: 'contact', ...
<filename>app/_locales/i18n.d.ts interface I18NMessage { message: string; description?: string; placeholders?: { [key: string]: { example?: string; content: string; } } } export type LocaleSpec = { "generic": { "appTitle": I18NMessage, "add": I18NMessage, "dismiss": I18NMessage, "undo": I18NMessa...
<reponame>weixiabing/docusaurus /** * 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 type {RuleSetRule, Configuration as WebpackConfiguration} from 'webpack'; import type {Cust...
<gh_stars>10-100 import { ActionType, getType } from "typesafe-actions"; import type { TableT, OrNodeT, DateRestrictionNodeT, NegationNodeT, QueryConceptNodeT, SavedQueryNodeT, SelectorT, TableConfigT, FilterConfigT, RangeFilterValueT, FilterIdT, ConceptIdT, } from "../api/types"; import { Acti...
/** * [js-sha3]{@link https://github.com/emn178/js-sha3} * * @version 0.5.7 * @author Chen, Yi-Cyuan [<EMAIL>] * @copyright Chen, Yi-Cyuan 2015-2016 * @license MIT */ const sha3: any = {}; const HEX_CHARS = '0123456789abcdef'.split(''); const SHAKE_PADDING = [31, 7936, 2031616, 520093696]; const KECCAK_PADDIN...
<reponame>ginandjar/comprof-revamp<gh_stars>0 import Uk from './Uk'; import Base from './Base'; const Id: Base = { meta: { home: { title: 'Kata.ai | Artificial Intelligence - Chatbot Indonesia', description: 'Kata.ai menyediakan layanan untuk menghubungkan brand & konsumen Anda di messaging ...
'use strict' import { NativeEventEmitter, NativeModules } from 'react-native' const AntPlusModule = NativeModules.AntPlusModule ? NativeModules.AntPlusModule : null export const AntPlusEmitter = AntPlusModule ? new NativeEventEmitter(AntPlusModule) : null export enum AntPlusDeviceType { BIKE_POWER = 11, CONTROLLA...
<gh_stars>0 import * as debugsx from 'debug-sx'; const debug: debugsx.IFullLogger = debugsx.createFullLogger('statistics'); import * as fs from 'fs'; import { sprintf } from 'sprintf-js'; import * as nconf from 'nconf'; import { Nibe1155MonitorRecord } from './client/nibe1155-monitor-record'; import { Nibe1155Modbus }...
<filename>src/NPC/ghost.ts import * as ui from '../../node_modules/@dcl/ui-utils/index' import utils from '../../node_modules/decentraland-ecs-utils/index' import { TriggerSphereShape } from '../../node_modules/decentraland-ecs-utils/triggers/triggerSystem' import { Dialog } from '../../node_modules/@dcl/ui-utils/utils...
import * as React from 'react'; import { max as d3Max } from 'd3-array'; import { line as d3Line } from 'd3-shape'; import { select as d3Select } from 'd3-selection'; import { scaleLinear as d3ScaleLinear, ScaleLinear as D3ScaleLinear } from 'd3-scale'; import { classNamesFunction, getId, getRTL } from '@fluentui/react...
<reponame>Site-Command/joplin import ResourceEditWatcher from '@joplin/lib/services/ResourceEditWatcher/index'; import CommandService from '@joplin/lib/services/CommandService'; import KeymapService from '@joplin/lib/services/KeymapService'; import PluginService from '@joplin/lib/services/plugins/PluginService'; import...
import React, {ReactNodeArray, useEffect, useState} from "react"; import {history} from "@@/core/history"; import {PageContainer} from "@ant-design/pro-layout"; import {useModel} from "@@/plugin-model/useModel"; import DeviceInfoDetailClass from "@/pages/device/DeviceInfo/DeviceInfoDetailClass"; import {DeviceDetailEnt...
<filename>src/main/webapp/bower_components/goJs/extensionsTS/FloorPlanEditorScript.ts "use strict"; /* * Copyright (C) 1998-2017 by Northwoods Software Corporation. All Rights Reserved. */ import * as go from "../release/go"; import { DrawCommandHandlerTool } from "./DrawCommandHandlerTool"; import { RotateMultipleToo...
/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ import * as typedoc from 'typedoc'; import * as fs from 'fs/promises'; import * as pathlib from 'path'; import * as sourceMap from 'source-map'; import { ApiDocsConfig, DeclarationReflection, ExtendedDeclarationReflection, ...
<filename>packages/cactus-cmd-api-server/src/main/typescript/config/config-service.ts import { SecureVersion } from "tls"; import { existsSync, readFileSync } from "fs"; import convict, { Schema, Config, SchemaObj } from "convict"; import { ipaddress } from "convict-format-with-validator"; import { v4 as uuidV4 } from ...
<gh_stars>0 /* * @license * Copyright Hôpitaux Universitaires de Genève. All Rights Reserved. * * Use of this source code is governed by an Apache-2.0 license that can be * found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE */ import { ChangeDetectorRef, EventEmitte...
/* eslint-disable no-unused-vars */ import Vue, { CreateElement, VNodeChildren, VNode } from 'vue' import XEUtils from 'xe-utils' import { VXETable, Table, Grid, RowInfo, ColumnOptions, ColumnCellRenderParams } from 'vxe-table' /* eslint-enable no-unused-vars */ function hasChilds (_vm: VirtualTree, row: R...
<filename>packages/common/src/editors/autoCompleteEditor.ts import 'jquery-ui/ui/widgets/autocomplete'; import { FieldType, KeyCode, } from '../enums/index'; import { AutocompleteOption, CollectionCustomStructure, CollectionOverrideArgs, Column, ColumnEditor, CompositeEditorOption, Editor, EditorArgume...
type i16=number; type i32=number;type i64=number;type u16=number; type u32=number;type u64=number;type f32=number; import FrictionEquationPool from "../utils/friction-equation-pool"; import polyk from "./polyk"; /** * Compute the intersection between two lines. * @static * @method lineInt * @param {Array} l1 ...
<filename>src/shared/services/export-save-format.service.ts /** * @license * Use of this source code is governed by Apache License 2.0 that can be * found in the LICENSE file at https://github.com/CertifaiAI/Classifai_FrontEnd/blob/main/LICENSE */ import { Injectable } from '@angular/core'; import * as fileSaver f...
/** * Copyright 2016,2020 IBM Corp. 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 ap...
/*! Copyright (c) 2020 Siemens AG. Licensed under the MIT License. */ import { Connection, IConnectionOptions, IEvent, ISubscription, log as autobahnLog, serializer, Session } from "autobahn"; import { CommunicationBinding, CommunicationBindingJoinOptions, CommunicationBindingLogLevel, CommunicationBi...
<reponame>PS-TheAura/Lanette import type { PRNGSeed } from "./lib/prng"; import type { Player } from "./room-activity"; import { Activity, PlayerTeam } from "./room-activity"; import type { Room } from "./rooms"; import type { IGameFormat, IGameOptions, IHostDisplayUhtml, IPokemonUhtml, ITrainerUhtml, IUserHostedForma...
<reponame>dariajung/ng-ts ///<reference path="../typings/node/node.d.ts"/> ///<reference path="../typings/typescript/typescript.d.ts"/> import * as ts from 'typescript'; import * as fs from 'fs'; // filesystem module // import * as fsx from 'fs-extra/'; import * as util from 'util'; import * as path from 'path'; /* T...
import React, { useState, useCallback, useRef, useEffect, useMemo } from 'react' import { getColorFromString } from '../../../cloud/lib/utils/string' import styled from '../../../design/lib/styled' import { SerializedDocWithSupplemental, SerializedDoc, } from '../../../cloud/interfaces/db/doc' import { useSettings ...
import { MARKDOWN_HELP_URL } from 'front-end/config'; import * as FileMulti from 'front-end/lib/components/form-field-multi/file'; import * as FormFieldMulti from 'front-end/lib/components/form-field-multi/lib/index'; import * as LongTextMulti from 'front-end/lib/components/form-field-multi/long-text'; import * as Sele...
import * as $ from 'jquery'; import * as d3 from 'd3'; import 'select2'; import {IMeasureResult, ISimilarityMeasure, ISetParameters, SCOPE, IMeasureVisualization} from '../base/interfaces'; import {RankingAdapter} from './RankingAdapter'; import {WorkerManager} from '../workers/WorkerManager'; import {LocalDataProvider...
<filename>AngularClusterGenerator/src/app/persistence.service.ts import { Injectable } from '@angular/core'; import { Observable, Observer, BehaviorSubject, Subscription } from 'rxjs/Rx'; import * as firebase from 'firebase'; import { Cluster } from './cluster'; import { ClusterData } from './cluster-data'; import { ...
<reponame>rferstl/sba-angular import { Injectable } from '@angular/core'; import { ValidatorFn, Validators } from '@angular/forms'; import { Router, NavigationEnd, UrlSerializer } from '@angular/router'; import { Clipboard } from '@angular/cdk/clipboard'; import { Location } from '@angular/common'; import { Utils } fro...
<filename>index.d.ts export declare type RecursiveObject<K extends string, V> = { [P in K]?: RecursiveObject<K, V> | V; }; export declare type CompositeObjectCopyMethod = "reference" | "on-write" | "keys"; export interface CompositeObjectOptions { /** * Indicates when CompositeObject or RecursiveObject key...
<reponame>thecryptobee/Hexa-Wallet import { ImageSourcePropType } from 'react-native' import { InitTrustedContactFlowKind } from '../../store/actions/trustedContacts' import AccountVisibility from '../../common/data/enums/AccountVisibility' export enum DerivationPurpose { BIP44 = 44, BIP49 = 49, BIP84 = 84 } ex...
import * as Token from 'token-types'; import { EndOfStreamError } from 'strtok3/lib/core'; import * as initDebug from 'debug'; import Common from '../common/Util'; import { AbstractID3Parser } from '../id3v2/AbstractID3Parser'; import { InfoTagHeaderTag, IXingInfoTag, LameEncoderVersion, readXingHeader } from './XingT...
<gh_stars>0 // (C) 2007-2021 GoodData Corporation import invariant, { InvariantError } from "ts-invariant"; import omit from "lodash/omit"; import omitBy from "lodash/omitBy"; import { isMeasureColumn } from "../base/agGridUtils"; import { DEFAULT_HEADER_FONT, DEFAULT_ROW_FONT, DEFAULT_SUBTOTAL_FONT, DE...
/* * Copyright (c) 2022 ZOOMi Technologies Inc. * * all rights reserved. * * This source code is licensed under the license found in the LICENSE file in the root directory of this source tree. * * repository class that use for Service interface that provides strong-typed data access operation in task model */ ...
import { modulo11, getAllDigits, fillString } from './utils'; /** * * @param uf - UF do número da guia. Ex: 35(SP), 81(PE) * @param ano - ANO do número da guia. Ex: 2018, 2019 * @param tipo - TIPO da guia. Aih = 1, APAC = 2 */ export function create_aih(value: string | number | any[]) { value = getAllDigits(va...
import * as React from 'react'; import * as classNames from 'classnames'; import { connect, AppState, CodeSpace, CodeLine, Code, Selection, } from '../../appState'; import CodeSpaceStateViewer from '../CodeSpaceStateViewer'; import PathTrack from './PathTrack'; import { Vec2 } from '../../model...
import { Color } from 'Sandbox/Color.js'; import { Contact } from 'Sandbox/Contact.js'; import { Entity } from 'Sandbox/Entity.js'; import { Material } from 'Sandbox/Material.js'; import { Quadtree } from 'Sandbox/Quadtree.js'; import { Rectangle } from 'Sandbox/Rectangle.js'; import { Segment } from 'Sandbox/Segment.j...
import { Component, OnInit, Inject } from '@angular/core'; import { JsonService, WizardService, NodeApiService } from '../../services'; import * as lodash from 'lodash'; import * as keyarrange from 'lodash-keyarrange'; const _: any = lodash.mixin(keyarrange); @Component({ selector: 'app-generate-app', templateUrl...
import { Component, OnInit, Inject, OnChanges, OnDestroy } from "@angular/core"; import { DataCommunicationService, ErrorMessage, OnlineOfflineService } from "@app/core"; import { dealService } from "@app/core/services/deals.service"; import { Observable, of, Subscription } from "rxjs"; import { Router } from "@a...
import { DataSurgeryStore } from './../../models/viewmodels/surgery_model'; import { LoggerService } from './../../shared/logger.service'; const moment = extendMoment(Moment); //import { HockeyApp } from "ionic-hockeyapp"; //import { AboutPage } from "../about/about"; import { Component, ViewChild, Eleme...
export const addAlpha = (baseColor: string, alpha: number): string => { if (baseColor.startsWith("#")) { const rgb = hexToRgb(baseColor); if (rgb) { return `rgba(${rgb.r},${rgb.g},${rgb.b},${alpha.toFixed(2)})`; } else { return "#FF1493"; // deeppink } } else { const rgb = baseColor....
<reponame>bauman/RE_Provenance_System import { XmlRpcRequest } from "./mimic"; // import $ = require("jquery"); import { ActionFunctionRegistry, ProvenanceGraph, ProvenanceTracker, ProvenanceGraphTraverser, ReversibleAction, IrreversibleAction, StateNode, Action, isRever...
import React, {forwardRef, ReactNode, SyntheticEvent, useContext, useEffect, useMemo, useReducer, useState} from 'react'; import { Endpoints, formatHttpError, http, SCCategoryType, SCFeatures, SCFeedDiscussionType, SCFeedObjectTypologyType, SCFeedPostType, SCFeedStatusType, SCMediaType, SCPollType...
import * as nr from "../NewRouter"; import Info, { permTheyCanManageRole, permWeCanManageRole } from "../Info"; import * as Discord from "discord.js"; import { andlist, messages, orlist, raw, safe } from "../../messages"; import { AP } from "./argumentparser"; import { QuickrankField } from "../Database"; /* ip!rank ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
<gh_stars>0 import * as Api from '../api'; import * as params from '../params'; import {ElementState} from './element'; import { layout_steps, Layout, LayoutRow, LayoutEntry } from './layout'; import * as Permissions from './permissions'; import * as Prompts from '../ui/prompts'; // Offset between the line following t...
<reponame>stu43005/sdorica-bot import { tify } from 'chinese-conv'; import * as Discord from "discord.js"; import { CommandoClient } from "discord.js-commando"; import { cache } from '../../cache'; import { Logger } from '../../logger'; import { Command2 } from '../../typings/discord.js-commando/command'; import { getO...
import { decode as bech32Decode, encode as bech32Encode, fromWords as bech32FromWords, toWords as bech32ToWords, } from 'bech32'; import bigInt from 'big-integer'; import { decode as bs58DecodeNoCheck, encode as bs58EncodeNoCheck } from 'bs58'; // @ts-ignore import { createHash } from 'crypto'; import { b32de...
// Copyright 2017 <NAME>. // // 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 w...
import CodeMirror from "codemirror"; import {Asm, AssembledLine, FileInfo, SymbolInfo, SymbolReference} from "../assembler/Asm"; import mnemonicData from "../assembler/Opcodes"; import {toHexByte, toHexWord} from "z80-base"; import tippy from 'tippy.js'; import 'tippy.js/dist/tippy.css'; import "codemirror/lib/codemir...
<reponame>hargettp/vsc-prolog import { truncate, truncateSync } from "fs"; import * as jsesc from "jsesc"; import { spawn } from "process-promises"; import { CancellationToken, CodeActionContext, CodeActionProvider, Command, commands, Diagnostic, DiagnosticCollection, DiagnosticSeverity, Disposable, ...
import axios from './axios'; import Chat from './components/Chat.vue'; import PlayerOptions from './components/PlayerOptions.vue'; import Playlist from './components/Playlist.vue'; import { Player, PlayerState, SubtitleTrack, YouTubePlayer, Html5Player, HlsPlayer } from './player'; import { Room, ChatMessage, Video } f...
<gh_stars>0 /* * Copyright (C) 2017-2019 HERE Europe B.V. * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ import { LineCaps, LineDashes } from "@here/harp-datasource-protocol"; import * as THREE from "three"; import { DisplacementFeature, DisplacementFeatur...
import { EventEmitter } from 'events'; import BezierPath from './BezierPath'; import Point, { PointShape } from './Point'; import LineSegment, { LineSegmentType, LineSegmentOptions } from './LineSegment'; import CanvasTransformer, { Coords } from './CanvasTransformer'; import { Vector2 } from 'math.gl'; export enum Mo...
import loadDataBasketball, { Basketball } from "./loadData.basketball"; import formatScheduledEvents from "./formatScheduledEvents"; import { groupBy } from "../../../common/groupBy"; import orderBy from "lodash-es/orderBy"; import type { GetLeagueOptions, DraftPickWithoutKey, DraftLotteryResult, GameAttributesLeag...
<reponame>NepPure/ffxiv-gearing import { observable, computed, autorun, reaction, action, runInAction } from 'mobx'; // noinspection ES6UnusedImports import { types, Instance, SnapshotIn, SnapshotOut, ISimpleType, getParentOfType, resolveIdentifier, getIdentifier, unprotect, getSnapshot, applySnapshot, onSnapshot, on...
import type { ImplementedProvider, ProviderEvents, SeekRange } from '../../../../../src/js/providers/default'; import type Events from '../../../../../src/js/utils/backbone.events'; import type { InternalPlayerState } from '../../../../../src/js/events/events'; import type PlaylistItem from '../../../../../src/js/playl...
import React, { useState, useEffect, useCallback, useRef, useContext, } from "react"; import { useParams, Link } from "react-router-dom"; import TextInput from "../components/TextInput"; import { useCurrentProjectMetadataQuery, useUpdateProjectSettingsMutation, useProjectAccessControlSettingsQuery, us...
<reponame>quadre-code/quadre<gh_stars>1-10 /* * 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 ...
<gh_stars>0 import { mParams } from "./mparams"; import { notePositions, notePositionsRev, symbols } from "../constants"; import Note from "./Note"; import { playNote, allowNewInsertion } from "./utils"; function noteGClick(e: any, sender: any, stCol: string, selCol: string, note: Note) { if (sender.attr("selected")...
/* Zero-Clause BSD Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT ...
<reponame>FunnyLamma/repl-it-electron const THEME_TEMPLATE = `:root { --text-color: #<%= text %>; --text-hover: #<%= text2 %>; --darker-text: #<%= text3 %>; --dark-bg: #<%= bg %>; --main-color: #<%= main %>; --bright: #<%= bright %>; --confirm-color: #63C090; --dark-green: #485b4a; --unupvoted: #3f403f; --upvote: <% if...
<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...
/* * This needs major cleanup as it's way too big and it will be bigger in future. */ import { gameSettings, gameProtocol, updateServerSettings, gameVersion, defaultValues, proxyServer, IServerInfo, getServerList, heartbeatServer, getAuthInfo, } from '../../values'; import { isMobile } from 'mobile-device-...
declare namespace Data { /** Additional info about a data series besides the contained data. */ interface SeriesMetaInfo { /** Name of the data series. It will be the unique id of the series to reference it in various parts of the API, mainly in {@link Channel} and {@link Data.Record}. This name will also ...
import { GIModel } from '@libs/geo-info/GIModel'; import { GeoSettings } from '../gi-geo-viewer.settings'; import { TAttribDataTypes, LONGLAT, EEntType } from '@libs/geo-info/common'; import * as itowns from 'itowns/dist/itowns'; import * as THREE from 'three'; import * as suncalc from 'suncalc'; export const API_MAP...
<reponame>danielkaneider/dynatrace-time-tracking import './bookmarklet.css'; interface TimecockpitEntryProperties { jiraKey: string; APP_BeginTime: string; APP_EndTime: string; APP_Description: string; APP_TaskUuid?: string; APP_ProjectUuid?: string; APP_UserDetailUuid?: string; USR_TimesheetTypeUuid?...
<filename>frontend/src/ts/utils/htmlApi.ts import Vue from 'vue'; import { IS_DEBUG, PASTED_IMG_CLASS, USERNAME_REGEX, PASTED_GIPHY_CLASS } from '@/ts/utils/consts'; import { MessageDataEncode, UploadFile } from '@/ts/types/types'; import { BlobType, CurrentUserSettingsModel, FileModel, MessageModel...
<filename>packages/txservice/src/dispatch.ts<gh_stars>100-1000 import { BigNumber, Signer, providers, utils } from "ethers"; import PriorityQueue from "p-queue"; import { createLoggingContext, delay, getUuid, jsonifyError, Logger, NxtpError, RequestContext, } from "@connext/nxtp-utils"; import interval fr...
<reponame>jstarpl/tv-automation-state-timeline-resolver import * as _ from 'underscore' import { DeviceWithState, CommandWithContext, DeviceStatus, StatusCode, IDevice } from './device' import { DeviceType, TimelineContentTypeLawo, MappingLawo, TimelineObjLawoSource, TimelineObjLawoAny, TimelineObjLawoEmber...
import { engineName, engineObjects, time, } from "./index"; import { mainContext, overlayCanvas, mainCanvas, drawLine, overlayContext, drawText, worldToScreen, setMainContext } from "./index"; import { gamepadsEnable, cameraPos, cameraScale } from "./index"; import { clamp, Color, formatTime, max, min, PI, Timer, vec2...
import { action, computed, IObservableValue, observable } from 'mobx'; import { AxisLinePosition, AxisTick, AxisTicksDimensions, computeAxisTicksDimensions, getAxisTicksPositions, mergeDomainsByGroupId, } from '../lib/axes/axis_utils'; import { CanvasTextBBoxCalculator } from '../lib/axes/canvas_text_bbox_c...
<filename>lib/controls/grid.ts import { UIElement, FrameworkElement, Panel, XamlReader, Size, Rect,SizeToContent, FrameworkPropertyMetadataOptions, NavigationContext, Vector } from '.' import { DependencyObject, DependencyProperty, TypeId, getTypeId, getObjectTypeId, ObservableCollection } from '..' import { ISupportCo...
export { default as AccountCircleFilled } from './AccountCircleFilled'; export { default as AccountCircleOutlined } from './AccountCircleOutlined'; export { default as AccountPinCircleFilled } from './AccountPinCircleFilled'; export { default as AccountPinCircleOutlined } from './AccountPinCircleOutlined'; export { def...
import { Calendar } from './enums' /* The locales argument is used to determine the locale used in a given operation. The JavaScript implementation examines locales, and then computes a locale it understands that comes closest to satisfying the expressed preference. locales may be: - undefined (or omitted): The...
<reponame>levirs565/compute-engine import type { Expression, MathJsonNumber, MathJsonSymbol, MathJsonFunction, MathJsonString, } from '../math-json/math-json-format'; import { Decimal } from 'decimal.js'; import { Complex } from 'complex.js'; import { Numeric } from '../math-json/compute-engine-interface'; /...
<reponame>SunLxy/carefree-utils // > 阳历和农历互转 从这个[solarday2lunarday](https://github.com/liquanjiang/solarday2lunarday) 中搬来改造的,去除了 dayjs import utils from './utils'; import { Festival } from './festival'; export * from './interface.d'; export type { Festival }; class Solar2lunar { /** * 数字与中文照表 * Unicode编码数组 *...
<reponame>tfwdev/platform<gh_stars>1-10 import {log} from "../core/util" import {Clock} from "../core/clock" import {refEquals} from "../core/data" import {BitSet, Disposable, PMap, Remover} from "../core/util" import {vec2} from "../core/math" import {ChangeFn, Eq, Subject, Stream, Emitter, Value} from "../core/react"...
/** * This is your TypeScript entry file for Foundry VTT. * Register custom settings, sheets, and constants using the Foundry API. * Change this heading to be more descriptive to your module, or remove it. * Author: [your name] * Content License: [copyright and-or license] If using an existing system * ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, Optional, Output, Renderer, ViewChild, ViewEncapsulation } from '@angular/core'; import { NgControl } from '@angular/forms'; import { Subject } from 'rxjs/Subject'; import 'rxjs/add/operator/takeUntil'; import { App } fr...
<reponame>nahual/cvlinked import puppeteer, { Page, Browser } from 'puppeteer' import treeKill from 'tree-kill'; import blockedHostsList from './blocked-hosts'; import { getDurationInDays, formatDate, getCleanText, getLocationFromText, statusLog, getHostname } from './utils' import { SessionExpired } from './errors';...
<gh_stars>0 import { ElementRef, NgZone, Renderer2, EmbeddedViewRef } from '@angular/core'; import { ViewportRuler } from '@angular/cdk/scrolling'; import { DragDropRegistryService } from './drag-drop-registry.service'; import { DraggableRef, DragHelperTemplate } from './draggable-ref'; import { Subscription, Subject }...
<gh_stars>1-10 /* * Adapted to deno from: * * [js-sha256]{@link https://github.com/emn178/js-sha256} * * @version 0.9.0 * @author Chen, Yi-Cyuan [<EMAIL>] * @copyright Chen, Yi-Cyuan 2014-2017 * @license MIT */ export type Message = string | number[] | ArrayBuffer; const HEX_CHARS = "0123456789abcdef".split(...