text stringlengths 10 953k |
|---|
/*
* Copyright 2009 Inspire-Software.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/LICENSE-2.0
*
* Unless required by appl... |
/// <reference types="react" />
/// <reference types="@emotion/core" />
import { RecommendationsFeatureFlags } from '../types';
export declare const RecommendationsEngineProvider: import("react").ForwardRefExoticComponent<Pick<{
featureFlags?: RecommendationsFeatureFlags | undefined;
} & import("./as-data-provider"... |
export * from './alert.service';
export * from './authentication.service';
export * from './user.service';
export * from './curator.service';
export * from './managerProfile.service';
export * from './mainBlockThree.service';
export * from './mainBlockTwo.service';
export * from './mainBlockOne.service';
export * from... |
const locales = {
de: () => import('./de/TimeInput'),
zh: () => import('./zh-CN/TimeInput'),
'zh-TW': () => import('./zh-TW/TimeInput')
};
const messages = {
invalidProps: 'Min time cannot be greater than max time',
invalidTime: 'Invalid time format',
tooEarly: 'Time must be at after Min time',
tooLate: 'Time m... |
import gql from 'graphql-tag';
import { useOnChainQuery } from '~/hooks/useQuery';
import { useAccount } from '~/hooks/useAccount';
export interface FundInvestQueryVariables {
fund: string;
account?: string;
}
const FundInvestQuery = gql`
query useFundInvestQuery($account: Address!, $fund: Address!) {
accou... |
import { tw, css } from 'twind/css';
import Button from '@/components/button';
import Fisc from '@/constants/svg/fisc.svg';
import UTP from '@/constants/svg/utp.svg';
import Eurus from '@/constants/svg/eurus.svg';
import Dell from '@/constants/svg/dell.svg';
import Link from 'next/link';
const headerStyle = css`
bac... |
import filter from "./filter";
import pipe1 from "../pipe1";
import not from "../not";
import { isAsyncIterable, isIterable } from "../_internal/utils";
import IterableInfer from "../types/IterableInfer";
import ReturnIterableIteratorType from "../types/ReturnIterableIteratorType";
/**
* The opposite of {@link https:... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
import { AbortController } from "./AbortController";
import { HttpError, TimeoutError } from "./Errors";
import { HttpClient, HttpRequest } from "./Http... |
import React from 'react';
import { StyleSheet, Text, TextStyle } from 'react-native';
export interface Props {
style?: TextStyle | TextStyle[];
fontWeight?: number;
}
export interface State {}
enum fontWeightDefine {
ExtraBold,
Bold,
Regular,
light,
}
const calculateFontWeight = (fontWeight?: number): ... |
import { Module } from '@nestjs/common';
import { JwtModule, JwtService } from '@nestjs/jwt';
import { MongooseModule } from '@nestjs/mongoose';
import { PassportModule } from '@nestjs/passport';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { ProfilesModule } from... |
// *** 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 from 'react'
// also exported from '@storybook/react' if you can deal with breaking changes in 6.1
import { Story, Meta } from '@storybook/react/types-6-0'
import { Asset } from 'multichain-sdk'
import { AssetMenu, Props } from './AssetMenu'
export default {
title: 'Components/AssetMenu',
component:... |
import { Shader } from './Shader';
import { Uniform } from './models/uniform';
export default class ShaderUtils {
static UNIFORM_TYPES = {INT: 'int', FLOAT: 'float', VEC2: 'vec2', VEC3: 'vec3', BOOL: 'bool', STRUCT: 'struct', SAMPLER_2D: 'sampler_2d'};
static SHADER_DATA_TYPES = {UNFORM: 'uniform', ATTRIBUT: '... |
/**
* @license Angular v10.1.4
* (c) 2010-2020 Google LLC. https://angular.io/
* License: MIT
*/
import { ComponentRef } from '@angular/core';
import { DebugElement } from '@angular/core';
import { DebugNode } from '@angular/core';
import { ErrorHandler } from '@angular/core';
import { GetTestability } from '@angu... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
import { Component, ViewChild } from '@angular/core';
import { MessagesComponent } from './messages/messages.component';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
@ViewChild(MessagesComponent, { static: false }) mes... |
/* eslint-disable no-extra-parens */
/* eslint-disable @typescript-eslint/no-explicit-any */
import Discord from 'discord.js';
import RegularCommand from '../../../src/classes/command/RegularCommand';
import ExtendedClient from '../../../src/classes/ExtendedClient';
import { ConcreteRegularCommand } from '../../../__mo... |
import { html, customElement } from 'functional-element';
import './calc-screen';
import './calc-buttons';
customElement('calc-app', ({ constructing, update, screenValue, resizeListenerSet }) => {
if (!resizeListenerSet) {
window.addEventListener('resize', () => {
update();
});
}
... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TranslocoModule } from '@ngneat/transloco';
import { RouterLinkDirectiveModule } from '@lamnhan/ngx-useful';
import { NguixIconComponentModule } from '../icon/icon.module';
import { NguixAccountTextEditorComponentModule ... |
import { Component, getAssetPath, h } from '@stencil/core';
@Component({ tag: 'task-three' })
export class TaskThree {
render() {
return (
<div id="task-3" class="task container" data-task-number={2}>
<header class="d-flex justify-content-between task-header">
<h1 class="task-title">Задан... |
import { HttpInterceptor, EventManager } from 'ng-jhipster';
import { RequestOptionsArgs, Response } from '@angular/http';
import { Observable } from 'rxjs/Observable';
export class ErrorHandlerInterceptor extends HttpInterceptor {
constructor(private eventManager: EventManager) {
super();
}
requ... |
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
import * as React from 'react'
import FolderHistoryLineSvg from '@airclass/icons-svg/lib/asn/FolderHistoryLine';
import AntdIcon, { AntdIconProps } from '../components/AntdIcon';
const FolderHistoryLine = (
props: AntdIconProps,
ref: React.MutableRe... |
import { HttpMessage } from './http-message'
export interface HttpClientResponse extends HttpMessage {
statusCode: number
} |
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
import { DescribeCapacityProvidersRequest, DescribeCapacityProvidersResponse } from "../models/index";
import {
deserializeAws_json1_1DescribeCapacityProvidersCommand,
serializeAws_json1_1DescribeCapacityProvidersCommand,... |
import { Injectable } from '@angular/core';
import {
DataTransferData,
DataTransferDataProvider,
DataTransferToken,
} from 'app/shared/services/data-transfer-data.service';
import {
GenericDataProvider,
LABEL_TOKEN,
URI_TOKEN,
URIData,
} from 'app/shared/providers/data-transfer-data/generic-data.provider... |
import {Component} from 'angular2/core';
import {Layer} from '../layer/layer';
import {CanvasService} from '../../services/canvas/canvas.service';
import {GameService} from '../../services/game/game.service';
import {EventService} from '../../services/event/event.service';
import {Timer} from '../../services/game/Time... |
import { NextFunction, Request, Response } from 'express';
import { controller, get, use } from './decorators';
function requireAuth(req: Request, res: Response, next: NextFunction): void {
if (req.session && req.session.loggedIn) {
next();
return;
}
res.status(403);
res.send('Not permited');
}
@contr... |
import styled from 'styled-components'
export const HeaderContent = styled.div`
position: fixed;
top: 0;
width: 100%;
height: 30px;
background-color: ${({ theme }) => theme.colors.secondary};
-webkit-app-region: drag;
z-index: 2;
`
export const WindowButtonContent = styled.div`
position: absolute;
r... |
import { ApiTags, ApiOkResponse, ApiSecurity } from '@nestjs/swagger';
import { Get, Param, Controller } from '@nestjs/common';
import { MatsMethodDTO } from '../dtos/mats-method.dto';
import { MatsMethodService } from './mats-method.service';
@Controller()
@ApiSecurity('APIKey')
@ApiTags('MATS Methods')
export class... |
import { IEtc } from '../component/etc/IEtc';
const etc: IEtc.Payload = {
disable: false,
list: [
{
title: 'CWIP(Certified Widevine Implementation Partner)',
subTitle: 'Google',
startedAt: '2015-03',
},
{
title: '정보처리기사',
subTitle: '국가기술자격증',
startedAt: '2011-11',
... |
import * as querystring from 'querystring';
import {
SPOTIFY_CLIENT_ID,
SPOTIFY_CLIENT_SECRET
} from '../config';
import { PlayedTrack, SpotifyToken, SpotifyTokenStorage, SpotifyUser, SpotifyUserData, SpotifyUserStorage } from '../ts';
import HttpClient from '../services/http-client';
const RECENTLY_PLAYED_UR... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { schema } from "normalizr";
import { normalize } from "../route-utils";
export const authorEntity = new schema.Entity(
"authorEntity",
{},
{
processStrategy(entity) {
const result = { ...entity };
result.link = normalize(result.link);
return result;
}
}
);
export const authorE... |
import autobind from 'autobind-decorator'
import * as React from 'react'
import Button from './button'
import * as styles2 from './footer.module.styl'
import * as styles from './Riko/layout.module.styl'
export interface FooterProps {
nightMode: boolean
onNightModeToggled: (nightMode: boolean) => void
onFontTogg... |
import axios from 'axios';
import { getSearchQueryString } from 'rili-js-utilities/http';
import { ISearchQuery } from '../types';
class NotificationsService {
search = (query: ISearchQuery) => {
const queryString = getSearchQueryString(query);
return axios({
method: 'get',
... |
import React from 'react';
import { mount } from 'enzyme';
import { defaultRegistry } from 'react-sweet-state';
import { Redirect } from '../../../../controllers/redirect';
import { RedirectProps } from '../../../../controllers/redirect/types';
import { Router } from '../../../../controllers/router';
const MockLocat... |
/*
* 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.
*/
export const BASE_PATH = '/management/elasticsearch/snapshot_restore';
export... |
type WebhookExample = {
[key: string]: any;
};
export type WebhookDefinition = {
name: string;
actions: string[];
examples: WebhookExample[];
}; |
import { Component, OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
import { Subject } from 'rxjs';
import * as $ from 'jquery';
import 'datatables.net';
import 'datatables.net-bs4';
import {
UserService,
UserAdminService,
TransactionService
} from '../../../shared/services';
import { UserModel, Tra... |
import { Card } from '../../../interfaces'
import Set from '../Nintendo Black Star Promos'
const card: Card = {
name: {
en: "Latias",
},
illustrator: "Ken Sugimori",
rarity: "Common",
category: "Pokemon",
set: Set,
dexId: [
380,
],
hp: 70,
types: [
"Colorless",
],
stage: "Basic",
attacks: [
{
... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SlidePaginationComponent } from './slide-pagination.component';
describe('SlidePaginationComponent', () => {
let component: SlidePaginationComponent;
let fixture: ComponentFixture<SlidePaginationComponent>;
beforeEach(async(() =... |
import { gql } from "apollo-server-express";
const typeDefs = gql`
scalar Date
type EntityResult {
messages: [String!]
}
type User {
id: ID!
email: String!
userName: String!
password: String!
confirmed: Boolean!
isDisabled: Boolean!
threads: [Thread!]
threadItems: [ThreadI... |
import { Structure as _Structure_ } from "@aws-sdk/types";
export const GetApiInput: _Structure_ = {
type: "structure",
required: ["ApiId"],
members: {
ApiId: {
shape: {
type: "string"
},
location: "uri",
locationName: "apiId"
}
}
}; |
import { ElementRef, Injector, EventEmitter } from '@angular/core';
import { UpgradeComponent } from '@angular/upgrade/static';
export declare class ImageUploaderComponent extends UpgradeComponent {
msxModel: any;
msxModelChange: EventEmitter<any>;
msxImage: any;
defaultIcon: string;
customIcon: str... |
import { enrichEventWithDetails } from '@ui5/webcomponents-react-base';
import { useCallback, useState } from 'react';
const getColumnId = (column) => {
return typeof column.accessor === 'string' ? column.accessor : column.id;
};
export const useDragAndDrop = (props, isRtl, setColumnOrder, columnOrder, resizeInfo, ... |
export function isMainModule(): boolean {
// generate a stack trace
const stack: string = (new Error()).stack;
// the third line refers to our caller
const stackLine: string = stack.split('\n')[2];
// extract the module name from that line
const callerModuleName: string = /\((.*):\d+:\d+\)$/.exec(stackLine)... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
// Not sure why but on windows, if you execute a process from the System32 directory, it will just crash Node.
// Not throw an exception, just make node exit.
// However if a system32 process is run first, eve... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'mes-floor-kb',
templateUrl: './floor-kb.component.html',
styleUrls: ['./floor-kb.component.scss']
})
export class FloorKbComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} |
import { SchematicTestRunner } from '@angular-devkit/schematics/testing';
import * as path from 'path';
import { Tree, VirtualTree } from '@angular-devkit/schematics';
import { schematicRunner } from '@nrwl/schematics/src/utils/testing-utils';
describe('workspace', () => {
let appTree: Tree;
beforeEach(() => {
... |
import React, { ButtonHTMLAttributes, ReactNode } from 'react';
import clsx from 'clsx';
export interface CardHeaderProps {
title: string;
icon?: ReactNode;
iconProps?: ButtonHTMLAttributes<HTMLButtonElement>;
className?: string;
titleClassName?: string;
}
const CardHeader: React.FC<CardHeaderProps> = ({
... |
import {ClassMeta} from "../../business/entities/XeEntity";
import {EntityUtil} from "../util/EntityUtil";
import {Observable} from "rxjs";
import {CommonUpdateService} from "../../business/service/common-update.service";
import {ObjectUtil} from "../util/object.util";
import {Notifier} from "../notify/notify.service";... |
import { undoInputRule as originalUndoInputRule } from 'prosemirror-inputrules'
import { RawCommands } from '../types'
declare module '@tiptap/core' {
interface Commands<ReturnType> {
undoInputRule: {
/**
* Undo an input rule.
*/
undoInputRule: () => ReturnType,
}
}
}
export cons... |
import { t, makeSprite } from "../../packages/replay-core/src";
import { WebInputs } from "../../packages/replay-web/src";
import { iOSInputs } from "../../packages/replay-swift";
import { bulletX, bulletY } from "./utils";
import { Score } from "./Score";
import { WalkingGreenCapChar } from "./SpriteSheet";
import { P... |
import React, { FC, useCallback, useEffect, useState, useReducer } from "react";
import styled from "styled-components";
import ReactDOM from "react-dom";
import Login from "./Login";
import NameEntry from "./NameEntry";
import ChatRoom from "./ChatRoom";
import SocketContext from "../components/SocketContext";
import ... |
import { trailingSlashIt } from '@common/utils/helpers';
export const APP = {
TITLE: APP_TITLE,
DESCRIPTION: APP_DESCRIPTION,
API_BASE: trailingSlashIt(API_BASE),
};
export const API: {
BASE: string;
SPG: string;
PARKS: string;
JWT: string;
} = {
BASE: APP.API_BASE,
SPG: `${APP.API_BASE}wp-json/skat... |
import { Server } from 'socket.io'
import VoteConstant from '../constants/votes'
import MessageType from '../constants/message'
import EventLogger from '../utils/event-logger'
import Broadcaster from '../utils/broadcaster'
import { updateTrackVote } from '../models/track'
import Payload from '../utils/payload'
interfa... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-r184',
templateUrl: './r184.component.html',
styleUrls: ['./r184.component.css']
})
export class R184Component implements OnInit {
constructor() { }
ngOnInit(): void {
}
} |
version https://git-lfs.github.com/spec/v1
oid sha256:16b8b8a330d9f3f6beae428d371d82445252ef959b14b3d641054ae62dc35ff1
size 1331040 |
import Web3 from "web3";
import { AbiItem } from "web3-utils";
export default function MTGYTrustedTimestamping(
web3: Web3,
contractAddy: string
) {
return new web3.eth.Contract(timestampingContractAbi, contractAddy);
}
const timestampingContractAbi: AbiItem[] = [
{
inputs: [
{
internalType:... |
import util from "../../lib/util.ts";
import type { URLPatternCompat, URLPatternInput, URLPatternResult } from "./url_pattern.ts";
import { createStaticURLPatternResult } from "./url_pattern.ts";
export type RouteModule = {
url: URL;
params: Record<string, string>;
filename: string;
defaultExport?: unknown;
... |
/*!
* Copyright 2020 VMware, Inc.
* SPDX-License-Identifier: BSD-2-Clause
*/
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouterModule } from '@angular/router';
import {
CompodocSchema,
NgLiveDocsModule,
StackBlitzInfo
} from '@vmw/ng-live-docs'... |
/*
* Copyright IBM Corporation 2020,2021
*
* 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 a... |
export type TopologyMapModel = { [key: string]: string[] }; |
import Component from '@glint/environment-ember-loose/ember-component';
interface ContentPlaceholdersNavSignature {
Args: {
rounded?: boolean;
centered?: boolean;
animated?: boolean;
};
}
export default class ContentPlaceholdersNav extends Component<ContentPlaceholdersNavSignature> {} |
import { Button, Menu, MenuItem } from '@blueprintjs/core';
import { Popover2 } from '@blueprintjs/popover2';
import React, { Dispatch, SetStateAction, useState } from 'react';
import { ActionTypeModal } from './ActionModal';
type ModalActionButtonsProps = {
data: any;
url: string;
setActionState: Dispatch... |
import { Ticker } from 'ccxt';
import { Side } from '../../../constants/trading.constants';
import { Account } from '../../../entities/account.entities';
import { Trade } from '../../../entities/trade.entities';
import {
BalanceMissingError,
TickerFetchError
} from '../../../errors/exchange.errors';
import { OpenPo... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { AgenteditComponent } from './agentedit.component';
describe('AgenteditComponent', () => {
let component: AgenteditComponent;
let fixture: ComponentFixture<AgenteditComponent>;
beforeEach(async(() => {
TestBed.configureTestin... |
import { TestBed, async } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
RouterTestingModule
],
... |
import { providerCallback } from '../../../src/endpoints/oauth/provider-callback';
const res = {
json: jest.fn(),
status: jest.fn(() => res),
};
describe('providerCallback', () => {
beforeEach(() => {
jest.clearAllMocks();
});
it('calls loginWithService and returns the user json response', async () => ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About EyeGlass</source>
<translation>Informatio de EyeGlass</translation>
... |
import * as React from 'react';
import {
classNamesFunction,
divProperties,
getNativeProps,
IRenderFunction,
getPropsWithDefaults,
} from '../../Utilities';
import { TooltipHost, TooltipOverflowMode } from '../../Tooltip';
import { PersonaCoin } from './PersonaCoin/PersonaCoin';
import {
IPersonaProps,
IP... |
/*
* 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 React, { Fragment } from 'react';
import { Option, none, some, fold, f... |
export { default as WindowContext, WindowContextData } from './window-context'
export { default as WindowProvider } from './window-provider' |
import { Component } from '@angular/core';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
@Component({
selector: 'stumpy-guide',
templateUrl: './guide.component.html',
styleUrls: ['./guide.component.css']
})
export class GuideComponent {
/* istanbul ignore next */
constructor(
private _modalServi... |
/* istanbul ignore file */
const verticalDivider = (
<svg
width="1px"
height="16px"
viewBox="0 0 1 16"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<title>Vertical Divider Line</title>
<g
id="Team-(External)"
stroke="none"
... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgorongoroRoutingModule } from './ngorongoro-routing.module';
import { NgorongoroComponent } from "./ngorongoro.component";
@NgModule({
declarations: [ NgorongoroComponent],
imports: [
CommonModule,
Ngorongo... |
import { By } from '@angular/platform-browser';
import { FormGroup, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { CheckboxComponent } from './checkbox.component';
import { Component, ViewChildren, QueryLi... |
export * from './Cell.styled';
export * from './CustomComponentWrapper.styled';
export * from './LoadingDiv.styled'; |
import { Component } from "@angular/core";
import { SMT_DIRECTIVES } from "../../../../src/index";
import { SHARED_DIRECTIVES } from "../../shared/index";
import { ConstUtil } from "../../../../src/core/util/const.util";
@Component({
selector: 'segment-demo',
templateUrl: `/app/components/elements/segment/segm... |
export const isDev = ref(false)
export const toggleDev = useToggle(isDev) |
import {Component, EventEmitter, OnInit, Output} from '@angular/core';
import * as wirelessInfo from '../../../../../assets/json/wireless-info.json';
@Component({
selector: 'app-preferences',
templateUrl: './preferences.component.html',
styleUrls: ['./preferences.component.scss']
})
export class PreferencesCompon... |
import { ConflictException, InternalServerErrorException } from "@nestjs/common";
import * as bcrypt from 'bcrypt';
import { EntityRepository, Repository } from "typeorm";
import { AuthCredentialsDto } from "./dto/auth-credentials.dto";
import { User } from "./user.entity";
@EntityRepository(User)
export class UserRe... |
/* eslint-disable */
/* tslint:disable */
/*
* ---------------------------------------------------------------
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
* ## ##
* ## AUTHOR: acacode ##
* ## S... |
import React from 'react'
import { StyledWikiMarkdown } from './WikiMarkdown.styles'
interface Props {
content: string
}
export const WikiMarkdown: React.VFC<Props> = ({ content }) => (
<StyledWikiMarkdown dangerouslySetInnerHTML={{ __html: content }} />
) |
import React, {
useRef,
useState,
useCallback,
useEffect,
ReactElement,
} from "react";
import ReactDOM from "react-dom";
import ReactDOMServer from "react-dom/server";
import * as EOSIcons from "eos-icons-react";
import FormHolder from "./FormHolder";
import EOSIconsList from "./converted-icons.json";
import... |
import { ArrayParser } from "./ArrayParser";
import { FrameParser } from "./FrameParser";
import { PageParser } from "./PageParser";
import { VariablesParser } from "./VariablesParser";
import { ParserContext, ParserFunction } from "./types";
export * from "./Parser";
export { VariablesParser, ArrayParser, FrameParser,... |
import { Injectable } from '@nestjs/common';
import { EntityFactory } from '../../../shared/generics/entity.factory';
import { MeetingMember } from './aggregates/meeting-member.aggregate';
import { ObjectId } from 'mongodb';
import { MeetingMemberEntityRepository } from '../infrastructure/repositories/meeting-member-en... |
import { DatabaseManager } from "@alice-database/DatabaseManager";
import { GuildTag } from "@alice-database/utils/aliceDb/GuildTag";
import { Subcommand } from "@alice-interfaces/core/Subcommand";
import { EmbedCreator } from "@alice-utils/creators/EmbedCreator";
import { MessageCreator } from "@alice-utils/creators/M... |
import { Component, OnInit } from "@angular/core";
import { MessageService } from "../message.service";
@Component({
selector: "app-messages",
templateUrl: "./messages.component.html",
styleUrls: ["./messages.component.scss"],
})
export class MessagesComponent implements OnInit {
constructor(public messageService:... |
declare interface GenericObject {
[key: string]: any
} |
export const config = {
title: 'DataV',
} |
declare module "catbox"
{
export const Client: CacheClient & {new (engine: any, engineOptions: Object): CacheClient};
interface Cache
{
/**
* Retrieve an item from the cache. If the item is not found and the generateFunc method was provided, a new value is generated, stored in the cach... |
export const environment = {
production: true,
clientUrl: 'http://bohnen-generator.share-my-app.com',
serverUrl: 'http://bohnen-generator.share-my-app.com',
version: "v0.0.1"
}; |
import { combineReducers } from 'redux';
import { connectRouter } from 'connected-react-router';
import { History } from 'history';
import counter from './counter';
import entries from './entries';
import products from './products';
import menu from './menu';
export default function createRootReducer(history: History)... |
// reference https://www.khronos.org/registry/OpenGL-Refpages/gl4/index.php
// Test using https://www.desmos.com/calculator/2l2pnpsazy
export const builtins: {
[K: string]:
| undefined
| {
// alias: replace function call references to this
alias?: string;
// def: function definition
... |
import React from 'react';
import ReactDOM from 'react-dom';
import MainPage from './pages/MainPage';
import { createGlobalStyle } from 'styled-components';
import { RoomsProvider } from './contexts/RoomsContext';
import { BrowserRouter, Route } from 'react-router-dom';
import PagecallPage from './pages/PageCallPage';
... |
import {Component, OnInit} from '@angular/core';
import {RegistrationRequest} from "../../classes/registration-request";
import {UserService} from "../../services/user.service";
import {Router} from "@angular/router";
import {TokenService} from "../../services/token.service";
@Component({
selector: 'app-user-edit-in... |
/**
* Created by buddy on 2021/2/25.
*/
import { defineComponent, reactive } from 'vue'
import Icon from '@/components-global/icon/main'
import './index.less'
// TODO 执行操作,你说呢?
export const OverflowText = defineComponent({
name: 'OverflowText',
setup() {
const state = reactive({
show: false
})
... |
import { assert, expect } from 'chai';
import 'mocha';
import * as dataForge from 'data-forge';
import '../index';
import * as mock from 'mock-require';
describe('DataFrame redis data source', function () {
afterEach(function () {
mock.stop('redis');
});
it('write/read in data asynchronously', fu... |
/*! firebase-admin v10.0.2 */
/*!
* @license
* Copyright 2017 Google Inc.
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.