text
stringlengths
10
953k
import { expectTypeOf } from 'expect-type'; import Maybe, { Variant, Nothing, Just, Matcher } from '../src/maybe'; import Result, { err, ok } from '../src/result'; import { Unit } from '../src/unit'; import { AndThenAliases } from './test-utils'; type Neat = { neat: string }; const length = (s: string) => s.length; ...
import { Component, Input, OnInit } from '@angular/core'; import { data, headers } from '../data'; @Component({ selector: 'ngpq-table', templateUrl: './table.component.html' }) export class TableComponent implements OnInit { @Input('fixed') isFixed!: boolean; data: any; headers: any; constructor() { } ...
import {Injectable} from '@angular/core'; import {CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router} from '@angular/router'; import {Observable} from 'rxjs'; import {ConnectionService} from './connection.service'; @Injectable({ providedIn: 'root' }) @Injectable({ providedIn: 'root' }) expo...
import { Stylesheet, TextDocument } from "vscode-css-languageservice"; import { Position } from "vscode-languageserver"; import { getLanguageService } from "./service"; import { Document, DocumentMapper, ReadableDocument, TagInformation, } from "../../lib/documents"; export interface CSSDocumentBase extends Do...
<%# Copyright 2013-2018 the original author or authors from the JHipster project. This file is part of the JHipster project, see http://www.jhipster.tech/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ma...
import HttpRequest from '@/api/request'; import ApiConfig from '@/api-config'; function agenterTreelist(parame){//机构管理列表 let url = ApiConfig.agenterTreelist; return HttpRequest.requestJsonPost(url,parame) } function dicgetDictListByDictId(parame){//机构管理列表 let url = ApiConfig.dicgetDictListByDictId; r...
import { Liquid } from '../../../../src'; describe.skip('Liquid plot', () => { const canvasDiv = document.createElement('div'); canvasDiv.style.width = '600px'; canvasDiv.style.height = '600px'; canvasDiv.style.left = '30px'; canvasDiv.style.top = '30px'; canvasDiv.id = 'canvas1'; document.body.appendChi...
class GameScore extends Parse.Object { constructor(options?: any) { super("GameScore", options); } } class Game extends Parse.Object { constructor(options?: any) { super("Game", options); } } function test_config() { Parse.Config.save({ foo: 'bar' }); } function test_object() ...
/* * 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 { EntriesArray } from '../shared_imports'; import { Type } from './sch...
import { PubSub } from '../src/PubSub' describe('PubSub', () => { let instance: PubSub beforeEach(() => { instance = new PubSub() }) it('should receive correct value when trigger event', done => { instance.on('test', (value: number) => { expect(value).toBe(1) done() }) instance.tr...
/// <reference types="pouchdb-find" /> import type { Collections, CollectionName } from "../collections"; import type * as Id from "../id/index"; /** * @category Definitions */ export declare type Definitions<C extends Collections> = { [N in CollectionName<C>]: Definition<C, N>; }; /** * @category Definitions *...
import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core'; import { AngularFireStorage } from '../storage'; /** to be used with in combination with | async */ import * as ɵngcc0 from '@angular/core'; export declare class GetDownloadURLPipe implements PipeTransform, OnDestroy { private storage; ...
import { Component, OnInit } from '@angular/core'; import { GameService } from '../game.service'; import { IStartGameResponse } from 'src/app/models/istart-game-response.model'; import * as Stomp from 'stompjs'; import { IGameStateEvent } from 'src/app/models/igame-state-event.model'; import { IInput } from 'src/app/mo...
import fs from 'fs' import scope from './scope' import {createInterface} from 'readline' import chalk from 'chalk' function perfocode (output: string, callback: () => any, timeout = scope.currentTimeout) { scope.currentTimeout = timeout const readline1 = createInterface({ input: process.stdin, output: proc...
import { Injectable, NestInterceptor, ExecutionContext, CallHandler, } from '@nestjs/common'; import { Observable, of } from 'rxjs'; @Injectable() export class CacheInterceptor implements NestInterceptor { intercept(context: ExecutionContext, next: CallHandler): Observable<any> { const isCached = Math.ra...
import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar, IonButton, IonProgressBar, IonAlert, IonIcon, IonPopover, IonList, IonItem, IonCheckbox, IonLabel, IonModal } from '@ionic/react'; import { cog } from 'ionicons/icons' import React, { useCallback, useState } from 'react'; import './Home.css'; import { useD...
<TS language="sr@latin" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Klikni desnim tasterom za uređivanje adrese ili oznake</translation> </message> <message> <source>Create a new address</sourc...
import { RepartitionByStatus } from '../models/statuses.model'; import { Addition } from './addition.interface'; /** * Repartition by status for each kind of complexity */ export class ComplexitiesByStatus implements Addition<ComplexitiesByStatus> { cognitive?: RepartitionByStatus = new RepartitionByStatus(); ...
// 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 may...
import { ApplicationCommand, MessageEmbed, Permissions, TextChannel } from 'discord.js'; import { Brand } from '../utils'; import { ICommand } from 'wokcommands'; import { client } from '../main'; import { commands } from '../core/commands'; let missingPermissionsEmbed = (channel: TextChannel, missingPermissions: stri...
/** * FocusController.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ import { Fun } from '@ephox/katamari'; import FocusManager from '../api/FocusManager'; import DO...
exports.up = function(knex) { return Promise.all([ knex.schema .dropTableIfExists('persons') .dropTableIfExists('books') .createTable('persons',table =>{ table.increments('id').primary(); table.string('firstName'); table.string('lastName'); ...
import * as resultTypes from './components/Results'; /* This component is exported in two different ways. v0: A legacy, backwards compatible API from when quick-search was living inside @atlaskit/navigation. This API is deprecated and will be removed in the next major version. v1: An API tailored to a stand-alon...
jest.mock("../../../history", () => ({ history: { push: jest.fn() } })); import * as React from "react"; import { PlantPanel, PlantPanelProps, EditPlantStatus, EditPlantStatusProps, EditDatePlantedProps, EditDatePlanted, EditPlantLocationProps, EditPlantLocation } from "../plant_panel"; import { shallow, mount }...
export const name: string = "Polls"; export const description: string = "Create polls to gather your server members' opinions.";
import { InputRule } from "prosemirror-inputrules"; import Node from "./Node"; export default class HorizontalRule extends Node { get name() { return "hr"; } get schema() { return { attrs: { markup: { default: "---", }, }, group: "block", parseDOM: [{ ta...
import React from 'react'; import ButtonGroup from '@material-ui/core/ButtonGroup'; import { shallow } from 'enzyme'; import { SurveyNotes, Button } from '~/components/SurveyNotes'; describe('/src/components/SurveyNotes', () => { const baseProps = { themeOpts: { SurveyNotesBtnGroupActive: false, } as...
import { Injectable, UnauthorizedException } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import { PassportStrategy } from '@nestjs/passport'; import { InjectRepository } from '@nestjs/typeorm'; import { ExtractJwt, Strategy } from 'passport-jwt'; import { User } from '../users/user.entity'; i...
import { isString } from '../../utils/unit'; import { ComponentMeta } from '../ComponentMeta'; import { PluginBuilder, PluginFs } from '../Plugin'; import { cssPartsToMarkdown } from './converters/markdown-css-parts'; import { cssPropsToMarkdown } from './converters/markdown-css-props'; import { depsToMarkdown } from '...
import { RawAssertions } from '@ephox/agar'; import { UnitTest } from '@ephox/bedrock'; import { Option } from '@ephox/katamari'; import CurrentWord from 'ephox/robin/util/CurrentWord'; UnitTest.test('CurrentWordTest', function () { const check = function (expected: { before: Option<number>, after: Option<number> },...
import { sendNewsletterAndCreateNewOne, } from '../schedulers/newsletterScheduler'; // @ts-ignore sendNewsletterAndCreateNewOne()
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { IMock, It, Mock, MockBehavior, Times } from 'typemoq'; import { UnifiedResult } from 'common/types/store-data/unified-data-interface'; import { generateUID } from 'common/uid-generator'; import { AndroidScanRe...
/** * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or ...
/* Copyright (c) 2018-2019 Environmental Systems Research Institute, Inc. * Apache-2.0 */ /** * ```js * import { cloneObject } from "@esri/hub-common"; * const original = { foo: "bar" } * const copy = cloneObject(original) * copy.foo // "bar" * copy === original // false * ``` * Make a deep clone, including a...
import api from "../utils/api"; import qs from "query-string"; //get staff madrasah export const getStaffMadrasah = async (queryParam: string): Promise<any> => { const params = { queryParam: JSON.stringify(queryParam), }; const response = await api.get<any>("/pengaturan/staf-madrasah", { params }); return ...
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient"; import { Connection, CreateConnectionRequest } from "../models/models_0"; import { deserializeAws_json1_1CreateConnectionCommand, serializeAws_json1_1CreateConnectionCommand, } from "../protocols/Aws_j...
/// <reference path="../bower_components/DefinitelyTyped/sinon/sinon-1.5.d.ts" /> /// <reference path="../bower_components/DefinitelyTyped/mocha/mocha.d.ts" /> /// <reference path="../bower_components/DefinitelyTyped/expect.js/expect.js.d.ts" /> /// <reference path="../lib/sdatrie.ts" /> describe('sdatrie', () => { ...
import { CaaSMapper, ComparisonQueryOperatorEnum, Logger, LogLevel, QueryBuilder } from './' import { FETCH_BY_FILTER_ROUTE, getFetchElementRoute } from '../routes' import { CaasApi_FilterResponse, Dataset, FSXAApiParams, FSXAConfiguration, GCAPage, Image, NavigationData, Page, QueryBuilderQuery } fro...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Builder SDK Github: // https://github.com/Microsoft/BotBuilder // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // Permission i...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About YutoCoin</source> <translation>O YutoCoin</translation> </message> <message> <location ...
import React from 'react'; import Region from '../../Region'; import { ContentProps } from '../../../../types/content-props/_content-common'; import { RegionProps } from '../../../../types/component-props/layouts'; import { BEM, classNames } from '../../../../utils/classnames'; import './RightMenuSection.less'; const ...
import { ArgTypes } from '@storybook/addons'; export declare const inferControls: (argTypes: ArgTypes) => ArgTypes;
// (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...
import * as React from "react"; export default function () { return ( <svg xmlns="http://www.w3.org/2000/svg" width="12" height="20" viewBox="0 0 12 20"> <g fill="none" fillRule="evenodd"> <path d="M-5.999-2.999h24v24.001h-24z"/> <g fill="#B7C0CA"> <path d="M12 6A6 6 0 0 0 0 6c0 4...
// ------------- // COLOR PALETTE // ------------- export default { "--clr-backdrop-light": 'rgb(224, 224, 224)', "--clr-backdrop-dark": 'rgb(24, 24, 24)', "--clr-background": '#F3F3F3', "--clr-text": '#373737', }
import { forwardRef } from 'react' import cx from 'clsx' import { createStyle, getThemeCSSObject } from '../../styles' import type { ChromatinIcon } from '../types' const useStyles = createStyle((theme) => ({ root: (props: ChromatinIcon) => ({ height: props.height ?? '100%', width: props.width ?? ...
import { useCss } from 'bold-ui'; import React, { PropsWithChildren } from 'react'; type FlexRowProps = { alignItems?: 'center' | 'flex-start' | 'flex-end'; }; const FlexRow = ({ children, alignItems = 'center', }: PropsWithChildren<FlexRowProps>) => { const { css } = useCss(); return ( <div clas...
import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'wave-mediaview-playlist', templateUrl: './mediaview.playlist.component.html', styleUrls: ['./mediaview.playlist.component.scss'] }) /** * Playlist-Component * Is used in the audio- and video-dialog-popups...
/** * @module CloudFrontCDN */ import randomWord from 'random-word' import Randoma from 'randoma' export class OriginAccessID { name: string Type: 'AWS::CloudFront::CloudFrontOriginAccessIdentity' Properties: { CloudFrontOriginAccessIdentityConfig: { Comment: string } } constructor (_in: { n...
import { Dayjs } from 'dayjs'; import dayjsGenerateConfig from 'rc-picker/lib/generate/dayjs'; import generatePicker from 'antd/es/date-picker/generatePicker'; const DatePicker = generatePicker<Dayjs>(dayjsGenerateConfig); export default DatePicker;
import { Schema, Document, Model } from "mongoose"; import { EMServiceSession } from "../emServiceSession/emServiceSession"; import { EMSession } from "../emSession/emSession"; interface CounterModel extends Document { name: string; entityName: string; type: string; currentValue: number; created: ...
import moment from 'moment'; import React from 'react'; import ELink from './ELink'; import GitHubEventAction from './GitHubEventAction'; interface GitHubEvent { id: string type: string actor: GitHubActor repo: GitHubRepo created_at: string // TODO(#74): Change payload to GitHubEventPayloadType when types ...
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; import { MaterialModule } from '~/shared/material.module'; import { AttachedFileListComponent } from './attached-file-list.component'; import { AttachedFileComponent } ...
import { Field, ObjectType } from '@nestjs/graphql'; import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'; @ObjectType() @Entity() export class Employee { @Field() @PrimaryGeneratedColumn('uuid') id: string; @Field() @Column() firstName: string; @Field() @Column() lastName: string; @...
import P5 from 'p5' export function setupP5() { let p5 = new P5(() => {}) let canvas = document.getElementById('main_container') || '' p5.createCanvas(1000, 400).parent(canvas) p5.draw = () => { p5.background(220); p5.rect(10, 10, 20, 20) } }
import React from 'react'; export default function HolaMundo() { return <div> <h1>HOLA, MUNDO</h1> </div> }
import React from 'react'; import { LoaderConfig } from '.'; declare type Props = { [key: string]: any; }; interface PartialNextContext { res?: any; AppTree?: NextComponentType<PartialNextContext>; Component?: NextComponentType<PartialNextContext>; ctx?: PartialNextContext; [key: string]: any; }...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { HomeComponent } from './components/home/home.component'; import { PageNotFoundComponent } from './components/page-not-found/page-not-found.component'; import { LoginComponent } from './components/login/login.compo...
import * as vscode from 'vscode' import * as utils from './utils' export default class LinkProvider { list: [] constructor() { this.list = utils.supportList } provideDocumentLinks(document: any) { let workspaceFolder = vscode.workspace.getWorkspaceFolder(document.uri)?.uri.fsPath ...
import { Injectable, NestMiddleware } from '@nestjs/common'; import { NextFunction, Request, Response } from 'express'; @Injectable() export class LoggerMiddleware implements NestMiddleware { use(req: Request, res: Response, next: NextFunction) { const startTime = new Date().getTime(); res.on('finish', () =>...
import Make from "./Make"; /** * Generator command * * @class */ export default class MakeMiddlewareCommand extends Make { /** * Integrated command flag * * @type {boolean} */ static integrated: boolean = true; /** * Static signature key that will be callable name of our command. * * @t...
import { TransactionOptions } from '@injectivelabs/ts-types' import { DEFAULT_GAS_PRICE } from '@injectivelabs/sdk-ui-ts' const TX_DEFAULTS_GAS = 80_000_000 export const getTransactionOptions = ( transactionOptions: Partial<TransactionOptions> ): TransactionOptions => { return { from: transactionOptions.from,...
<TS language="ca" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Feu clic dret per a editar l'adreça o l'etiqueta</translation> </message> <message> <source>Create a new address</source> <...
import { variadicArgumentToArray } from '@sap-cloud-sdk/util'; import { Constructable, Entity } from '../entity'; import { Selectable } from '../selectable/selectable'; import { Orderable } from '../order/orderable'; import { ODataGetAllRequestConfig } from '../request/odata-get-all-request-config'; import { Destinat...
import { Component, OnInit, OnDestroy } from '@angular/core'; // import { Router, ActivatedRoute } from '@angular/router'; // import { FormBuilder, FormGroup, Validators } from '@angular/forms'; // import { first } from 'rxjs/operators'; import { Router } from '@angular/router'; import { FormControl } from '@angular/...
import { readFileSync } from "fs"; import path from "path"; import { IResponse } from "./models/api/IResponse"; import { IRoute } from "./models/app/IRoute"; export const routes: IRoute[] = [ { path: "/", method: "get", inline: async () => { // eslint-disable-next-line @typescri...
export const resolution = { maxMobileResolution: 768, };
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { DashboardModule } from './dashboard/dashboard.m...
import '@ember/component'; /** * Typed Ember is refraining from adding this because it's not *really* intended for * mainstream use */ declare module '@ember/component' { // https://github.com/glimmerjs/glimmer-vm/blob/1bc620be641d0748e643ce64592e7442d314e590/packages/%40glimmer/manager/lib/public/template.ts#...
/*--------------------------------------------------------------------------------------------- * Copywight (c) Micwosoft Cowpowation. Aww wights wesewved. * Wicensed unda the MIT Wicense. See Wicense.txt in the pwoject woot fow wicense infowmation. *----------------------------------------------------------------...
import { intersectRect, IRect, toRad } from '../../common/helpers'; import Game from '../lib/Game'; export interface IEntity { id: string; x: number; y: number; width: number; height: number; angle: number; gameInstance: Game; getRect(): IRect; isOutOfScreen(limitX: number, limitY: ...
import * as React from 'react'; import { StyledIconProps } from '../../StyledIconBase'; export declare const EmailDimensions: { height: number; width: number; };
import type { IconProps } from '../../types'; export interface ItemType { label: string; url: string; icon?: IconProps['source']; } export interface SectionType { title?: string; fill?: boolean; items?: ItemType[]; }
import { Component, OnInit } from '@angular/core'; import { CommonService } from '../../services/common.service'; import { CifService } from '../../cifPanel/services/cif.service'; import { ToastrService } from 'ngx-toastr'; @Component({ selector: 'app-operation-head', templateUrl: './operation-head.component.html...
import { Services } from "@payvo/sdk"; import { Contracts as ProfileContracts } from "@payvo/sdk-profiles"; import React, { useEffect, useMemo, useRef, useState } from "react"; import { useForm } from "react-hook-form"; import { useTranslation } from "react-i18next"; import { FormStep } from "./FormStep"; import { use...
/* * 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. */ // TODO: after NP migration is complete we should be able to remove this lint...
import {Column, Entity, ManyToMany, PrimaryGeneratedColumn} from "../../../src/index"; import {PostCategory} from "./PostCategory"; import {PostAuthor} from "./PostAuthor"; import {ManyToOne} from "../../../src/decorator/relations/ManyToOne"; import {JoinTable} from "../../../src/decorator/relations/JoinTable"; @Entit...
import { NuxtConfig } from '@nuxt/types' import i18n from './nuxt-i18n.config' const purgecss = require('@fullhuman/postcss-purgecss') const autoprefixer = require('autoprefixer') const environment = process.env.NODE_ENV || 'development' const config: NuxtConfig = { mode: 'universal', target: 'static', /* ** ...
<TS language="vi" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Tạo một địa chỉ mới</translation> </message> <message> <source>&amp;New</source> <translation>Tạo mới</translation> </message> <mes...
import {Component, Inject, OnInit} from '@angular/core'; import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog'; import {AbstractControl, FormControl, FormGroup, Validators} from '@angular/forms'; import {TemplateService} from '../../data-access/service/template.service'; import {DiagramFile} from '../....
import * as H from 'history' import { isEqual } from 'lodash' import * as React from 'react' import { Subscription } from 'rxjs' import { Subject } from 'rxjs' import { distinctUntilChanged, startWith } from 'rxjs/operators' import { AbsoluteRepo } from '../../../shared/src/util/url' import { dirname } from '../util/pa...
import { EventEmitter } from '@stencil/core' import { IApi, IPost, IPostNormalized } from '../types/base' export type IPostChange = { type: 'added' | 'modified' | 'removed'; id: string; // Unfold data first data: unknown; }; export interface EntryViewer { url: string; api: IApi; entry?: IPost; parent...
import styled from "styled-components" import { ButtonCircle } from "../../globals" const NextNavButton = styled(ButtonCircle)` position: absolute; z-index: 1; right: 5px; top: 50%; transform: translateY(-50%); display: none; ` export { NextNavButton }
import * as uuid from 'uuid'; import AccountNote from '../models/account-note'; import { BaseController } from './base-controller'; import { IAccountNote } from '../models/model-interfaces'; import { IAccountNoteModel } from '../db/account-note-schema'; import { Request, Response } from 'express'; import { MEETINGNOTE ...
/* tslint:disable */ /* Notes: 1. all test function names should begin with 'test' 2. (if exists) at the beginning of module test setUpModule() module function is called 3. (if exists) at the beginning of each test setUp() module function is called 4. tests should use TKUnit.assert(condition, message) to mark err...
import { StepHandle } from './StepHandle'; import { BaseEvent } from '@progress/kendo-react-common'; /** * The arguments for the `onChange` Step event. */ export interface StepChangeEvent extends BaseEvent<StepHandle> { /** * The index of the selected Step. */ value: number; }
<TS language="ca" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Feu clic dret per a editar l'adreça o l'etiqueta</translation> </message> <message> <source>Create a new address</source> <...
import { Component, OnInit } from '@angular/core'; import { PersonalDataService } from 'app/services/personal-data.service'; import { RestService} from 'app/service/rest.service'; import { TutoriaConstants } from 'app/constants/constants'; import { FormGroup } from '@angular/forms'; import { ToastrService } from 'ngx-t...
import { NgModule } from '@angular/core'; import { TinyEditorComponent } from './tiny-editor.component'; import { EditorModule } from 'self-tinymce-angular'; import { FormsModule } from '@angular/forms'; @NgModule({ imports: [ FormsModule, EditorModule ], declarations: [TinyEditorComponent], exports: [...
/** * Copyright 2018 ZenyWay S.A.S., Stephane M. Catala * @author Stephane M. Catala * @license Apache Version 2.0 * * 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...
'use strict'; import { Arrays, Objects } from '../system'; import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from 'vscode'; import { BranchNode } from './branchNode'; // import { Container } from '../container'; import { Explorer, ExplorerNode, ResourceType } from './explorerNode'; import { GitUri } from '../git...
import { log } from "util"; import { EventEmitter } from "events"; let Gpio; try { Gpio = require("onoff").Gpio; } catch (err) { log("onoff is not installed! using fake relay now!"); } export default class Relay extends EventEmitter { pin: any; turnedOn: boolean; gpio: any; constructor(pin: number) { ...
export function percentage_str_(number:number):string { return `${number}%` } export { percentage_str_ as _percentage_str, percentage_str_ as format__percentage, }
// ---------------------------------- // sea-table // ---------------------------------- type TSeaTableServerVersion = '2.0.6'; type TSeaTableServerEdition = 'enterprise edition'; // ---------------------------------- // dtable // ---------------------------------- import {IDtableMetadataColumn, IDta...
import { Color, HexColor } from '../utils/StyleUtils'; const textPad = 10; const defaultTextHoverWidth = 300; const cursorOffSet = 20; const textHoverStyle = { fontFamily: 'Verdana', fontSize: '15px', fill: Color.lightBlue, align: 'left', wordWrap: { width: defaultTextHoverWidth - textPad } }; /** * A con...
/* tslint:disable */ /* eslint-disable */ /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.te...
// This file is required by karma.conf.js and loads recursively all the .spec and framework files import 'core-js/es/reflect'; import 'zone.js'; import 'zone.js/testing'; import {getTestBed} from '@angular/core/testing'; import {BrowserDynamicTestingModule, platformBrowserDynamicTesting} from '@angular/platform-browse...
import { Injectable, OnDestroy } from '@angular/core'; import { Subject } from 'rxjs'; import 'rxjs/add/operator/publishReplay'; import { Payment } from './payment'; import { PayRequest, PayResponse } from './proto/payment_pb'; import {PaymentServiceClient, Status} from './proto/payment_pb_service' import {environment}...
import Vue from 'vue'; import { Component, Watch } from 'vue-property-decorator'; import { Scroll } from '../../../../_common/scroll/scroll.service'; import { BannerModule, BannerStore } from '../../../store'; @Component({}) export default class AppShellBanner extends Vue { @BannerModule.State hasBanner!: BannerStor...
// tslint:disable /** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator...