text stringlengths 10 953k |
|---|
import { PageHeader } from '@/components/atoms/page-header'
import { MemberCard } from '@/components/molecules/MemberCard'
import { SEO } from '@/components/organisms/SEO'
import { Tab } from '@/components/organisms/Tab'
import type { MembersPageQuery } from '@gql'
import { graphql } from 'gatsby'
import Link from 'gat... |
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `.angul... |
const {version} = require('../../package.json');
const UserAgent: string = `github-sdk/${version}`;
export namespace Props {
export type Token = string;
export interface BaseProps {
token: Token
}
export interface ClassProps extends BaseProps {
object: string
}
}
export default ... |
import { Injectable } from '@angular/core';
import { Subject, ReplaySubject, BehaviorSubject } from 'rxjs';
import { distinctUntilChanged } from 'rxjs/operators';
import { ElectionFormOne } from '../model/election/election-form-one.model';
import { ElectionFormTwo } from '../model/election/election-form-two.model';
im... |
import http from 'http';
const server = http.createServer((request, response) => {
response.writeHead(200);
response.end('ok');
});
const port = 8080;
server.listen(port, () => {
console.log(`Now listening on port ${port}`);
});
server.on('error', (error) => console.error(error)); |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { MoviedetailComponent } from './moviedetail/moviedetail.component';
import { AppComponent } from './app.component';
import { HomeComponent } from './home/home.component';
const routes: Routes = [
{... |
import { readdirSync, readFileSync } from 'fs';
import { join } from 'path';
import { Locale } from '../types';
import { getConfig } from './getConfig';
import { getProjectRoot } from './getProjectRoot';
import { parseFileContentToObj } from './parseFileContentToObj';
export const getAvailableLocales = (): Locale[] =... |
import { defaultEquals, IEqualFunction } from '../util';
import LinkedList from '../LinkedList';
import { DoublyNode } from '../models/linked-list-models';
export default class DoublyLinkedList<T> extends LinkedList<T> {
protected head: DoublyNode<T> | undefined;
protected tail: DoublyNode<T> | undefined;
const... |
export const SkinTwotone = {
name: 'skin-twotone',
svgString: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path d="M512 318c-79.2 0-148.5-48.8-176.7-120H182v196h119v432h422V394h119V198H688.7c-28.2 71.2-97.5 120-176.7 120z"/><path d="M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 5... |
import sha1 from 'crypto-js/sha1'
export const getHash = ({ name, number } : {name: string, number: number}) => {
const hash = BigInt(('0x' + sha1(name + number.toString())))
return hash
} |
import { List as _List_ } from "@aws-sdk/types";
import { _Member } from "./_Member";
export const _Members: _List_ = {
type: "list",
member: {
shape: _Member
}
}; |
import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import {
FriendCircleRoutingModule,
} from './friendCircle-routing.module';
import { FriendComponent } from './friend/friend.component';
import { FriendCircleComponent } from './friendCircle/friendCircle.component';
impor... |
import fs from "fs";
import path from "path";
import { getHeader } from "./header";
import { getFooter } from "./footer";
import { generateMarkup } from "./body";
/**
* Joins together content from templates
* @param map __global__ mutable color map
*/
export function generateHTML(map: ColorMap): string {
const sc... |
import { Encuesta } from './encuesta';
describe('Encuesta', () => {
it('should create an instance', () => {
expect(new Encuesta()).toBeTruthy();
});
}); |
import * as React from 'react';
import { GRID_COLUMN_HEADER_CLICK } from '../../constants/eventsConstants';
import { GridColDef, GRID_NUMBER_COLUMN_TYPE } from '../../models/colDef/index';
import { GridOptions } from '../../models/gridOptions';
import { GridColParams } from '../../models/params/gridColParams';
import {... |
import React from 'react';
import { createStyles, makeStyles, Theme } from '@material-ui/core/styles';
import CallEnd from '@material-ui/icons/CallEnd';
import Fab from '@material-ui/core/Fab';
import Tooltip from '@material-ui/core/Tooltip';
import useVideoContext from '../../../hooks/useVideoContext/useVideoContex... |
import * as React from 'react';
import { Food } from './Food';
export const CreateFood: React.FunctionComponent = () => {
return (
<div className="create-food">
<p>Welcome to Create Todo Component!!</p>
</div>
);
}; |
/* eslint-disable */
import type { MsgVpnRestDeliveryPointRestConsumerCollectionsOauthjwtclaims } from './MsgVpnRestDeliveryPointRestConsumerCollectionsOauthjwtclaims';
import type { MsgVpnRestDeliveryPointRestConsumerCollectionsTlstrustedcommonnames } from './MsgVpnRestDeliveryPointRestConsumerCollectionsTlstrustedc... |
import React, { ReactNode } from 'react';
import { BackHandler, NativeEventEmitter, NativeModules, EmitterSubscription } from 'react-native';
import { StateNavigator, StateContext, State, Crumb } from 'navigation';
import { NavigationContext, NavigationEvent } from 'navigation-react';
type NavigationMotionProps = { cru... |
/**
* @license
* Copyright 2019 Dynatrace 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 ag... |
// Type definitions for GeoJSON Format Specification
// Project: http://geojson.org/
// Definitions by: Jacob Bruun <https://github.com/cobster/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace GeoJSON {
/***
* http://geojson.org/geojson-spec.html#geojson-objects
*/
... |
import {createBackMainMenuButtons} from 'grammy-inline-menu'
export const backButtons = createBackMainMenuButtons() |
// @ts-ignore: package.json will be imported from dist folders
import packageInfo from "../package.json"; // eslint-disable-line
import { Sha256 } from "@aws-crypto/sha256-browser";
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
import { FetchHttpHandler, streamCo... |
import { ExclamationCircleOutlined } from '@ant-design/icons';
import { Modal } from 'antd';
import { ColumnType, FilterDropdownProps, SorterResult } from 'antd/es/table/interface';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import Badge, { BadgeType } from 'components/Badge';
import Fil... |
import actions from 'redux/actions'
import reducers from 'redux/core/reducers'
import getCurrencyKey from 'helpers/getCurrencyKey'
import erc20Like from 'common/erc20Like'
const pullTransactions = (transactions) => {
let data = [...transactions].sort((a, b) => b.date - a.date)
reducers.history.setTransactions(dat... |
import * as test from "tape";
import { Characteristic, Service } from "hap-nodejs";
import {
compose,
withHomeyApp
} from "../test-helpers/compose-helpers";
import { HomeyCapability } from "../../enums/HomeyCapability";
import { HomeyClass } from "../../enums/HomeyClass";
import { timeout } from "../test-helpers/ti... |
import {
HubConnection,
HubConnectionBuilder,
LogLevel,
} from "@microsoft/signalr";
import { autorun, makeAutoObservable, reaction } from "mobx";
import { PlayerData } from "../models/data";
import {
JoinRoomMessage,
MessageMessage,
UpdatePlayersMessage,
UpdateStateMessage,
} from "../models/messages";
i... |
import React from "react";
import App from "./App";
import { Provider } from "react-redux";
import createReduxStore from "./redux/store/store";
import initialState from "./redux/store/initialState";
import { IApplicationState } from "./models//applicationState";
import { mount } from "enzyme";
import { Router } from "r... |
import { PartyPrivacy as IPartyPrivacy, Platform as IPlatform } from '../resources/structs';
export interface IPartyPrivacyEnum {
PUBLIC: IPartyPrivacy;
FRIENDS_ALLOW_FRIENDS_OF_FRIENDS: IPartyPrivacy;
FRIENDS: IPartyPrivacy;
PRIVATE_ALLOW_FRIENDS_OF_FRIENDS: IPartyPrivacy;
PRIVATE: IPartyPrivacy;
}
export ... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { NgxUploaderModule } from 'ngx2-uploader';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
NgxUploaderModule
],
provi... |
import { NgModule } from '@angular/core';
import { HomeModule } from './home/home.module';
import { ProjectMonitorModule } from './project-monitor/project-monitor.module';
import { TaskListModule } from './task-list/task-list.module';
@NgModule({
imports: [HomeModule, ProjectMonitorModule, TaskListModule],
})
export... |
import LoadingButton from '@mui/lab/LoadingButton';
import {
Box,
Button,
Dialog,
DialogActions,
DialogContent,
MenuItem,
Stack,
TextField,
Typography,
useMediaQuery,
useTheme,
} from '@mui/material';
import { useActions, useAppState } from '@src/overmind';
import { NotificationType, Story } from ... |
import { UnauthorizedException } from '@nestjs/common';
import { User } from './user.entity';
import { Test } from '@nestjs/testing';
import { UserRepository } from './user.repository';
import { JwtStrategy } from './jwt.strategy';
const mockUserRepository = () => ({
findOne: jest.fn(),
});
describe('JwtStrategy', ... |
import {Promise} from 'angular2/src/facade/async';
import {DOM} from 'angular2/src/dom/dom_adapter';
import * as viewModule from '../view/view';
import {LightDom} from './light_dom';
import {ShadowDomStrategy} from './shadow_dom_strategy';
import {StyleUrlResolver} from './style_url_resolver';
import {insertSharedSt... |
import * as path from 'path';
import {
CookieResolver,
HeaderResolver,
I18nModule,
QueryResolver,
} from '../src/lib';
import { Module } from '@nestjs/common';
import { HelloController } from './app/controllers/hello.controller';
import {
FastifyAdapter,
NestFastifyApplication,
} from '@nestjs/platform-fast... |
// This is a class to represent the Cutter object in the game.
// If you want to render it in the game do so here.
import { Immutable } from "src/utils";
import { Viseur } from "src/viseur";
import { makeRenderable } from "src/viseur/game";
import { Spiderling } from "./spiderling";
import { ICutterState, IWebState, Sp... |
import { ElementRef, AfterViewChecked, OnDestroy, Renderer2 } from '@angular/core';
import { AnimationEvent } from '@angular/animations';
import { DomHandler } from '../dom/domhandler';
import { MenuItem } from '../common/menuitem';
export declare class SlideMenuSub implements OnDestroy {
slideMenu: SlideMenu;
... |
import React from "react";
import Svg from "../Svg";
import {SvgProps} from "../types";
const Icon: React.FC<SvgProps> = (props) => {
return (
<Svg viewBox="0 0 24 24" {...props}>
<path
d="M4.47 20.9999H19.53C21.07 20.9999 22.03 19.3299 21.26 17.9999L13.73 4.98993C12.96 3.65993 ... |
import { Field, ObjectType } from 'type-graphql';
@ObjectType({ description: "A Pokémon's abilities entry" })
export default class AbilitiesEntry {
@Field(() => String, { description: 'The first ability of a Pokémon' })
public first!: string;
@Field(() => String, { nullable: true, description: 'The second abili... |
import { match } from 'react-router-dom';
import { Photo } from './model';
export interface GalleryViewProps {
fetchPhotos: (start: number, limit: number) => void;
photos: Photo[];
}
export interface GridComponentProps {
photos: Photo[];
}
export interface LoadMoreComponentProps {
loading: boolean;
onLoad... |
import * as React from "react";
import { JSX } from "react-jsx";
import { IFluentIconsProps } from '../IFluentIconsProps.types';
const Location20Filled = (iconProps: IFluentIconsProps, props: React.HTMLAttributes<HTMLElement>): JSX.Element => {
const {
primaryFill,
className
} = iconProps;
return <svg {.... |
// Copyright (c) 2021, NVIDIA CORPORATION.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... |
declare namespace DOS {
interface AppState {
asm: DOS.ASMState;
auditedContests: DOS.AuditedContests;
auditTypes: ContestAuditTypes;
contests: DOS.Contests;
countyStatus: DOS.CountyStatuses;
canonicalContests?: DOS.CanonicalContests;
canonicalChoices?: DOS.Can... |
import type { FunctionalComponent } from 'preact';
import { h } from 'preact';
const EditOnGithub: FunctionalComponent<{ href: string }> = ({ href }) => {
return (
<a class="edit-on-github" href={href}>
<svg
preserveAspectRatio="xMidYMid meet"
height="1em"
width="1em"
fill="... |
/*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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 re... |
import { TTransaction } from "./types";
const getTxUniqueId = (transaction: TTransaction) =>
`${transaction.blockNumber}_${transaction.transactionIndex}_${transaction.logIndex}`;
export { getTxUniqueId }; |
import { validateServiceBindingRequests, ServiceBindingRequests } from './CloudFoundryCreateServiceBindingsConfig';
describe('Cloud Foundry Create Service Bindings Config', () => {
describe('validate Service Binding Requests', () => {
it('should return false when the array is empty', () => {
const bindingR... |
import { Injectable, HttpException, HttpStatus } from '@nestjs/common';
import { UserService } from '../../models/user/user.service';
import { JwtService } from '@nestjs/jwt';
import * as bcrypt from 'bcrypt';
@Injectable()
export class AuthService {
constructor(
private userService: UserService,
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.
*--------------------------------------------------------------... |
import React from "react";
import styled from "@emotion/styled";
import Icon from "@leafygreen-ui/icon";
import IconButton from "@leafygreen-ui/icon-button";
import { Disclaimer } from "@leafygreen-ui/typography";
import { Select, Input } from "antd";
import { v4 as uuid } from "uuid";
import { InputLabel } from "compo... |
import { CompareService } from 'app/compare/compare.service';
import { loadoutDialogOpen } from 'app/loadout/LoadoutDrawer';
import { showMobileInspect } from 'app/mobile-inspect/mobile-inspect';
import { Inspect } from 'app/mobile-inspect/MobileInspect';
import { settingsSelector } from 'app/settings/reducer';
import ... |
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
import { CustomAvailabilityZoneMessage, DescribeCustomAvailabilityZonesMessage } from "../models/models_0";
import {
deserializeAws_queryDescribeCustomAvailabilityZonesCommand,
serializeAws_queryDescribeCustomAvailability... |
export interface EndorserServiceModel {
tran_id: string;
}
export interface EndorserMetadataServiceRequest {
connection_id: string;
did: string;
alias: string;
} |
import { Options, PaginationMeta } from '../types';
export const createPaginationMeta = (
totalDocuments: number,
options: Options
): PaginationMeta => {
const { perPage, page } = options;
const totalPages = Math.ceil(totalDocuments / perPage) || 1;
let previousPage = null;
let hasPreviousPage = false;
i... |
import * as React from 'react'
import R from 'utils/request'
import { FetchParam } from 'containers/Home'
import dayjs from 'dayjs'
import CheckBox from 'components/CheckBox'
import { match } from 'react-router'
import * as H from 'history'
import { ArticleData, ArticlePostData } from 'containers/EditorPage'
interface... |
import { Construct } from "constructs";
import * as cdk from "aws-cdk-lib";
import { Function as Fn } from "aws-cdk-lib/aws-lambda";
import { Stack } from "./Stack";
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
export interface SSTConstructMetadata<
T extends string = string,
D extends Record<string, any> ... |
import React, {useState} from 'react'
import {useAppState} from '../state'
import {Fade, Slide} from '../ui'
import SideList from './SideList'
import ShowFilenamesButton from './ShowFilenamesButton'
export default function FileList(): JSX.Element {
const {loading, board} = useAppState()
const [showFilenames, setS... |
import { useMemo } from 'react';
import { useK8sWatchResource } from '@console/internal/components/utils/k8s-watch-hook';
import { PersistentVolumeClaimModel, PodModel } from '@console/internal/models';
import { K8sResourceKind, PersistentVolumeClaimKind, PodKind } from '@console/internal/module/k8s';
import {
DataVo... |
import * as gulp from 'gulp';
import { join } from 'path';
var newer = require('gulp-newer');
import Config from '../../config';
export = () => {
let src = [
join(Config.APP_SRC, 'package.json')
];
return gulp.src(src)
.pipe(newer({
dest: Config.APP_DEST,
map: function(path: String) { retur... |
// *** 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 * as utilities from "../../utilities";
/**
* An application type version resource for the specified application t... |
// Type definitions for redux-testkit 1.0
// Project: https://github.com/wix/redux-testkit#readme
// Definitions by: Andrey Kizimov <https://github.com/Bookler96>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as Redux from 'redux';
import { ThunkAction } from 'r... |
import AppError from '@shared/errors/AppError';
import FakeUsersRepository from '../repositories/fakes/FakeUsersRepository';
import FakeUserTokensRepository from '../repositories/fakes/FakeUserTokensRepository';
import FakeHashProvider from '../providers/HashProvider/fakes/FakeHashProvider';
import ResetPasswordService... |
import { IsNotEmpty } from 'class-validator';
export class CreataTrabajoEquipoDto {
@IsNotEmpty()
trabajo: number;
@IsNotEmpty()
equipo: number;
@IsNotEmpty()
precio: number;
} |
import { FlatList } from 'react-native';
import styled, { css } from 'styled-components/native';
import {
getBottomSpace,
getStatusBarHeight,
} from 'react-native-iphone-x-helper';
import { RFValue } from 'react-native-responsive-fontsize';
import { AntDesign } from '@expo/vector-icons';
import { CarByUser } from ... |
export type MessageTangleStatus =
"unknown" |
"pending" |
"referenced" |
"milestone"; |
/** A workflow transition rule. */
export interface WorkflowTransitionRule {
/** The type of the transition rule. */
type: string;
/**
* The configuration of the transition rule. This is currently returned only for some of the rule types. Availability
* of this property is subject to change.
... |
import { Coordinate } from '../../../src';
describe('Custom', () => {
test('custom() can custom transform and untransform', () => {
const coord = new Coordinate();
coord.transform('custom', (x, y, width, height) => {
expect(x).toBe(0);
expect(y).toBe(0);
expect(width).toBe(300);
expec... |
import {
Post,
Controller,
Body,
Req,
Get,
Param,
ParseIntPipe,
UseGuards,
Logger,
Query,
} from "@nestjs/common";
import { Education } from "src/education/education.entity";
import { EducationService } from "src/education/education.service";
import { User } from "src/aut... |
import Routes from "Routes";
function App() {
return (
<>
<Routes />
</>
);
}
export default App; |
export * from './create-emitter.dto';
export * from './update-emitter.dto'; |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Any modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
/*
* Licensed to Ela... |
import { generateMnemonic as bip39 } from 'bip39';
import { getKeyPairFromMnemonic } from "human-crypto-keys";
import crypto from "libp2p-crypto";
/**
* Generate a 12 word mnemonic for an Arweave key
* @returns {string} - a promise resolving to a 12 word mnemonic seed phrase
*/
export function generateMnemonic() {
... |
import { UsagerOptionsProcuration } from "../../../../_common/model";
export class UsagerProcuration implements UsagerOptionsProcuration {
public nom: string;
public prenom: string;
public dateFin: Date | null;
public dateDebut: Date | null;
public dateNaissance: Date | string | null;
constructor(procurat... |
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Immutable data encourages pure functions (data-in, data-out) and lends itself
* to much simpler application development and enab... |
import './associate'; |
import { Vec2 } from "@rewind/osu/math";
import { floatEqual } from "@rewind/osu/math";
// TODO: Move to osu-math
// https://github.com/ppy/osu-framework/blob/f9d44b1414e30ad507894ef7eaaf5d1b0118be82/osu.Framework/Utils/PathApproximator.cs
const bezierTolerance = 0.25;
const circularArcTolerance = 0.1;
// The amount ... |
import { NgModule } from '@angular/core';
import { PageOwnValorationsComponent } from './page-own-valorations.component';
import { ToolbarOwnerModule } from '../../../../components/toolbar-owner/toolbar-owner.module';
import { ListValorationsModule } from '../../../../components/list-valorations/list-valorations.modul... |
import React, { useEffect, useState } from "react";
import {FaWhatsapp} from "react-icons/fa";
import {FiClock, FiInfo} from "react-icons/fi";
import {Map, Marker, TileLayer} from "react-leaflet";
import {useParams} from 'react-router-dom';
import Sidebar from "../components/Sidebar";
import mapIcon from "../utils/map... |
import { ResizeOptions } from 'sharp';
export interface Breakpoints {
[x: string]: number;
}
export const DEFAULT_THUBNAIL_RESIZE_OPTIONS: ResizeOptions = {
width: 245,
height: 156,
fit: 'inside',
};
export const DEFAULT_BREAKPOINTS: Breakpoints = {
large: 1000,
medium: 750,
small: 500,
};
class Image... |
/*
* Power BI Visualizations
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
* MIT License
*
* 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 restrict... |
/*
* Copyright 2015-2016 Imply Data, Inc.
* 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
*
* Unl... |
import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import { autoFileTagsRegex } from '../components/tags-auto/autotags.service';
export interface WordFreqAndHeight {
word: string;
freq: number;
height?: number;
}
@Injectable()
export class WordFrequencyService {
wordMap: Ma... |
import _ = require("../index");
declare module "../index" {
interface LoDashStatic {
/**
* Creates an array of unique values, in order, from all of the provided arrays using SameValueZero for
* equality comparisons.
*
* @param arrays The arrays to inspect.
* @ret... |
import { createBabelChain } from '@modern-js/babel-chain';
import { applyOptionsChain } from '@modern-js/utils';
import { generate } from './generate';
import type { Options } from './type';
export type { Options };
const defaultOptions = {
appDirectory: process.cwd(),
metaName: 'modern-js',
target: 'client',
... |
import React from "react"
const Arrow = () => {
return (
<svg height="60" viewBox="0 0 1792 1792" width="60">
<path d="M1600 960q0 54-37 91l-651 651q-39 37-91 37-51 0-90-37l-75-75q-38-38-38-91t38-91l293-293h-704q-52 0-84.5-37.5t-32.5-90.5v-128q0-53 32.5-90.5t84.5-37.5h704l-293-294q-38-36-38-90t38-90l75-75q... |
import Dialog from '../Dialog';
import Client from '../../Client';
let exstatusTemplate = require('../../../template/extensiveStatus.hbs');
export default function () {
let currentStatus = Client.getPresenceController().getStatus();
let content = exstatusTemplate({
status: currentStatus,
});
let d... |
import { Element, ElementOptions, ElementType } from './element';
export interface Elements {
create(type: ElementType, options: ElementOptions): Element;
}
export interface ElementsOptions {
fonts?: FontElement[];
locale?:
| 'auto'
| 'da'
| 'de'
| 'en'
| 'es'
| 'fi'
| 'fr'
| 'it... |
import React from 'react';
import type { IconProps } from '../index';
export const Polygon = React.memo<IconProps>(({ size = 18, fillColor = '#9DAAB7', suffixForId, className, style }) => {
const uniqueId = suffixForId ?? String(Math.random().toString(36).slice(2, 11));
return (
<svg
width={size}
he... |
/**
* @license
* Original work Copyright Google LLC All Rights Reserved.
* Modified work Copyright DatePoll-Systems
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {NgModule} from '@angular/core';
import {NgbRecycleR... |
export interface EntityBase {
id: string;
userId: string;
} |
// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
export declare const BiUndo: IconType; |
import { useTranslation } from 'react-i18next';
import Checkbox from 'semantic-ui-react/dist/commonjs/modules/Checkbox';
import Dropdown, { DropdownProps } from 'semantic-ui-react/dist/commonjs/modules/Dropdown';
import { Page } from 'common';
import CustomStasuses from 'components/Settings/elements/CustomStatuses';
im... |
import * as React from "react";
import type { IconDefinition } from "@fortawesome/free-solid-svg-icons";
import type { Observable } from "core/Misc/observable";
import type { Scene } from "core/scene";
import type { PropertyChangedEvent } from "../propertyChangedEvent";
import type { GlobalState } from "../../component... |
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient.ts";
import { DescribeKeyRequest, DescribeKeyResponse } from "../models/models_0.ts";
import {
deserializeAws_json1_1DescribeKeyCommand,
serializeAws_json1_1DescribeKeyCommand,
} from "../protocols/Aws_json1_1.ts";
import {... |
import React, { Component } from 'react';
import anime from 'animejs'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faSearchPlus, faSearchMinus, faCompressAlt } from '@fortawesome/free-solid-svg-icons'
const sceneClass = '.scene';
class Zoom extends Component {
render() {
retu... |
import { StyleSheet } from "react-native";
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#f0f0f7'
},
teacherList: {
marginTop: -40,
},
searchForm: {
marginBottom: 24,
},
label: {
color: '#d4c2ff',
fontFamily: 'Poppins_400Regular'
},
input: {
... |
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { RouterModule } from '@angular/router';
import { AppRoutingModule } from './app.routing';
import {... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { QuotesComponent } from './quotes/quotes.component';
import { QuoteDetailsComponent } from './quote-detai... |
/*
* Copyright 2020 James Lyne
*
* Some portions of this file were taken from https://github.com/webbukkit/dynmap.
* These portions are Copyright 2020 Dynmap Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.