repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
opencdk8s/cdk8s-opendistro-for-elasticsearch | src/util.ts | <filename>src/util.ts
import * as k8s from './imports/k8s';
export interface ResourceRequirements {
/**
* Maximum resources for the web app.
* @default - CPU = 400m, Mem = 512Mi
*/
readonly limits?: ResourceQuantity;
/**
* Required resources for the web app.
* @default - CPU = 200m, Me... |
opencdk8s/cdk8s-opendistro-for-elasticsearch | src/constructs/data.ts | import * as cdk8s from 'cdk8s';
import { Construct } from 'constructs';
import { ResourceRequirements, convertQuantity } from '../util';
export interface DataOpts {
readonly name?: string;
readonly namespace?: string;
readonly image?: string;
readonly dataVolumeSize?: string;
readonly dataResources?: Resour... |
opencdk8s/cdk8s-opendistro-for-elasticsearch | src/constructs/master.ts | import * as cdk8s from 'cdk8s';
import { Construct } from 'constructs';
import { ResourceRequirements, convertQuantity } from '../util';
export interface MasterOpts {
readonly name?: string;
readonly namespace?: string;
readonly image?: string;
readonly masterReplicas?: number;
readonly masterVolumeSize?: s... |
opencdk8s/cdk8s-opendistro-for-elasticsearch | src/constructs/misc.ts | <reponame>opencdk8s/cdk8s-opendistro-for-elasticsearch<filename>src/constructs/misc.ts
import * as cdk8s from 'cdk8s';
import { Construct } from 'constructs';
export interface MiscOpts {
readonly name?: string;
readonly namespace?: string;
readonly createElasticsearchSecret?: boolean;
readonly elasticsearchCo... |
opencdk8s/cdk8s-opendistro-for-elasticsearch | src/constructs/client.ts | <filename>src/constructs/client.ts
import * as cdk8s from 'cdk8s';
import { Construct } from 'constructs';
import { ResourceRequirements, convertQuantity } from '../util';
export interface ClientOpts {
readonly name?: string;
readonly namespace?: string;
readonly image?: string;
readonly clientVolumeSize?: s... |
xeonray-origin/react-typescript-redux-template | src/components/pages/dashboard.tsx | <filename>src/components/pages/dashboard.tsx
import React from 'react';
import { connect } from 'react-redux';
import { Typography } from '@material-ui/core';
const DashboardPage = (props: any) => {
return (
<>
<Typography variant={'h2'}>Dashboard</Typography>
</>
);
};
export default connect(null, ... |
xeonray-origin/react-typescript-redux-template | src/store.ts | <gh_stars>1-10
import { createStore, applyMiddleware, compose } from 'redux';
import thunkMiddleware from 'redux-thunk';
import { combinedReducer } from '@reducers';
export const store = createStore(
combinedReducer,
// @ts-ignore
window.__REDUX_DEVTOOLS_EXTENSION__
? compose(
applyMiddleware(thunkMi... |
xeonray-origin/react-typescript-redux-template | src/cosntants/index.ts | <filename>src/cosntants/index.ts
import { default as error } from './error';
export default {
error,
};
|
xeonray-origin/react-typescript-redux-template | src/components/pages/home.tsx | <filename>src/components/pages/home.tsx
import React from 'react';
import { connect } from 'react-redux';
import { Card, Grid, Typography } from '@material-ui/core';
import {Section} from '@components/base'
const HomePage = (props: any) => {
return (
<>
<Grid container justify="center" direction="row" al... |
xeonray-origin/react-typescript-redux-template | src/jss/page.ts | <filename>src/jss/page.ts<gh_stars>1-10
import { createStyles } from '@material-ui/styles';
import { Theme } from '@material-ui/core';
export const pageStyles = (theme: Theme) =>
createStyles({
mainPanel: {
position: 'relative',
transition: theme.transitions.create([
'all 0.33s cubic-bezier(0.... |
xeonray-origin/react-typescript-redux-template | src/components/partials/topbar.tsx | <filename>src/components/partials/topbar.tsx<gh_stars>1-10
import React from 'react';
import {
AppBar,
Toolbar,
withStyles,
WithStyles,
Link,
Theme,
Typography,
} from '@material-ui/core';
import { connect } from 'react-redux';
import { topbarStyles } from '@jss';
import { AppLogo, NavigationMenuItems } f... |
xeonray-origin/react-typescript-redux-template | src/components/base/appFrame.tsx | <gh_stars>1-10
import React, { useMemo } from 'react';
import { HashRouter as Router } from 'react-router-dom';
import { Topnavigation } from '@components/partials';
import PageRoutes from '@routes';
export default () => {
const topbar = useMemo(() => <Topnavigation />, []);
return (
<>
{topbar}
<... |
xeonray-origin/react-typescript-redux-template | src/reducers/index.ts | import { combineReducers } from 'redux';
import { appReducer } from './app';
export const combinedReducer = combineReducers({
app: appReducer,
});
|
xeonray-origin/react-typescript-redux-template | src/components/partials/index.ts | export { default as Topnavigation } from './topbar';
export { default as withPage } from './page';
|
xeonray-origin/react-typescript-redux-template | src/jss/section_styles.ts | import { createStyles } from '@material-ui/styles';
import { Theme } from '@material-ui/core';
export const sectionStyles = (theme: Theme) =>
createStyles({
card:{
width:'100%',
backgroundPosition:'center',
backgroundSize:'fill',
minHeight:'30rem',
boxShadow:'0px 0px 8px 0px white in... |
xeonray-origin/react-typescript-redux-template | src/components/partials/page.tsx | <reponame>xeonray-origin/react-typescript-redux-template
import React from 'react';
import { connect } from 'react-redux';
import get from 'lodash/get';
import { RouteComponentProps, withRouter } from 'react-router-dom';
import { Grid, Typography, WithStyles, withStyles } from '@material-ui/core';
import { pageStyles }... |
xeonray-origin/react-typescript-redux-template | src/reducers/app.ts | <gh_stars>1-10
import { theme } from '@config';
import { IAppStateType } from '@types';
const initialState: IAppStateType = {
theme: theme,
screenWidth: window.innerWidth,
};
export const appReducer = (state = initialState, action: any) => {
switch (action.type) {
case 'DARK_MODE':
return state;
d... |
xeonray-origin/react-typescript-redux-template | src/index.tsx | <filename>src/index.tsx
import React from 'react';
import ReactDOM from 'react-dom';
import { ThemeProvider, Typography, CssBaseline } from '@material-ui/core';
import { theme } from '@config';
import { AppFrame } from '@components/base';
import { store } from '@store';
import { Provider, connect } from 'react-redux';
... |
xeonray-origin/react-typescript-redux-template | src/jss/topbar.ts | import { createStyles } from '@material-ui/styles';
import { Theme } from '@material-ui/core';
export const topbarStyles = (theme: Theme) =>
createStyles({
topbarInit: {
height: '8rem',
width: '100%',
backgroundColor: theme.palette.background.default,
},
logoInit: {
height: '4rem',... |
xeonray-origin/react-typescript-redux-template | src/components/pages/products.tsx | <reponame>xeonray-origin/react-typescript-redux-template<filename>src/components/pages/products.tsx
import React from 'react';
import { connect } from 'react-redux';
import { Typography } from '@material-ui/core';
const ProductsPage = (props: any) => {
return (
<>
<Typography variant={'h2'}>Products</Typog... |
xeonray-origin/react-typescript-redux-template | src/cosntants/error.ts | export default {
pageDefaultError: 'Page error. Please contact your adminstrator.',
};
|
xeonray-origin/react-typescript-redux-template | src/components/pages/index.ts | <reponame>xeonray-origin/react-typescript-redux-template
export { default as Home } from './home';
export { default as Products } from './products';
export { default as Dashboard } from './dashboard';
export { default as Blogs } from './blogs';
|
xeonray-origin/react-typescript-redux-template | src/jss/index.ts | export { topbarStyles } from './topbar';
export { pageStyles } from './page';
export {sectionStyles} from './section_styles' |
xeonray-origin/react-typescript-redux-template | src/routes.tsx | <gh_stars>1-10
import { Route, Switch, Redirect } from 'react-router-dom';
import React from 'react';
import { withPage } from '@components/partials';
import { Home, Products, Blogs, Dashboard } from '@components/pages';
const redirectToHome = () => <Redirect to={'/Home'} />;
const PageRoutes = (
<Switch>
<Rout... |
xeonray-origin/react-typescript-redux-template | src/config.ts | <reponame>xeonray-origin/react-typescript-redux-template<gh_stars>1-10
import { createMuiTheme, Theme, Link } from '@material-ui/core';
import constants from './cosntants';
export const AppLogo: string = './static/icons/logo.png';
export const resources = constants;
export const NavigationMenuItems: Array<{label:str... |
xeonray-origin/react-typescript-redux-template | src/types.ts | import { combinedReducer } from '@reducers';
import { StateType } from 'typesafe-actions';
import { Theme } from '@material-ui/core';
export type StoreState = StateType<ReturnType<typeof combinedReducer>>;
export interface IAppStateType {
theme: Theme;
screenWidth: number;
}
export interface ISectionConfigData {... |
xeonray-origin/react-typescript-redux-template | src/components/base/index.ts | export { default as AppFrame } from './appFrame';
export { default as Section } from './section';
|
xeonray-origin/react-typescript-redux-template | src/components/base/section.tsx | import React, { Children } from 'react';
import { Typography, Grid, Card, withStyles, WithStyles } from '@material-ui/core';
import { ISectionConfig } from '@types';
import {sectionStyles} from '@jss'
export interface ISectionProps extends WithStyles {
children: any
}
const SectionHOC = (props:ISectionProps) => {... |
zhangymPerson/Think-in-java-note | bookcode/jsproject/tsproject/tsone/index.ts | <reponame>zhangymPerson/Think-in-java-note
//ts文件
function hello(){
console.log("hello word!")
}
hello();
//类
class Person{
//属性 默认是
username:string;
//
age:number;
static sex:string = "男";
//构造
constructor(username:string,age:number){
this.username=username;
this.age=... |
zhangymPerson/Think-in-java-note | bookcode/jsproject/tsproject/excelutil/excelutil.ts | <gh_stars>0
console.log("test")
console.log("ttt")
console.log("ttt")
console.log("ttt")
console.log("ttt")
console.log("ttt")
console.log("ttt")
console.log("ttt")
console.log("ttt") |
uct8086/fes.js | docs/.vuepress/configs/sidebar/en.ts | import type { SidebarConfig } from '@vuepress/theme-default'
export const en: SidebarConfig = {
'/guide/': [
{
isGroup: true,
text: '介绍',
children: [
'/guide/README.md',
'/guide/getting-started.md',
],
},
{
isGroup: true,
text: '基础',
children: [
... |
unity-game-framework-actions/milestone-release | src/action.ts | <gh_stars>0
import * as utility from './utility'
export async function createMilestoneRelease(owner: string, repo: string, unreleased: string, release: string): Promise<any> {
await updateUnreleased(owner, repo, unreleased, release)
await createUnreleased(owner, repo, unreleased)
}
async function updateUnreleased... |
unity-game-framework-actions/milestone-release | src/main.ts | <filename>src/main.ts
import * as core from '@actions/core'
import * as utility from './utility'
import * as action from './action'
run()
async function run(): Promise<void> {
try {
const repository = utility.getRepository()
const unreleased = core.getInput('unreleased', {required: true})
const release ... |
petevdp/jest | packages/jest-circus/src/index.ts | /**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import chalk from 'chalk';
import {bind as bindEach} from 'jest-each';
import {formatExecError} from 'jest-me... |
petevdp/jest | packages/jest-snapshot/src/print.ts | /**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import diff, {diffStringsUnified} from 'jest-diff';
import getType = require('jest-get-type');
import {
EXP... |
petevdp/jest | packages/jest-config/src/__tests__/readConfigs.test.ts | /**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {readConfigs} from '../index';
test('readConfigs() throws when called without project paths', () => {... |
petevdp/jest | packages/pretty-format/src/plugins/ConvertAnsi.ts | /**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import ansiRegex = require('ansi-regex');
import * as style from 'ansi-styles';
import {Config, NewPlugin, Pr... |
petevdp/jest | packages/jest-util/src/deepCyclicCopy.ts | /**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const EMPTY = new Set<string>();
export type DeepCyclicCopyOptions = {
blacklist?: Set<string>;
keepProt... |
petevdp/jest | packages/jest-watcher/src/lib/patternModeHelpers.ts | <gh_stars>1-10
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import chalk from 'chalk';
import ansiEscapes = require('ansi-escapes');
import stringLength =... |
petevdp/jest | packages/jest-matcher-utils/src/__tests__/printDiffOrStringify.test.ts | /**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {EXPECTED_COLOR, INVERTED_COLOR, printDiffOrStringify} from '../index';
describe('printDiffOrStringif... |
petevdp/jest | packages/test-utils/src/ConditionalTest.ts | <reponame>petevdp/jest<gh_stars>1-10
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* eslint-disable jest/no-focused-tests */
export function isJestCircus... |
petevdp/jest | packages/jest-core/src/getNoTestFoundFailed.ts | <filename>packages/jest-core/src/getNoTestFoundFailed.ts
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import chalk from 'chalk';
export default function ... |
petevdp/jest | packages/jest-config/src/readConfigFileAndSetRootDir.ts | <gh_stars>1-10
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as path from 'path';
import * as fs from 'fs';
import {Config} from '@jest/types';
//... |
petevdp/jest | packages/pretty-format/src/__tests__/ConvertAnsi.test.ts | /**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import ansiStyle from 'ansi-styles';
import prettyFormat from '../';
const {ConvertAnsi} = prettyFormat.plu... |
petevdp/jest | packages/jest-config/src/__tests__/getMaxWorkers.test.ts | <gh_stars>1-10
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import getMaxWorkers from '../getMaxWorkers';
jest.mock('os');
describe('getMaxWorkers', ... |
petevdp/jest | e2e/__tests__/toMatchSnapshot.test.ts | /**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as path from 'path';
import {cleanup, makeTemplate, writeFiles} from '../Utils';
import runJest from... |
petevdp/jest | packages/jest-diff/src/__tests__/joinAlignedDiffs.test.ts | <filename>packages/jest-diff/src/__tests__/joinAlignedDiffs.test.ts
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {DIFF_DELETE, DIFF_EQUAL, DIFF_INS... |
petevdp/jest | packages/expect/src/jasmineUtils.ts | <filename>packages/expect/src/jasmineUtils.ts
/*
Copyright (c) 2008-2016 Pivotal Labs
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights t... |
petevdp/jest | packages/jest-circus/src/eventHandler.ts | /**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {Circus} from '@jest/types';
import {TEST_TIMEOUT_SYMBOL} from './types';
import {
addErrorToEachTe... |
konuch/primeng | src/app/showcase/components/slider/sliderdemo.ts | <reponame>konuch/primeng<gh_stars>0
import {Component, ViewEncapsulation} from '@angular/core';
@Component({
templateUrl: './sliderdemo.html',
styleUrls: ['./sliderdemo.scss']
})
export class SliderDemo {
val1: number;
val2: number = 50;
val3: number;
val4: number;
val5: number = 50;
... |
NestJsPlayground/rso-web | src/modules/app.controller.ts | import { Body, Controller, Get, Param, Post, Req, RequestTimeoutException, UseGuards } from '@nestjs/common';
import { ApiModelProperty, ApiResponse } from '@nestjs/swagger';
import * as scraperjs from 'scraperjs';
import * as rp from 'request-promise-native';
import * as CircuitBreaker from 'circuit-breaker-js';
impor... |
NestJsPlayground/rso-web | src/modules/consul/consul.service.ts | import { Component } from '@nestjs/common';
import * as os from 'os';
import * as Consul from 'consul';
import { info, error } from 'winston';
import { environment } from '../../environment';
import * as GError from '@google-cloud/error-reporting';
let errors = { report: (x: any) => {} };
if (environment.envType !== '... |
NestJsPlayground/rso-web | src/modules/health/health.controller.ts | import { Controller, ForbiddenException, Get, HttpStatus, Res, UseGuards } from '@nestjs/common';
import { ApiResponse, ApiUseTags } from '@nestjs/swagger';
import { ConsulService } from '../consul/consul.service';
import { AuthGuard } from '../auth/auth.guard';
import { environment } from '../../environment';
import *... |
jalkire/accessibility-insights-web | src/tests/unit/tests/common/components/cards/cards-visualization-modifier-buttons.test.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
CardsVisualizationModifierButtonsProps,
ExpandCollapseOnlyModifierButtons,
ExpandCollapseVisualHelperModifierButtons,
} from 'common/components/cards/cards-visualization-modifier-buttons';
import { CardS... |
jalkire/accessibility-insights-web | src/reports/package/combined-results-report.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CardSelectionMessageCreator } from 'common/message-creators/card-selection-message-creator';
import { ScanMetadata, ScanTimespan, ToolData } from 'common/types/store-data/unified-data-interface';
import { CombinedRe... |
jalkire/accessibility-insights-web | src/background/actions/tab-stop-requirement-actions.ts | <filename>src/background/actions/tab-stop-requirement-actions.ts
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Action } from 'common/flux/action';
import {
AddTa... |
jalkire/accessibility-insights-web | src/tests/unit/tests/DetailsView/components/tab-stops/tab-stops-test-view-controller.test.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Action } from 'common/flux/action';
import { TabStopsTestViewController } from 'DetailsView/components/tab-stops/tab-stops-test-view-controller';
import {
EditExistingFailureInstancePayload,
TabStopsViewAct... |
jalkire/accessibility-insights-web | src/injected/analyzers/unified-result-sender.ts | <filename>src/injected/analyzers/unified-result-sender.ts<gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { UnifiedScanCompletedPayload } from 'background/actions/action-payloads';
import { ScanIncompleteWarningsTelemetryData } from 'common/extens... |
jalkire/accessibility-insights-web | src/tests/unit/tests/background/actions/needs-review-card-selection-action-creator.test.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
BaseActionPayload,
CardSelectionPayload,
RuleExpandCollapsePayload,
} from 'background/actions/action-payloads';
import { NeedsReviewCardSelectionActionCreator } from 'background/actions/needs-review-car... |
jalkire/accessibility-insights-web | src/tests/unit/tests/DetailsView/components/report-export-dialog-factory.test.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { AssessmentsProvider } from 'assessments/types/assessments-provider';
import { AssessmentStoreData } from 'common/types/store-data/assessment-result-data';
import { CardsViewModel } from 'common/types/store-data/card... |
jalkire/accessibility-insights-web | src/tests/unit/tests/injected/analyzers/filter-results.test.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { filterNeedsReviewResults } from 'injected/analyzers/filter-results';
import { RuleResult, ScanResults } from 'scanner/iruleresults';
describe('filterNeedsReviewResults', () => {
it('should return only filtered... |
jalkire/accessibility-insights-web | src/tests/unit/tests/background/stores/visualization-scan-result-store.test.ts | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
AddTabbedElementPayload,
AddTabStopInstancePayload,
RemoveTabStopInstancePayload,
ResetTabStopRequirementStatusPayload,
UpdateTabStopInstancePayload,
UpdateTabStopRequirementSt... |
jalkire/accessibility-insights-web | src/DetailsView/components/tab-stops/tab-stops-test-view-controller.ts | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
EditExistingFailureInstancePayload,
TabStopsViewActions,
} from 'DetailsView/components/tab-stops/tab-stops-view-actions';
export class TabStopsTestViewController {
constructor(priva... |
jalkire/accessibility-insights-web | src/tests/unit/tests/DetailsView/components/tab-stops/tab-stops-failed-instance-panel.test.tsx | <filename>src/tests/unit/tests/DetailsView/components/tab-stops/tab-stops-failed-instance-panel.test.tsx
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CapturedInstanceActionType } from 'common/types/captured-instance-action-type';
import { TabStopRequirementAc... |
jalkire/accessibility-insights-web | src/common/message-creators/card-selection-message-creator.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { SupportedMouseEvent } from 'common/telemetry-data-factory';
export interface CardSelectionMessageCreator {
toggleCardSelection: (
ruleId: string,
resultInstanceUid: string,
event: React... |
jalkire/accessibility-insights-web | src/common/types/store-data/needs-review-scan-result-data.ts | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ScanIncompleteWarningId } from 'common/types/scan-incomplete-warnings';
import {
PlatformData,
ScreenshotData,
TargetAppData,
ToolData,
UnifiedResult,
UnifiedRule,
} from ... |
jalkire/accessibility-insights-web | src/common/types/store-data/visualization-scan-result-data.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { AdHocTestkeys } from 'common/configs/adhoc-test-keys';
import { TabStopEvent } from 'common/types/tab-stop-event';
import { DecoratedAxeNodeResult, HtmlElementAxeResults } from 'injected/scanner-utils';
import { Tab... |
jalkire/accessibility-insights-web | src/reports/components/report-sections/automated-checks-report-section-factory.tsx | <filename>src/reports/components/report-sections/automated-checks-report-section-factory.tsx
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { FailedInstancesSection } from 'common/components/cards/failed-instances-section';
import { AutomatedChecksHeaderSection } ... |
jalkire/accessibility-insights-web | src/DetailsView/components/tab-stops/tab-stops-view-store.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { BaseStoreImpl } from 'background/stores/base-store-impl';
import { StoreNames } from 'common/stores/store-names';
import { CapturedInstanceActionType } from 'common/types/captured-instance-action-type';
import {
... |
jalkire/accessibility-insights-web | src/common/types/captured-instance-action-type.tsx | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
export enum CapturedInstanceActionType {
EDIT = 'EDIT',
CREATE = 'CREATE',
}
|
jalkire/accessibility-insights-web | src/tests/unit/tests/DetailsView/components/tab-stops/tab-stops-view-store.test.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { StoreNames } from 'common/stores/store-names';
import { CapturedInstanceActionType } from 'common/types/captured-instance-action-type';
import {
TabStopsViewActions,
EditExistingFailureInstancePayload,
} fr... |
jalkire/accessibility-insights-web | src/reports/components/report-sections/fast-pass-results-title-section.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NamedFC } from 'common/react/named-fc';
import * as React from 'react';
export type FastPassResultsTitleSectionProps = {
title: string;
};
export const FastPassResultsTitleSection = NamedFC<FastPassResultsTitl... |
jalkire/accessibility-insights-web | src/tests/unit/tests/DetailsView/details-view-body.test.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { FeatureFlagStoreData } from 'common/types/store-data/feature-flag-store-data';
import { ScanMetadata, TargetAppData } from 'common/types/store-data/unified-data-interface';
import {
DetailsViewCommandBarDeps,
... |
jalkire/accessibility-insights-web | src/injected/visualization/failure-instance-formatter.ts | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { DialogRenderer } from '../dialog-renderer';
import {
AssessmentVisualizationInstance,
AxeResultsWithFrameLevel,
} from '../frameCommunicators/html-element-axe-results-helper';
import { Fai... |
jalkire/accessibility-insights-web | src/DetailsView/components/issues-table.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
CommonInstancesSectionDeps,
CommonInstancesSectionProps,
} from 'common/components/cards/common-instances-section-props';
import { ScanningSpinner } from 'common/components/scanning-spinner/scanning-spinner'... |
jalkire/accessibility-insights-web | src/tests/unit/tests/background/actions/assessment-action-creator.test.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
AddFailureInstancePayload,
AddResultDescriptionPayload,
AssessmentActionInstancePayload,
BaseActionPayload,
ChangeInstanceSelectionPayload,
ChangeRequirementStatusPayload,
EditFailureInst... |
jalkire/accessibility-insights-web | src/DetailsView/components/failure-instance-panel-control.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { AssessmentsProvider } from 'assessments/types/assessments-provider';
import { FlaggedComponent } from 'common/components/flagged-component';
import { FeatureFlags } from 'common/feature-flags';
import { CapturedInst... |
jalkire/accessibility-insights-web | src/tests/unit/tests/DetailsView/components/tab-stops-minimal-requirement-header.test.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { TabStopsFailedCounter } from 'DetailsView/tab-stops-failed-counter';
import {
TabStopsMinimalRequirementHeader,
TabStopsMinimalRequirementHeaderDeps,
TabStopsMinimalRequirementHeaderProps,
} from 'Detai... |
jalkire/accessibility-insights-web | src/common/types/store-data/needs-review-card-selection-store-data.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CardSelectionStoreData } from 'common/types/store-data/card-selection-store-data';
export type NeedsReviewCardSelectionStoreData = CardSelectionStoreData;
|
jalkire/accessibility-insights-web | src/DetailsView/components/assessment-instance-edit-and-remove-control.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { AssessmentsProvider } from 'assessments/types/assessments-provider';
import { CapturedInstanceActionType } from 'common/types/captured-instance-action-type';
import { FailureInstanceData } from 'common/types/failure... |
jalkire/accessibility-insights-web | src/tests/unit/tests/DetailsView/components/report-export-component.test.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
ReportExportComponent,
ReportExportComponentDeps,
ReportExportComponentProps,
} from 'DetailsView/components/report-export-component';
import { shallow } from 'enzyme';
import * as React from 'react';
im... |
jalkire/accessibility-insights-web | src/reports/components/report-sections/incomplete-checks-section.tsx | <filename>src/reports/components/report-sections/incomplete-checks-section.tsx
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NamedFC } from 'common/react/named-fc';
import * as React from 'react';
import {
CollapsibleResultSection,
CollapsibleResultSec... |
jalkire/accessibility-insights-web | src/reports/components/fast-pass-report-summary.tsx | <reponame>jalkire/accessibility-insights-web
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import * as React from 'react';
import { FastPassOutcomeSummaryBar } from 'reports/components/fast-pass-outcome-summary-bar';
export interface FastPassReportSummaryProps {}
expo... |
jalkire/accessibility-insights-web | src/electron/views/results/components/reflow-command-bar.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { InsightsCommandButton } from 'common/components/controls/insights-command-button';
import { FastPassLeftNavHamburgerButton } from 'common/components/expand-collapse-left-nav-hamburger-button';
import { DropdownClick... |
jalkire/accessibility-insights-web | src/DetailsView/components/tab-stops/tab-stops-view-actions.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Action } from 'common/flux/action';
import { TabStopRequirementId } from 'types/tab-stop-requirement-info';
export interface EditExistingFailureInstancePayload {
instanceId: string;
requirementId: TabStopR... |
jalkire/accessibility-insights-web | src/tests/unit/tests/injected/tabbable-element-getter.test.ts | <reponame>jalkire/accessibility-insights-web<filename>src/tests/unit/tests/injected/tabbable-element-getter.test.ts
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { TabbableElementGetter, TabbableElementInfo } from 'injected/tabbable-element-getter';
import { get... |
jalkire/accessibility-insights-web | src/DetailsView/components/tab-stops/requirements.ts | <reponame>jalkire/accessibility-insights-web<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { link } from 'content/link';
import {
TabStopRequirementContent,
TabStopRequirementId,
TabStopRequirementInfo,
} from 'types/tab-stop-requiremen... |
jalkire/accessibility-insights-web | src/tests/unit/tests/DetailsView/components/tab-stops/tab-stops-requirements-table.test.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { SupportedMouseEvent } from 'common/telemetry-data-factory';
import { TabStopRequirementState } from 'common/types/store-data/visualization-scan-result-data';
import { TabStopRequirementActionMessageCreator } from '... |
jalkire/accessibility-insights-web | src/tests/unit/tests/reports/components/fast-pass-outcome-summary-bar.test.tsx | <filename>src/tests/unit/tests/reports/components/fast-pass-outcome-summary-bar.test.tsx
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { shallow } from 'enzyme';
import * as React from 'react';
import { FastPassOutcomeSummaryBar } from 'reports/components/fast-pa... |
jalkire/accessibility-insights-web | src/common/components/cards/failed-instances-section.tsx | <filename>src/common/components/cards/failed-instances-section.tsx
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NamedFC } from 'common/react/named-fc';
import * as React from 'react';
import { OutcomeCounter } from 'reports/components/outcome-counter';
import... |
jalkire/accessibility-insights-web | src/DetailsView/components/details-view-content.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NamedFC } from 'common/react/named-fc';
import { ScanMetadata } from 'common/types/store-data/unified-data-interface';
import { DetailsViewOverlay } from 'DetailsView/components/details-view-overlay/details-view-ove... |
jalkire/accessibility-insights-web | src/tests/unit/tests/DetailsView/components/tab-stops-failed-instance-section.test.tsx | <filename>src/tests/unit/tests/DetailsView/components/tab-stops-failed-instance-section.test.tsx<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
TabStopsFailedInstanceSection,
TabStopsFailedInstanceSectionDeps,
TabStopsFailedInstanceSec... |
jalkire/accessibility-insights-web | src/common/components/cards/expand-collapse-all-button.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CardSelectionMessageCreator } from 'common/message-creators/card-selection-message-creator';
import { NamedFC } from 'common/react/named-fc';
import { ActionButton } from 'office-ui-fabric-react';
import * as React ... |
jalkire/accessibility-insights-web | src/common/components/cards/result-section-content.tsx | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CardsVisualizationModifierButtons } from 'common/components/cards/cards-visualization-modifier-buttons';
import { FixInstructionProcessor } from 'common/components/fix-instruction-processor';
import { CardSelectionM... |
jalkire/accessibility-insights-web | src/DetailsView/actions/tab-stop-requirement-action-message-creator.ts | <filename>src/DetailsView/actions/tab-stop-requirement-action-message-creator.ts<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
AddTabStopInstancePa... |
jalkire/accessibility-insights-web | src/tests/unit/tests/reports/components/fast-pass-report-summary.test.tsx | <reponame>jalkire/accessibility-insights-web
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { shallow } from 'enzyme';
import * as React from 'react';
import { FastPassReportSummary } from 'reports/components/fast-pass-report-summary';
describe('FastPassReportSu... |
jalkire/accessibility-insights-web | src/background/actions/needs-review-scan-result-action-creator.ts | <reponame>jalkire/accessibility-insights-web<filename>src/background/actions/needs-review-scan-result-action-creator.ts
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NeedsReviewScanResultActions } from 'background/actions/needs-review-scan-result-actions';
impo... |
jalkire/accessibility-insights-web | src/DetailsView/tab-stops-requirement-result.ts | <reponame>jalkire/accessibility-insights-web<filename>src/DetailsView/tab-stops-requirement-result.ts
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { TabStopRequirementId } from 'types/tab-stop-requirement-info';
export interface TabStopsRequirementResultInstan... |
jalkire/accessibility-insights-web | src/tests/unit/tests/background/stores/needs-review-scan-result-store.test.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NeedsReviewScanResultActions } from 'background/actions/needs-review-scan-result-actions';
import { NeedsReviewScanResultStore } from 'background/stores/needs-review-scan-result-store';
import { ScanIncompleteWarnin... |
jalkire/accessibility-insights-web | src/tests/unit/tests/common/message-creators/needs-review-card-selection-message-creator.test.ts | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
BaseActionPayload,
CardSelectionPayload,
RuleExpandCollapsePayload,
} from 'background/actions/action-payloads';
import { BaseTelemetryData, TelemetryEventSource } from 'common/extension-telemetry-events... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.