text
stringlengths
10
953k
import { getFilePath } from './path'; import { showDiff, showNotSupported } from './webview'; import { getGitSides, getExplorerSides, getContentOrFallback } from './content'; import { getActiveDiffPanelWebview } from './webview/store'; import { commands, window, Uri, ExtensionContext, env, TextEditor } from 'vscode'; i...
import React, { PureComponent, ReactNode } from 'react' import t from 'format-message' import Card from '@material-ui/core/Card' import CardContent from '@material-ui/core/CardContent' import List from '@material-ui/core/List' import Paper from '@material-ui/core/Paper' import Typography from '@material-ui/core/Typogra...
export declare class UserUpdateDTO { firstName?: string; lastName?: string; photo?: string; bio?: string; phone: string; email: string; password: string; }
import { TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ imports: [ RouterTestingModule ], ...
declare interface Chrome { runtime: ChromeRuntime storage: ChromeStorage browser: ChromeBrowser tabs: ChromeTabs browserAction: ChromeBrowserAction } declare interface ChromePlatformInfo { os: string arch: string nacl_arch: string } declare interface ChromeRuntime { lastError: string getPlatformIn...
export class SignUpStep { results: Array<any>; saveable: boolean; identifier: string; constructor(identifier: string) { this.results = []; this.saveable = false; this.identifier = identifier; } }
/** * @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 {Observable} from 'rxjs/Observable'; import {HttpRequest} from './request'; import {HttpEvent} from './respon...
import * as AmazonCognitoIdentity from 'amazon-cognito-identity-js'; import { UserPoolId, UserPoolClientId } from '../Cognito/config'; import { SetCognitoUserAction } from '../action-symbols'; type ParametersSignup = { username: string; email: string; password: string; dispatch: any; }; export const ...
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; @Component({ selector: 'main-v6-templates-ngif2-demo', templateUrl: './v6-templates-ngif2-demo.component.html', styleUrls: ['./v6-templates-ngif2-demo.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush }) export class V6...
// https://discord.com/api/oauth2/authorize?client_id=747882956520947814&permissions=8&scope=applications.commands%20bot // The bot is not set to public on the Developer Portal, and as such is open to invitation solely by me. import Discord, { GuildMember, Message, MessageReaction, TextChannel, User } from "discord.js...
import * as fc from '../../../../../lib/fast-check'; import { add64, ArrayInt64, halve64, isEqual64, isStrictlySmaller64, logLike64, negative64, substract64, Zero64, } from '../../../../../src/check/arbitrary/helpers/ArrayInt64'; function toArrayInt64(b: bigint, withNegativeZero: boolean): ArrayInt6...
import { Equal, Expect } from '@type-challenges/utils' type cases = [ Expect<Equal<MyCapitalize<'foobar'>, 'Foobar'>>, Expect<Equal<MyCapitalize<'FOOBAR'>, 'FOOBAR'>>, Expect<Equal<MyCapitalize<'foo bar'>, 'Foo bar'>>, Expect<Equal<MyCapitalize<''>, ''>>, Expect<Equal<MyCapitalize<'a'>, 'A'>>, Expect<Equal...
import { Column, Entity, ManyToMany, PrimaryGeneratedColumn, } from "../../../src/index" import { PostCategory } from "./PostCategory" import { PostAuthor } from "./PostAuthor" import { ManyToOne } from "../../../src/decorator/relations/ManyToOne" import { JoinTable } from "../../../src/decorator/relati...
import React from 'react'; import { useParams } from 'react-router-dom'; import history from '../functions/history'; function InfoToUpdate() { type titleParams = { title: string; } const { title } = useParams<titleParams>(); return ( <form> <button className="btn btn-second...
import {CrudRepository} from "./crud.repository"; export class CrudService<E, K, T extends CrudRepository<E, K>> { protected constructor(protected readonly repository: T) { } }
import { errors } from "./errors"; import path = require("path"); import fs = require("fs"); import os = require("os"); import { pathContact } from "maishu-toolkit"; /** * 虚拟文件夹 */ export class VirtualDirectory { private physicalPaths: string[] = []; private childDirs: { [name: string]: VirtualDirectory } = ...
import { PenFountain16 } from "../../"; export = PenFountain16;
/* * 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 { List as _List_ } from "@aws-sdk/types"; export const _ReasonForNonComplianceCodes: _List_ = { type: "list", min: 1, member: { shape: { type: "string" } } };
import "mocha"; import { expect } from "chai"; import { stage0, stage1, parse } from "./index"; describe("[2021-04]", () => { const input = parse(`7,4,9,5,11,17,23,2,0,14,21,24,10,16,13,6,15,25,12,22,18,20,8,19,3,26,1 22 13 17 11 0 8 2 23 4 24 21 9 14 16 7 6 10 3 18 5 1 12 20 15 19 3 15 0 2 ...
import * as React from 'react' import * as I from 'immutable' import * as Kb from '../../../common-adapters' import * as Styles from '../../../styles' import * as Types from '../../../constants/types/wallets' import {AccountPageHeader} from '../../common' import DisplayCurrencyDropdown from './display-currency-dropdown...
import { Component, ComponentRef, DoCheck, ElementRef, EventEmitter, Input, OnDestroy, Output } from '@angular/core'; import { Title } from '@angular/platform-browser'; import { Observable } from 'rxjs/Observable'; import { of } from 'rxjs/observable/of'; import { timer } from 'rxjs/observable/timer'; import 'rxjs/add...
import fetch from 'node-fetch'; const path = require('path'); export function resolveHome(filepath) { if (filepath[0] === '~') { return path.join(process.env.HOME, filepath.slice(1)); } console.log(filepath) return filepath; } function checkStatus(res) { if (res.ok) { // res.status >= 200 ...
import { IAccount } from '../../services/account.service'; export interface IAuthNavbarComponent { AppURL:any; AuthURL: any; UserLogin: IAccount }
import { BullModuleOptions } from '@nestjs/bull'; import { redisConfig } from '../config/redis.config'; export const emailQueueConfig: BullModuleOptions = { name: 'email', redis: redisConfig, };
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserTestingModule } from '@angular/platform-browser/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppClientMaterialModule } from '@app/client-material'; import { AppTestingComponent } from '@...
import * as React from 'react'; import TestRenderer from 'react-test-renderer'; import View from '../../../adapters/alipay/components/View'; describe('View', () => { it('render correctly', () => { const callback = () => void 0; const testRenderer = TestRenderer.create( <View onAnimationStart={callback...
import { Aurelia, CustomElementResource, ILifecycle, LifecycleFlags } from '@aurelia/runtime'; import { expect } from 'chai'; import { eachCartesianJoin } from '../unit/util'; import { TestContext } from '../util'; import { TestConfiguration } from './resources'; import { trimFull } from './util'; const spec =...
export const environment = { production: true, MAP_KEY: 'AIzaSyAcV5MCnHAvcYREiHZfZR58oMTs_msaJvc', DEFAULT_MAP_SETTINGS :{ "lat":32.715738, "lng":-117.161084, "zoom":18, "geofeneZoom":21, "pov":{ heading: 360, pitch: 10 }, "str...
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { LoginComponent } from './login.component'; import { MatDialogModule, MatDialogRef } from '@angular/material/dialog'; import { MatButton...
declare const locale: { lang: { today: string; now: string; backToToday: string; ok: string; timeSelect: string; dateSelect: string; weekSelect: string; clear: string; month: string; year: string; previousMonth: string; ...
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
import type { Ref } from 'vue' import { schedule} from './schedule' /** * Higher order function that returns a utility for determining the freshness of an array of watch sources. Assumes that the first item in the array of watch sources will be an array of elements, and the rest will be strings, booleans, o...
import { Routes, RouterModule } from '@angular/router'; import { AboutComponent } from './about.component'; const routes: Routes = [ { path: '', component: AboutComponent } ]; export const routing = RouterModule.forChild(routes);
export interface Opbrengst { 'system_id': number; 'total_devices': number; 'intervals': Interval[] } export interface Interval { "end_at": number; "devices_reporting": number; "powr": number; "enwh": number; }
export interface ToolGet { (key: string): RegEntry | undefined; } export interface ValueGet { (key: string): string; } export interface ValuesGet { (key: string): Array<string>; } export interface Do { (key: string); } export interface Get { (): string; } export interface ToolPut { (element: Element); ...
/* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ /* prettier-ignore */ /** * This is a simple array with strings */ export type ArrayWithStrings = Array<string>;
import { SearchOption } from "./SearchAppBar"; const additionalSearchOptions: SearchOption[] = [ { name: "Gaming PC", slug: "gaming-desktops", type: "category", }, { name: "PC", slug: "desktops", type: "category", }, { name: "Computers", slug: "laptops", type: "category", ...
import NextLink from "next/link"; import { Box, Container, Link, Stack, Text, useColorModeValue } from "@chakra-ui/react"; export default function Footer() { return ( <Box bg={useColorModeValue("blue.700", "gray.900")} color={useColorModeValue("white", "gray.200")} w="100%" > <Contain...
import { Snowflake } from 'discord-api-types' import { Guild, TextChannel, User } from 'discord.js' import { bot } from '..' import { GMI_GUILD } from '../../Config' import { isCpbotOnline } from '../../IsCpbotOnline' import logger from '../../Logger' import { NEWLINE } from '../../utils/GetNewline' export const guild...
import { Customer } from '~/domain/entities'; export interface IFindCustomerUsecase { execute(id: string): Promise<Customer | null>; } export const IFindCustomerUsecase = Symbol('IFindCustomerUsecase');
import {browser, by, element} from 'protractor'; describe('mat-table', () => { beforeEach(async () => await browser.get('/mdc-table')); it('should show a table', async () => { expect(await element(by.tagName('table')).isPresent()).toBe(true); }); });
export class KvModel { key: string; value: object; }
import React, { FunctionComponent, useState } from 'react'; import { injectIntl, WrappedComponentProps } from 'react-intl'; import { Saksbehandler } from 'avdelingsleder/bemanning/saksbehandlerTsType'; import { FlexRow, FlexColumn } from 'sharedComponents/flexGrid'; import { Normaltekst } from 'nav-frontend-typografi';...
import { EventEmitter } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; /** * @hidden */ export declare class FilterInputDirective { change: EventEmitter<string>; value: string; private accessor; constructor(valueAccessors: ControlValueAccessor[]); ngOnInit(): void; }
import program from 'commander' import cf from 'clownface' import { namedNode } from '@rdfjs/data-model' import fetch from '@rdfjs/fetch' import formats from '@rdfjs/formats-common' import factory from '@rdfjs/dataset' import { Collection, CollectionMixin, HydraResource } from './resources' HydraResource.factory.addMi...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
import { OpsWorksCMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpsWorksCMClient"; import { AssociateNodeRequest, AssociateNodeResponse } from "../models/models_0"; import { deserializeAws_json1_1AssociateNodeCommand, serializeAws_json1_1AssociateNodeCommand, } from "../protocols/Aws_json1...
import React from 'react' import { render } from '@testing-library/react' // Dependencies import { ThemeWrapper } from '../theme/ThemeWrapper' // Unit import Modal from './Modal' const getProps = (customProps: any) => ({ 'data-testid': 'modal', children: '🦕', ...customProps, }) describe.each` displayName ...
import { g } from "../util"; import type { UpdateEvents, Options } from "../../common/types"; import { idb } from "../db"; const updateLeagueOptions = async ( inputs: unknown, updateEvents: UpdateEvents, ) => { if ( updateEvents.includes("firstRun") || updateEvents.includes("gameAttributes") || updateEvents.i...
import 'tesseract.js/src/worker-script/node/index.js';
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ContactSignupComponent } from './contact-signup.component'; describe('ContactSignupComponent', () => { let component: ContactSignupComponent; let fixture: ComponentFixture<ContactSignupComponent>; beforeEach(async(() => { Te...
import { Injectable } from '@nestjs/common'; import { Observable, from } from 'rxjs'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { User } from './user.entity'; @Injectable() export class UserService { constructor( @InjectRepository(User) private readonly...
import { Device, DeviceHealth } from '@smartthings/core-sdk' import {SelectingOutputAPICommand} from '@smartthings/cli-lib' export default class DeviceHealthCommand extends SelectingOutputAPICommand<DeviceHealth, Device> { static description = 'get the current health status of a device' static flags = SelectingOut...
import card from './Character_Aloy_Card.png' import thumb from './Icon.png' import thumbSide from './IconSide.png' import c1 from './Constellation_Star_of_Another_World.png' import c2 from './Constellation_Star_of_Another_World.png' import c3 from './Constellation_Star_of_Another_World.png' import c4 from './Constellat...
export * from './utils' export * from './helper'
import { Injectable, NotFoundException } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { CreateTaskDto } from './dto/create-task.dto'; import { TaskStatus } from './task-status.enum'; import { Task } from './task.entity'; import { TaskRepository } from './task.repository'; @Injectab...
import { Injectable } from '@angular/core'; import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { AdminService } from '../services/admin.service'; @Injectable() export class AdminGuardService implements CanActivate { constructor(private router: Router, ...
import { BehaviorSubject, Subscription } from 'rxjs'; import { Component, OnInit, OnDestroy } from '@angular/core'; import { FormGroup, Validators, FormBuilder } from '@angular/forms'; import { AuthService, User } from '../../auth.service'; import { Router } from '@angular/router'; import { Title, Meta } from '@angular...
// Copyright @ 2018-2021 xiejiahe. All rights reserved. MIT license. export const VERIFY_PATH = 'nav.verify.txt' export const DB_PATH = 'data/db.json' export const VERSION = '5.0.2'
import {Component, Input} from '@angular/core'; import {Path, Schema, Project, Method} from '@maxxton/microdocs-core/domain'; @Component({ selector: 'endpoint', templateUrl: 'endpoint.component.html', styleUrls: ['endpoint.component.scss'] }) export class EndpointComponent { @Input() endpoint: Path; @Inp...
/** * Copyright © INOVUA TRADING. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { CSSProperties, RefObject } from 'react'; import PropTypes from 'prop-types'; import cleanProps from '../../../../packages/react-clean-...
import { Injectable } from '@nestjs/common'; import {readFile, writeFile} from 'fs/promises'; @Injectable() export class MessagesRepository { async findOne(id: string) { const contents = await readFile('messages.json', 'utf-8'); const messages = JSON.parse(contents); const message = message...
import * as nativeConfiguration from "../accessors/native-configuration-accessor"; import * as nativeGyp from "../accessors/native-gyp-accessor"; import * as pkg_config from "../accessors/pkg-config-accessor"; import * as detection from "../utilities/detection_utilities"; import path = require("path"); import fs = req...
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable, forkJoin, of } from 'rxjs'; import { map } from 'rxjs/operators'; import { AuthorService } from 'app/_services/author.service'; import { Gist } from 'app/_models/Gist'; import { environment } from 'env...
import { EthersContractContextV5 } from 'ethereum-abi-types-generator'; import { BigNumber, BigNumberish, ContractTransaction } from 'ethers'; export declare type ContractContext = EthersContractContextV5<UniswapPairV2, UniswapPairV2MethodNames, UniswapPairV2EventsContext, UniswapPairV2Events>; export declare type Even...
import { BoYesNoEnum } from './BoYesNoEnum'; import { ComplexTypeEnumPropertyField, ComplexTypeField, ComplexTypeNumberPropertyField, ComplexTypeStringPropertyField, ConstructorOrField, EntityV4, FieldType, PropertyMetadata } from '@sap-cloud-sdk/core'; /** * BpBlockSendingMarketingContent */ export interface BpBlock...
export * from '@styled-icons/fa-brands/Weixin'
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { HttpClientModule } from '@angular/common/http'; // Pipes import { NoimagePipe } from './pipes/noimage.pipe'; import { DomseguroPipe } from './pipes/domseguro.pi...
/** * Generic shape of injected value provider * @author Jānis Radiņš */ export interface InjectionValueProvider { /** * Implement providing of mapped value */ getProviderValue():any; /** * Implement clearCommandMap of provided instance that will be invoked as provider instance if to be ...
import '@material/mwc-button'; import { html } from 'lit'; import { customElement, state } from 'lit/decorators.js'; import { ReduxMixin } from '../mixins/redux-mixin'; import { RootState } from '../store'; import { openDialog } from '../store/dialogs/actions'; import { DIALOGS } from '../store/dialogs/types'; import {...
declare module goog { function require(name: 'goog.ui.ButtonRenderer'): typeof goog.ui.ButtonRenderer; } declare module goog.ui { /** * Default renderer for {@link goog.ui.Button}s. Extends the superclass with * the following button-specific API methods: * <ul> * <li>{@code getValue} - ...
import { SectionHeading } from "./../client/SectionHeading/SectionHeading" import * as cheerio from "cheerio" import urlSlug from "url-slug" import * as _ from "lodash" import * as React from "react" import * as ReactDOMServer from "react-dom/server" import { HTTPS_ONLY } from "serverSettings" import { BAKED_BASE_URL, ...
import * as React from 'react'; import KeyCode from 'rc-util/lib/KeyCode'; import pickAttrs from 'rc-util/lib/pickAttrs'; import useMemo from 'rc-util/lib/hooks/useMemo'; import classNames from 'classnames'; import List, { ListRef } from 'rc-virtual-list'; import TransBtn from './TransBtn'; import { OptionsType as Se...
import { useDisclosure } from "@chakra-ui/hooks" import { chakra } from "@chakra-ui/system" import * as React from "react" import { Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, } from "../src" //@ts-ignore import Lorem from "react-lorem-component" const Button...
/* tslint:disable */ /* eslint-disable */ /** * ORCID Public * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: Latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech)...
import { ContractMethodMutability as Mutability } from '@alice-finance/oz-upgrades'; import pickBy from 'lodash.pickby'; import isUndefined from 'lodash.isundefined'; import negate from 'lodash.negate'; import { parseMethodParams, parseArg } from '../utils/input'; import { promptIfNeeded, argsList, methodsList, Inquir...
import { Component } from '@angular/core'; import { ProfilePage } from '../profile/profile'; import { LeaderboardPage } from '../leaderboard/leaderboard'; import { HomePage } from '../home/home'; import { AuthPage } from '../auth/main/auth.main'; import {NavController} from "ionic-angular/index"; import {AngularFireAu...
import { CarsRepositoryInMemory } from "@modules/car/infra/inMemory/repositories/CarsRepositoryInMemory"; import { ListCarUseCase } from "./ListCarsUseCase"; let carsRepository: CarsRepositoryInMemory; let listCarUseCase: ListCarUseCase; const car1 = { brand: "ferrari", category_id: "123", daily_rate: 5000, ...
import { progressCallback } from "../tasks/progressCallback"; import { isFunction, isHTMLElement } from "../typeChecks"; import { IElementAppliable } from "./tags"; type EventListenerOpts = boolean | AddEventListenerOptions; export function makeEnterKeyEventHandler(callback: (evt: KeyboardEvent) => void) { return...
import { App, EnvironmentType, cordovaApp, Cookie, mechanicsEngine } from ".."; /** * Google Analytics stuff. * Only for the web version */ export class GoogleAnalytics { /** Cookie name to disable Google Analytics */ private static readonly GA_DISABLED_COOKIE = "KC_gadisabled"; /** Returns true if Go...
import React, {MouseEvent, ReactNode, useCallback, useState} from 'react'; import Button from 'react-bootstrap/Button'; import Spinner from 'react-bootstrap/Spinner'; export interface PropsType extends React.ComponentProps<Button> { disabled?: boolean; onClick?: React.ComponentProps<Button>['onClick'] | ((event: M...
// @todo: remove the following line when part imports has been removed from this file ///<reference types="@sanity/types/parts" /> import classNames from 'classnames' import SpinnerIcon from 'part:@sanity/base/spinner-icon' import styles from 'part:@sanity/components/loading/spinner-style' import React from 'react' im...
import { HttpClientTestingModule } from '@angular/common/http/testing'; import { TestBed } from '@angular/core/testing'; import { AuthenticationService } from './authentication.service'; describe('AuthenticationService', () => { let service: AuthenticationService; beforeEach(() => { TestBed.configureTestingMo...
export class CreateAdminDTO { readonly username:string; readonly password:string }
// (C) 2021 GoodData Corporation import { IDashboardInsightCustomizer } from "../customizer"; import { DefaultDashboardInsightInner, InsightComponentProvider } from "../../presentation"; import React from "react"; import { InvariantError } from "ts-invariant"; import includes from "lodash/includes"; import { insightTag...
import Card from '@theme/components/Card'; import Grid from '@theme/components/Grid'; import Label from '@theme/components/Label'; import Range from '@theme/components/Range'; import { motion, useMotionValue, useTransform } from 'framer-motion'; import React from 'react'; import { AnimationCardContent, Form, Highlighte...
import {Injectable} from '@angular/core'; import {Store} from '@ngrx/store'; import * as firebase from 'firebase'; import {TournamentRanking} from '../../../shared/model/tournament-ranking'; import {AppState} from '../store/reducers/index'; import { ADD_ACTUAL_TOURNAMENT_TEAM_RANKING_ACTION, ADD_ALL_ACTUAL_TOURNA...
import { Camp } from './camp'; export class CampSeason { camp: Camp; year: number; constructor(camp: Camp, year: number) { this.camp = camp; this.year = year; } }
// import devConfig from './build/dev.config'; // import prodConfig from './build/prod.config'; // // module.exports = (environment, args) => { // console.log('webpack config env', environment, args); // console.log('process', process.env.NODE_ENV); // switch (environment.env) { // case 'dev': // return devConf...
<TS language="en_US" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Right-click to edit address or label</translation> </message> <message> <source>Create a new address</source> <translati...
import styled from "styled-components"; export const Overflow = styled.div` height: 1200px; width: 100%; opacity: 0.5; background-color: white; position: absolute; z-index: 1000; `; export const ParkingWrapper = styled.div` width: 800px; margin: 0 auto; margin-top: 2rem; background-color: white; ...
export const TypeChart: {[k: string]: TypeData} = { bug: { damageTaken: { '???': 0, Bug: 0, Crystal: 0, Dark: 0, Dragon: 0, Electric: 0, Fairy: 0, Fighting: 2, Fire: 1, Flying: 1, Ghost: 0, Grass: 2, Ground: 2, Ice: 0, Normal: 0, Poison: 0, Psychic: 0, Rock: 1, ...
import * as React from 'react'; import {View} from 'react-native'; import {useNavigation} from '@react-navigation/native'; import {Container, Text, Section, Divider} from '@src/components/elements'; import styles from './styles'; import {CartItem} from '@src/context/cart-context'; import {formatCurrency} from '@src/uti...
import { faChevronLeft } from "@fortawesome/free-solid-svg-icons" import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" import React from "react" import Button from "react-bootstrap/Button" interface PreviousButtonProps { onClick: () => {} } export default class PreviousButton extends React.Component<P...
/* eslint-disable react-hooks/rules-of-hooks */ import React, { useRef } from 'react'; import { Story, Meta } from '@storybook/react'; import { Form } from '@unform/web'; import Select from '.'; export default { title: 'Molecules/Select', component: Select, argTypes: { backgroundColor: { control: 'color' }, ...
import * as d from '../../declarations'; import { normalizePrerenderLocation } from '../prerender/prerender-utils'; export function getFilePathFromUrl(config: d.Config, outputTarget: d.OutputTargetHydrate, windowLocationHref: string, url: string) { if (typeof url !== 'string' || url.trim() === '') { return null...
import { createStyles, makeStyles } from '@material-ui/core'; import { FONT_FAMILY_PRIMARY } from 'src/constants'; export const useStyles = makeStyles(() => createStyles({ toggleHeader: { display: 'flex', alignItems: 'center', padding: '0 25px' }, toggleBlock: { marginTop: '16px',...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Fizzlecoin</source> <translation>&amp;О Fizzlecoin</translation> ...
import { ExecuteValidator } from '../interface'; declare const object: ExecuteValidator; export default object;