text stringlengths 10 953k |
|---|
import * as vscode from 'vscode';
import * as Enums from '../../../enum';
import 'reflect-metadata';
import { singleton, container } from 'tsyringe';
interface FragmentLine {
line: string | undefined,
line_number: number,
line_type: Enums.LineType
}
let Is: { isFragmentListLineType: (x: Enums.LineType) => boolean ... |
interface PokemonStatus {
HP: number;
ATK: number;
DEF: number;
SATK: number;
SDEF: number;
SPED: number;
WEIGHT: number;
} |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { TestBed, inject } from '@angular/core/testing'
import { MemberService } from './member.service'
describe('MemberService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [MemberService]
})
})
it(
'should be created',
inject([MemberService], (service: Member... |
export class DailyNeed {
public id: number;
public date: string;
public category: string;
public quantity: number;
public color?: any;
}
export class KitchenNeeds {
kitchenId: number;
dailyNeeds: DailyNeed[];
} |
import { Injectable } from '@angular/core';
import { HttpClient, HttpParams } from '@angular/common/http';
import { map } from 'rxjs/operators';
import { Observable } from 'rxjs';
import { SeriesAdapter } from './series.adapter';
import { ADD_SERIES, GET_SERIES_BY_ID, GET_MULTIPLE_SERIES, GET_SERIES_BY_BOOK, GET_SERIES... |
import { AnyGrid } from 'gridy';
import { IGame } from '../../IGame';
import { Move } from '../../Move';
import { QuirkatBoard } from '../base/QuirkatBoard';
export declare class CatchTheHareGameBase extends QuirkatBoard implements IGame {
static title: string;
static group: string;
static wiki: string;
... |
import type {SQLQuery} from '@databases/sql';
import {Lock} from '@databases/lock';
import Factory, {
Disposable,
ConnectionFactory,
TransactionFactory,
} from './Factory';
import Driver from './Driver';
import QueryableType from './QueryableType';
import BaseTransaction from './BaseTransaction';
import BaseConne... |
import {makeStyles} from "@material-ui/core";
export default makeStyles(theme => ({
root: {
width: '100%',
},
rootForm: {
margin: theme.spacing(1),
marginBottom: 20,
},
formVeryTooShort: {
width: '10ch',
marginRight: 5,... |
/*
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requi... |
import React, { useState } from 'react';
import { storiesOf } from '@storybook/react';
import { TransferList, TransferListData, TransferListProps } from '../index';
function Wrapper(props: Partial<TransferListProps>) {
const [data, setData] = useState<TransferListData>([
Array.from(Array(1000), (_, i) => ({
... |
import React, { ReactElement } from 'react';
import styles from './Footer.module.css';
import Link from '../Link/Link';
export default function Footer(): ReactElement {
return (
<footer className={styles.footer}>
Built with
<span className={styles.heart}>❤</span>
on Planet Ea... |
import { useEffect, useState } from "react";
import {
createVideo,
getVideoInfo,
putVideoChunk,
putVideoPic,
getProfileVideos,
shareVideo,
getProfileAlbums,
addVideo2Album,
createAlbum,
} from "./canister";
import { VideoInfo, VideoInit, AlbumInfo } from "../dfx/CanCand";
import { MAX_CHUNK_SIZE, encodeArr... |
import Pulse from '@pulsejs/react';
export const App = new Pulse(); |
/**
* @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 {CommonModule} from '@angular/common';
import {Compiler, ComponentFactory, ComponentRef, ErrorHandler, EventE... |
import firebase from "firebase/app";
import { useCallback } from "react";
export default function useFirestorePartialUpdateRef<T>() {
const partialUpdateRef = useCallback(
(
docRef: firebase.firestore.DocumentReference<firebase.firestore.DocumentData>,
value: { [key: string]: T },
owner: string... |
import init from '../domain/vehicle/VehicleListPage/VehicleApp';
export class VehiclePage {
static templateUrl = '/partials/vehicle.html';
constructor() {
init();
}
} |
import { DefaultButtonOptions, StageButtonOptions, StageButtonWrapper } from '../../types/button';
/** Register an entry in the Share menu for contributors.
* Can be used to trigger any action (sharing custom content, files, videos, etc)
*
* @example Stage.Buttons.registerShareButton({
* label: 'Share a Document... |
/**
* Copyright 2021 Omar Hoblos
*
* 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 createRepoTask from '@/music/playlistRepo';
import { PlaylistDefinitionRepo } from '@/music/ports';
import { PlaylistDefinition } from '@/music/types';
import { ApplicationError, RawError } from '@/shared';
import { EitherAsync } from 'purify-ts';
import { log } ... |
// Generated typescript code of HL7v 2.7 PEO (Product Experience Observation)
import mongoose from "mongoose";
import Segment from "./Segment";
export type HL7ProductExperienceObservationV7Document = mongoose.Document & HL7ProductExperienceObservationV7I
const HL7ProductExperienceObservationV7Schema = new mongoose.... |
import ZoneId from '../../../../../resources/zone_id';
import { OopsyData } from '../../../../../types/data';
import { OopsyTriggerSet } from '../../../../../types/oopsy';
export type Data = OopsyData;
const triggerSet: OopsyTriggerSet<Data> = {
zoneId: ZoneId.KtisisHyperboreia,
damageWarn: {
'Ktisis Ktiseos ... |
/* tslint:disable */
/* eslint-disable */
/**
* Jellyfin API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 10.7.7
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech)... |
import { css } from '@emotion/core';
import styled from '@emotion/styled';
import { useTheme } from 'gatsby-theme-maximeheckel/src/context/ThemeContext';
import { InlineCode } from 'gatsby-theme-maximeheckel/src/components/MDX/Code';
import React from 'react';
import {
AnimationCard,
AnimationCardContent,
Form,
... |
import type { Primitive } from './shared';
type TokenizeObject<DataType = Primitive> = {
[key: string]:
| Primitive
| TokenizeObject<DataType>
| TokenizeArray<DataType>
| DataType;
};
type TokenizeArray<DataType = Primitive> = Array<
Primitive | TokenizeObject<DataType> | TokenizeArray<DataType> | ... |
import React from 'react'
import useTheme from '@mui/material/styles/useTheme'
// @ts-ignore
export const Logo: React.ComponentType<{ width?: string | number, style?: React.CSSProperties }> = ({width, style = {enableBackground: 'new 0 0 150 150'}}) => {
const {palette} = useTheme()
return <svg
style={s... |
export const testConfig = {
id: 100009374775830,
shortName: "kh7ir",
}
export const testConfig2 = {
id: 100025424408094,
shortName: "halit.eraslan.731",
}
//profile.php?id=100009374775830 //https://www.facebook.com/huan.lu.5099 //raja.sirhatti.52 |
import { ValidationOptions } from '../ValidationOptions';
export declare const IS_PORT = "isPort";
/**
* Check if the string is a valid port number.
*/
export declare function isPort(value: unknown): boolean;
/**
* Check if the string is a valid port number.
*/
export declare function IsPort(validationOptions?: Val... |
import * as React from 'react';
import { Button, Divider, Form, Select } from 'antd';
import { Wrapper, Segment } from 'components';
import { DataGrid } from 'axui-datagrid';
class InlineEdit extends React.Component<any, any> {
constructor(props: any) {
super(props);
const gridData = require('examples/data... |
import React from 'react'
import { createStyles, makeStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
import FormLabel from '@material-ui/core/FormLabel';
import FormGroup from '@material-ui/core/FormGroup';
import Dialog from '@material-ui/core/Dialog';
import MuiDialogTitle from '@material-ui/... |
/**
* Creates a projected layout that specifies pixel space position of data points
*
* The first generic corresponds to the type of datum to me projected
*
* @param projection - The projection to apply the layout
* @param data - The data to be projected
* @returns The input data with each value wrapped into a o... |
import { struct } from '../../..'
export const Struct = struct.tuple(['string', 'number'])
export const data = 'invalid'
export const error = {
path: [],
value: 'invalid',
type: '[string,number]',
} |
import { ModelObjectTypeGenerator } from '../generator';
import { IGQLType, IGQLField } from '../../datamodel/model';
export default class ModelGenerator extends ModelObjectTypeGenerator {
getTypeName(input: IGQLType, args: {}): string;
protected generateRelationField(model: IGQLType, a: {}, field: IGQLField): ... |
import { Injectable } from '@nestjs/common';
import * as dotenv from 'dotenv';
@Injectable()
export class ConfigsService {
private readonly envConfig: Record<string, string>;
constructor() {
const result = dotenv.config();
if (result.error) {
this.envConfig = process.env;
} else {
this.envCo... |
import React from 'react';
import { compose, withState, withProps } from 'recompose';
import { withI18n } from '@lingui/react';
import get from 'lodash/get';
import compact from 'lodash/compact';
import moment from 'moment';
import {
withStyles,
Button,
Table,
SectionHeader,
withStylesProps,
} from '@kudoo/co... |
/// <reference types="react" />
declare const FlagEcuador: ({ size, rem }: {
size: number | string;
rem?: boolean | undefined;
}) => JSX.Element;
export default FlagEcuador; |
import { AVPlaybackStatus, Video, VideoProps } from 'expo-av';
import { ActivityIndicatorProps, TextStyle } from 'react-native';
import { ColorValue } from 'react-native';
import { ErrorType } from './constants';
import { MutableRefObject } from 'react';
import { SliderProps } from '@react-native-community/slider';
exp... |
export declare const ImageViewer: () => JSX.Element; |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { RecommdationsComponent } from './recommdations.component';
const routes: Routes = [
{
path: '',
component: RecommdationsComponent
}
];
@NgModule({
imports: [RouterModule.forChild(rout... |
import http from 'http';
import https from 'https';
import WebSocket from 'ws';
import prettyError, { ParcelError } from './utils/prettyError';
import generateCertificate from './utils/generateCertificate';
import getCertificate, { CertificateOptions } from './utils/getCertificate';
import logger from './Logger';
impor... |
import React from 'react';
import ReactDOM from 'react-dom';
import Root from './Root';
ReactDOM.render(
<React.StrictMode>
<Root />
</React.StrictMode>,
document.getElementById('root')
); |
import {PlayerInternals} from '@remotion/player';
import React, {useMemo, useState} from 'react';
import {Internals} from 'remotion';
import styled from 'styled-components';
import {
CheckerboardContext,
loadCheckerboardOption,
} from '../state/checkerboard';
import {loadPreviewSizeOption, PreviewSizeContext} from '.... |
import { ReplicantModule } from '@mysrtafes2022-layouts/browser_shared/replicant_store';
import Vue from 'vue';
import Vuex, { Store } from 'vuex';
import { getModule, Module, VuexModule, Mutation, Action } from 'vuex-module-decorators';
import { SetupInformation } from '@mysrtafes2022-layouts/types/schemas/setupInform... |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including witho... |
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import {
HttpEvent,
HttpHandler,
HttpInterceptor,
HttpRequest,
} from '@angular/common/http';
import { finalize, share } from 'rxjs/operators';
@Injectable({ providedIn: 'root' })
export class LoggingInterceptor implements HttpInt... |
import { Connection, Repository } from "typeorm";
import { RequestHandler } from "express";
import { UserAccount } from "../entity/UserAccount";
import { InstrumentUpload, ModelUpload } from "../entity/Upload";
import { PermissionType } from "../entity/Permission";
import { Site } from "../entity/Site";
const auth = re... |
export const RadioComponent = (props: React.ComponentProps<'input'>) => (
<input
css={{
position: 'absolute',
opacity: 0,
flexShrink: 0,
}}
{...props}
/>
) |
import React, { useState, FC } from 'react';
import { useStoreState, useStoreActions } from '@renderer/store';
import Select, { DropDownComponent } from '@renderer/thirdParty/Select';
import { DropResult, DragDropContext } from 'react-beautiful-dnd';
import arrayMove from 'array-move';
import MemoDropList from '@render... |
import { HealthState } from '@console/shared/src/components/dashboard/status-card/states';
import { GridPosition } from '@console/shared/src/components/dashboard/DashboardGrid';
import {
FirehoseResource,
FirehoseResult,
FirehoseResourcesResult,
} from '@console/internal/components/utils';
import { K8sKind, K8sRe... |
import { routerReducer, RouterReducerState } from '@ngrx/router-store';
import {
ActionReducerMap,
ActionReducer,
MetaReducer,
createSelector,
createFeatureSelector,
} from '@ngrx/store';
/**
* storeFreeze prevents state from being mutated. When mutation occurs, an
* exception will be thrown. This... |
import { UserSignup } from "../../models/user.model";
import { Request, Response } from "express";
import * as bcrypt from "bcrypt";
export const passwordEncryption = (async ({ body: {name,surname, username, password, repeatPassword, admin } }: Request<any, any, UserSignup>, res: Response, next: any) => {
var has... |
import {
Component,
ViewChild,
EventEmitter,
Output,
Input
} from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { UserAuthRouter } from '@modules/client.common.angular2/routers/user-auth-router.service';
import { BasicInfoFormComponent } from '../forms/basic-info/basic-info-form... |
/// <reference path='fourslash.ts' />
// @noUnusedLocals: true
// @noUnusedParameters: true
////function f(a, b) {
//// const x = 0; // Can't be prefixed, ignored
////}
////type Length<T> = T extends ArrayLike<infer U> ? number : never;
verify.codeFixAll({
fixId: "unusedIdentifier_prefix",
fixAllDescripti... |
import type { App, Component } from 'vue'
import VarSnackbarCore from './core.vue'
import VarSnackbar from './Snackbar.vue'
import context from '../context'
import { h, reactive, TransitionGroup } from 'vue'
import { mountInstance } from '../utils/components'
import { isPlainObject, toNumber } from '../utils/shared'
e... |
import { Header, Sidebar } from "@components/common";
import styles from "./index.module.scss";
export const Layout: React.FC = ({ children }) => {
return (
<>
<Header />
<div className={styles.bodyWrapper}>
<Sidebar />
<div className={styles.contentWrapper}>
{children}
... |
export interface CameraConfiguration {
saturationDiff: number;
contrastDiff: number;
brightnessDiff: number;
} |
import { Module } from '@nestjs/common';
import { DiarioOficialController } from './diario-oficial.controller';
import { DiarioOficialService } from './diario-oficial.service';
@Module({
imports: [],
controllers: [DiarioOficialController],
providers: [DiarioOficialService],
})
export class DiarioOficialModule {} |
<TS language="he" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>לחץ על הכפתור הימני בעכבר כדי לערוך את הכתובת או התווית</translation>
</message>
<message>
<source>Create a new address</source>
... |
import { Component, OnInit, OnDestroy, OnChanges, Input } from '@angular/core'
import { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser'
import { NsWidgetResolver, WidgetBaseComponent } from '@sunbird-cb/resolver'
import { NsEmbeddedPage } from './embedded-page.model'
@Component({
selector: 'ws-widg... |
import Get, { GetDataError, GetMethod, GetProps } from "./Get";
export { default as RestfulProvider, RestfulReactProviderProps } from "./Context";
export { default as Poll, PollProps } from "./Poll";
export { default as Mutate, MutateProps, MutateMethod } from "./Mutate";
export { useGet, UseGetProps, UseGetReturn } ... |
export default class TileMapRendererEditor {
projectClient: SupClient.ProjectClient;
editConfig: any;
tbody: HTMLTableSectionElement;
tileMapAssetId: string;
tileSetAssetId: string;
shaderAssetId: string;
tileMapFieldSubscriber: SupClient.table.AssetFieldSubscriber;
shaderFieldSubscriber: SupClient.ta... |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {wrap} from 'jest-snapshot-serializer-raw';
import runJest, {until} from '../runJest';
import {onNodeV... |
import { fitElementHeight } from '../fit-element-height';
describe('fitElementHeight()', () => {
it('should set style.height', () => {
const spy = jest.fn();
const fakeTarget = {
scrollHeight: 234,
offsetHeight: 12,
clientHeight: 23,
style: {
set height (value: string | number... |
export * from './abort';
export * from './admin';
export * from './card-transaction';
export * from './change-connection';
export * from './connection-message';
export * from './connection';
export * from './currency';
export * from './log';
export * from './terminal-action';
export * from './terminal-payment-receipt';... |
import {Component, ViewChild} from '@angular/core';
import {IActionMapping, TREE_ACTIONS, TreeComponent, TreeNode} from 'angular-tree-component';
import * as CodeMirror from 'codemirror';
import {ToastyService} from 'ng2-toasty';
import {CodeService, CONTEXT_ALL} from '../code.service';
import {Landmark} from '../landm... |
import { Component } from '@angular/core';
import { product } from '../ProductTest';
@Component({
moduleId: module.id,
selector: 'show-product',
templateUrl: 'show-product.component.html',
styleUrls: ['show-product.component.scss']
})
export class ShowProductComponent {
model = new product(1, "prod... |
import * as React from 'react';
import { IoK8sApiCoreV1Service } from '@kubevirt-ui/kubevirt-api/kubernetes';
import { V1VirtualMachineInstance } from '@kubevirt-ui/kubevirt-api/kubevirt';
import MutedTextSpan from '@kubevirt-utils/components/MutedTextSpan/MutedTextSpan';
import { useKubevirtTranslation } from '@kubev... |
import React from 'react';
import Phaser from 'phaser';
import { IonPhaser } from '@ion-phaser/react';
import { WebFontLoaderPlugin } from 'phaser3-webfont-loader';
import ClockScene from '../../Phaser/Scenes/ClockScene';
const game = {
width: '100%',
height: '100%',
backgroundColor: 'transparent',
physics: {
... |
import LectureEntity from '../entity/lectureEntity';
import MarkerEntity from '../entity/markerEntity';
import Logger from '../loader/logger';
import { Message } from '../types';
import Marker from './marker';
import Member from './member';
class Lecture {
public readonly id: number;
public readonly lectureDate: ... |
import axios from 'axios';
import { useQuery } from 'react-query';
import { Project } from '../../models/project';
const getProject = async (id: string) => {
const { origin } = window.location;
const response = await axios.get(`${origin}/api/projects/${id}`);
const project = response.data;
return project;
};... |
import { IRemoteCommand, RemoteCommandType } from '@commonTypes/commands'
export class EntityCreatedCommand implements IRemoteCommand {
private id: number
private generation: number
constructor(id: number, generation: number) {
this.id = id
this.generation = generation
}
public getCommandType()... |
import { setPrinter } from "builder-util/out/log"
import { ProgressBar } from "./progress"
export class MultiProgress {
private readonly stream = process.stdout as any
private cursor = 0
private totalLines = 0
private isLogListenerAdded = false
private barCount = 0
createBar(format: string, options: an... |
import { ReactWrapper } from 'enzyme';
import { getSelection, setSelection } from '../src/SelectionUtils';
const inputNode = (wrapper: ReactWrapper) => wrapper.find('input').getDOMNode() as HTMLInputElement;
export function simulateChange(wrapper: ReactWrapper, content: string) {
const node = inputNode(wrapper);
... |
import * as React from 'react';
import { IssueTypeOption } from './types';
export const IssueTypeRenderer = (option: IssueTypeOption) => (
<>
<i className={`fa ${option.iconClass} ${option.textClass}`} />{' '}
{option.label}
</>
); |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CastHazardComponent } from './cast-hazard.component';
describe('CastHazardComponent', () => {
let component: CastHazardComponent;
let fixture: ComponentFixture<CastHazardComponent>;
beforeEach(async(() => {
TestBed.configure... |
import { Graph } from './rendering/Graph'
function main (): void {
const canvas = document.getElementById('node-canvas') as HTMLCanvasElement
if (canvas == null) throw new Error('Failed to find canvas element!')
const graph = new Graph(canvas)
let lastFrame = 0
function mainLoop (time: number): void {
... |
export interface BorderSize {
primary: number
secondary: number
small: number
}
export interface BorderRadius {
xs2: number
xs1: number
sm: number
md: number
lg: number
xl1: number
rounded: string
} |
import * as settings from '../../actions/settings/settings';
import config from '../../config';
import { jsonc } from 'app/utils';
export type SettingsTheme = 'light' | 'dark' | 'dracula';
export type SettingsLanguage = keyof typeof config.languages;
export interface State {
/**
* Specifies the theme
* Optio... |
import { Component, OnInit } from '@angular/core';
import { GalleryComponent } from '../gallery/gallery.component';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.scss'],
})
export class HomeComponent implements OnInit {
model = {
left: t... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { HeroDetailComponent } from './hero-detail.component';
@NgModule({
imports: [ BrowserModule, FormsMo... |
import { HelloService } from './hello.service';
import { Controller, Post, Body, Get, Header, Query } from '@nestjs/common';
import { PersonDto } from './dto/person.dto';
import { ApiResponse, ApiBearerAuth, ApiQuery } from '@nestjs/swagger'
@Controller('hello')
export class HelloController {
constructor(
... |
/**
Copyright 2021 Forestry.io Holdings, Inc.
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 in writ... |
import * as ko from "knockout";
import * as _ from "lodash";
import * as Mousetrap from "mousetrap";
import {
HpVerbosityOption,
PlayerViewSettings
} from "../../common/PlayerViewSettings";
import { Command } from "../Commands/Command";
import { CommandSetting } from "../Commands/CommandSetting";
import { Store } ... |
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
import '../style/index.css';
import { Widget } from '@phosphor/widgets';
import { map, toArray } from '@phosphor/algorithm';
import {
ILayoutRestorer,
JupyterFrontEnd,
JupyterFrontEndPlugin
} from '@jupyterl... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
e... |
import { NextFunction, Request, Response } from "express";
import Role from "../models/Role";
import User from "../models/User";
// users which has admin role can see all db records with getUsers api
export const getUsers = async (req: Request, res: Response) => {
const users = await User.find().populate("roles");
... |
import {Injectable, NgZone} from '@angular/core';
/**
* A service to copy text into clipboard, either by directly passing the text or by passing a DOM Element reference.
* NOTE:
* It only works when accompanied by some user-action eg: click,
* otherwise browser ignores the copy command, tested in Chrome.
*/
@Inj... |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'piclodio';
isNavbarCollapsed = true;
} |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AppComponent } from './app.component';
import { SpotCardComponent } from './spotcard/spotcard.component';
import { PageNotFoundComponent } from './pagenotfound/pagenotfound.component';
import { SpotDetailsCompone... |
import * as supertest from 'supertest';
import { expect } from 'chai';
const fixturePath = __dirname + '/fixtures/00-basic/config';
import { testInit, testDeInit, testLocalServer } from './lib/test-init';
describe('00 basic tests', function () {
let pineServer: Awaited<ReturnType<typeof testInit>>;
before(async () =... |
export const Salami = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" class="sndvll-food-icons icon-salami">
</svg>` |
import { Component, OnInit } from '@angular/core';
import { Alumno } from '../alumno'
import { Carrera } from '../../carrera/carrera'
import { Grupo } from '../../grupo/grupo'
import { AlumnoService } from '../alumno.service';
import { CarreraService } from '../../carrera/carrera-service.service';
import { GrupoService... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// Type definitions for jquery-toastmessage-plugin 0.2
// Project: https://github.com/akquinet/jquery-toastmessage-plugin
// Definitions by: Joe Skeen <https://github.com/joeskeen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery" />
interface ... |
import Document from './Document';
import TextElement from './TextElement';
export default class TSpanElement extends TextElement {
type: string;
protected readonly text: string;
constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
getText(): string;
}
//# sourceMappingURL=TSp... |
import { Reply } from '../base';
export default class BoundsChangedReply extends Reply<'window', 'bounds-changed'> {
changeType: BoundsChangeType;
deferred: boolean;
height: number;
width: number;
top: number;
left: number;
}
export declare const enum BoundsChangeType {
POSITION = 0,
SIZ... |
import type { Options, Placement } from '@popperjs/core'
import { AnimatePresence, motion } from 'framer-motion'
import { css, cx } from '@emotion/css'
import React, { ReactNode, useCallback, useEffect, useRef, useState } from 'react'
import { createPortal } from 'react-dom'
import { Modifier, usePopper } from 'react-p... |
import { StyledIcon } from '@styled-icons/styled-icon';
export declare const Mixi: StyledIcon;
export declare const MixiDimensions: {
height: number;
width: number;
}; |
/**
* Data Integration API
* Use the Data Integration API to organize your data integration projects, create data flows, pipelines and tasks, and then publish, schedule, and run tasks that extract, transform, and load data. For more information, see [Data Integration](https://docs.oracle.com/iaas/data-integration/hom... |
import * as cdk from '@aws-cdk/core';
import * as eks from '@aws-cdk/aws-eks';
import * as dynamodb from '@aws-cdk/aws-dynamodb';
export class EksCredentialsStack extends cdk.Stack {
constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);
// create a cluster
cons... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.