text stringlengths 10 953k |
|---|
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'datePipe'
})
export class DatePipePipe implements PipeTransform {
transform(value: any, ...args: any[]): any {
if (value) {
const seconds = Math.floor((+new Date() - +new Date(value)) / 1000);
if (seconds < 29)
return '... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About TravelFlex</source>
<translation>O TravelFlex</translation>
</me... |
/**
* @classdesc Basic preview strategy. Simply uses the type-defined preview in a connection point.
* @author Orlando
*/
class PreviewConnectionPoint implements Preview {
private point: ConnectionPoint;
private element: HTMLElement;
constructor(point: ConnectionPoint) {
this.point = point;
}
setup(elem... |
import { NextFunction, Request, Response } from 'express';
export const noCache = (
request: Request,
response: Response,
next: NextFunction,
): void => {
response.set(
'cache-control',
'no-store, no-cache, must-revalidate, proxy-revalidate ',
);
response.set('pragma', 'no-cache');
response.set('... |
import * as React from 'react';
import ApolloClient from 'apollo-client';
export interface ApolloConsumerProps {
children: (client: ApolloClient<any>) => React.ReactElement<any> | null;
}
declare const ApolloConsumer: React.StatelessComponent<ApolloConsumerProps>;
export default ApolloConsumer; |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { Editor } from 'slate';
import { createEditorOptions } from '../types/options';
import { PortableTextSlateEditor } from '../types/editor';
export declare const withPortableText: <T extends Editor>(editor: T, options: createEditorOptions) => PortableTextSlateEditor;
//# sourceMappingURL=withPortableText.d.ts.map |
// package: neo.fs.v2.container
// file: container/types.proto
/* tslint:disable */
/* eslint-disable */
import * as jspb from "google-protobuf";
import * as netmap_types_pb from "../netmap/types_pb";
import * as refs_types_pb from "../refs/types_pb";
export class Container extends jspb.Message {
hasVersion():... |
import { FullClaimData } from './EventTypes';
import _ from 'lodash';
import BigNumber from 'bignumber.js';
type IntroducerParams = {
ethAddress: string;
locks: FullClaimData[]; // lock references if the affiliate has locked themselves
references: FullClaimData[]; // locks that references this introducer
};
exp... |
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import { HTMLStencilElement, JSXBase } from '@stencil/core/internal';
import {
MatchResults,
} from '@stencil/router';
export namespace Com... |
import * as Audio from '../../audios';
import * as Asset from '../../assets';
import * as Ui from '../../ui';
import { ISelector } from './ISelector';
/**
* 全てキャッシュに登録されているオーディオのキーを指定する
*/
type SelectorSeConfig = {
rootGroupCanceled?: string;
groupCanceled?: string;
goNext?: string;
select?: string;
};
expo... |
import { createGlobalStyle } from 'styled-components';
export default createGlobalStyle`
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
font-family: sans-serif;
font-size: 14px;
}
body {
width: 100%;
min-height: 100vh;
background-color: rgb(243, 243... |
import { Injectable } from '@nestjs/common';
@Injectable()
export class SermonsService {} |
import { Module } from "@nestjs/common"
import { TypeOrmModule } from "@nestjs/typeorm"
import { Image } from "./image.entity"
import { ImagesController } from "./images.controller"
import { ImagesService } from "./images.service"
@Module({
controllers: [ImagesController],
imports: [TypeOrmModule.forFeature([Imag... |
// (C) Copyright 2015 Moodle Pty Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... |
import { Injectable } from '@angular/core';
import { ParseService } from './parse.service';
import * as Parse from 'parse';
import { HttpClient } from '@angular/common/http';
import { environment } from '../../../environments/environment';
@Injectable()
export class TourService {
dataUpdate: Array<any> = [];
... |
namespace ts {
export function findConfigFile(searchPath: string, fileExists: (fileName: string) => boolean, configName = "tsconfig.json"): string | undefined {
return forEachAncestorDirectory(searchPath, ancestor => {
const fileName = combinePaths(ancestor, configName);
return fileE... |
import { createElement } from "typed-html";
import { LayoutProps, BootstrapLayout } from "./layout";
export const LoginPage = ({ req }: LayoutProps) => (
<BootstrapLayout req={req} title="Log In">
<div class="container">
<div class="row">
<div class="mx-auto">
<div class="form-group">
... |
/* eslint jest/expect-expect: off, jest/no-test-callback: off */
import { ClientFunction, Selector } from 'testcafe';
const getPageUrl = ClientFunction(() => window.location.href);
const getPageTitle = ClientFunction(() => document.title);
const counterSelector = Selector('[data-tid="counter"]');
const buttonsSelector... |
export default {
metadata: {
extractslocationsLabel: "Relevanter Extrakt",
extractslocationsPluralLabel: "Relevante Extrakte",
geoLabel: "Ort",
geoPluralLabel: "Orte",
personLabel: "Person",
personPluralLabel: "Personen",
companyLabel: "Firma",
company... |
import { Assertions, GeneralSteps, Logger, Pipeline, Step } from '@ephox/agar';
import { Element, Html } from '@ephox/sugar';
import PaddingBr from 'tinymce/core/dom/PaddingBr';
import { UnitTest } from '@ephox/bedrock-client';
UnitTest.asynctest('browser.tinymce.core.dom.PaddingBrTest', function () {
const success ... |
import { ActivatedRouteSnapshot, Resolve, RouterStateSnapshot } from '@angular/router';
import { Observable } from "rxjs/Observable";
export interface IBreadcrumb {
text: string,
path: string
}
const _template = require('lodash.template');
const _templateSettings = require('lodash.templatesettings');
export func... |
export type CommandType =
'enter' |
'fetch-post-success' |
'fetch-posts-failure' |
'fetch-posts-request' |
'fetch-posts-success' |
'go-to' |
'history' |
'menu' |
'next' |
'noop' |
'prev' |
'select'; |
import {
CognitoIdentityProviderClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
} from "../CognitoIdentityProviderClient";
import { AdminDeleteUserRequest } from "../models/models_0";
import {
deserializeAws_json1_1AdminDeleteUserCommand,
serializeAws_json1_1AdminDeleteUserCommand,
} from "../pro... |
/**
*
*
* OpenAPI spec version: 20200630
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ... |
export class CreateMovementTypeInput {
readonly name: string;
readonly code: string;
readonly sign: number;
} |
//@target: ES6
class StringIterator {
[Symbol.iterator]: any;
}
for (var v of new StringIterator) { } |
import { defaultRegionInfoProvider } from "./endpoints.ts";
import { Logger as __Logger } from "../types/mod.ts";
/**
* @internal
*/
export const ClientSharedValues = {
apiVersion: "2017-04-19",
disableHostPrefix: false,
logger: {} as __Logger,
regionInfoProvider: defaultRegionInfoProvider,
serviceId: "Cod... |
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
import { IRenderMime } from '@jupyterlab/rendermime-interfaces';
import { RenderedJavaScript } from '@jupyterlab/rendermime';
export const TEXT_JAVASCRIPT_MIMETYPE = 'text/javascript';
export const APPLICATION_JAVAS... |
import styled from "@emotion/styled"
import Github from "./Github"
const Name = styled.div`
text-align: center;
`
const SmallText = styled.p`
font-size: 0.35em;
margin-top: 0.25rem;
text-align: center;
`
export const Footer = () => {
const year = new Date().getFullYear()
return (
<div>
<Github ... |
import { NgModule } from '@angular/core';
import { CommonModule, } from '@angular/common';
import { BrowserModule } from '@angular/platform-browser';
import { Routes, RouterModule } from '@angular/router';
import { ComponentsComponent } from './components/components.component';
import { LandingComponent } from './pag... |
function spawn(spawn: StructureSpawn): void {
}
function isAvailable(spawn: StructureSpawn): boolean {
if (spawn.spawning === null) {
return true
}
else {
return false
}
}
export {
spawn,
isAvailable
}; |
import React, { useRef } from "react";
import { Animated, Easing, I18nManager, StyleSheet, View } from "react-native";
import Box from "../../../Atoms/Box/Box";
import Indicator, { IndicatorProps } from "./indicator";
export type PacmanIndicatorProps = IndicatorProps & {
size?: number;
color?: string;
};
/** A co... |
/* Ref: https://azuremapscodesamples.azurewebsites.net/HTML%20Markers/HtmlMarkerLayer/HTML%20Marker%20Layer.html
* Copyright(c) 2019 Microsoft Corporation. All rights reserved.
*
* This code is licensed under the MIT License (MIT).
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
*... |
import {Component, OnInit} from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '@angular/forms';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.scss']
})
export class LoginComponent implements OnInit {
loginForm: FormGroup;
constr... |
/// <reference path='fourslash.ts' />
////interface MyInt {
//// (): void;
////}
////function MyFn() { return <MyInt>MyFn; }
////var My/**/Var = MyFn();
goTo.marker();
verify.quickInfoIs('var MyVar: MyInt'); |
import { NgModule } from '@angular/core';
<% if (props.lazy) { -%>
import { Routes, RouterModule, PreloadAllModules } from '@angular/router';
import { Shell } from '@app/shell/shell.service';
<% } else { -%>
import { Routes, RouterModule } from '@angular/router';
<% } -%>
const routes: Routes = [
<% if (props.lazy) { ... |
/**
* Generate typescript interface from table schema
* Created by xiamx on 2016-08-10.
*/
import { EnumDefinition, TableDefinition } from './schemaInterfaces'
import Options from './options'
function nameIsReservedKeyword(name: string): boolean {
const reservedKeywords = [
// Reserved Words
'break',
... |
export { getTheme, loadTheme, BUNDLED_THEMES } from 'shiki-themes'
export { BUNDLED_LANGUAGES } from 'shiki-languages'
export { getHighlighter } from './highlighter'
export { renderToHtml } from './renderer'
export { IThemedToken } from './themedTokenizer' |
import React from 'react';
import { BrowserRouter, Route } from 'react-router-dom';
import Landing from './pages/Landing';
import TeacherList from './pages/TeacherList';
import TeacherForm from './pages/TeacherForm';
function Routes() {
return (
<BrowserRouter>
<Route path="/" exact component={Lan... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="cs_CZ">
<context>
<name>Launcher</name>
<message>
<location filename="launcher.cpp" line="34"/>
<source>Launch %1</source>
<translation>Spustit %1</translation>
</message>
<message>
<location... |
import React from "react";
import {
CeleryNode, LegalArgString, If, Execute, Nothing,
SequenceBodyItem, TaggedSequence, LegalSequenceKind,
} from "farmbot";
import {
FLOAT_NUMERIC_FIELDS, NUMERIC_FIELDS, RemoveParams, MoveParams, SpliceParams,
StepParams, StepInputProps, StepTitleBarProps,
} from "../interfaces... |
import { deepMerge, isPlainObject } from "../helpers/util";
import { AxiosRequestConfig } from "../types";
const strats = Object.create(null)
function defaultStart(val1: any, val2: any) {
return typeof val2 !== 'undefined' ? val2 : val1
}
function fromVal2Strat(val1: any, val2: any): any {
if (typeof val2 !== 'u... |
import * as React from 'react';
import { JsonFormFieldProps, JsonFormFieldState } from '@shared/components/json-form/react/json-form.models';
import MenuItem from '@material-ui/core/MenuItem';
import FormControl from '@material-ui/core/FormControl';
import InputLabel from '@material-ui/core/InputLabel';
import Select f... |
/* eslint-disable @typescript-eslint/explicit-function-return-type */
import {
ComponentBindings, JSXComponent, OneWay, Component, Ref, ForwardRef, Effect, RefObject,
} from '@devextreme-generator/declarations';
import { FullPageSize } from '../common/types.d';
import { PageSizeSmall } from './small';
import { PageS... |
/// <reference path="fourslash.ts" />
// @allowJs: true
// @Filename: a.js
////function F<T>() { }
verify.baselineSyntacticDiagnostics(); |
import querystring from 'querystring';
import {Context} from 'koa';
import nonce from 'nonce';
import {OAuthStartOptions} from '../types';
const createNonce = nonce();
export default function oAuthQueryString(
ctx: Context,
options: OAuthStartOptions,
callbackPath: string,
) {
const {host, cookies} = ctx;
... |
import { Component, Inject, Injector, Input, OnInit, ViewChild } from '@angular/core';
import { ArrayService } from '@delon/util';
import { SFComponent, SFSchema, SFUISchema } from '@delon/form';
import { ModalComponentBase } from '@shared/common/modal-component-base';
import { CreateOrUpdateRoleInput, RoleListDto, Rol... |
import * as ts from 'typescript'
import * as path from 'path'
import { Project as Ast, InterfaceDeclaration, PropertySignature, Symbol, SourceFile, NamespaceDeclaration } from 'ts-morph'
export const APIDOC_PLUGIN_TS_CUSTOM_ELEMENT_NAME = 'apiinterface'
const definitionFilesAddedByUser: {[key: string]: boolean} = {}
... |
/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
import { Source, StackFrame } from 'vscode-debugadapter';
import { LogContext } from '..... |
interface AuthorizationCodeEntityFormatSetting{
authCodeCharNum?: number,
codeChallengeMaxLen: number,
}
export type {AuthorizationCodeEntityFormatSetting}; |
import { AzureFunction, Context, HttpRequest } from '@azure/functions';
const httpTrigger: AzureFunction = async function (
context: Context,
req: HttpRequest
): Promise<void> {
context.res = {
status: 200,
body:
context.bindings.latestCheck && context.bindings.latestCheck.length > 0
? cont... |
/// <reference path="../lib/gd3d.d.ts" />
class test_01 implements IState {
app: gd3d.framework.application;
scene: gd3d.framework.scene;
start(app: gd3d.framework.application) {
console.log("i am here.");
this.app = app;
this.scene = this.app.getScene();
let cuber: gd3d.fr... |
/*---------------------------------------------------------------------------------------------
* Copywight (c) Micwosoft Cowpowation. Aww wights wesewved.
* Wicensed unda the MIT Wicense. See Wicense.txt in the pwoject woot fow wicense infowmation.
*----------------------------------------------------------------... |
import React from 'react';
import Button from '@mui/material/Button';
import SaveIcon from '@mui/icons-material/Save';
import addUser from '../../assets/svgs/addUser.svg';
import Grid from '@mui/material/Grid';
import Image from 'next/image';
import Container from '@mui/material/Container';
import { FormProvider, useFo... |
/*
* 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 may no... |
export { materialColors } from './materialColors'; |
import { Property } from "ioc4ts";
export default class User {
@Property('name')
name?: string
hello() {
return `Hello, My name is ${this.name}`
}
} |
import type { Bot } from "../../bot.ts";
/** Remove a role from the member */
export async function removeRole(bot: Bot, guildId: bigint, memberId: bigint, roleId: bigint, reason?: string) {
await bot.rest.runMethod<undefined>(
bot.rest,
"delete",
bot.constants.endpoints.GUILD_MEMBER_ROLE(guildId, member... |
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
export type Category =
| 'identity'
| 'explore'
| 'music'
| 'social'
| 'games'
| 'room_builder'
| 'pets';
@Entity()
export class Achievements {
@PrimaryGeneratedColumn()
readonly id!: number;
@Column({ name: 'group_name' })
reado... |
import { Component } from '@angular/core';
import {
trigger,
state,
style,
animate,
transition
} from '@angular/animations';
@Component({
template: `
<StackLayout automationText="itemsContainer">
<Button
text="Add hero"
(tap)="addNew()"
... |
import axios from 'axios';
import { headers } from '../constants/ZenConstants';
import { AuthPayload, AuthResponse, AuthUser } from '../types/Auth';
const LOGIN_URL = `/api/auth/signin`;
const GET_CURRENT_EMPLOYEE_URL = `/api/employees/current`;
export const getAuthToken = async (
payload: AuthPayload
): Promise<Au... |
import type {Leaf} from '../forest/index.h'
import type {Node, NodeUnit, StateRef} from './index.h'
import {readRef} from './stateRef'
import {getForkPage, getGraph, getMeta, getParent, getValue} from './getter'
import {STORE, EFFECT, SAMPLER, STACK, BARRIER, VALUE, REG_A, MAP} from './tag'
import type {Scope} from '.... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {Backend} from './backend';
interface BackendInfo {
backend: Backend;
priority: number;
initializing?: boolean;
initialized?: boolean;
aborted?: boolean;
}
const backends: {[name: string]: BackendInfo} =... |
/**
* BaseDialog
*
* The BaseDialog component provides a structured Modal, containing
* a fixed header and footer section, and a scrollable body section
* that can expand/contract based on the content size.
*
* The header/footer are styled depending on the scroll state to
* indicated start/end of scrolling.
*
... |
import React, {useEffect, useContext} from 'react';
import Row from 'react-bootstrap/Row';
import {useNavigate} from 'react-router-dom';
import {LaboratoriesTable} from '../../components/Laboratory';
import {Button, LoadingContainer, ModalComponent} from '../../components/UI';
import {Action} from '../../components/UI... |
import { cssClass } from '../styled';
import { palette, space, theme } from '../utils';
export const Autosuggest = (styleProps) => cssClass`
position: relative;
& {
${theme(styleProps.themeKey, `styles.base`)(styleProps)};
}
`;
export const AutosuggestPopover = (styleProps) => cssClass`
&&& {
max-wid... |
import * as A from "../Actions";
import * as D from "../../Domain";
import * as T from "../ActionTypes";
import { Message } from "../../components/messages/Properties";
import { createDefaultAction, createGenericAction } from "./BaseCreators";
export function createAppInitAction(): A.IDefaultAction {
return create... |
class InvalidSignatureError extends Error {
constructor() {
super();
Object.setPrototypeOf(this, InvalidSignatureError.prototype);
}
}
export default InvalidSignatureError; |
import Grandient from './index.ios';
export default Grandient; |
import { useSpotlight } from "@mantine/spotlight";
import { Breadcrumbs, Button, Text } from "@mantine/core";
import { useParams } from "@remix-run/react";
import { arkesiaArea, continents, world } from "~/lib/static";
import { useMemo } from "react";
export default function AppBreadcrumbs() {
const params = usePara... |
export type Unit = 'pounds' | 'ounces' | 'grams'
export interface IWeight {
value: number
units: Unit
WeightUnits?: number
} |
import { ContentItem, Elements } from '@kentico/kontent-delivery';
/**
* Generated by '@kentico/kontent-model-generator@3.2.0'
* Tip: You can replace 'ContentItem' with another generated class to fully leverage strong typing.
*/
export class Homepage extends ContentItem {
public description!: Elements.RichTextE... |
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const lasArrowUpSolid: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const lig... |
import { ApolloLink } from 'apollo-link';
import { setContext } from 'apollo-link-context';
import { HttpLink } from 'apollo-link-http';
import axios from 'axios';
import jwt from 'jsonwebtoken';
// import { EXECUTE } from '../mutations';
import { NO_STACK_URI, REFRESH_TOKEN_ACTION_ID } from '../config';
const EXECUT... |
// Libraries
import _ from 'lodash';
import { Unsubscribable } from 'rxjs';
// Services & Utils
import {
CoreApp,
DataQuery,
DataQueryError,
DataQueryRequest,
DataSourceApi,
dateMath,
DefaultTimeZone,
HistoryItem,
IntervalValues,
LogRowModel,
LogsDedupStrategy,
LogsSortOrder,
RawTimeRange,
T... |
import { DocumentNode, GraphQLSchema } from 'graphql';
export declare function pickExportFromModule({ module, filepath }: {
module: any;
filepath: string;
}): Promise<GraphQLSchema | DocumentNode>;
export declare function pickExportFromModuleSync({ module, filepath }: {
module: any;
filepath: string;
})... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import React from 'react';
import { Container, Row, Text, Link, CSS } from '@nextui-org/react';
import { VercelCallout } from '@components';
export interface Props {
css?: CSS;
containerCss?: CSS;
}
const Footer: React.FC<Props> = ({ css, containerCss }) => {
// const year = new Date().getFullYear();
return (... |
import { User } from "./user.entity";
export declare class Organization {
id: number;
name: string;
users: Array<User>;
parentId: number;
parent: Organization;
children: Array<Organization>;
} |
import { Fn0, IObjectOf } from "@thi.ng/api";
import {
comp,
compR,
ensureReduced,
isReduced,
Reducer,
Transducer
} from "@thi.ng/transducers";
export interface FSMState {
state: PropertyKey;
}
export type FSMStateMap<T extends FSMState, A, B> = IObjectOf<
FSMHandler<T, A, B>
>;
export... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-success-alert',
template: '<div class="alert alert-success">Success alert</div>'
})
export class SuccessAlertComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} |
import { ValidationContext } from '../index';
/**
* Argument values of correct type
*
* A GraphQL document is only valid if all field argument literal values are
* of the type expected by their position.
*/
export function ArgumentsOfCorrectType(context: ValidationContext): any; |
// import a CSS module
import './main.css';
interface Person {
firstName: string;
lastName: string;
}
function main(user: Person) {
document.getElementById('message').innerText = `Hello ${user.firstName} ${user.lastName}`;
}
export default main; |
export = replaceholder;
/**
* @function replaceholder
* @description JSON query and transformation.
* @param {object} list Placeholder list.
* @param {(any[]|object|string)} item Query.
* @param {object} [option={}] Option.
* @param {string} [option.prefix="%-"] Prefix of the placeholder.
* @param {(boolean|stri... |
import * as React from 'react';
import cx from 'classnames';
import PickerPopover from './PickerPopover';
import { SingleInputTrigger } from './PickerTrigger';
import PanelContext from '../context/PanelContext';
import useTimeValue from '../hooks/useTimeValue';
import useConfirmStatus from '../hooks/useConfirmStatus';... |
// #region Page Interfaces
export * from "@Interfaces/Pages/Home";
export * from "@Interfaces/Pages/App";
export * from "@Interfaces/Pages/Error";
export * from "@Interfaces/Pages/Authentication";
export * from "@Interfaces/Pages/RequestOrder";
export * from "@Interfaces/Pages/Sample";
// #endregion Page Interfaces
//... |
export { default as MicrodataBreadcrumb } from './Media.Microdata.Breadcrumb'
export { default as RichText } from './Media.RichText' |
import { Component, Input, OnInit } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import { ActivatedRoute, Router } from '@angular/router';
import { Location } from '@angular/common';
@Component({
selector: 'codelab-preview',
templateUrl: './codelab-preview.component.html',
styl... |
import { Component, h, State } from '@stencil/core';
@Component({
tag: 'app-landing',
styleUrl: 'app-landing.css',
shadow: true,
})
export class AppLanding {
@State() info: string;
@State() userName: string;
textInput! : HTMLTextAreaElement;
handleSubmit = (event: Event) => {
event.preventDefault... |
import UserAvatarComponent from './UserAvatarComponent';
export default UserAvatarComponent; |
import { Inject, Injectable, Optional } from '@angular/core';
import { APP_BASE_HREF } from '@angular/common';
export interface CookieOptionsArgs {
path?: string;
domain?: string;
expires?: string | Date;
secure?: boolean;
}
export interface ICookies {
[key: string]: string[];
}
export interface ... |
<TS language="es" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Clic derecho para editar la dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
<... |
/* eslint-disable react/jsx-props-no-spreading */
import AceEditor, { IAceEditorProps } from 'react-ace';
import 'ace-builds/src-noconflict/mode-json5';
import 'ace-builds/src-noconflict/theme-textmate';
import React from 'react';
import ReactAce from 'react-ace/lib/ace';
interface JSONEditorProps extends IAceEditorPr... |
import AccountAuthorizationDialog from './AccountAuthorizationDialog.vue'
import CoaWarningDialog from './CoaWarningDialog.vue'
import ConfirmDialog from './ConfirmDialog.vue'
import DashboardUnavailableDialog from './DashboardUnavailableDialog.vue'
import DeleteErrorDialog from './DeleteErrorDialog.vue'
import Downloa... |
import { isFloatString, isIntegerString, isString } from './utils'
import { IUnitOptions, EUnitType } from './types'
export const unitOptions: IUnitOptions = {
default: {
is: ({ t }) => t === EUnitType.Default,
create: (unit) => ({ ...unit, t: EUnitType.Default }),
},
fr: isFloatString('fr'),
em: isFloatStrin... |
import styled from 'styled-components';
export const Container = styled.div`
height: 100vh;
display: flex;
align-items: center;
color: ${(props) => props.theme.colors.text};
font-family: 'Nunito Sans', sans-serif;
padding: 40px 220px;
background-color: ${(props) => props.theme.colors.background};
box-s... |
/**
* Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.o... |
import { CONFIG } from '../config'
import FetchRequest from '../utils/request'
export const limit = 10
export const request = new FetchRequest({
prefix: `${CONFIG.API_HOST}`,
headers: {
'Content-Type': 'application/json',
},
}) |
import { Module } from '@nestjs/common';
import { AuthService } from './auth.service';
import { AuthController } from './auth.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserEntity } from 'src/Entity/user.entity';
import { JwtModule } from '@nestjs/jwt';
import { JwtCustomStrategy } from './j... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.