text
stringlengths
10
953k
import { SubjectOptions } from "../misc/subject"; import { ErrorCallback, Filename } from "./common"; export declare function quote(str: string): string; export declare const g_config: { opensslVersion: string; silent: boolean; force: boolean; }; export declare function debugLog(...args: [any?, ...any[]]): ...
import { Component, Output, EventEmitter, OnInit } from "@angular/core"; import { Artifact } from "../../../../../ng-swagger-gen/models/artifact"; import { ArtifactService } from "../../../../../ng-swagger-gen/services/artifact.service"; import { ErrorHandler } from "../../../../lib/utils/error-handler"; import { Label...
/* eslint-disable @typescript-eslint/no-empty-interface */ /** Class for getting disk usage. */ export interface IDiskUsage { /** Gets or sets the free disk space in GB. */ freeDiskSpaceGb: number; /** Gets or sets the free disk space in KB. */ freeDiskSpaceKb: number; /** Gets or sets the percentage disk sp...
/** * 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...
import Label from '../Overlays/Label'; export default interface IOverlayerOptions { label: Label; attributes: any; }
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // 'use strict'; import { RepositoryCollaboratorCacheProvider, IRepositoryCollaboratorCacheCreateOptions, IRepositoryCollaboratorCacheProvider } from './repositoryC...
import Mortgage, { MortgageFixRate } from '../../../models/mortgage' export interface MortgagePanelProps { mortgageList: Mortgage[] } export default function MortgagePanel(props: MortgagePanelProps) { return ( <div> { (props.mortgageList || []).map((mg: Mortgage) => <section> <h4>{mg.name}</h4> ...
import { Injectable } from '@angular/core'; import { Router } from "@angular/router"; @Injectable() export class GoToService { constructor(private router:Router) { } goTo(url:String){ this.router.navigate([url]); } }
export * from './SectionWithIcon';
import type NLog from "../nomie-log/nomie-log"; import type { Dashboard } from "../dashboard/dashboard"; import type TrackerConfig from "../tracker/tracker"; import type { ITracker } from "../tracker/tracker"; import { N1ImportNormalizer } from "./import.n1"; import { N2ImportNormalizer } from "./import.n2"; import { N...
import { Editor } from "slate"; import keyBindings from "../keys/KeyBindings"; const useEditorConfig = (editor: Editor) => { return { keyBindings } } export default useEditorConfig;
import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; @InputType() export class MeasurementDescriptionAvgAggregateInput { @Field(() => Boolean, {nullable:true}) id?: true; @Field(() => Boolean, {nullable:true}) measurementSetDescriptionId?: true; }
/* eslint-disable @typescript-eslint/camelcase */ import React, { useState } from 'react'; import { AxiosError } from 'axios'; import { createStyles, makeStyles, Theme, TextField } from '@material-ui/core'; import { useSnackbar } from 'notistack'; import { useTranslation } from 'react-i18next'; import { useHistory } fr...
// Type definitions for angularjs extensions to rxjs // Project: http://reactivex.io/ // Definitions by: Mick Delaney <https://github.com/mickdelaney/> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="angular" /> /// <reference types="rx" /> declare namespace Rx { interfac...
import { Component, OnInit } from '@angular/core'; import { SubjectsService } from 'src/app/services/contentServices/subjects.service'; import { TestQuestionsService } from 'src/app/services/contentServices/test-questions.service'; import { SignInService } from 'src/app/services/sign-in.service'; import { ActivatedRout...
import { sub } from 'date-fns'; // import { role } from './role'; import { email } from './email'; import { boolean } from './boolean'; import { company } from './company'; import { phoneNumber } from './phoneNumber'; import { fullAddress, country } from './address'; import { firstName, lastName, fullName } from './nam...
import {IGameUnit} from "../gameUnits/IGameUnit"; import {common} from "../Common"; import Config from "../Config"; import BoundingInfo = BABYLON.BoundingInfo; import FreeCamera = BABYLON.FreeCamera; /** * Allows drawing over to select units and shows health points of units. Also shows selection rectangle when user ...
import { ISyncAdapter, Maybe } from '../'; export default class LocalStorage<T> implements ISyncAdapter<T> { public key: string; constructor(key: string) { this.key = key; } public read(): Maybe<T> { const value = localStorage.getItem(this.key); if (value === null) { return null; } ...
import * as React from 'react' import { BorderRadiusObject, Shape } from '../types' import { ITourGuideContext } from './TourGuideContext' declare var __TEST__: boolean interface Props { name: string text: string title?: string order: number active?: boolean shape?: Shape image?: React.ReactNode conte...
import React from 'react' import { useClientRequest } from '@lib/utils/useClientRequest' import client, { ClusterinfoClusterStatisticsPartial } from '@lib/client' import { AnimatedSkeleton, ErrorBar, Descriptions, Card } from '@lib/components' import { useTranslation } from 'react-i18next' import { getValueFormat } fro...
import {Component} from 'angular2/core'; import {TestComponent} from './test.component'; import {OnInit} from 'angular2/core'; @Component({ selector: 'my-component', template: ` Hi, I'm <span [style.color]="inputElement.value === 'yes' ? 'red' : 'blue'">{{name}}</span> and this is my first angular2 component! ...
import React from "react"; import "./InterestQuiz.css"; import InterestQuizCheckboxTemplate from "./InterestQuizCheckboxTemplate"; import InterestQuizProps from "./InterestQuizProps"; const InterestQuizPg2 = (props: InterestQuizProps) => { const checkboxes = [ { title: "Business", val: "Business" }, { tit...
export default DataManager; declare namespace DataManager { interface IConfig { name?: string, load?: boolean, default?: { [key: string]: any }, reset?: boolean } } declare class DataManager extends Phaser.Data.DataManager { constructor( config?: DataManager.IConfig...
import { NgModule } from '@angular/core'; import { Ng2Bs3ModalModule } from 'ng2-bs3-modal/ng2-bs3-modal'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; import { DefaultComponent } from './Component/default-component/...
import { expect } from 'chai'; import Token from 'markdown-it/lib/token'; import { parseHeadingTags, headingsAndContent, findNextList, convertListToTypedKeys, findContentAfterList, safelyJoinTokens, HeadingContent, extractReturnType, findContentAfterHeadingClose, StripReturnTypeBehavior, consumeT...
import Entity from './entity' import { ComponentConstructor } from './component' import Clock from './clock' export default abstract class System { lock = false type?: ComponentConstructor[] abstract update(entities: Entity[]): void filter?(entities?: Entity[]): Entity[] | boolean setUpdateGap(clock: Cl...
import {ApolloClient, gql, useApolloClient, useQuery} from '@apollo/client'; // eslint-disable-next-line no-restricted-imports import {Intent} from '@blueprintjs/core'; import * as React from 'react'; import {SharedToaster} from '../app/DomUtils'; import {useInvalidateConfigsForRepo} from '../app/ExecutionSessionStora...
import { Component, OnInit } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { Title } from '@angular/platform-browser'; @Component({ selector: 'app-admin', templateUrl: './admin.component.html', styleUrls: ['./admin.component.scss'] }) export class AdminComponent implemen...
/* * 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, { useState, useEffect } from 'react'; import { EuiButtonEmpty,...
// import { combineReducers } from "@reduxjs/toolkit"; // export const rootReducer = combineReducers({ // });
import AbstractFightDispellableEffect from "@/protocol/network/types/AbstractFightDispellableEffect"; export default class FightTemporaryBoostEffect extends AbstractFightDispellableEffect { public delta: number; constructor( uid = 0, targetid = 0, turnduration = 0, dispelable = 1, spellid = 0,...
import '../__mocks__/fetch'; import Snack, { getSupportedSDKVersions, isValidSemver, defaultConfig, isModulePreloaded, getPreloadedModules, isFeatureSupported, } from './snack-sdk'; describe('sdkVersion', () => { it('uses default when omitted', async () => { const snack = new Snack({}); expect(sn...
import { Component } from '@angular/core'; import { AuthService } from "./services/auth.service"; @Component({ selector: 'my-app', template: ` <my-navbar></my-navbar> <div class="container"> <router-outlet></router-outlet> </div> `, }) export class AppComponent { constructor(private auth: Au...
import * as React from 'react'; import { compose } from 'react-apollo'; import { Link } from 'react-router-dom'; import SearchForm from 'containers/posts/_SearchForm'; import withCurrentUser from 'queries/currentUserQuery'; // typings import { User } from 'types'; interface IProps { keywords: string; currentUser...
import React from "react"; import { StyledSettingSection, StyledSectionHeading } from "styles"; type Props = { heading: string; children?: React.ReactNode; }; const SettingSection: React.FC<Props> = ({ heading, children }) => ( <StyledSettingSection> <StyledSectionHeading>{heading}</StyledSectionHeading> {chil...
import { Controller, Post, Body, Get, Param, Put, Delete, Patch, UseGuards, } from '@nestjs/common'; import { CreateUserDto } from './dto/create_user_dto'; import { IUser } from './interfaces/user.Interface'; import { UserService } from './user.service'; import { UpdateUserDto } from './dto/update_use...
import {ReactChild} from "react"; export interface ButtonProps { disabled?: boolean; disabledClassName?: string; loading?: boolean; loadingClassName?: string; loadingComponent?: ReactChild; className?: string; backgroundColor?: string; color?: string; border?: string; borderRadi...
import { types } from 'mobx-state-tree'; import { DailyQuantity } from './DailyQuantity'; export const WeeklyProduct = types .model({ dailyQuantities: types.optional(types.array(DailyQuantity), []), nextWeekTrend: types.maybeNull(types.string), packingInfo: types.string, productId: types.string, ...
import {LanguageCore} from '@taiga-ui/i18n/interfaces'; import {TUI_SPANISH_LANGUAGE_COUNTRIES} from './countries'; export const TUI_SPANISH_LANGUAGE_CORE: LanguageCore = { months: [ 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Ago...
module powerbi.extensibility.visual { import DataViewObjectsParser = powerbi.extensibility.utils.dataview.DataViewObjectsParser; declare var mapbox: any; export interface MapboxData { features: any[]; } export class MapboxSettings extends DataViewObjectsParser { public api: APISetti...
export class MockResponses { public static customerWithParameterlessAction = JSON.parse( ` { "class": [ "Customer" ], "title": "A Customer", "properties": { "FullName": "Grace Miranda", "Age": 84, "Address": "6th Avenue 489 Busan", "IsFavorite": false }, "entities": [], "ac...
import 'mocha'; import xs, {Stream} from 'xstream'; import {createElement, PureComponent} from 'react'; import isolate from '@cycle/isolate'; import * as renderer from 'react-test-renderer'; import {h, ReactSource, makeCycleReactComponent} from '../src/index'; const assert = require('assert'); class Inspect extends Pu...
import { Request, Response } from 'express'; import { container } from 'tsyringe'; import ListProvidersService from '@modules/appointments/services/ListProvidersService'; export default class AppointmentsController { public async index(request: Request, response: Response): Promise<Response> { const userId = re...
export const APPLICATION_NAME = 'Photoshop'; export const APPLICATION_NAME_FULL = `Adobe ${APPLICATION_NAME}`; export const APPLICATION_REGEX = new RegExp(`${APPLICATION_NAME}.exe`, 'g'); export const DISCORD_APPLICATION_ID = '810372288561020980'; export const SMALL_IMAGE_KEY = 'photoshop_icon'; export const SUPPO...
import { Event } from '../types/Event'; import error from './error'; import close from './close'; const eventList: { [key: string]: Event; } = { error, close, }; export default eventList;
export function getSizesForScale(scale: number, [height, width]: number[]) { return { height: Math.floor(height * scale), width: Math.floor(width * scale) } }
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** @jsx jsx */ import { jsx } from '@emotion/core'; import React, { useMemo } from 'react'; import { LuEditor, inlineModePlaceholder } from '@bfc/code-editor'; import { FieldProps, useShellApi } from '@bfc/extension'; import { filterSectionDia...
// this class is generated, please do not modify import {ChangeKey} from "./change-key"; import {ChangeType} from "./change-type"; import {Country} from "../../../custom/country"; import {IdDiffs} from "../../diff/id-diffs"; import {NetworkDataUpdate} from "../../diff/network-data-update"; import {NetworkType} from "....
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { NameGeneratorService } from '../core/helper/namegenerator.service'; import { HeadingComponent } from './parts/heading/heading.component'; import { TlSchedule } from './schedule'; import { DayListComponent } from './views...
export class CannotDetermineGraphQLTypeError extends Error { constructor( typeKind: 'input' | 'output', typeName: string, propertyKey: string, parameterIndex?: number, argName?: string ) { let errorMessage = `Cannot determine GraphQL ${typeKind} type for ` if (argName) { errorMessa...
import * as React from 'react' import { connect } from 'react-redux' import LazyLoad from 'react-lazyload' import marked from 'marked' import { emojify } from 'node-emoji' import { resolve } from 'url' import { CourseDownloadButton } from '../buttons/CourseDownloadButton' import { CourseVideoButton } from '../buttons...
import Intervention from '../models/intervention' export default class InterventionDecorator { constructor(private readonly intervention: Intervention) {} get isCohortIntervention(): boolean { return this.intervention.serviceCategories.length > 1 } }
/* global describe, it */ 'use strict'; import parser, { MessageTextElement, ArgumentElement, PluralFormat, SimpleFormat, MessageFormatPattern, SelectFormat, SelectOrdinalFormat } from '..'; import { expect as chaiExpect } from 'chai'; declare global { var expect: typeof chaiExpect; } describe('export...
import { Test, TestingModule } from '@nestjs/testing'; import { AppController } from './app.controller'; import { AppService } from './app.service'; describe('AppController', () => { let app: TestingModule; beforeAll(async () => { app = await Test.createTestingModule({ controllers: [Ap...
import execute, { cid, config } from '.' describe('AnOperation: cid.index', (): void => { it('is default defined', (): void => { expect(execute).toBeDefined() }) it('is cid defined', (): void => { expect(cid).toBeDefined() }) it('is config defined', (): void => { expect(config).toBeDefined() })...
/** * @license * Copyright 2020 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 { assert, assertStrictEquals as equals } from "../deps/assert.ts"; import { build, getSite, testPage } from "./utils.ts"; import bundler from "../plugins/bundler.ts"; Deno.test("bundler plugin", async () => { const site = getSite({ src: "bundler", }); site.ignore("modules"); site.use(bundler({ ...
/* * Copyright (C) 2018 The ontology Authors * This file is part of The ontology library. * * The ontology is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (a...
/** * Returns array containing items from array1 that do not exist in array2 * @param array1 * @param array2 * @param comparator */ export function diff<T1, T2>(array1: Array<T1>, array2: Array<T2>, comparator: (a: T1, b: T2) => boolean): Array<T1> { const result: Array<T1> = []; array1.forEach(item => { ...
import 'rxjs/add/operator/toPromise'; import { Injectable, OnInit } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { IFeature } from '../models/feature.interface'; import ApiService from 'app/configs/api.service'; @Injectable() export class FeaturelService implements OnInit { priva...
/// /// Copyright © 2016-2021 The Thingsboard Authors /// /// 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...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; declare class MdFindReplace extends React.Component<IconBaseProps> { } export = MdFindReplace;
/* * 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 { ILicense, LicenseType } from '../../licensing/common/types'; import ...
import * as React from 'react'; export type ChaseProps = React.ComponentPropsWithoutRef<'svg'> & { /** * Hex color or color name */ title?: string; /** * The size of the Icon. */ color?: string; /** * The title provides an accessible short text description to the SVG */ size?: string | nu...
import { ResourceBase } from '../resource'; import { Value, List } from '../dataTypes'; export declare class CapacityProviderStrategy { Base?: Value<number>; Weight?: Value<number>; CapacityProvider: Value<string>; constructor(properties: CapacityProviderStrategy); } export interface ClusterCapacityProv...
/** * 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 { Node, Range, Text } from '@ephox/dom-globals'; import DOMUti...
'use strict'; export namespace PanelCompState { export interface IState { // Empty } }
import { ApiProperty } from "@nestjs/swagger"; import { Entity, Column, BaseEntity, CreateDateColumn, PrimaryGeneratedColumn, } from "typeorm"; @Entity('users') export class User extends BaseEntity { @ApiProperty({ description: 'id of user', example: 1 }) @PrimaryGenerat...
import { CONFIG_QUERY_PARAM, FEATURE_QUERY_PARAM } from './build-constants'; import type { IFeatureDefinition, IConfigDefinition } from './types'; import type { SetMultiMap, TopLevelConfig } from '@wixc3/engine-core'; import { join } from 'path'; const { stringify } = JSON; export interface ICreateEntrypointsOptions ...
import { firstValueFrom } from 'rxjs'; import { a$ } from 'helpers'; describe('firstValueFrom', () => { it('should infer the element type', () => { const r = firstValueFrom(a$); // $ExpectType Promise<A> }) it('should infer the element type from a default value', () => { const r = firstValueFrom(a$, { d...
/* * Copyright 2019 IBM Corporation * * 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 ...
import { Broadcaster, EventPayload, Listener } from '../src/index' let broadcaster: Broadcaster, listener: Listener, payload: EventPayload beforeEach(() => { payload = { channel: 'test_channel', topic: 'test_topic', payload: { propOne: 'one' } } listener = jest.fn() broadcaster = new Bro...
export type ShopContent = { items: Array<any> isBasketVisible: boolean } export type IState = ShopContent;
import * as React from 'react'; import * as renderer from 'react-test-renderer'; import '@testing-library/jest-dom/extend-expect'; import { fireEvent, render } from '@testing-library/react'; import Collapsible from './Collapsible'; const defaultCollapsible = <Collapsible label="label">children</Collapsible>; const ...
import { Story, Meta } from '@storybook/react/types-6-0' import ReviewCard, { ReviewCardProps } from '.' export default { title: 'ReviewCard', component: ReviewCard, args: { name: 'Patricksom Vieras', imageUrl: 'https://source.unsplash.com/user/willianjusten/300x140', description: 'Todos os pro...
import { Endpoints, AddEndpoint } from "@liexp/shared/endpoints"; import { Router } from "express"; import { sequenceS } from "fp-ts/lib/Apply"; import * as TE from "fp-ts/lib/TaskEither"; import { pipe } from "fp-ts/lib/function"; import { PageEntity } from "../../entities/Page.entity"; import { RouteContext } from "....
import SpaceEvenlyDecorator from 'stories/utils/decorators/SpaceEvenlyDecorator' import baseStory from 'stories/utils/baseStory' baseStory('Button') .addDecorator(SpaceEvenlyDecorator) .add('Default Button', require('./DefaultButton').default) .add('Facebook Button', require('./Facebook').default) .add('Custom But...
import {Routes} from "@angular/router"; import {SetlistSearchComponent} from "./setlist/search/setlist-search.component"; import {AuthenticationGuardService} from "./shared/service/authentication-guard/authentication-guard.service"; import {LoginComponent} from "./shared/component/login/login.component"; import {Setlis...
export interface Address { city: string; state: string; stateCode: string; street: string; zipcode: string; } export interface GeoLocation { lat: string; lng: string; } export interface Location { title: string; googleTitle?: string; address: Address; geolocation: GeoLocati...
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient"; import { GetEC2RecommendationProjectedMetricsRequest, GetEC2RecommendationProjectedMetricsResponse, } from "../models/models_0"; import { deserializeAws_json1_0GetEC2RecommendationProjectedMetr...
import { Body, Controller, Delete, Get, Param, Post, Put, Res, UploadedFile, UseGuards, UseInterceptors, } from '@nestjs/common'; import { FileInterceptor } from '@nestjs/platform-express'; import { ApiBearerAuth, ApiUseTags } from '@nestjs/swagger'; import { Response } from 'express'; import { Cu...
/* eslint-disable @typescript-eslint/no-unsafe-call */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ // Package Utilities import { graphql } from 'gatsby'; import React, { Component } from 'react'; import Helmet from 'react-helmet'; import {...
import assert from 'assert' import expect from 'expect' import got from 'got' import { random, sortBy } from 'lodash' import { describe, test, before, beforeEach, after, afterEach } from 'mocha' import MockDate from 'mockdate' import { gql } from '@sourcegraph/shared/src/graphql/graphql' import { ExternalServiceKind ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="pt_BR"> <context> <name>DialogAddAttribute</name> <message> <location filename="ui_attribute.py" line="42"/> <source>Add Attribute</source> <translation type="obsolete">Adicionar Atributo</translation> <...
import Checkbox from '..'; import { mount } from '../../../test'; test('should emit "update:modelValue" event when checkbox icon is clicked', async () => { const wrapper = mount(Checkbox); const icon = wrapper.find('.van-checkbox__icon'); icon.trigger('click'); expect(wrapper.emitted('update:modelValue')![0])...
import assert from 'node:assert'; import { test } from '@jest/globals'; import { Observable, push, timestamps } from '@push'; test(`succeeds`, () => { const obs = push( new Observable<number>((obs) => { obs.next(1); obs.next(2); }), timestamps() ); const before = Date.now(); const val...
import chai from 'chai'; import chaiAsPromised from 'chai-as-promised'; import 'mocha'; import * as oas3 from 'openapi3-ts'; import Oas3CompileContext from '../../src/oas3/Oas3CompileContext'; import Responses from '../../src/oas3/Responses'; import { compileOptions } from '../../src/options'; import { makeOpenApiDoc }...
import { Node } from 'react-flow-renderer'; import { rootNodeColor, defaultNodeColor, externalNodeColor } from '../component-node'; export function calcMinimapColors(node: Node) { const type = node.data?.type; switch (type) { case 'root': return rootNodeColor; case 'external': return externalN...
import { AirGapAngularCoreModule } from '@airgap/angular-core' import { CommonModule } from '@angular/common' import { NgModule } from '@angular/core' import { FormsModule } from '@angular/forms' import { IonicModule } from '@ionic/angular' import { TranslateModule } from '@ngx-translate/core' import { ComponentsModule...
import { NgModule } from "@angular/core"; import { CommonModule } from "@angular/common"; import { BrowserModule } from "@angular/platform-browser"; import { Routes, RouterModule } from "@angular/router"; import { AdminLayoutComponent } from "./layouts/admin-layout/admin-layout.component"; import { AuthLayoutComponent...
import { useEffect, useState } from "react"; import Fade, { FadeProps } from "@material-ui/core/Fade"; import { useTheme } from "@material-ui/core/styles"; function DelayedFade(props: FadeProps) { const theme = useTheme(); const { in: open, timeout } = props; const [hasWaitedEnter, setHasWaitedEnter] = useSta...
import { CallSession } from '../index' import { ExternalClient } from './index' export default class Session implements CallSession { callId: string incoming: boolean instanceId: string constructor(private client: ExternalClient, id: string) { this.callId = id this.incoming = false this.instanceI...
export const dataProvider = [ { snippet: 'snippet1.php', unused: 4 }, { snippet: 'snippet2.php', unused: 1 }, { snippet: 'snippet3.php', unused: 0 }, { snippet: 'snippet4.php', unused: 5 }, { snippet: 'snippet5.php', unused: 5 }, { snippet: 'snippet6.php', unused: 0 }, { snippet: 'snippet7.p...
import { t } from 'app/i18next-t'; import { DestinyAmmunitionType, DestinyClass, DestinyDamageTypeDefinition, DestinyDisplayPropertiesDefinition, } from 'bungie-api-ts/destiny2'; import missingSources from 'data/d1/missing_sources.json'; import _ from 'lodash'; import { vaultTypes } from '../../destiny1/d1-buck...
import { Schema } from '../src/model'; import { Database, Table } from '../src/database'; import { Record } from '../src/record'; import helper = require('./helper'); const NAME = 'flush'; beforeAll(() => helper.createDatabase(NAME)); afterAll(() => helper.dropDatabase(NAME)); test('append', () => { const schema ...
/* Copyright 2020 The Matrix.org Foundation C.I.C. 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 React from "react"; import { EmailIcon } from "./index"; export default { title: "Icons/email", component: EmailIcon, parameters: { jest: ["email-icon.test.tsx"] } }; export const Default = () => { return <EmailIcon />; };
/** * Copyright 2017 The Mifos Initiative. * * 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 agr...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import AndroidDevice from '../devices/AndroidDevice'; import KaiOSDevice from '../devices/KaiOSDevice'; import child...
import { IconArrowLeft } from 'hds-react'; import React from 'react'; import { useTranslation } from 'react-i18next'; import { useHistory } from 'react-router-dom'; import styled from 'styled-components'; const Container = styled.div` margin-top: 1em; display: flex; align-items: center; font-weight: 500; `; c...