= (props) => {
12 | return {props.renderBaseRow(props)}
;
13 | };
14 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/ipywidgets/renderer/styles.css:
--------------------------------------------------------------------------------
1 | .cell-output-ipywidget-background {
2 | background: white !important;
3 | }
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/plot/mainPanel.css:
--------------------------------------------------------------------------------
1 | .main-panel {
2 | position: absolute;
3 | bottom: 0;
4 | top: 0;
5 | left: 0;
6 | right: 0;
7 | background-color: var(--vscode-editor-background);
8 | overflow: hidden;
9 | }
10 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/plot/toolbar.css:
--------------------------------------------------------------------------------
1 | #plot-toolbar-panel {
2 | position: absolute;
3 | top: 0;
4 | left: 0;
5 | background-color: var(--vscode-editor-background);
6 | border: 1px solid black;
7 | }
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/codicon/codicon-animations.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | @keyframes codicon-spin {
7 | 100% {
8 | transform:rotate(360deg);
9 | }
10 | }
11 |
12 | .codicon-animation-spin {
13 | animation: codicon-spin 1.5s linear infinite;
14 | }
15 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/codicon/codicon-modifications.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | .codicon-wrench-subaction {
7 | opacity: 0.5;
8 | }
9 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/codicon/codicon.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // These values come from VS code source.
5 | export enum CodIcon {
6 | RunByLine = '\uead4', // This is actually debug-step-into
7 | Stop = '\uead7'
8 | }
9 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/codicon/codicon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/vscode-jupyter/e34b4acce3bd4b309d81808c680f59b62b669590/src/webviews/webview-side/react-common/codicon/codicon.ttf
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/flyout.css:
--------------------------------------------------------------------------------
1 |
2 | .flyout-container {
3 | position: relative;
4 | height: 16px;
5 | width: auto;
6 | }
7 |
8 | .flyout-inner-disabled-filter {
9 | opacity: 0.5;
10 | }
11 |
12 | .flyout-button-hidden {
13 | visibility: hidden;
14 | }
15 |
16 | .flyout-children-hidden {
17 | visibility: hidden;
18 | width: 0px;
19 | }
20 |
21 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Cancel/Cancel_16xMD_vscode.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Cancel/Cancel_16xMD_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/ClearAllOutput/clear_all_output_dark.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/ClearAllOutput/clear_all_output_light.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/CollapseAll/CollapseAll_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/CollapseAll/CollapseAll_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Copy/copy.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Copy/copy_inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Delete/delete_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Delete/delete_light.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/ExpandAll/ExpandAll_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/ExpandAll/ExpandAll_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/InsertAbove/above-inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/InsertAbove/above.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/InsertBelow/below-inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/InsertBelow/below.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Interrupt/Interrupt_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Interrupt/Interrupt_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Next/next-inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Next/next.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/OpenInNewWindow/OpenInNewWindow_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/OpenInNewWindow/OpenInNewWindow_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/OpenPlot/plot_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/OpenPlot/plot_light.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Pan/pan.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Pan/pan_inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/PopIn/PopIn_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/PopIn/PopIn_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/PopOut/PopOut_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/PopOut/PopOut_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Prev/previous-inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Prev/previous.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Redo/Redo_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Redo/Redo_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Restart/Restart_grey_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Restart/Restart_grey_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Run/run-dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Run/run-light.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/RunAbove/runabove-inverse.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/RunAbove/runabove.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/RunAll/run_all_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/RunAll/run_all_light.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/RunBelow/runbelow-inverse.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
14 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/RunBelow/runbelow.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
14 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/RunByLine/runbyline_dark.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/RunByLine/runbyline_light.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/SaveAs/SaveAs_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/SaveAs/SaveAs_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/StartPage/Interactive-inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/StartPage/Interactive.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/StartPage/Notebook-inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/StartPage/Notebook.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/StartPage/OpenFolder-inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/StartPage/OpenFolder.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Sync/sync-inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Sync/sync.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Undo/Undo_16x_vscode.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Undo/Undo_16x_vscode_dark.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Up/up-inverse.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/images/Up/up.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/logger.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | let messageLogger: undefined | ((category: 'error' | 'verbose', message: string) => void);
5 | export function logMessage(message: string) {
6 | if (messageLogger) {
7 | messageLogger('verbose', message);
8 | }
9 | }
10 | export function logErrorMessage(message: string) {
11 | if (messageLogger) {
12 | messageLogger('error', message);
13 | }
14 | }
15 |
16 | export function setLogger(logger: (category: 'error' | 'verbose', message: string) => void) {
17 | messageLogger = logger;
18 | }
19 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/progress.tsx:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | import './progress.css';
5 |
6 | import * as React from 'react';
7 |
8 | export class Progress extends React.Component {
9 | public override render() {
10 | // Vscode does this with two parts, a progress container and a progress bit
11 | return (
12 |
15 | );
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/seti/seti.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/vscode-jupyter/e34b4acce3bd4b309d81808c680f59b62b669590/src/webviews/webview-side/react-common/seti/seti.ttf
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/svgViewer.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/vscode-jupyter/e34b4acce3bd4b309d81808c680f59b62b669590/src/webviews/webview-side/react-common/svgViewer.css
--------------------------------------------------------------------------------
/src/webviews/webview-side/react-common/textMeasure.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | let canvas: HTMLCanvasElement | undefined;
5 |
6 | function getCanvas(): HTMLCanvasElement {
7 | if (!canvas) {
8 | canvas = document.createElement('canvas');
9 | }
10 | return canvas;
11 | }
12 |
13 | export function measureText(text: string, font: string | null): number {
14 | const context = getCanvas().getContext('2d');
15 | if (context) {
16 | if (font) {
17 | context.font = font;
18 | }
19 | const metrics = context.measureText(text);
20 | return metrics.width;
21 | }
22 | return 0;
23 | }
24 |
--------------------------------------------------------------------------------
/src/webviews/webview-side/variable-view/variableViewPanel.css:
--------------------------------------------------------------------------------
1 | /* For the variable view panel, we just want to dock it cleanly in the view with no overflowing */
2 | body,
3 | html {
4 | height: 100%;
5 | margin: 0;
6 | padding: 0;
7 | overflow: hidden;
8 | }
9 |
10 | #root {
11 | height: 100%;
12 | overflow: hidden;
13 | margin: 0;
14 | padding: 0;
15 | }
16 |
17 | #variable-view-main-panel {
18 | height: 100%;
19 | margin: 0;
20 | }
21 |
22 | .variable-explorer-menu-bar {
23 | visibility: hidden;
24 | height: 0;
25 | }
26 |
--------------------------------------------------------------------------------
/types/@nteract/transform-dataresource.d.ts:
--------------------------------------------------------------------------------
1 | declare module '@nteract/transform-dataresource' {
2 | export = index;
3 | const index: any;
4 | }
5 |
--------------------------------------------------------------------------------
/types/@nteract/transform-geojson.d.ts:
--------------------------------------------------------------------------------
1 | declare module '@nteract/transform-geojson' {
2 | export = index;
3 | const index: any;
4 | }
5 |
--------------------------------------------------------------------------------
/types/@nteract/transform-model-debug.d.ts:
--------------------------------------------------------------------------------
1 | declare module '@nteract/transform-model-debug' {
2 | export default class _default {
3 | static MIMETYPE: string;
4 | constructor(...args: any[]);
5 | forceUpdate(callback: any): void;
6 | render(): any;
7 | setState(partialState: any, callback: any): void;
8 | shouldComponentUpdate(): any;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/types/@nteract/transform-vsdom.d.ts:
--------------------------------------------------------------------------------
1 | declare module '@nteract/transform-vdom' {
2 | export class VDOM {
3 | static MIMETYPE: string;
4 | constructor(...args: any[]);
5 | componentDidMount(): void;
6 | componentDidUpdate(): void;
7 | forceUpdate(callback: any): void;
8 | render(): any;
9 | setState(partialState: any, callback: any): void;
10 | shouldComponentUpdate(nextProps: any): any;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/types/ansi-to-html.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'ansi-to-html' {
2 | export = ansiToHtml;
3 | class ansiToHtml {
4 | constructor(options?: any);
5 | opts: any;
6 | stack: any;
7 | stickyStack: any;
8 | toHtml(input: any): any;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/types/index.d.ts:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
--------------------------------------------------------------------------------
/types/slickgrid/plugins/slick.columnpicker.d.ts:
--------------------------------------------------------------------------------
1 | // Type definitions for SlickGrid ColumnPicker Control 2.1.0
2 | // Project: https://github.com/mleibman/SlickGrid
3 | // Definitions by: berwyn
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5 |
6 | declare namespace Slick {
7 | export namespace Controls {
8 | export interface SlickColumnPickerOptions {
9 | fadeSpeed?: number;
10 | }
11 |
12 | export class ColumnPicker {
13 | constructor(columns: Slick.Column[], grid: Slick.Grid, options: SlickColumnPickerOptions);
14 | getAllColumns(): Slick.Column[];
15 | destroy(): void;
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/types/slickgrid/plugins/slick.rowselectionmodel.d.ts:
--------------------------------------------------------------------------------
1 | // Type definitions for SlickGrid RowSelectionModel Plugin 2.1.0
2 | // Project: https://github.com/mleibman/SlickGrid
3 | // Definitions by: Derek Cicerone
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5 |
6 |
7 |
8 | declare namespace Slick {
9 | class RowSelectionModel extends SelectionModel {
10 | constructor(options?:{selectActiveRow:boolean;});
11 |
12 | getSelectedRows():number[];
13 |
14 | setSelectedRows(rows:number[]):void;
15 |
16 | getSelectedRanges():number[];
17 |
18 | setSelectedRanges(ranges:number[]):void;
19 | }
20 | }
21 |
--------------------------------------------------------------------------------