text stringlengths 10 953k |
|---|
//-- copyright
// OpenProject is a project management system.
// Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License version 3.
//
// OpenProject is a fork of ChiliProject, which is a ... |
import { DevtoolsEvent } from "../adapter/adapter";
import { Commit, MsgTypes, flush } from "../events";
import { Fragment, VNode } from "preact";
import { IdMapper, createIdMapper } from "./IdMapper";
import { getStringId } from "../string-table";
import { DevtoolsHook } from "../hook";
import {
isRoot,
findRoot,
g... |
// Internal
// Exported
interface ValidateOptions {
inverse?: boolean;
optional?: boolean;
rest?: boolean;
}
type ValidateArgs = [
name: string,
value: any,
types: any[],
options?: ValidateOptions
];
declare function validate(origin: string, args: ValidateArgs[]): void;
export {
validate,
ValidateOptions,... |
/*
MIT License
Copyright (c) 2021 Looker Data Sciences, Inc.
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, modi... |
import { client } from '../database';
export type Order = {
id?: number;
user_id: string;
status: string;
};
export class OrderList {
async create(o: Order): Promise<Order> {
try {
const conn = await client.connect();
const sql =
'INSERT INTO orders (user_id, status) VALUES ($1, $2) RE... |
/**
*
* Asynchronously loads the component for InitialDeclaration
*
*/
import { lazyLoad } from 'utils/loadable';
export const InitialDeclaration = lazyLoad(() => import('./index'), module => module.InitialDeclaration); |
export { default } from "./ZELogicformVisualizer"; |
import { useSocketStore } from "../core/store";
export function useSocket() {
const socket = useSocketStore((s) => s.socket);
return socket;
} |
import React, { createContext, memo, ReactNode, useContext } from "react";
export interface GatsbyPageProps {
location: import("@reach/router").WindowLocation;
navigate: import("@reach/router").NavigateFn;
pageContext: unknown;
pageResources: unknown;
path: string;
pathContext: unknown;
url: string;
}
i... |
export const todoItemFields = `
id
title
completed
description
`;
export const pageInfoField = `
pageInfo{
hasNextPage
hasPreviousPage
startCursor
endCursor
}
`;
export const edgeNodes = (fields: string): string => {
return `
edges {
node{
${fields}
}
cursor
}
... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-sidebar',
templateUrl: './sidebar.component.html',
styleUrls: ['./sidebar.component.css']
})
export class SidebarComponent implements OnInit {
isCollapse = true;
constructor() { }
ngOnInit() {
}
} |
import { createSelector } from 'reselect'
import { Note } from './types'
const getState = (state: any) => state.notes
const notesSelector = (state: any) => getState(state).notes
const noteByIdSelector = createSelector(
notesSelector,
(_: any, props: any) => props.route.params.noteId,
(notes: Note[], id: string... |
import { ParseError, ParseSourceSpan } from './parse_util'
import * as html from './ast'
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig } from './interpolation_config'
import * as lex from './lexer'
import { TagDefinition, getNsPrefix, isNgContainer, mergeNsAndName } from './tags'
import { isKnownHTMLTag }... |
import React, { useEffect, useState } from 'react';
import { FaCopy } from 'react-icons/fa';
import { InputColor } from '../InputColor/InputColor';
import { AllColors, ColorsEnum } from '../../Utils/ColorsEnum';
import {
Color,
copyVariables,
getColorVariable,
setColorVariable,
} from '../../Utils/Utils';
impor... |
import db from '../db/mysql'
import { STRING, Model, INTEGER } from 'sequelize'
class Users extends Model {}
Users.init(
{
id: {
type: INTEGER,
allowNull: false,
autoIncrement: true,
primaryKey: true
},
username: {
field: 'user_nam... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="et" version="2.0">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About AriesCoin</source>
<translation>AriesCoinist</translation>
</message>
<message>
<locati... |
import type { FC } from 'react';
import React from 'react';
import { Tabs } from 'antd';
import type { FormInstance, TabsProps } from 'antd';
import { FormRender } from '../../FormRender';
import type {
PanelBaseProps,
PanelTabsType,
PanelConfigType,
} from '../../type';
import { Wrapper } from './Styled';
import... |
import { Injectable } from "@angular/core";
import * as io from "socket.io-client";
import { Observable } from "rxjs";
import { APIService } from 'src/app/components/shared/global.api.settings.service';
@Injectable({
providedIn: "root"
})
export class SocketService {
private socket = io(this.apiService.getApiUrl()... |
import { InputHTMLAttributes } from 'react';
export type BudInputProps = InputHTMLAttributes<HTMLInputElement>;
const BudInput: React.FC<BudInputProps> = ({ className, ...rest }) =>
(
<div className={className}>
<input
{...rest}
className="block w-full border border-gray-300 rounded-lg bg-... |
import { Injectable } from '@nestjs/common';
import { Option } from '@business/models/option.model';
import { ReferenceEntity } from '@dal/entity/reference/reference-entity.interface';
import { Enumeration } from '@business/models/enumeration.model';
@Injectable()
export class ReferenceMappingService {
mapToOption(... |
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
interface MinerResponse {
miners: Miner[]
}
interface Miner {
name: string;
difficulty: number;
hashrate: string;
lastaccepted: string;
... |
export interface GenericListItem {
id: number;
isChecked: boolean;
[key: string]: any;
}
export interface CheckboxListProps {
data: Array<GenericListItem>;
onClick: (id: number) => void;
header: string;
} |
import { Chain } from '../../constants';
export declare const Cronos: Chain;
export declare const CronosTestnet: Chain;
declare const _default: {
Cronos: Chain;
CronosTestnet: Chain;
};
export default _default;
//# sourceMappingURL=cronos.d.ts.map |
// metadata
export const version = "0.7.6"
export const title = "Merkle Tree"
export const description = "Learn about Merkle tree in Solidity"
const html = `<p>Merkle tree allows you to cryptographically prove that an element is contained</p>
<p>in a set without revealing the entire set.</p>
<pre><code class="language... |
import { AppPage } from './app.po';
describe('getting-crypto App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
}); |
declare namespace ContextMenuCssNamespace {
export interface IContextMenuCss {
button: string;
item: string;
list: string;
}
}
declare const ContextMenuCssModule: ContextMenuCssNamespace.IContextMenuCss & {
/** WARNING: Only available when `css-loader` is used without `style-loader` or `mini-css-extr... |
export interface Output {
sources: {
[file: string]: {
ast: ast.SourceUnit;
};
};
errors: {
severity: 'error';
formattedMessage: string;
}[];
}
export namespace ast {
export interface SourceUnit {
nodeType: 'SourceUnit';
nodes: ContractDefinition[];
}
export interface Contr... |
<TS language="sk_SK" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
</context>
<context>
<name>AddressBookPage</name>
<message>
<source>Address Book</source>
<translation>Adresár</translation>
</message>
<message>
<source>Double-click... |
/**
* @fileoverview Main CLI object, it reads the configuration (from file and parameters)
* and passes it to the engine
*/
/*
* The CLI object should *not* call process.exit() directly. It should only return
* exit codes. This allows other programs to use the CLI object and still control
* when the program exit... |
import { Component } from '@angular/core';
import { UserService } from '../../services/user.service';
import { Router } from '@angular/router';
import { User } from '../../models/user';
import { NotificationService } from '../../services/notification.service';
@Component({
selector: 'app-login',
templateUrl: './lo... |
import React from "react";
import { Link } from "react-router-dom";
import * as S from "./styles";
import { IProps } from "./types";
const L = [
{
label: "Account Details",
link: "/account-details",
icon: "profile",
},
{
label: "Password",
link: "/password",
icon: "password",
},
{
... |
import { Pet } from './pet.entity';
export const petProviders = [
{
provide: 'Pet_Repository',
useValue: Pet,
},
]; |
import express from "express";
import mongoose from "mongoose";
import cors from "cors";
import phonesRoutes from "./routes";
const app = express();
const PORT: string | number = process.env.PORT || 5666;
app.use(cors());
app.use(express.json());
app.use(phonesRoutes);
app.use(express.urlencoded({ extended: true }))... |
import React, {FC} from "react";
const RandomDataDisclaimer: FC = () => (
<div style={{color: "lightgrey"}}>
Disclaimer: Die hier dargestellten Daten sind zufällig, da aktuell keine
Daten (-analysen) vorliegen.
</div>
);
export default RandomDataDisclaimer; |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { IntentTabComponent } from './intent-tab.component';
describe('IntentTabComponent', () => {
let component: IntentTabComponent;
let fixture: ComponentFixture<IntentTabComponent>;
beforeEach(async () => {
await TestBed.configureTestin... |
import {
TableMap,
Node,
} from '../../prosemirror';
export interface TableRelativePosition {
from: number;
to: number;
}
export const getColumnPos = (column, tableNode: Node): TableRelativePosition => {
const map = TableMap.get(tableNode);
const from = map.positionAt(0, column, tableNode);
const to = m... |
import { gql } from '@apollo/client';
import * as Apollo from '@apollo/client';
export type Maybe<T> = T | null;
export type Exact<T extends { [key: string]: unknown }> = {
[K in keyof T]: T[K];
};
export type MakeOptional<T, K extends keyof T> = Omit<T, K> &
{ [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMa... |
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34960#issuecomment-576906058
declare let URL: typeof globalThis extends { URL: infer URLCtor }
? URLCtor
: typeof import("url").URL; // eslint-disable-line @typescript-eslint/consistent-type-imports |
import * as React from 'react';
import {
A11yTitleType,
AlignSelfType,
GridAreaType,
MarginType,
OpacityType,
} from '../../utils';
export interface MeterProps {
a11yTitle?: A11yTitleType;
alignSelf?: AlignSelfType;
background?: string | { color?: string; opacity?: OpacityType };
gridArea?: GridAreaT... |
import { Assertions, Chain, GeneralSteps, Logger, Mouse, Pipeline, Waiter } from '@ephox/agar';
import { TestHelpers } from '@ephox/alloy';
import { UnitTest } from '@ephox/bedrock';
import { Types } from '@ephox/bridge';
import { Cell } from '@ephox/katamari';
import { TinyLoader } from '@ephox/mcagar';
import { Body ... |
import * as React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import LogsHarvester from 'react-native-logs-harvester';
export default function App() {
const [result, setResult] = React.useState<number | undefined>();
React.useEffect(() => {
LogsHarvester.multiply(3, 7).then(setResult)... |
import React from 'react'
import { AiFillHeart } from 'react-icons/ai'
import { classnames } from 'tailwindcss-classnames'
export const Navbar = () => {
return (
<footer className={classnames('py-6', 'text-center')}>
Made with <AiFillHeart className='inline' style={{ color: 'red' }} /> by{' '}
<a
... |
import Emitter = require("component-emitter");
import { IncomingMessage } from "http";
import { SCExchange } from "sc-broker-cluster";
import { SignOptions } from "jsonwebtoken";
import WebSocket = require("ws");
import SCServer = require("./scserver");
declare class SCServerSocket extends Emitter {
readonly CONN... |
/**
* @license
* Copyright 2016 Palantir Technologies, 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... |
import { FunctionComponent } from 'react';
import { DropdownButton, MenuItem } from 'react-bootstrap';
import { translate } from '@waldur/i18n';
import { Invoice } from '@waldur/invoices/types';
interface ResourceActionComponentProps {
onToggle: (isOpen: boolean) => void;
onSelect: (invoice: Invoice) => void;
d... |
import { Directive } from '@angular/core';
@Directive({
selector: '[furyPagePadding]',
host: { 'class': 'fury-page-padding' }
})
export class PagePaddingDirective {
constructor() {
}
} |
import express, { NextFunction, Request, Response } from "express";
import mongoose from 'mongoose';
const jwt = require('jsonwebtoken');
const path = require('path');
const User = require('./models/userModel');
const routes = require('./routes/route');
require('dotenv').config({
path: path.join(__dirname, '../.en... |
import {
PageHeader,
} from 'app/components/headers';
import {
AccountCreationResendModal,
AccountCreationUpdateModal
} from 'app/pages/login/account-creation/account-creation-modals';
import colors from 'app/styles/colors';
import {Divider} from 'app/components/divider';
import {TextColumn} from 'app/components... |
import { ReplaySubject } from 'rxjs'
export class WalletCreatedSubject {
static subject = new ReplaySubject<string>(1)
static getSubject() {
return this.subject
}
static setSubject(subject: ReplaySubject<string>) {
this.subject = subject
}
}
export default WalletCreatedSubject |
export {default} from "./Home";
export * from "./Home"; |
import isValidURL from './is-valid-url.utils';
const isValid = isValidURL('http://www.google.com');
describe('isvalid url', () => {
test('should be able validate a URL', () => {
expect(isValid).toBeTruthy();
});
}); |
import { Structure as _Structure_ } from "@aws-sdk/types";
export const DescribeReplicationGroupsInput: _Structure_ = {
type: "structure",
required: [],
members: {
ReplicationGroupId: {
shape: {
type: "string"
}
},
MaxRecords: {
shape: {
type: "integer"
}
}... |
import { join } from "path";
const uuidv1 = require('uuid/v1');
const dotenv = require("dotenv");
const fs = require("fs");
const path = require("path")
dotenv.config();
export const emptyRemixFolder = () => {
const directory: string = process.env.REMIXES_PATH;
return new Promise<void>((resolve, reject) => {
... |
import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
import { RegisterContainerImageRequest, RegisterContainerImageResult } from "../models/models_1";
import {
deserializeAws_json1_1RegisterContainerImageCommand,
serializeAws_json1_1RegisterContainerImageCommand... |
import { Request, Response } from "express"
export interface IController {
handle(request: Request, response: Response): Promise<Response>
} |
// src/env.ts
import setEnv from '@americanairlines/simple-env';
export const env = setEnv({
required: {
nodeEnv: 'NODE_ENV',
judgeSecret: 'JUDGE_SECRET',
supportSecret: 'SUPPORT_SECRET',
adminSecret: 'ADMIN_SECRET',
},
optional: {
dbSSLDisabled: 'DB_SSL_DISABLED',
slackBotToken: 'SLACK_B... |
import {
Project,
SourceFile,
SyntaxKind,
NodeFlags,
ObjectLiteralExpression,
Node,
ArrayLiteralExpression,
} from 'ts-morph';
import Ajv from 'ajv';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
const ajv = new Ajv();
export const BaseFunctionConfigSchema = {
type: 'object',
propertie... |
import { applyMiddleware, combineReducers, createStore } from "redux";
import thunkMiddleware from "redux-thunk";
import { composeWithDevTools } from "redux-devtools-extension";
// redux-persist---
import { persistStore, persistReducer } from "redux-persist";
// import storage from "redux-persist/lib/storage"; // defa... |
import {AbstractLogger} from "./AbstractLogger";
import {C_ERROR, C_TRACE, C_WARN} from "../Constants";
export class ConsoleLogger extends AbstractLogger {
log(level: number | string, ...msg: any[]): void {
if (!this._enable) {
return;
}
const l = this.findLevel(level);
const ll = this.getLev... |
import { createHash, randomBytes } from 'crypto';
import { AES, enc } from 'crypto-js';
import {
cbcEncrypt,
createGroup,
decrypt,
decryptECKEM as cbcDecrypt,
encrypt,
equal,
EthKeyPair,
fromFrontier,
hashUp,
iota,
merge,
TreeKEM,
TreeKEMCiphertext,
TreeMath,
} from 'eth-treekem';
import {
}... |
import { TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [RouterTestingModule],
... |
import curryN from '../function/curryN';
import { Prop } from '../typings/types';
type PickProps<K, O> = Pick<O, Exclude<keyof O, Exclude<keyof O, K>>>;
interface PickFunc {
<K extends Prop, O>(names: ReadonlyArray<K>, obj: O): PickProps<K, O>;
<K extends Prop>(names: ReadonlyArray<K>): <O>(obj: O) => PickProps<... |
import * as fs from 'fs';
import path from 'path';
import {PROJECT_ROOT} from '../config';
export interface Contribuyente {
rnc: string;
nombre: string;
nombreComercial: string;
razonSocial: string;
extra: string;
}
export class Contribuyentes {
private dataLoaded = false;
private data: Contribuyente[] ... |
export interface Record {
name: string;
type: string;
ttl: string;
value: string;
} |
import React from 'react'
import { NavLink } from 'react-router-dom'
import styled from 'styled-components'
import { GithubButton } from 'components/common/GithubButton'
import { Logo } from 'components/common/Logo'
import { NodeButton } from 'components/common/NodeButton'
import { InnerContainer } from 'components/pu... |
export interface SessionPing {
/** Whether or not the server knows about the specified API key */
validApiKey: boolean;
/**
* The unix time (in milliseconds) at which the API key is currently set to
* expire, or null if the API key is not valid.
*/
expiresAt: number | null;
} |
import { NgModule } from '@angular/core';
import { HeaderComponent } from './header/header.component';
import { FooterComponent } from './footer/footer.component';
@NgModule({
declarations: [HeaderComponent, FooterComponent],
exports: [HeaderComponent, FooterComponent]
})
export class SharedModule { } |
import type { CLIInfo } from '../../types/cli.d.ts'
import type { ConfigOptions, ConfigFileCacheType } from './config-types.d.ts'
import {
dyarnProjectDirPath,
configFileCacheFileName
} from '../global-defs.ts'
export async function cacheExists(configFilePath: string, cliInfo: CLIInfo): Promise<{
success: tr... |
import { Component, OnInit, Input } from '@angular/core';
import { Subject } from 'rxjs/Subject';
import { FormControl, FormBuilder, FormGroup, Validators } from '@angular/forms';
import { BsModalRef } from 'ngx-bootstrap';
@Component({
selector: 'app-edit-category',
templateUrl: './edit-category.component.html',
... |
import { FlattenSimpleInterpolation } from 'styled-components';
import { MouseEventHandler } from 'react';
export interface ButtonInfoProps {
favorite: {
backgroundUrl: string;
animation: FlattenSimpleInterpolation;
};
clipboard: {
backgroundUrl: string;
animation: FlattenSimpleInterpolation;
... |
import React from "react";
import Select from "react-select";
import WeightServiceManager from "../service/WeightServiceManager";
interface Props {
weightServiceManager: WeightServiceManager;
onSelectWeight: (weight: string) => any;
}
/** Dropdown for selecting the metric for node weights. */
export default class... |
import * as blessed from 'blessed';
import { Fiber } from '../Fiber';
import { eventPrefix, isEvent, isKeyEvent, isProp, keyEventPrefix } from './updateProps';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type NodeCreator<TNode> = (options: any | undefined) => TNode;
export function createNod... |
// tslint:disable
/*
* Copyright 2017-2018 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://aws.amazon.com/apache2.0/
*... |
import { Injectable } from '@nestjs/common';
import { Repository } from 'typeorm';
import { CreateItemDto } from './dto/create-item.dto';
import { UpdateItemDto } from './dto/update-item.dto';
import { Item } from './entities/item.entity';
import { TodolistService } from 'src/todolist/todolist.service';
import { Inject... |
import { CompanyComponent } from "../components/master/company/company-new/company.component";
import { ElectronService } from "../providers/electron.service";
export const menuTemplate = [
{
label: "Master",
submenu: [
{
label: "Click me",
click: () => {
console.log("Sub menu... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {NgForOfContext} from '@angular/common';
import {ElementRef, TemplateRef, ViewContainerRef} from '@angular/co... |
export * from './bastion-host';
export * from './connections';
export * from './instance-types';
export * from './instance';
export * from './machine-image';
export * from './nat';
export * from './network-acl';
export * from './network-acl-types';
export * from './port';
export * from './security-group';
export * from... |
import Wallet from '../src/wallet';
const defaultSeed =
'sound idle panel often situate develop unit text design antenna ' +
'vendor screen opinion balcony share trigger accuse scatter visa uniform brass ' +
'update opinion media';
export const getWallet = async (seed: string = defaultSeed) => {
const wallet ... |
import Pagination from '../rc-components/pagination/locale/es_ES';
import DatePicker from '../date-picker/locale/es_ES';
import TimePicker from '../time-picker/locale/es_ES';
import Calendar from '../calendar/locale/es_ES';
export default {
locale: 'es',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table:... |
export class Location {
countryName: string;
} |
import { Component, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { MovimientoService } from '../../shared/service/movimiento.service';
import { FormGroup, FormControl, Validators } from '@angular/forms';
import { formatDate } from '@angular/common';
@Component({
selector: 'app-consultar... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
import * as React from "react";
import * as Hammer from "hammerjs";
import { Prototypes } from "../../../../core";
import { classNames } from "../../../utils";
import { HandlesDragContext, HandleViewProps } from "./common";
... |
import { File } from '@nativescript/core';
type ProgressCallback = (progress: number, url: string, destination: string) => void;
type HeaderInformation = {
contentLength: number;
contentMD5: string;
};
export class FileInfo {
private promiseResolve: (value?: HeaderInformation | PromiseLike<HeaderInformat... |
import { BoxBufferGeometry, Mesh, MeshBasicMaterial, Object3D } from 'three'
import { ComponentJson } from '@xrengine/common/src/interfaces/SceneInterface'
import {
ComponentDeserializeFunction,
ComponentSerializeFunction,
ComponentUpdateFunction
} from '../../../common/constants/PrefabFunctionType'
import { En... |
import { FunctionalComponent } from 'vue';
import { AntdIconProps } from '../components/AntdIcon';
export interface SwitcherTwoToneIconType extends FunctionalComponent<AntdIconProps> {
displayName: string;
}
declare const SwitcherTwoTone: SwitcherTwoToneIconType;
export default SwitcherTwoTone; |
import { ColorFunction, StarState } from './StarState'
export type DrawState = {
context: CanvasRenderingContext2D
stars: StarState[]
width: number
height: number
z: number
x: number
y: number
starLineWidthRatio: number
speed: number
starRatio: number
starSize: number
strokeStyle: ColorFunction... |
import { Observable } from 'rxjs';
import { SelectService } from './../../../providers/select.service';
import { Component, ViewEncapsulation, OnInit } from '@angular/core';
import { Http, Response } from '@angular/http';
import { config, messages } from '../../../../config/project-config';
import { UserSessionService ... |
declare module 'nodemon';
declare module 'write-file-webpack-plugin'; |
import styled from '@emotion/styled';
export const MainContainerStyle = styled.div`
display: flex;
width: 100%;
flex-grow: 1;
flex-direction: column;
justify-content: space-between;
`; |
import { OpToHtmlConverter } from "./../src/OpToHtmlConverter";
import { DeltaInsertOp } from './../src/DeltaInsertOp';
import { InsertData, InsertDataQuill, InsertDataCustom } from './../src/InsertData';
import { ListType, ScriptType, DirectionType, AlignType, DataType } from './../src/value-types';
let assert = requ... |
import { ContributorApiResponse, Contributor } from '../../src/hooks';
export const createRandomContributorApiData = (): ContributorApiResponse => ({
login: 'login_mock',
id: 0,
node_id: 'node_id_mock',
avatar_url: 'avatar_url_mock',
gravatar_id: 'gravatar_id_mock',
url: 'url_mock',
html_url: 'html_url_m... |
import React, {
FC, HTMLProps, useEffect, useRef, useState
} from 'react';
import { fromEvent } from 'rxjs';
import {
debounceTime, distinctUntilChanged, map
} from 'rxjs/operators';
import SearchIcon from '../../_icons/search';
import CloseIcon from '../../_icons/close';
import HideIcon from '../../_icons/hide';
i... |
// [VexFlow](https://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
// MIT License
//
// StaveLine Tests
import { TestOptions, VexFlowTests } from './vexflow_test_helpers';
import { Font, FontStyle } from '../src/font';
const StaveLineTests = {
Start(): void {
QUnit.module('StaveLine');
const run = VexF... |
export class DNSLookupFailed extends Error {
constructor(msg) {
super(msg);
}
} |
/*
* Copyright © 2019 Lisk Foundation
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated... |
/**
* This module is generated from SubModelPackageEndpoint.java
* All changes to this file are overridden. Please consider to make changes in the corresponding Java file if necessary.
* @module SubModelPackageEndpoint
*/
// @ts-ignore
import client from './connect-client.default';
import Account from './com/vaadi... |
/*
* Copyright 2020 Spotify AB
*
* 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 i... |
import { EditorView } from "@codemirror/view";
import type { Cell, Runtime } from "../../../types";
export declare function createCodeMirrorEditor(element: HTMLElement, cell: Cell, opts: {
language?: string;
wordWrap?: "off" | "on" | "wordWrapColumn" | "bounded";
}, runtime: Runtime): EditorView; |
import { LaunchListState } from "./../store/reducers/launch-list.reducer";
import { map } from "rxjs/operators";
import { PastLaunchesListGQL } from "./spacexGraphql.service";
import { Injectable } from "@angular/core";
import { Store } from "@ngrx/store";
import { loadLaunchList } from "../store/actions";
import * as ... |
import { Component, OnInit, Input } from '@angular/core';
import { Entity } from 'src/app/shared/models/Entities/entity';
import { Constants } from 'src/app/shared/constants';
@Component({
selector: 'app-entity-header',
templateUrl: './entity-header.component.html',
styleUrls: ['./entity-header.component.scss']
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.