text
stringlengths
10
953k
import {TestBed, waitForAsync} from '@angular/core/testing'; import {NoopAnimationsModule} from '@angular/platform-browser/animations'; import {RouterTestingModule} from '@angular/router/testing'; import {CollectSingleFileDetails} from '../../../components/flow_details/plugins/collect_single_file_details'; import {Col...
import { Body, Controller, Patch, Post, Query, Request } from '@nestjs/common'; import { AgriEnterpriseService } from 'src/agri-enterprise/agri-enterprise.service'; import { CreditFacilityDto } from './dto/credit-facility.dto'; import { FinancialInfoPage1Dto, FinancialInfoPage2Dto } from './dto/financial-info.dto'; imp...
export interface CadastroUsuario { IdUsuario: number, IdCondominio: number, Administrator: boolean, Ativo:boolean, Nome:String, Bloco:string, Apartamento:string, Telefone:number, Documento:String }
import { AllResultsType, FilterType, PaginateType, WithAttributesType } from '../../common' import { ScanType } from './scan' export type ScanChainingKind = ScanType | AllResultsType | WithAttributesType | PaginateType | FilterType export { DynamoScan } from './scan'
/** * Data Integration API * Use the Data Integration API to organize your data integration projects, create data flows, pipelines and tasks, and then publish, schedule, and run tasks that extract, transform, and load data. For more information, see [Data Integration](https://docs.oracle.com/iaas/data-integration/hom...
import { Request } from "express"; import { User } from "../user/user.entity"; export interface UserRequest extends Request { user: User; }
import { Graph } from "./graph"; import { Intersection } from "./intersection"; import { Bounds } from "./utils/bounds"; declare var dat; export class ZebraLine extends Graph { private _p1: { x: number; y: number }; private _p2: { x: number; y: number }; private _num: number; static build(data: any, intersect...
export interface PaymentInfo { name: string; cardnumber: number; month: number; year: number; securitycode: number; }
import {Entity} from "../../common/world.js"; import {Game} from "../game.js"; import {Has} from "../world.js"; export interface Cull { Mask: number; } export function cull(mask: number) { return (game: Game, entity: Entity) => { game.World.Signature[entity] |= Has.Cull; game.World.Cull[entity...
import { AxiosResponse } from 'axios'; import { getApiDefault } from '../client'; export interface UserInfoType { name: string; studentNumber: number; remainingAssignment: number; completionAssignment: number; id: number; type: string; } export interface UserInfoResponseType { name: string; student_nu...
import {ChangeDetectionStrategy, Component, Input} from '@angular/core'; import {T} from 'src/app/t.const'; import {TaskWithSubTasks} from 'src/app/features/tasks/task.model'; @Component({ selector: 'gitlab-issue-header', templateUrl: './gitlab-issue-header.component.html', styleUrls: ['./gitlab-issue-header.com...
import BuyerSchemaList, { BuyerIcon as BuyerSchemaIcon } from './buyer_schema_list'; import { BuyerSchemaCreate } from './buyer_schema_create'; import { BuyerSchemaEdit } from './buyer_schema_edit'; const BuyerSchemaResource = { name: 'buyerSchema', list: BuyerSchemaList, icon: BuyerSchemaIcon, create: BuyerS...
export interface ICommandDefaultOptions { airbnb?: boolean; react?: boolean; ts?: boolean; vue?: boolean; } export interface ICommandFluxOptions extends ICommandDefaultOptions { actionPath: string; reducerPath: string; } export interface ICommandOptions extends ICommandDefaultOptions { clean?: boolean; ...
import { APISummary } from '@syndesis/models'; import * as React from 'react'; import { ApiContext } from './ApiContext'; import { callFetch } from './callFetch'; export function useApiProviderSummary(specification: string) { const apiContext = React.useContext(ApiContext); const [loading, setLoading] = React.useS...
import { Card } from '../../../interfaces' import Set from '../Supreme Victors' const card: Card = { name: { en: "Togekiss C", fr: "Togekiss ", }, illustrator: "kawayoo", rarity: "Uncommon", category: "Pokemon", set: Set, dexId: [ 468, ], hp: 70, types: [ "Colorless", ], stage: "Basic", attack...
import React from 'react'; import { t } from '@lingui/macro'; import { Box, IconButton, Paper } from '@material-ui/core'; import { Search as SearchIcon } from '@material-ui/icons'; import { useHistory } from 'react-router-dom'; import styled from 'styled-components'; import { Flex, Form, InputBase } from '@chia/core'; ...
import * as React from 'react' import {useSnapshot} from 'valtio' import {state} from '../state' import {Scrollable} from './scrollable' import {RenderImage} from './renderimage' import {Spacer} from './spacer' import {MainToolbar} from './maintoolbar' import * as styles from './main.module.css' export function Main(...
// Auto-generated. Do not edit. //% color=50 weight=11 //% icon="\uf1eb" declare namespace maqueen_MBOT_IR { /** * Lorsque le bouton de la telecommande du robot mbot est appuyé. Attention à initialiser le port du recepteur infrarouge. */ //% blockId=ir_received_left_event //% block="L...
import { getCommentIds } from './getCommentIds'; import { getDiscussionIds } from './getDiscussionIds'; import { getFollowId } from './getFollowId'; export const NotionLineagePage = { getDiscussionIds, getCommentIds, getFollowId };
import { BigInt, JSONValue, JSONValueKind, TypedMap } from "@graphprotocol/graph-ts" import { isValidHash } from './utils/ipfs' export function ensureObject(jsonValue: JSONValue | null): TypedMap<string, JSONValue> | null { if (jsonValue != null && jsonValue.kind == JSONValueKind.OBJECT) { return jsonValu...
import type { AutocompleteApi, AutocompleteState, } from '@algolia/autocomplete-core'; import type { MutableRefObject } from 'react'; import React from 'react'; import { MAX_QUERY_SIZE } from './constants'; import { LoadingIcon } from './icons/LoadingIcon'; import { ResetIcon } from './icons/ResetIcon'; import { S...
import React from 'react'; export const ProjectsCreate: React.FC = () => { return <div>projects create</div>; };
import HttpException from "../common/http-exception"; import { Request, Response, NextFunction } from "express"; export const errorHandler = ( error: HttpException, request: Request, response: Response, next: NextFunction ) => { const status = error.statusCode || 500; const message = error.message || "...
import {Subject} from 'rxjs/Subject'; import {Observable} from 'rxjs/Observable'; import 'rxjs/add/operator/filter'; import 'rxjs/add/operator/map'; interface BroadcastEvent { key: any; data?: any; } export class Broadcaster { private _eventBus: Subject<BroadcastEvent>; constructor() { this._eventBus = ...
import {BaseType, IFormatter, VoidType} from '../model'; import {Definition} from '../schema'; export class VoidFormater implements IFormatter { public isSupport(type: VoidType): boolean { return type instanceof VoidType; } public getDefinition(type: VoidType): Definition { return {}; ...
import styled from "styled-components"; import { color, space } from "src/theme"; export const Table = styled.table` width: 100%; border-collapse: collapse; & tr { border-bottom: 1px solid; border-color: ${color("divider.light")}; } & th { padding: ${space(1)}; text-align: left; } & td { ...
import { Component } from '@angular/core'; @Component({ selector: 'sidebar', templateUrl: 'sidebar.component.html', styleUrls: ['sidebar.component.css'] }) export class SidebarComponent { const Tabs = { Books: 'books', AddBook: 'add-book' }; active: string; constructor() { active = this.Tabs.Books; } ...
import { connect } from 'react-redux'; import ChatScreen from '../components/ChatScreen'; import { State } from '../core/reducers'; import { setRoomThreadId, addUserToRoomThread } from '../core/sideEffects'; const mapStateToProps = (state: State) => ({ isRemoved: state.threadMembers.isRemoved, hasThreadId: !!stat...
import { chain, Rule, SchematicContext } from '@angular-devkit/schematics'; import { createMigrationSchematicRule, NullableDevkitMigration, TargetVersion } from '@angular/cdk/schematics'; import { ruleUpgradeData } from './upgrade-data'; import { SrcToNzImageRule } from './upgrade-rules/checks/_src-to-nz-image-rule'; i...
/************************************************************************* * Copyright 2021 Gravwell, Inc. All rights reserved. * Contact: <legal@gravwell.io> * * This software may be modified and distributed under the terms of the * MIT license. See the LICENSE file for details. *********************************...
import { ScriptBuilder, InteropServiceCode, OpCode, OpToken } from "../sc"; import { isPublicKey } from "./verify"; /** * Constructs the script for a multi-sig account. * @param signingThreshold - number of keys required for signing. Must be smaller or equal to the number of keys provided. * @param keys - public ke...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { compare } from 'semver'; import { MetadataFile } from '../amf/metadata-file'; import { Artifact } from '../artifacts/artifact'; import { Registry, SearchCriteria } from '../artifacts/registry'; import { FileType } from '../fs/filesyste...
import { Heading } from "@chakra-ui/react"; import React from "react"; import { Twemoji } from "react-emoji-render"; import { useChatConfiguration } from "../Configuration"; export function HeadingText(): JSX.Element { const config = useChatConfiguration(); return ( <Heading as="h1" fontSize="sm" text...
import React from 'react'; import { NavigationContainer } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; const { Navigator, Screen } = createStackNavigator(); import Header from './components/Header'; import OrphanagesMap from './pages/OrphanagesMap'; import Orphanag...
/* * 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 { EuiBasicTable, EuiBasicTableProps, EuiButtonEmpty, EuiContex...
/* global API_KEY */ import React from 'react'; import Head from 'next/head'; function App({Component, pageProps}) { return ( <> <Head> <title>Example d'application</title> <meta charSet="utf-8" /> </Head> <Component {...pageProps} /> </> ); } export default App;
import RdfResourceImpl, { Constructor, namespace, RdfResource, property } from '@tpluscode/rdfine'; import { createFactory } from '@tpluscode/rdfine/factory'; import * as $rdf from '@rdf-esm/data-model'; import type * as RDF from '@rdfjs/types'; import { schema } from './namespace'; import type { Initializer, ResourceN...
import React from 'react' const App = (): JSX.Element => { return ( <> <h1>Hello World!?</h1> <button onClick={() => console.log("test")}> button! </button> </> ) } export default App
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** * Tests for "bicep restore". * * @group CI */ import { BicepRegistryReferenceBuilder } from "./utils/br"; import { invokingBicepCommand } from "./utils/command"; describe("bicep publish", () => { // CI tests do not need a real regis...
import { Title, Skeleton } from '../../components' import * as React from 'react' export class SkeletonD extends React.Component { public render(): React.ReactNode { return ( <> <Title>Skeleton</Title> <Skeleton> <h3>This is title</h3> </Skeleton> <Skeleton> ...
import { useCallback, useMemo } from 'react' import { provider } from 'web3-core' // import useSushi from './useSushi' import { useWallet } from 'use-wallet' // import { unstake, getMasterChefContract } from '../sushi/utils' import useFarm from './useFarm' import { getContract } from '../utils/pool' import BigNumber ...
import { Component } from '@angular/core'; import { NavController, NavParams } from 'ionic-angular'; @Component({ selector: 'page-buttons-clear', templateUrl: 'buttons-clear.html' }) export class ButtonsClearPage { constructor(public navCtrl: NavController, public navParams: NavParams) {} }
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../../types"; import * as utilities from "../../utilities"; /*...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { P2SVp...
// credit https://stackoverflow.com/questions/18729405/how-to-convert-utf8-string-to-byte-array export function toUTF8Array(str: string) { const utf8: number[] = []; for (let i = 0; i < str.length; i++) { let charcode = str.charCodeAt(i); if (charcode < 0x80) utf8.push(charcode); else if (charcode < 0x8...
import { Component, State, Element, Prop, Watch, Listen } from '@stencil/core'; import { AV_API_KEY } from '../../global/global'; @Component({ tag: 'uc-stock-price', styleUrl: './stock-price.css', shadow: true }) export class StockPrice { stockInput: HTMLInputElement; // initialStockSymbol: string; @Elem...
/* * 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 React, { Fragment, SFC, useEffect, useState } from 'react'; import { ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { AppPage } from './app.po'; import { browser, logging } from 'protractor'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getTitleText()).toEqual('Welcome...
import * as Url from 'url' import { Container } from './types' import FileContainer from './FileContainer' import S3Container from './S3Container' const FILE_PROTO_RE = /^file\:\/\// // file: ./foo/bar // file: /foo/bar // file: foo/bar // file: file:///foo/bar // s3: s3://buckename // s3: s3://buckname/prefix expor...
import { NestFactory } from '@nestjs/core'; import { WebsiteHandlerModule } from './website-handler.module'; import { MicroserviceOptions, Transport } from '@nestjs/microservices'; import { ImageHandlerModule } from '../../image-handler/src/image-handler.module'; import { Colors, print, Symbols } from '../../../libs/pr...
/** * * Retrieve a [cookie](https://w3c.github.io/webdriver/webdriver-spec.html#cookies) * visible to the current page. You can query a specific cookie by providing the cookie name or * retrieve all. * * <example> :getCookies.js it('should return a cookie for me', () => { browser.setCookies([ ...
import firebase from 'firebase/app' import 'firebase/firestore' import 'firebase/auth' import 'firebase/storage' import 'firebase/functions' import 'firebase/database' import { FIREBASE_CONFIG } from 'src/config/config' // NOTE - This file will be removed when new DB integrated // initialise with config settings, add...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { injectable } from 'inversify'; import { IAsyncDisposableRegistry, IDisposable } from './types'; // List of disposables that need to run a promise. @injectable() export class AsyncDisposableRegistry i...
import { SvgIconTypeMap } from '@material-ui/core'; import { OverridableComponent } from '@material-ui/core/OverridableComponent'; export type StatusInfoProps = { color: string; Icon: OverridableComponent<SvgIconTypeMap<unknown, 'svg'>>; text: string; }; export type StatusInfoGridProps = { color: string; };
/* @TODO: - Analytics should be abstracted with an interface: track(...) - There should be one implementation that does nothing - It should be easy to switch between implementations - We should not be spawning a new process every time we want to track something. We should be flushing events out of this proces...
/* * 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 * distributed u...
import {Driver} from "../Driver"; import {ConnectionIsNotSetError} from "../../error/ConnectionIsNotSetError"; import {ObjectLiteral} from "../../common/ObjectLiteral"; import {DriverPackageNotInstalledError} from "../../error/DriverPackageNotInstalledError"; import {ColumnMetadata} from "../../metadata/ColumnMetadata"...
import { Message as ProtoMessage } from 'protobufjs'; export declare class Message { private message; type: Message.Type; identifier: string; payload: any; constructor(message: ProtoMessage<{}>); toObject(): any; } export declare module Message { enum Type { SendCommandMessage = 1, ...
import React, { FC } from "react"; import { createStyles, Theme, makeStyles } from "@material-ui/core/styles"; import List from "@material-ui/core/List"; import Divider from "@material-ui/core/Divider"; import { EventDetail } from "services/hello-calendar/models/eventDetail"; import { Grid, Typography } from "@material...
/** * @version 0.30 * https://rnfirebase.io/messaging/usage * has no more local pushes so//// * https://github.com/zo0r/react-native-push-notification */ import { Platform } from 'react-native' import { FirebaseMessagingTypes } from '@react-native-firebase/messaging' import PushNotification from 'react-native-push...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Dispatch } from 'redux' import { Project } from 'modules/project/types' import { Gizmo } from 'modules/editor/types' import { setGizmo, togglePreview, toggleSidebar, SetGizmoAction, TogglePreviewAction, ToggleSidebarAction, EditorUndoAction } from 'modules/editor/actions' import { resetItem, dup...
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Employee } from '../models/employee'; @Injectable({ providedIn: 'root' }) export class EmployeeService { selectedEmployee: Employee; employees: Employee[]; readonly URL_API = 'http://localhost:3000/api/empl...
import { Table, Tbody, Td, Tr } from "@chakra-ui/react"; import * as React from "react"; import { LatLng } from "../../../domain/calculateMesh"; import { round } from "../../../domain/roundPoint"; export type Props = { code: string; rows: { latLng: LatLng; title: string }[]; }; export function MeshDetail(props: P...
import { cleanup, render, act } from '@testing-library/react'; import React from 'react'; import { IOktaContext } from '@okta/okta-react/bundles/types/OktaContext'; import { IRtrOktaAuth, RtrOktaAuth, useRtrOktaAuth } from '../src'; import { useRtrOktaUserCtx, RtrOktaAuthContext, } from '../src/RtrOktaAuthContext'...
export function isfunc(f: any): f is Function { return typeof f === 'function'; }
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; import { Provider, TransactionRequest } from "@ethersproject/providers"; import type { AMMSplitter, AMMSplitterInterface } from "../AMMSplitter"; cons...
import { identity as linear, is_function, noop, run_all } from './utils'; import { now } from './environment'; import { loop } from './loop'; import { create_rule, delete_rule } from './style_manager'; import { custom_event } from './dom'; import { add_render_callback } from './scheduler'; import { TransitionConfig } f...
/** * CRM Pipelines * Pipelines represent distinct stages in a workflow, like closing a deal or servicing a support ticket. These endpoints provide access to read and modify pipelines in HubSpot. Pipelines support `deals` and `tickets` object types. ## Pipeline ID validation When calling endpoints that take pipelin...
export {default} from './Base'
export { SvgExporter } from './svg-exporter' export type { ISvgExporter } from './types/svg-exporter.iface'
import debug, { IDebugger } from 'debug'; import availableLocales from 'cldr-core/availableLocales.json'; import Extension from '../models/extensions.model'; import { readFile } from 'fs/promises'; import { resolve } from 'path'; import { IIdentity } from '../../common/interfaces/identity.interface'; import { ModuleTyp...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *---------------------------------------------------------------...
import path from 'path'; import fs from 'fs'; import { TypescriptBundler } from "../../src/main"; const bundler = new TypescriptBundler(path.resolve(__dirname, '../example-projects/multi-import/index.ts')); const dist = path.resolve(__dirname, 'dist'); if (!fs.existsSync(dist)) { fs.mkdirSync(dist); } bundler.ob...
export const satellite132F: string;
/** * Data Integration API * Use the Data Integration API to organize your data integration projects, create data flows, pipelines and tasks, and then publish, schedule, and run tasks that extract, transform, and load data. For more information, see [Data Integration](https://docs.oracle.com/iaas/data-integration/hom...
export class CanvasChar { private canvas_: HTMLCanvasElement | null; private context_: CanvasRenderingContext2D | null | undefined; private monitor_: HTMLElement | null; chars = '█▓▒░'; constructor(canvasSelector: string) { this.canvas_ = document.querySelector(canvasSelector); this.context_ = this....
import { Param } from "../context/Param"; import { Seconds, Time } from "../type/Units"; import { ToneAudioNode, ToneAudioNodeOptions } from "./ToneAudioNode"; export interface DelayOptions extends ToneAudioNodeOptions { delayTime: Time; maxDelay: Time; } /** * Wrapper around Web Audio's native [DelayNode](htt...
import { Controller, RegisterOptions, UseFormReturn, Path, FieldError, UnpackNestedValue, PathValue } from 'react-hook-form'; // Material UI Components import { FormControlLabel, Radio, FormControlLabelProps, Checkbox, FormHelperText, FormControl, FormGroup, FormLabel } from '@mui/material'; import { Switch } from 'co...
import React from 'react' import { ApplicationProvider } from 'react-native-ui-kitten' import { mapping, light } from '@eva-design/eva' export const Provider: React.FC = ({ children }) => ( <> <ApplicationProvider mapping={mapping} customMapping={ { strict: { 'text-font-family': 'Open Sans', ...
import { IconDefinition } from '@fortawesome/fontawesome-common-types'; export type FontAwesomeIconStandalone = { iconName?: string; width?: number; height?: number; svgPathData?: string; }; export type ParsedIcon = | IconDefinition | { viewBoxHeight: number; viewBoxWidth: number; paths: ...
import React from 'react'; import {BrowserRouter, Route} from 'react-router-dom'; import Scraps from './Pages/Scraps'; import Login from './Pages/Login'; import Home from './Pages/Home'; import Announcements from './Pages/Announcements'; import TeacherRegister from './Pages/TeacherRegister'; import TeacherEdit fro...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const ionResizeOutline: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const li...
/* tslint:disable:no-unused-variable */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { DebugElement } from '@angular/core'; import { NewsiteComponent } from './newsite.component'; describe('NewsiteComponent', () => { let component: ...
import BaseFoundation, { DefaultAdapter } from '../base/foundation'; export interface BasicOptionProps { [x: string]: any; value?: string | number; label?: string | number | unknown; children?: unknown; disabled?: boolean; showTick?: boolean; className?: string; style?: Record<string, ...
import { createContext } from 'react'; import { EditControllerProps } from './useEditController'; /** * Context to store the result of the useEditController() hook. * * Use the useEditContext() hook to read the context. That's what the Edit components do in react-admin. * * @example * * import { useEditControll...
import { ArrowForwardIcon, CheckIcon, CloseIcon } from '@chakra-ui/icons' import { Box, Link, Stack, useColorModeValue } from '@chakra-ui/react' import { ASSET_REFERENCE, toAssetId } from '@shapeshiftoss/caip' import { NetworkTypes, WithdrawType } from '@shapeshiftoss/types' import { TxStatus } from 'features/defi/comp...
import {Component, Input, OnChanges} from '@angular/core'; @Component({ selector: 'mp-range', templateUrl: './range.component.html', styleUrls: ['./range.component.scss'] }) export class RangeComponent implements OnChanges { @Input() options: RangeOptionsInterface = {}; position: RangePositionInterface = {}...
import type { ICollection } from './persistence'; import config from '../config'; export async function getFileSystemEntries(items: DataTransferItemList) { return await Promise.all( Object.keys(items) .map((i) => items[Number(i)]) .filter((item) => item.kind === 'file') // file or folder, not a stri...
import {assert} from 'chai'; import {isArray} from 'datalib/src/util'; export interface RuleSet<T> { name: string; rules: Rule<T>[]; } export interface Rule<T> { name: string; items: (T | T[])[]; } export function testRuleSet(ruleSet: RuleSet<any>, getScore: {(_: any): number}, stringify = JSON.stringify) { ...
import Dialogue from "./Dialogue"; export default class Prompt extends Dialogue { constructor(title: string, confirmTitle: string, confirm: () => void); } //# sourceMappingURL=Prompt.d.ts.map
export * from './core/core'; export * from './core/Application'; export * from './core/Component'; export * from './helper/component'; export * from './reactivity/reactivity';
/* eslint-disable simple-import-sort/sort */ /* * Copyright (C) 2017-2020 HERE Europe B.V. * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ // Mocha discourages using arrow functions, see https://mochajs.org/#arrow-functions import { EarthConstants, GeoB...
export interface RandomColors { color: string; bg_color: string; }
/* * Copyright 2020 Spotify AB * * 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 { useSafeState, useMemoizedFn } from '@td-design/rn-hooks'; import useConfirm from '../confirm/useConfirm'; import { PromptProps } from '../type'; export default function usePrompt({ onOk, onCancel }: Pick<PromptProps, 'onOk' | 'onCancel'>) { const [value, setValue] = useSafeState<string>(); const result = ...
import { Theme, createStyles } from '@material-ui/core/styles'; import initState from '../openfin-starter-constant'; const appStyle:any = (theme:Theme) => createStyles({ wrapper:{ position:"relative", top:"0", height: "100vh", color: theme.palette.text.primary, backgroundCo...
/******************************************************************************* * Copyright 2019 alladin-IT GmbH * * 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.apach...
// Tests import { undefinedValue, nullValue, booleanValue, numberValue, functionValue, dateObjectValue, errorObjectValue, arrayValue, objectValue } from './invalidDataTypes'; import { invalidStringValues } from './string'; // Invalid data types export function dataTypes() { ...