text
stringlengths
10
953k
/* * @adonisjs/core * * (c) Harminder Virk <virk@adonisjs.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Exposes the API to invoke a callback when `SIGTERM` or * `SIGINT (pm2 only)` signals are received. */ export class Si...
import { DataWithPosition } from "./types"; const getValue = (dataWithPosition: DataWithPosition): any => { if (typeof dataWithPosition === "undefined") { return undefined; } if (Array.isArray(dataWithPosition)) { return dataWithPosition.map((el) => getValue(el)); } const value = dataWithPosition.v...
import { BrowserWindow, ipcMain, webContents } from 'electron'; ipcMain.handle(`minimize`, async event => { BrowserWindow.fromWebContents(event.sender) .minimize(); }); ipcMain.handle(`toggle_maximize`, async event => { const win = BrowserWindow.fromWebContents(event.sender); if (win.isMaximized()) { wi...
import { CanActivate, ExecutionContext, Injectable } from '@nestjs/common'; import { GqlExecutionContext } from '@nestjs/graphql'; import { Request } from 'express'; @Injectable() export class AuthGuard implements CanActivate { canActivate(context: ExecutionContext): boolean { const ctx = GqlExecutionContext.cre...
import { Component, Input, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; import index from '../../../contextualHelpDocs/index.json'; import { BasicSubscriber } from '../abstracts/basic-subscriber'; import { ContexutalHelpService } from './contexutal-help.service'; declare let elasticlunr: any; interfac...
import { DaitaContextConfig } from './data-adapter'; import * as fs from 'fs'; import * as path from 'path'; import * as jsonschema from 'jsonschema'; import * as os from 'os'; export function getProjectConfig(options: { cwd?: string; context?: string }) { const config = getProjectConfigValue(options); const sche...
import React, { MutableRefObject } from "react" // @ts-ignore - react 18 has createRoot import { hydrate, render, createRoot } from "react-dom" import { GatsbyImageProps } from "./gatsby-image.browser" import { LayoutWrapper } from "./layout-wrapper" import { Placeholder } from "./placeholder" import { MainImageProps, ...
/* * © 2021 Thoughtworks, Inc. */ import { DropdownFilterOptions, DropdownOption, FilterOptions, } from '../../../../../Types' import { DropdownSelections } from '../../../../../common/FilterBar/utils/FiltersUtil' import { CLOUD_PROVIDER_OPTIONS } from '../../../../../common/FilterBar/utils/DropdownConstants' ...
import express from "express" import cors from "cors" import { convertToC } from "./src/convertToC" import { execute } from "./src/execute" const app: express.Express = express(); app.use(cors()); app.use(express.json()); app.use(express.urlencoded({ limit: "100mb", extended: true })); app.use(express.static('html')...
import Test from '@tecra/utils-test'; import { SessionStorage } from './sessionStorage'; Test.mockSessionStorage(); describe(`Test \`${SessionStorage.name}\``, () => { it('has no method', () => { expect(Reflect.ownKeys(SessionStorage).length).toBe(3); expect(Reflect.ownKeys(new SessionStorage()))...
import { Component, OnInit, ViewChild } from '@angular/core'; import { State } from '@clr/angular'; import { ListGroupComponent } from './list-group/list-group.component'; import { CreateEditGroupComponent } from './create-edit-group/create-edit-group.component'; import { ConfirmationDialogService } from '../../shared/...
/** * Copyright 2019 AXA Group Operations S.A. * * 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 la...
export default [ { path: '/user', layout: false, routes: [ { path: '/user', routes: [ { name: 'login', path: '/user/login', component: './user/Login', }, ], }, ], }, { path: '/flinksqlstudio', name:...
import { Component, Input, OnChanges, ViewChild } from '@angular/core'; import PaymentGateways, { paymentGatewaysToString } from '@modules/server.common/enums/PaymentGateways'; import { Country } from '@modules/server.common/entities'; import { countriesDefaultCurrencies } from '@modules/server.common/entities/Currenc...
import { Component, OnInit, Input, ViewChildren, QueryList } from '@angular/core'; import { MenuService, Menu, IMenu, defaultMenuId } from './menu.service'; import { MatMenuTrigger } from '@angular/material'; import { Observable } from 'rxjs/Observable'; @Component({ selector: 'sv-menu', templateUrl: './menu.compo...
import * as express from 'express'; import { ActiveExecutions, GenericHelpers, IExecutionDb, IResponseCallbackData, IWorkflowDb, IWorkflowExecutionDataProcess, ResponseHelper, WorkflowRunner, WorkflowCredentials, WorkflowExecuteAdditionalData, } from './'; import { BINARY_ENCODING, NodeExecuteFunctions, }...
import { FieldId } from "../plugins"; import { ActivityId, ContainerId, PrincipalId, TaskId } from "./id"; import { IssueStatus } from "./issue"; import { MemberStatus, RoleType } from "./member"; import { TaskStatus } from "./pipeline"; import { Principal } from "./principal"; export type IssueActivityType = | "bb....
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { assert, expect, use } from 'chai'; import * as chaiPromised from 'chai-as-promised'; import { ChildProcess, spawn, spawnSync } from 'child_process'; import * as dedent from 'dedent'; import * as fs f...
/** * Copyright (c) 2017-present, Liam Ross * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ export * from './common'; export * from './components/Paper'; export * from './components/Node'; export * from './components/Edge'; export * ...
import styled from '@xstyled/emotion' import { graphql } from 'gatsby' import Img from 'gatsby-image' import React from 'react' import ChatBot from 'components/chatbot' import CheckAvailability from 'components/checkAvailability' import ConciergeServices from 'components/conciergeServices' import Contact from 'compone...
import moment from "moment"; export function getTime(time: Date | string | undefined = undefined, format: string = "YYYY-MM-DD HH:mm:ss") { return moment(time).format(format); } export function updateDate(dateElement: string, value: number) { const newDateElement = setDateFormat(dateElement); const date =...
import { ttvChannelsStats, ttvLiveHeartbeat, ttvLiveSchedules } from "../controller"; import { FiltersConfig } from "../models"; import { logger } from "../utils/logger"; import { TwitchGQL, TwitchHelix } from "../utils/twitchapi"; import { LockKey } from "./utils"; export class TwitchTasks { private channelLock: ...
import { readFile, stat } from "fs/promises"; import { showToast, Toast, Clipboard as RaycastClipboard } from "@raycast/api"; import * as Clipboard from "./clipboard"; /** * An exception that can be thrown to display a toast. * The entrypoint of the command must be wrapped by the {@link entrypoint} function in thi...
import { CMDL } from "./cmdl"; import { InputStream } from "./stream"; import { ResourceSystem } from "./resource"; import { assert } from "../util"; // CHAR (DKCR) export interface CHAR { name: string; cmdl: CMDL; } export function parse(stream: InputStream, resourceSystem: ResourceSystem, assetID: string):...
import React, { ComponentType, ReactElement, FC } from 'react'; import { EditorState } from 'draft-js'; import { createStore, Store } from '@draft-js-plugins/utils'; import { EditorPlugin } from '@draft-js-plugins/editor'; import Toolbar, { SideToolbarChildrenProps } from './components/Toolbar'; import { defaultTheme, ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RumorSubmitComponent } from './rumor-submit.component'; describe('RumorSubmitComponent', () => { let component: RumorSubmitComponent; let fixture: ComponentFixture<RumorSubmitComponent>; beforeEach(async(() => { TestBed.conf...
import {Interfaces, HelpBase} from '@oclif/core' export default class CustomHelp extends HelpBase { async showHelp(): Promise<void> { console.log('TODO: showHelp') } async showCommandHelp(command: Interfaces.Command): Promise<void> { console.log(`Custom help for ${command.id}`) } command(command: I...
<TS language="hi_IN" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>नया पता बनाएँ</translation> </message> <message> <source>Choose the address to send coins to</source> <translation>सिक्कों को भेजने के ल...
import { NO_ERRORS_SCHEMA } from '@angular/core'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MessageService } from 'primeng/components/common/messageservice'; import { HttpClientTestingModule } from '@angular/common/http/testing'; import { DataService } from '../../common/servic...
import { AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput } from "./commands/AddApplicationCloudWatchLoggingOptionCommand"; import { AddApplicationInputCommandInput, AddApplicationInputCommandOutput } from "./commands/AddApplicationInputCommand"; import { A...
import * as React from "react"; import { List, Datagrid, ListProps, DateField, TextField, ReferenceField, } from "react-admin"; import Pagination from "../Components/Pagination"; import { ORGANIZATION_TITLE_FIELD } from "../organization/OrganizationTitle"; export const ApplicationList = (props: ListProps):...
/** * @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://angular.io/license */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp4028Component } from './comp...
/* eslint-disable max-classes-per-file */ import SuperError from '@andrewscwei/super-error' import http from 'http' import HTTPStatusCode from './enums/HTTPStatusCode' export function getDefaultStatusCodeMessage(statusCode: HTTPStatusCode) { return http.STATUS_CODES[String(statusCode)] } export class HTTPError ext...
namespace ts { /* @internal */ export const compileOnSaveCommandLineOption: CommandLineOption = { name: "compileOnSave", type: "boolean" }; // NOTE: The order here is important to default lib ordering as entries will have the same // order in the generated program (see `getDefaultLibPriority` in ...
<TS language="mk_MK" 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 LoadingWrapper from "components/LoadingWrapper"; import { mount } from "enzyme"; import { createMemoryHistory } from "history"; import { StaticRouter } from "react-router"; import { Redirect, RouteComponentProps } from "react-router-dom"; import NotFound from "../../components/NotFound"; import { app } from "../...
import {Component} from '@angular/core'; import {AuthenticationService} from '../../../services/api/authentication.service'; import {BaseDataComponent} from '../baseData.component'; import {ObeliskGroupModel} from '../../../models/obeliskGroupModel'; import {ObeliskGroupApiService} from '../../../services/api/obeliskGr...
import { Component, OnInit, Self, ViewChild, ElementRef, Optional } from '@angular/core'; import { ControlValueAccessor, NgControl, Validators } from '@angular/forms'; @Component({ selector: 'app-required-text', templateUrl: './required-text.component.html', styleUrls: ['./required-text.component.css'] }) export...
/** * Copyright 2021 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 appli...
import { Module } from '@nestjs/common'; import { FileController } from './file.controller'; @Module({ controllers: [FileController], }) export class FileModule {}
import * as FormuladbCollate from './collator'; describe('collator', () => { beforeEach(() => { }); it('pad numbers', () => { expect(FormuladbCollate.toIndexableString([72])).toEqual("00000000000000072"); }) it('collate number and string', () => { expect(FormuladbCollate.toIndexab...
import { Label as LabelDefinition } from "ui/label"; import { Background } from "ui/styling/background"; import { TextBase, View, layout, backgroundInternalProperty, borderTopWidthProperty, borderRightWidthProperty, borderBottomWidthProperty, borderLeftWidthProperty, paddingTopProperty, paddingRightPropert...
/// <reference types="react" /> import { BaseComponent } from "react-vextensions"; import { Proposal } from "../../Store/db/proposals/@Proposal.js"; import { ProposalDetailsUI } from "./Proposal/ProposalDetailsUI.js"; import { n } from "../../Utils/@Internal/Types.js"; export declare type ProposalUI_Props = { propo...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-twitter-bot-info-dialog', templateUrl: './twitter-bot-info-dialog.component.html', styleUrls: ['./twitter-bot-info-dialog.component.scss'], }) export class TwitterBotInfoDialogComponent implements OnInit { constructor() {} ngOnIn...
import ImageTag from './image-tag'; describe('ImageTag', () => { const some = { editorVersion: '2099.9.f9f9', targetPlatform: 'Test', builderPlatform: '', }; const defaults = { repository: 'unityci', name: 'editor', image: 'unityci/editor', }; describe('constructor', () => { it(...
import { Component, OnInit } from '@angular/core'; declare const $: any; declare interface RouteInfo { path: string; title: string; icon: string; class: string; } export const ROUTES: RouteInfo[] = [ { path: '/dashboard', title: 'Dashboard', icon: 'dashboard', class: '' }, { path: '/shop', tit...
// 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...
import { remote } from "electron" import { Just, Nothing } from "../../Data/Maybe" import { L10nRecord } from "../Models/Wiki/L10n" import { getIsHeroSection } from "../Selectors/uilocationSelectors" import { TabId } from "../Utilities/LocationUtils" import { isDialogOpen } from "../Utilities/SubwindowsUtils" import { ...
import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; export const ClientSharedValues = { apiVersion: "2018-11-05", disableHostPrefix: false, logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, signingName: "transfer", };
import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerExecutionContext, HttpHandlerOptions...
/** * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors ma...
/** Options used by ng-openapi-gen */ export interface Options { /** The input file or URL to the OpenAPI 3 specification, JSON or YAML, local file or URL */ input: string; /** Where generated files will be written to. Defaults to 'src/app/api'. */ output?: string; /** Tag name assumed for operations witho...
// *** 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"; ex...
/* eslint-disable prettier/prettier */ export interface Periodo { codemp: string; nomemp: string; diremp: string; fini: string; ffin: string; aperiodo: string; tbase: string; estado: string; }
/* * Copyright (c) 2021 Ford Motor Company * 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 ...
/* * Unless explicitly stated otherwise all files in this repository are licensed * under the Apache License Version 2.0. * * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2019 Datadog, Inc. */ import { getConfig, defaultConfiguration, setEnvConfiguration, forceExc...
import React from 'react' import ReactDOM from 'react-dom' import Hello from 'hesta-mol/shared/components/Hello' ReactDOM.render( <div> <Hello>HESTA MOL</Hello> </div>, document.getElementById('hesta-mol'), )
import { createIcon } from '../core'; /** * remixicon chat-3-fill */ export default createIcon('chat-3-fill', { "viewBox": "0 0 24 24", "paths": [ { "d": "M0 0h24v24H0z", "fill": "none" }, { "d": "M7.291 20.824L2 22l1.176-5.291A9.956 9.956 0 0 1 2 12C2 6.477 6.477 2 12 2s10 4.477 10...
import * as yup from 'yup'; import { FC } from 'react'; import { Controller, SubmitHandler, useForm } from 'react-hook-form'; import { yupResolver } from '@hookform/resolvers/yup'; import { useNavigate, useSearchParams } from 'react-router-dom'; import { toast } from 'react-toastify'; import Container from '@mui/materi...
export function Catalogo3() { return ( <div className="w-full h-full pt-20 pb-20 "> <div className="text-5xl text-center text-danger-700"> Nosso <span className="font-bold"> SUCESSO</span> em números <p className="my-5 text-xl tracking-wide text-center text-gray-600"> Aqui é onde o...
declare module 'react-rainbow-components'; export { default as ActivityTimeline } from './ActivityTimeline'; export { default as Accordion } from './Accordion'; export { default as AccordionSection } from './AccordionSection'; export { default as Application } from './Application'; export { default as Avatar } from '....
/* * Copyright © 2019 Lisk Foundation * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, * no part of this software, including this file, may be copied, modified, * propagated...
import { TableBody } from "@material-ui/core"; import { TableBodyProps } from "@material-ui/core/TableBody"; import { makeStyles } from "@saleor/macaw-ui"; import { ReorderAction } from "@saleor/types"; import React from "react"; import { SortableContainer } from "react-sortable-hoc"; const InnerSortableTableBody = So...
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { HttpResponse, HttpErrorResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; import { QmsBomTechnologyComponent } from '../../../popup/bomTechnologySelection/qms-bom-technology.comp...
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; @Component({ selector: 'app-statement', templateUrl: './statement.component.html', styleUrls: ['./statement.component.css'] }) export class StatementComponent implements OnInit { @Input() statement: string; @Input() options: str...
import React from 'react' import { Consumer } from '@alist/react' import { createVirtualBox } from '@formily/antd' import { Submit } from '@formily/antd' const Search = (props) => { const { render, children, ...others } = props return <Consumer> {({ search }) => { if (typeof render === 'fun...
import { MathUtils } from '@shared/MathUtils'; import { TFLeg } from '@fmgc/guidance/lnav/legs/TF'; import { VMLeg } from '@fmgc/guidance/lnav/legs/VM'; import { Transition } from '@fmgc/guidance/lnav/transitions'; import { ControlLaw, GuidanceParameters } from '@fmgc/guidance/ControlLaws'; import { arcDistanceToGo } f...
export interface AssignmentSlideData { user: string; }
import { Object3D } from 'three' import { Vrb } from 'vrb' import { computeGainNode } from './gainNodes' import { computePositionalAudio } from './positionalAudio' import { computeSourceNode, SourceNode } from './source' import { ComputeStartSoundParameters, SoundToPlay, SourceType, StartedSound, St...
import { Component, OnInit, ViewChild } from '@angular/core'; import { IgxCarouselComponent } from 'igniteui-angular'; @Component({ selector: 'app-carousel', styleUrls: ['./carousel-animations-sample.component.scss'], templateUrl: './carousel-animations-sample.component.html' }) export class CarouselAnimationsSa...
import React, { useCallback, useRef } from 'react' import { Alert, KeyboardAvoidingView, Platform, View, ScrollView, TextInput as Input, } from 'react-native' import { useTranslation } from 'react-i18next' import { Formik } from 'formik' import * as Yup from 'yup' import { Button, Container, FooterBu...
import { h, ref, toRef, defineComponent, computed, withDirectives, PropType, Transition, provide, nextTick, watch, CSSProperties, watchEffect } from 'vue' import { useIsMounted, useKeyboard, useMergedState } from 'vooks' import { VBinder, VTarget, VFollower, FollowerPlacement } from 'vueuc' im...
import React from 'react'; import { useTranslation } from 'react-i18next'; import { useParams } from 'react-router-dom'; import DetailsViewPluginRenderer from '../../helpers/renderHelpers'; import PersistentVolumeClaim from '../../lib/k8s/persistentVolumeClaim'; import { StatusLabel } from '../common/Label'; import { M...
import { GetterTree } from 'vuex' import StockState from './StockState' import RootState from '../../RootState' const getters: GetterTree <StockState, RootState> = { getProductStock: (state) => (productId: string) => { return state.products[productId] ? state.products[productId] : 0 }, getProductStockForFaci...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ i...
import { PrefFxV1, PrefGcV1 } from './v1'; import { PrefV2 } from './v2'; export type AllPref = PrefFxV1 | PrefGcV1 | PrefV2;
import { readFileSync } from 'fs' import { standardizeDimensions, calculateProductSize, calculateShippingWeight, calculateDimensionalWeight, calculateWeight, } from '../../app/service/calculator' const BASE_PRODUCT = { length: 0.79, width: 5.79, height: 3.54, dimensionUnit: 'inches', weight: 2, we...
import Mongo from './mongo'; import { shellApiClassDefault, returnsPromise, returnType, hasAsyncChild, ShellApiClass, toShellResult } from './decorators'; import type { AggregationCursor as ServiceProviderAggregationCursor, ExplainVerbosityLike, Document } from '@mongosh/service-provider-core'; import...
import { Component, Injector, ViewChild } from '@angular/core'; import { appModuleAnimation } from '@shared/animations/routerTransition'; import { PagedListingComponentBase, PagedRequestDto } from 'shared/paged-listing-component-base'; import data_grid from 'devextreme/ui/data_grid'; import { DiscWeightageDto, PagedRes...
const { Sessions, Session } = require('../sessions') test('session methods', () => { const session = new Session('some-session-id') expect(session.sessionId).toBe('some-session-id') const mockedSet = { foo: 'bar', } session.set(mockedSet) expect(session.data).toEqual(mockedSet) const mockedUpdate =...
import { Component, OnInit, Input } from '@angular/core'; @Component({ selector: 'kdi-app-input', templateUrl: './input.component.html', styleUrls: ['./input.component.scss'] }) export class InputComponent implements OnInit { @Input() type: string; @Input() value: string; @Input() size: string; @Input()...
/** * @file IconBone 骨头 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import React from 'react'; import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper( 'IconBone', true, (props: ISvgIconProps) => ( <svg ...
export const safeJsonParse = ( jsonString: string, ) => { try { return JSON.parse(jsonString); } catch { return null; } };
import * as React from 'react'; import {connect} from 'react-redux'; import MetaAction from '../../stores/meta/MetaAction'; import IStore from '../../stores/IStore'; import {Dispatch} from 'redux'; import IAction from '../../stores/IAction'; interface IState {} interface IProps {} interface IStateToProps {} interface ...
import {Config, CONFIG_CONST} from "../config/Config"; import Promise = require('bluebird'); import {ResponseData} from "../models/ResponseData"; import {CaptchaDecoderService} from "./CaptchaDecoderService"; import Nightmare = require('nightmare'); let path = require('path'), log4js = require('log4js'), log =...
import { RenderCanvasManager } from "./RenderCanvasManager"; import { Ray } from "../logic/Ray"; export class Render { private rcanvas: RenderCanvasManager = new RenderCanvasManager(); private rctx: CanvasRenderingContext2D = this.rcanvas.getContext(); private FOV: number; private halfFOV: number; construc...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'ngx-schedule-for-today', templateUrl: './schedule-for-today.component.html', styleUrls: ['./schedule-for-today.component.scss'] }) export class ScheduleForTodayComponent implements OnInit { constructor() { } ngOnInit() { } }
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; import { RouterModule } from '@angular/router'; import { AppRoutingModule } from './app.routing'; import { ...
export * from './components'; export * from './modules'; export * from './guard/auth.guard';
import { Denops, ensureNumber, ensureString, fn, vimFn, helper, ky, vars } from "./deps.ts"; import * as apiTypes from "./types.ts"; import * as wav from "./wav.ts"; type FileInfo = { path: string, length: number }; export async function main(denops: Denops): Promise<void> { denops.dispatcher = { async talk(tex...
import { gql } from "@apollo/client"; export const LOG_OUT = gql` mutation Logout { logout } `;
import { IsString } from 'class-validator'; export class FindOneParams { @IsString() id: string; }
import { ICallInterceptor } from '.'; /* @internal */ export const symbolOfCallInterceptor = Symbol('callInterceptor'); /* @internal */ export interface ICallInterceptorContainer<TContract = unknown> { [symbolOfCallInterceptor]: ICallInterceptor<TContract>; }
import React, { createContext } from 'react'; import { Theme } from '..'; import { Configs } from '../Configs'; /** * Interface of object passed as param to the ThemeConsumer render prop method. */ export interface ThemeContextData { /** Helper method to change current theme. */ changeTheme: (slug: string) => voi...
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { FormBuilder, Validators } from '@angular/forms'; import { ImageService } from 'src/app/services/image.service'; import { IMudRace } from 'src/app/model/muds/MudSetupDTO'; import { MudService } from 'src...
import React from 'react'; export const CreateFrontpage = () => { return ( <div className="container"> <div className=""> <button type="button" className="btn btn-link"> <div className="d-inline-flex"> <div className=""> <svg viewBox="0 0 14 12" fill="none" width...
import { onlyUser } from "../index"; import * as PdfController from "../controllers/pdfController"; import * as LabelController from "../controllers/labelController"; const router = require("express").Router(); router.use("/protocols", require("./protocols/protocol-routes")); router.post("/labels", onlyUser(), Label...
export interface DialogConfig<T = any> { backdropClass: string header?: DialogHeader data?: T width?: string height?: string disableClose: boolean panelClass: string | string[] hasBackdrop?: boolean draggable?: boolean } export interface DialogHeader { title: string subtitle?: string, color?: '...
// tracing: off import { chain } from "./core" import type { Effect, RIO } from "./effect" import { flipWith_ } from "./flipWith" /** * Creates a composite effect that represents this effect followed by another * one that may depend on the error produced by this one. * * @dataFirst chainError_ */ export function...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_BR" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Linkcoin</source> <translation>Sobre o Linkcoin</translation> ...