text
stringlengths
10
953k
import _ from 'lodash'; import React, { useState } from 'react'; import { Result } from './result'; import { Config, IConfig } from './config'; import { StopButton } from './stopButton'; import { run } from '../../perf/runner'; import { ENGINES } from '../../common/const'; import { PerfData, DataAttributeType, OneDataT...
// Copyright 2020 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 '../../../ui/components/data_grid/data_grid.js'; import '../../../ui/components/icon_button/icon_button.js'; import * as i18n from '../../../core/...
import PropTypes from 'prop-types'; import { ResponsiveTooltipWrapper } from '../internal/pickers/wrappers/ResponsiveWrapper'; import { makeDateRangePicker } from './makeDateRangePicker'; /** * @ignore - do not document. */ /* @typescript-to-proptypes-generate */ const DateRangePicker = makeDateRangePicker('MuiPicke...
import { rpcHash } from "../../../core/jsonrpc/types/base-types"; import { rpcDebugTracingConfig, RpcDebugTracingConfig, } from "../../../core/jsonrpc/types/input/debugTraceTransaction"; import { validateParams } from "../../../core/jsonrpc/types/input/validation"; import { MethodNotFoundError } from "../../../core...
import { IHelpCenter } from '@gauzy/contracts'; import { Component, OnDestroy, Input } from '@angular/core'; import { NbDialogRef } from '@nebular/theme'; import { Subject } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { TranslationBaseComponent } from '../../language-base/translation-bas...
import {Component, HostBinding, OnInit} from '@angular/core'; import {fadeInUp} from '../common/animations'; @Component({ selector: 'free-main-pagination', templateUrl: './main-pagination.component.html', styleUrls: ['./main-pagination.component.css'], animations: [fadeInUp] }) export class MainPaginationCompo...
// Copyright 2015-2021 Nkisi 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...
import React, { useState, useEffect } from 'react' import { AccessRequirement } from '../../utils/synapseTypes/AccessRequirement/AccessRequirement' import { getAllAccessRequirements } from '../../utils/SynapseClient' import { SynapseConstants, SynapseClient } from '../../utils/' import useCompare from '../../utils/hook...
import { BooksModule } from './book/books.module'; import { UserModule } from './user/user.module'; import { ClassSerializerInterceptor, Module } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; import { SequelizeModule } from '@nestjs/sequelize'; import { APP_FILTER, APP_INTERCEPTOR } from '@nestj...
module.exports = [ { id: 'test', params: { title: 'test', }, connections: [ { id: 'crm', type: 'crm', crm: 'custom', params: { url: 'http://localhost:3000/api', auth: 'key', key: '3285094054305', }, }, { ...
export const c_table_cell_responsive_PaddingLeft: { "name": "--pf-c-table-cell--responsive--PaddingLeft", "value": "0", "var": "var(--pf-c-table-cell--responsive--PaddingLeft)" }; export default c_table_cell_responsive_PaddingLeft;
import { decoder, FormFile, getCookies, MultipartFormData, MultipartReader, ServerRequest, } from "../../deps.ts"; type Reader = Deno.Reader; import { Drash } from "../../mod.ts"; export interface IOptions { headers?: Headers; memory_allocation: { multipart_form_data: number; }; } export class R...
import { Dictionary } from '../common/dictionary'; import { MetaProps } from './meta-props'; import { ExpandedStix } from './stix'; import { UnfetterStixProperties } from './unfetter-stix-properties'; /** * @description attack pattern * @see https://oasis-open.github.io/cti-documentation/stix/intro */ export declare...
export default function calcBodyPart(bodySet: BodySet): BodyPartConstant[] { const bodys = Object.keys(bodySet) .map( type => Array(bodySet[type as BodyPartConstant]).fill(type) as BodyPartConstant[] ); return ([] as BodyPartConstant[]).concat(...bodys); }
import { Exclude, Expose } from 'class-transformer'; import { ProjectResponseBase } from 'src/project/dto/response/project-response-base.dto'; import { Project } from 'src/shared/entities/project/project.entity'; import { User } from 'src/shared/entities/user/user.entity'; export class ProfileMainResponseDto extends...
/** * @license * Copyright 2020 Google LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
import { Injectable } from '@angular/core'; import { Project, ImportBodyPattern } from 'src/app/shared/models/project'; import { BaseHttpService } from '../base-http/base-http.service'; @Injectable() export class ProjectService extends BaseHttpService { getProjects(project: Project) { return this.http.get<Proj...
import { Component, h, State } from '@stencil/core'; import { AuthProvider } from '../../providers/auth'; @Component({ tag: 'app-root', styleUrl: 'app-root.scss', }) export class AppRoot { @State() loginUser: any = null; constructor() { this.loggedIn(); } async loggedIn() { th...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { NeedsReviewCardSelectionActionCreator } from 'background/actions/needs-review-card-selection-action-creator'; import { NeedsReviewScanResultActionCreator } from 'background/actions/needs-review-scan-result-action-cr...
import React from 'react'; import { BrowserRouter } from 'react-router-dom' import Layout from './Components/Layout' import { DinoProvider } from './Context' export default function App() { return ( <BrowserRouter> <DinoProvider> <Layout /> </DinoProvider> </BrowserRouter> ); }
/* * 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 React from 'react'; import { FormattedMessage } from '@kbn/i18n/react'...
// (C) 2021 GoodData Corporation import { IFilter, ObjRef } from "@gooddata/sdk-model"; import { IBrokenAlertFilterBasicInfo } from "../types/alertTypes"; import { IDashboardQuery } from "./base"; /** * Given a reference to a widget, this query will obtain the filters that should be used when executing it. * These ...
export * from './RouteModel';
import { DragDropManager } from 'dnd-core'; import { ChangeDetectionStrategy, Component, ContentChild, Inject, Input, TemplateRef } from '@angular/core'; import { DRAG_DROP_MANAGER, SkyhookDndService } from '@topdecked/angular-skyhook-core'; export interface PreviewTemplateContext { /** same as type */ $imp...
import { BigNumberish } from '@ethersproject/bignumber'; import { formatUnits } from '@ethersproject/units'; import { Multicaller } from '../../utils'; export const author = 'gamiumworld'; export const version = '0.1.0'; const tokenAbi = [ 'function balanceOf(address _owner) view returns (uint256 balance)' ]; const...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { KeyCredential } from "@azure/core-auth"; /** * Stringifies a Date object in the format expected by the Event Grid service, for use in a Shared Access Signiture. * * The service expects this time string to be in the same format as w...
import { extendTheme } from '@chakra-ui/react'; export const theme = extendTheme({ colors: { primary: { 500: '#000', 600: '#1F2029', }, secondary: { 500: '#006EFF', 600: '#0061E1', }, }, fonts: { heading: 'Roboto', body: 'Roboto', }, components: { Heading: ...
/* Copyright 2021 Šimon Brandner <simon.bra.ag@gmail.com> 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...
import { Cmp273Component } from './cmp'; describe('Cmp273Component', () => { it('should add', () => { expect(new Cmp273Component().add273(1)).toBe(274); }); });
import IHttpResourceLoadDetails from '@secret-agent/core-interfaces/IHttpResourceLoadDetails'; export interface IPuppetNetworkEvents { 'navigation-response': { browserRequestId: string; frameId: string; status: number; location?: string; url?: string; }; 'websocket-frame': { browserReques...
import { RoleModel } from "."; /** * User role management service. */ export interface RoleService { /** * Returns all available roles. */ getRoles(): Promise<RoleModel[]>; }
import { logger } from "@truffle/db/logger"; const debug = logger("db:meta:process:run"); import { promisify } from "util"; import type { Provider } from "web3/providers"; import type { Collections } from "@truffle/db/meta/collections"; import type { Db } from "@truffle/db/meta/interface"; import type { Definition...
import Link from 'next/link' import ThemeChanger from 'components/themechanger' import { useRouter } from 'next/router' import styles from './header.module.scss' const links = [ { name: 'Home', path: '/' }, { name: 'About', path: '/about' }, { name: 'Blog', path: '/blog' }, { name: 'Books', path: '/books' }, ]...
import * as t from 'io-ts' import {recordMetaT} from "../recordMetaT"; import {eventTypeT} from "./eventTypeT"; const registeredEventRequired = t.type({ app_name: t.string, app_url: t.string, }); const registeredEventOptional = t.partial({ id: t.string, data_source_id: t.string, container_id: t.st...
import { IButtonStyles } from '../Button.types'; import { HighContrastSelector, ITheme, concatStyleSets, getFocusStyle, IStyle } from '../../../Styling'; import { memoizeFunction } from '../../../Utilities'; export const getStyles = memoizeFunction( (theme: ITheme, customStyles?: IButtonStyles): IButtonStyles => { ...
import { CoveredNode, Event, EventType, Model, ParsedModel, ParsedRun, ParsedSuite, Suite } from "../api/api"; import distinct from "./ArrayUtils"; export const getDistinctIds = (events: Event[], type: EventType): string[] => ( events .filter(event => event.type === type) ...
declare module jasmine { export interface Matchers { toEqualImmutable: any; toBeImmutable: any; } }
import React from 'react'; import { SvgIcon, SvgIconProps } from '@kukui/ui'; const SvgComponent = props => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" {...props}> <path d="M428.1 242.3c-10 9.9-24.9 18.1-41.9 24.7-34.1 13.2-80.1 21-131.1 21-49.2 0-95.2-7.8-129.3-21-17-6.6-31.88-14.8-42.76-24....
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { AddRelatedGoalComponent } from './add-related-goal.component'; describe('AddRelatedGoalComponent', () => { let component: AddRelatedGoalComponent; let fixture: ComponentFixture<AddRelatedGoalComponent>; beforeEach(async(() => { ...
import { Injectable } from '@angular/core'; import { environment } from '../../environments/environment'; @Injectable({ providedIn: 'root' }) export class TokenService { private iss = { login: environment.login, signup: environment.signup, } constructor() { } handle(token: any) { this.set(toke...
interface Item { id: string, title: string, image_url: string } export default Item;
export * from '@styled-icons/remix-line/Check'
declare namespace pins { //% fixedInstance shim=pxt::getPin(PIN_LED) const LED: PwmOnlyPin; //% fixedInstance shim=pxt::getPin(PIN_RX) const RX: PwmPin; //% fixedInstance shim=pxt::getPin(PIN_TX) const TX: DigitalInOutPin; //% fixedInstance shim=pxt::getPin(PIN_MISO) const MISO: Digital...
import { AtCoderContestParser } from './contest/AtCoderContestParser'; import { BaekjoonOnlineJudgeContestParser } from './contest/BaekjoonOnlineJudgeContestParser'; import { CodeChefContestParser } from './contest/CodeChefContestParser'; import { CodeforcesContestParser } from './contest/CodeforcesContestParser'; impo...
import * as THREE from 'three' import GLTFLoader from 'three-gltf-loader' import {mapService} from './map.service'; import {worldStore} from "@/stores/world.store"; import {renderService} from "@/services/render.service"; const tailwindConfig = require('@/../tailwind.config.js'); class WorldRenderService { public...
/* * Copyright 2015-2016 Imply Data, Inc. * Copyright 2017-2018 Allegro.pl * * 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 * * Unl...
import { LanguageClient, State, StateChangeEvent } from "vscode-languageclient/node"; import { ExtensionContext, window } from "vscode"; import { Config } from "./config"; import { CREATE_ACCOUNT_SERVER, CREATE_DEFAULT_ACCOUNTS_SERVER, SWITCH_ACCOUNT_SERVER, CHANGE_EMULATOR_STATE, INIT_ACCOUNT_MANAG...
/* istanbul ignore file */ import logging from 'loglevel'; import { openDB, DBSchema, IDBPDatabase } from 'idb'; const storeName = 'logs'; let lastBlockNumber: number | undefined = undefined; interface RaidenDB extends DBSchema { [storeName]: { value: { logger: string; level: string; message: ...
import { IonicModule } from '@ionic/angular'; import { FivBottomSheetContent } from './bottom-sheet-content/bottom-sheet-content.component'; import { FivBottomSheet } from './bottom-sheet.component'; import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FivCenterModule } fro...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
// Type definitions for store.js 2.0 // Project: https://github.com/marcuswestin/store.js/ // Definitions by: Vincent Bortone <https://github.com/vbortone> // harry0000 <https://github.com/harry0000> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Cross-browser storage for all use...
import BigNumber from "bignumber.js"; import { botParams } from "../config.js"; import { InlineKeyboard } from "grammy"; import { getUserCollection } from "../src/mongo/index.js"; import { GenericCall } from "@polkadot/types"; import { logger } from "../tools/logger.js"; import { createKeyMulti, encodeAddress } from "@...
@inline export function instantiateZero<T>(): T { let t: T; if (isFloat(t)) { return 0; } else if (isInteger(t)) { return 0; } else if (isBoolean(t)) { return false; } else { return instantiate<T>(); } }
import { roundedEm, select, theme } from "@querycap-ui/core/macro"; import { Stack } from "@querycap-ui/layouts"; import { asField, FieldInput, useField } from "@querycap/form"; import React, { ReactNode } from "react"; import { Input, InputProps } from "./Input"; export interface FormControlProps { label?: ReactNod...
export declare const defaultThemeCss: string;
import React from 'react'; import './style.css'; interface TeamInfo { name: string, icon: string, mapPoints?: number, roundPoints?: number, } interface MatchProps { time?: string, teams: { 1: TeamInfo, 2: TeamInfo } } const Match: React.FC<MatchProps> = ({ teams, time }) => { return ( <d...
/* tslint:disable */ /* eslint-disable */ /** * Full Tokenizer API * The Tokenizer API used for tokenizing and detokenizing data and working with tokens using the GoLang backend * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generato...
import React, { useContext } from "react"; import { ThemeContext } from "../../../store/themeContext/themeContext"; import { Scientist, Building, Stage, Patent } from "../../icons"; import useStyles from "./infoBoxStyles"; export interface Props { researchLead: string; institution: string; ipStatus: string; cl...
import * as React from 'react'; import { LoadingInline } from '@console/internal/components/utils'; import { k8sList } from '@console/internal/module/k8s'; import { useFormikContext, FormikValues } from 'formik'; import { Alert, Expandable } from '@patternfly/react-core'; import { CheckboxField } from '@console/shared'...
import * as nodePath from 'path'; const STORAGE_PREFIX = 'settings.'; type SettingType = string | number | boolean; abstract class SettingBase<T extends SettingType> { constructor(public readonly key: string, public readonly _defaultValue: T | (() => T)) {} public abstract set(value: T): void; public abstract ge...
import { Component, Input, OnInit, TemplateRef, InjectionToken, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core'; import { FormControl } from '@angular/forms'; import { ActionRegistry } from '../model/actionregistry'; import { FormProperty } from '../model/form-property'; export abstrac...
import * as _ from 'lodash-es'; import * as React from 'react'; import { Link } from 'react-router-dom'; import { Alert, ActionGroup, Button } from '@patternfly/react-core'; import { PlusCircleIcon, MinusCircleIcon } from '@patternfly/react-icons'; import { ButtonBar, Dropdown, history, resourcePathFromModel, Resource...
import { PriorityQueue } from '../PriorityQueue'; test('Tests the priority queue', () => { const q = new PriorityQueue<string>(); expect(q).toBeInstanceOf(PriorityQueue); expect(q.isEmpty).toBe(true); expect(q.count).toBe(0); q.enqueue('hello', 5); expect(q.count).toBe(1); expect(q.isEmpty).toBe(false...
import Routes from "./routes"; import dotenv from "dotenv"; import bodyParser from "body-parser"; import express from "express"; import helmet from "helmet"; import morgan from "morgan"; import path from "path"; import rfs from "rotating-file-stream"; import swaggerUi from "swagger-ui-express"; import * as swaggerDocum...
import React from "react"; import { mobileViewPort, tabletViewPort, desktopViewPort, } from "../../utils/stories"; import Testimonial from "."; export default { title: "Testimonial", decorators: [(story: () => React.ComponentType) => <div>{story()}</div>], }; export const MobileView = () => <Testimonial />;...
import React, { SVGProps } from 'react'; import { IIblisReactUndrawProps } from '../iblis_react_undraw_props'; export const SvgDownload = (props: IIblisReactUndrawProps & SVGProps<SVGSVGElement>) => ( <svg data-name="Layer 1" viewBox="0 0 977.478 801.936" className={props.class} width="100%" heigh...
import { exec } from 'child_process'; import { existsSync } from 'fs'; import { join } from 'path'; import type IUpload from '../struct/IUpload'; export async function getJavaOutput(upload: IUpload): Promise<string> { const { filename, filename_ } = upload; const outPath = join(process.cwd(), 'out', filename_); co...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-my-mortgage-application', templateUrl: './my-mortgage-application.component.html', styleUrls: ['./my-mortgage-application.component.scss'] }) export class MyMortgageApplicationComponent implements OnInit { public PageName = "Mortgag...
import { Column } from "knex-schema-inspector/dist/types/column"; import { DirectusCollection, DirectusField, DirectusPermission, DirectusPreset, DirectusRelation } from "./directus"; export type Table = { name: string; columns: Column[]; }; export type DataState = { collections: DirectusCollection[]; fields:...
import React, {AllHTMLAttributes} from 'react'; import {mountWithApp} from 'test-utilities'; import {Key} from '../../../types'; import {Choice} from '../../Choice'; import {Checkbox} from '../Checkbox'; describe('<Checkbox />', () => { it('sets pass through properties on the input', () => { const input = mount...
/* Copyright 2021 The Matrix.org Foundation C.I.C. 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 ...
import { CSSSelector } from '../shared'; interface CreativeEffectTransform { translate?: string[] | number[]; rotate?: number[]; opacity?: number; scale?: number; shadow?: boolean; origin?: string; } export interface CreativeEffectMethods {} export interface CreativeEffectEvents {} export interface Crea...
import { CreateDatasetInput } from "../shapes/CreateDatasetInput"; import { CreateDatasetOutput } from "../shapes/CreateDatasetOutput"; import { InvalidRequestException } from "../shapes/InvalidRequestException"; import { ResourceAlreadyExistsException } from "../shapes/ResourceAlreadyExistsException"; import { Interna...
import { Duration, RemovalPolicy, Stack } from 'aws-cdk-lib'; import { Construct } from 'constructs'; import { WebStackProps } from '../../interfaces'; import { BlockPublicAccess, Bucket, BucketEncryption, } from 'aws-cdk-lib/aws-s3'; import { ARecord, HostedZone, RecordTarget } from 'aws-cdk-lib/aws-route53'; im...
import { ResourceBase } from '../resource'; import { Value, List } from '../dataTypes'; export declare class LoggingInfo { S3Bucket: Value<string>; Region: Value<string>; S3Prefix?: Value<string>; constructor(properties: LoggingInfo); } export declare class Target { Values: List<Value<string>>; ...
import React, { useState } from "react"; import { Link } from "react-router-dom"; import { useSelector } from "react-redux"; import { RootState } from "../app/rootReducer"; import { VariantType, useSnackbar } from "notistack"; import TextField from "@mui/material/TextField"; import Card from "@mui/material/Card"; impor...
import { StateNode } from './StateNode'; import { State } from './State'; import { Interpreter, Clock } from './interpreter'; export type EventType = string; export type ActionType = string; export type MetaObject = Record<string, any>; /** * The full definition of an event, with a string `type`. */ export interfac...
import Moment from 'react-moment'; import { Button, Card, CardBody, CardHeader, Form, FormGroup, Text, TextVariants, Title, Tooltip } from '@patternfly/react-core'; import React from 'react'; import { LevelDownAltIcon, LevelUpAltIcon } from '@patternfly/react-icons'; import { Link } from 'react-rout...
import React from 'react'; import { Button, Modal } from 'semantic-ui-react'; import { useGetAuthQuery } from 'domains/auth/getAuth.graphql'; import { useSignInMutation } from 'domains/auth/signIn.graphql'; import { signInUpdate } from 'domains/auth/auth.utils'; export interface IProps {} export const SignInModal: Re...
import { MapSearches } from "./models/MapSearches.ts"; import { Logger } from "./services/Logger.ts"; import { MapSearchParser } from "./services/MapSearchParser.ts"; export class CatchThemAll { constructor(private logger: Logger) {} private format(results: string[]): string { return results.map((result, i) =...
import {ThemeProvider} from '@material-ui/core/styles'; import Enzyme, {mount, render, shallow} from 'enzyme'; import React from 'react'; import renderer from 'react-test-renderer'; import theme from '~/themes/mui'; import { Button, Grid, Icon, Navigation, Root, Slider, Typography, } from '...
import fetch from 'node-fetch'; import { getIntrospectionQuery, buildClientSchema, printSchema } from 'graphql'; export async function fetchIntrospection(endpoint: string, type: 'json' | 'graphql') { // Get Query const introspectionQuery = getIntrospectionQuery(); // Fetch Schema const { data, errors...
import { Options, parse, tokenizer } from 'acorn'; import * as acornWalk from 'acorn-walk'; import * as ESTree from 'estree'; import { HTMLElement } from '@hint/utils/dist/src/dom'; import * as logger from '@hint/utils/dist/src/logging'; import { determineMediaTypeForScript } from '@hint/utils/dist/src/content-type'; ...
import { Component, HostListener} from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import template from './charua.component.html'; import style from './charua.component.scss'; import '../../../../public/scripts/jquery.fullpage.min.js'; declare var $:any; declare var moment:any; @Componen...
import * as React from 'react'; import {Accordion, Panel} from 'spaceweb/accordion'; const content = 'Praesent condimentum ante ac ipsum aliquam, ac scelerisque velit sagittis. Ut sit amet libero scelerisque, accumsan ante vitae, hendrerit tellus. Nullam metus est, vehicula a aliquet id, lobortis in mauris.'; expor...
import React, { forwardRef } from 'react'; import { ComponentWithRef } from '@globalTypes/component'; import { extractFirstLetter } from './helpers'; import { AvatarRoot, Media, Letter } from './styled'; export const Avatar: ComponentWithRef<AvatarTypeMap> = forwardRef( ({ children, bgColor, src, size, imgProps = {}...
import { Abstract, Provider, Type } from '@nestjs/common'; import { mock } from 'jest-mock-extended'; export type FunctionPropertyNames<T> = { [K in keyof T]: T[K] extends (...args: any[]) => any ? K : never; }[keyof T]; export type FunctionsOf<T> = Pick<T, FunctionPropertyNames<T>>; export type Mock<T> = T & { ...
export const CodepenCircleFilled = { name: 'codepen-circle-filled', svgString: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path d="M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c...
import { AppPage } from './app.po'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getParagraphText()).toEqual('Welcome to docker-angularelasticsearch6-logstash-e...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gu_IN" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Mycoin</source> <translation>બીટકોઈન વિષે</translation> </mes...
import { ReactNode, RefObject } from "react"; import { WindowResizeObserverProps } from "./WindowResizeObserver"; // // // // /** * The available values accepted by GenerateOutputFileParams.mimetype */ export type OutfileFileMimeType = | "application/sla" | "application/amf+xml" | "model/x3d+xml" | ...
import * as React from "react"; import { FormattedMessage } from "react-intl"; import keyUpHandler from "../../../utils/keyUpHandler"; import styles from "./styles.module.css"; import { ReactComponent as CloudServicesSVG } from "../../../assets/cloudservices.svg"; const AzureStudent = () => { return ( <div data...
import {Component} from '@angular/core'; @Component({ selector: 'test-cmp', template: '<div bind-attr="name"></div>', }) export class TestCmp { }
import {ComponentModel} from '@syncfusion/ej2-base'; /** * Interface for a class FileManager */ export interface FileManagerModel extends ComponentModel{ /** * Specifies the AJAX settings of the file manager. * getImageUrl: null; * url: null; * uploadUrl: null; * downloadUrl: null;...
import css from 'styled-jsx/css'; import { styleHelpers, buildStyleSheet } from '../utils'; const logoWrap = css.resolve` * { background-color: ${styleHelpers.color("banner")}; padding: ${styleHelpers.spacing(2)}; display: flex; justify-content: center; } `; const logo = css.resolve` * { t...
import { Component, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; @Component({ selector: 'demo-toggle', template: require('./toggle.html'), }) export class DemoToggleComponent implements OnInit { public fg: FormGroup; constructor() { this.fg = new FormGroup({}); ...
export interface User { fname?: string; lname?: string; email?: string; }
// Based on https://github.com/golang/go/blob/891682/src/bufio/bufio.go // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. type Reader = Deno.Reader; type Writer = Deno.Writer; import { charCode, copyBytes } fro...
import { Connection } from "@solana/web3.js"; import { useLayoutEffect, useMemo, useState } from "react"; import { DataWrapper } from "../store/helpers"; import { SOLANA_HOST } from "../utils/consts"; import { decodeMetadata, getMetadataAddress, Metadata, } from "../utils/metaplex"; import { getMultipleAccountsRP...
import { forwardRef, Icon, IconProps } from '@queelag/react-core' import React, { ForwardedRef } from 'react' /** * Usage: * * ```typescript * import { IconWeb } from '@queelag/react-material-icons' * * function App() { * return <IconWeb /> * } * ``` * * @category Component */ export const IconWeb = forw...