text stringlengths 10 953k |
|---|
import { css, FlattenSimpleInterpolation } from "styled-components";
import tokens from "@paprika/tokens";
import { gridTypes } from "@paprika/constants";
import { BorderType } from "./types";
export function cellStyles({ borderType }: { borderType: BorderType }): FlattenSimpleInterpolation {
return css`
overflo... |
import { clientExecute, clientProcess, methods, getServices } from '../sdk';
import { Category } from '@cxcloud/ct-types/categories';
interface CategoryMap {
[id: string]: Category;
}
function nestify(categories: Category[]): Category[] {
const rootCategories: Category[] = [];
const catMap = categories.reduce(
... |
import { createGlobalStyle } from "styled-components";
const GlobalStyle = createGlobalStyle`
*{
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
padding:0;
margin:0;
box-sizing:border-box;
}
... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-form-employer',
templateUrl: './form-employer.component.html',
})
export class FormEmployerComponent implements OnInit {
constructor() {}
ngOnInit(): void {}
} |
import { AuthenticationService } from '../authentication.service';
import { Test } from '@nestjs/testing';
import { ConfigService } from '@nestjs/config';
import { JwtService } from '@nestjs/jwt';
import { getRepositoryToken } from '@nestjs/typeorm';
import User from '../../users/user.entity';
import { UsersService } f... |
import {HttpClient, HttpHeaders, HttpResponse, HttpXsrfTokenExtractor} from '@angular/common/http';
import { Observable } from 'rxjs/Observable';
import { Injectable } from '@angular/core';
import 'rxjs/add/operator/map';
import { SERVER_API_URL } from '../../app.constants';
import { BaseApiService } from '../api/base-... |
import {Colors} from '@blueprintjs/core';
import * as React from 'react';
import styled from 'styled-components/macro';
import {SubscriptionClient} from 'subscriptions-transport-ws';
export const WebsocketStatusContext = React.createContext<number>(WebSocket.CONNECTING);
const WS_EVENTS = [
'connecting',
'connect... |
import { SerializedError } from '@reduxjs/toolkit'
type LoadingState = {
isLoadingAll: boolean
errorAll: SerializedError | null
isLoading: boolean
error: SerializedError | null
}
export type { LoadingState } |
/* eslint-disable import/no-extraneous-dependencies */
import React, { useState, useCallback, useMemo } from 'react';
import styled, { ThemeProvider } from 'styled-components';
import { Provider, connect } from 'react-redux';
import { storiesOf } from '@storybook/react';
import CloseCircleOutlineIcon from 'mdi-react/Cl... |
import { Component } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { LinksModule } from '../links.module';
@Component({
selector: 'sbb-test-link',
template: ` <a sbbLink [mode]="mode" [icon]="icon">test</a> `,... |
import { UsersService } from "@services/users";
import { SystemService } from "@services/system";
import { Model as UsersModel } from "@models/User";
import db = require("../helpers/database");
import { newUser } from "../helpers/database";
import { newName, newIds } from "../helpers/utils";
describe("Users Service Te... |
declare namespace java {
namespace net {
namespace http {
interface WebSocket$Listener {
onOpen(arg0: java.net.http.WebSocket): void
onText(arg0: java.net.http.WebSocket, arg1: string | java.lang.CharSequence, arg2: boolean | java.lang.Boolean): java.util.concurrent.CompletionStage<unknown>... |
import { Inject, Injectable, Logger, OnModuleDestroy } from "@nestjs/common";
import EventEmitter from "events";
import { Callback } from "types/typechain/types";
import { DocumentAnchored, ServiceFeePaid, XDVToken } from "types/typechain/XDVToken";
import { XDV_CONTRACT } from "./constants";
@Injectable()
export clas... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hu" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About BOMB</source>
<translation>A BOMB-ról</translation>
</message>
<message>
<location line... |
export interface JwtToken {
readonly token: string;
} |
import { toggleMark } from "prosemirror-commands";
import { Plugin } from "prosemirror-state";
import { isInTable } from "prosemirror-tables";
import Extension from "../lib/Extension";
import isMarkdown from "../lib/isMarkdown";
import isUrl from "../lib/isUrl";
import selectionIsInCode from "../queries/isInCode";
impo... |
import { Component, NgZone } from '@angular/core';
import { NavController, IonicPage, MenuController, ModalController, ToastController, LoadingController } from 'ionic-angular';
import { CredentialsDTO } from '../../models/credentials.dto';
import { AuthService } from '../../services/auth.service';
import { Facebook, F... |
import {SelectTool, SelectToolView} from "./select_tool"
import * as p from "core/properties"
import {TapEvent} from "core/ui_events"
import {isFunction} from "core/util/types"
import {Geometry, PointGeometry} from "core/geometry"
import {DataSource} from "../../sources/data_source"
export class TapToolView extends Se... |
export interface IStoreObject<T> {
value: T;
expiration: string;
} |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'login-main-view',
templateUrl: './login.main.view.html',
styleUrls: [ './login.main.view.css' ]
})
export class LoginMainView {
title = 'login-main-view';
} |
/**
*
* Copyright 2020 Grégory Saive for NEM (https://nem.io)
*
* 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 requi... |
/**
* Returns the leftmost position that `target` should go to such that the
* sequence remains sorted.
* @param {number[]} arr
* @param {number} target
* @return {number} Position
*/
function bisectLeft(arr: Array<number>, target: number): number {
let left = 0;
let right = arr.length;
while (left < right... |
/* tslint:disable */
// This is a generated file from running the "createIcons" script. This file should not be updated manually.
import React, { FC } from "react";
import { SVGIcon, SVGIconProps } from "@react-md/icon";
const FastRewindSVGIcon: FC<SVGIconProps> = props => (
<SVGIcon {...props}>
<path d="M11 18... |
import Analytics from 'electron-ga';
export default new Analytics('UA-110942439-1'); |
import Emitter = require("component-emitter");
/**
* An events map is an interface that maps event names to their value, which
* represents the type of the `on` listener.
*/
export interface EventsMap {
[event: string]: any;
}
/**
* The default events map, used if no EventsMap is given. Using this EventsMap
* ... |
import {RouterModule, Routes} from '@angular/router';
import {DashboardComponent} from './dashboard/dashboard.component';
import {NgModule} from '@angular/core';
const dashboardRoutes: Routes = [
{path: 'dashboard', component: DashboardComponent},
];
@NgModule({
imports: [
RouterModule.forRoot(
... |
import { MysqlConnectionOptions } from "typeorm/driver/mysql/MysqlConnectionOptions"
import { isProd } from "../utils/helpers"
const typeOrmConfig: MysqlConnectionOptions = {
type: "mysql",
host: process.env.DB_HOST || "localhost",
port: ((process.env.DB_PORT as unknown) as number) || 3306,
username: process.... |
import { Component, createContext, Fragment, ReactNode } from 'react';
import { Field } from './Field';
import {
API,
Error,
FormProp,
GetFieldsStackFilterFn,
IndexObject,
SubscribeCallback,
UpdateType,
} from './types';
import React from 'react';
import { isFunction } from './utils';
type Props = {
ch... |
declare module goog {
function require(name: 'goog.date.duration'): typeof goog.date.duration;
}
declare module goog.date.duration {
/**
* Accepts a duration in milliseconds and outputs an absolute duration time in
* form of "1 day", "2 hours", "20 minutes", "2 days 1 hour 15 minutes" etc.
* @p... |
/**
* 在生产环境 代理是无法生效的,所以这里没有生产环境的配置
* The agent cannot take effect in the production environment
* so there is no configuration of the production environment
* For details, please see
* https://pro.ant.design/docs/deploy
*/
export default {
dev: {
'/api/**/*': {
target: 'http://idata-staging.cai-inc.co... |
export * from './room';
export * from './general'; |
export default function cloneObject<T extends unknown>(object: T): T; |
import { Howl } from 'howler';
import { Injector, Injectable } from '../../di';
import * as _ from 'lodash';
export class AudioManager extends Injectable {
private _sound : { [channel: string]: Array<Howl>; };
constructor(baseInjector: Injector) {
super(baseInjector);
this.injector.provide(AudioManager, ... |
/**
* Component description goes here
*/
import * as React from "react";
import { Motivation } from "./Motivation";
import { Geekness } from "./Geekness";
import { SignIn } from "./SignIn";
import { Error404 } from "./Error404";
import { Success } from "./Success";
import { Route } from "react-router";
/**
* Props ... |
import React from 'react';
import PropTypes from 'prop-types';
import {
createStyles,
Theme,
withStyles,
WithStyles,
MuiThemeProvider,
createMuiTheme,
} from '@material-ui/core/styles';
import Input from '@material-ui/core/Input';
import InputBase from '@material-ui/core/InputBase';
import { fade } from '@m... |
import abiManager from "abiManager";
import createContractPreConnect from "../contract-creator-pre-connect";
async function GetTotalStakedFromContract() {
try {
const xendContract = await createContractPreConnect(abiManager.XSTAKING, "0x3d4D0699C4Df1539Fdc42C6F9594A478c6929051");
ret... |
import fs from 'fs'
import path from 'path'
import type * as net from 'net'
import type * as http from 'http'
import connect from 'connect'
import corsMiddleware from 'cors'
import colors from 'picocolors'
import type { AddressInfo } from 'net'
import chokidar from 'chokidar'
import type { CommonServerOptions } from '.... |
// External dependencies
import { ObjectId } from 'mongodb';
// Class Implementation
export default class Product {
constructor(
public name: string,
public price: number,
public quantity: number,
public image_url: string,
public status: 'normal' | 'secret',
public _id?: ObjectId
) {}
}
ex... |
import { append, appendRange, List, ListNode, prepend, prependRange, remove, removeRange } from '../src';
describe('list', () => {
it('smoke', () => {
expect(List).toBeDefined();
});
it('append / iterate', () => {
const list = new List<{value: number}>();
append(list, { value: 1 }... |
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import { store } from './store/index';
import { Provider } from 'react-redux';
import { Route, Switch } from 'react-router';
import * as serviceWorker from './serviceWorker';
import { ConnectedRouter } from 'conn... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { EditFriendComponent } from './edit-friend.component';
describe('EditFriendComponent', () => {
let component: EditFriendComponent;
let fixture: ComponentFixture<EditFriendComponent>;
beforeEach(async(() => {
TestBed.configure... |
export interface Domain {
id?: string;
name: string;
remark: string;
} |
<TS language="es_DO" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Crear una nueva dirección</translation>
</message>
<message>
<source>&New</source>
<translation>Nuevo</translation>
</message>
... |
import { useState } from "react";
import { SelectField, TextInputField } from "../Common/HelperInputFields";
import { USER_TYPES } from "../../Common/constants";
import { navigate } from "raviger";
const useMergeState = (initialState: any) => {
const [state, setState] = useState(initialState);
const setMergedState... |
import type { RxJsonSchema, JsonSchema } from './types';
export declare class RxSchema<T = any> {
readonly jsonSchema: RxJsonSchema<T>;
indexes: string[][];
primaryPath: string;
finalFields: string[];
constructor(jsonSchema: RxJsonSchema<T>);
get version(): number;
get normalized(): RxJsonSc... |
export class ListItemDto {
constructor(
public readonly checked: boolean,
public readonly text: string | undefined = undefined,
public readonly link: string | undefined = undefined,
public readonly imageUrl: string | undefined = undefined) { }
} |
import {HTMLFormComponent} from "fh-forms-handler";
import {WindowEventsListener} from "fh-forms-handler";
class SplitContainer extends HTMLFormComponent {
private bothShown: boolean;
private divider: HTMLDivElement;
private sizeleft: any;
private sizeright: any;
private fixed: any;
private res... |
import { Test, TestingModule } from '@nestjs/testing';
import { EventInvitationsResolver } from './event-invitations.resolver';
import { EventInvitationsService } from './event-invitations.service';
describe('EventInvitationsResolver', () => {
let resolver: EventInvitationsResolver;
beforeEach(async () => {
c... |
import { productinfo, appcommon } from 'tizen-tv-webapis';
import { systeminfo } from 'tizen-common-web';
const { getFirmware, getDuid, getModelCode } = productinfo;
const { setScreenSaver, AppCommonScreenSaverState } = appcommon;
const { getCapability } = systeminfo;
window.onload = () => {
updateInformation('fi... |
import React from "react";
import { createDecoratorRedux } from "../../.storybook/redux-decorator";
import { Pipeline } from "./pipeline";
import { Deployment, Stage } from "../modules/deployments";
import { dummyStage } from "../__fixtures__/dummy-stage";
import { METADATA_APPROVED_BY } from "../constants/metadata-key... |
import * as Chai from "chai";
import { StzaPresenceItem, StzaPresenceError, StzaMessageSubject,
StzaMessage, StzaPresencePart, StzaPresenceKick, SztaIqError } from "../../src/xmppjs/Stanzas";
import { assertXML } from "./util";
const expect = Chai.expect;
describe("Stanzas", () => {
describe("StzaPresenceItem"... |
/*
* Copyright (C) 1998-2020 by Northwoods Software Corporation. All Rights Reserved.
*/
/*
* This is an extension and not part of the main GoJS library.
* Note that the API for this class may change with any version, even point releases.
* If you intend to use an extension in production, you should copy the code to ... |
import puppeteer from "puppeteer";
import { GUI_TYPE_OWNCLOUD } from "../guiTypes";
import { StubClient } from './stub';
export class OwncloudClient extends StubClient {
windowSize: string = '800,500';
FTU_CLOSE_BUTTON: string = '#closeWizard';
notificationDoneSelector: string = 'a.nav-icon-sharingin';
contex... |
import { Test, TestingModule } from '@nestjs/testing';
import { CommuneService } from './commune.service';
describe('CommuneService', () => {
let service: CommuneService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [CommuneService],
}).compile()... |
'use strict';
import BaseComponent, { BaseOptions } from '../base';
const componentReady = Symbol.for('component.ready');
interface ButtonOptions extends BaseOptions {
text?: string;
}
class ButtonComponent extends BaseComponent {
elm: HTMLElement;
constructor(opts?: ButtonOptions) {
super(opts);
// ... |
/*
* The coLAB project
* Copyright (C) 2021 AlbaSim, MEI, HEIG-VD, HES-SO
*
* Licensed under the MIT License
*/
import { Document, entityIs } from 'colab-rest-client';
import { useAppSelector } from '../store/hooks';
import { LoadingStatus } from '../store/store';
export const useDocument = (
id: number | null... |
export * from './three-liner.component';
export * from './three-liner.module'; |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ModelsComponent } from './models.component';
import {ModelsPageComponent} from "./models-page.component";
const routes: Routes = [
{ path: '',
component: ModelsPageComponent,
children: [
{
... |
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
/* @relayHash 37fd94ca44b601e11512e5e53147d4fc */
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type FavoriteArtworksPaginationQueryVariables = {
count: number;
cursor?: string | null | undefined;
}... |
export class AppConfigService {
shortHash: boolean;
constructor() {
this.shortHash = false;
}
} |
/**
* @license
* Copyright 2018 Google LLC. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { PdfRenderer } from "./PdfRenderer";
import { UnsupportedRenderer } from "./UnsupportedRenderer";
import React from "react";
import { Attachment } from "../../types";
import { getAttachmentMimeType } from "../../utils";
/**
* Function returning the correct attachment renderer depending on the attachment type.... |
import "./SearchPage";
describe("SearchPage", () => {
it.todo("test");
}); |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
export class TelemetryConstants {
public readonly channelIdProperty: string = 'channelId';
public readonly conversationIdProperty: string = 'conversationId';
public readonly conversationNameProperty: string = 'co... |
import { PresentationNode } from '@daign/2d-pipeline';
import { StyleSelectorChain } from '@daign/style-sheets';
import { Group } from '@daign/2d-graphics';
import { WrappedDomPool, WrappedNode } from '@daign/dom-pool';
import { SvgRenderer } from '../svgRenderer';
import { RenderModule } from '../renderModule';
expo... |
import { mount } from 'enzyme';
import React from 'react';
import Select, { Option, SelectProps } from '../../src';
import { injectRunAllTimers, toggleOpen, selectItem, findSelection } from '../utils/common';
export default function dynamicChildrenTest(mode: any, props?: Partial<SelectProps>) {
injectRunAllTimers(je... |
'use strict'
import { RequestMethod } from '../../public/request'
import { isDefined } from '../helper'
export { RequestMethod as Method } from '../../public/request'
export const AllMethods: RequestMethod[] = Object.values(RequestMethod)
export const parseMethod = (method: string): RequestMethod => {
const m = ... |
/*
* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... |
import express, { Express } from 'express';
import { useExpressServer, Action } from 'routing-controllers';
import cors from 'cors';
import {
AccountController,
AccountOwnerController,
GroupController,
PostController,
} from './controllers';
import log from 'consola';
import { Server } from 'http';
export clas... |
import { StyledIcon } from '@styled-icons/styled-icon';
export declare const DiceD20: StyledIcon;
export declare const DiceD20Dimensions: {
height: undefined;
width: undefined;
}; |
declare module "@featherds/icon/action/Business" {
import { DefineComponent } from "vue";
const compModule: DefineComponent;
export { compModule as default };
} |
import React from 'react';
import { ErrorsField } from 'uniforms-patternfly';
import createContext from './_createContext';
import mount from './_mount';
const error = {
error: 'validation-error',
reason: 'X is required',
details: [
{ name: 'x', type: 'required', details: { value: null } },
{ name: 'y',... |
/*
Copyright 2016 Aviral Dasgupta
Copyright 2019 Michael Telatynski <7t3chguy@gmail.com>
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 req... |
/**
* Copyright 2022 pyke.io
* 2019-2021 Tauri Programme within The Commons Conservancy
* [https://tauri.studio/]
*
* 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 Lic... |
export { default } from './ContentCreate'; |
import TableOfContents from './TableOfContents';
export default TableOfContents;
export type { Chapters } from './TableOfContents'; |
// @ts-nocheck
import { plugin } from './plugin';
import * as Plugin_0 from '/Users/apple/Desktop/github/zhiku.tec/h5-visible-tool/src/.umi/plugin-dva/runtime.tsx';
import * as Plugin_1 from '../plugin-initial-state/runtime';
import * as Plugin_2 from '../plugin-model/runtime';
plugin.register({
apply: Plugin_0,... |
// Copyright 2017-2021 @polkadot/app-staking authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@polkadot/api';
import type { DeriveSessionInfo, DeriveStakingElected, DeriveStakingWaiting } from '@polkadot/api-derive/types';
import type { SortedTargets, TargetSortBy, Validat... |
import { motion } from 'framer-motion'
import React, { FC } from 'react'
import styled from 'styled-components'
import Img from 'gatsby-image'
const StyledCardList = styled(motion.ul)`
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
padding-bottom: 3rem;
li {
position: relative;
... |
/**
* @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
*/
/// <amd-module name="@angular/common/locales/extra/kab" />
declare const _default: never[];
export default _default; |
import { IS_NODE_ENV, requireFunc } from '../environment';
export const URL = (gbl => {
if (IS_NODE_ENV) {
gbl.URL = requireFunc('url').URL;
}
return gbl.URL;
})(globalThis) as any; |
import * as React from 'react';
import { ComboBox } from './ComboBox';
import { IComboBoxProps, IComboBox, IComboBoxOption } from './ComboBox.types';
import { IList, List } from '../../List';
import { ISelectableOption } from '../../SelectableOption';
import { initializeComponentRef } from '../../Utilities';
export cl... |
// ==LICENSE-BEGIN==
// Copyright 2017 European Digital Reading Lab. All rights reserved.
// Licensed to the Readium Foundation under one or more contributor license agreements.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file exposed on Github (readium) in the proj... |
import { makeStyles } from '@material-ui/core';
export const useTableHeadStyled = makeStyles(theme => ({
visuallyHidden: {
border: 0,
clip: 'rect(0 0 0 0)',
height: 1,
margin: -1,
overflow: 'hidden',
padding: 0,
position: 'absolute',
top: 20,
width: 1,
},
})); |
import { InputType, PickType } from '@nestjs/graphql';
import { ConnectTypeBelongsTo } from 'src/categories/dto/create-category.input';
import { Tag } from '../entities/tag.entity';
@InputType()
export class CreateTagInput extends PickType(Tag, [
'name',
'details',
'image',
'icon',
]) {
type?: ConnectTypeBel... |
import { StyledIcon, StyledIconProps } from '..';
export declare const Gif: StyledIcon<any>;
export declare const GifDimensions: {
height: number;
width: number;
};
export { StyledIcon, StyledIconProps }; |
import React from 'react'
import { withErrorBoundary } from 'react-error-boundary'
import ErrorPage from '../pages/ErrorPage'
import Layout from './Layout/Layout'
import '../styles/global.scss'
function App() {
return <Layout />
}
export default withErrorBoundary(App, ErrorPage) |
export { default as locations } from './locations' |
import express from 'express';
import { get } from 'lodash';
import { OpenAPIV3 } from 'openapi-types';
import { Operation } from '../operations';
export const checkAuthByType = (
securityScheme: OpenAPIV3.SecuritySchemeObject,
req: express.Request
): boolean => {
switch (securityScheme.type) {
case 'apiKe... |
/**
* core.Server
* ------------------------------------
*
* The Server class is responsible to listen to http server
* events and to react to it.
*/
import * as http from 'http';
import * as express from 'express';
import { Logger } from './Logger';
import { Environment } from './helpers/Environment';
import { ... |
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'orderBy',
pure: false
})
export class OrderPipe implements PipeTransform {
/**
* Check if a value is a string
*
* @param value
*/
static isString(value: any) {
return typeof value === 'string' || value instanceof String;
}
... |
import React, { useState } from 'react';
import './styles.css';
const Form: React.FC = () => {
const [isHelpButtonClicked, setIsHelpButtonClicked] = useState(false);
function handleHelpButtonClick() {
setIsHelpButtonClicked(!isHelpButtonClicked);
}
return (
<>
<button
className="help... |
import React, { Component } from 'react';
import { ThemeConfig } from '../../utilities/theme';
import { I18n } from '../../utilities/i18n';
import { LinkLikeComponent } from '../../utilities/link';
import { FeaturesConfig } from '../../utilities/features';
import './AppProvider.scss';
interface State {
intl: I18n;
... |
import url from '../../../helpers/getPageUrl';
import Scheduler from '../../../model/scheduler';
import {
createScheduler,
scrollTo,
selectCells,
moveMouse,
checkSelectionWhenFocusedInViewport,
checkSelectionWhenFocusedIsNotInViewport,
checkAllDayCellsWhenInViewport,
checkAllDayCellsWhenNotInViewport,
}... |
import React, { ReactNode, useContext } from 'react'
import ButtonIcon from '../components/ButtonIcon'
import { NavbarContext } from '../context/NavbarContext'
import styles from './Appbar.module.css'
interface Props {
title?: string
actions?: ReactNode
}
export default ({ title, actions }: Props) => {
const n... |
import { BehaviorSubject } from "rxjs"
import gql from "graphql-tag"
import { authIdToken$ } from "../fb/auth"
import { apolloClient } from "../apollo"
/*
* This file deals with interfacing data provided by the
* apiman Backend server
*/
/**
* Defines the information provided about a user
*/
export interface Use... |
import { Component, OnInit } from '@angular/core';
import { NavigationCancel, NavigationEnd, NavigationError, Router } from '@angular/router';
@Component({
selector: 'app-layout',
templateUrl: './layout.component.html',
styleUrls: ['./layout.component.scss']
})
export class LayoutComponent implements OnInit {
... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RamosComponent } from './ramos.component';
describe('RamosComponent', () => {
let component: RamosComponent;
let fixture: ComponentFixture<RamosComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
decl... |
// Copyright IBM Corp. 2017. All Rights Reserved.
// Node module: loopback4-extension-starter
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
import {MethodDecoratorFactory} from '@loopback/metadata';
import {Config} from '../types';
export const GRPC_M... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.