text
stringlengths
10
953k
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { AuthService } from '../../services/auth.service'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; @Component({ selector: 'app-login', templateUrl: './login.component.html', styleUrls: ['./l...
import { Text, View, StyleSheet } from '@react-pdf/renderer' import { Style } from '@react-pdf/types/style' import getComputedColorFromChakra from 'theme/getComputedColorFromChakra' import { getLabelColor, getValueFontWeight, getValueTextColor, isForDiet, isForEnergy, isForIngredient, StatVariant, } from ...
import { Component, Output, EventEmitter, Input } from '@angular/core'; @Component({ selector: 'list', templateUrl: './list.component.html' }) export class ListComponent { @Input() list; @Output() chosen: EventEmitter<{}> = new EventEmitter<{}>(); @Output() newItem: EventEmitter<any> = new EventEmitter<any>(...
import { DbUser, UserData } from "@/typings/user"; import Database from "better-sqlite3"; import fs from "fs"; namespace db { let db: Database.Database; export function init() { if (!fs.existsSync("db")) fs.mkdirSync("db"); db = new Database("./db/users.sqlite"); db.prepare( ...
/// <reference path="../../typings/mocha/mocha.d.ts" />
import { isFunction } from '../../lib/guards'; import { classNames } from '../../lib/react-helpers'; import { PlainDate } from '../../lib/plain-date'; export interface CalendarDayProps { className?: string; isCurrent?: boolean; isFocusable?: boolean; isSelected?: boolean; isDisabled?: boolean; isInRange?: ...
/** * Copyright (c) 2021 OpenLens Authors * * 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, p...
import common = require("./text-base-common"); import types = require("utils/types"); import dependencyObservable = require("ui/core/dependency-observable"); export class TextBase extends common.TextBase { public _onTextPropertyChanged(data: dependencyObservable.PropertyChangeData) { var newValue = types....
import { of, throwError, interval } from 'rxjs'; import { bufferTime, mergeMap, take } from 'rxjs/operators'; import { TestScheduler } from 'rxjs/testing'; import { observableMatcher } from '../helpers/observableMatcher'; /** @test {bufferTime} */ describe('bufferTime operator', () => { let testScheduler: TestSchedu...
import React, { useEffect } from "react"; import { Container, Grid } from "@material-ui/core"; import { useDispatch, useSelector } from "react-redux"; import ErrorMessage from "../../../components/ErrorMessage"; import Loader from "../../../components/Loader"; import { RootStore } from "../../../redux/Store"; import { ...
import { Card, CardContent, Divider, Typography } from "@material-ui/core"; import VerticalSpacer from "@saleor/apps/components/VerticalSpacer"; import CardSpacer from "@saleor/components/CardSpacer"; import CardTitle from "@saleor/components/CardTitle"; import Skeleton from "@saleor/components/Skeleton"; import GiftCa...
import rgbaCounter from '../counter/rgbaCounter' import { RgbaColor } from '../types' /** * Additional options for K-Means color extractor */ export interface KMeansColorExtractorOptions { /** * Maximum number of loops the algorithm can perform (default 10). * This number can be increased to have more accura...
<?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 Pentecostalcoin</source> <translation>Pri Pentecostalcoin</translati...
import { Vec3 } from '../../../core/math'; import { obb } from '../../../core/geom-utils'; import { BuiltinShape } from './builtin-shape'; export class BuiltinBoxShape extends BuiltinShape { private _localObb: obb; private _worldObb: obb; get halfExtents (): Vec3 { return this._localObb.halfExte...
export class DailyEscort { public date: string; public numEscorts : number; constructor(public d: string, public n: number){ this.date = d; this.numEscorts = n; } }
import customFilters from './filters'; export const defaultFilters = [ { name: 'abs', description: 'Return the absolute value of the argument', displayName: 'abs', args: [], }, { name: 'batch', description: 'Return a list of lists with the given number of items', displayName: 'batch',...
/** * @license * Copyright 2021 Dynatrace LLC * 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 ag...
import { Injectable } from '@angular/core'; import { AngularFireDatabase } from '@angular/fire/database'; import { map } from 'rxjs/operators'; import { Category } from '.'; @Injectable() export class IncomeCategoryService { entityName: string = 'incomeCategories'; constructor(private db: AngularFireDatabase) { ...
import { BuilderContext } from '@angular-devkit/architect'; import { Path } from '@angular-devkit/core'; import { BrowserBuilderSchema } from './builders/browser/schema'; import { LibraryBuilderSchema } from './builders/library/schema'; export declare function modifyIndexHtmlPath(config: any, options: BrowserBuilderSch...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { shallow } from 'enzyme'; import * as React from 'react'; import { FastPassLeftNav, FastPassLeftNavDeps, FastPassLeftNavProps, } from '../../../../../../DetailsView/components/left-nav/fast-pass-left-nav...
import { Component, OnInit } from '@angular/core'; import { UserService } from '../user/user.service'; import { Router } from '@angular/router'; @Component({ selector: 'app-user-create', templateUrl: './user-create.component.html', styleUrls: ['./user-create.component.css'] }) export class UserCreateComponent im...
export function createTestElement(): HTMLElement { const element = document.createElement('div'); document.body.appendChild(element); return element; } export function removeTestElement(element: HTMLElement) { element.remove(); } export function waitForComponent(elementName: string): Promise<void> { return ...
import { Card, Button } from "@blueprintjs/core"; import hyper from "@macrostrat/hyper"; import classNames from "classnames"; import styles from "./card.module.styl"; const h = hyper.styled(styles); const CloseableCardHeader = (props) => h("div.card-header-left", props); const CloseableCard = (props) => { let { ...
// Libraries import React, {FC} from 'react' import {withRouter, WithRouterProps} from 'react-router' import {connect} from 'react-redux' // Constants import {getNotificationRuleFailed} from 'src/shared/copy/notifications' // Components import {Overlay} from '@influxdata/clockface' import RuleOverlayContents from 'sr...
import angular from 'angular'; import locationUtil from 'app/core/utils/location_util'; import appEvents from 'app/core/app_events'; export class SoloPanelCtrl { /** @ngInject */ constructor($scope, $routeParams, $location, dashboardLoaderSrv, contextSrv, backendSrv) { let panelId; $scope.init = () => { ...
export default interface Image { name: string; token: string; size: number; mime: string; orderNo?: number; isActive?: boolean; createdAt: Date; }
import * as React from 'react'; import { IconWrapper } from '../IconWrapper'; import { ISvgIconProps } from '../svgConfig'; export default IconWrapper( (props: ISvgIconProps) => ( <svg width={props.size} height={props.size} viewBox="0 0 48 48" fill="none" ...
// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type BN from 'bn.js'; import { externalLogos } from '../ui/logos'; const getNetwork = (_chain: string) => { switch (_chain) { case 'statemine': return 'statemine/'; default: return ...
import React from 'react'; // tslint:disable-next-line:ordered-imports import { Svg, Path } from 'react-native-svg'; import { processComponent, RfxSvgIcon, RfxSvgPropsOptional, } from '@reflex-ui/core'; let DoneAllIcon: React.ComponentType<RfxSvgPropsOptional> = ( props: RfxSvgPropsOptional, ) => ( <RfxSvgI...
import * as tf from '@tensorflow/tfjs'; import { extractConvParamsFactory, extractFCParamsFactory, extractWeightsFactory, ExtractWeightsFunction, ParamMapping, } from '../common'; import { NetParams, ONetParams, PNetParams, RNetParams, SharedParams } from './types'; function extractorsFactory(extractWeights...
// svg/message-minus-outline.svg import { createSvgIcon } from './createSvgIcon'; export const SvgMessageMinusOutline = createSvgIcon( `<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg"...
import React from 'react'; import '../setupTest'; import { mount } from 'enzyme'; import { ProductCard } from '../../src/components'; import { product1 } from '../data/products'; import { act } from 'react-dom/test-utils'; describe('ProductCard', () => { test('Debe mostrar componente con la imagen del producto', ()...
import { html } from '@microsoft/fast-element'; import { Button, ColumnDefinition, DataGrid, DataGridCell, DataGridRow } from '@microsoft/fast-foundation'; import { GenerateHeaderOptions } from '@microsoft/fast-foundation/dist/esm/data-grid/data-grid.options'; import addons from '@storybook/addons'; import { STORY_REND...
export interface RootState { version: string }
import * as React from 'react'; import { connect } from 'react-redux'; import { SetInitialState } from '../../actions/setInitialState'; import { IGitInspectState } from '../../state'; import Dashboard from '../dashboard/Dashboard'; import HomePage from '../homePage/HomePage'; import Cookies from 'universal-cookie'; imp...
/* * Copyright (c) 2020. This code created and belongs to Atlas render manager project. * Owner and project architect: Danil Andreev | danssg08@gmail.com | https://github.com/DanilAndreev * Project: atlas-monitor * File last modified: 04.11.2020, 22:38 * All rights reserved. */ export {default} from "./DateFiel...
import React from 'react'; import { storiesOf } from '@storybook/react'; import { withKnobs } from '@storybook/addon-knobs'; import pkgInfo from '../package.json'; import DemoDefault from './demo-default'; import DemoSpecial from './demo-special'; storiesOf(pkgInfo.name, module) .addDecorator(withKnobs) ...
<TS language="lv_LV" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Izveidot jaunu adresi</translation> </message> <message> <source>&amp;New</source> <translation>&amp;Jauns</translation> </message> ...
import {StrongType} from './strong-type'; export interface StrongNumber extends StrongType<number> { increment: () => void; decrement: () => void; }
import { HttpClientModule } from '@angular/common/http'; import { CRUDService } from './services/app.service'; import { BrowserModule } from '@angular/platform-browser'; import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { FormsModule } from '@angular/forms'; // Rutas import { AppModuleRouting }...
import { BlockchainTestData } from '../shared-testing' import { ETH_TEST_DATA } from './eth.test-data' export const KCS_TEST_DATA: BlockchainTestData = { ...ETH_TEST_DATA, PROVIDER: 'https://rpc-testnet.kcc.network', MAINNET: { ...ETH_TEST_DATA.MAINNET, XPUB: 'xpub6EmVHAqPHkSRgsS7Km6Ynmjg4Kup6aD2NjX1zmVE...
import * as React from "react"; import { Form } from "@webiny/form"; import { Input } from "@webiny/ui/Input"; import { Typography } from "@webiny/ui/Typography"; import { Grid, Cell } from "@webiny/ui/Grid"; import { ButtonSecondary, ButtonPrimary } from "@webiny/ui/Button"; import { Elevation } from "@webiny/ui/Eleva...
import classNames from 'classnames'; import { ComponentClassNames } from '../../shared'; import { View } from '../../View'; export const IconOfflinePin = (props) => { const { className, ...rest } = props; return ( <View as="span" width="1em" height="1em" className={classNames(Component...
import React, { useState } from 'react' import { useActions, useMountedLogic, useValues, BindLogic } from 'kea' import { isMobile, Loading } from 'lib/utils' import dayjs from 'dayjs' import relativeTime from 'dayjs/plugin/relativeTime' import { Tabs, Row, Col, Card, Button, Tooltip } from 'antd' import { ACTIONS_LIN...
/** * --- * { * "visualizers": [ * { * "path": "./src/visualizers/run-expr-tests.ts", * "includeStyles": true * } * ] * } * --- * * # Testing the Expression Parser * * The easiest way to test our parser is to manually input some expressions * (press `Enter` to calculate). *...
// uuid: 3b50413d-12c3-4a6c-9877-e6ead77f58c5 // ------------------------------------------------------------------------ // Copyright (c) 2018 Alexandre Bento Freire. All rights reserved. // Licensed under the MIT License+uuid License. See License.txt for details // ---------------------------------------------------...
import { Component, OnInit, ViewChild } from '@angular/core'; import { MatSort, MatTableDataSource } from '@angular/material'; import { DataObject } from '../../../_helpers/users.methods'; import { users_chart_opt, months } from '../../../_helpers/add_data'; import { uniPrefixes } from '../../../_helpers/uni_prefixes'...
// noinspection ES6UnusedImports import { action, computed, reaction, _allowStateChangesInsideComputed, makeObservable } from "mobx" import { addHiddenFinalProp, ComplexType, convertChildNodesToArray, createActionInvoker, EMPTY_OBJECT, extend, fail, freeze, IAnyType, IdentifierCa...
export * from './Main.route';
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { FtrProviderContext } from '../../../ftr_provider_context'; import { ...
export = { rules: { 'react/jsx-boolean-value': ['warn', 'always'], 'react/jsx-child-element-spacing': 'error', 'react/jsx-closing-bracket-location': ['warn', { selfClosing: 'after-props', nonEmpty: 'after-props', }], 'react/jsx-closing-tag-location': '...
import { Module } from '@nestjs/common'; import { QuestionService } from './question.service'; import { QuestionResolver } from './question.resolver'; @Module({ providers: [QuestionService, QuestionResolver], }) export class QuestionModule {}
import { render } from '@redwoodjs/testing' import Hai from './Hai' describe('Hai', () => { it('renders successfully', () => { expect(() => { render(<Hai />) }).not.toThrow() }) })
import normalize from './normalize'; import uncallbackify from './uncallbackify'; import openApiV2 from './openApiV2'; import refineObject from './refineObject'; import refineFunction from './refineFunction'; import functionTypes from './functionTypes'; import asynchronize from './asynchronize'; import finalize from '....
export default class DoorModel { #number: number; #hasGift: boolean; #selected: boolean; #opened: boolean; constructor(number: number, hasGift = false, selected = false, opened = false) { this.#number = number; this.#hasGift = hasGift; this.#selected = selected; this.#opened = opened; } get number() { ...
import { runInFiber } from '../Fibers' export function beforeAllInFiber(fcn: Function, timeout?: number) { beforeAll(async () => { await runInFiber(fcn) }, timeout) } export function afterAllInFiber(fcn: Function, timeout?: number) { afterAll(async () => { await runInFiber(fcn) }, timeout) } export function be...
import { BrowserModule } from '@angular/platform-browser'; import { ErrorHandler, NgModule } from '@angular/core'; import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular'; import { HttpModule } from '@angular/http'; import { CallNumber } from '@ionic-native/call-number'; import { MyApp } from './app....
import React, { useEffect } from 'react'; import LogicFlow from '@logicflow/core'; import ExampleHeader from '../../../../components/example-header'; import { Square } from '../square'; const config = { hideAnchors: true, stopScrollGraph: true, stopZoomGraph: true, style: { circle: { r: 40 } } ...
import _, { Dictionary } from 'lodash' import { getGherkinScenarioLocationMap } from './gherkin_document_parser' import { messages } from 'cucumber-messages' export interface IGetPickleLocationRequest { gherkinDocument: messages.IGherkinDocument pickle: messages.IPickle } export interface IGetStepKeywordRequest {...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ */ import { AddEventsBehaviour, AlloyComponent, AlloyEvents, AlloySpec...
/* ***************************************************************************** Copyright (c) Microsoft Corporation. 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....
/** * Author:hong.rong * Desc: * Date:2021-12-25 */ import { Injectable } from '@nestjs/common'; @Injectable() export class ExceptionService { fetch(id): string { return `Hello World! ${id}`; } save(message): string { return `Set Hello Done.${message}`; } update(id: string, message: string): s...
export const getOutputs = async () => { const outputs = await fetch('/backend-config.json'); return outputs.json(); };
export type DocsType = "root" | "component"; /* Docs Page Context */ export interface DocsPageContext { version: string; versions: DocsVersions; navigation: DocsNavigation; content: DocsContentItem; manifest: DocsManifest; assetsPath: string; specifications: Specification[]; } export interface DocsModal...
import { DateSpan, CalendarContext, DatePointApi, DateEnv, ViewApi, EventApi } from '@fullcalendar/common' import { __assign } from 'tslib' export interface DropArg extends DatePointApi { draggedEl: HTMLElement jsEvent: MouseEvent view: ViewApi } export type EventReceiveArg = EventReceiveLeaveArg export type ...
import { Worklog } from './worklog'; /** Paginated list of worklog details */ export interface PageOfWorklogs { /** The index of the first item returned on the page. */ startAt?: number; /** The maximum number of results that could be on the page. */ maxResults?: number; /** The number of results on...
import { mount } from '@vue/test-utils'; import { Button } from '..'; describe('d-button', () => { it('variant', () => { const wrapper = mount({ setup() { return () => { return <Button variant="solid">确定</Button>; } } }); expect(wrapper.find('.devui-btn').classes())....
import { _prenatal_visitspage } from './prenatal_visitspage'; import { _ctg_exams_analyse, AccPoint, DecPoint } from './ctg_exams_analyse'; import { _ctg_exams_data } from './ctg-exams-data'; declare type Partial<T> = { [x in keyof T]?: T[x]; }; export declare namespace obvue { type prenatal_visitspage = Partia...
import { expectFileToMatch, rimraf } from '../../../utils/fs'; import { uninstallPackage } from '../../../utils/packages'; import { ng } from '../../../utils/process'; import { isPrereleaseCli } from '../../../utils/project'; export default async function () { // forcibly remove in case another test doesn't clean i...
import {IGraphicsData} from "../draw/IGraphicsData"; import {JointStyle} from "../draw/JointStyle"; import {CapsStyle} from "../draw/CapsStyle"; import{LineScaleMode} from "./LineScaleMode" export class GraphicsStrokeStyle implements IGraphicsData { public static data_type:string = "[graphicsdata StrokeStyle]"; ...
import { diskStorage } from 'multer'; export const diskStorageConfig = { storage: diskStorage({ destination: './files', // configure your Disc Storage ( or use memory Storage ) /* destination: function (req, file, cb) { cb(null, '/tmp/my-uploads') }, filename: function (req, file, cb) { cons...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// please strict mode ts gods... declare module 'node-record-lpcm16';
/** * Module for "Focus" filter. */ /** * ============================================================================ * IMPORTS * ============================================================================ * @hidden */ import { Sprite } from "../../Sprite"; import { Filter, FilterProperties } from "./Filter"; ...
import * as React from 'react' import * as ReactDOM from 'react-dom' import '../node_modules/figma-plugin-ds/dist/figma-plugin-ds.css' import './ui.css' declare function require(path: string): any class Loading extends React.Component < { progress_info?: Array<object>; }, { progress_info?: Array<obje...
import { BrowserModule } from '@angular/platform-browser'; import { ReactiveFormsModule, FormsModule } from '@angular/forms'; import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { HeaderComponent } from './header/header.component'; import { HttpClientModule } from '@angular...
import { Command, CommandClient } from "detritus-client"; import { BaseCommand } from "../../basecommand"; import { firstUppercase } from "../../utils"; type RPSInputs = "rock" | "paper" | "scissors"; type RPSEmojis = "👊" | "🖐" | "✌"; let RPSEmojisMap = new Map<RPSInputs, RPSEmojis>([ ["rock", "👊"], ["paper", ...
import { IsNotEmpty, IsString, IsArray, IsNumber, IsIn, IsBoolean, IsOptional, ValidateIf, ArrayMinSize } from 'class-validator'; import { ApiModelProperty, ApiModelPropertyOptional } from '@nestjs/swagger'; import { FACTORIAL_SEQ, FIBONACCI_SEQ, RANGE_SEQ, PRIME_SEQ, PARTIAL_SUM_SEQ } from '../sequencer.constants'; e...
import React from 'react' import { formatRelative, fromUnixTime } from 'date-fns' import { Modal, Image, Share } from 'react-native' import { useSafeAreaInsets } from 'react-native-safe-area-context' import { useTranslation } from 'react-i18next' import { useNavigation } from '@react-navigation/native' import Box from ...
/** * @file Adapted from https://github.com/garyb/purescript-debug */ import { Applicative, Applicative1, Applicative2, Applicative2C, Applicative3, Applicative3C } from './Applicative' import { HKT, Type, Type2, Type3, URIS, URIS2, URIS3 } from './HKT' import { Monad, Monad1, Monad2, Monad2C, Monad3, Monad3C } from ...
import React from 'react'; import { findDOMNode } from 'react-dom'; import { CommonProps, CommonWrapper } from '../../internal/CommonWrapper'; import { listen as listenFocusOutside, containsTargetOrRenderContainer } from '../../lib/listenFocusOutside'; export interface FocusTrapProps extends CommonProps { children:...
/** * * * OpenAPI spec version: 20210215 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
import { createCmd } from '../example/negative-numbers'; import { runSafely } from '../src'; test('negative numbers', async () => { const result = await new Promise<number>(async (resolve, reject) => { const cmd = createCmd(); cmd.handler = async ({ number }) => { resolve(number); }; const run...
import * as React from 'react' import { createMemoryHistory } from 'history' import { storiesOf } from '@storybook/react' import { WebStory } from '../../../../components/WebStory' import { Progress } from '../../../stream' import { StreamingProgressSkippedPopover } from './StreamingProgressSkippedPopover' const histo...
// Copyright 2015-2020 SWIM.AI 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 ...
import OpenHoursController from "./OpenHoursController"; import QueueController from "./QueueController"; import StudentController from "./StudentController"; import ScreenerController from "./ScreenerController"; import StatisticsController from "./StatisticsController"; import CourseController from "./CourseControlle...
export interface Event { type: string target?: any } type Listener = (evt: Event) => any type ListenerRegistry = {[type: string]: Listener[]} function addEventListener(type: string, listener: Listener, registry: ListenerRegistry) { registry[type] = registry[type] || [] if (registry[type].indexOf(listener) < ...
//import { XLSX } from 'xlsx' import * as XLSX from 'xlsx'; import { Inject, Injectable } from '@angular/core' import { DOCUMENT } from '@angular/common'; // based on https://ag-grid.com/javascript-data-grid/excel-import/#example-excel-import // https://oss.sheetjs.com/sheetjs/ let gridOptions1 = { columnDefs: [ ...
import OptionsMenu from "@/components/OptionsMenu.vue"; import { mount, config } from "@vue/test-utils"; config.mocks["$t"] = (msg: string) => msg; config.mocks["$tc"] = (msg: string) => msg; config.mocks["$i18n"] = { locale: "en" }; describe("OptionsMenu.vue", () => { test("should show options icon", async () => {...
import React from 'react'; import * as S from './styles'; import PostInfo from '@components/post-info'; import Link from 'next/link'; import Image from 'next/image'; import { FrontMatter } from '@model/frontmatter'; type Props = { frontMatter: Pick< FrontMatter, | 'slug' | 'featuredImage' | 'createA...
import { WarningSignalHandler } from '../../common/signals'; import { Expression } from '../../math-json/math-json-format'; import { IComputeEngine } from '../public'; /** * A `LatexToken` is a token as returned by `Scanner.peek`. * * It can be one of the indicated tokens, or a string that starts with a * `\` for ...
//////////////////////////////// // // Copyright 2020 Battelle Energy Alliance, LLC // // 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 limitatio...
import { Sprite, Text, TextStyle, Graphics } from "pixi.js-legacy"; import Config from "../config"; import Game from "../utility/Game"; import GameScene from "./GameScene"; import DOMHandler from "../utility/DOMHandler"; export default class LoginScene extends GameScene { private username?: HTMLInputElement; ...
import "reflect-metadata"; import { container, instanceCachingFactory } from "tsyringe"; import { Configuration } from "./config"; import { OrganizationServiceImpl } from "./services/organization.service.impl"; import { UserServiceImpl } from "./services/user.service.impl"; import { OrganizationManagerImpl } from "./bu...
// *** 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 * as utilities from "../../utilities"; /** * Recipient User details. */ export class NotificationRecipientUser e...
// CloudFormation Resource AWS::Config::StoredQuery import { CfnResource, Resolvable } from '../../base'; export type StoredQuery_Type = 'AWS::Config::StoredQuery'; export const StoredQuery_Type = 'AWS::Config::StoredQuery'; /** * Resource Type definition for AWS::Config::StoredQuery {@link * http://docs.aws.amazo...
import path from 'path'; import fs from 'fs-extra'; import R from 'ramda'; export interface FileContent { fileName: string; content: string; } export interface SchemaFileRepository { dataSchemaFiles: (includeDependencies?: boolean) => Promise<FileContent[]>; } export class FileRepository implements SchemaFileR...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
import { Component, OnInit, Input, Output, EventEmitter, DoCheck } from '@angular/core'; import { User } from '../../_models/index'; import { AuthenticationService } from '../../_services/authentication.service'; @Component({ selector: 'app-navbar', templateUrl: './navbar.component.html', styleUrls: ['./navbar....
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { Course } from 'src/app/global/models/course'; import { Organization } from '../../models/organization'; import {MatDialog} from '@angular/material/dialog'; import { CourseComponent } from '../course/course.component'; ...