text stringlengths 10 953k |
|---|
import styles from './WhyDevfiles.module.css';
import { TextContainer } from 'custom-types';
import { Text, TextContent, TextVariants } from '@patternfly/react-core';
export interface WhyDevfilesProps {
whyDevfilesContainer: TextContainer;
}
export const WhyDevfiles: React.FC<WhyDevfilesProps> = ({
whyDevfilesCon... |
import { NgModule, Optional, SkipSelf } from '@angular/core';
import { throwIfAlreadyLoaded } from './module-import-guard';
@NgModule()
export class CoreModule {
constructor(@Optional() @SkipSelf() parentModule: CoreModule) {
throwIfAlreadyLoaded(parentModule, 'CoreModule');
}
} |
/* eslint-disable */
/* 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";
export namespace Components {
interface MyCompone... |
import {Libzip} from '@yarnpkg/libzip';
import {constants} from 'fs';
import {CreateReadStreamOptions, CreateWriteStreamOptions, BasePortableFakeFS, Extract... |
import { IPackageJson } from 'package-json-type';
import { Reader } from './reader';
export declare class IPFSReader implements Reader {
private readonly cid;
private ipfs;
constructor(cid: string, gateway: string);
getPkg(): Promise<IPackageJson | undefined>;
getProjectSchema(): Promise<unknown | u... |
import { NativescriptUuidCommon } from './common';
export interface NativescriptUuidInterface {
public getUUID(): Function;
}
export declare class NativescriptUuid extends NativescriptUuidCommon implements NativescriptUuidInterface {
public getUUID(): Function;
} |
import Vue, { CreateElement, VNode } from "vue"
export default Vue.extend({
render(h: CreateElement): VNode {
return h("h2", "This is a .ts component")
}
}) |
import { AppEventBus } from './../../../@pika/state/app-event-bus';
import { first, takeUntil } from 'rxjs/operators';
import {
Component, OnInit, Output, EventEmitter, OnChanges,
SimpleChanges, Input, OnDestroy, ViewChild, AfterViewInit,
} from '@angular/core';
import { FlatTreeControl } from '@angular/cdk/tree';
... |
// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
export declare const HiOutlinePuzzle: IconType; |
import { MonoTypeOperatorFunction } from '../types';
/**
* Returns an Observable that will resubscribe to the source stream when the source stream completes, at most count times.
*
* <span class="informal">Repeats all values emitted on the source. It's like {@link retry}, but for non error cases.</span>
*
*  => (voted ? '#4494d3' : '#8f8e94')};
font-weight: bold;
`;
export const VotesIndex: React.FC<Props> = ({ votes, v... |
/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */
import View=Laya.View;
import Dialog=Laya.Dialog;
import Scene=Laya.Scene;
var REG: Function = Laya.ClassUtils.regClass;
export module ui.test {
export class TestSceneUI extends Scene {
constructor(){ super()}
... |
/**
* Open API for FSP Interoperability (FSPIOP) (Implementation Friendly Version)
* Based on [API Definition version 1.0](https://github.com/mojaloop/mojaloop-specification/blob/develop/API%20Definition%20v1.0.pdf). **Note:** The API supports a maximum size of 65536 bytes (64 Kilobytes) in the HTTP header.
*
* Op... |
import { Component, EventEmitter, Inject, Input, OnInit, Optional } from '@angular/core';
import { NgSelectComponent } from "@ng-select/ng-select";
import { OpEditingPortalSchemaToken } from "core-app/modules/fields/edit/edit-field.component";
import { IFieldSchema } from "core-app/modules/fields/field.base";
import { ... |
import getPort = require('get-port');
import {
createChannel,
createClient,
createServer,
ServerError,
Status,
} from '../..';
import {TestService} from '../../../fixtures/grpc-js/test_grpc_pb';
import {TestRequest, TestResponse} from '../../../fixtures/grpc-js/test_pb';
import {createTestServerMiddleware} fr... |
export interface IProgressIndicatorProps {
/**
* Class name to apply to the root in addition to ms-ProgressIndicator.
*/
className?: string;
/**
* Label to display above the control.
*/
label?: string;
/**
* Text describing or supplementing the operation.
*/
description?: string;
/**... |
import async from "async";
import crypto from "crypto";
import nodemailer from "nodemailer";
import passport from "passport";
import { default as User, UserModel, AuthToken } from "../models/User";
import { Request, Response, NextFunction } from "express";
import { IVerifyOptions } from "passport-local";
import { Write... |
/**
* @license
* Copyright Alibaba.com 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://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { MediaMatcher } from '@angular/cdk/layout';
import { Injectable } from '@... |
export function between(min: number, max: number) {
return Math.floor(Math.random() * (max - min + 1) + min)
} |
import { graphql } from "react-relay"
import { PaymentSection_Test_Query } from "v2/__generated__/PaymentSection_Test_Query.graphql"
import { setupTestWrapper } from "v2/DevTools/setupTestWrapper"
import { PaymentSectionFragmentContainer } from "../Components/PaymentSection"
import { mockStripe } from "v2/DevTools/mock... |
// color
export const RED = '#f44';
export const BLUE = '#1989fa';
export const GREEN = '#07c160';
export const WHITE = '#fff';
export const GRAY = '#c9c9c9';
export const GRAY_DARK = '#969799';
// border
export const BORDER = 'van-hairline';
export const BORDER_TOP = `${BORDER}--top`;
export const BORDER_LEFT = `${BO... |
import { css } from '@emotion/core'
import { dimensions, breakpoints } from '../../styles/variables'
import { getEmSize } from '../../styles/mixins'
export default {
root: css`
padding: 0 ${getEmSize(16)};
margin-bottom: 1rem;
max-width: 272px;
text-align: center;
@media (max-width: ${breakpoints... |
import Message from "@/protocol/network/messages/Message";
export default class GameFightOptionStateUpdateMessage extends Message {
public fightId: number;
public teamId: number;
public option: number;
public state: boolean;
constructor(fightId = 0, teamId = 2, option = 3, state = false) {
super();
... |
import {Component, ComponentInterface, Host, h, State, Listen} from '@stencil/core';
@Component({
tag: 'fd-switch',
styleUrl: 'fd-switch.css',
shadow: true,
})
export class FdSwitch implements ComponentInterface {
@State() active: boolean
@Listen('click', {capture: true})
handleClick() {
this.active ... |
import { Component } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { IonicPage, NavController, NavParams, AlertController, LoadingController, Platform } from 'ionic-angular';
import { AuthService } from '../../providers/auth.service';
import { OneSignal } from '@ioni... |
import { File, StrykerOptions } from '@stryker-mutator/api/core';
import { Mutant } from '@stryker-mutator/api/mutant';
import { commonTokens, Injector, OptionsContext, tokens } from '@stryker-mutator/api/plugin';
import * as ts from 'typescript';
import flatMap = require('lodash.flatmap');
import { getTSConfig, pars... |
import renderHelp from 'render-help'
import { docsUrl } from '@pnpm/cli-utils'
import PnpmError from '@pnpm/error'
import * as dlx from './dlx'
export const commandNames = ['create']
export async function handler (_opts: Record<string, never>, params: string[]) {
const [packageName, ...packageArgs] = params
if (p... |
declare interface VMPosition {
script: string,
line: number,
}
declare interface JumpDest {
script: string,
target: string,
}
declare interface Point {
x: number, // left, width
y: number, // top, height
}
declare interface LayerInfo {
name: string,
offset?: Point,
size?: Point,... |
import 'phaser';
import { CommonHelpers } from "./helpers/common";
import { ControllerFactory } from './controller/controller-factory';
import { Controller } from './controller/controller';
import { PlatformFactory } from './platforms/platform-factory';
import { Physics } from 'phaser';
import { BombFactory } from './b... |
/**
* Copyright (c) 2020 GraphQL Contributors.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export default function find<T>(
list: Array<T>,
predicate: (item: T) => boolean,
): T | void {
for (let i = 0; i < list.length; ... |
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path="react-table-config.d.ts" />
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path="markdown.d.ts" />
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path=... |
export enum GroupOperator {
$and = 'and',
$or = 'or',
}
export enum QueryOperator {
$eq = '=',
$in = 'in',
$nin = 'not in',
$gt = '>',
$gte = '>=',
$lt = '<',
$lte = '<=',
$ne = '!=',
$not = 'not',
$like = 'like',
$re = 'regexp',
$ilike = 'ilike', // postgres only
$overlap = '&&', // post... |
import { Body, Controller, Get, HttpException, Param, Post, Put, Query } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';
import { AppResource } from 'src/app.roles';
import { Auth } from 'src/common/decorators/auth.decorator';
import { PaginationQuery } from 'src/common/dtos/pagination.dto';
import { ... |
import { Injectable } from '@angular/core';
import { Observable, from } from 'rxjs';
import { share, map, first } from 'rxjs/operators';
import * as prismjs from 'prismjs';
@Injectable()
export class PrettyPrinterService {
private printer: Observable<typeof prismjs>;
constructor() {
// TODO: Refactor needed
... |
import {
Component, Input
} from 'angular2/core';
import {Widget} from "./widget.model";
import {WidgetComponent} from "./widget.component";
@Component({
selector: 'alert-widget-component',
template: `
<div class="carousel-item-src">
<div class="pictogram">
<img [src]... |
import { Interfaces } from "@solar-network/crypto";
import { RoundInfo } from "../shared/rounds";
import { Wallet } from "./wallets";
export interface DposState {
getRoundInfo(): RoundInfo;
getAllDelegates(): readonly Wallet[];
getActiveDelegates(): readonly Wallet[];
getRoundDelegates(): readonly Wal... |
import React from "react";
import { NavLink } from "react-router-dom";
type AddressLinkProps = {
address: string;
text?: string;
};
const AddressLink: React.FC<AddressLinkProps> = ({ address, text }) => (
<NavLink
className="text-link-blue hover:text-link-blue-hover font-address truncate"
to={`/address/... |
import { Field, ObjectType, ID } from '@nestjs/graphql'
@ObjectType()
export class Address {
@Field(() => ID)
code!: string
@Field(() => String, { nullable: true })
lastUpdated?: string
@Field(() => String, { nullable: true })
streetAddress?: string
@Field(() => String)
city!: string
@Field(() =>... |
export declare class FindUserByEmailQuery {
readonly email: string;
constructor(email: string);
} |
import { prop,propObject,propArray,required,maxLength,range } from "@rxweb/reactive-form-validators"
import { gridColumn } from "@rxweb/grid"
export class SpecMilestoneTaskBase {
//#region specMilestoneTaskId Prop
@prop()
specMilestoneTaskId : number;
//#endregion specMilestoneTaskId Prop
//#regio... |
export interface IHistory {
title: string;
message: string;
timestamp: Date;
userId: string;
} |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { ProjectPageRoutingModule } from './project-routing.module';
import { ProjectPage } from './project.page';
i... |
export default [
`Oh it has to be <<CHOICE>>`,
`I'd have to go with <<CHOICE>>`,
`It\'s obviously <<CHOICE>>`,
`It\'s <<CHOICE>> for sure.`,
`I\'d have to say <<CHOICE>>`,
`Definitely <<CHOICE>>`,
`The answer is <<CHOICE>>`,
'My choice is <<CHOICE>>',
`You're better off with <<CHOICE>>`,
`I have dec... |
/*
* Copyright 2020 Spotify AB
*
* 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 i... |
import * as React from "react";
import { Status } from "../..";
/** DOCS:
ItineraryPartPlace is an atomic unit of the Itinerary component, shows two locations, date and time,
has warning property which changes the icon to `<AlertCircle color="warning" />`
to attract user attention about some important informati... |
import classnames from 'classnames';
import {VNode} from 'vue';
import {Options, Vue} from 'vue-class-component';
import {Prop} from 'vue-property-decorator';
import {IS_IOS} from '../../utils/exenv';
import TouchFeedback from '../../vmc-feedback';
@Options({
name: 'KeyboardItem'
})
export class KeyboardItem extends... |
import path from 'path'
import HtmlWebpackHarddiskPlugin from 'html-webpack-harddisk-plugin'
import HtmlWebpackPlugin, { TemplateParameter, Options } from 'html-webpack-plugin'
import { Plugin } from 'webpack'
import { createJsContext, environmentConfig, STATIC_ASSETS_PATH } from '../utils'
const { SOURCEGRAPH_HTTPS... |
interface Window {
// Functions expected by lightdm-webkit-greeter
authentication_complete(): void;
autologin_timer_expired(): void;
show_message(text: string, type: "error" | "info"): void;
show_prompt(text: string, type: "text" | "password"): void;
// Objects provided by lightdm-webkit-greeter
config: ... |
export enum UpdateMethod {
PUT = 'PUT',
DELETE = 'DELETE',
};
export enum FilterType {
CHECKBOX_SELECT = 'checkboxFilter',
INPUT_SELECT = 'inputFilter'
}
export enum SearchType {
CLEAR_TERM = 'clear_search_term',
FILTER = 'update_filter',
INLINE_SEARCH = 'inline_search',
INLINE_SELECT = 'inline_select... |
import { IEntity } from '../ISocialiis7Props';
export function Sample(){
const entity :IEntity = {
Title: 'Add Title of Entity', //
keywords: ["Keyword1","Keyword2","Keyword3"], // Can be any number of
profilePic: "",
blog: [
{
NavTitle: '',
order: 1, //For Sorting
url... |
import {
UUIHorizontalShakeAnimationValue,
UUIHorizontalShakeKeyframes,
} from '@umbraco-ui/uui-base/lib/animations';
import { defineElement } from '@umbraco-ui/uui-base/lib/registration';
import { UUIBooleanInputElement } from '@umbraco-ui/uui-boolean-input/lib';
import { iconCheck } from '@umbraco-ui/uui-icon-reg... |
import { OptionsWithUri } from 'request';
import {
IExecuteFunctions,
IExecuteSingleFunctions,
ILoadOptionsFunctions,
} from 'n8n-core';
import {
IDataObject
} from 'n8n-workflow';
export async function zohoApiRequest(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, method: string, resour... |
import * as psdjs from "../../psdjs";
import { store } from "../store";
// Force import of PSD library.
console.log(psdjs);
/**
* Decodes PSD files with the psd.js library.
* {@link https://github.com/meltingice/psd.js}
*/
export const decodePsd = async (imagePath: string) => {
// @ts-ignore
const psd = PSD.fr... |
import { Subject } from 'rxjs'
export const ParentReceive = {
deleteModuleId$: new Subject<string | number>(),
detailModuleId$: new Subject<{ id: string; type: string }>(),
searchMessage$: new Subject<{ keyword: string; category: string }>()
} |
import add,{ trim } from './add';
import round from './round';
/**
*
* @category Math
* @param {*} dividend
* @param {(string | number | string[])} divisor
* @param {number} [precission=8]
* @returns {string}
*
*/
export default function divide(dividend: any, divisor: string | number | string[], precission = ... |
import {Filter} from './filter';
export interface ApproximateFilterOptions {
attribute: string;
value: string;
}
/**
* The approximate filter is used to check "approximate" matching of attribute/value
* assertions. This object will have an attribute and value property, and the name
* proerty will be approx... |
import { v4 as uuidv4 } from "uuid";
export interface OperationInfo {
numberOfSuccesses: number;
numberOfFailures: number;
}
export interface LockRenewalOperationInfo extends OperationInfo {
/**
* key - id, value - next renewal timer meant for the message/session-receiver
*/
lockRenewalTimers: { [key: s... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {ValidationGuard} from "../validation/validation.guard";
import {AdminComponent} from "./admin.component";
import {TeamAdminComponent} from './team/team-admin/team-admin.component';
import {UserRegComponent} from '.... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sr" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About adamcoin</source>
<translation>О adamcoin-у</translation>
</mess... |
/**
* 进一步对基础模块的导入提炼
* 有关模块注册指导原则请参考:https://ng-alain.com/docs/module
*/
import { NgModule, Optional, SkipSelf, ModuleWithProviders } from '@angular/core';
import { throwIfAlreadyLoaded } from '@core';
import { AlainThemeModule } from '@delon/theme';
import { DelonACLModule } from '@delon/acl';
// #region mock
impo... |
import http from "http";
import EventSource from "eventsource";
import {createServer, closeServer, getUrl} from "./lib/testUtils";
import Session from "./Session";
import Channel from "./Channel";
let server: http.Server;
let url: string;
let eventsource: EventSource;
beforeEach(async () => {
server = await createSe... |
// Copyright 2019 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
export interface Duration {
count: number;
units: string;
}
export function parseDuration(value: string): Duration {
return {
count: parseInt(value.replace(/(y|m|w|d)/, '')),
units: value.replace(/\.?\d+/, ''),
};
} |
import { EventIdentifier, ObservedValue, EventIdentifierStrict } from "../package";
import { AssertTrue, AreEqual, Method } from "./utils";
class SomeType { private _ = "" }
const someSymbol = Symbol("foo");
class PartiallyMixtypedNodeEmitter {
addListener(
eventName: string | symbol,
listener: ((a0: number) =>... |
/**
* Copyright 2021 Vitagroup AG
*
* 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 { Router } from 'express';
import { injectAll, singleton } from 'tsyringe';
export class Controller {
routes: Router;
}
@singleton()
export class AppRouter {
readonly routes = Router();
constructor(@injectAll(Controller) controllers: Controller[]) {
this.routes.use(...controllers.map(({ routes }) =>... |
/*
* @Author: guanlanluditie
* @Date: 2021-03-06 12:08:53
* @Last Modified by: guanlanluditie
* @Last Modified time: 2021-03-06 12:26:43
*/
export const transferEn = {
'bad address': 'bad address',
'Collection address and payment address cannot be the same': 'Collection address and payment address canno... |
import express, { Router } from "express";
import { graphqlHTTP } from "express-graphql";
import { PubSub } from "graphql-subscriptions";
import schema from "./schema";
const PORT = 8080;
const endpoint = "/graphql";
const subscriptionEndpoint = "/subscriptions";
const context = {
pubsub: new PubSub(),
};
export {... |
import * as React from 'react'
import classNames from 'classnames'
import { numberWithCommas, pluralize } from '@sourcegraph/common'
import styles from './DiffStat.module.scss'
const NUM_SQUARES = 5
interface DiffProps {
/** Number of additions (added lines). */
added: number
/** Number of changes (ch... |
<?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 Kin</source>
<translation>O Kin</translation>
</message>
<me... |
import { oneOf } from '@flyerhq/react-native-link-preview'
import * as React from 'react'
import { Pressable, Text, View } from 'react-native'
import { MessageType } from '../../types'
import {
excludeDerivedMessageProps,
ThemeContext,
UserContext,
} from '../../utils'
import { Avatar } from '../Avatar'
import {... |
// eslint-disable-next-line
import './assets/scss/styles.scss';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import App from './app/App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(
<>
<App />
</>,
document.getElementById('root')
);
// If you want your app ... |
import { Id, Option } from '@ephox/katamari';
import { DataTransfer } from '@ephox/dom-globals';
const enum Mode {
ReadWrite,
Protected,
ReadOnly
}
const modeId = Id.generate('mode');
const setMode = (mode: Mode) => (transfer: DataTransfer) => {
const dt: any = transfer;
dt[modeId] = mode;
};
const checkM... |
import { FormControl, Validators } from '@angular/forms'
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'
import { PaymentService } from '../Services/payment.service'
import { MatTableDataSource } from '@angular/material/table'
import { dom, library } from '@fortawesome/fontawesome-svg-cor... |
import { Test, TestingModule } from '@nestjs/testing';
import * as bcrypt from 'bcrypt';
import { JwtModule } from '@nestjs/jwt';
import { getModelToken } from '@nestjs/mongoose';
import { AuthService } from './auth.service';
import { CustomerRegisterDto } from '../dto/customer.register.dto';
describe('AuthService',... |
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { InventoryNotificationsPage } from './inventory-notifications.page';
describe('InventoryNotificationsPage', () => {
let component: InventoryNotificationsPage;
let fixture: Comp... |
import { call, put, putResolve, delay, select, takeEvery, takeLatest }
from 'redux-saga/effects'
import { createAction, PayloadAction } from '@reduxjs/toolkit'
import { actions, initialState } from './actions'
import * as api from '../api'
import { annotation_id_t } from '../annotations/model'
import { selectors } f... |
import { action } from 'typesafe-actions';
import { CitiesTypes } from './types';
export const changeCity = (currentID: string) => action(CitiesTypes.CHANGE_CITY, { currentID }); |
export interface IPoint {
x: number;
y: number;
}
export declare class Point implements IPoint {
x: number;
y: number;
constructor(x: number, y: number);
add(pt: IPoint): Point;
sub(pt: IPoint): Point;
mul(pt: IPoint): Point;
div(pt: IPoint): Point;
abs(): Point;
magnitude():... |
/**
* Created by thilina on 12/16/16.
*/
import { Injectable } from '@angular/core';
import { Headers, Http,Response } from '@angular/http';
import 'rxjs/add/operator/toPromise';
import { Observable } from 'rxjs';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import {Url} from "url";
import {Merchant} fr... |
import { Component, OnInit, Input, OnChanges, SimpleChanges, HostListener, forwardRef, ElementRef, ChangeDetectionStrategy } from '@angular/core';
import { NG_VALUE_ACCESSOR , ControlValueAccessor} from '@angular/forms';
import {
startOfMonth,
endOfMonth,
addMonths,
setYear,
eachDay,
getDate,
getMonth,
... |
/**
* Copyright (c) JOB TODAY S.A. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import React, { ComponentType, useCallback, useEffect } from "react";
import {
Animated,
Dimensions,
StyleSheet,
View,
... |
import React from 'react';
import styled from 'styled-components';
import { Col, Row } from "react-bootstrap";
const CareerText = styled.p`
font-size: 25px;
`
const CampanyName = styled.p`
font-size: 15px;
line-height: 1%;
`
const TimeExp = styled.p`
font-size: 15px;
`
const ExperienceData = [
... |
import { Component, Input, Injector, ViewChild } from '@angular/core';
import { ComponentNames, LogCategories } from '../../shared/models/constants';
import { FeatureComponent } from '../../shared/components/feature-component';
import { FunctionMonitorInfo, MonitorConfigureInfo } from '../../shared/models/function-moni... |
/*
* 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 { schema } from '@kbn/config-schema';
import { AGENT_TYPE_EPHEMERAL, A... |
import { Component, Inject, HostListener } from '@angular/core';
import { DOCUMENT } from '@angular/common';
@Component({
selector: 'app-scroll-top',
templateUrl: './scroll-top.component.html',
styleUrls: ['./scroll-top.component.scss']
})
export class ScrollTopComponent {
windowScrolled: boolean;
constructor... |
import React from 'react';
import { createStackNavigator } from '@react-navigation/stack';
import { theme } from '../global/styles/theme';
import { Home } from '../screens/Home';
import { SignIn } from '../screens/SignIn';
import { AppointmentDetails } from '../screens/AppointmentDetails';
import { AppointmentCreate ... |
import { FrUnitId } from "./frUnitMap";
import { EnUnitId } from "./enUnitMap";
export type CardId = FrUnitId | EnUnitId; |
import { FlipStatus } from './../entity/opening';
import { Geometry } from 'three';
import {BaseEntityGeometry} from './entity-geometry'
import {Opening, FixedWindowFlag, FloorWindowFlag, BayWindowFlag,
OneDoorFlag, TwoDoorsFlag, SlidingDoorsFlag, DoorwayFlag } from '../entity/entity'
import { BaseGeometry, Polygon... |
import { async, ComponentFixture, TestBed } from "@angular/core/testing";
import { AddReleaseComponent } from "./add-release.component";
describe("AddReleaseComponent", () => {
let component: AddReleaseComponent;
let fixture: ComponentFixture<AddReleaseComponent>;
beforeEach(async(() => {
TestBed.configure... |
import { TestBed, async } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [RouterTestingModule],
... |
import { BaseModifier, registerModifier } from "../../../lib/dota_ts_adapter";
import "./modifier_reimagined_slardar_puddle";
@registerModifier()
export class modifier_reimagined_slardar_puddle_thinker extends BaseModifier {
// Modifier properties
caster: CDOTA_BaseNPC = this.GetCaster()!;
ability: CDOTABaseAbility... |
import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient";
import { MalformedTimestampHeaderEpochInput } from "../models/models_0";
import {
deserializeAws_restJson1MalformedTimestampHeaderEpochCommand,
serializeAws_restJson1MalformedTimestampHeaderEpoch... |
import React, { SVGAttributes } from 'react';
export interface DocFavProps extends SVGAttributes<SVGElement> {
[key: string]: any;
size?: 'xs' | 's' | 'm' | 'l' | 'xl' | number;
color?: string;
}
const sizes = { xs: 12, s: 16, m: 20, l: 24, xl: 32 };
export const DocFav: React.FC<DocFavProps> = (props): J... |
/*---------------------------------------------------------------------------------------------
* 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 renderer from 'react-test-renderer'
import { Banner } from '@components'
describe('Banner', () => {
it('renders correctly', () => {
const tree = renderer.create(<Banner />).toJSON()
expect(tree).toMatchSnapshot()
})
}) |
import { i18n } from '../../../../lib/i18n/i18n';
import { TrophyBase } from '../../types';
const unleashThePower: TrophyBase = {
island: 'combat',
name: 'unleashThePower',
level: 'combat4',
title: i18n('Unleash The Power'),
description: i18n(
'Achieve a kill in the 30 seconds after you reached level six... |
import { browser, by, element } from 'protractor';
export class AppPage {
async navigateTo() {
await browser.waitForAngularEnabled(false);
await browser.get(browser.baseUrl);
}
async getAnchor() {
return element(by.css('a')).getText();
}
async clickAnchor() {
await element(by.css('a')).clic... |
/*!
* @license
* Copyright 2019 Alfresco, Inc. and/or its affiliates.
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.