text
stringlengths
10
953k
import { Component, OnDestroy, OnInit } from '@angular/core'; import { NgForm } from '@angular/forms'; import { ChatMessage } from '../models/chatMessage'; import { WebsocketService } from '../services/websocket.service'; import { UserServicesService } from '../services/user-services.service'; import {formatDate} from ...
import { Table, Model, Column, PrimaryKey, HasMany, BelongsToMany } from 'sequelize-typescript'; import { Doc } from './Doc'; import { Group } from './Group'; import { UserGroup } from './UserGroup'; import { File } from './File'; import { UserDoc } from './UserDoc'; @Table export class User extends Model<User> { ...
import _ from "lodash"; import data from "../data/employees.json"; import { Employee } from "../index"; const employees: Employee[] = data; function findAllEmployees() { return employees; } function findEmployeeByName(name: string) { return employees.filter((employee) => employee.name.includes(name)); } functio...
import { AlResponderAction, AlResponderExecutionsHistory, AlResponderInquiry, AlResponderPlaybookParameter, AlResponderWorkflowActionWhen, AlResponderWorkflowTask } from '@al/responder'; import { formatDate } from '@angular/common'; export interface AlPlaybookCardIcon { name?: string; // ...
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { HistorialService } from '@services/historial.service'; import { GrabacionesService } from '@services/grabaciones.service'; import * as moment from 'moment'; import { FormControl } from '@angular/forms'; import { deboun...
import { transformRestAction } from "transformers/RestActionTransformer"; import { PluginType, ApiAction } from "entities/Action"; import { MultiPartOptionTypes, POST_BODY_FORMAT_OPTIONS, // POST_BODY_FORMAT_OPTIONS_ENUM, } from "constants/ApiEditorConstants"; // jest.mock("POST_"); const BASE_ACTION: ApiAction...
import React, { Component, FC } from 'react'; import { Provider, ProviderProps, StoreContext } from '@reactant/redux'; import { Reducer } from 'redux'; import { ConnectedRouter, connectRouter, routerMiddleware } from 'connected-react-router'; import history from '../history'; export interface UnknownProps { [k...
import { QueryTypes } from "sequelize"; import { sequelize } from "@server/database/sequelize"; import Logger from "@server/logging/Logger"; import { Document, Attachment } from "@server/models"; import parseAttachmentIds from "@server/utils/parseAttachmentIds"; export default async function documentPermanentDeleter(d...
import React, {useEffect, useState} from 'react' import InfiniteScroll from '../../lib' import {delay} from './utils' let counter = 0 const DivScroller = () => { const [items, setItems] = useState<string[]>([]); const fetchMore = async () => { await delay(async () => { const newItems = []...
/** * @file PlayOne 播放 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper( 'play-one', true, (props: ISvgIconProps) => ( <svg width={props.size} ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Box, Flex, Image, Text, Heading } from '@chakra-ui/react'; export function City({ name, country, image, flag }) { return ( <Box borderRadius="4px" overflow="hidden"> <Image src={image} alt={`Imagem da cidade: ${name}`} h="170px" w="100%" /> <Flex p="6" align="center" ...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FrameItemComponent } from './frame-item.component'; describe('FrameItemComponent', () => { let component: FrameItemComponent; let fixture: ComponentFixture<FrameItemComponent>; beforeEach(async () => { await TestBed.configureTestin...
import { Card, CardContent } from '../shared/board/model' export interface StaticBoardContent { name: string sections: StaticSection[] styles: BoardStyles } export interface BoardStyles { textColor?: string backgroundColor?: string backgroundImage?: string background?: string } export interface Static...
import mongoose, { Schema } from 'mongoose'; import { DAYS_BY_MONTH_NUMBER, EpisodeKind } from '@on-this-day/shared'; import { EpisodeDocument, YearDateDocument } from './types'; import { YearDate } from './year-dates'; const keyWordSchema = new Schema( { title: { type: String, required: true, },...
import { logger } from '$Logger'; import { wrapBrowser as safeWrapBrowser } from '$Extensions/safe/components/wrapBrowser'; import { wrapAddressBarButtonsLHS as safeWrapAddressBarButtonsLHS } from '$Extensions/safe/components/wrapAddressBarButtonsLHS'; import { wrapAddressBarButtonsRHS as safeWrapAddressBarButtonsRHS }...
import { Text } from '@gnosis.pm/safe-react-components' import styled from 'styled-components' import { isAddress, isArrayParameter, } from 'src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/utils' import { HexEncodedData } from './HexEncodedData' import { getExplorerInfo } from 'src/config...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { SummaryComponent } from './summary.component'; import { Store } from '@ngrx/store'; import { Observable } from 'rxjs/Observable'; import { LanguageService } from '../../language.service'; // FIXME: duplicate to result component test. E...
/** * Enable in dev/monitor mode for debug, * consider feature flag support. * (dont commit while log enabled, unit test provided) */ export function devLog(msg: any, ...args: any[]) { // console.log('[ScarecrowProxy] ', msg, ...args); } export function defaultLogger(msg: any, ...args: any[]) { console.error('...
import axios from "axios"; import { UserRepository } from "@/libs/repositories/UserRepository"; jest.mock("axios"); const mockedAxios = axios as jest.Mocked<typeof axios>; describe("UserRepository.ts", () => { it("get all users", async () => { // Arrange const users = [ { id: 1, name: "Bob" }, {...
import {studioTheme, Theme} from '../../theme' import {responsiveMarginStyle} from './marginStyle' const {color, ...restTheme} = studioTheme const theme: Theme = {sanity: {...restTheme, color: color.light.default}} describe('styles/margin', () => { it('should', () => { const styles = responsiveMarginStyle({$mar...
export default function useOnTouch () { let isDragging = true let isDrugByHandler = false let initialY = 0 let currentY = 0 let config = { dragOffset: 16, whaitForScrollClassName: 'waitForScroll', whaitForScrollSliderClassName: 'waitForScrollSlider', doNotTouchClassName: 'doNotCloseModal', ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** @jsx jsx */ import path from 'path'; import { jsx } from '@emotion/core'; import { useMemo } from 'react'; import { Icon } from 'office-ui-fabric-react/lib/Icon'; import { Selection } from 'office-ui-fabric-react/lib/DetailsList'; import {...
import { cross2, signedArea2, ReadonlyVec } from "@thi.ng/vectors"; /** * Interprets given points as closed 2D polygon and computes its signed * area. If result is negative, the polygon is clockwise. * * @param pts */ export const polyArea2 = (pts: ReadonlyVec[]) => { const n = pts.length - 1; ...
import * as grpc from '@grpc/grpc-js'; import * as protoLoader from '@grpc/proto-loader'; import {BaseRPCController} from './BaseRPCController'; import {NodeService} from '../service/NodeService'; import {Server} from '../core/Server'; import {NodeHandlers} from '../../proto/gen/node_router/Node'; import {ServerUnaryCa...
import React, { FC } from 'react'; import { AppProps } from 'next/app'; import Head from 'next/head'; import { RecoilRoot } from 'recoil'; import { useTranslation } from 'react-i18next'; import { ThemeProvider } from 'styled-components'; import WithAppContainers from 'containers'; import theme from 'styles/theme'; imp...
// Type definitions for react-data-grid 2.0 // Project: https://github.com/adazzle/react-data-grid.git // Definitions by: Simon Gellis <https://github.com/SupernaviX>, Kieran Peat <https://github.com/KieranPeat>, Martin Novak <https://github.com/martinnov92> // Definitions: https://github.com/DefinitelyTyped/Definitely...
import type Emittery from 'emittery' import type { BlockHeader } from 'web3-eth' import type { EventLog } from 'web3-core' import type { ModelConfirmator } from './confirmator' import type { BlockTracker } from './block-tracker' export const NEW_EVENT_EVENT_NAME = 'newEvent' export const NEW_BLOCK_EVENT_NAME = 'newBl...
import express from 'express'; import _ from 'lodash'; import * as log from 'npmlog'; import 'source-map-support/register'; import { ClientError } from './errors/clienterror'; import { WalletService } from './server'; import { Stats } from './stats'; const bodyParser = require('body-parser'); const compression = requ...
import { Structure as _Structure_ } from "@aws-sdk/types"; export const _StatisticalThreshold: _Structure_ = { type: "structure", required: [], members: { statistic: { shape: { type: "string" } } } };
namespace SerenitySkins.Administration { @Serenity.Decorators.registerClass() export class LanguageDialog extends Serenity.EntityDialog<LanguageRow, any> { protected getFormKey() { return LanguageForm.formKey; } protected getIdProperty() { return LanguageRow.idProperty; } protected get...
/* istanbul ignore file */ "use strict"; import { Network } from "@ethersproject/networks"; import { UrlJsonRpcProvider } from "./url-json-rpc-provider"; import { Logger } from "@ethersproject/logger"; import { version } from "./_version"; const logger = new Logger(version); // Special API key provided by Nodesmith...
import * as React from 'react'; import { Redirect, Route, Switch } from 'react-router'; import { AggregationPage } from './pages/AggregationPage'; import { ApplicationPage } from './pages/ApplicationPage'; import { RenderEmailPage } from './pages/RenderEmailPage'; interface Path { readonly path: string; reado...
import React from "react"; import { faqContent } from "./content"; export const FaqContent: React.FunctionComponent = () => ( <section className="mb-20 text-sm text-gray-800 links-blue"> <div className="container"> <h1 className="font-montserrat py-12 text-center">Frequently Asked Questions</h1> {fa...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utili...
import { Component, Input, OnInit } from '@angular/core'; import { BdDataColumn } from 'src/app/models/data'; @Component({ selector: 'app-bd-data-sync-cell', templateUrl: './bd-data-sync-cell.component.html', styleUrls: ['./bd-data-sync-cell.component.css'], }) export class BdDataSyncCellComponent<T> implements ...
import type { Fn, Predicate2 } from "@thi.ng/api"; import { EquivMap } from "@thi.ng/associative"; import { unsupported } from "@thi.ng/errors"; import type { Transducer } from "@thi.ng/transducers"; import { CommonOpts, ISubscriber, LOGGER, SubscriptionOpts } from "./api"; import { Subscription, subscription } from "....
class Point { constructor(public x: number, public y: number) {} } class Person { constructor(public name: string) {} } type Constructor<T> = new (...args: any[]) => T; function TaggedMixin<T extends Constructor<{}>>(SuperClass: T) { return class extends SuperClass { _tag: string; construct...
import * as React from 'react'; import { StyledIconProps } from '../../StyledIconBase'; export declare const GoodreadsDimensions: { height: undefined; width: undefined; };
import React, { useEffect } from 'react'; import styled from 'styled-components'; import { useParams } from 'react-router-dom'; import { useWallet } from 'use-wallet'; import { makeStyles } from '@material-ui/core/styles'; import { Box, Button, Card, CardContent, Typography, Grid } from '@material-ui/core'; import P...
import React, { useState } from 'react'; import {useDebounce } from 'react-use'; import { rgbStrToObject, rgbObjectToStr } from '../conversions'; // This component has the same lifecycle as RGBHexInput. const RGB3Input = ({ rgb, index, handleChangeRGB, }: RGBInputProps): JSX.Element => { const [value, setVal...
/** * @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 { Comp702Component } from './comp-...
/* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. 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 without limitation the rights to use, copy, modify, merge, ...
import type { File } from '@src/models/file.model'; export interface FolderList { total: number; offset: number; shares?: Folder[]; } export interface NewFolderList { folders?: File[]; } /** * Specify which file information to sort on. */ export enum FolderSortBy { name = 'name', user = 'user', group...
import { Component } from '@stencil/core'; @Component({ tag: 'th-training-summary', styleUrl: 'th-training-summary.css', }) export class ThTrainingSummary { render() { return [ <div class="container"> <div class="content"> <h1>The Theracode Advantage</h1> <p>Our traini...
export enum REPO { SWAGGER_REPO = 'azure-rest-api-specs', TF_PROVIDER_REPO = 'terraform-provider-azurerm', CLI_REPO = 'azure-cli', CLI_EXTENSION_REPO = 'azure-cli-extensions', DEPTH_COVERAGE_REPO = 'azure-sdk-pipeline', } export enum ORG { AZURE = 'Azure', MS = 'microsoft', } export enum S...
import { Module } from '@nestjs/common'; import { AuthController } from './auth.controller'; import { AuthService } from './auth.service'; import { TypeOrmModule } from '@nestjs/typeorm'; import { UserRepository } from './user.repository'; import { JwtModule } from '@nestjs/jwt'; import { PassportModule } from '@nestjs...
///<reference path="../../../typings/index.d.ts"/> import { Config } from '@pnpm/config' import { deprecationLogger, hookLogger, packageJsonLogger, rootLogger, skippedOptionalDependencyLogger, statsLogger, summaryLogger, } from '@pnpm/core-loggers' import { toOutput$ } from '@pnpm/default-reporter' import...
import * as React from 'react'; import { StyledIconProps } from '../../StyledIconBase'; export declare const EvxDimensions: { height: number; width: number; };
export class discountDetailModel { SUBE_KODU; SUBE_ADI; ISKONTO_NEDENI; ISKONTO_ACIKLAMA; ISKONTO_ORANI; ADISYONNO; ISKONTO_YAPAN; INDIRIM; K_ZAMAN; GARSON; }
import { float32, int32, Model, Schema, string, uint32, uint8 } from '../../assets/superbuffer' import { Network } from '../classes/Network' import { TransformStateInterface, WorldStateInterface } from '../interfaces/WorldState' const transformSchema = new Schema({ networkId: uint32, snapShotTime: uint32, x: flo...
import { VuexModule, Module, Mutation, Action, getModule } from 'vuex-module-decorators' import store from '@/store' interface IErrorLog { err: Error vm: any info: string url: string } export interface IErrorLogState { logs: IErrorLog[] } @Module({ dynamic: true, store, name: 'errorLog' }) class ErrorLog e...
import Taro, { Component } from "@tarojs/taro" import { Block, View, Image } from "@tarojs/components" import "./style.styl" export default class GiftView extends Component<{ data: any; onAction: any }> { static defaultProps = { data: {}, onAction: null } /** * 点击事件 */ handleClick = (e) => { ...
import { Box, List, Drawer, Divider, Toolbar, ListItem, ListItemIcon, ListItemText, Typography, Paper, Stack, } from '@mui/material' import { colors } from '../../theme' import { useRecoilValue } from 'recoil' import { makeStyles } from '@mui/styles' import { isDarkmode } from '../../recoil' impor...
import { createVanIconComponent } from "./van" import "./style" const ShopCollectOutlined = createVanIconComponent("shop-collect-o") export default ShopCollectOutlined
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { AuthorizeResetTokenComponent } from './authorize-reset-token.component'; describe('AuthorizeResetTokenComponent', () => { let component: AuthorizeResetTokenComponent; let fixture: ComponentFixture<AuthorizeResetTokenComponent>; ...
import { ILexerErrorMessageProvider, IToken } from "@chevrotain/types" export const defaultLexerErrorProvider: ILexerErrorMessageProvider = { buildUnableToPopLexerModeMessage(token: IToken): string { return `Unable to pop Lexer Mode after encountering Token ->${token.image}<- The Mode Stack is empty` }, bui...
import * as React from 'react'; import { Form, Input, Select, Row, Col, Checkbox, Button, Switch } from 'antd'; const formItemLayout = { labelCol: { xs: { span: 24 }, sm: { span: 4 }, }, wrapperCol: { xs: { span: 24 }, sm: { span: 20 }, }, }; function checkUrl(rule,...
// Build Configuration: https://go.nuxtjs.dev/config-build export default { babel: { plugins: [ ['@babel/plugin-proposal-private-methods', { loose: true }] ], }, postcss: { preset: { features: { "focus-within-pseudo-class": false } } } }
import { NodeType, Html, Node, Text, Props } from './types' // HELPERS const doc: Document = document export function createTextNode(text: string): Text { return { $: 'TEXT', __text: text } } export function createNodeNS(namespace: string | undefined) { return function ( tag: string, { props, children }:...
import { Component, OnDestroy, OnInit } from '@angular/core'; import { AlertService, EventManager, JhiLanguageService } from 'ng-jhipster'; import { Subscription } from 'rxjs/Rx'; import { OAuthClient } from './oauth-client.model'; import { OAuthClientService } from './oauth-client.service'; import { HttpErrorResponse...
import createWebWorkerPromise from '../core/internal/createWebWorkerPromise.js' import loadEmscriptenModuleMainThread from '../core/internal/loadEmscriptenModuleMainThread.js' import config from '../itkConfig.js' import IOTypes from '../core/IOTypes.js' import InterfaceTypes from '../core/InterfaceTypes.js' import ru...
import React from 'react'; import { Card, ResponsiveGrid, Box, Divider } from '@alifd/next'; import styles from './index.module.scss'; const Cell = ResponsiveGrid.Cell; interface DataItem { name?: string; rate?: string; color?: string; } interface CardConfig { title?: string; dataSource?: DataItem[]; } e...
/* * (C) Copyright 2020 Radix DLT Ltd * * 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 without limitation * the rights to use, copy, modify, merge, publi...
declare module 'clear' { var clear: any; export default clear; }
import actions from "actions"; import Table from "components/js/Table"; import LoadingWrapper from "components/LoadingWrapper/LoadingWrapper"; import * as React from "react"; import * as ReactRedux from "react-redux"; import ResourceRef from "shared/ResourceRef"; import { defaultStore, getStore, mountWrapper } from "sh...
import {NotificationType, Page} from 'argo-ui'; import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {RouteComponentProps} from 'react-router'; import {Sensor} from '../../../../models'; import {ID} from '../../../event-flow/components/event-flow-details/id'; import {uiUrl} from...
import { useCallback } from "react"; import { useAuthInterface } from "./types"; import { useService } from "@xstate/react"; import { authService } from "./authReducer"; import { isAfter } from "date-fns"; /** * The main API for useAuth * * @return {boolean} isAuthenticated is current user authenticated * @return...
// ---------------------------------------------------------------------------- // (c) 2021 - Franco Folini // // This source code is licensed under the BSD 3-Clause License found in the // LICENSE file in the root directory of this source tree. // -----------------------------------------------------------------------...
import * as _ from 'lodash'; import { User } from './user'; import { IProject } from './project'; export class Administrator extends User { constructor(administratorId?: number, username?: string) { super(administratorId, username); } /** * Returns a promsie of the accessability of the current user *...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; //tslint:disable:max-func-body-length match-default-export-name no-any no-multiline-string no-trailing-whitespace import { expect } from 'chai'; import { DebugLocationTracker } from '../../client/datascience/d...
// Copyright 2018-2021 Polyaxon, 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 agre...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { Opera...
import * as ko from "knockout"; import { Question, SurveyModel } from "survey-core"; import { IPage, SurveyElement } from "survey-core"; import { Page, Panel } from "./kopage"; import { PageModel } from "survey-core"; import { surveyCss } from "survey-core"; import { koTemplate, SurveyTemplateText } from "./templateTex...
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], }) export class AppComponent { title = 'spore'; }
import React from 'react'; import classNames from 'classnames'; import { ucfirst } from '../utils'; import css from './Grid.module.css'; type PropsT = { align?: 'start' | 'end' | 'stretch' | 'center'; centered?: boolean; children: any; className?: string; el?: any; fluid?: boolean; justifyC...
import {printTimings} from '@feltcoop/felt/util/print.js'; import {Timings} from '@feltcoop/felt/util/timings.js'; import {spawn} from '@feltcoop/felt/util/process.js'; import {yellow} from 'kleur/colors'; import {TaskError, type Task} from './task/task.js'; import {toBuildOutPath, toRootPath} from './paths.js'; impor...
import React, { useState, useCallback } from 'react' //import PropTypes from 'prop-types'; /*import { useCallback } from 'react'*/ import ReactDataGrid from '@inovua/reactdatagrid-community' //import { TypeEditInfo } from '@inovua/reactdatagrid-community/types' /** Note: syntax of TSX comments * import { * Type...
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Globals } from '../app/app.globals'; import { Http, Response, Headers } from '@angular/http'; @Injectable() export class DataService { dataLimit = 100; constructor(private...
import { WebPartContext } from '@microsoft/sp-webpart-base'; import { DisplayMode } from '@microsoft/sp-core-library'; export interface IMySubscriptionsProps { siteurl: string; context: WebPartContext; themeVariant: any; listname:string; displayMode: DisplayMode; strings:any; }
import {RouterEffect} from './router.effects'; import {AccountEffects} from './account.effects'; import {DegreesEffect} from './degrees.effects'; import {OccupationsEffect} from './occupations.effects'; import {AdvertsEffect} from './advert.effects'; import {ResponsesEffect} from './response.effects'; export const eff...
/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import cx from 'classnames' import { memo, useState } from 'react' import styles from './index.module.scss' import type { StandardFC } from '~types/StandardFC' import { Container } from 'react-bo...
import { Column, Entity, Index, OneToMany } from 'typeorm'; import { Role } from '../../../enums/role.enum'; import { BaseEntity } from './base.entity'; // eslint-disable-next-line import/no-cycle import { HistoryEntity } from './history.entity'; // eslint-disable-next-line import/no-cycle import { InvitationEntity } ...
import { writeFileSync } from 'node:fs'; import { resolve } from 'node:path'; import type { Method } from '../../docs/.vitepress/components/api-docs/method'; import type { PageIndex } from './utils'; import { formatMarkdown, formatTypescript, pathDocsDir, pathOutputDir, } from './utils'; const pathDocsApiPages...
// Imports import { assert } from "chai"; import Web3 from "web3"; import RocketPool from "../../rocketpool/rocketpool"; import { SendOptions } from "web3-eth-contract"; import { proposalStates, getDAOProposalState } from "./scenario-dao-proposal"; // Returns true if the address is a DAO member export async function g...
// (C) 2007-2018 GoodData Corporation import * as React from 'react'; import * as PropTypes from 'prop-types'; import * as classNames from 'classnames'; export interface ISource { title?: string; uri?: string; empty?: boolean; } export interface IAttributeElement { selected?: boolean; source: ISou...
// Type definitions for pretty-data 0.40 // Project: https://github.com/vkiryukhin/pretty-data#readme // Definitions by: Zeeshan Ahmad <https://github.com/ziishaned> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export const pd: { xml: (data: string) => string, json: (data: string) => stri...
import Affix from 'antd/lib/affix'; export default Affix;
import { CarouselAlignMode } from '../../../../carousel-align-mode'; import { CarouselSlide } from '../../../models/carousel-slide'; import { MOCK_SLIDE_PARAMS } from '../../../models/test/mock-slide-params.const'; import { markVisibleAndActive } from './mark-visible-and-active'; describe('markVisibleAndActive test su...
import { Component } from '@angular/core'; @Component({ selector: 'steps-demo', styleUrls: ['./steps-demo.component.scss'], templateUrl: './steps-demo.component.html', }) export class StepsDemoComponent {}
import '@/style/cell.scss'
import type { IColorClass } from './IColorClass'; import type { StringEnum } from './utils/types'; export declare type RGBTuple = [number, number, number]; /** * Valid string enumerations for formating `ColorRGB` into either a string, or * an integer number. * * @enum */ declare const RGBFormat: StringEnum; export...
import * as React from 'react'; import * as ToggleButtonGroup from 'react-bootstrap/lib/ToggleButtonGroup'; // eslint-disable-next-line @typescript-eslint/no-unused-vars export const ToggleButtonGroupInput = ({ input, meta, ...rest }) => ( <ToggleButtonGroup {...input} {...rest} /> );
import React, { ElementType, HTMLAttributes } from 'react'; export interface CHeaderNavProps extends HTMLAttributes<HTMLDivElement | HTMLUListElement> { /** * A string of all className you want applied to the component. */ className?: string; /** * Component used for the root node. Either a s...
import { Module } from '@nestjs/common'; import { TokenService } from './token.service'; import { TokenController } from './token.controller'; @Module({ providers: [TokenService], controllers: [TokenController], exports: [TokenModule] }) export class TokenModule { }
import * as React from 'react'; import { Route, Redirect } from 'react-router'; export interface RedirectWithStatusProps { from?: string; to?: string; status?: number; } export default ({ from, to, status }: RedirectWithStatusProps) => ( <Route render={({ staticContext }) => { if (...
import { Component, Input, Output, OnDestroy } from '@angular/core'; import { Router, NavigationEnd, Event as NavigationEvent } from '@angular/router'; import { ProductsService } from '../../services/products/products.service'; import { CategoriesService } from '../../services/categories/categories.service'; import {...
import {Http} from "@benjaminnoufel/http"; interface IRequest { method: string; credentials: RequestCredentials; mode: RequestMode; } const getRequest = ({method, mode, credentials}: IRequest) => (_target: Object, _property: string, descriptor: TypedPropertyDescriptor<any>): any => { const old = descr...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Dolittle. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------------------------------...
export class NoticiasDTO{ created_at: string; title: string; author: string; }