text
stringlengths
10
953k
import { Enumerable } from '../enumerable'; import { Grouping } from '../grouping'; declare module '../enumerable' { interface Enumerable<TSource> { groupBy<TKey, TElement>(keySelector: (item: TSource) => TKey, elementSelector?: (item: TSource) => TElement): Enumerable<Grouping<TKey, TElement>>; } } export fu...
/// <reference types="react" /> import BaseCalendarView, { BaseCalendarViewProps, CalendarWithHeaderViewProps, HeadingValueProps, RangeSelectionCalendarViewProps } from './BaseCalendarView'; declare type DatesRangeViewProps = BaseCalendarViewProps & HeadingValueProps & RangeSelectionCalendarViewProps & CalendarWithHead...
import sinon from 'sinon'; import fixtures from '../../fixtures/getTransaction'; import { blockfrostAPI } from '../../../../src/utils/blockfrost-api'; import getTransaction from '../../../../src/methods/get-transaction'; describe('getTransaction', () => { for (const fixture of fixtures) { test(fixture.testName, ...
import { Extractor } from './js/Extractor'; import { ExtractorData } from './js/ExtractorData'; import { getUnrar } from './js/unrar.singleton'; export * from './js/Extractor'; export interface ExtractorFromDataOptions { wasmBinary?: ArrayBuffer; data: ArrayBuffer; password?: string; } export async function cre...
import { Highlighter, ILanguageRegistration, IShikiTheme, IThemeRegistration } from 'shiki' import type MarkdownIt from 'markdown-it' import { createSyncFn } from 'synckit' export interface DarkModeThemes { dark: IThemeRegistration light: IThemeRegistration } export interface Options { theme?: IThemeRegistratio...
import { addBabelPlugin } from 'customize-cra' import { IPlugin } from '@peajs/types' export default class AntdProPlugin implements IPlugin { constructor(private options: any = {}) {} updateWebpackConfig(config: any) { const { style = true } = this.options return addBabelPlugin([ 'import', { ...
import { Nullable } from "../../types"; import { ICameraInput, CameraInputTypes } from "../../Cameras/cameraInputsManager"; import { FreeCamera } from "../../Cameras/freeCamera"; import { Quaternion } from "../../Maths/math.vector"; import { Tools } from "../../Misc/tools"; import { FreeCameraInputsManager } from "../....
import { CommandUtil } from './command-util'; describe('CommandUtil', () => { let commandUtil: CommandUtil; beforeEach( () => (commandUtil = new CommandUtil({ projectPath: 'test/fake-ng-project', treeItem: { type: 'service', name: 'broadcast/components/real-estate-card' } })) ); ...
import { BadRequestException, Body, Controller, Get, Param, Post, ReflectMetadata, Req, Res, UseGuards } from "@nestjs/common"; import {JwtService} from "../servicios/jwt.service"; import {UsuarioService} from "../servicios/usuario.service"; import {Connection, getConnection} fro...
/** * aaaa0x111bbbbbb * |-------------| => NumericString * |--| => prefix * |---| => core * |----| => suffix * || => numPrefix * |-| => num * * Greedy matching, leftmost match wins. * If multiple matches begin at the sam...
import React from 'react' import { observer } from 'mobx-react' import { makeStyles } from '@material-ui/core/styles' import { IconButton } from '@material-ui/core' import Table from '@material-ui/core/Table' import TableBody from '@material-ui/core/TableBody' import TableCell from '@material-ui/core/TableCell' import ...
import { IconDefinition } from '../types'; export declare const ZhihuCircleFill: IconDefinition;
import {TypeDefinition, TypePropertyDefinition} from "./../../../../definitions"; import {StructureFactory} from "./../../../../factories"; import {BaseTypeBinder} from "./../../../base"; import {StructureExpressionBinder} from "./../StructureExpressionBinder"; export class StructureBaseTypeBinder extends BaseTypeBin...
import { Component } from '@angular/core'; @Component({ selector: 'showcase-file-selector', templateUrl: 'showcase-file-selector.component.html' }) export class ShowcaseFileSelectorComponent { public fileName: string; public file: File; public fileList: FileList; public fileNameMultiple: string; public fileLis...
import * as ko from "knockout"; import { QuestionImagePickerModel } from "../question_imagepicker"; import { Serializer } from "../jsonobject"; import { QuestionFactory } from "../questionfactory"; import { QuestionCheckboxBaseImplementor } from "./koquestion_baseselect"; import { Question } from "../question"; class ...
/* * Copyright 2020, EnMasse authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ import * as React from "react"; import { DataToolbarGroup, DataToolbarFilter, DataToolbarItem, DataToolbarChip, DataToolbarToggleGroup, DataToolbar, DataToolbar...
type CallbackFunction = (hours: number, minutes: number, seconds: number) => void; export default class Timer { callback: CallbackFunction; startTime = 0; interval: any; elapsedMilliseconds = 0; isRunning = false; constructor(callback: CallbackFunction) { this.callback = callback; } start = () =>...
import { BackendDestinationEnum, getEndpoint, } from '../../lib/utils/functions/getEndpoint' import { mockSchemaBinding } from '../mockSchema' import { rest } from 'msw' import { mockFileEntity, mockFileEntityBundle, mockProjectEntity, mockProjectEntityBundle, mockPaginatedEntityHeaders, MOCK_FILE_ENTIT...
import { Component, OnInit, Input, ChangeDetectorRef } from '@angular/core'; import { FormGroup } from '@angular/forms'; import fieldsOptions from './product-fields-options'; @Component({ selector: 'product-form', templateUrl: './product-form.component.html', styleUrls: ['./product-form.component.css'] }) export...
import HtmlWebpackPlugin from 'html-webpack-plugin'; import Dotenv from 'dotenv-webpack'; import CopyWebpackPlugin from 'copy-webpack-plugin'; import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin'; import path from 'path'; import webpack from 'webpack'; const webpackConfiguration: webpack.Configura...
/** * Database Migration API * Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations. * OpenAPI spec version: 20210929 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2021, Oracle and/or its...
import * as React from 'react'; import { StyledIconProps } from '../../StyledIconBase'; export declare const EarlybirdsDimensions: { height: undefined; width: undefined; };
import type { RequestHandler } from "express"; import * as configFns from "../helpers/configFns"; import * as itemData from "../helpers/itemDataCache"; export const handler: RequestHandler = (req, res) => { const itemKey = req.params.itemKey; if (itemKey === "") { return res.redirect(configFns.getProperty(...
import * as jsii from '@jsii/spec'; import { ClassType } from './class'; import { Dependency } from './dependency'; import { EnumType } from './enum'; import { InterfaceType } from './interface'; import { ModuleLike } from './module-like'; import { Submodule } from './submodule'; import { Type } from './type'; import ...
/** * This barrel file provides the export for the lazy loaded IdentifyComponent. */ export * from './identify.component'; export * from './identify.routes';
import React from 'react' import styled from 'styled-components' import Grid from './components/Grid' import Radical from './components/Radical' import type { CumulatedMap } from './keyDownRadicalReducer' interface PlaceholderProps { isHighlighted: boolean } const Placeholder = styled.div<PlaceholderProps>` bord...
import React, { useEffect } from 'react'; import { useParams, Redirect } from 'react-router-dom'; import { defineMessages, FormattedMessage } from 'react-intl'; import Heading from '~core/Heading'; import Button from '~core/Button'; import LoadingTemplate from '~pages/LoadingTemplate'; import { DefaultAction, Rec...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eo" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Bitcoin</source> <translation>Pri Aurumcoin(AU)</translation> </...
import { prog } from 'draco-vis'; import * as React from 'react'; import './App.css'; import Editor from './draco-editor/react/Editor'; import Navbar from './Navbar'; class App extends React.Component { public render() { console.log(prog); return ( <div className="App"> <Navbar currTab="edit...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
declare module 'blru' { type GetSizeFunction<TKey, TValue> = (value: TValue, key: TKey) => number export class LRU<TKey, TValue> { constructor( capacity: number, getSize?: GetSizeFunction<TKey, TValue> | null, CustomMap?: typeof Map | unknown | null, ) map: Map<TKey, TValue> size...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { NewCuttingMachineComponent } from './new-cutting_machine.component'; describe('NewCuttingMachineComponent', () => { let component: NewCuttingMachineComponent; let fixture: ComponentFixture<NewCuttingMachineComponent>; beforeEach...
/* tslint:disable */ /* eslint-disable */ /** * MailSlurp API * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It\'s designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources ...
export const spanish = { professionalExperience: 'Experiencia profesional', profile: 'Perfil', today: 'Actualidad', contact: { title: 'Contacto', tenerifeCanaryIslands: 'Tenerife, Islas Canarias', }, education: { degreeInComputerEngineering: 'Grado en Ingeniería Informática', universityOfLa...
import React from 'react' import smoothscroll from 'smoothscroll-polyfill' import { Link } from 'gatsby' import { Helmet } from 'react-helmet' import Header from '../header' import './global.css' import './style.css' import Fab from '@src/components/ui/fab' if (typeof window !== `undefined`) { smoothscroll.polyfil...
import { Component, Listen } from '@stencil/core'; @Component({ tag: 'app-about', styleUrl: 'app-about.scss', }) export class AppAbout { members = [ { name: 'Jedi Weller', image: './../../assets/headshot-jedi.jpg', title: 'Founder and Head of Technology', mail: 'jedi@openforge.io', ...
/* * Copyright 2015-2016 Imply Data, 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 ...
import { NgModule } from '@angular/core' import { Routes, RouterModule } from '@angular/router' import { Bip85ValidatePage } from './bip85-validate.page' const routes: Routes = [ { path: '', component: Bip85ValidatePage } ] @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule]...
import { Path, Text } from '..'; /** * `Mark` objects represent formatting that is applied to text in a Slate * document. They appear in leaf text nodes in the document, as well as in * annotations on the root value object. */ interface Mark { [key: string]: any; } /** * `MarkEntry` tuples are returned when it...
import React, {Component} from 'react'; import ReactDOM from 'react-dom'; import { Modal, ActivityIndicator, Icon, Flex, Button, Toast, } from 'antd-mobile'; import { Pagination } from 'antd-mobile'; import {APost,Topic} from '../forum/UiDataModel'; import {OneTopic} from '../forum/Network'; i...
import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { PathWizard } from '../../../greedy/src'; import { Endpoint } from '../../../greedy/src/typings/traversable-greedy.type'; export const mapPath = <ReturnType, InputType, Flat, PathVariables, Store>( path: Endpoint<Flat, InputType, Return...
import {cx} from "@emotion/css" import React from "react" export function NodeLabel({label, className}: {label: string, className?: string}): JSX.Element { return <div className={cx("node-label", className)} title={label}>{label}:</div> }
// Copyright 2014 The Oppia Authors. All Rights Reserved. // // 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 ap...
export enum ErrorTypes { /** * classForParsingObject returned null for the given object. */ JSONAdapterNoClassFound = "JSONAdapterNoClassFoundError", /** * The provided JSON is not valid. */ JSONAdapterInvalidJSON = "JSONAdapterInvalidJSONError", /** * Used to indicate tha...
import React, {ReactElement} from 'react'; import {mountWithApp} from 'test-utilities'; import type {DeepPartial, ThenType} from '@shopify/useful-types'; import {IndexTable, IndexTableProps} from '../../../IndexTable'; import {RowHoveredContext} from '../../../../../utilities/index-table'; import {Row} from '../Row'; ...
import cdk = require('@aws-cdk/core') export class TimeUtils { public static convertUTC9to0(scope: cdk.Construct, dayOfWeek: string, time: string) { const temp = time.split(':'); var hour: number = Number(temp[0]) -9; if (hour < 0) { hour += 24; var tmp = dayOfWee...
import * as React from "react"; export type ButtonGroupProps = { disabled?: boolean; disableStyles?: boolean; } & React.HTMLAttributes<HTMLDivElement>; declare const ButtonGroup: React.FunctionComponent<ButtonGroupProps> & { displayName: "ButtonGroup" }; export default ButtonGroup;
import { indexObject } from './indexing'; import { load } from './loading'; import { applyMutations } from './mutate'; async function main() { const tree = await load(process.argv[2] ?? '.'); const mutations = indexObject(tree); await applyMutations(mutations); } main().catch(e => { console.error(e); proces...
import { loadModules } from 'esri-loader'; import * as React from 'react'; export interface WidgetProps { dataFlow: 'oneWay' | 'oneTime'; scriptUri: string; map?: __esri.Map; view?: __esri.SceneView | __esri.MapView; position?: string; widgetProperties?: { [propName: string]: any; }; onLoad?: (inst...
import { Entity, ManyToOne, Property } from '@mikro-orm/core'; import { Workspace } from 'src/workspaces/entities/workspace.entity'; import { Privilege } from 'src/workspaces/interfaces/workspace.interface'; import { BaseEntity } from 'src/__shared__/entities/base.entity'; @Entity() export class Agent extends BaseEnti...
import { Component, Input, Output, EventEmitter, TemplateRef, ViewChild, HostListener, ElementRef } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { Observable, Subject, noop, from } from 'rxjs'; import { IonSearchbar } from '@ionic/angular'; // s...
<TS language="is" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Smelltu á hægri músatakka til að breyta færslugildi eða merkingu</translation> </message> <message> <source>Create a new address</s...
// @flow import React, { useEffect } from 'react'; import PropTypes from 'prop-types'; import { makeStyles, Theme, useTheme } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import {StyledButton} from './styles' interface ButtonProps extends React.HTMLAttributes<HTMLButtonElement>{ backgroundColor?: string, color?: string, type?: 'button' | 'submit' |'reset' } export const Button = ({children, ...props}:ButtonProps): JSX.Element => { return ( <StyledButton {...pr...
import dayjs from 'dayjs' export const events = [ { title: 'Meeting', start: dayjs() .set('hour', 10) .set('minute', 0) .toDate(), end: dayjs() .set('hour', 10) .set('minute', 30) .toDate(), }, { title: 'Coffee break', start: dayjs() .set('hour', 14) ...
import { create, provide } from '../../testing'; import { RouterStub, ActivatedRouteStub } from '../../testing/stub.router'; import { ActivatedRoute, Router } from '@angular/router'; import { SeriesImportStatusCardComponent } from './series-import-status-card.component'; import { SeriesImportModel } from '../shared'; i...
import { withA11y } from '@storybook/addon-a11y'; // import { action } from '@storybook/addon-actions'; import { boolean, number, text, withKnobs } from '@storybook/addon-knobs/react'; import { storiesOf } from '@storybook/react'; import React from 'react'; import withPropsCombinations from 'react-storybook-addon-prop...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About WolfCloverCoin</source> <translation>關于黑幣</translation> </message> <message> <locati...
import { Component, Input } from '@angular/core'; import { DevelopmentMethod } from '../../development-process-registry/development-method/development-method'; import { FormArray, FormArrayName } from '@angular/forms'; import { ArtifactMappingFormService } from '../shared/artifact-mapping-form.service'; import { Execut...
import { QueryHandler } from '@nestjs/cqrs'; import { ModuleRef } from '@nestjs/core'; import { GetPaginatedQuickComprehensiveManagementQuery } from '../impl/get-paginated-quick-comprehensive-management.query'; import { GetPaginatedQueryHandler } from 'src/shared/modules/app-cqrs/queries/handler/get-paginated-query.ha...
import { Column, Entity, Index, OneToMany, PrimaryGeneratedColumn, } from 'typeorm'; import { GroupProduct } from './GroupProduct.entity'; import { User } from './User.entity'; @Index('IDX_8a45300fd825918f3b40195fbd', ['name'], { unique: true }) @Entity('group', { schema: 'api_server' }) export class Group {...
import 'dotenv/config'; import express from 'express'; import http from 'http'; import cors from 'cors'; import { Server } from 'socket.io'; import { router } from './routes'; const app = express(); app.use(cors()); const serverHttp = http.createServer(app); const io = new Server(serverHttp, { cors: { origin...
import { NavigationCancel, NavigationError, RouterStateSnapshot, RoutesRecognized, ResolveEnd, UrlTree, } from '@angular/router'; import { RouterTrigger } from './ionic-router.state'; import { AnimationOptions, NavigationOptions } from './symbols'; export class NavigateRoot { static readonly type = '[Ro...
/** * @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 {PropertyWrite} from '@angular/compiler'; import {Variable, visitAll} from '@angular/compiler/src/render3/r3_...
import AST_SymbolDeclaration, { AST_SymbolDeclaration_Props } from './symbol-declaration' export default class AST_SymbolClass extends AST_SymbolDeclaration { public static documentation = "Symbol naming a class's name. Lexically scoped to the class." public static PROPS =AST_SymbolDeclaration.PROPS } export int...
import * as React from "react"; export interface RouteProps { title: React.ReactNode; color?: string; padding?: [number, number, number, number]; height: number; data: Array<{ x: string; y: number; }>; autoLabel?: boolean; style?: React.CSSProperties; } export default class Bar extends React.Co...
import {extend, override} from 'flarum/common/extend'; import DiscussionComposer from 'flarum/forum/components/DiscussionComposer'; import ItemList from 'flarum/common/utils/ItemList'; import icon from 'flarum/common/helpers/icon'; import ChooseTaxonomyTermsModal from '../common/components/ChooseTaxonomyTermsModal'; im...
import React from "react"; export const App = () => { return <h1>Hello React !!</h1>; };
import * as React from 'react'; import {truncate} from 'underscore.string'; import {TooltipPlacement} from '../../utils'; import {Svg} from '../svg'; import {Tooltip} from '../tooltip'; export interface BrowserPreviewProps { headerDescription?: string; title?: string; } export const BrowserPreview: React.Fun...
import { Static, Type } from '@sinclair/typebox' import { t_user_role } from './database' export const SigninBodySchema = Type.Object({ email: Type.String(), password: Type.String() }) export type SigninBody = Static<typeof SigninBodySchema> export const SigninReplySchema = Type.Object({ token: Type.String(), ...
/* eslint-disable import/no-extraneous-dependencies */ import knex from 'knex'; import path from 'path'; const connection = knex({ client: 'sqlite3', connection: { filename: path.resolve(__dirname, 'database.sqlite'), }, useNullAsDefault: true, }); export default connection;
import { DocProp } from './doc-prop'; export class DocPropList { constructor(readonly docProps: DocProp[]) {} get(name: string) { return this.docProps.find((docProp) => docProp.name === name); } static from(object: any): DocPropList { const props = Object.keys(object) .map((key) => { if...
import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerExecutionContext, HttpHandlerOptions...
/** * TODO: Figure out why these are not included in the Flow dump */ declare var colorPropType: (props: any, propName: string, componentName: string, location: string, propFullName?: null | undefined | string) => null | undefined | Error; declare var ColorPropType: typeof colorPropType & { isRequired: typeof color...
import type { ImageObject, Offer, Product } from "schema-dts" import { themeGet } from "@styled-system/theme-get" import clsx from "clsx" import { Formik, Field, Form, FormikHelpers } from "formik" import { PageProps, graphql, Link } from "gatsby" import { Helmet } from "react-helmet" import React from "react" import ...
import { PlaywrightTestConfig } from '@playwright/test' const testConfig: PlaywrightTestConfig = { use: { trace: 'retry-with-trace', }, reporter: process.env.CI ? [['github'], ['dot']] : 'list', outputDir: './test-results', retries: 1 } export default testConfig
import { mount, ReactWrapper } from 'enzyme'; import React from 'react'; import { Provider } from 'react-redux'; import { compose, createStore, combineReducers } from 'redux'; import { reducer as formReducer, SubmissionError, reduxForm, change, getFormValues, } from 'redux-form'; export const withTestStore =...
import { Scene } from '@stableinf/io'; import { Widget } from '@stableinf/rx-react'; import * as React from 'react'; import type { GreetingWordsGateway } from '../Private/GreetingWordsGateway'; function $(scene: Scene) { return scene.useServices<typeof GreetingWordsGateway>(); } export class Greeting extends Widg...
import { QueueManagerDto } from '../dto/QueueManager.dto'; export class QueueManager { private _states: string[]; private _pos: number; private _maxCache: number; static fromDto(data: QueueManagerDto) { return new this(data._maxCache, data._states, data._pos); } constructor(maxCache = 50, states: strin...
import Navigation from '../Navigation'; interface Props { href: null | string; children: React.ReactChild | React.ReactChild[]; } const Button = ({ href, children }: Props) => ( <> <a className="button" href={href} target="_blank"> {children} </a> <style jsx>{` .button { display:...
/** * * WorkoutHistory * */ import * as React from 'react'; import { useSelector, useDispatch } from 'react-redux'; import styled from 'styled-components/macro'; import uniqid from 'uniqid'; import { useHistory } from 'react-router-dom'; import { useInjectReducer, useInjectSaga } from 'utils/redux-injectors'; imp...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { TestBed, inject } from '@angular/core/testing'; import { CellsService } from './cells.service'; describe('CellsService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [CellsService] }); }); it('should be created', inject([CellsService], (service: CellsService) =>...
import { Expose } from 'class-transformer'; export class SuccessDto { @Expose() success: boolean; }
import { DomNode, el } from "@hanul/skynode"; import msg from "msg.js"; import CommonUtil from "../../CommonUtil"; import Klip from "../../klaytn/Klip"; import Wallet from "../../klaytn/Wallet"; import ViewUtil from "../../view/ViewUtil"; export default class UserInfo extends DomNode { private connectWalletButton...
import { Inject, Injectable, Injector, Optional, Type } from '@angular/core'; import { isResourceType } from '../decorator/resource'; import { RESOURCE_PROPERTY_METADATA, ResourcePropertyMetadata } from '../decorator/resource-property'; import { RESOURCE_PROPERTY_ENCODER, ResourcePropertyEncoder } from './resource-prop...
module BABYLON.Debug { /** * The BoneAxesViewer will attach 3 axes to a specific bone of a specific mesh * @see demo here: https://www.babylonjs-playground.com/#0DE8F4#8 */ export class BoneAxesViewer extends AxesViewer { /** * Gets or sets the target mesh where to display the ...
import { createApp, Directive } from 'vue' import router from './router' import '@/router/permission' import store from './store' import App from './App.vue' import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' import loadSvg from '@/icons' import * as directives from '@/directives' import '@/sty...
import Row from '../Row'; export default Row.Col;
import { IonContent, IonHeader, IonMenu, IonTitle, IonToolbar, } from '@ionic/react'; import { BenchmarkConfiguratorProps } from 'apps/BenchmarkApp/components/BenchmarkConfigurator/BenchmarkConfiguratorProps'; import BinaryMetricsConfigurator from 'apps/BenchmarkApp/components/BenchmarkConfigurator/configurat...
import { Athena } from "../Athena.ts"; import { AthenaClient } from "../AthenaClient.ts"; import { ListTableMetadataCommand, ListTableMetadataCommandInput, ListTableMetadataCommandOutput, } from "../commands/ListTableMetadataCommand.ts"; import { AthenaPaginationConfiguration } from "./Interfaces.ts"; import { Pa...
import { fetch, resolveURI } from '../utils'; export default class URI { async getMetadata(uri: string) { const { uri: resolvedURI, isOnChain } = resolveURI(uri); if (isOnChain) { return resolvedURI; } // check if resolvedURI is an image, if it is return the url const isImage = await isIma...
'use strict' import { NightwatchBrowser } from 'nightwatch' import init from '../helpers/init' import sauce from './sauce' import examples from '../examples/example-contracts' const sources = [ { 'Untitled.sol': { content: examples.ballot.content } } ] module.exports = { before: function (browser: NightwatchBrow...
import {Injectable} from '@angular/core'; import {HttpClient} from '@angular/common/http'; @Injectable({providedIn: 'root'}) export class HttpServiceService { constructor(private http: HttpClient) { } async fetchOAuthToken() { this.http.post('/oauth/token', {}); } }
import { all, takeLatest } from "redux-saga/effects"; import { FlightsTypes } from "./flights/types"; import { load } from "./flights/sagas"; export default function* rootSaga() { return yield all([takeLatest(FlightsTypes.LOAD_FLIGHTS, load)]); }
import * as koaSession from 'koa-session' import * as RedisClient from 'koa-redis' import config from '../../config' export default function session (app) { return koaSession( { key: config.session.key, overwrite: config.session.overwrite, maxAge: config.session.maxAge, signed: config.ses...
/// <reference types="hoist-non-react-statics" /> import React from 'react'; import { IScopedContext } from '../Scoped'; import { RendererProps } from '../factory'; import { SchemaNode, Action } from '../types'; import { IModalStore } from '../store/modal'; import { BaseSchema, SchemaClassName, SchemaCollection, Schema...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Trezorcoin</source> <translation>Sobre Trezorcoin</translation> ...
import { safeHtml as _safeHtml } from "https://cdn.esm.sh/common-tags@1.8.0"; import { TemplateTag } from "../types.ts"; export const safeHtml = (_safeHtml as unknown) as TemplateTag;