text stringlengths 10 953k |
|---|
import AppConfig from '../config';
import { Survey, FullSurveyRequest, TitleRequest, FullSurveyWithQnA } from '../models';
import axios from './axios';
export async function postSurveyWithQnA(payload: FullSurveyRequest) {
await axios.post(`${AppConfig.API_URL}/surveys/full`, payload);
}
export async function postSu... |
/**
* Copyright 2019 F5 Networks, 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 agr... |
import './index.scss';
import 'video-react/styles/scss/video-react';
import * as React from 'react';
import { Player } from 'video-react/dist/video-react.min';
import { ComponentProps } from '@vize/types';
import { isUrl } from '../../lib/utils';
import { EmptyData } from '../../lib/components/EmptyData';
interface Da... |
/*
* 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, software
* distribu... |
import { NgModule } from '@angular/core';
import { NgtPhysics } from './physics.directive';
@NgModule({
declarations: [NgtPhysics],
exports: [NgtPhysics],
})
export class NgtCannonModule {} |
import { Body, Controller, Delete, Get, Param, Post } from '@nestjs/common';
import { CreateUserDto } from './dto/create-user.dto';
import { UsersService } from './users.service';
@Controller('users')
export class UsersController {
constructor(private readonly usersService: UsersService) {}
@Post()
create(@Body... |
/** @format */
import { ISvgIconProps, IconWrapper } from '../runtime';
export const AntdSwap = IconWrapper(
'antd-swap',
false,
(props: ISvgIconProps) => (
<svg width={props.size} height={props.size} viewBox="0 0 48 48" fill="none">
<path
fill={props.colors[0]}
d="M45.9060216,28.17316... |
import { useBurnerSigner } from 'eth-hooks';
import { useEthersAppContext } from 'eth-hooks/context';
import { useEffect } from 'react';
import { IScaffoldAppProviders } from '../../models/IScaffoldAppProviders';
import { NETWORKS } from '~common/constants/networks';
export const useBurnerFallback = (appProviders: I... |
import Lift from "./Lift";
import Button from "./button";
enum DoorsState { 'Opening' = 1, 'Closed' = -1, 'stop' = 0 }
export default class LiftLogic {
private lift: Lift;
private DoorsState: DoorsState;
private doors: boolean;
private task: Button | undefined;
private inWay: boolean;
public q... |
/**
* The TypeDoc main module and namespace.
*
* The [[Application]] class holds the core logic of the cli application. All code related
* to resolving reflections is stored in [[TypeDoc.Factories]], the actual data models can be found
* in [[TypeDoc.Models]] and the final rendering is defined in [[TypeDoc.Output]... |
import PsiExpression = require('nashorn/com/intellij/psi/PsiExpression');
import PsiLiteral = require('nashorn/com/intellij/psi/PsiLiteral');
declare class PsiLiteralExpression {
}
declare interface PsiLiteralExpression extends PsiExpression, PsiLiteral {}
export = PsiLiteralExpression |
<TS language="es_UY" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Clic derecho para editar dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
<... |
import InfoCircleIcon from './InfoCircleIcon';
export { InfoCircleIcon };
export default InfoCircleIcon; |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {SharedModule} from '../shared/shared.module';
import {AppRoutingModule} from '../app-routing.module';
import { HomeComponent } from './home/home.component';
import { VaccinesComponent } from './vaccines/vaccines.component'... |
/*
* Copyright (C) 2005-2022 SplendidCRM Software, Inc.
* MIT License
* 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 rights to use, ... |
import * as React from 'react';
import { Radio as BaseRadio } from '@gpn-design/uikit/Radio';
type RadioProps = React.ComponentProps<typeof BaseRadio>;
export const Radio: React.FC<RadioProps> = (props) => {
return <BaseRadio {...props} />;
}; |
it.todo('write a test'); |
/**
* Sets the correct prototype on the error instance. This needs to be done in order to
* extend native JS Error class and still work with `instanceof` operations
*/
function fixPrototype(instance: AbstractError, actualProto: typeof AbstractError.prototype) {
if (Object.setPrototypeOf) {
Object.setPrototypeO... |
/* tslint:disable */
/* eslint-disable */
/**
* Jellyfin API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 10.7.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech)... |
import React from 'react';
import './index.scss';
import { Button } from '../Button';
import { store } from './../../store/index';
import cn from 'classnames';
import { onAnimalFavoriteButtonClicked } from '../../containers/client/Animals/store/actions';
import { useSelector, shallowEqual } from 'react-redux';
import {... |
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
import type { ApiTypes } from '@polkadot/api-base/types';
import type { Bytes, Option, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { Acco... |
import { createSlice, PayloadAction } from "@reduxjs/toolkit";
export interface IPendingTxn {
readonly txnHash: string;
readonly text: string;
readonly type: string;
}
const initialState: Array<IPendingTxn> = [];
const pendingTxnsSlice = createSlice({
name: "pendingTransactions",
initialState,
... |
/**
* 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... |
import { Log, Logger, Pipeline, Step, Waiter } from '@ephox/agar';
import { Assert, UnitTest } from '@ephox/bedrock-client';
import { TinyLoader, TinyUi } from '@ephox/mcagar';
import Editor from 'tinymce/core/api/Editor';
import Plugin from 'tinymce/plugins/media/Plugin';
import Theme from 'tinymce/themes/silver/Them... |
import { Component } from '@angular/core';
import { CommonService } from '../shared/services/common.service';
@Component({
selector: 'app-sidebar',
templateUrl: './sidebar.component.html',
styleUrls: ['./sidebar.component.scss']
})
export class SidebarComponent {
constructor(public cmnSrv: CommonService) { }... |
import * as React from "react";
import Svg, { Path } from "react-native-svg";
type Props = {
size?: number | string;
color?: string;
};
function FourCircledMediUltraLight({
size = 16,
color = "currentColor",
}: Props): JSX.Element {
return (
<Svg width={size} height={size} viewBox="0 0 24 24" fill="none"... |
import {Injectable} from "@angular/core";
import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot} from "@angular/router";
import {getUsuarioLogado} from "../arquitetura/servico/base.service";
@Injectable()
export class LoginGuard implements CanActivate {
constructor(private router: Router) { }
... |
function parseItems(
items: any[],
parent: Traverse.Node,
grandParent: Traverse.Node,
delimiter = ','
): string {
if (items.length > 0) {
return items
.map(i => parse(i, parent, grandParent).text)
.join(`${delimiter} `);
}
return '';
} |
import { pick } from 'ramda';
import {
addCreatorToNamedChannel,
ChannelMembershipRole,
} from '../channelMemberships';
import { addUsersToChannel } from '../channelMemberships/channelMemberships';
import { doInTransaction, insertIntoDB } from '../db';
import { DBOptions, Mutable } from '../types';
import { User }... |
/**
* Copyright 2019 Google LLC
*
* 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... |
import Layout from '@/layouts';
import Dashboard from '@/pages/Dashboard';
import Home from '@/pages/Home';
import About from '@/pages/About';
import Notfound from '@/pages/NotFound';
export default [
{
path: '/',
component: Layout,
children: [
{
path: '/dashboard',
exact: true,
... |
import {str, Expression} from "../combi";
import {IStatementRunnable} from "../statement_runnable";
export class ClassFinal extends Expression {
public getRunnable(): IStatementRunnable {
return str("FINAL");
}
} |
/**
* ---------------------------------------------------------------------
* Copyright (c) 2020 EclipseSource Munich
* Licensed under MIT
* https://github.com/eclipsesource/jsonforms-editor/blob/master/LICENSE
* ---------------------------------------------------------------------
*/
export const copyToClipBoard... |
import {useReducer} from "react"
export function useForceUpdate() {
return useReducer((x) => x + 1, 0)[1] as () => void
} |
import { assign } from '@dojo/core/lang';
import { from as arrayFrom } from '@dojo/shim/array';
import global from '@dojo/shim/global';
import { Constructor, DNode, WidgetBaseInterface, WidgetProperties } from './interfaces';
import { WidgetBase } from './WidgetBase';
import { w } from './d';
import { ProjectorMixin } ... |
import { EventType } from 'engine/enums';
import _events from 'engine/events';
import _map from 'engine/map';
import { setVarc } from 'engine/var';
import { sendMessage, sendCommandResponse } from 'shared/chat';
import { lookupPlayerName, toFormattedTime } from 'shared/util';
import { openCentralWidget, openWidget } f... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa_IR" version="2.0">
<defauRVNodec>UTF-8</defauRVNodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Raven</source>
<translation>در مورد بیتکویین</translation>
</... |
import * as faker from 'faker/locale/en_CA';
import { SecurityQuestion } from '../../api/registrants/models';
export function generateSecurityQuestions(questions: string[]): Array<SecurityQuestion> {
return [{
id: 1,
answerChanged: true,
question: faker.random.arrayElement(questions),
... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as utilitie... |
import type { AppConfig, DevApp } from '../types'
import { createBaseApp } from './createBaseApp'
import { resolveBundler } from './resolveBundler'
/**
* Create vuepress dev app
*/
export const createDevApp = (config: AppConfig): DevApp => {
const app = createBaseApp(config, false) as DevApp
app.dev = () => reso... |
import * as React from 'react';
import { Level } from './Level';
import { GutterSize } from '../../styles/gutters';
import { LevelItem } from './LevelItem';
import { shallow } from 'enzyme';
Object.values(GutterSize).forEach(gutter => {
test(`Gutter ${gutter}`, () => {
const view = shallow(<Level gutter={gutter}... |
import { Response, Request } from 'express';
import { container } from 'tsyringe';
import ResetPasswordService from '@modules/users/services/ResetPasswordService';
export default class ResetPasswordController {
public async create(request: Request, response: Response): Promise<Response> {
const { password, token... |
declare namespace NodeJS {
interface ProcessEnv {
PORT: string;
REDIS_URL: string;
DATABASE_URL: string;
SESSION_SECRET: string;
TOKEN_SECRET: string;
}
} |
import {
TestBed
} from '@angular/core/testing';
import {
expect
} from '@skyux-sdk/testing';
import {
STACHE_ROUTE_METADATA_SERVICE_CONFIG
} from './route-metadata-service-config-token';
import {
StacheRouteMetadataService
} from './route-metadata.service';
describe('StacheRouteMetadataService', () => {
... |
import { D2Categories } from 'app/destiny2/d2-bucket-categories';
import CollapsibleTitle from 'app/dim-ui/CollapsibleTitle';
import ErrorBoundary from 'app/dim-ui/ErrorBoundary';
import { DimItem } from 'app/inventory/item-types';
import { DimStore } from 'app/inventory/store-types';
import { getEvent, getSeason } fro... |
export default {
navigationBarTitleText: 'SDK集成'
} |
import { Sema } from 'async-sema'
import crypto from 'crypto'
import fs from 'fs'
import mkdirpModule from 'mkdirp'
import { CHUNK_GRAPH_MANIFEST, PRERENDER_MANIFEST } from 'next-server/constants'
import { EOL } from 'os'
import path from 'path'
import { promisify } from 'util'
import { recursiveDelete } from '../lib/... |
/// <reference path="../exceptionless.ts" />
module exceptionless.account {
export class ManageAccountViewModel extends ViewModelBase {
private _navigationViewModel: NavigationViewModel;
emailNotificationsEnabled = ko.observable<boolean>(false);
isVerified = ko.observable<boolean>(false);
... |
import { Component } from '@angular/core';
import { QuizService } from './quiz.service';
// [value] = "baseAmount" is one-way binding of data from component to view
// This syntax gets data from the component and puts it into the view
// (input) = "update()" is one-way binging from view to component
// This syntax se... |
!function(doc) {
var app = (<any>doc.querySelectorAll('app')[0]);
app.innerHTML = 'open up your Console with CMD+Option+I';
}(document);
/*
* Intro:
*
* In ES6 we have a lot of new features added to JavaScript
* so let's go over a few of the features that we will see
* in Angular 2
* please consider using ht... |
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import { baidu } from './utils/system/statistics'
import 'element-plus/lib/theme-chalk/index.css'
import 'element-plus/lib/theme-chalk/display.css' // 引入基于断点的隐藏类
import 'normalize.css' // css初始化
import './assets/style/common.scss' // 公共css
import Ap... |
import { browser, by, element, promise } from 'protractor';
import { CfUser } from '../../frontend/packages/cloud-foundry/src/store/types/cf-user.types';
import { APIResource } from '../../frontend/packages/store/src/types/api.types';
import { e2e } from '../e2e';
import { CFHelpers } from '../helpers/cf-helpers';
imp... |
namespace psd2ugui {
export enum VectorType {
x = 0,
y = 1,
z = 2,
w = 3
}
} |
/// <reference types="react" />
import { IconPropsWithoutChildren } from '@react-spectrum/icon';
export default function Move(props: IconPropsWithoutChildren): JSX.Element;
//# sourceMappingURL=Move.d.ts.map |
import { NodeMaterialBlockConnectionPointTypes } from './Enums/nodeMaterialBlockConnectionPointTypes';
import { NodeMaterialBlockTargets } from './Enums/nodeMaterialBlockTargets';
import { Nullable } from '../../types';
import { InputBlock } from './Blocks/Input/inputBlock';
import { Observable } from '../../Misc/obser... |
import { Definition } from '../types'
import {
convertDefinitionProperty,
formatArrayTypes,
formatStringEnums,
formatTypes,
convertModels,
formatRefsLink,
propertyGetter,
allOfHandler,
objectHandler,
transformTitle,
getMapPrefix,
} from './index'
import { Model } from './index.d'
describe('illega... |
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { CreateManagedPrefixListRequest, CreateManagedPrefixListResult } from "../models/index";
import {
deserializeAws_ec2CreateManagedPrefixListCommand,
serializeAws_ec2CreateManagedPrefixListCommand,
} from "../protoc... |
export {
Device,
AccessLevel,
DeviceType,
DeviceChannels } from './lib/device';
export { IDevice } from './lib/device.d';
export { DeviceGroup } from './lib/deviceGroup';
export { IDeviceGroup } from './lib/deviceGroup.d';
export {
Sensor,
SensorType } from './lib/sensor';
export { Switch } from './lib/swit... |
/**
* Copyright 2019 Google LLC
*
* 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... |
import { createIcon } from '../_createIcon/createIcon';
import IconArrowMoveSizeAll from './IconArrowMove_size_all';
export const IconArrowMove = createIcon({
l: IconArrowMoveSizeAll,
m: IconArrowMoveSizeAll,
s: IconArrowMoveSizeAll,
xs: IconArrowMoveSizeAll,
name: 'IconArrowMove'
}); |
// fontawesome/svgs/solid/gauge.svg
import { createSvgIcon } from './createSvgIcon';
export const SvgGauge = createSvgIcon(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons... |
import { Controller } from '@nestjs/common'
@Controller('tradebook')
export class TradebookController {} |
/*
* @Description: app actions
* @Author: ZY
* @Date: 2020-12-23 10:25:37
* @LastEditors: scy😊
* @LastEditTime: 2021-01-29 08:46:37
*/
import { ActionTree, ActionContext } from 'vuex'
import { RootState, useStore } from '@/store'
import { state, UserState } from './state'
import { Mutations } from './mutations'
... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AdminPagesRoutingModule } from './admin-pages-routing.module';
@NgModule({
imports: [CommonModule, AdminPagesRoutingModule],
})
export class AdminPagesModule {} |
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {
MatDialogModule,
MatButtonModule,
MatIconModule,
MatFormFieldModule,
MatInputModule,
MatTableModule,
MatSelectModule, MatSortModule, MatPaginatorModule
} from '@... |
import { settings } from "..";
import { Vector } from "../components/vector";
import { particleContainer, RenderedElement } from "../containers";
import { resolveShapeFactory, TShape } from "../systems/shapes";
import { rotationToNormal } from "../util";
import { Emitter } from "./emitter";
import { RenderOptions } fro... |
import {RequestOption} from '@microsoft/kiota-abstractions';
/** Configuration for the request such as headers, query parameters, and middleware options. */
export class SupportedTimeZonesRequestBuilderGetRequestConfiguration {
/** Request headers */
public headers?: Record<string, string> | undefined;
/**... |
import {
Action,
ActionParameters,
Entity,
ActionType,
BroadcastType,
ProcessEffectGenerator
} from '../../internal.js';
export class RemovePropertyAction extends Action<Entity> {
actionType: ActionType = ActionType.REMOVE_PROPERTY_ACTION;
broadcastType = BroadcastType.HAS_SENSE_OF_ENTITY;
target: E... |
<TS language="es_UY" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Clic derecho para editar dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
<... |
export enum UniformRegistrationLocations {
CONTROL_PLANE = 'control-plane'
} |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { EditMode } from 'core/constants';
import { VisionFormListComponent } from './list/form-list.component';
import { VisionFormItemComponent } from './item/form-item.component';
import { VisionFormEditorComponent } ... |
import 'vue-tsx-support/enable-check'
import Vue from 'vue'
import { storiesOf } from '@storybook/vue'
import { createComponent } from '../api'
import { ShowDocs } from '../dev/storybook'
import { useStoragePlain } from '.'
const Demo = createComponent({
setup () {
const store = useStoragePlain('vue-use-locale-s... |
// Copyright 2017-2022 @polkadot/types-codec authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '7.6.2-1' }; |
import { Directive, ElementRef, HostBinding, Input } from '@angular/core';
import { BaseDirective } from '../base/base.directive';
@Directive({
selector: '[m-header]'
})
// TODO: Implement
export class HeaderDirective extends BaseDirective {
private isDividing: boolean;
private isInverted: boolean;
pri... |
import React, { useContext, useEffect, useState } from 'react';
import AsyncStorage from '@react-native-async-storage/async-storage';
import { Appearance, View } from 'react-native';
import { Keyboard } from '../components/keyboard';
import Renderer from '../components/renderer';
import { ThemeContext } from '../theme/... |
/// <reference types="react" />
import { Marker, Path } from '@sanity/types';
import { PortableTextBlock } from '@sanity/portable-text-editor';
import { RenderCustomMarkers } from './types';
declare type Props = {
block: PortableTextBlock;
blockActions?: Node;
height: number;
isFullscreen: boolean;
... |
import { http } from "./http";
import "./websockets/client";
import "./websockets/admin";
http.listen(3333, () => console.log('Server is running on port 3333')); |
import * as React from 'react';
import { Box, BoxProps, Flex, color, Stack, transition } from '@stacks/ui';
import { Section } from '@components/section';
import { capitalize } from '@common/utils';
import { Caption } from '@components/typography';
import { atomFamily, useRecoilState } from 'recoil';
import { memo, use... |
// /src/action/send_and_archive/materialiconssharp/24px.svg
import { createSvgIcon } from './createSvgIcon';
export const SvgSendAndArchiveSharp = createSvgIcon(
`<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24">
<g>
<rect fill="none" heig... |
export interface Reviews {
id: number,
comment: string,
rating: number,
deliveryId: number,
reservationId: number
} |
import got from 'got';
export class LineClient {
LINE_BORADCAST_URL = "https://api.line.me/v2/bot/message/broadcast";
constructor(private token: string) {
}
async push(messages: { messages: [{ type: string; text: string }] }) {
return await got.post(this.LINE_BORADCAST_URL, {
headers: {
"Con... |
import React from "react"
import Example from "../../../components/Example"
import html, { version, title, description } from "./index.html"
function ExamplePage() {
return (
<Example
version={version}
title={title}
description={description}
html={html}
/>
)
}
export default Exampl... |
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* <p> Result structure which contains link to download custom-generated SDK and tool packages used to integrate mobile web or app clients with backed AWS resources. </p>
*/
export interface ExportBundleOutput extends __aws_sdk_types.MetadataBearer {
/**
* <... |
import { Component, OnInit } from '@angular/core';
import { TimerconfigService } from 'src/app/timerconfig.service';
@Component({
selector: 'app-focus',
templateUrl: './focus.component.html',
styleUrls: ['./focus.component.css'],
})
export class FocusComponent implements OnInit {
time;
timeConfig: any;
co... |
import { AttributeIds, CallbackT, PreciseClock, StatusCode, StatusCodeCallback, UInt32 } from "node-opcua-basic-types";
import { NodeClass, QualifiedNameLike } from "node-opcua-data-model";
import { NodeId } from "node-opcua-nodeid";
import { DataValue, DataValueOptions } from "node-opcua-data-value";
import { Extensio... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ResultadosComponent } from './resultados.component';
describe('ResultadosComponent', () => {
let component: ResultadosComponent;
let fixture: ComponentFixture<ResultadosComponent>;
beforeEach(async () => {
await TestBed.configureTe... |
import { Field, ObjectType, ID } from '@nestjs/graphql'
@ObjectType()
export class BatchUpdateModel {
@Field({ nullable: true })
public readonly ok?: number
@Field({ nullable: true })
public readonly n?: number
@Field({ nullable: true })
public readonly nModified?: number
@Field(() => [ID])
public r... |
import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, OnInit, Output } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { FormlyFieldConfig } from '@ngx-formly/core';
import { PaymentMethod } from 'ish-core/models/payment-method/payment-method.model';
@Component({
sele... |
/**
* Copyright 2020, Yahoo Holdings Inc.
* Licensed under the terms of the MIT license. See accompanying LICENSE.md file for terms.
*/
import SearchFilterController from '../search-filter';
import { action, computed } from '@ember/object';
import { A as arr } from '@ember/array';
import { tracked } from '@glimmer/t... |
// *** 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 * as utilities from "../../utilities";
// Export members:
export * from "./availabilitySet";
export * from "./dedi... |
import { TestBed, async } from '@angular/core/testing';
import { HttpClientModule } from '@angular/common/http';
import {
ApiModule,
Configuration,
ConfigurationParameters,
PetService,
StoreService,
UserService,
Pet,
User,
} from '@swagger/typescript-angular-petstore';
describe(`API (functionality)`, ... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import visit from 'unist-util-visit';
import path from 'path';
import url from 'url';
import fs from 'fs-extra';
import escapeHtml... |
// Copyright 2017-2021 @polkadot/typegen authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { TypeRegistry } from '@5ire/types/create';
import type { Definitions } from '@5ire/types/types';
import type { ExtraTypes } from './types';
import Handlebars from 'handlebars';
import * as defaultDefin... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About REGALCOIN</source>
<translation type="unfinished"/>
</message>
<message>
<location line... |
/* eslint-disable @typescript-eslint/no-non-null-assertion */
import { autorun } from 'mobx'
import * as React from 'react'
import type { TLBounds } from '../types'
export function usePosition(bounds: TLBounds, rotation = 0) {
const rBounds = React.useRef<HTMLDivElement>(null)
// Update the transform
React.useL... |
import { Component, OnInit } from '@angular/core';
import { strings } from '../../config/strings';
import { CategoriesObject } from '../../interfaces/interfaces';
import { DataService } from '../../services/data.service';
import { Platform } from '@ionic/angular';
@Component({
selector: 'app-categories',
templateU... |
import { CommonModule } from '@angular/common';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { AuthHelperService, TokenProvider } from 'ngx-launcher';
import { AUTH_API_URL }... |
import { Component, OnInit, OnDestroy, Inject, ChangeDetectorRef} from '@angular/core';
import { HttpResponse } from '@angular/common/http';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { Subscription } from 'rxjs';
import { ValidationService } from "@sinequa/core/validation";
import { No... |
import { DbService } from './db-service';
export declare abstract class Migration {
targetDbVersion: number;
migrationNumber: number;
protected constructor(migrationNumber: number, targetDbVersion: number);
abstract apply(dbService: DbService): Promise<undefined>;
abstract queries(): Array<string>;
... |
import { ContentView } from '@nativescript/core';
export declare class CameraPlus extends ContentView {
events: ICameraPlusEvents;
/**
* Video Support (off by default)
* defined statically due to necessity to set this very early before constructor
* users should set this in a component constructor before... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.