text stringlengths 10 953k |
|---|
import { Bind } from "../app/bind";
import { BoreholesManager } from "../boreholes/boreholesmanager";
import { CossapCameraPositioner } from "./cossapcamerapositioner";
import { ElevationBroadcaster } from "../elevation/elevationbroadcaster";
import { ElevationLookup } from "../elevation/elevationlookup";
import { Elev... |
import * as React from 'react';
const AppUnspan24FilledIcon = () => {
return(
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 61.2 (89653) - https:... |
import React from "react";
import TextField from "@material-ui/core/TextField";
interface InputProps {
label: string;
onChange: (value: string) => void;
multiline?: boolean;
className?: string;
}
export default function Input(props: InputProps) {
return (
<div className={props.className}>
<TextFie... |
import './styles.scss'
export function Home() {
return(
<div id="home">
<h1><b>✚</b> VacPoint Control</h1>
<h2>Amor pela Vida <b>♥</b></h2>
</div>
);
} |
import { NavigationInstruction } from 'aurelia-router';
import { assert } from 'chai';
import { UserManager } from 'oidc-client';
import sinon = require('sinon');
import {
OpenIdConnectConfigurationManager,
OpenIdConnectLogger,
OpenIdConnectNavigationStrategies,
} from '../src/index-internal';
describe('open-id-... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {AppComponent} from './app.component';
import {AppRoutingModule} from "./app-routing.module";
import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
@NgModule({
declarations: [
AppCompo... |
function translate(direction: 'X' | 'Y', distance: string): string {
return `translate${direction}(${distance}px)`
}
const animationMap = {
'fadeInDown': {
start: translate('Y', '-35'),
end: translate('Y', '0')
},
'fadeInUp': {
start: translate('Y', '35'),
end: translate('Y', '0')
},
'fadeI... |
import * as fse from 'fs-extra';
import { URI } from 'vscode-uri';
import { LogLevel, logIt, ActionConfig } from './config';
export class DirectoryUtility {
public static fileNamesInDirectory(directoryPath: string, fileNameFilter?: RegExp, includePathInResults: boolean = true, pathIsUri: boolean = true): Promise<st... |
const container = document.createElement("div");
container.setAttribute("id", "hello");
document.body.appendChild(container);
class BaseClass {
public myproperty: string;
constructor() {
this.myproperty = "BASE";
}
}
class ChildClass extends BaseClass {
constructor() {
super();
}
}
const myobj = new ChildCla... |
export const OFFER_SAVINGS_TYPE = {
NO_SAVINGS: 'NO_SAVINGS',
SAVINGS_FIRST_YEAR_BETWEEN_0_AND_2000:
'SAVINGS_FIRST_YEAR_BETWEEN_0_AND_2000',
SAVINGS_FIRST_YEAR_BETWEEN_2000_AND_6000:
'SAVINGS_FIRST_YEAR_BETWEEN_2000_AND_6000',
SAVINGS_FIRST_YEAR_BETWEEN_6000_AND_10000:
'SAVINGS_FIRST_YEAR_BETWEEN_6... |
import { Server } from './server';
import { Observable } from 'rxjs';
export class GrpcDelegate<T extends {}> {
constructor(
private readonly node: Server,
private readonly service: T,
) {
}
execute(method: string, ...args: any[]): Observable<any> {
if (this.node) {
... |
function TextAlignRight({ size }: { size: number }) {
return (
<svg height={size} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20.9999 6H3V7.49999H20.9999V6Z" fill="black" />
<path d="M20.9999 9.75H9V11.25H20.9999V9.75Z" fill="black" />
<path d="M20.9999 17.25H9V... |
import * as TypeGraphQL from "type-graphql";
import * as GraphQLScalars from "graphql-scalars";
import { Prisma } from "@prisma/client";
import { DecimalJSScalar } from "../scalars";
import { PlayerOnMatch } from "../models/PlayerOnMatch";
import { User } from "../models/User";
import { MatchState } from "../enums/Matc... |
export declare const jwtSecret: string;
//# sourceMappingURL=secrets.d.ts.map |
//step 20: copy app.components.ts file and add it to this folder.
//make modification: 1. change selector name 2. Change component template
//3. change the name of the export class.
//next step go into app.module.ts to be able to use it (we are registering it)
import { Component } from '@angular/core';
@Component({
... |
import { Container } from 'react-bootstrap'
import { Route, Routes } from 'react-router-dom'
// Layout
import Layout from './layout/Layout'
// pages
import Home from './pages/Home'
import About from './pages/About'
import Contact from './pages/Contact'
import NotFound from './pages/NotFound'
function App () {
retu... |
import { Greeter } from "../typechain";
export default async ({ getNamedAccounts, deployments }) => {
const { deploy } = deployments;
const { deployer } = await getNamedAccounts();
const { address }: Greeter = await deploy("Greeter", {
from: deployer,
args: ["Hello, world!"],
});
console.log(`Greet... |
import { tagAs } from 'factions/metatagger'
import rule_sources from 'factions/sons_of_behemat/rule_sources'
import {
BATTLESHOCK_PHASE,
CHARGE_PHASE,
COMBAT_PHASE,
END_OF_COMBAT_PHASE,
HERO_PHASE,
SAVES_PHASE,
SHOOTING_PHASE,
START_OF_COMBAT_PHASE,
WOUND_ALLOCATION_PHASE,
} from 'types/phases'
const... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; under version 2
* of the License (non-upgradable).
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY... |
import {Observable, SubscribableOrPromise} from '../Observable';
import {Subscriber} from '../Subscriber';
import {Subscription} from '../Subscription';
import {subscribeToResult} from '../util/subscribeToResult';
import {OuterSubscriber} from '../OuterSubscriber';
/**
* We need this JSDoc comment for affecting ESDoc... |
import React from "react";
interface Props {
monthValue?: any;
monthHandle?: any;
}
export const Month: React.FC<Props> = ({ monthValue, monthHandle }) => {
return (
<>
<select
aria-label="Month"
value={monthValue}
style={{
borderRadius: "4px",
color: "#1c1e... |
// *** 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 utilities from "../utilities";
/**
* Use this data source to retrieve Storage Transfer servi... |
import React, { memo, useEffect, useState } from "react";
import { CancelButton, GhostButton } from "../../components/Controls/Buttons";
import Stack from "../../components/Layout/Stack";
interface UpdateSuccessProps {
callback: () => void;
cancel: () => void;
onClose: () => void;
setIsSafeToClose: (value: bo... |
/*
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requi... |
/** @noSelfInFile */
declare const CR_DEFENSE_SKILL = 2;
declare const CR_DODGE = 3;
declare const CR_PARRY = 4;
declare const CR_BLOCK = 5;
declare const CR_HIT_MELEE = 6;
declare const CR_HIT_RANGED = 7;
declare const CR_HIT_SPELL = 8;
declare const CR_CRIT_MELEE = 9;
declare const CR_CRIT_RANGED = 10;
declare const... |
export const PROGRESS_BAR_SIZE = {
sm: 'sm',
md: 'md',
lg: 'lg',
} as const;
export type PROGRESS_BAR_SIZE = typeof PROGRESS_BAR_SIZE[keyof typeof PROGRESS_BAR_SIZE] |
import React from 'react';
import styled from 'styled-components';
import { Text, TextStyle, TextAs } from '@web/design/components/Text/Text';
import { Breakpoint } from '@web/design/styles/mediaQuery';
interface ContainerProps {
color: string;
}
const Container = styled.div<ContainerProps>`
display: flex;
back... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
const debouncedFunctions: any = {};
export function debounce(func: () => void, delay: number = 400) {
const a = func as any;
if (debouncedFunctions[a]) {
clearTimeout(debouncedFunctions[a]);
delete debouncedFunctions[a];
}
debouncedFunctions[a] = setTimeout(() => {
delete debou... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/** Determines the connection behavior of the CosmosClient. Note, we currently only support Gateway Mode. */
export enum ConnectionMode {
/** Gateway mode talks to an intermediate gateway which handles the direct communication with your indivi... |
import { RouterModule, Routes } from '@angular/router';
import { NgModule } from '@angular/core';
import { AllInOneTableComponent } from './all-in-one-table/all-in-one-table.component';
import { DatatableComponent } from './datatable/datatable.component';
import { SimpleTableComponent } from './simple-table/simple-tab... |
import selenium from 'selenium-standalone';
import { Builder } from 'selenium-webdriver';
import { Options as ChromeOptions } from 'selenium-webdriver/chrome';
import { Options as FirefoxOptions } from 'selenium-webdriver/firefox';
import { runIntegrationTests } from '../../../integration/test-runner';
import { seleniu... |
type messageReceiveFunction = (buf: Buffer) => void
const headerLength = 4
class BufferHandle {
private readonly msgReceiveFn? :messageReceiveFunction
private cache?: Buffer
constructor(receiveFn?: messageReceiveFunction) {
if (receiveFn)
this.msgReceiveFn = receiveFn
}
putData(data: Buffer | string):... |
import { default as ManageTournamentScreen } from './manage-tournament-data';
export default ManageTournamentScreen; |
import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient";
import { GetDetectorVersionRequest, GetDetectorVersionResult } from "../models/models_0";
import {
deserializeAws_json1_1GetDetectorVersionCommand,
serializeAws_json1_1GetDetectorVersionCommand,
} from... |
import ButtonBase from "@material-ui/core/ButtonBase";
import { Theme } from "@material-ui/core/styles";
import { fade } from "@material-ui/core/styles/colorManipulator";
import TextField, { TextFieldProps } from "@material-ui/core/TextField";
import Typography from "@material-ui/core/Typography";
import ClearIcon from... |
<TS language="it_IT" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Click destro per modificare indirizzo o etichetta</translation>
</message>
<message>
<source>Create a new address</source>
... |
<TS language="gl" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Crear unha nova dirección</translation>
</message>
<message>
<source>&New</source>
<translation>&Novo</translation>
</message>
... |
//
// Copyright (c) Microsoft.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
'use strict';
const GitHubApi = require('@octokit/rest');
const githubPackage = require('@octokit/rest/package.json');
import * as restApi from './restApi';
import { flattenData } f... |
import { resolve } from 'path'
import { registerDatabase, TableType, TableData, InjectConfig } from 'koishi-core'
import { AbstractLevelDOWN } from 'abstract-leveldown'
import leveldown from 'leveldown'
import levelup, { LevelUp } from 'levelup'
import sub from 'subleveldown'
declare module 'koishi-core/dist/database'... |
import { INullableHashMap } from "@sb-types/Types";
import { Guild, TextChannel, DMChannel, GroupDMChannel } from "discord.js";
import { isPromise } from "@utils/extensions";
export const DEFAULT_CAPACITY = 1;
type IQueueItem = (leave: () => number) => void;
type PossibleTargets = string | Guild | TextChannel | DMCha... |
/**
* V: 0.1.0
*/
export default class ResponsiveNavbar {
public static init(selector: string = '.navbar-burger'): void {
;[...document.querySelectorAll(selector)].forEach((el: Element) => {
el.addEventListener('click', () => {
const elTarget = document.getElementById((el as HTMLElement).dataset.... |
import React, { useMemo, useState, useContext } from 'react'
import ControllersContext from '../ControllersContext'
import type { Property } from '../../../models/controlles/controlles'
import { useStoreActions, useStoreState } from '../../../reduxStore'
import SelectController from '../../SelectController'
import useC... |
// import {} from 're'
import * as Yup from "yup";
const StorySchema = Yup.object().shape({
title: Yup.string()
.min(2, "Too Short!")
.max(30, "Too Long!")
.required("First name required"),
desc: Yup.string()
.min(2, "Too Short!")
.max(50, "Too Long!")
.required("Description is required"),
... |
import { ScanResult } from '../../../lib/ecosystems/types';
import { TestResult } from '../../../lib/snyk-test/legacy';
export declare function convertLegacyTestResultToScanResult(testResult: TestResult): ScanResult; |
import * as React from 'react';
import { FloatingPeoplePickerTypesExample } from '../PeoplePicker/examples/FloatingPeoplePicker.Basic.Example';
import { IDocPageProps } from '../../../common/DocPage.types';
const FloatingPeoplePickerBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Floatin... |
/**
* Copyright 2017 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 applic... |
export * from '../components/MessageView/MessageItem'; |
import React from 'react';
type AnchorProps = Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
interface InternalLinkProps extends AnchorProps {
to: string;
}
const InternalLink: React.FC<InternalLinkProps> = ({
to,
onClick,
children,
...rest
}) => {
function handleOnClick(
event: React.M... |
import { LangSwitchComponent } from './lang-switch.component';
describe('LangSwitchComponent', () => {
it('should be tested', () => {
pending('TODO - No time for this tonight');
});
}); |
import { factionItemAligns } from 'app/destiny1/d1-factions';
import { D2ManifestDefinitions } from 'app/destiny2/d2-definitions';
import {
D1Item,
DimItem,
DimMasterwork,
DimSocket,
PluggableInventoryItemDefinition,
} from 'app/inventory/item-types';
import { DimStore } from 'app/inventory/store-types';
impo... |
import { Component } from '@angular/core';
import { interval } from 'rxjs';
import { CdConfigService } from '../../../../shared/debug-helper/strategy-control-panel';
import { map } from 'rxjs/operators';
@Component({
selector: 'rxa-scroll-item',
styles: [`:host {
display: flex;
align-items: center;
hei... |
/**
* 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 { setupApp } from '@goldfishjs/composition-api';
import { IConfig } from '@goldfishjs/plugins';
const config: IConfig = {
};
App(setupApp(config, () => {
return {
globalName: '1111',
};
})); |
import { ComponentType, SyntheticEvent, ReactNode } from 'react';
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
export type Widths = {
extended: string;
full: string;
medium: number;
narrow: number;
wide: number;
};
export type DrawerWidth = 'extended' | 'full' | 'medium' | 'narrow' | ... |
/**
* Copyright (c) 2021 OpenLens Authors
*
* 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
* use, copy, modify, merge, p... |
import chai from 'chai'
import SafeServiceClient from '../../src'
import { getServiceClient } from '../utils/setupServiceClient'
let serviceSdk: SafeServiceClient
describe('getServiceMasterCopiesInfo', () => {
before(async () => {
;({ serviceSdk } = await getServiceClient(
'0x4f3edf983ac636a65a842ce7c78d9... |
import { Autowired, Events, GridApi, IStatusPanelComp, PostConstruct, _ } from '@ag-grid-community/core';
import { NameValueComp } from "./nameValueComp";
export class TotalRowsComp extends NameValueComp implements IStatusPanelComp {
@Autowired('gridApi') private gridApi: GridApi;
@PostConstruct
protecte... |
/* tslint:disable:no-unused-variable */
import { TestBed, async, inject } from '@angular/core/testing';
import { PhotoshootService } from './photoshoot.service';
describe('Service: Photoshoot', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [PhotoshootService]
});
});
it('... |
import React, { useContext, useState } from "react";
import { IonButton, IonIcon } from "@ionic/react";
import { play, bug } from 'ionicons/icons';
import PageModal from "../../pages/Page/PageModal";
import SettingToggle from "../inputs/SettingToggle";
import SettingSelect from "../inputs/SettingSelect";
import Settin... |
import Event from "./Event";
import { IDisposable } from "./Util";
export default class Timer implements IDisposable {
public Interval: number;
public AutoReset: boolean;
private _elapsed: Event<Date>;
private _enabled: boolean = false;
private _isDisposed: boolean = false;
private _intervalId: number = 0... |
<TS language="ja" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>右クリックでアドレスまたはラベルを編集します</translation>
</message>
<message>
<source>Create a new address</source>
<translation>新規アドレスの作成</tra... |
import * as TurndownService from 'turndown';
import { gfm } from 'joplin-turndown-plugin-gfm';
import { wikiStyleLinksRule } from './turndown-rules/wikistyle-links-rule';
import { taskItemsRule } from './turndown-rules/task-items-rule';
import { spanRule } from './turndown-rules/span';
import { imagesRule } from './tu... |
import {
Column,
CreateDateColumn, DeleteDateColumn,
Entity,
PrimaryGeneratedColumn,
UpdateDateColumn
} from "typeorm";
import { v4 as uuid } from 'uuid';
import { ApiProperty } from "@nestjs/swagger";
@Entity('doctors')
export class Doctor {
@PrimaryGeneratedColumn('uuid')
@ApiProperty()
id: string;
... |
import * as path from 'path'
import * as fs from 'fs-extra'
import chalk from 'chalk'
import * as inquirer from 'inquirer'
import * as semver from 'semver'
import { createApp } from './init'
import fetchTemplate from './fetchTemplate'
import Creator from './creator'
import CONFIG from '../config'
import { getUserHomeDi... |
import * as React from 'react';
import { InternalStandardProps as StandardProps } from '..';
export interface FormControlLabelProps
extends StandardProps<React.LabelHTMLAttributes<HTMLLabelElement>, 'children' | 'onChange'> {
/**
* If `true`, the component appears selected.
*/
checked?: boolean;
/**
*... |
import {ParsedMail} from 'mailparser';
import prepareFileName from './prepareFileName';
/**
* Regexp to clean up ISO date for use in directory name.
*/
const regexpCleanDate = /[^\d-]/g;
/**
* Date of previous email message.
*/
let lastDateString: string = '';
/**
* Counter for messages with the same date.
*/
l... |
import { Cmd, loop } from 'redux-loop'
import { set as setToDb } from 'idb-keyval'
import { State } from '../types'
import { BASIC_NEMESIS_CARDS_DB_KEY } from '../constants'
import { actions } from '../actions'
export const toggleCard = (
state: State,
action: ReturnType<typeof actions.toggleCard>
) => {
const ... |
import 'reflect-metadata';
import cors from 'cors';
import express from 'express';
import 'express-async-errors';
import uploadConfig from '@config/upload';
import errorHandler from '@shared/errors/handler';
import routes from './routes';
import '@shared/infra/typeorm/connection';
import '@shared/container';
impor... |
export class TsvParser {
delimiter = '\t';
newLine = '\n';
parse(data: string): Array<unknown> {
const lines = data.split(this.newLine);
if (lines.length == 0) {
return [];
}
const result = [];
const headers = lines[0].split(this.delimiter);
for (let i = 1; i < lines.length; i++) {
... |
export { CommitID } from './commit-id.js'
export { StreamID } from './stream-id.js'
export { StreamRef } from './stream-ref.js'
export * from './stream-type.js' |
import {searchMatching, searchMatchings} from './search';
export function elToReactNode(el: any) {
if (!el) {
return null;
}
const keys = Object.keys(el);
if (keys.length === 0) {
return null;
}
for (const key of keys) {
if (key.startsWith('__reactInternalInstance$')) {
return (el as any)... |
import React, { FC, LabelHTMLAttributes } from 'react';
import styled from 'styled-components';
export interface ILabel extends LabelHTMLAttributes<HTMLLabelElement> {
};
const LabelContainer = styled.label`
display: inline-block;
margin-bottom: .5rem;
`;
const Label: FC<ILabel> = ({ children, ...rest}) => ... |
import * as React from 'react';
import { CalloutPage } from 'office-ui-fabric-react/lib/components/Callout/CalloutPage';
import { PageHeader } from '../../components/PageHeader/PageHeader';
import { ComponentPage } from '../../components/ComponentPage/ComponentPage';
const pageStyles: any = require('../PageStyles.modul... |
#!/usr/bin/env node
import 'source-map-support/register';
import cdk = require('@aws-cdk/cdk');
import child_process = require('child_process');
import fs = require('fs-extra');
import os = require('os');
import path = require('path');
import YAML = require('yaml');
import { isStackConstructor, parseApplet } from '..... |
import { Component, NgModule, Input, Output, EventEmitter } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DxListModule } from 'devextreme-angular/ui/list';
import { DxContextMenuModule } from 'devextreme-angular/ui/context-menu';
@Component({
selector: 'app-user-panel',
templa... |
import { prompt, QuestionCollection } from 'inquirer';
import options from '../../options';
import precss from './precss';
import components from './components';
import device from './device';
async function createQuestion(quesiton) {
// 用户交互,自定义选择
const result: QuestionCollection = await prompt([quesiton]);
Obj... |
import { defineConfig, presets } from "sponsorkit";
export default defineConfig({
github: {
login: "rrousselGit",
},
width: 800,
formats: ["svg"],
tiers: [
{
title: "Backers",
preset: presets.base,
},
{
title: "Silver Sponsors",
monthlyDollars: 25,
preset: preset... |
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import "@azure/core-paging";
import { PagedAsyncIterableIterator } from "@azure/core-pagi... |
import {cmp} from "../misc/compare";
import {equals as equalsLib} from "../misc/equals";
import {mapFields} from "../object/mapFields";
import {truthy} from "../types/Truthy";
import {ValueOf} from "../types/ValueOf";
import {isBrowser} from "../window/anyWindow";
import {writableExtensions} from "./extensionsConfig";
... |
const map: GeoJSON.FeatureCollection = {"type":"FeatureCollection", "features": [
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[6.0238,49.9425],[6.0213,49.9357],[6.0257,49.9293],[6.0339,49.9236],[6.0249,49.9212],[6.0275,49.9171],[6.0074,49.9096],[6.0083,49.8969],[6.0023,49.8932],[6.0039,49.8793],[5.98... |
import { SVGProps } from "react";
declare const Counterparty: (props: SVGProps<SVGSVGElement>) => JSX.Element;
export default Counterparty; |
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
@Get(['cat', 'dog'])
getHello(): string {
return this.appService.getHello();
}
} |
/**
* @title 复杂功能(Field)
* @description 配合 `Field` 可以实现较复杂功能
*/
import * as React from 'react'
import styled from 'styled-components'
import { Form, Input, Radio, Field, Button } from '@alicloudfe/components'
const FormItem = Form.Item
const RadioGroup = Radio.Group
const formItemLayout = {
labelCol: {
spa... |
import { Registry } from "../types/mod.ts";
import { BASE_URL, VERSION } from "./_constants.ts";
const stringify = (val: { name: string; registry: Registry[] }): string => {
const url = new URL(VERSION, BASE_URL);
url.search = constructSearchParams(val).toString();
return url.toString();
};
const constructSear... |
import React, { useRef, useState, useContext } from 'react';
import {
Dimensions,
Linking,
Modal,
PermissionsAndroid,
Platform,
TouchableOpacity,
} from 'react-native';
import { Block, Icon, Button, Input, Text, theme } from 'galio-framework';
import HTMLView from 'react-native-render-html';
import AutoHeig... |
export { default } from './WizardControls';
export * from './WizardControls'; |
import { Body, Controller, Delete, Get, Param, Post, Put } from '@nestjs/common';
import { CreateUserDto } from './dto/create-user.dto';
import { User } from './user.entity';
import { UsersService } from './users.service';
@Controller('users')
export class UsersController {
constructor(private readonly usersService:... |
import { useWallet } from '@solana/wallet-adapter-react';
import { Col, Layout, Row, Tabs } from 'antd';
import { Link } from 'react-router-dom';
import React, { useMemo, useState } from 'react';
import { useMeta } from '../../../../contexts';
import { CardLoader } from '../../../../components/MyLoader';
import { Bann... |
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack";
import * as __aws_sdk_types from "@aws-sdk/types";
import { DeleteListener } from "../model/operations/DeleteListener";
import { InputTypesUnion } from "../types/InputTypesUnion";
import { OutputTypesUnion } from "../types/OutputTypesUnion";
impor... |
export * from './appresponse';
export * from './application';
export * from './apputils';
export { default as parseController } from './parsecontroller';
export { default as FrameworkController } from './frameworkcontroller';
export * from './paramsvalidator'; |
import { AEMService } from '../services/aem.service';
import { ActivatedRoute, Router } from '@angular/router';
import { Application, Introduction, PersonalInformation, CrimeInformation, MedicalInformation, ExpenseInformation, EmploymentIncomeInformation, RepresentativeInformation, DeclarationInformation, Authorization... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... |
/**
Copyright 2019 Forestry.io 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 required by applicable law or agreed to in writing, softwa... |
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ReportsTrucksPage } from './reports-trucks.page';
describe('ReportsTrucksPage', () => {
let component: ReportsTrucksPage;
let fixture: ComponentFixture<ReportsTrucksPage>;
... |
import { ReactElement } from "react";
import { Article } from "../../../../api/@types/Article";
import LoadingImage, { toAlt } from "../../../block/ImageLoader";
import Divider from "../../../Divider";
import Link from "next/link";
import { formatDate } from "../../../../hooks/eventDate";
import CKEditorContent from ".... |
// Type definitions for ag-grid v9.0.0
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ceolter/>
import { IEventEmitter } from "../interfaces/iEventEmitter";
import { GridOptionsWrapper } from "../gridOptionsWrapper";
export declare class BeanStub implements IEventEmitter {
p... |
import { __DATABASE_INIT } from "./../../action";
import { state } from "./../../store";
declare const firebase: any;
export const fbInit = async () => {
const firebaseConfig = {
apiKey: "AIzaSyBofsfSu-pALRyck2xUAZo6R7ulpKflYDE",
authDomain: "qplay-d61d4.firebaseapp.com",
databaseURL: "https://qplay-d61d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.