text
stringlengths
10
953k
import {NgModule} from '@angular/core'; import {AppComponent} from './app.component'; import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; import { MatAutocompleteModule } from '@angular/material/autocomplete'; import { MatButtonModule } from '@angular/material/button'; import { MatButtonToggle...
import {Expressions, Nodes} from "@abaplint/core"; import {IExpressionTranspiler} from "./_expression_transpiler"; import {Traversal} from "../traversal"; export class ComponentCompareTranspiler implements IExpressionTranspiler { public transpile(node: Nodes.ExpressionNode, traversal: Traversal): string { const...
export * from "./lib/avatar/avatar"; export * from "./lib/button/button"; export * from "./lib/card/card"; export * from "./lib/divider/divider"; export * from "./lib/input/input"; export * from "./lib/link/link"; export * from "./lib/modal/modal"; export * from "./lib/text/text"; export * from "./lib/title/title"; exp...
/** * @license * * Copyright IBM Corp. 2020, 2022 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { classMap } from 'lit-html/directives/class-map'; import { html, state, property, query, customElement } from 'lit-ele...
export type StyleModule<S = {}> = {[id in keyof S]: string} export const StyleModule: { new <S extends {[name: string]: Style}>(spec: S, options?: {priority?: 0 | 1 | 2}): StyleModule<{[id in keyof S]: string}> mount(root: Document | ShadowRoot | DocumentOrShadowRoot, module: StyleModule): void } export type Styl...
import * as React from 'react'; import { getTheme, mergeStyleSets } from '@fluentui/react/lib/Styling'; import { lorem } from '@fluentui/example-data'; import { ScrollablePane, IScrollablePaneStyles } from '@fluentui/react/lib/ScrollablePane'; import { Sticky, StickyPositionType } from '@fluentui/react/lib/Sticky'; ex...
import { join } from "path"; import { Modifier } from "./Modifier"; export class PrettyErrorsModifier extends Modifier { /** * File to be modified. * * @var {string} file */ protected file: string = join('config', 'app.imba'); /** * Modifier callback * * @param {string} line * @param {number} index...
/* globals module */ /** * @module userEducationClient * @description User Education Client provides Baasic route templates which can be expanded to Baasic REST URIs. Various services can use Baasic User Education Route Definition to obtain needed routes while other routes will be obtained through HAL. By conventi...
import Argument from './argument'; import ArgumentName from './argument_name'; const dumpHeader: Argument = { isSupported: false, name: ArgumentName.DumpHeader, flags: ['--dump-header', '-D'], argsCount: 1, }; export default dumpHeader;
export const WIN_MESSAGES = ['batal!', '3ash', 'Gamed!', "wal3ana"] export const WORDLE_TITLE = '3arosty' export const GAME_COPIED_MESSAGE = 'Game copied to clipboard' export const ABOUT_GAME_MESSAGE = 'About this game' export const NOT_ENOUGH_LETTERS_MESSAGE = 'Not enough letters' export const WORD_NOT_FOUND_MESSAGE ...
export class NuroError extends Error { constructor(message: string) { super(message) } }
<TS language="ru" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Щелкните правой кнопкой мыши, чтобы изменить адрес или метку</translation> </message> <message> <source>Create a new address</sourc...
import { Component } from '@angular/core'; import { Validators, FormGroup, FormBuilder } from '@angular/forms'; @Component({ selector: 'app-form-builder-example', templateUrl: './form-builder-example.component.html' }) export class FormBuilderExampleComponent { form: FormGroup; constructor(private formBuilder...
import React, { useContext, useState } from "react"; import { Context as AppContext } from "../../context/app/context"; import { toggleEditLog, addNotification, updateLog, } from "../../context/app/actions"; import styled from "styled-components"; import SvgButton from "../../button/SvgButton"; import SaveIcon fr...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { Test2EditorComponent } from './test2-editor.component'; describe('Test2EditorComponent', () => { let component: Test2EditorComponent; let fixture: ComponentFixture<Test2EditorComponent>; beforeEach(async () => { await TestBed.confi...
import { Injectable } from '@nestjs/common'; import { ChampionInfo } from './../../common/types'; import { ApiClient } from '../client/api-client'; import { CHAMPION_ROTATIONS } from './routes'; import { Region } from './../../common/enums'; @Injectable() export class ChampionService { constructor(private readonly c...
import { DropDownProps } from 'antd/es/dropdown'; import { Dropdown } from 'antd'; import React, { ReactNode, FC } from 'react'; import classNames from 'classnames'; import styles from './index.less'; declare type OverlayFunc = () => ReactNode; export interface HeaderDropdownProps extends Omit<DropDownProps, 'overlay...
export interface User { id: number email: string name: string }
import * as React from 'react'; import * as PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { hide, destroy } from './actions'; import { getDisplayName, isPromise, isUndefined } from './utils'; import { ModalConfig, InjectedWrapperComponent, C...
import * as jwt from 'jsonwebtoken'; export const isAuthorized = (groups: string, requiredGroup: string) => { return groups.indexOf(requiredGroup) !== -1; } const AUTH0_CLIENT_ID = process.env.AUTH0_CLIENT_ID; // 'your-auth0-client-id-here'; const AUTH0_CLIENT_SECRET = process.env.AUTH0_CLIENT_SECRET; // 'your-a...
/* * jackle - https://github.com/8eecf0d2/jackle */ import { Jackle } from 'jackle'; import { TodoState, TodoItem } from '../'; export const UpdateText: Jackle.handler = { type: 'update:text', /** the parser will get the input element's value */ parser: (input: HTMLInputElement) => { return input.value; ...
import store from '@app/store'; import { disallowDownload, resetError } from '@/User/slices/generalSlice'; import { setIndexByNumber } from '@/User/slices/wallpaperSlice'; const setIndexAfterPushingCollection = (index: number) => { const { dispatch } = store; dispatch(setIndexByNumber(index)); dispatch(resetErr...
export const setUploadFileKey = (request: any, file: any, cb: (err: any, result: string) => void) => { cb(null, `${request.params.entityName}/${Date.now().toString()}-${file.originalname}`); };
// Copyright 2019 Cognite AS import * as THREE from 'three'; import { identityMatrix4 } from '../constants'; const globalVector = new THREE.Vector3(); export function computeBoundingBox( box: THREE.Box3, matrix: THREE.Matrix4, position: THREE.BufferAttribute | THREE.InterleavedBufferAttribute, index: THREE.B...
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { ActivatedRoute, Router } from '@angular/router'; import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'; import { TranslateService } from '@ngx-translate/core'; impor...
export declare const PLACE_ORDER_LIMIT_TIMEOUT = 200;
<?xml version="1.0" ?><!DOCTYPE TS><TS language="tr" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Monexcoin</source> <translation>Monexcoin hakkında</translation> ...
namespace pgparser { /** * 限制0~1次匹配 */ export class MaybeConsumer extends ConsumerBase { protected subMatcher: ConsumerBase init(subMatcher: ConsumerBase, matchedSignal: MatchedSignalPulse = null) { this.matchedSignal = matchedSignal this.subMatcher = subMatcher return this } match(iter: IterCo...
/* eslint-disable */ declare module "presto-client" { interface IPrestoClientOptions { host: string; ssl?: { ca?: string; cert: string; ciphers?: string; key?: string; passphrase?: string; secureProtocol: string; pfx?: string; rejectUnauthorized?: boolean; }...
import { Component, Input, OnInit } from '@angular/core'; import { ActivatedRoute, Params } from '@angular/router'; import { Location } from '@angular/common'; import { HeroService } from './hero.service'; import { Hero } from './hero'; import 'rxjs/add/operator/switchMap'; @Component({ moduleId:...
"use strict" import { Container, ContainerModule, interfaces } from "inversify" import TYPES from "./types" import IServer from "../server/IServer" import Server from "../server/Server" const server: ContainerModule = new ContainerModule((bind: interfaces.Bind, unbind: interfaces.Unbind) => { bind<IServer>(TYPES.I...
/** * Created by sange on 29/10/2016. */ export let flights = [ { id: 1, dateOfDeparture: '2016-12-31T20:00:00.000Z', distance: 6579.81, price: 24990, seats: 320, name: 'transatlantic Prg > NY', from: 2, to: 3, url: '/flight/1' }, { id: 2, dateOfDeparture: '2016-12-2...
import * as core from '@actions/core'; import * as tc from '@actions/tool-cache'; import * as os from 'os'; import * as fs from 'fs'; const osPlat: string = os.platform(); export async function get(version: string) { // tries to get the binary from the cache let minikubePath = tc.find('minikube', version); if (...
// import bcrypt from "bcryptjs"; // import jwt from "jsonwebtoken"; // const HASH_SALT = 12; // const EXPIRES_IN = "1h"; // const hash = async element => { // return await bcrypt.hash(element, HASH_SALT); // }; // const validateHash = async (element, toCompereWith) => { // return await bcrypt.compare(element, t...
import { useEffect } from "react"; import { type SelectedInstanceData } from "~/shared/component"; import { getBrowserStyle, useAllUserProps, type Instance, type Tree, } from "@webstudio-is/sdk"; import { useSelectedInstance, useSelectedElement } from "../nano-values"; import { publish } from "../pubsub"; impor...
// @ts-ignore import { ManualApiOptions } from 'vuestic-ui/src/services/api-docs/ManualApiOptions' export default { props: { stripe: { local: true, }, stripeColor: { local: true, }, gradient: { local: true, }, bordered: { local: true, }, outlined: { l...
import { Mesh, MeshBuilder, Scene, StandardMaterial, Texture, Vector3 } from "babylonjs"; export class Auxiliar{ public static count: number = 0; public static ducks: number = 0; }
import { createPlannedTaskStoreMock } from "../persistence"; import { TaskCancelManager } from "nativescript-task-dispatcher/internal/tasks/cancel-manager"; import { TaskScheduler } from "nativescript-task-dispatcher/internal/tasks/schedulers/time-based"; import { RunnableTask } from "nativescript-task-dispatcher/inter...
import { Injectable } from '@angular/core'; import { Actions, Effect, ofType } from '@ngrx/effects'; import { LoadActivity, ActivityError, ViewActivityActionTypes, UpdateActivity } from './view-activity.actions'; import { of } from 'rxjs'; import { map, mergeMap, catchError } from 'rxjs/operators'; import { AngularFire...
/* * 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 { SavedSearchLoader } from 'src/legacy/core_plugins/kibana/public/disc...
import * as React from 'react' import { StyleSheet } from 'react-native' import { Text, View } from '../components/Themed' import Feed from '../components/Feed' import NewTweetButton from '../components/NewTweetButton' export default function HomeScreen() { return ( <View style={styles.container}> <Feed ...
import { Class, HTMLWidget, SVGWidget } from "@hpcc-js/common"; import * as marshaller from "@hpcc-js/marshaller"; import { expect } from "chai"; import { classDef } from "../../test-data/src/index"; const urlSearch: string = window.location.href.split("?")[1]; describe.skip("@hpcc-js/marshaller", () => { for (co...
import {isAlpha, isDigit} from "@romefrontend/parser-core"; export const Symbols = { CarriageReturn: "\r", Control: 0x80, FormFeed: "\f", LineFeed: "\n", MaxValue: 0x10ffff, Replace: "\ufffd", Space: " ", SurrogateMax: 0xdfff, SurrogateMin: 0xd800, Tab: "\t", }; export function getCodePoint(char: string): n...
import VastElement, { VastElementRoot } from "../common/vast-element"; const testOptions = { logWarn: false, throwOnError: true }; // initialized just for autocomplete let vast = new VastElement(); describe("VAST Element", () => { beforeEach(() => { vast = new VastElement(); vast.parseOptions(testOptio...
export = Spool; declare function Spool(printerName: string): void; declare class Spool { constructor(printerName: string); open(jobName: string): void; write(data: string): void; writeln(data: string): void; writeByte(data: number): void; close(waitPrint?: boolean, timeout?: number): void; } dec...
import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { Content } from './../../controller/content/interface/content.interface'; import { CreateContentDto } from 'src/controller/content/dto/create-content.dto'; import { User } from 'src/con...
import { printValue } from '../printValue'; describe('printValue util', () => { it.each<[unknown, string]>([ [2, '2'], [0, '0'], ['foo', '"foo"'], [false, 'false'], [true, 'true'], [null, 'null'], [undefined, 'undefined'], ])('serializes primitive %s value', (input, output) => { exp...
import { BookEntity } from '../entities/BookEntity'; import { Grouper, IGrouping } from './Grouper'; export class Category { constructor( public label: string, public apply: (grouper: Grouper) => [IGrouping, BookEntity[]][] ) {} }
export * from './oimo.utils'; export * from './three.debugger'; export * from './three.utils'; export * from './OimoPhysicsModule'; export * from './WorldFactory'; export * from './three.utils/OimoMousePuller';
/** * @packageDocumentation * @module Parts.MINEW_S1_HT */ import Obniz from '../../../obniz'; import BleRemotePeripheral from '../../../obniz/libs/embeds/bleHci/bleRemotePeripheral'; import ObnizUtil from '../../../obniz/libs/utils/util'; import ObnizPartsBleInterface from '../../../obniz/ObnizPartsBleInterface'; ...
import { alpha, Card, CardContent, Stack } from '@mui/material'; import Image from 'next/image'; const cardData = [ { text: 'The perfect mashup of Material-UI and React Table', image: '/mashup.svg', alt: 'Mashup', }, { text: 'High quality and performant modern table features with a minimal amount...
/*! * @license * Copyright 2019 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 { useState, useEffect } from 'react' import { useWeb3React } from '@web3-react/core' import { injected } from './connectors' export function useEagerConnect() { const { activate, active } = useWeb3React() const [tried, setTried] = useState(false) useEffect(() => { injected.isAuthorized()....
import * as React from 'react'; import { shallow } from 'enzyme'; import StageNamesConfirmation, { buildFareStageNamesConfirmationElements, } from '../../src/pages/stageNamesConfirmation'; describe('pages', () => { describe('stageNamesConfirmation', () => { it('should render correctly', () => { ...
/* * * Copyright 2018-present NEM * * 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 ...
import { Service } from "typedi"; import mongoose, { Types } from "mongoose"; import User from "../models/user/user.model"; import { IUser } from "../models/user/user.interfaces"; @Service() export class UserRepository { findById = async (_id: string): Promise<IUser | null> => { if (!mongoose.isValidObjectId(_i...
declare module "@salesforce/schema/ConsumptionScheduleFeed.BestComment" { const BestComment:any; export default BestComment; } declare module "@salesforce/schema/ConsumptionScheduleFeed.BestCommentId" { const BestCommentId:any; export default BestCommentId; } declare module "@salesforce/schema/ConsumptionSchedu...
import * as React from 'react'; import { useCallback, useMemo, FC, ReactElement } from 'react'; import PropTypes from 'prop-types'; import { TablePagination, TablePaginationBaseProps, Toolbar, useMediaQuery, Theme, } from '@material-ui/core'; import { useTranslate, useListPaginationContext, ...
import { module } from 'angular'; import { react2angular } from 'react2angular'; import { withErrorBoundary } from 'core/presentation/SpinErrorBoundary'; import { StageFailureMessage } from './StageFailureMessage'; export const STAGE_FAILURE_MESSAGE_COMPONENT = 'spinnaker.core.pipeline.stageFailureMessage.component'...
import { MoonIcon, SunIcon } from '@chakra-ui/icons' import { IconButton, Tooltip, useColorMode } from '@chakra-ui/react' import { FunctionComponent } from 'react' interface ColorModeToggleProps {} export const ColorModeToggle: FunctionComponent<ColorModeToggleProps> = () => { const { colorMode, toggleColorMode } =...
export {default as nestGitHubEndpoint} from './nestGitHubEndpoint' export {default as nestGraphQLEndpoint} from './nestGraphQLEndpoint' export * from './types'
import { Col, Row } from 'antd'; import React from 'react'; import VaultCard from '../components/VaultCard'; import styles from '../styles/overview.module.css'; import dynamic from 'next/dynamic'; import { DevnetPerp } from '../vaults/DEVNET-PERP'; import { useMerstab } from '../contexts/merstab'; const Overview = () ...
export interface EscalonadoVenta { id: number; id_rel: number; id_prod: number; cantidad: number; prioridad: number; usuario: string; } export interface Escalonado { id: number; prod_principal: number; usuario: string; almacen: string; } export interface PaqueteConversion { paquete: boolean; p...
import { Test, TestingModule } from '@nestjs/testing'; import { GeneratedProjectAvailableService } from './generated-project-available.service'; describe('GeneratedProjectAvailableService', () => { let service: GeneratedProjectAvailableService; beforeEach(async () => { const module: TestingModule = await Test...
import jsnes from "jsnes"; /** * * @param callback * @param event */ function keyboard(callback: Function, event: any) { var player = 1; switch (event.keyCode) { case 38: // UP callback(player, jsnes.Controller.BUTTON_UP); break; case 40: // Down callback(player, jsnes.Controller.BUTT...
import { ISerialized, serialize, type, validate } from "@js-soft/ts-serval" import { CryptoSignature, ICryptoSignature } from "@nmshd/crypto" import { CoreSerializableAsync, ICoreSerializableAsync } from "../../../core" export interface IChallengeSignedSerialized extends ISerialized { challenge: string signatu...
/*! * @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 { isPromise } from './isPromise'; test('isPromise', () => { expect(isPromise({})).toBeFalsy(); expect(isPromise(Promise.resolve(''))).toBeTruthy(); expect(isPromise({ then: () => null })).toBeTruthy(); expect( isPromise(Object.assign(() => null, { then: () => null })), ).toBeTruthy(); });
declare module '@capacitor/core' { interface PluginRegistry { OpenAppSettings: OpenAppSettingsPlugin; } } export interface OpenAppSettingsPlugin { open(): Promise<void>; openCallerIdSettings(): Promise<void>; }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. import * as fse from "fs-extra"; import * as vscode from "vscode"; import { Dependency } from "../explorer/model/Dependency"; import { getIndentation } from "../utils/editUtils"; import { UserError } from "../utils/errorUti...
import logError from 'utils/log-error'; import { updateLoginAccount } from 'modules/account/actions/login-account'; import { AppState } from 'appStore'; import { updateAccountPositionsData } from 'modules/positions/actions/account-positions'; import { AccountPositionAction, AccountPosition, } from 'modules/types'; ...
import LRU from "lru-cache"; import moment from "moment"; export const DEFAULT_RESULT_NAME = "result"; // This helper is here so that we can swap out Moment in the future as needed and // encourage use of the same default format string across the app. export function unixTimestampToString( unix: number | null, fo...
export { createHttpApiV1ToasterSaga } from './saga/flow';
import { ModelTransformer } from '@aws-amplify/graphql-model-transformer'; import { ConflictHandlerType, GraphQLTransform, SyncConfig, validateModelSchema } from '@aws-amplify/graphql-transformer-core'; import { InputObjectTypeDefinitionNode, InputValueDefinitionNode, ListValueNode, NamedTypeNode, parse } from 'graphql...
export { default as Daemon } from './Daemon'; export { default as Events } from './Events'; export { default as Farmer } from './Farmer'; export { default as FullNode } from './FullNode'; export { default as Harvester } from './Harvester'; export { default as Plotter } from './Plotter'; export { default as Service } fr...
import { SubscribableOrPromise } from '../Observable'; import { MonoTypeOperatorFunction } from '../interfaces'; /** * Emits a value from the source Observable only after a particular time span * determined by another Observable has passed without another source emission. * * <span class="informal">It's like {@link...
//페이지 상단 소개글 import React, { FunctionComponent } from 'react' import styled from '@emotion/styled' import ProfileImage from 'components/Main/ProfileImage' import { IGatsbyImageData } from 'gatsby-plugin-image' type IntroductionProps = { profileImage: IGatsbyImageData } const Background = styled.div` width: 100%; ...
// warning: this file is auto generated import React from "react"; import { JsonCard } from "../DataCard"; const Card = () => { const url = "https://raw.githubusercontent.com/linguabook/data/main/words/name.json"; return <JsonCard url={url} text="name" lang="en" />; }; export default Card;
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { BaseRequestPolicy, RequestPolicy, RequestPolicyFactory, RequestPolicyOptions } from "./requestPolicy"; import { Span, SpanKind, SpanStatusCode, createSpanFunction, getTraceParentHeader, isSpanContextValid } from "@a...
export { Root } from "./root";
// *** 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"; /** * T...
'use strict'; import isEmpty from 'lodash.isempty'; import intersection from 'lodash.intersection'; import uniqWith from 'lodash.uniqwith'; import uniq from 'lodash.uniq'; import flatten from 'lodash.flatten'; import filter from 'lodash.filter'; import every from 'lodash.every'; import partition from 'lodash.partition...
import { Action } from '@/types/core' import { isType } from '@/utils/actions' import { updateWebComponentConfig, updateWebComponentConfigFailed, updateWebComponentConfigSuccess, } from '@/actions/web-component' export type WebComponentUpdateState = { isLoading: boolean errorMessage: string } export const de...
// Feature detection for WebGL // Provides a function that enables simple checking of which WebGL features are // available in an WebGL1 or WebGL2 environment. import {DeviceFeature, assert} from '@luma.gl/api'; import {isWebGL2, _checkFloat32ColorAttachment} from '@luma.gl/webgl'; // TODO - this should be the defaul...
import { Request, Response } from 'express'; import { Member } from '../entity/Member'; import { Note } from '../entity/Note'; import { Project } from '../entity/Project'; export const postNote = async (req: Request, res: Response) => { const { body } = req.body; const { projectId, bugId } = req.params; if (!bo...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { UtilitiesService } from '../../services/utilities.service'; import { NavigationComponent } from '../navigation/navigation.component'; import { DatepickerComponent } from './datepicker.component'; describe('DatepickerComponent', () => { ...
import { AzureFunction, Context } from "@azure/functions" const activityFunction: AzureFunction = async function (context: Context): Promise<string> { context.log(`Hello ${context.bindings.name}!`) return `Hello ${context.bindings.name}!` } export default activityFunction
import React, { useCallback, useState } from 'react'; import List from '../component/list'; import { blogFiles, tagColors, BlogSet } from '../config/blogSetting'; export default function BlogHome() { return ( <> <h3> 目前正在把之前写的博客搬运到这里,在我的 <a href="https://www.cnblogs.com/pingxinwen/" style=...
import React from "react"; import { generatePath, useNavigate } from "react-router-dom"; import { useTranslation } from "react-i18next"; import { Table } from "reactstrap"; import "components/accommodations/AccommodationList.sass"; import { AppRoutes } from "constants/AppRoutes"; import AccommodationListItem from "comp...
module minerva.core { export interface IMeasurePipe extends pipe.ITriPipe<measure.IInput, measure.IState, measure.IOutput> { } export interface IArrangePipe extends pipe.ITriPipe<arrange.IInput, arrange.IState, arrange.IOutput> { } export interface ISizingPipe extends pipe.ITriPipe<sizing.IInput, si...
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { Directive, Host, Optional } from '@angular/core'; import { NzDatePickerComponent } from './date-picker.component'; @Directive({ se...
export class ServiceDoesntExistError extends Error { constructor (service: string) { super(`The service ${service} doesn't exist`) } }
import * as React from 'react'; import { GetProps } from '_helpers'; import SvgIcon from '@material-ui/core/SvgIcon'; // tslint:disable:max-line-length function StarHalf(props: GetProps<typeof SvgIcon>) { return ( <SvgIcon {...props} viewBox="0 0 24 24"> <path d="M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,...
import { buildQuery } from '../..'; import { expect } from 'chai'; import { Account, Contact } from '../assets/sobs'; import 'mocha'; describe('Select Tests', () => { it('select x', () => { let qry = buildQuery(Account, fields => { return { select: [ fields.select('accountNum...
import Vector2 from './Vector2' export default class Renderer { // Fields private canvasContext: CanvasRenderingContext2D; // Constructor constructor(canvasContext: CanvasRenderingContext2D) { this.canvasContext = canvasContext; } // Style methods public setFillStyle(fillStyle:...
import React from 'react' import IconButton from '@material-ui/core/IconButton' import FavoriteFilledIcon from '@material-ui/icons/Star' import FavoriteBorderIcon from '@material-ui/icons/StarBorder' import Spinner from '../loading/components/Spinner' interface SetFavoriteButtonProps { typeName: 'rotation' | 'servic...
import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams, ToastController, LoadingController, AlertController, ModalController, MenuController, ViewController } from 'ionic-angular'; import { BrowserTab } from '@ionic-native/browser-tab'; import { FormControl } from '@angular/forms'; imp...
import { Component, OnInit } from '@angular/core'; import { FormGroup, FormControl, Validators } from '@angular/forms'; import { CaseService } from '../../services/CaseService'; import { CaseModel } from '../../models/CaseModel'; import {Router, ActivatedRoute, Params} from '@angular/router'; import { NgxPermissionsSer...
/** * @license * Copyright Neekware Inc. All Rights Reserved. * * Use of this source code is governed by a proprietary notice * that can be found at http://neekware.com/license/PRI.html */ import { HttpClientTestingModule } from '@angular/common/http/testing'; import { TestBed, waitForAsync } from '@angular/core...
import React, {PureComponent, RefObject} from 'react' import ReCAPTCHA from 'react-google-recaptcha' import {keyframes} from '../styled' import {Pos, Card} from '../primitive' export interface ReCaptchaProps { siteKey: string tabIndex?: number value?: string onChange: (token: string | undefined) => void } co...