text stringlengths 10 953k |
|---|
import {
EC2ClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
} from "../EC2Client";
import { DeleteFlowLogsRequest, DeleteFlowLogsResult } from "../models/index";
import {
deserializeAws_ec2DeleteFlowLogsCommand,
serializeAws_ec2DeleteFlowLogsCommand
} from "../protocols/Aws_ec2";
import { getSerde... |
/* GENERATED FILE */
import * as React from 'react';
import Svg, { Rect, Path } from 'react-native-svg';
import { IconProps } from '../lib';
function ToteSimple(props: IconProps) {
return (
<Svg
id="Raw"
viewBox="0 0 256 256"
width={props.size}
height={props.size}
{...props}
>
... |
import { IRequest } from 'resting-squirrel';
import Controller, { IStore } from '../controller';
export const put = (endpoint: string) => {
return (target: Controller, propertyKey: string, descriptor: PropertyDescriptor) => {
const t: IStore = target as any;
if (!t.__endpoints__) {
t.__endpoints__ = [];
}
... |
import { ProgramQuestionEntity } from './program-question.entity';
import { TransactionEntity } from '../payments/transactions/transaction.entity';
import { Injectable, HttpException, HttpStatus } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository, getRepository } from 'typeo... |
/* tslint:disable:no-unused-variable */
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { ResetPasswordComponent } from './ResetPassword.component';
describe('ResetPasswordComponent', () => {... |
import { StyledIcon } from '@styled-icons/styled-icon';
export declare const MoneyDollarBox: StyledIcon;
export declare const MoneyDollarBoxDimensions: {
height: number;
width: number;
}; |
import {Pipe, PipeTransform} from '@angular/core';
import matchSorter from 'match-sorter';
@Pipe({
name: 'matchSorter',
})
export class MatchSorterPipe implements PipeTransform {
transform(input: any[] = [], options: object | string, value: string): any {
return matchSorter(
input,
value,
typ... |
import Vue from 'vue';
import VueRouter from 'vue-router';
import Home from '../views/Home.vue';
Vue.use(VueRouter);
const routes = [
{
path: '/',
name: 'Home',
component: Home
},
{
path: '/about',
name: 'About',
// route level code-splitting
// this generates a separate chunk (about... |
import React from 'react'
import { BuilderBlock } from '../../decorators/builder-block.decorator'
export interface LabelProps {
attributes?: any
text?: string
for?: string
}
@BuilderBlock({
name: 'Form:Label',
image:
'https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F9322342f04... |
/*
* Copyright 2020 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... |
/* tslint:disable:no-unused-variable */
import { TestBed, async } from '@angular/core/testing';
import { RouterModule, Router } from '@angular/router';
import { APP_BASE_HREF } from '@angular/common';
import { AppComponent } from './app.component';
import { AuthService } from './auth/auth.service';
describe('AppCompo... |
/* tslint:disable */
/* eslint-disable */
/**
* nopCommerce Web API Frontend
* Official nopCommerce Web API for public store
*
* The version of the OpenAPI document: v1.05
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not ... |
/*
* backgroundAnalysisBase.ts
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT license.
*
* run analyzer from background thread
*/
import { CancellationToken } from 'vscode-languageserver/node';
import { TextDocumentContentChangeEvent } from 'vscode-languageserver-textdocument';
import { MessageC... |
import { Scalar, Tensor } from '@tensorflow/tfjs-core';
export declare type Shape = number[];
export declare type HasShape = {
shape: Shape;
};
export declare type LossOrMetricFn = (yTrue: Tensor, yPred: Tensor) => Tensor;
export declare type RegularizerFn = () => Scalar;
export declare type RnnStepFunction = (inpu... |
import * as QueryAnalyzer from '@nginstack/dev-tools/lib/database/QueryAnalyzer';
QueryAnalyzer.getTxtExecutionPlan('query', { disableHeader: true }); // $ExpectType string
QueryAnalyzer.getHtmlExecutionPlan('query', { disableHeader: true }); // $ExpectType string
function testMajorVersions(prior: number, current: nu... |
/*! *****************************************************************************
SPDX-License-Identifier: Apache-2.0
Copyright (c) Mycroft AI 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 cop... |
import * as fs from 'fs';
import * as path from 'path';
import * as sqlite3 from 'sqlite3';
export class BaseRepository {
protected database: sqlite3.Database = null;
constructor() {
this.database = new sqlite3.Database(':memory:');
}
public async execute(sql: string): Promise<void> {
await this.init... |
import { TContext } from '../types';
export declare const deactivateAudioGraph: <T extends TContext>(context: T) => void;
//# sourceMappingURL=deactivate-audio-graph.d.ts.map |
import type { ClassNameArguments } from './types'
/**
* The classnames() method returns the class names conditionally joining.
*
* @returns A String, representing the name of the generated class
*
* @author Aras Ekinci <dev@arasekinci.com>
* @see classnames http://github.com/functions/classnames
*/
export defa... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CustomerRoutingModule } from './customer-routing.module';
import { CustomerComponent } from './customer.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule, HTTP_INTER... |
import TextureBase from "./TextureBase";
import BitmapData from "./../../display/BitmapData";
import ByteArray from "./../../utils/ByteArray";
declare namespace openfl.display3D.textures {
/*@:final*/ export class RectangleTexture extends TextureBase {
public uploadFromBitmapData (source:BitmapData):void... |
import { Component, ViewChild, AfterViewInit } from '@angular/core';
import { jqxGridComponent } from '../../../../../jqwidgets-ts/angular_jqxgrid';
import { jqxPanelComponent } from '../../../../../jqwidgets-ts/angular_jqxpanel';
@Component({
selector: 'my-app',
templateUrl: `../app/grid/paging/app.compon... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { APP_BASE_HREF } from '@angular/common';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ORIGIN_URL, REQUEST } from '@nguniversal/aspnetcore-engine/tokens';
import { Ap... |
// Type definitions for ag-grid v18.1.2
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
export interface IServerSideCache {
} |
import { createSVGElement, mergeProps } from "@/tools";
import Transform, { globalTransform } from '@/core/transform';
import { Line, GraphicsParams } from '.';
import { Location } from '@/interface';
export class GuideLineParams extends GraphicsParams {
/** 方向 */
direction: Direction;
location: number;
... |
import { Test, TestingModule } from "@nestjs/testing"
import { ListingsService } from "./listings.service"
import { getRepositoryToken } from "@nestjs/typeorm"
import { HttpException, HttpStatus } from "@nestjs/common"
import { Listing } from "./entities/listing.entity"
import { Compare } from "../shared/dto/filter.dto... |
import { generateFromHTML, generateFromText } from './paint';
/**
* Tokenize a *single* HTML element
* @param element The HTML element or a selector pointing to the element to tokenize
* @param async Whether to run asynchronously
*/
export function paint(element: string | HTMLPreElement | null, async?: boolean): P... |
import {NestFactory} from "@nestjs/core";
import {AppModule} from "./app.module";
import {ServerEntity} from "./common/entities/app/server.entity";
import {createConnection} from 'typeorm';
import {INestApplication} from "@nestjs/common";
import {ConfigDB} from "@config/db";
/**
* In development..
* */
export class ... |
import * as request from "request-promise";
const http = {
generalOptions: {
resolveWithFullResponse: true,
json: true
},
async get(uri: string, token: string = ""): Promise<{ [key: string]: any }> {
const { body, statusCode } = await request({
...this.generalOptions,
uri,
...(token... |
import { Collection, SchematicTestSetup } from '../../utils/testing/test-setup';
describe('ng-aquila ng add', () => {
const testSetup = new SchematicTestSetup('migration-v11', Collection.MIGRATIONS);
it('should replace label with labelCollapsed', async () => {
testSetup.writeFile(
'./proje... |
import assert from "assert";
import { GraphQLJSONObject } from "graphql-type-json";
import { isEqual, reduce } from "lodash";
import { Arg, Authorized, Mutation, Query, Resolver } from "type-graphql";
import { baseConfig, baseConfigAdmin } from "../../client/constants/baseConfig";
import { configStringToValue } from "... |
// Type definitions for angular-q-extras 1.1
// Project: https://github.com/niqdev/angular-q-extras
// Definitions by: Damien Sorel <https://github.com/mistic100>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
declare var _: string;
export = _;
import * as angular from '... |
import React from 'react';
import Layout from '../components/layout';
const NotFoundPage = () => (
<Layout lol="strong" lol2={0}>
<h1>NOT FOUND</h1>
<p>You just hit a route that doesn't exist... the sadness.</p>
</Layout>
);
export default NotFoundPage; |
/**
* @license
* Copyright 2018-2020 Streamlit 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 applicab... |
import { DirectoryInterface } from '@/interfaces/DirectoryInterface'
import { StorageInterface } from '@/interfaces/StorageInterface'
import { JoinPath } from '@/utilities'
/**
* Directory class.
*/
export class Directory implements DirectoryInterface {
private _path: string
/**
* @inheritdoc
*/
get pat... |
// https://github.com/angular/angularfire2/blob/master/src/auth/test-config.ts
// took this from old angular documentation
export const COMMON_CONFIG = {
apiKey: 'AIzaSyBVSy3YpkVGiKXbbxeK0qBnu3-MNZ9UIjA',
authDomain: 'angularfire2-test.firebaseapp.com',
databaseURL: 'https://angularfire2-test.firebaseio.com',
... |
class Smoke{
// Position
private x: number;
private y: number;
// Size
private width: number;
private height: number;
// Other stuff
private inverted: boolean; // True if the smoke is inverted
// Gap (position gap between x y and the real current smoke position)
privat... |
import { Component } from '@angular/core';
@Component({
selector: 'bw-root',
host: {'class': 'bw-app'},
templateUrl: './app.component.html'
})
export class AppComponent {
title = 'Blackwood';
} |
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {RouterModule} from '@angular/router';
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import {TranslateModule} from '@ngx-translate/core';
import {ObNavTreeComponent} from './nav-tree.component';
import {ObNavTreeFakeFo... |
import app from "../app";
import request from "supertest";
let token;
beforeAll(async (done) => {
const response = await request(app).post("/api/v1/login").send({
email: "test@test.test",
password: "test",
});
token = response.body.token;
done();
});
describe("GET /api/v1/revenues", () => {
it("sho... |
import * as yaml from 'js-yaml';
import {
BlobLogger,
Environment,
IOrchestrator,
IStorage,
IWorker,
RamDisk,
Volume,
World,
} from '../cloud';
import {
encodeBenchmark,
encodeCandidate,
encodeSuite,
encodeLog,
createRunId
} from '../naming';
import { decryptSecret... |
import { Vector3 } from 'three'
import { Entity } from '../../ecs/classes/Entity'
import {
createMappedComponent,
hasComponent,
addComponent,
getComponent,
removeComponent
} from '../../ecs/functions/ComponentFunctions'
import { AutoPilotComponent } from './AutoPilotComponent'
import { AutoPilotRequestCompone... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_CL" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About OFIChain</source>
<translation>Sobre OFIChain</translation>
<... |
import React, {
ComponentPropsWithoutRef,
FunctionComponent,
useCallback,
useContext,
useEffect,
useMemo,
useState
} from 'react';
import Helmet from 'react-helmet';
import { useSnackbar } from 'notistack';
import useFetch from 'use-http-2';
import { reduce } from 'lodash';
import TeamsContext from '../.... |
export interface IReview {
id: string;
book: string;
user: string;
startDate: Date;
finishDate: Date;
rating: number;
review: string;
}
export interface IReviews {
reviews: IReview[]
} |
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.
*--------------------------------------------------------------... |
import { _UnmarshalledStack } from "./_Stack";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* <p>Contains the response to a <code>DescribeStacks</code> request.</p>
*/
export interface DescribeStacksOutput extends __aws_sdk_types.MetadataBearer {
/**
* <p>An array of <code>Stack</code> objects that de... |
import axios from 'axios'
import {
FormFeedbackPostDto,
FormFeedbackResponseDto,
GetFormFeedbackDto,
} from '../../types/api/form_feedback'
import { FeedbackCsvGenerator } from '../modules/forms/helpers/FeedbackCsvGenerator'
// Exported for testing
export const PUBLIC_FORM_ENDPOINT = '/api/v3/forms'
export cons... |
import { RouterModule } from '@angular/router';
import { MainComponent } from './main/main.component';
import { LoginComponent } from './login/login.component';
import { ProjectsComponent } from './projects/projects.component';
import { ProjectDetailComponent } from './projectdetail/projectdetail.component';
import { P... |
import Web3 from "web3";
import { TransactionReceipt } from "web3-core";
import { SendOptions } from "web3-eth-contract";
import Contracts from "../contracts/contracts";
import { ConfirmationHandler } from "../../utils/transaction";
/**
* Rocket Pool Auction
*/
declare class Auction {
private web3;
private co... |
import { MaterialCommunityIcons } from '@expo/vector-icons'
import * as React from 'react'
import { View } from 'react-native'
import {
ThemedFlatList,
ThemedIcon,
ThemedSectionTitle,
ThemedText,
ThemedTouchableOpacity,
ThemedView
} from '@components/themed'
import { tailwind } from '@tailwind'
import { tra... |
import { Currency, Funding, Card } from './common';
import { ButtonsConfig, Buttons } from './buttons';
import { OrderIntent } from './order';
export abstract class PayPal {
abstract Buttons(config: ButtonsConfig): Buttons;
abstract version: string
}
// @see { https://developer.paypal.com/docs/checkout/referen... |
import React from 'react';
import createSvgIcon from './helpers/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M8.55 12c-1.07-.71-2.25-1.27-3.53-1.61 1.28.34 2.46.9 3.53 1.61zm10.43-1.61c-1.29.34-2.49.91-3.57 1.64 1.08-.73 2.28-1.3 3.57-1.64z" /><path d="M8.94 12.25c0-.01 0-.01 0 0-.13-.09-.2... |
import GLOB from '../../types';
import {T2DEditor} from '../T2DEditor';
/**
* Draw Background image
* @param editor
* @param {number} width
* @param {number} height
* @param {CanvasRenderingContext2D} ctx
*/
export function DrawBackground(editor: T2DEditor, ctx: CanvasRenderingContext2D, width: number, height: n... |
declare interface CustomAbilitiesLegacy {
GetEnergyCost(hAbility: CDOTA_Ability_Lua): number;
HasBehavior(hAbility: CDOTA_Ability_Lua, nBehavior: AbilityBehavior): boolean;
IsNotTalentNorAttribute(hAbility: CDOTABaseAbility): boolean;
}
declare const CustomAbilitiesLegacy: CustomAbilitiesLegacy; |
import { truncate, truncateEnd, truncateMiddle } from './truncate';
describe('truncate', () => {
const stringOver140 = truncate(
`hello world hello world hello world hello world hello world hello world hello world
hello world hello world hello world hello world hello world hello world hello world
hello... |
import { ComponentFixture, TestBed, async, inject, fakeAsync, tick } from '@angular/core/testing';
import { Observable } from 'rxjs/Rx';
import { Headers } from '@angular/http';
import { MindsphereTestModule } from '../../../test.module';
import { Principal } from '../../../../../../main/webapp/app/shared';
import { U... |
import { RouteProp } from "@react-navigation/native";
import { StackNavigationProp } from "@react-navigation/stack";
export enum ModalScreen {
"Features",
"ServiceSelections",
"Help",
"Confirmation",
"BookingForm",
"RescheduleForm",
}
export type ModalScreenType = {
component: React.FC<any>;
title: st... |
import { Component } from 'angular2/core';
import { HTTP_PROVIDERS } from 'angular2/http';
import { HeroListComponent } from './hero-list.component';
import { HeroService } from './hero.service';
import { provide } from 'angular2/core';
import { XHRBackend } from 'angular2/http';
//... |
import { Component } from '@angular/core';
@Component({
selector: 'app-menu',
templateUrl: './menu.component.html'
})
export class MenuComponent {
nav: Nav[] = [
{
link: '/home',
name:'Home',
exact: true,
admin: false
},
{
link: '/cadastro',
name:'Cadastro',
... |
import React, { FC } from 'react';
import { makeStyles, Tabs, Tab } from '@material-ui/core';
import { Route, Switch, Link } from 'react-router-dom';
import { TasksStatuses, Gallery } from './components';
interface IConfig {
component: FC;
label: string;
path: string;
}
const useStyles = makeStyles(() => ({
... |
/*
* 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 { ImmutableMultipleMiddlewareFactory, substateMiddlewareFactory } from... |
import { Logger } from '@vue-storefront/core';
import axios from 'axios';
import base64 from 'base-64';
import { getContent } from './';
describe('useContent', () => {
let axiosGetSpy: jest.SpyInstance;
let base64EncodeSpy: jest.SpyInstance;
const context = {
config: { spaceId: 'space-id' }
};
const c... |
import { Component, OnInit } from '@angular/core';
import { PmlTrasaction } from '../../_models';
import { Router } from '@angular/router';
import { ApiService } from '../../_services';
@Component({
selector: 'app-pml-transaction',
templateUrl: './pml-transaction.component.html',
styleUrls: ['./pml-transaction.c... |
/**
* Adds SEO-information to the HTML-headers which creates good-looking "cards" in social media platforms like Facebook, Twitter and Slack when sharing the link.
*/
import Head from 'next/head';
export type SEOProps = {
title?: string;
description?: string;
url?: string;
image?: string;
};
export default ... |
import {OptionsProps} from "../app/Options";
import Renderer, { RendererProps } from "./Renderer";
import ElectronRenderer from "./electron/ElectronRenderer";
import NodeRenderer from "./node/NodeRenderer";
export interface RendererOptions {
tmpName?: string
options: OptionsProps
}
export default class Rende... |
import {Component, AfterViewInit, OnChanges, SimpleChange, Input, ViewChild,
ElementRef, Output, EventEmitter, ChangeDetectionStrategy} from '@angular/core';
@Component({
moduleId: module.id,
selector: 'cell-heatmap',
templateUrl: './CellHeatmap.html',
styleUrls: ['./CellHeatmap.css'],
changeDe... |
import React, { FC } from 'react'
import { Base, useTheme } from '@redesign-system/ui-core'
import { FieldsetInterface } from './fieldset.types'
import { fieldsetTheme } from './fieldset.theme'
import { Legend } from '../Legend'
export const Fieldset: FC<FieldsetInterface> = function Fieldset({
as = 'fieldset',
... |
import handler from "../../../server/api-route";
import prisma from "../../../server/db/prisma";
import { decodeInvitationToken } from "../../../server/invitations/token";
/**
* Users visit this route when accepting an invitation with the invitation token as a query param
*
* @example
* /api/invitations/accept?tok... |
import Enzyme from "enzyme";
import Adapter from "enzyme-adapter-react-16";
// Configure Enzyme with React 16 adapter
Enzyme.configure({ adapter: new Adapter() }); |
import { CommonModule } from '@angular/common';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { Langua... |
import * as _ from 'lodash'
import PropTypes from 'prop-types'
import * as React from 'react'
import { updateForKeys } from 'docs/src/hoc'
import ComponentPropExtra from './ComponentPropExtra'
import ComponentPropToggle from './ComponentPropEnumToggle'
import ComponentPropValue from './ComponentPropEnumValue'
const C... |
import { Routes, RouterModule } from '@angular/router';
import { PartList } from './partlist.component';
import { ModuleWithProviders } from '@angular/core';
// noinspection TypeScriptValidateTypes
export const routes: Routes = [
{
path: '',
component: PartList,
}
];
export const routing: ModuleWithProv... |
import path = require('path');
import { UnityProjectVersion } from '@dinomite-studios/unity-project-version';
export class UnityPathTools {
/**
* Gets the path to the Unity editors folder depending on the process platform.
* @param mode Path lookup mode: unityHub, environmentVariable or customUnityEdito... |
import React from "react"
import styled from 'styled-components'
import LatestPostsBase from "../components/LatestPosts"
import { MDXProvider } from "@mdx-js/react"
import CodeWindow from "../components/CodeWindow"
import thing from '../images/thing.svg'
import { graphql, Link as GastbyLink } from 'gatsby'
import { MDX... |
import {
AfterContentInit,
ChangeDetectionStrategy,
Component,
ContentChildren,
Inject,
Input,
QueryList,
} from '@angular/core';
import {
EMPTY_QUERY,
identity,
isPresent,
itemsQueryListObservable,
tuiDefaultProp,
TuiDestroyService,
} from '@taiga-ui/cdk';
import {me... |
export const config = {
CANDY_MACHINE_CONFIG: "82ixfHEdPMG1iVxwcE6bNKf8xgj4EZESbbt3YbkmpuWS",
CANDY_MACHINE_ID: "2c6hDqFqP46YCeSS3aRcpEkiQMVsZrtnHNV5EFiiHDf9",
CANDY_START_DATE: "1639317600",
TREASURY_ADDRESS: "GLH7XHpbEu1iKBoiDD4JrzhvVLrxmRgJVnTRErSjqdod",
}; |
// Loot communities
export const communityList: Record<string, string>[] = [
{
name: "Loot Community Discord",
description: "For all things Loot and derivatives (note: high traffic)",
url: "https://discord.gg/NXEntTSHgy",
},
{
name: "Loot Talk (Forum)",
description: "A place for structured dis... |
import {
ChangeDetectionStrategy,
Component,
OnInit,
ViewEncapsulation,
} from '@angular/core';
import { FieldType } from '@ngx-formly/core';
@Component({
selector: 'ngx-cz-tel-formly',
templateUrl: './formly.component.html',
styleUrls: ['./formly.component.scss'],
encapsulation: ViewEncapsulation.None... |
import React from 'react';
import { mountUseStyles } from '@usercentric/uc-design-system-test-utils';
import Button from '../../../src/components/Button';
import IconButton from '../../../src/components/IconButton';
import Pagination from '../../../src/components/Pagination';
import LightboxHeader from '../../../src/co... |
/**
* Copyright 2018 Panjie Setiawan Wicaksono
*
* 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 require... |
<TS language="te" 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>
... |
import React from "react";
import { StyleSheet, TouchableOpacity } from "react-native";
import { Blue60, Gray30, Gray50, White0, Gray100 } from "../CarbonColors";
import CarbonText from "./CarbonText";
import { FontSizeMedium } from "../FontSizes";
interface CarbonButtonOutlineProps {
text: string;
onPress: () =>... |
import * as React from 'react';
import { Platform, StyleSheet, View } from 'react-native';
// eslint-disable-next-line import/no-unresolved
import { Screen, screensEnabled } from 'react-native-screens';
type Props = {
isVisible: boolean;
children: React.ReactNode;
style?: any;
};
const FAR_FAR_AWAY = 30000; // ... |
import { ScanSource } from './ScanSource';
import { Page } from './Page';
export interface Chapter {
id: string;
name: string;
number: number;
link: string;
scanned: boolean;
source: ScanSource;
createDate: Date;
pages: Page[];
} |
/*
* 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 { i18n } from '@kbn/i18n';
export const EMS_APP_NAME = 'kibana';
export... |
<TS language="lv_LV" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Izveidot jaunu adresi</translation>
</message>
<message>
<source>&New</source>
<translation>&Jauns</translation>
</message>
... |
import {OnmsError} from '../api/OnmsError';
import {Clause} from '../api/Clause';
import {Filter} from '../api/Filter';
import {IFilterProcessor} from '../api/IFilterProcessor';
import {IFilterVisitor} from '../api/IFilterVisitor';
import {IValueProvider} from './IValueProvider';
import {NestedRestriction} from '../ap... |
import {
NeptuneClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
} from "../NeptuneClient";
import { RemoveTagsFromResourceMessage } from "../models/index";
import {
deserializeAws_queryRemoveTagsFromResourceCommand,
serializeAws_queryRemoveTagsFromResourceCommand
} from "../protocols/Aws_query";
i... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { AzureTenant, ElectronAuthParameters } from '@botframework-composer/types';
import logger from '../utility/logger';
import { OneAuthBase } from './oneAuthBase';
import { OneAuth } from './oneauth';
const log = logger.extend('one-auth-... |
/** @license
* Copyright 2016 - present The Material Motion 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/LI... |
/*
* 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.
*/
jest.mock('crypto', () => ({ randomBytes: jest.fn() }));
import { first } fr... |
import {
ActionConfig,
BaseActionConfig,
} from '../../../lib/homeassistant/lovelace/types';
import {
ToggleActionConfig,
CallServiceActionConfig,
NavigateActionConfig,
UrlActionConfig,
MoreInfoActionConfig,
NoActionConfig,
CustomActionConfig,
} from '../../../lib/homeassistant/lovelace/types';
expo... |
import React, { FC, memo } from 'react';
import {
CheckboxProps as MuiCheckboxProps,
FormControlLabel,
FormControlLabelProps,
Tooltip,
Zoom,
} from '@material-ui/core';
import classNames from 'classnames';
import MuiCheckbox from '@material-ui/core/Checkbox';
import { Check } from '@material-ui/icons';
import useS... |
import { Text, Accordion, AccordionDetails, AccordionSummary, EthHashInfo } from '@gnosis.pm/safe-react-components'
import PrefixedEthHashInfo from 'src/components/PrefixedEthHashInfo'
import { grey400, lg, md, primary200, primary300, sm } from 'src/theme/variables'
import styled, { css } from 'styled-components'
impo... |
// Original file: null
import type { Long } from '@grpc/proto-loader';
export interface Int64Value {
'value'?: (number | string | Long);
}
export interface Int64Value__Output {
'value': (string);
} |
export {default} from './ResourceActionsMenu'; |
import * as React from 'react';
import { useEffect, useState } from 'react';
import { effectSafety, EffectSafety, Loader } from '../stuff';
export function DataLoader<T>(props: { loader: () => Promise<T>, deps?: any[], children: ((arg: T) => any) | React.ReactNode }) {
const [data, setData] = useState<{ result: T } ... |
import usePersistedState from './usePersistedState'
export { useGetRooms } from './useGetRooms'
export { usePersistedState } |
import { Tabs, Toast } from "@taroify/core"
import { MoreOutlined } from "@taroify/icons"
import * as React from "react"
import { ReactNode, useState } from "react"
import Block from "../../../components/block"
import Page from "../../../components/page"
import "./index.scss"
function BasicTabs() {
const [activeKey,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.