text
stringlengths
10
953k
import { Project, Iteration, } from "@/interface/project" import { BackendData } from "@/interface/common" import { transferDatasetGroup, transferDataset } from '@/constants/dataset' import { format } from '@/utils/date' export enum Stages { prepareMining = 0, mining = 1, labelling = 2, merging = 3, training...
import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { filter } from 'rxjs/operators'; import { WindowRefService } from 'app/shared/services/window-ref.service'; import { WebAppSettingDataService } from 'app/shared/services/web-app-setting-data.service'; export enum TRACKED_EVENT_LIST...
// @Libs import React, { memo, ReactElement, ReactNode } from 'react'; import { Button, Dropdown } from 'antd'; // @Styles import styles from './EmptyList.module.less'; // @Icons import PlusOutlined from '@ant-design/icons/lib/icons/PlusOutlined'; export interface Props { title: ReactNode; list?: ReactElement; u...
import { h } from 'preact'; import cx from 'classnames'; import './RadioGroup.scss'; import { RadioGroupProps } from './types'; import { getUniqueId } from '../../../../utils/idGenerator'; export default function RadioGroup(props: RadioGroupProps) { const { items, i18n, name, onChange, value, isInvalid, uniqueId }...
export function add(input: number): number { return input + 1; }
import { _decorator, EventTarget, Component, Node, Enum, UIOpacity, UITransform, EventTouch, SystemEventType, Vec3, Vec2, Size, CCInteger, } from "cc"; const { ccclass, property } = _decorator; /** * 全局事件监听实例 */ export const instance = new EventTarget(); export const SET_JOYSTICK_TYPE = "S...
import { Document } from 'mongoose'; export interface Customer extends Document{ readonly first_name: string; readonly last_name: string; readonly email: string; readonly phone: string; readonly address: string; readonly description: string; readonly created_at: Date; }
import { useEffect, useState } from 'react' import '@homebridge/plugin-ui-utils/dist/ui.interface' const { homebridge } = window export default function TokenForm({ onToken, }: { onToken(token: string): any }) { const [loading, setLoading] = useState(false), [sentCodeToEmail, setEmail] = useState('') use...
import React from 'react'; import { useRouter } from 'next/router'; const NotFoundPage = () => { const router = useRouter(); React.useEffect(() => { router.replace('/'); }); return null; }; export default NotFoundPage;
import path from "path"; import execa from "execa"; type Options = { scriptName: string; }; export class Tester { scriptName: string; constructor(options: Options) { this.scriptName = options.scriptName; } async test(cwd: string): Promise<void> { if (!(await this.shouldRun(cwd))) { return; ...
export { errorHandler } from './express-error-handler';
import React, { Component } from 'react'; import * as CSS from 'csstype'; import * as ddapi from 'digi-dungeon-api'; import MessageList from './messagelist'; import MessageBox from './messagebox'; import HideButton from '../../common/hidebutton'; import Colours from '../../common/colours'; interface GameLogProps {} ...
import { ResolutionError } from '@unstoppabledomains/resolution/build/resolutionError'; import { isENSLabelHash, isTransactionFeeHigh, isValidAddress, isValidETHRecipientAddress, isValidMixedCaseETHAddress, isValidUpperOrLowerCaseETHAddress, TxFeeResponseType, validateTxFee } from '../validators'; des...
import { Vec3, SkillId, Customize, PacketBase } from '../lib/Common' export class S_FEARMOVE_STAGE_2 extends PacketBase { gameId: bigint id: number loc: Vec3 w: number speed: number dest: Vec3 /** see C_PLAYER_LOCATION.type */ type: number }
import { subsets } from '../subsets'; export const eraseOverlapIntervals_Greedy = function(intervals) { if (!intervals || intervals.length === 0 || intervals.length === 1) return 0; let erased = 0; intervals.sort((a, b) => a[1] - b[1]); let scheduledIntervals = [intervals[0]]; for (let i=...
// TypeScript Version: 4.0 export { withRouter as default } from 'found';
import { Injectable, EventEmitter, } from '@angular/core'; import { Observable, Subject, BehaviorSubject } from "rxjs"; import { TopologyView } from '../data-models/topology-view'; import { CookieManagerService } from './cookie-manager.service'; @Injectable({ providedIn: 'root' }) export class TopologyService { p...
import { Footballers } from './footballers.model'; describe('Footballers', () => { it('should create an instance', () => { expect(new Footballers()).toBeTruthy(); }); });
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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 "../../utilities"; /*...
import { Rule, RuleTargetInput, Schedule } from '@aws-cdk/aws-events'; import { LambdaFunction } from '@aws-cdk/aws-events-targets'; import { Function, FunctionProps } from '@aws-cdk/aws-lambda'; import { Construct } from '@aws-cdk/core'; export interface ScheduledLambdaProps extends FunctionProps { /** * The...
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack"; import * as __aws_sdk_types from "@aws-sdk/types"; import { GetAggregateResourceConfig } from "../model/operations/GetAggregateResourceConfig"; import { InputTypesUnion } from "../types/InputTypesUnion"; import { OutputTypesUnion } from "../types/...
import * as React from 'react' import {Box, Icon, Text} from '../../../../common-adapters/' import {globalColors, globalMargins, globalStyles, isMobile} from '../../../../styles' export type Props = { canChange: boolean onChange: () => void explanation: string } const iconType = isMobile ? 'icon-message-retenti...
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * 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 b...
import PropTypes from "prop-types"; import React from "react"; import type { View } from "../../../common/types"; import { confirm, toWorker } from "../../util"; const handleAutoSort = async () => { await toWorker("main", "autoSortRoster", undefined, undefined); }; const handleResetPT = async () => { await toWorker...
import { CoinSelector } from './coinselection/coinSelector'; import { Network, Psbt } from 'liquidjs-lib'; import { AddressInterface, UtxoInterface, Outpoint, RecipientInterface, ChangeAddressFromAssetGetter, } from './types'; import { getNetwork, toOutpoint } from './utils'; import { buildTx as buildTxFuncti...
/* tslint:disable */ /* eslint-disable */ /** * The Span API * API for device, collection, output and firmware management * * The version of the OpenAPI document: 4.1.18 disgruntled-jerald * Contact: dev@lab5e.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * ht...
import { I18nContext } from '@edjopato/telegraf-i18n'; import { DefaultCtx, GenericMenu } from '../../src'; export enum MenuAction { BASKET = 'basket', VIDEO_FILTERS = 'video_filters', LANGUAGE = 'language', START = 'start', } export enum VideoFilterType { FROM = 'from', TO = 'to', } export ...
import { Component, OnInit } from '@angular/core'; import { Product } from './sortable.product'; @Component({ selector: 'app-sortable', templateUrl: './sortable.component.html', styleUrls: ['./sortable.component.scss'] }) export class SortableComponent implements OnInit { availableProducts: Array<Prod...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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 "../../utilities"; /*...
export enum devNavigationMenu { Add = '+Add', Topology = 'Topology', Observe = 'Observe', Builds = 'Builds', Search = 'Search', Helm = 'Helm', Project = 'Project', ProjectAccess = 'Project Access', Pipelines = 'Pipelines', ConfigMaps = 'Config Maps', Secrets = 'Secrets', GitOps = 'GitOps', Env...
import { Entity, Column, AfterLoad, getManager } from 'typeorm'; import { Base } from 'src/common/entities/base.entity'; import { Group } from './group.entity'; @Entity() export class Page extends Base { groups: Group[]; @Column({ type: 'jsonb' }) groupIds: string[]; @Column() url: string; @AfterLoad()...
import * as d from '../../declarations'; import { COLLECTION_MANIFEST_FILE_NAME, buildWarn, normalizePath } from '@utils'; import { getComponentsDtsTypesFilePath } from '../output-targets/output-utils'; export function validatePackageFiles(config: d.Config, outputTarget: d.OutputTargetDist, diagnostics: d.Diagnostic[...
import mailOptions, { transporter } from './config/emailConfig'; const sendEmail = async (messageToSend?: string) => { try { if(messageToSend) mailOptions.text = messageToSend; await transporter.sendMail(mailOptions) } catch(error) { console.log(`Error occured in email-servi...
import type { ReadonlyVec, VecOpSRoVV } from "./api.js"; import { compile } from "./compile/emit.js"; import { DOT, SARGS_V } from "./compile/templates.js"; export const dotS = ( a: ReadonlyVec, b: ReadonlyVec, n: number, ia = 0, ib = 0, sa = 1, sb = 1 ) => { let sum = 0; for (; n--...
export interface EmptyError extends Error { } export interface EmptyErrorCtor { new(): EmptyError; } const EmptyErrorImpl = (() => { function EmptyErrorImpl(this: Error) { Error.call(this); this.message = 'no elements in sequence'; this.name = 'EmptyError'; return this; } EmptyErrorImpl.proto...
import type * as _THREE from 'three'; export enum ACTION { NONE, ROTATE, TRUCK, OFFSET, DOLLY, ZOOM, TOUCH_ROTATE, TOUCH_TRUCK, TOUCH_OFFSET, TOUCH_DOLLY, TOUCH_ZOOM, TOUCH_DOLLY_TRUCK, TOUCH_DOLLY_OFFSET, TOUCH_ZOOM_TRUCK, TOUCH_ZOOM_OFFSET, } export interface PointerInput { pointerId: number; clien...
import React from "react"; import { i18n } from "@webiny/app/i18n"; import { ConfirmationDialog } from "@webiny/ui/ConfirmationDialog"; import { DeleteIcon } from "@webiny/ui/List/DataList/icons"; import { useCrud } from "@webiny/app-admin/hooks/useCrud"; import { Typography } from "@webiny/ui/Typography"; import { ...
import { Component } from 'angular2/core'; import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from 'angular2/router'; import { DashboardComponent } from './dashboard.component'; import { HeroesComponent } from './heroes.component'; import { HeroDetailComponent } from './hero-detail.component'; import { AddHer...
import axios, { AxiosResponse } from "axios"; import chalk from "chalk"; import Constant from "../config/constant"; import { JKUtil } from "../libs/Application"; class Api extends JKUtil { get token() { this.ctx?.Token?.load(); return this.ctx?.Token?.token || ""; } public async handle(res: AxiosRespons...
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.0" language="ar_EG"> <context> <name>listchatconfig</name> <message> <source/> <translation type="unfinished"/> </message> <message> <source/> <translation type="unfinished"/> </message> <message> <source>How long ...
import React, {Component} from 'react'; export default class App extends Component { render() { return ( <div> 这是一首简单的小情歌 </div> ); } }
import Tooltip from '@material-ui/core/Tooltip' import { makeStyles } from '@material-ui/core/styles' import cn from 'classnames' import React from 'react' import EtherscanOpenIcon from './img/etherscan-open.svg' import Img from 'src/components/layout/Img' import { xs } from 'src/theme/variables' import { getExplorer...
import {connect} from 'react-redux'; import * as _ from 'underscore'; import {IReactVaporState} from '../../ReactVaporState'; import {ReduxUtils} from '../../utils/ReduxUtils'; import {ITableCollapsibleRowOwnProps, TableCollapsibleRow} from './TableCollapsibleRow'; import {ITableRowState} from './TableRowReducers'; co...
import React, { FC } from 'react'; import MaskedInputBase, { MaskedInputProps } from 'react-text-mask'; const MaskedInput: FC<MaskedInputProps> = ({ guide = false, ...props }) => ( <MaskedInputBase className="form-control" guide={guide} {...props} /> ); export default MaskedInput;
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bg" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Cudacoin</source> <translation>За Cudacoin</translation> </messa...
#!/usr/bin/env node /* tslint:disable:no-implicit-dependencies */ import * as React from 'react'; import { renderToString } from 'react-dom/server'; import { ServerStyleSheet } from 'styled-components'; import { compile } from 'handlebars'; import { createServer, IncomingMessage, ServerResponse } from 'http'; import {...
import errCode from 'err-code' import { concat as uint8arraysConcat } from 'uint8arrays/concat' import { fromString as uint8arraysFromString } from 'uint8arrays/from-string' import { unmarshalPrivateKey, unmarshalPublicKey } from '@libp2p/crypto/keys' import varint from 'varint' import { equals as uint8arraysEquals } f...
import type { Client, ClientOptions } from 'graphql-ws'; import type { SubscriptionClient } from 'subscriptions-transport-ws'; import type { Fetcher } from '@graphiql/toolkit'; export type WebsocketsClient = Client | SubscriptionClient; /** * Options for creating a sinple, spec-compliant GraphiQL fetcher */ export ...
/* * 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...
export { EventsPage } from './pages/EventsPage'; export { NewEventPage } from './pages/NewEventPage'; export { EditEventPage } from './pages/EditEventPage'; export { EventPage } from './pages/EventPage';
// Copyright 2021 LiYechao // // 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 wri...
import { ValidationPipe } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger'; import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule); app.useGlobalPipes(new ValidationPip...
import { getTaskRepeatInfoText } from './get-task-repeat-info-text.util'; import { DEFAULT_TASK_REPEAT_CFG, TaskRepeatCfg, } from '../../task-repeat-cfg/task-repeat-cfg.model'; import { T } from '../../../t.const'; describe('getTaskRepeatInfoText()', () => { ( [ // TODO make case work: // [ ...
class NodoEncabezado { public id: any public siguiente: any public anterior: any public nodoacceso: any constructor(id: any, siguiente: any, anterior: any, nodoacceso: any) { this.id = id this.siguiente = siguiente this.anterior = anterior this.nodoacceso = nodo...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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 "../../utilities"; ex...
import styled from '@emotion/styled'; export const Title = styled.div` font-size: 44px; line-height: 60px; font-weight: bold; color: #21243d; `; export const Content = styled.main` font-weight: normal; font-size: 16px; line-height: 23px; /* Dark Color */ color: #21243d; margin-top: 40px; `; expor...
import { IBuscarRecuperacaoService, IRemoverRecuperacaoService, ISalvarHashRecuperacaoService, } from '../../../_business/recuperacao/services/recuperacao.service'; import { Recuperacao } from '../../../_business/recuperacao/entidades/recuperacao.entity'; import { Connection, createConnection, Repository } from '...
/// <reference path="../node_modules/pxt-core/localtypings/pxtarget.d.ts" /> /// <reference path="../node_modules/pxt-core/built/pxtblocks.d.ts" /> /// <reference path="../node_modules/pxt-core/built/pxtcompiler.d.ts" /> /// <reference path="../node_modules/pxt-core/built/pxtlib.d.ts" /> /// <reference path="../node_mo...
/** * https://demo.thi.ng/umbrella/hiccup-carbon-icons/#FLAG */ // prettier-ignore export const FLAG: any[] = ["svg", { viewBox: "0 0 32 32" }, ["path", { d: "M6 30H4V2h24l-5.8 9 5.8 9H6zm0-12h18.33l-4.53-7 4.53-7H6z" }]];
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { LayoutModule } from '@angular/cdk/layout'; import { CoreRoutingModule } from './core-routing.module'; import { MaterialModule } from '../material/material.module'; import { AuthModule } from '../auth/auth.module'; import...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpClientModule, HttpClient } from '@angular/common/http'; import { CoreModule } from './core/core.module'; import { SharedModule } from './shared/shared.module'; ...
import * as d from '../../decorators'; import { ModelManager } from '../../models/manager'; let GENDERS = [ ['male', 'Male'], ['female', 'Female'] ]; let HOBBIES = [ ['gardening', 'Gardening'], ['music', 'Music'], ['karate', 'Karate'], ]; export class TestModel { @d.AutoNumberField({ primaryK...
import { NoSuchHostedZone } from "./NoSuchHostedZone"; import { InvalidInput } from "./InvalidInput"; import { InvalidPaginationToken } from "./InvalidPaginationToken"; export type ListVPCAssociationAuthorizationsExceptionsUnion = | NoSuchHostedZone | InvalidInput | InvalidPaginationToken;
import { Component, OnChanges, Input, EventEmitter, Output } from '@angular/core'; @Component({ selector: 'pm-star', templateUrl: './star.component.html', styleUrls: ['./star.component.css'] }) export class StarComponent implements OnChanges { @Input() rating: number; // Input from product list ...
import type { LogRecord, LogFormatter } from './types'; import * as formatting from './formatting'; abstract class Handler { formatter: LogFormatter; public constructor(formatter: LogFormatter = formatting.formatter) { this.formatter = formatter; } public setFormatter(formatter: LogFormatter): void { ...
import { Column, CreateDateColumn, Entity, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn, } from 'typeorm' import { Answer } from './Answer' import { Category } from './Category' import { User } from './User' @Entity('esc_answer_reactions') export class AnswerReaction { @PrimaryGeneratedColumn('uu...
import { Component } from '@angular/core'; /** * @title Timefield format toggler example */ @Component({ selector: 'timefield-format-toggler-example', templateUrl: './timefield-format-toggler-example.html', styleUrls: ['./timefield-format-toggler-example.css'], }) export class TimefieldFormatTogglerExampl...
import Point from "./Point"; import Signal from "./Signal"; import AccessPoint from "./AccessPoint"; export default class Reading { readonly id: number; readonly location: Point; readonly signals: Signal[]; constructor(id: number, location: Point, signals: Signal[]) { this.id = id; this.location = location; ...
import BitStream from './bitstream'; import ICSInfo from './ics_info'; import IndividualChannelStream from './individual_channel_stream'; export default class ChannelPairElement { readonly element_instance_tag: number; readonly common_window: boolean; readonly ics_info?: ICSInfo; readonly ms_mask_present?: num...
import {CommonModule} from '@angular/common'; import {NgModule} from '@angular/core'; import {MatChipsModule} from '@angular/material/chips'; import {OnlineChip} from './online_chip'; /** * Module for a material status chip */ @NgModule({ imports: [ CommonModule, MatChipsModule, ], declarations: [ ...
import React from 'react'; import {Link} from 'react-router-dom'; import backIcon from '../../../assets/images/icons/back.svg'; import logoImg from '../../../assets/images/inb-logo.png'; import './styles.css' interface PageHeaderProps { title:string; description?:string; } const Header: React.FC<PageHeaderProps...
import { StoreEnhancer } from '@reduxjs/toolkit'; export {}; declare global { interface Window { __REDUX_DEVTOOLS_EXTENSION__?: () => StoreEnhancer; } }
import * as React from 'react' import {BehaviorSubject, Observable, Subject, Subscription} from 'rxjs' import shallow from 'shallow-equals' import {distinctUntilChanged} from 'rxjs/operators' export function toObservable<T>(value: T): Observable<T> export function toObservable<T, K>( value: T, setup: (props$: Obse...
import { listener, reporter, Reporter, ReporterClass } from "soboku"; import { ISObservable } from "../index.d"; export abstract class SObservable<I, O, T extends Reporter<I>> implements ISObservable<I, O, T> { public readonly input: T; public readonly output = reporter<O>(); public readonly error = new O...
import { IS_DEV } from '@ncigdc/utils/constants'; type TConsoleDebug = (log: string) => void; const consoleDebug: TConsoleDebug = log => { if (IS_DEV) { console.log(log); } }; export default consoleDebug;
interface MTAudioProcessingTapCallbacks { version: number; clientInfo: interop.Pointer | interop.Reference<any>; init: interop.FunctionReference<(p1: any, p2: interop.Pointer | interop.Reference<any>, p3: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>) => void>; finalize: interop.Func...
import { NgModule } from '@angular/core'; import { SharedModule } from '@app/shared/shared.module'; import { RolesComponent } from './roles.component'; import { RolesEditComponent } from './roles-edit/roles-edit.component'; import { RolesCopyComponent } from './roles-copy/roles-copy.component'; @NgModule({ imports...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ChartWindowComponent } from './chart-window.component'; describe('ChartWindowComponent', () => { let component: ChartWindowComponent; let fixture: ComponentFixture<ChartWindowComponent>; beforeEach(async(() => { TestBed.conf...
import { Room } from './room'; /** * The options for connecting and managing the WebSocket connection with the server. */ export interface SocketOpts { /** * The amount of time to wait before giving up on the connection. */ timeout: number; /** * The scale used to backoff the timeout. */ backoff...
function getFilledArray<T>(value: T, n: number): T[] { return Array(n).fill(value); } let stringArray: string[]; let numberArray: number[]; let personArray: { name: string, age: number }[]; let coordinateArray: [number, number][]; // Write your code below: stringArray = getFilledArray<string>('hi', 6); numberArra...
import qs from "querystring"; export function getOptions(loaderContext: any) { const query = loaderContext.query; if (typeof query === "string" && query !== "") { return qs.parse(loaderContext.query.slice(1)); } if (!query || typeof query !== "object") { return {}; } return query; }
export { default } from "./ImportExportButtons";
import { Component, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core'; import { Subscription } from 'rxjs/Subscription'; import { ActivatedRoute, ParamMap, Router } from '@angular/router'; import { FormGroup } from '@angular/forms'; import { DynamicFormControlModel, DynamicFormService } from '@ng-dynamic-...
import * as authly from "authly" export interface Credentials { name: string keys: { private: authly.Token | undefined public: authly.Token | undefined agent: authly.Token | undefined } administrator?: { user: string | undefined password: string | undefined } }
import { t, formatYesNoLabel } from "@bloom-housing/ui-components" import { IncomePeriod, ApplicationSubmissionType } from "@bloom-housing/backend-core/types" import { convertDataToPst, formatIncome } from "../../lib/helpers" import moment from "moment" function compareDates(a, b, node, nextNode, isInverted) { const...
export interface Activity { id: string; name: string; points: number; } export const ActivityList: Activity[] = [ { id: "stairs", name: "Stairs 15 flights", points: 30 }, { id: "bear-crawl", name: "Bear Crawl", points: 5 }, { id: "reps-20", name: "20 Reps", points: 20 }, { id: "reps-10", na...
import { traverse, t } from '@umijs/utils'; import { parse } from '../utils/parse'; export function isReactComponent(code: string) { const ast = parse(code); let hasJSXElement = false; traverse.default(ast, { JSXElement(path: any) { hasJSXElement = true; path.stop(); }, JSXFragment(path: ...
import { ModuleWithProviders, NgModule } from '@angular/core'; import { setupListeners } from '@reduxjs/toolkit/query'; import { defaultConfig, StoreQueryConfig, STORE_RTK_QUERY_CONFIG } from './store-rtk-query.config'; import { dispatch, ThunkService } from './thunk.service'; @NgModule({}) export class StoreRtkQueryM...
import formats from './formats'; const phone_number: any = { formats, }; export default phone_number;
version https://git-lfs.github.com/spec/v1 oid sha256:136989779e8a48f00fa64755924efd86ebea2c23a02e61cd71b15a042c9bc160 size 482784
import { HassEntity } from "home-assistant-js-websocket/dist/types"; import { css, CSSResult, customElement, html, internalProperty, LitElement, property, PropertyValues, TemplateResult, } from "lit-element"; import { styleMap } from "lit-html/directives/style-map"; import { applyThemesOnElement } fro...
import {UserAutocomplete} from './user-autocomplete'; import {createMockDependencies} from '../../../utility/tests/search-category-mock-dependencies'; import {Observable, of} from 'rxjs'; import {Page} from '../../../resources/interface/page'; import {UserResource} from '../../../resources/interface/user-resource'; imp...
export * from './Section'; export * from './Section.types'; export * from './EditSections'; export * from './EditSections.base';
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-blank-layout', templateUrl: './blank-layout.component.html', styleUrls: ['./blank-layout.component.scss'] }) export class BlankLayoutComponent implements OnInit { constructor() {} ngOnInit() {} }
import { v4 as uuid } from 'uuid' import { connection } from '../db/index.js' import { UserDb } from '../user/repository' import { LinkDb } from '../link/repository' import seed from './seed.json' import { internet, lorem, random, datatype } from 'faker' import { range } from 'lodash' import { User, UserData, UserWithH...
import styled from 'styled-components'; type AnimatedType = { visible?: boolean; }; export const AnimatedSlideDownView = styled.div<AnimatedType>` /* opacity: ${({ visible }) => (visible ? 1 : 0)}; */ transition: all 0.2s; height: ${({ visible }) => (visible ? 'auto' : 0)}; overflow-y: hidden; o...
// Copyright (c) 2021 Maxim Kuzmin. All rights reserved. Licensed under the MIT License. import { useContext, useEffect } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { Context } from 'src/Context'; /** * Использовать ключ текущего пункта меню. * @param currentMenuItemKey Ключ текуще...
import { Accordion } from '@chakra-ui/react' import React, { useEffect } from 'react' import { useRecoilState } from 'recoil' import { objectiveAccordion, objectiveAccordionExpandedIndexes, } from 'src/state/recoil/objective/accordion' import { ObjectiveAccordionItem } from './Item/wrapper' import { ObjectiveAcco...
/** * Do not edit directly */ export const LightColorSchemePrimaryDefault = "#338FCC"; export const LightColorSchemeSecondDefault = "#B3B3B3"; export const LightColorSchemeErrorDefault = "#E76E5C"; export const LightColorSchemeInfoDefault = "#AAD1EC"; export const LightColorSchemeSuccessDefault = "#B4DEA4"; export c...
import { Column } from "../entities/column"; import { CellChangedEvent, RowNode } from "../entities/rowNode"; import { Constants } from "../constants"; import { CellClickedEvent, CellContextMenuEvent, CellDoubleClickedEvent, CellEditingStartedEvent, CellEditingStoppedEvent, CellEvent, CellMo...