text
stringlengths
10
953k
import { _Action } from '@/models/_Action' import type { IAction, IUpdateAction } from '@/models/_Action' import { Store } from '@/constants' // Exports for LocalDatabase export const exerciseStoreIndices = Object.freeze({ [Store.EXERCISES]: '&id, name, status' }) export interface IExercise extends IAction, IExercise...
/** * @file Notes 笔记 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper('notes', (props: ISvgIconProps) => ( '<?xml version="1.0" encoding="UTF-8"?>' + '<svg width="' + ...
/* * Copyright 2019 NEM * * 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 writi...
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient.ts"; import { CancelInputDeviceTransferRequest, CancelInputDeviceTransferResponse } from "../models/models_1.ts"; import { deserializeAws_restJson1CancelInputDeviceTransferCommand, serializeAws_restJson1CancelIn...
import { camelCase, snakeCase } from 'change-case'; import { DomainObjectPropertyMetadata } from 'domain-objects-metadata'; import { SqlSchemaPropertyMetadata } from '../../../domain/objects/SqlSchemaPropertyMetadata'; import { SqlSchemaReferenceMethod } from '../../../domain/objects/SqlSchemaReferenceMetadata'; impor...
/** * Tracking is used to detect container width changes, etc. */ export function isJqueryEl(el) { return !!el.jquery; } export function getDomElement(el) { if (!el) { return null; } if (typeof el === 'string') { return document.querySelector(el); } if (el.constructor === HTMLElement) { re...
/* eslint-disable max-len */ /* Note: this file is generated by "npm run template", please dont modify this file directly */ /* -- instead, you should modify "static-files/rax/jsconfig.json.template" and run "npm run template" */ import { ResultFile } from '@alilc/lowcode-types'; export default function getFile(): [st...
import test from 'ava'; import {createIdentifier} from './createIdentifier'; test('Identifier', (t) => { const identifier = createIdentifier(); t.is(identifier('A'), 1); t.is(identifier('A'), 1); t.is(identifier('B'), 2); t.is(identifier('A'), 1); t.is(identifier('B'), 2); });
import React, { FC } from "react"; import classNames from "classnames"; type TypographyVariant = // Text | "xs" | "sm" | "md" | "lg" | "xl" // Display | "h6" | "h5" | "h4" | "h3" | "h2" | "h1"; type TypographyWeightOption = "regular" | "medium" | "semibold" | "bold"; type TypographyWeightVa...
import { Controller, BaseController, Inject, Get, Params } from 'kever' import { createResultDate } from '../utils' @Controller('/email') export default class EmailController extends BaseController { @Inject('email') public emailService @Inject('user') public userService @Get('/send-email') async sendEma...
export * from './GridCell'; export * from './GridEditInputCell'; export * from './GridEditSingleSelectCell'; export * from './GridActionsCell'; export * from './GridActionsCellItem'; export * from './GridTreeDataGroupingCell'; export * from './GridDetailPanelToggleCell';
/* * << * 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 { BootstrapTable, TableHeaderColumn } from "react-bootstrap-table"; import { Link } from "react-router-dom"; import * as DateUtil from "../../utils/DateUtil"; import React from "react"; import { VirtualContest } from "./types"; export default (props: { contests: VirtualContest[] }) => { return ( <Bootstra...
import { Controller, Post,Body } from '@nestjs/common'; import { AuthService } from './auth.service'; import {AuthDto} from './dto/AuthDto' @Controller('auth') export class AuthController { constructor(private readonly Authservice: AuthService) {} @Post('/abc') async signup(@Body() AuthDto:AuthDto):Prom...
declare type Config = { linebreaks?: string; plugins?: Object | Array<Object>; }; declare type settingType = 'string' | 'number' | 'boolean'; declare type afterLinebreak = string | null; declare type part = aboutList | setting | note | newlineToken | comment | listElement; declare type ParsingResult = Array<part>; ...
import path from 'path'; import express from 'express'; import multer from 'multer'; const router = express.Router(); const storage = multer.diskStorage({ destination(req, file, cb) { cb(null, 'uploads/'); }, filename(req, file, cb) { cb(null, `${file.fieldname}-${Date.now()}${path.extname(...
import { Test, TestingModule } from '@nestjs/testing'; import { LocationsController } from './locations.controller'; import { LocationsService } from './locations.service'; import { locationsStub } from './test/locations.stub'; import { LocationsServiceMock } from './test/locations.service.mock'; import { LocationDocum...
import MagicString from 'magic-string' import { BindingMetadata, BindingTypes, createRoot, NodeTypes, transform, parserOptions, UNREF, SimpleExpressionNode, isFunctionType, walkIdentifiers } from '@vue/compiler-dom' import { SFCDescriptor, SFCScriptBlock } from './parse' import { parse as _parse, Pa...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule,ReactiveFormsModule } from "@angular/forms"; import { HttpClientModule } from "@angular/common/http"; import { RouterModule, Routes } from '@angular/router'; import { AppRoutingModule } from './app...
import { getProperty } from "dot-prop"; export const getObjectProperty = <T>(obj: any, path: string, defaultValue: T): T => { return getProperty(obj, path, defaultValue) as T; };
import buildDebug from 'debug'; import URL from 'url'; import { RequestOptions } from '@verdaccio/url'; import { getPublicUrl } from '@verdaccio/url'; const debug = buildDebug('verdaccio:core:url'); export function extractTarballFromUrl(url: string): string { // @ts-ignore return URL.parse(url).pathname.replace(...
import { CanActivate, ExecutionContext, Injectable, ForbiddenException, } from '@nestjs/common'; import { Observable } from 'rxjs'; @Injectable() export class RbacGuard implements CanActivate { // role[用户角色]: 0-超级管理员 | 1-管理员 | 2-开发&测试&运营 | 3-普通用户(只能查看) constructor(private readonly role: number) {} canAct...
/* * Copyright © 2018 Atomist, 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 agree...
import * as React from "react" import { observer } from "mobx-react" import { computed, action, observable } from "mobx" import { uniqBy, isTouchDevice, sortBy } from "./Util" import { ChartConfig } from "./ChartConfig" import { EntityDimensionInfo } from "./ChartData" import { FuzzySearch } from "./FuzzySearch" impor...
import { capitalize } from 'lodash'; import React, { FunctionComponent, ReactElement, useState } from 'react'; import DeleteConfirmationPopup from '../components/DeleteConfirmationPopup'; import { BaseLayout } from '../layout/Layout'; import SubNavigation from '../layout/SubNavigation'; type Entity = { id: number; nam...
import debug from 'debug' import BN from 'bn.js' import { ecsign, toBuffer } from 'ethereumjs-util' import retry from 'retry' import { Client, ClientEvent, IChainEventArgs, ITxMiddlewareHandler } from './client' import { createDefaultTxMiddleware } from './helpers' import { CallTx, MessageTx, Transaction, VMTy...
import { Hasher } from '../../../interfaces/cryptography/hasher' import { LoadUserRepository } from '../../../../implementation/interfaces/users/load-user-repository' import { UserModel } from '../../../../domain/models/user' import { AddUserModel } from '../../../../domain/models/user' import { AddUserRepository } fro...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { ExtraComponentsComponent } from './extra-components.component'; import { AlertComponent } from './alert/alert.component'; import { ProgressBarComponent } from './progress-bar/progress-bar.component'; import { Spi...
import { IApiWebsSocketHandler } from "../../models/interfaces/IApiWebSocketHandler"; export class MockApiWebSocketHandler implements IApiWebsSocketHandler { connect(address: string, callback: (notification: import("../../../../base/src/models/rest/IWebSocketNotification").IWebSocketNotification) => Promise<any>):...
import { Component, ViewEncapsulation } from '@angular/core'; @Component({ selector: 'regions', templateUrl: 'app/RegionsModule/views/index.html', styleUrls: ['app/RegionsModule/views/index.css'], encapsulation: ViewEncapsulation.Emulated }) export class RegionsComponent { }
import InternalHandler from '../InternalHandler'; import { IHTMLSlotElement, ISlotable } from '../interfaces'; export declare const getState: (instance: ISlotable) => any, setState: <P = ISlotableProperties>(instance: ISlotable, properties: P) => void, setHiddenState: <IHiddenProperties extends {}>(instance: ISlotable,...
import { Component, OnInit, AfterViewInit } from '@angular/core'; import { OnkaService, OnkaPageField, BaseBusinessLogicService, OnkaMultiReferenceComponent } from 'onka-angular-admin-core'; import { pageConfig } from './config'; import { finalize } from 'rxjs/operators'; @Component({ selector: 'app-admin-user-role...
/// <reference types="@types/ammo.js" /> import { buildGeometryPoints } from "../../quakemaps/src/buildGeometryPoints"; import { CollisionFlags } from "../../ammo/src/CollisionFlags.enum"; import { createRouter } from "../../framework/src/createRouter"; import { disposableAmmo } from "../../ammo/src/disposableAmmo"; i...
import * as React from 'react'; import { SVGIconProps } from '../createIcon'; export declare const CartPlusIconConfig: { name: 'CartPlusIcon', height: 512, width: 576, svgPath: 'M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-...
import JobDescription from "@protocol/network/types/JobDescription"; import Message from "./Message"; export default class JobLevelUpMessage extends Message { public newLevel: number; public jobsDescription: JobDescription; constructor(newLevel = 0, jobsDescription: JobDescription) { super(); this.newLe...
export * from "../internal.js" export type FirstEnclosed< Def extends string, Token extends string > = Def extends `${Token}${infer Inner}${Token}${string}` ? Inner : never
import { addUnit, isEngine, NodeInterface, Plugin, PluginEntry, removeUnit, SchemaGlobal, PluginOptions, } from '@aomao/engine'; export interface Options extends PluginOptions { hotkey?: { in?: string; out?: string; }; maxPadding?: number; } export default class extends Plugin<Options> { static get pl...
var PI4 = Math.PI / 4; var PI2 = Math.PI / 2; var PI = Math.PI; class PlanetTools { public static readonly BLOCKSIZE = 1; public static readonly CHUNCKSIZE = 16; public static readonly ALPHALIMIT = Math.PI / 4; public static readonly DISTANCELIMITSQUARED = 128 * 128; private static _emptyVertexDa...
import { useFreshLazyRef, useReactiveRef } from '@lyonph/react-hooks'; import { MutableRefObject, useDebugValue, useEffect, useState, } from 'react'; export interface Laze<T extends HTMLElement> { ref: MutableRefObject<T | null>; visible: boolean; } export interface LazeOptions { refresh?: boolean; } e...
import { DnlFirestoreEntity } from 'ng-lib'; export interface Company extends DnlFirestoreEntity { name: string; }
/* eslint-disable camelcase */ import Authentication from './services/Authentication'; export type TotalExpertAuth = InstanceType<typeof Authentication>; // eslint-disable-next-line no-unused-vars export type AuthenticationHook = (totalExpertAuthentication: Authentication) => Promise<void>; export interface TotalExp...
import { useState } from 'react'; import type { FilterConfig, FoodConfig } from '@/types/config'; export default function Dialog({ filterer, config, setConfig, }: { filterer: (filter: FilterConfig) => void; config: FoodConfig; setConfig: (config: FoodConfig) => void; }) { const [showModal, setShowModal]...
import _ = require("../index"); declare module "../index" { // chunk interface LoDashStatic { /** * Creates an array of elements split into groups the length of size. If collection can’t be split evenly, the * final chunk will be the remaining elements. * * @param ar...
import { Nullable } from "../../types"; import { Engine } from "../../Engines/engine"; import { DataBuffer } from '../../Meshes/dataBuffer'; /** @hidden */ export var _forceTransformFeedbackToBundle = true; declare module "../../Engines/engine" { export interface Engine { /** * Creates a webGL tr...
<TS language="es_ES" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Haga clic en el botón derecho para editar la dirección o etiqueta</translation> </message> <message> <source>Create a new addres...
import type { OperationParameters } from '../../../client/interfaces/OperationParameters'; import type { OpenApi } from '../interfaces/OpenApi'; import type { OpenApiParameter } from '../interfaces/OpenApiParameter'; import { Parser } from '../Parser'; import { sortByRequired } from './sortByRequired'; export function...
import { TestBed } from '@angular/core/testing'; import { ScriptLoaderService } from './script-loader.service'; describe('ScriptLoaderService', () => { let service: ScriptLoaderService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(ScriptLoaderService); }); it('shou...
import { injectable, inject } from "inversify"; import * as express from "express"; import { IEndpoint, IDatabase, ISettings, IWorkerService, ISessionService } from "../interfaces"; import { TYPES } from "../types"; import { VraySpawnerInfo } from "../model/vray_spawner_info"; import { Worker } from "../database/model/...
import { Injectable } from '@angular/core'; import { QueryEntity } from '@datorama/akita'; import { IncomeStore, IncomeState } from './income.store'; @Injectable({ providedIn: 'root' }) export class IncomeQuery extends QueryEntity<IncomeState> { constructor(protected store: IncomeStore) { super(store); } }
import { IDuration } from "../core/duration"; import { IMap } from "../core/map"; import { IStackTrace } from "../core/stackTrace"; import { IAsyncError } from "./asyncError"; import { ITimer } from "./timer"; import { IZone } from "./zone"; import { IZoneSpecification } from "./zoneSpecification"; declare const dart: ...
// Continuation state for interval callbacks export enum Continuation { Continue, Cancel, } // // Updates intervals until complete and calls a callback when done // export class Intervals { // Private properties private setIntervalHandle: any = null; private setIntervalLastTime: number = 0; p...
import { Component } from 'preact'; interface Props { blob: Blob; compareTo?: Blob; } interface State { } export default class FileSize extends Component<Props, State> { render({ blob, compareTo }: Props): JSX.Element; } export {};
import { Injectable } from '@nestjs/common'; import { CountryRepository } from '../../database/mysql/repositories/country.repository'; import { CountryRegionRepository } from '../../database/mysql/repositories/country.region.repository'; import { CountryDistrictRepository } from '../../database/mysql/repositories/count...
// Copyright (c) 2021. Sendanor <info@sendanor.fi>. All rights reserved. export enum SimpleMatrixClientState { /** * Client has been initialized but does not have authenticated session */ UNAUTHENTICATED, /** * Client is in the middle of authenticating and has not started long polling ...
/* istanbul ignore file */ import { ASTNode } from './ASTNode'; import { ScenarioDefinition } from './ScenarioDefinition'; import { Tag } from './Tag'; export interface Feature extends ASTNode { type: 'Feature'; tags: Tag[]; language: string; keyword: string; name: string; description: string;...
import { Request, Response, Router } from 'express'; import StackOperationsValidations from './stackOperations.validation'; import StackOperationsController from './stackOperations.controller'; const router = Router(); /** * Stack Operations * @route POST /stack-operations/api/v1/operation * @param {StackOperation...
export const PAGINATION = { DEFALUT_PAGENUM: 1, DEFALUT_PAGESIZE: 10, };
import { Component, Prop, h, ComponentInterface, Host, State, Event, EventEmitter, Element } from '@stencil/core' import Taro from '@tarojs/taro' import classNames from 'classnames' import resolvePathname from 'resolve-pathname' import { splitUrl } from '../../utils' import { TabbarItem } from './tabbar-item' // cons...
export default interface ICreateUserDTO { name: string email: string password: string }
export { default as useCollection } from './collection-hook';
// Copyright 2015-2021 Nkisi inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
describe('computeFinalArgs', () => { it.todo('should run fin for null even when arg type is an array') })
/* GENERATED FILE */ import * as React from "react"; import Svg, { Rect, Line, Path } from "react-native-svg"; import { IconProps } from '../lib' function MicrosoftPowerpointLogo(props: IconProps) { return <Svg viewBox="0 0 256 256" width={props.size} height={props.size} {...props}><Rect width={256} height={256} fi...
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule, APP_I...
import { DMMF } from '@prisma/client/runtime' import dedent from 'dindist' import { chain, lowerFirst } from 'lodash' import * as Nexus from 'nexus' import { NexusEnumTypeConfig, NexusListDef, NexusNonNullDef, NexusNullDef } from 'nexus/dist/core' import { MaybePromise, RecordUnknown, Resolver } from '../../helpers/uti...
import * as DB from '../../db'; import * as uuid from 'uuid/v4'; import * as _ from 'lodash'; import Context from '../../context'; import { WrappedError } from '../../logger'; import { startDBCall } from '../../db/helper'; import { SyncEvent } from 'ts-events'; export default class Event implements DB.Event { privat...
import { IFirebaseConfig } from '../firebaseConfig' import { IMessageingProvider } from '../messaging' export default (suggestionStore, messagingProvider: IMessageingProvider, firebaseConfig: IFirebaseConfig) => { return (suggestion, { requestSource, from, languageCode }) => { console.log(suggestion) suggest...
import { IReferences } from 'pip-services3-commons-node'; import { Descriptor } from 'pip-services3-commons-node'; import { FilterParams } from 'pip-services3-commons-node'; import { PagingParams} from 'pip-services3-commons-node'; import { DataPage } from 'pip-services3-commons-node'; import { DirectClient } from 'pip...
/* * Copyright 2021 University of Stuttgart * * 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 o...
import Faker from 'faker'; import { User } from 'src/users/entities/user.entity'; import { define } from 'typeorm-seeding'; define(User, (faker: typeof Faker) => { const gender = faker.random.number(1); const firstName = faker.name.firstName(gender); const lastName = faker.name.lastName(gender); const roles = ...
import { Component, OnInit } from '@angular/core'; import { NameListService } from '../shared/name-list/name-list.service'; import { BracketsComponent } from '../brackets/brackets.component'; /** * This class represents the lazy loaded HomeComponent. */ @Component({ moduleId: module.id, selector: 'sd-home', te...
import * as merkle from "@connext/vector-merkle-tree"; import { createCoreTransferState, expect } from "./test"; import { getRandomBytes32, isValidBytes32 } from "./hexStrings"; import { generateMerkleRoot } from "./merkle"; import { hashCoreTransferState, encodeCoreTransferState } from "./transfers"; import { MerkleT...
import React from 'react'; import cx from 'clsx'; import { makeStyles } from '@material-ui/core/styles'; import Box from '@material-ui/core/Box'; import Card from '@material-ui/core/Card'; import CardContent from '@material-ui/core/CardContent'; import CardMedia from '@material-ui/core/CardMedia'; import PeopleCardFoot...
import { customElement } from 'lit/decorators.js'; import { PeerStatus } from '../elements/peer-status'; @customElement('peer-status') class PS extends PeerStatus {}
//* Boolean const contaPaga: boolean = false; //variavel:tipo = valor //* Number const idade: number = 23; const avaliacao: number = 4.5; //* String const nome: string = 'Vitor Farias'; //* Array const idades: number[] = [ 23, 28, 45]; const idades2: Array<number> = [ 12, 30, 89]; //* Tuple let jogadores: [string, ...
import { Service } from '@models/Service'; export const NrkService = new Service({ id: 'nrk', name: 'NRK', homePage: 'https://tv.nrk.no/', hostPatterns: ['*://*.nrk.no/*'], hasScrobbler: true, hasSync: true, hasAutoSync: true, });
/** * @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 {CompileDirectiveMetadata, CompileInjectableMetadata, CompileNgModuleMetadata, CompilePipeMetadata, CompilePip...
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; import { FormGroup, FormBuilder, Validators } from '@angular/forms'; @Component({ selector: 'app-child', templateUrl: './child.component.html', styleUrls: ['./child.component.css'] }) export class ChildComponent implements OnInit { ...
import { mkdirSync, writeFileSync } from "fs"; import { dirname, join } from "path"; import { formatDiff2Html } from "./format-diff"; import { getDiff } from "./get-diff"; export async function saveDiffAsHtml( sourceHash: string, targetHash: string, filePath: string, outputDir: string, relativeFileName: strin...
import AppHeader from "@saleor/components/AppHeader"; import CardSpacer from "@saleor/components/CardSpacer"; import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton"; import Container from "@saleor/components/Container"; import Form from "@saleor/components/Form"; import Grid from "@saleor/compo...
/* eslint-disable no-magic-numbers, sort-keys */ import React from 'react'; import { SuperChart } from '@superset-ui/core'; import RoseChartPlugin from '@superset-ui/legacy-plugin-chart-rose'; import data from './data'; new RoseChartPlugin().configure({ key: 'rose' }).register(); export default { title: 'Legacy Cha...
import {NgModule} from '@angular/core'; import {PreloadAllModules, RouterModule, Routes} from '@angular/router'; const appRoutes: Routes = [ {path: '', redirectTo: '/recipes', pathMatch: 'full'}, {path: 'recipes', loadChildren: () => import('./recipes/recipes.module').then(m => m.RecipesModule)}, {path: 'shoppin...
declare const a: { b: string } export = a.b;
import React from 'react'; import { FiCheckCircle } from 'react-icons/fi'; import './styles.css'; const Success = () => { return ( <div className="container"> <div className="content"> <FiCheckCircle color="#34CB79" size={44}/> <p className="alert">Cadastro concluído!</p> </div> ...
// Based on [joshwcomeau.com/gatsby/dark-mode/] export let getTheme = (): string | null => { let theme = window.localStorage.getItem("theme"); // If the user has explicitly chosen light or dark, // let's use it. Otherwise, this value will be null. if (typeof theme === "string") return theme; // If ...
import express from 'express'; import Connection from '../models/db_models'; import Client from '../models/types/client_type'; class ReportsController { async create(req: express.Request, res: express.Response) { try { if (req.body.objectReviewId && req.body.clientReviewId) { ...
import { ICamerasListState } from "./cameras-list.state"; export interface ICamerasFeatureState { camerasList: ICamerasListState; }
import { TextMateRuleData, ThemeColor } from "@types" export const python: TextMateRuleData[] = [ { scopes: [ "string.quoted.docstring.multi.python", // "string.quoted.docstring.single.python", "string.quoted.docstring.multi.python keyword.control.flow.python", ]...
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { environment } from './../../../../environments/environment'; @Component({ selector: 'app-footer', templateUrl: './footer.component.html', styleUrls: ['./footer.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush...
/** * @module systems/sys_control_always2d */ import {Entity} from "../../common/world.js"; import {Game} from "../game.js"; import {Has} from "../world.js"; const QUERY = Has.ControlAlways2D | Has.Move2D; export function sys_control_always2d(game: Game, delta: number) { for (let i = 0; i < game.World.Signatur...
<TS language="ne" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>ठेगाना वा लेबल सम्पादन गर्न दायाँ-क्लिक गर्नुहोस्</translation> </message> <message> <source>Create a new address</source> ...
// Packages Imports import { StyleProp, ViewStyle } from "react-native"; import { TouchableRipple } from "react-native-paper"; import Animated, { FadeInDown, FadeOutDown, interpolate, Layout as LT, useAnimatedStyle, useDerivedValue, withTiming, } from "react-native-reanimated"; // Local Imports import Co...
type TypeIs = { x: (value: any) => boolean, y: (value: any) => boolean, w: (value: any) => boolean, h: (value: any) => boolean, angle: (value: any) => boolean, number: (value: any) => boolean, borderWidth: (value: any) => boolean, borderRadius: (value: any) => boolean, color: (value: any) => boolean, ...
import React, { FC, useState, useRef } from 'react' import useOnClickOutside from '@hooks/useOnClickOutside' import useEscToClose from '@hooks/useEscKey' import Icon from '@components/Icon/Icon' import { NavMenuTypes } from '../NavMenu' import NavMenuButton from './NavMenuButton' export type NavMenuItemTypes = { t...
import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient"; import { UpdateAppRequest, UpdateAppResult } from "../models/index"; import { deserializeAws_restJson1_1UpdateAppCommand, serializeAws_restJson1_1UpdateAppCommand } from "../protocols/Aws_restJson1_1"; impor...
import type { MenuProps } from './menu'; export declare const useMenuCssVar: (props: MenuProps) => import("vue").ComputedRef<{ '--el-menu-text-color': string; '--el-menu-hover-text-color': string; '--el-menu-bg-color': string; '--el-menu-hover-bg-color': string; '--el-menu-active-color': string; }>;
import React, {useState } from 'react'; import DropdownItem from './DropDownItem'; import './Dropdown.scss'; interface DropdownProps { options: string[]; name: string; filter: (val: string) => {}; bullets?: boolean; isDisabled?: boolean; } const Dropdown: React.FC<DropdownProps> = (props) => { const [dis...
export declare const commonErrors: { EACCESS: { name: string; message: string; status: number; isOperational: boolean; }; ELOGIN: { name: string; message: string; status: number; isOperational: boolean; }; ECREATE_LIMIT: { name:...
import { html, LitElement, PropertyValues, PropertyDeclarations, TemplateResult, } from "lit-element"; import "../../components/entity/ha-state-label-badge"; // This one is for types // tslint:disable-next-line import { HaStateLabelBadge } from "../../components/entity/ha-state-label-badge"; import applyThe...
/** * Object that defines the vocabulary of the data-types defined in the XML Schema Definition Language (XSD). */ export const XSD:{ namespace:"http://www.w3.org/2001/XMLSchema#", boolean:"http://www.w3.org/2001/XMLSchema#boolean", byte:"http://www.w3.org/2001/XMLSchema#byte", date:"http://www.w3.org/2001/XMLSc...