text
stringlengths
10
953k
import { DragHandler } from "./drag-manager"; import { BrowserJsPlumbInstance } from "./browser-jsplumb-instance"; import { jsPlumbDOMElement } from './element-facade'; import { Drag, DragStartEventParams, DragStopEventParams, DragEventParams, BeforeStartEventParams } from "./collicat"; import { Connection, Endpoint, E...
import { Observable } from 'rxjs'; import { CommitFunction, CommittedEvent, DocumentMutationEvent, DocumentRebaseEvent, SnapshotEvent } from './types'; import { ListenerEvent } from '../getPairListener'; import { Mutation } from '../types'; export declare type BufferedDocumentEvent = SnapshotEvent | DocumentRebaseEvent...
/** * Copyright (c) Facebook, Inc. and its affiliates. 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. */ import type {Config} from '@jest/types'; import type {AggregatedResult} from '@jest/test-result'; import {Cus...
// *** 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"; /*...
// Type definitions for chrome-remote-interface 0.31 // Project: https://github.com/cyrus-and/chrome-remote-interface // Definitions by: Khairul Azhar Kasmiran <https://github.com/kazarmy> // Seth Westphal <https://github.com/westy92> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped //...
import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, Directive, ElementRef, EventEmitter, Input, NgZone, OnDestroy, Output, QueryList, ViewEncapsulation } from '@angular/core'; import { Subscription, fromEvent, Subject } from 'rxjs'; import { startW...
// This file can be replaced during build by using the `fileReplacements` array. // `ng build` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { production: false, auth: { url: 'http://localhost:8080/api/auth/', ...
import {combineLatest as observableCombineLatest, Observable } from 'rxjs'; import { CatalogElement } from '../../../model/catalog.element'; import { ILoggerService } from '../../../service/logging/i.logger.service'; import { Component, Inject, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@an...
// Type definitions for device.js // Project: https://github.com/soenkekluth/device.js // Definitions by: Barin Britva <https://github.com/barinbritva> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped function device(userAgent?: string, classContainer?: Element): device.Device; declare namespace dev...
import {Objeto} from '../../Expresiones/Objeto' export interface Data { Nombre: string; Tipo: string; Fila: number; Columna: number; Padre: string; TipoEtiqueta: number; //stackPosition:number; } export class xmlFactory{ tablaSimbolos:Data[] = []; constructor(xml:Objeto[]){ ...
import React, { FunctionComponent } from 'react'; import { FormattedMessage } from 'react-intl'; import { Undertekst, Undertittel } from 'nav-frontend-typografi'; import { BorderBox, VerticalSpacer } from '@fpsak-frontend/shared-components'; import { DatepickerField } from '@fpsak-frontend/form'; import { dateBeforeOr...
import { useUserDeactivatePage } from '@server/domain/user/page/user-deactivate-page' import { useUserUpdateApi } from '@server/domain/user/api/user-update-api' import { useBannerApi } from '@server/domain/banner/api/banner-api' import { useUserPwResetPage } from '@server/domain/user/page/user-password-page' import { u...
import { expect } from 'chai' describe('Deferred', () => { it('test', async () => { expect(true).to.not.eq(false) }) })
import { createSlice, PayloadAction } from "@reduxjs/toolkit"; import { CheckoutData } from "./checkout.types"; type InitialStateType = { purchasing: boolean; errorMessage: null | string; }; export const initialState: InitialStateType = { purchasing: false, errorMessage: null, }; const slice = createSlice({ ...
export const AssetKeys = { Player: "player", FloorTiles: "FloorTiles", }; export const AssetPaths = { Player: "assets/player_down.png", FloorTiles: "assets/spectrum-atlas.png", };
import { Object3d, IVector3 } from "./Object3d"; export class Script3dObject extends Object3d { private _scene3d: Laya.Scene3D; private _sprite3d: Laya.Sprite3D; constructor(prefab: Laya.Sprite3D, scene3d: Laya.Scene3D) { super(); this._scene3d = scene3d; this._sprite3d = Laya.Spr...
import React, {forwardRef, memo} from 'react'; import convertListToArray from '../___utils/convertListToArray'; import filterList from '../___utils/filterList'; import groupList from '../___utils/groupList'; import {isBoolean, isNil} from '../___utils/isType'; import limitList from '../___utils/limitList'; import rever...
<TS language="fr_FR" version="2.1"> <context> <name>AddNewAddressDialog</name> <message> <source>Dialog</source> <translation>Dialogue</translation> </message> <message> <source>New Address</source> <translation>Nouvelle adresse</translation> </message> <message> ...
import { Entity, PrimaryGeneratedColumn, Column, OneToMany } from 'typeorm'; import { ProjectEntity } from './project'; import { TimeDataEntity } from './time-data'; @Entity('Product') export class ProductEntity { @PrimaryGeneratedColumn() id: number; @Column({ length: 100 }) name: string; @OneTo...
import { AddProject } from './AddProject' import { AddTargetDependency } from './AddTargetDependency' import { SetBuildSettings } from './SetBuildSettings' export interface PbxProjTransformerConfig { addProjects: AddProject[] addTargetDependencies: AddTargetDependency[] setBuildSettings: SetBuildSettings[] }
import {m} from 'malevic'; import ThemeControl from './theme-control'; import {ColorDropDown} from '../../../controls'; type SelectionColorValue = '' | 'auto' | string; interface SelectionEditorProps { value: SelectionColorValue; onChange: (value: SelectionColorValue) => void; onReset: () => void; } expo...
/* * Squidex Headless CMS * * @license * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ // tslint:disable:prefer-for-of import { FormArray, FormBuilder, FormControl, FormGroup, ValidatorFn, Validators } from '@angular/forms'; import { DateTime, Form, formControls, Immutab...
import { useRouter } from 'next/router' import Head from 'next/head' import Layout, { siteTitle } from '../components/layout' import utilStyles from '../styles/utils.module.css' import People from 'components/people'; export default function Home() { const { query } = useRouter(); const page: number = parseInt(que...
import { FC, HTMLAttributes, RefCallback, RefObject } from 'react'; export interface Icon24FlashProps extends HTMLAttributes<HTMLDivElement> { fill?: string; width?: number; height?: number; getRootRef?: RefCallback<HTMLDivElement> | RefObject<HTMLDivElement>; } declare const Icon24Flash: FC<Icon24Flash...
import { removeAllChild } from '../util'; import { CLASS_PREFIX } from '../style'; import { intl } from '../i18n'; export class Table { readonly container: HTMLElement; readonly data: Record<string, any>[]; constructor(container: HTMLElement, data: Record<string, any>[]) { this.container = container; thi...
import { isURL, cleanPath, generateUrl, isNextInternalUrl, createDefaultLocaleReplace, } from './index' describe('next-sitemap', () => { test('isURL : Valid', () => { expect(isURL('https://example.com')).toBeTruthy() }) test('isURL : Invalid', () => { expect(isURL('/someone-relative/path/item....
export interface IUser { email: string; password: string; username: string; }
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. /* eslint-disable max-nested-callbacks */ import {createSelector} from 'reselect'; import { getAllChannels, getCurrentChannelId, getMyChannelMemberships, getUnreadChannelIds, } from 'matter...
export * from './accident'; export * from './api-response'; export * from './assignment'; export * from './login-response'; export * from './login-payload'; export * from './maintenance'; export * from './offence'; export * from './pmt-waybill'; export * from './pml-waybill'; export * from './rating'; export * from '....
import { expect, use, assert } from 'chai'; // eslint-disable-next-line @typescript-eslint/no-var-requires use(require('chai-string')); import { before, after } from 'mocha'; import * as vscode from 'vscode'; import * as path from 'path'; import * as os from 'os'; import * as fs from 'fs'; import { ValDownloader } fro...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lv_LV" version="2.1"> <context> <name>SBI_ImagesIcon</name> <message> <location filename="../sbi_imagesicon.cpp" line="33"/> <source>Modify images loading settings per-site and globally</source> <translation>Pārveidot attēlu ielādēšanas ie...
export interface ITaskListProps { children: React.ReactNode; } export const TaskList = (props: ITaskListProps) => { return <div>{props.children}</div>; };
import { Injectable } from '@angular/core'; import { Actions, Effect, ofType } from '@ngrx/effects'; import { GithubIssueActionTypes } from './github-issue.actions'; import { select, Store } from '@ngrx/store'; import { delay, filter, map, switchMap, tap, throttleTime, withLatestFrom } from 'rxjs/operators'; import { T...
/** * 組み込みマップ定義 * * データ値: * (スペース) ... マス無し * - ... マス * b ... 初期配置される黒石 * w ... 初期配置される白石 */ export type Map = { name?: string; category?: string; author?: string; data: string[]; }; export const fourfour: Map = { name: '4x4', category: '4x4', data: [ '----', '-wb-', '-bw-', '----' ] }; expo...
import Node from '../components/node' import IPLDNode from './ipld-node' class File extends IPLDNode { public path?: string public link: string public constructor(data: any, opts?: any) { super('file') this.path = data.path || undefined this.link = data.link } public async toIPLD(): Promise<any...
import { useCallback, useEffect, useState } from 'react'; import { useWallet } from 'use-wallet'; import { BigNumber } from 'ethers'; import ERC20 from '../tomb-finance/ERC20'; const useAllowance = (token: ERC20, spender: string, pendingApproval?: boolean) => { const [allowance, setAllowance] = useState<BigNumber>(n...
import {LicenseDetails} from '../../../models/'; import {createLicenseDetailsFromDiscriminatorValue} from '../../../models/createLicenseDetailsFromDiscriminatorValue'; import {ODataError} from '../../../models/oDataErrors/'; import {createODataErrorFromDiscriminatorValue} from '../../../models/oDataErrors/createODataEr...
import { Observable } from "rxjs"; import { NavigationExtras } from "@angular/router"; import { ParentBusiness } from "./parent.business"; export declare class SystemBusiness extends ParentBusiness { static wins: any; static menus: any; static store: any; static init(pid: string, window: any, store: any...
import * as AWS from 'aws-sdk'; declare const awsUtil: { fetchComputeOptimizerInstanceRecommendations: (accountIds: string[] | undefined, regions: string[]) => Promise<AWS.ComputeOptimizer.InstanceRecommendation[]>; fetchComputeOptimizerVolumeRecommendations: (accountIds: string[] | undefined, regions: string[]...
// tom-weatherhead/thaw-grammar/src/common/domain-object-model/set-usage.ts import { ifDefinedThenElse } from 'thaw-common-utilities.ts'; import { IEnvironmentFrame } from './environment-frame'; import { IExpression } from './iexpression'; import { IGlobalInfo } from './iglobal-info'; import { IVariable } from './var...
import * as Helpers from '@secret-agent/testing/helpers'; import navigatorJson from '@secret-agent/emulate-chrome-80/navigator.json'; import { inspect } from 'util'; import ChromeCore from '@secret-agent/core/lib/ChromeCore'; import Core from '@secret-agent/core'; import Emulators from '@secret-agent/emulators'; import...
/* GENERATED FILE */ import React, { forwardRef } from "react"; import { IconWeight, IconProps, PaintFunction, renderPathForWeight, } from "../lib"; import IconBase, { RenderFunction } from "../lib/IconBase"; const pathsByWeight = new Map<IconWeight, PaintFunction>(); pathsByWeight.set("bold", (color: string...
import express from "express"; import swaggerUI from "swagger-ui-express"; import { router } from "./routes"; import swaggerFile from "./swagger.json"; const app = express(); app.use("/api-docs", swaggerUI.serve, swaggerUI.setup(swaggerFile)); app.use(express.json()); app.use(router); app.listen(3333, () => { co...
export declare const IS_IOS: boolean; export declare const IS_ANDROID: boolean; export declare const viewportHeight: number; export declare const concatOpenedAndPrepared: (opened: string[], prepared: string[]) => { name: string; status: 'ready' | 'prepare'; }[];
import { Box, Button, CircularProgress, FormControl, FormHelperText, Grid, MenuItem, Paper, Select, styled, Typography, } from "@material-ui/core"; import React from "react"; import { Capability, useGoToLocationPresetMutation, useGoToLocationPresetsQuery, useR...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as utilitie...
import React, { ReactElement, useCallback, useState } from 'react'; import usePropState from '../../../../hooks/use-prop-state'; import StaticDataTableBody from './StaticDataTableBody'; import StaticDataTableFooter from './StaticDataTableFooter'; import StaticDataTableHeader from './StaticDataTableHeader'; import { I...
import BinaryStream from '../../common/binarystream'; import IndexEntry from './indexentry'; import Reference from './reference'; import Md34 from './md34'; import ModelHeader from './modelheader'; /** * A model. */ export default class Model { entries: IndexEntry[]; model: ModelHeader | null; constructor(src...
import {Observable} from 'rxjs' import CloudFormation from 'aws-sdk/clients/cloudformation' import {DOCKERLESS_EVENT} from '@utils/constants' import checkResourceExists from '@modules/deploy/actions/shared/check-resource-exists' const checkSharedResourcesExist = (cloudFormationClient: CloudFormation): Observable<DOC...
import React, { FC } from 'react' interface Props { width?: number offset?: number } const ViewPort: FC<Props> = ({ width, offset, children }) => ( <svg width={`${width}%`} height="100%" x={`${offset}%`} y="0"> {children} </svg> ) export default ViewPort
// const mongoose = require('mongoose'); import * as mongoose from 'mongoose'; const config = require('config'); const OAuthAccessToken = require('./OAuthAccessToken'); const OAuthAuthorizationCode = require('./OAuthAuthorizationCode'); const OAuthClient = require('./OAuthClient'); const OAuthRefreshToken = require('./...
export interface Todo { id?: number; title: string; isDone?: boolean; }
// Documentation and interface for walk were adapted from Go // https://golang.org/pkg/path/filepath/#Walk // Copyright 2009 The Go Authors. All rights reserved. BSD license. import { unimplemented, assert } from "../testing/asserts"; import { join } from "../path/mod"; const { readdir, readdirSync, stat, statSync } = ...
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { RouterModule } from '@angular/router'; import { JasperExamplev1SharedModule } from 'app/shared'; import { AuthorComponent, AuthorDetailComponent, AuthorUpdateComponent, AuthorDeletePopupComponent, AuthorDeleteDialogComponent...
/* tslint:disable:jsx-no-lambda */ /** * * Question * */ import React from 'react'; import { Card, Checkbox, Row, Divider, Radio, Tag, Alert, Button } from 'antd'; import { has } from 'lodash'; import styled from 'styles/styled-components'; const order = { 0: 'a', 1: 'b', 2: 'c', 3: 'd', 4: 'e', 5: 'f...
import { StatementPosition, SuggestionKind } from '../../monarch/types'; export function getSuggestionKinds(statementPosition: StatementPosition): SuggestionKind[] { switch (statementPosition) { case StatementPosition.PredefinedFunction: return [SuggestionKind.FunctionsWithArguments]; case StatementPos...
import { useConsolidatedRef } from '@ui5/webcomponents-react-base/lib/useConsolidatedRef'; import React, { forwardRef, Ref, useMemo } from 'react'; import { Radar } from 'react-chartjs-2'; import { useTheme } from 'react-jss'; import { ChartBaseProps } from '../../interfaces/ChartBaseProps'; import { InternalProps } fr...
import { parse as parseQs } from "qs"; import * as React from "react"; import { Route, RouteComponentProps, Switch } from "react-router-dom"; import { WindowTitle } from "../components/WindowTitle"; import i18n from "../i18n"; import { categoryAddUrl, categoryListUrl, categoryUrl } from "./urls"; import { CategoryCreat...
import "codemirror/lib/codemirror.css"; // theme import "codemirror/theme/3024-day.css"; import "codemirror/theme/3024-night.css"; import "codemirror/theme/abcdef.css"; import "codemirror/theme/ambiance-mobile.css"; import "codemirror/theme/ambiance.css"; import "codemirror/theme/ayu-dark.css"; import "codemirror/them...
// #region Interface Imports import { GoogleAnalyticsEvent, GtagEventOptions } from './Analytics'; // #endregion Interface Imports declare global { interface Window { gtag: ( type: 'config' | 'event', intent: string, options: { page_path: string } | GtagEventOptions, ...
// Libraries import React, {PureComponent} from 'react' import {connect} from 'react-redux' // Components import {Form, Overlay} from '@influxdata/clockface' import LineProtocolTabs from 'src/dataLoaders/components/lineProtocolWizard/configure/LineProtocolTabs' import OnboardingButtons from 'src/onboarding/components/...
import { Mesh, BufferGeometry, ColorRepresentation, TextureEncoding, WebGLRenderTarget } from 'three'; export interface ReflectorOptions { color?: ColorRepresentation; textureWidth?: number; textureHeight?: number; clipBias?: number; shader?: object; encoding?: TextureEncoding; } export class ...
/// <reference types="node" /> import * as auth0 from 'auth0'; import idToken = require('auth0/src/auth/idToken'); const management = new auth0.ManagementClient({ token: '{YOUR_API_V2_TOKEN}', domain: '{YOUR_ACCOUNT}.auth0.com', }); const uManagement = new auth0.ManagementClient<{ aTest: string }, { uTest: s...
import { Injectable } from "@nestjs/common"; import { plainToClass } from "class-transformer"; import { ModelDto } from "src/entities/dtos/model/model.dto"; import { UserDto } from "src/entities/dtos/user/user.dto"; import { VehicleCreateDto } from "src/entities/dtos/vehicle/vehicle-create.dto"; import { VehicleUpdateD...
import { Test, TestingModule } from "@nestjs/testing"; import { CheckPasswordTypoInterface } from "../interfaces/utils/verifyNewPasswordUtil/check-password-typo.interface"; import { VerifyNewPasswordInterface } from "../interfaces/utils/verifyNewPasswordUtil/verify-new-password.interface"; import { VerifyNewPasswordUti...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
import type { Story } from "@storybook/react"; import SearchPagination from "./SearchPagination"; export default { title: "organisms/SearchPagination", component: SearchPagination, }; const Template: Story<Parameters<typeof SearchPagination>[0]> = (args) => ( <SearchPagination {...args} /> ); export const Defa...
import { name, version } from "./package.json"; import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidFunction } from "@aws-sdk/invalid-dependency"; import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64...
import { UsersController } from './users.controller'; import { Module } from '@nestjs/common'; @Module({ controllers: [UsersController], }) export class UsersModule {}
/** * This is an autogenerated file created by the Stencil build process. * It contains typing information for all components that exist in this project * and imports for stencil collections that might be configured in your stencil.config.js file */ declare global { namespace JSX { interface Element {} ex...
import { NgModule } from '@angular/core' import { CommonModule } from '@angular/common' import { MatButtonModule, MatIconModule, MatTooltipModule } from '@angular/material' import { BtnFullscreenComponent } from './btn-fullscreen.component' @NgModule({ declarations: [BtnFullscreenComponent], imports: [ CommonM...
import styled from "styled-components"; import * as Sentry from "@sentry/react"; import { useDispatch, useSelector } from "react-redux"; import React, { useState, useCallback } from "react"; import { Route, Switch } from "react-router"; import EditorsRouter from "./routes"; import BottomBar from "./BottomBar"; import ...
import { assignNativeAudioNodeAudioParamValue } from '../helpers/assign-native-audio-node-audio-param-value'; import { assignNativeAudioNodeOption } from '../helpers/assign-native-audio-node-option'; import { assignNativeAudioNodeOptions } from '../helpers/assign-native-audio-node-options'; import { TNativePannerNodeFa...
import { NgModule, ApplicationRef, ViewContainerRef } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { FormsModule, ReactiveFormsModu...
import { OperatorFunction, ObservedValueOf } from '../../internal/types'; import { mergeMap } from './mergeMap'; import { ObservableInput } from '../types'; /* tslint:disable:max-line-length */ export function mergeMapTo<O extends ObservableInput<any>>(innerObservable: O, concurrent?: number): OperatorFunction<any, Ob...
import {Injectable} from '@angular/core'; import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import {Observable} from 'rxjs'; @Injectable() export class HttpXSRFInterceptor implements HttpInterceptor { constructor() { } intercept(req: HttpRequest<...
export interface SourcePosition { row: number; column: number; to_string: () => string; } export interface SourceRange { start: SourcePosition; end: SourcePosition; to_string: () => string; } export declare let mk_range: (sr: number, sc: number, er: number, ec: number) => SourceRange; export dec...
import { Helmet } from 'react-helmet'; import OSSContent from '../components/content/OSSContent'; <Helmet> <title>Techspaces Uganda | Open Source Software</title> <meta name="title" content="Techspaces Uganda" /> <meta name="keywords" content="community, open source, developers, kampala, u...
import m from "mithril"; import { SlimdownView } from "mithril-ui-form"; import l3 from "../../assets/l3-schema.png"; const md = `<h4 class="primary-text">Explanation of the Lessons Learned Library</h4> <h5 class="primary-text">Objective</h5> The Lessons Learned Library (L3) aims to support organisations in editing, ...
import React from 'react' import { ConfigProvider, Tooltip } from 'antd' import type { TooltipPlacement } from 'antd/es/tooltip' import ReactDOM from 'react-dom' import classnames from 'classnames' import type { IEvent } from '@antv/xflow-core' import { createGraphConfig } from '@antv/xflow-core' import type { Edge } f...
type PageLayout = { children: React.ReactNode; pageMeta?: any; }; export const Layout: React.FC<PageLayout> = ({ children, pageMeta }) => { const meta = { title: "Andre de Vries", description: "My writings about data, data analytics, web developement and the Cloud. I'm a Solutions Engineer who work...
/* eslint-disable */ /** * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC * */ import { TNode } from '../common'; export interface TdTabsProps { /** * 选项卡是否可增加 * @default false */ addable?: boolean; /** * 是否禁用选项卡 * @default false */ disabled?: boolean; /** * 是否开启拖拽调整顺序 * @default false */ d...
import { settingsValidation } from '@splitsoftware/splitio-commons/src/utils/settingsValidation/index'; import { defaults } from './defaults'; import { validateStorageCS } from '@splitsoftware/splitio-commons/src/utils/settingsValidation/storage/storageCS'; import { validatePluggableIntegrations } from '@splitsoftware/...
import { IOptions, IAudioMetadata, ParserType } from './type'; import { ITokenizer } from 'strtok3/lib/core'; import { INativeMetadataCollector } from './common/MetadataCollector'; export interface ITokenParser { /** * Initialize parser with output (metadata), input (tokenizer) & parsing options (options). ...
import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, DoCheck, ElementRef, HostBinding, Input, OnInit, TemplateRef, ViewChild } from '@angular/core'; import { IFilteringExpression } from '../../../data-operations/filtering-expression.interface'; impor...
import { RouteConfig } from 'vue-router'; /** * Naming convention * * index: List * Single * Edit * Create */ const routes: RouteConfig[] = [ { path: '/', component: () => import('layouts/MainLayout.vue'), children: [ { path: '', name:'landing', component: () => import('pages/Pages/Landing...
/** * Cors middleware. * @file CORS 中间件 * @module middleware/cors * @author Surmon <https://github.com/surmon-china> */ import { Request, Response } from 'express'; import { Injectable, NestMiddleware, HttpStatus, RequestMethod } from '@nestjs/common'; import { isDevMode } from '@app/app.environment'; import * as...
import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { BrowserRouter, Route } from 'react-router-dom'; import { Asset } from './asset'; import { Home } from './home'; import { Message } from './message'; import { Network } from './network'; import { Oep4 } from './oep4'; import { Provider } fro...
// TypeScript Version: 2.1 import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaExternalLinkSquare extends React.Component<IconBaseProps, any> { }
import { async, TestBed } from '@angular/core/testing'; import { ListItemMenuModule } from './list-item-menu.module'; describe('ListItemMenuModule', () => { beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ListItemMenuModule] }).compileComponents(); })); it('should create', () =...
import { Nuevousuario } from './nuevousuario'; describe('Nuevousuario', () => { it('should create an instance', () => { expect(new Nuevousuario()).toBeTruthy(); }); });
/** * EVE Swagger Interface * An OpenAPI for EVE Online * * OpenAPI spec version: 0.7.6 * * * 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. */ /** * 200 ok object */ export interface GetAlli...
import { Directive, OnChanges, ElementRef, Input, Output, EventEmitter, Renderer2, OnInit } from '@angular/core'; @Directive({ // tslint:disable-next-line directive-selector selector: 'input[icheck]' }) export class NgxIcheckDirective implements OnChanges, OnInit { @Input('icheck') public isChecked: any; @O...
import { OptionsObject } from 'notistack' import { getNetworkName } from 'src/config' export const SUCCESS = 'success' export const ERROR = 'error' export const WARNING = 'warning' export const INFO = 'info' const shortDuration = 5000 const longDuration = 10000 export type NotificationId = keyof typeof NOTIFICATION...
import { Controller, Post, UseGuards, Req, Param, UnauthorizedException, Inject, BadRequestException, } from '@nestjs/common'; import { JwtAuthGuard } from '../auth/jwt.guard'; import { User } from '../entity/user.entity'; import { Location } from '../entity/location.entity'; import { UsersService } fro...
import React from "react"; import ReactJson from "react-json-view"; import { useSelector } from "../modules/store"; export const ComponentDataArea: React.FC = () => { const selectedElement = useSelector((state) => state.panel.selectedElement?.data as any); return ( <section className="p-2 py-4"> {select...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ka" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Vprocoin</source> <translation type="unfinished"/> </message> <message> <location line=...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bg" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About climacoin</source> <translation type="unfinished"/> </message> <message> <location line...
import AsyncArray from '../core/main'; import { H_THOUSAND, MILLION, FIFTY_MILLION, resolveChunkSize } from '../utils'; import { ArrayCallback, AsyncArrayType } from '../types/types'; /** * Takes a callback function as the first argument which recieves the current iterator, index and context as arguments. * Takes an...
import { Base } from './base'; export class Stone extends Base { constructor(scene, x, y) { super(scene, x, y, "rock"); this.asset = "rock"; // this.setTint(0x32a881); } }