text stringlengths 10 953k |
|---|
import React, {FC} from 'react';
import {Perfume} from "../../types/types";
import {IMG_URL} from "../../utils/constants/url";
import {LazyLoadImage} from "react-lazy-load-image-component";
type PropTypes = {
perfume?: Perfume
deletePerfumeHandler: (id?: number) => void
setModalActive: React.Dispatch<React... |
import { ViewWrapper } from './ViewWrapper'
import { TimeGridWrapper } from './TimeGridWrapper'
import { DayGridWrapper } from './DayGridWrapper'
import { DayHeaderWrapper } from './DayHeaderWrapper'
export class TimeGridViewWrapper extends ViewWrapper {
constructor(calendar) {
super(calendar, 'fc-timegrid')
}... |
import * as React from 'react';
import { SetComponent } from './SetComponent';
import { ComponentsState } from '../types';
/**
* The props for the SetLayout component.
*/
export interface SetLayoutProps {
/**
* The layout of the Piral instance.
*/
layout?: Partial<ComponentsState>;
}
/**
* The component ... |
import { TestBed } from '@angular/core/testing';
import { GatService } from './gat.service';
describe('GatService', () => {
let service: GatService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(GatService);
});
it('should be created', () => {
expect(service).to... |
declare module 'react-snapshot';
declare module 'window-or-global';
declare module 'react-meta-tags';
declare module 'react-meta-tags/server';
declare module 'svg'; |
import { Injectable } from '@angular/core';
import { IconPrefix } from '@fortawesome/fontawesome-svg-core';
@Injectable({providedIn: 'root'})
export class FaIconService {
defaultPrefix: IconPrefix = 'fas';
} |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { QuoteComponent } from './quote/quote.component';
import { QuoteFormComponent } from './quote-form/quote-form.compone... |
import { GraphicalStaffEntry } from "./GraphicalStaffEntry";
import { StaffLine } from "./StaffLine";
import { GraphicalMusicSheet } from "./GraphicalMusicSheet";
import { EngravingRules } from "./EngravingRules";
import { Tie } from "../VoiceData/Tie";
import { Fraction } from "../../Common/DataObjects/Fraction";
impo... |
import { ElementRef, OnChanges, OnDestroy } from '@angular/core';
import * as ɵngcc0 from '@angular/core';
export declare class AutofocusDirective implements OnChanges, OnDestroy {
private element;
private document;
isFocusActive: boolean;
private activeElement;
constructor(element: ElementRef, docu... |
/*
* https://github.com/nickersan/ts-commons
*
* Copyright (c) 2017 Nick Holt
* Licensed under the MIT license.
*
*/
import { AbstractStream } from "./AbstractStream";
import { Chain } from "./chain/Chain";
import { Consumer } from "../util/function/Consumer";
import { eq } from "../Equalable";
import { Function... |
import IconFont from '../../../../../../font';
import AdvancedSearchForm from './form';
function SidebarModal(props) {
console.log(props)
return (
<div className="hetu_sidebar_modal_wrapper">
<div className="hetu_sidebar_connect" />
<div className="hetu_sidebar_group_modal">
<AdvancedSea... |
export interface Example {
entry: string;
name: string;
path: string;
label: string;
title: string;
index?: boolean;
forms?: boolean;
additional?: {
filename: string,
entry: string,
title: string,
type: string,
};
}
export const examples: Example[] = [
{
entry: 'demo-basic',
... |
import { TypeOrmModuleOptions } from '@nestjs/typeorm';
export const typeOrmConfig: TypeOrmModuleOptions = {
type: 'postgres',
host: 'localhost',
port: 5432,
username: 'postgres',
password: 'postgres',
database: 'taskmanagment',
entities: [`${__dirname}/../**/*.entity.{js,ts}`],
synchronize: true,
}; |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About ViretCoin</source>
<translation>Acerca de ViretCoin</translation>
</message>
<message>
... |
import { Map as ImmutableMap } from 'immutable';
import { GroupVersionKind, referenceForModel } from '../module/k8s';
import * as k8sModels from '../models';
import * as appModels from '@console/app/src/models/';
import { YAMLTemplate } from '@console/plugin-sdk';
/**
* Sample YAML manifests for some of the statical... |
import * as React from 'react';
import * as PropTypes from 'prop-types';
import './BannerDot.less';
import cnCreate from 'utils/cnCreate';
export interface IBannerDotProps {
className?: string;
index: number;
isActive: boolean;
showTimer: boolean;
timerDelay: number;
onClick: (index: number) =>... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AvatarComponent, UxgImageAvatar } from './avatar.component';
import { AvatarListComponent } from './avatar-list.component';
import { InitialsPipe } from './initials.pipe';
@NgModule({
imports: [CommonModule],
declara... |
import { Gitmoji, AsyncRawGitmojisObjectProvider } from './types';
import utils from './utils';
import axios from 'axios';
const latestGitmojisProvider: AsyncRawGitmojisObjectProvider = () =>
axios
.get('https://raw.githubusercontent.com/carloscuesta/gitmoji/master/src/data/gitmojis.json')
.then(re... |
import React from 'react';
import CountsBuckets from '../utils/countsBuckets';
interface Props {
query: any;
openQuery: (query: any) => void;
}
const CountProjects: React.FC<Props> = (props: Props) => {
const { query, openQuery } = props;
const buckets = [
{
key: 'bucketA',
name: '1 - 2',
... |
interface TransferInput {
network: string;
scriptHash: string;
to: string;
amount: string;
}
interface TransferOutput {
txid: string;
nodeUrl: string;
}
export declare function transfer(data: TransferInput): Promise<TransferOutput>;
export {};
//# sourceMappingURL=transfer.d.ts.map |
import { noneOf, prop } from "@rxweb/reactive-form-validators"
export class EmployeeInfo {
@prop()
department: string;
@noneOf({ matchValues: ["ECommerce", "Banking", "Educational", "Gaming"] })
projectDomains: string;
@noneOf({ matchValues: ["Secondary", "Senior Secondary", "B.Tech", "M.Tech", "B.C.A.", ... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
/** @jsx jsx */
import { jsx } from '@emotion/core';
import { useContext } from 'react';
import formatMessage from 'format-message';
import { Icon } from 'office-ui-fabric-react/lib/Icon';
import { IconButton, PrimaryButton } from 'office-ui-fa... |
/*
* 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 ... |
import React, { useContext, useEffect } from 'react'
// import styling libs
import { TweenLite } from 'gsap'
import { Flex, Box, Heading, Button, Text, Link } from 'rebass'
import { AiOutlineGlobal, AiFillCode } from 'react-icons/ai'
import Markdown from 'markdown-to-jsx'
// import local components
import ProjectImgs f... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Vprocoin</source>
<translation>Sobre Vprocoin</translation>
</message>
<message>
<lo... |
import * as React from "react";
import { connect, Dispatch } from "react-redux";
import { ApiError, apiRequest } from "./ApiRequest";
export interface NodeStatusData {
isCodeChainRunning: boolean;
isServerRunning: boolean;
}
interface OwnProps {
onNodeStatus: (status: NodeStatusData) => void;
onError... |
export * from './domain/area';
export * from './domain/base_model';
export * from './domain/brand';
export * from './domain/color';
export * from './domain/customer';
export * from './domain/documents';
export * from './domain/image';
export * from './domain/inventory';
export * from './domain/order_detail';
export * ... |
import { Router } from "express";
import { AuthenticadeUserController } from "./controllers/AuthenticateUserController";
import { CreateMessageController } from "./controllers/CreateMessageController";
import { GetLast3MessagesController } from "./controllers/GetLast3MessagesController";
import { ProfileUserController ... |
import { useCallback, useMemo, useState } from 'react'
import { useHistory, useParams, useRouteMatch } from 'react-router'
import { useMutation } from 'react-query'
import amplitude from 'amplitude-js'
import axios from 'axios'
import { useViewport } from 'use-viewport'
import {
UserLB,
UserLBDailyRelayBucket,
Us... |
import React, { ReactNode } from 'react'
import customMessages from '../../utils/customMessages'
import { LineItemCollection } from '@commercelayer/js-sdk'
import { BaseError, ResourceErrorType } from '../../typings/errors'
export type AllErrorsParams = {
allErrors: BaseError[]
messages: BaseError[]
field: strin... |
/**
* @file IconApplicationEffect 应用效果
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime';
export default IconWrapper(
'IconApplication-effect',
true,
(h: IconHelper, props: ISvgIco... |
import { customElement, bindable, bindingMode, containerless, DOM } from 'aurelia-framework';
export type FloatInputPlacement = 'sm' | 'md' | 'lg';
@containerless()
@customElement('abt-float-input')
export class BootstrapFloatInput {
@bindable({ defaultBindingMode: bindingMode.oneTime }) public id: string;
@bindab... |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
// tslint:disable:object-literal-key-quotes no-http-string max-func-body-length
import { testDia... |
export * as accounts from './accounts';
export * as address from './address';
export * as callformat from './callformat';
export * as consensus from './consensus';
export * as consensusAccounts from './consensus_accounts';
export * as contracts from './contracts';
export * as core from './core';
export * as event from ... |
import {ModuleWithProviders, NgModule, Provider} from '@angular/core';
import {NgForageCache} from './cache/NgForageCache.service';
import {BaseConfigurableImpl} from './config/BaseConfigurableImpl.service';
import {NgForageConfig} from './config/NgForageConfig.service';
import {InstanceFactory} from './instance-factor... |
import { fireEvent, render } from '@testing-library/react-native'
import * as React from 'react'
import { Provider } from 'react-redux'
import TokenBottomSheetLegacy, { TokenPickerOrigin } from 'src/components/TokenBottomSheetLegacy'
import { Currency } from 'src/utils/currencies'
import { createMockStore } from 'test/... |
export interface PositionInterface {
x: number;
y: number;
z?: number;
}
export const min = (...args: number[]): number => {
let minimun: number;
switch (args.length) {
case 0:
minimun = -Infinity;
break;
case 1:
minimun = args[0];
b... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import axios, { AxiosInstance } from "axios";
import * as chai from "chai";
import MockAppStudioTokenProvider from "../../src/commonlib/appStudioLoginUserPassword";
import { AppStudioTokenProvider } from "@microsoft/teamsfx-api";
export class... |
import {
JupyterFrontEnd,
JupyterFrontEndPlugin
} from '@jupyterlab/application';
import { IFileBrowserFactory } from '@jupyterlab/filebrowser';
import { LabIcon } from '@jupyterlab/ui-components';
import { showDialog, Dialog } from '@jupyterlab/apputils';
import pbIconStr from '../style/pb.svg';
import onnxIconStr... |
import { CropLiveSearchResult } from "./interfaces";
import { startCase, find } from "lodash";
import { FilePath } from "../internal_urls";
export function findBySlug(
crops: CropLiveSearchResult[], slug?: string): CropLiveSearchResult {
const crop = find(crops, result => result.crop.slug === slug);
return crop ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Mazebits</source>
<translation>Acerca de Mazebits</translation>
... |
import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
import { DeleteKnownHostKeysRequest, DeleteKnownHostKeysResult } from "../models/models_0";
import {
deserializeAws_json1_1DeleteKnownHostKeysCommand,
serializeAws_json1_1DeleteKnownHostKeysCommand,
} from "..... |
import { FormControl, FormGroup } from '@angular/forms';
import { MatchFieldValidator } from './match-field-validator';
describe('[Unit] MatchFieldValidator', () => {
describe('validFieldMatch() default field name', () => {
const matchFieldValidator = MatchFieldValidator.validFieldMatch(
'controlName',
... |
import { configure } from '@storybook/react';
// automatically import all files ending in *.stories.tsx
const req = require.context('../stories', true, /.stories.tsx$/);
function loadStories() {
req.keys().forEach(req);
}
configure(loadStories, module); |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
// *********************************************... |
import { snooze } from "../utilities/utilities";
let mockDelay: any;
let mockError: any | null = null;
let mockResponseData: any = {};
let mockResponseStatus: number = 200;
let mockResponseCollection: any[] = [];
let mockResponseCollectionIndex: number = 0;
let mockResponseCollectionStatus: number[] = [];
let mockResp... |
import {RolesBuilder} from "nest-access-control";
import {User} from "../../users/entities/user.entity";
export enum AppRoles {
User = 'User',
Admin = 'Admin'
}
export const roles: RolesBuilder = new RolesBuilder();
roles
.grant(AppRoles.User)
.createOwn('profile')
.deleteOwn('profile')
.upda... |
export * from './components/index'
export * from './services/index'; |
import { IResponse, IContext } from '../../../types';
export interface IDeleteVpcApiRequest {
vpc_id: string;
}
export type DeleteVpcResponse = IResponse<void>;
export const deleteVpc = ({
httpClient,
}: IContext) => ({
vpc_id,
}: IDeleteVpcApiRequest): Promise<Readonly<DeleteVpcResponse>> => {
const path = ... |
import { FILE, RANGE, CHECKBOX,RADIO,BLANK } from './app.const'
export const BOOSTRAP_CLASS_CONFIG: { [key: string]: any } = {
defaultControl: 'form-control',
fileControl: 'form-control-file',
readOnlyPlainText: 'form-control-plaintext',
rangeControl: 'form-control-range',
checkBoxAndRadioControl:... |
import { WithStyle } from '@medly-components/utils';
import type { FC } from 'react';
import { memo } from 'react';
import OpacityIconSvg from '../../assets/Action/opacity_24px_rounded.svg';
import SvgIcon, { SvgIconProps } from '../../SvgIcon';
const Component: FC<SvgIconProps> = memo(props => {
const { size, wit... |
import {Component, Input, Output, EventEmitter} from '@angular/core';
import {SHOW_ALL, SHOW_COMPLETED, SHOW_ACTIVE} from '../constants/TodoFilters';
@Component({
selector: 'fountain-footer',
template: require('./Footer.html'),
styles: [`
a {
cursor: pointer
}
`]
})
export class FooterComponent {... |
import { BaseModel, Field, Validation } from "./utils/base.model";
import { State } from "./utils/state.enum";
import { maxLength, required } from "./utils/validations";
//Sample of a model using the Field utility
export class LoginModel extends BaseModel {
//All properties should be fields to validate and offer l... |
import {GameObjectBase} from '../GameObjectBase';
import {Room} from '../Room';
export class TableObject extends GameObjectBase {
constructor(room: Room) {
super('table');
this.look = `It's a large wooden table that you can comfortably lurk underneath.`;
this.smell = 'The table mostly smel... |
//import * as cdk from "@aws-cdk/core";
//import * as cf from "@aws-cdk/aws-cloudfront";
import * as sst from "@serverless-stack/resources";
export class MainStack extends sst.Stack {
constructor(scope: sst.App, id: string, props?: sst.StackProps) {
super(scope, id, props);
// React
const site = new sst... |
import { Form, Input, Button } from "tea-component";
import React from "react";
import { Form as FinalForm, Field } from "react-final-form";
import { getStatus } from "../../../utils/getStatus";
const validateValue = async (value: string,label: string) => {
if (!value) {
return `${label}必填`;
}
};
export inte... |
/* tslint:disable */
/* eslint-disable */
import { Injectable } from '@angular/core';
import { HttpClient, HttpResponse } from '@angular/common/http';
import { BaseService } from '../base-service';
import { ApiConfiguration } from '../api-configuration';
import { StrictHttpResponse } from '../strict-http-response';
imp... |
import * as React from 'react';
import { FocusZone } from './FocusZone';
import { IRefObject } from '../../lib/fabric';
/**
* FocusZone component class interface.
*/
export interface IFocusZone {
/**
* Sets focus to the first tabbable item in the zone.
* @param {boolean} forceIntoFirstElement If true, focus ... |
import * as React from 'react';
export interface IFormWrapperProps {
onSubmit: (event: React.FormEvent<HTMLFormElement>) => void;
fields: JSX.Element;
}
export class FormWrapper extends React.Component<IFormWrapperProps> {
public render() {
return (
<form onSubmit={this.props.onSubmit}>
<div c... |
import { gql } from 'graphql-request';
/**
* I cannot use `post` schema to fetch this data.
* The reason is within `post`, I only can filter by post id and I need to
* fetch by post slug
*/
export const query = gql`
query BlogPost($where: JSON) {
posts(where: $where, locale: "all") {
id
title
... |
import { window } from 'vscode'
import { Log } from '~/utils'
import { LocaleTreeItem, UsageReportRootItem } from '~/views'
import i18n from '~/i18n'
import { LocaleRecord, CurrentFile, Analyst } from '~/core'
import { Telemetry, TelemetryKey } from '~/core/Telemetry'
export async function DeleteRecords(records: Local... |
import { useCallback, useContext } from 'react'
import { RepoFrontend, DocUrl, Crypto } from 'hypermerge'
import { FreezeObject } from 'automerge'
import { StoragePeerDoc } from '.'
import { useRepo, useDocument } from '../../../Hooks'
import { useSelfId } from '../../../SelfHooks'
import { WorkspaceUrlsContext } from ... |
/*eslint-env node */
'use strict';
import { Job, Queue, QueueScheduler } from '../classes';
import { QueueEvents } from '../classes/queue-events';
import { Worker } from '../classes/worker';
import { getParentKey } from '../classes/flow-producer';
import { JobsOptions } from '../interfaces';
import { delay, removeAllQ... |
import { expect, haveResourceLike } from '@aws-cdk/assert';
import * as cdk from '@aws-cdk/core';
import { Test } from 'nodeunit';
import * as ecs from '../lib';
let stack: cdk.Stack;
let td: ecs.TaskDefinition;
const image = ecs.ContainerImage.fromRegistry('test-image');
export = {
'setUp'(cb: () => void) {
st... |
import * as _ from 'lodash-es';
import * as PropTypes from 'prop-types';
import * as React from 'react';
import { connect } from 'react-redux';
import { withTranslation } from 'react-i18next';
import {
getNodeRoles,
getMachinePhase,
nodeMemory,
nodeCPU,
nodeFS,
nodePods,
nodeMachine,
nodeInstanceType,
... |
import {Transform, TransformCallback} from 'stream';
import {CacheControl} from "./PrerenderedControl";
interface TrackItem {
index: number;
open: boolean;
close: boolean;
closing: boolean;
position: 0;
}
interface CacheTrack {
buffer: string;
noCache: boolean;
variables: Record<string, string>;
}
in... |
type MapPanes =
'floatPane' // 信息窗口所在的容器
| 'markerMouseTarget' // 标注点击区域所在的容器
| 'floatShadow' // 信息窗口阴影所在的容器
| 'labelPane' // 文本标注所在的容器
| 'markerPane' // 标注图标所在的容器
| 'markerShadow' // 标注阴影所在的容器
| 'mapPane' // 折线、多边形等矢量图形所在的容器
export declare class Overlay {
/**
* 自定义覆盖物所在容器。
*/
pane: MapPa... |
import { mount, shallow } from 'enzyme';
import * as React from 'react';
import DownloadLink, { IDownloadLink } from './DownloadLink';
const props: IDownloadLink = {
href: 'href',
text: 'text',
extension: 'PDF',
fileSize: '500 MB',
};
describe('DownloadLink', () => {
it('render component', () => {... |
export { ChineseDishes } from "./ChineseDishes";
export { KoreanDishes } from "./KoreanDishes";
export { JapaneseDishes } from "./JapaneseDishes";
export { IndianDishes } from "./IndianDishes";
export { Pizza } from "./Pizza";
export { VegetarianDishes } from "./VegetarianDishes";
export { ItalianDishes } from "./Itali... |
import {SessionService} from './session.service';
import {BackendUserSession} from './session.type';
import {HasSession} from './has-session.decorator';
import {GetSession} from './get-session.decorator';
import {HashService} from '../../common/hash.service';
import {UserEntity} from '../../database/rage/user/user/user... |
export const description = `
setVertexBuffer validation tests.
`;
import { makeTestGroup } from '../../../common/framework/test_group.js';
import { range } from '../../../common/framework/util/util.js';
import { ValidationTest } from './validation_test.js';
class F extends ValidationTest {
getVertexBuffer(): GPUBu... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import assertAndRequestMessage from '../../helpers/assertAndRequestMessage';
import getAvailablePackages from '../../helpers/getAvailablePackages';
import assertArgs from './helpers/assertArgs';
import commitPackage from './helpers/commitPackage';
import loadCommitLintConfig from './helpers/loadCommitLintConfig';
impor... |
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { UrgencePage } from './urgence.page';
describe('UrgencePage', () => {
let component: UrgencePage;
let fixture: ComponentFixture<UrgencePage>;
beforeEach(async(() => {
Te... |
import creditCardIco from '../../assets/icons/ico-credit-card.svg'
import creditCardIcoGray from '../../assets/icons/ico-credit-card-gray.svg'
import downloadIco from '../../assets/icons/ico-download.svg'
import downloadIcoGray from '../../assets/icons/ico-download-gray.svg'
import refreshIco from '../../assets/icons/i... |
import assert from 'assert';
import _ from 'lodash';
import semver from 'semver';
import { Package, Version, Author } from '@verdaccio/types';
import {
DIST_TAGS,
DEFAULT_USER,
getConflict,
getBadData,
getBadRequest,
getInternalError,
getUnauthorized,
getForbidden,
getServiceUnavailable,
getNotFound... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { LoginComponent } from './login.component';
const routes: Routes = [{ path: '', component: LoginComponent }];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class Log... |
import { Cart } from '../../model/cart.model';
import {
getCartIdByUserId,
getWishlistName,
isCartNotFoundError,
isSelectiveCart,
isTempCartId,
} from './utils';
import { OCC_USER_ID_ANONYMOUS, OCC_USER_ID_CURRENT } from '../../occ';
describe('Cart utils', () => {
describe('getCartIdByUserId', () => {
... |
import {Component, Inject} from '@angular/core';
import {OrganisationUnit} from '../../../_models/eam/organisation-unit';
import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material';
@Component({
selector: 'app-organisation-unit',
templateUrl: './organisation-unit.component.html',
styleUrls: ['./organisation... |
/*
* Copyright 2020 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 ... |
import { ArticleComponent } from "./components/article/article.component";
import { ArticleContainerComponent } from "./components/article/article-container.component";
import { FlyoutComponent } from "./components/flyout/flyout.component";
import { GalleryComponent } from "./components/gallery/gallery.component";
im... |
export class UserInfo {
isAnonymous: boolean;
email: string;
displayName: string;
photoURL?: string;
providerId: string;
uid: string;
} |
declare module '*.scss' {
const content: { [className: string]: string }
export default content
} |
/* eslint-disable no-bitwise -- used for calculations */
/* eslint-disable unicorn/prefer-query-selector -- aiming at backward-compatibility */
/**
* StackBlur - a fast almost Gaussian Blur For Canvas
*
* In case you find this class useful - especially in commercial projects -
* I am not totally unhappy for a small... |
export class SalesCycle {
constructor( public name: string) { }
}
export class SalesCampaign {
constructor(public campaign: string) { }
}
export class SalesParam {
constructor(
public dateRange: string,
public salesCycle: string,
public salesCampaign: string
) {}
} |
/**********************************************************************************
* MIT License *
* *
* Copyright (c) 2021 Hyperjump Technology ... |
import React from 'react';
import { MaterialIcons } from '@expo/vector-icons';
import { useTheme } from 'styled-components';
import { BorderlessButtonProps } from 'react-native-gesture-handler'
import {
Container
} from './styles';
interface Props extends BorderlessButtonProps {
color?: string;
}
export funct... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { EuiButton } from '@elastic/eui';
import numeral from '@elastic/numer... |
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
/* @relayHash 9cb9057f90509d58cd955bc06f759ced */
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type MyBidsTestsQueryVariables = {};
export type MyBidsTestsQueryResponse = {
readonly me: {
reado... |
import React from "react";
import { Link } from "@reach/router";
import NavBar from "../../components/NavBar";
import Footer from "../../components/Footer";
import net from "../../services/net";
interface IProps {}
interface IFile {
filename: string;
code: string;
}
interface ISnippet {
id: string;
guid: str... |
import { useCallback, useDebugValue, useEffect, useState } from 'react';
import { useSwrCache } from '../cache';
import { ApiHeaders, ApiResponse } from '../types';
import { Updator } from '../utils';
import { ApiPromise } from '../api-promise';
// Types
export interface ApiLoadableHookState<D> {
loading: boolean;
... |
/* This file is necessary in order for TypeScript
* to properly understand the .android and .ios
* file extensions used by react-native */
import DefaultIos from './index.ios';
import DefaultAndroid from './index.android';
declare var _testDefault: typeof DefaultIos;
declare var _testDefault: typeof DefaultAndroid;
... |
import {StyleSheet} from "react-native";
import {useSizeLabor} from "../../providers/size-labor";
import {getSharedStyles} from "../../utils";
import {SizeLabor, ThemeLabor} from "../../types";
export const getStyles = (sizeLabor: SizeLabor, themeLabor: ThemeLabor) => {
const {ms, designsBasedOn} = useSizeLabor();... |
function makeQueryString(params) {
const query = Object.keys(params)
.filter((k) => !!params[k])
.map((k) => `${encodeURIComponent(k)}=${encodeURIComponent(params[k])}`)
.join('&')
return query
}
export { makeQueryString } |
import { HassEntity } from "home-assistant-js-websocket";
import {
css,
CSSResult,
customElement,
html,
internalProperty,
LitElement,
property,
PropertyValues,
TemplateResult,
} from "lit-element";
import { fireEvent } from "../../../../common/dom/fire_event";
import { computeDomain } from "../../../.... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl_NL">
<context>
<name>UICFTControls</name>
<message>
<source>Wine settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wine variant</source>
<transla... |
<TS language="tr" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Adres veya etiketi düzenlemek için sağ tıklayınız.</translation>
</message>
<message>
<source>Create a new address</source>
... |
import React, { FunctionComponent } from 'react'
import { Joystick } from 'react-joystick-component'
import { GamepadAxis, GamepadButtons } from '@xrengine/engine/src/input/enums/InputEnums'
import TouchAppIcon from '@mui/icons-material/TouchApp'
import styles from './index.module.scss'
import { TouchGamepadProps } ... |
import { Component, OnInit } from '@angular/core';
import { HttpResponse } from '@angular/common/http';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { FormBuilder, Validators } from '@angular/forms';
import { ActivatedRoute } from '@angular/router';
import { Observable } from 'rxjs';
import { I... |
/*
* pyright.ts
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT license.
* Author: Eric Traut
*
* Command-line entry point for pyright type checker.
*/
// Add the start timer at the very top of the file, before we import other modules.
import { timingStats } from './common/timing';
import * as command... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.