text
stringlengths
10
953k
export interface Peer { id: number; /** * The IP address and port of the peer * host:port * * @type {string} * @memberof Peer */ addr: string; addrlocal: string; /** * The services offered * * @type {string} * @memberof Peer */ services: string; /** * The time in second...
/** * Represents the ZX 48K ULA screen. (0x4000-0x5AFF) * I.e. it takes a bank and converts it to a gif image. */ class VisualMem { // The palette used. protected static palette = [ 0x80, 0x80, 0x80, 0x00, // Gray (background)/Transparent 0xC0, 0xC0, 0x00, 0xFF, // Yellow: Read access 0xC0, 0x00, 0x00, 0xFF...
import { createMetadataMap } from '@automapper/pojos'; import { SnakeJob } from './job-snake.interface'; import { SnakeUserProfile, SnakeUserProfileVm, } from './user-profile-snake.interface'; export interface SnakeUser { first_name: string; last_name: string; profile: SnakeUserProfile; job: SnakeJob; } e...
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { EventFilter, Event } from 'ethers' import { Result } from '@ethersproject/abi' export interface TypedEventFilter<EventArgsArray, EventArgsObject> extends EventFilter {} export interface TypedEvent<EventArgs extends Res...
import "introcs"; import { Game, mapPoints, mapAssists, reduceSum, // reduceAvg, filterByOutcome } from "./library"; function main(): void { promptCSV("Select a CSV", Game, process); } function process(games: Game[]): void { print("Games: " + games.length); let filtered: Game[] =...
import { ErrorToJSON, ErrorParams } from '../common/errors'; export abstract class AppError extends Error { readonly errorKey: ErrorParams['errorKey']; readonly code: ErrorParams['code']; readonly error?: ErrorParams['error']; constructor({ code, errorKey, message, error }: ErrorParams) { super(message); ...
import React from 'react' import { Row, Col, Card } from 'react-bootstrap' const Panel = ({ children, large, }: { children: JSX.Element large: boolean }) => { return ( <Row className="h-100"> <Col xs={{ span: 10, offset: 1 }} md={{ span: large ? 6 : 4, offset: large ? 3 : 4 }} ...
import React, { DependencyList, forwardRef, useEffect, useImperativeHandle, useRef, useState, } from "react"; import { findNodeHandle, NativeModules, Platform, TextInput, TextInputProps, } from "react-native"; const { RNTextInputMask } = NativeModules as { RNTextInputMask: MaskOperations; }; ...
import { MethodElementListComponent } from './method-element-list.component'; import { createComponentFactory, Spectator } from '@ngneat/spectator'; describe('MethodElementListComponent', () => { let spectator: Spectator<MethodElementListComponent>; const createComponent = createComponentFactory({ component: M...
import { Common } from './yourplugin.common'; export declare class YourPlugin extends Common { constructor(); }
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import * as fs from 'fs'; import * as ts from 'typescript'; import {CompilerHost} from '../transformers/api'; import...
import { Model, Pojo } from "objection"; import * as decorators from "../util/objection"; import { evaluateRangeCondition, RankedTierCondition, RoleCombinator, TypedRoleCondition } from "../types/conditions"; import User, { UserRank } from "./user"; import config from "../config"; import omit = require("lodash.omit"); ...
/** * Database Tools * Database Tools APIs to manage Connections and Private Endpoints. * OpenAPI spec version: 20201005 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * This so...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ */ import { Fun } from '@ephox/katamari'; import Editor from 'tinymce/co...
export​ { MenuContentPage } from​ './MenuContent.page'; export​ { ProductDetailPage } from​ './ProductDetail.page'; export​ { ProductListPage } from​ './ProductList.page'; export​ { ProductAddedModalPage } from​ './ProductAddedModal.page'; export​ { SummaryStepPage } from​ './SummaryStep.page'; export​ { SignInStepPage...
import * as Models from './models'; import * as Parameters from './parameters'; import { Client } from '../clients'; import { Callback } from '../callback'; import { RequestConfig } from '../requestConfig'; export class WorkflowSchemes { constructor(private client: Client) {} /** * Returns a [paginated](https:...
/** * Wechaty - https://github.com/chatie/wechaty * * @copyright 2016-2017 Huan LI <zixia@zixia.net> * * 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.ap...
/* * @author ohmed * DatTank Chat UI module */ import * as OMath from '../OMath/Core.OMath'; import { Logger } from '../utils/Logger'; import { UI } from './Core.UI'; import { Arena } from '../core/Arena.Core'; import { TeamManager } from '../managers/arena/Team.Manager'; import { Network } from '../network/Core.Net...
import { Logger } from "../Misc/logger"; import { Scene } from "../scene"; import { Color3 } from "../Maths/math.color"; import { SubSurfaceScatteringPostProcess } from "../PostProcesses/subSurfaceScatteringPostProcess"; import { SceneComponentConstants } from "../sceneComponent"; import { PrePassEffectConfiguration } ...
import { Injectable } from '@nestjs/common'; import { CsvHeader, CsvBody } from './interface/csvInterface'; const fs = require('fs'); const csv = require('csv-parser') const createCsvWriter = require('csv-writer').createObjectCsvWriter; @Injectable() export class AppService { sayHello(): string { return 'Welcome...
export type Style = { [key: string]: string | number }; type EventHandler<EL, EV> = (event: EV, element: EL) => void; interface Attributes<EL> { [name: string]: Style | string | undefined | EventHandler<EL, any>; } export type Child<EL> = Attributes<EL> | HTMLElement | DocumentFragment | string | undefined; con...
import Generic from "./Generic"; import GenericObject from "./GenericObject"; export default interface Data { body?: Generic; endpoint?: string; environment?: string; headers?: GenericObject; id?: string; method?: string; parameters?: GenericObject; url?: string; version?: string; }
import { FetchHttpClient, CommonRequestInfo, CommonRequestInit, CommonResponse } from "./fetchHttpClient"; import { HttpOperationResponse } from "./httpOperationResponse"; import { WebResourceLike } from "./webResource"; export declare class NodeFetchHttpClient extends FetchHttpClient { private proxyAgentMap; p...
import { IReferences } from 'pip-services3-commons-node'; import { ProcessContainer } from 'pip-services3-container-node'; import { DefaultRpcFactory } from 'pip-services3-rpc-node'; import { DevicesClientFactory } from 'iqs-clients-devices-node'; import { ObjectGroupsClientFactory } from 'iqs-clients-objectgroups-nod...
import * as express from 'express'; import * as bodyParser from 'body-parser'; import api from './api'; import { httpErrorHandler, notFoundHandler } from './error/handlers'; const app = express(); app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyParser.json()); app.use((req, res, next) => { res.head...
import { expect } from 'chai'; import * as sinon from 'sinon'; import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { mockRequireEnsure, mockReactComponent } from '../../utils/test-utils/index'; import * as TestUtils from 'react-addons-test-utils'; import { DataSourceMock } from '../../../com...
export * from './Node.wrapper'
import React from "react"; import _ from "lodash"; import { BaseDropdown, DropdownProps, } from "components/designSystems/appsmith/Dropdown"; import { Field } from "redux-form"; interface DropdownFieldProps { name: string; className?: string; options: Array<{ label: string; value: string; }>; pla...
import React from "react"; import { Switch, Route } from "react-router-dom"; // import { Dashboard } from "../pages/Dashboard"; // import { Repo } from "../pages/Repo"; const Dashboard = React.lazy( () => import( /* webpackPrefetch: true */ /* webpackChunkName: "dashboard" */ "../pages/Dashboard" ) ); ...
import { ColorName } from "@beyond-ui/theme"; import { Property } from "csstype"; import { Token } from "./types"; export const interactionPropsResolver = { appearance: "appearance", userSelect: "userSelect", pointerEvents: "pointerEvents", resize: "resize", cursor: "cursore", outline: "outline", outline...
import React, { forwardRef } from "react"; import { IconWeight, IconProps, PaintFunction, renderPathForWeight, } from "../lib"; import IconBase, { RenderFunction } from "../lib/IconBase"; const pathsByWeight = new Map<IconWeight, PaintFunction>(); pathsByWeight.set("bold", (color: string) => ( <> <path ...
import * as Path from 'path' import { enumerateValues, HKEY, RegistryValue, RegistryValueType, } from 'registry-js' import { pathExists } from 'fs-extra' import { IFoundEditor } from './found-editor' import { assertNever } from '../fatal-error' import { parseEnumValue } from '../enum' export enum ExternalEd...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Dutchchuncoin</source> <translation>Tietoa Dutchchuncoinista</transl...
import { Core } from "../Core"; export interface IPlugin{ startPlugin(core: Core): Promise<any> stopPlugin(core: Core ): Promise<any> }
// third parties import * as HttpStatus from 'http-status-codes'; import { Request, Response } from 'express'; import moment from 'moment'; import _ from 'lodash'; // locals import { CommonService } from '../../services/common.service'; import UserService from '../../services/users/users.service'; import MoodboardServ...
const { cd, exec, echo, touch } = require("shelljs") const { readFileSync } = require("fs") const url = require("url") let repoUrl let pkg = JSON.parse(readFileSync("package.json") as any) if (typeof pkg.repository === "object") { if (!pkg.repository.hasOwnProperty("url")) { throw new Error("URL does not exist i...
import React from 'react'; import AddDocumentForm from './AddDocumentForm'; export default { component: AddDocumentForm, title: 'Components/AddDocumentForm', }; export const Default = () => <AddDocumentForm text="Example text" />;
import styled from 'styled-components'; import { primitive } from 'styles/constants/primitives'; export const BannerContainer = styled.div` padding: 0 1rem; overflow: hidden; position: relative; animation: ${fadeIn} 0.4s forwards; font-family: ${Styles.fontFamily.base}; background-color: ${primitive.th.$co...
import { ServiceException as __ServiceException__ } from "@aws-sdk/types"; /** * <p>The request was rejected because you supplied an invalid or out-of-range value for an input parameter.</p> */ export interface InvalidInputException extends __ServiceException__<_InvalidInputExceptionDetails> { name: "InvalidInpu...
import { Controller, Get, Post, Put, Patch, Delete, Body, UsePipes, HttpStatus, HttpCode, HttpException, Headers, MethodNotAllowedException, } from '@nestjs/common'; import { UsersService } from './users.service'; import { CreateUserDTO, EmailDTO, PasswordDTO } from './dto'; import { IUser } f...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
import * as React from 'react' import { uniqueId } from 'lodash' import Colors from './Colors' export default class CollarSweater extends React.Component { static optionValue = 'CollarSweater' private path1 = uniqueId('react-path-') private mask1 = uniqueId('react-mask-') render () { const { path1, mask...
import { Module } from '@nestjs/common'; import { AuthService } from './auth.service'; import { AuthController } from './auth.controller'; import { JwtStrategy } from './jwt.strategy'; import { PassportModule } from '@nestjs/passport'; import { JwtModule } from '@nestjs/jwt'; import { UserModule } from '../user/user.mo...
import React, { createContext, useCallback, useContext, useEffect, useMemo, useState, } from "react"; import { txAdminMenuPage, usePage } from "../state/page.state"; import { useIsMenuVisible } from "../state/visibility.state"; import { usePermissionsValue } from "../state/permissions.state"; const iFrameC...
import { FlexyToastsService } from './toasts.service'; import { FlexyToastsContainerComponent } from './toasts-container.component'; import createSpyObj = jasmine.createSpyObj; describe('Toasts service', () => { let service: FlexyToastsService; let containerServiceSpy; const stubToastId = 1; beforeEach(() => ...
import { newE2EPage } from '@stencil/core/testing'; describe('gux-color-select', () => { it('renders', async () => { const html = '<gux-color-select><input slot="input" type="color" value="#75A8FF"></gux-color-select>'; const page = await newE2EPage({ html }); const element = await page.find('gux-c...
import { Avalanche } from "../../src"; import { IndexAPI } from "../../src/apis/index"; import { GetContainerByIndexResponse } from '../../src/common/interfaces'; const ip: string = 'localhost'; const port: number = 9650; const protocol: string = 'http'; const networkID: number = 12345; const avalanche: Avalan...
'use strict' import { update } from 'solc/abi' import * as webworkify from 'webworkify-webpack' import compilerInput, { compilerInputForConfigFile } from './compiler-input' import EventManager from '../lib/eventManager' import txHelper from './helper' import { Source, SourceWithTarget, MessageFromWorker, CompilerSta...
import fs from 'fs'; import axios, { AxiosResponse } from 'axios'; import glob from 'glob'; import config from '../config'; import { Product, Price } from '../db/types'; import { generateProductHash, generatePriceHash } from '../db/helpers'; import { upsertProducts } from '../db/upsert'; const baseUrl = 'https://cloud...
/** * @Name: * @Description: * @author RiSusss * @date 2019-07-02 */ import React from 'react'; import styled from 'styled-components'; import Lazyload from 'react-lazyload'; import { setDragStatusAction, setDragImageAction, setSelectedImagesAction } from '../../store/actions'; import { useAppContext } from ...
/// <reference path="core.ts" /> /// <reference path="diagnosticInformationMap.generated.ts" /> namespace ts { /* @internal */ export function trace(host: ModuleResolutionHost, message: DiagnosticMessage, ...args: any[]): void; export function trace(host: ModuleResolutionHost): void { host.trace(fo...
import { Injectable } from '@angular/core'; import { NgxSpinnerService } from 'ngx-spinner'; @Injectable({ providedIn: 'root' }) export class BusyService { busyRequestCount = 0; constructor(private spinnerService: NgxSpinnerService) { } busy() { this.busyRequestCount++; this.spinnerService.show(unde...
import * as React from "react" import Footer from "../Footer" import { Menu } from "../Menu" import api from "../../data/en/api" import * as typographyStyles from "../../styles/typography.module.css" import * as containerStyles from "../../styles/container.module.css" import CodeArea from "../CodeArea" import control f...
import { sequenceOf } from "../src/Sequence"; describe("mapNotNull", () => { it("should map to non-null items", () => { const a1 = { a: 1 }; const a2 = { a: null }; const a3 = { a: null }; const a4 = { a: 4 }; const array = sequenceOf(a1, a2, a3, a4) .mapNotNull(it => it.a) .toArray(...
import { DiProcess, logTemplates, TemplateRegistry, templateService } from '@wikia/ad-engine'; import { Injectable } from '@wikia/dependency-injection'; import { merge } from 'rxjs'; import { registerBfaaTemplate } from './bfaa-template'; import { registerBfabTemplate } from './bfab-template'; import { registerLogoRepl...
export * from "./add-missing-jsx-attribute";
import ClickHouse from '@makeomatic/clickhouse' import { Promise } from 'bluebird' import { merge } from 'lodash' import { Writable, Duplex } from 'stream' import { InsertData, TableBuilder, } from './interfaces' export class ClickhouseClient { public static readonly defaultOpts: ClickHouse.Options = { host:...
import {DemoBlock} from 'antd-mobile/src/demos/demo-block' import {useState} from 'react' import {DesensText} from 'antd-mobile' export default () => { const [isDesens, setDesens] = useState<boolean>(true) return ( <> <DemoBlock title='基础用法'> <DesensText text='18812341234' desensText='188****123...
import { Dom7Array } from 'dom7'; import { SwiperOptions } from './swiper-options'; import { CSSSelector, SwiperComponent } from './shared'; import { SwiperEvents } from './swiper-events'; import { A11yMethods } from './components/a11y'; import { AutoplayMethods } from './components/autoplay'; import { ControllerMetho...
import path from 'path' import PnpmError from '@pnpm/error' import { store } from '@pnpm/plugin-commands-store' import prepare from '@pnpm/prepare' import { REGISTRY_MOCK_PORT } from '@pnpm/registry-mock' import rimraf from '@zkochan/rimraf' import execa from 'execa' import tempy from 'tempy' const REGISTRY = `http://...
import { minus, plus, times, expi } from "complex/dst/Complex.js"; import { ComplexArray, makeComplexArray, getComplex, setComplex, } from "complex/dst/ComplexArray.js"; import { FFTPrep } from "./fft_types.js"; const TAU = 2 * Math.PI; // https://en.wikipedia.org/wiki/Turn_(angle)#Tau_proposals export const f...
import { Hook, Logger } from '../../../mod.ts'; export class MathService { public add(a: number, b: number): number { return a + b; } @Hook({ application: '*', container: '*', type: MathService, scope: 'post', }) public onInit(): void { Logger.info('Hello, math service is ready!'); ...
import { Annotation, AnnotationView } from "./annotation"; import { LegendItem } from "./legend_item"; import { Orientation, LegendLocation, LegendClickPolicy } from "../../core/enums"; import * as visuals from "../../core/visuals"; import * as mixins from "../../core/property_mixins"; import * as p from "../../core/pr...
import * as React from 'react'; import { useCallback, useRef, useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { Select, MenuItem, InputLabel, FormHelperText, FormControl, Chip, } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; impor...
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Storage } from '@ionic/storage'; import firebase from 'firebase/app'; import 'firebase/auth'; import 'firebase/firestore'; /* Generated class for the AuthProvider provider. See https://angular.io/guide/dependen...
import { Controller, Post, HttpCode, Body, BadRequestException, HttpStatus } from '@nestjs/common'; import { ApiTags } from '@nestjs/swagger'; import { SignUp, SignIn } from './usecase'; import { SignUpReqDto, SignInReqDto } from './dto/request'; import { SignInResDto } from './dto/response'; @ApiTags('Users') @Contro...
import { Component, AfterViewInit } from '@angular/core'; import { TrafficChartService } from './trafficChart.service'; import * as Chart from 'chart.js'; @Component({ selector: 'reflex-traffic-chart', templateUrl: './trafficChart.component.html', styleUrls: ['./trafficChart.component.scss'] }) // TODO: move c...
// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../@material/base/component // ../../../@material/ripple/component // ../../../@material/ripple/types // ../../../@material/base/foundation declare module '@material/checkbox' { /** * @license * Copyright 2019 Google In...
import { TypeGuard } from 'type-core'; import { series, Task, exec, confirm, context, progress } from 'kpo'; import { defaults } from '../defaults'; export interface DistributeParams { push?: boolean; } export function distribute(params: DistributeParams | null): Task.Async { const opts = { push: TypeGuard.i...
import { Firewall } from 'linode-js-sdk/lib/firewalls'; export const firewall: Firewall = { id: 1, status: 'enabled', label: 'my-firewall', created_dt: '2019-09-11T19:44:38.526Z', updated_dt: '2019-09-11T19:44:38.526Z', tags: [], devices: { linodes: [] }, rules: [ { inbound: [ {...
import { trimScale as coreTrimScale } from '@dinero.js/core'; import type { TrimScaleParams } from '@dinero.js/core'; /** * Trim a Dinero object's scale as much as possible, down to the currency exponent. * * @param dineroObject - The Dinero object which scale to trim. * * @returns A new Dinero object. */ expor...
/* * 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 numeral from '@elastic/numeral'; import { IScopedClusterClient } from ...
/* eslint-disable sort-keys-fix/sort-keys-fix */ import { Selector } from "testcafe"; import { buildTranslations } from "../../../app/i18n/helpers"; import { cucumber } from "../../../utils/e2e-utils"; import { goToProfile } from "../../profile/e2e/common"; import { goToWallet } from "../e2e/common"; const translatio...
import { createClient, RedisClient } from "redis"; import { promisify } from "util"; const redisPrefix = "design-op:"; export const plainRedisConnection = () => { const client = createClient({ prefix: redisPrefix }); const redisSet: Function = promisify(client.set).bind(client); const redisGet: Function =...
import * as React from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faTimes } from "@fortawesome/free-solid-svg-icons"; import { Animation } from 'babylonjs/Animations/animation'; import { Vector2 } from 'babylonjs/Maths/math.vector'; import { EasingFunction, BezierCurveEase } fro...
import React from 'react' import { IntlProvider } from 'react-intl' import { Switch, Route, HashRouter } from 'react-router-dom' import { getCookie } from 'helpers/utils' import myNl from 'localisation/nl.json' import myDe from 'localisation/de.json' import myEn from 'localisation/en.json' import myRu from 'localisat...
import { render } from '@testing-library/react' import { createElement, forwardRef, MutableRefObject, useRef } from 'react' import { useInnerRef } from '../src/inner-ref' test(`Convert forwardedRef to a new regular React ref object`, () => { let ref: MutableRefObject<HTMLElement> const Component = forwardRef<H...
import { BaseEntity, Entity, PrimaryGeneratedColumn, Column, ManyToOne, OneToMany, BeforeInsert, } from 'typeorm'; import { Article } from './article.entity'; import { Cat } from './cat.entity'; import { Visitor } from './visitor.entity'; import { Blog } from './blog.entity'; @Entity() export class Comme...
import * as React from "react"; import { CarbonPictogramProps } from "../../"; declare const HomeFront: React.ForwardRefExoticComponent< CarbonPictogramProps & React.RefAttributes<SVGSVGElement> >; export default HomeFront;
/* eslint-disable @typescript-eslint/no-magic-numbers */ /* eslint-disable no-bitwise */ export function rgbToHex(rgb: string): string { const newRgb = rgb.trim().match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i) || []; const r = newRgb[1]; const g = newRgb[2]; const b = newRgb[3];...
import { useRouter } from "next/router" import React from "react" import dlv from "dlv" export type I18nLocale = Exclude<string, "count" | "params"> // @ts-expect-error circular reference export type I18nSimpleParam = string | number | Record<string, I18nSimpleParam> export type I18nParam = | I18nSimpleParam | JS...
import { LineAwesomeIcon } from './line-awesome-icon'; export declare const lasBold: LineAwesomeIcon;
console.log(window, Promise, Date, Function);
import { FunctionComponent, useContext } from 'react'; import { nanoid } from 'nanoid'; import { ModalContext, IModal } from './ModalContext'; type OnCloseParameters<T extends IModal> = Parameters<T['onClose']>; type UseModalResult<T extends IModal> = [ (props?: Partial<T>) => Promise<OnCloseParameters<T>> ]; type...
/** * * * OpenAPI spec version: 20181201 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
import { printLine } from './modules/print.js'; const hrefMap = { udemy: 'udemy', netflix: 'netflix', lynda: 'lynda', hulu: 'hulu', amazon: 'amazon', hbonow: 'hbonow', hbomax: 'hbomax', primevideo: 'primevideo', disneyplus: 'disneyplus', paramountplus: 'paramountplus', }; const whatsPage = (href) ...
import { Link, useHistory } from 'react-router-dom'; import { FormEvent, useState } from 'react'; import { Button } from '../components/Button'; import '../styles/auth.scss' import illustrationImg from '../assets/illustration.svg'; import logoImg from '../assets/logo.svg'; import { database } from '../services/firebas...
import * as core from '@actions/core' import {findResults} from './search' import {Inputs} from './constants' import {annotationsForPath} from './annotations' import {chain, splitEvery} from 'ramda' import {Annotation} from './github' import {getOctokit, context} from '@actions/github' const MAX_ANNOTATIONS_PER_REQUES...
export * from './Address'; export * from './Pools'; export * from './Pool'; export * from './PoolDepositWithdrawMenu'; export * from './MetamaskConnect'; export * from './NetworkSwitcher'; export * from './MetamaskStatus'; export * from './Hero'; export * from './Heading'; export * from './Loading'; export * from './Ba...
import { getWSProxy } from '../src/index'; const socket = getWSProxy(new WebSocket('ws://localhost:8002')); let interval = null; socket.onopen = function() { console.log(`[${(new Date()).toISOString()}]: Websocket openened to "${socket.url}"`); interval = setInterval(() => { const msg = 'Hello, world!'; ...
/** * Speak-Service fuer die Integration von Speak in Angular * * API-Version: 1.3 * Datum: 21.02.2019 * * Letzte Aenderung: 28.02.2019 * Status: gelb * * @module speech/speak * @author SB */ // extern import { EventEmitter } from './../common/event_emitter'; // speech-framework import ...
import React from 'react' import { render } from 'react-dom' import './styles/global.css' import './styles/cards.css' import { Main } from './content' import { Layout } from './components' import 'font-awesome/css/font-awesome.min.css' render( <Layout> <Main /> </Layout>, document.getElementById('root') as H...
export { ByteBuffer } from './bytebuffer'; export * from './crypto'; export * from './script'; export * from './asset'; export * from './block'; export * from './chain'; export * from './net'; export * from './tx';
import React, {ReactElement} from 'react' import {useNavigate, NavigateFunction, useLocation, Location} from 'react-router' import {SafeAreaView, Text, Button} from 'react-native' import auth from '../../adapters/security/auth' const PageHome = (): ReactElement => { const navigate: NavigateFunction = useNavigate() ...
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core'; import {MetricCopy} from '../metric.model'; import {MetricService} from '../metric.service'; import {ObstructionService} from '../obstruction/obstruction.service'; impor...
/* eslint-disable import/no-cycle */ import { CollapsableMenus } from '../containers/Toolbar'; import { ComponentTypes } from '../components'; export function getComponentHelperTextByComponentType(type: string, language: any): string { switch (type) { case ComponentTypes.Header: { return language.ux_editor...
/* * 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 { EuiButtonEmpty, EuiFormRow } from '@elastic/eui'; import React, { FC...
import { NgModule } from '@angular/core'; import { ReactiveFormsModule, FormsModule } from '@angular/forms'; import { CommonModule } from '@angular/common'; import { UsersRoutingModule } from './users-routing.module'; import { LayoutComponent } from './layout.component'; import { UserPostListComponent } from './user-p...
import React, { useState } from 'react'; import { ActionButton } from '@fluentui/react'; import { useTranslation } from 'react-i18next'; import { expanderDivStyle } from './SpecPicker.styles'; interface SpecPickerExpanderProps { onClick: () => void; isExpanded: boolean; } const SpecPickerExpander: React.FC<SpecPi...
import { BuilderElement, BuilderContent } from '@builder.io/sdk'; import { format } from 'prettier/standalone'; import * as parserCss from 'prettier/parser-postcss'; import * as parserHtml from 'prettier/parser-html'; import { Options as PrettierOptions } from 'prettier'; import { blockToLiquid } from './block-to-liqui...