text stringlengths 10 953k |
|---|
export * from './components';
export * from './layouts';
export * from './helpers';
export { BaseSizes, DeviceSizes } from './styles/sizes';
//# sourceMappingURL=index.d.ts.map |
import { ALL_THEMES, ScreenerTestsConfig } from '@fluentui/scripts/screener';
import { chatMessageClassName } from '@fluentui/react-northstar';
const selectors = {
message: `.${chatMessageClassName}`,
};
const config: ScreenerTestsConfig = {
themes: ALL_THEMES,
steps: [
builder => builder.hover(selectors.me... |
export default interface QueueProducer {
push: <T>(actorId: string, item: T) => Promise<void>;
} |
import Model from '@nozbe/watermelondb/Model';
import Relation from '@nozbe/watermelondb/Relation';
import { ILastMessage, TMessageModel } from './IMessage';
import { IServedBy } from './IServedBy';
import { TThreadModel } from './IThread';
import { TThreadMessageModel } from './IThreadMessage';
import { TUploadModel ... |
import "../../../../components/ha-form/ha-form";
import { html, LitElement, TemplateResult } from "lit";
import { customElement, property, state } from "lit/decorators";
import {
array,
assert,
boolean,
number,
object,
optional,
string,
union,
assign,
} from "superstruct";
import { fireEvent } from ".... |
import { ActiveButton } from "./ActiveButton";
import { Label } from "./Label";
type Player = {
id: number;
playerName: string;
score: number;
isCurrent: boolean;
};
type RoundSetup = {
theme: string;
players: Player[];
numberOfPlayers: number;
gridSize: string;
};
interface SelectGridSizeProps {
r... |
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `.angul... |
import {PSL, Scalar} from '../converters/types';
import extractScalars from './extractScalars';
import {DataModel} from '../parse';
describe('extractScalars', () => {
it('extracts DateTime, and ByteArray from DateTime, Bytes', () => {
const dataModel = {
names: ['name1', 'name2'],
models: {
n... |
import styled from 'styled-components';
import { animated } from 'react-spring';
export const ContainerBackdrop = styled.div`
height: 100vh;
width: 100vw;
background: rgba(0, 0, 0, 0.6);
position: fixed;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
`;
export const C... |
'use strict';
import { IsOptional, IsString, IsEmail ,ValidateNested, IsEnum, IsNotEmpty } from 'class-validator';
import IsMatchedRegex from '../validators/password.validator';
import { Gender } from '../models/user.model';
export default class UserDto{
@IsEmail()
email: string;
@IsString()
... |
import { ipcRenderer } from 'electron'
import { actionCreator } from 'utils/redux'
import { IPopupState } from '../reducers/extensions'
import { AppThunkAction } from 'types/redux-thunk'
type StatusResults = {
rootDir: string
list: any[]
}
export const updateExtensions = actionCreator<StatusResults>('UPDATE_EXTEN... |
import { Component } from 'react';
import { IDateInputProps } from './DateInputProps';
/**
* A masked date entry field with a drop down calendar<br/>
* All properties of MaskedInput apply<br/>
* `import { DateInput } from 'grommet-controls';`<br/>
* `<DateInput value={...} />`<br/>
*/
declare class DateInput extends Co... |
import * as React from 'react';
import { KeyCodes } from '../../utils/keyCodes';
import { SidebarPopup } from './SidebarPopup.part';
import { SidebarActivatorContainer } from './SidebarActivatorContainer.part';
type PositionType = 'top' | 'left' | 'bottom' | 'right';
export interface SidebarProps {
/**
* Element... |
export { Components } from './components';
export * from './utils/presence-handler'; |
import { Stack } from "./index.ts";
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
Deno.test("top is 0", () => {
const stack = new Stack();
assertEquals(stack.top, 0);
});
Deno.test("max is 1 when specified", () => {
const stack = new Stack(1);
assertEquals(stack.maximum, 1);
});
De... |
import { VNodeChild } from 'vue';
export declare type SortOrder = 'ascend' | 'descend';
export interface RecordProps<T> {
text: any;
record: T;
index: number;
}
export declare type CustomRenderFunction<T> = (record: RecordProps<T>) => VNodeChild | JSX.Element;
export interface ColumnProps<T> {
align?: 'left' ... |
import {Injectable} from '@angular/core';
import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree} from '@angular/router';
import {Observable, of} from 'rxjs';
import {AuthenticationService} from '../../shared/services';
@Injectable({
providedIn: 'root'
})
export class NotAuthenticationGuar... |
// Type definitions for webpack-dev-server 1.12.1
// Project: https://github.com/webpack/webpack-dev-server
// Definitions by: maestroh <https://github.com/maestroh>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module "webpack-dev-server" {
import * as webpack from 'webpack';
impo... |
import { Request, Response } from 'express';
import { parseISO } from 'date-fns';
import { container } from 'tsyringe';
import CreateAppointmentService from '@modules/appointments/services/CreateAppointmentService';
export default class AppointmentsController {
public async create(req: Request, res: Response): Prom... |
import React, { Component } from 'react';
import { Modal } from '../../../ui/Modal';
import styles from './CreateChangeModal.module.scss';
import { Icon, IconID } from '../../../ui/Icon';
import { CreateChangeSection } from './CreateChangeSection';
import { Store } from 'redux';
import { IAppState } from '../../../../s... |
interface IPipelineCircleDestination {
version: string
}
interface IPipelineCircleHeader {
headerName: string
headerValue: string
}
export interface IPipelineCircle {
header?: IPipelineCircleHeader
destination: IPipelineCircleDestination
} |
/**
* @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 {
DirEntry,
Rule,
SchematicContext,
SchematicsException,
Tree,
} from '@angular-devkit/schematics';
... |
import { expect } from "chai";
import { Observable } from "rxjs";
const ___ = "fill this with correct answer";
const list: Array<string> = new Array();
const observable$ = new Observable<string>(subscriber => {
subscriber.next('apple');
subscriber.next('orange');
subscriber.next('banana');
setTimeout((... |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Subject';
import { HeroSearchService } from './hero-search.service';
import { Hero } from './hero';
@Component({
moduleId: module.id,
selector: '... |
import { cwd } from 'process';
import { resolve, join, extname } from 'path';
import { argv, Arguments } from 'yargs';
import { writeJSONSync, pathExistsSync, readJSONSync } from 'fs-extra';
import { IPathConfig } from './IPathConfig';
import { Deployer } from './deployer';
export class Theva {
constructor() {
... |
import { Component, ViewChild } from '@angular/core';
import { NgForm } from '@angular/forms';
import { ProductsService } from '../products.service';
@Component({
selector: 'app-product-form',
templateUrl: './product-form.component.html',
styleUrls: ['./product-form.component.sass'],
})
export class ProductFormC... |
import styled from 'styled-components/macro';
import { Layout } from 'antd';
interface Props {}
export const StyledBaseLayout = styled(Layout)<Props>`
width: 100vw;
`;
export const StyledHeader = styled.div``;
export const StyledMain = styled.div``;
export const StyledFooter = styled.div``; |
import { Card } from '../../../interfaces'
import Set from '../Sword & Shield'
const card: Card = {
name: {
en: "Lapras VMAX",
fr: "Lokhlass VMAX",
es: "Lapras VMAX",
it: "Lapras VMAX",
pt: "Lapras VMAX",
de: "Lapras VMAX"
},
illustrator: "5ban Graphics",
rarity: "Secret Rare",
category: "Pokemon",
... |
import { IsRefreshToken } from "src/decorators/isRefreshToken.decorator";
export class DeleteSessionByTokenDto {
/** @example "b4d72d7e7ca77bc8221f81083fc24c5ec11f3dfe446bf521" */
@IsRefreshToken()
readonly refreshToken: string;
} |
import React from 'react'
import { useThemeVars } from '@consta/uikit/useThemeVars'
import { Histogram, HistogramProps } from '@/Histogram'
import { data } from '@/Histogram/__mocks__/mock.data'
export function HistogramExampleColor() {
const vars = useThemeVars()
const options: HistogramProps = {
data,
... |
import _ from "lodash";
import peg from "pegjs";
import ConversionsUtils, { IUnits } from "./helpers/conversions";
export interface IRecipeResult {
result?: {
instruction: string;
unit: string;
amount: number;
ingredient: string;
};
unknown: {
instruction?: string;
reasons?: UNKNOWN_REASO... |
import { StyledIcon, StyledIconProps } from '..';
export declare const Tags: StyledIcon<any>;
export declare const TagsDimensions: {
height: any;
width: any;
};
export { StyledIcon, StyledIconProps }; |
import * as React from 'react';
import {
act as actComponent,
fireEvent,
render,
screen,
} from '@testing-library/react';
import { act, renderHook } from '@testing-library/react-hooks';
import { VALIDATION_MODE } from '../../constants';
import { useForm } from '../../useForm';
import isFunction from '../../uti... |
import { Node } from '../node';
export class LinkedList<T> {
private root?: Node<T> = null;
public constructor(nodeValues: T | T[]) {
if (nodeValues) {
this.root = this.nodesFromArray(nodeValues)[0];
}
}
public length(): number {
// this should probably be stored as a private variable instead;
let cou... |
namespace modules {
/**
* A synchronized pair of motors.
**/
//% fixedInstances blockGap=8
export class DualMotorsClient extends jacdac.Client {
private readonly _speed: jacdac.RegisterClient<[number, number]>
private readonly _enabled: jacdac.RegisterClient<[boolean]>
priv... |
import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* <p>Represents the input of a <code>DeleteCustomActionType</code> operation. The custom action will be marked as deleted.</p>
*/
export interface DeleteCustomActionTypeInput {
/**
* <p>Th... |
/* -----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/
import * as Y from 'yjs';
import { JSONExt, JSONObject, ... |
import * as faker from 'faker';
import { ClientGenerator } from '../helpers/client-generator';
import { ENDPOINTS } from '../constants/endpoints';
export class SuggestionsGenerator extends ClientGenerator {
async generateForSite(site: string) {
const suggestions = this.generateSuggestions();
return {
[... |
/*
* <<
* Davinci
* ==
* Copyright (C) 2016 - 2017 EDP
* ==
* 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 b... |
export class User {
systemRole: string;
userId: number;
email: string;
password: string;
firstName: string;
lastName: string;
} |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../../types";
import * as utilities from "../../utilities";
/*... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'p24',
templateUrl: './p24.component.html',
styleUrls: ['./p24.component.css'],
})
export class P24Component implements OnInit {
constructor() { }
tags: any[] = [];
salesData: any[] = [];
ngOnInit(): void {
fo... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/*
Copyright 2013-2020 the original author or authors from the JHipster project.
This file is part of the JHipster project, see https://www.jhipster.tech/
for more information.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You ma... |
// Copyright (c) 2017 Google Inc. All rights reserved.
// This code may only be used under the BSD style license found at
// http://polymer.github.io/LICENSE.txt
// Code distributed by Google as part of this project is also
// subject to an additional IP rights grant found at
// http://polymer.github.io/PATENTS.txt
im... |
export default function delay(t: number): Promise<void> {
return new Promise((resolve) => window.setTimeout(resolve, t))
} |
import { WorkflowExecutionContext } from "./workflow-execution-context";
export interface WorkflowExecutionResult {
data: any;
finalOutput: any;
context?: WorkflowExecutionContext;
} |
import Schema, { addParse, SchemaInput } from "./computed-types-wrapper";
import { zWorldId, zWorldName, zDynWidth, zDynHeight } from "./types";
export const zJoinRequest = addParse(Schema.either({
// "dynamic" worlds are ones that can be created *on demand*, without an account. They aren't saved.
type: "dynamic" ... |
import { defineSequelizeModel } from '../util/sequelize-model';
import { LOCATION_ID } from './location';
import { PROJECT_VERSION_ID } from './project';
export default defineSequelizeModel({
tableName: 'projectLocations',
fields: {
required: {
projectVersionId: { kind: 'branded-integer', brand: PROJECT_... |
import * as d3 from 'd3';
import moment from 'moment';
import { isEqual } from 'lodash-es';
import { HighlightEnum } from 'components/HighlightModesPopover/HighlightModesPopover';
import {
IActivePoint,
IAxisLineData,
IDrawHoverAttributesArgs,
INearestCircle,
ISyncHoverStateArgs,
} from 'types/utils/d3/draw... |
import { bgBlue, bgYellow, black, deleteMessage, sendMessage } from "../../deps.ts";
import { botCache } from "../../deps.ts";
import { getTime } from "../utils/helpers.ts";
import { translate } from "../utils/i18next.ts";
botCache.monitors.set("autoembed", {
name: "autoembed",
botChannelPermissions: ["SEND_MESSAG... |
import { Txyz, EEntType } from '../common';
import { GIModelData } from '../GIModelData';
/**
* Class for attributes.
*/
export declare class GIAttribsPosis {
private modeldata;
/**
* Creates an object to store the attribute data.
* @param modeldata The JSON data
*/
constructor(modeldata... |
import * as React from 'react';
import { MemoryRouter, Route } from 'react-router';
import * as fp from 'lodash/fp';
import { mount } from 'enzyme';
import { ConceptSet, ConceptSetsApi, WorkspacesApi } from 'generated/fetch';
import { registerApiClient } from 'app/services/swagger-fetch-clients';
import {
currentCo... |
// Copyright (c) 2021-2022 Peter Matta
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
import { Some } from '@fp4ts/cats';
import { Authority, Path, Uri } from '@fp4ts/http-core';
import { Port } from './port';
import { SocketAddress } fr... |
import {Component} from '@angular/core';
import {GroupsPage} from '../groups/groups.page';
import {SearchPage} from '../search/search.page';
import {ChatPage} from '../chat/chat.page';
import {ProfilePage} from '../profile/profile.page';
import {UserProvider} from "../../providers/user.provider";
import {CurrentUserSer... |
export * from './mailConfiguration.component'; |
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* 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... |
import { ApiProperty } from '@nestjs/swagger';
export class EmptyVo {}
export class UpdaterVo {
@ApiProperty({ description: '创建时间' })
createdAt: string = '';
@ApiProperty({ description: '更新时间' })
updatedAt: string = '';
} |
/**
* @license
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors ma... |
import { BlockPos, Vec3 } from "../bds/blockpos";
import { capi } from "../capi";
import { abstract } from "../common";
import { VoidPointer } from "../core";
import { makefunc } from "../makefunc";
import { mce } from "../mce";
import { AbstractClass, nativeClass, nativeField, vectorDeletingDestructor } from "../nativ... |
import TopicsBlock from './TopicsBlock';
import type { Topic, Topics } from './types';
export { TopicsBlock as default, Topic, Topics }; |
import {
NodeBalancer,
NodeBalancerConfig
} from '@linode/api-v4/lib/nodebalancers';
import { APIError } from '@linode/api-v4/lib/types';
import { path } from 'ramda';
import * as React from 'react';
import { connect } from 'react-redux';
import { RouteComponentProps, withRouter } from 'react-router-dom';
import { ... |
import { formatUnits } from '@ethersproject/units';
import { call, multicall } from '../../utils';
import { BigNumber } from '@ethersproject/bignumber';
export const author = 'drop-out-dev';
export const version = '0.1.0';
const FARM_ADDRESS = '0x15dEd15fE32EBac0b6cFb08cdAB112cca8380423';
const MCN_ADDRESS = '0xD91E9... |
/** @format */
import { ISvgIconProps, IconWrapper } from '../runtime';
export const BytedBrowserChrome = IconWrapper(
'byted-browser-chrome',
false,
(props: ISvgIconProps) => (
<svg width={props.size} height={props.size} viewBox="0 0 48 48" fill="none">
<path
d="M24 15C28.9706 15 33 19.0294 3... |
import {Component} from "@angular/core";
import {routerConfig as alertConfig} from "./demo/mobile/alert/demo-set.module";
import {routerConfig as buttonConfig} from "./demo/mobile/button/demo-set.module";
import {routerConfig as buttonBarConfig} from "./demo/mobile/button-bar/demo-set.module";
import {routerConfig as c... |
import { BondFactory } from '@bonds/sigaa-bond-factory';
import { Parser } from '@helpers/sigaa-parser';
import { HTTP } from '@session/sigaa-http';
import { Page } from '@session/sigaa-page';
import { Session } from '@session/sigaa-session';
import { Account } from './sigaa-account';
import { SigaaAccountIFSC } from '... |
export * from "./InventoryCellState"
export * from "./EquipmentInventoryState"
export * from "./BeltInventoryState"
export * from "./BackpackInventoryState"
export * from "./InventoryState"
export * from "./Inventory"
export * from "./InventoryModalScene"
export * from "./InventoryCell";
export * from "./InventoryCont... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ky" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About YutoCoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line=... |
/**
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
* th... |
/**
* @copyright 2020, Miles Johnson
* @license https://opensource.org/licenses/MIT
*/
import { aesthetic } from './aesthetic';
import { createStyled } from './styles';
export * from './direction';
export * from './styles';
export * from './theme';
export * from './types';
export * from '@aesthetic/core';
ex... |
/**
* @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 { TestBed, inject } from '@angular/core/testing';
import { Service836Service } from './service-836.service';... |
import { useState } from 'react';
import { useDropzone } from 'react-dropzone';
import { useSelector } from 'react-redux';
import { useParams } from 'react-router-dom';
import { useForm } from 'react-hook-form';
import { yupResolver } from '@hookform/resolvers/yup';
import * as yup from 'yup';
import { Title } from '... |
import { RawTypesConfig, AvoidOptionalsConfig } from '@graphql-codegen/visitor-plugin-common';
/**
* @description This plugin generates the base TypeScript types, based on your GraphQL schema.
*
* The types generated by this plugin are simple, and refers to the exact structure of your schema, and it's used as the b... |
import React from 'react'
import Utils from '../../../utils/utils'
import { ControlStatus, ControlStyles, getControlStyles } from '../common/control-status'
import { FramePoint } from 'utopia-api'
import { LayoutPinnedProp } from '../../../core/layout/layout-helpers-new'
import { FramePinsInfo } from '../common/layout-... |
import type { Locale } from 'date-fns'
import enUS from 'date-fns/locale/en-US'
interface NDateLocale {
name: string
locale: Locale
}
const dateEnUs: NDateLocale = {
name: 'en-US',
locale: enUS
}
export { NDateLocale }
export default dateEnUs |
import * as CodeMirror from "codemirror";
import * as React from "react";
import * as ReactDOM from "react-dom";
import * as Codemirror from "react-codemirror";
class CodemirrorTest extends React.Component<React.Props<{}>> {
private editorRef: ReactCodeMirror.ReactCodeMirror;
componentDidMount() {
thi... |
import { resolveNodeModuleToDenoModuleFactory } from "../../lib/resolveNodeModuleToDenoModule";
import * as path from "path";
import { assert } from "tsafe";
import { getInstalledVersionPackageJsonFactory } from "../../lib/getInstalledVersionPackageJson";
import * as fs from "fs";
import { getThirdPartyDenoModuleInfos ... |
export * from './testing/browser_util';
export * from './testing/matchers';
export * from './testing/browser'; |
/**
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CodeableConcept } from './codeableConcept';
import { Extension } from './extension';
import { Id... |
import { InfoObject } from '@loopback/openapi-v3-types';
import { get } from 'lodash';
function generateInfoObject(service): InfoObject {
return {
contact: get(service, 'info.contact', {}),
...service.description && { description: service.description },
license: get(service, 'info.license', {}),
term... |
import Knex from 'knex';
export async function up(knex: Knex) {
return knex.schema.createTable('points', table => {
table.increments('id').primary();
table.string('image').notNullable();
table.string('name').notNullable();
table.string('email').notNullable();
table.string('whatsapp').notNullable(... |
<TS language="sk" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Kliknutím pravým tlačidlom upraviť adresu alebo popis</translation>
</message>
<message>
<source>Create a new address</source>
... |
let mockDestroyAllPromise: Promise<void | never> =
Promise.reject("error").catch(() => { });
jest.mock("../../api/crud", () => ({
destroyAll: jest.fn(() => mockDestroyAllPromise)
}));
import * as React from "react";
import { mount, shallow } from "enzyme";
import {
RawDesignerPhotos as DesignerPhotos,
Designer... |
import { Pipe, PipeTransform } from '@angular/core';
/*
* Raise the value exponentially
* Takes an exponent argument that defaults to 1.
* Usage:
* value | exponentialStrength:exponent
* Example:
* {{ 2 | exponentialStrength:10 }}
* formats to: 1024
*/
@Pipe({name: 'exponentialStrength'})
export class Expo... |
import { HttpClient, HttpResponse } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class ApiControllerService {
constructor(private _http: HttpClient) {}
getPokemonList(max_list: number): Observable<HttpResp... |
/*!
* devextreme-angular
* Version: 16.2.5
* Build date: Tue Feb 28 2017
*
* Copyright (c) 2012 - 2017 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://git... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { AppMainMenuComponent } from './app-main-menu.component';
import { RouterTestingModule } from '@angular/router/testing';
describe('AppMainMenuComponent', () => {
let component: AppMainMenuComponent;
let fixture: ComponentFixture<App... |
import { MessageType } from './message-type.enum';
export class Message {
content: string;
messageType: MessageType;
} |
import {Component, OnInit} from '@angular/core';
import {LessonsService} from "../services/lessons.service";
import {Observable, of} from 'rxjs';
import {Lesson} from "../model/lesson";
import {SwPush} from "@angular/service-worker";
import {NewsletterService} from "../services/newsletter.service";
import {catchError} ... |
import { Injectable } from "@nestjs/common";
@Injectable()
export class AppService {
getHello(): string {
return "Hello World!";
}
getBye(): string {
return "Bye Nest!";
}
} |
import React, { ReactElement } from "react";
import Sider from './sider'
import {scopedClassMaker} from '../helpers/classes'
import './layout.scss'
import Content from "./content";
import Footer from "./footer";
import Header from "./header";
const sc = scopedClassMaker('assam-layout')
interface Props extends Rea... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Aerium</source>
<translation>O Aeriumu</translation>
</message>
<message>
<location lin... |
import { IStage } from './IStage';
import { ITrigger } from './ITrigger';
import { IExpectedArtifact } from 'core/domain/IExpectedArtifact';
export interface IPipeline {
application: string;
description?: string;
id: string;
index: number;
isNew?: boolean;
keepWaitingPipelines: boolean;
lastModifiedBy?: ... |
import { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient";
import { UpdateNetworkProfileRequest, UpdateNetworkProfileResult } from "../models/models_0";
import {
deserializeAws_json1_1UpdateNetworkProfileCommand,
serializeAws_json1_1UpdateNetworkProfileCommand,
} fr... |
import React, { useEffect, useState } from 'react';
import { Icon, Outline, Solid } from 'utils/icon.utils';
const LIMIT = 5;
interface Props {
currentPage: number;
setCurrentPage: (currentPage: number) => void;
minPage?: number;
maxPage: number;
}
export const PaginationItem = (props: {
children: React.Re... |
import { MockedProvider } from '@apollo/client/testing';
import { render } from '@testing-library/react';
import React from 'react';
import { mocks } from '../../../../../Mocks';
import TestPageContainer from '../../../../../utils/test-utils/TestPageContainer';
import { Preview } from '../Preview';
describe('Preview',... |
import * as React from 'react'
import { Svg, Path, SvgProps } from '../wrappers'
const Volume: React.FC<SvgProps> = ({ fill, ...props }) => (
<Svg {...props}>
<Path
fill={fill}
d="M12.5819842,0.428885894 C13.6565799,-0.480910251 14.9987951,0.139532597 14.9987951,1.54736988 L14.9987951,16.4517776 C14.... |
import { Component, OnInit } from '@angular/core';
import { FormControl, Validators, FormGroup, FormBuilder} from '@angular/forms';
import { SigninComponent } from 'src/app/Component/signin/signin.component';
import { MatDialog } from '@angular/material';
import { RegistationRequest } from 'src/app/models/customer/regi... |
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `.angular-c... |
import React, { FC } from 'react';
import { ValueState } from '../../enums/ValueState';
import { CalendarType } from '@fiori-for-react/core/enums/CalendarType';
import { Event } from '@fiori-for-react/utils';
import UI5DatePicker from '@ui5/webcomponents/dist/DatePicker';
import { withWebComponent, WithWebComponentProp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.