text
stringlengths
10
953k
export default class ErrorsBase { public hasAny: Function = (): boolean => { let props = Object.getOwnPropertyNames(this).filter( prop => prop != 'hasAny' ); for (let prop of props) { let value = this[prop]; if (value != null) return true; } return false; }; }
import React, { Fragment, useCallback, useEffect, useState } from 'react'; import PartsLayoutRenderer from '../../../../../components/activities/adaptive/components/delivery/PartsLayoutRenderer'; interface FeedbackRendererProps { feedbacks: any[]; snapshot?: any; } const FeedbackRenderer: React.FC<FeedbackRendere...
import { Component, Input, Output, EventEmitter, AfterContentInit, ContentChildren, QueryList, DoCheck } from "@angular/core"; import { AppPanel }from '../panel/panel.component' @Component({ selector: "app-accordion", templateUrl: "./accordion.component.html", styleUrls: ["./accordion.component.css"] }) e...
module Test {}
export * from "./comparison"; export * from "./extend-class"; export * from "./filter"; export * from "./filter-object-keys"; export * from "./property-utils";
import { BinaryOperationToken } from "./BinaryOperationToken"; import { ExpressionToken } from "./ExpressionToken"; import { VariableToken } from "./VariableToken"; describe( "BinaryOperationToken", ():void => { it( "should exists", ():void => { expect( BinaryOperationToken ).toBeDefined(); expect( BinaryOperat...
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; /** * `<vaadin-crud-edit>` is a helper element for `<vaadin-grid-column>` that provides * an easily themable button that fires an `edit` event with the row item as detail * when clicked. * * Typical usage is in a `<vaadin-grid...
import { Directive, ComponentRef, HostListener, Input, ElementRef, OnDestroy, OnInit } from '@angular/core'; import { NbDialogService } from '@nebular/theme'; import { sortBy } from 'underscore'; import { GalleryComponent } from './gallery.component'; import { GalleryService } from './gallery.service'; export i...
import TAInstruction from "./TAInstruction"; import StaticSymbolTable from "./symbol/StaticSymbolTable"; import TAInstructionType from "./TAInstructionType"; import SymbolTable from "./symbol/SymbolTable"; import SymbolType from "./symbol/SymbolType"; class TAProgram { instructions: Array<TAInstruction> labelCount...
import * as core from '@actions/core' import {checkReference, checkReferenceAndSetForSHA} from "./guardian"; import {getRequiredEnvironmentVariable} from "./utils"; import {context} from "@actions/github"; async function run(): Promise<void> { try { await _runImpl() } catch (error) { core.setFailed(error.m...
// ==LICENSE-BEGIN== // Copyright 2017 European Digital Reading Lab. All rights reserved. // Licensed to the Readium Foundation under one or more contributor license agreements. // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file exposed on Github (readium) in the proj...
import { mount } from '@vue/test-utils' import Progress from '../index' const Wrapper = { components: { [Progress.name]: Progress }, data() { return { type: 'default', value: 10, colors: {} } }, template: ` <div class="container"> <fe-progress :type="type" :value="value"...
import React from 'react' import CSS from 'csstype' import * as S from './styled' type Props = { children: React.ReactNode[] | React.ReactNode | string className?: string style?: CSS.Properties } const PageTitle = ({ children, className = '', style }: Props) => ( <S.Wrapper className={className} style={style...
import { Response } from './lib/interfaces'; declare class BdkInterface { _bdk: any; constructor(); /** * Gen seed of 12 words * @return {Promise<Response>} */ genSeed(password?: string): Promise<Response>; /** * Check if wallet exists or not * @return {Promise<Response>} ...
import styled from "styled-components"; import { OverlayProps } from "./types"; const Overlay = styled.div.attrs({ role: "presentation" })<OverlayProps>` position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; background-color: ${({ theme }) => theme.colors.overlay}; transition: opacity 0.4s; ...
import { RootState } from './RootState'; import { Asset } from './Asset'; import { NetworkType } from './NetworkType'; import { AppMode } from './AppMode'; import { NetworkChainId } from './NetworkChainId'; export type { RootState }; export type Nullable<T = any> = T | null; export { Asset, NetworkType, NetworkChainId...
import { Response, ResponseOptions } from '@angular/http'; import { Observable } from 'rxjs/Rx'; import { MockBackend } from '@angular/http/testing'; import { inject } from '@angular/core/testing'; import construct = Reflect.construct; import { global } from './src/app/shared/utils'; const originalValidationO...
import * as themes from './themes'; // // Theme // export { themes }; export * from './themes/types'; export * from './themes/colorUtils'; // // Teams theme // export * from './themes/teams/types'; // // Components // export * from './components/Accordion/Accordion'; export { default as Accordion } from './component...
/** * Data Integration API * Use the Data Integration API to organize your data integration projects, create data flows, pipelines and tasks, and then publish, schedule, and run tasks that extract, transform, and load data. For more information, see [Data Integration](https://docs.oracle.com/iaas/data-integration/hom...
import * as React from 'react'; import { isString, isUndefined } from 'lodash'; import { Field, FastField, FieldProps, getIn, connect, FormikContext } from 'formik'; import { ICommonFormFieldProps, IFieldLayoutPropsWithoutInput, IFieldValidationStatus, IFormFieldApi, IValidationProps, } from './interface'; i...
// TODO: remove this commented AJV require. // We don't actually require AJV, but there is a bug with NPM and peer dependencies that is // whose workaround is to depend on AJV. // See https://github.com/angular/angular-cli/issues/9691#issuecomment-367322703 for details. // We need to add a require here to satisfy the d...
import { Component, Output, EventEmitter, OnInit } from '@angular/core'; import { Router, NavigationEnd } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'app-sidebar', templateUrl: './sidebar.component.html', styleUrls: ['./sidebar.component.scss'] })...
import "../../components/ha-icon"; import { formatTimeWithSeconds } from "../../common/datetime/format_time"; import { formatDate } from "../../common/datetime/format_date"; import { domainIcon } from "../../common/entity/domain_icon"; import { stateIcon } from "../../common/entity/state_icon"; import { computeRTL } fr...
import React from 'react'; import ReactIndexedDB from 'react-indexed-db'; import { DBConfig } from './lib/DBConfig'; import Home from './pages/Home'; import './styles.scss'; ReactIndexedDB.initDB(DBConfig); // Initialise the database across all the different components of the app. // The contents of the search box sto...
<TS language="pt_BR" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Clique com o botão direito para editar o endereço ou rótulo</translation> </message> <message> <source>Create a new address</sou...
version https://git-lfs.github.com/spec/v1 oid sha256:0912703f70caf9ba7a5c7ca7721fc311553f0a4b96db1eb23a4d5937629d8466 size 385964
import React from 'react'; import { range } from 'lodash'; import Styled from 'styled-components'; const ProgressContainer = Styled.div` width: 137px; margin-right: -7px; padding-top: 22px; display: inline-block; height: 100%; text-align: center; vertical-align: top; `; const ProgressDot =...
import React from 'react'; import { StyleSheet, View, } from 'react-native'; import { Layout, Radio, } from '@ui-kitten/components'; const useRadioChanges = (initialCheck = false) => { const [checked, setChecked] = React.useState(initialCheck); const onCheckedChange = (isChecked) => { setChecked(isChe...
import { executeAndReturnStatus } from './exec/executeAndReturnStatus.ts'; const programAliases = { windows: 'explorer', // Does that work? darwin: 'open', linux: 'xdg-open', }; export async function openInDefaultApplication (urlOrPath: string): Promise<boolean> { return executeAndReturnStatus([ programAliase...
import React, { useMemo } from 'react' import MapSearchIcon from 'mdi-react/MapSearchIcon' import { Route, RouteComponentProps, Switch } from 'react-router' import { BreadcrumbSetters } from '../../components/Breadcrumbs' import { HeroPage } from '../../components/HeroPage' import { RepositoryFields } from '../../gra...
import {PackageBase} from '../packageBase'; import {AnglrPackages} from '../interfaces/types'; /** * Represents package modifications for anglr bootstrap */ export class AnglrBootstrapPackage extends PackageBase { //######################### public properties ######################### /** * Array of pa...
declare namespace imports.gettext { const LocaleCategory: imports.gi.GjsPrivate.LocaleCategory function setlocale(category: string, locale: string): unknown function textdomain(dom: unknown): unknown function bindtextdomain(dom: unknown, location: unknown): unknown function gettext(msgid: string): string ...
import { Injectable } from '@nestjs/common' import { InjectRepository } from '@nestjs/typeorm' import { Repository } from 'typeorm' import { ModalityEntity } from 'src/entities' @Injectable() export class FindModalityService { constructor( @InjectRepository(ModalityEntity) private readonly modalityRepositor...
import { Injectable } from "@angular/core"; import { BehaviorSubject } from "rxjs"; @Injectable({ providedIn: 'root' }) export class PacienteDrawer { private _drawerState = new BehaviorSubject<void>(null); get drawerState() { return this._drawerState.asObservable(); } AbrirDrawer() { ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MpTableComponent } from './mp-table.component'; describe('MpTableComponent', () => { let component: MpTableComponent; let fixture: ComponentFixture<MpTableComponent>; beforeEach(async(() => { TestBed.configureTestingModule({...
import { create as createLogger } from '../common/log' import { Middleware, MiddlewareCallback, MiddlewareServices, Pipelines } from '../types/middleware' import * as IlpPacket from 'ilp-packet' export default class ErrorHandlerMiddleware implements Middleware { private getOwnAddress: () => string constructor (op...
import assert from 'assert'; import omit from 'lodash/omit'; import jwt from 'jsonwebtoken'; import { feathers, Application } from '@feathersjs/feathers'; import { memory, Service as MemoryService } from '@feathersjs/memory'; import defaultOptions from '../src/options'; import { AuthenticationService } from '../src'; ...
import styled from 'styled-components' import { QCRuleStatus } from 'src/algorithms/QC/QCRuleStatus' import React from 'react' const CIRCLE_SZE_PX = 20 const statusColors = { [QCRuleStatus.good]: '#68b844', [QCRuleStatus.mediocre]: '#e4902f', [QCRuleStatus.bad]: '#da4e3c', } export const CircleBase = styled.di...
/** * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNES...
import Component from 'vue-class-component'; import { Prop, Vue, Watch } from 'vue-property-decorator'; import ModuleDAO from '../../../../../shared/modules/DAO/ModuleDAO'; import InsertOrDeleteQueryResult from '../../../../../shared/modules/DAO/vos/InsertOrDeleteQueryResult'; import ModuleDashboardBuilder from '../../...
/** * Copyright 2015 Google Inc. 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 appli...
const message = 'Hello World' console.log(message)
export interface ElectronProcess extends NodeJS.Process { defaultApp?: boolean versions: NodeJS.ProcessVersions & { electron: string } }
import { Component, OnInit, Input } from '@angular/core'; import {NgbModal} from '@ng-bootstrap/ng-bootstrap'; import { Seccion } from '../../model/seccion'; import { Grado } from '../../../grado/model/grado'; import { Nivel } from '../../../nivel/model/nivel'; import { SeccionService } from '../../../../../providers/s...
// Imports import buildRequestURL from './build-request-url'; import retrieveValidation from './retrieve-validation'; import { OptionsWithoutWarnings, OptionsWithWarnings, Options } from './types/options'; import { ValidateURLResultWithoutWarnings, ValidateURLResultWithWarnings, ValidateURLResult, ValidateURLResult...
import { ChangeDetectorRef, Component, Inject, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { NbAuthService, NbLoginComponent, NB_AUTH_OPTIONS } from '@nebular/auth'; import { environment } from './../../../environments/environment'; @Component({ selector: 'ngx-login', templateUrl:...
// Copyright 2020 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...
import { IImageKey } from "../components/images"; import { IStoryRunnerYieldFormat, storeStoryItem, NOP } from "saga-stories"; export const boatStory = (existenceCheck: (s: StoryAnim.IEventState) => boolean, position: StoryAnimDataSchema.IItemPosition = {}, startPosition?: StoryAnimDataSchema.IItemPosition) => functi...
import { Popup } from '@syncfusion/ej2-popups'; import { Component, OnInit, Inject, ElementRef, Optional, ViewChild, OnDestroy } from '@angular/core'; import { MatDialog, MatDialogRef, MAT_DIALOG_DATA, MatSnackBar } from '@angular/material/'; import { FormGroup, FormBuilder, Validators, FormControl, FormArray, Abstract...
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import EventEmitter from "./events.ts"; import http from "./http.ts"; import { ERR_SERVER_NOT_RUNNING } from "./_errors.ts"; import { assert, assertEquals } from "../testing/asserts.ts"; import { deferred } from "../async/deferred.ts"; Deno.te...
import { isPlainObject } from './util' function normalizeHeaderName(headers: any, normalizeName: string): void { if (!headers) { return } Object.keys(headers).forEach(name => { if (name !== normalizeName && name.toUpperCase() === normalizeName.toUpperCase()) { headers[normalizeName] = headers[name]...
import { computed, onMounted, PropType, reactive, toRefs } from 'vue' import { useRoute, useRouter } from 'vue-router' import { MusicList } from '@/components' import type { Singer } from '@/types/api/singer' import type { Album, AlbumResp, Song } from '@/types/api/recommend' import { processSongs } from '@/api/song' i...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export class AzureAdlsGen2Mount extends pulumi.CustomResource {...
const router = require('express').Router(); import * as actorController from '../controllers/actorController'; import * as actorLikeController from '../controllers/actorLikeController'; import * as actorReviewController from '../controllers/actorReviewController'; const auth = require('../middlewares/authMiddleware').d...
import { AccAddress } from '../../../core'; import { BaseAPI } from './BaseAPI'; import { AuthorizationGrant } from '../../../core/authz/authorizations'; import { APIParams, Pagination } from '../APIRequester'; export declare class AuthzAPI extends BaseAPI { /** * Get the message authorization grants for a spe...
// #region Imports import { useProvider, useProviderFactory, } from '@uidu/editor-common/provider-factory'; import React from 'react'; import analyticsPlugin from '../../../plugins/analytics'; import annotationPlugin from '../../../plugins/annotation'; import basePlugin from '../../../plugins/base'; import cardPlug...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Kingcoin</source> <translation>Sobre Kingcoin</translation> </message> <message> <lo...
import { expect } from "chai"; import { Dialog, DialogTemplate as template } from "./index"; import { fixture } from "../test-utilities/fixture"; import { DOM, customElement } from "@microsoft/fast-element"; import { KeyCodes } from "@microsoft/fast-web-utilities"; @customElement({ name: "fast-dialog", templat...
import * as moment from "moment-timezone"; /** * Payline helpers */ declare class PaylineUtils { static timezone: string; /** * Return the payline date format for this date */ static getPaylineDateFormat(value: moment.Moment): string; /** * Return the payline date format for this date ...
import { NgModule } from '@angular/core'; import { ThemeModule } from '../../@theme/theme.module'; import { SharedModule } from '../../shared/share.module'; import { Ng2SmartTableModule } from 'ng2-smart-table'; import { CommonModule } from '@angular/common'; import { AddTourComponent } from './add-tour/add-tour.compon...
import { flags } from "@oclif/command"; import { ClientCommand } from "../../Command"; import { graphqlTypes } from "apollo-language-server"; declare type ValidationResult = graphqlTypes.ValidateOperations_service_validateOperations_validationResults; interface Operation { body: string; name: string; relati...
// GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY import * as React from 'react' import DollarCircleOutlinedSvg from '@ant-design/icons-svg/lib/asn/DollarCircleOutlined'; import AntdIcon, { AntdIconProps } from '../components/AntdIcon'; const DollarCircleOutlined = ( props: AntdIconProps, ref: Reac...
export const HOMEPAGE_LINK_BUTTON = 'Homepage_Link_Button'; export const LINK_TESTPAGE = 'Link_TestPage';
// svg/volume-off.svg import { createSvgIcon } from './createSvgIcon'; export const SvgVolumeOff = 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" xmlns:xlink="http://...
import { jest } from '@jest/globals'; jest.mock('bcrypt', () => ({ isValid: true, value: '', hash: '', async compare(value: string, hash: string) { // eslint-disable-next-line @typescript-eslint/ban-ts-comment //@ts-ignore this.value = value; // eslint-disable-next-line @typescript-eslint/ban-...
// #docregion import { Component } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { WikipediaService } from './wikipedia.service'; @Component({ moduleId: module.id, selector: 'my-wiki', templateUrl: 'wiki.component.html', providers: [ WikipediaService ] }) export class...
import { Bot } from '../client/Client'; import { Message } from 'discord.js'; export interface RunFunction { (client: Bot, message: Message, args: String[]): Promise<void>; } export interface Command { name: string, aliases: string[], run: RunFunction }
import { EnsureOptionProcessor } from "../EnsureOptionProcessor"; import { EnsureOptionArguments } from "../EnsureOptionArguments"; import S from "string"; import { ObtainOptionExecutor, ObtainOptionArguments } from "../../ObtainOption"; import _ from "lodash"; export class TryToObtainOptionInKebabCase extends EnsureO...
import * as React from "react"; import { Badge, Col, Row } from "react-bootstrap"; import Link from "../utils/Link"; import { useTranslation } from "react-i18next"; import { useNetworkStats } from "../../hooks/subscriptions"; import { styled } from "../../libraries/styles"; const NodeSelector = styled(Col, { heigh...
// Copyright 2015-2021 Swim 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 ...
'use strict'; import { FilePathArray } from '../../src/utils/file-path-array'; describe('FilePathsArray', function () { it('returns all files when no patterns are provided', function () { let files = new FilePathArray(...['foo.js', 'blue.hbs', 'goo.hbs']); expect(files.filterByGlob('**.js')).toMatchInlineS...
import { EditStatus, Input } from '@data-cell'; import { Col, Form } from 'antd'; import LocaleReceiver from 'antd/lib/locale-provider/LocaleReceiver'; import classnames from 'classnames'; import { findIndex, get } from 'lodash'; import React, { useCallback, useContext, useEffect, useMemo } from 'react'; import { FormC...
/** * @module node-opcua-address-space */ import * as chalk from "chalk"; import * as _ from "underscore"; import { assert } from "node-opcua-assert"; import { ExtraDataTypeManager } from "node-opcua-client-dynamic-extension-object"; import { DataTypeIds, VariableTypeIds } from "node-opcua-constants"; import { Brow...
import { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient"; import { ListRemoteAccessSessionsRequest, ListRemoteAccessSessionsResult } from "../models/models_0"; import { deserializeAws_json1_1ListRemoteAccessSessionsCommand, serializeAws_json1_1ListRemoteAccessSessi...
import React from 'react' import { CapsuleTabs } from 'antd-mobile' import { DemoBlock } from 'demos' export default () => { return ( <> <DemoBlock title='基本用法' padding='0'> <CapsuleTabs> <CapsuleTabs.Tab title='水果' key='fruits'> 菠萝 </CapsuleTabs.Tab> <Caps...
import React from 'react'; import { BasicLayoutStyled } from '../../../components/basic-layout'; const Sample1BasicLayoutPage: React.FunctionComponent = () => <BasicLayoutStyled />; export default Sample1BasicLayoutPage;
import React, { useMemo, useContext, useState, useCallback } from "react"; import cn from "classnames"; import { ShimmeredDetailsList, DetailsListLayoutMode, SelectionMode, IColumn, IDetailsRowProps, DetailsRow, ActionButton, ColumnActionsMode, } from "@fluentui/react"; import { Context, FormattedMessag...
export * from './form-builder'; export * from './validators/group-validators'; export * from './validators/control-validators';
import { groupVars } from 'packages/private/transforms/groupVars.css'; describe('groupVars', () => { it('should group vars in its own `vars`-property', () => { expect( groupVars({ $$foo: 'bar', background: 'red', }), ).toMatchInlineSnapshot(` Object { "background": "...
import { completion } from 'titanium-editor-commons'; import * as _ from 'underscore'; import project from '../../project'; import * as related from '../../related'; import * as utils from '../../utils'; import * as alloyAutoCompleteRules from './alloyAutoCompleteRules'; import { CancellationToken, CompletionContext, ...
import axios from 'axios' import config from '@/config' const request = axios.create({ baseURL: config.apiURL, headers: { Accept: 'application/json', }, }) export default request
/// <reference path='./node-base-model.d.ts'/> import { Property, Complex, Collection, ChildProperty, ComplexFactory } from '@syncfusion/ej2-base'; import { ShapeStyle, Margin, TextStyle, Shadow } from '../core/appearance'; import { ShapeStyleModel, TextStyleModel, ShadowModel } from '../core/appearance-model'; import ...
import type { ChallengePayload } from './api' import type { DocumentSides } from './commons' import type { SupportedLanguages, TranslatedTagParser, TranslateCallback, } from './locales' import type { RequestedVariant } from './steps' export type WithChallengesProps = { challenges: ChallengePayload[] challeng...
import { Injectable } from '@nestjs/common'; import { CreateTaskDto } from './dto/create-task.dto'; import { UpdateTaskDto } from './dto/update-task.dto'; @Injectable() export class TasksService { create(createTaskDto: CreateTaskDto) { return 'This action adds a new task'; } findAll() { return `This act...
import React, { FC } from 'react'; import { Container, Row, Col, ButtonToolbar, ButtonGroup, } from 'react-bootstrap'; import { Button, H3, P } from 'bt/custom'; import { ReactComponent as Logo } from '../../assets/svg/landing/main.svg'; const Jumbotron: FC = () => ( <div className="landing-jumbo"> <C...
input.onButtonPressed(Button.A, function () { kittybot.do_action(kittybot.actions(kittybot.action_name.walk_boldly), 2, 100) }) input.onButtonPressed(Button.B, function () { kittybot.do_action(kittybot.actions(kittybot.action_name.walk_backward_boldly), 2, 100) }) kittybot.set_offset( 75, 105, 95, ...
import { Divider, List, ListItem, ListItemIcon, ListItemText, ListSubheader, Paper, makeStyles, } from '@material-ui/core'; import {Check, Clear} from '@material-ui/icons'; import clsx from 'clsx'; import React, {useContext} from 'react'; import {TeamGeneratorContext} from '../TeamGeneratorProvider'; i...
/// <reference types="node" /> import { AnyPublicKey, StringPublicKey } from "../../../types"; import { Borsh } from "../../../utils"; import { AccountInfo, Connection, PublicKey } from '@solana/web3.js'; import BN from 'bn.js'; import { Buffer } from 'buffer'; import { Account } from '../../../Account'; import { Bidde...
import { Connection } from "typeorm"; import { AsyncMqttClient } from "async-mqtt"; import { GraphQLError } from "graphql"; import { generateFakeLightId } from "../utils/generateFakeLightId"; import { testDbConnection, testMqttClient, testGqlPubSub } from "../utils/testConnections"; import { executeGraphql } from "../u...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="14"/> <source>About NomicCoin</source> <translation>O NomicCoin</translation> </message> <message> <locatio...
import { Controller } from '@nestjs/common'; @Controller('major') export class MajorController {}
import { ConstraintDescriptor } from './ConstraintDescriptor'; /** * Constraint descriptor */ class ConstraintDescriptorImpl implements ConstraintDescriptor { private readonly attributes: Map<string, any>; private readonly name: string; /** * Class constructor * @param constraintName Constrain...
import { regimensReducer, RegimenState } from "../reducer"; import { Actions } from "../../constants"; import { popWeek, pushWeek, selectDays, deselectDays } from "../bulk_scheduler/actions"; import { defensiveClone } from "../../util"; const STATE: RegimenState = { dailyOffsetMs: 300000, selectedSequenceUUID: "Se...
import type { IconProps } from '../types'; const UilBorderLeft = ({ color = "currentColor", size = "24", ...otherProps }: IconProps) => { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill={color} {...otherProps} > ...
import {Component, ElementRef, OnDestroy, OnInit, Renderer2, ViewChild} from '@angular/core'; import {NavigationEnd, Router} from '@angular/router'; import {prop} from 'ramda'; import {Subject} from 'rxjs'; import {takeUntil} from 'rxjs/operators'; // models import {User} from '@models/api/user'; import {MenuItem, Sid...
import { BackLink, DataError, DropFrames, Loading, Location, LocationUpdate, Samples, SamplesProps, Secchi, Section, StationInfo, Toggle, Weather } from 'components' import { DROP_FRAME_STORE, SAMPLE_STORE, STATION_STORE } from 'db' import { useStation } from 'hooks' import { filter } from 'lo...
import { paths } from '../../../../routes/routing'; import { matchPath } from 'react-router'; export function erSakerFullscreen(pathname: string): boolean { return !!matchPath(pathname, paths.sakerFullscreen); }
// Copyright (C) 2020 Intel Corporation // // SPDX-License-Identifier: MIT import React from 'react'; import { Row, Col } from 'antd/lib/grid'; import Form, { FormComponentProps } from 'antd/lib/form/Form'; import Input from 'antd/lib/input'; import Tooltip from 'antd/lib/tooltip'; import Checkbox from 'antd/lib/check...
export const buttonElementHoverBackground = (typeOfButton: string) => (typeOfButton === 'filledGreen' && 'background-color:#5B9479') || (typeOfButton === 'filledPink' && 'background-color:#B03671'); export const buttonElementHoverColor = (typeOfButton: string) => typeOfButton === 'color:notFilled' && 'color:#c9e6d...
import React from 'react' import { ArrowDown } from '../InlineIcons' import InputStyled from './InputStyled' type ISelectProps = { register?: any options: any[] name: string label?: string placeholder?: string required?: boolean error?: string onChange?: (event: React.FormEvent<HTMLSelectElement>) => ...