text
stringlengths
10
953k
import { Component, OnInit } from '@angular/core'; import { Observable, Subject, fromEventPattern } from 'rxjs'; import { debounceTime, distinctUntilChanged, switchMap } from 'rxjs/operators'; import { Hero } from '../hero'; import { HeroService } from '../hero.service'; @Component({ selector: 'app-hero-search', ...
import { Config } from "./types"; import { uiConfig } from "./uiConfig"; const defaultConfig: Config = { ui: uiConfig, segment: { enabled: true, token: "" }, healthCheckInterval: 10000, version: "", apiUrl: `${window.location.protocol}//${window.location.hostname}:8001/api/v1/`, integrationUrl: "/docs", ...
import * as React from 'react' import * as Styles from '../styles' import Text from './text' import {Props} from './radio-button' const Kb = { Text, } export const RADIOBUTTON_SIZE = 14 export const RADIOBUTTON_MARGIN = 8 // @ts-ignore this type is wrong const StyledRadio = Styles.styled.div( { ...Styles.tra...
export enum Language { FR = 'fr', EN = 'en', }
import logoImg from '../../assets/logo.svg' import { Container, Content } from './styles' interface propsModal { openModal: () => void } export function Header ({openModal}: propsModal) { return ( <Container> <Content> <img src={logoImg} alt="dt money" /> <button type="button" ...
export * from './prompt.cmd' export * from './imdb.cmd' export * from './pokedex.cmd'
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { usd_to_ngn_rate:number = 360; value:number = 2; _currency = {"name":"NGN","country":"NIGERIA", "currencyName":"Naira", usdR...
import { Injectable, InternalServerErrorException } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { NewCarInput } from './dto/new-car.input'; import { Car } from './entities/car'; @Injectable() export class CarsService { constructor(@InjectRep...
<TS language="de" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Rechts-Klick um Adresse oder Bezeichnung zu bearbeiten</translation> </message> <message> <source>Create a new address</source> ...
import React from 'react'; import Card from './Card'; import styles from './portfolio.module.scss'; import apps, { ApplicationObject } from '../data/applications'; const colors = [ 'rgb(8, 29, 68)', 'rgb(34, 94, 168)', 'rgb(65, 182, 196)', 'rgb(169, 198, 153)', 'rgb(255, 255, 217)' ]; const Portfolio = () ...
export class Avatar { skinKey: string; isActive: boolean; accessories: AvatarAccessory[]; static resetAvatar(): Avatar { return { skinKey: 'default', isActive: true, accessories: [] }; } } /** * This is a watered down representation of the avat...
import { isNil, isPlainObject } from './validator'; import { unique } from './utils'; import { UnknownScriptManager } from './error'; import { ALL_META_KEYS, COMPATIBLE_META_KEYS, DEFAULT_ORDER, TAMPERMONKEY_EXCLUSIVE_META_KEYS, VIOLENTMONKEY_EXCLUSIVE_META_KEYS } from './meta'; enum ScriptManager { Tampermonkey, ...
import { InjectionToken } from '@angular/core'; /** * A multi provider injection token that marks a component as renderable for the `DaffMediaRendererComponent`. */ export const daffThumbnailCompatToken = new InjectionToken<unknown>('thumbnailCompatToken');
import { ScrollMark } from "./ScrollMark"; import { Emitter } from "@wildebeest/common"; import { Component } from "@wildebeest/component"; export declare class ScrollBar implements Component { protected element: HTMLElement; protected mark: ScrollMark; protected emitter: Emitter; constructor(element: H...
import Knex from 'knex'; export async function up(knex: Knex): Promise<unknown> { // criar tabela return knex.schema.createTable('class_schedule', table => { table.increments('id').primary(); table.integer('week_day').notNullable(); table.integer('from').notNullable(); table.integer('to').notNulla...
/* * © 2017 Stratio Big Data Inc., Sucursal en España. * * This software is licensed under the Apache License, Version 2.0. * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See ...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { AmexioBreadcrumbComponent } from './breadcrumb.component'; import { LifeCycleBaseComponent } from '../../base/lifecycle.base.component'; import { CommonIconComponent } from '../../base/components/common.icon.component'; import { CommonDataServi...
import { Point } from './point'; export class Position { public x: number = 0; public y: number = 0; public top: number = 0; public left: number = 0; public right: number = 0; public width: number = 0; public center: Point = new Point(); public radius: number = 0; public height: nu...
/* * @Author: Kim * @Date: 2021-12-20 14:03:04 * @LastEditTime: 2021-12-20 14:07:40 * @LastEditors: Kim * @Description: * @FilePath: /ximaToolkit/src/renderer/src/store.ts */ import { createStore } from 'ice'; import workspace from './models/workspace'; const store = createStore( { workspace, }, { ...
import React from 'react' import '../../styles/server-error.css' class ServerError extends React.Component { componentDidMount(): void { document.querySelector('body')!.style.cssText = 'background: #eaeaea;' setTimeout(() => { const load = document.querySelector('section.loading') if (load) { ...
/** * Created by SiPingSoft on 2017/8/14. */ import { Component} from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Router } from '@angular/router'; import { HttpResponse } from '../model/HttpResponse'; @Component({ selector: 'login', templateUrl: './login.component.h...
export * from './ErrorCode'; export * from './errors'; export * from './fromErrorStatus'; export * from './isErrorStatus'; export * from './types';
interface NodeID3Image { mime: string; type: { id: number; name: string; }; description: string; imageBuffer: Buffer; } export default NodeID3Image;
import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { EnvironmentService } from '../environment/environment.service'; declare var Keycloak: any; @Injectable() export class KeycloakService { static environment: any; static auth: any = {}; public loggedIn: boolean; constructo...
import {ResourceFormValues} from "../AbstractVMSettingsComponents/schema"; import {FormikProps} from "formik"; import * as React from "react"; import {Alert, Button, Form, FormFeedback} from "reactstrap"; import {Fields} from "../AbstractVMSettingsComponents/fields"; import ButtonGroup from "reactstrap/lib/ButtonGroup"...
import { useState } from 'react' import { useForm } from 'react-hook-form' import styled from 'styled-components' import Button from 'components/Button' import Input from 'components/Input' import { media } from 'utils/media' import MailSentState from '../../components/MailSentState' interface EmailPayload { name: s...
import { Injectable } from '@angular/core'; import { Connections, Connection, HIDE_FROM_CONNECTION_PAGES, } from '@syndesis/ui/platform'; import { ConnectionService } from '@syndesis/ui/store/connection/connection.service'; import { AbstractStore } from '@syndesis/ui/store/entity/entity.store'; import { EventsSe...
import { GraphQLServer } from "graphql-yoga"; import "reflect-metadata"; import { getSchema } from "./api"; import resultHandlerApi from "./services/result-handler-api"; import getPort from "get-port"; import * as parseArgs from "minimist"; import * as chromeLauncher from "chrome-launcher"; import * as opn from "open";...
import { Document } from "mongoose"; import * as mongoose from "mongoose"; export const UsersSchema = new mongoose.Schema({ name: {type: String, require:true}, username: {type: String}, password: {type: String, require:true} }) export interface Users extends Document{ id: string; name: string; ...
export default { mongoURI: 'mongodb://admin:admin@127.0.0.1:27017/test?authSource=admin', jwt: { JWT_SECRET: 'diagru', expiresIn: '1d', }, };
import Link from 'next/link'; export interface LinkBoxProps { className?: string; description: string; as?: string; href: string; icon: React.ReactElement; internal?: boolean; title: string; } export const defaultProps = { as: 'li', internal: false, }; const LinkBox = (props: LinkBoxProps) => { c...
import { Test, TestingModule } from '@nestjs/testing'; import { FacebookController } from './facebook.controller'; describe('Facebook Controller', () => { let controller: FacebookController; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ controllers: [FacebookCon...
export { ButtonWrapper } from './button-wrapper'; export { FormHint } from './form-hint'; export { FormInput } from './form-input'; export { FormLabel } from './form-label'; export { FormSelectInput } from './form-select-input'; export { LinkWrapper } from './link-wrapper'; export { TechnologiesSelect } from './technol...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hu" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Rubycoin</source> <translation>A Rubycoin-ról</translation> </message> <message> <locat...
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient"; import { GetSegmentExportJobsRequest, GetSegmentExportJobsResponse } from "../models/models_1"; import { deserializeAws_restJson1GetSegmentExportJobsCommand, serializeAws_restJson1GetSegmentExportJobsCommand, } ...
import { Injectable, Inject } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { saveAs } from 'file-saver'; import { XlsxExportOptions, DA_XLSX_CONFIG, XlsxConfig, XlsxExportSheet } from './interface'; import { LazyService } from '../utils/lazy.service'; declare var XLSX: any; @Injecta...
// (C) 2019 GoodData Corporation import { InvalidInputTestCases } from "../../../../__mocks__/typeGuards"; import { IDimensionItemDescriptor, isAttributeDescriptor, isMeasureDescriptor, isMeasureGroupDescriptor, isResultAttributeHeader, isResultMeasureHeader, isTotalDescriptor, isResult...
import * as mongoose from 'mongoose'; import { Schema } from 'mongoose'; export const EmployeeSchema = new mongoose.Schema({ name: String, designation: String, joiningDate: Date, });
import * as React from 'react'; import debounce from 'lodash/debounce'; import { ConfigConsumer, ConfigConsumerProps } from '../config-provider'; // matchMedia polyfill for // https://github.com/WickyNilliams/enquire.js/issues/82 if (typeof window !== 'undefined') { const matchMediaPolyfill = (mediaQuery: string) =>...
import Axios, { AxiosError, AxiosInstance, AxiosResponse } from 'axios'; import config from 'config'; import { LoggerInstance } from 'winston'; import { getServiceAuthToken } from '../auth/service/get-service-auth-token'; import { UserDetails } from '../controller/AppRequest'; import { Case, CaseWithId } from './case...
import { AfterViewInit, Component, ElementRef, EventEmitter, Inject, Input, OnChanges, OnDestroy, OnInit, Output, Type } from '@angular/core'; import { ComponentValue, DvService, DvServiceFactory, OnEval } from '@deja-vu/core'; import { ShowAmountComponent } from '../show-amount/show-amount.component'; import { A...
export class User { name: string; surname: string; }
import { EntityId } from "../EntityId"; import { Entity } from "../Entity"; export interface IDomainEvent { entity: Entity<any>; dateTimeOccurred: Date; getAggregateId(): EntityId; }
import React from 'react'; import Item from './Item'; import type { IModule } from './Interface'; import Source from './Source'; import Comment from './Comment'; import Kind from './Kind'; export default function Module(props: IModule) { // console.log('module', props) return <div> <h1 className="tsd-module-na...
import * as React from 'react'; import { OverridableStringUnion } from '@material-ui/types'; import { SxProps } from '@material-ui/system'; import { Theme } from '@material-ui/core/styles'; import { OverrideProps, OverridableComponent } from '../OverridableComponent'; import { Variant } from '../styles/createTypography...
<TS language="fr" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Cliquer à droite pour modifier l’adresse ou l’étiquette</translation> </message> <message> <source>Create a new address</source> ...
// (C) Copyright 2015 Interactive Group Pvt 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 l...
import { IMessageExtender } from '@rocket.chat/apps-ts-definition/accessors'; import { IMessage, IMessageAttachment } from '@rocket.chat/apps-ts-definition/messages'; import { RocketChatAssociationModel } from '@rocket.chat/apps-ts-definition/metadata'; import { Utilities } from '../misc/Utilities'; export class Mess...
import { Comparator, comparatorFn } from '../../../utils/Comparator'; import { BinaryTreeNode } from '../BinaryTreeNode'; export class BinarySearchTreeNode extends BinaryTreeNode { nodeValueComparator: Comparator; constructor(value?: any, comparatorFunction?: comparatorFn) { super(value); this.nodeValueCo...
import {XYGlyph, XYGlyphView, XYGlyphData} from "models/glyphs/xy_glyph" //import {PointGeometry} from "core/geometry" //import {PointGeometry, SpanGeometry, RectGeometry, PolyGeometry} from "core/geometry" import {LineVector, FillVector} from "core/property_mixins" import {Line, Fill} from "core/visuals" import {Array...
import { Encrypter, Decrypter } from '@/data/protocols' import jwt from 'jsonwebtoken' export class JwtAdapter implements Encrypter, Decrypter { constructor (private readonly secretKey: string) {} async encrypt (value: string): Promise<string> { const accessToken = jwt.sign({ id: value }, this.secretKey) ...
/* eslint-disable */ import Long from 'long'; import _m0 from 'protobufjs/minimal'; export const protobufPackage = 'cosmos.base.store.v1beta1'; /** * CommitInfo defines commit information used by the multi-store when committing * a version/height. */ export interface CommitInfo { version: Long; storeInfos: Store...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.18.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do n...
import * as React from 'react'; import { Button, CircularProgress, Modal, ModalBody, ModalContent, ModalFooter, ModalOverlay, ModalHeader, Icon, Box, Text, Link, VStack, useDisclosure, } from '@chakra-ui/react'; import { FaDownload } from 'react-icons/fa'; interface ExportReportProps {} co...
import chalk from 'chalk'; import commander from 'commander'; import * as path from 'path'; import { importSeed, runSeeder, useSeeding } from 'typeorm-seeding'; import { loadFiles } from 'typeorm-seeding/dist/utils/file.util'; // Cli helper commander .version('1.0.0') .description('Run database seeds of your proje...
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { NotificationComponent } from './notification.component'; import { NotificationRoutingModule } from './notification-routing.module'; import {AutoCompleteModule} from 'primeng/autocomplete'; import {...
import { FileDiff } from "src/domain"; import { IAssertHasAuthors } from "#/assertions/Domain/types"; import { multiLineString } from "#/utils"; export class AssertHasAuthors implements IAssertHasAuthors { constructor() {} assertHasAuthors = (file: FileDiff) => { // take from base to avoid people adding thems...
import React, { useEffect, useState } from 'react'; import { Animated } from 'react-native'; import { FontAwesome } from '@expo/vector-icons'; type Props = { icon: string; color: string; }; export const Card: React.FC<Props> = ({ icon, color }) => { const animated = new Animated.Value(0); const [prevColor, se...
import { i128 as I128 } from '../i128'; class i128 extends I128 { // TODO } export { i128 as i128Safe };
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
export interface FieldSetState { isDirty: boolean; submitted: boolean; onSubmit: (() => (Promise<boolean> | boolean))[]; }
import * as React from 'react'; export type UntappdProps = React.ComponentPropsWithoutRef<'svg'> & { /** * 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 | ...
import { forwardRef, Icon, IconProps } from '@queelag/react-core' import React, { ForwardedRef } from 'react' /** * Usage: * * ```typescript * import { IconShopTwo } from '@queelag/react-material-icons' * * function App() { * return <IconShopTwo /> * } * ``` * * @category Component */ export const IconSh...
import { module } from 'angular'; import { TRAVIS_STAGE } from './travisStage'; import { STAGE_COMMON_MODULE } from '../common/stage.common.module'; import { TIME_FORMATTERS } from 'core/utils/timeFormatters'; import { TRAVIS_EXECUTION_DETAILS_CONTROLLER } from './travisExecutionDetails.controller'; import { TRAVIS_ST...
import { Column, CreateDateColumn, Entity, PrimaryColumn } from "typeorm" import { v4 as uuidV4 } from "uuid" @Entity("users") class User { @PrimaryColumn() id: string; @Column() name: string; @Column() email: string; @Column() password: string; @Column() driv...
/** * @module networking/packets/outgoing */ import { PacketBuffer } from '../../packet-buffer'; import { PacketType } from '../../packet-type'; import { OutgoingPacket } from '../../packet'; /** * Sent to change the client's account name. */ export class ChooseNamePacket implements OutgoingPacket { type = Pack...
// Copyright 2020 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
import React from 'react'; import { convertQueryDefinitionToQueryInfo } from '../queryDefinitionAdapters'; import { QueryDataReturn, UseSubscriptionReturn, Maybe, UseSubscriptionQueryDefinitions, } from '../types'; import { ISMContext, ISMContextSubscription, SMContext } from './context'; export function useS...
import { Camera, Engine, Layer, RenderPass, RenderTarget } from "oasis-engine"; import { ColorMaterial } from "./ColorMaterial"; /** * Color render Pass, used to render marker. */ class ColorRenderPass extends RenderPass { private _needPick: boolean; private onPick: Function; private _pickPos; constructor(n...
export interface ExportInterface { exportValue: string; } export type ExportAlias = ExportInterface; interface PrivateInterface { privateValue: string; } type PrivateAlias = PrivateInterface; interface MixedInterface { mixedValue: ExportAlias; } export type MixedAlias = PrivateInterface; export type Pub...
import 'mocha'; import { assert } from 'chai'; import { rewriteIncomingUrl } from './rewrite'; describe('utils/rewrite', () => { describe('rewriteIncomingUrl()', () => { const CONFIG = { '^/image-upload/(.*)': [ 'http://legacy.example.com/api/v1/image-upload/$1', 'https://api.example.com/v2...
import { IDataResponse, IPaginatedResponse } from './response'; import { IErrorResponse, ServerErrorKey } from './errors'; export function isDataResponse<R>(data: any): data is IDataResponse<R> { return Boolean(data.data); } export function isPaginatedResponse<R>(data: any): data is IPaginatedResponse<R> { return...
import { NgZone, OnInit, OnDestroy, DoCheck, EventEmitter, ChangeDetectorRef } from '@angular/core'; import { PerfectScrollbarDirective } from './perfect-scrollbar.directive'; import { PerfectScrollbarConfigInterface } from './perfect-scrollbar.interfaces'; import * as ɵngcc0 from '@angular/core'; export declare class ...
import { UseGuards } from '@nestjs/common' import { Resolver, Query } from '@nestjs/graphql' import { BandwagonService } from './bandwagon.service' import { ServiceInfoModel } from './models/service-info.model' import { UsageStatesModel } from './models/usage-stats.model' import { GqlAuthGuard } from '../shared/guard/g...
import React from 'react'; import { Select } from '@b-design/ui'; import locale from '../../utils/locale'; type Props = { onChange: (value: any) => void; secretKeys?: string[]; value: any; id: string; }; type State = {}; class SecretKeySelect extends React.Component<Props, State> { constructor(props: Props...
import React from "react"; import ReactDOM from "react-dom"; import "./index.css"; import App from "./App"; import reportWebVitals from "./reportWebVitals"; import { ChakraProvider } from "@chakra-ui/react"; import theme from "./theme"; ReactDOM.render( <React.StrictMode> <ChakraProvider theme={theme}> <Ap...
import { add, angle, cross, rotate, scale, sub, Vec, vLength } from './vec2d' export type TransformData = { rotate: number scaleFactor: number translate: Vec } export const transformPos = (o: Vec, transform: TransformData) => (pos: Vec): Vec => { const movedToO0 = sub(pos, o) const scaled = scale(movedToO0...
import { ApplicationInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, } from "../ApplicationInsightsClient.ts"; import { TagResourceRequest, TagResourceResponse } from "../models/models_0.ts"; import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from ...
import {NgModule} from "@angular/core"; import {RouterModule, Routes} from "@angular/router"; import {BatmanComponent} from "./batman.component"; import {AuthGuard} from "../auth-guard.service"; import {BatmanDashboardComponent} from "./batman-dashboard.component"; import {BatmanPersonalComponent} from "./batman-person...
import { Link } from 'react-router-dom' import { AccountMenu } from 'src/components/header/AccountMenu' import Logo from 'src/components/icons/logo.svg' import { Box } from 'src/components/layout/Box' import { Color } from 'src/styles/Color' import { mq } from 'src/styles/mediaQueries' import { Stylesheet } from 'src/s...
import chai, { expect } from 'chai'; import Helper from '../../src/e2e-helper/e2e-helper'; chai.use(require('chai-fs')); describe('components that are not synced between the scope and the consumer', function () { this.timeout(0); let helper: Helper; before(() => { helper = new Helper(); }); after(() => ...
// /src/communication/spoke/materialiconstwotone/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgSpokeTwotone = 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"> <rect fill="none" height="24" width="24"/...
import * as child_process from 'child_process'; import { defer } from 'lodash'; export enum SupportedPlatform { None, Windows, OSX, Linux } /* tslint:disable:quotemark no-unexternalized-strings */ export function getSupportedPlatform(platform: string = process.platform) { if (process.platform === ...
import { DynamicComponentSerializer } from "./dynamic-component-serializer.model"; import { DynamicComponentSerializerMap } from "../dynamic-component-serializer-map/dynamic-component-serializer-map.model"; /** * Definition for a component serializer constructor. */ export interface DynamicComponentSerializerConstru...
// Copyright 2019 - present Xlab // // 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 ...
export const menuData = [ { name: 'dashboard', icon: 'dashboard', path: 'dashboard', children: [ { name: '分析页', path: 'analysis' }, { name: '监控页', path: 'monitor' }, { name: '工作台', path: 'workplace', ...
const grpc = require('grpc'); const deleteSagaProto = grpc.load(__dirname + '/protos/delete-saga.proto') import * as grpcClient from './grpc.client'; import * as cqlWriter from '../infrastructure/infrastructure.writes'; import * as cqlReader from '../infrastructure/infrastructure.reads'; export var server = new grpc.S...
'use strict'; import { Household, Age, Relationship } from './household'; import {PolicyInterface, BeneficiaryUnitBehaviour, WelfareResult, HealthcareBehaviour, AccommodationBehaviour} from './policy.interfaces'; import {skos2016BeneficiaryUnitBehaviour} from './policy.beneficiaryunit'; import {healthcareBehaviourBern...
import { bot } from './plugin-bot'; // 向你的机器人发送 hello bot.on('message', function (e) { if (e.raw_message.startsWith('hello') || e.raw_message.startsWith('你好,'))//为了不在日常说话中误触需要加上逗号 e.reply('你好,刀客塔!'); })
import { AbstractProcess } from './AbstractProcess'; import { AggregatingProcess } from './AggregatingProcess'; import { ComponentList } from './ComponentList'; import { ConnectionList } from './ConnectionList'; import { DisplayName } from '../../common/decorators/DisplayName'; /** * A process that consist of a colle...
/* * Copyright 2021 The Backstage Authors * * 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 ...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ */ import { Cell, Obj } from '@ephox/katamari'; import Editor from 'tin...
import VkLiveWidget from 'vk-live-widget'; import Secrets from '@config/Secrets'; import TopByOrders from '@services/top/TopByOrders'; export default class Widget { private readonly instance: VkLiveWidget constructor(accessKey: string) { this.instance = new VkLiveWidget(accessKey); } async update() { ...
import * as React from 'react'; // Props import { INavPage } from '../Nav/Nav.Props'; import { ComponentPage } from '../ComponentPage/ComponentPage'; import { PageHeader } from '../PageHeader/PageHeader'; import { Spinner } from 'office-ui-fabric-react/lib/Spinner'; export interface IAppState { appTitle: string; ...
import '../_version.js'; declare const getFriendlyURL: (url: string | URL) => string; export { getFriendlyURL };
import x2js from "fast-xml-parser"; import { isDegreeType, isLanguageCode } from "./core/validators"; import request from "./core/request"; import textIDs from "./core/textIDs"; // #region Types and interfaces type Degree = "C" | "F"; interface Options { location: string; language?: string; degreeType?: D...
// Copyright 2017-2020 @polkadot/typegen authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './derived'; export * from './docs'; export * from './file'; export * from './formatting'; export * from './imports'; export * from './register'; export const compareName = (a: { name: { toString(): st...
/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import { visibleColumnsCommand } from '@data-wrangling-components/react' import { ICommandBarItemProps } from '@fluentui/react' import { useCallback, useMemo } from 'react' import { SetterOrUpdat...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { useRecoilValue } from 'recoil'; import { act } from '@bfc/test-utils/lib/hooks'; import { renderRecoilHook } from '../../../../__tests__/testUtils'; import { settingsState } from '../../atoms'; import { dispatcherState } from '../../....