text stringlengths 10 953k |
|---|
export { LightSwitch } from './LightSwitch'; |
import {
FormControl,
FormLabel,
Input,
InputGroup,
InputRightElement,
FormControlProps
} from '@chakra-ui/core'
import {memo} from 'react'
import useControlledInput from 'lib/hooks/use-controlled-input'
import {secondsToHhMmSsString} from 'lib/utils/time'
const FORMAT = 'HH:mm:ss'
const arrayToSeconds =... |
import { Box, Slide } from '@material-ui/core';
import { Skeleton } from '@material-ui/lab';
import { useDispatch, useSelector } from 'react-redux';
import { prettifySeconds, prettyVestingPeriod, trim } from '../../helpers';
import { useWeb3Context } from '../../hooks';
import { redeemBond } from '../../store/slices/bo... |
/** @jsx jsx */
import { jsx } from '@emotion/core';
import React, { useEffect, useState } from 'react';
import { getDependenciesKeyFrom } from '../helpers/getDependenciesKeyFrom';
import { orchestrateSelections } from '../helpers/selectionsOrchestrator';
import { Dropdown } from './Dropdown'
import { NothingToSelect }... |
import {
GET_SAVE_DESTINATION_PATH_EVENT,
OPEN_SAVE_DIALOG_EVENT,
} from "@common/constant/event";
import type { Module } from "@common/modules/Module";
import type { IpcMainEvent } from "electron";
import { dialog, ipcMain } from "electron";
import type { ExporterType } from "./../exporters/Exporter";
/**
*... |
/*
* 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.
*/
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distr... |
/**
* @module botframework-streaming
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { PayloadTypes } from '../payloads/payloadTypes';
import { PayloadSender } from '../payloadTransport/payloadSender';
import { StreamingResponse } from '../streamingRes... |
import { R4_BackboneElement } from './R4_BackboneElement'
import { R4_DomainResource } from './R4_DomainResource'
import { R4_Reference } from './R4_Reference'
export class R4_ImplementationGuide_Resource1 extends R4_BackboneElement
{
static def : string = 'ImplementationGuide_Resource1';
reference : R4_Re... |
import { Injectable } from "@angular/core";
import { ObservableCursor } from "meteor-rxjs";
import { CharactersCollection } from "../../../../both/collections/characters.collection";
@Injectable()
export class CharactersDataService {
private data: ObservableCursor<any>;
constructor() {
this.data = CharactersC... |
// @ts-ignore
import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export interface CollapseTabOpenEvent {
/**
* Browser mouse event.
* @type {MouseEvent}
*/
originalEvent: MouseEvent;
/**
* Opened tab index.
*/
index: number;... |
import { Injectable } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';
@Injectable()
export class JWTAuthGuard extends AuthGuard('jwt') {} |
import { Component, Prop, h, State, Listen, Watch } from '@stencil/core';
import { Annotations, DataStream as SynchroChartsDataStream, TableColumn } from '@synchro-charts/core';
import {
StyleSettingsMap,
TimeSeriesDataRequestSettings,
combineProviders,
TimeQuery,
TimeSeriesData,
Viewport,
TimeSeriesDataR... |
export * from './array.util';
export * from './string.util';
export * from './error.util';
export * from './any.util'; |
import { NestFactory } from '@nestjs/core';
import {
FastifyAdapter,
NestFastifyApplication,
} from '@nestjs/platform-fastify';
import Fastify, { FastifyInstance } from 'fastify';
import { AppModule } from './AppModule';
async function bootstrap() {
// 应用实例
const application: FastifyInstance = Fastify();
... |
import * as _ from 'lodash';
import { createSelector, createSelectorCreator, defaultMemoize } from 'reselect';
import { State } from './reducer';
const getState = (state: State) => state;
export const getEditorState = createSelector(getState, s => s.present);
export const createDeepEqualSelector = createSelectorCreat... |
import('../bootstrap');
export {}; |
import { FormlyFieldConfig } from '@ngx-formly/core';
import { createFieldComponent } from '@ngx-formly/core/testing';
import { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';
const renderComponent = (field: FormlyFieldConfig) => {
return createFieldComponent(field, {
imports: [FormlyBo... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MytaskComponent } from './mytask.component';
describe('MytaskComponent', () => {
let component: MytaskComponent;
let fixture: ComponentFixture<MytaskComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
... |
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AdminLayoutRoutes } from './admin-layout.routing';
import { DashboardComponent } from './dashboard/dashboa... |
/*
* Copyright 2016 Palantir Technologies, Inc. All rights reserved.
*
* Licensed under the terms of the LICENSE file distributed with this project.
*/
import classNames from "classnames";
import * as React from "react";
import { Classes, IIntentProps, IProps, Utils } from "../../common";
import { Icon } from "..... |
import Key from "dkim-key";
import Signature from "dkim-signature";
export { Key, Signature };
export function getKey(domain: any, selector: any, callback: (error: Error, key: Key) => any): void;
export function getKey(domain: any, callback: (error: Error, key: Key) => any): void;
export function processBody(message... |
import {Injectable} from "@angular/core";
/**
* Service providing local application settings.
*/
@Injectable({
providedIn: "root"
})
export class LocalSettingsService {
/**
* Prefix for local app settings.
*/
private static readonly PREFIX = "settings";
/**
* Key for the dark mode setting.
*/
private ... |
export const MAX_WORD_LENGTH = 5
export const MAX_CHALLENGES = 6
export const ALERT_TIME_MS = 2000
export const REVEAL_TIME_MS = 350 |
import path from "path";
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import { defineAppModule, PulumiApp, PulumiAppModule } from "@webiny/pulumi-sdk";
import { createLambdaRole, getCommonLambdaEnvVariables } from "../lambdaUtils";
import { StorageOutput, VpcConfig } from "../common";
... |
import passport, { Profile } from 'passport'
import { Strategy as GitHubStrategy } from 'passport-github'
import { AUTH_COOKIE_NAME } from './constants'
import { IncomingMessage, ServerResponse } from 'http'
import { serialize } from 'cookie'
import { redirect } from './response'
import { prisma } from './prisma'
impor... |
import {
getArcVersion,
getContractAddresses,
getOptions,
getOrgName,
getWeb3,
increaseTime,
sendQuery,
toFixed,
waitUntilSynced,
waitUntilTrue,
writeProposalIPFS,
} from './util';
const ContributionReward = require('@daostack/migration/contracts/' + getArcVersion() + '/ContributionReward.json');... |
import React, { Props, useCallback, useMemo } from "react"
import "./controllerpart.less"
import Switch from "antd-mobile/lib/switch"
import "antd-mobile/lib/switch/style/index.less"
import anime from "animejs"
interface P extends Props<{}> {
title: string
mode?: "button" | "switch"
data: Data[]
}
export interf... |
import * as tf from '@tensorflow/tfjs-core';
import { PointwiseConvParams } from './types';
export declare function pointwiseConvLayer(x: tf.Tensor4D, params: PointwiseConvParams, strides: [number, number]): tf.Tensor<tf.Rank.R4>; |
import { ISuperIterator, SuperIterator, TGenericSuperIterator } from '../iterator-class';
import {
Impl, IteratorDrop, TInferTraitIteratorNextGNext, TInferTraitIteratorNextGValue, TraitIteratorDrop
} from '@lifaon/traits';
import { TInferIteratorStructGReturn } from '../../struct/iterator-struct';
@Impl()
export cla... |
import * as React from "react";
export const Solutions: React.StatelessComponent<{}> = () => {
return (
<div>
<h1>Solutions</h1>
</div>
);
};
export default Solutions; |
import { Injectable, Inject, forwardRef } from "@nestjs/common";
import { InjectRepository, InjectConnection } from "@nestjs/typeorm";
import { Repository, Connection, Like } from "typeorm";
import { UserService } from "@/user/user.service";
import { escapeLike } from "@/database/database.utils";
import { UserEntity ... |
import Game from "./game.js"
import GameMap from "./game-map.js"
import Player from "../../engine/player.js"
import {PlayerOptions} from "../../engine/player.js"
import Vector from "../../engine/vector.js"
import {VectorOptions} from "../../engine/vector.js"
export default class GamePlayer extends Game{
static pla... |
/* eslint-disable @typescript-eslint/no-empty-function */
/* eslint-disable @typescript-eslint/explicit-function-return-type */
/** byte - Coding format */
type byteFormat = 'utf-8' | 'iso-8859-2' | 'koi8' | 'cp1261' | 'gbk' | 'etc' ;
/**
* @param url WebSocket地址
* @param pingTimeout 心跳发送间隔
* @param pongTimeout ... |
import { AuthSession } from 'expo';
import { spotifyCredentials } from './secrets';
import { encode as btoa } from 'base-64';
import { setUserData, getUserData } from './asyncStorage';
const scopesArr = ['playlist-read-collaborative', 'playlist-read-private'];
const scopes = scopesArr.join(' ');
const getSpotifyCrede... |
export const theme = {
fonts: {
body: "'Open Sans', sans-serif",
heading: "'Roboto Mono', sans-serif",
},
space: {
primary: "5rem",
secondary: "2rem",
},
sizes: {
container: "96rem",
smallContainer: "72rem",
},
colors: {
text: "#464444",
background: "#fff",
primary: "#e... |
import { Message } from './message.entity';
describe('Message', () => {
it('should be defined', () => {
expect(new Message()).toBeDefined();
});
}); |
/*
* Copyright (C) 1998-2021 by Northwoods Software Corporation. All Rights Reserved.
*/
/*
* This is an extension and not part of the main GoJS library.
* Note that the API for this class may change with any version, even point releases.
* If you intend to use an extension in production, you should copy the code to ... |
export interface ColorInterface {
alpha: number;
hex: string;
rgb: number[];
rgba: number[];
hsv: number[];
}
export default class Color implements ColorInterface {
static collection: import("../types").ColorCollection;
alpha: number;
private color;
constructor(color?: string);
c... |
export const icon = { p: `<path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { DropDown, DropDownItem } from "adaptivecards-controls";
import { v4 as uuidv4 } from "uuid";
export enum ToolbarElementAlignment {
Left,
Right
}
export abstract class ToolbarElement {
private _rendered... |
export class UploadVehicleAppearanceDto {} |
import * as $protobuf from "protobufjs";
/** Properties of a CreditCard. */
export interface ICreditCard {
/** CreditCard id */
id?: (string|null);
/** CreditCard displayName */
displayName?: (string|null);
/** CreditCard promotions */
promotions?: (IPromotion[]|null);
/** CreditCard off... |
import {
GameLiftClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
} from "../GameLiftClient";
import {
UpdateFleetAttributesInput,
UpdateFleetAttributesOutput
} from "../models/index";
import {
deserializeAws_json1_1UpdateFleetAttributesCommand,
serializeAws_json1_1UpdateFleetAttributesCommand
... |
<TS language="bs" version="2.1">
<context>
<name>AddressBookPage</name>
</context>
<context>
<name>AddressTableModel</name>
</context>
<context>
<name>AskPassphraseDialog</name>
</context>
<context>
<name>BanTableModel</name>
</context>
<context>
<name>BitcoinGUI</name>
<message>... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
import { HttpHeaders } from "../httpHeaders";
import { Constants } from "../util/constants";
import { WebResourceLike } from "../webResource";
import { ServiceCli... |
import { mongo } from './mongo';
import { translatableSchema } from '../schemas/translatable-schema';
import { Message, MessageEmbed, MessageEmbedOptions, MessageReaction, PartialUser, User } from 'discord.js';
import { Client, CommandoGuild } from 'discord.js-commando';
import getConfirmation from './util/confirmation... |
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved.
* See 'LICENSE' in the project root for license information.
* ------------------------------------------------------------------------------------------ */
impo... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {combineReducers} from 'redux';
import {TeamTypes} from 'mattermost-redux/action_types';
import type {GenericAction} from 'mattermost-redux/types/actions';
import {ActionTypes} from 'utils/constants... |
/**
* API Gateway API
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
For more information, see
[Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
* OpenAPI spec version: 20190501
*
*
* NOTE: This class is auto generated by Or... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { TestBed, async } from '@angular/core/testing';
import { AppComponent } from './app.component';
import { InvoiceCalculatorService, InvoiceLine, Invoice, InvoiceLineComplete } from './invoice-calculator.service';
import { FormsModule } from '@angular/forms';
class InvoiceCalculatorServiceMock {
public Calcula... |
import * as pth from 'path';
import * as util from 'util';
import * as cproc from 'child_process';
import * as fs from 'fs-extra';
import { Spec } from '@hayspec/spec';
const exec = util.promisify(cproc.exec);
const cwd = pth.join(process.cwd(), 'src', 'tests', 'assets');
const spec = new Spec();
spec.test('initiali... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SorterComponent } from './sorter.component';
import { SortFieldComponent } from './sort-field/sort-field.component';
import { ViewService, Sorter } from '../../view.service';
import { TestUtils } from '../../test-utils';
describe('Sor... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { LayoutComponent } from './layout.component';
import { CanDeactivateGuard } from '../shared/formGuard/can-deactivate.guard';
const routes: Routes = [
{
path: '',
component: LayoutComponent,
... |
// tslint:disable-next-line: import-name
import Immutable from 'seamless-immutable';
import { TABLE_ADDED_TYPE, TABLE_EDIT_TYPE } from './constants';
import { TABLE_DATA_TYPE } from '../table/constants';
import { tableRowsWithEditing } from './computeds';
describe('TableEditRow Plugin computeds', () => {
const table... |
import { Component, ChangeDetectionStrategy, OnInit } from '@angular/core';
import {
Router,
NavigationStart,
NavigationEnd,
NavigationCancel,
NavigationError
} from '@angular/router';
import { AuthService } from '../auth/auth.service';
import { Subscription } from 'rxjs';
import { map, filter } from 'rxjs/op... |
export enum Role {
admin = 'admin',
user = 'user',
}
export enum CORP_HEAD_TYPE {
head = '00000',
} |
/**
* Api Documentation
* Api Documentation
*
* OpenAPI spec version: 1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
... |
import {ILevel} from "./ILevel";
import {Renderer} from "../Renderer";
import {Coordinate, Coordinate3D, Rect} from "../Entities";
import {EventEngine} from "../EventEngine";
import {StyleRenderable} from "../renderables/StyleRenderable";
import {GameRocket} from "../entities/GameRocket";
import {CollisionEngine} from ... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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 utilities 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 { input as inputs, output as outputs } from "./types";
import * as utilities from "./utilities";
/... |
import * as Materials from "../physics/Materials";
import * as Pixi from "pixi.js";
import { applyAerodynamics } from "../physics/Aerodynamics";
import ControlFlap from "./ControlFlap";
import BaseEntity from "../core/entity/BaseEntity";
import p2 from "p2";
import {
FlapDef,
WithPosition,
ControlFlapDirection
} ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { RestError } from "@azure/core-http";
export * from "./ShareClient";
export * from "./DirectoryClient";
export * from "./FileClient";
export * from "./credentials/AnonymousCredential";
export * from "./credentials/... |
import * as React from 'react'
function SvgViewGantt(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 24 24'
width='1em'
height='1em'
{...props}
>
<defs>
<style>{'.view-gantt_svg__cls-1{fill:#323232}'}</style>
... |
import {EditorState, Transaction} from 'prosemirror-state'
import {EditorView} from 'prosemirror-view'
import UICommand from './ui/UICommand'
class PrintCommand extends UICommand {
isActive = (state: EditorState): boolean => {
return false
}
isEnabled = (state: EditorState): boolean => {
... |
import * as pool from './sql.config.service';
import { QueryResult } from 'pg';
import { Player } from '../../models/models.module';
import CacheService from '../cache.service';
const cache = new CacheService(); // create a new cache service instance
export class SqlPlayersService {
/**
* Adds a player to th... |
function print(word: string) {
console.log(word);
}
print('hey') |
import baseReducer from '../utils/baseReducer'
import { BaseError } from '../typings/errors'
import { Sku } from '@commercelayer/js-sdk'
import _ from 'lodash'
import { CommerceLayerConfig } from 'context/CommerceLayerContext'
import { Dispatch } from 'react'
export interface LeadTimes {
hours: number
days: number... |
//
//
//
// Temporal でJS関係のDateが整理されるの待ち https://tc39.es/proposal-temporal/docs/
export { datetime } from "https://deno.land/x/ptera@v1.0.2/mod.ts";
// Base 58
export * as base58 from "https://deno.land/x/base58check@v0.1.4/mod.ts";
// UUID
export { v4 } from "https://deno.land/std@0.131.0/uuid/mod.ts";
// File Sys... |
import { INoticeError } from '../notice';
export interface IStackFrame {
functionName?: string;
fileName?: string;
lineNumber?: number;
columnNumber?: number;
}
export interface IError extends Error, IStackFrame {
noStack?: boolean;
}
export declare function espProcessor(err: IError): INoticeError;
... |
import { HTMLAttributes } from "react";
import { SpaceProps } from "styled-system";
import { Colors } from "../../theme/types";
export interface CardRibbonProps {
variantColor?: keyof Colors;
text: string;
ribbonPosition?: "right" | "left";
}
export type CardTheme = {
background: string;
boxShadow: string;
... |
import { render, screen, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import React from 'react';
import { mocked } from 'ts-jest/utils';
import API from '../../../../../../api';
import { ErrorKind, TwoFactorAuth } from '../../../../../../types';
import alertDispatcher f... |
import {GQLRequest, GQLSubscribe} from '../../node_modules/prendus-shared/services/graphql-service';
import {setNotification} from '../../redux/actions';
import {createUUID} from '../../node_modules/prendus-shared/services/utilities-service';
import {NotificationType} from '../../services/constants-service';
class Pre... |
/*
* Licensed to the Kassenärztliche Bundesvereinigung (KBV) (c) 2020 - 2021 under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The KBV licenses this file
* to you under the Apache License, Version 2.... |
/*
Copyright 2018-2020 National Geographic Society
Use of this software does not constitute endorsement by National Geographic
Society (NGS). The NGS name and NGS logo may not be used for any purpose without
written permission from NGS.
Licensed under the Apache License, Version 2.0 (the "License"); you may... |
import { createElement } from "../utils";
export class Tooltip {
public static createTooltip = (
triggerNode: HTMLElement,
msg: string | HTMLElement
): Tooltip => {
const tooltip = new Tooltip(triggerNode, msg);
tooltip.init();
return tooltip;
};
private triggerNode: HTMLElement;
private... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import $ from 'jquery';
import React from 'react';
import {Modal} from 'react-bootstrap';
import {FormattedMessage} from 'react-intl';
import {Session} from 'mattermost-redux/types/sessions';
import {Action... |
import { PhoneOff20 } from "../../";
export = PhoneOff20; |
/* tslint:disable */
/* eslint-disable */
/**
* Section API
* Get edgey with the Section API
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import globalA... |
import { Commit } from 'vuex'
export interface BaseRepository {
_commit: Commit
} |
export enum QextFileProperties {
AUTHOR = "author",
DESCRIPTION = "description",
ICON = "icon",
NAME = "name",
TYPE = "type",
VERSION = "version",
PREVIEW = "preview",
HOMEPAGE = "homepage",
KEYWORDS = "keywords",
LICENSE = "license",
REPOSITORY = "repository",
DEPENDENCI... |
import { BigNumber } from '@0x/utils';
import { orderCoercionUtil } from '../../src/util/order_coercion';
const ORDER = {
senderAddress: '0x0000000000000000000000000000000000000000',
makerAddress: '0x34a745008a643eebc58920eaa29fb1165b4a288e',
takerAddress: '0x0000000000000000000000000000000000000000',
... |
import {
Application,
ContentInfo,
FPFunction,
FPFunctionItem,
FunctionManager,
ResourceUpdateInfo,
} from '@foxpage/foxpage-types';
import { ManagerBaseImpl } from '../common';
import { foxpageDataService } from '../data-service';
import { FPFunctionInstance } from './function';
/**
* function manager
... |
export { Star20 as default } from "../../"; |
import "@polymer/app-layout/app-drawer-layout/app-drawer-layout";
import type { AppDrawerLayoutElement } from "@polymer/app-layout/app-drawer-layout/app-drawer-layout";
import "@polymer/app-layout/app-drawer/app-drawer";
import type { AppDrawerElement } from "@polymer/app-layout/app-drawer/app-drawer";
import {
css,
... |
// external dependencies
import * as randomstring from 'randomstring';
// local dependencies
import * as auth0requests from './requests';
import * as Objects from './auth-types';
import * as passphrases from './passphrases';
import * as env from '../utils/env';
import * as notifications from '../notifications/slack';
... |
/// <reference path='../../../interfaces/async/async.d.ts'/>
import abstractController = require("./abstractController");
import async = require("async");
class RepositoriesController extends abstractController {
constructor() {
super("repositories");
this.ensureLogin("*");
}
index() {
var self = this;
v... |
<TS language="es_DO" version="2.0">
<context>
<name>AddressBookPage</name>
<message>
<source>Double-click to edit address or label</source>
<translation>Haga doble clic para editar una dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
... |
import React from 'react';
import '../style/App.css';
import Piece from '../piece-enum';
import { Grid } from '@material-ui/core';
import TetrisGrid from './tetris-grid';
import { getPieceGrid } from './move-piece';
import choosePieceInputHandler from '../setup-components/choose-piece-input-handler';
interface PieceSe... |
import { AppQueue } from '../../../@types/app'
import { JobCard } from '../JobCard/JobCard'
import { QueueActions } from '../QueueActions/QueueActions'
import React from 'react'
import { StatusMenu } from '../StatusMenu/StatusMenu'
import { Store } from '../../hooks/useStore'
import s from './QueuePage.module.css'
exp... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { ComponentsModule } from '../../../components/compone... |
import { IComponent, InfernoNode, Props, StatelessComponent } from './types';
import { combineFrom, isFunction, isNullOrUndef, throwError } from 'inferno-shared';
import { updateClassComponent } from '../DOM/patching';
import { callAll, EMPTY_OBJ, findDOMfromVNode } from '../DOM/utils/common';
const QUEUE: Array<Compo... |
import styled from "styled-components"
export const PreviewBox = styled.div`
max-width: 380px;
margin: 0 auto;
border-radius: 10px;
-webkit-box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.25);
box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.25);
background... |
declare module "loghistory" {
export = LogHistory;
}
declare module LogHistory {
export module adapters {
/**
* Interface abstract adapter
*/
class AdapterAbstract {
}
/**
* Options for adapter console
*/
export i... |
import {useEffect, useMemo, useState} from "react";
import {getQueryRangeUrl, getQueryUrl} from "../../../../api/query-range";
import {useAppState} from "../../../../state/common/StateContext";
import {InstantMetricResult, MetricBase, MetricResult} from "../../../../api/types";
import {isValidHttpUrl} from "../../../..... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
*----------------------------------------------------------------... |
import { Content } from './types';
export class StringContent implements Content<string> {
value: string;
constructor(initialValue: string = '') {
this.value = initialValue;
}
append(value: string): this {
this.value = this.value + value;
return this;
}
prepend(value: string): this {
thi... |
/**
* Calls all functions in the order they were chained with the same arguments.
*/
export function chain(...callbacks) {
return (...args) => {
for (let callback of callbacks) {
if (typeof callback === 'function') {
callback(...args);
}
}
};
} |
import * as React from 'react';
import { ReactElement } from 'react';
import { RaRecord } from '../../types';
import { useShowController, ShowControllerProps } from './useShowController';
import { ShowContextProvider } from './ShowContextProvider';
/**
* Call useShowController and put the value in a ShowContext
*
... |
import React from 'react';
import styled from 'styled-components';
const StyledFooter = styled.footer`
background-color: ${props => props.theme.colors.thirdary};
bottom: 0;
position: absolute;
width: 100%;
z-index: 1;
text-align: start;
padding: .2rem;
user-select: none;
@media (min-width: ${props =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.