text stringlengths 10 953k |
|---|
<?xml version="1.0" ?><!DOCTYPE TS><TS language="th_TH" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Dimecoin</source>
<translation>เกี่ยวกับ บิตคอย์น</translation>
... |
/*
* Copyright (C) 2017 TypeFox and others.
*
* 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
*/
import { inject, injectable } from "inversify";
i... |
/*
* 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 { Plugin, LegacyDeps } from './plugin';
import { mockLogger } from './... |
import AuthRecipeModule from ".";
import { SuccessAPIResponse } from "../../types";
export declare function signOut<T, S, R, N>(recipe: AuthRecipeModule<T, S, R, N>): Promise<SuccessAPIResponse>; |
import { Injectable } from "@angular/core";
import { LocalizeRouterService } from "localize-router";
import { TranslateService } from "@ngx-translate/core";
import { Subject, Observable } from "rxjs";
import { Router, NavigationEnd } from "@angular/router";
import { filter } from "rxjs/internal/operators/filter";
impor... |
// (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... |
/**
* Return the distance between 2 points considering the pixel spacing
*
* @param {number} columnPixelSpacing Width that a pixel represents in mm
* @param {number} rowPixelSpacing Height that a pixel represents in mm
* @param {*} startPoint Start point of the line
* @param {*} endPoint End point of the line
*
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Testcoin</source>
<translation>O Testcoinu</translation>
</messa... |
// Copyright 2017-2019 @polkadot/react-query authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export { default as AccountIndex } from './AccountIndex';
export { default as AccountName } from './AccountName';
export {... |
/**
* @param {string} [url = location.href]
*/
export declare function getUrlProtocol(url?: string): string;
/**
* @param {string} [url = location.href]
*/
export declare function getUrlHost(url?: string): string;
/**
* @param {string} [url = location.href]
*/
export declare function getUrlPort(url?: string): str... |
import {Entity, Game} from "../game.js";
import {Has} from "../world.js";
export function control() {
return (game: Game, entity: Entity) => {
game.World.Mask[entity] |= Has.Control;
};
} |
import { idb } from "../../db";
import { g, logEvent, helpers } from "../../util";
import { league, team } from "..";
import type {
GameAttributesLeague,
Team,
Conditions,
} from "../../../common/types";
import { PHASE } from "../../../common";
import validateExpansionDraftSetup from "./validateExpansionDraftSetup";... |
import { createHoverifier, HoveredToken, Hoverifier, HoverState } from '@sourcegraph/codeintellify'
import { isEqual, upperFirst } from 'lodash'
import AlertCircleIcon from 'mdi-react/AlertCircleIcon'
import MapSearchIcon from 'mdi-react/MapSearchIcon'
import * as React from 'react'
import { Route, RouteComponentProps,... |
import { useState } from 'react'
import { useQuery } from 'react-query'
//Components
import Drawer from '@material-ui/core/Drawer';
import LinearProgress from '@material-ui/core/LinearProgress'
import Grid from '@material-ui/core/Grid';
import AddShoppingCartIcon from '@material-ui/icons/AddShoppingCart';
import Badge... |
export type LengthOfString<S extends string, L extends unknown[] = []> = S extends `${infer F}${infer O}`
? LengthOfString<O, [...L, F]>
: L['length']; |
import { RepoContainerRoute } from '../../repo/RepoContainer'
import { RepoRevisionContainerRoute } from '../../repo/RepoRevisionContainer'
import { repoContainerRoutes, repoRevisionContainerRoutes } from '../../repo/routes'
export const enterpriseRepoContainerRoutes: readonly RepoContainerRoute[] = repoContainerRoute... |
import {Context} from 'koa';
import {OAuthStartOptions} from '../types';
import Shopify from '@shopify/shopify-api';
import css from './client/polaris-css';
import itpHelper from './client/itp-helper';
import topLevelInteraction from './client/top-level-interaction';
import Error from './errors';
const HEADING = 'E... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { BasicinfoComponent } from './crud/basicinfo/basicinfo.component';
import { HomeComponent } from './home/home.component';
import { CreatebasicinfoComponent } from './crud/createbasicinfo/createbasicinfo.component';... |
import { OnDestroy, EventEmitter, Renderer2, ElementRef, ChangeDetectorRef, NgZone } from '@angular/core';
import { AnimationEvent } from '@angular/animations';
export declare class OverlayPanel implements OnDestroy {
el: ElementRef;
renderer: Renderer2;
private cd;
private zone;
dismissable: boolea... |
import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
import { UpdateWebhookRequest, UpdateWebhookResult } from "../models/models_0";
import {
deserializeAws_restJson1UpdateWebhookCommand,
serializeAws_restJson1UpdateWebhookCommand,
} from "../protocols/Aws_restJson1... |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { MessageComponent } from '../message/message.component';
declare var AdminLTE: any;
import { LocalStorageService } from 'angular-2-local-storage';
import { ResourceBankService } from './../../service/resourceBank-servic... |
import { UpdateVirtualServiceInput } from "../shapes/UpdateVirtualServiceInput";
import { UpdateVirtualServiceOutput } from "../shapes/UpdateVirtualServiceOutput";
import { BadRequestException } from "../shapes/BadRequestException";
import { ConflictException } from "../shapes/ConflictException";
import { ForbiddenExce... |
import sane from 'sane';
import { StoryOptions } from '../../types';
import { addStoriesAsync } from '../addStoriesAsync';
import { removeStoryAsync } from '../removeStoryAsync';
export async function watchAsync(config: StoryOptions) {
const { watchRoot } = config;
const watcher = sane(watchRoot, {
glob: ['*... |
import { GetBalanceParams, GetBalanceResponse } from "../../../types";
import { IRequestService } from "../../internal-types";
export default class GetBalanceController {
private readonly service: IRequestService;
constructor(service: IRequestService) {
this.service = service;
}
public asy... |
/**
* @license Angular v9.1.6
* (c) 2010-2020 Google LLC. https://angular.io/
* License: MIT
*/
import { AnimationDriver } from '@angular/animations/browser';
import { AnimationPlayer } from '@angular/animations';
import { NoopAnimationPlayer } from '@angular/animations';
import { ɵStyleData } from '@angular/anima... |
/*
* 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.
*/
e... |
import * as React from 'react'
import { ValueLine, EntityLine, EntityCombo, EntityDetail, EntityTable } from '@framework/Lines'
import { TypeContext } from '@framework/TypeContext'
import ValueLineModal from '@framework/ValueLineModal'
import { useForceUpdate } from '@framework/Hooks'
import { WordTemplateEntity } from... |
/**
* @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 { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-comp-4930',
templateUrl: './comp... |
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs/Rx';
import { environment } from './../../../environments/environment';
import { ConfiguracionService } from './../data/configuracion.service';
import { from, interval } from 'rxjs';
import { webSocket } from 'rxjs/webSocket';
import { map } from... |
import { MathEx } from "./MathEx";
import { Serializable } from "../Serializer";
@Serializable()
export class Matrix3 {
elements: number[] = [1, 0, 0, 0, 1, 0, 0, 0, 1];
constructor() {
for (let index = 0; index < 9; index++) {
this[index] = this.elements[index];
}
}
translate(tx: number, ty: number): Matr... |
import configCLI from './cli.json';
interface Template {
id: number;
name: string;
}
export function getTemplateByID(id: number): Template | undefined {
return configCLI.templates.find((template) => template.id === id);
} |
/*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
import { RestEndpointMethodTypes } from "@octokit/rest";
import Command from "./commandInterface";
import { CommandParser } from "../models/commandParser";
import githubAPI from "../apis/githubAPI";
import { getSadCare... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MeterComponent } from './meter.component';
describe('MeterComponent', () => {
let component: MeterComponent;
let fixture: ComponentFixture<MeterComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
decl... |
import { Component } from '@angular/core';
@Component({
selector: 'page-about',
templateUrl: 'about.html'
})
export class AboutPage {
} |
import { Task } from '@ts-task/task';
import { assertFork, jestAssertNever } from '../testing-utils';
import { sequence } from './sequence';
const asStep = <T> (mock: jest.Mock<T>) => mock as () => T;
describe('ts-task-utils', () => {
describe('sequence', () => {
const task1Mock = jest.fn((x: number) => ... |
import {
SetUpEngine,
SetUpCanvas,
SetUpDefaultCamera,
SetUpDefaultSkybox,
runRenderLoop,
SetUpDefaultScene,
} from "../Shared/Babylon/index.js";
import { RunInit, SetUpWorkers } from "../Shared/Create/index.js";
import { DVER } from "../../out/Render/DivineVoxelEngineRender.js";
import { Player } from "./Player/... |
import { Inject, Injectable, UnauthorizedException } from '@nestjs/common';
import { ReferenceIdInterface } from '@concepta/nestjs-common';
import {
PassportStrategyFactory,
VerifyTokenServiceInterface,
} from '@concepta/nestjs-authentication';
import { JwtStrategy, JwtStrategyOptionsInterface } from '@concepta/nes... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Marvelous</source>
<translation type="unfinished"/>
</message>
<message>
<location l... |
import { FormChange } from "@saleor/hooks/useForm";
export function createPageTypeSelectHandler(
setPageType: (pageTypeId: string) => void,
triggerChange: () => void,
): FormChange {
return (event: React.ChangeEvent<any>) => {
const id = event.target.value;
setPageType(id);
triggerChange();
};
} |
/**
* @file MicrophoneOne 收音器
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconWrapper} from '../runtime';
export default IconWrapper(
'microphone-one',
true,
(props: ISvgIconProps) => (
<svg
width=... |
export { Box } from './Box';
export type { BoxProps } from './Box';
//# sourceMappingURL=index.d.ts.map |
import { LocalizedString } from './shared.types';
export const INVESTMENT_ROOT_ID = -1;
export const NULL_INVESTMENT_ID = -2;
export const ONBOARDING_NOT_AVAILABLE = 0;
export const ONBOARDING_NEEDED = 1;
export const ONBOARDING_ACTIVE = 2;
export const ONBOARDING_COMPLETE = 3;
export const ONBOARDING_REACTIVATED = 4;... |
import {ConnectorType, DataSource, DMMF, EnvValue, GeneratorConfig} from '@prisma/generator-helper/dist';
export interface Field {
kind: DMMF.FieldKind;
name: string;
isRequired: boolean;
isList: boolean;
isUnique: boolean;
isId: boolean;
type: string;
dbNames: string[] | null;
isGenerated: boolean;
hasDefau... |
import {
Collection,
CollectionInsertOneOptions,
Cursor,
DeleteWriteOpResultObject,
FilterQuery,
FindOneOptions,
InsertOneWriteOpResult,
ObjectID,
ObjectId,
OptionalId,
UpdateManyOptions,
UpdateOneOptions,
UpdateQuery,
UpdateWriteOpResult,
WithId,
WriteOpResult,
} from 'mongodb';
// [extracted from @ty... |
import { WeaponData } from 'pipeline'
import { input } from '../../../../Formula'
import { equal, infoMut, prod, subscript, sum } from '../../../../Formula/utils'
import { WeaponKey } from '../../../../Types/consts'
import { cond, st, trans } from '../../../SheetUtil'
import { dataObjForWeaponSheet } from '../../util'
... |
// Copyright 2020 H2O.ai, Inc.
//
// 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... |
import { QuizService } from './quiz.service';
import { AuthService } from './auth.service';
import { CategoryService } from './category.service';
import { ResultsService } from './results.service';
export const services: any[] = [
QuizService,
AuthService,
CategoryService,
ResultsService
]; |
// tslint:disable no-implicit-dependencies
// tslint:disable no-single-line-block-comment
const pjson = require('../package.json')
import * as Config from '@oclif/config'
import * as Errors from '@oclif/errors'
import * as Parser from '@oclif/parser'
import Help from '@oclif/plugin-help'
import {format, inspect} from '... |
import * as envalid from 'envalid';
import { app } from '../app';
import { main } from '../main';
import { ActionUtils } from '../utils/action-utils';
import { TestUtils } from '../utils/test-utils';
const consoleErrorMock = jest.spyOn(console, 'error').mockImplementation();
const processExitMock = jest.spyOn(process... |
/// <reference types="passport" />
'use strict';
import { Strategy as JwtStrategy, ExtractJwt, StrategyOptions } from 'passport-jwt';
import {Request} from 'express';
import * as passport from 'passport';
let opts: StrategyOptions = {
jwtFromRequest: ExtractJwt.fromAuthHeader(),
secretOrKey: 'secret',
iss... |
export * from '@styled-icons/material/PanoramaFishEye' |
import type { DeepPartial, Dictionary, HttpSecurityScheme } from '@stoplight/types';
import { isObject, mapValues, pickBy } from 'lodash';
import { OAuthFlowObject, OpenAPIObject } from 'openapi3-ts';
import { mapToKeys } from '../utils';
import { isSecurityScheme, isSecuritySchemeWithKey } from './guards';
export ty... |
/**
* @type {import('@sveltejs/kit').RequestHandler}
*/
import jwt from 'jsonwebtoken';
import { verifier } from '$lib/verify';
import { getStatus } from '$lib/getStatus';
import dotenv from 'dotenv';
dotenv.config();
export async function post(request) {
let parsedBody = undefined;
try {
parsedBody = JSON.pa... |
declare module 'pdfjs-dist/build/pdf';
declare module 'pdfjs-dist/build/pdf.worker.entry'; |
export const integer32: string; |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-seccion5',
templateUrl: './seccion5.component.html',
styleUrls: ['./seccion5.component.css']
})
export class Seccion5Component implements OnInit {
constructor() { }
ngOnInit() {
}
} |
import { SetMetadata } from "@nestjs/common";
import { Role } from "src/models/auth/role";
export const ROLES_META_KEY: string = "roles";
export const Roles = (...roles: Role[]) => SetMetadata(ROLES_META_KEY, roles); |
import ConflictingPackageDescriptor from "./ConflictingPackageDescriptor";
import FileSystemInstruction from "../Automation/FileSystemInstruction";
import IComponent from "./IComponent";
import Instruction from "../Automation/Instruction";
import IUpdateInstructionCollection from "../Automation/IUpdateInstructionCollec... |
import { BaseType, Selection } from 'd3-selection';
export function textHorizontalAttrs<Datum, PElement extends BaseType, PDatum>(
selection: Selection<SVGTextElement, Datum, PElement, PDatum>
): Selection<SVGTextElement, Datum, PElement, PDatum> {
return selection
.attr('grid-height', 'fit')
.attr('grid-w... |
import {
PermissionGroupErrorCode,
PermissionGroupErrorFragment
} from "@saleor/graphql";
import PermissionGroupDeleteDialog, {
PermissionDeleteDialogProps
} from "@saleor/permissionGroups/components/PermissionGroupDeleteDialog";
import Decorator from "@saleor/storybook/Decorator";
import { storiesOf } from "@sto... |
import { NgModule } from '@angular/core';
import { RouterModule, Routes, PreloadAllModules } from '@angular/router';
import { SplitPanePage } from './split-pane.page';
import { AuthGuardService } from 'src/app/services/auth-guard/auth-guard.service';
const routes: Routes = [
{
path: '',
redirectTo: 'home',
... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { LedgeraddressComponent } from './ledgeraddress.component';
describe('LedgeraddressComponent', () => {
let component: LedgeraddressComponent;
let fixture: ComponentFixture<LedgeraddressComponent>;
beforeEach(async(() => {
Tes... |
import { Assertions, Chain, FileInput, Files, GeneralSteps, Log, Logger, Mouse, Pipeline, Step, UiFinder, Waiter } from '@ephox/agar';
import { UnitTest } from '@ephox/bedrock-client';
import { Strings } from '@ephox/katamari';
import { TinyApis, TinyLoader, TinyUi } from '@ephox/mcagar';
import { SugarBody } from '@ep... |
import * as React from 'react';
import { Footer } from './ModalFooter';
import { Header } from './ModalHeader';
import { Body } from './ModalBody';
export interface ModalProps {
/**
* Отключает событие onClose, также дизейблит кнопку закрытия модалки
*/
disableClose?: boolean;
/**
* Выравнива... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import reportWebVitals from './reportWebVitals';
import './index.scss';
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
);
// If you want to start measuring performance in y... |
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm/dist/typeorm.module';
import { typeOrmConfig } from './config/typeorm.config';
import { TasksModule } from './tasks/tasks.module';
import { AuthModule } from './auth/auth.module';
@Module({
imports: [
TasksModule,
TypeOrm... |
/*
* Copyright 2020 LABOR.digital
*
* 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 t... |
// Type definitions for react-virtualized-select 3.0
// Project: https://github.com/bvaughn/react-virtualized-select
// Definitions by: Sean Kelley <https://github.com/seansfkelley>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as React from "react";
import { Re... |
import { BaseCompanyView } from 'app/core/interfaces/base/baseCompanyView';
export class AccessRightsItemModel extends BaseCompanyView {
access_rights_uuid: string = null;
access_rights_code: string = null;
access_rights_name: string = null;
role_uuid: string = null;
remark: string = null;
description: stri... |
import {EventEmitter} from 'events';
import logger from '../logger/logger';
import WorkflowStep, { WorkflowStepContext } from './workflow.step'
export default class Workflow {
emitter: EventEmitter;
steps: WorkflowStep[];
_uniqueEvents: Record<any, any>;
_uniqueEventsIdentifier: boolean | string;
constructo... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="vi" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About OPCoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+... |
// @ts-nocheck
// since Symbol as a key not support in TypeScript
import { Subject } from 'rxjs'
class Scope {
private handlers: {
[sel: Symbol]: {
[evType: string]: Subject<any>
}
}
constructor() {
this.handlers = {}
}
public getSelectorHandlers(sel: Symbol) {
return this.handlers[se... |
import * as request from 'request';
import * as XboxLiveAPIError from './errors';
import * as HTTPStatusCodes from 'http-status-codes';
import { readFileSync } from 'fs';
import { join } from 'path';
import {
IRequestHeaders,
ICallProperties,
HTTPMethod,
IAuthorization,
PlayerGamertag,
XboxLiveDomains,
PlayerSe... |
import { Ref, computed } from 'vue'
import { MutationTypes, useStore } from '@/store'
import { PPTElement, PPTTextElement, PPTImageElement, PPTShapeElement } from '@/types/slides'
import useHistorySnapshot from '@/hooks/useHistorySnapshot'
// 给定一个坐标,计算该坐标到(0, 0)点连线的弧度值
// 注意,Math.atan2的一般用法是Math.atan2(y, x)返回的是原点(0,0)... |
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type v1StopPipelineResponse = {
}; |
import { API_BASEURL, CDN_BASEURL, DOC_BASEURL } from '../consts/baseURLs.ts'
import type { ResultSort } from './responses.ts'
/**
* fetch deno.land module upload stats
*/
export const GET_STATS = () => API_BASEURL + '/stats'
/**
* fetch builds
* @param buildid build id for fetching
*/
export const GET_BULIDS = ... |
import ActionManager from "@enhavo/app/action/ActionManager";
import View from "@enhavo/app/view/View";
import * as _ from "lodash";
import Newsletter from "@enhavo/newsletter/model/Newsletter";
import Receiver from "@enhavo/newsletter/model/Receiver";
import Tracking from "@enhavo/newsletter/model/Tracking";
import Co... |
import { join } from "path";
import { DefaultConfig } from "./config";
export const defaultConfig: DefaultConfig = {
templatePath: join(__dirname, "../scss/template.scss"),
fontTargetPath: ".tmp-custom-icons/fonts/",
fontRelPath: "../assets/fonts/",
scssTargetPath: ".tmp-custom-icons/scss/",
scssRelPath: "..... |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'directives_05';
} |
import { autorun, reaction } from "mobx";
import PreferencesStore, { VisualizationMode } from "./PreferencesStore";
import GraphStore from "./GraphStore";
import ImportStore from "./ImportStore";
import SearchStore from "./SearchStore";
import ClusterStore from "./ClusterStore";
import CssStore from "./CssStore";
impo... |
import { IncomingMessage } from 'http';
import { parse } from 'url';
import { ParsedRequest, Theme } from './types';
export function parseRequest(req: IncomingMessage) {
console.log('HTTP ' + req.url);
const { pathname, query } = parse(req.url || '/', true);
const { fontSize, images, widths, heights, theme... |
angular
.module('index')
.controller('ClusterListCtl', ClusterListCtl);
ClusterListCtl.$inject = ['$rootScope', '$scope', '$window', '$stateParams', '$state', 'AppUtil',
'toastr', 'ClusterService', 'MigrationService', 'DcService', 'NgTableParams', 'ngTableEventsChannel', 'ClusterType'];
function ClusterLi... |
import { Component, OnInit } from '@angular/core';
import { AuthService } from '../auth/auth.service';
import { Router } from '@angular/router';
@Component({
selector: 'app-register',
templateUrl: './register.component.html',
styleUrls: ['./register.component.scss']
})
export class RegisterComponent implements O... |
import { IAppConfig, AppAuthType } from './backend/config.service';
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class ConfigSnapshotService {
constructor() {}
endpoint: string;
clientId: string;
authType: AppAuthType;
set(config: IAppConfig) {
if (config && c... |
import { assertConfig } from './assert-param';
import { core } from './core';
import { config } from './config';
// TODO: strongly type context object passed to naming convention converter fns.
/** Configuration info to be passed to the [[NamingConvention]] constructor */
export interface NamingConventionConfig {
... |
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { AdminUniquecodePage } from './admin-uniquecode';
@NgModule({
declarations: [
AdminUniquecodePage,
],
imports: [
IonicPageModule.forChild(AdminUniquecodePage),
],
})
export class AdminUniquecodePageModule... |
import React from 'react';
import { cleanup, fireEvent, render } from '@testing-library/react-native';
import { ThemeContextProvider } from '@providers';
import * as TRANSLATIONS from '@i18n/tags';
import BooleanQuestion from './BooleanQuestion';
const renderBooleanQuestion = (onPressNext = jest.fn()) => (
<ThemeC... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import * as commentApiV1 from '../common/soundcloud/v1/comment';
import { getPaginatedResult } from '../common/helpers/repository';
export async function getCommentsByTrackId(trackId: number, offset: number, limit: number) {
const result = await commentApiV1.getCommentsByTrackId(trackId, offset, limit);
return ge... |
import * as React from 'react';
import {SurveyQuestionElementBase} from "./reactquestionelement";
import {QuestionTextModel} from "../question_text";
import {ReactQuestionFactory} from "./reactquestionfactory";
export class SurveyQuestionText extends SurveyQuestionElementBase {
constructor(props: any) {
... |
import * as React from "react";
import { Checkbox, DefaultButton, mergeStyleSets, PrimaryButton, Stack, TextField } from "@fluentui/react";
import { useForm, Controller } from "react-hook-form";
import * as FileSpray from "src/FileSpray";
import { TargetDfuSprayQueueTextField, TargetGroupTextField } from "../Fields";
i... |
import {
Body,
Controller,
Delete,
Get,
Param,
Patch,
Post,
} from '@nestjs/common';
import { PaymentTypeService } from './payment-type.service';
import { CreatePaymentTypeDto } from './dto/create-payment-type.dto';
import { UpdatePaymentTypeDto } from './dto/update-payment-type.dto';
@Controller('paymen... |
/*!
* @license
* Copyright 2016 Alfresco Software, 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 app... |
import API from "./API";
import splitLangTag from "./splitLangTag";
export { API, splitLangTag }; |
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { HttpClient,HttpHeaders } from '@angular/common/http';
import { ActivatedRoute, Router } from '@angular/router';
let httpOptions = {
headers: new HttpHeaders({ 'Authorization': localStorage.getItem('jwtToken') })
};
@Component({
selector:... |
import { funcTransport } from '@connectv/sdh/transport';
import { copyToClipboard } from '../../transport/clipboard';
import { copyConfirm } from './copy-confirm';
function _findTarget(anchor$: Element): HTMLElement | undefined {
if (anchor$.previousElementSibling) {
const nephew$ = anchor$.previousElementSibli... |
import { TypedMutation } from "@saleor/mutations";
import gql from "graphql-tag";
import { attributeDetailsFragment } from "./queries";
import {
AttributeBulkDelete,
AttributeBulkDeleteVariables
} from "./types/AttributeBulkDelete";
import {
AttributeCreate,
AttributeCreateVariables
} from "./types/AttributeCr... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_CL" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Blooddonation</source>
<translation>Sobre Blooddonation</translat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.