text stringlengths 10 953k |
|---|
import { FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';
import { Component, OnInit, ViewEncapsulation, Injector } from '@angular/core';
import { NzMessageService, NzModalService } from 'ng-zorro-antd';
import { _HttpClient, TitleService, SettingsService } from '@delon/theme';
import swal, { Sw... |
import { Component } from '@angular/core';
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
import { Observable } from 'rxjs';
import { map, shareReplay } from 'rxjs/operators';
@Component({
selector: 'app-main-nav',
templateUrl: './main-nav.component.html',
styleUrls: ['./main-nav.componen... |
import {Store} from './store';
import {Page} from 'puppeteer';
import {config} from '../../config';
import {logger} from '../../logger';
import {delay} from '../../util';
export const PlaystationDirect: Store = {
headers: {
Referer: 'https://my.account.sony.com/'
},
labels: {
inStock: [
{
container: '.ad... |
/**
* Translates a typescript generated define() call to a sap.ui.define() taking out the 'require' and 'exports' dependencies
* @param aDependencies array of dependencies, including 'require' as first and 'exports' as second.
* @param vFactory factory function with dependencies arguments, including 'require' as fir... |
import { renderQrCode } from './drawCanvas';
import { drawLogo } from './drawLogo';
import { RenderQrCodeParams } from './typing';
export const toCanvas = (options: RenderQrCodeParams) => {
return renderQrCode(options)
.then(() => {
return options;
})
.then(drawLogo) as Promise<string>;
}; |
import { VoucherifySubscribeInputs, VoucherifySubscribeInputsState } from '../types/VoucherifySubscribe'
import { useCallback, useState } from 'react'
function getEmptyInputs(): VoucherifySubscribeInputs {
return {
name: '',
email: '',
phone: '',
line_1: '',
line_2: '',
postal_code: '',
city: '',
stat... |
import * as React from "react";
import * as Semantic from "semantic-ui-react";
import * as PH from "processhub-sdk";
import * as Plugin from "../plugin";
class LocalProps {
component: string;
params: any;
}
interface LocalState {
Component?: any;
environment: any;
}
export class ComponentWrapper extends Rea... |
import { RSA, RSADefaults } from 'crypto/ciphers';
import { RSAKeyPair } from './RSAKeyPair';
import { HashedObject } from '../model/immutable/HashedObject';
class RSAPublicKey extends HashedObject {
static className = 'hhs/v0/RSAPublicKey';
static fromKeys(publicKey: string) : RSAPublicKey {
... |
import type { FC } from 'react';
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import * as React from 'react';
import { styled } from '@linaria/react';
import { u64 } from '@solana/spl-token';
import classNames from 'classnames';
import throttle from 'lodash.throttle';
import type { UserT... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import { Construct, RemovalPolicy } from '@aws-cdk/core';
import { BlockPublicAccess, Bucket, BucketAccessControl, BucketEncryption } from '@aws-cdk/aws-s3';
import { SolutionHelper } from './solution-helper/so... |
// Loaded from https://deno.land/std@0.88.0/path/_util.ts
// Copyright the Browserify authors. MIT License.
// Ported from https://github.com/browserify/path-browserify/
// This module is browser compatible.
import type { FormatInputPathObject } from "./_interface.ts";
import {
CHAR_BACKWARD_SLASH,
CHAR_DOT,
C... |
import { CanActivate, ExecutionContext, Injectable } from '@nestjs/common'
import { getSession } from 'next-auth/client'
@Injectable()
export class AuthGuard implements CanActivate {
async canActivate(context: ExecutionContext): Promise<boolean> {
const req = context.switchToHttp().getRequest()
const session... |
import { IBlock, BlockCategory, BlockReturnType } from "../src/types/IBlock";
import { IValueType } from "../src/types/IAttribute";
export const operators : IBlock<any>[] = [
{
title:'addition',
category: BlockCategory.Variable,
returnType: BlockReturnType.Any,
attributes: [
... |
/*---------------------------------------------------------------------------------------------
* Copywight (c) Micwosoft Cowpowation. Aww wights wesewved.
* Wicensed unda the MIT Wicense. See Wicense.txt in the pwoject woot fow wicense infowmation.
*----------------------------------------------------------------... |
import {Component} from "@angular/core";
import {RouteConfig} from "@angular/router-deprecated";
import {NS_ROUTER_DIRECTIVES, NS_ROUTER_PROVIDERS} from "nativescript-angular/router";
import { HomeComponent } from "./components/home.component";
@Component({
selector: "my-app",
directives: [NS_ROUTER_DIRECTIVE... |
export * from './create-user.service';
export * from './update-user.service';
export * from './delete-user.service';
export * from './find-one-user.service'; |
import { Controller, Get, Post, Body, Put, Delete, Param, UsePipes, Logger, UseGuards, Query } from '@nestjs/common';
import { IdeaService } from './idea.service';
import { IdeaDTO } from './idea.dto';
import { ValidationPipe } from '../shared/validation.pipe';
import { AuthGuard } from 'src/shared/auth.guard';
import ... |
import { Column, CreateDateColumn, Entity, OneToMany, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
import { Question } from "../../question/entities/question.entity";
@Entity()
export class Quiz {
@PrimaryGeneratedColumn()
id: number;
@Column()
title: string;
@CreateDateColumn()
createdAt: ... |
import { css } from 'lit';
export const bufferingIndicatorElementStyles = css`
:host {
display: block;
contain: content;
}
:host([hidden]) {
display: none;
}
`; |
import React from 'react'
// ----------------------------------
// Custom icons
// ----------------------------------
// trinalge
export const FullArrowLeftIcon = () => (
<svg viewBox="0 0 5 10" fill="currentColor">
<path d="M5 0l-5 5 5 5V7z" />
</svg>
)
// trinalge
export const FullArrowRightIcon = () => (
... |
import * as type from '../../store/types/Summary.type';
import { summaryModelAction } from '../../store/models/Summary.model';
export const summaryAction = (value: string): summaryModelAction => ({
type: type.SUMMARY_SET,
value,
}); |
import path from 'path';
module.exports = {
client: 'mysql',
connection: {
host: '127.0.0.1',
user: 'root',
password: '1234',
database: 'digiworld'
},
migrations: {
directory: path.resolve(__dirname, 'src', 'database', 'migrations'),
},
seeds: {
directory: path.resolve(__dirname, 'sr... |
import {map, mapArray} from '../common/Mapper';
/**
* @export
* @class AppliedStreamSettings
*/
export class AppliedStreamSettings {
/**
* The applied width. Useful if the width in the configuration was undefined
* @type {number}
* @memberof AppliedStreamSettings
*/
public width?: number;
/**
... |
/**
* Copyright (c) Microsoft 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 agr... |
export interface Variable {
name: string;
value: string;
} |
/**
* Get all dashboard lists returns "OK" response
*/
import { v1 } from "@datadog/datadog-api-client";
const configuration = v1.createConfiguration();
const apiInstance = new v1.DashboardListsApi(configuration);
apiInstance
.listDashboardLists()
.then((data: v1.DashboardListListResponse) => {
console.log... |
/// <reference path="../../jqwidgets.d.ts" />
import { Component, Input, Output, EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
declare let JQXLite: any;
@Component({
selector: 'jqxPivotDesigner',
template: '<div><ng-content></ng-content></div>'
})
export class jqxPivotDesignerCo... |
import * as core from '@actions/core'
import {upload} from './upload-release-asset'
async function run(): Promise<void> {
try {
const githubToken = core.getInput('github_token', {required: true})
const uploadUrl = core.getInput('upload_url', {required: true})
const releaseUrl = core.getInput('release_url... |
import BaseEntity from './BaseEntity'
export default class BillType extends BaseEntity {
private _id: number
private _parentId: number
get id (): number {
return this._id
}
set id (value: number) {
this._id = value
}
get parentId (): number {
return this._parentId
}
set parentId (valu... |
import { motion } from "@framer"
import * as React from "react"
export const App = () => {
const [count, setCount] = React.useState(0)
const params = new URLSearchParams(window.location.search)
let parentDrag: boolean | string = params.get("parentDrag") || true
let childDrag: boolean | string = params.... |
import * as React from "react";
import { render } from "react-dom";
import {
Accessibility20Filled,
Accessibility20Regular,
Add20Filled,
Add20Regular,
AddCircle20Filled,
AddCircle20Regular,
AddSquareMultiple20Filled,
AddSquareMultiple20Regular,
AddSubtractCircle20Filled,
AddSubtractCircle20Regular,
Airplane20Filled... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule,ReactiveFormsModule } from '@angular/forms';
import {
MatButtonModule,
MatMenuModule,
MatToolbarModule,
MatIconModule,
MatCardModule,
MatFormFieldModule,
MatInputMo... |
// *** 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 { input as inputs, output as outputs, enums } from "../../types";
import * as utilities from "../../utilities";
/*... |
/*
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 {FileMessage} from "./FileMessage";
import {ApiConst} from "../../constants/ApiConst";
export class VideoMessage extends FileMessage {
private _width: number = 80;
private _height: number = 80;
private _thumb: string;
private _duration: number;
constructor(fileId: string, accessHash: string... |
// This file is based on https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/simplemde/index.d.ts,
// which is written by Scalesoft <https://github.com/Scalesoft> and licensed under the MIT license:
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software a... |
import { Injectable } from "@nestjs/common";
import { InjectRepository } from "@nestjs/typeorm";
import { Repository } from "typeorm";
import { PostTypeEntity } from "./post-type.entity";
@Injectable()
export class PostTypeService {
constructor(
@InjectRepository(PostTypeEntity) private postTypeRepository... |
import { ToolPulloutDirection } from "../api_resources";
/** Just a simple test to please the coverage tool. */
describe("ToolPulloutDirection", () => {
it("exists", () => {
expect(ToolPulloutDirection.NONE).toEqual(0);
});
}); |
export class AlumnoJuegoDeCuestionario {
Nota: number;
TiempoEmpleado: number;
Contestado: boolean;
id: number;
alumnoId: number;
juegoDeCuestionarioId: number;
constructor(Nota?: number, Contestado?: boolean, juegoDeCuestionarioId?: number, alumnoId?: number, TiempoEmpleado?: number) {
this.Nota... |
import BN from 'bn.js';
import { Client } from './client';
import { Contract } from './contract';
import { Address } from './address';
import { TransferGatewayTokenKind } from './proto/transfer_gateway_pb';
export interface IWithdrawalReceipt {
tokenOwner: Address;
tokenContract: Address;
tokenKind: Transfe... |
import { async, TestBed, fakeAsync, tick } from '@angular/core/testing';
import { IgxTreeGridComponent } from './tree-grid.component';
import { IgxTreeGridModule } from './index';
import { TreeGridFunctions, CELL_VALUE_DIV_CSS_CLASS } from '../../test-utils/tree-grid-functions.spec';
import {
IgxTreeGridSearchCompo... |
export class PurchaseItemDto {
itemId!: number;
weight!: string;
itemName!: string;
price!: number;
quantity!: number;
} |
/** @format */
import { ISvgIconProps, IconWrapper } from '../runtime';
export const AntdBarChart = IconWrapper(
'antd-bar-chart',
false,
(props: ISvgIconProps) => (
<svg width={props.size} height={props.size} viewBox="0 0 48 48" fill="none">
<path
fill={props.colors[0]}
d="M47.5,39.5 ... |
export function storageAvailable(type: string): boolean {
let storage;
try {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
storage = (window as any)[type];
const x = '__storage_test__';
storage.setItem(x, x);
storage.removeItem(x);
return true;
} catch (e) {
return (
... |
export {};
//# sourceMappingURL=dialog.d.ts.map |
import {IsString, IsNumber} from 'class-validator';
import { PartialType } from '@nestjs/mapped-types';
import { CreateMovieDto } from './create-movie.dto';
export class UpdateMovieDto extends PartialType(CreateMovieDto){
// // 아래것 대신에.. npm i @nestjs/mapped-types 로 PartialType() 을 사용할 수 있도록 따로 패키지를 설치해주자!!!
// //... |
namespace light {
let _onboardStrip: light.LightStrip;
/**
* Get the default light strip.
*/
//% help=light/onboard-strip
//% blockId="neopixel_onboard_strip" block="onboard strip"
//% weight=111 blockGap=8
//% advanced=true
export function onboardStrip(): NeoPixelStrip {
i... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from '../home/home.component';
import { PublicComponent } from '../public/public.component';
import { ContactComponent } from '../contact/contact.component';
import { PrivateComponent } from '../pr... |
import { GraphQLSchema } from 'graphql';
import { MeshTransform, YamlConfig, MeshTransformOptions } from '@graphql-mesh/types';
import {
RenameTypes,
RenameObjectFields,
RenameRootFields,
RenameRootTypes,
RenameInputObjectFields,
} from '@graphql-tools/wrap';
import { ExecutionResult, Request } from '@graphql... |
import { IsBoolean, IsDate, IsNumber, IsString } from "class-validator";
import { Column, CreateDateColumn, Entity, OneToMany, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
import { User } from 'src/users/entities/user.entity'
@Entity()
export class Role {
@IsNumber()
@PrimaryGeneratedColumn()
... |
/* eslint-disable @typescript-eslint/no-explicit-any */
import {
LitElement,
html,
TemplateResult,
css,
PropertyValues,
CSSResultGroup,
} from 'lit';
import { customElement, property, state } from "lit/decorators";
import {
HomeAssistant,
hasConfigOrEntityChanged,
hasAction,
ActionHandlerEvent,
ha... |
import mapValues from 'lodash/mapValues'
import { setupBackgroundIntegrationTest } from 'src/tests/background-integration-tests'
describe('Backup feature', () => {
it('should only select to back up the collections we want to back up', async () => {
const setup = await setupBackgroundIntegrationTest()
... |
import Item, { ItemArgs } from './item';
export type InteractiveItemArgs = ItemArgs & {
onHover?: () => void;
onTriggerDown?: () => void;
onTriggerPressed?: (value: number) => void;
};
export default abstract class InteractiveItem extends Item {
private hoveredByButton = false;
private hoveredByRay = false... |
import * as TKUnit from '../../tk-unit';
import * as helper from '../../ui-helper';
import * as viewModule from '@nativescript/core/ui/core/view';
import { EventData, PropertyChangeData } from '@nativescript/core';
import * as color from '@nativescript/core/color';
import * as platform from '@nativescript/core/platform... |
import {EncodingChannelState, PositionChannelPresenter} from '../../presenters';
import {NormalizedPresenter} from '../../../../packages/corePresenters';
import {createChannelId} from '../../../../packages/idGenderators/createChannelId';
export const getSimpleChannelsState = specId => {
return NormalizedPresenter.cr... |
import axios, { AxiosRequestConfig } from 'axios';
import {
SearchApiResponse,
DetailsApiResponse,
EpisodeApiResponse,
SubtitleApiResponse,
} from '../types';
import { generateApiUrl, errorHandling } from '../helpers';
function fetch<T>(url: string, opts?: AxiosRequestConfig): Promise<T> {
return axios
... |
import { Column, DataType, Model, Table } from 'sequelize-typescript';
@Table
export class User extends Model<User> {
@Column({
type: DataType.STRING,
allowNull: false,
})
name: string;
@Column({
type: DataType.STRING,
unique: true,
allowNull: false,
})
email: string;
@Column({
... |
import { AbstractInterval } from './abstract-interval';
export class Min extends AbstractInterval {
/**
* Validate interval.
*/
protected validateInterval(input: any, interval: any): boolean {
if (this.inclusive) {
return input >= interval;
}
return input > inter... |
export function safe<T>(dx: T) {
return Array.isArray(dx) ? dx : []
} |
import React from 'react';
import { NavigationComponentProps, Options } from 'lib/src';
import Root from '../components/Root';
import Button from '../components/Button';
import Navigation from './../services/Navigation';
import Screens from './Screens';
import { component } from '../commons/Layouts';
import testIDs fro... |
module nid {
/**
* സെവൻ സിപ്പ് (Dedicated to my mother tongue :D , http://en.wikipedia.org/wiki/Malayalam)
* 7zip Archive Decoder
* Version 0.1
* @author Nidin Vinayakan | nidinthb@gmail.com
*/
import ByteArray = nid.utils.ByteArray;
import UInt64 = ctypes.UInt64;
export cla... |
// tslint:disable
let a, b, first, second, third;
/*
* NOK IF
*/
if (a) {
first();
second();
} else {
// [12:7-16:1] {{This branch's code block is the same as the block for the branch on line 9.}}
first();
second();
}
if (a) {
first();
second();
} else if (b) {
// [21:14-25:1] {{This branch's code... |
import { ModelInit, MutableModel, PersistentModelConstructor } from "@aws-amplify/datastore";
type TabGroupMetaData = {
readOnlyFields: 'createdAt' | 'updatedAt';
}
export declare class TabGroup {
readonly id: string;
readonly data: string;
readonly encrypted_with_password?: boolean;
readonly createdAt?... |
import { DomElementBinder } from './element_binder';
import { RenderProtoViewRef, ViewType, ViewEncapsulation } from '../../api';
import { TemplateCloner } from '../template_cloner';
export declare function resolveInternalDomProtoView(protoViewRef: RenderProtoViewRef): DomProtoView;
export declare class DomProtoViewRef... |
class Config {
static get GoogleAuthClientId(): string {
return "780859053445-ae9sq5dkcu4h5dnrnfgcmm23hgtfsapi.apps.googleusercontent.com";
}
}
export default Config; |
import * as React from 'react';
import { makeStyles } from '@fluentui/react-make-styles';
import { tokens } from '@fluentui/react-theme';
import { Divider } from '../Divider';
const useStyles = makeStyles({
root: {
display: 'flex',
flexDirection: 'column',
rowGap: '5px',
},
example: {
display: 'f... |
/*
* 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 * as t from 'io-ts';
import Boom from 'boom';
import { unique } from '... |
/**
* This barrel file provides the exports for the shared resources (services, components).
*/
export * from './config/env.config';
export * from './name-list/index';
export * from './auth/index';
export * from './header/index'; |
/**
* @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 { Architect } from '@angular-devkit/architect';
import { BrowserBuilderOutput } from '@angular-devkit/build-an... |
/*
* 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 _ from 'lodash';
import { ILegacyScopedClusterClient } from 'kibana/s... |
import { LintResult } from "./lint-result";
import { Option } from "./option";
export interface Reporter {
report: (option: Option, lintResults: LintResult[]) => Promise<void>;
} |
// @ts-nocheck
export function uniteCompoundPath(compound) {
let p = new paper.Path();
compound.children.forEach((c) => {
const u = p.unite(c);
p.remove();
p = u;
});
compound.remove();
return p;
} |
// Copyright 2020 Self Group Ltd. All Rights Reserved.
import Jwt from './jwt'
import { v4 as uuidv4 } from 'uuid'
import IdentityService from './identity-service'
import Messaging from './messaging'
import * as acl from './msgproto/acl_generated'
import * as message from './msgproto/message_generated'
import * as m... |
import React = require('react');
import {render} from '@testing-library/react';
import '../../src';
import {render as amisRender} from '../../src';
import {makeEnv} from '../helper';
test('Renderer:link', async () => {
const {container} = render(
amisRender(
{
type: 'link',
href: 'https://w... |
import {
createConnection,
getAuth,
UnsubscribeFunc,
} from "home-assistant-js-websocket";
import { html, TemplateResult } from "lit";
import { customElement, state } from "lit/decorators";
import { CAST_NS } from "../../../../src/cast/const";
import {
ConnectMessage,
GetStatusMessage,
HassMessage,
ShowDe... |
/**
* @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 {Component, EventEmitter, Injectable, Input, NgModule, Output} from '@angular/core';
import {FormsModule} fro... |
export * from "./parser.js";
export * from "./validator.js";
// Expose `Apex.ast` for the browser
export * as ast from "./ast/index.js";
// Expose `Apex.error` for the browser
export * as error from "./error/index.js";
// Expose `Apex.rules` for the browser
export * as rules from "./rules/index.js"; |
/**
* Describes a ProcessDefinition, as it is stored in the ProcessDefinitionRepository.
*/
export class ProcessDefinitionFromRepository {
public name: string;
public hash: string;
public xml: string;
public createdAt?: Date;
public updatedAt?: Date;
} |
export interface AppsPermissionsScopesListResponse {
ok?: boolean;
error?: string;
needed?: string;
provided?: string;
} |
import { scalar, StatefulPlugin } from '@edtr-io/plugin'
import { createIcon, faParagraph } from '@edtr-io/ui'
import { Value, ValueJSON } from 'slate'
import { emptyDocument, defaultNode } from '../model'
import { createTextEditor, SlateEditorAdditionalProps } from './editor'
import { TextPluginOptions } from './type... |
import { HttpException } from './http-exception';
import { HttpStatusName } from './http-status-name';
import { HttpStatus } from './http-status';
export class NotFound extends HttpException {
constructor(message: string) {
super(message, HttpStatusName.NOT_FOUND, HttpStatus.NOT_FOUND);
}
} |
// Types
export enum Priorities {
ImmediatePriority,
HighPriority,
NormalPriority,
LowPriority,
}
export type PriorityLevel =
| Priorities.ImmediatePriority
| Priorities.HighPriority
| Priorities.NormalPriority
| Priorities.LowPriority
| number;
export type StoreEntry = [taskId: number, task: unknow... |
import { Component, Injector, OnInit } from '@angular/core';
import * as _ from 'lodash';
import { appModuleAnimation } from '@shared/animations/routerTransition';
import { PagedListingComponentBase, PagedRequestDto } from "@shared/component-base/paged-listing-component-base";
import {PhoneNumberServiceProxy, PagedResu... |
import React, { useState, useEffect, ReactText } from 'react';
import { GraphQLEnumType, GraphQLInputField, GraphQLScalarType } from 'graphql';
import Pen from './Pen';
import { useDebouncedEffect } from '../../../../hooks/useDebounceEffect';
import { isNumberString } from '../../../Common/utils/jsUtils';
import { ArgT... |
/**
* @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 { JsonAstObject } from '@angular-devkit/core';
import { Rule, Tree, UpdateRecorder } from '@angular-devkit/sch... |
//TODO: Rota Privada
// import { useState } from 'react'
import { useHistory, useParams } from 'react-router-dom'
import { Button } from '../components/Button'
import { RoomCode } from '../components/RoomCode'
import { Question } from '../components/Question'
import { useRoom } from '../hooks/useRoom'
import { datab... |
import * as EventSource from "eventsource";
import { configuration } from "../configuration";
import { common } from "../../common";
import { ILockWorkingCopyResponse, IWorkingCopy, IGetFilesOptions, ILockWorkingCopyOptions, LockType, ILoadUnitInterfacesResponse, ILoadUnitResponse, ICommitToTeamServerOptions } from "./... |
import { Component, Inject, Input } from '@angular/core';
import { MatDialogRef, MatDialog, MAT_DIALOG_DATA } from '@angular/material';
import { StringService } from '../../services/string.service';
import { FormBuilder, Validators, FormGroup } from '@angular/forms';
@Component({
selector: 'role-dlg',
templateUrl:... |
import React from 'react'
import * as H from 'history'
import { ContributableMenu } from '../../../shared/src/api/protocol'
import { ActivationProps } from '../../../shared/src/components/activation/Activation'
import { ActivationDropdown } from '../../../shared/src/components/activation/ActivationDropdown'
import { Li... |
// *** 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 { input as inputs, output as outputs, enums } from "../../types";
import * as utilities from "../../utilities";
/*... |
export { router as subscriptions } from "./subscriptions";
export { router as services } from "./services";
export { router as contracts } from "./contracts"; |
//https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2/HTML/link/ifcdoortypeoperationenum.htm
export enum IfcDoorTypeOperationEnum {SINGLE_SWING_LEFT=".SINGLE_SWING_LEFT.",SINGLE_SWING_RIGHT=".SINGLE_SWING_RIGHT.",DOUBLE_DOOR_SINGLE_SWING=".DOUBLE_DOOR_SINGLE_SWING.",DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT=".DOUBLE... |
import { createGenerator } from '@unocss/core'
import presetAttributify from '@unocss/preset-attributify'
describe('emojis', () => {
const fixture1 = `
<button
🦉 class="🦉" 🦉="1" 🥝-2 type="button"
>
Button
</button>
`
const uno = createGenerator({
presets: [
presetAttributify({ ... |
/**
* Edge Impulse API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* ... |
import * as React from 'react'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { openModal, IModalProps } from '../Modals';
import { FindOptions, FindMode, ResultRow, ModalFindOptions, FindOptionsParsed } from '../FindOptions'
import { getQueryNiceName, PseudoType, QueryKey, getTypeInfo } from '... |
import React, { FC } from 'react';
import { queryCache } from 'react-query';
import orgCodeList from 'data/org-code-list';
import { getOrganization, getMembers } from 'domains/github';
import Members from 'components/pages/Members';
const EnhancedMembers: FC<{ enablePrefetch?: boolean }> = ({
enablePrefetch = false... |
import { StyleSheet } from "@react-pdf/renderer";
// use react-pdf create styles
export const styles = StyleSheet.create({
page: {
flexDirection: "column",
fontSize: 12,
padding: 20,
paddingBottom: 40,
},
section: {
flexGrow: 1,
flexDirection: "column",
},
activityContent: {
margi... |
import { IStoreState } from "../types";
export function getViewport(state: IStoreState) {
return state.viewport;
}
export function getViewportZoom(state: IStoreState) {
return state.viewport.zoom;
}
export function getViewportPos(state: IStoreState) {
return {
xPos: state.viewport.xPos,
yPos: state.vie... |
import worker_port_provider from '../../worker_api/provide_sibling_ports';
import dispatch_message from '../../worker_api/dispatch_message';
import { ACK } from '../../worker_constants';
import { ResponseFunction } from '../../zorigami_types';
export default function worker_setup_channel_to_sibling_worker(event: {data... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.