text stringlengths 10 953k |
|---|
export * from './sentry.service'; |
import ThemeProvider from "@mui/material/styles/ThemeProvider";
import "./App.css";
import ApplicantsPage from "./features/applicantsPage/ApplicantsPage";
import { theme } from "./themes/Theme";
function App() {
return (
<ThemeProvider theme={theme}>
<div className="App">
<header className="App-hea... |
import { Component } from '@angular/core';
@Component({
moduleId: module.id,
selector: 'commodity-search',
templateUrl: 'commodity-search.component.html',
})
export class CommoditySearchComponent {
} |
import TestBase from "../../../TestBase";
export default class extends TestBase {
getDescription() {
return '"apply" tag applies the filter on "for" tags';
}
getTemplates() {
return {
'index.twig': `
{% apply upper %}
{% for item in items %}
{{ item }}
{% endfor %}
{% endapply ... |
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
import { SearchDashboardsRequest, SearchDashboardsResponse } from "../models/models_1";
import {
deserializeAws_restJson1SearchDashboardsCommand,
serializeAws_restJson1SearchDashboardsCommand,
} from "../pro... |
import Evaluater from '../src/evaluater';
import BenchStatus from '../src/benchStatus';
describe('Evaluater tests', () => {
it('Evaluater evaluate function', () => {
const bm = new Evaluater();
let flag: boolean = false;
const f = bm.eval((v: boolean) => (flag = v), {});
f(true);
expect(flag).toB... |
import type { AxiosRequestConfig } from 'axios';
import { default as axios } from 'axios';
import type { Primitive } from 'utility-types';
const DOMAIN = process.env.DOMAIN ?? 'https://tasks-api-express.herokuapp.com';
const paramsSerializer = (params: {
[key: string]: Primitive | Primitive[];
}) => {
const searc... |
import tasks from './';
export type RootTasksType = keyof typeof tasks;
export interface TaskFuncBaseProps {
gl: WebGLRenderingContext;
}
export type TaskFunc = (props: TaskFuncBaseProps) => void; |
import { Avslagsårsaker, Avtale, Maal, TilskuddsPeriode } from '@/types/avtale';
import { Kvalifiseringsgruppe } from '@/AvtaleSide/steg/BeregningTilskudd/Kvalifiseringsgruppe';
import { Formidlingsgruppe } from '@/AvtaleSide/steg/BeregningTilskudd/Formidlingsgruppe';
const maalListe: Maal[] = [
{
id: 'c96... |
export const CONFIGURACOES_MQTT = {
habilitarTopicosSucessoFalha: false,
objetoRespostaBackEnd: 'resultado',
objetoArrayInternoRespostaBackEnd: 'resultadoInterno',
topicoFalha: 'falha',
topicoSucesso: 'sucesso',
}; |
import { StyleSheet } from 'react-native';
import { theme } from '../../global/styles/theme';
export const styles = StyleSheet.create({
container: {
width: '78%',
height: 1,
backgroundColor: theme.colors.secondary40,
alignSelf: 'flex-end',
},
}); |
/**
* IMPORTANT NOTICE:
* If you are using libepir on browsers, please import `src_ts/wasm.ts` directory
* instead of using this file nor using built JS files in `dist` since WebWorker code
* won't work correctly.
*/
import { createEpir, createDecryptionContext } from './addon';
export { createEpir, createDecrypt... |
import * as express from 'express'
import * as fs from 'fs'
import * as path from 'path'
import * as https from 'https'
import { Logger } from '@hmcts/nodejs-logging'
const logger = Logger.getLogger('applicationRunner')
export class ApplicationRunner {
static run (app: express.Application): void {
const port = ... |
import * as React from "react"
import colors from "../../styles/colors"
import Popup from "../../components/Popup"
import generic from "../generic"
import CodeArea from "../../components/CodeArea"
import useFieldArrayArgument from "../../components/codeExamples/useFieldArrayArgument"
import typographyStyles from "../..... |
import React from 'react';
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
import './App.global.css';
import HelloPage from './pages/Hello.page';
import GetClipsPage from './pages/GetClips.page';
import UpdatePage from './pages/Update.page';
import { ContextProvider } from './client/context... |
import { Injectable } from '@nestjs/common';
import { OptionAddon } from './option-addon.entity';
import { Repository } from 'typeorm';
import { InjectRepository } from '@nestjs/typeorm';
import { SkiperProductCommerceService } from '../skiper-product-commerce/skiper-product-commerce.service';
import { OptionAddonInput... |
/**
* Copyright (c) 2020 Jo Shinonome
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
import * as fs from 'fs';
import * as q from 'node-q';
import { homedir } from 'os';
import { commands, Uri, window, workspace } from 'vscode';
import HistoryTreeItem from '../items/... |
import Bottleneck from 'bottleneck'
import crypto = require('crypto')
import http = require('http')
import * as _ from 'lodash'
import * as qs from 'querystring'
import request = require('request')
import { Response } from 'request'
import {
CallbacksApi as ActionsCallbacksApi,
DefinitionsApi as ActionsDefinitionsA... |
import { Command } from 'commander';
import Joi from 'joi';
import consola from 'consola';
import { loadAndParseVariables } from '../services/VariablesParser';
interface Options {
path: string;
environment?: string;
}
const Options = {
schema: Joi.object({
path: Joi.string(),
environment: Joi.string(),
... |
import { Config } from './config';
import { getJSModules, getPlatformElement, getPluginPlatform, getPlugins, getPluginType, printPlugins, Plugin, PluginType } from './plugin';
import { copySync, ensureDirSync, readFileAsync, removeSync, writeFileAsync } from './util/fs';
import { join, resolve } from 'path';
import { b... |
import * as inversify from 'inversify';
import mongoose from 'mongoose';
import { EntityMongoModelName } from '../../../common/models/mongo/EntityMongoModelName';
import { EntityMongoSchemaContainer } from '../../../common/models/mongo/EntityMongoSchemaContainer';
import { UserMongo } from './UserMongo';
@inversify.i... |
import type { EmotionCache } from '@emotion/react';
import { CacheProvider } from '@emotion/react';
import { ThemeProvider as MuiThemeProvider } from '@mui/material';
import type { FC } from 'react';
import { QueryClient, QueryClientProvider } from 'react-query';
import { createEmotionCache } from '@/core/nextjs/creat... |
import { MdKeyboardArrowDown } from "react-icons/md";
import styled, { css, keyframes } from "styled-components/macro";
import isActiveLanguageLogographic from "../../helpers/isActiveLanguageLogographic";
import { BorderlessButtonStyle } from "../../style/mixins";
import TokenLogo from "../TokenLogo/TokenLogo";
impor... |
/**
* @license Copyright 2017 The Lighthouse Authors. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applica... |
import * as moment from 'moment';
import * as _ from 'lodash';
import { getKnexConnection } from '../knex';
import { getLastInsertedId } from '../utils/db-utils';
import {
OptionInsertObject,
OptionInsertResultObject,
} from '../model/option';
const knex = getKnexConnection();
export async function insertOptionTo... |
export const ROOM_ID_PREFIX_LEN = 32;
export type NetworkStatus =
| { type: "CONNECTING_SEED_PEERS" }
| { type: "NEW_CONNECTION"; peerIndex: number }
| { type: "CONNECTION_CLOSED"; peerIndex: number }
| { type: "INITIALIZING_PEER"; peerIndex: number }
| { type: "RECONNECTING"; peerIndex: number }
| { type:... |
import React, { Fragment, useRef } from 'react'
import getDirection from 'direction'
import { Editor, Node, Range, Element as SlateElement } from 'slate'
import Text from './text'
import useChildren from '../hooks/use-children'
import { ReactEditor, useSlateStatic, useReadOnly } from '..'
import { useIsomorphicLayoutE... |
<TS language="tr" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Adresi ya da etiketi değiştirmek için sağ tuşa tıklayın</translation>
</message>
<message>
<source>Create a new address</source>
... |
import { Command } from "@enitoni/gears-discordjs";
import { matchPrefixesStrict } from "../../../common/matching/matchPrefixesStrict";
import knex from "../../../../db/knex";
import { Message } from "discord.js";
import { createMetadata } from "../help/createMetadata";
import {
Cooldown,
setCooldown
} from "... |
import {Component, OnInit} from '@angular/core';
import {LogService} from '../../utils/log.service';
@Component({
selector: 'app-log',
templateUrl: './log.component.html',
styleUrls: ['./log.component.scss']
})
export class LogComponent implements OnInit {
constructor(public logs: LogService) {
}
ngOnIni... |
/*eslint-disable max-classes-per-file*/
import { Injectable, InjectionToken, Injector, Optional, Type } from "@angular/core";
import { resolveMock } from "./resolveMock";
import { It } from "moq.ts";
import { IParameter } from "./types";
import { moqInjectorProvidersFactory } from "./index";
import { ProviderFactory } ... |
/*
* Copyright 2022 Salto Labs 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 ... |
import {
IChart,
IConfig,
identity,
IOnCanvasClick,
IOnCanvasDrop,
IOnDeleteKey,
IOnDragCanvas,
IOnDragCanvasStop,
IOnDragNode,
IOnDragNodeStop,
IOnLinkCancel,
IOnLinkClick,
IOnLinkComplete,
IOnLinkMouseEnter,
IOnLinkMouseLeave,
IOnLinkMove,
IOnLinkStart,
IOnNodeClick,
IOnNodeDoubl... |
import React, { useState, useMemo, useCallback } from 'react';
// create context
interface ISidebarContext{
isSidebarOpen: boolean
closeSidebar: () => void
toggleSidebar: () => void
}
export const SidebarContext = React.createContext<ISidebarContext>({ isSidebarOpen: false, closeSidebar: () => { }, toggleSideb... |
import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { action } from '@ember/object';
export default class extends Component {
@tracked label = 'Full Name of the Issuer';
@tracked value = 'Gary Walker';
@tracked mode = 'edit';
@tracked id = 'sample-field';
@tracked l... |
export default interface IProps {
boardHeight: string;
} |
import * as React from 'react';
import styles from './AnchorHeading.module.scss';
export interface AnchorHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
// This restriction may be a bit naive, but I don't see anyone using booleans
// or numbers inside a heading. 🙄
children: string | React.ReactElem... |
import {Component, Input, OnInit} from '@angular/core';
import {SurveyResult} from '@core/models';
@Component({
selector: 'app-survey-result-table',
templateUrl: './survey-result-table.component.html',
styleUrls: ['./survey-result-table.component.scss']
})
export class SurveyResultTableComponent implements OnIni... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*----------------------------------------------------------------------... |
// (C) 2019-2022 GoodData Corporation
import format from "date-fns/format";
import isString from "lodash/isString";
import capitalize from "lodash/capitalize";
import { ILocale, getIntl } from "@gooddata/sdk-ui";
import { granularityIntlCodes } from "../../constants/i18n";
import { IMessageTranslator, IDateAndMessageTr... |
/**
* (string) Remove the first character
* @function rmFirstChar
* @param {String} str
* @returns {String} string modified
*/
export function rmFirstChar(str: string): string;
/**
* (string) Remove the last character
* @function rmLastChar
* @param {String} str
* @returns {String} string modified
*/
export f... |
const input = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
const output = "NOPQRSTUVWXYZABCDEFGHIJKLMnopqrstuvwxyzabcdefghijklm".split("");
interface i {
[key: string]: string;
}
const lookUp: i = input.reduce(
(m, k, i) =>
Object.assign(m, {
[k]: output[i]
}),
{}
);
const lo... |
/*
* Copyright (C) 2017-2019 HERE Europe B.V.
* Licensed under Apache 2.0, see full license in LICENSE
* SPDX-License-Identifier: Apache-2.0
*/
import { GeoCoordinates } from "@here/harp-geoutils";
import { CopyrightElementHandler, MapView, MapViewEventNames } from "@here/harp-mapview";
import { APIFormat, OmvDataS... |
export const compareObjs = (fObj, sObj): boolean => {
return JSON.stringify(fObj) === JSON.stringify(sObj);
}; |
import { ArrayResponse } from '../../../../../types/response'
import { Response } from './Response.class'
export class ArrayAnswerResponse extends Response {
private response: ArrayResponse
constructor(responseData: ArrayResponse) {
super(responseData)
this.response = responseData
}
getAnswer(): str... |
import { Cupcake } from "../../";
export = Cupcake; |
export interface IBibleVersion {
key: string;
versionName: string;
language: string;
apiUrl: string;
}
export const BibleVersionCollection: IBibleVersion[] = [
{
key: 'web',
versionName: 'World English Bible',
language: 'English',
apiUrl: 'https://bible-api.com',
},
{
key: 'clementine... |
export * from './common'
export * from './rt'
export * from './spec' |
/*
* Copyright (C) 2017 OrionStar Technology Project
*
* 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 ... |
import { FontData } from 'rpgcore-common/types';
import * as URI from 'urijs';
import { IOLifeCycle } from 'IO/lifecycle';
import * as ImGui from 'ImGui/imgui';
import { KeyCodes } from 'IO/codes';
import { ImGuiIOConnector } from 'IO/imgui';
import { ImGuiImplWebGl } from 'GL/components/imgui-impl-webgl';
import { Ga... |
import { Component, ChangeDetectionStrategy } from '@angular/core';
@Component({
changeDetection: ChangeDetectionStrategy.OnPush,
selector: 'tac-loader-cover',
styles: [`
.tac-loader-cover--overlay {
position: absolute;
top: 0;
right: 0;
left: 0;
... |
import ma = require('vsts-task-lib/mock-answer');
import tmrm = require('vsts-task-lib/mock-run');
import path = require('path');
let taskPath = path.join(__dirname, '..', 'gradletask.js');
let tr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath);
//escape for Windows directories
let tempDir: string = path.jo... |
import { ComponentContainer } from '../ComponentContainer';
import {FontAwesome} from "../FontAwesome";
/**
* Figure component
*
* @copyright Benoit Gauthier <bgauthier555@gmail.com>
* @author Benoit Gauthier <bgauthier555@gmail.com>
* @licence MIT
* @class
* @inheritdoc
* @public
* @see https://developer.moz... |
import { Component, OnInit, ViewChild } from "@angular/core";
import { FeatureFlagService } from "@services/feature-flag.service";
import { ActivatedRoute } from "@angular/router";
import { of, Observable } from "rxjs";
import { AccountProfileComponent } from "@components/account-profile/account-profile.component";
imp... |
import { Test, TestingModule } from '@nestjs/testing';
import { MembersService } from './members.service';
describe('membersService', () => {
let service: MembersService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [MembersService],
}).compile()... |
/**
* Represents a twirp error
*/
export class TwirpError extends Error {
public readonly msg: string;
public readonly code: TwirpErrorCode = TwirpErrorCode.Internal;
public readonly meta: Record<string, string> = {};
private _originalCause?: Error;
constructor(code: TwirpErrorCode, msg: string)... |
import { DependsOn, getDependsOnMetadata } from "@entity-routes/core";
describe("@DependsOn", () => {
it("can retrieve metadata with getDependsOnMetadata", () => {
class User {
id: number;
name: string;
@DependsOn(["id", "name"])
getIdentifier() {
... |
import { Injectable } from '@angular/core';
import { Http, Headers, RequestOptions, Response } from '@angular/http';
import * as _ from 'underscore';
@Injectable()
export class SkillService {
skillData = []
categoriesData = [];
skillsList = [];
skillsSetData = [];
setSkillsSetCollection(respon... |
import { alert } from 'sketch/ui'
import { Document } from 'sketch/dom'
import { targetFolder, getConfig } from './util/fs'
import { generateColors } from './generate/color'
import { generateFonts } from './generate/font'
import { generateTextStyles } from './generate/text'
import { generateAssets } from './generate/as... |
import { connectRouter } from "connected-react-router";
import { createBrowserHistory } from "history";
export const history = createBrowserHistory();
const routerReducer = connectRouter(history);
export default routerReducer; |
import * as Chunk from "../src/Collections/Immutable/Chunk"
import * as Tp from "../src/Collections/Immutable/Tuple"
import * as T from "../src/Effect"
import * as Ex from "../src/Exit"
import { pipe } from "../src/Function"
import * as M from "../src/Managed"
import * as Pool from "../src/Pool"
import * as P from "../... |
export * from './orderlist.component'; |
import {
_EstimatedResourceSize,
_UnmarshalledEstimatedResourceSize
} from "./_EstimatedResourceSize";
/**
* <p>Statistics information about the channel.</p>
*/
export interface _ChannelStatistics {
/**
* <p>The estimated size of the channel.</p>
*/
size?: _EstimatedResourceSize;
}
export interface _U... |
/** prompts for file and returns contents */
const getFileContents = (): Promise<string> =>
new Promise((resolve, reject) => {
const fileInput = document.createElement('input');
fileInput.type = 'file';
fileInput.onchange = (e) => {
const target = e.target as HTMLInputElement;
const { files }... |
<TS language="lt" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Spustelėkite dešinįjį klaviša norint keisti adresą arba etiketę</translation>
</message>
<message>
<source>Create a new address</so... |
import { NgModule } from '@angular/core';
import { NgxLeafletLocateComponent } from './ngx-leaflet-locate.component';
@NgModule({
declarations: [NgxLeafletLocateComponent],
imports: [],
exports: [
NgxLeafletLocateComponent,
]
})
export class NgxLeafletLocateModule { } |
/**
* Copyright (c) 2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import { Color } from '../../mol-util/color';
import { StructureElement, Bond, Structure } from '../../mol-model/structure';
import { Location } from '../../mo... |
module BABYLON {
class FaceAdjacencies {
public edges = new Array<number>();
public p0: Vector3;
public p1: Vector3;
public p2: Vector3;
public edgesConnectedCount = 0;
}
export class EdgesRenderer {
public edgesWidthScalerForOrthographic = 1000.0;
... |
import Head from 'next/head';
import Link from 'next/link';
import { useEffect } from 'react';
import { useI18n } from 'next-localization';
import { getPublicUrl } from 'lib/util';
import {
Placeholder,
LayoutServiceData,
VisitorIdentification,
useSitecoreContext,
} from '@sitecore-jss/sitecore-jss-nextjs';
imp... |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ApiViewerComponent } from '../shared/api-viewer/api-viewer.component';
import { ComponentViewerComponent } from '../shared/component-viewer/component-viewer/component-viewer.component';
import { MarkdownViewerCom... |
/**
* @license
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors ma... |
import { getStoreItem, serviceLocator, setStoreItem } from '@cromwell/core';
/** @internal */
class CWebSocketClient {
constructor(private baseUrl: string) { }
private socketManager?: WebSocket;
public connectToManager = (onMessage: (message: string) => void): WebSocket => {
if (this.socketManage... |
import { Id } from './id';
describe('Id', () => {
it('should be defined', () => {
const value = "000-1";
const id = new Id(value);
expect(id).toBeDefined();
expect(id.getValue()).toBe(value);
});
}); |
import { BigNumber, Contract, ContractFactory, providers, Wallet, utils } from 'ethers'
import { getContractFactory } from '@eth-optimism/contracts'
import { ethers } from 'hardhat'
import chai, { expect } from 'chai'
import { solidity } from 'ethereum-waffle'
chai.use(solidity)
const abiDecoder = require('web3-eth-abi... |
import { Component, OnInit } from '@angular/core';
import { FormGroup, FormBuilder, Validators } from "@angular/forms";
import { ActivatedRoute, Router } from "@angular/router";
import { FotoService } from "../foto/foto.service";
import { Foto } from "../foto/foto";
@Component({
moduleId: module.id,
selector: 'cada... |
import { VerifiableCredential } from "./VerifiableCredential";
import { JWT } from "./JWT";
import { CredentialFormat } from "./CredentialFormat";
import { DocumentLoader } from "./DocumentLoader";
import { Suite } from "./Suite";
export interface CreateCredentialOptions {
credential: VerifiableCredential | JWT;
... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Comp3682Component } from './comp... |
import * as React from "react";
export function has<X extends {}, Y extends PropertyKey>(
obj: X,
prop: Y
): obj is X & Record<Y, unknown> {
return Object.prototype.hasOwnProperty.call(obj, prop);
}
// source: https://github.com/lukeed/dequal/blob/master/src/lite.js
export function deepEqual(objA: any, objB: an... |
import { getRepository } from 'typeorm'
import { MarketplaceProductAttribute } from '../../../entities'
export const marketplaceProductAttributeResolver = {
async marketplaceProductAttribute(_: any, { name }, context: any) {
const repository = getRepository(MarketplaceProductAttribute)
return await getRepos... |
import { ApiProperty } from '@nestjs/swagger';
export class CreateCatDto {
@ApiProperty({ example: 'dog', description: 'name', required: true })
public name: string;
@ApiProperty({ example: '1', description: 'age', required: true })
public age: number;
@ApiProperty({ example: 'foodle', description: 'breed'... |
// This file is automatically generated. Do not edit.
/* eslint-disable */
declare namespace ReportSearchModuleCssNamespace {
export interface IReportSearchModuleCss {
input: string;
}
}
declare const ReportSearchModuleCssModule: ReportSearchModuleCssNamespace.IReportSearchModuleCss;
export = ReportSearchModu... |
import chalk from "chalk";
import { az, Config, sanitize, saveWorkspace, uuid } from "../../core/utils";
const debug = require("debug")("functions");
module.exports = async function() {
const project: string = Config.get("project");
debug(`using project ${chalk.green(project)}`);
const storage: AzureStorage = C... |
import { Injectable } from '@angular/core';
import { TFOrder } from '../elements/table/tfColumn';
@Injectable()
export class TransformationsService {
msToDurationString(ms: number): string {
if (!ms) { return '0s'; }
const duration = ms / 1000;
const hours = (duration - duration % 3600) / 3600;
cons... |
import {
Component
} from '@angular/core';
import {
SkyModalInstance
} from '@skyux/modals';
import {
SkyProgressIndicatorWaterfallDemoContext
} from './progress-indicator-waterfall-demo-context';
@Component({
selector: 'sky-demo-progress-indicator-waterfall-horizontal',
templateUrl: './progress-indicator-... |
import { Logger } from 'typescript-log'
import webpack from 'webpack'
/*
* The /runtime folder should only contain modules that do not have transitive dependencies!
* All exceptions must either
* - be dynamically imported using require() in development environments
* - be documented in the README and set as produc... |
import { NgModule } from '@angular/core';
import { SharedModule } from '../../shared';
import { LoginComponent } from './login.component';
import { LoginRoutingModule } from './login-routing.module';
@NgModule({
imports: [
SharedModule,
LoginRoutingModule
],
declarations: [
LoginComponent
],
pro... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... |
import * as React from 'react';
import {Jumbotron} from 'react-bootstrap';
const Header = () => (
<header>
<Jumbotron>
A nice header
</Jumbotron>
</header>
);
export default Header; |
import oc from "open-color";
import {
DEFAULT_FONT_FAMILY,
DEFAULT_FONT_SIZE,
DEFAULT_TEXT_ALIGN,
} from "./constants";
import { t } from "./i18n";
import { AppState, NormalizedZoomValue } from "./types";
import { getDateTime } from "./utils";
export const getDefaultAppState = (): Omit<
AppState,
"offsetTop"... |
export const IconBrandOpenSource = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M12 3a9 9 0 0 1 3.618 17.243l-2.193 -5.602a3 3 0 1 0 -2.849 0l-2.193 5.603a9 9 0 0 1 3.617 -17.244z" />
</svg>
` |
/**
* @license
* Copyright 2020 Google LLC. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
import { Injectable, NestInterceptor, ExecutionContext, CallHandler } from "@nestjs/common";
import { Observable } from "rxjs";
import {tap} from 'rxjs/operators'
/**
* NestInterceptor<T,R> 是一个通用接口,
* 其中 T 表示已处理的 Observable<T> 的类型(在流后面),
* 而 R 表示包含在返回的 Observable<R> 中的值的返回类型。
*/
@Injectable()
export class LogginIn... |
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
import { lastDayOfMonthWithOptions } from 'date-fns/fp'
export = lastDayOfMonthWithOptions |
import { Tree } from '@nrwl/tao/src/shared/tree';
import { readJson } from './read-json';
import { NxJsonConfiguration } from '@nrwl/tao/src/shared/nx';
/**
* Returns workspace defaults. It includes defaults folders for apps and libs,
* and the default scope.
*
* Example:
*
* `{ appsDir: 'apps', libsDir: 'libs',... |
import express, { Request, Response, Router } from "express";
import { getAnimeDetails, search } from "animu-desu";
import { AnimeAndDate } from "animu-desu";
const router: Router = express.Router();
router.get(
"/:title/:totalEpisodes/:otherNames/:year",
async (req: Request, res: Response) => {
const { title... |
import { Injectable } from '@angular/core';
import { Observable, BehaviorSubject, of } from 'rxjs';
import { Review } from '../models/review';
import { AngularFireDatabase } from '@angular/fire/database';
import { Store } from '@ngrx/store';
import { AuthState } from '../state/auth/reducers';
import { getUser } from '.... |
import { IAnimationEase } from "../../typedefs";
import { SceneAnimationActor } from "./scene";
export declare enum DisplaceAxis {
X = 0,
Y = 1,
Z = 2
}
export declare enum DisplaceAction {
Translate = 0,
Rotate = 1
}
export declare class DisplaceAnimationActor extends SceneAnimationActor {
prot... |
<TS language="id_ID" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Klik-kanan untuk mengubah alamat atau label</translation>
</message>
<message>
<source>Create a new address</source>
<tr... |
import { IluckySheetborderInfoCellForImp,IluckySheetCelldataValue,IluckySheetCelldataValueMerge,ILuckySheetCellFormat } from "./ILuck";
import { ReadXml, Element, IStyleCollections,getColor,getlineStringAttr } from "./ReadXml";
import {getXmlAttibute, getColumnWidthPixel, getRowHeightPixel,getcellrange, escapeCharacter... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="he" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About CrevaCoin</source>
<translation>אודות לייטקוין</translation>
</m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.