text
stringlengths
9.82k
47.8k
import React from "react" import { PageProps } from "gatsby" import i18n from "i18next" import SEO from "../../../../components/layout/seo" import { useCustomTranslation } from "../../../../i18n-hook" import { Comments } from "../../../../components/core/comments" import translationFr from "../../../../locales/fr/asia/...
import { Wiki } from './api'; import { wikiTextToEmoji } from './text-to-emoji'; import * as htmlToText from 'html-to-text'; import { titleCase } from 'title-case'; import fetch from 'node-fetch'; interface Card { [key: string]: string; name: string; // Card Name rarity: string; // Star code: string; // fullCa...
<gh_stars>0 import { HttpStatus, Injectable, HttpService } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { UsersDTO } from '../users/users.model'; import { AssignOrderDTO, BuyNowDTO, DeliveryType, OrderRatingDTO, OrdersDTO, OrderStatus, OrderStatusDTO, X...
<reponame>brillout/wildcard-api-old<filename>server/WildcardServer.ts // @ts-ignore import { stringify, parse } from "@brillout/json-s"; import { autoLoadEndpointFiles } from "./autoLoadEndpointFiles"; import { assert, assertUsage, getUsageError, UsageError, setProjectInfo, } from "@brillout/assert"; // @ts-i...
'use strict'; import * as vscode from 'vscode'; class DoxygenParseException extends Error { constructor(message: string) { super(message); this.name = "Doxygen Parsing Exception"; } } function doxyFormatText(text: string, reflow, baseIndent=0) { if (reflow) { var minIndent = getCon...
import React, { useState } from 'react'; import logo from './logo.png'; import doclogo from './microsoft-translator.jpg' import './custom.css'; import Cookie from 'universal-cookie'; //Speech imports import { ResultReason, TranslationRecognizer, TranslationRecognitionEventArgs, SessionEventArgs, // Transl...
<filename>src/marker/MarkersLayer.ts<gh_stars>0 import { lighten, optionsMerge } from '../utils/index' import { DataListItem, ChannelFunc, ILayer } from '../definitions' import Marker from './Marker' /** 渲染样式 散点|热力图 */ type MarkersLayerRenderType = 'point' | 'heat' | 'cluster' | 'bubble' /** 渲染颜色样式 单色|分段|分类 */ type M...
import * as React from "react"; import Image from "next/image"; import { Check24 } from "./icons/CheckIcon"; import { Field } from "formik"; import { FormValues, washTierPrice, WashPricingTier, washTierCategory, AddonService, addonServicePrices, detailingBasePrice, } from "apis/pricing"; import cx from "c...
<gh_stars>0 import mx from "mx"; import { HoverIcons } from "ui/graph/HoverIcons"; const { mxRectangle, mxDragSource, mxResources, mxClient, mxUtils, mxConstants, mxPoint, mxEvent, } = mx; export class DragSource { graph: any; editorUi: any; updateThread: any; isDropStyleEnabled: any; triangl...
import _assert from "https://deno.land/std@0.93.0/node/assert.ts"; import { Duplex } from "https://deno.land/std@0.93.0/node/stream.ts"; import { Buffer } from "https://deno.land/std@0.93.0/node/buffer.ts"; import type { Frame } from "./frames.ts"; import type { Connection } from "./conn.ts"; const assert = _assert ...
import React, { useContext, useEffect, useState } from "react"; import { ThemeContext } from "styled-components"; import { BigNumber } from "@ethersproject/bignumber"; import Column from "../../components/Column"; import Spacer from "../../components/Spacer"; import { getAccountAssets, getAccountBalance } from "../../u...
import { CountryNames } from './types'; export const countryNames: CountryNames = { AD: { zoneName: 'Andorra' }, AE: { zoneName: 'United Arab Emirates' }, AL: { zoneName: 'Albania' }, AM: { zoneName: 'Armenia' }, AR: { zoneName: 'Argentina' }, AT: { zoneName: 'Austria' }, 'AUS-ACT': { zoneName: 'Unknown'...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** @jsx jsx */ import { jsx } from '@emotion/core'; import React, { useState, Fragment, useEffect } from 'react'; import formatMessage from 'format-message'; import { Link, PrimaryButton, DefaultButton, Pivot, PivotItem, Dialog, ...
/* eslint no-console:"off" */ "use string"; import * as async from "async"; import * as _ from "underscore"; import * as chalk from "chalk"; import { callbackify } from "util"; import { markdownTable } from "markdown-table"; import { OPCUAClient, AttributeIds, MessageSecurityMode, SecurityPolicy, StatusCode...
<gh_stars>0 /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------...
<filename>src/laika.ts /* eslint-disable @typescript-eslint/member-ordering,@typescript-eslint/no-shadow,max-classes-per-file */ /** * {@link Laika | `Laika`} is the place where most of the magic happens. * All the operations are routed through its Apollo Link, and Laika can decide what happens to them along the way....
<reponame>Quanyails/Pokemon-Showdown /** * A sample teams plugin * * @author Kris */ import {FS, Utils} from "../../lib"; const SAMPLE_TEAMS = 'config/chat-plugins/sample-teams.json'; interface SampleTeamsData { whitelist: {[formatid: string]: RoomID[]}; /** Teams are stored in the packed format */ teams: { ...
<gh_stars>0 /* eslint-disable no-unused-vars */ export enum ETimezones { UTC = 'UTC', AfricaAbidjan = 'Africa/Abidjan', AfricaAccra = 'Africa/Accra', AfricaAddisAbaba = 'Africa/Addis_Ababa', AfricaAlgiers = 'Africa/Algiers', AfricaAsmara = 'Africa/Asmara', AfricaBamako = 'Africa/Bamako', AfricaBangui = ...
<filename>ui/raidboss/data/03-hw/dungeon/gubal_library_hard.ts import Conditions from '../../../../../resources/conditions'; import NetRegexes from '../../../../../resources/netregexes'; import { Responses } from '../../../../../resources/responses'; import ZoneId from '../../../../../resources/zone_id'; import { R...
<reponame>WEBZCC/webclient import { AfterViewInit, ChangeDetectorRef, Component, ElementRef, HostListener, Input, OnInit, ViewChild, } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap'; import { Store } from...
<gh_stars>0 import Doc from './doc' import State from './state' import RegistrationPage from './register' import LoginPage from './login' import WalletsPage from './wallets' import SettingsPage from './settings' import MarketsPage from './markets' import OrdersPage from './orders' import OrderPage from './order' import...
/* Copyright Contributors to the Open Cluster Management project */ import { AcmPageHeader } from '@open-cluster-management/ui-components' import { ActionGroup, ActionList, ActionListGroup, ActionListItem, Alert, AlertGroup, Button, DescriptionList, DescriptionListDescription, De...
/** * provides a template wrapper around an application for including CLUE. Includes the common frame for switching modes, provenance, and story visualizations * * Created by <NAME> on 27.08.2015. */ import * as template from 'html-loader!./_template.html'; import {hash, mixin} from 'phovea_core/src/index'; impor...
/* * Planck.js * The MIT License * Copyright (c) 2021 <NAME>, <NAME> * * 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 * t...
import { NorthMessage, SlashCommand, NorthClient, NorthInteraction } from "../../classes/NorthClient"; import * as Discord from "discord.js"; import * as moment from "moment"; import formatSetup from "moment-duration-format"; import { color, createEmbedScrolling, findRole, findUser, getFetch, getRandomNumber, getWithW...
<reponame>Qymh/q-select import Touch from './touch'; import Dom from './dom'; import { assert, isPlainObj, tips, isPlainNumber, deepClone } from './uitls'; let id = 0; class Layer { // 当前id public id: number; // 当前内联target public target: Element | null; // 配置 public $options: QOptions; // 下拉展示数量 p...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. 'use strict'; import { errors } from 'azure-iot-common'; import * as machina from 'machina'; import * as tss from 'tss.js'; import { Tpm, TPM_HANDLE, TPM_ALG_ID, TPM_RC...
/** * @file Pdb Parser * @author <NAME> <<EMAIL>> * @private */ import { Matrix4 } from 'three' import { Debug, Log, ParserRegistry } from '../globals' import { defaults } from '../utils' import StructureParser from './structure-parser' import Entity, { EntityTypeString } from '../structure/entity' import Unitcel...
import type { Room } from "../rooms"; import type { BaseCommandDefinitions } from "../types/command-parser"; import type { IDatabase, ITournamentTrainerCard } from "../types/storage"; import type { User } from "../users"; import { TrainerPicker } from "./components/trainer-picker"; import type { ITrainerPick } from "./...
<reponame>restorecommerce/libs import { RoleAssociation, UserScope, Subject, PolicySetRQ, Effect, PolicySetRQResponse, AttributeTarget, Attribute, HierarchicalScope, FilterOperation, OperatorType, ResourceFilterMap, CustomQueryArgs, Decision, DecisionResponse, Resource, AuthZAction, ResolvedSubject, Obligation } ...
<reponame>GEE-ORG/GeeTailor<filename>src/index.ts import { assign, nextTick, toBlob, toUrl, pointInArea, setCursor } from './utils'; type Mode = 'avatar' | 'free'; type MaskType = 'circle' | 'rect'; interface ctrlState { isInCtrl: boolean, dir: 'n'|'e'|'w'|'s'|'nw'|'ne'|'se'|'sw',...
import {ModelType} from "skinview-utils"; import { BoxGeometry, BufferAttribute, DoubleSide, FrontSide, Group, Mesh, MeshStandardMaterial, Object3D, Texture, Vector2, } from "three"; function setUVs( box: BoxGeometry, u: number, v: number, width: number, height: number, depth: number, textureWidth: nu...
import * as child_process from 'child_process'; import { ExecException } from 'child_process'; import * as fs from 'fs'; import { stat } from 'fs/promises'; import * as https from 'https'; import * as path from 'path'; import { match } from 'ts-pattern'; import * as url from 'url'; import { promisify } from 'util'; imp...
var ejs = require("ejs"); var fs = require("fs"); var https = require("https"); var path = require("path"); ejs.delimiter = "\n"; interface SpecializationTocRef { name: string; path: string; } interface SdkDoc { funcName: string; apiDocKeys: string[]; } interface SdkGlobals { argsByName: any; ...
<filename>src/core/editor.ts import { getType, createElement, createSVGElement, recursive, intersects, setStandardCoordinate, createModelId } from '@/tools'; import Graphics from '../graphics/graphics'; import Transform, { globalTransform } from './transform'; import Beeline from '@/graphics/beeline'; import { Selector...
<reponame>k-czajka/fh import {InputText} from "./InputText"; import {FhContainer, FormsManager, HTMLFormComponent} from 'fh-forms-handler'; import getDecorators from "inversify-inject-decorators"; let {lazyInject} = getDecorators(FhContainer); class Combo extends InputText { @lazyInject("FormsManager") protec...
<filename>packages/rollup-core/src/types/opcodes.ts import { bufToHexString, remove0x } from '@eth-optimism/core-utils' export interface EVMOpcode { name: string code: Buffer programBytesConsumed: number } export interface EVMOpcodeAndBytes { opcode: EVMOpcode consumedBytes: Buffer tag?: OpcodeTag } expo...
<reponame>rolldone/ngi-sync<gh_stars>1-10 import BaseModel, { BaseModelInterface } from "@root/base/BaseModel"; import Rsync from "@root/tool/rsync"; import { CliInterface } from "../services/CliService"; import Config, { ConfigInterface } from "./Config"; import * as upath from "upath"; import * as child_process from ...
import * as I from '../lib/interfaces' import 'mocha' import assert from 'assert' import {queryTypes} from '../lib/qrtypes' import sel from '../lib/sel' import {vCmp, vDec, V_EMPTY, vToRange} from '../lib/version' import {bitHas} from '../lib/bit' import {subResults} from '../lib/subvalues' import {inspect} from 'util'...
import './Hyd.scss'; import ReactDOM from 'react-dom'; import React, { useEffect, useState } from 'react'; import { SimVarProvider, useSimVar } from '@instruments/common/simVars'; import { getRenderTarget, setIsEcamPage } from '@instruments/common/defaults'; import { ptuArray, levels } from './common'; import { Triangl...
export type Maybe<T> = T | null; export type InputMaybe<T> = Maybe<T>; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }; export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [Sub...
<filename>projects/angular-odata/src/lib/models/options.ts<gh_stars>0 import { Subscription } from 'rxjs'; import { DEFAULT_VERSION, COMPUTED, OPTIMISTIC_CONCURRENCY } from '../constants'; import { ODataStructuredTypeFieldParser } from '../parsers'; import { Expand, ODataEntitiesAnnotations, ODataEntityAnnotation...
<reponame>ryanheath/ravendb<filename>src/Raven.Studio/typescript/widgets/virtualGrid/virtualGrid.ts /// <reference path="../../../typings/tsd.d.ts"/> import virtualRow = require("widgets/virtualGrid/virtualRow"); import itemFetch = require("widgets/virtualGrid/itemFetch"); import virtualColumn = require("widgets/...
<reponame>GutenbergHealthHub/Meine-Stadt-rettet-Backend /* * Copyright [2020] Universitä<NAME>, Gutenberg Health Hub * * 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....
<gh_stars>1-10 export interface Multiplier { rank: number; level: number; multiplier: number; } export const MultiplierList: Multiplier[] = [ { rank: 1, level: 1, multiplier: 1.0000000002328306 }, { rank: 1, level: 2, multiplier: 1.0759493673391216 }, { rank: 1, level: 3, multiplier: 1.1645569622964611 }, ...
<filename>src/app/loadout/mod-assignment-utils.ts import { UpgradeSpendTier } from '@destinyitemmanager/dim-api-types'; import { D2ManifestDefinitions } from 'app/destiny2/d2-definitions'; import { DimItem, PluggableInventoryItemDefinition } from 'app/inventory/item-types'; import { Assignment, PluggingAction } from 'a...
import * as org from 'aws-sdk/clients/organizations'; import { Organizations, OrganizationalUnit } from '@aws-accelerator/common/src/aws/organizations'; import { AcceleratorConfig, AcceleratorUpdateConfig, AccountsConfig } from '@aws-accelerator/common-config/src'; import { ServiceControlPolicy, FULL_AWS_ACCESS_POLICY_...
<reponame>Meysamsarabadani/devtools-frontend // Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /* eslint-disable rulesdir/no_underscored_properties */ import * as Common from '../../core/common/common.js...
/* eslint-disable @typescript-eslint/restrict-plus-operands */ import axios, {AxiosRequestConfig} from 'axios'; import MetatypeKeyMapper from './metatype_key_mapper'; import Result from '../../../../common_classes/result'; import Logger from '../../../../services/logger'; import ContainerRepository from '../../../repos...
<filename>src/commands/gitCommands.ts 'use strict'; import { Disposable, InputBox, QuickInputButton, QuickInputButtons, QuickPick, QuickPickItem, window } from 'vscode'; import { configuration, GitCommandSorting } from '../configuration'; import { Usage, WorkspaceState } from '../constants'; import { Container } from '...
import * as React from 'react'; import { findDOMNode } from 'react-dom'; import { IProcessedStyleSet } from '../../Styling'; import { initializeComponentRef, EventGroup, IDisposable, css, getRTL, getId, KeyCodes, classNamesFunction, } from '../../Utilities'; import { IColumn, IDetails...
import SteamID from 'steamid'; import SKU from 'tf2-sku-2'; import pluralize from 'pluralize'; import Currencies from 'tf2-currencies-2'; import validUrl from 'valid-url'; import child from 'child_process'; import fs from 'graceful-fs'; import sleepasync from 'sleep-async'; import path from 'path'; import dayjs from 'd...
/*-------------------------------------------------------------------------- zero The MIT License (MIT) Copyright (c) 2019 <NAME> (sinclair) <<EMAIL>> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Sof...
/** * .kara.json files generation */ import { promises as fs } from 'fs'; import { copy } from 'fs-extra'; import {convertKarToAss as karToASS, parseKar} from 'kar-to-ass'; import {convertKfnToAss as karafunToASS, parseKfn} from 'kfn-to-ass'; import {extname, resolve} from 'path'; import {convertToASS as toyundaToAS...
/** * Copyright 2020 Baidu 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 applica...
// vendor (node_modules) import * as io from 'socket.io-client'; import { PlayerCore, ICoreOptions, PlayerSound, ISoundAttributes, } from 'web-audio-api-player'; // library import { PlayerVisualizer } from '../library/player/visualizer'; const ProgressBar = require('progressbar'); export interface IPlayersData { ...
/** * @license * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
<reponame>basarat/alm<filename>src/server/workers/lang/projectService.ts /** * The stuff from project that the frontend queries. * Stuff like autocomplete is a good example. * Errors etc are pushed automatically from `activeProject` and do not belong here :) */ import { Project } from "./core/project"; import * as...
<filename>src/sdk/components/XMLGauges/XMLGaugeAdapter.ts<gh_stars>0 /// <reference types="msfstypes/Pages/VCockpit/Instruments/Shared/utils/XMLLogic" /> /// <reference types="msfstypes/Pages/VCockpit/Instruments/Shared/BaseInstrument" /> import { EventBus } from '../../data'; import * as d from './GaugeDefinitions'; ...
<reponame>pavel-petrenko/babel import type { NodePath, Scope } from "@babel/traverse"; import { types as t, template } from "@babel/core"; import syntaxDecorators from "@babel/plugin-syntax-decorators"; import ReplaceSupers from "@babel/helper-replace-supers"; import splitExportDeclaration from "@babel/helper-split-exp...
<reponame>sgratzl/lineupengine import { ABORTED, IAbortAblePromise, isAbortAble } from './abortAble'; import { defaultPhases, EAnimationMode, IAnimationContext, IAnimationItem, IPhase, noAnimationChange, } from './animation'; import KeyFinder from './animation/KeyFinder'; import { addScroll, clear, defaultM...
<reponame>StareIntoTheBeard/react-intl<gh_stars>0 /* * Copyright 2015, Yahoo Inc. * Copyrights licensed under the New BSD License. * See the accompanying LICENSE file for terms. */ import * as React from 'react'; import {Context} from './injectIntl'; import {MessageDescriptor} from '../types'; const shallowEquals ...
const command = figma.command; const doc = figma.root; const currentPage = figma.currentPage; const selectedLayers = currentPage.selection; const exportOptions = [ {scale: 1, dir: 'drawable-mdpi/'}, {scale: 1.5, dir: 'drawable-hdpi/'}, {scale: 2, dir: 'drawable-xhdpi/'}, {scale: 3, dir: 'drawable-xxhdp...
<gh_stars>1-10 // pathfinder/client/src/meshes.ts // // Copyright © 2017 The Pathfinder Project Developers. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option....
import GameBase from './game-base'; import Discord, { Message, MessageEmbed, MessageReaction, User } from 'discord.js'; import GameResult, { ResultType } from './game-result'; import Position from './position'; const reactions = new Map([ ["1️⃣", 0], ["2️⃣", 1], ["3️⃣", 2], ["4️⃣", 3], ["5️⃣", 4], ...
declare var acquireVsCodeApi: any; declare var document: Document; declare var window: Window & typeof globalThis; declare var navigator: Navigator; declare var dataBuffer: Uint8Array; const vscode = acquireVsCodeApi(); /** * This js script parses a file, does all the decoding and presents the * data in the webvie...
import { is, toArray, each } from 'shared' import * as G from 'shared/globals' import { Animatable, Animation, AnimationList, AnimationMap, AnimationProps, AnimatedNodes, SpringAsyncFn, SpringConfig, SpringUpdate, ToProp, } from './types/spring' import { StringKeys, Indexable, OnEnd, Falsy, Merge } ...
<filename>src/Terrain.ts ///<reference path="webgl.ts"/> let _programTerrain: WebGLProgram; let _programMap: WebGLProgram; const enum TerrainTypes { Sea, Beach, Land, LandingPad, AlienBuilding } enum TerrainEntityTypes { None, // 0 Bush, // 1 Tree1, // 2 Tree2, // 3 Tree3, // 4 House1, // 5 House2, // 6 ...
<filename>ui/src/theme.ts // Copyright 2020 H2O.ai, 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 appl...
<filename>src/GraphQLStore.ts /* Atlas high-level structure Atlas optimstic writes: - Enter the transaction into the transaction log (so we can undo it later), return a handle (commit, rollback) - Pass down in writeInfo wether the write is optimsitic or not. - If nothing in the object changed, return the same referenc...
import _Vue, { WatchOptions } from 'vue'; import './vue'; /** * When and if https://github.com/Microsoft/TypeScript/issues/12754 is * implemented, we can support namespaced modules - and Vuex can be completely * typesafe! * * We also need Flatten to be infinitely deep since unnamespaced sub modules * can ha...
<gh_stars>0 /*! * Mvc.Grid 5.0.0 * https://github.com/NonFactors/MVC6.Grid * * Copyright © NonFactors * * Licensed under the terms of the MIT License * http://www.opensource.org/licenses/mit-license.php */ export var MvcGrid = (function () { function MvcGrid(element: any, options?: any): void { ...
import './styles.module.scss'; import Section from 'components/Section'; import type { ClientStoryPage, ClientStoryPageRecord } from 'lib/client/stories'; import deleteFromClientStoryPageRecord from 'lib/client/deleteFromClientStoryPageRecord'; import { Field } from 'formik'; import Label from 'components/Label'; impor...
import { AssetBalance, AssetBalanceWithPrice, Balance, BigNumber, HasBalance } from '@rotki/common'; import { GeneralAccount } from '@rotki/common/lib/account'; import { Blockchain } from '@rotki/common/lib/blockchain'; import { get } from '@vueuse/core'; import isEmpty from 'lodash/isEmpty'; import map from ...
import React, {useEffect, useState, useRef, useReducer} from "react" import {ipcRenderer, clipboard, nativeImage} from "electron" import {app} from "@electron/remote" import ReactCrop from "react-image-crop" import path from "path" import brightnessButton from "../assets/icons/brightness.png" import brightnessBu...
/* * Poll chat plugin * By bumbadadabum and Zarel. */ import {Utils} from '../../lib'; const MINUTES = 60000; interface PollAnswer { name: string; votes: number; correct?: boolean; } export interface PollOptions { activityNumber?: number; question: string; supportHTML: boolean; multiPoll: boolean; pendingVo...
<filename>snowpack/src/config.ts<gh_stars>0 import {all as merge} from 'deepmerge'; import {existsSync} from 'fs'; import {isPlainObject} from 'is-plain-object'; import {validate} from 'jsonschema'; import {dim} from 'kleur/colors'; import os from 'os'; import path from 'path'; import {logger} from './logger'; import {...
<filename>materialsLibrary/src/water/waterMaterial.ts import { Nullable } from "babylonjs/types"; import { serializeAsVector2, serializeAsTexture, serialize, expandToProperty, serializeAsColor3, SerializationHelper } from "babylonjs/Misc/decorators"; import { Matrix, Vector2, Vector3 } from "babylonjs/Maths/math.vector...
<gh_stars>1-10 /** * Chat plugin to help manage hosts, proxies, and datacenters * Written by Annika * Original /adddatacenters command written by Zarel */ import {Utils} from "../../lib"; import {AddressRange} from "../ip-tools"; import {GlobalPermission} from "../user-groups"; const HOST_SUFFIXES = ['res', 'prox...
import { DatePipe } from '@angular/common'; import { Component, VERSION ,OnInit, ElementRef, EventEmitter, Output } from '@angular/core'; import { NbThemeService } from '@nebular/theme'; import { AgroMonitoringService } from 'app/_services/agro_monitoring.service'; import { ExploitationService } from 'app/_services/exp...
import { _, Autowired, Bean, CellNavigationService, CellPosition, CellPositionUtils, CellRange, Column, ColumnApi, ColumnController, Constants, CsvCreator, CsvExportParams, Events, EventService, FlashCellsEvent, FocusedCellController, GridApi, ...
export const EMOJI_PANEL: EmojiPanel = { width: 724, height: 658, x: 11, y: 10, paddingTop: 0, paddingBottom: 0, paddingLeft: 0, paddingRight: 0, gapX: 6, gapY: 6, } export const EMOJI_DATA: EmojiData[] = [ { position: { x: 0, y: 0 }, id: 0, cn: '[右哼哼]', hk: '[右哼哼]', us: '[Bah!...
/* Copyright 2020 the Deno authors. All rights reserved. MIT license. */ import React, { useState, useEffect, useMemo, useRef, useCallback, } from "react"; import { createPortal } from "react-dom"; import Head from "next/head"; import Link from "next/link"; import { useRouter, Router } from "next/router"; //...
<gh_stars>0 /* * Copyright 2021 Hyperledger Cactus Contributors * SPDX-License-Identifier: Apache-2.0 * * ServerPlugin.js */ /* * Summary: * Dependent part of the connection destination of the connector * Define and implement the function independently according to the connection destination dependent part (ad...
<gh_stars>0 /*! * Copyright 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0...
<filename>cordova-plugin-hms-map/src/www/HMSMap.ts /* Copyright 2020-2021. Huawei Technologies Co., Ltd. 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 ...
export const adjective = [ "hateful", "filthy", "languid", "peaceful", "odd", "dusty", "marvelous", "selfish", "shiny", "determined", "clammy", "grouchy", "finicky", "successful", "gamy", "difficult", "moldy", "victorious", "pricey", "tranquil", "dead", ...
<reponame>cwxbox/ovine_test import { AriaOption } from './../component/aria'; import Group from 'zrender/esm/graphic/Group'; import Element, { ElementEvent, ElementTextConfig } from 'zrender/esm/Element'; import { DataFormatMixin } from '../model/mixin/dataFormat'; import GlobalModel from '../model/Global'; import Exte...
import "./PullRequestTab.scss"; import * as React from "react"; import { AZDEVOPS_CLOUD_API_ORGANIZATION, AZDEVOPS_API_ORGANIZATION_RESOURCE, AZDEVOPS_CLOUD_API_ORGANIZATION_OLD, getCommonServiceIdsValue, getZeroDataActionTypeValue, getStatusSizeValue, FILTER_STORE_KEY_NAME, } from "../models/constants"...
<filename>test/src/Scene.ts class SceneService implements EventEmitter { private observerList: Observer[] = []; private static instance; private static count = 0; public list: CommandList = new CommandList(); constructor() { SceneService.count++; if (SceneService.count > 1) { ...
import Logger = require('../logger'); import { ReadPreference } from '../read_preference'; import { handleCallback, collationNotSupported, MongoDBNamespace } from '../utils'; import executeOperation = require('../operations/execute_operation'); import { Readable } from 'stream'; import { OperationBase } from '../operat...
<reponame>Offirmo/offirmo-monorepo import path from 'path' import util from 'util' import fs from 'fs' import assert from 'tiny-invariant' import async from 'async' import json from '@offirmo/cli-toolbox/fs/json' import { Immutable } from '@offirmo-private/ts-types' import { exiftool } from 'exiftool-vendored' import {...
<gh_stars>1-10 import { AfterViewInit, ChangeDetectorRef, Component, EventEmitter, Input, OnDestroy, OnInit, Output, Type, ViewChild, } from '@angular/core'; import { KeyValue } from '@angular/common'; import { ButtonFieldComponent, DynamicFormComponent, } from '@app-theme/components/form'; imp...
/// <reference path="../../js/ci2/opc_cts_SDK.REST.js" /> import { FormType } from "./enums"; export function officiumLink(value: string): void { // pass the search value to officium const url = "https://recherche-search/Pages/results.aspx?k=" + value; window.open(url); } let cms_Roles: any = null; /**...
<filename>src/services/ProjectsService.ts /** * Copyright 2022 NTT Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
import * as React from 'react'; import './chem.scss'; import * as backend_utils from '../../../utils/backend-connect'; import { Box, Button, Checkbox, FormControl, FormControlLabel, FormGroup, Grid, IconButton, Input, InputAdornment, InputLabel, makeStyles, MenuItem, Paper, Popover, Select, Slider, Switch, TextField, T...
/* eslint-disable prettier/prettier */ /* eslint-disable camelcase */ import formatGraph from './formatGraph' export enum ChartTypes { AGE = 'CHART-AGE', GENDER = 'CHART-GENDER', RACE_ETH = 'CHART-RACE-ETH', RACE_ETH_NORM = 'CHART-RACE-ETH-NORM' } const PURPLE_MAIN = '#473A8C' const GRAY_SECONDARY = '#C8C8C8'...
<reponame>kalessine/sdmx-vue<gh_stars>0 /* MIT License Copyright (c) 2021 <NAME> 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 us...
import { ClickHandler, IconName, UIElement, blank, br, butter, button, buttonAccessory, buttonCustom, buttonDanger, checkRandomPermutation, checkRandomSequence, collapsible, dialog, dropdown, group, historyState, img, inputText, inputTextArea, intervalCounter, italic, link,...
import store from '@/store'; import createTask, { TaskObject } from '@/transitional/tasks'; import { ExportFormatCode, taxTypes, Client, TaxTypeNumericalCode, TaxTypeCodeMap, taxTypeNumericalCodes, TaxTypeCode, TPIN, TaxTypeIdMap, TaxAccountName, } from '../constants'; import { writeJson, unparseCsv...