text
stringlengths
10
953k
/************************************************************************* * Copyright 2021 Gravwell, Inc. All rights reserved. * Contact: <legal@gravwell.io> * * This software may be modified and distributed under the terms of the * MIT license. See the LICENSE file for details. *********************************...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MonogramDisplayComponent } from './monogram-display.component'; describe('MonogramDisplayComponent', () => { let component: MonogramDisplayComponent; let fixture: ComponentFixture<MonogramDisplayComponent>; beforeEach(async(() =...
export { default as Link } from '@axa-fr/react-toolkit-link';
import { NgModule } from '@angular/core'; import { IonicModule } from '@ionic/angular'; import { FormsModule } from '@angular/forms'; import { CommonModule } from '@angular/common'; import { IonicTimepickerComponent } from './ionic-timepicker.component'; import { LiIonicTimepickerDirective } from './li-ionic-timepicker...
import { Validator, error, empty } from '../validation'; export const validatePattern: Validator = (schema, value, { name }) => schema.pattern && typeof value === 'string' && !new RegExp(schema.pattern).test(value) ? error('pattern', name, schema.pattern) : empty;
<TS language="hu" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>A cím vagy címke szerkeszteséhez kattintson a jobb gombbal</translation> </message> <message> <source>Create a new address</source>...
import { UiMetadata } from '@model/ui-metadata-map'; import { cloneDeep } from 'lodash'; import { ConfigData, Config } from '@app/model'; import { JSONSchema7 } from 'json-schema'; import * as omitEmpty from 'omit-empty'; import { SchemaService } from './schema.service'; import { areJsonEqual } from '@app/commons/helpe...
import { RequestHandler } from 'express' const authenticateSession: RequestHandler = (req, res, next) => { const user = req.session.userId if (!user || req.session.loginInfo) { return res.status(401).send('Unauthenticated session') } req.userId = user return next() } export default auth...
// https://github.com/microsoft/TypeScript/issues/33993 // @noEmit: true // @allowJs: true // @checkJS: true // @filename: prototypePropertyAssignmentMergedTypeReference.js var f = function() { return 12; }; f.prototype.a = "a"; /** @type {new () => f} */ var x = f;
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distr...
import { Component, OnInit, ViewChild } from '@angular/core'; import {MatTableDataSource} from '@angular/material/table'; import {MatSort,Sort} from '@angular/material/sort'; import {LiveAnnouncer} from '@angular/cdk/a11y'; import {MatDialog} from '@angular/material/dialog'; import { AddEditCustomerComponent } from './...
import { FC } from 'react'; import { TSuccessTransactionSnackbar } from './TSuccessTransactionSnackbar'; import './SuccessTransactionSnackbar.css'; import { ReactComponent as Icon28CheckmarkOutline } from 'icons/28/checkmark.svg'; import { Snackbar } from 'components/Snackbar/Snackbar'; export const SuccessTransactio...
export const downloadLobLetters = async (_, helpers) => { helpers.logger.info('Downloading Lob Letters'); const Lob = require('lob')(process.env.LOB_API_SECRET); const lobPayload = await Lob.letters.list({ limit: 100 }); const letters = lobPayload.data; letters.forEach(async (letter) => { await helper...
import { JsonApiModelConfig, JsonApiModel, Attribute, HasMany, BelongsTo } from 'angular2-jsonapi'; import { AbstractModel } from './Abstract.model'; @JsonApiModelConfig({ type: 'content_type' }) export class ContentTypeModel extends AbstractModel { @Attribute() id: string; @Attribute() app_label...
import * as React from 'react'; import Svg, { SvgProps, Path } from 'react-native-svg'; function SvgNoCreditCard( props: SvgProps, svgRef?: React.Ref<React.Component<SvgProps>> ) { return ( <Svg width="1.5em" height="1.5em" strokeWidth={1.5} viewBox="0 0 24 24" fill="none" ...
import { Module } from '@nestjs/common'; import { UsersService } from './users.service'; import { TypeOrmModule } from '@nestjs/typeorm'; import { User } from './entities/user.entity'; @Module({ imports: [TypeOrmModule.forFeature([User])], providers: [UsersService], exports: [UsersService, TypeOrmModule], }) exp...
/* eslint-disable no-empty-function */ /* eslint-disable no-useless-constructor */ import { Client } from 'es7'; import { Injectable } from '@nestjs/common'; import { InjectElasticsearchClient } from '../../src'; /** * @class * @ignore */ @Injectable() export class DefaultOptionsElasticsearchConnectionTest { cons...
import { Component, Input, Output, EventEmitter } from '@angular/core'; import { Animal } from './animal.model'; @Component({ selector: 'edit-animal', template: ` <div *ngIf="showEdit"> <div> <input class="form-control input-lg" placeholder="SPECIES" [(ngModel)]="editAnimal.species"> </div>...
/** * @license * Copyright (c) 2020 Google Inc. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * Code distributed by Google as part of this project is also * subject to an additional IP rights grant found at * http://polymer.github.io...
import React, { FunctionComponent } from 'react' import { View, Text, StyleSheet, ViewStyle, StyleProp } from 'react-native' import { Colors, Typography } from '../../styles' type Props = Readonly<{ style?: StyleProp<ViewStyle> label: string }> const Tag: FunctionComponent<Props> = (props) => { return ( <V...
import { Object3d } from "../../core/Object3d"; export class Mesh extends Object3d { constructor(name: string = 'plan', v, vn, vt, ind) { super(name) // console.log(arguments,name) this._gemotry.setVertices(v) this._gemotry.setTextCoords(vt) this._gemotry.setNormals(vn) this._gemotry.setIn...
import { NgModule } from '@angular/core'; import { ThemeModule } from '../../@theme/theme.module'; import { NbCardModule, NbButtonModule, NbInputModule, NbIconModule, NbDialogModule, NbTooltipModule, NbBadgeModule, NbSelectModule, NbRouteTabsetModule, NbSpinnerModule, NbSidebarModule, NbLayoutModule, NbAct...
import { CSSProperties } from 'react'; import { Card } from 'react-bootstrap'; import { getDateDiffToToday } from 'lib/date/getDateDiffToToday'; import { Survey, SurveyFilter } from 'lib/types/Survey'; import styles from 'styles/Card.module.scss'; type Props = { survey: Survey; filter?: SurveyFilter; onClick: (...
import type { VNode } from "preact"; import renderToString from "preact-render-to-string"; export default function render(node: VNode): string { return `<!DOCTYPE html>${renderToString(node)}`; }
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger'; import { IsIn, IsInt, IsString } from 'class-validator'; import { posessionEnum } from 'src/common/enums/possession.enum'; import { enumToArray } from 'src/core/utils/helper'; export class PermissionDTO { @ApiProperty({ example: 1 }) @IsInt({ alwa...
import { promisify } from 'util'; import * as Axios from 'axios'; import * as jsonwebtoken from 'jsonwebtoken'; import * as jwkToPem from 'jwk-to-pem'; export interface ClaimVerifyRequest { readonly token?: string; } export interface ClaimVerifyResult { readonly userName: string; readonly clientId: string; re...
/* * CloudBeaver - Cloud Database Manager * Copyright (C) 2020-2021 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ import { observer } from 'mobx-react-lite'; import styled, { css } from 'reshadow'; import { Butto...
import * as React from 'react'; import {StyleSheet, View} from 'react-native'; import Animated, {Value} from 'react-native-reanimated'; import {LinearGradient} from 'react-native-linear-gradient'; import {mix} from 'react-native-redash'; import StyleGuide from './StyleGuide'; import Text from './Text'; import TapHandl...
/* * Copyright 2018-2021 Elyra 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 agreed ...
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient"; import { PutKeyPolicyRequest } from "../models/models_0"; import { deserializeAws_json1_1PutKeyPolicyCommand, serializeAws_json1_1PutKeyPolicyCommand, } from "../protocols/Aws_json1_1"; import { getSerdePlugin } from "@aw...
import React from "react" import { BrowserRouter as Router, Switch, Route } from "react-router-dom" import Home from "./pages/Home" import About from "./pages/About" import Data from "./pages/Data" import Privacy from "./pages/policy/Privacy" import Terms from "./pages/policy/Terms" import { useCookieConsent } from "./...
import { DefaultOptions } from '../../submission/default-options.interface'; export interface DiscordNotificationOptions extends DefaultOptions { useTitle: boolean; }
export * from '../ethereum'; export { GenericAccountId } from './AccountId'; export { GenericAccountIndex } from './AccountIndex'; export { GenericBlock } from './Block'; export { GenericCall } from './Call'; export { GenericChainProperties } from './ChainProperties'; export { GenericConsensusEngineId } from './Consens...
/*--------------------------------------------------------------------------------------------- * 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. */ import axios from "axios"; import { Stream } from "stream"; import * as tar from "tar-stream"; import * as zlib from "zlib"; export interface IPackageDetails { dist: { tarball: string, }; } /** * ...
import { meetergo } from "./main"; window.meetergo = meetergo;
import { Injectable } from '@ts-stack/di'; @Injectable() export class FirstMultiProviderService { prop = 'from FirstModule'; }
import "./scss/index.scss"; import * as React from "react"; import { FormAddressType } from "./types"; const AddressSummary: React.FC<{ address?: FormAddressType; email?: string; paragraphRef?: React.RefObject<HTMLParagraphElement>; }> = ({ address, email, paragraphRef }) => { if (address) { return ( ...
import { Component, Directive, Input, ContentChildren, OnInit, OnDestroy, forwardRef, Inject, QueryList, SecurityContext, Optional, } from '@angular/core'; import { Router } from '@angular/router'; import { SafeResourceUrl, SafeStyle, DomSanitizer } from '@angular/platform-browser'; import { MatDr...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
import { formid, ubyte } from "../../../types"; import { ESMBuffer } from "../../../util"; import { Subrecord } from "./Subrecord"; export class XLOC extends Subrecord { constructor(buf: ESMBuffer) { super('XLOC', buf, false); buf.advance(this.subrecordDataLength); } }
import "@material/mwc-list/mwc-list-item"; import "@material/mwc-select"; import { html, LitElement, PropertyValues } from "lit"; import { customElement, property, state } from "lit/decorators"; import { fireEvent } from "../../../../../common/dom/fire_event"; import { caseInsensitiveStringCompare } from "../../../../....
import React from 'react'; import PropTypes from 'prop-types'; import { useQuery } from '@apollo/client'; import { LOAD_SINGLE_JOB } from 'GraphQL/Queries'; export interface Job { id: string; title: string; type: string; company: string; description: string; url: string; location: string; created_at: ...
interface JQuery { treetable(options?: any, force?: boolean): any; }
import { combineReducers } from 'redux' import { useSelector as useReduxSelector, TypedUseSelectorHook } from 'react-redux' import userReducer from './user/reducers' import homeReducer from './home/reducers' const rootReducer = combineReducers({ user: userReducer, home: homeReducer }) export type RootState = ...
import type { FSModule } from "browserfs/dist/node/core/FS"; export type FileSystemContextState = { fs: FSModule | null; };
// See http://docs.sequelizejs.com/en/latest/docs/models-definition/ // for more of what you can do here. import { Sequelize, DataTypes, Model, ModelCtor, Optional } from "sequelize"; import { Application } from "../declarations"; import { HookReturn } from "sequelize/types/lib/hooks"; export interface UserPassAttribu...
export class List { _id: string = ""; title: string = ""; }
import { BelongsTo, Column, ForeignKey, HasMany, Model, Table, } from 'sequelize-typescript'; import { Board } from '../boards/board.entity'; import { Card } from '../cards/card.entity'; @Table export class List extends Model<List> { @Column name: string; @ForeignKey(() => Board) @Column boardId...
import React from "react"; import {test} from "./controller/testController"; // import {hot} from "react-hot-loader/root"; const App = () => { const handleSubmit = () => { test().then(res => console.log(res)).catch(err => console.error()); } return( <div> <form onSubmit={handle...
/** * Copyright 2021 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 { Terraform as TerraformCommandHandlerAWS } from '../../../src/terraform'; import tl = require('azure-pipelines-task-lib'); let backend:any = "aws" let provider:any = "s3" let terraformCommandHandlerAWS: TerraformCommandHandlerAWS = new TerraformCommandHandlerAWS(backend, provider); export async function run()...
export { ZBJsonLogger } from './lib/ZBJsonLogger' export { BpmnParser } from './lib/BpmnParser' export * from './lib/interfaces' export * from './lib/interfaces-published-contract' export * from './lib/interfaces-grpc' export * from './zb/ZBClient' export * from './zb/ZBWorker' export { ZBLogger } from './lib/ZBLogger'...
export class User { username : string; fullname : string; roles: string[]; }
/** * @license * Copyright Color-Coding Studio. All Rights Reserved. * * Use of this source code is governed by an Apache License, Version 2.0 * that can be found in the LICENSE file at http://www.apache.org/licenses/LICENSE-2.0 */ namespace approvalprocess { export namespace app { /** 应用-审批请求 */ ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as loginPage from '../../Base/pages/Login.po'; import { LoginPageData } from '../../Base/pagedata/LoginPageData'; import * as employeeDashboard from '../../Base/pages/EmployeeDashboardTest.po'; import { EmployeeDashboardPageData } from '../../Base/pagedata/EmployeeDashboardPageData'; import * as dashboardPage ...
import chalk from 'chalk' import * as fs from 'fs' import { GraphQLObjectType, GraphQLSchema, isObjectType } from 'graphql' import * as inquirer from 'inquirer' import * as yaml from 'js-yaml' import { join } from 'path' import * as prettier from 'prettier' import { DatabaseType, DefaultParser, ISDL } from 'prisma-data...
import { IsOptional, IsString } from 'class-validator' export class UpdateUserPropertyDto { @IsString() @IsOptional() displayName?: string @IsString() @IsOptional() description?: string }
import { ActFact, ActObject, FactType, LoadingStatus } from './types'; import { SimpleSearch } from '../backend/SimpleSearchBackendStore'; export const objectTypes = { incident: { id: 'incidentId', name: 'incident' }, ipv4: { id: 'ipv4id', name: 'ipv4' }, report: { id: 'reportId', name: 'report' }, threatActor...
/* MIT License Copyright (c) 2020 Looker Data Sciences, Inc. 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, copy, modi...
import * as common from '../../support/common'; describe('Stocked items', () => { beforeEach(() => { common.login(true); cy.visit('/stock/stockeditems'); cy.wait(1000); }); it('List stocked items', () => { cy.screenshot('stocked-items_list'); }); it('Add new storage'...
import ScscChain from './' import { IPFS, createNode } from 'ipfs' import ScscBlock from '../block' import { expect } from 'chai' describe('ScscChain class', () => { const startIpfs = (): Promise<IPFS> => { const newIpfs = createNode() return new Promise((resolve, reject) => { newIpfs.on('ready', asy...
import {inject,injectable} from 'tsyringe'; import AppError from '@shared/errors/AppError'; import User from '@modules/users/infra/typeorm/models/Users'; import IUsersRepository from '../Repositories/IUsersRepository'; import IHashProvider from '../providers/HashProvider/models/IHashProvider'; interface Request { n...
import { InputHTMLAttributes } from "react"; import styled from "styled-components"; interface StyledRangeProps extends InputHTMLAttributes<Range> { position?: number; } interface StyledDisabledProps { disabled: boolean; } export const Container = styled.div` width: 282px; height: 120px; display: flex; ...
import { Junk } from "./junk"; export interface Order { id: string; version: number; status: string; expiresAt: string; userId: string; junk: Junk; }
import { CurrencyPair } from "../../types/KrakenCommonDataTypes"; interface KrakenCurrencyPair { wsname: CurrencyPair } export interface KrakenAssetPairsResult { error: string[], result: {[altname: string]: KrakenCurrencyPair} }
export const global_warning_color_200: { "name": "--pf-global--warning-color--200", "value": "#795600", "var": "var(--pf-global--warning-color--200)" }; export default global_warning_color_200;
export interface Categories { _id: string; expanded?: boolean; children: string[]; }
import { Container } from 'inversify'; import { DependencyBuilder } from '../../libs/ioc/DependencyBuilder'; import { IAwsClientConfig } from '../../libs/aws/interfaces/IAwsClientConfig'; import { IAwsBucketConfig } from '../../libs/aws/interfaces/IAwsBucketConfig'; import { AwsBucketKeys } from '../../libs/aws/BucketK...
/// <reference path="royalslider.d.ts" /> $(".royalSlider").royalSlider(); $(".royalSlider").royalSlider({ // options go here // as an example, enable keyboard arrows nav keyboardNavEnabled: true }); jQuery(document).ready(function () { $(".royalSlider").royalSlider({ // general options go ge...
import { newE2EPage } from '@stencil/core/testing'; describe('uk-dropdown', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<uk-dropdown></uk-dropdown>'); const element = await page.find('uk-dropdown'); expect(element).toHaveClass('hydrated'); }); });
/** * Angular 2 directive that turn element to slider handle. * Created by Targus on 23.03.2016. * Last changed: 15.04.2016 * * @version 1.0.4 * @author Bogdan Shapoval (targus) <it.targus@gmail.com> */ import { Renderer, ElementRef, EventEmitter, QueryList, ViewContainerRef } from '@angular/core'; import { Ng2S...
// deno-lint-ignore-file no-explicit-any class Console { stdin = Deno.stdin; stdout = Deno.stdout; buffer = new Uint8Array(1024) encoder = new TextEncoder() public Read(question: string): string { this.stdout.writeSync(this.encoder.encode(question)); const answer: any = this.stdin.readSync(this.buff...
import { ApRegex } from '../../barrels/am-regex'; import { interfaces } from '../../barrels/interfaces'; export function makeDoubleDeps(item: { models: interfaces.Model[] }) { item.models.forEach(x => { x.sql_always_where_calc_double_deps = {}; if ( typeof x.sql_always_where_calc === 'undefined' || ...
/* Copyright 2021, Milkdown by Mirone. */ import type { $Slice, Container, Slice } from '../context'; import type { Clock, Timer } from '../timing'; /** * The ctx object that can be accessed in plugin and action. */ export class Ctx { #container: Container; #clock: Clock; constructor(container: Containe...
export const reverse = (str: string) => { // console.log(str.split("").reverse()); // 3rd return str.split("").reduce((reversed, chr) => chr + reversed, ""); // 2nd // let reversed = ""; // for (let chr of str) { // reversed = chr + reversed; // }; // return reversed; // 1s...
import { APP_BASE_HREF } from '@angular/common'; import { Provider } from '@angular/core'; export interface RenderUrlConfig { req: any; res: any; url: string; indexHtml: string; providers?: Provider[]; } // helper method that generates html of an url export const renderUrl = async (options: RenderUrlConfig)...
import { Query, TimeDimensionBase, TimeDimensionGranularity, TransformedQuery, } from '@cubejs-client/core'; import { camelCase } from 'camel-case'; import { QueryMemberKey } from '../../types'; import { RollupSettings } from './components/Settings'; export type PreAggregationReferences = { measures: string...
/* * Copyright (c) 2018, Gnock * Copyright (c) 2018, The Masari Project * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of cond...
import fs from 'fs' import path from 'path' import fetch from 'node-fetch' const { NODE_ENV, GITHUB_TOKEN } = process.env const isProduction = NODE_ENV === 'production' type transformer = (data: any) => Promise<ghRepositoryInput>[] const ghRunQuery = (query: string) => fetch('https://api.github.com/graphql', { ...
/** * Copyright 2020 Angus.Fenying <fenying@litert.org> * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
<TS language="es_AR" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Click derecho para editar la dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> ...
import React, { useState } from 'react'; import { EuiButton, EuiButtonEmpty, EuiFlexGroup, EuiFlexItem, EuiFlyout, EuiFlyoutBody, EuiFlyoutFooter, EuiFlyoutHeader, EuiSpacer, EuiTab, EuiTabs, EuiText, EuiTitle, } from '../../../../src/components'; import { useGeneratedHtmlId } from '../../../...
import { storiesOf } from '@storybook/react'; import * as React from 'react'; import Screener from 'screener-storybook/src/screener'; import { Avatar, AvatarProps, AvatarSizeValue, avatarSizeValues } from '@fluentui/react-avatar'; import { Stack } from '@fluentui/react'; import { ContactIcon, GroupIcon, TelemarketerIco...
import { MiddlewareConsumer, Module, NestModule } from '@nestjs/common'; import { LoggerMiddleware } from './logger/logger.middleware'; import { AppController } from './app.controller'; import { TypeOrmModule } from '@nestjs/typeorm'; import { ConfigModule } from '@nestjs/config'; import emailConfig from 'src/config/e...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* MIT License Copyright (c) 2019 Looker Data Sciences, Inc. 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, copy, modi...
/** * Registry of Open Community Challenges API * The OpenAPI specification implemented by the Challenge Registries. # Introduction TBA * * The version of the OpenAPI document: 0.6.0 * Contact: thomas.schaffter@sagebionetworks.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_UY" version="2.0"> <context> <name>AboutDialog</name> <message> <source>About Dogecoin Core</source> <translation type="unfinished"/> </message> <message> <source>&lt;b&gt;Dogecoin Core&lt;/b&gt; version</source> <transl...
import React, { FunctionComponent, useState, useEffect } from 'react'; import { Modal, Button, Container, ModalDialog } from 'react-bootstrap'; import './HelpModal.scss'; import Draggable from 'react-draggable'; import styled from 'styled-components'; import TooltipIcon from 'components/common/TooltipIcon'; import Help...
"use strict"; /* * Copyright (C) 1998-2018 by Northwoods Software Corporation. All Rights Reserved. */ import * as go from "../release/go"; // A custom TreeLayout that requires a "Split" node and a "Merge" node, by category. // The "Split" node should be the root of a tree-like structure if one excludes links to the...
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core'; import {AbstractControl, FormArray, FormBuilder, FormGroup, Validators,} from '@angular/forms'; import {v4 as uuid} from 'uuid'; import {Observable} from 'rxjs'; import { Course, CourseCategory, CourseCreate, CourseDatabaseService, ...
import axios, { AxiosRequestConfig, Method } from "axios"; import sha256 from "crypto-js/sha256"; import Hex from "crypto-js/enc-hex"; import lightningPayReq from "bolt11"; import HashKeySigner from "~/common/utils/signer"; import Connector, { SendPaymentArgs, SendPaymentResponse, CheckPaymentArgs, CheckPayment...
/* tslint:disable */ /* eslint-disable */ // This file was automatically generated and should not be edited. //============================================================== // START Enums and Input Objects //============================================================== export enum AccountErrorCode { ACTIVATE_OWN_...
// 第一步 // import axios, {Canceler, AxiosResponse} from 'axios'; // import qs from 'qs'; /** * 有个想法,页面中请求的借口,随页面销毁,一起中断请求 * 大概思路 * 收集页面请求的接口,以键值对的方式存储(key 为页面路径,value 为页面上所有触发请求的接口) 'pages/info/index': [] * 可能需要 executionAjax 暴露这个出去,主要为了和上面进行匹配,判断哪些接口是请求完成的,以请求路径做对比 * 最后通过 Vue.mixin 混入 beforeDestroy,再这进行中断处理 */ ...
// (C) Copyright 2015 Martin Dougiamas // // 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 agre...
import { Component, OnInit } from "@angular/core"; import { MatDialog } from "@angular/material/dialog"; import { Router } from "@angular/router"; import { ApprovedModelComponent } from "../approved-model/approved-model.component"; import { FilterComponent } from "../filter/filter.component"; import { VendorActionsComp...
export const IconLetterR = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path stroke="none" d="M0 0h24v24H0z" fill="none"/> <path d="M7 20v-16h5.5a4 4 0 0 1 0 9h-5.5" /> <line x1="12" y1="13" x2="17" y2="20" /> </svg> `
import type { LoaderFunction } from "remix"; import { useLoaderData } from "remix"; import { json } from "remix"; import { Links, LiveReload, Meta, Scripts, ScrollRestoration } from "remix"; type LoaderData = { message: string }; export const loader: LoaderFunction = async () => { const data = await fetch("https://...