text stringlengths 10 953k |
|---|
import MemberDetail from "./memberDetail/Dialog.vue";
import MemberTable from "./memberTable/Table.vue";
export { MemberDetail, MemberTable }; |
import React from 'react';
import styled from 'styled-components';
import { deviceMax } from '../styles/theme';
import Logo from './logo';
import Nav from './nav';
const Header = () => (
<StHeader>
<Logo />
<Nav />
</StHeader>
);
const StHeader = styled.header`
display: flex;
align-ite... |
import { GetErrorMessagesUnderElement, Clone, E } from "js-vextensions";
import React from "react";
import { Column, Pre, Row, RowLR, TextInput } from "react-vcomponents";
import { BaseComponent, GetInnerComp, GetDOM } from "react-vextensions";
//import { MarkdownEditor, MarkdownToolbar } from "react-vmarkdown";
import... |
import {Composition} from './composition';
import {Layer} from './layer';
(async () => {
console.log('Init...');
let comp = await Composition.create('my1');
console.log('Connecting...');
await comp.connect();
console.log('Connected!');
let layer = new Layer(comp);
layer.title = 'Layer1';
... |
import {Injectable} from '@angular/core';
import {Observable, Subject} from 'rxjs';
export class RequestHeader {
constructor(public key: string, public value: string) {
}
}
@Injectable({
providedIn: 'root'
})
export class AppService {
private uriParam: string;
private themeParam: string;
private layoutPa... |
// Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/NoUnusedFragmentsRule.js
import { GraphQLError } from '../../error/GraphQLError.js';
/**
* No unused fragments
*
* A GraphQL document is only valid if all fragment definitions are spread
* within operations, or spread within other fragm... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { ClarityModule } from '@clr/angular';
import { CommonModule } from '@angular/common';
import { AppComponent } from './app.component';
import { PagesModule } from './pages/pages.module';
import { AppRoutingModu... |
import { ActionModel } from '../../../src/model/action/ActionModel';
import { expect } from 'chai';
describe('src/model/action/ActionModel', () => {
let actionModel: ActionModel = null;
before(() => {
actionModel = new ActionModel('demo');
});
it('shoule getName work', () => {
expect(actionModel.getN... |
import MapSearchIcon from 'mdi-react/MapSearchIcon'
import * as React from 'react'
import { Route, RouteComponentProps, Switch } from 'react-router'
import { Redirect } from 'react-router-dom'
import { Subscription } from 'rxjs'
import { map } from 'rxjs/operators'
import * as GQL from '../../../../shared/src/graphqlsc... |
// import * as Phaser from 'phaser';
export default VirtualJoyStick;
declare namespace VirtualJoyStick {
type DirTypes = 0 | 1 | 2 | 3 | 'up&down' | 'left&right' | '4dir' | '8dir';
export interface IConfig {
x?: number, y?: number,
radius?: number,
base?: Phaser.GameObjects.GameObje... |
export type Result<
TResult,
TType extends string | undefined = undefined,
TData extends Record<string, any> = Record<string, any>
> =
| {
error: true
info?: (TType extends undefined ? {} : { type: TType }) & {
message: string
data: TData
}
}
| { error: ... |
export * from './block-model';
export * from './carousel-model';
export * from './carousel-item-model';
export * from './config-model';
export * from './config-seo-model';
export * from './contact-model';
export * from './image-model';
export * from './custom-html-model';
export * from './html-link-element-model';
expo... |
import { Field, InputType, ObjectType } from '@nestjs/graphql';
import { CoreOutput } from 'src/common/core.output';
import { Category } from '../entities/category.entity';
@InputType()
export class GetCategoryInput {
@Field(() => String)
slug: number;
}
@ObjectType()
export class GetCategoryOutput extends CoreOu... |
import "../../CommonImports";
import "../../Core/core.css";
import "./ZeroData.css";
import * as React from "react";
import { IZeroDataProps } from "./ZeroData.Props";
/**
* Component for displaying helpful information when there is no data to show.
*/
export declare const ZeroData: React.SFC<IZeroDataProps>; |
import React, { FC, useState } from 'react'
import CSSTransition from 'react-transition-group/CSSTransition'
import SwitchTransition from 'react-transition-group/SwitchTransition'
import { debounce } from 'rxjs/operators'
import { timer } from 'rxjs'
import { useObservableCallback, useSubscription } from 'observable-ho... |
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'lib-category-card',
templateUrl: './category-card.component.html',
styleUrls: ['./category-card.component.scss']
})
export class CategoryCardComponent implements OnInit {
// TODO: Create interface for type check
// TODO: repla... |
import React from 'react';
import { render, cleanup } from '@testing-library/react';
import { LoadResourceWrapper } from './load-resource-wrapper';
describe(' LoadResourceContainer', () => {
afterEach(cleanup);
it('should render successfully', () => {
const { baseElement } = render(<LoadResourceWrapper resou... |
import { Recipe } from './Recipe';
import { MealPlan } from './MealPlan';
export interface LambdaFetchResponse {
recipes: Recipe[];
mealPlans: MealPlan[];
} |
export * from "./TranscribeClient";
export * from "./Transcribe";
export * from "./commands/CreateVocabularyCommand";
export * from "./commands/CreateVocabularyFilterCommand";
export * from "./commands/DeleteTranscriptionJobCommand";
export * from "./commands/DeleteVocabularyCommand";
export * from "./commands/DeleteVo... |
import {
Entity,
PrimaryGeneratedColumn,
Column,
OneToMany,
BeforeInsert,
} from 'typeorm';
import bcrypt from 'bcrypt';
import { Address } from './address.entity';
import { Contacts } from './contact.entity';
@Entity()
export class User {
@PrimaryGeneratedColumn()
id: string;
@Column()
name: string... |
import React, {useState} from 'react';
import {useDispatch, useSelector} from "react-redux";
import {Link} from "react-router-dom";
import ReactGA from "react-ga";
import {
Card,
CardBody,
CardTitle,
Col,
Container,
CustomInput,
Form,
FormFeedback,
FormGroup,
Input,
Label,
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cy" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Siktircoin</source>
<translation type="unfinished"/>
</message>
... |
export interface AccountSearchParam {
lastName: string | null
firstName: string | null
division: string | null
role: string | null
} |
import { Component } from '@angular/core';
// integrate account class
import { Account } from './account/account.model';
@Component({
selector: 'my-app',
// url to html file to load when app starts
templateUrl: 'app/app.component.html',
styleUrls: ['app/app.component.css'],
// styles: ['.blue-bg{ background-... |
/**
* @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 {AttributeMarker, InitialStylingFlags, ViewEncapsulation} from '@angular/compiler/src/core';
import {setup} f... |
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `.angul... |
import * as React from "react";
import {ReactFragment} from "react";
import Input from "../input/input";
import classes from "../helpers/classes";
import './form.scss'
export interface FormValue {
[K: string]: any
}
interface Props {
value: FormValue;
fields: Array<{ name: string, label: string, input: { ... |
$(document).ready(function () {
// the canvas element for the game
let canvas = document.getElementById('cnvs');
// update the scores in html
let ids = ['scoreSingle', 'scoreDouble', 'scoreTriple', 'scoreTetris', 'scorePerfectClear'];
let scores = [Consts.scoreSingle, Consts.scoreDouble, Consts.sc... |
import { Box, Chip, TextField, TextFieldProps } from '@material-ui/core'
import React, { useEffect, useState } from 'react'
import { getIn, useFormikContext } from 'formik'
import Autocomplete from '@material-ui/lab/Autocomplete'
import T from 'components/T'
interface LabelFieldProps {
isKV?: boolean // whether to ... |
import { GuildMember, MessageEmbed } from "discord.js"
import { colors, ids } from "../../config.json"
import { generateTip } from "../../lib/util"
import type { Command, GetStringFunction } from "../../lib/imports"
const command: Command = {
name: "8ball",
description: "The Magic 8 Ball that will answer all your q... |
import { RouterModule } from '@angular/router';
import { NgModule } from '@angular/core';
import PropuestasModule from './propuestas';
import CuadernoModule from './cuaderno';
import CarpetasModule from './carpetas';
import AsesorModule from './asesor';
import BienvenidoModule from './bienvenido';
import FinalModule f... |
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type {
GovernorVotesQuorumFraction,
GovernorVotesQuorumFractionInterface,
} from "../GovernorVotesQuorumFraction";
... |
import { SimulationNodeDatum, SimulationLinkDatum } from 'd3-force';
export type NodeDatum = SimulationNodeDatum & {
id: string;
title: string;
subTitle: string;
dataFrameRowIndex: number;
incoming: number;
mainStat: string;
secondaryStat: string;
arcSections: Array<{
value: number;
color: stri... |
import React from 'react'
import styles from './Carousel.module.css'
import { Image, Carousel as AntCarousel } from 'antd'
import carouselImage1 from '../../assets/images/carousel_1.jpg'
import carouselImage2 from '../../assets/images/carousel_2.jpg'
import carouselImage3 from '../../assets/images/carousel_3.jpg'
expo... |
import { Person, IncomeW2, Refund, Dependent, FilingStatus, PrimaryPerson, ContactInfo } from './data'
import { ValidateFunction } from 'ajv'
import ajv, { checkType } from './validate'
export enum ActionName {
SAVE_REFUND_INFO = 'SAVE_REFUND_INFO',
SAVE_PRIMARY_PERSON_INFO = 'SAVE_TAXPAYER_INFO',
SAVE_CONTACT_I... |
namespace Visitor {
interface Node {
appendTo(visitor: NodeVisitor): void;
}
interface NodeVisitor {
appendText(text: Text): void;
appendBold(text: BoldText): void;
appendUnorderedList(list: UnorderedList): void;
appendListItem(item: ListItem): void;
}
class... |
import { NotFoundException } from "@nestjs/common";
import { Test, TestingModule } from "@nestjs/testing";
import { MovieService } from "./movie.service"
describe('MovieService', () =>{
let service: MovieService;
//테스트를 하기 전에 실행됨
beforeEach(async () =>{
const module: TestingModule = await Test.cre... |
import {TableColumn} from "./TableColumn";
import {TableIndex} from "./TableIndex";
import {TableForeignKey} from "./TableForeignKey";
import {Driver} from "../../driver/Driver";
import {TableOptions} from "../options/TableOptions";
import {EntityMetadata} from "../../metadata/EntityMetadata";
import {TableUtils} from ... |
import { doFlipCard, restartGame, refreshFlipCard } from './../../reducers/FlipCardReducer/actions';
import { getFlipCards, getGameStats } from './../../reducers/FlipCardReducer/selectors';
import { connect } from 'react-redux';
import { RootState } from '../../store';
import CardGame from './CardGame';
export defaul... |
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'factorial'
})
export class FactorialPipe implements PipeTransform {
transform(num1:number): string {
var factorial = 1;
for (var i = 1; i <= num1; i++) {
factorial *= i;
}
return "El factorial de " + num1 + " es " + factorial;
}
} |
import { MigrationInterface, QueryRunner } from "typeorm"
export class EditSchoolImageKeyAndIntranet1644057985735
implements MigrationInterface
{
name = "EditSchoolImageKeyAndIntranet1644057985735"
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`ALTER TABLE \`schoo... |
import { React, Immutable, ImmutableObject, classNames } from 'jimu-core'
import { FontFamilyValue, defaultMessages, hooks } from 'jimu-ui'
import { IFont } from '@esri/arcgis-rest-types'
import { FontFamily } from 'jimu-ui/advanced/rich-text-editor'
import {
InputUnit,
FontStyle,
FontStyles
} from 'jimu-ui/advan... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {ExtensionHandler} from "./types";
import {parseHTML} from "@internal/html-parser";
// These are extensions that be implic... |
/* tslint:disable */
/* eslint-disable */
/**
* My Data My Consent - Developer API
* Unleashing the power of data consent by establishing trust. The Platform Core Developer API defines a set of capabilities that can be used to request, issue, manage and update data, documents and credentials by organizations. The API... |
declare module "https://*";
declare let google: any; |
import { defineDriver } from './utils'
import type { CloudflareWorkerKV } from 'types-cloudflare-worker'
export interface KVOptions {
binding?: string | CloudflareWorkerKV
}
// https://developers.cloudflare.com/workers/runtime-apis/kv
export default defineDriver((opts: KVOptions = {}) => {
const binding = getBin... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
/**
* @license
* Copyright 2020 Google LLC. 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 required by a... |
import SocketIO, { SocketIOOptions } from 'react-native-socket-io-wrapper';
function makeSocketIO(options?: SocketIOOptions) {
return new SocketIO('http://127.0.0.1:3000', options);
}
export default makeSocketIO; |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Stingray</source>
<translation type="unfinished"/>
</message>
<message>
<location line... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
export const environment = {
production: true,
API: 'api',
}; |
import { GroupsCreateDto } from './groups.create.dto';
export class GroupsUpdateDto extends GroupsCreateDto {
id: number;
} |
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { EventEmitter } from "events";
import { assert } from "@fluidframework/common-utils";
import {
IFluidObject,
IFluidLoadable,
IFluidRouter,
IRequest,
IResponse,
IFluidHandle,
} from "@... |
import { ESLintUtils } from '@typescript-eslint/experimental-utils';
const { batchedSingleLineTests, RuleTester, noFormat } = ESLintUtils;
export { batchedSingleLineTests, noFormat, RuleTester }; |
/* IMPORT */
import * as unstated from 'unstated';
/* HMR */
const HMR = {
isEnabled: true,
containers: {}
};
/* HOOK */
unstated['__SUPER_SECRET_CONTAINER_DEBUG_HOOK__']( container => {
if ( !HMR.isEnabled ) return;
const {name} = container.constructor;
if ( HMR.containers[name] ) {
const oldSta... |
/**
* @license
* Copyright Google LLC 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
*/
interface FnWithArg<T> {
(...args: any[]): T;
new(...args: any[]): T;
}
function callableClassDecorator(): FnWit... |
import { NgModule } from '@angular/core';
import {A11yModule} from '@angular/cdk/a11y';
import {DragDropModule} from '@angular/cdk/drag-drop';
import {PortalModule} from '@angular/cdk/portal';
import {ScrollingModule} from '@angular/cdk/scrolling';
import {CdkStepperModule} from '@angular/cdk/stepper';
import {CdkTable... |
// Copyright 2020-present the denosaurs team. All rights reserved. MIT license.
import { levenshtein } from "../deps.ts";
/** Returns the closest string in the array */
export function closest(word: string, words: string[]): string | undefined {
if (words.length === 0) return;
const dist = words.map((w) => leven... |
class FabricContextualMenu extends FabricContextualHost {
public _refs: { [index: string]: any };
private _modifier: string | null;
public _host: string | null;
private _hostEvent: string = 'click';
private __boundHostEventHandler: any;
constructor() {
super();
this._refs = {};
this._modifier... |
/**
* Copyright © INOVUA TRADING.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import isMobile from '../../../common/isMobile';
const ARROWS = {
right: (
<path
fillRule="evenodd"
d="M... |
import { Keyboard } from "vk-io";
export const ProfileCommand: commandTypes = {
hearConditions: /^(?:профиль)$/i,
handler: (context) => context.send(`Профиль:\nID: ${context.user.id}\nБаланс: ${context.user.balance}`, {
keyboard: Keyboard.builder().callbackButton({
label: "Клик",
payload: "click"
... |
import { GiantState } from '../types/redux/GiantState';
import { GiantDispatch } from '../types/redux/GiantDispatch';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { setCurrentHighlight } from '../actions/highlights';
import React, { useEffect } from 'react';
import { EuiHead... |
import { Injectable } from '@angular/core';
import { Store, Action, select } from '@ngrx/store';
import { Observable, Subject, iif } from 'rxjs';
import { takeUntil, map, filter, debounceTime, distinctUntilChanged } from 'rxjs/operators';
import {
AppState,
STORE_KEY,
selectServerMapDisableState,
selec... |
import { IUsersRepository } from "@modules/Accounts/repositories/IUsersRepository";
import { deleteFile } from "@utils/file";
import { inject, injectable } from "tsyringe";
interface IRequest {
user_id: string;
avatar_file: string;
}
@injectable()
class UpdateUserAvatarUseCase {
constructor(
@inject("UsersR... |
/**
* Copyright© 2017, Oracle and/or its affiliates. All rights reserved.
*/
import { Component } from "../component";
import { LoadingComponent } from "../loading/loading.component";
import { Utils } from "../../core/utils";
import { ISettings } from "../../core/settings";
import { IBotsService } from "../../provide... |
/**
* THIS HEADER SHOULD BE KEPT INTACT IN ALL CODE DERIVATIVES AND MODIFICATIONS.
*
* This file provided by IPT is for non-commercial testing and evaluation
* purposes only. IPT reserves all rights not expressly granted.
*
* The security implementation provided is DEMO only and is NOT intended for production ... |
/// <reference lib="dom" />
declare module "*.svelte" {
export default Svelte2TsxComponent;
}
interface IComponentOptions {
target: Element;
anchor?: Element;
props?: Props;
context?: Map<any, any>;
hydrate?: boolean;
intro?: boolean;
$$inline?: boolean;
}
declare type Props = Record<string, any>;
d... |
import { FrontSide, RGBAFormat, TangentSpaceNormalMap } from "three";
import { SymbolConfig } from "../common/CommonConfig";
export interface MaterialConfig extends SymbolConfig {
alphaTest: number
colorWrite: boolean
depthTest: boolean
depthWrite: boolean
format: number
fog: boolean
name: string
needs... |
import {
ClearingHouseAccountSubscriber,
ClearingHouseAccountEvents,
ClearingHouseAccountTypes,
} from './types';
import { AccountSubscriber, NotSubscribedError } from './types';
import {
DepositHistoryAccount,
ExtendedCurveHistoryAccount,
FundingPaymentHistoryAccount,
FundingRateHistoryAccount,
LiquidationHist... |
import styled from "@emotion/styled";
import mediaqueries from "@styles/media";
const Paragraph = styled.p`
line-height: 1.756;
font-size: 18px;
color: ${p => p.theme.colors.articleText};
font-family: ${p => p.theme.fonts.body};
transition: ${p => p.theme.colorModeTransition};
margin: 0 auto 35px;
width:... |
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
import * as fetchMock from "fetch-mock";
import { protectItem, unprotectItem } from "../../src/items/protect";
import { ItemSuccessResponse } from "../mocks/items/item";
import { UserSession } from "@esri/arcgis-rest-auth";
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
],
... |
export class RegisterNewUserServiceError extends Error {} |
import { CanBoot } from '../Contracts'
export default abstract class AbstractPackage implements CanBoot {
/**
* Boot status
*
* @type {boolean}
*/
public booted: boolean = false
} |
/*!
* devextreme-angular
* Version: 20.1.3
* Build date: Fri Apr 24 2020
*
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://git... |
import { LitElement, css, html } from 'lit';
import { customElement, property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
@customElement('explanation-text')
export class ExplanationText extends LitElement {
static styles = css`
.container {
margin: 0 auto;
widt... |
import { fileLoader } from 'merge-graphql-schemas';
import path from 'path';
const resolvers = fileLoader(path.join(__dirname, './**/*.resolvers.ts'));
export default resolvers; |
import React from 'react';
import Routes from './routes';
import GlobalStyles from './styles/global';
const App: React.FC = () => {
return (
<>
<GlobalStyles />
<Routes />
</>
);
};
export default App; |
// Comp_04_0068
import React from 'react';
import { incModCount } from '../modCount';
import Comp_05_0340 from './Comp_05_0340';
import Comp_05_0341 from './Comp_05_0341';
import Comp_05_0342 from './Comp_05_0342';
import Comp_05_0343 from './Comp_05_0343';
import Comp_05_0344 from './Comp_05_0344';
const Comp_04_0068... |
/** @jsx jsx */
import React from "react"
import { jsx, useColorMode, useThemeUI } from "theme-ui"
import { rgba } from "polished"
type Props = { children: React.ReactNode; color?: string; slim: boolean }
const BGImage = ({ children, color, slim }: Props) => {
const [colorMode] = useColorMode()
const { theme } = ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Newcoin</source>
<translation>बिटकोइन के संबंध में</translation>
... |
import { Icon } from '@/components/icon'
Icon.register({
'chalkboard-teacher': {
width: 640,
height: 512,
paths: [
{
d:
'M208 352c62.1 0 112.3 50.5 112 112.6-0.1 26.3-21.7 47.4-48 47.4h-224c-26.3 0-47.9-21.1-48-47.4-0.3-62.1 49.9-112.6 112-112.6 2.4 0 4.8 0.3 7 1.1 13 4.2 26.6 6.9... |
import { Component } from '@angular/core';
// import { ReleaseNotesComponent } from './release-notes/release-notes.component';
@Component({
selector: 'my-app',
template: `
<navi-ish-thing></navi-ish-thing>
<router-outlet></router-outlet>
`,
styleUrls: ['./app.component.css'],
})
export class AppC... |
import React, { createContext, useState } from 'react';
import I18n from 'i18n-js';
import enUS from './en-US';
import ptBR from './pt-BR';
export interface LanguageData {
invite_friends: string;
phone_recharge: string;
cash_in: string;
deposit: string;
transfer: string;
adjust_limit: string;
help: stri... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { RegolamentoPageRoutingModule } from './regolamento-routing.module';
import { RegolamentoPage } from './regolamento.page';
@Ng... |
import { newInstanceForScope, newInstanceOf, toArray } from '@aurelia/kernel';
import { assert, createSpy, getVisibleText, ISpy, TestContext } from '@aurelia/testing';
import { IValidationRules } from '@aurelia/validation';
import { CustomAttribute, CustomElement, customElement, IPlatform, Aurelia } from '@aurelia/runt... |
import * as h264 from 'h264-profile-level-id';
import * as utils from './utils';
import { UnsupportedError } from './errors';
import { supportedRtpCapabilities } from './supportedRtpCapabilities';
import { parse as parseScalabilityMode } from './scalabilityModes';
import {
RtpCapabilities,
MediaKind,
RtpCodecCapabil... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import fs from 'fs-extra';
import path from 'path';
import admonitions from 'remark-admonitions';
import {
normalizeUrl,
docuH... |
import {connect} from 'react-redux';
import {createSelector} from 'reselect';
import * as _ from 'underscore';
import {contains} from 'underscore.string';
import {IReactVaporState} from '../../ReactVaporState';
import {IDispatch} from '../../utils/ReduxUtils';
import {ReduxUtils} from '../../utils/ReduxUtils';
import {... |
export * from './user-response.interface';
export * from './user.interface';
export * from './users-service.interface'; |
import { DataDrivenTypes } from "measures/2022/CommonQuestions/types";
export const qualifiers = [
"< Age 1",
"Ages 1 to 9",
"Ages 10 to 19",
"Ages unknown",
"Total (Ages <1 to 19)",
];
export const categories = [];
export const data: DataDrivenTypes.PerformanceMeasure = {
questionText: [
"Rate of eme... |
// Copyright (c) 2020 Jozty. All rights reserved. MIT license.
import curryN from './utils/curry_n.ts'
import type { PH } from './utils/types.ts'
import { reduce } from './reduce.ts'
import { concat } from './concat.ts'
import { map } from './map.ts'
type Chain_2<T, R> = (g: T[]) => R[]
type Chain_1<T> = <R>(f: (a: ... |
import addon from '../../utils/addon';
import { NativeElement, NativeRawPointer } from '../../core/Component';
import { DropAction } from '../../QtEnums';
import { QMimeData } from '../../QtCore/QMimeData';
export class QDropEvent {
native: NativeElement;
constructor(event: NativeRawPointer<'QEvent'>) {
... |
declare function Currying<T>(fn: T): Curried<T>;
type Curried<T> = T extends (...args: infer I) => infer O
? I extends [infer F, ...infer R]
? (arg: F) => Curried<(...args: R) => O>
: O
: never |
import { Inject } from '@nestjs/common';
import { MEMENTO_CLIENT } from './memento.constants';
export function InjectMementoClient() {
return Inject(MEMENTO_CLIENT);
} |
import { mailerConfig } from '@config/mailer.config';
import { BookModule } from '@modules/book/book.module';
import { BookOrmEntity } from '@modules/book/database/book.orm-entity';
import { BookRepository } from '@modules/book/database/book.repository';
import { ReservationOrmEntity } from '@modules/reservation/databa... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SampleEditComponent } from './sample-edit.component';
describe('SampleEditComponent', () => {
let component: SampleEditComponent;
let fixture: ComponentFixture<SampleEditComponent>;
beforeEach(async () => {
await TestBed.configureT... |
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2018 Walmart 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
*
... |
const freeEpcisUrl = 'http://www.freepcis.com/server/nemo/capture'
export const freepcisVault = {
capture: {
uri: 'https://cors-anywhere.herokuapp.com/'+ freeEpcisUrl,
auth: {
username: 'nemo',
password: 'test001'
}
}
}
export const sendCatchEvent = async (body : any) => {
const headers... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.