text stringlengths 10 953k |
|---|
import React from 'react';
// also exported from '@storybook/react' if you can deal with breaking changes in 6.1
import {Story, Meta} from '@storybook/react/types-6-0';
import Spinner, {SpinnerProps} from './index';
export default {
title: 'Spinner',
component: Spinner,
} as Meta;
const style = {margin: '15px'};... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PaginaAgendamentoComponent } from './pagina-agendamento.component';
describe('PaginaAgendamentoComponent', () => {
let component: PaginaAgendamentoComponent;
let fixture: ComponentFixture<PaginaAgendamentoComponent>;
beforeEach(async (... |
// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
export declare const BsFillGrid3X2GapFill: IconType; |
// Copyright (c) 2018 ririko
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
const age: number = parseInt(prompt("年齢を入力してください"));
if (age < 0) {
alert("年齢には正の値を入力してください");
} else {
if (age < 3) {
console.log("無料");
} else if (age < 7) {
console.log("500円");
... |
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
/**
* Generated class for the QrcodePage page.
*
* See https://ionicframework.com/docs/components/#navigation for more info on
* Ionic pages and navigation.
*/
@IonicPage()
@Component({
selector: 'pa... |
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
import { PutPolicyRequest, PutPolicyResponse } from "../models/models_0";
import { deserializeAws_json1_1PutPolicyCommand, serializeAws_json1_1PutPolicyCommand } from "../protocols/Aws_json1_1";
import { getSerdePlugin } from... |
import React from "react";
import "../styles/NotFound.less";
interface NotFoundProps {
message?: string;
}
const NotFound = ({ children, title, ...props }: NotFoundProps & Props<HTMLDivElement>) => (
<div {...props} styleName="notFound">
<strong styleName="status">{title || "404 Not Found"}</strong>
{chil... |
import { Component, Input } from "@angular/core";
import { BehaviorSubject, Observable, of } from "rxjs";
import { map, switchMap, tap } from "rxjs/operators";
import { WorkflowService } from "../../services/workflow.service";
import { ContentService } from "../../services/content.service";
import { ConfigService } fr... |
import { SetMetadata } from '@nestjs/common';
export const Roles = (...roles: string[]) => SetMetadata('roles', roles); |
//Language
export const python = 'Python';
export const ruby = 'Ruby';
export const java = 'Java';
export const scheme = 'Scheme';
export const nodejs = 'Nodejs';
export const typescript = 'Typescript';
export const golang = 'Golang';
export const rust = 'Rust';
export const c = 'C';
export const cpp = 'Cpp';
//FileEx... |
export abstract class Transform {
public abstract move();
}
export class Car extends Transform {
private running: boolean = false;
public move() {
console.log('I can move');
this.running = true;
}
get status() {
return this.running;
}
}
export class Changer extends Transform {
private tra... |
export = escapeRegularExpressionSpecialCharacters;
/**
* @function escapeRegularExpressionSpecialCharacters
* @description Escape regular expression special characters from a string.
* @param {string} item String that need to escape regular expression special characters.
* @returns {string} A string that escaped re... |
import { App } from 'vue';
import Button from './packages/button';
import Icon from './packages/icon';
import ButtonGroup from './packages/button-group';
import Switch from './packages/switch';
import Dialog from './packages/dialog';
import DigitalTransition from './packages/digital-transition';
declare function instal... |
import { TodoCategory } from 'App/domains';
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
@Component({
selector: 'app-ui-todo-message',
template: `
<p class="message">
<ng-container *ngIf="hiddenCategory">
<fa-icon icon="exclamation-triangle"></fa-icon>
This ... |
import { getChainId } from '../../../../../redux/preferences/selectors';
import { IReduxState } from '../../../../../redux/state';
import { getScreenDataKey } from '../../../../../redux/ui/screens/data/reducer';
import { getSelectedAccount, getSelectedWallet } from '../../../../../redux/wallets/selectors';
import { ISc... |
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* AdminLinkProviderForUserOutput shape
*/
export interface AdminLinkProviderForUserOutput
extends __aws_sdk_types.MetadataBearer {
/**
* Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recogn... |
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { RoleRepository } from './role.repository';
import { SharedModule } from '../../shared/shared.module';
import { RoleService } from './role.service';
import { RoleController } from './role.controller';
@Module({
imports:... |
import React, {useCallback, useEffect, useMemo, useRef} from 'react';
import {View, ScrollView} from 'react-native';
import min from 'lodash/min';
import map from 'lodash/map';
import constants from '../commons/constants';
import {Theme} from '../types';
import styleConstructor, {HOURS_SIDEBAR_WIDTH} from './style';
i... |
// *** 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";
/*... |
/* Generated code */
interface VoicemailsInfo {
/**
* Email notification flag
*/
notifyByEmail?: boolean;
/**
* SMS notification flag
*/
notifyBySms?: boolean;
/**
* List of recipient email addresses for voicemail notifications. Returned if specified, in both modes (advanced/basic). Applied in advanc... |
import type { ComputedRef, Ref } from 'vue'
import type { MenuTheme } from '@idux/components/config'
import type { MenuItemProps, MenuMode, MenuProps } from '../types'
import type { MenuItemClickFn, SetChildOpenStateFn } from '../token'
import { computed, getCurrentInstance, ref, toRaw, watch } from 'vue'
import { use... |
/* eslint-disable complexity */
// Copyright 2017-2021 @polkadot/react-components authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces';
import React, { useEffect, useState } from 'react';
import { keyring } from '@polkadot/ui... |
// @ts-nocheck
/* eslint-disable */
/* tslint:disable */
/* prettier-ignore-start */
/** @jsxRuntime classic */
/** @jsx createPlasmicElementProxy */
/** @jsxFrag React.Fragment */
// This class is auto-generated by Plasmic; please do not edit!
// Plasmic Project: j56rC5AhmHAm1fzGMT7yJp
// Component: HWIYXyt7sZ
impor... |
import { sendToCRM, IBulkPost } from './src';
/**
* set this to true if running for the very first time, it will generate your auth token using your refresh token
* and ensure that it is placed in you spotinst key store
*/
const runningForTheFirstTime = false;
const moduleToPostTo = 'Leads';
// example IBulkPost.... |
import { remove, set } from "mobx"
import { fnModel } from "./fnModel"
function _splice(this: any[], start: number, deleteCount?: number): any[]
function _splice(this: any[], start: number, deleteCount: number, ...items: any[]): any[]
function _splice(this: any[], ...args: any[]): any[] {
return (this.splice as any)... |
export const initialSleepData = [
{
"day": "25/05/2016",
"start": "11:30",
"awake": 90,
"sleeping": 85,
"ko_ok": 3,
"morning": "TRUE",
"afternoon": "FALSE",
"night": "FALSE"
},
{
"day": "25/05/2016",
"start": "14:00",
"awake": 90,
"sleeping": 85,
"ko_ok": 3,
... |
export class PongException extends Error {
//
} |
// -- copyright
// OpenProject is a project management system.
// Copyright (C) 2012-2015 the OpenProject Foundation (OPF)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License version 3.
//
// OpenProject is a fork of ChiliProject, which is a... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="2.0">
<context>
<name>Design</name>
<message>
<location filename="../main_menu.py" line="38"/>
<source>Start</source>
<translation>Start</translation>
</message>
<message>
<location filename="../main_menu.py... |
import { cliSeeder } from '../../src/index';
import { MongoClient } from 'mongodb';
import * as tsNode from 'ts-node';
describe('CLI', () => {
const previousArgv = process.argv;
const previousEnv = process.env;
let consoleErrorSpy: jest.SpyInstance;
let consoleLogSpy: jest.SpyInstance;
let stdErrSpy: jest.S... |
import { fragment } from '../fragment.js';
import { IKey } from '../key.js';
import { KeyConfigSpec } from '../spec.js';
import { onekey } from './name.js';
import { OneKey } from './one-key.js';
/**
* Table of key configs.
*/
export class KeyConfigTable extends HTMLElement {
private table: HTMLTableElement;
... |
///<reference path="../testReference.ts" />
describe("Utils", () => {
describe("ArrayUtils", () => {
it("uniq()", () => {
let strings = ["foo", "bar", "foo", "foo", "baz", "bam"];
assert.deepEqual(Plottable.Utils.Array.uniq(strings), ["foo", "bar", "baz", "bam"]);
});
});
}); |
import * as React from "react";
import { JSX } from "react-jsx";
import { IFluentIconsProps } from '../IFluentIconsProps.types';
const Chat24Regular = (iconProps: IFluentIconsProps, props: React.HTMLAttributes<HTMLElement>): JSX.Element => {
const {
primaryFill,
className
} = iconProps;
return <svg {...p... |
/**
* Copyright (c) 2019 Fruits Dev Team
*/
export * from './args';
export * from './contract'; |
import React, { FunctionComponent, useMemo } from 'react';
import Template from 'components/Common/Template';
import CategoryList, { CategoryListProps } from 'components/Main/CategoryList';
import Introduction from 'components/Main/Introduction';
import PostList, { PostType } from 'components/Main/PostList';
import { P... |
import { DuetInfo } from '.';
export interface ItemInfos {
id: string;
text: string;
createTime: number;
authorId: string;
musicId: string;
covers: string[];
coversOrigin: string[];
coversDynamic: string[];
video: {
urls: string[];
videoMeta: {
width: numb... |
import {Component, ViewChild} from '@angular/core';
import {async, TestBed} from '@angular/core/testing';
import {By} from '@angular/platform-browser';
import {DEFAULT_OPTIONS} from '../google-map/google-map';
import {GoogleMapsModule} from '../google-maps-module';
import {
createMapConstructorSpy,
createMapSpy,
... |
import { OmitType } from "@nestjs/swagger"
import { Expose, Type } from "class-transformer"
import { IsDate, IsOptional, IsUUID } from "class-validator"
import { IdDto } from "../../shared/dto/id.dto"
import { ValidationsGroupsEnum } from "../../shared/types/validations-groups-enum"
import { Translation } from "../enti... |
// Type definitions for mongoose-delete 0.5
// Project: https://github.com/dsanel/mongoose-delete
// Definitions by: Mochamad Arifin <https://github.com/ndunks>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2
import mongoose = require('mongoose');
/**
* This is interface... |
import React, { useState, useCallback, useEffect } from 'react';
import { t } from 'app/i18next-t';
import { AppIcon, refreshIcon } from './icons';
import { loadingTracker } from './loading-tracker';
import { Subject } from 'rxjs';
import { useSubscription } from 'app/utils/hooks';
import clsx from 'clsx';
import { isD... |
import {
AddEventsBehaviour, AlloyComponent, AlloyEvents, AlloyTriggers, Behaviour, Composing, CustomEvent, Focusing, Replacing, Sliding, SlotContainer,
SlotContainerTypes, SystemEvents, Tabstopping
} from '@ephox/alloy';
import { StructureSchema } from '@ephox/boulder';
import { Sidebar as BridgeSidebar } from '@e... |
import {NgModule} from "@angular/core"
import {CommonModule} from "@angular/common"
import {FiltersComponent} from "./filters.component"
import {FilterComponent} from "./filter/filter.component"
import {FormsModule} from "@angular/forms"
import {FiltersRoutingModule} from "./filters.routing.module"
import {SpinnerModul... |
import { Request, Response, NextFunction } from "express";
import { getRepository } from "typeorm";
import User from "../entity/User";
import { disableSecurity } from "../config";
export default function checkRole(roles: Array<string>) {
return async (req: Request, res: Response, next: NextFunction) => {
... |
import EventEmitter from 'eventemitter3';
import type { AnyAction } from '@/types/redux';
type EventTypes = 'actionsHistoryChanged' | 'actionsHistoryPointerChanged';
type UndoableAction<S = any> = {
action: AnyAction<true>;
snapshot: S;
};
type UndoableEnhancerStateType = {
$e: EventEmitter<EventTypes>;
// @... |
import type {
CSpellSettingsWithSourceTrace,
DictionaryDefinition,
DictionaryDefinitionCustom,
FileSource,
Glob,
GlobDef,
Pattern,
RegExpPatternDefinition,
} from '@cspell/cspell-types';
import { AutoLoadCache, createAutoLoadCache, createLazyValue, LazyValue } from 'common-utils/autoLoad... |
import { AppMessage } from './overmind/types'
type Message = {
appName: string
message: AppMessage<any>
}
type MessageCallback = (message: Message) => void
class WebsocketConnector {
private nextEvaluationId = 0
private callbacks: {
[event: string]: Function[]
} = {}
private socket: WebSocket
priva... |
export * from './auth/user.model';
export * from './auth/login.model';
export * from './auth/register.model';
export * from './product.model'; |
import curry from 'lodash/curry';
import flow from 'lodash/flow';
import indexOf from 'lodash/indexOf';
import isString from 'lodash/isString';
import isNumber from 'lodash/isNumber';
import upperFirst from 'lodash/upperFirst';
import { throwInDev, throwTypeError } from '../throwInDev';
import { PortRecord } from '../... |
/* This file is generated by createIcons.js any changes will be lost. */
import { IconType } from '../createIcon';
declare const DoorOpenIcon: IconType;
export default DoorOpenIcon; |
/*
* 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 { MLTea... |
import { ButtonInteraction, MessageActionRow, MessageSelectMenu, MessageAttachment, ThreadChannel, MessageEmbed, Message, SelectMenuInteraction, User } from "discord.js";
import { SuperChan } from "../../../../@types/SuperChan";
import emojis from "../../../../json/emojis.json";
import { CTO, OTC } from "../../function... |
import { Component, OnInit } from '@angular/core';
import { IYouTubeFavorite } from 'src/app/core/interfaces/iYouTubeFavorite';
import { FavoritesService } from 'src/app/core/services/favorites.service';
@Component({
selector: 'youtube',
templateUrl: './youtube.component.html',
styleUrls: ['./youtube.compo... |
import factories from "../api"
import trackedEntityLoaderFactory from "lib/loaders/loaders_with_authentication/tracked_entity"
export type StartIdentityVerificationGravityOutput = {
identity_verification_id: string
identity_verification_flow_url: string
}
export default (accessToken, userID, opts) => {
const gr... |
export interface GetIssue {
/** The ID or key of the issue. */
issueIdOrKey: string;
/**
* A list of fields to return for the issue. This parameter accepts a comma-separated list. Use it to retrieve a
* subset of fields. Allowed values:
*
* `*all` Returns all fields. `*navigable` Returns... |
export * from "./WebLogger";
export * from "./WebLoggerFactory"; |
declare module "vue-loading-overlay"; |
import https from 'https';
import React, { useEffect, useState } from 'react';
import NavigateNextIcon from '@mui/icons-material/NavigateNext';
import {
Paper,
Container,
Card,
CardContent,
Snackbar,
Typography,
Box,
ButtonGroup,
Button,
Stack,
Chip,
Grid,
Breadcrumbs,
Link,
Dialog,
Dial... |
import { ResolvedOptions } from './types'
export function getImportCode(files: string[], options: ResolvedOptions) {
const imports: string[] = []
for (const file of files) {
const path = `/${options.dir}/${file.slice(0, file.lastIndexOf('.'))}`
imports.push(`'${path}': () => import('${`/${options.dir}/${f... |
import { Component, OnInit, Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
@Component({
selector: 'app-shoppinglist',
templateUrl: './shoppinglist.component.html',
styleUrls: ['./shoppinglist.component.scss']
})
@Injectable()
export class ShoppinglistComponent implements ... |
import { Component, OnInit, ViewChild, Input, EventEmitter, Output } from '@angular/core';
import { NestedTreeControl } from '@angular/cdk/tree';
import { MatTreeNestedDataSource, MatTree } from '@angular/material/tree';
import { LegalEntity } from '@models/legal-entity.model';
import { LicenseeChangeLog, LicenseeChang... |
/*
* Copyright (c) 2018. Christoph Rodak (https://reactivechart.com)
*/
import { IChartTooltipContentSettings } from "./index";
import { variable } from "@reactivelib/reactive";
import { IXYFocus, ISeriesFocusData } from "../focus";
import { XYChart } from "..";
import {deps} from "../../../config/di";
function ne... |
export * from './deep-compare-memoize';
export * from './security-context';
export * from './cubejs-api';
export * from './live-preview-context';
export * from './local-storage';
export * from './identifier';
export * from './is-mounted';
export * from './deep-effect';
export * from './deep-memo'; |
import * as Express from "express";
import {
Controller,
Get,
PathParams,
Req,
Res } from "ts-express-decorators";
import { instrumented } from "monkit";
import { Installer, InstallerStore } from "../installers";
import { Templates } from "../util/services/templates";
import { MetricsStore } from "../util/ser... |
import { ServiceException as __ServiceException__ } from "@aws-sdk/types";
/**
* <p> Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes. </p>
*/
export interface BadRequestException
extends __ServiceException__<_BadReques... |
import { State as StateWrapper } from "@/models/Operators.model.ts";
const state: StateWrapper = {
operators: [],
pageCount: 0,
};
export default state; |
import { writable, Writable } from 'svelte/store';
import { times } from 'ramda';
import { bind } from 'decko';
import { Direction, IVector, Size, IPosition, ITailInfo } from 'types';
import Tile from './tile';
import Grid from './grid';
const VECTORS_MAP: Record<Direction, IVector> = {
up: { x: 0, y: -1 },
righ... |
import {
Injectable,
NotFoundException,
UnauthorizedException,
} from '@nestjs/common';
import { CreateUserDto } from './dto/create-user.dto';
import { UpdateUserDto } from './dto/update-user.dto';
import { InjectRepository } from '@nestjs/typeorm';
import { Users } from './entities/user.entity';
import { FindCon... |
import React from 'react';
/* CSS */
import './styles/global.css';
import 'leaflet/dist/leaflet.css';
import Router from './routes';
function App() {
return <Router />;
}
export default App; |
import * as React from 'react';
import { connect, Dispatch } from 'react-redux';
import { Card, Stack, Tooltip, Heading, Button } from '@shopify/polaris';
import { EditableText } from '@blueprintjs/core';
import {
EditableField,
WatcherEdit,
editWatcher
} from '../../actions/editWatcher';
import { RootState, Watc... |
import {
Repository,
User,
Deployment,
Issue,
Milestone,
Branch,
Comment,
Commit,
Installation,
Label,
Organization,
PullRequest,
Release
} from './objects';
export interface PayloadGeneric {
sender: User;
}
export interface ICommitComment extends PayloadGeneric {
action: string;
comment: Comment;
re... |
import * as React from 'react';
interface IAdvarselIkon {
style: {};
className?: string;
}
const AdvarselIkon: React.StatelessComponent<IAdvarselIkon> = ({ style, className }) => {
return (
<svg
aria-labelledby="advarselikon"
role="img"
className={className}
... |
import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose';
import { BaseSchema } from 'shared/base.schema';
import { Document } from 'mongoose';
export type MovieDocument = Movie & Document;
@Schema()
export class Movie extends BaseSchema {
@Prop({ required: true })
title: string;
@Prop({ required: true }... |
import config from "../config";
import { nanoid } from "nanoid";
import {
decodeFeedbackContextInfo,
redirectTo,
redirectUrl,
RelativeUrl,
} from "./engine";
import { HapiRequest, HapiResponseToolkit } from "../types";
function getFeedbackContextInfo(request: HapiRequest) {
if (request.query[RelativeUrl.FEE... |
import {Action} from "redux"
export const enum Keys {
SELECT = "selected-conversation/SELECT",
}
export interface Select extends Action {
type: Keys.SELECT
conversationToken: string
} |
<TS language="sl_SI" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Desni klik za urejanje naslovov ali oznak</translation>
</message>
<message>
<source>Create a new address</source>
<tran... |
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {WaiterConfiguration} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/conf... |
import {
k8sCreate as _k8sCreate,
k8sDelete as _k8sDelete,
k8sGet as _k8sGet,
k8sList as _k8sList,
k8sPatch as _k8sPatch,
K8sResourceCommon,
k8sUpdate as _k8sUpdate,
Patch,
} from '@openshift-console/dynamic-plugin-sdk';
import { K8sModel } from '@openshift-console/dynamic-plugin-sdk/lib/api/common-type... |
// Type definitions for Underscore 1.8
// Project: http://underscorejs.org/
// Definitions by: Boris Yankov <https://github.com/borisyankov>, Josh Baldwin <https://github.com/jbaldwin>, Christopher Currens <https://github.com/ccurrens>, Cassey Lottman <https://github.com/clottman>, Ard Timmerman <https://github.com/con... |
import { Disposable, Selection, TreeItem, TreeItemCollapsibleState, window } from 'vscode';
import { GitUri } from '../../git/gitUri';
import {
GitBranch,
GitCommitType,
GitFile,
GitFileIndexStatus,
GitLog,
GitLogCommit,
GitRevision,
RepositoryChange,
RepositoryChangeComparisonMode,
RepositoryChangeEvent,
Re... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React, {
useEffect,
useImperativeHandle,
useRef,
type ComponentType,
} from 'react';
import {NavLink, Link as RRLi... |
import arg from 'arg';
import os from 'os';
import pidusage from 'pidusage';
import * as grpc from '@grpc/grpc-js';
import { v4 as uuid4 } from 'uuid';
import { interval, range, Observable, OperatorFunction, ReplaySubject, pipe, lastValueFrom } from 'rxjs';
import { bufferTime, map, mergeMap, tap, takeUntil } from 'rxj... |
<TS language="ka" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>ახალი მისამართის შექმნა</translation>
</message>
<message>
<source>&New</source>
<translation>შექმ&ნა</translation>
</message>
... |
import { Actions } from 'src/goldToken/actions'
import { initialState, reducer } from 'src/goldToken/reducer'
describe('goldToken reducer', () => {
it('should return the initial state', () => {
// @ts-ignore
expect(reducer(undefined, {})).toEqual(initialState)
})
it('should set the current balance', () ... |
interface IPagingState {
currentPage: number;
}
export default IPagingState; |
import React from 'react';
import { ScrollView, Text, TouchableOpacity, View } from 'react-native';
import { CELL_WIDTH } from './TableCell';
import styles from './styles';
import Navigation from '../../lib/Navigation';
import I18n from '../../i18n';
import { themes } from '../../constants/colors';
interface ITable {... |
import React from 'react'
import * as Kb from '../../../../common-adapters'
import TeamMenu from '../../../conversation/info-panel/menu/container'
import * as Styles from '../../../../styles'
import * as RowSizes from '../sizes'
import * as ChatTypes from '../../../../constants/types/chat2'
import * as TeamTypes from '... |
export default {
name: 'eu',
el: {
colorpicker: {
confirm: 'Ados',
clear: 'Garbitu',
},
datepicker: {
now: 'Orain',
today: 'Gaur',
cancel: 'Utzi',
clear: 'Garbitu',
confirm: 'Ados',
selectDate: 'Hautatu data',
selectTime: 'Hautatu ordua',
start... |
<TS language="tr" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Adres veya etiketi düzenlemek için sağ tıklayınız.</translation>
</message>
<message>
<source>Create a new address</source>
... |
let sqlite3;
import { DatabaseDriver } from './database-driver';
try {
sqlite3 = require('sqlite3');
} catch (e) { }
export class SQLiteDatabase implements DatabaseDriver {
/**
* SQLite client.
*/
private _sqlite: any;
/**
* Create a new cache instance.
*/
constructor(private o... |
import {Documentation} from 'documittu-template-default/dist/components/ui/docs'
import glamorous from 'glamorous'
import * as React from 'react'
import {Checkbox, Select, Switch, TextField} from '../../../lib'
import {Example} from '../../components/Example'
import {State} from '../../components/State'
export const a... |
const sound = require('./rsrc/licensed/artisticdude/sell_buy.mp3')
export default sound |
import styled, { css } from 'styled-components';
export const EmployeeCardContainer = styled.section`
${({ theme }) => css`
display: flex;
flex-direction: row;
justify-content: space-between;
border: 1px solid ${theme.colors.gray};
border-radius: 6px;
min-height: 2... |
import { Component, OnInit } from '@angular/core';
import { fadeInOut } from '../../../shared/animations/fade-in-out';
@Component({
selector: 'cms-about',
templateUrl: './about.component.html',
styleUrls: ['./about.component.scss'],
animations: [fadeInOut]
})
export class AboutComponent implements OnInit {
c... |
import { Component, OnInit, Input } from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router';
import { NbDialogRef } from '@nebular/theme';
/* ************+ Import module auth ************ */
import { NbAuthJWTToken, NbAuthService } from '@nebular/auth';
import { NgSelectModule, NgOption } from '... |
import { createSelector } from 'reselect';
import { RootState, QueueItem, QueueMap } from '../types';
export const queueSelector = (state: RootState) => state.queue;
export const queueItemsIds = createSelector(
[ queueSelector ],
(queue: QueueMap) => queue.map((item: QueueItem) => item.hitId).toArray()
); |
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Licensed under GNU General Public License version 2 or later or a commercial license or MIT;
* For GPL see LICENSE-GPL.txt in the project root for license information.
* For MIT see LICENSE-MIT.txt in the project root for license information.
* For commercial licens... |
import React from "react";
import cx from "classnames";
import { css } from "@emotion/css";
import { ThemeContext } from "../../contexts/ThemeContext";
import { LanguageContext } from "../../contexts/LanguageContext";
import Button from "../../components/button";
import Text from "../../components/text";
import { SIZE ... |
import Comment from './Comment';
import CommentSkeleton from './CommentSkeleton';
import { SCROLL_OFFSET_PX } from '../../../utils/pagination';
import { useComments } from '../../../utils/use-comments';
import { CommentType } from '../../../utils/types';
import cn from 'classnames';
import dayjs from 'dayjs';
import re... |
import container from '../model/DiContainer';
import { User } from '../model/User';
import { TestHelper } from './TestHelper';
import { Membership } from '../model/Membership';
import { PasswordAuth } from '../model/authMethod/PasswordAuth';
import moment from 'moment';
import { SearchCriteria } from '../model/SearchCr... |
export const VAULT_PATH = 'vaultPath';
export const VAULT_READY = 'vaultReady';
export const VAULT_MASTER_KEY = 'vaultMasterKey';
export const VAULT_MASTER_KEY_ENCODING = 'latin1';
export const VAULT_NOT_SET = 'vaultNotSet';
export const VAULT_SET_NO_MASTER_KEY = 'vaultSetNoMasterKey';
export const VAULT_SET_WRONG_MAST... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.