text
stringlengths
10
953k
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_PT" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About WorldAidCoin</source> <translation>Sobre WorldAidCoin</translatio...
export const permissions = { all_user: { systemwide_user_management: 'systemwide_user_management' // create, delete, edit all users }, all_study: { systemwide_study_existence_management: 'systemwide_study_existence_management', // create, delete, edit study all_studies_user_managemen...
import { Types } from 'mongoose'; import { UpdateUserInput } from '../update-user.input'; import * as faker from 'faker'; const updateUserInput: UpdateUserInput = { where: { id: new Types.ObjectId().toHexString(), }, data: { profilePicture: faker.internet.url(), name: faker.name.firstName(), }, }; ...
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; import { ListDataSourcesRequest, ListDataSourcesResponse } from "../models/models_1"; import { deserializeAws_restJson1ListDataSourcesCommand, serializeAws_restJson1ListDataSourcesCommand, } from "../protoco...
import { generateContacts, generateRandomNumber, } from "common/mock-data/mock.utils"; export interface IMockContact { id: number; avatar: string; name: string; title: string; description: string; address: string; phone: string; email: string; } const randomSeed: number = generateRandomNumber(12);...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { ProfileComponent } from './profile/profile.component'; import { MsalGuard } from '@azure/msal-angular'; import { HomeComponent } from './home/home.component'; const routes: Routes = [ { path: 'profile', ...
import { Double } from "node-opcua"; export interface UpdateDataType { [key: string]: Double } export interface NodeType { [key: string]: ParentType | LeafType } export interface ParentType { id: string; childs: NodeType } export interface LeafType { id: string; isSubscribed: boolean }
import { join } from 'path'; import { Dialect } from 'sequelize'; interface IPlatform { port: number; db: { name: string; dialect: Dialect; username: string; password: string; host: string; }; provable: { host: string; }; infura: { endpoint: string; projectId: string; pr...
////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014-present, Egret Technology. // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // /...
import bodyParser from 'body-parser' import cors from 'cors' import express from 'express' import stateControllerRouter from './controllers/StateController' const server = () => { const expressApplication = express() const middlewares = () => { expressApplication.use(bodyParser.json()) expressApplication....
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { DebugElement } from '@angular/core'; import { By } from '@angular/platform-browser'; import { AlTestcompEComponent } from './al-testcomp-e.component'; describe('Component: AlTestcompEComponent', () => { let component: AlTestcompEComp...
import React from 'react'; export interface ChartSliderThumbProps { backgroundColor: string; strokeColor: string; filter: string; } export function ChartSliderThumb({ backgroundColor, strokeColor, filter, }: ChartSliderThumbProps) { return ( <> <circle r={10} fill={backgroundCo...
import { Component, OnInit } from '@angular/core'; import { NbThemeService, NbColorHelper } from '@nebular/theme'; @Component({ selector: 'analytics', templateUrl: './analytics.component.html', styleUrls: ['./analytics.component.scss'] }) export class AnalyticsComponent implements OnInit { // pie data. toke...
/** * @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 { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp2569Component } from './comp...
import { TestBed, async } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ RouterTestingModule ], ...
import { Weapp } from './weapp'; type RecordToAny<T> = { [K in keyof T]: any }; export type CombinedComponentInstance<Data, Props, Methods> = Methods & WechatMiniprogram.Component.TrivialInstance & Weapp.FormField & { data: Data & RecordToAny<Props>; }; export interface VantComponentOptions<Data, Props, Me...
/* * Copyright 2018 IBM Corporation * * 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 ...
/** * @export * @enum {string} */ export enum AudioMixInputChannelLayout { NONE = 'NONE', MONO = 'MONO', CL_STEREO = 'STEREO', CL_SURROUND = 'SURROUND', CL_4_0 = '4.0', CL_5_0_BACK = '5.0_BACK', CL_5_1_BACK = '5.1_BACK', CL_7_1 = '7.1', CL_7_1_WIDE_BACK = '7.1_WIDE_BACK' } export default AudioMixI...
import { JSX } from '@aws-amplify/ui-components'; export declare const AmplifyAmazonButton: import("react").ForwardRefExoticComponent<JSX.AmplifyAmazonButton & import("react").HTMLAttributes<HTMLAmplifyAmazonButtonElement> & import("./react-component-lib/utils").ReactProps & import("react").RefAttributes<HTMLAmplifyAma...
import type { Currency } from '../../../types'; /** * Turkish lira. */ export declare const TRY: Currency<number>;
import { createStore } from '../utils/store'; export default function () { const store = createStore(); return { visitor: { ImportDeclaration(path: any) { if (path.get('source').isStringLiteral()) { const libName = path.get('source').node.value; store.add(libName); } ...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { FormsModule } from '@angular/forms'; import { ReactiveFormsModule } from '@angular/forms'; // AngularFire2 4.0 import { AngularFireModule } from ...
/** * Copyright 2018 The AMP HTML 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 require...
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import * as Confidential from './confidential.json'; import { Template } from './template'; import { Observable } from 'rxjs'; import { User } from './models/User'; @Injectable({ providedIn: 'root' }) export c...
import React from "react"; import styled, { media, css } from "@styled"; import CookiesBanner from "react-cookie-banner/lib"; import Link from "@components/shared/Link"; import Paragraph from "@components/shared/Paragraph"; import { linkEffect } from "@styled/mixins"; import Header from "@static/img/header.svg"; im...
import { Module } from '@nestjs/common'; import { MoviesModule } from './movies/movies.module'; import { AppService } from './app.service'; import { AppController } from './app.controller'; @Module({ imports: [MoviesModule], controllers: [AppController], providers: [AppService], }) export class AppModule {}
import { nameof, SyntaxKind } from "@ts-morph/common"; import { expect } from "chai"; import { JSDocThisTag } from "../../../../compiler"; import { getInfoFromTextWithDescendant } from "../../testHelpers"; describe("JSDocThisTag", () => { function getInfo(text: string) { return getInfoFromTextWithDescendant<JSDo...
// (C) 2020-2021 GoodData Corporation import { AnalyticalDashboardModelV1, JsonApiAnalyticalDashboardOutDocument, JsonApiFilterContextOutDocument, } from "@gooddata/api-client-tiger"; import { DashboardWidget, FilterContextItem, IDashboard, IDashboardDateFilterConfig, IDashboardLayout, ...
// Copyright 2014-2016, Google, 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 ...
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { CaseService } from 'app/modules/case/case.service'; import { NotificationService } from 'app/shared/services/notification.service'; import swal from 'sweetalert2'; import { Case } from 'app/models/case'...
/** * @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 {ActivatedRoute} from './router_state'; import {Params, PRIMARY_OUTLET} from './shared'; import {UrlSegment, U...
import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; import 'rxjs/add/operator/map'; @Injectable() export class MessagesService { base = ""; stage = ""; constructor(private _http: Http) {} getMessage() { return this.makeRequest('/inigo/hello'); } private makeRequest(pat...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
<?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 DustCoin</source> <translation>Sobre DustCoin</translation> </message> <message> <lo...
import { PropsTableType } from 'src/docz-components/type'; import React from 'react'; import ModalTable from 'src/docz-components/ModalTable'; import Link from 'src/docz-components/Link'; const FormDataTypeList: PropsTableType[] = [ { key: 'key', desc: '键值', type: 'string', required: 'true' }, { ...
// Associated data. If we're using React, this // would be the component’s props or state ;[ { id: 1, text: 'First todo', done: false }, { id: 2, text: 'Second todo', done: false } ]
/** * @group unit/utils */ import * as string from '@polkadot/util/string' import { Keyring } from '@polkadot/keyring' import type { KeyringPair } from '@polkadot/keyring/types' import nacl from 'tweetnacl' import * as Crypto from './Crypto' const messageStr = 'This is a test' const message = new Uint8Array(string....
export class PlanificacionAcompanamiento{ id: number; codigoFormularios:number; codigo: number; interacion: number; fechaFormulario: Date; tipoPersona; campus: string; aula: string; horario: string; hora constructor() { this.campus = ''; this.codigo =0; } }
import React, { useState, ChangeEvent, FormEvent, useEffect, useRef, useContext, Fragment, useCallback, } from 'react'; import { Link } from 'react-router-dom'; import { BodyProjects, DivSobre, DivTags, DivVagas } from './styles'; import edit from '../../assets/icon/editar.svg'; import TrashIcon from '....
import React from "react"; import styled from "@emotion/styled"; import mediaqueries from "@styles/media"; import { Icon } from '@types'; const Logo: Icon = ({ fill = "white" }) => { return ( <LogoContainer> <svg xmlns="http://www.w3.org/2000/svg" width="30" height="40" viewBox="0 0 125.211 187.084"> ...
/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { strict as assert } from "assert"; import os from "os"; import { Project, SourceFile } from "ts-morph" import { createSpecificValidator } from "./../../typeValidator/packageValidator"; impor...
import { HttpClient } from "@angular/common/http"; import { Injectable } from "@angular/core"; import { AppCommonService } from "../common/app-common.service"; @Injectable({ providedIn: "root", }) export class AssignmentService { constructor(private _cS: AppCommonService, private _http: HttpClient) {} getAssignM...
import { parseUnits } from '@ethersproject/units'; import { BigNumber } from '@ethersproject/bignumber'; export const GRAPH_NETWORK_SUBGRAPH_URL = { '1': 'https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-mainnet', '4': 'https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-...
import { Movie } from '@/interfaces'; import { Box, Grid, Spinner } from '@chakra-ui/react'; import { useEffect } from 'react'; import { useInView } from 'react-intersection-observer'; import { MovieCard } from './MovieCard'; export interface MovieListProps { movies?: Movie[]; fetchNextPage?: () => void; isFetch...
import { renderHook, act } from '@testing-library/react-hooks'; import * as api from './api'; import { Credential, User } from 'model'; import { useLogin } from './login.hooks'; describe('useLogin specs', () => { it('should return an object: credential with default values and setCredential a function when it calls i...
import chalk from 'chalk'; import Command from '../../command'; import { checkout } from '../../../api/consumer'; import { applyVersionReport } from './merge-cmd'; import { getMergeStrategy } from '../../../consumer/versions-ops/merge-version'; import { CheckoutProps } from '../../../consumer/versions-ops/checkout-vers...
/** * Copyright 2017-2020 Plexus Interop Deutsche Bank AG * SPDX-License-Identifier: Apache-2.0 * * 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/...
export type ImportPreviewColumn = { value: any; isValid: boolean; };
version https://git-lfs.github.com/spec/v1 oid sha256:a9fab37b7785376283562beb94f9c8daa3da209f06101eb11fa07dbe7c2a5f8b size 216764
import { RuleCreateFunction, RuleModule } from "../ts-eslint"; /** * Uses type inference to fetch the TOptions type from the given RuleModule */ declare type InferOptionsTypeFromRule<T> = T extends RuleModule<infer _TMessageIds, infer TOptions> ? TOptions : T extends RuleCreateFunction<infer _TMessageIds, infer T...
// NG2 import { Component } from '@angular/core'; @Component({ selector: 'novo-table-actions', template: '<ng-content></ng-content>' }) export class NovoTableActionsElement { }
import * as string from '@quenk/preconditions/lib/string'; import * as array from '@quenk/preconditions/lib/array'; import { Value } from '@quenk/noni/lib/data/jsonx'; import { Precondition, and } from '@quenk/preconditions'; import { contains } from '@quenk/noni/lib/data/array'; import { succeed, fail } from '@quenk...
import { darken, lighten, rgba, shade } from "polished"; const primaryColor = "rgba(2,48,139,0.97)"; export const theme = { name: "Default", color: { background: "#ffffff", primary: primaryColor, primaryDark: "#000022", gray: "rgba(0, 0, 0, 0.12)", sectionBg: rgba("#777777", 0.03), light: ...
import * as fs from 'fs'; import { injectable } from 'inversify'; import { IXUnitParser, PassCalculationFormulae, Tests, TestStatus } from './types'; type TestSuiteResult = { $: { errors: string; failures: string; name: string; skips: string; skip: string; tests: stri...
import { Kuznec } from "./kuznec"; import { CBC } from "./CBC"; import { CFB } from "./CFB"; import { CTR } from "./CTR"; import { ECB } from "./ECB"; import { OFB } from "./OFB"; export { Kuznec, CBC, CFB, CTR, ECB, OFB }; //# sourceMappingURL=package.d.ts.map
/** @packageDocumentation * Store Schnittstelle * * Letzte Aenderung: 01.06.2020 * Status: gelb * * @module dialog/store * @author SB */ // core import { PluginInterface } from '@speech/core'; // dialog import { DialogStateInterface } from './dialog-state.interface'; import { DialogObjectInterface } from ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ProjectQuotasComponent } from './project-quotas.component'; import { IServiceConfig, SERVICE_CONFIG } from '../../../entities/service.config'; import { SharedModule } from '../../../utils/shared/shared.module'; import { RouterModule } f...
export function isFunction(val: unknown): val is Function { return typeof val === 'function'; } export function isPlainObject(val: unknown): val is Record<string, unknown> { return val !== null && typeof val === 'object' && !Array.isArray(val); } export function isPromise<T = unknown>(val: unknown): val is Promis...
export class Users { constructor( public username:string, public bio:string, public date:Date, public followers:number, public following:number, public picture:string ){} }
export const THROTTLE_MS = 500; // NOTE(lmr): this is a huge hack right now, and prevents anything from being clickable more than // twice per second, but the alternative is so bad right now. Need to figure out how to fix the // responder plugin later and fix this. export function throttle(fn: Function, throttleMs = ...
import { PadplusMessagePayload, PadplusRecalledMessagePayload } from '../schemas' import { isPayload, isRoomId } from './is-type' import { xmlToJson } from './xml-to-json' export async function recalledPayloadParser ( rawPayload: PadplusMessagePayload ): Promise<PadplusRecalledMessagePayload | null> { if (!isPaylo...
import { Component } from '@angular/core'; import {NgForm} from '@angular/forms'; import{ AuthService } from "../auth.service" @Component({ selector: 'app-dashboard', templateUrl: 'login.component.html' }) export class LoginComponent { constructor(public authService: AuthService) { } onLogin(form: NgForm){ ...
import { nameof, SyntaxKind } from "@ts-morph/common"; import { expect } from "chai"; import { LiteralLikeNode, Node } from "../../../../compiler"; import { getInfoFromTextWithDescendant } from "../../testHelpers"; describe("LiteralLikeNode", () => { describe(nameof<LiteralLikeNode>("getLiteralText"), () => { fu...
// tslint:disable: no-conflicting-lifecycle // #docregion import { AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, Component, DoCheck, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { LoggerService } from './logger.service'; import { Peek...
import React from 'react' function Form({ option }) { return ( <form className='account-form' onSubmit={(evt) => evt.preventDefault()}> <div className={'account-form-fields ' + (option === 1 ? 'sign-in' : (option === 2 ? 'sign-up' : 'forgot')) }> <input id='email' name='email' type='email' placehold...
import React from 'react' import { useForm } from './FormContext'; const DebugFormDisplay = () => { const { state } = useForm() const stringified = JSON.stringify(state) return (<p>{stringified}</p>); } export default DebugFormDisplay
import * as shopwareClient from "@shopware-pwa/shopware-6-client"; jest.mock("@shopware-pwa/shopware-6-client"); const mockedAxios = shopwareClient as jest.Mocked<typeof shopwareClient>; import * as Composables from "@shopware-pwa/composables"; jest.mock("@shopware-pwa/composables"); const mockedComposables = Composa...
import { Path } from '../util/graphic'; import SeriesModel from '../model/Series'; import Element, { ElementAnimateConfig } from 'zrender/lib/Element'; import { UniversalTransitionOption } from '../util/types'; declare type DescendentPaths = Path[]; export declare function applyMorphAnimation(from: DescendentPaths | De...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE.md in the project root for license information. *----------------------------------------------------------------...
export interface MessageToSend { senderId: number; recipientId: number; content: string; }
import { DtoListBase } from './dto-list-base'; export interface DtoListData<T extends DtoListBase> { listData: Array<T>; count: number; }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ar" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Snatcoin</source> <translation>عن Snatcoin</translation> </messa...
import { baseStyle, iconStyle, iconTypes, iconWeights } from 'msteams-ui-icons-core'; import * as PropTypes from 'prop-types'; import * as React from 'react'; import { classes } from 'typestyle'; function values(obj: {[key: string]: string|number}): Array<string|number> { const vals = []; for (const key in obj) { ...
import Component from '@glimmer/component'; import { noop } from 'lodash'; import { IDynamicLinkParams } from 'dynamic-link/components/dynamic-link'; import { TopConsumer } from '@datahub/metadata-types/constants/metadata/top-consumers'; interface ITopConsumersInsightStripArgs { /** * Title of the top consumer in...
/* tslint:disable */ /* eslint-disable */ /** * Qase.io API * Qase API Specification. * * The version of the OpenAPI document: 1.0.0 * Contact: support@qase.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class ...
export const c_search_input__text_input_PaddingBottom: { "name": "--pf-c-search-input__text-input--PaddingBottom", "value": "0.375rem", "var": "var(--pf-c-search-input__text-input--PaddingBottom)" }; export default c_search_input__text_input_PaddingBottom;
import { Rabbit } from '../index'; export = Rabbit;
import { Component, EventEmitter, Input, Output, QueryList } from "@angular/core"; import { FormGroup } from "@angular/forms"; import { DynamicFormControlComponent, DynamicFormControlCustomEvent, DynamicFormGroupModel, DynamicFormLayout, DynamicFormLayoutService, DynamicFormValidationService, ...
/** * バリデーターミドルウェア * リクエストのパラメータ(query strings or body parameters)に対するバリデーション * @module middlewares.validator */ import * as ttts from '@tokyotower/domain'; import * as createDebug from 'debug'; import { NextFunction, Request, Response } from 'express'; import { } from 'express-validator'; // 型を読み込んでおかないとテストコードでコン...
<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 { DecoratorCompiler } from './DecoratorCompiler'; export default [DecoratorCompiler];
import { AST_NODE_TYPES } from '@typescript-eslint/experimental-utils'; import { createRule, getNodeName, isDescribeCall, isTestCaseCall, } from './utils'; export default createRule({ name: __filename, meta: { docs: { category: 'Best Practices', description: 'Use `.only` and `.skip` over `f...
import { DeserializedCommand } from '../../CommandBase' import { AtemState, AtemStateUtil, InvalidIdError } from '../../../state' import { UpstreamKeyerFlySettings } from '../../../state/video/upstreamKeyers' export class MixEffectKeyFlyPropertiesGetCommand extends DeserializedCommand<UpstreamKeyerFlySettings> { publ...
import { exec, ExecException } from 'child_process' import ffmpeg from 'fluent-ffmpeg' import * as fs from 'fs' import { RandomName, isUrl }from '../functions/function' import { videoToWebp, pngToWebp } from '../routers/api'; import { WebpCircle, ImgCircle } from "." export async function createExif (pakage: string, ...
/** * Copyright 2020 The AMP HTML 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 require...
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ export const environment = { production: false, limit: 12, relativeImg_limit: 20, apiUrl: 'https://tapha-shop-api.herokuapp.com/api', logo: 'TAPHA' // ...
import { commonStyles } from '../../storybook/helper.stories.argtypes'; import { popoverArgTypes } from '../Popover/Popover.stories.args'; import { MENU_TRIGGER_PLACEMENTS } from './MenuTrigger.constants'; export default { ...commonStyles, children: { description: 'First Child is the Target (button). All...
export enum HotKey { STYLE, SEARCH, SAVE, IMPORT, EXPORT, CREATE_NEW_SNIPPET, VIEW_REMAINING_SNIPPETS, UNDO }
/*********************************************************** * Copyright (C) 2022 * Worktez * * This program is free software; you can redistribute it and/or * modify it under the terms of the MIT License * * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without ...
/** * Copyright 2020 Goldman Sachs * * 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 React, { SVGProps } from 'react'; import { IIblisReactUndrawProps } from '../iblis_react_undraw_props'; export const SvgAddNotes = (props: IIblisReactUndrawProps & SVGProps<SVGSVGElement>) => ( <svg data-name="Layer 1" viewBox="0 0 853 603.81" className={props.class} width="100%" height={pr...
import React from 'react'; import { RadioField } from 'uniforms-patternfly'; import createContext from './_createContext'; import mount from './_mount'; test('<RadioField> - renders a set of checkboxes', () => { const element = <RadioField name="x" />; const wrapper = mount( element, createContext({ x: { ...
import { Injectable } from '@angular/core'; import { Http, RequestOptions, Headers } from '@angular/http'; import { Config } from 'app/config'; import * as semver from 'semver'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/do'; import { Subject } from 'rxjs/Sub...
import { AvailablePackageReference, InstalledPackageReference, } from "gen/kubeappsapis/core/packages/v1alpha1/packages"; export const app = { apps: { new: ( cluster: string, namespace: string, availablePackageReference: AvailablePackageReference, version: string, ) => { con...
export const intersection = <T>(target: T[], source: T[]): T[] => { const common: T[] = []; const hash: Set<T> = new Set<T>(target); const found: Set<T> = new Set<T>(); for (const value of source) { if (hash.has(value) && !found.has(value)) { common.push(value); found.a...
export const CONFIG = { JWT_SECRET: 'sdakj3e32e7fdsdadhsdjhjhasdas2SD7y2u@^%#ffs2', PRIVATE_KEY: 'jhasdas2SD7y2u@^%#fsda2SDDD&*&*(@Dhuhsd', };
import { Instruction, Type, i32load, i32const, i32store, localSet, localGet, ifelse, createFunctionBody, createLocalDeclaration, } from 'bytecode-utils'; import { MemoryTypes, ModuleGenerator } from '../types'; export enum Memory { DEFAULT_VALUE, INPUT_POINTER, OUTPUT, } enum Locals { INPUT, __LENGTH, ...
export const c_label_m_green__content_Color: { "name": "--pf-c-label--m-green__content--Color", "value": "#0f280d", "var": "var(--pf-c-label--m-green__content--Color)" }; export default c_label_m_green__content_Color;
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient"; import { CreateInstanceProfileRequest, CreateInstanceProfileResponse } from "../models/models_0"; import { deserializeAws_queryCreateInstanceProfileCommand, serializeAws_queryCreateInstanceProfileCommand, } from "../proto...
import { JSONObject } from './json'; import { MitosisNode } from './mitosis-node'; /** * @example * // import core, { useState, someThing as someAlias } from '@builder.io/mitosis' * { * path: '@builder.io/mitosis', * imports: { * useState: 'useState', * someAlias: 'someThing', * core: 'd...