text
stringlengths
10
953k
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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 "../utili...
import { Project } from './project.model'; export const ProjectsDB: Project[] = [ // { // position: 'left', // title: 'Portfolio', // lead_text: 'My portfolio site', // date: '2019-06-01', // tags: ['Angular', 'TypeScript'], // featured_image: '../assets/00-portfolio-site.png', ...
import {Component, Inject, OnInit} from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import {TranslateService} from '@ngx-translate/core'; import {NotificatorService} from '../../../../core/services/common/notificator.service'; import { MailType, RegistrarManagerService } f...
import { Component } from "@stencil/core"; @Component({ tag: "app-toolbar", styleUrl: "app-toolbar.scss" }) export class AppToolbar { render() { return [ <div class="left-bar-item" />, <div class="logo"> <stencil-route-link router="#router" url="/" aria-label="SHOP Home"> SHOP ...
import React from 'react'; import Trans from 'next-translate/Trans'; import { Typography } from '@material-ui/core'; import { Name } from '@components'; import numeral from 'numeral'; import { MsgWithdrawValidatorCommission } from '@models'; import { useChainContext } from '@contexts'; const WithdrawCommission = (prop...
public static _maxpoint(list: Array<BABYLON.Vector3>): BABYLON.Vector3 { let maxx = Math.max.apply(0, list.map(t => t.x)); let maxy = Math.max.apply(0, list.map(t => t.y)); let maxz = Math.max.apply(0, list.map(t => t.z)); return new BABYLON.Vector3(maxx, maxy, maxz); } public ...
import * as React from 'react' import PropTypes from 'prop-types'; import './style.css' /** * The structure accepted by sentences as options * @export * @interface Option */ export interface Option { id: string value: string } const blinkerStyle: React.CSSProperties = { verticalAlign: 'super', fon...
import { getPropFromValue, printObject } from '../../utils'; import type { Cond2, Nullable, OneOrMoreReadonlyArray } from '../../utils/type'; function reportNonDefinedField(opts: { fieldName: string; dataName: string }): never { throw new Error(`${opts.fieldName} field in ${opts.dataName} is not defined`); } expo...
import { Component, ElementRef, EventEmitter, Inject, Input, OnChanges, OnInit, QueryList, ViewChildren } from '@angular/core'; import { DvService, DvServiceFactory, OnExec } from '@deja-vu/core'; import { CreateObjectComponent } from '../create-object/create-object.component'; import * as _ from 'lodash'; im...
import { OAuth2Client, JWT, Compute, UserRefreshClient, GaxiosPromise, GoogleConfigurable, MethodOptions, GlobalOptions, BodyResponseCallback, APIRequestContext } from 'googleapis-common'; export declare namespace pagespeedonline_v4 { export interface Options extends GlobalOptions { version: 'v4'; } ...
import { Controller, Get, Post, Body, Param, Delete, Patch, Query, UsePipes, ValidationPipe, ParseIntPipe } from '@nestjs/common'; import { TasksService } from './tasks.service'; import { CreateTaskDto } from './dto/create-task.dto'; import { GetTasksFilterDto } from './dto/get-tasks-filter.dto'; import { TaskStatusVal...
# CMAKE generated file: DO NOT EDIT! # Timestamp file for compiler generated dependencies management for CompileFeatures.
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { StatisticsCardComponent } from './statistics-card.component'; describe('StatisticsCardComponent', () => { let component: StatisticsCardComponent; let fixture: ComponentFixture<St...
export default { table: { apiSetting: { // 当前页的字段名 pageField: 'page', // 每页数量字段名 sizeField: 'pageSize', // 接口返回的数据字段名 listField: 'list', // 接口返回总页数字段名 totalField: 'pageCount', }, //默认分页数量 ...
import { h, render } from 'preact'; import 'preact/devtools'; import App from './App.js'; import './style/index.css'; const root = document.getElementById('root') if (root) { render(<App />, root); }
/** * Configuration data set. */ export const INJECTED_CONFIG: any = (<any>window).__config; /** * REST API route information. */ export const INJECTED_ENDPOINTS: any = (<any>window).__endpoints; /** * Features information. */ export const INJECTED_FEATURES: any = (<any>window).__features;
import { StatusMonitorGateway } from './status.monitor.gateway'; import { StatusMonitorConfiguration } from './config/status.monitor.configuration'; export declare class StatusMonitoringService { private readonly statusMonitorWs; readonly config: StatusMonitorConfiguration; spans: any[]; constructor(sta...
import { NotFoundException, UseGuards } from '@nestjs/common'; import { Args, Mutation, Query, Resolver, Subscription } from '@nestjs/graphql'; import { PubSub } from 'apollo-server-express'; import { UserArgs } from './user.args' import { User, UserRole } from './entities/user.entity'; import { UserService } from './u...
import { Component } from '@angular/core'; @Component({ selector: 'ngx-idioma-elements', template: `<router-outlet></router-outlet>`, }) export class IdiomaComponent { }
/** * @author Jhon Pedroza <jhonfpedroza@gmail.com> */ /** * Interface Color define metodos y propiedades del objeto Color. * * @interface Color * @version 1.0 */ export interface Color { /** * La propiedad code representa el codigo del color. * * @property code * @type {string} */...
import express, {Request, Response } from 'express'; import { unfurl } from 'unfurl.js'; const router = express.Router(); router.post('/', async ( req: Request, res: Response) => { const url = req.body.url; if(url){ return res.status( 401 ).send({ data: null }); }; ...
import React from 'react' interface Props { value: string | undefined onChange: (newValue: string) => void disabled?: boolean } /** * A text field for a campaign's title. */ export const CampaignTitleField: React.FunctionComponent<Props> = ({ value, onChange, disabled }) => ( <div className="form-g...
import { IsNotEmpty } from 'class-validator'; export class PostDto { @IsNotEmpty() content: string; }
import * as vscode from 'vscode'; import { ExtensionComponent } from '../extensionComponent'; /** * @see CodeLensManager */ export abstract class AbstractCodeLensProvider implements vscode.CodeLensProvider, ExtensionComponent { onDidChangeCodeLenses?: vscode.Event<void> | undefined; constructor(private _doc...
import React, { FC, useState, useEffect, useMemo, createRef } from 'react'; import { StyleSheet, View, TextInput, ViewStyle, NativeSyntheticEvent, TextInputKeyPressEventData } from 'react-native'; import { useTranslation } from 'react-i18next'; import { text, colors } from 'theme'; interface CodeInputProps { style?...
/* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. * * Licensed under the terms of the LICENSE file distributed with this project. */ import { Button } from "@blueprintjs/core"; import { assert } from "chai"; import { mount, ReactWrapper } from "enzyme"; import * as React from "react"; import Rea...
import { Component, OnInit } from '@angular/core'; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; @Component({ selector: 'app-register-sport-modal', templateUrl: './register-sport-modal.component.html', styleUrls: ['./register-sport-modal.component.css'] }) export class RegisterSportModalComponent ...
// Copyright 2019-2020 @paritytech/polkassembly authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. import queryString from 'query-string'; import { useMemo } from 'react'; import { useHistory, useLocation, useParams, u...
import 'apollo-server-env'; import { InterfaceTypeExtensionNode, FieldDefinitionNode, Kind, StringValueNode, parse, OperationDefinitionNode, NameNode, DocumentNode, visit, ObjectTypeExtensionNode, DirectiveNode, GraphQLNamedType, GraphQLError, GraphQLSchema, isObjectType, GraphQLObjectTy...
import { StatusCodes } from 'http-status-codes'; import { SubscriptionRoutes } from '..'; import { Subscription } from '../../../models/types/subscription'; import { AccessRights, SubscriptionType } from '../../../models/schemas/subscription'; import { ChannelInfoService } from '../../../services/channel-info-service';...
import { ChangeDetectorRef, Directive, Input, NgZone, SimpleChanges } from '@angular/core'; import { VirtualBoundaries, VirtualCustomScrollToFn, VirtualEstimateSizeFn, VirtualItem, VirtualKeys, VirtualMeasuredCache, VirtualMeasureItemSizeFn, VirtualMeasurement, VirtualMeasureRequest,...
import { IBot, IBotCommand, IBotCommandHelp, IBotMessage } from '../api' export default class SourcesCommand implements IBotCommand { private _link: string public getHelp(): IBotCommandHelp { return { caption: 'Исходный код', description: this._link } } public init(bot: IBot, dataPath: string): void { ...
import * as PIXI from "pixi.js"; import PAGE from './elements'; import { Sim } from '../sim/sim'; import { Square, SquareUtil } from '../components/square'; import { SpriteUtil } from './render/sprite'; import { RiverManager } from './render/rivers'; import { Console } from './console'; import * as COLOR from '../const...
// Type definitions for flatbuffers 1.10 // Project: http://google.github.io/flatbuffers/index.html // Definitions by: Kamil Rojewski <kamil.rojewski@gmail.com> // Robin Giese <robin@grumpycorp.com> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export { flatbuffers }; declare glob...
type VoidOrPromise = void | Promise<void>; export interface Attack { start: () => VoidOrPromise; stop: () => VoidOrPromise; } export interface PossibleAttack { weight?: number; createAttack: () => Attack; } export type Logger = ( level: 'debug' | 'info', message: string, details: Record<string, unknown...
describe('BWS', function () { it('should open', function () { browser.url('/') const img = $('img[src$="logo.f72cfb5f9fb9d7605a71fab31e1d43fb.svg"]') browser.pause(10000) if(!img.isExisting()) { throw new Error('Logo should be displayed') } }) })
import { Dispatch } from 'redux' import { loadAssetPacksRequest, LoadAssetPacksRequestAction } from 'modules/assetPack/actions' import { closeEditor, CloseEditorAction, BindEditorKeybardShortcutsAction, UnbindEditorKeybardShortcutsAction, zoomIn, zoomOut, resetCamera, ZoomInAction, ZoomOutAction, R...
import { Extensions } from '../services/Fs'; export const REGEX_EXTENSION = /\.(?=[^0-9])/; export interface SelectionRange { start: number; end: number; } export function getExtensionIndex(filename: string): number { let index = -1; for (const ext of Object.keys(Extensions)) { const matches ...
/** * @helium/ts-tsoa-api * Helium API with TSOA generator and openAPI sdk generator * * The version of the OpenAPI document: 0.0.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import loc...
// utils function componentToHex(c: number): string { const hex = c.toString(16); return hex.length == 1 ? "0" + hex : hex; } export function rgbToHex(r: number, g: number, b: number): string { return "#" + componentToHex(r) + componentToHex(g) + componentToHex(b); } function setHtmlTags(node: HTMLEleme...
export const reverseArray = <T>(array: T[]) => { const arr: T[] = [] for (let index = array.length - 1; index >= 0; index--) { const element = array[index] arr.push(element) } return arr }
/** * Copyright (c) 2021 GraphQL Contributors. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import StorageAPI from './StorageAPI'; export type QueryStoreItem = { query?: string; variables?: string; headers?: string; ope...
export enum ActionTypes { FETCH_EVENTS = 'FETCH_EVENTS', FETCH_OPTIONS = 'FETCH_OPTIONS', LOADING = 'LOADING', TOGGLE_THEME = 'TOGGLE_THEME', SET_THEME = 'SET_THEME', SET_USER = 'SET_USER', REMOVE_USER = 'REMOVE_USER', }
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as React from 'react'; import { Square, CheckSquareFill } from 'doly-icons'; import { BizFormItemRadio } from 'mobile-more'; import DemoForm from './components/DemoForm'; import FruiltOptions from './constants-options2'; function Demo() { return ( <DemoForm initialValues={{ radio4: 'apple'...
// *** 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! *** // Export members: export * from "./getLinkedWorkspace"; export * from "./getMachineLearningCompute"; export * from "./getPrivateEndpointConnection"; export * from ...
/** * NOTE: This module should not contain any nodejs functionality, * because it's also used by Storybook in the browser. */ import React from 'react'; export declare const mockAuthClient: { restoreAuthState: () => void; login: () => void; logout: () => void; signup: () => void; getToken: () => ...
import React from 'react' import { Text, TextProps, TextStyle } from 'react-native' import useStyles from '../../theme/useStyles' import { FontType } from '../../types/misc' interface TypographyProps extends TextProps { type?: FontType children: React.ReactNode color?: string bold?: boolean style?: TextStyle...
/** * @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 { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp4859Component } from './comp...
export interface MatchParticipant { name: string; logo: string; score?: number; // might be empty if not have been played yet winner?: boolean; // might be empty if not have been played yet }
/******************************************************************************** * Copyright (C) 2020 Ericsson and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * T...
import { Button } from "@mui/material"; import profile from "../images/profile.png"; const Header = () => { return ( <section className="home bd-grid" id="home"> <div className="home__data"> <h1 className="home__title"> Hi, <br /> I'am <span className="home__title-colo...
import { Segments, Joi } from 'celebrate'; export default { monthAvailability: { [Segments.PARAMS]: { provider_id: Joi.string().uuid().required().error(new Error('Invalid ID')), }, [Segments.QUERY]: { month: Joi.number().error(new Error('Invalid month')), year: Joi.number().error(new Er...
const link = document.createElement("a"); link.style.display = "none"; document.body.appendChild(link); /** * Download file without explicitely clicking on link. */ export function downloadFile(url: string, onError: Function) { window.location.assign(url); window.onerror = function() { window.location.assig...
import { ethers } from 'hardhat'; import { describeBehaviorOfERC1404 } from '@solidstate/spec'; import { ERC1404Mock, ERC1404Mock__factory } from '../../../typechain'; let restrictions = [ { code: ethers.BigNumber.from(1), message: 'one' }, { code: ethers.BigNumber.from(3), message: 'three' }, ]; describe('ERC140...
import { Logger } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; const PORT = process.env.PORT || 3002; async function bootstrap() { const app = await NestFactory.create(AppModule, { cors: true}); await app.listen(PORT); Logger.log(`Server running on ...
import { NgModule } from '@angular/core'; import { SharedModule } from '@shared/shared.module'; import { TicketDialogComponent } from './component/ticket-dialog/ticket-dialog.component'; import { TicketComponent } from './component/ticket/ticket.component'; import { TicketRoutingModule } from './ticket-routing.module';...
/** * 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. */ import { JSBindingIdentifier, JSClassHead, NodeBaseWithComments, } from "@internal/ast"; import {createBuilder} from "../../uti...
import { Bookmarks } from 'webextension-polyfill-ts' import tabManager from '../activity-logger/background/tab-manager' import { createPageViaBmTagActs } from './on-demand-indexing' import { getPage } from './util' import { Dexie } from './types' export const addBookmark = (getDb: () => Promise<Dexie>) => async ({ ...
/* * @Author: mrrs878@foxmail.com * @Date: 2020-10-15 11:04:23 * @LastEditTime: 2020-10-19 13:14:02 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \blog_backend\src\models\like.ts */ /* * @Author: mrrs878@foxmail.com * @Date: 2020-10-15 11:04:23 * @LastEditTime: 2020...
// This optional code is used to register a service worker. // register() is not called by default. // This lets the app load faster on subsequent visits in production, and gives // it offline capabilities. However, it also means that developers (and users) // will only see deployed updates on subsequent visits to a p...
import { ConfigService } from '../services'; import { Directive, ElementRef, Input, AfterViewInit, Renderer2 } from '@angular/core'; import * as _ from 'lodash-es'; import { CacheService } from 'ng2-cache-service'; @Directive({ selector: '[appContentDirection]' }) export class ContentDirectionDirective implements Aft...
import { RedBlackTreeEntry, RedBlackTreeStructure, findMaxNodeLeftOfKey, findMinNodeRightOfKey, findNodeByKey } from '../internals'; /** * An operation used to locate an entry in a tree * - "gt": the leftmost entry with a key greater than the specified input key * - "gte": the leftmost entry with a key greater than...
import "components/common/modifiers.css"; import { CoercableComponent, jsx } from "features/feature"; import Decimal, { DecimalSource, format } from "util/bignum"; import { WithRequired } from "util/common"; import { Computable, convertComputable, ProcessedComputable } from "util/computed"; import { renderJSX } from "u...
import { Breakpoints, Theme, theme, ThemeWithoutBreakpoints, themeWithoutBreakpoints, } from '../../../test-utils/theme'; import { boxDecorationBreak } from '../boxDecorationBreak'; describe('boxDecorationBreak', () => { it('should return a function', () => { const result = boxDecorationBreak(); e...
import headerModule from './header/module'; import NavigationUtilsService from './navigation-utils-service'; import workspaceModule from './workspace/module'; export default module => { module.service('NavigationUtilsService', NavigationUtilsService); headerModule(module); workspaceModule(module); };
import { Component, EventEmitter, Input, Output, OnInit } from '@angular/core'; import { IdMapper } from 'app/helpers/auth/id-mapper'; import { FormGroup } from '@angular/forms'; import { Utilities } from 'app/helpers/utilities/utilities'; @Component({ selector: 'app-create-chef-server-modal', templateUrl: './crea...
import { Controller, Get, Param, Query } from '@nestjs/common'; import { AppService } from './app.service'; @Controller() export class AppController { constructor(private readonly appService: AppService) {} @Get() getHello(): string { return this.appService.getHello(); } // @Get('products') // getPro...
import React from "react" import { Linking, Text } from "react-native" import * as renderer from "react-test-renderer" import { Theme } from "@artsy/palette" import { Markdown } from "../Markdown" import { LinkText } from "../Text/LinkText" jest.mock("lib/NativeModules/SwitchBoard", () => ({ presentModalViewControlle...
import { Table } from 'antd'; import React from 'react' import dayjs from 'dayjs'; interface IAttributeTableProps { id: number data: any[] } export default function AttributeTable(props: IAttributeTableProps) { const { data } = props const columns = [ { title: 'id', dataIndex: 'id', key: 'id' ...
import MediaLinks from "@theme/components/MediaLinks.vue"; import type { BlogOptions } from "@theme/types"; declare const _default: import("vue/types/vue").ExtendedVue<{ $timelineItems: import("@mr-hope/vuepress-types").PageComputed[]; $timeline: import("@theme/mixins/timeline").TimelineItem[]; } & Record<never...
/* * 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 * from "./operations"; export * from "./netAppResource"; export * from "./netAppRe...
import { storiesOf } from '@storybook/react'; import * as React from 'react'; import { useWait } from '..'; import ShowDocs from './util/ShowDocs'; const AnotherComponent = () => { const { isWaiting } = useWait(); return <p>{isWaiting('creating user') ? 'Now creating user...' : ''}</p>; }; const Demo = () => { ...
// SPDX-License-Identifier: MIT // Adapted from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/c9630526e24ba53d9647787588a19ffaa3dd65e1/test/math/SignedSafeMath.test.js import { contract, helpers as h, matchers, setup, } from '@chainlink/test-helpers' import { assert } from 'chai' import { Checked...
import { Body, Controller, Get, Param, Patch, Post, UseGuards, ValidationPipe, } from "@nestjs/common"; import { AuthGuard } from "@nestjs/passport"; import { ApiTags } from "@nestjs/swagger"; import { Company } from "../company/company.entity"; import { GetCompany } from "../company/get-company.decorat...
import React, { useMemo } from 'react' import { mapValues, values } from 'lodash' import { RouteComponentProps } from 'react-router' import { ExternalServiceKind } from '@sourcegraph/shared/src/graphql-operations' import { TelemetryProps } from '@sourcegraph/shared/src/telemetry/telemetryService' import { ThemeProps ...
import { Requester } from '@chainlink/ea-bootstrap' import { Config } from '@chainlink/types' export const DEFAULT_ENDPOINT = 'avg-price' export const DEFAULT_BASE_URL = 'https://api.watchsignals.com/' export const makeConfig = (prefix?: string): Config => { const config = Requester.getDefaultConfig(prefix, true) ...
import { css } from '@emotion/core' import config from './config' import media from './media' import { light as colors } from './theme' const { fontSizes, fonts, transition } = config const reset = css` html { box-sizing: border-box; width: 100%; height: 100.06%; /* overflow-y: scroll; */ } *, ...
// Libraries import _ from 'lodash'; import coreModule from 'app/core/core_module'; // Utils import config from 'app/core/config'; import { importPluginModule } from './plugin_loader'; // Types import { DataSourceApi } from 'app/types/series'; import { DataSource } from 'app/types'; export class DatasourceSrv { da...
import { NgModule } from '@angular/core'; import { MatProgressBarModule, MatIconModule, MatButtonModule, MatCardModule, MatDialogModule, MatInputModule, MatMenuModule, MatSelectModule } from '@angular/material'; const MAT_MODULES = [ MatProgressBarModule, MatIconModule, MatButtonModule, MatCard...
import * as React from 'react'; import Link from '@material-ui/core/Link'; import { makeStyles } from '@material-ui/core/styles'; import Table from '@material-ui/core/Table'; import TableBody from '@material-ui/core/TableBody'; import TableCell from '@material-ui/core/TableCell'; import TableHead from '@material-ui/cor...
// (C) Copyright 2015 Martin Dougiamas // // 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 agre...
export type ATypeDef = number|string;
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { HttpErrorResponse, HttpResponse } from '@angular/common/http'; import { Observable } from 'rxjs/Observable'; import { JhiEventManager } from 'ng-jhipster'; import { TextExercise } from 'app/entities/tex...
export interface SonicOptions { host: string; port: number; password: string; }
/** * 动作帧定义 * @author 后天 */ module Entity { export class HumanAction { public static HAIdle:ActionAnimation = null; public static HAMove:ActionAnimation = null; // public static HARUN:ActionAnimation = null; //跑步 public static HAHi...
import { h, Component, Event, EventEmitter, Method, Prop, State } from '@stencil/core'; @Component({ tag: 'blaze-pagination', }) export class Pagination { @Prop() page: number = 1; @Prop() pages: number = 1; @State() _currentPage: number; @Event({ eventName: 'page' }) onPage: EventEmitter; @Met...
declare module '*.md' interface Window { gtag: (...args: any[]) => void dataLayer: Record<string, any> }
/* eslint-disable prettier/prettier */ import { Body, Controller, Delete, Get, Param, ParseIntPipe, Patch, Post, } from '@nestjs/common'; import { CentreEntity } from './centre.entity'; import { CentreService } from './centre.service'; import { AddCentreDto } from './dto/add-centre.dto'; import { ApiTag...
/* Internal denpendencies */ import { styled, css, smoothCorners } from '../../../foundation' import { WithInterpolation } from '../../../types/InjectedInterpolation' import DisabledOpacity from '../../../constants/DisabledOpacity' import { AVATAR_STATUS_GAP, AVATAR_BORDER_WIDTH, AVATAR_BORDER_RADIUS_PERCENTAGE } from ...
/************************************************************* * * Copyright (c) 2018 The MathJax Consortium * * 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...
<TS language="cy" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Clic-dde i olygu cyfeiriad neu label</translation> </message> <message> <source>Create a new address</source> <translation>...
import {User} from './user.interface'; export interface Message { _id: string createdBy: string | User message: string }
import { Component, Vue } from 'vue-property-decorator' import VueRouter from 'vue-router' Vue.use(VueRouter) // import the tailwind css import 'tailwindcss/tailwind.css' // This will bring in the font files for fontawesome // import '../css/fontawesome.scss'; // This will bring in the svg files for fontawesome impor...
import { updateTime, } from './mutations'; export { state, isActionRunning, computeState, } from './store'; export * from './getters'; export * from './mutations'; export * from './actions'; export * from './types'; setInterval(() => updateTime(), 1000);
import { PrimitiveValue, PropertyDescription, PropertyEditorInfo, PropertyRecord, PropertyValueFormat, StandardTypeNames, } from "@bentley/ui-abstract"; import { PropertyValueRendererContext, PropertyValueRendererManager, } from "@bentley/ui-components"; import React from "react"; export async function...
// Libraries import $ from 'jquery'; import React, { MouseEvent, PureComponent } from 'react'; import { hot } from 'react-hot-loader'; import { connect } from 'react-redux'; // Services & Utils import { createErrorNotification } from 'app/core/copy/appNotification'; import { getMessageFromError } from 'app/core/utils/...
import {Token} from "../utils/Tokenizer"; /** * Execution Handler with the following key features: * <ul> * <li>Define your own [[Action]]s and run them just with one command. * </ul> * @category Core */ export class ExecHandler { /** * Provide your previously defined [[Action]]s, retrieved [[Toke...
import { IStreamloots } from "./IStreamloots"; import { StreamlootsPurchase } from "./StreamlootsPurchase"; export declare class StreamlootsGift extends StreamlootsPurchase { giftee: string; constructor(event: IStreamloots); toString(): string; }
import { AppPage } from './app.po'; import { browser, logging } from 'protractor'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getTitleText()).toEqual('Install...