text stringlengths 10 953k |
|---|
import { RawProps, Props } from "./props";
import { ComponentGetter } from "./Component";
import { HElement } from "./HElement";
import { _flatten } from "./utils";
export function createElement<P = RawProps>(type: string | ComponentGetter<P>, props?: RawProps & P, ...children: any[]) {
return new HElement<P>(
... |
/**
* Copyright 2018 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="kk_KZ" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SUBX</source>
<translation type="unfinished"/>
</message>
<message>
<location line="... |
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { MomentModule } from 'angular2-moment';
import { PipelinesService } from '../../space/create/pipelines/services/pipelines.servic... |
import React from 'react';
import { connect } from 'react-redux';
import translate from 'translations';
import { NetworkConfig } from 'types/network';
import { AppState } from 'features/reducers';
import {
configMetaSelectors,
configSelectors,
configNodesSelectedSelectors
} from 'features/config';
import './Netw... |
/*
* Copyright 2018 IBM Corporation
*
* 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 ... |
// *** 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";
/**
* `mongodbatlas_cluster` describes a Cluster. The. The dat... |
import { CosineEmbeddingLossOptions } from '@/nodes/overview/loss/Cosineembeddingloss';
import { nodeName, Reduction, getReduction } from '@/app/ir/irCommon';
export default class CosineEmbeddingLoss {
constructor(
public readonly name: string,
public readonly Margin: number,
public readonly SizeAverage: bigin... |
import { FormGroup } from '@angular/forms';
export class PasswordValidators {
static newPasswordMatchConfirmPassword(fg: FormGroup) {
let np = fg.controls['np'].value;
let cp = fg.controls['cnfp'].value;
if (cp == '' || np === cp) {
return null;
}
return {notMatches: true};
}
} |
export const projectPreviewContainer: string;
export const projectImageContainer: string;
export const projectPreviewContainerFull: string;
export const linkContainer: string;
export const playerWrapper: string;
export const reactPlayer: string;
export const bannerProjectText: string;
export const bannerProjectTextP: s... |
// This file was generated
import * as Joi from 'joi';
import { OaValidationError } from '../oaValidationError';
import * as oa from '../oa';
import * as schema from '../schema';
/**
* schema:BookmarkAction
*/
export type BookmarkAction = {
'@type': 'BookmarkAction';
'@context'?: string | string[];
/**
* Th... |
import React, {
useEffect,
useState,
} from 'react';
import {
Route,
Switch,
} from 'react-router-dom';
import {
sortByAnchorForRouterSwitch,
} from '../util';
import StyledApp from './StyledApp';
import MainNavLargerScreens from './LargerScreens/MainNav';
import SmallScreenMenu from './SmallScreen/Menu';
... |
export interface FooterProps {
copyright?: string
}
export function Footer({ copyright, ...props }: FooterProps) {
return (
<footer py="8|10|12" {...props}>
<div variant="container.md">
{copyright && (
<p variant="text.sm" textAlign="center" my="0">
{copyright}
</p... |
import { RFValue } from 'react-native-responsive-fontsize';
import styled from 'styled-components/native';
import { Platform } from 'react-native';
export const Container = styled.View`
`;
export const Form = styled.View`
height: 100%;
align-items: center;
justify-content: center;
padding: 0px 54px;
`;
expor... |
import { css } from 'lit-element';
export const Header = css`
app-header {
position: fixed !important;
top: 0;
margin-left: 55px;
display: block;
transition-timing-function: linear;
z-index: 1;
width: stretch;
font-family: var(--primary-font-family);
}
app-toolbar {
height: 4... |
import type DataBuffer from '../../DataBuffer';
import type ClientBoundPacket from '../ClientBoundPacket';
export default class ClientBoundSetPlayerTeamPacket implements ClientBoundPacket {
public constructor(public method: number, public name: string, public players: string[], public parameters: any) {}
publ... |
import { NgModule } from '@angular/core';
import { PaginationComponent } from './pagination.component';
import { CommonModule } from '@angular/common';
@NgModule({
declarations: [
PaginationComponent
],
exports: [
PaginationComponent
],
imports: [
CommonModule
]
})
expo... |
import { consoleSandbox, getGlobalObject } from './misc';
// TODO: Implement different loggers for different environments
const global = getGlobalObject<Window | NodeJS.Global>();
/** Prefix for logging strings */
const PREFIX = 'Sentry Logger ';
/** JSDoc */
class Logger {
/** JSDoc */
private _enabled: boolean... |
// Dependencies
import { MongooseDBCollection, MongooseDBSchema } from '../../../src';
interface TestCollection {
email: string;
fullName: string;
reference: string;
}
const testCollectionSchema = new MongooseDBSchema<TestCollection>({
email: {
type: String,
required: true,
unique: true,
matc... |
import { ChangeDetectorRef, Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
import { Configuration, CriteriaData, DataElement, Label } from '../../../model/model.module';
import { FormControl } from '@angular/forms';
@Component({
selector: 'data-input',
templateUrl: './data... |
import { deepStrictEqual } from "assert";
import { Formatter } from "../formatter";
suite("Comments formatting tests", () => {
test("Multiline comment alone", () => {
const text = `/*
one
two
three
*/
`;
const expected = text;
const formatter = new Formatter();
const actual =... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './pages/home/home.component';
import { ConcursoComponent } from './pages/concurso/concurso.component';
import { ContatoComponent } from './pages/contato/contato.component';
const routes: Ro... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ky" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Rumbcoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line=... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-aside0-settings',
templateUrl: './html/aside0-settings.component.html',
styleUrls: ['./scss/aside0-settings.component.scss']
})
export class Aside0SettingsComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} |
import { InfoChange, Category, UserPage } from './../shared/interfaces';
import { concatMap } from 'rxjs/operators';
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable, of } from 'rxjs';
import { User, RecipePage, Recipe, Fridge, Ingredient } from '../shar... |
import { browser, by, element } from 'protractor';
xdescribe('Protractor testing suite with TypeScript', () => {
beforeAll(() => {
browser.get('/');
browser.manage().logs().get('browser').then((browserLog) => {
console.log('log: ' + require('util').inspect(browserLog));
});
});
describe('Prot... |
import { StyleSheet } from 'react-native'
import { theme } from '../../global/styles/theme'
export const styles = StyleSheet.create({
container: {
flex:1,
marginTop: 475
},
overlay: {
flex: 1,
backgroundColor: theme.colors.overlay
},
bar: {
width:39,
height: 2,
borderRadius: 2,
... |
// @flow
// @jsx h
import { Vue, Component, Prop, Watch } from 'vue-property-decorator';
import { addClass, removeClass } from '@/utils/dom';
@Component({
name: 'v-half-screen-dialog',
})
export default class VHalfScreenDialog extends Vue {
@Prop({ type: Boolean, default: false }) show!: boolean; // support sync
... |
/* tslint:disable:no-console */
import 'dotenv/config';
import { IgApiClient } from '../src';
// tslint:disable-next-line:no-var-requires
const shttps = require('socks-proxy-agent'); // you should install SOCKS5 client via: npm i socks-proxy-agent
(async () => {
const ig = new IgApiClient();
ig.state.generateDevice... |
/*
© 2020 NetSuite Inc.
User may not copy, modify, distribute, or re-bundle or otherwise make available this code;
provided, however, if you are an authorized user with a NetSuite account or log-in, you
may use this code subject to the terms that govern your access and use.
*/
/// <amd-module name="Product.Model"/... |
/**
* holds the handlers for the timeout and interval
*
* @export
* @class DelayedIntervalHandler
*/
export declare class DelayedIntervalHandler {
/**
* holds the initialization timeout - if canceled before a new minute began - the interval will never register
*
* @type {number}
* @memberof... |
<TS language="it" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Fare click col pulsante destro per modificare l'indirizzo o l'etichetta</translation>
</message>
<message>
<source>Create a new add... |
import * as nock from 'nock';
import { Credentials, PatchOperation, StringComments, StringCommentsModel } from '../../src/index';
describe('String Comments API', () => {
let scope: nock.Scope;
const credentials: Credentials = {
token: 'testToken',
organization: 'testOrg',
};
const api: ... |
/*
* 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 { createRulesSchema } from './create_rules_schema';
import { UpdateRul... |
import { Module } from "@nestjs/common";
import { InfoController } from "./info.controller";
import { InfoService } from "./info.service";
@Module({
controllers: [ InfoController ],
providers: [ InfoService ]
})
export class InfoModule {} |
import ParishID from "./ValueObjects/ParishID";
import ParishName from "./ValueObjects/ParishName";
export default class Parish {
private readonly _id: ParishID;
private readonly _name: ParishName;
} |
/*
* Copyright 2007 ZXing authors
*
* 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 ... |
/*
* @adonisjs/i18n
*
* (c) Harminder Virk <virk@adonisjs.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import { test } from '@japa/runner'
import { I18n } from '../src/I18n'
import { fs, setup } from '../test-helpers'
imp... |
import Server from './server/Server';
jest.mock('./server/server');
describe('Main', () => {
it('Should create a new Server', () => {
require('./index');
expect(Server.bootstrap).toHaveBeenCalledTimes(1);
});
}); |
import { MigrationInterface, QueryRunner, Table } from "typeorm";
export class User1599107987597 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.createTable(
new Table({
name: "users",
columns: [
{
name: "id"... |
export function CreepQualifiesAsActive(name: string, additionalBuffer?: number): boolean {
const creep: Creep | null = Game.creeps[name];
if (creep) {
return CreepIsYouthful(creep, additionalBuffer);
}
return false;
}
export function CreepIsYouthful(creep: Creep, additionalBuffer?: number) {
... |
import { RESTDataSource, RequestOptions } from 'apollo-datasource-rest';
import { LANGUAGES } from '../config/constants';
/**
* All API documentation find: https://developers.themoviedb.org/3/getting-started/introduction
*/
export class TheMovieDB extends RESTDataSource {
selectLanguage: string;
constructor(... |
// https://github.com/thematters/matters-web/tree/develop/src/components/Dialog
import Header from "./Header";
export const Dialog = () => {
return <span>Dialog</span>;
};
// export as a sub-component
Dialog.Header = Header; |
import { ethers } from 'ethers';
import { BigNumber } from 'bignumber.js'
import { ContractCompiler } from '../libraries/ContractCompiler';
import { ContractDeployer } from '../libraries/ContractDeployer';
import { CompilerConfiguration } from '../libraries/CompilerConfiguration';
import { DeployerConfiguration } from ... |
/// <reference types="ws" />
import * as WebSocket from 'ws';
declare class EACSToken {
payload: any;
identifier: string;
constructor(payload: any);
hasPermission(perm: string): boolean;
}
interface EACSSocketOptions extends WebSocket.ServerOptions {
jwtPubKey?: string;
}
declare class EACSSocket ex... |
import { K8sResourceKind, MachineKind, NodeKind } from '@console/internal/module/k8s';
import { getDeletetionTimestamp } from '@console/shared/src/selectors';
import {
getHostOperationalStatus,
getHostProvisioningState,
getHostErrorMessage,
} from '../selectors';
import {
HOST_STATUS_TITLES,
HOST_STATUS_UNDER... |
import * as React from "react";
import * as PropTypes from "prop-types";
import PluginParameterModel from "../../models/plugin-parameter-model";
import TrackPluginModel from "../../models/track-plugin-model";
import {ArrayExtended} from "../../array-extended";
export interface PAGParameterViewProps {
parameterMode... |
import {AbstractObject} from "./_abstract_object";
export class ExtensionIndex extends AbstractObject {
public getType(): string {
return "XINX";
}
public getAllowedNaming() {
return { // todo, verify
maxLength: 30,
allowNamespace: true,
};
}
} |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Trinity</source>
<translation>O Trinity</translation>
</message>... |
import React from 'react'
import { Graph, Node, NodeView, Point, Angle, Dom, Vector } from '@antv/x6'
import '../index.less'
class ConveyorNode extends Node {
addPallet() {
this.prop('hasPallet', true)
}
removePallet() {
this.prop('hasPallet', false)
}
hasPallet() {
return !!this.prop('hasPalle... |
/**
* Copyright (c) 2017 ~ present NAVER Corp.
* billboard.js project is licensed under the MIT license
*/
import CLASS from "../../config/classes";
export default {
generateClass(prefix: string, targetId: string): string {
return ` ${prefix} ${prefix + this.getTargetSelectorSuffix(targetId)}`;
},
/**
* Get... |
import { COLOR_BASTILLE, COLOR_SANTAS_GREY } from '../colors';
export const light = {};
export const dark = {
color: COLOR_SANTAS_GREY,
background: COLOR_BASTILLE
}; |
import * as path from 'path';
import appc from '../appc';
import * as utils from '../utils';
import { pathExists } from 'fs-extra';
import { UpdateInfo } from 'titanium-editor-commons/updates';
import { InputBoxOptions, QuickPickItem, QuickPickOptions, Uri, window, workspace } from 'vscode';
import { InteractionError,... |
/* eslint-disable quotes */
export function welcomeEmbed(): unknown {
return {
embed: {
title: "Welcome to 1Hive! 🍯",
description:
"Please say hi in the [#:coffee:cafe](https://discord.com/channels/698287700834517064/708187392594411521) to share how you found us and what interests you!\nYou c... |
export const REVISION: string;
// https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent.button
export enum MOUSE { LEFT, MIDDLE, RIGHT }
// GL STATE CONSTANTS
export enum CullFace { }
export const CullFaceNone: CullFace;
export const CullFaceBack: CullFace;
export const CullFaceFront: CullFace;
export const Cul... |
export enum DiscountTypeEnum {
percentage = 1,
value = 2,
} |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.sass']
})
export class AppComponent {
title = 'note-spitter';
} |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
// @allowJs: true
// @out: out.js
// @filename: a.ts
class c {
}
// @filename: b.js
function foo() {
} |
import {NgModule} from '@angular/core';
import {MatAutocompleteModule} from '@angular/material/autocomplete';
import {MatButtonModule} from '@angular/material/button';
import {MatButtonToggleModule} from '@angular/material/button-toggle';
import {MatCheckboxModule} from '@angular/material/checkbox';
import {MatInputMod... |
import React, {
createContext,
useContext,
useMemo,
useState,
useEffect,
} from "react";
import { Currency, findCryptoCurrencyById } from "@ledgerhq/cryptoassets";
import { API, apiForCurrency } from "../../api/Ethereum";
import { NFT, NFTMetadataResponse } from "../../types";
import { getNftKey } from "../he... |
interface Course {
name: string;
duration: number;
educator: string;
}
class CreateCourseService {
execute({ name, duration, educator }: Course) {
console.log(name, duration, educator);
}
}
export default new CreateCourseService(); |
import { combineLatest } from "rxjs";
import { map } from "rxjs/operators";
import { ErrorPublisher } from "../utils/ErrorPublisher";
import { MultiFormValidation } from "../utils/MultiFormValidation";
import { ObservableFormControl } from "../utils/ObservableFormControl";
import { LengthValidationErrorProps } from ".... |
import { v2 } from "@govtechsg/open-attestation";
import { XmlRendererFileInterface } from "./typesFile";
export const XMLRendererSampleData: XmlRendererFileInterface = {
$template: {
type: v2.TemplateType.EmbeddedRenderer,
name: "XML_RENDERER",
url: "http://localhost:3000",
},
issuers: [
{
... |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { SetupService } from '../setup.service';
import { HttpClient } from '@angular/common/http';
import { CookieService } from 'ngx-cookie-service';
@Component({
selector: 'app-select-property',
templateUrl: './select-p... |
import { ASTType, ASTNode, ASTRange } from "../index";
import { IVisitor } from "../visitor/IVisitor";
export class KeywordNode extends ASTNode {
text: string
/**
* Constructs an AST String node
* @param text
**/
constructor(text: string, location: ASTRange) {
super(ASTType.Keyword... |
import * as React from "react";
export interface SideBarProps {
}
export interface SideBarStates {
}
export class SideBar extends React.Component<SideBarProps, SideBarStates> {
public constructor(props: SideBarProps) {
super(props);
}
render() {
return <div className="sidebar">
... |
export * from './utils/clientSize'
export * from './utils/styled'
export * from './hooks/useClientSize'
export * from './hooks/useConstant'
export * from './hooks/useElementScroll'
export * from './hooks/useIsomorphicLayoutEffect'
export * from './hooks/useMotionValueValue' |
/* eslint-disable max-classes-per-file */
import { BigNumber } from 'ethers'
import { Currency, JsonSerializeable } from 'core/model/Schema'
/**
* Represents an amount of fCash that will be purchased in a settle or liquidate action
*
* @typedef {object} FCashPurchase
* @property {integer} maturity.required - Unix ... |
/* eslint-disable @typescript-eslint/no-var-requires */
import Client, { EventDeliveryPayload } from '@bugsnag/core/client'
jest.mock('react-native', () => ({
AppState: {
addEventListener: jest.fn(),
currentState: 'active'
}
}))
describe('plugin: expo app', () => {
beforeEach(() => {
jest.resetModul... |
import {Command, flags} from '@oclif/command'
export default class Review extends Command {
static description = 'Start a pull request for the story linked to the current branch'
static examples = [
`$ chgit review`,
]
static flags = {
help: flags.help({char: 'h'}),
}
async run() {
const {ar... |
import { Grid, Text } from "@chakra-ui/react";
import Infos from "./Infos";
export default function Content() {
return (
<Grid templateColumns={['1fr','1fr','1fr','1fr 1fr', '1.2fr 1fr']} gap={[5, 10, 16, 20]} my={['8', '20']}>
<Text
fontSize={['lg','xl', 'xl', '2xl']}
color='dark.400'
... |
declare module 'git-commit-range';
declare module 'chalk'; |
import { DomNode, el } from "@hanul/skynode";
import { View, ViewParams } from "skyrouter";
import msg from "msg.js";
import Loading from "../../component/loading/Loading";
import PFPCard from "../../component/PFPCard";
import PFPsContract from "../../contracts/PFPsContract";
import Layout from "../Layout";
import View... |
import type { FC } from "react";
import { Count } from "./Count";
import styles from "./index.css";
const App: FC = () => (
<main className={styles.App}>
<Count />
</main>
);
export { App }; |
import {
Controller, Post, Body, HttpCode,
} from '@nestjs/common';
import { SubmissionsService } from './submissions.service';
@Controller('/submissions')
export default class AppController {
constructor(private readonly submissionsService: SubmissionsService) {}
@Post('/')
@HttpCode(200)
postSubmission(@B... |
import * as React from 'react'
import { GridColDef, GridCellParams } from '@material-ui/data-grid'
import Chip from '@material-ui/core/Chip'
import ColumnWithChip from 'src/atoms/TableColumnWithChip'
/**
* tag table definition
*/
export const columns: GridColDef[] = [
{ field: 'id', headerName: 'ID', width: 100 },
... |
import type { Getters } from '@augurproject/sdk';
import { AppState } from 'appStore';
import { updateLoginAccount } from 'modules/account/actions/login-account';
import { NodeStyleCallback } from 'modules/types';
import { Action } from 'redux';
import { ThunkDispatch } from 'redux-thunk';
import { augurSdk } from 'ser... |
import { quadtree as d3_quadtree, Quadtree } from 'd3-quadtree'
import { scaleLinear, ScaleLinear } from 'd3-scale'
import { event as d3_event, select } from 'd3-selection'
import { annotationCallout } from 'd3-svg-annotation'
import { zoom as d3_zoom, ZoomBehavior } from 'd3-zoom'
import * as fc from 'd3fc'
import {
... |
import { Injectable } from "@angular/core";
import { HttpClient } from "@angular/common/http";
import { Observable } from "rxjs";
import { ApplicationConfigService } from "app/core/config/application-config.service";
import { Metrics, ThreadDump } from "./metrics.model";
@Injectable({ providedIn: "root" })
export cla... |
import { GetServerSideProps } from "next"
import { getSession } from "next-auth/react"
import Head from 'next/head'
import { RichText } from "prismic-dom"
import { getPrismicClient } from "../../services/prismic"
import styles from './post.module.scss'
interface PostProps{
post: {
slug: string;
t... |
Components.utils.import('resource://gre/modules/osfile.jsm')
import { sleep } from './sleep'
import { Translators } from './translators'
import { Preference } from '../gen/preferences'
export const AUXScanner = new class { // eslint-disable-line @typescript-eslint/naming-convention,no-underscore-dangle,id-blacklist,i... |
import React from 'react';
import logoImg from '../../assets/logo.svg';
import { Container, Content } from './styles';
const Header: React.FC = () => {
return (
<Container>
<Content>
<img src={logoImg} alt="MPanel" />
<a href="##">
<img
src="https://crafatar.com/avat... |
/**
* Copyright (c) 2016-2017 Dmitry Panyushkin
* Available under MIT license
*/
import { autobind, event, EventType, subscribe } from "../src/knockout-decorators";
describe("@event decorator", () => {
it("should lazily create properties on instance", () => {
class Publisher {
@event myEvent: () => void... |
import { socket } from "./network";
function onError() {
socket.close();
document.body.className = "disconnected";
document.body.innerHTML = "Whoops, you encountered a bug 😞. Plz reload the page.<br>Open the devtools console (F12) for details.";
}
window.onerror = onError; |
import { createSpyObj } from '../../../test/helper/jest'
import { editCiraConfig } from './edit'
describe('CIRA Config - Edit', () => {
let resSpy
let req
let getByNameSpy: jest.SpyInstance
beforeEach(() => {
resSpy = createSpyObj('Response', ['status', 'json', 'end', 'send'])
req = {
db: { cira... |
// fontawesome/svgs/solid/hourglass-end.svg
import { createSvgIcon } from './createSvgIcon';
export const SvgHourglassEnd = createSvgIcon(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">
<!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/lice... |
import { Router, Request, Response } from 'express';
import cors from 'cors';
import { readFile } from 'fs/promises';
import path from 'path';
import crypto from 'crypto';
import { BaseApi } from './BaseApi.js';
const router = Router();
export default router;
class ImagesApiRoute extends BaseApi {
getResourcePath(n... |
import { MessageBase } from '../MessageBase';
export const PongResponseType = 'Pong';
export interface PongResponse extends MessageBase<typeof PongResponseType> {
timestamp: number;
} |
import * as commander from "commander";
import { parseTyping, Typing } from "./dependency";
import { install, uninstall, TYPINGS_DIR } from "./install";
commander
.version(require("../package").version);
commander
.command("install <name> [otherNames...]")
.description(`install typings to ${TYPINGS_DIR}`... |
import {
batch,
changeset
} from '@sap-cloud-sdk/test-services-e2e/v4/test-service';
import { destination } from './test-util';
import {
deleteEntity,
testEntityApi
} from './test-utils/test-entity-operations';
const entityKey = 456;
const requestBuilder = testEntityApi.requestBuilder();
describe('batch', () ... |
import { Component, OnInit } from '@angular/core';
import {DealWithTabService} from '../deal-with-tab.service';
import {ActivatedRoute} from '@angular/router';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnI... |
import './polyfills';
// eslint-disable-next-line arca/import-ordering
import {YarnVersion} from '@yarnpkg/core';
import {main} from './main';
import {getPluginConfiguration} from './tools/getPluginConfiguration';
main({
binaryVersion: YarnVersion || `<unknown>`,
pluginConfiguration:... |
import { AnimationTriggerMetadata } from '@angular/animations';
import { IAnimationOptions } from '../common/interfaces';
export interface IRollOutAnimationOptions extends IAnimationOptions {
/**
* Angle - number of degrees at which end animation.
*
* Default 120
*/
degrees?: number;
/**... |
import has from './support/has';
export const FRACTION_UNITS = Math.pow(2, 23);
export const MAX_FLOAT32 = 3.4028234663852886e38;
export const MIN_FLOAT32 = 1.401298464324817e-45;
/**
* Returns the hyperbolic arccosine of a number.
*
* @param n The number to use in calculation
* @return The result
*/
export let ... |
export class SQLError {
// Error code constants from http://www.w3.org/TR/webdatabase/#sqlerror
static UNKNOWN_ERR = 0;
static DATABASE_ERR = 1;
static VERSION_ERR = 2;
static TOO_LARGE_ERR = 3;
static QUOTA_ERR = 4;
static SYNTAX_ERR = 5;
static CONSTRAINT_ERR = 6;
static TIMEOUT_ERR = 7;
code: nu... |
/* eslint-disable react/style-prop-object */
import styled from 'styled-components/native';
import { useAuthentication } from '@modules/authentication/hooks/authentication';
import AuthenticationRoutes from '@modules/authentication/routes';
import Loading from '@modules/authentication/components/Loading';
import { Stat... |
import { Invitation, InvitationState, ProofOfInvitation } from '@/invitation/types'
import { memoize, VALID, ValidationResult } from '@/util'
import { signatures } from '@herbcaudill/crypto'
export const invitationCanBeUsed = (invitation: InvitationState, timeOfUse: number) => {
const { revoked, maxUses, uses, expi... |
import 'reflect-metadata';
import CreateUserService from '@modules/users/services/CreateUserService';
import FakeUsersRepository from '@modules/users/repositories/fakes/FakeUsersRepository';
import AppError from '@shared/errors/AppError';
import FakeHashProvider from '@modules/users/providers/HashProvider/fakes/FakeHas... |
/**
* Welcom to @reach/tabs!
*
* An accessible tabs component.
*
* The `Tab` and `TabPanel` elements are associated by their order in the tree.
* None of the components are empty wrappers, each is associated with a real DOM
* element in the document, giving you maximum control over styling and composition.
*
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.