text stringlengths 10 953k |
|---|
/*
* 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 deepEqual from 'fast-deep-equal';
import { noop } from 'lodash/fp';
im... |
import { Component, h, Prop, Element, Event, EventEmitter, State, Watch } from '@stencil/core';
import { minMax, animateCirclePosition, BLACK, WHITE, n2a, getHoshi } from '../../utils/utils';
@Component({
tag: 'gc-board',
styleUrl: 'board.css',
shadow: false
})
export class Board {
@Element() el: HTMLElement;... |
export const c_dropdown__toggle_m_secondary_hover_before_BorderWidth: {
"name": "--pf-c-dropdown__toggle--m-secondary--hover--before--BorderWidth",
"value": "2px",
"var": "var(--pf-c-dropdown__toggle--m-secondary--hover--before--BorderWidth)"
};
export default c_dropdown__toggle_m_secondary_hover_before_BorderWid... |
/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import { Signer } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import { Contract, ContractFactory, Overrides } from "@ethersproject/contracts";
import { TestLibBytesUtils } from "./TestLibBytesUtils";
export cl... |
import { NewlinkModule } from './newlink.module';
describe('NewlinkModule', () => {
let chartsModule: NewlinkModule;
beforeEach(() => {
chartsModule = new NewlinkModule();
});
it('should create an instance', () => {
expect(chartsModule).toBeTruthy();
});
}); |
import * as mongoose from "mongoose";
import { MyModel } from "./definitions";
// dummy variables
var cb = function () {};
/*
* section document.js
* https://mongoosejs.com/docs/api/document.html
*/
var doc = new mongoose.Document();
doc.$isDefault("path").valueOf();
doc.$locals.field = "value";
const docDotDepop... |
import * as React from "react";
import { Theme, WithStyles } from "@material-ui/core";
interface DayProps extends WithStyles<typeof styles> {
filled?: boolean;
outlined?: boolean;
highlighted?: boolean;
disabled?: boolean;
startOfRange?: boolean;
endOfRange?: boolean;
onClick?: () => void;
... |
import { Data } from "@ot-builder/prelude";
import { XPrv } from "./xprv";
export { XPrv } from "./xprv";
export interface OtExtPrivate {
xPrv?: Data.Maybe<XPrv.Table>;
} |
const { Kafka } = require('kafkajs');
require('dotenv').config();
// Create the client with the broker list
const kafka = new Kafka({
clientId: 'fail-fast-producer',
brokers: [process.env.KAFKA_BOOTSTRAP_SERVER],
ssl: true,
sasl: {
mechanism: 'plain',
username: process.env.KAFKA_USERNAME,
password:... |
export class Greeter {
private greeting: string;
constructor(greeting: string) {
this.greeting = greeting;
}
greet(name: string): string {
return this.greeting.replace("{name}", name.length > 0 ? name : "World");
}
} |
import createIcon, { JSX } from './utils/createIcon'
export const jsx: JSX = {
type: 'svg',
props: {
xmlns: 'http://www.w3.org/2000/svg',
viewBox: '0 0 24 24'
},
children: [
{
type: 'g',
props: null,
children: [
{
type: 'path',
props: {
fill... |
import { Component, Input, OnInit } from '@angular/core';
import { Event } from '../../model/event'
@Component({
selector: 'sm-timeline-event',
templateUrl: 'timeline-event.component.html'
})
export class TimelineEventComponent implements OnInit {
@Input() timelineEvent: Event;
@Input() direction: string;
@... |
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: release-1.24
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*... |
import { Rule } from '@angular-devkit/schematics';
import { Options } from 'prettier';
import * as cosmiconfig from 'cosmiconfig';
import { angularJsVersion } from '../lib-versions';
import { updateJsonInTree } from './ast-utils';
import { normalize } from '@angular-devkit/core';
export function addUpgradeToPackageJs... |
import { Constants, Options } from 'discord.js'
import { HTTP } from '../Constants'
import Axios from 'axios'
export interface BotGateway {
url: string
shards: number
session_start_limit: {
total: number
remaining: number
reset_after: number
max_concurrency: number
}
}
export async function ge... |
// src/node.ts
// Copyright 2018-2020 Leo C. Singleton IV <leo@leosingleton.com>
import * as fsAsync from './fsAsync';
import { GlslFile } from './minify';
import * as path from 'path';
/** Implementation of ReadFileImpl for NodeJS */
export async function nodeReadFile(filename: string, directory?: string): Promise<G... |
import {ComponentFixture, TestBed} from '@angular/core/testing';
import {ErrorPageComponent} from './error-page.component';
describe('ErrorPageComponent', () => {
let component: ErrorPageComponent;
let fixture: ComponentFixture<ErrorPageComponent>;
beforeEach(async () => {
await TestBed.configure... |
import { IChecker } from "./interface";
import {
DatabaseNotFound,
HungarianNotation,
InvalidLimitQuantifier,
MissingWhere,
OddCodePoint,
TrailingWhitespace,
UnmatchedParentheses,
MySqlError,
MySqlInvalidAlterOption,
MySqlInvalidCreateOption,
MySqlInvalidDropOption,
MySqlInvalidTruncateOption,
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
export declare abstract class AbstractControl {
asyncValidator: AsyncValidatorFn | null;
readonly dirty: boolean;
readonly disabled: boolean;
readonly enabled: boolean;
readonly errors: ValidationErrors | null;
readonly invalid: boolean;
readonly parent: FormGroup | FormArray;
readonly p... |
import {
deployImageInitialValues,
getDeploymentData,
getExternalImagelValues,
getIconInitialValues,
getKsvcRouteData,
getServerlessData,
getUserLabels,
} from '@console/dev-console/src/components/edit-application/edit-application-utils';
import {
getHealthChecksData,
getProbesData,
} from '@console/d... |
import {BurstValue} from '@burstjs/util';
export interface SendArgs {
accountId: string;
alias?: string;
balance: BurstValue;
address: string;
origin: string;
} |
/* tslint:disable */
/* eslint-disable */
/**
* KubeVirt API
* This is KubeVirt API an add-on for Kubernetes.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-ge... |
import { styled } from 'styles/stitches.config'
export const Wrapper = styled('div', {
bg: 'linear-gradient(90deg, rgba(71, 64, 83, 0.3) 0%, rgba(71, 64, 83, 0) 100%)',
border: '1px solid $gray400',
br: '$sm',
mx: '$4',
'& .item': {
display: 'flex',
align: 'center',
justify: 'space-between',
... |
import { IHeavyCellProps } from "../types";
import { Tooltip, Stack, Avatar } from "@mui/material";
import { format } from "date-fns";
import { DATE_TIME_FORMAT } from "constants/dates";
export default function User({ value, column }: IHeavyCellProps) {
if (!value || !value.displayName) return null;
const chip ... |
import { WORDS } from '../constants/wordlist'
import { VALIDGUESSES } from '../constants/validGuesses'
export const isWordInWordList = (word: string) => {
return (
WORDS.includes(word.toLowerCase()) ||
VALIDGUESSES.includes(word.toLowerCase())
)
}
export const isWinningWord = (word: string) => {
return ... |
export declare const INIT_COORDS = "dnd-core/INIT_COORDS";
export declare const BEGIN_DRAG = "dnd-core/BEGIN_DRAG";
export declare const PUBLISH_DRAG_SOURCE = "dnd-core/PUBLISH_DRAG_SOURCE";
export declare const HOVER = "dnd-core/HOVER";
export declare const DROP = "dnd-core/DROP";
export declare const END_DRAG = "dnd-... |
import React from "react"
const Content = (props: { children: any }) => {
return (
<div className="content">
<div className="container-fluid">{props.children}</div>
</div>
)
}
export default Content |
/*
* 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';
export defau... |
export * from "./client";
export * from "./common";
export * from "./interfaces"; |
import type { ComponentPropsWithoutRef } from 'react';
export type IEllipsisIcon = ComponentPropsWithoutRef<'svg'>;
function EllipsisIcon({
strokeWidth = 2,
fill = 'none',
...rest
}: IEllipsisIcon): JSX.Element {
return (
<svg
fill={fill}
stroke="currentColor"
xmlns="http://www.w3.org/20... |
import { createContext, useContext } from 'react';
import { CachePersistor } from 'apollo3-cache-persist';
import { NormalizedCacheObject } from '@apollo/client';
const PersistorContext = createContext<
CachePersistor<NormalizedCacheObject>
>({} as CachePersistor<NormalizedCacheObject>);
const PersistorContextProvi... |
// Copyright (c) 2022, Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
import { Body, Controller, Post, Route, Response, SuccessResponse } from 'tsoa';
import {
AirdropService,
AirdropClaimRequest,
AirdropClaimResponse,
} from './airdropService';
interface ValidateErrorJSON {
message: 'Valida... |
import * as fs from 'fs';
const json2csv: Function = require('json2csv');
export class IO {
static GetQueries(): Promise<string[]> {
return new Promise((resolve, reject) => {
fs.readFile('./queries', 'utf8', function(err: any, queryLines: any) {
if (err || typeof queryLines === ... |
import * as React from 'react';
export interface TimeLineItemProps {
prefixCls?: string;
className?: string;
color?: string;
dot?: React.ReactNode;
pending?: boolean;
style?: React.CSSProperties;
}
export default class TimelineItem extends React.Component<TimeLineItemProps, any> {
static def... |
export interface AuthBearer{
state : number;
msg : string;
data : any;
} |
import React, { useCallback, useEffect, useMemo, useState } from "react";
import { createEditor, Editor, Node, Range, Text } from "slate";
import { withHistory } from "slate-history";
import { DefaultLeaf, Editable, ReactEditor, Slate, useEditor, useSelected, useSlate, withReact } from "slate-react";
export function E... |
import { browser, element, by } from 'protractor/globals';
export class Ng2AdminLtePage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
} |
/**
* @license
* Copyright 2020 Google 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 ... |
/**
* @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
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
function plural(n: number... |
export interface NotificationType {
name: string;
color: string;
} |
import createChannel from '@storybook/channel-postmessage';
import { toId } from '@storybook/csf';
import addons, { mockChannel } from '@storybook/addons';
import Events from '@storybook/core-events';
import store2 from 'store2';
import StoryStore from './story_store';
import { defaultDecorateStory } from './decorator... |
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'~/': `${process.cwd()}/src/`,
},
},
server: {
host: '0.0.0.0',
open: true,
},
build: {
sourcemap: tru... |
import React, { useEffect, useState } from "react";
import { useNetTableValues, useRegisterForUnhandledEvent } from "react-panorama";
import Minimap from "./components/Minimap/Minimap";
import Settings from "./components/Settings/Settings";
import ButtonGroup from "./components/ButtonGroup/ButtonGroup";
import Heroes f... |
import { createAsyncThunk } from "@reduxjs/toolkit"
import { RootEntity } from "@shellfish/models"
import { AxiosResponse } from "axios"
import { environment } from "../../environments/environment"
import { http } from "../../services/http"
const handleRequest = async <T>(requestFn: Promise<AxiosResponse<T>>) => {
... |
/**
* @fileoverview A thin wrapper around Binaryen's C-API.
*
* The AssemblyScript compiler utilizes Binaryen's C-API directly. Even
* though it currently imports binaryen.js, none of the JS APIs it
* provides are used.
*
* @license Apache-2.0
*/
import { BuiltinNames } from "./builtins";
import { Target } fro... |
/*
* 声明文件
* 声明文件或模块的语法格式如下:
* declare module Module_Name {
}
* 引入声明文件的语法:
* /// <reference path = " runoob.d.ts" />
* */
declare module Runoob {
export class Calc {
doSum(limit: number): number;
}
} |
import { Link, useDeno } from 'https://deno.land/x/aleph/mod.ts'
import React, { useState } from 'https://esm.sh/react'
import { getSortedPostsData } from '../lib/posts.ts'
import { BlogPosts } from './posts.tsx'
export default function Home() {
const allPostsData = useDeno(async () => await getSortedPostsData())
... |
import { createEffect } from "@lincode/reactivity"
import { Color, EquirectangularReflectionMapping } from "three"
import scene from "./scene"
import loadCubeTexture from "../../display/utils/loaders/loadCubeTexture"
import loadTexture from "../../display/utils/loaders/loadTexture"
import { getBackgroundColor } from ".... |
// tom-weatherhead/thaw-grammar/src/languages/lambda-calculus-integer-extension/lambda-calculus-integer-extension-grammar.ts
import {
GrammarSymbol,
IToken,
LexicalState,
// ParserSelector,
SemanticStackType
} from 'thaw-interpreter-types';
import { Name } from 'thaw-interpreter-core';
// import { Name } from '... |
import { map } from 'rxjs/operators';
import { Injectable, Input } from '@angular/core';
import { UserService } from './../user/user.service';
import { ContentService } from './../content/content.service';
import { ConfigService, ServerResponse, ResourceService } from '@sunbird/shared';
import { Observable } from 'rxjs... |
import cloudwatch = require("@aws-cdk/aws-cloudwatch");
declare module "./vpn" {
interface IVpnConnection {
/**
* Return the given named metric for this VPNConnection
*/
metric(metricName: string, props?: cloudwatch.MetricCustomization): cloudwatch.Metric;
/**
* Th... |
declare module '@realrisman/mxgraph' {
class mxCircleLayout {
x0: number;
y0: number;
radius: number;
moveCircle: boolean;
disableEdgeStyle: boolean;
constructor(graph: mxGraph, radius?: number);
execute(parent: mxCell): void;
getRadius(count: number, max: number): number;
}
} |
import { async, fakeAsync, ComponentFixture,TestBed,tick } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { AppComponent } from './app.component';
import {UserService} from './app.service';
import {TwainQuoteService} from './t... |
import { CognitoConfiguration } from '../../../../provider-utils/awscloudformation/service-walkthrough-types/awsCognito-user-input-types';
import { FeatureFlags } from 'amplify-cli-core';
FeatureFlags.getBoolean = () => false;
import { AttributeType } from '../../../../provider-utils/awscloudformation/service-walkthrou... |
import { array, lazy, object, optional, Schema, string } from '../schema';
import { Error, errorSchema } from './error';
import { WorkweekConfig, workweekConfigSchema } from './workweekConfig';
/**
* The response to a request for a set of `WorkweekConfig` objects. Contains
* the requested `WorkweekConfig` objects. M... |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { Employee } from '../models/employee';
import { EmployeeService } from '../services/employee.service';
@Component({
selector: 'my-employees',
templateUrl: './employees.component.html',
styleUrls: ['./employees.co... |
const {ethers} = require("hardhat");
const { BigNumber } = require("ethers")
export const BASE_TEN = 10
export const ADDRESS_ZERO = "0x0000000000000000000000000000000000000000"
export function encodeParameters(types, values) {
const abi = new ethers.utils.AbiCoder()
return abi.encode(types, values)
}
export asy... |
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/gulp-cached/gulp-cached.d.ts
declare module "gulp-cached"
{
interface ICacheStore
{
[name: string]: {};
}
interface IOptions
{
/**
*... |
export class DataUtils
{
//Helper function to retrieve a column from a 2D array
public static extractColumn(arr : any[][], colIndex : number) {
return arr.map((elem) => { return elem[colIndex]; });
}
} |
import * as kulado from "@kulado/kulado";
import * as cloud from "@kulado/cloud";
import * as crypto from "crypto";
import * as slack from "@slack/client";
import { formatSlackMessage } from "./util";
const config = new kulado.Config();
const stackConfig = {
// Webhook secret used to authenticate messages. Mus... |
/* eslint-disable @typescript-eslint/no-explicit-any */
import {
ComponentFixture,
TestBed,
fakeAsync,
tick
} from '@angular/core/testing';
import { PaginationModule, PaginationComponent } from '../index';
describe('Component: Pagination:', () => {
let fixture: ComponentFixture<PaginationComponent>;
let co... |
import { Container } from "./container";
import { BindFunction } from "./binder";
/**
* An object that may be used to represent and request a container-managed object.
*/
export type Identifier<T = any> = string | symbol | AutoBoundIdentifier<T>;
/**
* Identifiers capable of being automatically bound based on deco... |
import * as Faker from 'faker';
import { EntityRepository, Repository } from 'typeorm';
import { Client } from './client.entity';
@EntityRepository(Client)
export class ClientRepository extends Repository<Client> {
createFaker(): Promise<Client> {
const client: Partial<Client> = {
lastname: Faker.name.last... |
import { Component, Inject } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import {
Blog,
HeaderPromoInput,
Kudos,
User,
UserPreferences,
} from '@flare/api-interfaces';
import { AuthService, CURRENT_USER } from '@flare/ui/auth';
import {
combineLatest,
filter,
map,
Observabl... |
export default {
"token": process.env.FIGMA_TOKEN as string,
"webhook_passcode": process.env.WEBHOOK_PASSCODE as string,
"matrixOpts": {
"homeserverUrl": process.env.MATRIX_HOMESERVER_URL as string,
"accessToken": process.env.MATRIX_ACCESS_TOKEN as string,
},
"adminRoom": (process.en... |
import 'react-native-gesture-handler';
import React from 'react';
import { View, StatusBar } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import AppProvider from './hooks';
import Routes from './routes';
const App: React.FC = () => (
<NavigationContainer>
<StatusBar ba... |
import React, { useMemo, useState } from 'react';
import { SelectableValue, toOption } from '@grafana/data';
import { AccessoryButton, EditorList, InputGroup } from '@grafana/experimental';
import { Select } from '@grafana/ui';
import { CloudWatchDatasource } from '../../datasource';
import { QueryEditorExpressionType,... |
import { instantiateFuncSpec, isObject, isFuncSpec } from './utils';
function instantiate(n: unknown, ctx: unknown): unknown {
if (!isObject(n) || typeof n !== 'object' || n === null) {
return n;
}
Object.entries(n).forEach(([key, v]) => {
if (isFuncSpec(v)) {
Reflect.set(n, key, instantiateFuncSp... |
import { IsEnum, IsString } from 'class-validator';
import { Actions } from '../enums/actions.enum';
import { enumToString } from '../../helpers/enum-helper';
export class SendCodeDto {
@IsEnum(Actions, {
message: `Значение должно быть одним из: ${enumToString(Actions)}`,
})
action: Actions;
@IsString({ m... |
import {Observable} from 'rxjs';
import {DontCodeStoreProvider, DontCodeStoreProviderWithConfig} from "./dont-code-store-provider";
import {DontCodeModelManager} from "../model/dont-code-model-manager";
import {DontCodeEntityType, DontCodeSourceType} from "../globals";
import {DontCodeSchema} from "../model/dont-code-s... |
import { ComponentFixture, inject, TestBed } from '@angular/core/testing';
import { ElementRef, Renderer } from '@angular/core';
import { of, throwError } from 'rxjs';
import { JBlogTestModule } from '../../../../test.module';
import { PasswordResetInitComponent } from 'app/account/password-reset/init/password-reset-i... |
import { isClickType } from '../../click/is-click-type';
import { clickToTarget } from '../../click/to/click-to-target';
import { linkToTarget } from '../../link/to/link-to-target';
import { IClickOrLinkType } from '../click-or-link-type.type';
export function clickOrLinkTypeToTarget(
value: IClickOrLinkType,
): str... |
export default function CompatibleParameters(
value : unknown,
valid : boolean,
expect : string,
subject : string = 'type',
conversion : (value:unknown)=>string = value=>typeof value,
) : string {
const messages : string[] = [];
messages.push(subject);
if(valid) {
messages.push('is... |
import { Between, getRepository } from "typeorm";
import { format } from 'date-fns';
import AppErrors from "../../../utils/errors/AppErrors";
import Task from "../entities/Task";
import VerifyRunningTaskToday from '../services/VerifyRunningTaskToday';
interface IFindTaskToExecuteUserService {
id: string;
}
class ... |
/**
* @format
*/
import { EthereumChainId } from 'src/utils/constants';
import { ThemeName } from 'src/utils/types';
export const SET_FIRST_RUN = 'SET_FIRST_RUN';
export const SET_LANGUAGE = 'SET_LANGUAGE';
export const SET_THEME_NAME = 'SET_THEME_NAME';
export const SET_NETWORK = 'SET_NETWORK';
export const SET_ACC... |
import * as React from 'react';
import { PureComponent } from 'react';
import { EmojiDescription, EmojiId } from '../src/types';
import { toEmojiId } from '../src/type-helpers';
import { EmojiSearchResult } from '../src/api/EmojiRepository';
import { EmojiProvider, OnEmojiProviderChange } from '../src/api/EmojiResourc... |
import { readHeader } from '@main/entities/resource';
import { pipeline, sha1ByPath } from '@main/util/fs';
import { openCompressedStreamTask } from '@main/util/zip';
import { Modpack } from '@universal/entities/modpack';
import { Resource, Resources, UNKNOWN_RESOURCE } from '@universal/entities/resource';
import { Res... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { AssistanceRoutingComponent } from './assistance-routing.component';
describe('AssistanceRoutingComponent', () => {
let component: AssistanceRoutingComponent;
let fixture: ComponentFixture<AssistanceRoutingComponent>;
beforeEach(... |
// ==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... |
/*
* === MWV - Wind speed and angle ===
*
* ------------------------------------------------------------------------------
* 1 2 3 4 5
* | | | | |
* $--MWV,x.x,a,x.x,a*hh<CR><LF>
* ------------------------------------------------------------------------------
*
* Field Number:
*
* 1. Wi... |
import { UserGuard } from './user.guard';
describe('UserGuard', () => {
it('should be defined', () => {
expect(new UserGuard()).toBeDefined();
});
}); |
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
import { faCalendarAlt, faInfoCircle, faPen, faPlus, faTrashAlt, faAngry, faSpinner } from '@fortawesome/free-solid-svg-icons';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { RaidGroup } from 'src/app/shared/ap... |
export interface PropertyOption
{
id: string;
name: string;
label: string;
} |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { DialogContent } from 'src/app/core/models/dialog-content.model';
import { TableColumnModel } from 'src/app/core/models/table-column.model';
import { TableFilterValueModel } from 'src/app/core/models/table-filter-value.... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lv_LV" version="2.0">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About RonPaulCoin Core</source>
<translation type="unfinished"/>
</message>
<message>
<loc... |
import Vue from 'vue';
import NotificationTopBar from '@/components/NotificationTopBar.vue'
import { expect } from 'chai';
import Notification from '../../../src/lib/Notification'
import store from '../../../src/store/store'
import utils from '../lib/testUtils'
describe('NotificationTopBar.vue', () => {
let vm: any;... |
/*
* The MIT License
*
* Copyright 2017 kuniaki.
*
* 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... |
export const columns:{
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'name',
width: 30,
},
{
key: 'value',
width: 20,
},
{
key: 'detail',
width: 50,
},
]; |
import { Component, OnChanges, Input, SimpleChanges, Output, EventEmitter } from '@angular/core';
import { UserControlService } from '../../service/user-control.service';
const DELETE = {
revoked: true,
assigned: true,
};
const ASSIGN = {
assignable: true,
};
@Component({
selector: 'app-expand-collapsed-pane... |
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, ContractFactory, Signer } from "ethers";
import { Provider } from "ethers/providers";
import { UnsignedTransaction } from "ethers/utils/transaction";
import { TransactionOverrides } from "..";
import { Malicio... |
import { BaseComponent } from "@applications/core";
export abstract class DemoMaterialAddressBaseComponent extends BaseComponent {
text = "DemoMaterialAddress";
constructor() {
super();
}
} |
import * as React from 'react';
import { Div } from '../Div';
import {
useTheme, bindFunctionalRef, getClassNames, useProps,
} from '../../utils';
import { VStepperItem } from './VStepperItem';
import { VStepperContext } from './VStepperContext';
import { getChildren } from './helpers';
import { COMPONENTS_NAMESPACES... |
///<reference path="../node_modules/grafana-sdk-mocks/app/headers/common.d.ts" />
import _ from 'lodash';
import moment from 'moment';
import { createEpochTimeRangeBoundary } from './time_range_boundary.util';
const durationSplitRegexp = /(\d+)(ms|s|m|h|d|w|M|y)/;
// Things we still need to do:
// - Fully understand... |
/*
* Copyright 2021 Collate
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing,... |
import 'animate.css/animate.min.css';
import classNames from 'classnames';
import React, { FunctionComponent, useEffect, useState } from 'react';
import { NotificationItem } from './NotificationItem';
import {
NotificationMessage,
NotificationPanelProps,
} from './NotificationPanel.interface';
import styles from '.... |
export interface PictureparkConfiguration {
apiServer?: string;
customerAlias?: string;
} |
// /src/action/invert_colors/materialiconsoutlined/24px.svg
import { createSvgIcon } from './createSvgIcon';
export const SvgInvertColorsOutlined = createSvgIcon(
`<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24">
<g>
<path d="M0,0h24v24H0... |
import {PlatformTestOptions} from "../interfaces";
import {testAcceptMime} from "./testAcceptMime";
import {testAuth} from "./testAuth";
import {testBodyParams} from "./testBodyParams";
import {testChildrenControllers} from "./testChildrenControllers";
import {testCookies} from "./testCookies";
import {testCtrlInherita... |
// *** 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 { input as inputs, output as outputs, enums } from "../../types";
import * as utilities from "../../utilities";
/*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.