text
stringlengths
10
953k
import * as React from "react"; import { Select } from "../../components/select"; import { Wrapper } from "../../components/wrapper"; import { FieldWrap } from "../../components/field-wrap"; import { getOptions, getGroupOptions } from "../../data/mockSelectOptions"; export const BaseSelect = (): JSX.Element => { co...
export default (editor, config = {}) => { // Services 1 editor.BlockManager.add('services', { category:'Page', label: 'Services', content: ` <div class="container"> <div class="row"> <div class="col-12"> <div class="text-center"> <h1 style="font-size:3em">OUR SERVI...
// Copyright 2017-2021 @polkadot/test-supports authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll, DeriveStakingAccount } from '@polkadot/api-derive/types'; import type { UseAccountInfo } from '@polkadot/react-hooks/types'; import BN from 'bn.js'; import { UseAccounts } fro...
import { Injectable } from '@angular/core'; import { FormControl, FormGroupDirective, NgControl, NgForm } from '@angular/forms'; import { SafeAny } from '@ngx-simple/core/types'; import { Subject } from 'rxjs'; import { Constructor } from './constructor'; /** * 提供程序, 用于定义窗体控件在显示错误消息方面的行为方式。 */ @Injectable({ provided...
export function handler(argv: any): void; export function getContainers(prompts: any): Promise<void>; export const command: "containersUI [containerGroup] [container]"; export const aliases: string[]; export const describe: string; export const builder: import("yargs").CommandBuilder<{}, {}>;
import { As } from "type-tagger"; import { Hash, Preimage } from "./atomicswaptypes"; export declare enum Algorithm { Ed25519 = "ed25519", Secp256k1 = "secp256k1" } export declare type PubkeyBytes = Uint8Array & As<"pubkey-bytes">; export interface PubkeyBundle { readonly algo: Algorithm; readonly data:...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *----------------------------------------------------------------------...
/*! * Copyright 2020 VMware, Inc. * SPDX-License-Identifier: BSD-2-Clause */ /* * Copyright 2017 VMware, Inc. All rights reserved. VMware Confidential */ import { BehaviorSubject } from 'rxjs'; import { delay, take } from 'rxjs/operators'; import { TranslationLoader } from '../loader/translation-loader'; import {...
// Copyright (c) Jupyter Development Team. import 'jest'; import { CodeCellModel } from '@jupyterlab/cells'; import { NotebookModel } from '../src'; import { NotebookModelFactory } from '../src'; describe('@jupyterlab/notebook', () => { describe('NotebookModelFactory', () => { describe('#constructor', () => ...
export * from './cross-chain-messenger' export * from './cross-chain-provider' export * from './l2-provider' export * from './types'
import {Injectable} from '@angular/core'; import {Observable, Subject} from 'rxjs'; @Injectable() export class PageTitleService { private title: Observable<string>; private titleSubject: Subject<string>; constructor() { this.titleSubject = new Subject(); this.title = this.titleSubject.asO...
import fetch from 'isomorphic-unfetch'; const triggerHooks = (text: string, hook: string) => { const url = `https://hooks.slack.com/services/${hook}`; const headers = new Headers(); const body = { text }; headers.append('Content-Type', 'application/json'); const options = { method: 'POST', ...
import * as extensions from '../matchers'; expect.extend(extensions); export { extensions };
import { Entity, PrimaryColumn, Column, ObjectIdColumn } from "typeorm"; @Entity() export class Lesson{ @ObjectIdColumn() _id: string; @PrimaryColumn() id:string; @Column() name:string; @Column() startDate: string; @Column() endDate: string; }
import '../jquery_augmentation'; import { dxElement } from '../core/element'; import { PaletteType, PaletteExtensionModeType } from './palette'; import { template } from '../core/templates/template'; import DataSource, { DataSourceOptions } from '../data/data_source'; import { event } from ...
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { catchError } from 'rxjs/operators'; import { environment } from 'src/environments/environment'; import { ErrorHandlerService } from '../error-handler'; import { PokeAPI } from 'src/...
jest.mock('react-dom'); import * as React from 'react'; import { resetIds } from '../../Utilities'; import * as renderer from 'react-test-renderer'; import { mount, ReactWrapper } from 'enzyme'; import { DefaultPalette } from '@fluentui/react/lib/Styling'; import { IGroupedVerticalBarChartProps, GroupedVerticalBarChart...
import { Component } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { AlunosModule } from './list-alunos/alunos.module'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { }
import { ReadOnlyWallet } from "@arkecosystem/platform-sdk-profiles"; import { Address } from "app/components/Address"; import { Avatar } from "app/components/Avatar"; import React from "react"; type VoteListProps = { votes?: ReadOnlyWallet[]; }; export const VoteList = ({ votes }: VoteListProps) => ( <div classNam...
import { isArray, isBuffer, isFunction, isObject, isString } from 'lodash'; import md5 from 'md5'; /** * 缓存配置 */ interface IOptions { /** * 筛选需要进行缓存key运算的参数,默认为全部入参; * @default (...arg) => arg; * @param {Array} arg:调用 fn 的参数数组; * @returns {any} 进行缓存key运算的数据; */ params?: (...arg: any[]) => any; /*...
import React, {Component} from 'react'; import { Header, Icon, List } from 'semantic-ui-react' import './App.css'; import axios from 'axios'; class App extends Component { state = { values: [] } componentDidMount() { axios.get('http://localhost:5000/api/values') .then((response) => { this...
import { readJson, writeJson, writeJsonSync } from 'fs-extra' import { resolve } from 'path' import { CommandError } from '../../errors' import { getAppRoot } from '../../manifest' import { ManifestValidator } from './ManifestValidator' export class ManifestEditor { public static readonly MANIFEST_FILE_NAME = 'manif...
import { Slider, Tooltip } from '@material-ui/core'; import React, { useState } from 'react'; import { observer } from 'mobx-react'; import { TweakablePrimitiveModel } from '../models/TweakablePrimitiveModel'; import { INPUT_TYPE, SliderMetadata, SliderWithTextMetadata } from '../types'; import { useWorkspaceMst } from...
import React from 'react'; import InnerModalForm from './ModalForm'; import { RopeActionResult, STOP } from '../rope'; import { FormProps } from '../form'; export interface RefModalProps { type: 'modal' | 'drawer'; } export interface ModalFormProps extends FormProps { title: string | React.ReactElement; width?:...
import { ReplaySubject } from "rxjs" import { SanityEnum } from "../models" export interface Status{ installed: boolean sanity: SanityEnum pending: boolean } export class NetworkRouter{ private static urlBase = '/api/youwol-infra/network' public static webSocket$ : ReplaySubject<any> pub...
export interface Role { id: string; nome: string; }
import {environment} from "../../environments/environment"; import {Injectable, Inject} from "@angular/core"; /** * Created by Vladimir Budilov */ declare var AWS: any; export interface Callback { callback(): void; callbackWithParam(result: any): void; } @Injectable() export class EC2Service { constr...
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from "@angular/router"; import { Injectable } from "@angular/core"; @Injectable() export class AdminGuard implements CanActivate { canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) { if (sessionStorage.getItem('role') ...
import { Body, Controller, Get, Param, Post, Patch, Query, UsePipes, ValidationPipe } from '@nestjs/common'; import { Delete } from '@nestjs/common/decorators/http/request-mapping.decorator'; import { CreateTaskDto } from './dto/create-task.dto'; import { GetTasksFilterDto } from './dto/get-tasks-filter.dto'; import { ...
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { Lesson } from './lesson.entity'; import { Repository } from 'typeorm'; import { v4 as uuid } from 'uuid'; import { CreateLessonInput } from './lesson.input'; import { AssignStudentsToLessonInput } from './assign-st...
export * from './AmplifyConfig';
/** * Copyright (c) Matthieu Jabbour. 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. * */ export default jest.fn(() => 'z8a8d7a5zad4');
import * as integration from './integration'; describe('Integration', () => { test('process', async () => { const actual: { [file: string]: string } = {}; const expected: { [file: string]: string } = {}; integration.compare(await integration.process(), (file: string, a: string, e: string) => { actu...
// For vendors for example jQuery, Lodash, angular2-jwt just import them here unless you plan on // chunking vendors files for async loading. You would need to import the async loaded vendors // at the entry point of the async loaded file. Also see custom-typings.d.ts as you also need to // run `typings install x` wher...
export type AccessContextManagerAccessLevel = object; // AccessContextManagerAccessLevelList is a list of AccessContextManagerAccessLevel export class AccessContextManagerAccessLevelList { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the...
<TS language="id" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Klik-kanan untuk mengubah alamat atau label</translation> </message> <message> <source>Create a new address</source> <trans...
import { React } from 'jimu-core'; import _Widget from '../src/runtime/widget'; import { widgetRender, wrapWidget } from 'jimu-for-test'; const render = widgetRender(); describe('test simple widget', () => { it('simple test', () => { const Widget = wrapWidget(_Widget, { config: {exampleConfigProperty: 'a'}...
import {logger} from "core/logging" import * as p from "core/properties" import {Variable} from "core/layout/solver" import {LayoutDOM, LayoutDOMView} from "../layouts/layout_dom" export class WidgetBoxView extends LayoutDOMView { model: WidgetBox connect_signals(): void { super.connect_signals() this.co...
import { Component } from '@angular/core'; import { ModalController, NavController, NavParams } from 'ionic-angular'; import * as _ from 'lodash'; import { Logger } from '../../../providers/logger/logger'; // Pages import { AmountPage } from '../../send/amount/amount'; import { AmazonCardDetailsPage } from './amazon-c...
// *** 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"; /*...
export default () => ({ environment: process.env.NODE_ENV || 'development', });
import { Component, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; import 'rxjs/add/operator/debounceTime'; import 'rxjs/add/operator/distinctUntilChanged'; import { NgForm } from '@angular/forms'; import { ActionType } from '../../../shared/shared.const'; import { App } from '../../../shared/model/v1...
export * from "./generate-context"; export * from "./headers";
import { Migration } from '@mikro-orm/migrations'; export class Migration20220314193238 extends Migration { async up(): Promise<void> { this.addSql( 'create table "user" ("id" varchar(255) not null, "created_at" timestamptz(0) not null, "updated_at" timestamptz(0) not null, "name" varchar(255) ...
// Type definitions for Angular Growl 2 v.0.7.3 // Project: http://janstevens.github.io/angular-growl-2 // Definitions by: Tadeusz Hucal <https://github.com/mkp05> // Definitions: https://github.com/borisyankov/DefinitelyTyped /// <reference path="../angularjs/angular.d.ts" /> declare module angular.growl { /** ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Component, OnInit, Input } from "@angular/core"; @Component({ selector: "app-progress-bar", templateUrl: "./progress-bar.component.html", styleUrls: ["./progress-bar.component.css"] }) export class ProgressBarComponent implements OnInit { @Input() width: any; @Input() state: string; constructo...
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, HandlerExecutionContext, HttpHandlerOptions...
import { FormField, FormSelect, getNestedField } from 'argo-ui'; import * as React from 'react'; import { FieldApi, FormApi, FormField as ReactFormField, Text, TextArea } from 'react-form'; import { CheckboxField, EditablePanel, EditablePanelItem, TagsInputField } from '../../../shared/components'; import * as models ...
/** * Copyright 2017 Google Inc. All rights reserved. * Modifications copyright (c) Microsoft Corporation. * * 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.or...
import { CommonModule } from '@angular/common'; import { NgModule,CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { ReactiveFormsModule, FormsModule } from '@angular/forms'; import { HttpClientModule } from '@angular/common/http'; import { RxReactiveFormsModule } from '@rxweb/reactive-form-validators'; import {...
import hparams from 'fixtures/hyperparameter-configs.json'; import experimentResps from 'fixtures/responses/experiment-details/set-a.json'; import * as ioTypes from 'ioTypes'; import 'prototypes'; type FailReport<T = unknown> = {error: Error; sample: T;} const tryOnSamples = <T = unknown>(samples: T[], fn: (sample: T...
import Queues from "../collections/QueuesCollection"; import {IDfiAstEventsQueueManager} from "../definitions/events"; import {IAstActionQueueStatus} from "../internal/asterisk/actions"; import { IAstEventQueueCallerAbandon, IAstEventQueueCallerJoin, IAstEventQueueCallerLeave, IAstEventQueueEntry, I...
import { Facet } from 'models/Facets'; export interface ClientSelections { [field: string]: ClientSelection; } export interface ClientSelection { /** The facet that this selection is for. */ facet: Facet; /** The display name for the facet. */ label: string; items: ClientSelectionValue[]; } export interface ...
import { SerializableClass } from '../../serializer'; export class Item extends SerializableClass { constructor( private name: string = null ) { super(); } setName(value: string) { this.name = value; } getName(): string { return this.name; } }
import * as Discord from '../../Discord'; import Trigger from '../../Trigger'; import { formatEmoji } from '../../utils'; import { generateHighlightMessageContent, getHighestReaction, } from '../MESSAGE_REACTION_ADD/anyboard'; const anyboard = new Trigger({ event: Discord.Event.MESSAGE_REACTION_REMOVE, handler...
import { OwidVariable } from "./OwidVariable" export declare interface OwidEntityKey { [id: string]: EntityMeta } export interface OwidVariablesAndEntityKey { variables: { [id: string]: OwidVariable } entityKey: OwidEntityKey } export interface EntityMeta { id: number name: string ...
import { ComponentFixture, TestBed, async } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { ProductListPagingComponent } from './product-list-paging.component'; describe('Product List Paging Component', () => { let component: ProductListPagingComponent; let fi...
import * as React from "react"; import { RouteComponentProps } from "@reach/router"; import TestSuiteList from "../TestSuite/TestSuiteList"; import LoadingState from "../Loading/LoadingState"; import LoadingSection from "../Loading/LoadingSection"; import { fetchTestRun } from "../service/TestRunService"; import { Test...
import styled from '@emotion/styled'; import { DaimleyTheme } from '@/theme'; export const ContactYourOpinionStyled = styled.section` padding: 120px 0; width: 80vw; margin: 0 auto; `; export const Section = styled.p` font-size: 1.125rem; color: ${(props: DaimleyTheme) => props.theme.gray}; line-height: 2;...
import {createAction} from '@ngrx/store'; export const isLoading = createAction('[UI Component] isLoading'); export const stopLoading = createAction('[UI Component] Stop Loading');
export class WorkingMemory { constructor() { // TODO } }
import * as fs from "fs"; import { v4 as uuidv4 } from "uuid"; import * as path from "path"; import { config, EC2, ECS, S3 } from "aws-sdk"; import { JobAssignment, JobParameterBag, JobExecution, JobProfile, JobStatus, McmaException, McmaTracker, QAJob, TransformJob } from "@mcma/core"; import { AuthProvider, Resourc...
//SM: as of nx v12.1.1, we need this patch for ensuring the correct workspace is set in e2e runs // See: https://github.com/nrwl/nx/issues/5065 import { ExecutorContext, joinPathFragments, logger } from '@nrwl/devkit'; import { readJsonFile } from '@nrwl/workspace'; import { readCachedProjectGraph } from '@nrwl/workspa...
import { Crypto, JwkCertificate } from '../crypto'; export declare class BrowserCrypto implements Crypto { constructor(); sha256DigestBase64(str: string): Promise<string>; randomBytesBase64(count: number): string; private static padBase64; verify(pubkey: JwkCertificate, data: string, signature: stri...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import {AnyNode} from "@romefrontend/ast"; import {descriptions} from "@romefrontend/diagnostics"; import {Scope} from "../../scop...
import * as allExports from '.'; const { CLIENT_NOT_FOUND, OPERATIONS_TIMEOUT, ...messages } = allExports; describe('CLIENT_NOT_FOUND', () => { test('should return a string', () => { const namespace = 'name'; expect(CLIENT_NOT_FOUND(namespace)).toContain(namespace); expect(CLIENT_NOT_FOUND...
import { InstanceDef } from '../../../util/types/instance-def'; import { RunDetectionFunction } from './run-detection-function'; import { RunDetectionStrategy } from './run-detection-strategy'; export type RunDetectionTarget = | string | InstanceDef<RunDetectionStrategy> | RunDetectionFunction;
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack"; import * as __aws_sdk_types from "@aws-sdk/types"; import { TagResource } from "../model/operations/TagResource"; import { InputTypesUnion } from "../types/InputTypesUnion"; import { OutputTypesUnion } from "../types/OutputTypesUnion"; import { Ta...
import { ApiProperty } from '@nestjs/swagger'; import { CreateProcessDto } from './create-process.dto'; export class GetProcessesDto { @ApiProperty({ type: () => [CreateProcessDto], }) items: Array<CreateProcessDto>; }
import { DataService } from '../../providers/data.service'; import { Component, OnInit, ViewChild } from '@angular/core'; import { Chart } from 'chart.js'; import { ActionSheetController, MenuController } from '@ionic/angular'; @Component({ selector: 'app-analysis', templateUrl: './analysis.page.html', styleUrls...
import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { constants } from './constants'; export const utils = { getCurrentUnixTimestampSec(): BigNumber { const milisecondsInSecond = 1000; return new BigNumber(Date.now() / milisecondsInSecond).ro...
export class PrometheusConfigCtrl { static templateUrl = 'public/app/plugins/datasource/prometheus/partials/config.html'; current: any; /** @ngInject */ constructor($scope) { this.current.jsonData.httpMethod = this.current.jsonData.httpMethod || 'GET'; } }
/* Copyright 2018 Esri 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 writing, software d...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Sankacoin</source> <translation>Acerca de Sankacoin</translation> ...
import isString from '../../utils/isString'; describe('isString', () => { it('should return true when value is a string', () => { expect(isString('')).toBeTruthy(); expect(isString('foobar')).toBeTruthy(); }); it('should return false when value is not a string', () => { expect(isString(null)).toBeFa...
import { beforeEachProviders, describe, inject, async, it, expect } from '@angular/core/testing'; import { TestComponentBuilder } from '@angular/compiler/testing'; import { SliderGameStateBase } from '../slider.game.state.base'; /** * The main class of unit testing */ export function main() { /** * Unit t...
import { Request } from 'express'; import { UserWithId } from './userWithId.interface'; interface RequestWithUser extends Request { user: UserWithId; } export default RequestWithUser;
/** * @file Swing 招手 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime'; export default IconWrapper( 'swing', true, (h: IconHelper, props: ISvgIconProps) => ( <svg ...
export default class ElectricitySensor { } //# sourceMappingURL=ElectricitySensor.d.ts.map
<?xml version="1.0" ?><!DOCTYPE TS><TS language="af_ZA" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Wisecoin</source> <translation type="unfinished"/> </message>...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="fa_IR"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Loopcoin</source> <translation>در مورد بیتکویین...
/* * @Author: theajack * @Date: 2021-08-12 23:54:12 * @LastEditor: theajack * @LastEditTime: 2021-08-13 00:49:06 * @Description: Coding something * @FilePath: \tc-image\src\geometry\draw\stage.ts */ import {Layers} from './layers'; export class Stage { width: number; height: number; container: HTML...
import { RoomsModule } from './rooms.module'; describe('RoomsModule', () => { let roomsModule: RoomsModule; beforeEach(() => { roomsModule = new RoomsModule(); }); it('should create an instance', () => { expect(roomsModule).toBeTruthy(); }); });
import { Field, ID, ObjectType } from '@nestjs/graphql'; import { Column, CreateDateColumn, Entity, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn, } from 'typeorm'; import { Restaurant } from '../../restaurant/entities/restaurant.entity'; @ObjectType() @Entity() export class RestaurantImage { @Prim...
import { Action } from '@ngrx/store'; export enum StatusActionTypes { LoadStatuses = '[Status] Load Statuses', StatusesLoaded = '[Status] Statuses loaded' } export class LoadStatuses implements Action { readonly type = StatusActionTypes.LoadStatuses; } export class StatusesLoaded implements Action { readonly...
import {UpdateRecorder} from '@angular-devkit/schematics'; import {getDecoratorMetadata, getMetadataField} from '@schematics/angular/utility/ast-utils'; import * as ts from 'typescript'; export function insertMetaEntry(field: string, file: ts.SourceFile, recorder: UpdateRecorder, def: string): boolean { let node = g...
import { v4 as uuid } from 'uuid'; import { SagaIterator, delay } from 'redux-saga'; import { all, race, call, put, cancelled, takeEvery } from 'redux-saga/effects'; import { BEGIN, COMMIT, REVERT } from 'redux-optimistic-ui'; import { Action } from 'typescript-fsa'; import { replace } from 'connected-react-router'; im...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-home', templateUrl: './home.component.html', styleUrls: ['./home.component.css'] }) export class HomeComponent implements OnInit { constructor() { } ngOnInit(): void { } }
import React, { Component, DragEventHandler } from 'react' import cx from 'classnames' import analytics from 'src/analytics' const styles = require('./list-item.css') export interface Props { listName: string isMobileList: boolean isFiltered: boolean onEditButtonClick: React.MouseEventHandler<HTMLBut...
import { Injectable } from '@angular/core'; import { ResourcesTreeInterface } from '../../interfaces/resources-tree.interface'; @Injectable({ providedIn: 'root' }) export class UtilsService { constructor( ) { } /** * Serve para inicializar o indexPath de cada elemento passado. * * * @param src Re...
import { AxiosAdapter, AxiosInstance, AxiosRequestConfig } from "axios"; type CallbackResponseSpecFunc = (config: AxiosRequestConfig) => any[] | Promise<any[]>; type ResponseSpecFunc = (statusOrCallback: number | CallbackResponseSpecFunc, data?: any, headers?: any) => MockAdapter; interface RequestHandler { reply:...
import { useRouting } from '@/routing' import { Breadcrumbs as BPBreadcrumbs } from '@blueprintjs/core' import { observable } from 'mobx' import { useObserver } from 'mobx-react-lite' import React, { FunctionComponent, useEffect } from 'react' const store = observable([] as Array<{ url: string label: string }>) e...
import { EPropertyType } from "./property.types"; export default class PropertyHelper<T> { parsePropertyValue(json: any): T{ return json as T } convertPropertyValueToPureJson(propertyValue: T): any{ return propertyValue } }
import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { CommonModule } from '@angular/common'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { AdminLayoutRoutes } from './admin-layout.routing'; import { DashboardComponent } from '../../dashboard/das...
import m from 'mithril'; import { SVGAttributes } from '../svg'; declare const TalkBubblesLine: m.Component<SVGAttributes>; export default TalkBubblesLine;
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ReactiveFormsModule } from '@angular/forms'; import { AppRoutingModule } from '../app-routing.module'; import { SearchFormComponent } from './search-form.component'; @NgModule({ declarations: [ SearchFormComponent ], ...
import type { BytemdPlugin } from 'bytemd'; import type * as K from 'katex'; import remarkMath from 'remark-math'; import { icons } from './icons'; import en from './locales/en.json'; export interface BytemdPluginMathOptions { locale?: Partial<typeof en>; katexOptions?: Omit<K.KatexOptions, 'displayMode'>; } expo...
import { Outposts } from "../Outposts"; import { OutpostsClient } from "../OutpostsClient"; import { ListSitesCommand, ListSitesCommandInput, ListSitesCommandOutput } from "../commands/ListSitesCommand"; import { OutpostsPaginationConfiguration } from "./Interfaces"; import { Paginator } from "@aws-sdk/types"; /** * ...