text
stringlengths
10
953k
import { TestBed, inject, async, getTestBed, ComponentFixture } from '@angular/core/testing'; import {MockBackend, MockConnection} from '@angular/http/testing'; import {HttpModule, ResponseOptions } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import {Headers, BaseRequestOptions,Response,Http, XH...
/* eslint-disable max-lines */ import fs from 'fs-extra'; import chai, { expect } from 'chai'; import * as path from 'path'; import Helper from '../../src/e2e-helper/e2e-helper'; import { AUTO_GENERATED_MSG } from '../../src/constants'; import { ExcludedMainFile, IncorrectIdForImportedComponent, TestIsDirectory, ...
import styled from 'styled-components'; export default { Wrapper: styled.div` margin-top: 24px; `, Item: styled.span` display: block; `, }
let nome: string = 'rafael damasceno '; let idade: number = 93; console.log(`meu nome é ${nome} e tenho ${idade} anos`);
import { Model, Document } from "mongoose"; import { FillableObject } from "../../types/controllers/generic"; import { ValidationObject } from "../../types/validation/schema"; import { ValidationSchema } from "../../validators"; import BaseController from "../generic/BaseController"; class BaseCreateController extends...
/* * Project: ZilPay-wallet * Author: Rinat(lich666dead) * ----- * Modified By: the developer formerly known as Rinat(lich666dead) at <lich666black@gmail.com> * ----- * Copyright (c) 2020 ZilPay */ export enum Fonts { Bold, Light, Medium, Regilar }
import A = B
export declare const noUnresolvedDeclaredImports: { "no-unresolved-declared-imports": import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleModule<string, readonly unknown[], import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleListener>; }; //# sourceMappingURL=no-unresolved-de...
import { GameAssignmentFieldsFragment, GameFieldsFragment, GameGmsFragment, MembershipFieldsFragment, Node, useCreateGameAssignmentMutation, useCreateGameMutation, useDeleteGameAssignmentMutation, useGetGameAssignmentsByYearQuery, useGetMembershipsByYearQuery, useUpdateGameByNodeIdMutation, } from...
import { resolve } from 'path' import fs from 'fs-extra' import { afterAll, beforeAll, describe, expect, it } from 'vitest' import { startCli } from '../packages/cli/src/cli-start' export const tempDir = resolve('.temp') export const cli = resolve(__dirname, '../packages/cli/src/cli.ts') beforeAll(async () => { awa...
export default function getArrayOf<T>(array: T | T[]): T[] { if (Array.isArray(array)) { return array; } if (!!array) { return [array]; } return []; }
import { number, string } from '@hapi/joi'; import { ApiProperty } from '@nestjs/swagger'; import { IsString, IsInt, Min } from 'class-validator'; export class CreateRegisterPatientDto { @IsString() @ApiProperty({ type: String, description: "Patien's Name", }) name: string; @IsStri...
import { Gateway, Wallets } from 'fabric-network'; import * as path from 'path'; import * as fs from 'fs'; import { FunctionDto } from 'src/dto'; export const query = async (query: FunctionDto) => { let msg = ``; try { // Load the network configuration const ccpPath = path.resolve(__dirname, process.env.H...
import config from '../jest.config'; export default { ...config, displayName: { name: '@webpack-config-suite/styles', color: 'orange' } };
export const minute_seconds = 60 export { minute_seconds as seconds__minute }
import { put } from '../common/request'; import { IAuth0AuthorizationApiGroup } from '../interfaces'; export type Input = IAuth0AuthorizationApiGroup; export function updateGroup(extensionUrl: string, accessToken: string) { return (input: Input): Promise<IAuth0AuthorizationApiGroup> => { return put({ acce...
import { OpcaoCombo } from 'src/app/pacientes/models/dropdowns/opcao-combo'; export const OPCAO_TIPO_PAGADOR_CONSULTA: OpcaoCombo[] = [ { label: 'SUS', value: 'SUS', }, { label: 'Outros Convênios', value: 'OUTROS_CONVENIOS', }, ];
import { getDataTypes } from '@jeromefitz/notion/constants' import type { DatabaseInfo, Databases } from '@jeromefitz/notion/schema' import { navigationHeader } from './navigation' import { NOTION, PAGES__HOMEPAGE, PAGES } from './notion' import { nextSeo, sitemapExcludes } from './seo' const getDynamicDatabases = (o...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { BrowserModule } from '@angular/platform-browser'; import { StatisticsRouterModule } from './statistics.routes'; import { StatisticService } from './../services/statistic.service'; import { StatisticsListComponent } fro...
import mx from "@mxgraph-app/mx"; import { Sidebar } from "../Sidebar"; import { ItemDragManager } from "./ItemDragManager"; const { mxRectangle, mxClient, mxEvent } = mx; export class SidebarItemCreator { sidebar: Sidebar; editorUi: any; thumbPadding: number; thumbBorder: number; thumbWidth: number; thumb...
import { ONE3, sub3 } from "@thi.ng/vectors"; import type { ColorOp } from "./api"; import { clamp } from "./clamp"; /** * Inverts the RGB channels of an RGBA color. * * @param out - result * @param src - source color */ export const invertRGB: ColorOp = (out, src) => ( (out = clamp(out || src, src)), sub3(ou...
import React from 'react' import { useField } from '@unform/core' import { Collapse } from '@chakra-ui/transition' import Row from '../../../components/Utils/Row' import { Text, Square } from '@chakra-ui/layout' import { ExclamationIcon } from '../../../components/UX/Icons' interface ErrorCollapseProps extends ReturnT...
import React from 'react'; // tslint:disable-next-line:ordered-imports import { Svg, Path } from 'react-native-svg'; import { processComponent, RfxSvgIcon, RfxSvgPropsOptional, } from '@reflex-ui/core'; let CastConnectedIcon: React.ComponentType<RfxSvgPropsOptional> = ( props: RfxSvgPropsOptional, ) => ( <R...
import { graphQLSchemaExtension } from '@keystone-spike/keystone/schema'; import { AuthGqlNames, AuthTokenTypeConfig } from '../types'; import { updateAuthToken } from '../lib/updateAuthToken'; import { redeemAuthToken } from '../lib/redeemAuthToken'; import { getErrorMessage } from '../lib/getErrorMessage'; export f...
import Image from "next/image"; export default function NewArrivals() { 1; const newProducts = [ { name: "headphone one black", price: "29", image: "/images/new1.png", }, { name: "speaker beats pilll", price: "199", image: "/images/new2.png", }, { name:...
import React, { useState } from 'react'; import styled from 'styled-components'; import { useHistory } from 'react-router'; import theme from 'theme'; import SingleCard from 'frameworks/web/components/molecules/SingleCard/SingleCard'; import Label from 'frameworks/web/components/atoms/Label/Label'; import TextField fr...
import { NgModule } from '@angular/core'; import { NbActionsModule, NbCardModule, NbTooltipModule, NbButtonModule, NbInputModule, } from '@nebular/theme'; import { NgxPaginationModule } from 'ngx-pagination'; import { NgSelectModule } from '@ng-select/ng-select'; import { ThemeModule } from '../../@theme/...
import React from 'react' import { SbUserId } from '../../common/users/sb-user' import { useMentionFilterClick } from '../messaging/mention-hooks' import { SystemImportant, SystemMessage } from '../messaging/message-layout' import { ConnectedUsername } from '../users/connected-username' export const JoinLobbyMessage =...
import type { Annotation, AnnotationData } from './types'; export enum ActionType { ADD_ANNOTATION, REMOVE_ANNOTATIONS, SET_ANNOTATIONS, UPDATE_ANNOTATION, } export interface AddAnnotationAction<A extends Annotation> { type: ActionType.ADD_ANNOTATION; from: number; to: number; annotationData: Annotati...
import { Command } from '@oclif/command'; import cli from 'cli-ux'; import { booleanPrompt } from './cli'; import * as fs from 'fs'; import * as path from 'path'; import { recoverApiConfig } from './requestUtils'; import Init from '../commands/init'; export interface GenerateClientFlags { 'client-type': string | und...
import { Facet } from './facet.model'; import { HierarchicalFilter } from './filter/hierarchical-filter.model'; /** * Hierarchical facet is a trait for filtering results. It extends from {@link Facet} changes the * modelName and uses {@link HierarchicalFilter} as filters. */ export interface HierarchicalFacet exten...
import { Component } from '@angular/core'; import { CustomersClient, CustomerListModel } from '../northwind-traders-api'; @Component({ selector: 'app-customers', templateUrl: './customers.component.html' }) export class CustomersComponent { customers: CustomerListModel[]; constructor(client: CustomersClient)...
/** * @license * Copyright 2019 Balena Ltd. * * 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 o...
import * as S from './styles' const Main = ({ title = 'React Avançado', description = 'TypeScript, ReactJS, NextJS e Styled Components' }) => ( <S.Wrapper> <S.Logo src="/img/logo.svg" alt="Imagem de um átomo e React Avançado escrito ao lado." /> <S.Title>{title}</S.Title> <S.Descripti...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import { renderHook } from '@testing-library/react-hooks'; import { useEventSource } from './use-event-source'; import WS from "jest-websocket-mock"; import { EventSourceOptions } from './types'; import { DEFAULT_EVENT_SOURCE_OPTIONS } from './constants'; let server: WS; const URL = 'ws://localhost:1234'; const noop =...
import { handleUpdateError, updateComplete, updateProgress, handleShowUpdateAvailableBadge, handleCloseUpdateAvailable, handleClosePostUpdate, handleCloseUpdateApp, showErrorNotification, } from './service'; import { ipcRendererFunc, isElectron } from '../utils/isElectron'; import { UPDATE_MODAL_CLOSE_T...
import * as React from "react"; import { RouteComponentProps, Router } from "@reach/router"; import { makeStyles } from "@material-ui/styles"; import { AppBar, Typography } from "@material-ui/core"; import OrganizationSideMenu from "./OrganizationSideMenu"; import OrganizationCoveragePage from "./Coverage/OrganizationC...
import { Observable } from 'rxjs'; import { CheckoutPaymentAdapter } from './checkout-payment.adapter'; import { CardType, PaymentDetails } from '../../../model/cart.model'; import * as ɵngcc0 from '@angular/core'; export declare class CheckoutPaymentConnector { protected adapter: CheckoutPaymentAdapter; constr...
/// <reference path="thenable.d.ts" /> /// <reference types="node" /> import { TextDocument, TextDocumentChangeEvent, TextDocumentWillSaveEvent, Location, Command, TextEdit, WorkspaceEdit, CompletionItem, CompletionList, Hover, SignatureHelp, Definition, DocumentHighlight, SymbolInformation, DocumentSymbol, WorkspaceSy...
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import DeliveryEntity from './delivery.entity'; import { Repository } from 'typeorm'; import { DeliveryCreateBody } from './delivery.dto'; @Injectable() export default class DeliveryService { constructor(@InjectRepositor...
import { IndoorMap } from "./base/IndoorMap"; import './assets/css/indoor3D.css'; // import { IndoorMap } from "./base/IndoorMap"; var indoorMap = new IndoorMap({ dataUrl: 'assets/data/mall.1.json', // dataUrl: 'assets/data/testMapData.json', selectable: true, mapDiv: "" }); indoorMap.setSelectListen(function (ob...
/* TSBindingsGenerator Generated code -- this code is regenerated on each build */ namespace SkiaSharp { export class sk_3dview_get_matrix_0_Params { /* Pack=4 */ cview : number; cmatrix : SkiaSharp.SKMatrix; public static unmarshal(pData:number, memoryContext: any = null) : sk_3dview_get_matrix_0_Params { ...
declare namespace rippleRegex { interface Options { /** Only match an exact string. By default, it matches any XRP addresses in a string. Useful with `RegExp#test()` to check if a string is an XRP address. @default false */ readonly exact?: boolean; } } /** Returns a regex for matching XRP addresses. @exam...
import styled from '@emotion/styled'; export const TagsContainer = styled.div` margin-top: 30px; display: flex; flex-wrap: wrap; `;
<?xml version="1.0" ?><!DOCTYPE TS><TS language="be_BY" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About SbucksToken</source> <translation type="unfinished"/> </message> <message> <location...
import { Component } from '@angular/core'; @Component({ selector: 'app-tabs', templateUrl: 'tabs.page.html', styleUrls: ['tabs.page.scss'] }) export class TabsPage { constructor() {} }
/** * Custom component to create line charts using pure d3.js * Date: 23 May 20 * @Features: * * Custom dropdown to select cell type * * Line chart created with voltage on Y axis and time on X axis * * Plotting of co-ordinates on the basis of Date and either of cell value (eg: c1/c2/.../c72) * * Transition e...
export const en = { 'hivemanager': { /********** Prompts **********/ "toast.provide-name": "Please provide your provider a name", "toast.provide-name-update": "Provider name updated", "toast.provide-name2": "Please add a name to your provider", "toast.copied": "Copied to clipboard!", "alert.d...
import { SxStyleProp } from '@vtex/store-ui' const baseButton: SxStyleProp = { width: '100%', minHeight: '40px', my: '4px', textTransform: 'uppercase', backgroundColor: '#eef3f7', color: 'primary', borderColor: '#e9e9e9', borderWidth: '1px', borderStyle: 'solid', fontSize: '16px', fontWeight: 500...
export enum Inputs { BasePath = 'BASEPATH', SubmodulePath = 'SUBMODULEPATH', IdentifierFile = 'IDENTIFIERFILE' } export enum Env { workspace = 'GITHUB_WORKSPACE' }
import { mount } from '@vue/test-utils'; import UIPill from './UIPill.vue'; describe('UIPill', () => { it('should display correctly', () => { const wrapper = mount(UIPill, { slots: { default: 'my-string' } }); expect(wrapper.element).toMatchSnapshot(...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /** * @summary Purges all deleted secrets from an Azure Key Vault. */ import { SecretClient } from "@azure/keyvault-secrets"; import { DefaultAzureCredential } from "@azure/identity"; // Load the .env file if it exists import * as dotenv fr...
function getStructures<TStructure extends AnyStructure>( type: StructureConstant, roomName?: string ): TStructure[] { const myStructures: AnyStructure[] = [] const rooms = roomName ? [Game.rooms[roomName]] : Object.keys(Game.rooms).map(room => Game.rooms[room]) for (const room of rooms) { myStructures.pu...
import { SfPivotView } from '../pivotview/sf-pivotview-fn'; import { SfPivotFieldList } from '../pivotfieldlist/sf-pivotfieldlist-fn'; import * as cls from '../common/constants'; import { closest, Browser, removeClass, EventHandler, isNullOrUndefined, Draggable, addClass, DragEventArgs, createElement, BlazorDra...
import { Card } from '../../../interfaces' import Set from '../Team Up' const card: Card = { name: { en: "Rapidash", fr: "Galopa", es: "Rapidash", it: "Rapidash", pt: "Rapidash", de: "Gallopa" }, illustrator: "Shigenori Negishi", rarity: "Uncommon", category: "Pokemon", set: Set, dexId: [ 78, ],...
import * as AWS from "aws-sdk" const splitEvery = (n, list) => { const result = [] let idx = 0 while (idx < list.length) { result.push(list.slice(idx, (idx += n))) } return result } const range = (from, to) => { const result = [] let n = from while (n < to) { result.pus...
import { FieldConfigEditorRegistry, Registry, FieldPropertyEditorItem, ThresholdsConfig } from '@grafana/data'; import { StringValueEditor, StringOverrideEditor, stringOverrideProcessor, StringFieldConfigSettings } from './string'; import { NumberValueEditor, NumberOverrideEditor, numberOverrideProcessor, NumberFieldCo...
import { RoleHauler } from "roleDefinitions/role.hauler"; export class RoleDedicatedHauler extends RoleHauler { public runDedicated(creep: Creep, dedication: string) { if (creep.memory.working && creep.store.getUsedCapacity() === 0) { creep.memory.working = false; creep.say('🏗️ p...
/* eslint-disable @typescript-eslint/unbound-method */ import { AWSError, Request } from 'aws-sdk'; import { DocumentClient } from 'aws-sdk/clients/dynamodb'; import { Table } from '../src/Table'; import { Index } from '../src/TableIndex'; import { validateTable } from '../src/TableValidate'; import { delay } from './...
import Inject from './models/Format/Inject'; import Timestamp from './models/Format/Timestamp'; import Console from './models/Transport/Console'; import WebSocket from './models/Transport/WebSocket'; export { Inject, Timestamp, Console, WebSocket }; export * as logfrom from 'logform';
/* FileName: startup.ts Written By: Nikita Nikolaevich Petko File Type: Module Description: A mock of ASP.NET and Servers.FX All commits will be made on behalf of mfd-co to https://github.com/mfdlabs/robloxlabs.com *** Copyright 2006-2021 ROBLOX Licensed under the Apache License, Version 2.0 (the "License")...
import { Asset } from "contentful" import * as React from "react" import Button, { BTN, SIZE } from "src/shared/Button.3" import { Entry } from "contentful" export type Props = { words: string href: string kind: BTN.NAV | BTN.DARKNAV | BTN.PRIMARY assetLink?: Asset size?: SIZE align?: "center"...
import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * <p> Result structure for get branch request. </p> */ export interface GetBranchInput { /** * <p> Unique Id for an Amplify App. </p> */ appId: string; /** * <p> Name for the...
import { ICompilerDescriptor, ICompilerResult } from './definition'; export declare function compile(compilerDesc: ICompilerDescriptor, sourceDir: string, outputFile: string): Promise<ICompilerResult>; //# sourceMappingURL=compile.d.ts.map
import Codenames from "./Layout/Codenames"; export default Codenames;
import ArcProgress from '../src/arc-progress'; import { dateFormat } from './utils'; import * as image from '../static/fill.png'; import '../static/style.css'; // use customText and observer method const customText = [ { text: '$', size: '12px', color: '#fff', x: 156, y:98 }, { text: 'remaining amount', size: '14p...
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm"; @Entity({name: 'users'}) export class UserEntity { @PrimaryGeneratedColumn() id:number; @Column({type: 'varchar', length: 50, nullable: false, unique: true}) username:string; @Column({type: 'varchar', length: 50, nullable: false...
import { isMainThread, parentPort } from 'worker_threads' import colors from 'chalk' export class PrettyError extends Error { constructor(message: string) { super(message) this.name = this.constructor.name if (typeof Error.captureStackTrace === 'function') { Error.captureStackTrace(this, this.const...
import { LevelServer } from '../../../../levels/types'; import base from './base'; import trophies from '../../../../trophies/server'; import combat8 from '../combat8/server'; const combat7: LevelServer = { ...base, trophies: [ trophies.curse, trophies.darkBinding, trophies.dominus, trophies.ignite...
import { css, FC, jsx } from 'alumina'; import { languageKey } from '~/ui/base'; import { ClosableOverlay } from '~/ui/components'; import { boardResetInstructionPanelAssets } from '~/ui/fabrics/StandardFirmwareFlashPart/BoardResetInstructionPanel/assets'; type Props = { isOpen: boolean; close(): void; }; const t...
export interface SeoSocialShareData { title?: string; keywords?: string; description?: string; image?: string; imageAuxData?: ImageAuxData; url?: string; type?: string; author?: string; section?: string; published?: string; modified?: string; } export interface ImageAuxData { width?: number; ...
// THIS FILE IS AUTO GENERATED import { IconTree, IconType } from '../lib' export declare const BsFillCalendarFill: IconType;
import react from '@vitejs/plugin-react'; import { builtinModules } from 'module'; import path from 'path'; import { defineConfig } from 'vite'; import commonjsExternals from 'vite-plugin-commonjs-externals'; import pkg from './package.json'; // The list of packages we want to keep as commonJS require(). // Must be r...
const formatTimer = (timeInSeconds: number): string => { let minute: number | string = Math.floor(timeInSeconds / 60); let second: number | string = timeInSeconds - 60 * minute; if (minute < 10) minute = `0${minute}`; if (second < 10) second = `0${second}`; return `${minute}:${second}`; }; export default ...
import { DocUrlLatest, DocLink } from 'component/doclink'; import { volumeAutocomplete } from 'component/autocompletes'; import { thousandSeparate } from 'component/numberformatter'; import IntegrityVerificationJobsView, { volumeTechnologyBadge, } from 'pages/views/IntegrityVerificationJobsView'; import SmartView from...
/** * Tags a function as a validator. */ export const Validator = Symbol("validator") as symbol; /** * Tags additional metadata to a function validator */ export const Metadata = Symbol("metadata") as symbol; /** * Tags a validator function as a Type validator. * @example Type(String) */ export const TypeValid...
export * from './build/provider/typedef';
import { HttpSubscriber, RedisSubscriber, Subscriber } from './subscribers'; import { Channel } from './channels'; import { PrivateChannel } from './channels/private-channel'; import { Database } from './database'; import { Server } from './server'; import { HttpApi } from './api'; import { Log } from './log'; import *...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FormsModule, NgForm, ReactiveFormsModule } from '@angular/forms'; import { SimpleChange } from '@angular/core'; import { of } from 'rxjs'; import { configureTestSuite } from './../../../../util-test/util-expect.spec'; import { PoDynamicFormF...
import { DataTableRow } from './data-table-row.model'; /** * Dynamic row span extractor callback * @param row Target data row * @return Row span for current row */ export type DataTableDynamicRowSpanExtractorCallback<T> = (row: DataTableRow<T>) => number;
// 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
import { Component, OnInit, ViewChild } from '@angular/core'; import { ModalDirective, PopoverDirective } from 'ng2-bootstrap/ng2-bootstrap'; import { NotificationService } from '../shared'; import { TodoService } from './todo.service'; import { Todo } from './todo.model'; @Component({ selector: 'dml-todo', templ...
export * from "./ConfigService";
import { FirmwareHardware, TaggedFbosConfig } from "farmbot"; import { Feature, ShouldDisplay } from "../../devices/interfaces"; export const isFwHardwareValue = (x?: unknown): x is FirmwareHardware => { const values: FirmwareHardware[] = [ "arduino", "farmduino", "farmduino_k14", "farmduino_k15", "farmduino...
import { ArtworkTypeIDs } from '@lib/MB/CoverArt'; import { SevenDigitalProvider } from '@src/mb_enhanced_cover_art_uploads/providers/7digital'; import { itBehavesLike } from '@test-utils/shared_behaviour'; import { createCoverArt, createFetchedImageFromCoverArt } from '../test-utils/dummy-data'; import { findImagesSp...
export class Random { private static readonly MODULUS_BITS = 48 private static readonly MODULUS_MASK = BigInt('281474976710655') private static readonly MULTIPLIER = BigInt('25214903917') private static readonly INCREMENT = BigInt('11') private static readonly FLOAT_MULTIPLIER = 1 / Math.pow(2, 24) private static...
import { useState } from 'react'; import type { GroupBase, MultiValue, } from 'react-select'; import sleep from 'sleep-promise'; import { AsyncPaginate } from '../src'; import type { LoadOptions, ShouldLoadMore, } from '../src'; import type { StoryProps, } from './types'; type OptionType = { value: numbe...
import Cognito from './cognito.service'; import { Amplify, API } from 'aws-amplify'; export default class WaterguruService { public cognitoSvc: Cognito; constructor() { this.cognitoSvc = new Cognito(); Amplify.configure({ API: { endpoints: [ { name: 'WGLambda', ...
import Text from "../Text" import { Container } from "./styles" const Copyright: React.FC = () => { return ( <Container> <Text size="text.sm" colorKey="gray.200"> © 2021 · Honeypots · All rights reserved </Text> </Container> ) } export default Copyright
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore: React gets flagged with TS6133, temporary hack import { default as React, Component, ChangeEvent } from 'react'; import { Optional } from '@composita/ts-utility-types'; import { UnControlled as CodeMirror } from 'react-codemirror2'; import 'c...
import { R5_BackboneElement } from './R5_BackboneElement' import { R5_DomainResource } from './R5_DomainResource' export class R5_EffectEvidenceSynthesis_SampleSize extends R5_BackboneElement { static def : string = 'EffectEvidenceSynthesis_SampleSize'; description : string ; numberOfStudies : string ; ...
// (C) Copyright 2015 Interactive Group Pvt Ltd. // // 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 l...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="gl"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About PandaBank</source> <translation type="unfinished">...
/** * An error thrown when duetime elapses. * * @see {@link timeout} * * @class TimeoutError */ export declare class TimeoutError extends Error { constructor(); }
import React, { useEffect, useState } from 'react'; import { callDetailPage, callReadme } from '../../utils/calls'; import { buildScopePackage } from '../../utils/package'; import Loading from '../../components/Loading/Loading'; import NotFound from '../../components/NotFound'; import { Layout } from './Layout'; impo...
import { Injectable, OnDestroy } from '@angular/core'; import { BehaviorSubject, of, Subscription } from 'rxjs'; import { Challenge } from './challenge.model' import { DayStatus, Day } from './day.model'; import { take, tap, switchMap } from 'rxjs/operators' import { HttpClient } from '@angular/common/http'; import {...
import { ArticleStatus } from './article-status/state/ArticleStatus'; import { ArticleMetas } from './article-metas/state/ArticleMetas'; import { ArticleState } from './article/state/ArticleState'; import { Article } from '../domain/article/Article'; export interface AppState { readonly articleStatus: ArticleStatus;...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /* eslint-disable @typescript-eslint/no-explicit-any */ import { should, use } from "chai"; import { stubInterface } from "ts-sinon"; import * as sinonChai from "sinon-chai"; import rewiremock from "./rewiremock"; import { stub } from "sinon"; ...
import {Component, OnInit, ViewContainerRef} from '@angular/core'; import {FormBuilder, FormGroup} from '@angular/forms'; import {DomSanitizer, SafeUrl} from '@angular/platform-browser'; import {Location} from '@angular/common'; import {Router, ActivatedRoute} from '@angular/router'; import {ToastrService} from "../.....