text
stringlengths
10
953k
import { Controller, UsePipes, ValidationPipe } from '@nestjs/common'; import { GrpcMethod } from '@nestjs/microservices'; import { PaymentsService } from './payments.service'; import { CreatePaymentDto } from './dto/create-payment.dto'; import { UpdatePaymentDto } from './dto/update-payment.dto'; import { CreateResour...
/* * Copyright (c) 2006-2012 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * i...
import type { ComponentInterface, EventEmitter } from '@stencil/core'; import { Component, Event, Prop, Watch } from '@stencil/core'; @Component({ tag: 'ion-route-redirect', }) export class RouteRedirect implements ComponentInterface { /** * A redirect route, redirects "from" a URL "to" another URL. This proper...
function getPrimes() : Stream { return Sieve(CountFrom(2)); } export function main() { var nminusone : number = 2499; var result : number = stream_get(getPrimes(),nminusone); } export const runs = 1;
import { sortSet, Code, HEADER, NOLINT_MAXLINE } from './util'; type StringMap = { [x: string]: string }; export type MapSet = { [x: string]: Set<string> }; // Partition identifier base character, Greek alpha const BASE = 0x03b1; /** * Create or update a set stored in a map under the given key. */ const mapSet = (...
import fs from 'fs'; import { GraphQLSchema, parse, } from 'graphql'; import path from 'path'; import { buildComposedSchema } from '..'; describe('buildComposedSchema', () => { let schema: GraphQLSchema; beforeAll(() => { const schemaPath = path.join( __dirname, '../../__tests__/features/basic...
import { useEffect, useState, useRef, useCallback } from 'react'; import { AppState } from '../app'; import InteropService from '@joplin/lib/services/interop/InteropService'; import { stateUtils } from '@joplin/lib/reducer'; import CommandService from '@joplin/lib/services/CommandService'; import MenuUtils from '@jopli...
import { Resolve, Any } from "meta-types"; type Test1 = Resolve<Any>; const test1a: Test1 = null; test1a; const test1b: Test1 = true; test1b; const test1c: Test1 = "string"; test1c; const test1d: Test1 = 42; test1d; const test1e: Test1 = { foo: "bar" }; test1e; const test1f: Test1 = ["foo", "bar"]; test1f;
import { ThemeVariables, css, SerializedStyles, polished } from 'jimu-core'; export function getStyle(theme: ThemeVariables): SerializedStyles { return css` .widget-setting-legend{ font-weight: lighter; font-size: 13px; .source-descript { color: ${theme.colors.palette.dark[600]}; ...
import { CodeChartaService } from "../codeCharta.service" export function getUpdatedBlacklistItemPath(fileName: string, path: string): string { if (isAbsoluteRootPath(path)) { return getUpdatedPath(fileName, path) } return path } export function getUpdatedPath(fileName: string, path: string): string { const fol...
import * as React from 'react'; import { Helmet } from 'react-helmet'; import * as _ from 'lodash-es'; import { useTranslation } from 'react-i18next'; import { FLAGS } from '@console/shared'; import { ExternalLink, Firehose, FirehoseResult } from './utils'; import { connectToFlags } from '../reducers/connectToFlags'; ...
export type ObservableListener<T> = (value: T) => any export type ObservableUnsubscribeFn = () => void export class Observable<T> { protected listeners: Array<ObservableListener<T>> = [] public subscribe(listener: ObservableListener<T>): ObservableUnsubscribeFn { this.listeners.push(listener) ...
import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { TasksModule } from './tasks/tasks.module'; import { TypeOrmConfig } from './config/typeorm.config'; import { AuthModule } from './auth/auth.module'; @Module({ imports: [TypeOrmModule.forRoot(TypeOrmConfig), TasksModul...
export const fastClick = (el) => { el.simulate('click') }
import { BitFlags, FSComponent, GeoPoint, GeoPointInterface, NumberUnitInterface, ReadonlyFloat64Array, Subject, UnitFamily, UnitType, Vec2Math, VNode } from 'msfssdk'; import { MapIndexedRangeModule, MapLayer, MapLayerProps, MapOwnAirplanePropsModule, MapProjection, MapProjectionChangeType, MapSyncedCanvasLayer } from...
import * as mongoose from 'mongoose'; export const NomenclatorSchema = new mongoose.Schema({ themes: { type: [{ nombre: String, }], required: true, default: null, }, genres: { type: [{ nombre: String, }], required: true, ...
import { Divider, Flex, Heading, Image, List, ListItem, Stack } from '@chakra-ui/react' import useSWR from 'swr' import {ALink, ExternalLink} from 'lib/components/link' import {getJSON, ResponseError} from 'lib/utils/safe-fetch' type Version = Record<string, string> const API_URL = process.env.NEXT_PUB...
export const boxShadow = 'rgba(99, 99, 99, 0.2) 0px 2px 8px 0px';
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.0"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>右鍵點一下來修改位址或標記</translation> </message> <message> <source>Create a new address</source> ...
export interface IAxisConfigs { tickWidth?: number // 刻度的宽(高)度,默认为10 spaceBetweenLabelsAxis?: number // 刻度值和坐标轴之间的距离,默认为20 axisMargin?: number // 右侧留出的空白区域 xAxisLabel?: string // X轴名称,默认值为'紧急度' yAxisLabel?: string // Y轴名称,默认值为'重要度' xWeight?: number // X轴权重,默认值为1 yWeight?: number // Y轴权重,默认值为1 xAxisRange...
/* * Copyright 2022 Salto Labs Ltd. * * 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 ...
// ---- Generated by gulp task ---- export * from './browser'; // API export {EntityApi} from './api/entity.api'; export {IEntityApi} from './api/IEntityApi'; export {EntityControllerApi} from './api/entity.controller.api'; export {IEntityControllerApi} from './api/IEntityControllerApi'; export {ObjectsNotValidErro...
import {HTTP_CODE_METADATA} from '../../constants'; export function HttpCode(statusCode: number): MethodDecorator { return <T>( _target: object, _key: string | symbol, description: TypedPropertyDescriptor<T> ) => { const value = description.value; if (value) { Reflect.defineMetadata(HTTP_...
import * as React from 'react'; import * as colors from '../../colors'; import styled from '../../utils/styled'; import { Headline } from '../Headline'; import { Icon } from '../Icon'; import { Breadcrumbs } from '../Breadcrumbs'; import { Breadcrumb, BreadcrumbProps } from '../Breadcrumb'; import { ActionLink } from '...
import * as fc from "fast-check"; import { LanguageEnum } from "../enums/Language"; import { Message } from "../types/Message"; import { decode, decodeMessage, encode } from "./url-utils"; describe("Message encoder/decoder", () => { it("should encode and decode a Message such that it stays the same", () => { con...
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { SignInPage } from './sign-in.page'; describe('SignInPage', () => { let component: SignInPage; let fixture: ComponentFixture<SignInPage>; beforeEach(waitForAsync(() => { Te...
import { WorkerContext } from './models' import { RepositoryReference, PullRequestReference } from './github-models' import { RepositoryWorker } from './repository-worker' export class RepositoryWorkers { constructor ( private onPullRequestError: (pullRequest: PullRequestReference, error: any) => void, priva...
import { digestDocument, flattenHashArray } from "../digest"; import { SchemaId } from "../../shared/@types/document"; import { SchematisedDocument } from "../../2.0/types"; describe("digest", () => { describe("flattenHashArray", () => { test("flattens objects and hash them individually", () => { const tes...
export { CodeReference32 as default } from "../../";
import {OrgContact} from '../../../../models/'; import {createOrgContactFromDiscriminatorValue} from '../../../../models/createOrgContactFromDiscriminatorValue'; import {ODataError} from '../../../../models/oDataErrors/'; import {createODataErrorFromDiscriminatorValue} from '../../../../models/oDataErrors/createODataEr...
import { StyledIcon, StyledIconProps } from '..'; export declare const Otter: StyledIcon<any>; export declare const OtterDimensions: { height: any; width: any; }; export { StyledIcon, StyledIconProps };
import * as commando from "discord.js-commando"; import { CONFIG, STORAGE } from "../../bot/globals"; import { Message, MessageEmbed } from "discord.js"; import { Inventory } from "../../entity/inventory"; import { User } from "../../entity/user"; import { checkRoles } from "../../bot/utils/utils"; import { getReposito...
import BigNumber from 'BigNumber' import op from 'op' describe('op - arithmetic calculator', () => { it('Return statement can contain identifiers only referring to scope variables initialized with BigNumber`s', () => { const numOuter = new BigNumber('1') const notBigNumber = '1' expect(op((...
// From https://hapijs.com/api/16.1.1#serverinitializecallback import * as Hapi from '../../'; const Hoek = require('../../../../hoek'); const server = new Hapi.Server(); server.connection({ port: 80 }); server.initialize((err) => { Hoek.assert(!err, err); });
import { Movie, fetchMovies } from '../services/movieService'; import { CinemaHall, fetchCinemaHalls } from '../services/cinemaHallService'; const dateOptions = { weekday: 'short', year: 'numeric', month: 'long', day: 'numeric' }; const timeOptions = { hour: '2-digit', minute: '2-digit' }; export function formatTimeS...
/** * @Copyright (c) Microsoft Corporation. All rights reserved. * * @file PropertyPaneTitleBar.tsx */ import * as React from 'react'; /** * Property pane title bar properties. * * @internal */ export interface IPropertyPaneTitleBarProps { title: string; onClose: () => void; } export default class Prop...
import { gql } from 'apollo-server-express'; export default gql` """ Deposit mutation input arguments """ input DepositInput { """ Depositing account identifier """ accountId: String! """ Positive number to increase account balance """ amount: NonNegativeInt! """ Opera...
import axios, { AxiosResponse } from "axios"; import store, { ContentData, RowData, ToastType } from "@/store"; import { isEmptyRow } from "@/graph"; export function importFromCSV(file: string): void { showLoader("Importing Content") const lines: string[] = file.split("\n"); const data: ContentData = store.state...
export class User { Username: String; }
import { Poste } from './poste'; describe('Poste', () => { it('should create an instance', () => { expect(new Poste()).toBeTruthy(); }); });
import { User } from "src/auth/user.entity"; import { EntityRepository, Repository } from "typeorm"; import { Board } from "./board.entity"; import { CreateBoardDto } from "./dto/create-board.dto"; @EntityRepository(Board) export class BoardRepository extends Repository<Board> { async createBoard(createBoardDto: C...
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient"; import { GetLogGroupFieldsRequest, GetLogGroupFieldsResponse } from "../models/models_0"; import { deserializeAws_json1_1GetLogGroupFieldsCommand, serializeAws_json1_1GetLogGroupFieldsCommand, } from...
import { Module } from '@nestjs/common'; import { ProductsService } from './products.service'; import { ProductsController } from './products.controller'; import { MongooseModule } from '@nestjs/mongoose'; import { product, productSchema } from './entities/product.entity'; @Module({ imports: [ MongooseModule.for...
import * as functions from "firebase-functions"; import * as admin from "firebase-admin"; import { firestore } from "firebase-admin"; import { Contest, DocumentSnapshot, StandingsItem, StandingsScore, Submission, Task, TaskScore, } from "./types"; export const updateStandingsItem = functions .region("a...
// Module export * from "./PlatformModule"; // builder export * from "./builder/ControllerBuilder"; // decorators export * from "./decorators/context"; // interfaces export * from "./interfaces/IRoute"; export * from "./interfaces/IHandlerContext"; export * from "./interfaces/IPlatformDriver"; // middlewares export...
import _ from 'lodash'; import React from 'react'; import PropTypes from 'react-peek/prop-types'; import { getFirst, omitProps, StandardProps } from '../../util/component-types'; import { lucidClassNames } from '../../util/style-helpers'; import LoadingIndicator from '../LoadingIndicator/LoadingIndicator'; import Over...
import RdfResourceImpl, { Constructor, namespace, RdfResource, property } from '@tpluscode/rdfine'; import * as $rdf from '@rdf-esm/data-model'; import type * as RDF from 'rdf-js'; import { sh } from './lib/namespace'; import type { Initializer, ResourceNode } from '@tpluscode/rdfine/RdfResource'; import type { Mixin }...
import React from 'react'; import styled from 'styled-components'; /** * Define stylesheet. */ const UI = styled.footer` position: relative; text-align: center; `; const Container = styled.div` padding: 20px; color: #666; a { color: #333; } @media (min-width: 960px) { marg...
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Router } from '@angular/router'; import {map} from 'rxjs/operators'; import * as model from '../shared/exportModels' declare var require: any; @Injectable() export class AuthenticationService { constructor(privat...
import { app, BrowserWindow, ipcMain } from "electron"; declare const MAIN_WINDOW_WEBPACK_ENTRY: any; // Handle creating/removing shortcuts on Windows when installing/uninstalling. if (require("electron-squirrel-startup")) { // eslint-disable-line global-require app.quit(); } let mainWindow: BrowserWindow; let l...
declare var chrome: any; namespace LZUTF8 { export class Timer { startTime: number; constructor() { this.restart(); } restart() { this.startTime = Timer.getTimestamp(); } getElapsedTime(): number { return Timer.getTimestamp() - this.startTime; } getElapsedTimeAndRestart(): number { con...
import { ActionCreator, Action, Dispatch, bindActionCreators, ActionCreatorsMapObject } from '../..' interface AddTodoAction extends Action { text: string } const addTodo: ActionCreator<AddTodoAction> = (text: string) => ({ type: 'ADD_TODO', text }) const addTodoAction: AddTodoAction = addTodo('test'...
import { BaseDriver, errors } from 'appium-base-driver'; import { IsolateSocket } from './sessions/isolate_socket'; import { desiredCapConstraints, IDesiredCapConstraints } from './desired-caps'; import { log as logger } from './logger'; import { executeElementCommand } from './sessions/observatory'; import { createS...
<TS language="lt" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Spustelėkite dešinįjį klaviša norint keisti adresą arba etiketę</translation> </message> <message> <source>Create a new address</so...
import { Loader } from './RPGAtsumaruLoader'; export class Query{ private query: {[key: string]: string|undefined}; readonly ready: Promise<void>; constructor(){ const query = {} as {[key: string]: string}; if(location.search.startsWith('?')){ location.search.slice(1).split('&'...
import { HSRoles } from '@app-seller/config/mp-security-profiles' import { HSRoute } from '@app-seller/models/shared.types' import { SELLER, SUPPLIER } from '@app-seller/models/user.types' // ! included to ensure no overlap with ordercloud ids as this in invalid in ids export const REDIRECT_TO_FIRST_PARENT = '!' // P...
import { CardListsSubscription } from '../../generated/graphql'; export interface Props { card: CardListsSubscription['card_list'][0]['cards'][0]; }
import unsafe, { isString } from '../unsafe' export default function maxLengthValidator(expected: number, actual: unsafe): boolean { if (!isString(actual)) return true return (actual as string).length <= expected }
/// <reference types="react" /> import { Identifier, Record } from '../types'; declare type RedirectToFunction = (basePath?: string, id?: Identifier, data?: Record) => string; export declare type RedirectionSideEffect = string | boolean | RedirectToFunction; /** * Hook for Redirection Side Effect * * @example * * ...
import { buffer as B } from "@talent/parser-buffer"; import * as P from "@talent/parser/lib/Parser"; export type Cutscene = { readonly text: string; }; export const cutscene: B.BufferParser<Cutscene> = P.struct({ text: B.ztstr });
// Copyright 2019 Espressif Systems (Shanghai) CO LTD // // 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 applica...
import { Col, Dropdown, Input, Menu, Radio, Row, Select, Tabs } from 'antd' import { router } from 'kea-router' import { useActions, useValues } from 'kea' import { Link } from 'lib/components/Link' import { ObjectTags } from 'lib/components/ObjectTags/ObjectTags' import { deleteWithUndo, Loading } from 'lib/utils' imp...
import { Meta, Story } from '@storybook/react'; import * as React from 'react'; import { uid } from 'react-uid'; import { Stack, Heading, HeadingProps } from '..'; const headingVariants = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']; export default { title: 'Heading', component: Heading, } as Meta<HeadingProps>; export ...
/* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable no-underscore-dangle */ /* eslint-disable @angular-eslint/component-selector, @angular-eslint/component-class-suffix, jsdoc/no-types, import/no-deprecated */ import { ChangeDetectionStrategy, Component, forwardRef, Input, Type, } from...
import { FC } from 'react' import { motion } from 'framer-motion' import ListProductsCart, { ProductProps } from 'components/product/ListProductsCart' import * as S from './styles' export interface HomeTemplateProps { products: ProductProps[] } const easing = [0.6, -0.05, 0.01, 0.99] export const fadeInUp = { ...
import {Store} from "@tsed/core"; import {deserialize, serialize} from "@tsed/json-mapper"; import {getJsonSchema} from "@tsed/schema"; import {Types, Schema} from "mongoose"; import {MONGOOSE_SCHEMA} from "../constants"; import {NumberDecimal, Decimal128, DecimalFormat} from "./numberDecimal"; describe("@NumberDecima...
import { Injectable } from '@angular/core'; import { ParseService } from './parse.service'; import * as Parse from 'parse'; import { HttpClient } from '@angular/common/http'; import { environment } from '../../../environments/environment'; import { combineAll } from 'rxjs/operators'; @Injectable() export class TourSer...
import { platformBrowser } from '@angular/platform-browser'; import { enableProdMode } from '@angular/core'; import { AppModuleNgFactory } from '../../../temp/app/bargauge/addandremovevalues/app.module.ngfactory'; enableProdMode(); platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);
import * as core from '../../../../core'; import { Resolver } from '../../../types'; const resolveWorkspace: Resolver<core.channels.Channel> = async ( channel, args, context, ) => { const workspace = await context.loaders.workspaceById.load( channel.workspaceId, ); return workspace; }; export default...
import Map from './Map.js'; import World from './World.js'; export declare type Coordinate = { x: number; y: number; }; export interface IPortal { build(): void; isVisible(x: number, y: number): boolean; render(): void; setCenter(x: number, y: number): void; } export declare class Portal impleme...
export interface Employee { id: number; email: string; firstName: string; lastName: string; address: Address; phone: string; age: number; experience: number; } interface Address { city: string; country: string; zip_code: string; street_name: string; }
import { NgModule } from '@angular/core'; import { NavBarComponent } from './component/nav-bar/nav-bar.component'; import { RouterModule } from '@angular/router'; import { Error404Compoennt } from './component/error-404/error-404.component'; @NgModule({ declarations: [ NavBarComponent, Error404Comp...
import * as React from 'react' import Image from 'next/image' import { Box, Container, VStack, HStack, Text, Icon, Center, Link, } from '@chakra-ui/react' import { Discord } from '../../components/LandingLogos' import logo from '../../../public/bankless-logo.png' export const Footer = (...
import React from "react" import Section from "components/section" import Provinces from "fixtures/provinces.json" import CityContent from "components/city-content" export default function () { const city = Provinces["IR-10"].cities["IR-1010"] const menu = { introduction: "آشنایی با شهرستان", analyze: "تحلی...
import { RusPV, RusPSPRW, RusImperativeNP, RusPTimeP, RusPP } from "../../rusSyntax"; import { idEntityValue, DateValue, parseDate } from '../../value'; import { Parser5 } from './Parser5'; export const parser5 = new Parser5(); const BaseVisitor5 = parser5.getBaseCstVisitorConstructor(); export class Visitor5 extend...
export * from './championship-final.base'; export * from './championship-form.base';
export const environment = { production: true, base_href: '/covid-forecasts' };
import { RawAssertions } from '@ephox/agar'; import { assert, UnitTest } from '@ephox/bedrock'; import { Gene, TestUniverse, TextGene } from '@ephox/boss'; import Selection from 'ephox/robin/smartselect/Selection'; UnitTest.test('SelectionTest', function () { const doc1 = TestUniverse(Gene('root', 'root', [ Gene...
export declare function withError(func: Function, regex: RegExp): any; //# sourceMappingURL=diffAgainstStore.d.ts.map
import {and} from "./dbby-helpers.js" import {DbbyTable, DbbyRow, DbbyCondition, DbbyConditions} from "./dbby-types.js" export function dbbyConstrain<Row extends DbbyRow, Constraint extends DbbyRow>( table: DbbyTable<Row>, constraint: Constraint, ): DbbyTable<Row & Partial<Constraint>> { const tab = <DbbyTable<...
import { it, inject, beforeEachProviders } from '@angular/core/testing'; // to use Translate Service, we need Http, and to test Http we need to mock the backend import {BaseRequestOptions, Http} from '@angular/http'; import {MockBackend} from '@angular/http/testing'; import {provide} from "@angular/core"; // Lo...
class LoginForm { // ================================================================================ // Selectors // ================================================================================ private username = () => $('//*[@data-test="username"]'); private password = () => $('//*[@data-test="password...
import { lazy, object, optional, Schema, string } from '../schema'; import { Booking, bookingSchema } from './booking'; export interface UpdateBookingRequest { /** A unique key to make this request an idempotent operation. */ idempotencyKey?: string; /** * Represents a booking as a time-bound service contract...
import { chain, fold, Some as FptsSome, isNone, isSome, mapNullable, none, Option, some, } from 'fp-ts/lib/Option'; import { AsyncMaybe } from '../asynchelpers/async.maybe'; import { Fail, Success, Validation } from './validation'; /** * Adapter providing the functionality of monets Maybe by means o...
import { RecordSet, RSAction } from "gdmn-recordset"; import { GridComponentState, GridAction, IGridColors } from "gdmn-grid"; import { ThunkDispatch } from "redux-thunk"; import { IState } from "@src/app/store/reducer"; import { GdmnAction } from "../gdmn/actions"; import { RouteComponentProps } from "react-router"; i...
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: unversioned * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the cla...
import "reflect-metadata"; import { expect } from "chai"; import { Connection } from "../../../src"; import { closeTestingConnections, createTestingConnections, reloadTestingDatabases } from "../../utils/test-utils"; import { TestEntity } from "./entity/test.entity"; describe("github issues > #7788 MongoDB update make...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="nl_NL"> <context> <name>Velleman</name> <message> <location filename="velleman.cpp" line="121"/> <source>This plugin provides DMX output support for the Velleman K8062D using the DLL supplied with the product.</sour...
import "@material/mwc-button"; import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit"; import { customElement, property } from "lit/decorators"; import "../components/ha-icon-button-arrow-prev"; import "../components/ha-menu-button"; import { HomeAssistant } from "../types"; @customElement("hass-e...
import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; import { RessourceNotFoundExceptionFilter } from './shared/exception/not-found-catching.exception'; async function bootstrap() { const app = await NestFactory.create(AppModule); app.useGlobalFilters(new RessourceNotFoundException...
// @ts-ignore import { JpegImage } from '../../../thirdparty/jpg'; import BitStream from '../../common/bitstream'; import convertBitRange from '../../common/convertbitrange'; import { bytesOf } from '../../common/typecast'; export const BLP1_MAGIC = 0x31504c42; const CONTENT_JPG = 0x0; // const CONTENT_PALLETE = 0x1; ...
import { Component, ViewChild, ViewContainerRef, ElementRef, EventEmitter, HostListener, HostBinding } from "@angular/core"; import { PositioningService, IDynamicClasses } from "../../../misc/util/index"; import { TransitionController, TransitionDirection, Transition } from "../../transition/index"; import { IPopup } f...
import { CollectionReference, DocumentData, DocumentReference } from "@firebase/firestore-types"; import { QueryConfig } from "types"; import { BaseUseCase } from "./BaseUseCase"; const LIMIT = 10; export abstract class SubCollectionUseCase<T, P> extends BaseUseCase { protected idKey: string = "id"; protect...
import React from 'react' const CoupleWithHeartPersonPersonMediumDarkSkinToneMediumLightSkinTone = ({ size, rem }: { size: number | string, rem?: boolean }) => { const width = (typeof size === 'string') ? size : rem ? `${size}rem` : `${size}px` return ( ) } export default CoupleWithHeartPersonPersonMediumD...
const c_table_cell_responsive_PaddingTop: {"name": "--pf-c-table-cell--responsive--PaddingTop"; "value": "0"; "var": "var(--pf-c-table-cell--responsive--PaddingTop)";} export default c_table_cell_responsive_PaddingTop
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/*! * @license * Copyright 2016 Alfresco Software, Ltd. * * 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 app...
import { streamingGroupBy } from "../../src/utils/StreamingGroupBy"; import "mocha"; import _ = require("highland"); import { expect } from "chai"; describe("streamingGroupBy", () => { const testCases = [ { in: [], out: [], groupBy: (x) => x, }, { in: [1], out: [[1]], ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { HttpClientTestingModule } from '@angular/common/http/testing'; import { FlexLayoutModule } from '@angular/flex-layout'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { ActivatedRoute } from '@angular/router';...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...