text
stringlengths
10
953k
import { State, StateMapper, Data } from '../types' export const setStateValue = (state: State, value: Data): State => ({ ...state, value }) export const getStateValue = (state: State): Data => state.value export const setValueFromState = (state: State, { value }: State) => ({ ...state, value }) export const lif...
import React, { useEffect, useState } from "react" import { Card, Button, Icon } from "antd" import GlobalLayout from "../components/GlobalLayout" import { getBackups, restoreBackup, backup, deleteBackup } from "../services/user" export default function BackupAndRestore() { const [backups, setBack...
import React from "react"; import { ManagedClasses, ParagraphClassNameContract, } from "@microsoft/fast-components-class-name-contracts-msft"; export enum ParagraphSize { _1 = 1, _2 = 2, _3 = 3, } export type ParagraphManagedClasses = ManagedClasses<ParagraphClassNameContract>; export interface Pa...
import * as fs from "fs"; import * as path from "path"; type CodeDocument = { uri: { path: string; }; languageId: string; }; type TestFilePath = string; export function fileName(codeDocument: CodeDocument) { const fileName: string = path.basename(codeDocument.uri.path); const lastDotIndex = fileName.l...
export { default } from './ExamReportSrc';
import {Component} from '@angular/core'; import {MenuItem} from '../../../components/common/api'; @Component({ templateUrl: './menudemo.html' }) export class MenuDemo { items: MenuItem[]; ngOnInit() { this.items = [{ label: 'File', items: [ {label: 'New...
import { RouteProps } from "react-router"; import { buildURL } from "../../navigation"; export const pdbRoute: RouteProps = { path: "/poddisruptionbudgets" } export interface IPodDisruptionBudgetsRouteParams { } export const pdbURL = buildURL<IPodDisruptionBudgetsRouteParams>(pdbRoute.path)
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; /* eslint-disable no-invalid-this, @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires, @typescript-eslint/no-explicit-any, max-classes-per-file */ import { EventEmitter as NodeEventEmi...
import DateTime, { compare } from '../../valueTypes/DateTime'; export default function dateTimeComparator(value1, value2) { const value1Object = DateTime.fromString(value1), value2Object = DateTime.fromString(value2); return compare(value1Object, value2Object); }
import { Bundle } from './state.spec'; import { prepare } from './state.spec'; import 'jest-extended'; describe('FilterState', () => { let bundle: Bundle; beforeEach(() => (bundle = prepare())); test('Rule name filter can be set', () => { bundle.selection.select({ category: 'Best Practices', ...
import { Schema } from "mongoose"; export const EmpleadoSchema = new Schema({ email: String, rol: [ { type: Schema.Types.ObjectId, ref: "RolesEmpleados" } ], nombre: String });
/// <reference types="node" /> import fs from 'fs'; export declare type OnReadLine = (line: string) => void; export declare function statAsync(filepath: string): Promise<fs.Stats | null>; export declare function isDirectory(filepath: string): Promise<boolean>; export declare function unlinkAsync(filepath: string): Prom...
<TS language="mn" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Шинэ хаяг нээх</translation> </message> <message> <source>&amp;New</source> <translation>&amp;Шинэ</translation> </message> <messag...
import Callable from '@alirya/function/callable'; import Affix from './affix/affix'; /** * Combine {@param prefix} and {@param suffix} to process {@param string} depend on given {@param affix} * * @param string * @param prefix * @param suffix * @param affix * @param argument * extra argument for {@param prefix...
import { Requisito } from './../../../@core/data/models/requisito'; import { ProgramaAcademico } from './../../../@core/data/models/programa_academico'; import { RequisitoProgramaAcademico } from './../../../@core/data/models/requisito_programa_academico'; import { Component, OnInit, Input, Output, EventEmitter } from ...
/*! * Copyright 2018 CoNET Technology Inc. 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 require...
type ApiCompany = { id?: number; name: string; vat_number: string; address?: string; post_code?: string; city?: string; }; type ApiCompanyCertificate = { companyName: string; certificateId: string; };
import React from "react"; import { resetSpotlightRid } from "@/api"; import { setAPIErrorAlertMessage, setAPIInfoAlertMessage } from "@/app/actions"; import { useAppDispatch, useAppSelector } from "@/app/hooks"; export const ResetSpotlightRidButton: React.FC = () => { const sora = useAppSelector((state) => state.s...
import { IState as IMainState } from 'types/main'; export interface IRootState { main: IMainState; routing: any; }
import { Body, Controller, Post, Get, Patch, Delete, Param, Query, NotFoundException, Session, UseGuards, } from '@nestjs/common'; import { CreateUserDto } from './dtos/create-user.dto'; import { UpdateUserDto } from './dtos/update-user.dto'; import { UserDto } from './dtos/user.dto'; import { Us...
import * as Tone from "tone"; import { Common } from "./common"; import { Debug } from "./debug"; export class TimeSummary { constructor( readonly audioTimeS: number, readonly beatInt: number, readonly beatFrac: number ) { } } export type AudioCallback = (TimeSummary) => void; export class GameTime {...
import { getErrorFromResponse, handleRequest, modal, notify, RequestData } from "@lib/utils"; import { Dispatch } from "react"; import { IBolos } from "./BoloTypes"; import lang from "src/language.json"; import { socket } from "@hooks/useSocket"; import { SocketEvents } from "types/Socket"; import { ModalIds } from "ty...
export const environment = { production: false, firebaseConfig: { apiKey: 'XXXXXXXXXXXXXXXXXXXXXX_XXXXXX_XXXXXXXXX', authDomain: 'XXXXX-00000.firebaseapp.com', databaseURL: 'https://XXXXX-00000.firebaseio.com', projectId: 'XXXXX-00000', storageBucket: 'XXXXX-00000.appspot.com', messagingSend...
import { Locale } from "../locale"; export declare class sw implements Locale { atX0SecondsPastTheMinuteGt20(): string; atX0MinutesPastTheHourGt20(): string; commaMonthX0ThroughMonthX1(): string; commaYearX0ThroughYearX1(): string; use24HourTimeFormatByDefault(): boolean; anErrorOccuredWhenGener...
import { Component, EventEmitter, Output } from '@angular/core'; @Component({ selector: 'ns-challenge-edit', templateUrl: './challenge-edit.component.html', styleUrls: ['./challenge-edit.component.css'], moduleId: module.id }) export class ChallengeEditComponent { @Output() input = new EventEmitter<string>...
import "reflect-metadata"; import { build } from "./builder"; import { Controller, ControllerMetadata, ControllerOptions, } from "./controller"; import { All, Delete, Get, Head, Options, Patch, Post, Put, Route, RouteEntry, RoutesMetadata, } from "./methods"; import { Server, ServerMetadata...
import { Component, NgModule, OnDestroy, OnInit } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ReactiveFormsModule, Validators } from '@angular/forms'; import { MatSelectModule } from '@angular/material/select'; import { MatIconModule } from '@angular/material/icon'; import { MatSnackB...
import ESLintWebpackPlugin from 'eslint-webpack-plugin' import path from 'path' import TerserPlugin from 'terser-webpack-plugin' import webpack from 'webpack' const rootDir = path.join(__dirname, '..', '..') const webpackConfig: webpack.Configuration = { target: 'web', name: 'service-worker-production', mode: '...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { ReactiveFormsModule } from '@angular/forms'; import { SharedModule } from '../shared/shared.module'; import { AppRoutingModule } from '../app-routing.modu...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVolumeDown extends React.Component<IconBaseProps> { }
/* * Copyright (c) 2014-2021 Bjoern Kimminich. * SPDX-License-Identifier: MIT */ import db = require('../data/mongodb') const security = require('../lib/insecurity') module.exports.orderHistory = function orderHistory () { return async (req, res, next) => { const loggedInUser = security.authenticatedUsers.ge...
declare namespace java { namespace security { class InvalidKeyException extends java.security.KeyException { public constructor() public constructor(arg0: java.lang.String | string) public constructor(arg0: java.lang.String | string, arg1: java.lang.Throwable) public constructor(arg0: jav...
import * as React from 'react'; import type { OnSelect, PanelMode } from './interface'; import type { HeaderProps } from './panels/Header'; export type ContextOperationRefProps = { onKeyDown?: (e: React.KeyboardEvent<HTMLElement>) => boolean; onClose?: () => void; }; export type PanelContextProps = { operationR...
import React, { useMemo } from 'react'; import classNames from 'classnames'; import { DateTime } from 'luxon'; import { UISref } from '@uirouter/react'; import { IModalComponentProps, ModalHeader, ModalBody, Table, TableRow, TableCell, standardGridTableLayout, usePollingData, usePrevious, } from '../...
import styles from './sponsor-perks.module.scss'; import Perk from './perk/perk'; import perkData from '../../content/perks.json'; import { H2XL } from '@components/typography/typography'; const SponsorPerks = () => { const perks = perkData.map((perk) => ( <Perk key={perk.title} className={styles['pe...
// IMPORTANT: Please replace these parameters with those for your own project export const environment = { production: true, origin: 'https://togaimperial.com', firebase: { apiKey: 'AIzaSyAnSP-8bk3r26fjvhZYWY-zPHo-LUydqPE', authDomain: 'togaimperial-com.firebaseapp.com', databaseURL: 'https://togaimpe...
import { Party } from '@lib/models/party.model'; import { Site, SiteListViewModel } from './site.model'; export interface Organization { id?: number; displayId?: number; registrationId: string; // Forms ----- signingAuthorityId?: number; signingAuthority: Party; name: string; doingBusinessAs?: string; ...
import request from 'supertest'; import { Connection, Repository } from 'typeorm'; import faker from 'faker'; import { hash } from 'bcrypt'; import app from '@shared/infra/http/app'; import createConnection from '@shared/infra/typeorm'; import Car from '@modules/cars/infra/typeorm/entities/Car'; import User from '@mod...
/* --------------------------------------------------- *\ [class] Character() * Crée un character * \* --------------------------------------------------- */ class Character extends Elements{ moving : any; direction : string; falling: any; ground: any; spells: any; /* ------------------------...
// Type definitions for Screeps 3.2 // Project: https://github.com/screeps/screeps // Definitions by: Marko Sulamägi <https://github.com/MarkoSulamagi> // Nhan Ho <https://github.com/NhanHo> // Bryan <https://github.com/bryanbecker> // Resi Respati <https://github.com/res...
import { REPLACE_INVALID_CHARACTER } from './constants'; export class CleanCnpj { public execute(cnpj: string) { const parseCnpj = String(cnpj); return parseCnpj.replace(REPLACE_INVALID_CHARACTER, ''); } }
import React from 'react'; import { Box } from '@material-ui/core'; const ResultsPage: React.FC = ({ children }) => ( <Box height="100vh" display="flex" flexDirection="column"> {children} <h1> Results Page</h1> </Box> ); export default ResultsPage;
import React, { Component } from 'react'; import { Keyboard, Linking, Platform, StyleSheet, Text, TouchableOpacity, View } from 'react-native'; import { get } from 'lodash-es'; import { SearchBar } from '@brandingbrand/fscomponents'; import PSScreenWrapper from '../components/PSScreenWrapper'; import ...
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import 'jest'; import { CommandRegistry } from '@lumino/commands'; import { Widget } from '@lumino/widgets'; import { WidgetTracker } from '@jupyterlab/apputils'; import { EditMenu, IEditMenu } from '@jupyterlab/...
import random = require("lodash/random"); export const getRadomReqId = () => { return random(100, 100000); }
import * as React from 'react'; import DebugData, {getObjectName, renameObject, locateObject} from '../../../../DebugData'; import {SceneGraphNode} from '../../../shared/SceneGraphArea/SceneGraphNode'; import {makeObjectsNode} from '../node_factories/objects'; import Scene from '../../../../../../game/Scene'; import Zo...
import React, { useContext, useImperativeHandle, useRef } from 'react'; import { Checkbox, ConfigProvider, Space, Spin } from 'antd'; import classNames from 'classnames'; import type { CheckboxGroupProps } from 'antd/lib/checkbox'; import type { ProFieldFC } from '../../index'; import './index.less'; import type { Fi...
import { PackAuction, PackStatus, PackType, PublishedPack, } from '@algomart/schemas' import { useRouter } from 'next/router' import useTranslation from 'next-translate/useTranslation' import { useState } from 'react' import css from './release-template.module.css' import Alert from '@/components/alert/alert'...
import { Module , HttpModule} from '@nestjs/common'; import { DbServiceService } from '../db-service/db-service.service'; import { ApiService } from '../shared/http/http.service'; import { DatabaseModule } from '../../common/database/database.module'; import { OrdersController } from './orders.controller'; import { Ord...
// *** 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"; /*...
/** * @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 */ import { ComponentFactoryResolver, ComponentRef, Directive, EmbeddedViewRef, EventEmitter, NgModule, On...
// Typing for myutils v2.0 // Note: it's a typing as Typescript would generate (it did, actually): no `declare module "..." { }`, no `/// <reference>` export interface SomeNewerInterface { foo: number; } export declare function something(): SomeNewerInterface;
import { action } from 'typesafe-actions'; import { IPoint } from '~src/models'; import { appConstants } from '.'; export const initApp = () => action(appConstants.INIT_APP); export const setUserLocation = (location: IPoint) => action(appConstants.SET_USER_LOCATION, { location }); export const setDefaultUserLocatio...
export type EventTypes = Record<string, Callback>; export interface IEventEmitter< Events extends EventTypes, ChainedType = IEventEmitter<any, any>, > { /** * Register an event handler for single invocation (subscribe) * @param eventType - The event type to listen to * @param onFunction - Th...
/* eslint-disable max-len */ /** * bounding-box. * * {@link https://icons.getbootstrap.com/icons/bounding-box/}. */ export const boundingBox = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-bounding-box" viewBox="0 0 16 16"> <path d="M5 2V0H0v5h2v6H0v5h5v-2h6v2h5...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // This node built-in must be shimmed for the browser. import EventEmitter from "events"; // This is a node dependency that needs to be replaced with a // different implementation in the browser. import print from "./print"; export { print }; ...
// tslint:disable /** * FastAPI * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator...
import { resolve } from 'path'; import webpack from 'webpack'; import commonBuilder from '../infra-sk/pulito/webpack.common'; const configFactory: webpack.ConfigurationFactory = (_, args) => { const config = commonBuilder(__dirname, args.mode); config.output!.publicPath = '/dist/'; config.resolve = config.resolv...
import React from 'react'; import Title from 'components/Helmet'; import { Route, BrowserRouter, Switch } from 'react-router-dom'; import erro404 from 'pages/Erro/e404'; import Dashboard from 'pages/Dashboard/Home'; import Create from 'pages/Dashboard/Create'; import Home from 'pages/Index/Home'; import Login from 'pag...
import * as Test from "../../src/types/Test"; import { range } from "../../src"; const { checks, check } = Test; const res1 = range(5); const res2 = range(1, 2); const res3 = range(1, 2, 1); checks([ check<typeof res1, IterableIterator<number>, Test.Pass>(), check<typeof res2, IterableIterator<number>, Test.Pass...
import React from 'react'; import styled from 'styled-components'; import { blue, disabledColors, grey128, grey160, grey224 } from '../colors'; import { ChevronDownIcon, ChevronRightIcon } from '../icons'; import { ValueTreeItem } from './shared'; type Props = { name: string; childNames: string[]; expanded: bool...
import * as React from 'react'; import { BaseDecorator } from './BaseDecorator'; import { findScrollableParent, getRect } from '../../Utilities'; export interface IViewport { width: number; height: number; } export interface IWithViewportState { viewport?: IViewport; } export interface IWithViewportProps {...
import { Component, OnInit } from '@angular/core'; import { RouterModule, Routes, Router } from '@angular/router'; import { Http, Response,Headers,RequestOptions } from '@angular/http'; @Component({ moduleId: module.id, selector: 'ViewListAccount', templateUrl: '../HTML/Account/ViewListAccount.html' }) ...
import { Directive, Attribute, Optional } from '@angular/core'; import { NgModel } from '@angular/forms' @Directive({ selector: '[mask]', host: { '(keyup)': 'onInputChange($event)', '(keydown)': 'onInputChange($event)', }, providers: [NgModel], }) export class Mask { pattern: stri...
import { Injectable } from '@angular/core'; import { YIIResponse } from '../../models/yii/yii-response.model'; import { NotificationsService } from 'angular2-notifications'; @Injectable({ providedIn: 'root' }) export class ErrorsService { constructor(private notificationsService: NotificationsService) {} /** ...
import { Module } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; import { TypeOrmModule } from '@nestjs/typeorm'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { ProductosModule } from './productos/productos.module'; import { SubtipoProductoM...
class Foo<T extends Foo.Bar> { constructor() { } } module Foo { export interface Bar { bar(): void; } export class Baz { } }
import db from 'quick.db' export class CooldownsManager { setCooldown(name: string, id: string, cd: number) { db.set(`${id}_cd.${name}`, Date.now() + cd * 1000) } getCooldown(name: string, id: string): number { return db.get(`${id}_cd.${name}`) || 0 } remCooldown(name: string, id: string) { ret...
import axios from "axios" import { ReqRun, ParsedRun, ReqPlayer } from "../interfaces/leaderboard" import { parseRuns } from "./parseRuns" export const requestRuns: any = async () => { const mapcategory = "xd1ymped" const rating = "7kj890zd" const difficultyvarname = "p854xo3l" const difficulty = "gq7jpmpq" ...
import { IProtocol } from '../ProtocolSelector/interfaces'; import { IProtocolArrayPipe, IProtocolPipe } from './interfaces'; export const excludeCommonSymbol = ( activeProtocol: IProtocol, array: Readonly<IProtocol[]> ): IProtocol[] => { const idx = array.findIndex((x) => x.symbol === activeProtocol.symbol); ...
import Item from '../../types/Item'; export const CellPhone: Item = { "id": 501401, "name": "CellPhone", "buildsInto": [ 203405, 502502 ], "requirements": { "Fountain Pen": 1, "Paper": 1, "Battery": 1, "Piano Wire": 1 }, "stats": {}, "rarity": "Rare", "code": "휴대폰", "stackable": true, "maxStacks...
import { MigrationInterface, QueryRunner, TableForeignKey } from 'typeorm'; export default class CreateTransactionCategoryForeignKey1586871258861 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.createForeignKey( 'transactions', new TableF...
import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm'; @Entity('texto') export class TextEnEntity { @PrimaryGeneratedColumn() idTexto: number @Column() nombre: string @Column() descripcion: string }
import * as errors from "../../../errors"; import { removeChildren, removeCommaSeparatedChild } from "../../../manipulation"; import { VariableDeclarationStructure, VariableDeclarationSpecificStructure } from "../../../structures"; import { SyntaxKind, ts } from "../../../typescript"; import { BindingNamedNode, Exclama...
import { SwaggerSailsModel, NameKeyMap, SwaggerRouteInfo, BlueprintActionTemplates, Defaults, Action2Response } from './interfaces'; import { Reference, Tag } from 'swagger-schema-official'; import { swaggerTypes, sailsAttributePropertiesMap, validationsMap, actions2Responses, blueprintParameterTemplates } from './type...
// // export function InvokeClassConstructors(type: Function, instance: object, params: Array<any>): void { // // NOTE: Constructor support, deep first // let prototype: any = Reflector(instance.constructor).type; // // while (prototype) { // if (!IsAgent(prototype.constructor)) { // const name = protot...
import { Controller, Get } from '@nestjs/common'; import { AppService } from './app.service'; @Controller('Campaigns') export class AppController { constructor(private readonly appService: AppService) { } @Get('campaign') getHello(): string { return this.appService.getHello(); } }
/* * 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 ...
export default [ 'Adamczak', 'Adamczyk', 'Adamek', 'Adamiak', 'Adamiec', 'Adamowicz', 'Adamski', 'Adamus', 'Aleksandrowicz', 'Andrzejczak', 'Andrzejewski', 'Antczak', 'Augustyn', 'Augustyniak', 'Bagiński', 'Balcerzak', 'Banach', 'Banasiak', 'Banasik', 'Banaś', 'Baran', 'Baran...
import { createApp } from 'vue'; import App from './App.vue'; import { setupRouter } from './router'; import { setupStore } from './store'; import 'ant-design-vue/es/message/style'; import 'ant-design-vue/es/modal/style'; import 'nprogress/nprogress.css'; function initApp() { const app = createApp(App); setupStore...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { assert } from "chai"; import { OpenTelemetrySpanWrapper } from "../../src/spanWrapper"; import { SpanStatusCode } from "@opentelemetry/api"; import { TestSpan } from "./util/testSpan"; import { TestTracer } from "./util/testTracer"; d...
import React, { useState, useEffect } from "react" import { fakeKey } from "../../pkg/util/util" import { Label } from "../forms/Label" import { Input } from "../forms/Input" import { SubmitButton } from "../forms/SubmitButton" import { Form } from "../forms/Form" import { ReactComponent as Exclamation } from "../../ic...
const config = { domainUrl: "ENTER YOUR DOMAIN", clientId: "ENTER YOUR CLIENT ID", loginRedirectUri: "http://localhost:8000/dashboard", grant_type: "authorization_code", logoutUri: "http://localhost:8000", clientSecret: "ENTER YOUR CLIENT SECRET", } export default config
import {logger} from "../../src/utilities/logger.utility"; import {expect} from 'chai'; describe('logger utility', () => { it('should prove that cloned console is equal to native console', () => { expect(logger).to.be.deep.equal(console); }); });
export default "Update is available. Please reload this page."
import { ChallengesContext } from "../contexts/ChallengesContext"; import { useContext } from "react"; import styles from "../styles/components/LevelUpModal.module.css"; export function LevelUpModal() { const { level, closeLevelUpModal } = useContext(ChallengesContext); return ( <div className={ styles.ov...
/// <reference path='fourslash.ts'/> // @Filename: /b.ts /////*2*/export const foo = 1; // @Filename: /a.ts ////import { foo } from [|"./b/*1*/"|]; verify.goToDefinition("1", "2");
import { mkdirSync, copyFileSync, readdirSync, lstatSync, existsSync } from 'fs' import { dirname, join, sep } from 'path' const findFilesOnLevel = async (base: string) => { const files: string[] = [] const filesInFolder = readdirSync(base) for (const file of filesInFolder) { const path = `${base}/${file}` ...
import Daemon from './Daemon'; import BotData from './Data'; import Logger from './Logger'; import { Pool } from 'mysql2/promise'; import IInstall from '../interfaces/iinstall'; const jsmegahal = require('jsmegahal'); class Megahal { private megahals: any = {}; private pool: Pool = BotData.getPool(); co...
/* * 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 { EuiIcon, EuiText, EuiTitle, EuiToolTip } from '@elastic/eui'; import...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as path from 'ngraph.path'; import { Base } from './base'; import { BaseFactory } from './base-factory'; export class Converter { // used to register standard conversions when a conversion is requested for the first time public static initiated = false; /** * Assigns a function to string pair FROM,...
import { Component } from '@angular/core'; import {ModalController, ItemSliding, NavController} from 'ionic-angular'; import { ToastController } from 'ionic-angular'; import { AlertController } from 'ionic-angular'; import { GroceriesServiceProvider } from "../../providers/groceries-service/groceries-service"; import {...
import { Component } from '@angular/core'; @Component({ selector: 'app-announcement', templateUrl: 'announcement.page.html', styleUrls: ['announcement.page.scss'] }) export class AnnouncementPage {}
'use strict'; import { CancellationToken, Disposable, Uri, workspace, WorkspaceFoldersChangeEvent } from 'vscode'; import { LiveShare, SharedService } from 'vsls'; import { Container } from '../container'; import { git } from '../git/git'; import { GitUri } from '../git/gitUri'; import { Logger } from '../logger'; impo...
<TS language="vi" version="2.0"> <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 type { Theme } from './theme'; export type TQueryFields = 'query_type' | 'query_target' | 'query_location' | 'query_vrf'; export interface IConfigMessages { no_input: string; acl_denied: string; acl_not_allowed: string; feature_not_enabled: string; invalid_input: string; invalid_field: string; ge...
export type Undefined = { hoge: undefined }
import * as React from "react"; import EditorComponent, { IEditorProps } from "./EditorComponent"; import { FormattedMessage } from "react-intl"; import bem from '../../utils/commonUtils'; import { Constraints } from "carbon-core"; import { HorizontalConstraint, VerticalConstraint, IConstraints } from "carbon-core"; im...
const ipcConsts = { CREATE_WALLET_FILE: 'CREATE_WALLET_FILE', UNLOCK_WALLET_FILE: 'UNLOCK_WALLET_FILE', COPY_FILE: 'COPY_FILE', UPDATE_WALLET_FILE: 'UPDATE_WALLET_FILE', CREATE_NEW_ACCOUNT: 'CREATE_NEW_ACCOUNT', READ_WALLET_FILES: 'READ_WALLET_FILES', SELECT_POST_FOLDER: 'SELECT_POST_FOLDER', PRINT: 'PR...