text stringlengths 10 953k |
|---|
import React, { useContext, useState } from "react"
import { makeStyles } from "@material-ui/core"
import Typography from "@material-ui/core/Typography"
import Grid from "@material-ui/core/Grid"
import Card from "@material-ui/core/Card"
import CardContent from "@material-ui/core/CardContent"
import Box from "@material-... |
import * as React from 'react';
import { useState } from 'react';
import { SideBarTreeHeader } from './SideBarTreeHeader';
import { SideBarTreeItemUi } from './SideBarTreeItemUi';
import { DataItemKind } from '../../types';
import { IconName } from '@blueprintjs/core';
import { PageIndex } from '../../PageIndex';
impor... |
import * as React from 'react';
import { StyledIconProps } from '@styled-icons/styled-icon';
export declare const InvisionDimensions: {
height: number;
width: number;
}; |
import { TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { ActivatedRoute } from '@angular/router';
import { By } from '@angular/platform-browser';
import { Observable } from 'rxjs/Observable';
import { AppModule } from '../app.module';
import { LiveCompone... |
import { Menu } from "antd";
import { MenuProps } from "antd/lib/menu";
import React, { useContext } from "react";
import { CopyInvitationItem } from "../../../components/MoreMenu/CopyInvitationItem";
import { DeleteRoomHistoryItem } from "../../../components/MoreMenu/DeleteRoomHistoryItem";
import { ModifyRoomItem } f... |
/**
* The Controls module provides the {@link Controls} interface, which is used
* when creating a {@link Scene}. It also contains the implementations of three
* different control types for use in a game.
*
* @packageDocumentation
* @module kilo/Controls
* @preferred
*/
import { KeyControls } from './key-contro... |
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
Signer,
utils,
BigNumberish,
Contract,
ContractFactory,
Overrides,
} from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { MACI, MACIInterface } from "../MACI";... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import { MapModule} from '../../../shared/modules/map-module/map.module';
import { FormsModule } from '@angular/forms';... |
import { FC, DetailedHTMLProps, HTMLAttributes } from 'react';
import { Box } from '@mui/material';
export type HeaderProps = DetailedHTMLProps<
HTMLAttributes<HTMLDivElement>,
HTMLDivElement
>;
const Header: FC<HeaderProps> = ({ children }) => (
<Box component="header">{children}</Box>
);
export default Heade... |
import React, { FC } from 'react';
import styled from 'styled-components';
const StyledAlert = styled.div<IAlertProps>`
padding: 10px;
border-radius: ${({ theme }) => theme.vars.border.radius.default};
color: #fff;
margin-bottom: 20px;
background-color: ${({ type }) => {
if (type === 'success') {
r... |
import ma = require('vsts-task-lib/mock-answer');
import tmrm = require('vsts-task-lib/mock-run');
import os = require('os');
import path = require('path');
let taskPath = path.join(__dirname, '..', 'nodetool.js');
let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath);
tmr.setInput('versionSpec', '5.10.1')... |
// (C) 2020 GoodData Corporation
import { MetadataModule } from "./metadata";
import { XhrModule } from "./xhr";
import { UserModule } from "./user";
import cloneDeepWith from "lodash/cloneDeepWith";
import compact from "lodash/compact";
import omit from "lodash/omit";
import {
GdcKpi,
GdcDashboard,
GdcFilt... |
import {
Links,
LiveReload,
Meta,
Outlet,
Scripts,
ScrollRestoration,
} from 'remix';
import type { MetaFunction } from 'remix';
export const meta: MetaFunction = () => {
return { title: 'New Remix App' };
};
export default function App() {
return (
<html lang="en">
<head>
<meta char... |
import React, { Component } from 'react';
import { View} from '@tarojs/components';
export default class Tab extends Component {
config = {
navigationBarTitleText: ''
}
state={}
componentWillMount () {}
componentDidMount () {}
componentWillReceiveProps (nextProps,nextContext) {}
componentWil... |
import * as React from "react";
import { debounce } from "utils/debounce";
import { checkIsMobileDevice } from "utils/device";
import "./tile-grid.less";
interface Props {
tileWidth: number;
tileWidthMobile: number;
tiles: JSX.Element[];
}
interface State {
tileWidth: number;
gridWidth: number;
}
export cl... |
import * as core from '@actions/core'
import * as io from '@actions/io'
import * as fs from 'fs'
import * as mm from './manifest'
import * as os from 'os'
import * as path from 'path'
import * as httpm from '@actions/http-client'
import * as semver from 'semver'
import * as stream from 'stream'
import * as util from 'u... |
import * as J from "../JavaIntf";
import { AppState } from "../AppState";
export interface EditIntf {
showReadOnlyProperties: boolean;
saveClipboardToChildNode(parentId?: string): void;
splitNode(node: J.NodeInfo, splitType: string, delimiter: string, state: AppState): void;
joinNodes(state?: AppState... |
import { NgxPermissionsDirective } from './permissions.directive';
import { Component } from '@angular/core';
import { NgxPermissionsModule } from '../index';
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
import { NgxPermissionsService } from '../service/permissions.service';
impor... |
/**
* Returns the size parameters if they are valid, else returls false.
*
* @returns {number[] | boolean} The size parameters or false
*/
function inspectParams(): number[] | boolean {
const urlParams = new URLSearchParams(window.location.search);
const inspectParam = urlParams.get('inspect');
if (ins... |
/**
* @description Graham扫描法求点集的凸包
* @time-complexity O(nlog(n))
*/
/**
* 复杂度: 输入进行了排序,复杂度为nlog(n)(快排)
* 循环虽然有两层循环,但是因为每个点最多被删除一次, 所以第二层while 最多被执行n次
* 所以复杂度为O(n) + O(n)
*/
import Vector from '@/core/Vector';
import { IPoint, IPointList } from '@/lib/interface';
export default (l: IPointList): IPointList => {... |
/*!
* © 2020 Atypon Systems 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 agreed to i... |
import * as React from "react";
import { classes } from "../utils";
import { LayoutRoot } from "../LayoutRoot";
import { Col } from "../layouts";
interface Props {
style?: React.CSSProperties
className?: string
appearFrom: "top" | "right" | "bottom" | "left"
}
export const Panel:React.SFC<Props> = ({ cla... |
/**
* Ant Design Pro v4 use `@ant-design/pro-layout` to handle Layout.
* You can view component api by:
* https://github.com/ant-design/ant-design-pro-layout
*/
import ProLayout, {
MenuDataItem,
BasicLayoutProps as ProLayoutProps,
Settings,
DefaultFooter,
} from '@ant-design/pro-layout';
import React, { us... |
import model from './model.typeDef';
import mutation from './mutation.typeDef';
import query from './query.typeDef';
const typeDefs = [model, mutation, query];
export default typeDefs; |
import { TFChartRange, TFChartRangeInvalid } from './tfchart_utils'
export interface RequestResults<T> {
success: boolean;
range: TFChartRange;
data: T[];
}
export abstract class TFChartDataSupplier<T> {
public abstract getAvailableRange(period: number): Promise<TFChartRange>;
public abstract fetc... |
import * as sanitizer from "@aero/sanitizer";
import { Fire } from "@fire/lib/Fire";
import { PartialQuoteDestination } from "@fire/lib/interfaces/messages";
import { CommandUtil } from "@fire/lib/util/commandutil";
import {
constants,
GuildTextChannel,
i18nOptions,
} from "@fire/lib/util/constants";
import Filte... |
//Imports
import {document, DOMNode} from "../types.ts"
/** Slide creator */
export function Slide() {
//Slide wrapper
const slide = document.createElement("article")
slide.classList.add("p-6", "slide")
document.querySelector(".slides")?.appendChild(slide)
//Slide content
const container = document.createE... |
import React from 'react'
import { ComponentStory, ComponentMeta } from '@storybook/react'
import Text from '.'
export default {
title: 'type/Text',
component: Text,
argTypes: {
backgroundColor: { control: 'color' },
},
} as ComponentMeta<typeof Text>
const Template: ComponentStory<typeof Text> = (args) => <Te... |
import {
AuctionState,
BidStateType,
formatTokenAmount,
fromLamports,
PriceFloorType,
useMint,
} from '@oyster/common';
import {
AuctionView,
AuctionViewState,
useBidsForAuction,
} from '../../../hooks';
import { BN } from 'bn.js';
interface AuctionStatusLabels {
status: string;
amount: string | ... |
import { Router } from '@angular/router';
import { handleJwtFailure } from './handle-jwt-failure.function';
describe('handleJwtFailure', () => {
const error = {};
const route = 'target';
afterEach(() => jest.clearAllMocks());
it('should call the supplied argument when it is a function with the error', () => {
... |
export class ExpiredTokenException implements Error {
readonly columnNumber: number;
readonly fileName: string;
readonly lineNumber: number;
message: string;
name: string;
data: string[];
code: string;
constructor(code: string = null, message: string = null, data: any = null) {
... |
declare namespace Form.account.Main {
namespace SalesInsights {
namespace Tabs {
interface DETAILS_TAB extends Xrm.SectionCollectionBase {
get(name: "BILLING"): Xrm.PageSection;
get(name: "COMPANY_PROFILE"): Xrm.PageSection;
get(name: "CONTACT_PREFERENCES"): Xrm.PageSection;
... |
import { LatLng } from 'leaflet';
import * as cytoscape from 'cytoscape'
export interface MapHandlerOptions {
getPosition: (node: cytoscape.NodeSingular) => LatLng;
setPosition?: (node: cytoscape.NodeSingular, lngLat: LatLng) => void;
animate?: boolean;
animationDuration?: number;
} |
/**
* @license
* Copyright 2021 Google LLC. 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 a... |
import { Component, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { ConnectionService } from './shared/connection.service';
@Component({
changeDetection: ChangeDetectionStrategy.Default,
encapsulation: ViewEncapsulation.Emulated,
selector:... |
import * as React from 'react';
import { ScreenNavigationPropType } from '../type/screen-navigation-prop.type';
import { ScreenNameEnum } from '../enum/screen-name.enum';
import { screensConfigObject } from '../config/screen.config';
import { ConfigScreenComponent } from '../component/config-screen.component';
const {... |
import { Injectable } from '@angular/core';
import { Http, Headers, RequestOptions, Response } from '@angular/http';
@Injectable()
export class OrderService {
constructor(private http : Http) {}
fetchAll() {
return this.http.get('/orders')
.map((r : Response) => {
return r.json(... |
// 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 agreed to in ... |
import * as React from 'react';
export const SvgWhitelist = (props: React.SVGProps<SVGSVGElement>) => (
<svg height="1em" viewBox="0 0 18 24" width="1em" {...props}>
<g fill="currentColor">
<path d="M17.529 5.496L12.231.312v5.184h4.008z" />
<path d="M16.896 6.396h-5.565V.051H.204v23.898h17.592V6.396h-... |
import { max } from '../../operator/max';
declare module '../../Observable' {
interface Observable<T> {
max: typeof max;
}
} |
import { RuleBlock, Token } from 'markdown-it';
import {SetItemizeLevelTokens, GetItemizeLevelTokensByState, GetEnumerateLevel} from "./re-level";
export enum TBegin {itemize = 'itemize', enumerate = 'enumerate'};
const openTag: RegExp = /\\begin\s{0,}\{(itemize|enumerate)\}/;
export const bItemTag: RegExp = /^(?:item\... |
import React from 'react';
import styled from 'styled-components';
import { useDispatch, useSelector } from 'react-redux';
import { disableRecoveryPhrasePrompt } from '../../state/ducks/userConfig';
import { getShowRecoveryPhrasePrompt } from '../../state/selectors/userConfig';
import { recoveryPhraseModal } from '../.... |
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import { Command as $Command } from "@aws-sdk/smithy-client";
import {
FinalizeHandlerArguments,
Handler,
HandlerExecutionContext,
HttpHandlerOptions... |
import * as React from 'react';
import { classNamesFunction, getId } from 'office-ui-fabric-react/lib/Utilities';
import { IDonutChartProps, IDonutChartStyleProps, IDonutChartStyles } from './DonutChart.types';
import { Pie } from './Pie/Pie';
import { ILegend, Legends } from '../Legends/index';
import * as scale from ... |
import { Router } from '@angular/router';
import { AuthService } from './../../services/auth.service';
import { Component, OnInit } from '@angular/core';
import { ToastController } from '@ionic/angular';
@Component({
selector: 'app-home',
templateUrl: './home.page.html',
styleUrls: ['./home.page.scss'],
})
expor... |
import test from 'ava';
import { nludb_client, qa_model, sim_model } from './helper.spec';
test('Create NLUDB Client', (t) => {
t.notThrows(() => {
nludb_client();
});
});
test('Test Embeddings', async (t) => {
const nludb = nludb_client();
const e1 = await nludb.embed({
texts: ['This is a test'],
... |
describe('Alert Demo Test', () => {
it('Navigate to demo section', () => {
cy.visit('http://localhost:3000/');
cy.get('#alert-custom-timeout-demo-nav-item-link').click();
cy.url().should('eq', 'http://localhost:3000/alert-custom-timeout-demo-nav-link');
});
it('Verify alert timeout', () => {
cy.g... |
import * as common from '../../support/common';
describe('Plans/Edgebanding', () => {
beforeEach(() => {
common.login(true);
cy.visit('/production/edgebanding');
cy.wait(1000);
});
it('List endgebandings', () => {
cy.screenshot('edgebandings_list');
});
it('Start edg... |
const oldCivic = {
name: 'civic',
year: 2000,
broken: true,
//test: 'test',
};
// not use interface.
const printV = (valuesObject: {
name: string;
year: number;
broken: boolean;
}): void => {
console.log(`Name: ${valuesObject.name}`);
console.log(`Year: ${valuesObject.year}`);
console.log(`Broken: ... |
import * as d from '../../../declarations';
import { buildWarn, catchError } from '../../util';
import { getAttributeTypeInfo, isDecoratorNamed, serializeSymbol } from './utils';
import { MEMBER_TYPE, PROP_TYPE } from '../../../util/constants';
import { toDashCase } from '../../../util/helpers';
import { validatePublic... |
import { Subscription } from 'rxjs/Rx';
import lodash from 'lodash';
import { Store, DEFAULT_LIMIT } from './store';
export type Nameable = Function | Object | string;
export type SnapShot = State[];
export type NameablesOrIdentifier = Nameable[] | string;
////////////////////////////////////////////////////////////... |
import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm"
import { Expose, Type } from "class-transformer"
import { IsDate, IsNumber, IsOptional, IsString, IsUUID, MaxLength } from "class-validator"
import { ValidationsGroupsEnum } from "../validations-groups.enum"
@Entity()
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
export type TLogoProps = any; |
import { MdiReactIconComponentType } from './dist/typings';
declare const AlphabetFBoxOutlineIcon: MdiReactIconComponentType;
export default AlphabetFBoxOutlineIcon; |
import { LTComponent, IActionComponent, IBlock } from './abstract.component';
import {Type} from '@angular/core';
import { IActionTabList } from './tablist/interface.tablist';
export abstract class StoreComponent {
stComponents: Map<string, Type<LTComponent> >;
stActions: Map<string, Type<IActionComponent>>;
stA... |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import {ApiServiceService} from 'src/app/services/api-service.service';
@Component({
selector: 'app-inicio',
templateUrl: './inicio.component.html',
styleUrls: ['./inicio.component.scss']
})
export class InicioComponent ... |
export * from './luhn.validator';
export * from './card-expire.validator';
export * from './card-number.validator'; |
import React, {useRef, useState, useEffect, ReactElement} from 'react';
import DropdownMenu from './dropdown-menu/DropdownMenu';
export interface DropdownProps {
isOpen: boolean;
size?: string;
buttonTemplate: React.ReactChildren | ReactElement;
menuTemplate: any;
className?: string;
menuContainerTag?: str... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { FreeEntriesComponent } from './free-entries.component';
describe('FreeEntriesComponent', () => {
let component: FreeEntriesComponent;
let fixture: ComponentFixture<FreeEntriesComponent>;
beforeEach(async(() => {
TestBed.conf... |
import { createTestNode, jsonTestEvents } from "../utils";
import { EventStoreDBClient } from "../..";
import { StreamMetadata } from "../../utils/streamMetadata";
import { START, SYSTEM_STREAM_ACL } from "../../constants";
describe("setStreamMetadata", () => {
const node = createTestNode();
let client!: EventSto... |
import { CollectionCache, CollectionKey } from "../../../common";
import { UnitClass } from "./UnitClass";
import { UiUnitStats } from "./UiUnitStats";
import { UiUnitBulletPointEnums } from "./UiUnitBulletPointEnums";
export declare namespace UiUnitBulletPointsGenerations {
const KEY: CollectionKey;
class Entr... |
import { useState } from "react";
import { StepProps, Steps } from "../../models/steps";
import { PizzaAlternatives } from "./pizzaform";
import styles from './registration.module.css';
import Vippsbutton from "../betalmedvipps.svg";
import Loading from '../loading/loading';
import { Registration } from "../../models/r... |
import { Construct } from '@aws-cdk/core';
import * as lambda from '@aws-cdk/aws-lambda';
import { IWatchful } from './api';
import * as cloudwatch from '@aws-cdk/aws-cloudwatch';
const DEFAULT_DURATION_THRESHOLD_PERCENT = 80;
export interface WatchLambdaFunctionOptions {
/**
* Number of allowed errors per minut... |
import {Component, OnInit} from '@angular/core';
import {InventoryService} from '../inventory.service';
import {InventoryItem} from '../../shared/models';
@Component({
selector: 'app-inventory-list',
templateUrl: './inventory-list.component.html',
styleUrls: ['./inventory-list.component.css']
})
export cla... |
import { DisplayObject, Graphics } from "pixi.js";
import {
BasicButtonState,
ButtonLabelColorSet,
ButtonMaterialSet,
} from "../src";
/**
* テスト用の共通マテリアルを生成する
*/
export enum TestMaterialColor {
normal,
down,
over,
disable,
selectNormal,
selectDown,
selectOver,
selectMarker,
}
export function ... |
import { Injectable } from '@angular/core';
import { CommonService } from './common.service';
@Injectable({
providedIn: 'root'
})
export class ScoreService {
public token: any;
public endpoint: any = 'api/score/';
constructor(private commonService: CommonService) {}
addScore(data) {
return new Promise(... |
import { Store } from "majsoul-api";
import { Action, Dispatch } from "redux";
import { ActionType } from "../ActionType";
export interface ContestCreatedAction extends Action<ActionType.ContestCreated> {
contest: Pick<Store.Contest, "_id">
}
export function dispatchContestCreatedAction(
dispatch: Dispatch<Contest... |
import { LoadingSpinner } from '@sourcegraph/react-loading-spinner'
import * as H from 'history'
import { upperFirst } from 'lodash'
import * as _monaco from 'monaco-editor' // type only
import * as React from 'react'
import { from as fromPromise, Subscription } from 'rxjs'
import { catchError } from 'rxjs/operators'
i... |
import * as React from 'react';
import {
ExampleCard,
ComponentPage,
IComponentDemoPageProps,
PropertiesTableSet
} from '@uifabric/example-app-base';
import { PersonaInitialsExample } from './examples/Persona.Initials.Example';
import { PersonaBasicExample } from './examples/Persona.Basic.Example';
import { Per... |
import React from 'react';
import NavbarItem from './NavbarItem';
import styled from 'styled-components';
import { useSelector } from 'react-redux';
import { RootState } from 'src/store/createStore';
const links = [
'ajankohtaista',
'ryhmäliikunta',
'personal trainer',
'yrityspalvelut',
'hinnasto j... |
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AppRoutingModule } from 'app/app-routing.module';
import { ChefPipesModule } from 'app/pipes/chef-pipes.module';
import { ChefCom... |
/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
/*
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
* Generated by fluid-type-validator in @fluidframework/build-tools.
*/
import * as old from "@fluidframework/test-client-utils-p... |
import CreatedUpdatedProps from './CreatedUpdatedProps';
import { ImportStatus } from './GlobalType';
import { OCPIToken } from './ocpi/OCPIToken';
import User from './User';
export default interface Tag extends CreatedUpdatedProps {
id: string;
description?: string;
issuer: boolean;
active: boolean;
userID?... |
import { PermissionString } from "discord.js";
import { ArgDefinition } from "./ArgDefinition";
import { FlagDefinition } from "./FlagDefinition";
import { CanUseCommandHandler } from "../callbacks/CanUseCommandHandler";
import { HelpHandler } from "../callbacks/HelpHandler";
import { ThrottlingDefinition } from "./Thr... |
export interface ISignup {
name: string,
email: string,
password: string
}
export interface ISignin {
email: string,
password: string
} |
import path from 'path';
import fs from 'fs';
import shell from 'shelljs';
import dotenv from 'dotenv';
import { Client, ClientConfig, query, Ref } from 'faunadb';
import {
getSnippetsFromPaths,
getSnippetsFromStrings,
diffSnippets,
generateMigrations,
generateMigrationLetObject,
} from '@fauna-labs... |
import * as React from 'react'
import { makeStyles, Checkbox, FormControlLabel, Typography } from '@material-ui/core';
const useStyles = makeStyles({
root: {
'&:hover': {
backgroundColor: 'transparent',
},
padding: '3px 9px'
},
icon: {
borderRadius: 3,
wi... |
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
import {TuiMoneyModule} from '@taiga-ui/addon-commerce';
import {generateRoutes, TuiAddonDocModule} from '@taiga-ui/addon-doc';
import {TuiElast... |
import { BaseXmlComponent, XmlComponent } from "../../file/xml-components";
import { DocumentDefaults } from "./defaults";
import { ParagraphStyle } from "./style";
export * from "./border";
export declare class Styles extends XmlComponent {
constructor(initialStyles?: BaseXmlComponent);
push(style: XmlComponen... |
import { IAtcInfoRow } from "./atcInfoRow";
export interface IAtcViolLog {
msgId: string,
date: string,
voltViolationMsg: string,
loadViolationMsg: string,
atcInfoRows: IAtcInfoRow[]
} |
import { Vector2, Vector3 } from "three";
import {
CssCollideTilemapChunkRenderer,
CssTilemapChunkRenderer,
ParallaxTranslater,
CameraRelativeZaxisSorter,
CssSpriteAtlasRenderer,
CssSpriteRenderer,
TileAtlasItem,
CssIframeRenderer,
ZaxisSorter,
GameObjectBuilder,
Prefab,
... |
import * as React from 'react';
import { StyledIconProps } from '../../StyledIconBase';
export declare const ZapOffDimensions: {
height: number;
width: number;
}; |
import { code, def, Code, joinCode } from 'ts-poet';
import { EnumDescriptorProto } from 'ts-proto-descriptors';
import { maybeAddComment } from './utils';
import { camelCase } from './case';
import SourceInfo, { Fields } from './sourceInfo';
import { Context } from './context';
const UNRECOGNIZED_ENUM_NAME = 'UNRECOG... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React from 'react';
import {FormattedMessage} from 'react-intl';
import classNames from 'classnames';
import {Team} from 'mattermost-redux/types/teams';
import {pageVisited, trackEvent} from 'action... |
import { useElement, useStaleLayout, useEffect, useModel, useMemo } from '@nebula.js/stardust';
import properties from './object-properties';
import data from './data';
import { render, teardown } from './pivot-table/Root';
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export default f... |
import Log, {LogLevel} from "../../../common/Log";
import Util from "../../../common/Util";
import {DatabaseController} from "../src/controllers/DatabaseController";
import {GradesController} from "../src/controllers/GradesController";
import {ResultsController} from "../src/controllers/ResultsController";
import {Au... |
import { ServiceError } from '../../exceptions/service.error';
export class FileError extends ServiceError {} |
// A mirror of the remote tracker windows.
// RemoteTrackers renders up to MAX_TRACKERS
// RemoteTracker is a single tracker popup
import * as React from 'react'
import * as Constants from '../constants/tracker2'
import * as ConfigConstants from '../constants/config'
import * as Styles from '../styles'
import SyncAvata... |
import { registerElement, NativeElementNode, NativeElementPropType as PropType, TemplateElement, logger, createElement } from 'svelte-native/dom'
import { NativeViewElementNode } from "svelte-native/dom";
import { RadAutoCompleteTextView, TokenModel, SuggestionView, AutoCompleteViewType } from 'nativescript-ui-autocomp... |
import { Context } from 'src/entity/Context';
import { Tick } from 'src/entity/Tick';
import { BaseInterval, BaseIntervalOptions } from 'src/interval/BaseInterval';
import { IntervalData } from 'src/interval/Interval';
import { ServiceEvent, ServiceMetadata } from 'src/Service';
export interface EventIntervalData exte... |
import { MissingRequiredParametersError } from '@shared/errors/common/missing-required-parameters.error';
import { Types } from 'mongoose';
import { IGetMatchStageInfoInput } from '../../../../interfaces/get-match-stage-info-input.interface';
import { IMatchStageInfo } from '../../../../interfaces/match-stage-info.inte... |
/**
* @license
* Copyright 2018 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 a... |
import { Injectable } from '@angular/core';
import { MatDialog } from '@angular/material';
import { Router } from '@angular/router';
import { Actions, Effect, ofType } from '@ngrx/effects';
import { Action, select, Store } from '@ngrx/store';
import { Observable, of } from 'rxjs';
import {
catchError,
filter,
fla... |
import * as React from 'react';
import { Tooltip } from '@patternfly/react-core';
import { TFunction } from 'i18next';
import * as _ from 'lodash';
import { CatalogItem } from '@console/dynamic-plugin-sdk';
import { getImageForIconClass } from '@console/internal/components/catalog/catalog-item-icon';
import { ExternalL... |
/*
* Copyright (c) 2020 NAVER Corp.
* egjs projects are licensed under the MIT license
* Original code: https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification
* License: MIT
*/
import MeshSimplifier from "../MeshSimplifier";
import Triangle from "./structs/Triangle";
import Vertex from "./structs/Vertex";
i... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { HttpModule } from '@angular/http';
// IMPORTs CONSULTA BASE DE DATOS
import { HttpClientModule } from '@angular/common/http';
// IMPORTs DE ANGULAR MATE... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import * as logMinimapActions from './actions';
import * as logMinimapSelecto... |
declare module '@openzeppelin/test-helpers' {
export function ether(value: string): BN
export const expectEvent: any
export const expectRevert: any
export const time: any
export const balance: any
export const constants: any
export const send: any
} |
import EventEmitter from 'eventemitter3';
import { Authenticator, AuthenticatorEventType } from './authenticator';
export class StubAuthenticator
extends EventEmitter<AuthenticatorEventType>
implements Authenticator {
readonly user: string;
readonly token?: string;
constructor(user = 'stub', token: string ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.