text stringlengths 10 953k |
|---|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MaterialDesignFrameworkModule } from '@cfstratos/ajsf-material';
import {
ApplicationStateIconComponent,
} from '../../../../../../core/src/shared/components/application-state/application-state-icon/application-state-icon.component';
... |
/*!
* @license
* Copyright 2016 Alfresco Software, Ltd.
*
* 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 app... |
import { bindable, customElement } from 'aurelia-templating';
import { bindingMode } from 'aurelia-binding';
@customElement('re-form-number')
export class ReFormNumber {
@bindable({
defaultBindingMode: bindingMode.oneTime
}) label = '';
@bindable({
defaultBindingMode: bindingMode.oneTime
}) name = '';
... |
// Copyright 2020 LimeChain Ltd.
//
// 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 w... |
// Type definitions for Angular JS 1.3 (ngRoute module)
// Project: http://angularjs.org
// Definitions by: Jonathan Park <https://github.com/park9140>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="angular.d.ts" />
declare module "angular-route" {
var _: string;
export = ... |
import * as PT from "prop-types";
import * as React from "react";
import classNames from "classnames";
import "nav-frontend-paneler-style";
const cls = (className, border) =>
classNames("panel", className, {
"panel--border": border,
});
export interface PanelProps extends React.HTMLAttributes<HTMLDivElement> ... |
import {CommandoMessage} from "discord.js-commando";
import {Bot} from "../../Bot";
import {SafeCommand} from "../SafeCommand";
export class ResumeCommand extends SafeCommand {
public constructor(private bot: Bot) {
super(bot.client, {
name: "resume",
group: "music",
memberName: "resume",
... |
import React, { VFC } from 'react';
import Styles from './shopcard.module.scss';
import { VscLink } from 'react-icons/vsc';
import { Button } from '../../../components/atoms/buttons/Button';
type ShopCardProps = {
shopImage: string;
shopCategory: string;
shopName: string;
shopLinkText: string;
onClick?: () =... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/* THIS FILE IS AUTO-GENERATED – DO NOT EDIT */
import React, {forwardRef} from 'react'
/**
* @public
*/
export const EqualIcon = forwardRef(function EqualIcon(
props: React.SVGProps<SVGSVGElement>,
ref: React.Ref<SVGSVGElement>
) {
return (
<svg
data-sanity-icon="equal"
width="1em"
heig... |
// tslint:disable-next-line:variable-name
export const SimpleMarketBytecode = |
import { Assertions, Logger, Log, Pipeline, Step, Waiter } from '@ephox/agar';
import { UnitTest } from '@ephox/bedrock-client';
import { TinyApis, TinyDom, TinyLoader, TinyUi } from '@ephox/mcagar';
import LinkPluginUtils from 'tinymce/plugins/link/core/Utils';
import LinkPlugin from 'tinymce/plugins/link/Plugin';
imp... |
/**
* Copyright (c) 2017-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Zepei Xu <xuzepei19950617@gmail.com>
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import * as Schema from './schema';
import { ReaderResult as Result } from '../result';
import { Task } fro... |
import { URLSearchParams } from 'url';
import { Route, HandleValue } from '@vercel/routing-utils';
export type HTTPHeaders = Record<string, string>;
export interface ProxyConfig {
routes: Route[];
lambdaRoutes: string[];
staticRoutes: string[];
prerenders: Record<string, { lambda: string }>;
}
export interfa... |
export * from './getWebpackAlias';
export * from './icuFormat';
export * from './parseNumber';
export * from './eslintConfigExistsSync';
export * from './fixChunkPath';
export * from './rocketTitle'; |
import { Icon, Link, Text } from '@gnosis.pm/safe-react-components'
import { Fragment, ReactElement, useContext } from 'react'
import { useSelector } from 'react-redux'
import { Transaction, TransactionDetails } from 'src/logic/safe/store/models/types/gateway.d'
import { sameString } from 'src/utils/strings'
import { ... |
declare class EventSlot {
callback: (...args: any[]) => any;
constructor(callback: (...args: any[]) => any);
fire<Variant extends any>(value: Variant): boolean | void;
} |
// tslint:disable:max-line-length
import WebClient from '../WebClient';
import { RequestInit } from 'node-fetch';
import * as nock from 'nock';
const baseUrl = 'http://local';
const mocky = nock(baseUrl);
mocky.get('/v2/a').reply(200, {
'field1': 'value1',
'field2': 'value2'
});
mocky.get('/v2/b').reply(400, 'bad ... |
import { MigrationInterface, QueryRunner, Table } from "typeorm";
export class CreateAddressesTable1642522815570 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.createTable(
new Table({
name: "addresses",
columns: [
{
... |
import React, { FC } from 'react';
import { Link } from 'react-router-dom';
import { AppRouter } from './AppRouter';
export const App: FC = () => (
<>
<div>
<Link to='posts'>Post</Link>
<Link to='users'>User</Link>
</div>
<AppRouter />
</>
); |
import {launch} from "puppeteer";
(async () => {
const browser = await launch({
headless: false,
devtools: true,
args: [ '--proxy-server=127.0.0.1:3000' ]
});
const page = await browser.newPage();
// await page.setUserAgent("curl");
await page.setViewport({width: 1920, heigh... |
import './modes-utils';
import './modes-command';
import './modes-math';
import './modes-text';
import './modes-chem';
export * from './modes-utils'; |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { CustomLocale } from "../types/locale";
export declare const Hungarian: CustomLocale;
declare const _default: {
default?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
ar?: CustomLocale | undefined;
at?: CustomLocal... |
import { Link as BBLink, Container } from 'bumbag';
import App from 'components/App';
import Link from 'next/link';
import { CLIENT_DOMAIN } from 'config/env';
import useTranslation from 'locales/useTranslation';
import withApollo from 'lib/withApollo';
const CookiePolicyPage = () => {
const { t } = useTranslation()... |
/* eslint-disable @typescript-eslint/no-explicit-any */
import imageMetadata from '@anagolay/op-image-metadata'
import esmDirname from '@anagolay/util/esm/esmDirname'
import { beforeAll, describe, expect, it, jest } from '@jest/globals'
import { readFileSync } from 'fs'
import Jimp from 'jimp'
import jsQR from 'jsqr'
i... |
import React from 'react';
import AntdSpin from 'antd/lib/spin';
import last from 'lodash/last';
import { mergeState } from 'hooks/useMergeState';
import { fetchSYPortfolioValues } from 'modules/smart-yield/api';
import PortfolioBalance from 'modules/smart-yield/components/portfolio-balance';
import PortfolioValue fro... |
import { tsUtils } from '@neo-one/ts-utils';
import ts from 'typescript';
import { Context } from '../../../Context';
import { Types } from '../../constants';
import { IsHelper } from './IsHelper';
import { UnwrapCopyStructHelper } from './UnwrapCopyStructHelper';
import { WrapHelper } from './WrapHelper';
export clas... |
export * from './redux/index';
export * from './ng-invoices-cash-payments-validation';
export * from './ng-invoices-cash-payments-notifications'; |
import { ValueObject } from '@sp-proxy/entities/types/ValueObject'
import { InvalidValueError } from '@sp-proxy/entities/errors/InvalidValueError'
import { IValidator } from '@sp-proxy/entities/protocols/IValidator'
export class SingleSignOnServiceValidator implements IValidator {
isValid(singleSignOnService: ValueO... |
import { Component, Input } from '@angular/core';
import { DataTableColumnComponent } from '../data-table-column/data-table-column.component';
/**
* Data table column selector component; Toggle display state of columns via this popup component
*/
@Component({
selector: 'ng-data-table-column-selector',
templateU... |
import * as React from 'react';
import './work.scss';
import { ImageCard, WorkCard } from './card/workCard';
export class Work extends React.Component {
imageList: ImageCard[] = [
{
title: 'Running',
subTitle: 'WEB/PRINT',
img: 'assets/images/p-images/work01.jpg'
... |
import { CategoricalMapper } from "./categorical_mapper";
import { Factor } from "../ranges/factor_range";
import { Mapper } from "./mapper";
import { Arrayable } from "core/types";
export declare namespace CategoricalMarkerMapper {
interface Attrs extends Mapper.Attrs, CategoricalMapper.Attrs {
}
interface... |
import { browser, element, by } from 'protractor';
export class PetzPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
} |
/*
* Copyright (c) 2020 Software AG, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
* 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.o... |
import React from "react";
import { RichTextContent } from "@components/atoms";
import * as S from "./styles";
import { IProps } from "./types";
enum TABS {
DESCRIPTION,
ATTRIBUTES,
}
export const ProductDescription: React.FC<IProps> = ({
description = "",
descriptionJson = "",
attributes,
}: IProps) => {... |
/**
* Created by liujun on 2018/3/1.
*/
/**1.js语法*/
var a=12;
var b=100.0;
/**2.ts语法*/
var c:number=200; |
import { EnhancedEventEmitter } from './EnhancedEventEmitter';
import { Channel } from './Channel';
import { PayloadChannel } from './PayloadChannel';
import { ProducerStat } from './Producer';
import { MediaKind, RtpCapabilities, RtpParameters } from './RtpParameters';
export declare type ConsumerOptions = {
/**
... |
import React from 'react';
import { FormControl, InputLabel, MenuItem, Select } from '@material-ui/core';
import { C_DURATION, getDurationByLocal, T_DURATION } from '../../../21_utils/DurationHelper';
import TypographyComponent from '../../../10_atoms/base/TypographyComponent';
export interface I_TimeLengthSelector_Pr... |
import { Template } from '@aws-cdk/assertions';
import * as cdk from '@aws-cdk/core';
import * as appsync from '../lib';
import * as t from './scalar-type-defintions';
let stack: cdk.Stack;
beforeEach(() => {
// GIVEN
stack = new cdk.Stack();
});
describe('code-first implementation through GraphQL Api functions`'... |
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { DateScalar } from './common/scalars/date.scalar';
import config from './configs/config';
import { InventoryModule } from './inventory/inventory.module';
import { PrismaModule } from './prisma/prisma.module';
@Module({
im... |
import {
ConflictException,
Injectable,
NotFoundException,
UnauthorizedException,
} from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { UserEntity } from '../../models/user/user.entity';
import { Repository } from 'typeorm';
import { from, Observable } from 'rxjs';
import { UserD... |
import {
isBlank,
isString,
isArray,
StringWrapper,
BaseException,
CONST
} from 'angular2/src/facade/lang';
import {ListWrapper} from 'angular2/src/facade/collection';
import {Math} from 'angular2/src/facade/math';
import {WrappedValue, Pipe, PipeFactory} from './pipe';
import {ChangeDetectorRef} from '../c... |
import { useState, Fragment, useRef } from "react";
import Image from "next/image";
import { Dialog, Transition } from "@headlessui/react";
interface ModalProps {
path: string;
typeModal: string | undefined;
description?: string;
showModal: boolean;
setShowModal: (show: boolean) => void;
}
export default fu... |
import {IXLSXExtractOptions} from './types';
import * as events from 'events';
import * as fs from 'fs';
import * as path from 'path';
import * as os from 'os';
import * as util from 'util';
import {XLSXReader} from './reader';
export class XLSX extends events.EventEmitter {
constructor() {
super();
util.inherit... |
import * as angular from 'angular';
import { config } from './config';
import { fetchDomainString, storage } from './libs';
module app {
'use strict';
interface IPopupScope extends angular.IScope {}
class PopupController {
static $inject = ['$scope'];
private scope: IPopupScope;
p... |
import { Component } from "@angular/core";
@Component({
templateUrl: './criticality-assessment.component.html'
})
export class CriticalityAssessmentComponent {
constructor() {
}
} |
import { Component, OnInit } from "@angular/core";
import {Router} from "@angular/router";
@Component({
template: `
<top-bar></top-bar>
<div class="router">
<router-outlet></router-outlet>
</div>
`,
styles: [`
top-bar {
max-height: 49px;
d... |
import * as yaml from "js-yaml"
import _ from "lodash"
import {
getInstructionUrl,
getPageTitle,
getTracking,
index2str
} from "../common/util"
import { ItemTypeName, LabelTypeName } from "../const/common"
import { FormField } from "../const/project"
import {
isValidId,
makeSensor,
makeTask,
makeTrack
... |
import { TestBed, inject } from '@angular/core/testing';
import { PersonneService } from './personne.service';
describe('PersonneService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [PersonneService]
});
});
it('should be created', inject([PersonneService], (service: P... |
// Type definitions for ag-grid-community v21.2.0
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
import { RowNode } from "./entities/rowNode";
import { Column } from "./entities/column";
import { ColDef } from "./entities/colDef";
import { GridApi } from "./gridApi";
i... |
import { useAppSelector } from 'common/hooks';
import { selectStudiedWordCountByGroupsAndPages } from 'features/words/wordsSlice';
import React from 'react';
import { useLocation } from 'react-router-dom';
import GroupsPage from './GroupsPage';
const StudiedWordsGroups = (): JSX.Element => {
const { pathname } = use... |
import { Asset } from "./asset";
import { Price } from "./price";
export interface ProductVariantGroup {
id: string;
name: string;
meta?: any;
created?: number;
updated?: number;
options: ProductVariantOption[];
}
export interface ProductVariantOption {
id: string;
name: string;
price: Price;
asse... |
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack";
import * as __aws_sdk_types from "@aws-sdk/types";
import { DescribeDevice } from "../model/operations/DescribeDevice";
import { InputTypesUnion } from "../types/InputTypesUnion";
import { OutputTypesUnion } from "../types/OutputTypesUnion";
impor... |
import type { CommandInteraction, ContextMenuInteraction } from "discord.js";
export enum PermissionLang {
MANAGE_SERVER = "Hey, you must have the `Manage Server` permission to use this command.",
MANAGE_MESSAGES = "Hey, you must have the `Manage Messages` permission to use this command.",
}
export async function... |
export * from './types'
export * from './clone'
export * from './invoker'
export * from './isEmpty'
export * from './keys'
export * from './length'
export * from './lensPath'
export * from './lensProp'
export * from './path'
export * from './prop'
export * from './set'
export * from './values'
// export last to avoid ... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
export const defaultItemsList = [
{
text: 'First',
action: 'First',
},
{
text: 'Second',
action: 'Second',
},
{
text: 'Uno',
action: 'Uno',
},
];
export const manyItemsList = [
{
text: 'Edit',
action: 'Edit',
},
{
text: 'Remove',
action: 'Remove',
},
{
... |
import { Component, OnInit, Input, forwardRef } from '@angular/core';
import { BboxUserConfigurableProductDescription, BboxUserConfigurableProduct } from '../userconfigurable_wpsdata';
import { ControlValueAccessor, NG_VALUE_ACCESSOR, FormControl, Validators } from '@angular/forms';
import { Store, select } from '@ngrx... |
import { ServiceTemp } from "./template/serviceTemp";
import { ListPageTemp } from "./template/listPageTemp";
import { ItemPageTemp } from "./template/itemPageTemp";
import { CellItemModel } from "./../../model/cellModel";
import { ViewModelTemp } from "./template/modelTemp";
import { CreateFileService } from "../../sh... |
export interface IAudioVerifyRequest {
name?: string;
file: string;
groupId?: number;
paymentSource: "User" | "Group";
fileSize?: number;
duration?: number;
}
//# sourceMappingURL=IAudioVerifyRequest.d.ts.map |
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
// Licensed under the Apache License, Version 2.0.
import { ImageMagick } from '../../../src/image-magick';
import { IMagickImage, MagickImage } from '../../../src/magick-image';
import { MagickColors } from '../../../src/magick-colors';
import { Pixel... |
import {UserControlView} from "./UserControlView";
import {Component, ViewChild} from "@angular/core";
import {UserAuthenticationService} from "../../services/UserAuthentificationService";
import {EntryUserModal} from "../../modals/entryuser/EntryUserModal";
import {User} from "../../model/User";
@Component({
sele... |
import { View } from "./View";
import { Negociacoes } from "../models/Negociacoes";
export class NegociacoesView extends View<Negociacoes>{
template(model: Negociacoes): string{
return `
<table class="table table-hover table-bordered">
<thead>
<tr>
... |
import { RandomType } from './RandomType';
import { VerbosityLevel } from './VerbosityLevel';
import { RunDetails } from '../reporter/RunDetails';
import { RandomGenerator } from 'pure-rand';
/**
* Customization of the parameters used to run the properties
* @remarks Since 0.0.6
* @public
*/
export interface Param... |
import React, { ReactElement } from "react";
import { InstagramPage } from "../../../pages/signup/instagram";
import { LayoutStory } from "../../Layout.story";
export const Main = (): ReactElement => (
<LayoutStory>
<InstagramPage />
</LayoutStory>
);
export default {
title: "Pages/Signup/Instagram",
comp... |
import React, { forwardRef } from 'react';
import cx from 'classnames';
type OptionType = {
children: React.ReactText;
value: string;
};
export const Option = ({ children, value }: OptionType) => <option value={value}>{children}</option>;
type SelectProps = {
id: string;
onChange: React.SelectHTMLAttributes<... |
import React from "react"
import { Link, graphql } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
const BlogPostTemplate = ({ data, pageContext, location }) => {
const post = data.markdownRemark
const siteTitle = data.site.siteMetadata.title
const { previous, next } ... |
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 { HttpParams } from '@angular/common/http';
import { Component, Input, OnInit, ViewChildren } from '@angular/core';
import { FormBuilder, FormGroup, Validators, FormControl} from '@angular/forms';
import { Observable, of } from 'rxjs';
import { SearchServiceService } from '../../search/search-service.service';
... |
import {animate, keyframes, style, AnimationTriggerMetadata, animation, AnimationOptions, AnimationStyleMetadata, AnimationReferenceMetadata} from "@angular/animations";
import {DefaultAnimationConfig, directionTranslate3d, overwriteDefaultAnimationOptions, AnimationConfig, TransitionConfig, AnimationDirections, Animat... |
/** @jsx jsx */
import { jsx, useColorMode, Styled } from "theme-ui"
import { Link } from "gatsby"
import { Flex } from "@theme-ui/components"
import useSiteMetadata from "../hooks/use-site-metadata"
import ColorModeToggle from "./colormode-toggle"
import useNavigation from "../hooks/use-navigation"
import Navigation f... |
import { MakeRequest, QueryOptions } from './common-types';
import { CreateAppBundleProps } from './entities/app-bundle';
/**
* @private
*/
export declare type ContentfulAppDefinitionAPI = ReturnType<typeof createAppDefinitionApi>;
/**
* @private
*/
export default function createAppDefinitionApi(makeRequest: MakeRe... |
import Message from "./Message";
export default class ExchangeStartOkCraftMessage extends Message {
constructor() {
super();
}
} |
import { DownloadPackage } from '@/core/download'
import { UserAgent } from '@/core/utils/constants'
import { getFriendlyTitle } from '@/core/utils/title'
import { PluginMetadata } from '@/plugins/plugin'
import { DownloadVideoOutput } from '../../../../components/video/download/types'
export const plugin: PluginMetad... |
import React, { FC, useState } from 'react';
import styled from 'styled-components';
import { Steps, Row, Card } from 'antd';
import { Route, useParams, useHistory } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import { useUnmount } from 'react-use';
import { useResetForkForms } from 'hooks/... |
import { TestBed } from '@angular/core/testing';
import { AppConfigService } from './app-config.service';
describe('AppConfigService', () => {
beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => {
const service: AppConfigService = TestBed.get(AppConfigService);
expect(serv... |
import getImageWithResize from "./Resize/shared/getImageWithResize.js";
import * as Resize from "../../../src/actions/resize.js";
import {Expression} from "../../../src/qualifiers/expression.js";
describe('Tests for Transformation Action -- Resize', () => {
it('Resize with a resize mode - relative', () => {
cons... |
import { Module } from '@nestjs/common';
import { ConfigModule, ConfigType } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { BookModule } from './components/book/book.module';
import { GenderMo... |
"use strict";
import { GW_FRAME_NTF } from "./common";
import { RecordSceneStatus } from "./GW_SCENES";
export class GW_RECORD_SCENE_NTF extends GW_FRAME_NTF {
public readonly Status: RecordSceneStatus;
public readonly SceneID: number;
constructor(Data: Buffer) {
super(Data);
this.Status... |
import { Component, DebugElement, ViewChild } from '@angular/core';
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { of } from 'rxjs';
import { ToggleComponent } from './toggle.component';
import { ToggleModule } from './toggle.... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import TelemetryReporter from "vscode-extension-telemetry";
import { LaunchDebugProvider } from "../src/launchDebugProvider";
import {
createFakeExtensionContext,
createFakeTelemetryReporter,
createFakeVSCode,
... |
import {BaseResourceError} from "./BaseResourceError"
import {ResourceErrorData} from "./ResourceErrorData"
/**
* An error class that can be used to signal that a resource with a specific id already exists
*/
export class ResourceAlreadyExistsError extends BaseResourceError {
constructor(type: string, data: Reso... |
import { Routes } from '@angular/router';
import { SideNavComponent } from './side-nav.component';
export const LayoutSideNavRoutes: Routes = [
{
path: '',
component: SideNavComponent,
outlet: 'side-nav'
},
]; |
export interface OperationProps {
tags?: string[];
summary?: string;
description?: string;
externalDocs?: any;
/**
* Unique string used to identify the operation. The id MUST be unique among all operations described in the API.
* The operationId value is case-sensitive. Tools and libraries MAY use the ... |
export class Handler {
caller: any;
fn: Function;
constructor(caller: any, fn: Function) {
this.caller = caller;
this.fn = fn;
}
invoke(arg0?: any, arg1?: any, arg2?: any) {
this.fn.call(this.caller, arg0, arg1, arg2);
}
}
/**
* 简单的事件分发器实现
*/
export class Dispatcher ... |
import * as dotenv from "dotenv-flow"
import express from "express"
import {CookieOptions, Response} from "express/ts4.0"
import cookieParser from "cookie-parser"
import ExpiryMap from "expiry-map"
import shortUUID from "short-uuid"
import {AuthResponse, QRVariables, StateMapping} from "@gimly-blockchain/did-auth-siop-... |
import { Laptop32 } from "../../";
export = Laptop32; |
import Constructable from '../Constructable';
import InternalHandler, { initializeConstantsAndPrototypes } from '../InternalHandler';
import StateMachine from '../StateMachine';
import { IEventTarget, IVideoTrackListEventMap, IAddEventListenerOptions, IEventListenerOrEventListenerObject, IEventListenerOptions, IVideoTr... |
import getPort = require('get-port');
import defer = require('defer-promise');
import {forever, isAbortError} from 'abort-controller-x';
import {createServer, ServerError} from 'nice-grpc';
import AbortController from 'node-abort-controller';
import {createChannel, createClient, Metadata, Status} from '..';
import {Tes... |
import React from "react"
import Layout from "../components/Layout"
import SEO from "../components/SEO"
const NotFound = () => {
return (
<>
<SEO title='Home' />
<Layout>
<h1>404 Page Not Found</h1>
<div>Sorry, the content you are looking for does not found.</div>
</Layout>
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hu" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Compound</source>
<translation>A Compound-ról</translation>
</message>
<message>
<locat... |
/*
* Copyright 2015 - 2021 TU Dortmund
*
* 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 agr... |
import { isPlainObject } from 'lodash';
import { CloudFormationParseContext } from './types';
const intrinsicFunctionMap = {};
export function addIntrinsicFunction(
keyword: string,
func: (node, cfnContext: CloudFormationParseContext, parse: Function) => void
) {
intrinsicFunctionMap[keyword] = func;
}
export... |
// Copyright (c) 2021-2022, Brandon Lehmann <brandonlehmann@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to... |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { Hero } from './hero';
import { HeroService } from './hero.service';
import { LaunchDarklyService } from './launchdarkly.service'
@Component({
moduleId: module.id,
selector: 'my-heroes',
templateUrl: './heroes.... |
import { IMetaPartitionKey } from "../interfaces/IMetaPartitionKey"
import { PartitionKeyUUID, PartitionKey, Property, Model, SortKey, DateProperty } from "@shiftcoders/dynamo-easy"
import { MainMetaPartitionKeyMapper } from "../mappers/MainMetaPartitionKeyMapper"
import { ModelMapper } from "../mappers/ModelMapper"
im... |
/**
* @license
* Copyright 2017-2021 Open Ag Data Alliance
*
* 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 ... |
import React from "react";
import Box, { BoxProps } from "ui-box";
export interface GridProps extends BoxProps<React.ElementType> {
colNum?: number;
rowNum?: number;
}
export function Grid({ colNum, rowNum, children, ...props }: GridProps) {
const isColNumProvided = (colNum ?? false) !== false;
const isRowNum... |
import { User } from '@auth0/auth0-spa-js';
import { AuthState } from './auth-state';
declare type Action = {
type: 'LOGIN_POPUP_STARTED';
} | {
type: 'INITIALISED' | 'LOGIN_POPUP_COMPLETE' | 'GET_ACCESS_TOKEN_COMPLETE' | 'HANDLE_REDIRECT_COMPLETE';
user?: User;
} | {
type: 'LOGOUT';
} | {
type: 'ER... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.