text stringlengths 10 953k |
|---|
import { Extension } from '.';
import { NavSectionTitle } from '@console/internal/components/nav/section';
import {
NavLinkProps,
HrefLinkProps,
ResourceNSLinkProps,
ResourceClusterLinkProps,
} from '@console/internal/components/nav/items';
namespace ExtensionProperties {
interface NavItem {
section: Na... |
version https://git-lfs.github.com/spec/v1
oid sha256:9dc71b1319bc702be96f2c198664723c906db1f4c97ab7e484950d704cbafa69
size 1679 |
<TS language="fi" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Valitse hiiren oikealla painikkeella muokataksesi osoitetta tai nimikettä</translation>
</message>
<message>
<source>Create a new a... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru_RU">
<context>
<name>Form</name>
<message>
<source>Tracker settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source><html><head/><body><p&g... |
import { Component, OnInit, OnDestroy } from '@angular/core';
import { Subscription } from 'rxjs';
import { StashService } from '../../core/stash.service';
@Component({
selector: 'app-settings',
templateUrl: './settings.component.html'
})
export class SettingsComponent implements OnInit, OnDestroy {
progress: n... |
import { computed, observable } from 'mobx';
import DriverNodeData from './DriverNodeData';
export default class DriverEntry extends DriverNodeData {
@observable
Name: string;
@observable
Car: string;
@observable
License: string;
@observable
avatarurl: string;
@observable
currency: string = '';
@... |
// Copyright 2021 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
import { expect } from "chai";
import { stub } from "sinon";
import * as React from "react";
import { mount } from "enzyme";
import { mockRouterContext } from "./routing";
import buildStore from "../../store";
import Admin from "../../models/Admin";
import ResetAdobeId from "../ResetAdobeId";
import ManagePatronsTab... |
/*
* Copyright 2017-2019 Allegro.pl
*
* 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... |
/*!
* Copyright 2011-2021 Unlok
* https://www.unlok.ca
*
* Credits & Thanks:
* https://www.unlok.ca/credits-thanks/
*
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
* ... |
import { Injectable } from '@angular/core';
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
declare const navigator: any;
export interface Coordinates {
/**
* a double representing the position's latitude in decimal degrees.
*/
latitude... |
const throttle = <T extends []>(
cb: (..._: T) => void,
wait = 500 /* ms */
): ((..._: T) => void) => {
let queued: boolean;
const invoke = (...args: T) => {
if (!queued) {
queued = true;
cb(...args);
setTimeout(() => {
queued = false;
}, wait);
}
};
return invoke;
... |
import * as React from 'react'
export type HiddenProps<TProps, TComponent extends React.ElementType<TProps>> = {
hidden: boolean
type: 'layout' | 'visual'
component?: TComponent
} & TProps
export const Hidden = React.forwardRef(
function VisuallyHidden<TProps, TComponent extends React.ElementType<TProps>> ({
... |
import m from 'mithril';
import { InjectType } from '../../../../models';
import { Icon } from 'mithril-materialized';
import { getMessageIconFromTemplate, getInjectIcon, getInject, getMessageTitleFromTemplate } from '../../utils';
import { ManualTransition } from './manual-transition';
import { MessageForm } from '../... |
import { register } from '../../core';
import Column from './Column';
import GridSource from './Grid';
import Row from './Row';
import childrens from './childrens';
import GridStructure from './structure';
const Grid = register('Grid', GridStructure, null, {
childrens: childrens,
})(GridSource);
export { Grid, Row... |
import { expect, haveResource } from '@aws-cdk/assert';
import iam = require('@aws-cdk/aws-iam');
import kms = require('@aws-cdk/aws-kms');
import s3 = require('@aws-cdk/aws-s3');
import { Stack } from '@aws-cdk/cdk';
import { Test } from 'nodeunit';
import sqs = require('../lib');
import { Queue } from '../lib';
// t... |
import parseScript from 'shift-parser';
import * as Shift from 'shift-ast';
import codegen, { FormattedCodeGen } from 'shift-codegen';
import Modification from './modification';
import ProxyRemover from './modifications/proxies/proxyRemover';
import ExpressionSimplifier from './modifications/expressions/expressionSimpl... |
// Type definitions for node-vault 0.9.8
// Project: https://github.com/kr1sp1n/node-vault
// Definitions by: Jianrong Yu <https://github.com/YuJianrong>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as request from "request";
declare namespace NodeVault {
... |
import {Component, Input} from '@angular/core';
import {HsStylerService} from '../../styler.service';
@Component({
selector: 'hs-rule-list-item',
templateUrl: 'rule-list-item.component.html',
styleUrls: ['../../styler.component.scss'],
})
export class HsRuleListItemComponent {
@Input() rule: any;
ruleVisibl... |
import {
ActionPanel,
ActionPanelItem,
ActionPanelSection,
allLocalStorageItems,
CopyToClipboardAction,
Form,
FormValue,
getLocalStorageItem,
getPreferenceValues,
Icon,
List,
PushAction,
removeLocalStorageItem,
setLocalStorageItem,
showToast,
SubmitFormAction,
ToastStyle,
useNavigati... |
export default [
"@league-of-foundry-developers\\foundry-vtt-types\\src\\foundry\\foundry.js\\applications\\formApplications\\documentSheets\\activeEffectConfig.d.ts",
] |
/*
* Copyright (C) 2017/2019 e-voyageurs technologies
*
* 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... |
/* eslint-disable import/default */
import React from 'react';
import {render} from 'react-dom';
import * as ReactDOM from "react-dom";
import { Provider } from 'react-redux';
import { Router, browserHistory } from 'react-router';
import routes from './routes';
import configureStore from './store/configureStore';
req... |
import { OperationObject, PathItemObject, SchemaFormatter } from "../types";
import { comment, tsReadonly } from "../utils";
import { transformHeaderObjMap } from "./headers";
import { transformOperationObj } from "./operation";
import { transformPathsObj } from "./paths";
import { transformResponsesObj, transformReque... |
import EventBus from '@vue-storefront/core/compatibility/plugins/event-bus'
import * as types from './mutation-types'
import { ActionTree } from 'vuex'
import RootState from '@vue-storefront/core/types/RootState'
import OrderState from '../types/OrderState'
import { Order } from '../types/Order'
import { isOnline } fro... |
import { FormsModule } from '@angular/forms';
import { ComponentFixture, TestBed, fakeAsync, tick, flush, async } from '@angular/core/testing';
import { ActivatedRoute } from '@angular/router';
import { Location } from '@angular/common';
import { HeroDetailComponent } from './hero-detail.component';
import { HeroServic... |
export * from './qr-reader'; |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { CallEndReason, IncomingCall } from '@azure/communication-calling';
/**
* Keeps track of the listeners assigned to a particular incoming call because when we get an event from SDK, it doesn't
* tell us which incoming call it is for. ... |
export * from './mapper.module';
export * from './mapper.component';
export { MapExpression, Mappings, MapperState } from './models';
export {
MapperTranslator,
MappingsValidatorFn,
StaticMapperContextFactory,
} from './utils';
export { MapperController, MapperControllerFactory } from './services/mapper-controll... |
import { json, createCategoryNode, createFileNode } from '../mocks-testing';
import {
sortNonJSONItems,
sortJSONItems,
sortItems,
sortFilesByVersion,
getParents,
} from '.';
const node1 = createFileNode({
id: 'id_1',
title: 'document title',
parent: 'Guidelines',
slug: '/Guides/Guidelines/document_ti... |
import { test } from '@oclif/test';
import { expect } from 'chai';
export const stopProcesses = function (
flag: string,
expectedProcesses: string[] = []
): void {
const params = ['stop'];
if (flag != null) {
params.push(flag);
}
test
.stdout()
.command(params)
.it(`should stop '${flag}'`... |
/**
* Copyright 2020 Intland Software GmbH
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of cond... |
import React from "react";
import {
keyCodeArrowDown,
keyCodeArrowLeft,
keyCodeArrowRight,
keyCodeArrowUp,
keyCodeEnd,
keyCodeEnter,
keyCodeHome,
keyCodeSpace,
keyCodeTab,
} from "@microsoft/fast-web-utilities";
import Foundation, {
FoundationProps,
HandledProps,
} from "@mic... |
export interface Error {
key?: string;
path?: (string | number)[];
message: string;
type: string;
} |
/*
* (C) Symbol Contributors 2021
*
* 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 { ObjectTypeDefinitionNode } from 'graphql/language'
import {
NamedType,
NonNullType,
FieldDefinition,
ObjectTypeDefinition,
InputValueDefinition,
} from '../../builders'
import { hasDirective } from '../../utilities'
import { whereUniqueInputName } from './build-where-unique-input'
import { createIn... |
import test from 'ava';
import { isNumericString } from './is-numeric-string';
test('it return true for strings representing numbers', t => {
t.true(isNumericString('1.243'));
t.true(isNumericString('1243'));
t.false(isNumericString('1243e'));
t.false(isNumericString('mp4'));
t.false(isNumericString(''));
})... |
import TrackData from '@/types/Track'
import Track from './Track'
interface TracksProps {
tracks: TrackData[]
}
export default function Tracks({ tracks }: TracksProps) {
return (
<div className="tracks">
{tracks.map((track, index) => (
<Track key={track.mbid || track.title} {...track} index={ind... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
// TODO Refactor with Lerna
import { CoreModule } from '../core';
// TODO Refactor with Lerna
import { UiModule } from '../ui';
import { UserRoutingModule } from... |
import { R5_DomainResource } from './R5_DomainResource';
export enum R5_EventTimingEnum{
AC = 'AC',
ACD = 'ACD',
ACM = 'ACM',
ACV = 'ACV',
AFT = 'AFT',
AFT_EARLY = 'AFT.early',
AFT_LATE = 'AFT.late',
C = 'C',
CD = 'CD',
CM = 'CM',
CV = 'CV',
EVE = 'EVE',
EVE_EARLY = ... |
import './styles.global.scss'
export { default as Appbar } from './components/Appbar'
export { default as Button } from './components/Button'
export { default as ButtonToolba } from './components/ButtonToolbar'
export { default as Card } from './components/Card'
export { default as Divider } from './components/Divider... |
/* eslint-disable @typescript-eslint/adjacent-overload-signatures */
import "../../../../styles/n_sass/header/detail-header.sass";
import NavItemCallback from "../../../n_utils/callbacks/NavItemCallback";
class DetailActivityHeader extends HTMLElement {
private _cb: NavItemCallback = null;
// material-icon fav... |
export const setVideoPlaybackRate = (playbackRate?: number) => {
if (!playbackRate) {
chrome.storage.local.get(['playbackRate'], (res) => {
if (res['playbackRate']) {
return setVideoPlaybackRate(res['playbackRate']);
}
});
}
console.log('SETTING RATE', playbackRate);
const videos = d... |
declare namespace ಠ_ಠ.clutz.types {
let a : number ;
let b : boolean ;
let c : string ;
let d : GlobalObject | null ;
let e : any [] | null ;
let f : ( ( ) => string ) [] | null ;
function fn (f : Function ) : Function | null ;
let functionAndUnion : null | ( (a : number , b : any ) => any ) ;
/**
... |
import React, { useState } from 'react';
import { useForm } from 'react-hook-form';
import axios from 'axios';
import { Link, useHistory, useLocation } from 'react-router-dom';
import classNames from 'classnames';
interface FormData {
email: string,
password: string,
}
const Register: React.VFC = () => {
const [lo... |
import shortid from 'shortid'
const generateCode = (prefix: string) => {
const id = shortid.generate()
return `${prefix}-${id}`
}
export default generateCode |
// this icon is missing from the google/material-design-icons repo...
import React from 'react';
type MdHowToRegProps = {
size?: string | number;
};
export const MdHowToReg = ({ size = '1em' }: MdHowToRegProps) => {
return (
<svg
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
... |
import {Component, EventEmitter, Input, OnInit, Output, ViewChild} from '@angular/core';
import {DataTable, SelectItem} from "primeng/primeng";
import {getParticipantMatchForJSON, ParticipantMatch} from "../../models/ParticipantMatch";
import * as firebase from "firebase/app";
import CollectionReference = firebase.fire... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { LineaComponent } from './component/linea/linea.component';
import { ProductoComponent } from './component/producto/producto.component';
@NgModule({
declarati... |
import { FC, useRef, useEffect } from 'react'
import { useUserAvatar } from '@lib/hooks/useUserAvatar'
interface Props {
className?: string
children?: any
}
const Avatar: FC<Props> = ({}) => {
let ref = useRef() as React.MutableRefObject<HTMLInputElement>
let { userAvatar } = useUserAvatar()
return (
<... |
import {runCommand} from '../../util/command';
import {historyOutputFormat} from './util';
export = {
command: 'history [id]',
desc: 'Show job execution history',
builder: yargs => {
yargs.options({
'execution': {
default: undefined,
description: 'An execution ID, last or current',
type: 'string',
... |
import { TOKEN_SYMBOL } from '@/sdk';
export interface FaucetModalProps {
isOpen: boolean;
handleClose: () => void;
}
export interface IFaucetForm {
value: number;
currency: TOKEN_SYMBOL;
}
export interface FaucetSelectCurrencyProps {
defaultValue: TOKEN_SYMBOL;
onSelectCurrency: (currency: TOKEN_SYMBOL)... |
import {
applyDecorators,
createParamDecorator,
ExecutionContext,
SetMetadata,
} from '@nestjs/common';
import { GqlExecutionContext } from '@nestjs/graphql';
import { IGraphqlContext, IRequest } from '../extensions';
export const Claims = createParamDecorator(
(contextType: 'http' | 'graphql', ctx: Executio... |
class Cell {
public tileID: number;
public entityID: number;
public itemIDs: number[];
public visable: boolean;
public discovered: boolean;
constructor(tileID: number = 0, itemIDs: number[] = [], entityID: number = null) {
this.tileID = tileID;
this.entityID = entityID;
... |
/**
* FormValidation (https://formvalidation.io)
* The best validation library for JavaScript
* (c) 2013 - 2021 Nguyen Huu Phuoc <me@phuoc.ng>
*/
import classSet from '../utils/classSet';
import Framework, { FrameworkOptions } from './Framework';
import { IconPlacedEvent } from './Icon';
// Support Milligram fram... |
<TS language="lt_LT" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Paspauskite dešnį pelės klavišą norėdami pakeisti adresą</translation>
</message>
<message>
<source>Create a new address</source... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ArticleComponent } from ... |
export { default as ActionSheet } from './ActionSheet';
export { default as Popup } from './Popup';
export { default as KeyboardInput } from './KeyboardInput';
export { default as Window } from './Window'; |
import * as vscode from "vscode";
import {Commands} from "./commands";
import { ContextsProvider } from "./provider";
import { Storage} from './storage';
import {NewContextsAdapter} from './adapter'
export async function activate(context: vscode.ExtensionContext) {
const storage = Storage(NewContextsAdapter())
co... |
import { CollectionCache, CollectionKey } from "../../../common";
export declare namespace CampaignStatisticsTypes {
const KEY: CollectionKey;
class Entry {
private readonly collectionCache;
readonly type: string;
readonly description: string;
constructor(collectionCache: Collect... |
import { CommonModule } from '@angular/common';
import { DataStoreService } from './store/datastore.service';
import { FilmStripComponent } from './components/widgets/film-strip/film-strip.component';
import { FormsModule } from '@angular/forms';
import { LighthouseService } from "../tools/lighthouse.service";
import {... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
i... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { createLocalVue, mount } from "@vue/test-utils";
import VueCompositionApi from "@vue/composition-api";
import VueI18n from "vue-i18n";
import CustomerSupportLink from "../../../src/ui/components/CustomerSupportLink.vue";
import i18n from "../../../src/service/i18n";
describe("CustomerSupportLink.vue", (): voi... |
import {Component, OnInit, Input} from "@angular/core";
import {Host} from "../host/host.model";
import {GameTemplate} from "./game-template.model";
import {GameTemplateService} from "./game-template.service";
/**
* Created by Mike Ligthart on 25-Nov-16.
*/
@Component({
selector: 'app-game-template-list',
pro... |
import type { Config, PluginCreator } from './types/config'
declare function createPlugin(
plugin: PluginCreator,
config?: Config
): { handler: PluginCreator; config?: Config }
export = createPlugin |
import { ThemeColors } from "../helpers";
interface IProviderProps {
name: string;
logo: string;
description: string;
themeColors: ThemeColors;
onClick: () => void;
}
export declare function Provider(props: IProviderProps): JSX.Element;
export {};
//# sourceMappingURL=Provider.d.ts.map |
import * as React from 'react';
import { Button as ButtonBase, ButtonProps } from '~/common/components/Button';
import './Button.css';
import { EmbyProps, parseEmbyProps } from '~/emby/components/embyProps';
type EmbyButtonProps = ButtonProps & EmbyProps;
export const Button: React.FC<EmbyButtonProps> = props => {
... |
(global as any).requestAnimationFrame = (callback: Function) => setTimeout(callback, 0);
import * as Enzyme from "enzyme";
import * as Adapter from "enzyme-adapter-react-16";
import { TSDI } from "tsdi";
Enzyme.configure({ adapter: new Adapter() });
beforeEach(() => {
(global as any).testResults = {
file... |
import { Image } from 'linode-js-sdk/lib/images';
import { typeLabelLong } from 'src/features/linodes/presentation';
import { safeGetImageLabel } from 'src/utilities/safeGetImageLabel';
export const linodeDescription = (
typeLabel: string,
memory: number,
disk: number,
vcpus: number,
imageId: string | null,
... |
// Nothing to export.
export default {}; |
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { SparkTabbedNavigationComponent } from './sprk-tabbed-navigation.component';
@NgModule({
imports: [CommonModule, RouterModule],
declarations: [SparkTabbedNavigationCompo... |
import Matrioshka from "../__fixtures__/Matrioshka"
import nth from "./nth"
describe("function nth(iterable)", () => {
context("iterable is an array", () => {
context("iterable is empty", () => {
const iterable: number[] = []
it("should return an undefined", () => {
... |
/* eslint-disable camelcase */
import React, { useRef, useCallback } from 'react';
import {
View,
ScrollView,
KeyboardAvoidingView,
Platform,
TextInput,
Alert,
} from 'react-native';
import { useNavigation } from '@react-navigation/native';
import { Form } from '@unform/mobile';
import { FormHandles } from ... |
// This is a generated file from running the "createIcons" script. This file should not be updated manually.
import React, { forwardRef } from "react";
import { FontIcon, FontIconProps } from "@react-md/icon";
export default forwardRef<HTMLElement, FontIconProps>(function PeopleFontIcon(
props,
ref
) {
return (... |
import { BaseResponse, ErrCode } from "../lib/BaseResponse"
import { int64, int32 } from "../lib/less";
/**
* 用户数量
* @method GET
*/
export interface Request {
/**
* 类型
*/
type: int64
/**
* 内容ID
*/
mid?: int64
/**
* 内容项ID
*/
iid?: int64
}
export interface U... |
import * as pdi from "@akashic/pdi-types";
import { SurfaceAtlasSlot } from "./SurfaceAtlasSlot";
/**
* サーフェスアトラス。
*
* 与えられたサーフェスの指定された領域をコピーし一枚のサーフェスにまとめる。
*
* 本クラスのインスタンスをゲーム開発者が直接生成することはなく、ゲーム開発者が利用する必要もない。
*/
export declare class SurfaceAtlas {
/**
* @private
*/
_surface: pdi.Surface;
/*... |
import * as React from "react";
import { Checkbox, Dropdown as DropdownBase, TextField, IDropdownOption, Link, ProgressIndicator } from "@fluentui/react";
import { TextField as MaterialUITextField } from "@material-ui/core";
import { Topology, TpLogicalClusterQuery } from "@hpcc-js/comms";
import { TpGroupQuery } from ... |
import { memo, useMemo } from 'react';
import Typography from '@mui/material/Typography';
import ThemeProvider from '@mui/material/styles/ThemeProvider';
import { AnswerTypeEnum } from '../enums';
import {
SingleChoiceAnswer,
SingleChoiceAnswerProps,
MultiChoiceAnswer,
MultiChoiceAnswerProps
} from './ChoiceAns... |
import * as miio from "miio-api";
import { BasePropsType } from "../humidifier";
import { ValueOf, mapSeries } from "../utils";
/**
* High level API for the device.
*/
export interface Protocol<PropsType> {
setProp<PropKey extends keyof PropsType>(
prop: PropKey,
call: string,
value: PropsType[PropKey]... |
export function validateNode(
node,
expectedName: string,
expectedUuid?: string,
expectedPath?: string,
expectedParentNodePath?: string,
) {
expect(node).to.have.property('name', expectedName)
if (expectedUuid) {
expect(node).to.have.property('uuid', expectedUuid)
}
if (expec... |
import * as React from 'react'
import environment from '@environment'
import {
Avatar,
Button,
CircularProgress,
Collapse,
Divider,
Icon,
IconButton,
lighten,
List,
ListItem,
ListItemIcon,
ListItemSecondaryAction,
ListItemText,
makeStyles,
Theme,
Typography,
} from '@material-ui/core'
i... |
import { NgModule } from "@angular/core";
import { HelpRoutingModule } from "./help.routing.module";
import { HelpModule } from "help/help.module";
@NgModule({
imports: [
HelpModule,
HelpRoutingModule
]
})
export class HelpFeatureModule {} |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MtxLoaderComponent } from './mtx-loader.component';
describe('MtxLoaderComponent', () => {
let component: MtxLoaderComponent;
let fixture: ComponentFixture<MtxLoaderComponent>;
beforeEach(async(() => {
TestBed.configureTesti... |
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { Stora... |
import React, { Component } from 'react';
import { GatsbyImageProps } from 'gatsby-image';
import ButtonsMobileFI from 'components/images/ButtonsMobileFI';
type Props = Omit<GatsbyImageProps, 'fluid' | 'fixed'> & { imgKey: string };
export class Image extends Component<Props> {
private images = {
ButtonsMobile... |
/*
* 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 { logWra... |
import R from 'ramda';
import ComponentConfig from './component-config';
import {
MANUALLY_REMOVE_DEPENDENCY,
MANUALLY_ADD_DEPENDENCY,
OVERRIDE_FILE_PREFIX,
OVERRIDE_COMPONENT_PREFIX,
DEPENDENCIES_FIELDS,
COMPONENT_ORIGINS,
} from '../../constants';
import { ConsumerOverridesOfComponent } from './consumer-o... |
import React from 'react'
import { Button } from 'components/atoms/Button'
import { Input } from 'components/atoms/Input'
import Radio from 'components/atoms/Radio'
import { Header } from 'components/molecules/Header'
import * as S from './styles'
import MediaMatch from 'components/molecules/MediaMatch'
import { Moda... |
import { rgba } from 'polished';
import { hexToRgba } from '../utils/colors';
import { Box, Gray, Palette } from './types';
export const blue = '#4385F5';
export const light_blue = '#33B5E7';
export const red = '#F04343';
export const green = '#64AA0B';
export const yellow = '#F0CA43';
export const white = '#ffffff';... |
import debugModule from "debug";
const debug = debugModule("decoder:decoders");
import * as Abi from "@truffle/abi-utils";
import * as Codec from "@truffle/codec";
import {
AbiData,
Ast,
Evm,
Format,
Conversion,
Storage,
Contexts,
Compilations,
Compiler,
CalldataDecoding,
LogDecoding,
Returndat... |
/* Automatically generated by './scripts/build-entry.js' */
export const version = '2.0.4';
export { default as bindFn } from './bindFn';
export * from './calc';
export * from './className';
export * from './color';
export { default as copy } from './copy';
export { default as def } from './def';
export * from './env'... |
import React from "react";
import ReactDOM from "react-dom";
import Foundation, { HandledProps } from "@microsoft/fast-components-foundation-react";
import {
RadioHandledProps,
RadioManagedClasses,
RadioProps,
RadioUnhandledProps,
} from "./radio.props";
import {
ManagedClasses,
RadioClassNameCo... |
import "../core/clock/Transport";
import { ToneWithContext, ToneWithContextOptions } from "../core/context/ToneWithContext";
import { TicksClass } from "../core/type/Ticks";
import { TransportTimeClass } from "../core/type/TransportTime";
import { NormalRange, Positive, Seconds, Ticks, Time, TransportTime } from "../co... |
<TS language="fa_IR" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>برای ویرایش آدرس یا برچسب روی آن راست کلیک کنید</translation>
</message>
<message>
<source>Create a new address</source>
... |
import { AZURE_CONTAINER, azureStorage } from '@config/azure';
import { FileProvider } from '../file-provider';
import { SendFileParams } from '../types/file';
export class AzureProvider extends FileProvider {
static readonly clientName = 'azure';
protected async sendFile({ file, fileName, metadata }: SendFilePa... |
import {Bucket} from '@/services/data/tuples/bucket-types';
import {useForceUpdate} from '@/widgets/basic/utils';
import {TuplePropertyInputLines} from '@/widgets/tuple-workbench/tuple-editor';
import React, {ChangeEvent} from 'react';
import {useBucketEventBus} from '../bucket-event-bus';
import {BucketEventTypes} fro... |
import axios from 'axios';
import { useDispatch, useSelector } from 'react-redux';
import { User } from '../../../auth/slice';
import { useAuth } from '../../../auth/useAuth';
import { RootState } from '../../../store/store';
import { gamesBaseURL } from '../../../utils/url';
import { useAlert } from '../Alert/useAler... |
version https://git-lfs.github.com/spec/v1
oid sha256:04a92ebcfec994aa1c76804b659d2fccf95c6c882fa233ff96254684996b97cb
size 397808 |
import fs from "fs";
export const deleteFile = async (filename: string) => {}; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.