text
stringlengths
10
953k
import * as core from "@actions/core"; import { createStatusReportBase, getOptionalInput, getRequiredEnvParam, getRequiredInput, getTemporaryDirectory, getToolCacheDirectory, Mode, prepareLocalRunEnvironment, sendStatusReport, setMode, StatusReportBase, validateWorkflow, } from "./actions-util"...
import React, {Component, Fragment} from "react"; import isEqual from "react-fast-compare"; import {History} from "history"; import {Global} from "../../store/global/types"; import {Account} from "../../store/accounts/types"; import {Community, roleMap} from "../../store/communities/types"; import {Subscription} fro...
'use strict'; import * as Sinon from 'sinon'; import { TestEvent, TestLoadStartedEvent, TestLoadFinishedEvent, TestRunStartedEvent, TestRunFinishedEvent } from 'vscode-test-adapter-api'; import { Log } from 'vscode-test-adapter-util'; import * as dataTreeNodes from './data/tree-nodes'; import * as...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import {JwtPayload} from "jsonwebtoken"; import express from "express"; declare global { namespace Express { interface Request { user?: JwtPayload } } }
import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { Router } from '@angular/router'; @Component({ encapsulation: ViewEncapsulation.None, selector: 'alm-profile', templateUrl: 'profile.component.html', styleUrls: ['./profile.component.less'] }) export class ProfileComponen...
import { Component, OnInit } from '@angular/core'; import {Router} from '@angular/router'; import {RepoStore} from "../services/Store"; import { MzToastService } from 'ng2-materialize'; @Component({ selector: 'app-root', templateUrl: './favorites.component.html', styleUrls: ['./favorites.component.css'] }) expo...
export interface SubjectRequest { id: number; name: string; description: string; }
import type { Player } from "../room-activity"; import type { IGameAchievement, IGameCachedData, IGameFile } from "../types/games"; import { game as questionAndAnswerGame, QuestionAndAnswer } from "./templates/question-and-answer"; type AchievementNames = "pokemonprofessor"; class PikachusMysteryPokemon extends Quest...
export interface OptionBase { startsWith: string; } export interface BracketOption extends OptionBase { endsWith: string; } export interface LineCommentOption extends OptionBase { type: 'line-comment'; } export interface MultilineCommentOption extends OptionBase { type: 'multiline-comment'; endsWith: strin...
/// <reference types="react" /> import { IKeytipLayerProps } from './KeytipLayer.types'; export declare const KeytipLayer: (props: IKeytipLayerProps) => JSX.Element;
import { DiscordFileOptions, DiscordNotificationOptions } from './discord.interface'; import { GenericDefaultFileOptions, GenericDefaultNotificationOptions, } from '../generic/generic.defaults'; export const DiscordDefaultFileOptions: DiscordFileOptions = { ...GenericDefaultFileOptions, spoiler: false, useTi...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { recommendationListComponent } from './recommendation-list.component'; describe('recommendationListComponent', () => { let component: recommendationListComponent; let fixture: ComponentFixture<recommendationListComponent>; beforeEach(as...
import Colors from "v2/Assets/Colors" import { avantgarde } from "v2/Assets/Fonts" import React from "react" import styled from "styled-components" import MultiStateButton, { MultiButtonState, } from "../../Buttons/MultiStateButton" import { media } from "../../Helpers" import StyledTitle from "../../Title" interfac...
import { AfterViewInit, Component, OnInit } from '@angular/core'; import { defaults as defaultControls } from 'ol/control'; import ZoomSlider from 'ol/control/ZoomSlider'; import { Extent, getBottomLeft } from 'ol/extent'; import GeometryType from 'ol/geom/GeometryType'; import Point from 'ol/geom/Point'; import { Draw...
export class MessageConstants { public static readonly TEST_CONNECTION = "Test connection successful."; public static readonly PASSWORD_OR_KEY_REQUIRED = "Password or private key is required."; public static readonly QUESTION_MARK = " ?"; public static readonly RESOURCE_LABEL_REQUIRED = "At least one r...
import {CommonModule} from '@angular/common'; import {NgModule} from '@angular/core'; import {TuiLetModule} from '@taiga-ui/cdk'; import {TuiScrollControlsComponent} from './scroll-controls.component'; import {TuiScrollbarDirective} from './scrollbar.directive'; import {TuiScrollbarWrapperDirective} from './scrollbar-...
import { TestBed } from '@angular/core/testing'; import { CustomerAuthGuardService } from './customer-auth-guard.service'; describe('CustomerAuthGuardService', () => { beforeEach(() => TestBed.configureTestingModule({})); it('should be created', () => { const service: CustomerAuthGuardService = TestBed.get(C...
// Generated typescript code of HL7v 2.3 CDM (Charge Description Master) import mongoose from "mongoose"; import Segment from "./Segment"; export type HL7ChargeDescriptionMasterV3Document = mongoose.Document & HL7ChargeDescriptionMasterV3I const HL7ChargeDescriptionMasterV3Schema = new mongoose.Schema({ hl7Segmen...
import { EpisodeModel } from "../model/episode_m"; export class EpisodeControl { private readonly store: EpisodeModel; constructor(store: EpisodeModel) { this.store = store; } initPage({ index, selectEpisode, pageIndex }): Promise<any> { return new Promise((resolve) => { t...
import G6 from '@antv/g6'; // , { G6GraphEvent, IG6GraphEvent } import Menu from '../../src/menu'; const div = document.createElement('div'); div.id = 'menu'; document.body.appendChild(div); describe('menu', () => { it('menu with default', () => { const menu = new Menu({ handleMenuClick: (target, item) =>...
import React from 'react' import { CheckCircle, Triangle } from 'react-feather' import styled from 'styled-components' import { useActiveWeb3React } from '../../hooks/useActiveWeb3React' import { useAllTransactions } from '../../state/transactions/hooks' import { ExternalLink } from '../../theme' import { getExplorerLi...
import { Subscription } from 'rxjs'; import { Component, OnInit, OnDestroy } from '@angular/core'; import { AutoUnsubscribe, IMessageSubscriber, MessageBus } from '../../../shared'; import { RefreshMessage } from '../../../core'; import { ClaimType } from '../../models'; import { ClaimTypesService } from '../../serv...
import 'jest' import InternetObject from '../../src' import ErrorCodes from '../../src/errors/io-error-codes' describe('Internet Object', () => { it('Structure', () => { const io = new InternetObject(String.raw` name, age, gender --- Spiderman, 25, M `) expect(io.data).toBeDefined() ...
import { FileData, logger, NxJsonConfiguration, NxJsonProjectConfiguration, NxPlugin, ProjectConfiguration, ProjectFileMap, ProjectGraph, ProjectGraphBuilder, ProjectGraphBuilderExplicitDependency, ProjectGraphProcessorContext, readJsonFile, WorkspaceJsonConfiguration, } from '@nrwl/devkit'; i...
import { IAM } from "../IAM"; import { IAMClient } from "../IAMClient"; import { ListGroupsForUserCommand, ListGroupsForUserCommandInput, ListGroupsForUserCommandOutput, } from "../commands/ListGroupsForUserCommand"; import { IAMPaginationConfiguration } from "./Interfaces"; import { Paginator } from "@aws-sdk/ty...
/* Copyright 2019 DigitalOcean Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
import { IExecuteFunctions, } from 'n8n-core'; import { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, NodeApiError, NodeOperationError, } from 'n8n-workflow'; import { validateJSON, zendeskApiRequest, zendeskApiRequestAllItems, } from './Gen...
/*! * devextreme-angular * Version: 18.2.5 * Build date: Wed Jan 23 2019 * * Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://git...
import * as React from 'react' import { ErrorBoundaryProps } from './ErrorBoundary' import { HelpersProps } from './modifiers' import { renderElement } from './renderElement' export interface BProps extends React.HTMLAttributes<HTMLElement>, ErrorBoundaryProps, HelpersProps {} export class B extends React....
/* This is all where GraphQL thing happens. This file loads all graphql schemas from the app. */ import { get, isFunction } from "lodash" import generalSchema from "./generalSchema" import { generateQueriesCrudSchema, generateListTypeForModule, generateMutationsCrudSchema, generateCrudResolvers, } from "./c...
import React from 'react'; import { t } from 'app/i18next-t'; import { DimItem } from './item-types'; import { getColor } from '../shell/filters'; import ghostPerks from 'data/d2/ghost-perks.json'; import _ from 'lodash'; import idx from 'idx'; import { weakMemoize } from 'app/utils/util'; import RatingIcon from './Rat...
import { createError } from "better-custom-error"; import { getReasonPhrase, StatusCodes } from "http-status-codes"; import type { CustomErrorConstructor } from "better-custom-error"; import { snakeCaseAllCaps } from "../utils/index.js"; interface ErrorShape { [key: string]: unknown; publicMessage: string; } ...
////////////////////////////// // ENTITY INTERFACE // ////////////////////////////// export interface IAddress { // Id Properties id: number; // Id Relations // Non-Id Properties latitude?: string; longitude?: string; streetNumber?: string; street?: string; town?: string; region?: string; countr...
import { Pipe, PipeTransform } from '@angular/core'; /** Comma seperated array pipe Checks the value and if it is array returns a comma separated string */ @Pipe({ name: 'csa', }) export class CSAPipe implements PipeTransform { transform(value: string | string[]) { if (typeof value === 'string') { ...
/** * Copyright (c) 2020-present, Goldman Sachs * * 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 l...
// Copyright 2017-2019 @polkadot/api-derive authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. import { combineLatest, of, Observable } from 'rxjs'; import { map, switchMap } from 'rxjs/operators'; import { ApiInterfac...
<TS language="es_ES" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Botón derecho para editar dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> ...
declare module 'algorithmia' declare module 'sbd' declare module '*.json' { const value: any export default value }
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** * Provides a Msc Sub Contact resource. * * > **NOTE:** A...
import React, { useState, useEffect } from 'react' import {getWeekDayLabels, getDisplayingDays, isSameMonth, isToday, isSameDate} from './utils' import {en} from './Locale' import {format} from './Locale' import Locale from './localizationData/locale-dto'; type CalendarProps = { date: Date, locale?: Locale, pickerD...
export declare class WidgetConfigDemo { config: any; }
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { CopyFpgaImageRequest, CopyFpgaImageResult } from "../models/models_0"; import { deserializeAws_ec2CopyFpgaImageCommand, serializeAws_ec2CopyFpgaImageCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } fr...
import { PaymentDetailService } from './../../shared/payment-detail.service'; import { Component, OnInit } from '@angular/core'; import { NgForm } from '@angular/forms'; @Component({ selector: 'app-payment-detail-form', templateUrl: './payment-detail-form.component.html', styleUrls: ['./payment-detail-form.compo...
import { Injectable } from '@nestjs/common'; import { LinkedList } from '../LinkedList/LinkedList'; @Injectable() export class Queue<T> { private linkedList: LinkedList<T>; constructor() { this.linkedList = new LinkedList(); } isEmpty(): boolean { return !this.linkedList.head; } peek(): T { i...
import * as React from "react"; import * as ReactDOM from "react-dom"; import App from "./app"; ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById("root"), );
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY */ export const pkgName = "@fluidframework/shared-summary-block"; export const pkgVersion = "0.33.0";
export * from './auth-strategy'; export * from './auth-strategy-options'; export * from './dummy/dummy-strategy'; export * from './dummy/dummy-strategy-options'; export * from './password/password-strategy'; export * from './password/password-strategy-options';
/** * @jest-environment jsdom * @jsx jsx */ import renderer from 'react-test-renderer' import { render, fireEvent, cleanup, act } from '@theme-ui/test-utils' import { matchers } from '@emotion/jest' import mockConsole, { RestoreConsole } from 'jest-mock-console' import packageInfo from '@emotion/react/package.json'...
/** * @license * Copyright 2020 Balena Ltd. * * 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 o...
import { Module } from '@nestjs/common'; import { ConfigModule, ConfigService } from '@nestjs/config'; import { MongooseModule } from '@nestjs/mongoose'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { BooksModule } from './books/books.module'; @Module({ imports...
import { SearchEngine } from "./search-engine"; import { SearchPlugin } from "./search-plugin"; import { englishTranslationSet } from "../common/translation/english-translation-set"; import { FakeSearchPlugin } from "../tests/fake-search-plugin"; import { FakeExecutionPlugin } from "../tests/fake-execution-plugin"; imp...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { AppComponent } from './app.component'; import { ProjectComponent } from './project/project.component'; import { UsersComponent } from './project/users/users.compon...
import { JSONObject, match, TinyType } from 'tiny-types'; import { AssertionError } from '../errors'; import { ErrorSerialiser, SerialisedError } from '../io'; export interface SerialisedOutcome extends JSONObject { code: number; error?: string; } export abstract class Outcome extends TinyType { stati...
import { Color } from './../math/Color'; import { Texture } from './../textures/Texture'; import { Vector2 } from './../math/Vector2'; import { MaterialParameters, Material } from './Material'; import { Combine, NormalMapTypes } from '../constants'; export interface MeshPhongMaterialParameters extends MaterialParamete...
import Schema, { SchemaError } from "@rapidom/schema"; /* ------------------------- TESTS ------------------------- */ it("should fail", () => { expect.assertions(2); try { Schema.number().validate("some string"); } catch (error) { expect(error).toBeInstanceOf(SchemaError); expect(error.details).to...
// More samples on: https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md var config: Microsoft.ApplicationInsights.IConfig = { instrumentationKey: "<your iKey>", endpointUrl: "endpointUrl", emitLineDelimitedJson: false, accountId: "accountId", sessionRenewalMs: 30, s...
import {Decimal} from './decimal'; export class DecimalFormat { public static ToString = (decimal: Decimal) => decimal.value.toFixed(decimal.scale); public static ToLocal = (decimal: Decimal) => decimal.value.toLocaleString(); }
import { CoreModule } from "@alfresco/adf-core"; import { ExtensionsModule } from "@alfresco/adf-extensions"; import { CommonModule } from "@angular/common"; import { NgModule } from "@angular/core"; import { DirectivesModule } from "app/directives/directives.module"; import { ToggleFavoriteLibraryComponent } from "./t...
// tslint:disable /** * Public REST api for dota2classic * All stuff * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { TournamentTeamDto ...
import { assign, AssignAction, Interpreter, Machine, StateMachine, } from "xstate"; /* This state machine handles the receipt of Transport Service encapsulated commands from a node */ /* eslint-disable @typescript-eslint/ban-types */ export interface TransportServiceRXStateSchema { states: { waitingForSegmen...
import { Box } from '@material-ui/core'; import React from 'react'; import { useStyles } from './styles'; interface IProps { consoleTab: any; expandConsole: boolean; tabs: Array<any>; } export const ConsolePanels: React.FC<IProps> = ({ consoleTab, tabs, expandConsole, }) => { const classes = useStyles({...
/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // // ...
import React from 'react'; import { render, screen } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { itSupportsClassName, itSupportsStyle, itSupportsOthers, checkAccessibility, } from '@mantine/tests'; import { DefaultValue, MultiSelectValueProps } from './DefaultVal...
import { Link } from 'gatsby' import ArrowRightBoxIcon from 'mdi-react/ArrowRightBoxIcon' import ArrowRightIcon from 'mdi-react/ArrowRightIcon' import * as React from 'react' import { Helmet } from 'react-helmet' import { ContentSection } from '../components/content/ContentSection' import Layout from '../components/Lay...
/** * Transform a cid to the appropriate datastore key. * * @param {CID} c */ export function cidToKey(c: CID): Key; /** * Transform a datastore Key instance to a CID * As Key is a multihash of the CID, it is reconstructed using IPLD's RAW codec. * Hence it is highly probable that stored CID will differ from a C...
import React, {Fragment} from 'react'; import {SafeAreaView} from 'react-native'; import {useNavigation} from '@react-navigation/native'; import {ImageVeterinary} from '../../assets/images'; import {ButtonDefault, ButtonOutline} from '../../components'; import { Container, BannerImage, InformationView, Inform...
import * as request from 'isomorphic-fetch' export default request
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import { styled, css } from "react-free-style"; import { nest, borderColor, borderSolid, appearanceNone, rounded, outlineNone, fontSize, border, boxBorder, backgroundColor, leading, flexShrink0, inlineBlock, p, cursorNotAllowed, w, h, pseudoChecked, pseudoPlaceholder, } from "@bord...
import React, { cloneElement, Component, isValidElement, ReactElement } from 'react'; import { action, IReactionDisposer, observable, reaction, runInAction } from 'mobx'; import { observer } from 'mobx-react'; import classNames from 'classnames'; import raf from 'raf'; import noop from 'lodash/noop'; import KeyCode fro...
import { BaseBotDragOperation } from '../../../shared/interaction/DragOperation/BaseBotDragOperation'; import { Bot, BotCalculationContext, BotDragMode, objectsAtDimensionGridPosition, getDropBotFromGridPosition, BotTags, BotPositioningMode, getBotPosition, getBotIndex, calculate...
import * as markuplint from 'markuplint'; import rule from './'; test('is test', async () => { const r = await markuplint.verify( '<script src="path/to"></script>', { rules: { 'async-attr-in-script': true, }, }, [rule], ); expect(r).toStrictEqual([ { severity: 'warning', message: 'Require...
/** * Copyright (c) 2020-present, Goldman Sachs * * 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 l...
import { Component, HostBinding } from '@angular/core'; import { slideInDownAnimation } from '../../../app.animations'; @Component({ selector: 'docs-mock-data', styleUrls: ['./mock-data.component.scss'], templateUrl: './mock-data.component.html', animations: [slideInDownAnimation], preserveWhitespaces: true...
export class MyFoo { name: string; age: number; constructor(name: string, age: number) { this.name = name; this.age = age; } }
import themeUtils from "./theme-utils" const btn = document.getElementById("dark-mode") function switchTheme(): void { if (btn != null) { themeUtils.set(/dark/gi.test(btn.textContent ?? "")) } } if (btn != null) { btn.addEventListener("click", switchTheme) }
/** * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC * updated at 2021-11-24 10:58:05 * */ import { TdBackTopProps } from './type'; declare const props: TdBackTopProps; export default props;
import { FormikProps, Field } from 'formik'; import React, { useContext } from 'react'; import { withTranslation, WithTranslation } from 'react-i18next'; import { AppSettingsFormValues } from '../AppSettings.types'; import { PermissionsContext } from '../Contexts'; import TextField from '../../../../components/form-con...
import * as THREE from 'three' import { useRef } from 'react' import { useGLTF } from '@react-three/drei' import type { WallRockProps } from '../types/types' export default function WallRock( props: JSX.IntrinsicElements['group'] ): JSX.Element { const group = useRef<THREE.Group>() const { nodes, materials } = u...
import * as React from 'react' import { SVGProps } from 'react' const SvgRaspberrypiLine = (props: SVGProps<SVGSVGElement>) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" {...props}> <path fill="#050606" /> </svg> ) export default SvgRaspberrypiLine
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eu_ES" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About SUPERMAN</source> <translation type="unfinished"/> </message> <message> <location li...
import React, { useEffect, useState } from 'react'; import { useNavigation, useIsFocused } from '@react-navigation/native'; import { StyleSheet, ScrollView, Alert, Text } from 'react-native'; import { TouchableWithoutFeedback } from 'react-native-gesture-handler'; import Header from '../Header'; import OrderCard from ...
import { viteMockServe } from "vite-plugin-mock"; import { resolve } from "path"; export const configViteMockServePlugin = () => { return viteMockServe({ mockPath: resolve(process.cwd(), "mock"), supportTs: true, // localEnabled: !isBuild, }); };
import * as BabelTypes from '@babel/types'; import * as BabelCore from '@babel/core'; import { COMMENT_HINTS_KEYWORDS, getCommentHintForPath, CommentHint, } from '../comments'; import { ExtractionError, getFirstOrNull, findJSXAttributeByName, findKeyInObjectExpression, evaluateIfConfident, iterateObje...
import { ApiMeta, ActionMeta, ActionProducer, Action, ClientApi } from './types' function buildChain(descriptor: ActionMeta, producers: ActionProducer[]) { const chain = [...producers].reverse() return chain.reduce<Action | undefined>( (previous, current) => current(descriptor, previous), undefined ) as ...
//domain model export class AssetHistory { //declaration constructor(public newEmployer: String, public comments: String, public timestamp: String, public reason: String) { } }
import React from 'react'; import { Link } from 'react-router-dom'; interface Props {} const Status: React.FC<Props> = () => { return ( <div className='Status'> <div className='image online' /> <div className='info'> <div className='top'> <span>NyxWeb</span> <span> ...
import Base from './base'; declare type ActionBody = any; declare type ActionError = any; declare type ActionParams = { [key: string]: ActionBody; }; declare type ActionResponse = { -readonly [key in keyof Response]: Response[key]; } & { statusCode: number; }; declare type ActionCallback = (error: ActionErr...
import { Ng2Util } from './ng2-util'; export class Ng2Overlay { static TOP=11; static MIDDLE=12; static BOTTOM=13; static LEFT=21; static CENTER=22; static RIGHT=23; static CURSOR=31; id: string; element: HTMLElement; windowOverlay: boolean; opened: boolean; type: string; //tooltip, menu, popup po...
import * as React from 'react'; import { StandardProps } from '..'; import { ListItemProps, ListItemClassKey } from '../List'; export interface MenuItemProps extends StandardProps<ListItemProps, MenuItemClassKey> { component?: string | React.ComponentType<MenuItemProps>; role?: string; selected?: boolean; } exp...
import { Node } from '../../interfaces'; export declare const UNKNOWN: {}; export declare function gather_possible_values(node: Node, set: Set<string | {}>): void;
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { AnimalProfileComponent } from './animal-profile.component'; describe('AnimalProfileComponentComponent', () => { let component: AnimalProfileComponent; let fixture: ComponentFixture<AnimalProfileComponent>; beforeEach(wait...
/** * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { ReaderResult as Result } from '../result'; import { Task } from '../../../mol-task'; import { Mesh } from '../../../mol-geo/geometry/mesh/mesh'; export...
import env from '@/main/config/env' import { promisify } from 'util' import { readFile, writeFile, access, mkdir } from 'fs' export class FileSystemHelper { private static instance: FileSystemHelper private constructor () {} static getInstance (): FileSystemHelper { if (!FileSystemHelper.instance) { F...
export enum ToastType { Default = 'default', Info = 'info', Success = 'success', Error = 'error', } let container: { cards: Toast[] } export class Toast { type: ToastType message: string title: string duration: number | undefined creationTime = new Date() constructor(message = '', title = '', type =...
export { default as RoundSignalWifi0Bar } from './Icon';
import 'reflect-metadata'; import {Sequelize} from './Sequelize'; import {IFindOptions} from '../interfaces/IFindOptions'; import * as Promise from 'bluebird'; import { SyncOptions, UpsertOptions, BulkCreateOptions, UpdateOptions, RestoreOptions, DestroyOptions, TruncateOptions, InstanceSaveOptions, InstanceSetOpti...
/** * Matches state names using glob-like pattern strings. * * Globs can be used in specific APIs including: * * - [[StateService.is]] * - [[StateService.includes]] * - The first argument to Hook Registration functions like [[TransitionService.onStart]] * - [[HookMatchCriteria]] and [[HookMatchCriterion]] *...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...