text
stringlengths
10
953k
import * as React from "react"; import * as ReactDOM from "react-dom"; import App from "./App"; import registerServiceWorker from "./registerServiceWorker"; import "./styles/core.css"; ReactDOM.render(<App />, document.getElementById("root") as HTMLElement); registerServiceWorker();
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { SimpleGuard } from '@delon/auth'; import { environment } from '@env/environment'; // layout import { LayoutDefaultComponent } from '../layout/default/default.component'; import { LayoutFullScreenComponent } from '...
import { Path } from '@angular-devkit/core'; export interface AngularOptions { /** * The name of the application. */ name: string; /** * The directory of the application. */ directory?: string; /** * The path to create the module. */ path?: string; /** * The path to insert the module...
import { Optional } from './interface/option'; /** * 应用初始化函数 * * @export * @param {Optional} option 应用全局配置 * @returns {Promise<void>} */ export declare function checkRepeat(option: Optional): Promise<void>;
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
import axios from "axios"; export const api = axios.create({ baseURL: "https://dogsapi.origamid.dev/json/", });
/** * @license * Copyright 2021, JsData. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS"...
import cn from 'classnames'; import map from 'lodash/map'; import { isToday, parseISO } from 'date-fns'; import isEmpty from 'lodash/isEmpty'; import { useRouter } from 'next/router'; import { useTranslation } from 'next-i18next'; import { VFC, ReactNode, useCallback, useMemo } from 'react'; import { AnimatePresence, m...
// Copyright 2017-2019 @polkadot/ui-identicon 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 xmlserializer from 'xmlserializer'; import svg from './svg'; describe('svg', () => { it('creates a basic SVG e...
export interface DeusEffect { id: string, class?: string, type?: string, handler: string, enabled: boolean }
// Copyright 2017-2022 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useState } from 'react'; import store from 'store'; import { isBoolean } from '@polkadot/util'; type Flags = Record<string, boolean>; type Setters<T extends Flags> = Record<keyof T, (value:...
/// <reference path="../@types/index.d.ts" /> import fetch, { Response } from "node-fetch"; async function getUserFollowing(username: string, proxy?: string) { try { if (!username) { throw Error("Parameter username is missing."); } else if (typeof username !== "string") { t...
import {Preconditions} from '../utils/preconditions'; import {Logger} from '../utils/logger'; export class Listeners<T> { private _listeners: Listener<T>[] = []; /** * @memberOf Listeners# */ public fire(data: T) { let listeners = this._listeners.slice(); // copy to prevent concurrent modifications ...
import { Construct, Stack, CfnOutput, Tags, IConstruct } from '@aws-cdk/core'; import { IHostedZone, HostedZone } from '@aws-cdk/aws-route53'; import { Role, ServicePrincipal, ManagedPolicy, CompositePrincipal } from '@aws-cdk/aws-iam'; import { NetworkBuilder } from '@aws-cdk/aws-ec2/lib/network-util'; import { Config...
import GlobalModel from '../../model/Global.js'; import { Dictionary } from '../../util/types.js'; import { DataZoomPayloadBatchItem } from './helper.js'; export declare type DataZoomStoreSnapshot = Dictionary<DataZoomPayloadBatchItem>; /** * @param ecModel * @param newSnapshot key is dataZoomId */ export declare fu...
import * as React from "react"; import { render } from "react-dom"; import * as ReactGA from "react-ga"; import { App } from "./components/App"; import "./assets/scss/App.scss"; if ("serviceWorker" in navigator) { window.addEventListener("load", (): void => { navigator.serviceWorker .register("/service-wo...
export default ` #if defined(dColorType_attribute) vColor.rgb = aColor; #elif defined(dColorType_instance) vColor.rgb = readFromTexture(tColor, aInstance, uColorTexDim).rgb; #elif defined(dColorType_group) vColor.rgb = readFromTexture(tColor, group, uColorTexDim).rgb; #elif defined(dColorType_groupInstance)...
import * as fs from 'fs'; import * as log from 'loglevel'; // package.json is `require`d to let tsc strip the `src` folder by determining // baseUrl=src. A static import would prevent that and cause an ugly extra `src` folder in `lib` const packageJson = require('../../package.json'); // eslint-disable-line @typescri...
/* eslint-disable no-await-in-loop */ import { sleep } from '@hydrooj/utils/lib/utils'; import * as Judge from 'hydrooj/src/handler/judge'; import { Logger } from 'hydrooj/src/logger'; import { STATUS } from 'hydrooj/src/model/builtin'; import DomainModel from 'hydrooj/src/model/domain'; import ProblemModel from 'hydro...
export { AsyncAttribute } from "./async-attribute"
import * as React from "react"; import { useTranslation } from "../../.."; export const Translate = React.memo<{ t: string; }>(function Translate({ t: translationIdentifier }) { const t = useTranslation(); // TODO: // @ts-ignore return t(translationIdentifier) as React.ReactElement; });
import { RadiusDirective } from './radius.directive'; describe('RadiusDirective', () => { it('should create an instance', () => { const directive = new RadiusDirective(); expect(directive).toBeTruthy(); }); });
import * as cors from 'cors'; import { Express } from 'express'; import logger from '@/utils/logger'; export default function loadMorgan(app: Express): void { logger.debug('Load cors'); app.use(cors()); }
import { BODY_OBJ, ANIM_OBJ } from './life'; export function BODY(bodyIndex) { BODY_OBJ.call(this, this.actor, bodyIndex); } export function ANIM(animIndex) { ANIM_OBJ.call(this, this.actor, animIndex); } export function BETA(angle) { this.actor.setAngle(angle); } export function NO_BODY() { this.ac...
// NOTE: Currently using a slightly modified print instead of the exported graphql version. import { parse, print, ASTNode } from 'graphql' import * as _ from 'lodash' import { Kind } from 'graphql' const isObjectTypeDefinition = (def: ASTNode) => def.kind === Kind.OBJECT_TYPE_DEFINITION || def.kind === Kind.INPU...
import { Repository } from "typeorm"; import { v4 } from "uuid"; import { LeagueEntity } from "./league.entity"; export const seedLeagues = async ( repository: Repository<LeagueEntity>, creatorId: number, count = 20 ): Promise<LeagueEntity[]> => { const leagues = []; for (let i = 0; i < count; i++) { con...
import { Component, ModuleDeclaration, NotifyPropertyChanges, Property, Complex, Collection, detach, remove } from '@syncfusion/ej2-base';import { addClass, classList, removeClass, compile, formatUnit, L10n, Browser, Event, EmitType } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data'...
import { CustomCreateSchemaCustomizationArgs, CustomPluginOptions } from "../src/types"; import { createSchemaCustomization } from "../src/createSchemaCustomization"; import { createMock } from "ts-auto-mock"; import { Actions } from "gatsby"; import { mocked } from "ts-jest/dist/util/testing"; import axios from 'axios...
export type Props = { className?: string, color?: string, size?: string, rotation?: string }
import { Subscription } from '../Subscription'; import { OperatorFunction, SchedulerLike } from '../types'; import { operate } from '../util/lift'; import { OperatorSubscriber } from './OperatorSubscriber'; import { arrRemove } from '../util/arrRemove'; import { asyncScheduler } from '../scheduler/async'; import { popS...
export default interface PropTypes { placeholder?: string }
import { ObjectType, Field, Int, ID } from 'type-graphql'; import { CategoryType } from '../../category/types/create-category.dto'; @ObjectType() export class ProductType { @Field(() => ID) readonly id: string; @Field() readonly name: string; @Field(type => CategoryType) readonly category...
import { createSelector, MemoizedSelector } from '@ngrx/store'; import { Address, B2BApprovalProcess, B2BUnit, B2BUser, EntitiesModel, SearchConfig, StateUtils, } from '@spartacus/core'; import { B2BUnitNode } from '../../model/unit-node.model'; import { OrganizationState, OrgUnits, ORG_UNIT_APPROVA...
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, RequestHelper, } from '../infrastructure'; const url = (userId) => userId ? `users/${encodeURIComponent(userId)}/gpg_keys` : 'users/gpg_keys'; export class UserGPGKeys extends BaseService { all({ userId, ...options }: { userId?: number } &...
import { RouteConfig } from 'vue-router' import Layout from '@/layout/index.vue' const tableRoutes: RouteConfig = { path: '/table', component: Layout, redirect: '/table/complex-table', name: 'Table', meta: { title: 'table', roles: ['SIMPLE'], // you can set roles in root nav icon: 'table' }, ...
export interface Client { email: string; privateKey: string; } export interface Option { spreadsheetId: string; range: string; } export interface ResponseSheetData<T> { contents: T[]; colms: string[]; totalCount: number; } export interface ResponseSheetsData { contents: any[]; colms: string[]; to...
import '@vtmn/css-design-tokens/dist/index.css'; // GUIDELINES // Iconography export { VtmnIcon } from './guidelines/iconography/VtmnIcon'; export type { VtmnIconProps } from './guidelines/iconography/VtmnIcon'; // COMPONENTS // Actions export { VtmnButton } from './components/actions/VtmnButton'; export type { Vtm...
/** * @fileOverview Render sectors of a funnel */ import React, { PureComponent, ReactElement } from 'react'; import Animate from 'react-smooth'; import classNames from 'classnames'; import _ from 'lodash'; import Layer from '../container/Layer'; import Trapezoid, { Props as TrapezoidProps } from '../shape/Trapezoid'...
// Copyright 2017-2020 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useMemo } from 'react'; import styled from 'styled-components'; import type { DeriveAccountInfo } from '@polkadot/api-derive/types'; import type { ThemeProps } from '@polkadot/react-componen...
import * as cxschema from '@aws-cdk/cloud-assembly-schema'; import { ContextProvider, GetContextValueOptions, GetContextValueResult, Lazy, Stack } from '@aws-cdk/core'; import * as cxapi from '@aws-cdk/cx-api'; import { Construct } from 'constructs'; import { Key } from '../lib'; import '@aws-cdk/assert-internal/jest';...
import { ApiProperty } from '@nestjs/swagger' import { Currency, DonationStatus, DonationType, PaymentProvider, Prisma } from '@prisma/client' import { Expose } from 'class-transformer' import { IsNumber, IsString, IsUUID } from 'class-validator' @Expose() export class CreatePaymentDto { @Expose() @ApiProperty({ e...
import React, { useState, useEffect, createRef, Suspense, ChangeEvent, Fragment } from "react"; import { Box, Button, HStack, Input, Spinner, VStack } from "@chakra-ui/react"; import Select from "react-select"; import { useTranslation } from "react-i18next"; import md5 from "md5"; import * as clipboard from "clipboard-...
import { SingleStatBaseOptions, BigValueColorMode, BigValueGraphMode, BigValueJustifyMode } from '@grafana/ui'; import { ReducerID, SelectableValue, standardEditorsRegistry } from '@grafana/data'; import { PanelOptionsEditorBuilder } from '@grafana/data'; // Structure copied from angular export interface StatPanelOpti...
import * as _ from 'lodash'; import * as React from 'react'; import { useTranslation } from 'react-i18next'; import { Link } from 'react-router-dom'; import { PodStatus, usePodsWatcher } from '@console/shared'; import { ResourceLink, resourcePath, SidebarSectionHeading } from '../utils'; import { K8sResourceKind, refer...
export * from './adapters/localeFilesAdapter'; export * from './cli-types';
import {Component, EventEmitter, Input, OnChanges, Output, ViewEncapsulation, SimpleChanges } from "@angular/core"; import {IMyCalendarDay} from "../../interfaces/my-calendar-day.interface"; import {IMyDate} from "../../interfaces/my-date.interface"; import {IMyDateRange} from "../../interfaces/my-date-range.interface"...
/** * Megaputer Text Mining API * Megaputer Text Mining API * * OpenAPI spec version: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import localVarRequest = require('request'); import ...
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { assertNever } from "lawtext/dist/src/util"; import * as React from "react"; import styled from "styled-components"; export enum LawCoverageInfoCardStatus { NULL, SUCCESS, WARNING, ERROR, } const BaseTag = styled.div` b...
// GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY import React from 'react' import TagFilledSvg from '@ant-design/icons-svg/lib/asn/TagFilled'; import AntdIcon, { AntdIconProps } from '../components/AntdIcon'; const TagFilled = ( props: AntdIconProps, ref: React.MutableRefObject<HTMLSpanElement>, )...
import React, { FC, useEffect, useCallback, useState, useRef } from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; import Fade from '@material-ui/core/Fade'; import { CanvasUtil } from '../../utils/CanvasUtil'; export interface VisualizerProps { analys...
import { Component, Input } from "@angular/core"; @Component({ host : { "[class]": "itemClass" }, selector: "app-list-group-item", template: ` <ng-content></ng-content> ` }) export class ListGroupItemComponent { public itemClass = "list-group-item"; } @Component({ selector:...
import { NgModule } from '@angular/core'; import { MatAutocompleteModule, MatBadgeModule, MatButtonModule, MatButtonToggleModule, MatCheckboxModule, MatToolbarModule, MatTooltipModule, MatCardModule, MatChipsModule, MatDatepickerModule, MatDialogModule, MatExpansionModule...
/** * Embed YouTube videos by using the `youtube=ID` attribute to a `<rect>` * @param {HTMLElement} dom SVG Dom tree to which you can do any pre-processing */ export default function (dom: HTMLElement) { for (let node of [...dom.querySelectorAll("[youtube]")]) { const id = node.getAttribute("youtube"); ...
import { Object3D } from 'three' export default class WooCommerce extends Object3D { extendType: string wooCommerceProducts: any wooCommerceProductItems: any _wooCommerceDomain: any _wooCommerceConsumerKey: any _wooCommerceConsumerSecret: any _wooCommerceProductId: any _wooCommerceProductItemId: any c...
import { Component, OnInit } from '@angular/core'; import { AdminService } from '../admin.service'; import { Comment, Discussion, NewUser, PostReview, ReportedItem, ReportType, TicketItem } from "../models/models"; import { FormBuilder, FormGroup, FormArray, FormControl } from '@angular/forms'; import * as moment from ...
type BasicAuthType = { username: String, password: String } type StudentType = { firstName: String, lastName: String, middleName: String | null, gender: String, email: String, phone: String } export type { BasicAuthType, StudentType }
import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { AdmincustomerPage } from './admincustomer'; @NgModule({ declarations: [ AdmincustomerPage, ], imports: [ IonicPageModule.forChild(AdmincustomerPage), ], }) export class AdmincustomerPageModule {}
import * as messages from '@cucumber/messages' import { doesHaveValue, doesNotHaveValue } from '../../value_checker' import { EventEmitter } from 'events' interface ITestCaseAttemptData { attempt: number testCaseId: string stepAttachments: Record<string, messages.Attachment[]> stepResults: Record<string, messa...
import React from 'react'; import { AppRegistry } from 'react-native'; import { App } from './src/App'; import { name as appName } from './app.json'; const Root = () => <App />; AppRegistry.registerComponent(appName, () => Root);
/* * 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 { Logger, CoreSetup, LegacyAPICaller } from 'kibana/server'; import mo...
import {Injectable} from '@angular/core'; import {Observable, pipe, Subject} from 'rxjs'; import {Action} from './action'; import {distinctUntilChanged, map, scan, shareReplay} from 'rxjs/operators'; import {get, isEqual, omit} from 'lodash'; const INITIAL_STATE = { hello: 'Jose', hola: 'José' }; export const red...
import { createSlice } from 'utils/@reduxjs/toolkit'; import { PayloadAction } from '@reduxjs/toolkit'; import { IFCounterState } from './types'; export const initialState: IFCounterState = { counter: 0, state: false, }; const counterSlice = createSlice({ name: 'counter', initialState, reducers: { incre...
import { SentryError } from '@sentry/utils'; import { Event, Response, Transports } from '../../../src'; const testDsn = 'https://123@sentry.io/42'; const storeUrl = 'https://sentry.io/api/42/store/?sentry_key=123&sentry_version=7'; const tunnel = 'https://hello.com/world'; const eventPayload: Event = { event_id: '...
export * from './cleanCallback'; export * from './debounce'; export * from './fullscreen'; export * from './scrollDirection'; export * from './mutationObserver'; export * from './resizeObserver';
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { environment } from '../../../../environments/environment'; import { ICiclo } from './interface'; import { IConteo } from '../../../shared/interface/count'; import { AbstractRestService } from '../../../shared/abstrac...
import { HttpHeaders, HttpResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; import { NbAuthResult } from '../services/auth-result'; import { NbAuthStrategyOptions } from './auth-strategy-options'; import { deepExtend, getDeepFromObject } from '../helpers'; import { NbAuthToken, nbAuthCreateToke...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/** * the player is represented by its string ID */ export type Player = string;
import { Component, OnInit, Output, EventEmitter, Input, ViewChild } from '@angular/core'; import { SafeResourceUrl } from '@angular/platform-browser'; import { LocalDataSource, ViewCell } from 'ng2-smart-table'; import { ToastrService } from '../../shared/services'; import { NbDialogService, NbWindowService } from '@n...
import * as React from 'react'; import { DataGrid } from '@mui/x-data-grid'; import { useDemoData } from '@mui/x-data-grid-generator'; export default function CheckboxSelectionGrid() { const { data } = useDemoData({ dataSet: 'Commodity', rowLength: 10, maxColumns: 6, }); return ( <div style={{ h...
/** * @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 {CompileDirectiveMetadata, CompileDirectiveSummary, CompilePipeSummary, CompileTokenMetadata, CompileTypeMeta...
import { Component, OnInit } from '@angular/core'; import { SignInModel } from '../models/signin.model'; import { AuthService } from '../auth.service'; @Component({ selector: 'app-signin', templateUrl: './signin.component.html', styleUrls: ['./signin.component.css'] }) export class SigninComponent implements OnI...
import { botCache, botHasChannelPermissions, botHasPermission, botID, ChannelTypes, hasChannelPermissions, memberIDHasPermission, } from "../../deps.ts"; botCache.eventHandlers.messageCreate = async function (message) { botCache.memberLastActive.set(message.author.id, message.timestamp); botCache.sta...
import { Tree } from '@angular-devkit/schematics'; import { createEmptyWorkspace } from '@nrwl/workspace/testing'; import { readJsonInTree, updateJsonInTree } from '@nrwl/workspace'; import { runSchematic, callRule } from '../../utils/testing'; describe('init', () => { let tree: Tree; beforeEach(() => { tree ...
import React, { useEffect, useState } from 'react'; import { Input, Spin, Divider, Alert } from 'antd'; import PictureCard from '../components/PictureCard'; import { IGalleryViewModel } from '../../contracts/components'; import PictureUploader from '../components/PictureUploader'; const { Search } = Input; const Gall...
import {createRouter, createWebHistory, Router, RouteRecordRaw} from "vue-router"; import Layout from '@/layout/index.vue' const routes: Array<RouteRecordRaw> = [ { path: '/login', component: () => import('@/views/login/index.vue'), }, { path: '/404', component: () => impor...
import { _TagList } from "./_TagList"; import { Structure as _Structure_ } from "@aws-sdk/types"; export const AllocateConnectionOnInterconnectOutput: _Structure_ = { type: "structure", required: [], members: { ownerAccount: { shape: { type: "string" } }, connectionId: { sha...
/* istanbul ignore file: no unit tests on patchs */ import { IDatabase } from 'pg-promise'; import IGeneratorWorker from '../../IGeneratorWorker'; import ModuleParams from '../../../shared/modules/Params/ModuleParams'; import ModuleAccessPolicy from '../../../shared/modules/AccessPolicy/ModuleAccessPolicy'; export de...
import { mergeLocale } from '../utils/merge-locale' import { base } from './base' const zhTW = mergeLocale(base, { locale: 'zh-TW', common: { confirm: '確定', cancel: '取消', loading: '加載中……', }, Cascader: { placeholder: '請選擇', }, Dialog: { ok: '我知道了', }, ErrorBlock: { default: { ...
/// <reference types="react" /> import * as React from "react"; import { Column } from "../../models/ColumnLike"; import { GigaAction } from "../../store/GigaStore"; import "./SettingsPopover.styl"; import { AdditionalButton } from "../GigaGrid"; export interface SettingsPopoverProps { subtotalBys: Column[]; co...
import * as N3 from 'n3' import TypeIndexDoc from './TypeIndexDoc' import prefixes from './prefixes' import SolidType from './SolidType' import { parseTurtle, makeRelativeIfPossible } from './utils' /** * @module TypeIndexParser */ interface TypeIndexParserOptions { typeIndexUrl: string } const predicates = { ...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MediaTypeCollectionComponent } from './media-type-collection.component'; describe('MediaTypeCollectionComponent', () => { let component: MediaTypeCollectionComponent; let fixture: ComponentFixture<MediaTypeCollectionComponent>; beforeE...
import { Node, LocationInfo } from './node' import { List } from './list' import { Ampersand } from './ampersand' import { Rule } from './rule' import type { Ruleset } from './ruleset' import type { Context } from '../context' import type { OutputCollector } from '../output' export type AtRuleValue = { name: string ...
import * as React from "react"; function Svg(props) { return ( <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" height="100%" width="100%" xmlnsXlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 200 200" enableBackground="new 0 0 200 200" ...
import { isReactive, ref } from 'vue-demi' import { useSetup } from '../../.test' import { useManualRefHistory } from '.' describe('useManualRefHistory', () => { test('should record', () => { const v = ref(0) const { history, commit } = useManualRefHistory(v) expect(history.value.length).toBe(1) exp...
import { DatePipe } from '@angular/common'; import { ActivatedRoute, Router } from '@angular/router'; import { NgModule, ElementRef, Renderer } from '@angular/core'; import { HttpClientTestingModule } from '@angular/common/http/testing'; import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { Jh...
/** * @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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
import React, { useState } from 'react'; import { Chart, Geometry, Axis, Interaction, Guide, ScrollBar, Scale, Tooltip, } from '@alitajs/f2'; import Data from './data.json'; const ChartDemo = () => { return ( <> <Chart width={750} height={400} data={Data} col...
import { ServiceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogClient"; import { DescribeServiceActionInput, DescribeServiceActionOutput } from "../models/index"; import { deserializeAws_json1_1DescribeServiceActionCommand, serializeAws_json1_1DescribeServiceActionComman...
import {BaseComponent, BaseComponentPlus} from "web-vcore/nm/react-vextensions.js"; import {VReactMarkdown_Remarkable, Observer, YoutubePlayerUI, ParseYoutubeVideoID} from "web-vcore"; import {MapNodeL2, GetFontSizeForNode, ReferencesAttachment, QuoteAttachment, MediaAttachment, GetMedia, MediaType} from "dm_common"; i...
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { IEmployeeRecurringExpense, IEmployeeRecurringExpenseByMonthFindInput, IEmployeeRecurringExpenseFindInput, IFindStartDateUpdateTypeInput, IStartUpdateTypeInfo, IRecurringExpenseDeleteInput, IRecurringExpenseOrd...
// GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY import * as React from 'react' import ArrowLeftRightLineSvg from '@airclass/icons-svg/lib/asn/ArrowLeftRightLine'; import AntdIcon, { AntdIconProps } from '../components/AntdIcon'; const ArrowLeftRightLine = ( props: AntdIconProps, ref: React.Mutabl...
import type { Mixin } from '@tpluscode/rdfine/lib/ResourceFactory'; import { PlaceMixin } from '../lib/Place'; import { LandformMixin } from '../lib/Landform'; export const LandformBundle = [ PlaceMixin as Mixin, LandformMixin as Mixin];
import { Module } from '@nestjs/common'; import { CompaniesController } from './companies.controller'; import { CompaniesService } from './companies.service'; import { MongooseModule } from '@nestjs/mongoose'; import { CompanySchema } from './schemas/companies.schema'; @Module({ imports: [ MongooseModule.forFeat...
import PoolShare from './PoolShare' export default PoolShare
import * as React from "react"; import { render } from "react-testing-library"; import Image from "../Image"; test("html attrs", () => { const { getByTestId } = render( <Image id="test" aria-label="test" data-testid="test" /> ); expect(getByTestId("test")).toHaveAttribute("id", "test"); expect(getByTestId...
import angular from 'angular'; import { BackendSrv } from 'app/core/services/backend_srv'; import { ContextSrv } from '../services/context_srv'; jest.mock('app/core/store'); describe('backend_srv', () => { const _httpBackend = options => { if (options.url === 'gateway-error') { return Promise.reject({ stat...
import Collapse from '@material-ui/core/Collapse' import { Alert, AlertActionCloseButton } from '@patternfly/react-core' import React, { createContext, CSSProperties, Fragment, ReactNode, useCallback, useContext, useEffect, useState, } from 'react' export interface AcmAlertInfo { ty...
// NG2 import { Directive, OnChanges, ComponentRef, ViewContainerRef, ComponentFactoryResolver, Input, Output, EventEmitter, HostListener, SimpleChange, } from '@angular/core'; import { PopOverContent } from './PopOverContent'; @Directive({ selector: '[popover]', }) export class PopOverDirective ...
import { BLOCKS, INLINES } from '@contentful/rich-text-types'; import { createEditor as createSlateEditor } from '@udecode/plate-test-utils'; import { Path } from 'slate'; import { CustomElement, RichTextEditor } from '../../types'; import { extractParagraphs } from '../extractNodes'; const createEditor = (children: ...