text
stringlengths
10
953k
import { ElasticsearchService } from "../ElasticsearchService"; import { ElasticsearchServiceClient } from "../ElasticsearchServiceClient"; import { ListDomainsForPackageCommand, ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput, } from "../commands/ListDomainsForPackageCommand"; import { Elas...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distr...
import { ProxyMarked } from 'comlink' import { InitData } from '../extensionHost' import { ExtDocumentsAPI } from './documents' import { ExtExtensionsAPI } from './extensions' import { ExtWorkspaceAPI } from './workspace' import { ExtWindowsAPI } from './windows' import { FlatExtHostAPI } from '../../contract' export ...
import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ionic-angular'; import { UserOfMine } from '../../model/user.interface'; import { LoginPage } from '../login/login'; import * as firebase from 'firebase/app'; @Component({ selector: 'page-forgot-password', templateUr...
import { PrimaryGeneratedColumn, Column, Entity, OneToOne, JoinColumn, Index } from "typeorm"; import { PostDetails } from "./PostDetails"; import { PostCategory } from "./PostCategory"; import { PostAuthor } from "./PostAuthor"; import { PostInformation } from "./PostInformation"; import { PostImage } from "./PostImag...
import Polyglot = require('node-polyglot'); function instantiatePolyglot(): void { var polyglot = new Polyglot(); var phrasedPolyglot = new Polyglot({ phrases: { hello: 'Hello' } }); var localePolyglot = new Polyglot({ locale: 'fr' }); var allowMissingPolyglot = new Polyglot({ phrases: { hello:...
'use strict'; export default function($routeProvider) { 'ngInject'; $routeProvider .when('/add', { template: '<add></add>' }); }
import { now } from './now'; export function clock(): string { return new Date(now()).toLocaleString('en-US', { timeZone: 'UTC' }); }
/* * 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 "./models"; export { NoOperationsClient } from "./noOperationsClient";
import type { Area } from '@src/types'; import easelJS from './easeljs'; export class Scene extends easelJS.Container { public debug: any = undefined; constructor(public coordonates: Area) { super(); const mtx = this.getMatrix(); mtx.translate(coordonates.x, coordonates.y); t...
import { HandPipe } from './hand.pipe'; describe('HandPipe', () => { it('create an instance', () => { const pipe = new HandPipe(); expect(pipe).toBeTruthy(); }); it('transform gu choki pa', () => { const pipe = new HandPipe(); expect(pipe.transform('GU')).toBe('✊'); expect(pipe.transform('CH...
import React from 'react' const SignInPhones: React.FC = () => { return ( <div className="relative hidden md:inline-block"> <img className="h-[37rem] relative" src="/phones.png" alt="Phones" draggable="false" /> <img className="h-[69%] absolute top-24 rig...
export const version = '6.0.0-beta.6';
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-depuracion', templateUrl: './depuracion.component.html', styleUrls: ['./depuracion.component.scss'] }) export class DepuracionComponent implements OnInit { constructor() { } ngOnInit() { } }
import { QueueTimeSeriesRequestDTO } from '../../../../../common/dto/queues/queue-time-series-request.DTO'; export class GetQueueDeadLetteredRequestDTO extends QueueTimeSeriesRequestDTO {}
/** @jsx h */ import { h } from 'preact'; import cx from 'classnames'; import type { PitProps } from './Rheostat'; const Pit = ({ style, children }: PitProps) => { // first, end & middle const positionValue = Math.round(parseFloat(style.left as string)); const shouldDisplayValue = [0, 50, 100].includes(position...
import cached from "./fields/cached" import ItemType from "./item" import { IDFields } from "./object_identification" import { GraphQLString, GraphQLObjectType, GraphQLNonNull, GraphQLList, GraphQLFieldConfig, } from "graphql" import { ResolverContext } from "types/graphql" const OrderedSetType = new GraphQL...
import { InjectionToken } from '@angular/core'; import { configLoadFactory } from './infrastructure/config/config.factory'; import { ConfigService } from './infrastructure/config/config.service'; import { AuthService } from './infrastructure/auth/auth.service'; import { authCheckFactory } from './infrastructure/auth/a...
import {RouterModule, Routes} from '@angular/router'; import {NgModule} from '@angular/core'; import {MainComponent} from './main/main.component'; import {environment} from '../environments/environment'; const routes: Routes = [ { path: '', pathMatch: 'full', component: MainComponent }, ...(environme...
import DirectoryPicker from './DirectoryPicker'; /** * Game Settings: SoundPicker * @href https://github.com/MrPrimate/vtta-tokenizer/blob/master/src/libs/SoundPicker.js */ class SoundPicker extends FilePicker { constructor(options = {}) { super(options); } _onSubmit(event) { event.preventDefault(); ...
import parse from 'date-fns/parse'; import {Contributor, RawTask, Task, TaskDict} from 'types/github'; import {Opening} from 'types/openings'; import {TeamMember} from 'types/teams'; import contributors from 'data/contributors.json'; import openings from 'data/openings.json'; import tasks from 'data/tasks.json'; impor...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { GetGuidanceTagsFromGuidanceLinks } from 'common/get-guidance-tags-from-guidance-links'; import { NamedFC } from 'common/react/named-fc'; import * as React from 'react'; import { getPropertyConfiguration } from '../...
GOCAD TSurf 1 HEADER { name: SNFA-LLFZ-EAST-Eastern_Little_Lake_NE_outer_splay-CFM53_500m visible: true *solid*color: 0.552941 0.000000 0.831373 1 name_in_model_list: SNFA-LLFZ-EAST-Eastern_Little_Lake_NE_outer_splay-CFM53 } GOCAD_ORIGINAL_COORDINATE_SYSTEM NAME " gocad Local" PROJECTION Unknown DATUM Unknown AXIS_NA...
import { DataFrame, TIME_SERIES_VALUE_FIELD_NAME, FieldType } from '../types'; import { getFieldDisplayName } from './fieldState'; import { toDataFrame } from '../dataframe'; interface TitleScenario { frames: DataFrame[]; frameIndex?: number; // assume 0 fieldIndex?: number; // assume 0 } function checkScenario...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as commonPropTypes from './commonPropTypes' export { default as applyAccessibilityKeyHandlers } from './applyAccessibilityKeyHandlers' export { default as AutoControlledComponent } from './AutoControlledComponent' export { default as childrenExist } from './childrenExist' export { default as UIComponent } fro...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ManageLandDataComponent } from './manage-land-data.component'; describe('ManageLandDataComponent', () => { let component: ManageLandDataComponent; let fixture: ComponentFixture<ManageLandDataComponent>; beforeEach(async(() => { ...
import * as i0 from '@angular/core'; import * as i1 from './Components.module'; export declare const IonicComponentsModuleNgFactory: i0.NgModuleFactory<i1.IonicComponentsModule>;
import { html, LitElement, PropertyValues, TemplateResult } from "lit"; import { customElement, property, query } from "lit/decorators"; import "../../../src/components/ha-card"; import { SUPPORT_OPEN, SUPPORT_STOP, SUPPORT_CLOSE, SUPPORT_SET_POSITION, SUPPORT_OPEN_TILT, SUPPORT_STOP_TILT, SUPPORT_CLOSE_T...
import { createStore } from '../../../dist'; import { sleep } from '../util'; type Post = { userId: number; id: number; title: string; body: string; }; type PostState = { isFetching: boolean; posts: Post[]; error: Error | undefined; }; type PostAccessors = { fetchPosts: () => Promise<void>; clearPo...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SharedModule } from '../../shared/share.module'; import { ThemeModule } from '../../@theme/theme.module'; import { DetailComponent } from './detail.component'; import { LightboxModule } from 'ngx-lightbox'; @NgModule({ ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// svg/message-off-outline.svg import { createSvgIcon } from './createSvgIcon'; export const SvgMessageOffOutline = createSvgIcon( `<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xml...
/** * @license * Copyright Google LLC 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 {Routes} from '@angular/router'; import {AutocompleteDemo} from './autocomplete/autocomplete-demo'; import {Ba...
import { DataSourceJsonData, DataQuery } from '@grafana/data'; export interface RedisOptions extends DataSourceJsonData { hostspec?: string; retentionTime?: string; } export enum RedisQueryType { TimeSeries = 'time_series', MetricFindQuery = 'metric_find_query', } export interface RedisQuery extends ...
import styled from 'styled-components'; const ObjectivesList = styled.div` width: 90%; height: 65%; margin-top: 30rem; overflow-y: scroll; display: flex; flex-direction: column; align-items: center; .objectives-link { text-decoration: none; } `; export { ObjectivesList };
import { Component, Input, EventEmitter, Output, HostBinding } from '@angular/core'; import { CookbookRuleList, CookbookDependencyList, CookbookList } from '../policy-file-details/policy-file-details.component'; import { TelemetryService } from 'app/services/telemetry/telemetry.service'; @Component({ ...
import { Courses } from "../../@types/courses"; export const courses: Courses[] = [ { id: Math.floor(Math.random() * 100), title: "Responsividade na prática", description: "Aprenda a cria sites responsivos usando as melhores\n técnicas do mercado.", slug: "responsividade-na-pratica", image:...
export default { title: '生态系统', nav: [ { subtitle: '官方', nav: [ { icon: 'https://pub.dev/favicon.ico', name: 'Dart', desc: 'Dart语言', link: 'http://www.dartdoc.cn/', language: [ 'https://dart.dev/', 'http://www.dartdoc....
import { AbstractControl, FormGroup } from '@angular/forms'; /** * Contact form interface. */ export interface IContactForm extends FormGroup { controls: { name: AbstractControl; email: AbstractControl; header: AbstractControl; message: AbstractControl; domain: AbstractControl; }; }
import { Routes } from '@angular/router'; import { HeroesComponent } from './heroes.component'; import { HeroesListComponent } from './heroes-list.component'; export const heroesRoutes: Routes = [ { path: '', component: HeroesComponent, children: [ { path: 'list', component: HeroesListComponent } ]} ];
import loaderUtils from 'loader-utils' import path from 'path' import webpack from 'webpack' const regexLikeIndexModule = /(?<!pages[\\/])index\.module\.(scss|sass|css)$/ export function getCssModuleLocalIdent( context: webpack.loader.LoaderContext, _: any, exportName: string, options: object ) { const rela...
import * as AWS from 'aws-sdk'; import { HttpModule, Module } from '@nestjs/common'; import { SqsModule } from '@ssut/nestjs-sqs'; import { ItemController } from './controller/item.controller'; import { OrderController } from './controller/order.controller'; import { OrderListener } from './listener/order.listener'; im...
<TS language="vi" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Ấn chuột phải để sửa địa chỉ hoặc tên</translation> </message> <message> <source>Create a new address</source> <translation...
import { WordPronunciation } from '../../pronunciation-sources.ts/pronunciation-source'; import { PronunciationNormalizationError } from '../normalization'; import { DictionaryCreationIssueBase } from './dictionary-creation-issue-base'; import { errorTypeToMessage } from './utils'; export class PronunciationNormalizat...
import { createIcon } from '../core'; /** * remixicon bookmark-fill */ export default createIcon('bookmark-fill', { "viewBox": "0 0 24 24", "paths": [ { "d": "M0 0h24v24H0z", "fill": "none" }, { "d": "M5 2h14a1 1 0 0 1 1 1v19.143a.5.5 0 0 1-.766.424L12 18.03l-7.234 4.536A.5.5 0 0 1 ...
export function defaultComparetor(l: unknown, r: unknown): number { return l > r ? 1 : l < r ? -1 : 0; }
import TLE from './TLE'; import Orbit from './Orbit'; import Satellite from './Satellite'; import * as Util from './Utils'; export default { TLE, Orbit, Satellite, Util };
export class ExportImageRequestBody { private 'bucket_url': string | undefined; private 'file_format': ExportImageRequestBodyFileFormatEnum | undefined; private 'is_quick_export'?: boolean | undefined; public constructor(bucketUrl?: any, fileFormat?: any) { this['bucket_url'] = bucketUrl; ...
/* * 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. */ import * as coreClient from "@azure/core-client"; export type FirewallPolicyRuleCollecti...
/* eslint-disable */ import { ASN1Element as _Element, ASN1TagClass as _TagClass } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { ARU_PPDU_normal_mode_parameters_user_data_fully_encoded_data_Item, _decode_ARU_PPDU_normal_mode_parameters_user_data_fully_encoded_data_Item, _encode...
import { Component, OnInit } from '@angular/core'; import { Issue, IssuePriority, IssueStage, IssueType, } from '@app/data/model/issue.model'; @Component({ selector: 'app-board-dnd', templateUrl: './board-dnd.component.html', styleUrls: ['./board-dnd.component.scss'], }) export class BoardDndComponent im...
/* * Copyright (c) 2020 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
import * as React from 'react'; import { Avatar, Flex, Text, Animation, MenuButton, FlexItem } from '@fluentui/react-northstar'; import { MoreIcon, MicOffIcon, ParticipantRemoveIcon, MicIcon } from '@fluentui/react-icons-northstar'; const Participant: React.FC<{ image?: string; name: string; status: object; po...
import * as React from 'react'; import { Text, View, StyleSheet } from 'react-native'; interface IHeader { headerText: string; } export const Header: React.StatelessComponent<IHeader> = (props) => { return ( <View style={[styles.container]} > <Text style={[styles.header]}> {props.headerText} </Text> ...
// svg.d.ts declare module '*.svg' { const value: string; export default value; }
import { TestBed } from '@angular/core/testing'; import { FileStateService } from './file-state.service'; describe('FileStateService', () => { let service: FileStateService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(FileStateService); }); it('should be created',...
import {environment} from 'environments/environment'; import {ZendeskEnv} from 'environments/environment-type'; interface ZendeskUrls { billing: string; communityForum: string; createBillingAccount: string; dataDictionary: string; faq: string; gettingStarted: string; helpCenter: string; tableOfContents...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Riotoken</source> <translation>關於莱特幣</translation> </message>...
import {BrowserModule} from '@angular/platform-browser'; import {NgModule} from '@angular/core'; import {FormsModule} from '@angular/forms'; //Template Driven Forms import {ReactiveFormsModule} from '@angular/forms'; //Model Driven Forms import {HttpModule} from '@angular/http'; import {PrettyJsonModule} from "angular2...
import { ElasticTranscoderClient } from "../ElasticTranscoderClient"; import { ReadJobCommand, ReadJobCommandInput } from "../commands/ReadJobCommand"; import { WaiterConfiguration, WaiterResult, WaiterState, createWaiter } from "@aws-sdk/util-waiter"; const checkState = async (client: ElasticTranscoderClient, input: ...
import { useEffect } from 'react' import { useDispatch, useSelector } from 'react-redux' import { useNavigate } from 'react-router-dom' import { RootState } from 'src/app/rootReducer' import { Button } from 'src/components/Button' import { CurrencyRadioBox } from 'src/components/input/CurrencyRadioBox' import { NumberI...
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy, } from '@angular/core'; import { IdType, DisplayRate, Dataset, ItemId } from '~/models'; import { DialogContainerComponent } from '../dialog/dialog-container.component'; @Component({ selector: 'lab-select', templateUrl: './select....
import { Component, Input, OnInit } from "@angular/core"; import { NzDrawerRef, NzDrawerService } from "ng-zorro-antd"; import { Engine } from "../../interfaces/engine.interface"; import { User } from "../../interfaces/user.interface"; import { ManagementService } from "../../services/management/management.service"; im...
import { createGlobalStyle } from 'styled-components' export const GlobalStyles = createGlobalStyle` * { margin: 0; padding: 0; box-sizing: border-box; } .Overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.5); } .Modal { position: absolute; top: 50%; ...
import {guid} from "./Guid"; import {LocationViewModel} from "./LocationViewModel"; import {MarksCountViewModel} from "./MarksCountViewModel"; import {TagNameViewModel} from "./TagNameViewModel"; export interface EventViewModel { id: guid; ownerId: string; name: string; description: string; locatio...
import { ARN } from "@aws-sdk/util-arn-parser"; import { ArnHostnameParams, BucketHostnameParams, DOT_PATTERN, getArnResources, getSuffix, getSuffixForArnEndpoint, isBucketNameOptions, isDnsCompatibleBucketName, validateAccountId, validateArnEndpointOptions, validateCustomEndpoint, validateDNSH...
import {Component, OnDestroy, OnInit, ViewChild} from '@angular/core'; import experiencesData from '../../../assets/data/experiences.json'; import {SkillsComponent} from '../skills/skills.component'; import {VisibleService} from '../../services/visible.service'; import {Observable, Subject, Subscription} from 'rxjs'; i...
/* * Copyright 2020 The Backstage 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 applicable law or ...
import { Primitive } from '@tsdotnet/common-interfaces'; /** * Returns the entry in the sequence that has the highest/greatest value. * @param {Iterable<T>} sequence * @return {T} */ export default function max<T extends Primitive>(sequence: Iterable<T>): T;
import { reactive } from '@vue/reactivity'; import { debounce } from '../../utils/utils'; import { EventTopic } from '../system/event/event-topic'; /** * Media query breakpoints. */ const SM_WIDTH = 768; const MD_WIDTH = 992; const LG_WIDTH = 1200; /** * The HiDPI breakpoint. * Any resolution above this breakpoin...
export const environment = { production: true, GovDataAPI: '' };
import {Component, Input, OnInit} from '@angular/core'; import { ApiService } from '../../api/api.service'; import { TableData } from '../table/table.model'; import {Summary} from '../../api/model/summary.model'; import {Wallet} from "../../api/model/wallet.model"; import {AsyncQuery} from "../../model/async-query"; d...
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { RouterModule } from '@angular/router'; import { JhiLanguageService } from 'ng-jhipster'; import { JhiLanguageHelper } from 'app/core'; import { RoomieSharedModule } from 'app/shared'; import { RoomieElasticsearchReindexModule } from './elasticse...
import { Values } from '../types/Utils' import { useStore } from './Store' import { useModalUid } from './Modal' export interface Alert { open(alert: AlertOptions): Promise<any> close(): Promise<any> } export interface AlertOptions { type?: AlertMode title: string text: string actions: Action[] } export ...
/** * @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 */ // tslint:disable:no-big-function import { Architect } from '@angular-devkit/architect/src/index2'; import { logging...
import {Component, Input, Output, EventEmitter} from 'angular2/core'; import {AgGridNg2} from 'ag-grid-ng2/main'; import {Student} from './student'; import {StudentService} from './student.service'; import {GridOptions} from 'ag-grid/main'; @Component({ selector: 'my-students-grid', directives: [AgGridNg2], ...
import { GuardComponent } from "../ai/GuardComponent"; import { CampID, CampSetup } from "../config/CampSetup"; import { UnitSetup } from "../config/UnitSetup"; import { DangerousCirclePool } from "../pool/CirclePool"; import { Gameplay } from "../scenes/Gameplay"; import { EnemySpawnObj } from "../spawn/EnemySpawnObj"...
import { Component, OnInit, OnDestroy } from '@angular/core'; import { CONF_GIRONOMINA, DATOS_GIRONOMINA } from '../../interfaces/interfaces'; import { Router } from '@angular/router'; import { Store } from '@ngrx/store'; import { getAccionTabla } from '../../../../../shared/selectors/shared.selectors'; import { LoadAc...
import fetch from 'node-fetch' export const login = async (username: string, password: string, baseUrl: string) : Promise<string|undefined> => { const request = await fetch(`${baseUrl}/api/user/login`, { method: "POST", headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({user...
import { Menu, Rectangle, Sprite } from '../../'; import { UIMenuItem } from './'; import { Color, LiteEvent, Point, Size } from '../../../utils'; import { BadgeStyle } from '../../../enums'; export class UIMenuSliderItem extends UIMenuItem { public readonly sliderChanged = new LiteEvent(); public readonly sliderS...
import { remote } from 'electron' import { Disposable, IDisposable } from 'event-kit' import { IAPIOrganization, IAPIPullRequest, IAPIFullRepository, IAPICheckSuite, } from '../../lib/api' import { shell } from '../../lib/app-shell' import { CompareAction, Foldout, FoldoutType, ICompareFormUpdate, Re...
/** * 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
export * from "./Game"; export * from "./Event";
import IBaseClass, { BaseClass } from '../models/base-class'; import TokenStream from '../util/token-stream'; import StringTokenizer from '../util/string-tokenizer'; import { TokenType } from '../util/token-model'; export interface IOrderBy extends IBaseClass { column: string; direction: string; } export class Or...
/** * @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 { ElementRef, EventEmitter, ChangeDetectorRef, QueryList } from '@angular/core'; import { MdOptgroup } from '....
import { tableKeys } from "../components/utility/commonInterfaces"; export type Error = { hasError: boolean; errorCode: number; erorMessage: string; }; export interface IFilters { [name: string]: any|any[]; } export interface IFiltersAndToken { filters: IFilters; token: string; } export interface IError {...
export declare type Meta = { [m: string]: any; }; export declare type AcceptPredicate<T> = (newValue: T, oldValue?: T) => boolean; export interface EntityData { id?: string; value?: any; json?: string; accept?: AcceptPredicate<any>; reset?: boolean; meta?: Meta; } export interface Entity { ...
import { Component, OnInit, Input, SimpleChanges, ChangeDetectorRef, ChangeDetectionStrategy } from '@angular/core'; import * as _ from 'lodash'; import { ICustomer } from 'app/interfaces'; @Component({ selector: 'info', templateUrl: './info.component.html', styleUrls: ['./info.component....
import { RenNetwork } from "@renproject/interfaces"; import { useMultiwallet } from "@renproject/multiwallet-ui"; import { useCallback, useEffect, useMemo } from "react"; import { useDispatch, useSelector } from "react-redux"; import Web3 from "web3"; import { WalletConnectionStatusType, WalletStatus, } from "../.....
import type { CallableContext } from 'firebase-functions/lib/providers/https'; export type { CallableContext }; export type AuthedCallableContext = Omit<CallableContext, 'auth'> & Pick<Required<CallableContext>, 'auth'>;
import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { findAll, render } from '@ember/test-helpers'; // @ts-ignore import { clickTrigger } from 'ember-power-select/test-support/helpers'; import hbs from 'htmlbars-inline-precompile'; import { TestContext as Context } from 'ember...
<TS language="pt" version="2.1"> <context> <name>AddNewAddressDialog</name> <message> <source>Address</source> <translation>Endereço</translation> </message> </context> <context> <name>AddNewContactDialog</name> </context> <context> <name>AddressBookPage</name> <message> ...
import { Sha256 } from "@aws-crypto/sha256-js"; import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTSecureTunnelingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; /** * @internal */ export const ClientDefaultValues: Required<ClientDef...
import fs from "fs-extra"; import path from "path"; import tmp from "tmp-promise"; import * as Preserve from "@truffle/preserve"; import { Loader } from "../lib"; import { tests } from "./fs.fixture"; const writeFile = async (fullPath: string, content: string): Promise<void> => { // ensure directory exists for file...
import { describe } from "mocha"; const Paging = () => { describe("Feature: Paging", () => { // TODO: implement paging test }); }; export default Paging;
import ReactMarkdown from 'react-markdown'; import PropTypes, { InferProps } from 'prop-types'; import renderers from './markdown-to-page-mapping'; import EditOnGithubLink from '../layout/docs/edit-on-github-link'; const propTypes = { document: PropTypes.string.isRequired, meta: PropTypes.shape({ title: PropTypes....
import {DefaultTheme} from '../themes/default'; import {SendGridTheme} from '../themes/sendgrid'; import {ConsoleTheme} from '../themes/console'; export type SendGridThemeShape = typeof SendGridTheme; export type ConsoleThemeShape = typeof ConsoleTheme; export type ThemeShape = typeof DefaultTheme; export type Generic...
import getUnitFromResultUnitString from '../getUnitFromResultUnitString'; describe('getUnitFromResultUnitString', () => { it('should return unit based on result unit string', () => { // given const resultUnitString = '[kg]'; // when const { unit, error } = getUnitFromResultUnitString(resultUnitStrin...
import { AmqpConnectionManager, ChannelWrapper } from 'amqp-connection-manager'; import { OnModuleInit } from '@nestjs/common'; import { Options } from 'amqplib'; import { Queue } from '../interfaces/queue'; export class QueueProducer implements OnModuleInit { private $channel: ChannelWrapper; constructor(readonl...