text
stringlengths
10
953k
import { boolean, stringopt } from './Cmdline' import { panic, puts } from './IO' class PendingDriver { constructor(public deps: Set<string>, public name: string, public id: i64, public create: () => DriverBase) {} } class Dep { constructor(public needed: string, public touse: string) {} } const driverRegistry...
// @ts-ignore const API_PORT = process.env.LOCAL_API_PORT; export const LOCAL_API_URL = `http://localhost:${API_PORT}/api`; export const IS_USING_LOCAL_API = // @ts-ignore process.env.USE_LOCAL_API === "true" || process.env.NODE_ENV === "test"; export const STORAGE_KEY = "transfermytime"; export const CLOCKIFY_A...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Quark</source> <translation>Tietoa Quarkista</translation> </mes...
import * as os from 'os'; export default { workspace: '~/work/cicada-ci/workspace'.replace('~', os.homedir()), packspace: '~/work/cicada-ci/packspace'.replace('~', os.homedir()), cachespace: '~/work/cicada-ci/cachespace'.replace('~', os.homedir()), };
import TestRun from '../../../../../test-run'; export type ObservationConstructor = (new (init: object, testRun: TestRun) => any); export type ActionConstructor = (new (init: object, testRun: TestRun, validateProperties: boolean) => any); export type CommandConstructor = ObservationConstructor | ActionConstructor;
import React, { useEffect, useState } from 'react' import { UserDto } from '../models/userDto'; interface IResponse<T> { data: T[], status: number } function request<T>() { const response: IResponse<T> = { data: [], status: 200 }; return Promise.resolve(response) }; function UserDetail() { const [userDetail, s...
import { ClaimDevicesByClaimCodeCommandInput, ClaimDevicesByClaimCodeCommandOutput, } from "./commands/ClaimDevicesByClaimCodeCommand"; import { DescribeDeviceCommandInput, DescribeDeviceCommandOutput } from "./commands/DescribeDeviceCommand"; import { FinalizeDeviceClaimCommandInput, FinalizeDeviceClaimCommand...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2020 Realm 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/li...
export const DATABASE_VERSION = "11"; export const DB_INSTANCE_PROP_NAME = "dbInstance";
import React from 'react'; import ReactDOM from 'react-dom'; import './assets/styles/global.css'; import './assets/styles/main.css'; import App from './App'; ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') );
import bcrypt from "bcryptjs"; import { Arg, Ctx, Mutation, Query, Resolver, UseMiddleware, } from "type-graphql"; import { LoginResponse } from "../../../models/LoginResponse"; import { Role } from "../../../models/Role"; import { User } from "../../../models/User"; import { RegisterInput } fro...
import { actions } from "common/actions"; import { messages } from "common/butlerd"; import { Profile } from "common/butlerd/messages"; import { Space } from "common/helpers/space"; import { Store, TabDataSave } from "common/types"; import { Watcher } from "common/util/watcher"; import { mcall } from "main/butlerd/mcal...
import type { EndpointsOption, SchemePartialOptions, TokenableSchemeOptions, TokenableScheme, UserOptions, HTTPRequest, HTTPResponse, SchemeCheck } from '../types' import type { Auth } from '../core' import { getProp } from '../utils' import { Token, RequestHandler } from '../inc' import { BaseScheme } ...
/* eslint-disable prettier/prettier */ import { IsString } from "class-validator"; import { Enfant } from "src/enfant/enfant.entity"; import { Prison } from "src/prison/prison.entity"; import { User } from "src/user/user.entity"; import { countryenum } from "../ENUM/country.enum"; export class AdopterDTO { nati...
import { v4 as uuidv4 } from 'uuid'; const ipcRenderer = window!.ipcRenderer; function makeStartAudioDestinationNode(audioDestinationNode) { return ({ recordingStartedAt, deviceId }) => { // NOTE(gnewman): The correlation ID lets the backend associate incoming data // with our particular destination node. O...
import { Controller, Post, Get, Patch, Delete, Body, Param, UseInterceptors, ClassSerializerInterceptor, Query, } from '@nestjs/common' import { NotificationRule, NotificationSetting } from '@ohbug-server/common' import { NotificationService } from './notification.service' import { BaseNotificat...
import { getRepository, Repository } from 'typeorm'; import IProductsRepository from '@modules/products/repositories/IProductsRepository'; import ICreateProductDTO from '@modules/products/dtos/ICreateProductDTO'; import IUpdateProductsQuantityDTO from '@modules/products/dtos/IUpdateProductsQuantityDTO'; import Product...
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { HeroesServices, Heroe } from '../../services/heroes.service'; @Component({ selector: 'app-heroe', templateUrl: './heroe.component.html' }) export class HeroeComponent implements OnInit { heroe: Heroe; ...
/* * minimal counter app state * * In this case, our app state is simply a single number (the counter). But we * put it here because in the future, when our state is more complicated * */ export interface AppState { counter: number; };
import { defineComponent } from 'vue'; // Utils import { pick, createNamespace } from '../utils'; import { RADIO_KEY, RadioGroupProvide } from '../radio-group/RadioGroup'; // Composables import { useParent } from '@vant/use'; // Components import Checker, { checkerProps } from '../checkbox/Checker'; const [name, be...
import { Component, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { Member } from 'src/app/models/member'; import { MembersService } from 'src/app/_services/members.service'; @Component({ selector: 'app-member-list', templateUrl: './member-list.component.html', styleUrls: ['./member-li...
import { ForbiddenException, Injectable } from '@nestjs/common'; import { PrismaService } from '../../src/prisma/prisma.service'; import { CreateBookmarkDto, EditBookmarkDto } from './dto'; @Injectable() export class BookmarkService { constructor(private prisma: PrismaService) {} getBookmarks(userId: number) { ...
/** * Copyright 2020 Solomon Shalom Lijo 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 la...
// Copyright 2019-2022 @polkadot/extension-plus authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable header/header */ /* eslint-disable react/jsx-max-props-per-line */ /** * @description this componet is used to show an value, if not loaded shows skelton * */ import type { ThemeProps } f...
// fontawesome/svgs/solid/stopwatch.svg import { createSvgIcon } from './createSvgIcon'; export const SvgStopwatch = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"> <!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/fre...
import {Component, Input, OnInit} from 'angular2/core'; import { RouteParams } from 'angular2/router'; import {Hero} from './hero'; import { HeroService } from './hero.service'; @Component({ selector: 'my-hero-detail', templateUrl: 'app/hero-detail.component.html', styleUrls: ['app/hero-detail.component.css'] })...
import { CallExpression, Expression, FunctionExpression, VariableExpression, ConditionalExpression, VariableShorthandNumber, ExecutableCallRegular, ExecutableCall, ExecutableConditional, RepeatExpression, ExecutableCallShorthand, VariableShorthandFunc, BinaryExpression, ExecutableBinary } fr...
import {IClock, IMessage} from 'mitosis'; import {Stat} from './stat'; export class NetworkStats { private _clock: IClock; private _in: Stat; private _out: Stat; constructor(clock: IClock) { this._clock = clock; this.reset(); } public reset(): void { this._in = new Stat(this._clock); thi...
import React, { useRef } from 'react'; import styled, { css } from 'styled-components'; import RatioImage from './RatioImage'; import { ellipsis } from '../../lib/styles/utils'; import { themedPalette } from '../../lib/styles/themes'; import { LikeIcon } from '../../static/svg'; import { PartialPost } from '../../lib/g...
import { Injectable } from '@angular/core'; import { FetchResult, PartialFetcher } from '@rbkmoney/partial-fetcher'; import pickBy from 'lodash-es/pickBy'; import moment from 'moment'; import { Observable } from 'rxjs'; import { map, shareReplay } from 'rxjs/operators'; import { booleanDelay } from '@cc/utils/boolean-...
import React, { useEffect, useState } from "react"; import { useForm, useWatch } from "react-hook-form"; import { useTranslation } from "react-i18next"; import { ActivityIndicator } from "react-native-paper"; import { DeFiButton } from "../../elements/Buttons"; import { SpacerV } from "../../elements/Spacers"; import {...
import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, Type, ViewChild } from '@angular/core'; import { Router } from '@angular/router'; import { Observable } from 'rxjs/Observable'; import { Subscription } from 'rxjs/Subscription'; import { Page, Sort } from './page'; impor...
import {Operator} from '../Operator'; import {Observable} from '../Observable'; import {Subscriber} from '../Subscriber'; import {Scheduler} from '../Scheduler'; import {async} from '../scheduler/async'; /** * @param scheduler * @return {Observable<Timestamp<any>>|WebSocketSubject<T>|Observable<T>} * @method timest...
import { Column, Entity, Index, JoinColumn, ManyToOne, PrimaryGeneratedColumn, } from "typeorm"; import { Zaposleni } from "./zaposleni.entity"; @Index( "zaposleni_id_pocetak_opsega_izvestaja_kraj_opsega_datuma", ["zaposleniId", "pocetakOpsegaIzvestaja", "krajOpsegaDatuma"], { unique: true } ) @Entit...
import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { MyObservationPage } from './my-observation'; import { ComponentsModule } from '../../../components/components.module'; import { TranslateModule } from '@ngx-translate/core'; import { AddObservationFormPageModule } from '...
import { Diagram } from '../../src/diagram/diagram'; import { SnapConstraints } from '../../src/diagram/enum/enum'; import { ConnectorModel } from '../../src/diagram/objects/connector-model'; import { NodeModel } from '../../src/diagram/objects/node-model'; import { Snapping, BasicShapes, BasicShapeModel, Segments, Flo...
/** * @license * Copyright Google LLC 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 { Directionality } from '@angular/cdk/bidi'; import { Location } from '@angular/common'; import { ComponentFact...
import { ExtraOptions, RouterModule, Routes } from '@angular/router'; import { NgModule } from '@angular/core'; /*import { NbAuthComponent, NbLoginComponent, NbLogoutComponent, NbRegisterComponent, NbRequestPasswordComponent, NbResetPasswordComponent, } from '@nebular/auth';*/ const routes: Routes = [ {...
import { Body, Controller, Post, Get, Patch, Param, Delete, NotFoundException, Session, UseGuards, } from '@nestjs/common'; import { CreateUserDto } from './dtos/create-user.dto'; import { UpdateUserDto } from './dtos/update-user.dto'; import { Serialize } from '../interceptors/serialize.in...
export class SaveRecipe { id!: number; name!: string; categoryId!: number; difficulty!: number; numberPortion!: number; preparationTimeInMinutes!: number; ingredients!: string; preparationMode!: string; images: string[] = []; published!: boolean; }
import { Entity, Column, PrimaryGeneratedColumn, BeforeInsert, Index } from 'typeorm'; import * as bcrypt from 'bcrypt'; import { Role } from '../../role/role.enum'; @Entity() export class User { @PrimaryGeneratedColumn() id: number; @Column({ length: 100 }) @Index({ unique: true }) username: stri...
import {PlayQueue} from './playqueue.model'; import {BodyParams, Controller, Ctx, Get, Post, QueryParams} from '../../modules/rest'; import {UserRole} from '../../types/enums'; import {IncludesTrackArgs} from '../track/track.args'; import {IncludesPlayQueueArgs, PlayQueueSetArgs} from './playqueue.args'; import {Includ...
import {Component} from '@angular/core'; @Component({ selector:"clock-comp", template: "<div> Relog </div>" }) export class ClockComponent{ constructor(){ } }
import { injectable } from "inversify"; import "reflect-metadata"; import { PowerForm } from "./PowerForm"; // @see https://github.com/typescript-eslint/typescript-eslint/issues/2573 // eslint-disable-next-line @typescript-eslint/no-unused-vars export namespace Team.Forms { @injectable() export class MainForm ...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ButtonComponent } from './button.component'; describe('ButtonComponent', () => { let component: ButtonComponent; let fixture: ComponentFixture<ButtonComponent>; let element: HTMLElement = null; beforeEach(async () => { await Test...
import { h, Host, Component, Prop, Element, Watch, State, } from '@stencil/core'; import { PlayerProps } from '../../../core/player/PlayerProps'; import { Dispatcher, createDispatcher } from '../../../core/player/PlayerDispatcher'; import { Disposal } from '../../../core/player/Disposal'; import { listen, isColli...
import { Component, OnInit } from '@angular/core'; import { MusicService } from './music'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent implements OnInit { title: string; position; elapsed; duration; paused = tru...
export * from './dateUtils'; export { default as getDateFnsLocale } from './getDateFnsLocale'; export { default as getNavigatorLanguage } from './getNavigatorLanguage';
import { expect, haveResource, ResourcePart } from '@aws-cdk/assert-internal'; import * as iam from '@aws-cdk/aws-iam'; import * as kms from '@aws-cdk/aws-kms'; import { CfnParameter, Duration, Stack, App } from '@aws-cdk/core'; import { Test } from 'nodeunit'; import * as sqs from '../lib'; /* eslint-disable quote-pr...
import { task } from "hardhat/config" import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers" import { BigNumber } from "ethers" import "@nomiclabs/hardhat-waffle" import "@nomiclabs/hardhat-etherscan"; // When using the hardhat network, you may choose to fork Fuji or Avalanche Mainnet // This will allow...
import { useEffect, useState } from 'react'; import { SideBar } from './components/SideBar'; import { Content } from './components/Content'; import { api } from './services/api'; import './styles/global.scss'; import './styles/sidebar.scss'; import './styles/content.scss'; export interface GenreResponseProps { ...
import { Injectable } from '@nestjs/common'; import {MailerService} from "@nestjs-modules/mailer"; import {AppConfigService} from "../../config/app/config.service"; import {activationMail} from "../../mail-templates/activation-mail"; import {URL_CONSTANTS} from "../constants/url.constants"; import { SentMessageInfo } f...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_BR" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Telemetry</source> <translation>Sobre o Telemetry</translation> </message> <message> ...
import CropSquareIcon from '@mui/icons-material/CropSquare'; import { Box, Chip, Grid, Typography } from '@mui/material'; import BigNumber from 'bignumber.js'; import { useEffect, useState } from 'react'; import { getEmitter } from '../../../../util/emitter.util'; import { GlobalEvent } from '../../../../util/types'; i...
import { Client, Collection, Intents } from 'discord.js'; import { CommandRegistry, EventRegistry, } from '../struct/registries/export/RegistryIndex'; import { EventOptions } from '../types/Options'; import settings from '../settings'; import Command from '../struct/Command'; class Bot extends Client { public pr...
export interface Meta { description?: string; logo?: string; ogImage?: string; ogUrl?: string; title?: string; }
import type Spec from './Spec'; import Builder from './Builder'; import * as utils from './utils'; import * as path from 'path'; import type { JSDOM } from 'jsdom'; /*@internal*/ export default class Import extends Builder { public importLocation: string; public relativeRoot: string; public source: string; c...
import LineChart, { LineChartProps } from '@src/charts/lineChart'; import PieChart, { PieChartProps } from '@src/charts/pieChart'; import HeatmapChart, { HeatmapChartProps } from '@src/charts/heatmapChart'; import AreaChart, { AreaChartProps } from '@src/charts/areaChart'; import LineScatterChart, { LineScatterChartPro...
/// <reference path="browser/ambient/jquery/index.d.ts" /> /// <reference path="browser/ambient/mithril/index.d.ts" /> /// <reference path="browser/ambient/moment-range/index.d.ts" /> /// <reference path="browser/ambient/mousetrap/index.d.ts" /> /// <reference path="browser/ambient/semantic-ui/index.d.ts" /> /// <refer...
// SPDX-FileCopyrightText: Facebook, Inc. and its affiliates // SPDX-FileCopyrightText: TNG Technology Consulting GmbH <https://www.tngtech.com> // // SPDX-License-Identifier: Apache-2.0 import { App } from '../../../Components/App/App'; import { clickOnButton, EMPTY_PARSED_FILE_CONTENT, expectButton, expectBu...
import React, { useState } from 'react'; import { View, Text, TextInput, TouchableOpacity, Button } from 'react-native'; import { database } from "../storage/Database"; import styles from './Style'; import { LocalizedStrings } from '../enums/LocalizedStrings'; import Header from './shared/Header'; const EditOpenTex...
import { ChangeDetectionStrategy, Component, EventEmitter, OnInit, Output } from '@angular/core'; import { MatSelectChange } from '@angular/material'; import { LoggerService } from 'app/website/shared/services/common/logger.service'; import { PadStatusList } from 'app/website/store/dashboard/stores/pads/pads.model'; e...
// use to encrypt password import bcrypt from 'bcryptjs' export namespace valueObjectExample { interface ValueObject { toString(): string } // value objects class Email implements ValueObject { private _value: string readonly mask: RegExp = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|("...
import React from 'react' import { render, fireEvent } from '@testing-library/react-native' import Controls from '.' import { ILsChatMessage, ILsChatUser } from '../../../interfaces' import { delay } from '../../../utils' import { GestureResponderEvent } from 'react-native' let mockUser: ILsChatUser let mockUser2: IL...
/** * @license * Copyright Google LLC 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 */ /// <amd-module name="@angular/common/locales/fr-MC" /> declare function plural(val: number): number; declare const _d...
import React from 'react'; import { message } from '@ezviz/ezd'; import RcFooter from 'rc-footer'; import { presetPalettes } from '@ant-design/colors'; import { FormattedMessage, injectIntl, WrappedComponentProps } from 'react-intl'; import { GithubOutlined, } from '@ant-design/icons'; import ColorPicker from '../Col...
import {Type} from 'class-transformer'; import {IsIn, IsNotEmpty, IsNumberString, IsOptional, Length, Matches, Min} from 'class-validator'; import {Currency} from './Currency'; import {Fee} from './Fee'; import {PrivateKeyOrSignatureId} from './PrivateKeyOrSignatureId'; export class InvokeAuctionOperation extends Priv...
import React from 'react'; import './Spinner.css'; export default function () { return ( <div className="spinner-wrapper" role="alert" aria-live="assertive"> <div className="spinner">Loading...</div> </div> ); }
export * from "./createTestProxy"; export { cleanUp } from "./utils"; export { act } from "preact/test-utils";
// The file contents for the current environment will overwrite these during build. // The build system defaults to the dev environment which uses `environment.ts`, but if you do // `ng build --env=prod` then `environment.prod.ts` will be used instead. // The list of which env maps to which file can be found in `.angul...
import { AcceptTestQueryRawResponse } from "__generated__/AcceptTestQuery.graphql" import { Buyer, OfferOrderWithShippingDetails, Offers, OfferWithTotals, } from "Apps/__tests__/Fixtures/Order" import { createTestEnv } from "DevTools/createTestEnv" import { DateTime } from "luxon" import { graphql } from "react...
declare const _default: { prod: { resolverURL: string; }; dev: { resolverURL: string; }; staging: { resolverURL: string; }; }; export default _default;
import React, {ReactElement} from 'react'; import dotnetLogo from '../../assets/logos/technologies/dotnet-logo.png'; // eslint-disable-next-line max-len import aspNetCoreLogo from '../../assets/logos/technologies/aspdotnetcore-logo.png'; import efCoreLogo from '../../assets/logos/technologies/efcore-logo.png'; import d...
import { Component } from '@angular/core'; @Component({ selector: 'pm-root', template: ` <div> <h1>{{pageTitle}}</h1> <pm-products></pm-products> </div> ` }) export class AppComponent { pageTitle: string = 'Acme Product Development'; }
import EventEmitter from '../../../../../../../../shared/utils/event-emitter'; import { ClientRequestEmitter } from '../../../../../../../../shared/types'; import ProtocolProxyApi from 'devtools-protocol/types/protocol-proxy-api'; import NetworkApi = ProtocolProxyApi.NetworkApi; import Protocol from 'devtools-protocol'...
import { TestBed, inject } from '@angular/core/testing'; import { GlobalEventsManager } from './global-events-manager.service'; describe('GlobalEventsManagerService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [GlobalEventsManager] }); }); it('should be created', injec...
export { HelmetComponent, Copyright } from './common'; export { MenuBar } from './menu/MenuBar';
import {Message, SignedMessage, transactionSign, transactionSignRaw} from "@zondax/filecoin-signing-tools/js"; import {FilecoinNumber} from '@glif/filecoin-number/dist'; import {Wallet} from "../interfaces"; import {getKeyPair} from "../filecoin/account"; import {showConfirmationDialog} from "../util/confirmation"; imp...
import React from 'react'; import { generateLegendItems } from './Legend'; import { LegendList, LegendPlacement, LegendItem, LegendTable } from '@grafana/ui'; import { number, select, text } from '@storybook/addon-knobs'; import { action } from '@storybook/addon-actions'; import { GraphLegendListItem, GraphLegendTableR...
import fse from "fs-extra"; import * as XLSX from "xlsx"; import { getPreferenceValues, open, showHUD, showInFinder } from "@raycast/api"; import React, { useState } from "react"; import { isEmpty } from "./utils/common-utils"; import { FileType, TemplateType } from "./types/file-type"; import { getTemplateFile } from ...
import { Settings } from '../../../app/models/server/raw'; import { addMigration } from '../../lib/migrations'; addMigration({ version: 233, up() { return Settings.deleteMany({ _id: { $in: ['Log_Package', 'Log_File'] } }); }, });
/* * 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 { PluginInitializerContext } from 'src/core/public'; import { Plugin }...
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { HeroUsecase } from '../../state/hero/hero.usecase'; import { HeroQuery } from '../../state/hero/hero.query'; import { HeroModel } from '../../state/hero/hero.model'; @Component({ selector: 'app-heros-page', templ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { GamePageRoutingModule } from './game-routing.module'; import { GamePage } from './game.page'; @NgModule({ imports: [ Co...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalCafe extends React.Component<IconBaseProps, any> { }
import * as React from "react"; import config from "./get-config"; import { Code, Link } from "./ui"; const NoStories: React.FC<{ wrongUrl?: boolean; activeStory?: string }> = ({ wrongUrl, activeStory, }) => ( <div className="ladle-error-content"> {wrongUrl ? ( <> <h1>The story not found</h1> ...
import styled from "styled-components"; export const Choose = styled.div` max-height: 450px; display: grid; grid-template-columns: 30px 900px 30px 1fr; `;
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp4898Component } from './comp...
export declare class UserState { isIdle: boolean; hasTimedout: boolean; userInactivityTime: number; /** * Represents the current state of the user. * @param isIdle Specifies if the user is idle. * @param hasTimedout Specifies if the user has timed out. * @param userInactivityTime Num...
import { RCTParams } from "../models/rct_params"; export function getRCCCTemplate(params: RCTParams) { if (!params.flags.js) { return `import React from 'react'; ${ params.flags.css ? `\nimport './${params.command.args[0]}.css';` : "" }\n\ntype ${params.command.args[0]}Props = {\n\n};\n\ntype ${ ...
import { Structure as _Structure_ } from "@aws-sdk/types"; export const AdminUpdateAuthEventFeedbackOutput: _Structure_ = { type: "structure", required: [], members: {} };
import React, {useCallback, useEffect, useMemo, useState} from 'react'; import { Layout, Row, Col, Table, Switch, Spin, Modal, Button, Input, Divider, } from 'antd'; import { useMeta } from '../../contexts'; import { Store, WhitelistedCreator } from '../../models/metaplex'; import { MasterEditionV...
import * as kontra from '../../kontra.js'; kontra.initInput(); kontra.onInput('south', () => { console.log('south gamepad pressed'); }); kontra.onInput(['arrowleft', 'south'], () => {}); kontra.onInput('south', () => {}, { gamepad: { gamepad: 1 }}); kontra.onInput('arrowleft', () => {}, { key: { handler: 'keydown' ...
export default class Vector { x: number; y: number; constructor(x?: number, y?: number) { this.x = x == undefined ? 0 : x; this.y = y == undefined ? 0 : y; } public static create(x?: number, y?: number) { return new Vector(x, y); } }
import INTERNAL_ATTRS from '../../../processing/dom/internal-attributes'; import { parse as parseJSON, stringify as stringifyJSON } from '../../../utils/json'; import nativeMethods from '../native-methods'; import ShadowUI from '../shadow-ui'; function createInput (form: HTMLFormElement) { const hiddenInput = nati...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-register-coach', templateUrl: './register-coach.component.html', styleUrls: ['./register-coach.component.css'] }) export class RegisterCoachComponent implements OnInit { constructor() { } ngOnInit() { } }
import { def } from "@cardsgame/utils" import { canBeChild } from "../annotations/canBeChild" import { containsChildren } from "../annotations/containsChildren" import { type } from "../annotations/type" import type { State } from "../state" import { ChildTrait } from "../traits/child" import { applyTraitsMixins, Enti...
type _GlobalChrome = { devtools: { panels: { create: (name: string, icon: string, page: string, code: Function) => void } inspectedWindow: Window & { tabId: number } } runtime: { onConnect: { addListener: (handler: unknown) => EventListener } onMessage: { addListener: (ha...
import { ReactNode } from 'react' import { Settings } from 'src/@core/context/settingsContext' export type ContentWidth = 'full' | 'boxed' export type ThemeColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success' export type NavLink = { path?: string title: string action?: string subject?: ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { MensajesPageRoutingModule } from './mensajes-routing.module'; import { MensajesPage } from './mensajes.page'; @NgModule({ i...