text
stringlengths
10
953k
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.0"> <defauFUNodec>UTF-8</defauFUNodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Funcoin</source> <translation>&amp;О Funcoin</translation> </mes...
const keyboard = { TAB: 'Tab', ENTER: 'Enter', ESC: 'Escape', SPACE: ' ', SHIFT: 'Shift', LEFT: 'ArrowLeft', RIGHT: 'ArrowRight', UP: 'ArrowUp', DOWN: 'ArrowDown', HOME: 'Home', END: 'End', }; Object.freeze(keyboard); export default keyboard;
import { expect, haveResource, haveResourceLike, ResourcePart } from '@aws-cdk/assert'; import cdk = require('@aws-cdk/cdk'); import { App, Stack } from '@aws-cdk/cdk'; import { Test } from 'nodeunit'; import apigateway = require('../lib'); // tslint:disable:max-line-length export = { 'minimal setup'(test: Test) { ...
/*eslint-disable*/ export class Product { // id: string; // title: string; // description: string; // price: number; // this is a very common practice in nestjs // constructor(id: string, title: string, description: string, price: number) { // this.id = id; // this.title = title; /...
import { ExecutionResult } from "graphql"; export interface IGraphQLRunnerStats { totalQueries: number; uniqueOperations: Set<string>; uniqueQueries: Set<string>; totalRunQuery: number; totalPluralRunQuery: number; totalIndexHits: number; totalSiftHits: number; totalNonSingleFilters: num...
import ROTE from './route' export type ContentTypeParserDone = (err: Error, body: any) => void export type ContentTypeParserCallback = ( this: ROTE.Route, req: ROTE.Request, done?: ContentTypeParserDone ) => PromiseLike<any> | void
import fs from 'fs'; import path from 'path'; import bayes from 'bayes'; import config from 'config'; import getUrls from 'get-urls'; import { clamp } from 'lodash'; import sanitizeHtml from 'sanitize-html'; import slackLib, { OPEN_COLLECTIVE_SLACK_CHANNEL } from '../lib/slack'; import models from '../models'; /** R...
<TS language="he" 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</source> ...
import { Injectable } from '@angular/core'; import * as hljs from 'highlight.js'; import * as yaml from 'js-yaml'; import { EOL } from 'os'; import * as path from 'path'; import * as Remarkable from 'remarkable'; import { escapeHtml, replaceEntities, unescapeMd } from 'remarkable/lib/common/utils'; import { Note, NoteM...
export interface IGameConfig { [key: string]: IGameData; } export interface IGameData { name: string; importLocation: string; description: string; imageLocation?: string; } export interface IGameState { username?: string; userId?: string; roomId?: string; roomAdmin?: string; userList?: IUserData[]...
/** * @license * MIT License * * Copyright (c) 2020 Alexis Munsayac * 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 u...
import { Component, OnInit, OnDestroy } from '@angular/core'; import { Router } from '@angular/router'; import { AuthService } from '../services/auth.service'; import { AuthGuardService } from '../services/auth-guard.service'; @Component({ selector: 'app-login', templateUrl: './login.component.html', styleUrls:...
import * as React from "react"; import { Observable } from "babylonjs/Misc/observable"; import { PropertyChangedEvent } from "../../../propertyChangedEvent"; import { CommonControlPropertyGridComponent } from "../../../tabs/propertyGrids/gui/commonControlPropertyGridComponent"; import { LockObject } from "../../../tabs...
import { stringParser } from './string.function'; describe('stringParser', () => { it('correctly parses a string', () => { expect(stringParser('example')).toEqual('example'); }); })
export * from "./history-manager.service.js";
import { registerLocaleData } from '@angular/common'; import localeES from '@angular/common/locales/es'; import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; import { AngularFireModule } from '@angular/fire'; import { ScreenTrackingService } from '@angular/fire/analytics'; // import { SmsRetriever } from '...
import { Injectable } from '@angular/core'; import { FormatService } from '@xlayers/sketch-lib'; import { WebAggregatorService } from './web-aggregator.service'; import { WebCodeGenOptions, WebCodeGenContext } from './web-codegen'; import { WebContextService } from './web-context.service'; @Injectable({ providedIn: ...
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.21.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do no...
import { SubGeneratorSettingKey } from "./SubGeneratorSettingKey"; /** * Represents a sub-generator. */ export interface ISubGenerator { /** * Gets or sets the name. */ [SubGeneratorSettingKey.Name]: string; /** * Gets or sets the human-readable name of the generator. */ [SubGene...
/*-------------------------------------------------------------------------- MIT License Copyright (c) smoke-web 2019 Haydn Paterson (sinclair) <haydn.developer@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software")...
export interface TerritoryNameInterface { _id: number; // tslint:disable-next-line:variable-name shortname: string; }
export class Category { CategoryId:number; DepartmentId:number; Name:string; Description:string; }
// (C) Copyright 2015 Moodle Pty 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 law or agree...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About EthCash</source> <translation>關于黑幣</translation> </message> <message> <location line...
import { NgModule } from '@angular/core'; import { SharedModule } from '../../shared.module'; import { RoutingModule, ROUTE_DECLARATIONS } from './routing.module'; @NgModule({ imports: [ SharedModule, RoutingModule ], declarations: [ROUTE_DECLARATIONS] }) export class LinearProgressModule { }
import gitGen from '../../../../src/core/generator/git_generator'; describe('Test git data generation', () => { test('Should return a string', async () => { let returnedValue = await gitGen({ type: 'branch' }, 'en_US'); expect(typeof returnedValue).toBe('string'); returnedValue = await gitGen({ type: 'c...
export declare class LoginTicket { private envelope?; private payload?; /** * Create a simple class to extract user ID from an ID Token * * @param {string} env Envelope of the jwt * @param {TokenPayload} pay Payload of the jwt * @constructor */ constructor(env?: string, pay...
export * from './orgs.service'; export * from './utils'; export * from './organizations.module'; export * from './invitations.service'; export * from './members.service';
<TS language="ja" 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</source> <translation>新しいアドレスを作成</tran...
/** * @Title: 拦截器管理器模块 * @Author: Lizhigang * @Date: 2019-07-04 * @Last Modified by: Lizhigang * @Last Modified time: 2019-07-04 */ import {ResolvedFn, RejectedFn} from '../types' interface Interceptor<T> { resolved: ResolvedFn<T> rejected?: RejectedFn } // 拦截器管理类 export default class InterceptorManager<T>...
import { NgModule } from "@angular/core"; import { Routes, RouterModule } from "@angular/router"; import { HomeComponent } from "./components/home/home.component"; import { SignupComponent } from "./components/join/signup/signup.component"; import { SigninComponent } from "./components/join/signin/signin.component"; im...
import {DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters} from './deviceEnrollmentConfigurationsRequestBuilderGetQueryParameters'; import {RequestOption} from '@microsoft/kiota-abstractions'; /** Configuration for the request such as headers, query parameters, and middleware options. */ export class Devi...
import Button, { ButtonProps } from "@material-ui/core/Button"; import React from "react"; import { Theme } from "@material-ui/core/styles/createMuiTheme"; import { colors } from "@upswyng/common"; import { darken } from "polished"; import { font } from "../App.styles"; import makeStyles from "@material-ui/styles/makeS...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { DisablePriceFetchDirective } from './disable-price-fetch.directive'; @NgModule({ declarations: [DisablePriceFetchDirective], imports: [ CommonModule ], exports: [DisablePriceFetchDirective] }) export class Di...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SongListComponent } from './components/song-list/song-list.component'; import { MDBBootstrapModulesPro } from 'ng-uikit-pro-standard'; import { AudioInputComponent } from './components/audio-input/audio-input.component'; ...
import { expect } from "chai"; import { majorityElement } from "../src/Majority"; describe("Majority Element", () => { it("should return 1", () => { const result = majorityElement([1, 2, 1, 1, 3, 4, 0]); expect(result).to.equal(1); }); it("should return 2", () => { const result = majorityElement([1,...
// import { shallowMount } from "@vue/test-utils"; import { TKGetLocalValue, TKLabel } from "@/domain/utils/TKLabel"; describe("TKGetLocalValue", () => { it("renders props.msg when passed", () => { const labelWithEnglish: TKLabel = { en: "english", fr: "french" }; expect(TKGetLocalValue(lab...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { HostInvoiceComponent } from './host-invoice.component'; describe('HostInvoiceComponent', () => { let component: HostInvoiceComponent; let fixture: ComponentFixture<HostInvoiceComponent>; beforeEach(async(() => { TestBed.conf...
import { expect } from "chai"; import { IntersectionTypeNode } from "../../../compiler"; import { SyntaxKind } from "../../../typescript"; import { getInfoFromTextWithDescendant } from "../testHelpers"; describe(nameof(IntersectionTypeNode), () => { function getNode(text: string) { return getInfoFromTextWi...
import { format } from 'date-fns'; import lodash from 'lodash'; import nock from 'nock'; import { DATE_TIME } from '../../layouts'; import { spacesMissingAroundInlineElements } from '../../layouts/react-spacing.test'; import * as data from '../../lib/cf/cf.test.data'; import { app as defaultApp } from '../../lib/cf/te...
/** * Copyright 2020 Goldman Sachs * * 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 { Pipe, PipeTransform } from '@angular/core'; import {DomSanitizer} from "@angular/platform-browser"; @Pipe({ name: 'safeHtml' }) export class SafeHtmlPipe implements PipeTransform { constructor(private sanitizer:DomSanitizer){} // transform(value: any, ...args: any[]): any { // return null; ...
import { Store } from 'vuex' import RootState from '@vue-storefront/core/types/RootState' import Vue from 'vue' import buildTimeConfig from 'config' import { isServer } from '@vue-storefront/core/helpers' import { Logger } from '@vue-storefront/core/lib/logger' // Plugins import i18n from '@vue-storefront/i18n' import...
import withStyles from 'isomorphic-style-loader/lib/withStyles'; import * as React from 'react'; import { SortableContainer } from 'react-sortable-hoc'; import { SortableItem } from './SortableItem'; import * as s from './SortableList.css'; export const SortableList = withStyles(s)(SortableContainer(({ items, onRemove...
/*! * © 2021 Atypon Systems LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
import React, { useState, useEffect } from "react"; import Select from "react-select"; import { Steps, Input, InputNumber, Row, Col, notification } from "antd"; import { CURRENT, STATUS, ENVIRONMENT, ENV, TOKEN, tokenSelectStyles, networkSelectStyles, } from "../constants"; import { ArrowDownOutlined, ...
import type { Edge, Graph } from "../graph"; export interface Barycenter { v: string, barycenter?: number, weight?: number } export function barycenter(g: Graph<unknown, { order?: number }, { weight?: number }>, movable: string[]): Barycenter[] { if (!movable) return []; return movable.map(function(v: strin...
import BaseIconClass from "./Base"; import type { ExtraIconClass } from "./_types"; export default function DocumentIcon(props: ExtraIconClass) { return ( <BaseIconClass {...props}> <path fillRule="evenodd" d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 ...
import React from 'react'; type Props = { statusCode: string } function Error({ statusCode }: Props) { return ( <p> {statusCode ? `An error ${statusCode} occurred on server` : 'An error occurred on client'} </p> ); } Error.getInitialProps = ({ res, err }) => { let statusCode: an...
export type GoogleAvatarStyleProps = { ringSize?: number | string; avatarSize?: number | string; }; export type GoogleAvatarClassKey = keyof ReturnType<typeof googleAvatarStyles>; const googleAvatarStyles = () => ({ root: ({ ringSize = 48, avatarSize = 40 }) => ({ position: "relative" as const, display:...
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { IChannel } from "@fluidframework/datastore-definitions"; import { IDocumentStorageService } from "@fluidframework/driver-definitions"; import { ISequencedDocumentMessage, ISnapshotTree } from "@fluidframewo...
const { registerSuite } = intern.getInterface('object'); const { assert } = intern.getPlugin('chai'); import * as sinon from 'sinon'; import { v, w } from '@dojo/framework/core/vdom'; import Focus from '../../../meta/Focus'; import Label from '../../../label/index'; import Radio from '../../../radio/index'; import * ...
/** * @license * Copyright 2020 Google LLC * * 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 ...
export declare const DIRECTION_NONE = 1; export declare const DIRECTION_LEFT = 2; export declare const DIRECTION_RIGHT = 4; export declare const DIRECTION_UP = 8; export declare const DIRECTION_DOWN = 16; export declare const DIRECTION_HORIZONTAL: number; export declare const DIRECTION_VERTICAL: number; export declare ...
import { Column, Entity, JoinColumn, OneToOne, PrimaryGeneratedColumn, } from 'typeorm'; import { User } from './user.entity'; @Entity('Otp') export class Otp { @PrimaryGeneratedColumn('increment') id: number; @Column() otp: string; @OneToOne(() => User) @JoinColumn() user: User; }
import {Observable, of} from 'rxjs'; import {catchError, concatAll, map} from 'rxjs/operators'; /** * Resource - Parameterized wrapper for an async loading resource. * Initial loading state and possible success, failure and empty outcomes. */ export class Resource<T> { get isFailure(): boolean { return !this....
import { DataKeywords, FiltersParameters, SortParameters, } from '../../../licensesClient'; import { AbstractEntity } from '../../../../abstractEntity'; import { Rules } from 'validatorjs'; export enum BillingFindResultFields { COLUMN_CYCLE = 'cycle', COLUMN_TERM = 'term', COLUMN_TYPE = 'type', } export t...
import { AxiosRequestConfig, AxiosPromise, AxiosResponse } from '../types/index' import xhr from './xhr' import { buildURL, isAbsoluteURL, combineURL } from '../helpers/url' import { flattenHeaders } from '../helpers/headers' import transform from './transform' export default function dispatchRequest(config: AxiosRequ...
import { PrismaClient } from "@prisma/client" const prismaClient = new PrismaClient() export default prismaClient;
import { ResourcePermissions } from './Permissions'; export interface Iter8Info { enabled: boolean; } export interface Iter8Experiment { name: string; phase: string; status: string; baseline: string; baselinePercentage: number; candidate: string; candidatePercentage: number; namespace: string; } ex...
import * as AST from '../types/nodes'; import { Option } from '@glimmer/interfaces'; export interface TraversalError extends Error { constructor: TraversalErrorConstructor; key: string; node: AST.Node; parent: Option<AST.Node>; } export interface TraversalErrorConstructor { new (message: string, node: AST.N...
import React from 'react'; import { DefaultProps, useUuid, useExtractedMargins } from '@mantine/styles'; import { AccordionItem, AccordionItemStylesNames, AccordionItemType, AccordionIconPosition, } from './AccordionItem/AccordionItem'; import { useAccordionState, AccordionState } from './use-accordion-state/us...
import { TEMP_FOLDER } from '../constants'; import { getFS } from '../dependencies'; import path = require('path'); import util = require('util'); import _rimraf = require('rimraf'); export type WriteStoryMetadataArgs = { filePath: string; metadata: Record<string, any>; }; const fs = getFS(); const rimraf = uti...
import {Constants} from "../constants"; import {setContentTheme} from "../ui/setContentTheme"; import {addScript} from "../util/addScript"; import {hasClosestByClassName, hasClosestByMatchTag} from "../util/hasClosest"; import {merge} from "../util/merge"; import {abcRender} from "./abcRender"; import {anchorRender} fr...
import { Component, Type } from '@angular/core'; import { ROUTER_DIRECTIVES } from '@angular/router'; import { HeaderComponent } from "../header/header.component"; @Component({ templateUrl: './about-page.html', directives: [ <Type>HeaderComponent, <any[]>ROUTER_DIRECTIVES, ], }) export class AboutP...
namespace zen.renderer { export interface IRenderer { init(options:any):void; render(mesh:MeshAsset, material:MaterialAsset, info:MeshInfo):void; } }
// Angular 2 import '@angular/platform-browser'; import '@angular/platform-browser-dynamic'; import '@angular/core'; import '@angular/common'; import '@angular/http'; import '@angular/router'; // RxJS import 'rxjs'; // Other vendors for example jQuery, Lodash or Bootstrap // You can import js, ts, css, sass, ... impor...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* eslint-disable */ /* tslint:disable */ // @ts-ignore import icon from 'vue-svgicon' icon.register({ '46': { width: 16, height: 16, viewBox: '0 0 100 100', data: '<symbol id="svgicon_46_b"><path pid="0" _fill="#0062bf" d="M2.5 13A2.5 2.5 0 0 1 .21 9.51l3.55-8a2.5 2.5 0 0 1 4.57 2l-3.55 8A2.5 2.5 0 0...
import { HostRouter } from '../HostRouter'; describe('HostRouter', () => { let hostRouter: HostRouter; const clientUrl = 'http://example.com/#/test/one'; beforeEach(() => { hostRouter = new HostRouter({ route1: { url: clientUrl, assignedRoute: 'route/one' }, withRouteSlashes...
import * as React from 'react'; import Layout from 'components/common/layout'; import Seo from 'components/common/seo'; const MemberPage = (): JSX.Element => ( <Layout> <Seo title="Member" /> <h1>멤버 페이지</h1> </Layout> ); export default MemberPage;
import { jsx, Canvas, Chart, Timeline, Axis, Line, Interval, TextGuide } from '../../src'; import { createContext } from '../util'; import data from './data/line-race.json'; const countries = [ 'Finland', 'France', 'Germany', 'Iceland', 'Norway', 'Poland', 'Russia', // 'United Kingdom', ]; const chart...
import {Component, OnDestroy, OnInit} from '@angular/core'; import {Validators} from '@angular/forms'; import {ActivatedRoute, Router} from '@angular/router'; import {Task, TaskCreateDto, TaskPage, TaskPageCreateDto, TaskPageSwapDto} from 'app/_dto/task'; import {Subscription} from 'rxjs/Subscription'; import {ConfirmD...
import * as grades from '../index' describe('Grades', function () { describe('freeClimbing', function () { describe('clean', function () { describe('yds', function () { it('should have valid grades', function () { const expected = [ '5.0', '5.1', '5.2', '5.3', '5.4', ...
export const PURSE = 'purse'; export const ROUTER = 'router';
import React, { memo, useCallback, useMemo } from 'react'; import useRedux from '@/hooks/useRedux'; import moment from 'moment'; import { ColumnProps } from 'antd/es/table'; import { FailedTestCase, AbnormalDataset, Glossary } from '@/services/monitoring-dashboard'; import { Card, Table, Tooltip, Tag, Select } from 'an...
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /* eslint-env es6, mocha, node */ /* eslint-extends: eslint:recommended */ 'use strict'; // Import modules import expect = require("expect.js"); import DynamoDB = require("../../lib/service/dynamodb"); import {describe, it} from "mocha"; // Parameters c...
/* tslint:disable */ /* eslint-disable */ import { Injectable } from '@angular/core'; import { HttpClient, HttpResponse } from '@angular/common/http'; import { BaseService } from '../base-service'; import { ApiConfiguration } from '../api-configuration'; import { StrictHttpResponse } from '../strict-http-response'; imp...
const { DELETE, EQUAL, INSERT } = jest.requireActual("fast-diff") // eslint-disable-next-line @typescript-eslint/no-explicit-any const fastDiff: any = jest .fn() .mockName("fastDiff") .mockReturnValue([]) fastDiff.DELETE = DELETE fastDiff.EQUAL = EQUAL fastDiff.INSERT = INSERT export default fastDiff
import { disallow } from 'feathers-hooks-common' import addUUID from '../../hooks/add-uuid' import addUploadPath from '../../hooks/add-upload-path' import * as authentication from '@feathersjs/authentication' import addUriToFile from '../../hooks/add-uri-to-file' import reformatUploadResult from '../../hooks/reformat-...
// import { Test, TestingModule } from '@nestjs/testing' // import { AppService } from '../../app.service' // import { PublicController } from './public.controller' // import { // Controller, // Get, // Request, // Res, // UseGuards // // Param // } from '@nestjs/common' // import { Response } from 'expre...
import { stat } from "fs"; import { isNullOrUndefined } from "util"; export class Main { public static viPath; public static viModel; public static LoadFile(filePath: string) { const currentState = top.history.state; const search = "?q=" + filePath; if (currentState !== null) { ...
import { AppPage } from './app.po'; import { browser, logging } from 'protractor'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getTitleText()).toEqual('oms-oh-...
import { PureComponent, Children } from 'react'; import PropTypes from 'prop-types'; export interface Props { realm: any, } export interface State {} export default class RealmProvider extends PureComponent<Props, State> { static childContextTypes = { realm: PropTypes.object, } getChildContext() { r...
import { DuckDB, Connection } from "@addon"; import { RowResultFormat } from "@addon-types"; /** * There are types in the source code that there is no documentation for and I'm not sure if they are used as return types: * - VARBINARY * - POINTER * - HASH * - STRUCT * - LIST * These are not supported (yet) by th...
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { TypeOrmCrudService } from '@nestjsx/crud-typeorm'; import { Repository } from 'typeorm'; import { CreateInvestorDto } from './dto/investor.dto'; import { Investors } from './entity/investors.entity'; @Injectable(...
import React from 'react'; import { render, screen } from '@testing-library/react'; import {Help} from './Help'; describe('Help', () => { it('renders the given children', () => { const content = 'Testing'; render(<Help>{content}</Help>); expect(screen.getByText(content)).toBeInTheDocument(); }); });
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { async, ComponentFixture, TestBed } from '@angular/core/testing' import { ContactHomeComponent } from './contact-home.component' describe('ContactHomeComponent', () => { let component: ContactHomeComponent let fixture: ComponentFixture<ContactHomeComponent> beforeEach(async(() => { TestBed.configur...
/** * FF Typescript Foundation Library * Copyright 2021 Ralph Wiedemeier, Frame Factory GmbH * * License: MIT */ import * as React from "react"; import { CSSProperties, ReactNode } from "react"; //////////////////////////////////////////////////////////////////////////////// /** Properties for [[Container]] com...
import { Component, Directive, ElementRef, OnInit, AfterViewInit, EventEmitter, Output, Input, Inject, ComponentRef} from '@angular/core'; import {Http} from '@angular/http'; declare var tinymce: any; @Component({ selector: 'unity-tinymce', templateUrl: './unity-tinymce.html', }) // @Directive({ // ...
import React, { useEffect } from 'react'; import i18next from 'i18next'; // eslint-disable-next-line no-unused-vars import { withTranslation, WithTranslation } from 'react-i18next'; import { Typography, Grid, Container, Chip, } from '@material-ui/core'; import RemoveIcon from '@material-ui/icons/Remove'; import { use...
/// <reference path='../../../dist/jsdk.d.ts' /> JS.imports([ '$jsui' ]).then(() => { let fn = function (e: Event) { $1('#info').innerHTML += e.type + ' on ' + (<HTMLElement>e.target).id + '<br>' } $1('#btnTap').on('click tap', fn); $1('#btnSingleTap').on('singletap', fn); $1('#btnDoub...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
#!/usr/bin/env node import * as prettier from 'prettier' import { runTypeChain } from '../typechain/runTypeChain' import { Config } from '../typechain/types' import { detectInputsRoot } from '../utils/files' import { glob } from '../utils/glob' import { logger } from '../utils/logger' import { parseArgs } from './pars...
export const polygonVertices16F: string;
import $safeEls = require('./$safeEls'); import types = require('./types'); declare function $css(element: $safeEls.El, name: string): string; declare function $css(element: $safeEls.El, name: string, val: string): void; declare function $css( element: $safeEls.El, properties: types.PlainObj<string | number> )...
import React from 'react'; import { ListAddField } from 'uniforms-bootstrap4'; import createContext from './_createContext'; import mount from './_mount'; const parent = { maxCount: 3, value: [], }; test('<ListAddField> - works', () => { const element = <ListAddField name="x.$" parent={parent} />; const wrap...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { Container, injectable, interfaces } from 'inversify'; import { Abstract, ClassType, IServiceManager, Newable } from './types'; type identifier<T> = string | symbol | Newable<T> | Abstract<T>; @injectable() export...