text
stringlengths
10
953k
<%# Copyright 2013-2017 the original author or authors from the JHipster project. This file is part of the JHipster project, see http://www.jhipster.tech/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ma...
import { ComponentFixture, TestBed, async } from '@angular/core/testing'; import { ActivatedRoute } from '@angular/router'; import { of } from 'rxjs'; import { App2TestModule } from '../../../test.module'; import { UserMgmtDetailComponent } from 'app/admin/user-management/user-management-detail.component'; import { Us...
import { useContext } from "react"; import { CustomThemeContext } from "../contexts/theme"; const useCustomTheme = () => { const context = useContext(CustomThemeContext); if (!context) { throw new Error( "useCustomTheme must be used within an CustomThemeProvider!" ); } return context; }; expo...
import { ComponentConfigTypes, PROPS_TYPES } from 'brickd-core'; const img: ComponentConfigTypes = { propsConfig: { alt: { label: '图像的替代文本', type: PROPS_TYPES.string, }, src: { label: '上传图像', type: PROPS_TYPES.string, }, height: { label: '规定图像的高度', type: PROPS_...
import {spawnSync} from 'child_process'; /** * Process environment that does not refer to Yarn's package registry. Since the scripts are * usually run through Yarn, we need to update the "npm_config_registry" so that NPM is able to * properly run "npm login" and "npm publish". */ const npmClientEnvironment = { ....
import { Visibility, Modifiers } from "../../../interfaces/class"; import ClassController from "../../controller/modelController/classConntroller"; import Class from "../../model/class"; export default class AttributeInputCreator { controller: ClassController; constructor(controller: ClassController) { this...
/** * Copyright © 2019 Johnson & Johnson * * 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 { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { BookListComponent } from './book-list.component'; import { BookDetailComponent } from './book-detail.component'; import { BookEditComponent } from './book-edit.component'; import { CommonModule } from '@angular/common'; ...
/* * This file is auto-generated! Do not modify it directly. * To re-generate run 'make build' */ import * as t from "@babel/types"; export interface VirtualTypeAliases { BindingIdentifier: t.Identifier; BlockScoped: t.Node; ExistentialTypeParam: t.ExistsTypeAnnotation; Expression: t.Expression; Flow: t.F...
export const REQUEST_SIGNATURE = 'eos:request_signature'; export const GET_KEY_ACCOUNTS = 'eos:get_key_accounts'; export const EOS_GET_ACCOUNTS = 'eos:get:accounts'; export const SET_ACCOUNT_TO_KEY = 'eos:set_account_to_key';
import React from "react" import Header from "../components/header" import Footer from "../components/footer" import { Link } from "gatsby" export default () => ( <div> <Header headerText="Contacto" /> <h1 style={{ color: 'teal' }}>Contacto</h1> <Link to="/contact">Contacto</Link> <Footer /> </div>...
// @ts-ignore /* eslint-disable max-classes-per-file */ // @ts-ignore import { Context, ContextFactoryOptions, ContextDefaultState } from './context'; // @ts-ignore // @ts-ignore import { Params } from '../../api'; // @ts-ignore import { VKError } from '../../errors'; // @ts-ignore // @ts-ignore import { transformMes...
import { configureStore, ThunkAction, Action } from '@reduxjs/toolkit'; import counterReducer from '../features/counter/counterSlice'; import deckReducer from '../features/deck/deckSlice'; export const store = configureStore({ reducer: { // counter: counterReducer, deck: deckReducer }, }); export type App...
import { STATIC_PATH } from "@common/config"; import type { SimpleObject } from "@common/utils/object"; import Docxtemplater from "docxtemplater"; import fs from "fs"; import path from "path"; import PizZip from "pizzip"; import { angularParser } from "./angular-parser"; export type FileReplacer = (zip: PizZip, value...
import { ServiceNameEnum } from '../../../../../../../enums/service-name.enum'; import { FIREBASE_GUILD_CHANNEL_FEATURE_RELEASE_NOTES_CURRENT_VERSION } from '../../../../../constants/guilds/channels/features/firebase-guild-channel-feature-release-notes-current-version'; import { INewFirebaseGuildChannelFeatureReleaseNo...
/** * @license * Copyright 2018 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 { Injectable } from '@nestjs/common'; import { PassportStrategy } from '@nestjs/passport'; import { Profile, Strategy } from 'passport-facebook'; import { facebookConstants } from 'src/constants'; import { User } from 'src/users/schema/user.schema'; import { FacebookService } from './facebook.service'; @Injecta...
import { ActionSequence, Session, Capabilities, Executor, WebElement, By, Builder, Key, IWebDriverOptionsCookie } from 'selenium-webdriver'; import { TestingUtil } from "../TestingUtil"; import { ThenableWebDriver} from 'selenium-webdriver'; export class PeopleDirectory{ icon...
import { SvgIconProps } from './internal/SvgIcon'; export declare const Sum: (props: SvgIconProps) => JSX.Element;
export interface CacheProps { /** * cacheName to represent a concept, a domain or a table name. */ cacheName: string; /** * Custom function to generate custom cache key. * result will be supplied for @CachePut * @param args are the arguments of the cached function */ key?: (args: IArguments, r...
import { Injectable } from '@nestjs/common'; @Injectable() export class CustomersService {}
import { MigrationInterface, QueryRunner } from "typeorm" export class userEmailLowerCase1633557587028 implements MigrationInterface { name = "userEmailLowerCase1633557587028" public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.query(` UPDATE "user_accounts" SET email = lower(em...
import { FormEvent, useCallback, useEffect, useState } from "react"; export const CommentInputField: React.VFC<{ placeholder?: string; defaultValue?: string; }> = ({ placeholder, defaultValue }) => { const [value, setValue] = useState(defaultValue); useEffect(() => { setValue(defaultValue); }, [defaultV...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { PipelinePolicy, PipelineRequest, PipelineResponse, SendRequest, } from "@azure/core-rest-pipeline"; import { sha256Digest, sha256Hmac } from "./internal/cryptoHelpers"; /** * Create an HTTP pipeline policy to authenticate a r...
/** * Language API * OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven, pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts. This allows enterprises to focus on business drivers and de...
import React, { Component } from 'react'; import { FormGroup, Input, Col, Row, UncontrolledTooltip, Table, } from 'reactstrap'; import { languageTranslation } from '../../../../helpers'; import './index.scss'; class InboxEmail extends Component { render() { return ( <div className='common-detai...
/** * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
import styled from 'styled-components'; import * as styles from 'styles'; export default styled.button` color: white; outline: none; background-color: transparent; outline: none; border: none; padding: ${styles.space(-1)}; &:focus { color: ${styles.focus('white')}; } &:hover { color: ${style...
import { Tags } from "./Tags.ts"; import { Logger } from "./Logger.ts"; export interface LibConfig { /** * How to connect to a Server. If omitted, we'll try to connect to a UDP server on localhost:8125. */ server?: UDPConfig | TCPConfig | UnixConfig | LoggerConfig; /** * There are many different statis...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import test from 'ava'; import { empty, set } from '../../src'; import { RedBlackTreeStructure, isNone } from '../../src/internals'; let tree: RedBlackTreeStructure<string, User>; type User = { name: string, id: string }; const testUser1: User = { name: 'Luke', id: '298' }; const testUser2: User = { ...
import { all, fork, call, put, select, takeEvery } from 'redux-saga/effects' import { waitForBackendSetup } from 'store/backend/sagas' import { waitForValue } from 'utils/sagaHelpers' import { watchServiceSelectionErrors } from './errorSagas' import AudiusBackend from 'services/AudiusBackend' import { fetchServices, ...
import { TestBed, async } from '@angular/core/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ AppComponent ], }).compileComponents(); })); it('should create the app', as...
import { d3, initChart } from './c3-helper' describe('c3 api data', function() { 'use strict' var chart var args: any = { data: { columns: [ ['data1', 30, 200, 100, 400, 150, 250], ['data2', 5000, 2000, 1000, 4000, 1500, 2500] ], names: { data1: 'Data Name 1', ...
// *** 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"; /*...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gl" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About BillaryCoin</source> <translation>Acerca de BillaryCoin</translation> </message> <message> ...
import { CommonModule } from '@angular/common'; import { NgModule,ModuleWithProviders } from '@angular/core'; import { pgCollapseComponent } from './collapse.component'; import { pgCollapsesetComponent } from './collapseset.component'; export const PG_COLLAPSE_DIRECTIVES = [ pgCollapsesetComponent, pgCollapseComponent...
import { App as DefaultApp } from "@octokit/app"; import { OAuthApp as DefaultOAuthApp } from "@octokit/oauth-app"; import { Octokit } from "./octokit"; export const App = DefaultApp.defaults({ Octokit }); export type App = InstanceType<typeof App>; export const OAuthApp = DefaultOAuthApp.defaults({ Octokit }); expo...
/** * The interface of ngx-ui-loader configuration */ export interface NgxUiLoaderHttpConfig { exclude?: string[]; // not show loader for these api url loaderId?: string; showForeground?: boolean; }
import type { Program } from '@swc/core'; import { autoCssModulesHandler, esbuildLoader } from '@umijs/mfsu'; import { chalk } from '@umijs/utils'; import { ProvidePlugin } from '../../compiled/webpack'; import Config from '../../compiled/webpack-5-chain'; import { MFSU_NAME } from '../constants'; import AutoCSSModule ...
import type { LinksFunction } from '@remix-run/node'; import { Hero, Projects, Skills, About, Contact } from '~/components'; import homeStyles from '~/styles/home.css'; export const links: LinksFunction = () => [ { rel: 'stylesheet', href: homeStyles, }, ]; export default function Home() { return ( ...
/** * @license * Copyright 2020 Energinet DataHub A/S * * Licensed under the Apache License, Version 2.0 (the "License2"); * 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 appl...
import joplin from 'api'; import { SettingItemType } from 'api/types'; import { ChangeEvent } from 'api/JoplinSettings'; /** * Advanced style setting default values. * Used when setting is set to 'default'. */ enum SettingDefaults { Default = 'default', FontFamily = 'var(--joplin-font-family)', FontSize = 'va...
/* eslint-disable no-unused-vars */ import React, { createContext, useContext, useState } from 'react'; import { api } from '../services/api'; type SignInCredentials = { email: string; password: string; }; type UserData = { id: number; email: string; fullName: string; role: string; }; type AuthState = { ...
import useSWR, { keyInterface, ConfigInterface, cache } from 'swr'; export function useRetryableSWR<T, E = any>( key: keyInterface, fn?: (...args: any[]) => Promise<T>, config: ConfigInterface<T, E> = {} ) { try { return useSWR(key, fn, { errorRetryCount: 10, ...config }); } catch (err: any) { if (er...
import React from 'react'; import clsx from 'clsx'; import { makeStyles, Theme, } from '@material-ui/core/styles'; import CssBaseline from '@material-ui/core/CssBaseline'; import Drawer from '@material-ui/core/Drawer'; import Box from '@material-ui/core/Box'; import AppBar from '@material-ui/core/AppBar'; import To...
import {expect} from "../../../deps/chai.ts"; import {runIfMain} from "../../../deps/mocha.ts"; import {Connection} from "../../../../src/connection/Connection.ts"; import {Post} from "./entity/Post.ts"; import {Category} from "./entity/Category.ts"; import {closeTestingConnections, createTestingConnections, reloadTest...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import React from 'react' export const Header: React.FC = ({ children }) => { return <React.Fragment>{children}</React.Fragment> }
/** * This file contains functions for authenticating users: * log in, sign up, and log out. * * @file Authentication.ts * @author Tina Hsieh */ import {window, commands, ExtensionContext} from "vscode"; import { createNewUserInFirebase, loginUserWithEmailAndPassword, retrieveUserDailyMetric, userDocEx...
function enableMetadataTrack(master: HTMLMediaElement) { const track = Array.from(master.textTracks).find( (track) => track.kind === "metadata" ); if (track) { track.mode = "hidden"; } } export function patchNativeInterstitials( master: HTMLMediaElement, minion: HTMLMediaElement ) { const playedC...
export interface ApiErrors extends Error { status?: number; }
import {createLogic} from "redux-logic"; import actions from '../../../layout/actions'; import workProgramActions from '../actions'; import Service from '../service'; import {getWorkProgramId} from '../getters'; import {fetchingTypes, fields} from "../enum"; const service = new Service(); const addResult = createL...
/* * Copyright (c) 2018-2019 Porsche Informatik. All Rights Reserved. * This software is released under MIT license. * The full license information can be found in LICENSE in the root directory of this project. */ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { Fo...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ConsumeRecordComponent } from './consume-record.component'; describe('ConsumeRecordComponent', () => { let component: ConsumeRecordComponent; let fixture: ComponentFixture<ConsumeRecordComponent>; beforeEach(async(() => { Te...
export const ECMA_VERSION = 11;
import patterns from "./patterns"; // Determines whether each line represents an attribute, tag, or continuation export function determineClassification(line) { if (line.crux === "#") { return "attribute"; } else if (line.crux === ".") { return "attribute"; } else if (line.crux === ">") { ...
import { h, S1Node } from 'stage1'; export type FooterComponent = S1Node & HTMLDivElement; const view = h(` <footer class=microdoc-footer> Powered by <a href=https://microdoc.js.org class=microdoc-footer-link target=_blank rel=noopener>microdoc</a> </footer> `); export function Footer(): FooterComponent { ...
export interface Api { someMethod(): Promise<IndexedObjectInterface> } export interface IndexedObjectInterface { [key: string]: SomeInterface } export interface SomeInterface { a: string }
/** * entry */ (async () => { console.log('hello typescript') })()
import { AxiosResponse, AxiosError } from 'axios'; import { api } from 'utils/api'; import { ServerError } from 'typings/utils.typings'; import { GetResultsResponse } from 'typings/result.typings'; export const getResults = async ( startTime: string ): Promise<GetResultsResponse | ServerError> => { let response: A...
jest.mock("../../api/crud", () => ({ destroy: jest.fn(), save: jest.fn(), edit: jest.fn() })); jest.mock("../actions", () => ({ copySequence: jest.fn(), editCurrentSequence: jest.fn() })); jest.mock("../step_tiles/index", () => ({ splice: jest.fn(), move: jest.fn() })); jest.mock("../../devices/actions...
// @ts-ignore import data from "../../content/HTTP-404-songs.yaml"; export interface FourOhFourSong { title: string; artist: string; url: string; } export const HTTP404Songs: FourOhFourSong[] = data;
import Immutable from 'node_modules0/immutable' import { genAction, genFetchOptions, toJSON, proxy } from 'node_modules0/@mdf/cube/lib/helpers/util' const $$initialState = Immutable.fromJS({ currentKey: 'Forgot', phone: '', validateCode: '', newPassword: '', oldPassword: '', disabled_code: tru...
import { resolve } from 'path' import { NexeCompiler } from '../compiler' import { semverGt } from '../util' export default async function(compiler: NexeCompiler, next: () => Promise<void>) { const { snapshot, warmup, cwd } = compiler.options if (!snapshot) { return next() } const variablePrefix = semver...
import { AbstractControl } from '@angular/forms'; /** * @hidden */ export declare const markAllAsTouched: (control: AbstractControl) => void; /** * @hidden */ export declare function diff(obj1: any, obj2: any, fields: any[]): boolean; /** * @hidden */ export declare function areEqual(value1: any, value2: any): bo...
import { bind, forwardRef, Component, ComponentRef, Directive, DynamicComponentLoader, ElementRef, Host, Injectable, ResolvedBinding, SkipSelf, Injector, View, ViewEncapsulation } from 'angular2/core'; import {ObservableWrapper, Promise, PromiseWrapper} from 'angular2/src/core/facade/async'...
// react libraries import { render, screen } from '@testing-library/react'; // component import CardInfo from './index'; import { WindowSize } from '../../../testHelpers'; describe('CardInfo component', () => { const props = { mainHeader: 'mainHeader', subHeader: 'subHeader', buttonName: 'buttonName', }; it...
import { Watcher } from './Watcher' import Event from '@ioc:Adonis/Core/Event' import Entry from 'App/Models/Entry' import { EntryType } from 'App/types' import { v4 as uuid } from 'uuid' import { hostname } from 'os' export class EventWatcher extends Watcher { private bindedSaveEvent = this.saveEvent.bind(this) ...
export type Func<A, B> = (x: A) => B;
import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {RouterModule} from '@angular/router'; import {routes} from './support.routing'; import {SupportComponent} from './support'; @NgModule({ imports: [ CommonModule, RouterModule.forChild(routes), ], declarations: ...
import { Module } from '@nestjs/common'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { TypeOrmModule } from '@nestjs/typeorm'; import { MemoModule } from './memo/memo.module'; @Module({ imports: [TypeOrmModule.forRoot(), MemoModule], controllers: [AppControl...
// Copyright 2021 The Oppia Authors. 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 ap...
import { takeLatest, select, call, put } from 'redux-saga/effects'; import { getType } from 'typesafe-actions'; import Auth from 'util/auth'; import { getSignInEmail, getSignInCode } from './SignIn.selector'; import * as SignIn from './SignIn.action'; import { syncSaga } from 'sagas/sync'; import { loadSetting } from '...
import * as sinon from 'sinon' import * as lsif from 'lsif-protocol' import * as pgModels from '../../shared/models/pg' import { Backend, sortMonikers } from './backend' import { DependencyManager } from '../../shared/store/dependencies' import { DumpManager } from '../../shared/store/dumps' import { Database } from '....
import React from 'react' import { Svg, SvgProps } from '@honorswap/uiex' const BarChartLoaderSVG: React.FC<SvgProps> = (props) => { return ( <Svg width="100%" height="100%" viewBox="0 0 50 25" preserveAspectRatio="none" opacity="0.1" {...props}> <rect width="8%" fill="#1FC7D4"> <animate ...
export { FluentTheme } from '@fluentui/theme';
import { Component, OnInit, OnDestroy } from '@angular/core'; import { ActivatedRoute, Router, NavigationEnd } from '@angular/router'; import { MessageService } from 'primeng/api'; import { Message } from 'primeng//api'; import { NgxSpinnerService } from 'ngx-spinner'; import { PersonalDataService } from 'app/services/...
/** * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
import { ContextApp } from '../../context/Context' import { getEnv } from '../../env' import { Resolvers, Vpn } from '../../generated/graphql' import { signedUrl } from '../../middlewares/signedUrl/signedUrl' const { app: { url }, } = getEnv() const vpnResolvers: Resolvers<ContextApp> = { Query: { vpn: async ...
import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base'; import { PropertyPaneLabel, PropertyPaneLink } from '@microsoft/sp-property-pane'; import IExtensibilityService from '../services/extensibilityService/IExtensibilityService'; import { ExtensibilityService } from '../services/extensibilityServic...
declare module 'faker/lib' { interface FakerOptions { locales?: unknown } const FakerClass: { new (options?: FakerOptions): Faker.FakerStatic } export default FakerClass }
import { forwardRef, Icon, IconProps } from '@queelag/react-core' import React, { ForwardedRef } from 'react' /** * Usage: * * ```typescript * import { IconAod } from '@queelag/react-material-icons' * * function App() { * return <IconAod /> * } * ``` * * @category Component */ export const IconAod = forw...
/* eslint-disable @typescript-eslint/no-unused-expressions */ // node_modules import 'reflect-metadata'; import { FastifyInstance, FastifyLoggerInstance } from 'fastify'; import { IncomingMessage, Server, ServerResponse } from 'http'; import { expect } from 'chai'; import * as _ from 'lodash'; // libraries import { e2...
import { Key } from "@/constants"; import { FocusMixin } from "@/mixins"; import reset from "@/wc_scss/reset.scss"; import { customElement, html, internalProperty, LitElement, property, PropertyValues } from "lit-element"; import { nothing } from "lit-html"; import { ifDefined } from "lit-html/directives/if-defined"; i...
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; import 'bootstrap/dist/css/bootstrap.css'; declare global { interface Window { perspective: any; } } ReactDOM.render(<App />, document.getElementById('root'));
/* * 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 supertestAsPromised from 'supertest-as-promised'; import { Client } fr...
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack"; import * as __aws_sdk_types from "@aws-sdk/types"; import { CreateProvisioningArtifact } from "../model/operations/CreateProvisioningArtifact"; import { InputTypesUnion } from "../types/InputTypesUnion"; import { OutputTypesUnion } from "../types/...
import { Component, OnInit, ElementRef} from '@angular/core'; import { OrderService } from "./order.service"; import { Order } from "./order"; import { Observable } from 'rxjs/Observable'; import { Route } from '@angular/router/src/config'; import { NavigationExtras,Routes,RouterModule, Router} from '@angular/router'...
class C { private p: string }; var str: string; var bool: boolean; var num: number; var strOrNum: string | number; var strOrBool: string | boolean; var numOrBool: number | boolean var strOrNumOrBool: string | number | boolean; var strOrC: string | C; var numOrC: number | C; var boolOrC: boolean | C; var c: C; // A ty...
import * as http from 'http'; import * as stream from 'stream'; import * as url from 'url'; import * as net from 'net'; // http Server { function reqListener(req: http.IncomingMessage, res: http.ServerResponse): void {} let server: http.Server = new http.Server(); class MyIncomingMessage extends http.Inc...
import { Router } from '@angular/router'; import { ManageService } from './../../shared/services/manage.service'; import { Component, OnInit } from '@angular/core'; import { routerTransition } from '../../router.animations'; import { ToastrService } from 'ngx-toastr'; import { NgbModal, ModalDismissReasons } from '@n...
import { Component, OnDestroy, OnInit } from '@angular/core'; import { AngularFireAuth } from '@angular/fire/auth'; import { AngularFireStorage } from '@angular/fire/storage'; import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; import { Router } from '@angular/router'; import { Camera, Cam...
import * as React from 'react' import styled from '../../styled' import Title from './title' import Question from './question' import Answers from './answers' import { State } from './index' const FlexContainer = styled.div` display: flex; justify-content: center; ` const FlexWrapper = styled.div` ` export defa...
import service from './integrations.service'; describe('preferences.integrations.service', () => { let integrations, rootScope; beforeEach(() => { angular.mock.module(service); inject(($rootScope, _integrations_) => { rootScope = $rootScope; integrations = _integrations_...
export * from "./message"; export * from "./cache"; export * from "./keys";
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MatchingComponent } from './matching.component'; describe('MatchingComponent', () => { let component: MatchingComponent; let fixture: ComponentFixture<MatchingComponent>; beforeEach(async(() => { TestBed.configureTestingModu...
/* * 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. */ export { AsyncOperationResult, ErrorResponse, Errors, RuntimeScriptAction, Runt...
import React from 'react'; import { cleanup, render, axe } from 'jest-preset-ui/testing'; import snapshot from 'jest-preset-ui/snapshot'; import { shouldSupportClassName, shouldSupportRef } from 'jest-preset-ui/shared'; import Link from '../src'; describe('Link', () => { afterEach(cleanup); shouldSupportClassName...
import Infer from "./infer"; import Value from "../value"; /** * get {@link Value.value} value * * @param value * object to be extracted */ export default function Value<ValueTemplate extends Value>(value : ValueTemplate) : Infer<ValueTemplate> { return <Infer<ValueTemplate>> value.value; }