text
stringlengths
10
953k
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Nutcoin</source> <translation>Σχετικά με το Nutcoin</translation>...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import uuid from 'uuid' import Time from '../../utils/date/Time' import globalLogger, { Logger } from '../Development/logger' import { task_manager_duration_seconds, task_manager_pool_size, } from './metrics' import { CreateTaskAttributes, TaskTimmer } from './types' export type TaskOptions = { name: string ta...
import * as React from 'react'; import * as renderer from 'react-test-renderer'; import { mount } from 'enzyme'; import { DirectionalHint } from '../../common/DirectionalHint'; import { PlainCardBase } from './PlainCard/PlainCard.base'; import { IPlainCardProps } from './PlainCard/PlainCard.types'; import { ExpandingC...
import { AfterContentInit, ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild } from '@angular/core'; import { faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons'; export type ApiDocType = 'modules' | 'classes' | 'directives' | 'injectables'; const LOOKUP: { [ name: string ]: ApiDocType } = { ...
import { Injectable, HttpException, HttpStatus } from '@nestjs/common'; import { UserRepository } from './user-repository'; import { InjectRepository } from '@nestjs/typeorm'; import { CreateUserDto } from "./models/createUserDto"; import { LoginDto } from "./models/loginDto"; import * as bcrypt from 'bcrypt'; // impor...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import * as assert from 'assert'; import * as path from 'path'; import * as vscode from 'vscode'; import { EXTENSION_ROOT_DIR } from '../../../../client/common/constants'; import { rootWorkspaceUri } from '.....
import { IStation } from './player/station'; import { createHTMLElement, createSVGElement } from './utils'; import { IMetadata } from './player/metadata'; import { IState } from './player/state'; const LIST_CLASS = 'list'; const STATION_NAME_CLASS = 'station'; const TITLE_CLASS = 'title'; const SONG_CLASS = 'song'; co...
import Discord = require("discord.js"); import { Command } from "../Command"; module.exports = { name: "clean", aliases: ["clear"], description: "Clean messages", argsRequired: true, async execute( message, args, client, commandArgs, Tags, currency, Users, CurrencyShop, pr...
import { Component } from "@angular/core"; import { AuthService } from "@auth0/auth0-angular"; @Component({ selector: "app-root", templateUrl: "./app.component.html", styleUrls: ["./app.component.scss"], }) export class AppComponent { title = "skillmatrix"; constructor(public auth: AuthService) {} loginW...
import { FormControl } from '@angular/forms'; import { isNum, isInt, isDecimal, isIdCard, isMobile } from './validate'; import { _Validators } from './validators'; describe('utils: validate', () => { it('#isNum', () => { const data = [ { k: '123', v: true }, { k: '12.3', v: true }, { k: '12.', ...
import {DataElementQueryRequestBuilder} from '../vaqm/DataElementQueryRequestBuilder'; describe("DataElementQueryRequestBuilder", () => { let builder: DataElementQueryRequestBuilder; beforeEach(() => { builder = new DataElementQueryRequestBuilder("PatientId", "abcd"); }) test("AsCard", () => {...
import { frenchRules } from "~/config/index"; import Morris from "~/lib/index"; describe("Morris class", () => { it("it is constructed with default formatting rules", () => { frenchRules.forEach(rule => { expect(Morris.getRules).toContain(rule); }); }); });
// Will be refactored for sprint 3 // tslint:disable-next-line:no-any export const toolsConfig: any = { couleur: { size: undefined, borderSize: undefined, }, crayon: { size: 10, borderSize: undefined, }, efface: { size: 10, borderSize: undefined, }, etampe: { size: 10, bord...
import { NativeModules, Platform } from 'react-native'; const LINKING_ERROR = `The package 'rn-sp811fr-driver' doesn't seem to be linked. Make sure: \n\n` + Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) + '- You rebuilt the app after installing the package\n' + '- You are not using Ex...
import fs from 'fs'; import axios from 'axios'; import { Feed } from '../types'; import youtubeService from './youtubeService'; import config from '../utilities/config'; class CoverArtService { public static downloadCoverArtAsync = async (feed: Feed) => { const file = `${config.getFeedDirectory(feed.id)}/${confi...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ReadTextFieldComponent } from './text/read-text-field.component'; import { PaletteService } from './palette.service'; import { ReadNumberFieldComponent } from './number/read-number-field.component'; import { ReadEmailFiel...
import "core-js/stable"; import "regenerator-runtime/runtime"; import { createLocalVue, mount } from '@vue/test-utils' import Vue from 'vue' import DraggableVirtualList from '../../src' import { Item, generateItems } from '../utils' let wrapper: any let brokerWrapper: any let itemHiddenWrapper: any let draggableWrap...
import {log} from "../core/util" import {UUID} from "../core/uuid" import {Path} from "../core/path" import {Record} from "../core/data" import {Encoder, Decoder, KeyType, ValueType} from "../core/codec" import {Mutable} from "../core/react" import {ChannelCodec} from "../channel/channel" import {Auth, DMutable, DObjec...
/** 角色配置 */ interface IRolesSettings { /** 是否开启角色功能(开启后需要后端配合,在查询用户详情接口返回当前用户的所属角色) */ openRoles: boolean /** 当角色功能关闭时,当前登录用户的默认角色将生效(默认为admin,拥有所有权限) */ defaultRoles: Array<string> } const rolesSettings: IRolesSettings = { openRoles: true, defaultRoles: ['admin'] } export default rolesSettings
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { DemoMenuComponent } from './demo-menu/demo-menu.component'; const routes: Routes = [ { path: 'demo-menu', component: DemoMenuComponent } ]; @NgModule({ imports: [RouterModule.forRoot(routes)], exports: [R...
import React, {FC} from 'react'; import {View, ViewStyle} from 'react-native'; import Svg, {Path} from 'react-native-svg'; import {MotionLayer, MotionLayerAnimation, Utils} from '@kailash-js/react-native-motion-layers'; import { runOnJS, Easing, withSpring, withTiming, interpolate, } from 'react-native-reanim...
/** * @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 {Platform} from '@angular/cdk/platform'; import { Directive, ElementRef, Inject, InjectionToken, Inp...
import { Injectable } from '@angular/core'; import { ListEndPointsService } from './list-end-points.service'; // Importamos la Clase base de variables de Entorno import { SystemPropertiesService } from './system-properties.service'; // Clase de Propieades Globales de la PGC @Injectable() export class SystemEndPointsS...
import { Component } from "react"; declare type Props = { color?: string; disabled?: boolean; value?: any; onChange: Function; options: Array<Option>; placeholder?: string; }; declare type State = { expanded: boolean; }; declare type Option = { value: any; name: string; }; declare cl...
/* * MIT License * * Copyright (c) 2020-present Cloudogu GmbH and Contributors * * 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 r...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { DebugElement } from '@angular/core'; import { PlaceEditComponent } from './place-edit.component'; describe('CreatePlaceComponent', () => { let component: PlaceEditComponent; let fixtu...
import { deleteStoryScreenshots as deleteStoryScreenshotsClient } from '../api/client'; import { useAsyncApiCall } from './use-async-api-call'; import { useCurrentStoryData } from './use-current-story-data'; import { useCallback } from 'react'; import { useScreenshotDispatch } from '../store/screenshot'; export const ...
import { HttpRequest } from "@aws-sdk/protocol-http"; import { BodyLengthCalculator, BuildHandler, BuildHandlerArguments, BuildHandlerOptions, BuildHandlerOutput, BuildMiddleware, MetadataBearer, Pluggable, } from "@aws-sdk/types"; const CONTENT_LENGTH_HEADER = "content-length"; export function conten...
/** * @license * Copyright 2018 Google LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
// import { TestBed, async } from '@angular/core/testing'; // import { AppComponent } from './app.component'; // describe('AppComponent', () => { // beforeEach(async(() => { // TestBed.configureTestingModule({ // declarations: [ // AppComponent // ], // }).compileComponents(); // })); ...
// Type definitions for Apache Cordova Globalization plugin. // Project: https://github.com/apache/cordova-plugin-globalization // Definitions by: Microsoft Open Technologies, Inc. <http://msopentech.com> // Definitions: https://github.com/borisyankov/DefinitelyTyped // // Copyright (c) Microsoft Open Technologies, In...
import { onMounted, onUnmounted, ref } from 'vue'; import { useI18n } from '/@/hooks/web/useI18n'; import { getList } from '/@/api/messages/notifications'; import { NotificationInfo, NotificationSeverity, NotificationReadState, } from '/@/api/messages/model/notificationsModel'; import { formatToDateTime } from '/...
import * as React from "react"; import Moveable from "@/react-moveable"; export default function App(props: Record<string, any>) { const targetRef = React.useRef<HTMLDivElement>(null); const moveableRef = React.useRef<Moveable>(null); return ( <div className="root"> <div className="con...
// Type definitions for twilio-video 2.0 // Project: https://twilio.com/video, https://twilio.com // Definitions by: MindDoc <https://github.com/minddocdev> // Darío Blanco <https://github.com/darioblanco> // katashin <https://github.com/ktsn> // Definitions: https://github.com/Definitel...
import Object = require('nashorn/java/lang/Object'); declare class Convertor<Src, Dst> extends Object { static SELF : Convertor.IntoSelf; convert(arg1 : Src) : Dst; } declare module Convertor { class IntoSelf<Src> { constructor(); } interface IntoSelf<Src> extends Convertor<Src, Src> {}} export = Convertor
import { Router } from 'express'; import * as BookController from '../controllers/BookController'; const router = Router(); router.get('', BookController.getBooks); router.get('/:book', BookController.getBook); router.post('', BookController.createBook); router.put('/:book', BookController.updateBook); router.delete(...
import React from 'react'; import { BrowserRouter as Router, Switch, Route, Link, } from 'react-router-dom'; import { useSelector, Provider } from 'react-redux'; import { ConnectedRouter } from 'connected-react-router'; import { StoreSate } from 'utils/reducers'; import configureStore from 'utils/store'; import...
console.log("Window.js"); const handleSave = () => { const selection = document.getSelection(); const data = JSON.stringify(selection?.toString()); console.log(data); }; const keyBindings = [ // { key: "s", fn: handleSave }, ]; document.addEventListener("keydown", ({ key, ctrlKey, altKey }) => { if (!(c...
import * as assert from 'assert'; import * as sinon from 'sinon'; import appInsights from '../../../../appInsights'; import auth from '../../../../Auth'; import { Logger } from '../../../../cli'; import Command, { CommandError } from '../../../../Command'; import request from '../../../../request'; import Utils from '....
interface IPurchase { /** Fee of the estate agent */ agentFee: number date: string price: number period: 'weekly' | 'monthly' | 'three_month' | 'yearly' otherFee: number[] }
import { test, suite } from "mocha"; import * as assert from "assert"; import { decidePath } from "./index-utils"; suite("Index Utils Tests", function() { test("decidePath", function() { assert.equal(decidePath("a"), "1/a"); assert.equal(decidePath('"a"'), "1/a"); assert.equal(decidePath("a1"), "2/a1"); ...
import React, { useState, useEffect } from 'react' import { View, Text, Alert, Picker } from 'react-native' import { RectButton } from 'react-native-gesture-handler' import { Feather as Icon } from '@expo/vector-icons' import { useNavigation } from '@react-navigation/native' import Styles from './styles' import BackHom...
export * from './core'; export * from './decorators'; export * from './gql'; export * from './middleware'; export * from './schema'; export * from './tgql'; export * from './torm'; export * from './utils';
import { ApiModelProperty, ApiModelPropertyOptional } from '@nestjs/swagger'; export class CommentModel { @ApiModelPropertyOptional() id?: number; @ApiModelProperty({example: 'Piotr', description: 'string ktory bedzie nazwą'}) name: string; }
import { Inject, Injectable, Optional } from '@angular/core'; import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http'; import { CustomHttpUrlEncodingCodec } from '../encoder'; import { Observable } from 'rxjs'; import { SearchArgs } from '../model/searchargs'; im...
import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { Router, NavigationEnd, ActivatedRoute } from '@angular/router'; import { Title } from '@angular/platform-browser'; import 'rxjs/add/operator/filter'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/mergeMap'; import { AuthServic...
import { Component, OnInit, AfterViewInit, Input, Output, EventEmitter } from '@angular/core'; import { ViewChild, ElementRef } from '@angular/core'; import { Subscription } from "rxjs"; import { Hmi, View, GaugeSettings, Event, GaugeEventActionType, Variable } from '../_models/hmi'; import { GaugesManager } from '../...
import loadAsyncImage from "@utils/loadAsynImage"; import {useCallback, useEffect, useRef, useState} from "react"; /** * Save images in cache */ const cacheImage = new Map(); interface StatusFetchImageProps { LOADING: "LOADING"; ERROR: "ERROR"; COMPLETE: "COMPLETE"; } const StatusFetchImage: StatusFetchIma...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; import { AppComponent } from './app.component'; import { HomeComponent } from './home/home.compo...
import { Errors } from './Errors' import { Field, FieldDeclaration, Fields } from '../types/fields' import { objectToFormData } from '../utils/helpers' import { generateFieldDeclaration } from '../utils/fields' import { Rules } from './Rules' import { Messages } from './Messages' import axios from 'axios' import { Axio...
/* eslint-disable */ import Long from "long"; import _m0 from "@exodus/protobufjs/minimal"; export const protobufPackage = "google.protobuf"; /** * A Duration represents a signed, fixed-length span of time represented * as a count of seconds and fractions of seconds at nanosecond * resolution. It is independent of...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import * as React from 'react'; import * as Markup from '../markup'; export const AssistedTestRecordYourResults = () => ( <li> Record your results: <ol> <li> Select <Markup.T...
export class Upload { $key: string; file:File; name:string; url:string; progress:number; createdAt: Date = new Date(); constructor(file:File) { this.file = file; } }
// This file has been automatically generated by writeMessageClasses.js import {UUID} from '../UUID'; import {MessageFlags} from '../../enums/MessageFlags'; import {MessageBase} from '../MessageBase'; import {Message} from '../../enums/Message'; export class RebakeAvatarTexturesMessage implements MessageBase { na...
import { Services, Service, Apps } from "wg-core"; import express, { Express } from "express"; import { Server } from "http"; const WG_WEB_PORT = process.env.WEBGLASSES_PROXY_PORT || "7000"; class WebServer { private instance: Express = express(); private server: Server = <Server>{}; public is_running: b...
import { Nullable } from './Nullable'; export type AvailabilityDay = Nullable< { start: Date, end: Date, }>; export interface IAvailabilities { id: number; lastModified: Date; sunday: AvailabilityDay; monday: AvailabilityDay; tuesday: AvailabilityDay; wednesday: AvailabilityDay; thursday: Availabili...
/* eslint-disable @typescript-eslint/no-unused-vars */ import { specifyGeometry } from '@gs.i/utils-specify' /** * Copyright (C) 2021 Alibaba Group Holding Limited * All rights reserved. */ import IR from '@gs.i/schema-scene' // type only, will be deleted after compiled // import { Quaternion } from '@gs.i/utils-ma...
/* react redux */ // eslint-disable-next-line no-use-before-define import React, { useEffect, useState } from 'react' import { connect } from 'react-redux' import { ObjTy } from '@/types/common' function SvgIcon(props: ObjTy) { const [iconName, setIconName]: any = useState(null) useEffect(() => { setIconName(`#...
import * as React from 'react' import * as Path from 'path' import { Dispatcher } from '../dispatcher' import { addSafeDirectory, getRepositoryType } from '../../lib/git' import { Button } from '../lib/button' import { TextBox } from '../lib/text-box' import { Row } from '../lib/row' import { Dialog, DialogContent, Dia...
import * as React from 'react'; import { StyledIconProps } from '@styled-icons/styled-icon'; export declare const ArrowUnsortedDimensions: { height: number; width: number; };
import { TestBed, async } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; import { MatToolbarModule } from '@angular/material/toolbar'; import { AppModule } from './app.module'; import { MatIconModule } from '@angular/material/...
import { PageRequest } from "cosmjs-types/cosmos/base/query/v1beta1/pagination"; import { QueryClientImpl } from "cosmjs-types/cosmos/authz/v1beta1/query"; import { createProtobufRpcClient, QueryClient } from "@cosmjs/stargate"; import { Grant } from "cosmjs-types/cosmos/authz/v1beta1/authz"; /** * Represents the Aut...
import {BB} from '../../../bb/bb'; /** * fits image into a size * params: { * image: image, * width: int, * height: int * } * * methods: * getDiv() * * @param params * @constructor */ export function FittedImage(params) { let fit = BB.fitInto(params.image.width, params.image.height, params.wi...
export const devices = ['mouse', 'pen', 'touch', 'unknown'] as const export type Device = typeof devices[number] type PointerAction = { type: 'enter' | 'move' | 'leave' } type ButtonAction = { type: 'down' | 'up' button: number } export type Action = PointerAction | ButtonAction export type Buttons = [...
version https://git-lfs.github.com/spec/v1 oid sha256:d956dcf472a1daf21401521c46a4f8ef9cf03c6605d17827e469fc7214407508 size 427324
import * as React from 'react'; export type LetsencryptProps = { /** * Hex color or color name */ title?: string; /** * The size of the Icon. */ color?: string; /** * The title provides an accessible short text description to the SVG */ size?: string | number; }; const Letsencrypt = Reac...
import { Component, Input, OnInit } from "@angular/core"; @Component({ selector: 'formInstance-output', templateUrl: 'FormInstance.html' }) export class FormInstance implements OnInit{ fieldOutput: any; @Input() field: any; @Input() app: any; @Input() form: any; @Input() parent: any; @Input() showLabel: any; ...
import { Injectable } from "@nestjs/common"; import { Reflector } from "@nestjs/core"; import { TraceOptions } from "../interfaces"; import { SENTRY_INSTRUMENT_PROVIDER, SENTRY_TRACE } from "../constants/instrument.tokens"; @Injectable() export class InstrumentMetadataAccessor { constructor( private reado...
import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { NgModule } from '@angular/core'; // carbon-components-angular default imports import { UIShellModule } f...
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { DeleteNetworkAclEntryRequest } from "../models/index"; import { deserializeAws_ec2DeleteNetworkAclEntryCommand, serializeAws_ec2DeleteNetworkAclEntryCommand, } from "../protocols/Aws_ec2"; import { getSerdePlugin...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://bangular.io/license */ import {APP_BASE_HREF} from '@bangular/common'; import {ApplicationRef, CUSTOM_ELEMENTS_SCHEMA, Component, NgModule...
// metadata export const version = "0.8.10" export const title = "Değişmezler" export const description = "Değişmez Değişkenler" const html = `<p>Değişmez değişkenler sabitler gibidir. Değişmez değişkenlerin değerleri constructor içinde ayarlanabilir ancak daha sonra değiştirilemez.</p> <pre><code class="language-soli...
import * as React from 'react'; import { useEditController } from './useEditController'; import { EditContextProvider } from './EditContextProvider'; /** * Call useEditController and put the value in a EditContext * * Base class for <Edit> components, without UI. * * Accepts any props accepted by useEditControlle...
/* Copyright (c) 2020-2021 Nordcloud Oy or its affiliates. All Rights Reserved. */ import "@testing-library/jest-dom/extend-expect";
/** * Created by ananya.chandra on 20/09/18. */ import StickyObject, { StickyObjectProps, StickyType } from "./StickyObject"; import BinarySearch, { ValueAndIndex } from "../../utils/BinarySearch"; import { WindowCorrection } from "../ViewabilityTracker"; export interface StickyFooterProps extends StickyObjectProps...
import { Button, Card, CardContent, InputLabel } from "@material-ui/core"; import CheckCircleOutlineIcon from '@material-ui/icons/CheckCircleOutline'; import moment from 'moment'; import React, { useCallback, useReducer, useState } from "react"; import { useDispatch } from "react-redux"; import { statusType, useAbortab...
import { ActionListValue, ActionIconValue, TableColumn, TableConfig } from 'kubeflow'; import { tableConfig } from '../config'; const actionsCol: TableColumn = { matHeaderCellDef: '', matColumnDef: 'actions', value: new ActionListValue([ new ActionIconValue({ name: 'edit', tooltip: 'Browse', ...
import { DELETE_TEMPLATE, EDIT_TEMPLATE_BEGIN, EDIT_TEMPLATE_CANCEL, EDIT_TEMPLATE_CONFIRM, EDIT_TEMPLATE_NAME, EDIT_TEMPLATE_VALUE, } from 'kayenta/actions'; import { selectedConfig as reducer } from './selectedConfig'; describe('Reducer: selectedConfig (templates)', () => { const createAction = (type:...
import s from './MoviesList.module.css'; import { useLocation } from 'react-router-dom'; import Movie from 'components/Movie'; import { IMovie } from 'common/interfaces'; interface IProps { movies: IMovie[]; } interface ILocation { hash: string; pathname: string; search: string; } const MoviesList = ({ movie...
import { PlayerStateService } from './player-state.service'; import { Frame, TimecodeFormat, TimecodeBase } from '../../wazee-frame-formatter/index'; import { PlayerState, PlayerStateChanges } from '../interfaces/player.interface'; export function main() { const initialState = (): PlayerState => { return { ...
namespace ts { /** * The document registry represents a store of SourceFile objects that can be shared between * multiple LanguageService instances. A LanguageService instance holds on the SourceFile (AST) * of files in the context. * SourceFile objects account for most of the memory usage ...
import { DestinyVersion } from '@destinyitemmanager/dim-api-types'; import { destinyVersionSelector } from 'app/accounts/selectors'; /* eslint-disable react/jsx-key, react/prop-types */ import { StatInfo } from 'app/compare/Compare'; import { settingsSelector } from 'app/dim-api/selectors'; import { StatHashListsKeyedB...
import Wewaran from './wewaran'; export declare class TriWara extends Wewaran { constructor(pawukon: number); } //# sourceMappingURL=triwara.d.ts.map
export interface Personal { firstName: string; lastName: string; ssnvs: string; birthDate: string; country: string; fatherFirstName: string; fatherLastName: string; motherFirstName: string; motherLastName: string; email: string; mobilePhone: string; emergencyContact: string; userId: string; }
import type { ITextProps } from '../../primitives/Text'; import type { IBoxProps } from '../../primitives/Box'; import type { IPressableProps } from '../../primitives/Pressable'; export interface IMenuProps extends IBoxProps { /** * Function that returns a React Element. This element will be used as a Trigger for...
import { oak, prometheus } from "./deps.ts"; export function metricsApplication() { const app = new oak.Application(); app.use((ctx) => { if (ctx.request.url.pathname === "/metrics") { ctx.response.headers.set("Content-Type", ""); ctx.response.body = prometheus.Registry.default.metrics(); } ...
import _ from 'lodash'; import React, {Component} from 'react'; import {StyleSheet, ViewStyle} from 'react-native'; import {Colors, Shadows} from '../../style'; import {asBaseComponent} from '../../commons/new'; import View from '../view'; import Button, {ButtonProps} from '../button'; /** * @description: Quick actio...
import * as tap from 'tap'; import * as path from 'path'; import * as fs from 'fs'; import * as sinon from 'sinon'; import * as needle from 'needle'; import * as cli from '../../../src/cli/commands'; import { fakeServer } from '../fake-server'; import * as subProcess from '../../../src/lib/sub-process'; import { getVer...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { RouteReuseStrategy } from '@angular/router'; import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; import { SplashScreen } from '@ionic-native/splash-screen/ngx'; import { StatusBar } from '@ionic-...
/// <reference path="../../defs/tsd.d.ts"/> import _ = require('lodash'); import fs = require('fs'); import path = require('path'); import os = require('os'); import utils = require('./utils'); var eol = os.EOL; ///////////////////////////////////////////////////////////////////// // AngularJS templateCache //////...
import { ethers } from 'hardhat' import { publicAbi } from '../test-helpers/helpers' import { assert, expect } from 'chai' import { BigNumber, Contract, ContractFactory } from 'ethers' import { Personas, getUsers } from '../test-helpers/setup' import { bigNumEquals } from '../test-helpers/matchers' let personas: Perso...
import { ClusterStats, ServiceStats, ShardStats, Stats } from "./IPCMaster"; export default class StatsContainer implements Stats { #memory = process.memoryUsage(); #clusters: Array<ClusterStats> = []; #services: Array<ServiceStats> = []; get memory() { return this.#memory; } get clusters() { return this.#cluste...
export * from './components/Rating/index'; //# sourceMappingURL=Rating.d.ts.map
/* eslint global-require: off, no-console: off */ /** * This module executes inside of electron's main process. You can start * electron renderer process from here and communicate with the other processes * through IPC. * * When running `yarn build` or `yarn build-main`, this file is compiled to * `./app/main.pr...
/* eslint-disable max-classes-per-file */ import { ApiDefinition } from './Decorators'; import { hasEvents } from './HasEvents'; import { CollectionMap, PromiseStore } from './Helpers'; import { IRouter } from './Interfaces'; import { ClientMessages, ServerMessages } from './Messages'; import { Constructor } from './Ty...
import { extractInterface, canExtractInterface } from "./extract-interface"; import { RefactoringWithActionProvider } from "../../types"; const config: RefactoringWithActionProvider = { command: { key: "extractInterface", operation: extractInterface, title: "Extract Interface" }, actionProvider: { ...
import i18n from 'i18next'; import React, { ReactNode } from 'react'; import DocumentTitle from 'react-document-title'; import { Trans } from 'react-i18next'; import { Link } from 'react-router-dom'; import desertSvg from '@/img/desert.svg?raw'; import routes from '@/js/utils/routes'; export const EmptyIllustration =...
import React from 'react'; import {FormItem, FormControlProps, FormBaseControl} from './Item'; import Button from '../../components/Button'; import { createObject, getTree, getVariable, setVariable, spliceTree } from '../../utils/helper'; import {RendererData, Action, Api, Payload, ApiObject} from '../../type...
/* Copyright 2017 Esri 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 in writing, softwar...