text
stringlengths
9.82k
47.8k
<reponame>sharekey/meteor import { Stats, BigIntStats, FSWatcher, Dirent } from "fs"; import * as files from "./files"; import * as safeWatcher from "./safe-watcher"; import { createHash } from "crypto"; import { coalesce } from "../utils/func-utils"; import { Profile } from "../tool-env/profile"; import { optimistic...
<gh_stars>0 import { stringify } from "@angular/compiler/src/util"; import { Upgrade } from "./upgrade.model"; function copyMap<TVal>(arr : {[key: string] : TVal}) : {[key:string]:TVal} { let result : {[key: string]:TVal} = {}; let keys = Object.keys(arr); keys.forEach(element => { result[element] =...
<filename>src/app/access/image-aly/image-aly.component.ts<gh_stars>0 import {AfterViewInit, Component, OnDestroy, OnInit, ViewChild, ViewChildren, ViewEncapsulation} from '@angular/core'; import {ActivatedRoute, Router} from "@angular/router"; import {LoadingService} from "../../services/loading.service"; import {Sampl...
import type { KintoRequest, HttpResponse, KintoObject, PaginatedParams, PaginationResult, HistoryEntry, HttpMethod, DataResponse, OperationResponse, BatchResponse, KintoBatchResponse, AggregateResponse, ServerSettings, HelloResponse, Permission, KintoResponse, MappableObject, KintoId...
import { CRLF, LAYOUT_IDX_SERIES_BASE, PLACEHOLDER_TYPES, SLDNUMFLDID, DEF_PRES_LAYOUT_NAME } from './core-enums' import { PowerPointShapes } from './core-shapes' import { ILayout, ISlideRel, ISlideRelChart, ISlideRelMedia } from './core-interfaces' import { encodeXmlEntities, genXml...
import React, { useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, } from "react"; import { scale, translate, compose, applyToPoint, Matrix, toSVG, inverse, identity, rotateDEG, } from "transformation-matrix"; import { GRID_SIZE } from ...
<gh_stars>1-10 /* Copyright 2016 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 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 ...
import { Neovim, Window } from '@chemzqm/neovim' import debounce from 'debounce' import { Disposable } from 'vscode-languageserver-protocol' import events from '../events' import extensions from '../extensions' import { IList, ListAction, ListContext, ListItem, ListOptions, Matcher } from '../types' import { disposeAll...
import _, { has } from 'lodash'; import cloneDeep from 'lodash/cloneDeep'; import defaults from 'lodash/defaults'; import { DataSourceInstanceSettings, DataQueryRequest, DataQueryResponse, DataSourceApi, dateMath, DataQueryError, CoreApp, TimeRange, AnnotationEvent, DataQueryResponseData, LoadingS...
import { DiscordClientWrapper } from '../../DiscordClientWrapper'; import * as Discord from 'discord.js'; import { CommonService as cs } from '../../services/common.service'; import { SqlServerService as sqlServerService, SqlUserRegisteryService as sqlUserRegisteryService } from '../../services/sql-services/sql...
import { createDeferredPromise, DeferredPromise, } from "alcalzone-shared/deferred-promise"; import { composeObject } from "alcalzone-shared/objects"; import * as fs from "fs-extra"; import * as path from "path"; import * as lockfile from "proper-lockfile"; import * as readline from "readline"; import * as stream fro...
<filename>query-planner-js/src/buildQueryPlan.ts import { isNotNullOrUndefined } from './utilities/predicates'; import { DocumentNode, FragmentDefinitionNode, getNamedType, getOperationRootType, GraphQLCompositeType, GraphQLError, GraphQLObjectType, GraphQLSchema, GraphQLType, isAbstractType, isCo...
// import { Component, OnInit } from '@angular/core'; import { CdkDragDrop, moveItemInArray, transferArrayItem, copyArrayItem } from '@angular/cdk/drag-drop'; import { SelectionModel } from '@angular/cdk/collections'; import { FlatTreeControl } from '@angular/cdk/tree'; import { Component, Injectable, ElementRef, ViewC...
// Overlord: this class represents a "process" that gets executed by one or more creeps import {CreepSetup} from '../creepSetups/CreepSetup'; import {profile} from '../profiler/decorator'; import {Colony} from '../Colony'; import {Zerg} from '../zerg/Zerg'; import {Tasks} from '../tasks/Tasks'; import {boostParts} fro...
/* * Copyright (C) 2016 Microsoft * * 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 the rights to * use, copy, modify, merge, publish, ...
import * as fs from 'fs-extra'; import { flatMap, padStart } from 'lodash'; import * as path from 'path'; import * as uuid from 'uuid/v4'; import { spawnPromise } from './utils/spawn'; import { Component, ComponentRef, featureAffinity, File, FileComponent, FileFolderTree, ...
import {Text} from "@codemirror/next/text" import {ChangeSet} from "@codemirror/next/state" import {RangeSet, SpanIterator} from "@codemirror/next/rangeset" import {DecorationSet, PointDecoration, Decoration, BlockType, addRange} from "./decoration" import {ChangedRange} from "./extension" import {Direction} from "./bi...
import React, { Component } from 'react' import { StyleSheet, Text, View, Image, Dimensions, TouchableNativeFeedback, InteractionManager, ActivityIndicator, Animated, Easing, FlatList, Linking, Alert } from 'react-native' import { updown, fav, close } from '../../dao/sync' import Ionicons fr...
import { ILayoutRestorer, IRouter, JupyterFrontEnd, JupyterFrontEndPlugin } from '@jupyterlab/application'; import { ICommandPalette, IThemeManager, MainAreaWidget, WidgetTracker } from '@jupyterlab/apputils'; import { IEditorServices } from '@jupyterlab/codeeditor'; import { ICompletionManager } fro...
/** * Copyright 2019 <NAME> <<EMAIL>> */ "use strict"; import { BulkFileHandle, Disposable, ViewerMetadata, FindOptions, FindStartPosition } from 'extraterm-extension-api'; import {WebComponent} from 'extraterm-web-component-decorators'; import { ExtratermAceEditor, TerminalRenderer } from "extraterm-ace-terminal-ren...
import * as React from 'react'; import * as ol from 'openlayers'; import * as gws from 'gws'; import * as template from 'gws/map/template'; import * as measure from 'gws/map/measure'; import * as style from 'gws/map/style'; import * as sidebar from './sidebar'; import * as toolbar from './toolbar'; import * as modify...
import Event, { CapsuledEvent } from "krevent"; import { asm, Register } from "./assembler"; import { CommandContext, MCRESULT } from "./bds/command"; import { CommandOrigin, ServerCommandOrigin } from "./bds/commandorigin"; import { Dimension } from "./bds/dimension"; import { ServerLevel } from "./bds/level"; import ...
// Other Metas plugin by Spandan 'use strict'; interface StoneDeltas { baseStats: {[stat in StatName]: number}; weighthg: number; type?: string; } type TierShiftTiers = 'UU' | 'RUBL' | 'RU' | 'NUBL' | 'NU' | 'PUBL' | 'PU' | 'NFE' | 'LC Uber' | 'LC'; function getMegaStone(stone: string, mod = 'gen8'): Item | null ...
import { lookupProfile, NAME_LOOKUP_PATH, UserSession } from '@stacks/auth'; import { BLOCKSTACK_DEFAULT_GAIA_HUB_URL, DoesNotExist, GaiaHubError, getGlobalObject, InvalidStateError, megabytesToBytes, PayloadTooLargeError, SignatureVerificationError, } from '@stacks/common'; import { eciesGetJsonStrin...
import { computed, defineComponent, ref, SetupContext, toRefs, watch, nextTick, getCurrentInstance, onMounted, onUpdated, provide, reactive, } from '@vue/composition-api'; // import SelectInput from '../select-input'; import Vue, { VNode } from 'vue'; import isFunction from 'lodash/isFunction'; ...
<filename>src/index.ts<gh_stars>0 'use strict'; //dts import {MapToTargetDirResult, INearestRunAndTransformRet, IMapCallback} from "suman-types/dts/suman-utils"; import {IGlobalSumanObj} from "suman-types/dts/global"; //polyfills const process = require('suman-browser-polyfills/modules/process'); const global = requi...
import { equals } from "../../Data/Eq" import { ident, thrush } from "../../Data/Function" import { fmap, fmapF } from "../../Data/Functor" import { over } from "../../Data/Lens" import { all, cons, Cons, elemF, filter, find, foldr, List, ListI, map, sortBy, subscriptF } from "../../Data/List" import { bind, ensure, fr...
<reponame>HenryFBP/wayward-close-da-door<filename>mod-reference/definitions/language/Messages.d.ts export declare const messages: Description<string>; export default messages; export declare function makeString(msg: Message | string, ...variables: any[]): string; export declare enum MessageType { None = 0, Bad ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // Data structures that represent a CRN that comes from Crn.gui. import * as $ from 'jquery'; import * as ko from 'knockout'; import * as CRNSettings from './crnSettings'; import { WebSharperGeneratedInterfaces as WGI } from "../../../CRNEngine...
import { ComboBox, IComboBox, IComboBoxOption } from 'office-ui-fabric-react/lib/ComboBox'; import * as Plotly from 'plotly.js-dist'; import React from 'react'; import { AccessibleChart, IPlotlyProperty, DefaultSelectionFunctions, PlotlyMode, IPlotlyAnimateProps, } from 'mlchartlib'; import { locali...
import React, { useState, useEffect } from 'react'; import { View, Text, Image, TextInput, TouchableOpacity, ScrollView, Button } from 'react-native'; import { database } from "../../storage/Database"; import { v4 as uuid } from 'uuid'; import styles from '../Style'; import { EventTypes } from '../../enums/EventTy...
// @ts-nocheck export function doStuff($root, param) { //do XYZ.. return 123... console.log($root); conosle.log(params); } export function funcQA($root) { // Exclude functional bold acquisitions have less than 50 volumes, // which are probably a restart or failure functional acquisition occurrenc...
import * as admin from "firebase-admin"; import * as betterAjvErrors from "better-ajv-errors"; import * as crypto from "crypto"; import * as firestore from "@google-cloud/firestore"; import * as functions from "firebase-functions"; import { API_ANIMATION_CREATE, API_ANIMATION_JSON, API_ANIMATION_VIDEO, API_FEED...
/** * * TypeScript version of https://github.com/soswow/fit-curves */ /** * @preserve JavaScript implementation of * Algorithm for Automatically Fitting Digitized Curves * by <NAME> * "Graphics Gems", Academic Press, 1990 * * The MIT License (MIT) * * https://github.com/soswow/fit-curves */ /* esli...
/*--------------------------------------------------------------------------------------------- * Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved. * Licensed under the MIT License. See LICENSE.md in the project root for license terms. *--------------------------------------------------------------...
<reponame>seraco/ej2-javascript-ui-controls import { isNullOrUndefined as NOU, BlazorDotnetObject, formatUnit, select } from '@syncfusion/ej2-base'; import { createElement, closest, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base'; import { Draggable, DragEventArgs, BlazorDragEventArgs, detach, EventHand...
<gh_stars>0 import {RcsbFvCore} from "./RcsbFvCore"; import { AlignedRegion, AlignmentResponse, Coverage, SequenceReference, TargetAlignment } from "../../RcsbGraphQL/Types/Borrego/GqlTypes"; import { RcsbFvDisplayTypes, RcsbFvLocationViewInterface, RcsbFvRowConfigInterface, RcsbFvT...
<gh_stars>1-10 import { App, ButtonComponent, Modal, Notice, Plugin, PluginSettingTab, Setting, TextComponent } from 'obsidian'; import { Moment } from "moment"; // Not in the API - see https://discord.com/channels/686053708261228577/840286264964022302/880329814731546634 declare module "obsidian" { interface Vault...
import { AfterContentInit, Directive, ElementRef, forwardRef, HostBinding, Input, OnDestroy, OnInit, Renderer2, Self, ContentChildren, QueryList, Host, SkipSelf, HostListener, Inject, Output, EventEmitter } from '@angular/core'; import { DOCUMENT } from '@angular/common'; import { MDCLineRippleFoundation, MDCLineRi...
<reponame>fishpercolator/uppload<filename>src/uppload.ts import { UpploadService } from "./service"; import { UpploadEffect } from "./effect"; import { setI18N, translate } from "./helpers/i18n"; import { getElements, safeListen, compressImage } from "./helpers/elements"; import { colorSVG } from "./helpers/assets"; im...
<reponame>AceFortress/awakened-poe-trade<gh_stars>0 import { CLIENT_STRINGS as _$, CLIENT_STRINGS_REF as _$REF, ITEM_BY_TRANSLATED, ITEM_BY_REF, STAT_BY_MATCH_STR, BaseType } from '@/assets/data' import { ModifierType, sumStatsByModType } from './modifiers' import { linesToStatStrings, tryParseTranslation, ...
<reponame>Munter/sonarwhal /** * @fileoverview Connector that uses the Chrome Debugging protocol * to load a site and do the traversing. It also uses request * (https:/github.com/request/request) to download the external * resources (JS, CSS, images). */ /* * -----------------------------------------------------...
/* * Copyright 2014-2016 <NAME> <<EMAIL>> * * This source code is licensed under the MIT license which is detailed in the LICENSE.txt file. */ import * as _ from 'lodash'; import {Logger, getLogger} from "extraterm-logging"; import { log } from "extraterm-logging"; const _log = getLogger("VirtualScrollableArea");...
<reponame>M1CH3L1US/watson import { AdapterRef } from '@core/adapters'; import { AstArgumentImpl, CommandAstImpl, CommandContainer, isGenericToken, isNumberToken, isParameterToken, isPrefixToken, NullToken, TokenImpl, TokenPositionImpl, } from '@core/command'; import { ContextInjector } from '@core/...
import { Situation, SituationEffect } from "../model/situation" import { TripSummary } from "../model/tripSummary" import { Couple, PeopleGraph } from "../model/peopleGraph" import { HumanTag, RelationshipTag } from "./entityTags" import { HumanName } from "./humans" import { LocationName } from "./locations" import { ...
<reponame>tailgo/Aurelion<filename>src/core/Geometry.ts import { EventDispatcher } from './EventDispatcher'; import { Face3 } from './Face3'; import { Object3D } from './Object3D'; import { BufferGeometry } from './BufferGeometry'; import { Sphere } from '../math/Sphere'; import { Box3 } from '../math/Box3'; import { V...
<reponame>arezd/blockchain-carbon-accounting<filename>supply-chain/lib/src/emissions-utils.ts import { BigNumber } from "bignumber.js"; import BCGatewayConfig from "emissions_data/src/blockchain-gateway/config"; import { IEthNetEmissionsTokenIssueInput, IEthTxCaller, } from "emissions_data/src/blockchain-gateway/I-...
import { InfoResponse, GameState, MoveResponse, Game, ICoord, Battlesnake, Board, IBoardCell, SnakeCell } from "./types" import { writeFile, createWriteStream } from 'fs'; let consoleWriteStream = createWriteStream("consoleLogs.txt", { encoding: "utf8" }) function logToFile(str: string) { console.log(str) conso...
import { computed, defineComponent, onMounted, reactive, ref, watch } from '@vue/composition-api' import './SimpleIonImageViewer.scss' import IonImageViewer from '../IonImageViewer' import fitImageToArea, { FitImageToAreaResult } from '../../lib/fitImageToArea' import { ImagePosition } from '../../modules/ImageViewer/i...
import { IListViewRow, ListViewCache } from "src/base/browser/secondary/listView/listCache"; import { IListViewRenderer, ListItemRenderer, PipelineRenderer, RendererType } from "src/base/browser/secondary/listView/listRenderer"; import { ScrollableWidget } from "src/base/browser/secondary/scrollableWidget/scrollableWid...
import * as constants from '@constants'; import * as vscode from 'vscode'; import axios from 'axios'; import * as jsforce from 'jsforce'; import * as xml2js from 'xml2js'; import { Logger, injectable, FileSystem } from '@vlocode/core'; import JsForceConnectionProvider from '@lib/salesforce/connection/jsForceConnection...
import styles from "styles/preview.module.scss"; import type { BasePost } from "types/post"; import NextImage from "next/image"; import NextLink from "next/link"; import moment from "moment"; import { NextSeo, ArticleJsonLd } from "next-seo"; import { useRouter } from "next/router"; import { DUMMY_PARAGRAPH } from "lib...
<gh_stars>0 // spell-checker:ignore (jargon) distro falsey truthy // spell-checker:ignore (js/ts) gmsu // spell-checker:ignore (names) Alacritty Cmder ConEmu Deno EditorConfig // spell-checker:ignore (modules) stringz // spell-checker:ignore (yargs) positionals import { $cliffyTable, $colors, $fs, $path } from './$dep...
import fs from 'fs' import path from 'path' import * as api from '../../lib/api' import per from '../permission/permission' try { fs.mkdirSync(path.join(api.Data, './chess/user')) fs.mkdirSync(path.join(api.Data, './chess/config')) fs.mkdirSync(path.join(api.Data, './chess/list')) } catch (error) { } ...
/** * Copyright 2020 Opstrace, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
<reponame>maksonlee/android-uiconductor<gh_stars>100-1000 // Copyright 2021 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....
import { Object3D, Quaternion, Vector3, Matrix4, Intersection, OrthographicCamera } from 'three'; import { PointerTracker } from './core/Pointers'; import { AnyCameraType, UNIT } from './core/ControlsBase'; import { ControlsInteractive } from './core/ControlsInteractive'; import { TransformHelper } from './TransformH...
<filename>packages/element/scripts/docs/docs.ts import { join, relative, resolve, isAbsolute } from 'path' import * as camelcase from 'lodash.camelcase' // import * as upperFirst from 'lodash.upperfirst' import * as glob from 'glob' import { mkdirpSync, copySync, createFileSync, writeFileSync, readFileSync } from 'fs-e...
import { Background as BackgroundDefinition } from "./background"; import { View, Point } from "../core/view"; import { Color } from "../../color"; import { ios as utilsIos, isDataURI, isFileOrResourcePath, layout } from "../../utils/utils"; import { fromFileOrResource, fromBase64, fromUrl } from "../../image-source"; ...
// ***************************************************************************** // Copyright 2013-2017 Aerospike, 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...
import * as React from 'react'; import { Arbeidsform, Oppholdsperiode, Periodetype, Utsettelsesperiode, UtsettelseÅrsakType, TilgjengeligStønadskonto, Periode, isUtsettelsesperiode, } from '../../../../types/uttaksplan/periodetyper'; import UtsettelsePgaSykdomPart, { UtsettelsePgaSykdom...
<gh_stars>0 import { ReactComponent as Activity } from './svg/activity.svg'; import { ReactComponent as Airplay } from './svg/airplay.svg'; import { ReactComponent as AlertCircle } from './svg/alert-circle.svg'; import { ReactComponent as AlertOctagon } from './svg/alert-octagon.svg'; import { ReactComponent as Ale...
<gh_stars>0 import { html, css, LitElement, svg, } from 'lit-element'; import { spread } from '@open-wc/lit-helpers'; import { nodeStrokeWidth, getGroupForResult } from './support/StatusIcons'; import './support/truncating-label'; import { CompositeConnection, decodeResultValue, defaultLayout, NodeLabelInfo, Layo...
import type { BoostID, BoostsTable, Generation, Specie, StatID, StatsTable, } from '@pkmn/data'; import {Context} from './context'; import {encode} from './encode'; import {Appliers, Handlers, HANDLERS} from './mechanics'; import {State} from './state'; import {DeepReadonly, extend, is} from './utils'; imp...
import BN from 'bn.js' import hashJS from 'hash.js' import assert from 'assert' import * as RSV from 'rsv-signature' import * as elliptic from 'elliptic' import keccak256 from 'keccak256' import { soliditySha3 } from 'web3-utils' import { hexToBuffer, hexToArray, hexToBinary, removeHexPrefix, sanitizeBytes, ...
import React, { Fragment, ReactNode, CSSProperties, MouseEvent } from 'react'; import ReactDOM from 'react-dom'; import cls from 'classnames'; import PropTypes from 'prop-types'; import CascaderFoundation, { /* Corresponding to the state of react */ BasicCascaderInnerData, /* Corresponding to the props of r...
<gh_stars>0 const locales: {[key: string]: string; } = { af: 'Afrikaans', 'af-NA': 'Afrikaans (Namibia)', 'af-ZA': 'Afrikaans (South Africa)', ak: 'Akan', 'ak-GH': 'Akan (Ghana)', sq: 'Albanian', 'sq-AL': 'Albanian (Albania)', 'sq-XK': 'Albanian (Kosovo)', 'sq-MK': 'Albanian (Macedonia)', am: 'Amhar...
<filename>CharacterOverlay.ts /// <reference types="rpgmakermv_typescript_dts" /> /*: * @plugindesc 常時立ち絵を表示します * * @author Narazaka (https://narazaka.net/) * * @param align * @desc 寄せ方向 = left | right * @default right * * @param pack * @desc キャラが非表示になったときその分を寄せるか = true | false * @default true...
<gh_stars>0 import type * as Chalk from 'chalk'; import type * as Configstore from 'configstore'; import * as fs from 'fs'; import type { Inquirer } from 'inquirer'; import type * as JMESPath from 'jmespath'; import type * as Markshell from 'markshell'; import * as minimist from 'minimist'; import * as os from 'os'; im...
<reponame>mgit-at/typescript-flatbuffer-codegen<gh_stars>1-10 const int32 = new Int32Array(2); const float32 = new Float32Array(int32.buffer); const float64 = new Float64Array(int32.buffer); const isLittleEndian = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1; const SIZEOF_SHORT = 2; const SIZEOF_INT = 4; co...
<gh_stars>1-10 /*! * Copyright 2021 Cognite AS */ // TODO 2021-11-08 larsmoa: Enable explicit-module-boundary-types for ComboControls /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ import { EventDispatcher, MOUSE, Spherical, Vector2, Vector3, Raycaster, PerspectiveCamera, Orth...
import * as I from 'immutable' import * as Types from './types/wallets' import * as RPCTypes from './types/rpc-stellar-gen' import * as Styles from '../styles' import {AllowedColors} from '../common-adapters/text' import {assertionToDisplay} from '../common-adapters/usernames' import * as Tabs from './tabs' import * as...
<reponame>hightouchio/typesuite<gh_stars>10-100 export type VsoeDeferral = | "_deferBundleUntilDelivered" | "_deferUntilItemDelivered"; export type RevenueCommitStatus = | "_committed" | "_partiallyCommitted" | "_pendingCommitment"; export type PostingPeriodDate = | "_firstFiscalQuarterOfLastFy" | "_fir...
/* eslint sort-keys: "off" */ import type { ObjectPath } from '../../utils/PathTracker'; const ValueProperties = Symbol('Value Properties'); interface ValueDescription { pure: boolean; } interface GlobalDescription { [pathKey: string]: GlobalDescription | null; [ValueProperties]: ValueDescription; __proto__: nu...
import { dirname, join, basename, isAbsolute, resolve } from 'path'; import { isArray } from 'lodash'; import type { WebpackAppConfig , WebpackModule , WebpackModuleConfiguration, WebpackRule } from './index.d'; import type { BuildConfig } from 'mmir-tooling'; import fileUtils from 'mmir-tooling/utils/filepa...
<gh_stars>0 import {Component, EventEmitter, Inject, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewChild, ViewContainerRef} from "@angular/core"; import {FormControl, FormGroup} from "@angular/forms"; import {MatStepper} from "@angular/material/stepper"; import {TdDialogService} from "@covalent/core/d...
<filename>packages/core/src/color.ts /** * Theme definitions for styled components */ type RGB = readonly [number, number, number] /** * Create a color that is a shade of grey * @param brightness The level of white in grey (0 = black, 100 = white) */ export const grey = (brightness = 100): RGB => { const l = Ma...
/* * completionProvider.ts * Copyright (c) Microsoft Corporation. * Licensed under the MIT license. * Author: <NAME> * * Logic that maps a position within a Python program file into * a list of zero or more text completions that apply in the context. */ import { CompletionItem, CompletionItemKind, CompletionList, ...
/** * RichText is a container that manages complex text label. * It will parse text string and create sub displayble elements respectively. */ import { TextAlign, TextVerticalAlign, ImageLike, Dictionary, MapToType } from '../core/types'; import { parseRichText, parsePlainText } from './helper/parseText'; import TSp...
import { CellEditingStoppedEvent, ColDef, ColGroupDef, ColumnApi, ColumnMovedEvent, ColumnResizedEvent, ColumnVisibleEvent, GetContextMenuItemsParams, GridApi, GridReadyEvent, RowClickedEvent, RowDataUpdatedEvent, RowDoubleClickedEvent, RowNode, RowSelectedEvent, SelectionChangedEvent, ...
import { EMPTY_STRING, SWU_OPPORTUNITY_SCOPE_CONTENT_ID } from 'front-end/config'; import { getAlertsValid, getContextualActionsValid, getMetadataValid, makePageMetadata, makeStartLoading, makeStopLoading, updateValid, viewValid } from 'front-end/lib'; import { Route, SharedState } from 'front-end/lib/app/types'; impor...
const util = require('util'); import { readdirSync, unlinkSync } from 'fs'; import { normalize, join } from 'path'; import { forEach, keys, indexOf, has, some, lowerFirst, kebabCase, snakeCase, upperFirst, endsWith, find, each, uniqBy, uniq, isNil } from 'lod...
<filename>src/domain/networking/udt/PacketHeaders.ts<gh_stars>0 // // PacketHeaders.ts // // Created by <NAME> on 7 Jun 2021. // Copyright 2021 Vircadia contributors. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // ...
//****************************************************************************************************** // Trending.tsx - Gbtc // // Copyright © 2020, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // ...
import { alias, AliasedReferenceSql, AliasSqlExpression, createAliasedResultColRef, isJoin, isResultsetColumn, isResultsetColumnRefFn, join } from './SQLExpression'; import {tbl} from './sqlTableQuery'; import { IFieldsMemberFn, IFromClause, IJoin, IOrderByClause, IOrderByFn, IQryCallback, ...
/* eslint-disable react/no-deprecated */ /* eslint-disable react/no-unused-prop-types */ /* eslint-disable react/require-default-props */ /* eslint-disable @typescript-eslint/member-ordering */ import { BaseCommandBox, CommandEventType, ITool } from '@turbox3d/command-manager'; import { CoordinateController, Coordinate...
<gh_stars>1-10 import tls from 'tls'; import net from 'net'; import util from 'util'; import EventEmitter from 'events'; import * as T from './TMITypes'; import winston from 'winston'; declare var logger: winston.Logger; interface ITMIOptions { host?: string; port?: number; auto_reconnect?: boolean; } /** * Thi...
import { modifyCSS, createDom } from '@antv/dom-util'; import { IAbstractGraph as IGraph, GraphData, ShapeStyle } from '@antv/g6-core'; import Base from '../base'; import { isArray, isNumber, uniqueId } from '@antv/util'; import { Util } from '@antv/g6-core'; import { Canvas } from '@antv/g-canvas'; const ALLOW_EVENTS...
<gh_stars>0 import WebSocketServer from "./WebSocketServer"; const fs = require('fs'); const path = require('path'); const bodyParser = require('body-parser'); const cookieParser = require('cookie-parser'); const session = require('express-session'); const express = require('express'); co...
import { AvatarImageEnum, AvatarFaceEnum, } from './pixiUtils/metaData/ImageMetaData'; import RTCSignalingHelper, {IceDto, OfferAnswerDto} from './RTCSignalingHelper'; import {Formant} from './pixiUtils/metaData/ImageMetaData'; /** * DataDto 의 type enum */ export enum DataDtoType { PLAYER_INFO, CHAT_MESSAGE,...
<gh_stars>10-100 import { ComputeEngine } from './compute-engine-interface'; import { Expression } from './math-json-format'; /** * A `LatexToken` is a token as returned by `Scanner.peek`. * * It can be one of the indicated constants, or a string that starts with a * `\` for LaTeX commands, or another LaTeX charac...
/* * Power BI Visualizations * * 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 restrict...
import * as React from "react"; import { $Page, $StackLayout, $GridLayout, $Label, $ActionBar, $ActionItem, $NavigationButton, $Image, $TextField, $TextView, $ScrollView, $ListView, $FlexboxLayout, $Button } from "react-nativescript"; import { ItemSpec } from "tns-core-modules/ui/layouts/grid-layout/grid-layout"; impor...
<reponame>nizarbg96/packways-front import {Component, Inject, OnDestroy, OnInit, Type} from '@angular/core'; import {MatDialog, MatDialogRef, MatSnackBar, MAT_DIALOG_DATA} from '@angular/material'; import {Runsheet} from 'src/app/model/runsheet.model'; import {TripService} from '../../trips/trips.service'; import {Runs...
import {promisify} from 'util'; import fs from 'fs'; import {determineUserAgent} from '@mashroom/mashroom-utils/lib/user_agent_utils'; import context from '../context/global_portal_context'; import minimalLayout from '../layouts/minimal_layout'; import { PORTAL_APP_API_PATH, PORTAL_JS_FILE, PORTAL_THEME_RE...
import { mapValues, capitalize } from 'lodash'; enum Skill { OVERALL = 'overall', ATTACK = 'attack', DEFENCE = 'defence', STRENGTH = 'strength', HITPOINTS = 'hitpoints', RANGED = 'ranged', PRAYER = 'prayer', MAGIC = 'magic', COOKING = 'cooking', WOODCUTTING = 'woodcutting', FLETCHING = 'fletching...
// @generated: @expo/next-adapter@2.1.9 import "./_app.css"; import React from "react"; import { tw, Text, View } from "tw-rn"; import { ScrollView } from "react-native"; const layoutStyles = [ "hidden", "block", "flow-root", "inline-block", "inline", "flex", "inline-flex", "grid", "inline-grid", "...
import React, { Component, createRef, RefObject } from 'react'; import { Animated, GestureResponderEvent, InteractionManager, PanResponder, PanResponderGestureState, StyleSheet, View, } from 'react-native'; import { Vec2D, ReactNativeZoomableViewProps, ReactNativeZoomableViewState, TouchPoint, ...
<filename>src/kh2fm/scenes.ts import * as MAP from './map'; import * as Viewer from '../viewer'; import { FakeTextureHolder } from '../TextureHolder'; import { GfxDevice } from '../gfx/platform/GfxPlatform'; import { SceneContext } from '../SceneBase'; import { textureToCanvas, textureAnimationToCanvas, KingdomHeartsI...
<reponame>yeerkkiller1/mp4-typescript<filename>src/media/create-mp4.ts import { NALType, SPS, PPS, NALList, NALListRaw, NALRawType, EmulationPreventionWrapper, NAL_SPS, NALCreateNoSizeHeader, NALLength } from "../parser-implementations/NAL"; import { TemplateToObject, SerialObject } from "../parser-lib/SerialTypes"; ...