text
stringlengths
10
953k
/** * @license * Copyright (c) 2018 Google Inc. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * Code distributed by Google as part of this project is also * subject to an additional IP rights grant found at * http://polymer.github.io...
import { DynamoDB } from 'aws-sdk' import { AttributeMetadata } from '../attribute' type Type = DynamoDB.BinaryAttributeValue export interface BinaryAttributeMetadata extends AttributeMetadata<Type> { }
import { Component, NgZone, ViewChild } from '@angular/core'; import { CROperationsService, CRWebsiteCommand } from '../../../services/croperations.service'; import { PopupService } from '../../../services/popup.service'; import { TitleBarComponent } from 'src/app/components/titlebar/titlebar.component'; import { Trans...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
export type OAuthFlowType = 'IMPLICITE_FLOW' | 'AUTHORIZATION_TOKEN_GRANT'; export interface AuthResult { expiresAt?: number; state?: string; nonce?: string; idToken: string; oauthFlowType?: string; }
import { createParamDecorator, ExecutionContext } from '@nestjs/common' import { User } from 'src/users/user.schema' export const GetUser = createParamDecorator( (data, context: ExecutionContext): User => { const req = context.switchToHttp().getRequest() return req.user }, )
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { TranslateModule } from '@ngx-translate/core'; import {FormBuilder, FormGroup, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms'; import { EnquiryRoutingModule } from './enquiry-routing.module'; import {...
import { Content } from 'ionic-angular'; import { Directive, ElementRef, Input, Renderer2, SimpleChanges, AfterViewInit } from '@angular/core'; @Directive({ selector: '[scrollHide]' }) export class ScrollHideDirective implements AfterViewInit { @Input('scrollHide') config: ScrollHideConfig; @Input('scrol...
import { AsyncIterableX } from '../asynciterable'; export interface Timestamp<TSource> { time: number; value: TSource; } class TimestampAsyncIterable<TSource> extends AsyncIterableX<Timestamp<TSource>> { private _source: AsyncIterable<TSource>; constructor(source: AsyncIterable<TSource>) { super(); t...
<TS language="ko_KR" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>์ฃผ์†Œ ๋ฐ ๋ผ๋ฒจ์„ ์ˆ˜์ •ํ•˜๋ ค๋ฉด ๋งˆ์šฐ์Šค ์˜ค๋ฅธ์ชฝ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.</translation> </message> <message> <source>Create a new address</source> <translation...
import { body, validationResult } from "express-validator"; import { validarCPF } from "./cpfValidator"; import vacinaServico from "../services/vacinaService"; function VacinaValidationRules() { return [ body("cpf") .isLength({ min: 11, max: 11 }) .withMessage("Tamanho deve ser de 1...
import React from 'react'; import { ViewStyle, StyleProp, ViewProps } from 'react-native'; import { SizeType } from './size-type'; import { IconNode } from './icon-type'; interface ActionButtonProps extends ViewProps { size?: SizeType, onPress: () => void, iconColor?: string, color?: string, icon?: IconNod...
import { Component, OnInit, Inject, OnDestroy } from '@angular/core'; import { Observable, Subscription } from 'rxjs'; import { Router } from '@angular/router'; import { MatDialog, MAT_DIALOG_DATA, MatDialogRef, MatSnackBar } from '@angular/material'; import { DataCommunicationService } from '@app/core/services/global....
/* eslint-disable max-len */ import React from 'react'; const Previous: React.FC<React.SVGAttributes<SVGElement>> = (props) => ( <svg {...props} viewBox="0 0 24 24"> <path d="M0.807857 6.77032C0.605985 6.77032 0.403489 6.68595 0.235361 6.53469C-0.0846387 6.21469 -0.0846387 5.7097 0.235361 5.40656L5.40592 0.2353...
import * as React from 'react'; import { SignOutAltIcon } from '@patternfly/react-icons'; import { TopologyListViewNode, TypedResourceBadgeCell, } from '@console/topology/src/components/list-view'; import { OdcBaseNode } from '@console/topology/src/elements'; import { getResourceKind } from '@console/topology/src/u...
import Typography from 'typography'; export const fontSemibold = 600; export const fontSerifFamily = ['EB Garamond', 'Georgia', 'serif']; export const fontBaseFamily = [ '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', ]; const typography = new Typography({ baseFontSize: '10px', baseLineHeight...
import { CloudDirectoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudDirectoryClient"; import { BatchReadRequest, BatchReadResponse } from "../models/models_0"; import { deserializeAws_restJson1BatchReadCommand, serializeAws_restJson1BatchReadCommand, } from "../protocols/Aws_restJson1...
import { IPannerOptions } from '../interfaces'; import { TNativeContext } from './native-context'; import { TNativePannerNode } from './native-panner-node'; export declare type TNativePannerNodeFactory = (nativeContext: TNativeContext, options: IPannerOptions) => TNativePannerNode; //# sourceMappingURL=native-panner-no...
export enum EdgeType { HTTP = 'http', LOCAL = 'local' } export enum NodeType { CPS = 'cps', COMP = 'comp' }
/** * @author Saki * @date 2019-07-29 20:36:35 * @Last Modified by: Saki * @Last Modified time: 2019-07-29 20:36:59 */ // core-js polyfills are required for IE11 compatibility. If you don't use IE then delete them import "core-js/stable"; import React from 'react'; import ReactDOM from 'react-dom'; import App fr...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { BasePhoneNumberExtractorConfiguration, IIpExtractorConfiguration, BaseMentionExtractor, BaseHashtagExtractor, BaseEmailExtractor, IURLExtractorConfiguration, BaseGUIDExtractor, IPhoneNumberExtractorConfiguration } ...
import React from 'react'; import createSvgIcon from './helpers/createSvgIcon'; export default createSvgIcon( <path d="M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2zm-3-4h8v2H8z" opacity=".87" />, 'Link...
import { Employee } from './employee.api.model'; import { mockEmployee } from './employee.mock-data'; export const getEmployeeById = async (id: string): Promise<Employee> => { return mockEmployee; };
export * as path from "https://deno.land/std/path/mod.ts"; export { decode as decodeUtf8 } from "https://deno.land/std/encoding/utf8.ts"; export { ensureDir } from "https://deno.land/std/fs/ensure_dir.ts"; export { exists as pathExists } from "https://deno.land/std/fs/exists.ts"; export { serve } from "https://deno.lan...
import FunctionsService from '../../../../../ApiHelpers/FunctionsService'; import { FunctionKeysFormValues, FunctionKeysModel } from './FunctionKeys.types'; import { sortBy } from 'lodash-es'; import { KeyValue } from '../../../../../models/portal-models'; export default class FunctionKeysData { public convertStateT...
/*! * Copyright (C) 2019 Silas B. Domingos * This source code is licensed under the MIT License as described in the file LICENSE. */ import * as Class from '@singleware/class'; /** * User entity class. */ export declare class User extends Class.Null { /** * User email. * Between 1 and 254 characters....
import { Token } from "moo"; import { Diagnostic, DiagnosticSeverity, Range } from "vscode-languageserver"; export const tokenToDiagnostic = (token: Token, message: string, severity?: DiagnosticSeverity): Diagnostic => { let line = token.line - 1; let character = token.col - 1; let range: Range = { start: { ...
import { HttpException, HttpStatus, Injectable } from '@nestjs/common'; import { pg } from 'src/utils/pg'; import { OrganisationDTO } from './dtos/organisation.dto'; import { IOrganisation } from './interfaces/organisation.dto'; @Injectable() export class OrganisationService { async create( organisation: Organis...
// Copyright 2021 The Oppia Authors. 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...
/** * accurate module. * @module accurate * @see doc https://github.com/Ipxxiao/accurate/tree/master/docs */ import calc from 'accurate-core' import { getExprArray, exprArrayCalc } from './expr' interface CalcFunc { <T>(arg: T): number <T>(...args: T[] | number[]): number } /** * ๆ‰ๅนณๅŒ–ๆ•ฐ็ป„ * * @param {Fun...
// import { XYPosition } from "react-flow-renderer" interface XYPosition { x: number y: number } export const AUDIO_CONTEXT_DESTINATION = "destination" export const fftSizes = [32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768] as const export type FFTSize = typeof fftSizes[number] export type BaseNode =...
import React from "react" import { useDispatch } from "react-redux" import StripeCheckout, { Token } from "react-stripe-checkout" import { AppDispatch } from "../store" import { emptyCart } from "../reducers/cartSlice" import CustomButton from "./CustomButton" type StripeButtonProps = { price: number } const Strip...
import { Component } from './component'; import { Autowired } from '../context/context'; import { RefSelector } from './componentAnnotations'; import { ManagedFocusComponent } from './managedFocusComponent'; import { addCssClass, containsClass } from '../utils/dom'; import { getAriaPosInSet, setAriaSetSize, setAriaPosI...
/* IMPORT */ import Utils from './utils'; /* CONSTS */ const Consts = { key2id: { // Map of lowercased supported characters to their internal id number /* MODIFIERS */ alt: 0b1_00000000, option: 0b1_00000000, cmd: 0b10_00000000, command: 0b10_00000000, meta: 0b10_00000000, ctrl: 0b100_...
import { Issue, JiraService } from './JiraService'; import { LogService } from './LogService'; export const VerboseJiraService: typeof JiraService = { init() { return JiraService.init(); }, async assignIssueToUser( issueId: string, username: string, pullRequestUrl: string, ): Promise<void> { ...
// Copyright 2017-2019 @polkadot/util authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. /** * @summary Extensions to basic classes */ export { default as ExtError } from './error';
import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {TabViewDemo} from './tabviewdemo'; import {TabViewDemoRoutingModule} from './tabviewdemo-routing.module'; import {TabViewModule} from 'primeng/tabview'; import {ButtonModule} from 'primeng/button'; import {AppCodeModule} from ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lt" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Mzansicoin</source> <translation>Apie Mzansicoin</translation> <...
import { getYAMLSchema } from './getYAMLSchema'; const fs = require('fs-extra'); const path = require('path'); fs.writeJsonSync(path.resolve(__dirname, 'rules-schema.json'), getYAMLSchema());
declare module Static.Primitive { export interface Behavior { } export class ExampleClass<T> { get observers(): Array<Observer<T>>; get observer(): Observer<T>; get getBehaviorByName(): Nullable<Behavior<T>>; } }
import { DataProxy } from './DataProxy'; export declare namespace Cache { type WatchCallback = (newData: any) => void; interface EvictionResult { success: Boolean; } interface ReadOptions<TVariables = any> extends DataProxy.Query<TVariables> { rootId?: string; previousResult?: an...
import Point from './Point'; import { getBytesBigEndian, fromBytesBigEndian } from './uint32'; import { clamp, lerp, colorStringToUint32 } from './util'; export class CanvasGradient { stops: { t: number, color: number, }[]; constructor() { this.stops = [] } addColorStop(t: number, colorstring: string) ...
import * as vs from "../../../../domain/validation" import { ChannelGroupTimelineQueryRepository, MessageQueryRepository, } from "../../../../infrastructure/prisma/repository" import { InternalErrorSpec, UnexpectedErrorSpec, raise } from "../../error" import { MethodFacts, defineArguments, defineErrors, define...
import {IBuildCommandOptions} from "../../../command/build-command/i-build-command"; export declare type IProjectParserServiceOptions = IBuildCommandOptions;
/* Autogenerated by @sbb-esta/angular-icons schematics */ // tslint:disable import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core'; @Component({ selector: 'svg[sbbIconHandshakeLarge]', template: ` <svg:path fill="none" stroke="#000" d="M21.876 31.248l5.498 2.97a1.86 1.86...
/** * AWTTransmissionManagerCore.ts * @author Abhilash Panwar (abpanwar) * @copyright Microsoft 2017 */ import { AWTEventHandler, AWTLogConfiguration } from './DataModels'; import { AWTEventDataWithMetaData } from '../common/DataModels'; /** * Class that manages the timers for when to send events. It also * handles f...
import { RegionType, CapiCredentials, ApiServiceType } from './../interface'; import { Capi } from '@tencent-sdk/capi'; import { waitResponse } from '@ygkit/request'; import utils from './utils'; import { ApiError } from '../../utils/error'; import { LayerDeployInputs } from './interface'; // timeout 2 minutes const ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import {DependencyList, useRef, useState, useEffect, useCallback} from "react" // These hooks are based off https://github.com/streamich/react-use, but adapted // to allow the async function to return `undefined` instead of a `Promise`. This is // useful for when inputs to the async function are undefined. // A hook ...
import React, { useEffect, useRef, useState } from 'react' import { useHistory } from 'react-router-dom' import { FaUser, FaLock } from 'react-icons/fa' import AuthRoutes from '../../paths.routes' import { Content, Card, Main, Banner, FormContainer, Submit, OtherOption, Link, Form, Logo, BannerLo...
/* eslint global-require: off, no-console: off */ /** * This module executes inside of electron's main process. You can start * electron renderer process from here and communicate with the other processes * through IPC. * * When running `yarn build` or `yarn build-main`, this file is compiled to * `./app/main.pr...
/* * Copyright (C) 2020 Argos Notary * * 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 a...
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const DewPoint32: React.ForwardRefExoticComponent< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default DewPoint32;
/*! * Authors: * jason <jasonsoop@gmail.com> * * Licensed under the MIT License. * Copyright (C) 2010-present Flagwind Inc. All rights reserved. */ import * as hljs from "highlight.js"; import Clipboard from "clipboard"; import { component, config, Component } from "@egova/flagwind-web"; /** * ่กจ็คบไธ€ไธชๅ‘ˆ็Žฐไปฃ็ ๅ—...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="en"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About deepfuturecoin</source> <translation>About deepfut...
import { ComponentFixture, async, TestBed } from '@angular/core/testing'; import { IonicModule, NavController, Platform, Config, LoadingController, ModalController } from 'ionic-angular'; import { NavControllerMock, PlatformMock, ConfigMock, LoadingControllerMock, ModalControllerMock } from 'ionic-mocks'; import { Reke...
import { GenerateTypescriptPathProcessor } from "../GenerateTypescriptPathProcessor"; import { GenerateTypescriptPathArguments } from "../GenerateTypescriptPathArguments"; import upath = require("upath"); import { GenerateTypescriptPathMessages } from "../GenerateTypescriptPathMessages"; import S from "string"; expor...
import {omit, pick} from '@styled-system/props' import classnames from 'classnames' import React from 'react' import styled, {css} from 'styled-components' import {maxWidth, MaxWidthProps, minWidth, MinWidthProps, variant, width, WidthProps} from 'styled-system' import {COMMON, get, SystemCommonProps} from './constants...
/** * This file includes polyfills needed by Angular and is loaded before the app. * You can add your own extra polyfills to this file. * * This file is divided into 2 sections: * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. * 2. Application imports. Files imported...
import { Component, OnDestroy, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { AuthRedirectService, AuthService, GlobalMessageService, GlobalMessageType, WindowRef, } from '@spartacus/core'; import { Subscription } from 'rxjs'; import { CustomFormVa...
import logger from "@schedulino/lambda-logger"; let lambdaFunctionHandler: AWSLambda.Handler = (event: any, context: AWSLambda.Context, callback: AWSLambda.Callback): void => { logger.debug("Implement your lambda logic here", event); }; // "index.handler" as the handler in AWS Lambda Function configuration. export l...
import { Component, OnInit } from '@angular/core'; import {TicketItem} from "../../../interfaces/ticket-item"; import {CallService} from "../../../services/call.service"; import {Title} from "@angular/platform-browser"; import {TranslateService} from "../../../components/translation"; declare let moment: any; declare c...
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
import { OperationDefinitionNode } from 'graphql'; import { ReactQueryVisitor } from './visitor'; import { FetcherRenderer } from './fetcher'; export declare class FetchFetcher implements FetcherRenderer { private visitor; constructor(visitor: ReactQueryVisitor); generateFetcherImplementaion(): string; generate...
import { GraphAlgorithm, Step } from "../../GraphAlgorithm"; import { AdjacencyList, hasMultipleEdges, hasSelfLoop, Edge, Graph, Node, NodeEdgeList } from "../../GraphStructure"; import { Queue } from "../../utils/DataStructure"; import { EdgeRenderHint, NodeRenderHint } from "@/pages/graph-editor/ui/CanvasGraphRendere...
import './index'; import { Data } from './types'; import { SubscriptionsTable } from './SubscriptionsTable'; import { expect } from '@open-wc/testing'; import { generateTests } from '../NucleonElement/generateTests'; import { parseFrequency } from '../../../utils/parse-frequency'; type Refs = { frequencies: HTMLSpa...
export * from './Cancel'; export * from './GroupedOrders'; export * from './New'; export * from './OrderOrder'; export * from './OrderVisit'; export * from './Update';
import { Entity, BaseEntity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, } from 'typeorm'; import { Exclude } from 'class-transformer'; @Entity({ name: 'users' }) export class User extends BaseEntity { @PrimaryGeneratedColumn() id: number; @Column({ type: 'varchar', l...
import { storiesOf } from "@storybook/react"; import * as React from "react"; import SaleListPage, { SaleListPageProps } from "../../../discounts/components/SaleListPage"; import { saleList } from "../../../discounts/fixtures"; import { listActionsProps, pageListProps } from "../../../fixtures"; import Decorator fro...
import * as React from 'react'; import { useTranslation } from 'react-i18next'; import { NavGroup, Button } from '@patternfly/react-core'; import { MinusCircleIcon } from '@patternfly/react-icons'; import { useExtensions } from '@console/plugin-sdk'; import { Separator, NavItem, isNavSection, NavSection as Plug...
export type UpdateConfiguration = { allowed: boolean; editable: boolean; enabled: boolean; checkOnStartup: boolean; skippedVersion: string | null; };
import { StyledIcon } from '@styled-icons/styled-icon'; export declare const PollH: StyledIcon; export declare const PollHDimensions: { height: undefined; width: undefined; };
import { Structure as _Structure_ } from "@aws-sdk/types"; export const UpdateSMBSecurityStrategyInput: _Structure_ = { type: "structure", required: ["GatewayARN", "SMBSecurityStrategy"], members: { GatewayARN: { shape: { type: "string", min: 50 } }, SMBSecurityStrategy: {...
'use strict'; /*global window document*/ import { AppBootstrap, IpcCommandParamsOf, IpcCommandType, IpcMessage, ReadyCommandType } from '../../protocol'; import { initializeAndWatchThemeColors } from './theme'; interface VsCodeApi { postMessage(msg: {}): void; setState(state: {}): void; getState(): {}; } ...
import * as cql from 'cql-execution'; import { Library } from 'fhir/r4'; import Freezer, { EventDict, FE, FreezerNode } from 'freezer-js'; import { SageNewResource, SageNode, SageNodeInitialized, SimplifiedCodesystems, SimplifiedProfiles, SimplifiedValuesets } from './helpers/schema-utils'; import Authoring, { Authorin...
export default { close: 'เคฌเค‚เคฆ เค•เคฐเฅ‡เค‚', dataIterator: { pageText: '{เฅฆ}-{เฅง} เค•เคพ {เฅจ}', noResultsText: 'เค•เฅ‹เคˆ เคฎเฅ‡เคฒ-เค–เคพเคคเฅ€ เคฒเคฟเค–เคพเคตเคŸ เคจเคนเฅ€ เคฎเคฟเคฒเฅ€', loadingText: 'เคšเฅ€เฅ›เฅ‡เค‚ เคฒเฅ‹เคก เคนเฅ‹ เคฐเคนเฅ‡ เคนเฅˆเค‚...', }, dataTable: { itemsPerPageText: 'เคชเฅเคฐเคคเคฟ เคชเฅ‡เคœ เคชเค‚เค•เฅเคคเคฟเคฏเคพ:', ariaLabel: { sortDescending: ': เค˜เคŸเคคเฅ‡-เคนเฅเค เคถเฅเคฐเฅ‡เคฃเฅ€เคฌเคฆเฅเคง เคนเฅเคˆเฅค เคถเฅเคฐเฅ‡เคฃ...
import * as React from 'react'; import classNames from 'classnames'; import _ from 'lodash'; import { ownerDocument, getContainer, on } from 'dom-lib'; import positionUtils from './positionUtils'; import shallowEqual from '../utils/shallowEqual'; import getDOMNode from '../utils/getDOMNode'; import { TypeAttributes } f...
import { useEffect, useState } from 'react'; import { Content } from './components/Content'; import { SideBar } from './components/SideBar'; import { api } from './services/api'; import './styles/content.scss'; import './styles/global.scss'; import './styles/sidebar.scss'; interface GenreResponseProps { id: number; ...
import { Request, Response } from "express"; import { getCustomRepository } from "typeorm"; import { SurveysRepository } from "../repositories/SurveysRepository"; class SurveyController { async create(req: Request, res: Response) { const { title, description } = req.body; const surveyRepository = getCustomR...
// Copyright (c) 2020 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. import {StringUtilities} from '../../../../front_end/platform/platform.js'; import {FORMATTER_TOKEN} from '../../../../front_end/platform/string-utili...
import * as React from "react"; import { Colors, Spinner } from "@blueprintjs/core"; import { HandleStartExecutionFragment } from "./types/HandleStartExecutionFragment"; import gql from "graphql-tag"; import { showCustomAlert } from "../CustomAlertProvider"; import styled from "styled-components"; export type IRunSt...
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { Hero } from './hero'; import { HeroService } from './hero.service'; @Component({ selector: 'my-dashboard', templateUrl: 'app/dashboard.component.html', styleUrls: ['app/dashboard.component.css'] }) export clas...
/*************************************************************************************************** * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates. */ import '@angular/localize/init'; import 'zone.js/dist/zone'; /** * This file includes polyfills needed by Angular and is l...
import { Injectable, PLATFORM_ID, Inject } from '@angular/core'; import { isPlatformBrowser } from '@angular/common'; import { Observable } from 'rxjs'; import ResizeObserver from 'resize-observer-polyfill'; /** *@hidden */ export function cloneArray(array: any[], deep?: boolean) { const arr = []; if (!array...
import ShapefileDataParser from './ShapefileDataParser'; import { readFileSync } from 'fs'; import * as path from 'path'; let parser: ShapefileDataParser; const expectedData = { exampleFeatures: { features: [{ geometry: { type: 'Point', coordinates: [7.146949768066406, 50.72151441213221] ...
import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output, Renderer, ViewChild, ViewEncapsulation, forwardRef } from '@angular/core'; import { BackdropComponent } from './backdrop/backdrop.component'; import { Config } from '../config/config'; import { DomC...
import { TestBed, async } from '@angular/core/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ AppComponent ], }).compileComponents(); })); it('should create the app', as...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { expect } from 'chai'; import { anything, capture, deepEqual, instance, mock, verify, when } from 'ts-mockito'; import { DiagnosticCollection } from 'vscode'; import { ApplicationShell } from '../../c...
// ag-grid-enterprise v19.1.3 import { ExcelOOXMLTemplate } from 'ag-grid-community'; declare const relationshipsFactory: ExcelOOXMLTemplate; export default relationshipsFactory; //# sourceMappingURL=relationships.d.ts.map
import { Controller, Get, Res, Req, Post, Patch, Header, Param, Put, Delete, Body, HttpStatus, HttpException, } from '@nestjs/common'; import { Request, Response } from 'express'; import { CreateInfoDto } from './dto/create-info.dto'; import { UpdateInfoDto } from './dto/update-info.dto'; impo...
import Vue from 'vue'; declare class Slider extends Vue { modelValue?: any; value?: any; id?: string; disabled?: boolean; min?: number; max?: number; step?: number; orientation?: 'horizontal'|'vertical'; direction?: 'ltr'|'rtl'; tooltips?: boolean; options?: object; merge?: number; format?: a...
export interface ITableColumns { columns: IColumn[]; columnIDs: string[]; } interface IColumn { id: string; name: string; type?: string; sorting?: 'ASC' | 'DESC'; filters?: any; visible?: boolean; order?: number; }
/* * cloudbeaver - Cloud Database Manager * Copyright (C) 2020 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ import { Subject, Observable } from 'rxjs'; import { injectable } from '@cloudbeaver/core-di'; import ...
import {NgModule} from "@angular/core"; import {SharedModule} from "../../shared/shared.module"; import {WelcomeRoutingModule} from "./welcome-routing.module"; import {WelcomeComponent} from "./welcome.component"; @NgModule({ imports: [ SharedModule, WelcomeRoutingModule, ], declarations: ...
import { Action, Actions } from 'actions' import { call, put, select, takeLatest } from 'redux-saga/effects' import { Selector, State } from 'types' import { sleep } from 'utils' const SAVE_KEY = 'activity_tracker' const predicate = (a: Action) => a.type.includes('ACTIVITY') export default function* () { yield tak...
import { Dictionary } from '@salesforce/ts-types'; import { SteedosDriver, SteedosMongoDriver, SteedosMeteorMongoDriver, SteedosSqlite3Driver, SteedosSqlServerDriver, SteedosPostgresDriver, SteedosOracleDriver, SteedosMySqlDriver } from '../driver'; import _ = require('lodash'); import ...
import { Type } from '@di/types'; import { isNil } from '@di/utils/common'; // TODO: // Does this significantly improve // lookup performance or slow it // down in the majority of cases. const BLOOM_BUCKET_SIZE = 256; const BLOOM_MASK = BLOOM_BUCKET_SIZE - 1; /** * Why is this the only global * mutable property? ...
import React from 'react' import {SearchBoxProps} from '../common/types' import BasicSearchBox from './BasicSearchBox' const SearchBox = (props: SearchBoxProps) => <BasicSearchBox {...props} /> SearchBox.displayName = 'SearchBox' export default SearchBox
import { Center } from '@chakra-ui/react'; import { Redirect, Route } from 'react-router-dom'; import { useUser } from '../../hooks/queries'; import DefaultLayout from '../Layouts/DefaultLayout'; import { DefaultSpinner } from '../Spinners'; const DefaultPrivateLayoutRoute = ({ component: Component, ...rest }: any...
import Telegraf, { Markup, Context } from "telegraf"; import { v4 as uuidv4 } from "uuid"; import eveningQuestions from "./eveningQuestions"; import morningQuestions from "./morningQuestions"; import * as moment from 'moment' const LocalSession = require("telegraf-session-local"); const low = require("lowdb"); const F...