text
stringlengths
10
953k
import axios from 'axios'; axios.interceptors.request.use((config) => { // eslint-disable-next-line @typescript-eslint/dot-notation config.headers['token'] = window.localStorage.getItem('token'); return config; }); // eslint-disable-next-line import/prefer-default-export export { axios };
export * from './Borders';
import { memo } from "react"; import { Redirect } from 'react-router-dom' import { setAudioImmediate, setAudioImmediateNext } from '@/reducers/audio/slice'; import { apiSongDetail } from '@/api' import { useDispatch } from "react-redux"; import Songs from "../Search/Songs"; export default memo(({ type, id }) => { c...
import { TestBed } from '@angular/core/testing'; import { BorrowService } from './borrow.service'; describe('BorrowService', () => { let service: BorrowService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(BorrowService); }); it('should be created', () => { exp...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { PostressCommentComponent } from './postress-comment.component'; describe('PostressCommentComponent', () => { let component: PostressCommentComponent; let fixture: ComponentFixture<PostressCommentComponent>; beforeEach(async () => { ...
import { IResourceLike, IOperation } from "./treetypes" import { options } from "yargs" export enum Verbs { POST, MULTIPOST, PUT, MULTIPUT, PATCH, MULTIPATCH, GET, MULTIGET, DELETE, MULTIDELETE } // classify the operations of a resource-like structure export class Operations { ...
import { Injectable } from '@angular/core'; import { FetchResult, PartialFetcher } from '@rbkmoney/partial-fetcher'; import * as moment from 'moment'; import { Observable } from 'rxjs'; import { map, shareReplay } from 'rxjs/operators'; import { booleanDelay } from '@cc/utils/boolean-delay'; import { QueryDSL } from ...
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.13.9 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do no...
import { Journal } from './isi-journal'; import { Subdiscipline, SubdisciplineStats } from './isi-subdiscipline'; import underlyingScimapData from './underlyingScimapData.data'; // TODO: @ngx-dino/science-map needs to be redone const disciplineLookup = underlyingScimapData.disciplines.reduce((map, n) => { map[n.disc...
import * as WebSocket from 'ws'; import * as chalk from 'chalk'; import * as http from 'http'; import { DelayedTask } from '../task/index'; import { cprint } from '../fmt/index'; import { Raffle } from '../danmu/index'; interface WsAddress { readonly port: number; readonly host?: string; } interface...
import { IUsePomodoro } from '../../interfaces/hooks/useCases'; import { readPomodoro, readAllPomodoros, setPomodoro, infosPomodoro, } from '../../useCases/pomodoro'; export function usePomodoro(): IUsePomodoro { return { readPomodoro, readAllPomodoros, setPomodoro, infosPomodoro, }; }
import sdk from 'qcloud-iotexplorer-h5-panel-sdk'; import jsonp from 'jsonp'; import { getMockDeviceFenceList, getMockDeviceLocation, getMockDeviceLocationHistory, getMockFenceEventList, tMapApiKey, } from './constants'; import { appendParams } from '@utillib'; import { AlertConditionType, AlertMethodType...
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
import React from 'react'; import { useField } from 'formik'; import { FormName } from 'utils/enums'; import { Label, TextInput } from 'elements'; import { ContainerType } from 'components/BeverageDetails/utils/enums'; import { FieldName } from 'dashboard/utils/enums'; import { Three as Grid } from '../elements/grids'...
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import {PageCallbackRouter, PageHandlerFactory, PageHandlerRemote} from './downloads.mojom-webui.js'; export class BrowserProxy { callbackRouter: PageC...
import { Pipe, PipeTransform } from '@angular/core'; import * as moment from 'moment'; @Pipe({ name: 'dateFormat' }) export class DateFormatPipe implements PipeTransform { transform(value: any, format: string): any { if (value && format) { return moment(value).format(format); } return value; ...
// *** 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"; /*...
import {ComponentPortal, Portal, TemplatePortalDirective} from '@angular/cdk/portal'; import {Component, QueryList, ViewChildren} from '@angular/core'; @Component({ moduleId: module.id, selector: 'portal-demo', templateUrl: 'portal-demo.html', styleUrls: ['portal-demo.css'], }) export class PortalDemo { @Vi...
import React, { useState } from 'react' import { useHistory } from 'react-router-dom' const SearchBar = () => { let history = useHistory() const [query, setQuery] = useState('') const submit = () => { if (query.length != 0) history.push(`/dict/${query}`) } return ( <div className="relative mx...
import { defineComponent } from 'vue'; import type { DefineComponent, ComponentOptionsMixin, EmitsOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, } from 'vue'; import type { IconifyJSON, IconifyIcon } from '@iconify/types'; // Core import type { IconifyIconName } from '@iconify/utils/lib/icon/...
import * as React from 'react'; function SvgFormatUnderlined(props: React.SVGProps<SVGSVGElement>) { return ( <svg width="1em" height="1em" viewBox="0 0 24 24" {...props}> <path d="M0 0h24v24H0z" fill="none" /> <path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c...
import {globals} from './globals'; export const METADATA = new Map(); export const NULL = Symbol('NULL'); function hasOwn(hash,key){ return Object.prototype.hasOwnProperty.call(hash,key) } function getMapItem(map:Map<any,any>,key:any,factory?){ let val = map.has(key) ? map.get(key) : NULL; if(val===NULL &...
import Pagination from 'rc-pagination/lib/locale/mk_MK'; import DatePicker from '../../Organisms/DatePicker/locale/mk_MK'; import TimePicker from '../../Organisms/TimePicker/locale/mk_MK'; import Calendar from '../../Organisms/Calendar/locale/mk_MK'; import { Locale } from '../Providers/LocaleProvider'; const localeVa...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { CarService } from "./shared/car/car.service"; import { CarListComponent } from './car-list/car-list.compo...
export type PresignedFields = { contentType: string key: string }
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Config } from './config'; import { Movies } from './models/movies'; import { Details } from './models/details'; import { Trailer } from './models/trailer'; import { Observable, throwError } from 'rxjs'; import { catc...
import { GraphQLObjectType, isObjectType } from "../../deps.ts"; /** * Get all GraphQL types from schema without: * * - Query, Mutation, Subscription objects * - Internal scalars added by parser * * @param schema */ export function getUserTypesFromSchema(schema: any): any[] { const allTypesMap = schema.getTyp...
import { NgModule } from "@angular/core"; import { registerElement } from "nativescript-angular/element-registry"; import { DIRECTIVES } from "./nativescript-facebook-directives"; @NgModule({ declarations: [DIRECTIVES], exports: [DIRECTIVES], }) export class NativeScriptFacebookModule { } registerElement("Fa...
import React from 'react'; import styled from 'styled-components'; import { StyledComponetProps } from 'typings/component'; const Container = styled.footer` text-align: center; background-color: #f0f0f0; `; function Footer({ className }: StyledComponetProps) { return <Container className={className}>@fl</Contai...
/** Copyright 2021 Forestry.io Holdings, Inc. 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 writ...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { CadastroComponent } from './cadastro/cadastro.component'; import { EnergyComponent } from './energy.component'; const routes: Routes = [ { path: '', component: EnergyComponent, children: [ { ...
import axios from 'axios'; import { apiKey, baseUrl } from '../config'; import { getToken } from 'utils/auth'; const client = axios.create({ baseURL: baseUrl, }); // Code snippet from https://github.com/github/fetch/issues/263 export const encodeParams = (params: { [key: string]: string | number })=> Object.keys(...
import { VNode } from 'vue' import { ElementUIComponent } from './component' export interface CollapseItemSlots { /** Content of the collapse item */ default: VNode[], /** Title of the collapse item */ title: VNode[] [key: string]: VNode[] } /** Collapse Item Component */ export declare class ElCollapseIt...
import { shallowMount } from '@vue/test-utils' import WikiContent from './WikiContent.vue' describe('Mounted App', () => { it('renders correctly', () => { const wrapper = shallowMount(WikiContent, { mocks: { $t: () => {} }, propsData: { html: '<p>aaa</p>' } }) expe...
import { IQueryOption } from "../presentation/query-option"; class Util { public static handleOptions(options: IQueryOption) { if (!options) { return ""; } const { select, filter, params, pageSize, start, orderBy, method, emMethod } = options; let ret = "?"; if (select) { ret += "&...
import { PostCompositionValidator } from '.'; export declare const keyFieldsSelectInvalidType: PostCompositionValidator; //# sourceMappingURL=keyFieldsSelectInvalidType.d.ts.map
exports.default = { name: "Root", description: "A root component", type: "div", props: { fontFamily: "sans" }, style: { "& *": { boxSizing: "border-box" } }, system: [ "fontFamily", "space", "color" ], examples: [ `<Root/>` ] }
import test from "ava"; import withTypeScript from "./util/ts-macro"; import {formatCode} from "./util/format-code"; import {generateRollupBundle} from "./setup/setup-rollup"; test("Won't produce empty declarations when output directory is not excluded from TypeScript. #1", withTypeScript, async (t, {typescript}) => {...
import {Component, OnInit, ViewChild} from '@angular/core'; import { Subscription } from 'rxjs/Subscription'; import {MatPaginator, PageEvent} from '@angular/material'; import {ConfirmService, ITEMS_PER_PAGE, PAGE_SIZE_OPTIONS, SnackBarService, GlobalService} from '../../shared'; import {Principal} from '../../shared';...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path fillRule="evenodd" d="M18.8407 3.9035a1.25 1.25 0 0 0-1.6816 0c-.0187.017-.0431.041-.1289.1268l-.3069.3069c-.0243 1.0762.863 1.9636 1.9391 1.9395l.3071-.3071c.0857-.0857.1098-.1101.1268-.1288a1.25 1...
export interface ThreadSummaryVM { id: number; participantNames: string; lastMessageText: string; timestamp: number; }
import { DATA_POINT_INTERACTION_RESET, DESTROY_EVENT } from "../../constants"; import { LineAccessors } from "../../renderers/line/line-accessors"; import { LineRenderer } from "../../renderers/line/line-renderer"; import { RenderState } from "../../renderers/types"; import { Chart } from "../chart"; import { LinearSca...
/************************************************************************* * 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. *********************************...
/** * Copyright (c) 2019 The xterm.js authors. All rights reserved. * @license MIT */ import { IUnicodeVersionProvider } from '../services/Services'; import { fill } from '../TypedArrayUtils'; type CharWidth = 0 | 1 | 2; const BMP_COMBINING = [ [0x0300, 0x036F], [0x0483, 0x0486], [0x0488, 0x0489], [0x0591, 0x0...
import { ExtractJwt, Strategy } from 'passport-jwt'; import { PassportStrategy } from '@nestjs/passport'; import { Injectable, UnauthorizedException } from '@nestjs/common'; import { ConfigService } from '../config/config.service'; import { UserService } from '../user/user.service'; /** * Jwt Strategy Class */ @Inj...
import * as winston from "winston"; import {FilebeatLoggerOptions} from "./filebeat-logger-options"; import {FilebeatLoggerTransport} from "./filebeat-logger-transport"; export function create(optOptions?: FilebeatLoggerOptions): winston.Logger { const defaultLogLevel = "info"; return winston.createLogger({ ...
import { UserRole, NotificationEmails, Genders, NotificationCategories, ApiKeyAccess } from "../enum"; export interface User { id?: number; name: string; username?: string; nickname?: string; primaryEmail?: number; password?: string; twoFactorEnabled?: boolean; twoFactorSecret?: string; cou...
import { UnitEnum } from '../model/Metric' import { DataFormatter } from '../utils/dataFormatter' const ChartJS = require('chart.js') // Global Chart Config ChartJS.defaults.global.legend.display = false ChartJS.defaults.global.tooltips.enabled = false ChartJS.defaults.global.hover.mode = 'index' ChartJS.defaults.glo...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Store } from '@ngrx/store'; import { testSessionData } from '@stratosui/store/testing'; import { ConfirmationDialogService } from '../../../../../../../../core/src/shared/components/confirmation-dialog.service'; import { MetadataCardTes...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiContacts extends React.Component<IconBaseProps> { }
import { Box as ReakitBox } from 'reakit'; import { InlineThemeConfig } from '../types'; import { useClassName, createComponent, createElement, createHook } from '../utils'; import { Box, BoxProps } from '../Box'; import * as styles from './Inline.styles'; export type LocalInlineProps = {}; export type InlineProps =...
/** * Copyright 2018 Google Inc. All rights reserved. * Modifications copyright (c) Microsoft 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.or...
import Viewer from '../index'; import ViewerProps from '../ViewerProps'; import { configure, mount } from 'enzyme'; import * as Adapter from 'enzyme-adapter-react-16'; import * as React from 'react'; const img2 = require('../../demo/images/landscape2.jpg'); const img = require('../../demo/images/landscape.jpg'); confi...
import { useControllableState } from '@fluentui/react-utilities'; import * as React from 'react'; import { useButton } from '../Button/useButton'; import type { ToggleButtonProps, ToggleButtonState } from './ToggleButton.types'; /** * Given user props, defines default props for the ToggleButton, calls useButtonState ...
import { App } from "@aws-cdk/core"; import { DescribeStacksCommandOutput, StackStatus } from "@aws-sdk/client-cloudformation"; import { ChannelState, DescribeChannelResponse } from "@aws-sdk/client-medialive"; import { Bunyan, RootLogger } from "@eropple/nestjs-bunyan/dist"; import { Injectable } from "@nestjs/common"...
import React, { forwardRef, TouchEvent } from "react"; import classNames from "classnames"; import { Loader } from "@fremtind/jkl-loader-react"; import { Props, ValidButtons } from "./types"; import { BaseButton } from "./BaseButton"; const makeButtonComponent = (buttonType: ValidButtons) => { const button = forwa...
/** * 周期执行器设置。 */ export interface ScheduleSettings { /** * 执行策略: <br><li>ONCE:单次执行 <br><li>RECURRENCE:周期执行 */ Policy: string; /** * 触发 Crontab 表达式。Policy 为 RECURRENCE 时,需要指定此字段。Crontab 按北京时间解析。 */ Recurrence?: string; /** * 执行器下次执行时间。Policy 为 ONCE 时,需要指定此字段。 */...
import MainForm from 'container/MainForm'; import React from 'react'; import { ApplicationContext, useApplicationStore } from 'service/store'; const App: React.FC = () => ( <ApplicationContext.Provider value={useApplicationStore()}> <MainForm /> </ApplicationContext.Provider> ); export default App;
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; // components import { routingComponents } from './app-routing.module'; // other imports import { ReactiveFormsM...
import {testSyntax} from "../testSyntax"; import {Boolean} from "../../lib/syntax/Boolean"; describe("Boolean", () => { testSyntax(Boolean, { str: "true", shouldBe: { boolean: true } }); testSyntax(Boolean, { str: "false", shouldBe: { boolea...
import { documentType } from '../documentType'; import { publicationHandler } from './publicationHandler'; export { getNextStatus }; function getNextStatus({ publicationCategory, status, route, }: Pick<documentType, 'status' | 'publicationCategory' | 'route'>): documentType['status'] { switch (status) { c...
import {Color, color, Rgb} from '@paint-bucket/core'; import '../main'; describe('at', () => { test('returns a color instance at position', () => { const color1 = color.gradient([new Color(), new Color(Rgb, [1, 1, 1, 1])]).at(0.5); const color2 = color().gradient(new Color(Rgb, [1, 1, 1, 1])).at(0.5); ...
import React from 'react'; import Navbar from 'react-bootstrap/Navbar'; import Nav from 'react-bootstrap/Nav'; import Container from 'react-bootstrap/Container'; export const Header: React.FC = () => ( <> <Container className="blog-header-wrap"> <Navbar expand="lg" className="mt-3 mb-4"> <Navbar.Brand href="http...
/* * Angular 2 decorators and services */ import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { AppState } from './app.service'; /* * App Component * Top Level Component */ @Component({ selector: 'app', encapsulation: ViewEncapsulation.None, styleUrls: [ './app.component.c...
// Original file: proto/bzl.proto import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output, } from '../../../../google/protobuf/Timestamp'; /** * Metadata about the UI application */ export interface Metadata { /** * Application name */ name?: stri...
import styled from 'styled-components'; import colors, { alpha } from '../lib/colors'; const MapButton = styled('button')` width: 40px; min-height: 40px; padding: 0; background-color: white; border-radius: 8px; outline: none; border: none; box-shadow: 0 4px 10px ${alpha(colors.darkLinkColor, 0.2)}, ...
import { Component, OnInit } from '@angular/core'; import { Router, ActivatedRoute, Params} from '@angular/router'; import { Cinema } from '../../model/cinema.model'; import { DataShareService } from '../../services/data-share.service'; import { DialogService } ...
import React from "react"; import { useDispatch, useSelector } from "react-redux"; import { push } from "react-router-redux"; import { IConfig } from "interfaces/config"; import permissionUtils from "utilities/permissions"; import paths from "router/paths"; interface IBasicTierRoutes { children: JSX.Element; } int...
import { Injectable } from "@angular/core"; import { Observable, throwError } from "rxjs"; import { catchError, map } from "rxjs/operators"; import { HttpClient, HttpHeaders, HttpErrorResponse, HttpParams, } from "@angular/common/http"; @Injectable({ providedIn: "root", }) export class VehiculeService { ba...
export type AvatarPosition = 'top' | 'bottom' | 'inside' export type AvatarSize = 'small' | 'medium' | 'large' export type AvatarStatus = 'online' | 'editing' | 'inactive'
/* * 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 './layer_panel.scss'; import React, { useContext, useState, useEffect ...
import React, { ReactNode } from "react"; import { View } from "react-native"; import LinearGradient from "react-native-linear-gradient"; interface ItemWrapperProps { index: number; children: ReactNode; } export function ItemWrapper({ index, children }: ItemWrapperProps) { if (index % 2 === 0) return ( ...
import { Module } from '@nestjs/common'; import { AuthController } from './auth.controller'; import { SharedModule } from '../shared/shared.module'; import { AuthService } from './auth.service'; import { JwtStrategy } from './jwt.strategy'; @Module({ controllers: [ AuthController, ], imports: [ ...
export default interface DateInterval { start: string; end: string; }
import { Injectable } from '@angular/core'; import { AngularFireDatabase, AngularFireList, AngularFireObject } from '@angular/fire/database'; // Firebase modules for Database, Data list and Single object export interface Student { $key: string; firstName: string; lastName: string; email: string mo...
import {OpaqueToken} from "@angular/core"; import * as _ from 'lodash'; export const RESTANGULAR = new OpaqueToken('restangularWithConfig'); export function RestangularFactory(...config) { return () => { let configObj = { fn: config[0], arrServices: [], }; if(_.isArray(config[0])){ ...
import { OperationTypeNode } from "graphql"; import { Db, MongoError } from "mongodb"; import { waitFor } from "coral-common/helpers"; import logger from "coral-server/logger"; import { queries as collection } from "coral-server/services/mongodb/collections"; export interface PersistedQuery { id: string; operatio...
import React from 'react' import Fade from 'react-reveal/Fade' import Clickable from '../../utils/clickable' import { FaLinkedin, FaInstagramSquare, FaFacebook, FaGithub, FaGitlab, FaWhatsapp, FaEnvelope, FaSkype } from 'react-icons/fa' import styles from './contact.module.css' function ContactConte...
import * as sql from "@squill/squill"; import {RouteInitDelegate} from "./route-init-delegate"; import {DirtyNodeApi} from "../api"; import * as dao from "../dao"; import * as table from "../table"; export const initDirtyNode : RouteInitDelegate = ({app, pool}) => { app.createRoute(DirtyNodeApi.routes.createForRoo...
import {SignalRef, TimeInterval} from 'vega'; import {isArray} from 'vega-util'; import {isBinned, isBinning, isBinParams} from '../../bin'; import {Channel, COLOR, FILL, ScaleChannel, STROKE, X, Y} from '../../channel'; import {ScaleFieldDef, TypedFieldDef} from '../../channeldef'; import {Config} from '../../config';...
import { Injectable } from '@angular/core'; import { AngularFireAuth } from 'angularfire2/auth'; @Injectable() export class AuthService { constructor(private afAuth: AngularFireAuth) { } login(email: string, password: string) { return new Promise((resolve, reject) => { this.afAuth.auth.signInWithEmailA...
export interface ArtichokeMessage { readonly tag: string; }
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from 'react' import PropTypes from 'prop-types' import { useStaticQuery, graphql } from 'gatsby' import Header from './organisms/Header' const Layout = ({...
import { LogisticsManager } from "operation/LogisticsManager"; import { Operation } from "../operations/Operation"; import { Mission } from "./mission"; import { BodyFactory } from "creeps/BodyFactory"; import * as creepActions from "creeps/creepActions"; import { profile } from "Profiler"; @profile export class Supe...
import { BaseConsumer, EventList, ItemCreatedEvent, ServiceList } from "@relace/common"; import { itemCreatedController } from "../../controllers/consumers/item-created.controller"; export class ItemCreatedConsumer extends BaseConsumer<ItemCreatedEvent> { readonly exchange = ServiceList.Item; readonly key = Ev...
export type IGeometrys = 'BoxGeometry' | 'SphereGeometry' | 'CylinderGeometry' | 'TorusGeometry'; export type IChangeType = 'pos' | 'rotate' | 'params'; export type IFileType = 'OBJ' | 'STL'; export interface IParams { DEFAULT: { width: number; height: number; depth: number; }, BoxGeometry: { wid...
import { Injectable, Inject, VERSION } from '@angular/core'; import { Http, ConnectionBackend, Response, RequestOptionsArgs, Request, RequestOptions, XHRBackend, Headers } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import { JsonGetOptions } from './stormpath.service'; import { T...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const faObjectUngroup: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const li...
import * as colors from 'colors'; import * as fs from 'fs'; import * as yaml from 'js-yaml'; import { join } from 'path'; import { AppConfig } from './app-config.interface'; import { Config } from './config.interface'; import { DefaultAppConfig } from './default-app-config'; import { ServerConfig } from './server-conf...
import {Injectable, Injector} from '@angular/core'; /** * Represent options available when opening new modal windows. */ export interface NgbModalOptions { /** * Sets the aria attribute aria-labelledby to a modal window. * * @since 2.2.0 */ ariaLabelledBy?: string; /** * Whether a backdrop elem...
/** * 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 { Injectable } from '@angular/core'; @Injectable() export class BaThemeSpinner { private _selector: string = 'preloader'; private _element: HTMLElement; constructor() { this._element = document.getElementById(this._selector); } public show(): void { this._element.style['display'] = 'block';...
/** * @module annie */ namespace annie { /** * TweenObj,具体的tween对象类 * @class annie.TweenObj * @public * @since 1.0.0 */ export class TweenObj extends AObject { public constructor() { super(); } /** * 是否暂停,默认false * @property pause ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { IonicModule } from '@ionic/angular'; import { FormsModule } from '@angular/forms'; import { HomePage } from './home.page'; import { SharedModule } from '../shared/shared.module'; import { HomePageRoutingModule } from './...
export interface DragonModel { createdAt: string; histories: Array<string>; name: string; type: string; id: string; }
import { Controller, Get, Query } from '@nestjs/common'; import { ApiBearerAuth, ApiTags } from '@nestjs/swagger'; import { IsPublic } from 'src/auth/is-public.decorator'; import BillFilterDTO from './types/bill-filter.dto'; @IsPublic() @ApiTags('Bills') // @ApiBearerAuth('JWT') @Controller('bill') export class BillCo...
import { Route53RecoveryControlConfig } from "../Route53RecoveryControlConfig.ts"; import { Route53RecoveryControlConfigClient } from "../Route53RecoveryControlConfigClient.ts"; import { PaginationConfiguration } from "../../types/mod.ts"; export interface Route53RecoveryControlConfigPaginationConfiguration extends Pa...
import { useMemo, useState } from 'react' import { useRecoilValue, useSetRecoilState } from 'recoil' import { dateRangeState, labSettingState, updateDateRange, } from '../atoms/labSettingState' import { MonthYearValue } from '../types/MonthYearValue' export default function useDateRangeHook() { const dateRange...
import { h, defineComponent, computed, inject, PropType, VNodeChild, CSSProperties } from 'vue' import { getPadding } from 'seemly' import { InfoIcon, SuccessIcon, WarningIcon, ErrorIcon } from '../../_internal/icons' import { createKey, keysOf, render } from '../../_utils' import { NBaseIcon, NBa...