text stringlengths 10 953k |
|---|
import { memo } from "react";
import "./Loading.css";
export const Loading = memo(() => (
<div className="Loading-container">
<div className="loader">
<div>Loading...</div>
</div>
</div>
)); |
import { Component, OnInit } from "@angular/core";
import { FormGroup, FormBuilder, Validators } from "@angular/forms";
import { LoggerService } from "../service/logger.service";
import { PlayListDetail } from "../JsonResultModel/play-list-detail";
import { DefaultHttpService } from "../service/default-http-service";
i... |
import { buildCapabilities } from '../util/capabilities';
import type {
CapturedArguments as Arguments,
HelperCapabilities,
HelperManagerWithValue,
} from '@glimmer/interfaces';
type FnArgs<Args extends Arguments = Arguments> =
| [...Args['positional'], Args['named']]
| [...Args['positional']];
type AnyFun... |
/*
* 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 { HttpError } from 'http-errors';
import { Callback } from '@verdaccio/types';
export declare function lockAndRead(name: string, cb: Callback): void;
/**
* parseHTPasswd - convert htpasswd lines to object.
* @param {string} input
* @returns {object}
*/
export declare function parseHTPasswd(input: string): Re... |
import { expect, Page } from "@playwright/test";
export class DashboardPom {
constructor(private page: Page) {}
async navigateTo() {
await this.page.goto(`${process.env.WEBSITE_PATH}/dashboard`);
}
async verifyWelcomeModalShown(value: boolean) {
await this.page.$eval(
`[test="welcome-modal"]`,
... |
/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2018, Nucleic Development Team & H. Rutjes.
|
| Distributed under the terms of the Modified BSD License.
|
| The full license is in the file COPYING.txt, distributed with this software.
|--------------------------------... |
import * as AssetActions from './asset.actions';
import * as AssetState from './asset.state';
import { StateSpecHelper } from '../spec-helpers/state.spec-helper';
export function main() {
const stateSpecHelper: StateSpecHelper = new StateSpecHelper();
describe('Asset Reducer', () => {
stateSpecHelper.setRedu... |
import { createMutableSchema, Schema } from '@empathyco/x-adapter-next';
import {
EditableNumberRangeFacet,
FacetModelName,
HierarchicalFacet,
HierarchicalFilter,
NumberRangeFacet,
SimpleFacet
} from '@empathyco/x-types';
import { PlatformFacet, PlatformHierarchicalFilter } from '../types/models.types';
imp... |
import { Address } from 'web3x-es/address'
import { fromWei } from 'web3x-es/utils'
import { MANA } from '../../contracts/MANA'
import { Wallet } from './types'
import { createEth } from '../../lib/eth'
const MANA_ADDRESS_BY_NETWORK = {
// Mainnet
1: '0x0f5d2fb29fb7d3cfee444a200298f468908cc942',
// Ropsten
3: ... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { Injectable, NotFoundException } from '@nestjs/common';
import { Customer } from '../../users/entities/customer.entity';
import { CreateCustomerDto, UpdateCustomerDto } from '../dtos/customers.dto';
@Injectable()
export class CustomersService {
private counterId = 1;
private customers: Customer[] = [
{... |
import { FC } from 'react';
import { TaskForm, Tasks } from '../../components';
import { useTasks } from '../../hooks';
import {
Controls, CreateTaskButton, TaskFormWrapper, Wrap,
} from './TaskManager.styled';
export const TaskManager: FC = () => {
const {
taskList, isTaskFormOpen, setTaskFormOpen, ... |
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { ReactiveFormsModule } from '@angular/forms';
import {
DaffQuantityFieldModule,
DaffFormFieldModule,
} from '@daffodil/design';
import { BasicQuantityFieldComponent } from './basic-quantity-field.component';
@NgModu... |
import * as React from 'react';
import { Button } from '@uifabric/experiments';
import { Stack } from 'office-ui-fabric-react';
import { stackProps } from './SlotExampleUtils';
class AsComponent extends React.Component<React.HTMLAttributes<HTMLElement>, {}> {
public render(): JSX.Element {
return <div {...this.p... |
import DataLoader from 'dataloader';
import { graphql, GraphQLList, GraphQLResolveInfo } from 'graphql';
import { delegateToSchema } from '@graphql-tools/delegate';
import { makeExecutableSchema } from '@graphql-tools/schema';
import { stitchSchemas } from '../src/stitchSchemas';
describe('dataloader', () => {
tes... |
import React from 'react';
import { DimItem } from 'app/inventory/item-types';
import ItemPopupTrigger from 'app/inventory/ItemPopupTrigger';
import ConnectedInventoryItem from 'app/inventory/ConnectedInventoryItem';
import ItemExpiration from 'app/item-popup/ItemExpiration';
/**
* A Pursuit is an inventory item that... |
import 'mocha';
import { assert } from 'chai';
import dateTime from './dateTime';
/* eslint-disable @typescript-eslint/no-explicit-any */
describe('dateTime', () => {
it('dateTime()', () => {
assert.equal(dateTime('2020-03-01 12:30:15'), '2020-03-01 12:30:15');
assert.throws(() => dateTime('2020-3-1 12:30:... |
import { connect } from "react-redux";
import { IState } from "@src/app/store/reducer";
import { ISyntax3ContainerProps, ISyntax3StateProps } from "./Syntax3.types";
import { Syntax3 } from "./Syntax3";
export const Syntax3Container = connect(
(state: IState, ownProps: ISyntax3ContainerProps): ISyntax3StateProps => ... |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import React, { FC } from 'react';
import { StyledModalBody } from './Styled';
export const ModalBody:FC<{}> = ({ children }) => {
return (
<StyledModalBody data-testid='modalBody'>
{children}
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { ViewMoreActivityPage } from './../view-more-activity/view-more-activity';
import {
Component,
NgZone,
OnInit
} from '@angular/core';
import {
NavController,
PopoverController,
Events
} from 'ionic-angular';
import { AppVersion } from '@ionic-native/app-version';
import { IonicPage } from 'ionic-ang... |
import { Background_BenefitselectionRequestBuilder } from './Background_BenefitselectionRequestBuilder';
import { Moment } from 'moment';
import { BigNumber } from 'bignumber.js';
import { AllFields, BigNumberField, CustomField, DateField, Entity, EntityBuilderType, OneToOneLink, Selectable, StringField } from '@sap-cl... |
import { toArray } from './toarray';
import { ReduceOptions } from './reduceoptions';
/**
* Applies an accumulator function over an iterable sequence from the right, returning the result of the aggregation as a
* single element in the result sequence. The seed value, if specified, is used as the initial accumulator ... |
/**
* Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods.
* Restores wrapping after the callback completes.
*
* @param callback The function to run against the original `console` messages
* @returns The results of the callback
*/
export declare function ... |
/**
* @description 兼容火狐浏览器内核有video标签时光标定位不对问题
*
*/
import Editor from '../../../editor/index'
import { UA } from '../../../utils/util'
export default function bindEventKeyboardEvent(editor: Editor) {
if (!UA.isFirefox) return
const { txt, selection } = editor
const { keydownEvents } = txt.eventHooks
... |
export const existsFile = async (filePath: string) => {
try {
await Deno.stat(filePath);
return true;
} catch (_e) {
return false;
}
};
/**
* convert string to json
* if passed invalid string, return empty array
*/
const parseJson = (jsonString: string) => {
try {
return JSON.parse(jsonStrin... |
// smithy-typescript generated code
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import { Command as $Command } from "@aws-sdk/smithy-client";
import {
FinalizeHandlerArguments,
Handler,
HandlerEx... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="en">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Currycoin</source>
<translation>About Currycoin</t... |
export * from '@taiga-ui/cdk/utils/browser';
export * from '@taiga-ui/cdk/utils/dom';
export * from '@taiga-ui/cdk/utils/focus';
export * from '@taiga-ui/cdk/utils/format';
export * from '@taiga-ui/cdk/utils/math';
export * from '@taiga-ui/cdk/utils/miscellaneous'; |
import { UserAddressEntity } from '../entities/user-address.entity';
export class AddressAddedToUserEvent {
constructor(public readonly userAddress: UserAddressEntity) {}
} |
import React from 'react';
import Link from 'next/link';
import clsx from 'clsx';
import { Project } from 'contentlayer/generated';
import TechIcons from '../TechIcons';
import { TechListType } from '../TechIcons';
import { H4, Paragraph } from '../Typography';
export default function ProjectCard({ project }: { pro... |
import { NativeScriptConfig } from '@nativescript/core';
export default {
id: 'org.nativescript.unittest',
appPath: 'app',
appResourcesPath: 'App_Resources',
android: {
v8Flags: '--expose_gc',
markingMode: 'none'
}
} as NativeScriptConfig; |
import {RequestOption} from '@microsoft/kiota-abstractions';
/** Configuration for the request such as headers, query parameters, and middleware options. */
export class TeamsTabItemRequestBuilderDeleteRequestConfiguration {
/** Request headers */
public headers?: Record<string, string> | undefined;
/** Re... |
import { Injectable } from '@angular/core';
import { Kart } from '../../models/Kart';
import { KartPath } from '../../models/KartPath';
import { PointsService } from '../points/Points.service';
import { Decimals } from 'src/app/util/Decimals';
/**
* Ranges:
* [0.75, 5.75] speed, acceleration, weight, handling, grid ... |
// declare global 在 TS 3.4 以后就被废弃掉了(因为引入了 globalThis 这个 ES2020 新的 API)。
declare interface Window {
[key: string]: any
}
window.ethereum = window.ethereum || {} |
export interface MiioAdapterCommandPara {
type: ioBroker.CommonType;
vtype?: ioBroker.CommonType;
max?: number;
min?: number;
unit?: string;
enum?: (number | string)[];
obj?: Record<string, number | string | MiioCommand>;
default?: string | number;
role?: string;
}
export interface ... |
<?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 FirstZimbabweCoin</source>
<translation type="unfinished"/>
</message>
<message>
<lo... |
jest.mock("../../../api/crud", () => ({
edit: jest.fn(),
save: jest.fn(),
destroy: jest.fn(),
}));
let mockPath = "/app/designer/tools/1";
jest.mock("../../../history", () => ({
push: jest.fn(),
getPathArray: () => mockPath.split("/"),
}));
import * as React from "react";
import { mount, shallow } from "enz... |
// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
export declare const AiFillContainer: IconType; |
export declare class ImagingService {
} |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-tabbed-section-notes',
templateUrl: './tabbed-section-notes.component.html',
styleUrls: ['./tabbed-section-notes.component.scss']
})
export class TabbedSectionNotesComponent implements OnInit {
cssCode : string =
` .mat-tab-grou... |
export class Venta {
id: string;
objeto: string;
fecha: any;
cantidad: number;
costo: number;
} |
import { IAnnotation } from "./Annotation";
import { ICodeableConcept } from "./CodeableConcept";
import { IContactPoint } from "./ContactPoint";
import { IDevice_DeviceName } from "./Device_DeviceName";
import { IDevice_Property } from "./Device_Property";
import { IDevice_Specialization } from "./Device_Specializatio... |
import { usePrefixConfig } from '../../hooks';
import { getClassName } from '../../utils';
export interface DLinkProps {
children: React.ReactNode;
dHref: string;
dActive: boolean;
dTarget?: string;
dLevel?: number;
onClick: () => void;
}
export function DLink(props: DLinkProps) {
const { children, dHre... |
import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/mongoose';
import { Model } from 'mongoose';
import { ServiceDryerDto } from './dto/service-dryer.dto';
import { ServiceDryer, ServiceDryerDocument } from './schema/service-dryer.schema';
@Injectable()
export class ServiceDryerService {
... |
import { DefaultTheme } from 'styled-components';
export const basicTheme: DefaultTheme = {
colors: {
white: '#ffffff',
black: '#202020',
gray: '#808080',
},
sizes: {
small: 10,
large: 15,
},
}; |
import React, { FC } from 'react';
import { Icon, IconInterface } from "@redesign-system/ui-core";
export const OilLampIcon: FC<IconInterface> = function OilLampIcon({
className,
...propsRest
}) {
const classNames = `OilLampIcon ${className}`;
return (
<Icon alt="OilLamp" cl... |
/* eslint-disable @typescript-eslint/ban-ts-comment */
import { ActionReducer, MetaReducer, StoreModule } from '@ngrx/store';
import type { AnyAction } from '@reduxjs/toolkit';
import { dispatch, StoreRtkQueryModule } from 'ngrx-rtk-query';
export const DEFAULT_DELAY_MS = 150;
export async function waitMs(time = DEFA... |
/* tslint:disable */
/* eslint-disable */
/* @relayHash ffae33f66f28272915b0e24d00a0dd8d */
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type FilteredInfiniteScrollGridQueryVariables = {
id: string;
count: number;
cursor?: string | null;
medium?:... |
import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { ParticipantEntity } from './entity/participant.entity';
import { Repository } from 'typeorm';
import { ConversationEntity } from '../conversation/entity/conversation.entity';
@Injectable()
export class Participant... |
import { TestBed } from '@angular/core/testing';
import { TracingProviderService } from './tracing-provider.service';
describe('SearchService', () => {
beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => {
const service: TracingProviderService = TestBed.get(TracingProviderServ... |
/**
* Returns whether the iterable has any elements (yields anything).
* @param iterable The iterable to test.
*/
export function any<T>(iterable: Iterable<T> = []): boolean {
for (let _ of iterable) {
return true
}
return false
}
export default any |
import {
h,
computed,
inject,
ref,
Transition,
defineComponent,
provide,
PropType,
InjectionKey,
Ref
} from 'vue'
import { VBinder, VTarget, VFollower, FollowerPlacement } from 'vueuc'
import { useMemo } from 'vooks'
import { ChevronRightIcon } from '../../_internal/icons'
import { render, useDeferr... |
import { Response } from 'got';
export interface ApigwResponse {
body: string;
statusCode: number;
headers: Record<string, string>;
isBase64Encoded: boolean;
rawBody?: any;
}
export function http2event<T extends Buffer | string>(httpRes: Response<T>): ApigwResponse {
const headers = httpRes.headers;
/*... |
/* Norwegian locals for flatpickr */
import { CustomLocale } from "../types/locale";
import { FlatpickrFn } from "../types/instance";
const fp =
typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: ({
l10ns: {},
} as FlatpickrFn);
export const NorwegianNynorsk: ... |
import {
ActionHandlerEvent,
handleAction,
hasAction,
HomeAssistant,
} from "custom-card-helpers";
import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit";
import { customElement, property, state } from "lit/decorators.js";
import { styleMap } from "lit/directives/style-map.js";
impo... |
/// <reference types="react" />
declare const BuildingO: import("react").FC<import("../lib/Icon").IconProps>;
export default BuildingO; |
export const version = '__VERSION__';
export type { VelcroRuntime } from '@velcro/runtime';
export type { Chunk } from './build/chunk';
export type { ChunkOutput } from './build/chunkOutput';
export * from './graph';
export type {
Plugin,
PluginLoadContext,
PluginLoadResult,
PluginTransformContext,
PluginTran... |
import { createIcon } from './createIcon/index'
export const LocalCarWash = createIcon({
name: 'LocalCarWash',
path: 'M17 5c.83 0 1.5-.67 1.5-1.5 0-1-1.5-2.7-1.5-2.7s-1.5 1.7-1.5 2.7c0 .83.67 1.5 1.5 1.5zm-5 0c.83 0 1.5-.67 1.5-1.5 0-1-1.5-2.7-1.5-2.7s-1.5 1.7-1.5 2.7c0 .83.67 1.5 1.5 1.5zM7 5c.83 0 1.5-.67 1.5-1.... |
import { strict as assert } from "assert";
import * as path from "path";
import { DebugAdapterExecutable, DebugAdapterServer, DebugConfiguration, Uri } from "vscode";
import { DebugProtocol } from "vscode-debugprotocol";
import { dartVMPath, flutterPath, isWin, vmServiceListeningBannerPattern } from "../shared/constant... |
import crypto from 'crypto'
import path from 'path'
import buildModules, { linkBinsOfDependencies } from '@pnpm/build-modules'
import {
LAYOUT_VERSION,
LOCKFILE_VERSION,
WANTED_LOCKFILE,
} from '@pnpm/constants'
import {
stageLogger,
summaryLogger,
} from '@pnpm/core-loggers'
import PnpmError from '@pnpm/erro... |
import { AnyFunction, ArgumentTypesOf, ReturnTypeOf } from './interfaces';
import { shallowStrictEquals } from './util';
/** Callable object, A is the arguments, R is the return value */
interface Callable<A extends any[], R> extends Function {
(...args: A): R;
}
/** A short-hand for a callable function that has th... |
export function min(value: any, options: any = { value: 0 }): boolean {
if (value === undefined || value === null) {
return false;
}
const process = (v: any) => Number(v);
if (Array.isArray(value)) {
return value.every((v) => process(v) >= options.value);
}
return process(valu... |
import styled from 'styled-components';
interface StyledButtonProps {
isActive?: boolean;
size?: string;
}
export default styled.button<StyledButtonProps>`
width: ${props => props.size || 36}px;
height: ${props => props.size || 36}px;
background-color: ${props =>
props.isActive ? props.theme.colorPrimary... |
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { DatabaseModule } from './database/database.module';
import { ProductModule } from './product/product.module';
@Module({
imports: [ProductModule, DatabaseModule],
controlle... |
import { Component } from '@angular/core'
@Component({
selector: 'cui-footer',
templateUrl: './footer.component.html',
styleUrls: ['./footer.component.scss'],
})
export class FooterComponent {} |
import { Column } from './column';
import { SerializedStyles } from '@emotion/core';
import { placeColumnStyle } from './column-styles';
export class RankColumn extends Column {
constructor(code: string,
index: number) {
super(code, index, 'rank', false, true, false);
}
public get styles(): Serialized... |
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
@Component({
selector: 'app-button',
templateUrl: './button.component.html',
styleUrls: ['./button.component.scss']
})
export class ButtonComponent implements OnInit {
@Input() text: string;
@Input() color: string;
@Output() bt... |
import { PipeTransform, ArgumentMetadata, BadRequestException } from '@nestjs/common'
export class ValidacaoParametrosPipe implements PipeTransform {
transform(value: any, metadata: ArgumentMetadata) {
if (!value) {
throw new BadRequestException(`O valor do parametro ${metadata.data} deve ser ... |
import { blacklist,prop } from "@rxweb/reactive-form-validators"
export class User {
@prop()
@blacklist('abc' )
freeText: string;
} |
import { JupyterFrontEndPlugin } from '@jupyterlab/application';
import { editor } from './editor';
import { widgets } from './widgets';
const plugins: JupyterFrontEndPlugin<any>[] = [editor, widgets];
export default plugins; |
import styled from "styled-components"
export const StyledList = styled.div`
display: flex;
justify-content: space-between;
flex-wrap: wrap;
`;
export const StyledListItem = styled.div`
border-radius: 5px;
background-color: white;
width: 30%;
border: 1px solid #999;
margin-bottom: 40px;
`;
export con... |
type Text = string;
export type Comment = {
externalProviderType:string,
entityType:string,
compositeId:string,
id:string,
replyOwnerId:string,
commentsCount:number,
location:Text,
date:Date|string,
likesCount:number,
replyUserId:string,
replyToPostId:string,
lang:string,... |
import Application from "../Application";
import Color from "../Color";
import Layout from "../Layout";
import Button from "./Button";
import Frame from "./Frame";
import Overlay from "./Overlay";
import Text from "./Text";
class CreateRoomOverlay extends Overlay {
private static readonly MIN_ROOM_CAPACITY = 2;
pr... |
import Connection from './Connection'
export default class PtuControlManager {
readonly #connection: Connection
readonly #notifyOwner: () => void
#isInControl: boolean
constructor(connection: Connection, notifyOwner: () => void) {
this.#connection = connection
this.#notifyOwner = notifyOwner
this.#isInCont... |
import React, { useCallback, ReactElement } from 'react';
import intersection from 'lodash/intersection';
import Context from '../Context';
interface HiddenProps {
breakpoints?: string[];
}
const Hidden: React.FC<HiddenProps> = ({
children,
breakpoints = [],
...passedProps
}) => {
const getIsHidden = useCa... |
// import * as React from 'react'
// import { Grid, Row, Col } from 'react-flexbox-grid'
// import { Navbar, Alignment, NavbarDivider, ProgressBar, Text } from '@blueprintjs/core' |
import { RouterConfig } from '@angular/router';
import { DelayedComponent } from './index';
import { RetriesComponent, CronsComponent } from '../components/index';
export const DelayedRoutes: RouterConfig = [
{
path: 'delayed',
component: DelayedComponent,
children: [
{ path: '', comp... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { inject, injectable } from 'inversify';
import {
CancellationToken,
CodeLens,
commands,
CompletionContext,
CompletionItem,
CompletionList,
DocumentFilter,
DocumentSymbol,
Event,
... |
/*
* 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 Boom from 'boom';
import type from 'type-detect';
import { canRedirect... |
// Copyright 2017-2019 @polkadot/react-components authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { Props } from '../types';
import React from 'react';
import { Input } from '@polkadot/react-components';
im... |
import { IColorPayload, IgetColorListAction } from '../reducers-types/color-list-types';
import { GET_COLOR_LIST } from '../actions/color-list-actions';
// change it to Immutable JS
const initialState: IColorPayload = {
title: '',
itemsList: [],
};
export const colorList = (
state: IColorPayload = initialState,... |
import { Router } from "../../mod.ts";
import { expect } from "../deps.ts";
import { methods } from "../../src/methods.ts";
import { describe, it } from "../utils.ts";
import type { NextFunction, Request, Response } from "../../src/types.ts";
describe("Router", function () {
it("should return a function with router ... |
import * as React from 'react';
import FirstItemListPopover from 'src/views/virtualmachines/list/components/FirstItemListPopover/FirstItemListPopover';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import { getPrintableNetworkInterfaceType } from '@kubevirt-utils/resources/vm/u... |
/**
* Defines the options for a lazy loading operation.
*
* @export
* @interface LoadOptions
*/
export interface LoadOptions
{
/**
* (Optional) A function to customize the way `LazyLoaderService` checks if the script is already loaded.
* By default, `LazyLoaderService` will skip loading a script or a... |
import { BerryOrm } from "../core/berry-orm.class";
import { AnyEntity } from "../entity/any-entity.type";
import { META } from "../symbols";
import { CommonField } from "./field-names/common-field.type";
import { EntityField } from "./field-names/entity-field.type";
import { PrimaryField } from "./field-names/primary-... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CreateArticleComponent } from './create-article.component';
describe('CreateArticleComponent', () => {
let component: CreateArticleComponent;
let fixture: ComponentFixture<CreateArticleComponent>;
beforeEach(async(() => {
Te... |
import {
AstNode,
BinaryExpression,
Expression,
FunctionDeclaration,
IfStatement,
Node,
Printable,
TemplateElement,
UnaryExpression,
VariableDeclaration,
} from 'ast-types';
import { Collection, JsCodeShift } from 'jscodeshift';
import { CodeModExports } from '../codeModTypes';
... |
import {Type} from 'angular2/src/facade/lang';
export type SetterFn = (obj: any, value: any) => void;
export type GetterFn = (obj: any) => any;
export type MethodFn = (obj: any, args: any[]) => any; |
import {
SourceOrcid,
SourceWithAssertionOrigin,
Value,
} from './common.endpoint'
interface ExternalIdentifier {
type: string
value: string
url: Value
relationship: string
}
export interface ExternalIdentifiers {
externalIdentifier: ExternalIdentifier[]
}
export interface AdditionalInfo {
departme... |
import { Component, OnInit, AfterViewChecked } from '@angular/core';
import { Router } from '@angular/router';
import { BsModalRef } from 'ngx-bootstrap';
import { JhiEventManager } from 'ng-jhipster';
import { WorkspaceService } from '../entities/workspace';
import { NotificationService } from '../shared/services/not... |
import { PageBody } from './PageBody';
import { PageFooter } from './PageFooter';
import { PageHeader } from './PageHeader';
export const Body = PageBody;
export const Footer = PageFooter;
export const Header = PageHeader; |
import { EntityRepository, Repository } from 'typeorm';
import { User } from '../entities/User';
@EntityRepository(User)
export class UserRepository extends Repository<User> {
} |
import { FactoryProvider, Provider, Type } from '@nestjs/common';
import { SOAP_MODULE_OPTIONS } from './soap-constants';
import { SoapModuleAsyncOptions, SoapModuleOptionsFactory } from './soap-module-options.type';
import { SoapService } from './soap.service';
export const buildClientProvider = (clientName: string):... |
import { DatabaseService } from './database.service';
export class BrowserDatabaseService extends DatabaseService {} |
import { JsonObject } from '../models';
export interface CliOptions {
cliVersion: string;
cliIsGlobal?: boolean;
cliRootPath?: string;
startTime?: number;
cliIsLink?: boolean;
commandOptions?: JsonObject;
} |
import React from 'react';
import styled from 'styled-components';
import ProfileDefault from '../../assets/images/profile_default.svg';
import IconSettings from '../../assets/images/icon_settings.svg';
import { IconButton } from '@material-ui/core';
import ProfileImage from './ProfileImage';
import color from '../../a... |
import { Container, Row } from './styles';
import { Equipment, EquipmentID } from '../../models/Equipments';
import { ActionsEquipments } from 'app/core/redux/acciones/equipments/EquipmentTypes';
import { ConsultarEquipos } from '../../components/ConsultarEquipos/index';
import { FormCrearEquipos } from '../../componen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.