text stringlengths 10 953k |
|---|
import { Component } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';
import { SessionDetailPage } from '../session-detail/session-detail';
import { InAppBrowser } from 'ionic-native';
@Component({
templateUrl: 'build/pages/speaker-detail/speaker-detail.html'
})
export class SpeakerD... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Any modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
/*
* Licensed to Ela... |
import { Arr } from '@ephox/katamari';
import { SugarElement, SugarNode, Traverse } from '@ephox/sugar';
import * as Structs from '../api/Structs';
import * as TableLookup from '../api/TableLookup';
import { getAttrValue } from '../util/CellUtils';
const fromRowsOrColGroups = (elems: SugarElement<HTMLTableRowElement ... |
import { writeFileSync, readdirSync } from 'fs'
const generateFFMPEGFile = (path: string) => {
const files = readdirSync(path)
const output = files
.filter((file) => file.endsWith('.jpg'))
.map((file, i, arr) => {
let duration = 100
if (i + 1 < arr.length) {
const currentTimestamp = Nu... |
import React from 'react'
import { Card, Row, Col, Slider } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (res: State) => void
}
export interface State {
padding: number
}
export class Settings extends React.Component<Props, State> {
state: State = {
padding: 20,
}
notifyC... |
import React = require('react');
import {render, fireEvent} from '@testing-library/react';
import '../../../src';
import moment from 'moment';
import {render as amisRender} from '../../../src';
import {createMockMediaMatcher, makeEnv} from '../../helper';
let originalMatchMedia: any;
beforeAll(() => {
originalMatch... |
/// <reference path="../../dxdrawlib.d.ts" />
class DxEditBox extends DxElement {
private _clicked: boolean = false;
private _selected: boolean = false;
private _text: string;
public set text(value: string) { this._text = value.replace("\n", ""); }
public get text(): string { return this._text; }
public mask... |
import { Injectable } from '@angular/core';
import { HttpClient, HttpResponse } from '@angular/common/http';
import { ObjectId, Palette, Color } from 'src/app/model';
import { Observable } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class PalettesService {
private BASE_URL = 'http://127.0.0.1:8080';
... |
import { ChangeDetectorRef, Component, HostListener, OnInit } from "@angular/core";
import { BackendApiService, TutorialStatus, User } from "./backend-api.service";
import { GlobalVarsService } from "./global-vars.service";
import { ActivatedRoute, Router } from "@angular/router";
import { IdentityService } from "./ide... |
/*
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
*/
import { GoalEnumRequestBuilder } from './GoalEnumRequestBuilder';
import { BigNumber } from 'bignumber.js';
import { AllFields, BigNumberField, CustomField, ... |
import { Request } from 'express';
import Parameter = require('pinput');
import { validateCourseNumber, validateSubject } from './api/v1/validation';
export function subjectParam(req: Request) {
return new Parameter({
name: 'subject',
rawInput: req.params.subject,
validate: validateSubject... |
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() { }
} |
export default class User {
id?: string;
username: string;
email: string;
created_at: Date;
updated_at: Date;
} |
import { Icon } from '@makerdao/dai-ui-icons'
import { AppSpinner } from 'helpers/AppSpinner'
import { GasEstimationStatus, HasGasEstimation } from 'helpers/form'
import { formatPrice } from 'helpers/formatters/format'
import { useTranslation } from 'next-i18next'
import { TFunction } from 'next-i18next'
import React f... |
import RcdaWebAppConfig from "@/config/RcdaWebAppConfig"
export default new RcdaWebAppConfig({
rcdaApiHost: "https://est1-hum-azf-bot-prod-01.azurewebsites.net"
}); |
// Copyright 2020-present the denosaurs team. All rights reserved. MIT license.
import { log } from "../deps.ts";
import type { Denon, DenonEvent } from "../denon.ts";
import type { CompleteDenonConfig } from "./config.ts";
import type { ScriptOptions } from "./scripts.ts";
const logger = log.create("daem");
/** Da... |
import tasks = require('azure-pipelines-task-lib/task');
export abstract class Provider {
protected providerServiceName: string;
static providerServiceName: any;
constructor() {
this.providerServiceName = "providerService" + tasks.getInput("provider", true)
//values are currently only ... |
import ITheme from '../interfaces/color-theme'
const theme: ITheme = {
wordBackground: '#516E41', // http://nipponcolors.com/#aoni
pronunBackground: '#36563C', // http://nipponcolors.com/#chitosemidori
posBackground: '#26453D' // http://nipponcolors.com/#tetsu
}
export default theme |
/*
* 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
* distributed u... |
import { IbmSecurity20 } from "../../";
export = IbmSecurity20; |
/**
* Copyright 2021 Bonitasoft S.A.
*
* 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... |
// Copyright 2019 The Oppia Authors. 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... |
import { Injectable } from '@angular/core';
import { AbstractDatabase } from './abstract.database';
import { Taxon } from '../model/Taxon';
import { Observable } from 'rxjs/Observable';
@Injectable()
export class TaxaDatabase extends AbstractDatabase<Taxon> {
protected getCollection() {
return 'taxa';
}
ge... |
export { NYI } from './NYI'
export { Placeholder } from './Placeholder' |
/**
* 获取目标 pos 的字符串标识
*/
const getShortPosName = function (pos: RoomPosition): string {
return `${pos.x}-${pos.y}`;
};
/**
* 向周围八个方向进行蔓延
* 该函数会返回一个可以用于迭代的函数,用于为 spreadWork 回调包装上蔓延功能
*
* @param impassableCostMatrix 包含无法通行位置的 CostMatrix(无法通行位置需要标注为 255)
* @param spreadWork 在蔓延到位置上执行的回调
* @return {(RoomPosition... |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'Ziwi on Angular 6';
} |
import Close from '@material-ui/icons/Close';
import * as classNames from 'classnames';
import * as React from 'react';
import Error from 'src/assets/icons/alert.svg';
import Check from 'src/assets/icons/check.svg';
import Flag from 'src/assets/icons/flag.svg';
import Warning from 'src/assets/icons/warning.svg';
import... |
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { DeleteEgressOnlyInternetGatewayRequest, DeleteEgressOnlyInternetGatewayResult } from "../models/index";
import {
deserializeAws_ec2DeleteEgressOnlyInternetGatewayCommand,
serializeAws_ec2DeleteEgressOnlyInternetG... |
import { Dispatch, SetStateAction } from 'react';
import {
AuthenticationError,
ForbiddenError,
NotFoundError,
} from '../../../../store/api-helper';
export const handleBadRequest = async (
setErrors?: Dispatch<SetStateAction<{}>>,
res?: Response,
requestId?: string
) => {
if (!setErrors |... |
import { Card } from '../../../interfaces'
import Set from '../Burning Shadows'
const card: Card = {
name: {
en: "Cutiefly",
fr: "Bombydou",
es: "Cutiefly",
it: "Cutiefly",
pt: "Cutiefly",
de: "Wommel"
},
illustrator: "Atsuko Nishida",
rarity: "Common",
category: "Pokemon",
set: Set,
dexId: [
74... |
import { CanActivate, ExecutionContext, Injectable } from '@nestjs/common';
import { Observable } from 'rxjs';
import { Request } from 'express';
import { Reflector } from '@nestjs/core';
import { IS_PUBLIC_KEY } from '../decorators/public-decorator';
import { ConfigService } from '@nestjs/config';
@Injectable()
expor... |
import React, { useState } from "react";
import { Form, Row, Col } from "react-bootstrap";
import {signUpMayorista} from '../api/mayorista';
import {signUpMinorista} from '../api/minorista';
import {User} from '../types/User';
import { useHistory } from "react-router-dom";
const SignUp : React.FC = (props) => {
co... |
import { Router } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';
import { Observable } from 'rxjs';
import { CentralServerService } from '../../../services/central-server.service';
import { DialogService } from '../../../services/dialog.service';
import { MessageService } from '../../.... |
import { Rule } from '@angular-devkit/schematics';
import { Schema } from './schema';
export default function addBsToPackage(options: Schema): Rule;
export declare function checkComponentName(componentName: string): boolean; |
import { Action } from '@ngrx/store';
import { User } from '../../../app/shared/models/user';
export enum FilterDialogActionTypes {
FindAuthors = '[FilterDialog] Find Authors',
FindAuthorsSuccess = '[FilterDialog] Find Authors Success',
FindAuthorsFailure = '[FilterDialog] Find Authors Failure',
SelectAuthor =... |
export class Event{
id:number;
event:string;
clgname:string;
pname1: string;
contact1:number;
dept1:string;
email1: string;
pname2: string;
contact2:number;
dept2:string;
email2: string;
constructor(values: Object = {}) {
Object.assign(this, values);
}
} |
import {Component,Input, OnInit, Output,EventEmitter} from '@angular/core';
@Component({
selector: 'app-search-box',
templateUrl: './search-box.component.html',
styleUrls: ['./search-box.component.css']
})
export class SearchBoxComponent implements OnInit {
searchTerm: string;
@Output() searchCriteria = new... |
// Copyright 2020 Google LLC
// 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 writi... |
import { renderHook, act } from '@testing-library/react-hooks';
import { render, fireEvent } from '@testing-library/react';
import { isEnabled, disable } from '@asap-hub/flags';
import { useFlags, LiveFlagsProvider } from '../flags';
const originalCookie = document.cookie;
describe('useFlags', () => {
it('provides... |
import tinycolor2 from 'tinycolor2';
import { removeUnit, escape } from '../utils';
import { TinyCanvas } from '../utils';
import { Tooltip } from '../toolbar';
import { EngineInterface } from '../types/engine';
import { RangeInterface, isRangeInterface } from '../types/range';
import { NodeInterface } from '../types/n... |
import { useEffect, useMemo, useState } from 'react';
import { useLazyQuery } from '../apollo';
import hashString from '@emotion/hash';
import { SerializedAdminMeta, AdminMeta, FieldViews, getGqlNames } from '@keystone-next/types';
import { StaticAdminMetaQuery, staticAdminMetaQuery } from '../admin-meta-graphql';
let... |
/// <reference path="animation-frame.d.ts"/>
namespace AnimationFrameTests {
var animation = new AnimationFrame();
function frame() {
animation.request(frame);
}
animation.request(frame);
} |
import { expect } from 'chai';
import tsfv from '../src';
describe('numeric', () => {
it('passes when numeric', () => {
expect(tsfv.numeric().test(0)).to.be.true;
expect(tsfv.numeric().test(-0)).to.be.true;
expect(tsfv.numeric().test(+0)).to.be.true;
expect(tsfv.numeric().test('0')).to.be.true;
e... |
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { MatTableDataSource } from '@angular/material/table';
import { CabinetManagerService, Category, PublicationForGUI } from '@perun-web-apps/perun/openapi';
import { SelectionModel } from '@angular/cdk/collections';
import { Moment } f... |
<TS language="lt" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Spustelėkite dešinįjį klavišą norint keisti adresą arba etiketę</translation>
</message>
<message>
<source>Create a new address</so... |
import { DocumentNode, GraphQLNamedType, GraphQLSchema } from 'graphql';
import { IResolversParameter } from '../Interfaces';
import { SchemaDirectiveVisitor } from '../schemaVisitor';
export declare type OnTypeConflict = (left: GraphQLNamedType, right: GraphQLNamedType, info?: {
left: {
schema?: GraphQLSch... |
// [VexFlow](http://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
//
// ## Description
import { RuntimeError } from './util';
import { StemmableNote } from './stemmablenote';
import { Stave } from './stave';
import { NoteStruct } from './note';
export class GhostNote extends StemmableNote {
/** @constructor */
... |
import { v4 as uuidv4 } from 'uuid';
import { Logger } from './Logger';
import { EnhancedEventEmitter } from './EnhancedEventEmitter';
import * as utils from './utils';
import * as ortc from './ortc';
import { Channel } from './Channel';
import { PayloadChannel } from './PayloadChannel';
import { Producer, ProducerOpti... |
import Button from './Button';
export * from './Button';
export * from './Button.styles';
export default Button; |
import React from 'react';
import CreateProductComponent from '../../components/CreateProductComponent';
import { Container } from './styles';
const CreateProduct: React.FC = () => {
return (
<Container>
<CreateProductComponent />
</Container>
);
};
export default CreateProduct; |
import React from 'react';
import { Meta } from '@storybook/react';
import SocialComponent from '../RSS/RSSLink';
const { default: readme } = require('../README.md');
export default {
component: SocialComponent,
title: 'Changelog Components/SocialMedia/RSSLink',
parameters: {
jest: ['SocialMediaRSSLink.test.tsx'... |
/**
* @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 * as o from '@angular/compiler/src/output/output_ast';
import * as ts from 'typescript';
import {TypeScriptN... |
export * from './common-service.module';
export * from './notification.service';
export * from './navigation.service'; |
import { Injector } from '@angular/core';
import { tableRowClassName } from '../../builders/rows/single-row-builder';
import { WorkPackageTable } from '../../wp-fast-table';
import { TableEventComponent, TableEventHandler } from '../table-handler-registry';
import { OPContextMenuService } from "core-components/op-conte... |
export * from './AbilitiesDescription' |
export class CreateArticleDto {
authorId: string;
scopeArticle: string;
content: string;
} |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
import { minToCron } from '../../src/utils';
describe('when getting utils', () => {
test('minutes to cron', () => {
const spy: jest.SpyInstance = jest
.spyOn(global.Date, 'now')
.mockImplementationOnce(() => {
return new Date(2020, 1, 1, 1, 1).valueOf();
... |
/**
* Copyright 2015 Google Inc. 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
import dayjs from "dayjs";
import { delay, fork, put, select } from "redux-saga/effects";
import { Network } from "zilswap-sdk/lib/constants";
import { GetLiquidityOpts, SwapVolume, ZAPStats, logger } from "core/utilities";
import { STATS_REFRESH_RATE } from "app/utils/constants";
import { PoolLiquidityMap } from "app/... |
import { isConformant } from 'test/specs/commonTests';
import { FormMessage } from 'src/components/Form/FormMessage';
describe('FormMessage', () => {
isConformant(FormMessage, {
testPath: __filename,
constructorName: 'FormMessage',
});
}); |
export {default} from "./Time" |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React from 'react';
import {Provider} from 'react-redux';
import configureStore from 'redux-mock-store';
import {createIntl} from 'react-intl';
import {shallow} from 'enzyme';
import {mountWithIntl... |
import { SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SESv2Client.ts";
import { DeleteEmailIdentityRequest, DeleteEmailIdentityResponse } from "../models/models_0.ts";
import {
deserializeAws_restJson1DeleteEmailIdentityCommand,
serializeAws_restJson1DeleteEmailIdentityCommand,
} from... |
import {
ObjectTypeDefinitionNode,
InputObjectTypeDefinitionNode,
InputValueDefinitionNode,
FieldDefinitionNode,
Kind,
TypeNode,
EnumTypeDefinitionNode,
ObjectTypeExtensionNode,
NamedTypeNode,
DirectiveNode,
InterfaceTypeDefinitionNode,
EnumValueDefinitionNode,
} from 'graphql';
import {
wrapN... |
/*
* 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 { SavedObjectsClientContract } from '../../../../../../../src/core/ser... |
import * as React from "react";
import { Observable } from "core/Misc/observable";
import { PropertyChangedEvent } from "../../../propertyChangedEvent";
import { CommonControlPropertyGridComponent } from "../../../tabs/propertyGrids/gui/commonControlPropertyGridComponent";
import { LockObject } from "../../../tabs/prop... |
import {
Controller,
Get,
Post,
Body,
Put,
Param,
Delete,
} from '@nestjs/common';
import { CartService } from './cart.service';
import { AddRemoveProductCartDto } from './dto/add-remove-product-cart.dto';
import { CreateCartDto } from './dto/create-cart.dto';
import { UpdateCartDto } from './dto/update-c... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sv" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Dubeucoin</source>
<translation>Om Dubeucoin</translation>
</mes... |
export * from './airbrake.module';
export * from './airbrake.service'; |
import { ISimulationState } from '../corn-model';
export interface ISimulationYearState {
initial: ISimulationState;
final?: ISimulationState;
}
export type SimulationHistory = ISimulationYearState[]; |
import { Asset, BaseAmount } from '@xchainjs/xchain-util'
export type Address = string
export type Network = 'testnet' | 'mainnet'
export type Balance = {
asset: Asset
amount: BaseAmount
}
export type Balances = Balance[]
export type TxType = 'transfer' | 'unknown'
export type TxHash = string
export type TxT... |
/* Do not change these import lines to match external modules in webpack configuration */
import * as DG from 'datagrok-api/dg';
import { rgroupGetter } from './scripts-api';
export let _package = new DG.Package();
export async function getRGroups(smiles: DG.Column, core: string, prefix: string) {
let result: DG.D... |
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
import { AssociateWebACLRequest, AssociateWebACLResponse } from "../models/models_0";
import {
deserializeAws_json1_1AssociateWebACLCommand,
serializeAws_json1_1AssociateWebACLCommand,
} from "../protocols/Aws_json1_1... |
/*
* @Author: ankye
* @since: 2021-08-11 14:42:41
* @lastTime: 2021-08-11 16:03:52
* @LastAuthor: ankye
* @message:
* @文件相对于项目的路径: /source/src/ui/LoaderDialog.ts
*/
namespace airkit {
export class LoaderDialog extends Dialog {
public type: eLoaderType
public setup(type: eLoaderType): void {
... |
export const submissionTransformationSchema = {
description: 'Occurrence Submission Transformation Schema',
type: 'object',
required: ['flatten', 'transform', 'parse'],
properties: {
name: {
description: 'The name of the submission file',
type: 'string'
},
description: {
descriptio... |
import { Component, OnInit, AfterViewInit, OnDestroy, Inject, Input, Output, EventEmitter } from '@angular/core';
import { environment } from '@env/environment';
import { Subject, Subscription } from 'rxjs';
import { CN_TREE_GRID_METHOD } from 'src/app/core/relations/bsn-methods/bsn-tree-grid-method';
import { CN_TREE... |
import { Component, h, Prop } from '@stencil/core';
import { OellfareBase } from 'oellfare/base/base'
import { HelmetService } from 'common/helmet.service'
import * as ngo from 'assets/ngo.json';
@Component({
tag : 'oellfare-legal',
sty... |
import { commit, modify } from '@collectable/core';
import { SortedSetStructure, isSortedSet } from '../internals';
export type UpdateSetCallback<T> = (set: SortedSetStructure<T>) => SortedSetStructure<T>|void;
export function update<T> (callback: UpdateSetCallback<T>, set: SortedSetStructure<T>): SortedSetStructure<... |
import { Command } from '@emirror/pm/commands';
import { NodeType, Schema, Node as PMNode } from '@emirror/pm/model';
import { liftListItem, wrapInList } from '@emirror/pm/schema-list';
import { findParentNode } from '@emirror/utils';
import { getNodeType } from '@emirror/core-helpers';
const isList = (node: PMNode, s... |
import { animate, style, transition, trigger } from '@angular/animations';
import { Component, OnInit, ViewChild } from '@angular/core';
import { Sine, TweenMax } from 'gsap';
import { FirstNamePipe } from '../first-name.pipe';
import { Nav } from '../nav';
import { StoreService } from '../store.service';
import { Use... |
import { Schema, model } from 'mongoose';
export interface IMessage {
from: string;
to: string;
messageText: string;
createdTime: Date;
}
const MessageSchema = new Schema<IMessage>({
from: String,
to: String,
messageText: {
type: String,
trim: true,
},
createdTime: ... |
type UserProfiles = Obj<ShowData, UserProfile> & UserProfile[] & { [index: string]: UserProfile }; |
import React, { ReactElement, FocusEvent } from "react";
import { Descendant } from "slate";
import {
Editable,
RenderElementProps,
RenderLeafProps,
Slate,
} from "slate-react";
import { Leaf } from "./Leaf";
import { Element } from "./Element";
import { EditorBackbone } from "./EditorBackbone";
interf... |
import { userStorage } from "./user.storage";
// use localStorage to store the authority info, which might be sent from server in actual project.
export function getAuthority(str?: string): string | string[] {
const authorityString =
typeof str === 'undefined' ? userStorage.Authority : str;
// authorityString ... |
import React from 'react';
import TomatoxWaterfall from '@/components/tomatox-waterfall/tomatox-waterfall';
import Indexed from '@/utils/db/indexed';
import { TABLES } from '@/utils/constants';
import cssM from './collect.scss';
export default class Collect extends React.Component<any, any> {
constructor(props: an... |
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
BaseContract,
ContractTransaction,
CallOverrides,
} from "ethers";
import { BytesLike } from "@ethersproject/bytes";
import { ... |
/*
Copyright 2015-2021 The Matrix.org Foundation C.I.C.
Copyright 2019 Michael Telatynski <7t3chguy@gmail.com>
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/LIC... |
import React, { Component, ComponentProps } from 'react';
import AppBar from '@material-ui/core/AppBar';
import Toolbar from '@material-ui/core/Toolbar';
import Tabs from '@material-ui/core/Tabs';
import Tab from '@material-ui/core/Tab';
import Box from '@material-ui/core/Box';
import IconClose from '@material-ui/icons... |
import React from 'react';
import {
Hint,
HintBody,
HintTitle,
HintFooter,
Dropdown,
DropdownItem,
DropdownSeparator,
KebabToggle,
Button
} from '@patternfly/react-core';
export class HintDemo extends React.Component {
static displayName = 'HintDemo';
componentDidMount() {
window.scrollTo(0, ... |
import { useDispatch } from 'react-redux';
import type { AppDispatch } from 'redux/store';
export const useAppDispatch = () => useDispatch<AppDispatch>(); |
export * from './picker-data-item.interface'; |
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
import "./aoa/brobnar/1-2Punch.ts"
import "./cota/brobnar/Anger.ts"
import "./cota/brobnar/Autocannon.ts"
import "./cota/brobnar/BannerOfBattle.ts"
import "./cota/brobnar/Barehanded.ts"
import "./aoa/brobnar/BellowingPatriazate.ts"
import "./cota/brobnar... |
const request = require('request')
// let util = require('util');
const iconv = require("iconv-lite");
var BufferHelper = require('bufferhelper');
const zlib = require('zlib')
function httpRequest({ method, url, data, req, res }) {
let headers = req.headers
delete headers.origin
let requestUrl = process.env.API_... |
import { useRouter } from 'next/router'
import React, { useEffect } from 'react'
import { useTranslation } from 'next-i18next'
import makeStyles from '@mui/styles/makeStyles'
import createStyles from '@mui/styles/createStyles'
import { SwipeableDrawer, Hidden, Box, Grid, Button } from '@mui/material'
import { routes, ... |
import React from 'react';
import {
createValue,
findFixtureStateValue,
FixtureState,
FixtureStateValueType,
extendWithValue
} from 'react-cosmos-shared2/fixtureState';
import { FixtureContext } from '../FixtureContext';
import { SetValue } from './shared';
export function useSetValue<T extends FixtureStateV... |
import { Test, TestingModule } from '@nestjs/testing';
import { SocketServerService } from './socket-server.service';
describe('SocketServerService', () => {
let service: SocketServerService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [SocketServer... |
import PartyInvitationRequestMessage from "@/protocol/network/messages/PartyInvitationRequestMessage";
export default class PartyInvitationArenaRequestMessage extends PartyInvitationRequestMessage {
constructor(name = "") {
super(name);
}
} |
/* tslint:disable:jsx-no-multiline-js */
import React from 'react';
import ReactDOM from 'react-dom';
import Dialog from 'rmc-dialog';
import classnames from 'classnames';
import Icon from '../icon';
import getDataAttr from '../_util/getDataAttr';
import TouchFeedback from 'rmc-feedback';
const NORMAL = 'NORMAL';
cons... |
import React from 'react';
declare const Plain: React.ForwardRefExoticComponent<PropTypes & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
interface PropTypes {
isDisabled?: boolean;
/**
* Page to navigate to when the anchor is clicked.
*/
to?: string;
/**
* Icon from [Thumb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.