@jupyterlab/debugger 3.3.0-alpha.8 → 4.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/handler.js +7 -3
- package/lib/handler.js.map +1 -1
- package/lib/handlers/editor.js.map +1 -1
- package/lib/handlers/file.js.map +1 -1
- package/lib/handlers/notebook.js.map +1 -1
- package/lib/panels/breakpoints/body.d.ts +0 -1
- package/lib/panels/breakpoints/body.js.map +1 -1
- package/lib/panels/breakpoints/index.d.ts +2 -1
- package/lib/panels/breakpoints/index.js +7 -10
- package/lib/panels/breakpoints/index.js.map +1 -1
- package/lib/panels/breakpoints/model.js.map +1 -1
- package/lib/panels/callstack/body.d.ts +0 -1
- package/lib/panels/callstack/body.js.map +1 -1
- package/lib/panels/callstack/index.d.ts +2 -1
- package/lib/panels/callstack/index.js +24 -20
- package/lib/panels/callstack/index.js.map +1 -1
- package/lib/panels/sources/body.js.map +1 -1
- package/lib/panels/sources/index.d.ts +2 -2
- package/lib/panels/sources/index.js +14 -9
- package/lib/panels/sources/index.js.map +1 -1
- package/lib/panels/sources/sourcepath.d.ts +10 -0
- package/lib/panels/sources/sourcepath.js +17 -0
- package/lib/panels/sources/sourcepath.js.map +1 -0
- package/lib/panels/variables/grid.js.map +1 -1
- package/lib/panels/variables/index.d.ts +2 -2
- package/lib/panels/variables/index.js +9 -11
- package/lib/panels/variables/index.js.map +1 -1
- package/lib/panels/variables/scope.d.ts +0 -1
- package/lib/panels/variables/tree.d.ts +0 -1
- package/lib/panels/variables/tree.js +1 -1
- package/lib/panels/variables/tree.js.map +1 -1
- package/lib/service.js.map +1 -1
- package/lib/session.js.map +1 -1
- package/lib/sidebar.d.ts +3 -40
- package/lib/sidebar.js +13 -60
- package/lib/sidebar.js.map +1 -1
- package/lib/sources.js.map +1 -1
- package/lib/tokens.d.ts +2 -14
- package/lib/tokens.js.map +1 -1
- package/package.json +27 -27
- package/style/breakpoints.css +2 -0
- package/style/callstack.css +2 -0
- package/style/icons.css +7 -7
- package/style/sidebar.css +5 -52
- package/style/sources.css +6 -1
- package/style/variables.css +2 -4
- package/lib/panels/breakpoints/header.d.ts +0 -16
- package/lib/panels/breakpoints/header.js +0 -30
- package/lib/panels/breakpoints/header.js.map +0 -1
- package/lib/panels/callstack/header.d.ts +0 -16
- package/lib/panels/callstack/header.js +0 -30
- package/lib/panels/callstack/header.js.map +0 -1
- package/lib/panels/sources/header.d.ts +0 -19
- package/lib/panels/sources/header.js +0 -48
- package/lib/panels/sources/header.js.map +0 -1
- package/lib/panels/variables/header.d.ts +0 -16
- package/lib/panels/variables/header.js +0 -30
- package/lib/panels/variables/header.js.map +0 -1
package/style/icons.css
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
| Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
|
-
button.jp-Button.
|
|
7
|
-
button.jp-Button.
|
|
6
|
+
button.jp-Button.jp-mod-minimal.jp-TreeView.jp-TreeView,
|
|
7
|
+
button.jp-Button.jp-mod-minimal.jp-TreeView.jp-TableView {
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
10
|
-webkit-transition: 0.4s;
|
|
@@ -12,16 +12,16 @@ button.jp-Button.bp3-button.bp3-minimal.jp-TreeView.jp-TableView {
|
|
|
12
12
|
width: 35px;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
button.jp-Button.
|
|
15
|
+
button.jp-Button.jp-mod-minimal.jp-TreeView:hover {
|
|
16
16
|
cursor: pointer;
|
|
17
|
-
background-color: var(--jp-layout-
|
|
17
|
+
background-color: var(--jp-layout-color2);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
button.jp-Button.
|
|
20
|
+
button.jp-Button.jp-mod-minimal.jp-TableView:hover {
|
|
21
21
|
cursor: pointer;
|
|
22
|
-
background-color: var(--jp-layout-
|
|
22
|
+
background-color: var(--jp-layout-color2);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.jp-ViewModeSelected {
|
|
26
|
-
background-color: var(--jp-layout-
|
|
26
|
+
background-color: var(--jp-layout-color2);
|
|
27
27
|
}
|
package/style/sidebar.css
CHANGED
|
@@ -3,57 +3,10 @@
|
|
|
3
3
|
| Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
|
-
.jp-
|
|
7
|
-
--jp-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
.jp-DebuggerSidebar {
|
|
11
|
-
color: var(--jp-ui-font-color1);
|
|
12
|
-
background: var(--jp-layout-color1);
|
|
13
|
-
font-size: var(--jp-ui-font-size1);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.jp-DebuggerSidebar .p-SplitPanel-child {
|
|
17
|
-
z-index: auto;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.jp-DebuggerSidebar .jp-DebuggerSidebar-body {
|
|
21
|
-
height: calc(100% - var(--jp-debugger-header-height));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.jp-DebuggerSidebar .jp-stack-panel-header {
|
|
25
|
-
border-bottom: solid var(--jp-border-width) var(--jp-border-color1);
|
|
26
|
-
box-shadow: var(--jp-toolbar-box-shadow);
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
align-items: center;
|
|
30
|
-
min-height: 24px;
|
|
31
|
-
height: var(--jp-debugger-header-height);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.jp-DebuggerSidebar > .jp-stack-panel-header {
|
|
35
|
-
background-color: var(--jp-layout-color1);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.jp-DebuggerSidebar .jp-stack-panel-header h2 {
|
|
39
|
-
text-transform: uppercase;
|
|
6
|
+
.jp-SidePanel-header > h2 {
|
|
7
|
+
/* Set font-size to override default h2 sizing but keeping default --jp-ui-font-size0 */
|
|
8
|
+
font-size: 100%;
|
|
40
9
|
font-weight: 600;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
padding-left: 8px;
|
|
44
|
-
padding-right: 4px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.jp-DebuggerSidebar-body .jp-stack-panel-header {
|
|
48
|
-
border-top: solid var(--jp-border-width) var(--jp-border-color1);
|
|
49
|
-
background-color: var(--jp-layout-color2);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.jp-DebuggerSidebar-body .jp-DebuggerVariables .jp-stack-panel-header {
|
|
53
|
-
border-top: none;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.jp-DebuggerSidebar-body .jp-Toolbar {
|
|
57
|
-
background: var(--jp-layout-color2);
|
|
58
|
-
box-shadow: none;
|
|
10
|
+
margin: 0px auto 0px 0px;
|
|
11
|
+
padding: 4px 10px;
|
|
59
12
|
}
|
package/style/sources.css
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
| Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
|
+
.jp-DebuggerSources {
|
|
7
|
+
min-height: 50px;
|
|
8
|
+
margin-top: 3px;
|
|
9
|
+
}
|
|
10
|
+
|
|
6
11
|
[data-jp-debugger='true'].jp-Editor .jp-mod-readOnly {
|
|
7
12
|
background: var(--jp-layout-color2);
|
|
8
13
|
height: 100%;
|
|
@@ -13,7 +18,7 @@
|
|
|
13
18
|
}
|
|
14
19
|
|
|
15
20
|
.jp-DebuggerSources-body {
|
|
16
|
-
height:
|
|
21
|
+
height: 100%;
|
|
17
22
|
}
|
|
18
23
|
|
|
19
24
|
.jp-DebuggerSources-header > div > span {
|
package/style/variables.css
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
.jp-DebuggerVariables {
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
|
+
min-height: 50px;
|
|
10
|
+
padding-top: 3px;
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
.jp-DebuggerVariables-body {
|
|
@@ -68,10 +70,6 @@
|
|
|
68
70
|
margin-left: 12px;
|
|
69
71
|
}
|
|
70
72
|
|
|
71
|
-
.jp-DebuggerVariables .jp-stack-panel-header .jp-Toolbar {
|
|
72
|
-
margin-left: auto;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
73
|
.jp-DebuggerVariables-grid {
|
|
76
74
|
flex: 1 1 auto;
|
|
77
75
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ITranslator } from '@jupyterlab/translation';
|
|
2
|
-
import { Toolbar } from '@jupyterlab/ui-components';
|
|
3
|
-
import { Widget } from '@lumino/widgets';
|
|
4
|
-
/**
|
|
5
|
-
* The header for a Breakpoints Panel.
|
|
6
|
-
*/
|
|
7
|
-
export declare class BreakpointsHeader extends Widget {
|
|
8
|
-
/**
|
|
9
|
-
* Instantiate a new BreakpointsHeader.
|
|
10
|
-
*/
|
|
11
|
-
constructor(translator?: ITranslator);
|
|
12
|
-
/**
|
|
13
|
-
* The toolbar for the breakpoints header.
|
|
14
|
-
*/
|
|
15
|
-
readonly toolbar: Toolbar<Widget>;
|
|
16
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Jupyter Development Team.
|
|
2
|
-
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
import { nullTranslator } from '@jupyterlab/translation';
|
|
4
|
-
import { Toolbar } from '@jupyterlab/ui-components';
|
|
5
|
-
import { PanelLayout, Widget } from '@lumino/widgets';
|
|
6
|
-
/**
|
|
7
|
-
* The header for a Breakpoints Panel.
|
|
8
|
-
*/
|
|
9
|
-
export class BreakpointsHeader extends Widget {
|
|
10
|
-
/**
|
|
11
|
-
* Instantiate a new BreakpointsHeader.
|
|
12
|
-
*/
|
|
13
|
-
constructor(translator) {
|
|
14
|
-
super({ node: document.createElement('div') });
|
|
15
|
-
/**
|
|
16
|
-
* The toolbar for the breakpoints header.
|
|
17
|
-
*/
|
|
18
|
-
this.toolbar = new Toolbar();
|
|
19
|
-
this.node.classList.add('jp-stack-panel-header');
|
|
20
|
-
translator = translator || nullTranslator;
|
|
21
|
-
const trans = translator.load('jupyterlab');
|
|
22
|
-
const title = new Widget({ node: document.createElement('h2') });
|
|
23
|
-
title.node.textContent = trans.__('Breakpoints');
|
|
24
|
-
const layout = new PanelLayout();
|
|
25
|
-
layout.addWidget(title);
|
|
26
|
-
layout.addWidget(this.toolbar);
|
|
27
|
-
this.layout = layout;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.js","sourceRoot":"","sources":["../../../src/panels/breakpoints/header.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,MAAM,OAAO,iBAAkB,SAAQ,MAAM;IAC3C;;OAEG;IACH,YAAY,UAAwB;QAClC,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAejD;;WAEG;QACM,YAAO,GAAG,IAAI,OAAO,EAAE,CAAC;QAjB/B,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;QAEjD,UAAU,GAAG,UAAU,IAAI,cAAc,CAAC;QAC1C,MAAM,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAE5C,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACjE,KAAK,CAAC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC;QAEjD,MAAM,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;QACjC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACxB,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CAMF"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ITranslator } from '@jupyterlab/translation';
|
|
2
|
-
import { Toolbar } from '@jupyterlab/ui-components';
|
|
3
|
-
import { Widget } from '@lumino/widgets';
|
|
4
|
-
/**
|
|
5
|
-
* The header for a Callstack Panel.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CallstackHeader extends Widget {
|
|
8
|
-
/**
|
|
9
|
-
* Instantiate a new CallstackHeader.
|
|
10
|
-
*/
|
|
11
|
-
constructor(translator?: ITranslator);
|
|
12
|
-
/**
|
|
13
|
-
* The toolbar for the callstack header.
|
|
14
|
-
*/
|
|
15
|
-
readonly toolbar: Toolbar<Widget>;
|
|
16
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Jupyter Development Team.
|
|
2
|
-
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
import { nullTranslator } from '@jupyterlab/translation';
|
|
4
|
-
import { Toolbar } from '@jupyterlab/ui-components';
|
|
5
|
-
import { PanelLayout, Widget } from '@lumino/widgets';
|
|
6
|
-
/**
|
|
7
|
-
* The header for a Callstack Panel.
|
|
8
|
-
*/
|
|
9
|
-
export class CallstackHeader extends Widget {
|
|
10
|
-
/**
|
|
11
|
-
* Instantiate a new CallstackHeader.
|
|
12
|
-
*/
|
|
13
|
-
constructor(translator) {
|
|
14
|
-
super({ node: document.createElement('div') });
|
|
15
|
-
/**
|
|
16
|
-
* The toolbar for the callstack header.
|
|
17
|
-
*/
|
|
18
|
-
this.toolbar = new Toolbar();
|
|
19
|
-
this.node.classList.add('jp-stack-panel-header');
|
|
20
|
-
translator = translator || nullTranslator;
|
|
21
|
-
const trans = translator.load('jupyterlab');
|
|
22
|
-
const title = new Widget({ node: document.createElement('h2') });
|
|
23
|
-
title.node.textContent = trans.__('Callstack');
|
|
24
|
-
const layout = new PanelLayout();
|
|
25
|
-
layout.addWidget(title);
|
|
26
|
-
layout.addWidget(this.toolbar);
|
|
27
|
-
this.layout = layout;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.js","sourceRoot":"","sources":["../../../src/panels/callstack/header.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,MAAM;IACzC;;OAEG;IACH,YAAY,UAAwB;QAClC,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAejD;;WAEG;QACM,YAAO,GAAG,IAAI,OAAO,EAAE,CAAC;QAjB/B,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;QAEjD,UAAU,GAAG,UAAU,IAAI,cAAc,CAAC;QAC1C,MAAM,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAE5C,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACjE,KAAK,CAAC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC;QAE/C,MAAM,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;QACjC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACxB,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CAMF"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ITranslator } from '@jupyterlab/translation';
|
|
2
|
-
import { Toolbar } from '@jupyterlab/ui-components';
|
|
3
|
-
import { Widget } from '@lumino/widgets';
|
|
4
|
-
import { IDebugger } from '../../tokens';
|
|
5
|
-
/**
|
|
6
|
-
* The header for a Source Panel.
|
|
7
|
-
*/
|
|
8
|
-
export declare class SourcesHeader extends Widget {
|
|
9
|
-
/**
|
|
10
|
-
* Instantiate a new SourcesHeader.
|
|
11
|
-
*
|
|
12
|
-
* @param model The model for the Sources.
|
|
13
|
-
*/
|
|
14
|
-
constructor(model: IDebugger.Model.ISources, translator?: ITranslator);
|
|
15
|
-
/**
|
|
16
|
-
* The toolbar for the sources header.
|
|
17
|
-
*/
|
|
18
|
-
readonly toolbar: Toolbar<Widget>;
|
|
19
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Jupyter Development Team.
|
|
2
|
-
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
import { nullTranslator } from '@jupyterlab/translation';
|
|
4
|
-
import { ReactWidget, Toolbar, UseSignal } from '@jupyterlab/ui-components';
|
|
5
|
-
import { PanelLayout, Widget } from '@lumino/widgets';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
/**
|
|
8
|
-
* The header for a Source Panel.
|
|
9
|
-
*/
|
|
10
|
-
export class SourcesHeader extends Widget {
|
|
11
|
-
/**
|
|
12
|
-
* Instantiate a new SourcesHeader.
|
|
13
|
-
*
|
|
14
|
-
* @param model The model for the Sources.
|
|
15
|
-
*/
|
|
16
|
-
constructor(model, translator) {
|
|
17
|
-
super({ node: document.createElement('div') });
|
|
18
|
-
/**
|
|
19
|
-
* The toolbar for the sources header.
|
|
20
|
-
*/
|
|
21
|
-
this.toolbar = new Toolbar();
|
|
22
|
-
this.node.classList.add('jp-stack-panel-header');
|
|
23
|
-
translator = translator || nullTranslator;
|
|
24
|
-
const trans = translator.load('jupyterlab');
|
|
25
|
-
const layout = new PanelLayout();
|
|
26
|
-
this.layout = layout;
|
|
27
|
-
const title = new Widget({ node: document.createElement('h2') });
|
|
28
|
-
title.node.textContent = trans.__('Source');
|
|
29
|
-
const sourcePath = ReactWidget.create(React.createElement(SourcePathComponent, { model: model }));
|
|
30
|
-
layout.addWidget(title);
|
|
31
|
-
layout.addWidget(this.toolbar);
|
|
32
|
-
layout.addWidget(sourcePath);
|
|
33
|
-
this.addClass('jp-DebuggerSources-header');
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* A React component to display the path to a source.
|
|
38
|
-
*
|
|
39
|
-
* @param {object} props The component props.
|
|
40
|
-
* @param props.model The model for the sources.
|
|
41
|
-
*/
|
|
42
|
-
const SourcePathComponent = ({ model }) => {
|
|
43
|
-
return (React.createElement(UseSignal, { signal: model.currentSourceChanged, initialSender: model }, (model) => {
|
|
44
|
-
var _a, _b;
|
|
45
|
-
return (React.createElement("span", { onClick: () => model === null || model === void 0 ? void 0 : model.open() }, (_b = (_a = model === null || model === void 0 ? void 0 : model.currentSource) === null || _a === void 0 ? void 0 : _a.path) !== null && _b !== void 0 ? _b : ''));
|
|
46
|
-
}));
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.js","sourceRoot":"","sources":["../../../src/panels/sources/header.tsx"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,MAAM;IACvC;;;;OAIG;IACH,YAAY,KAA+B,EAAE,UAAwB;QACnE,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAuBjD;;WAEG;QACM,YAAO,GAAG,IAAI,OAAO,EAAE,CAAC;QAzB/B,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;QAEjD,UAAU,GAAG,UAAU,IAAI,cAAc,CAAC;QAC1C,MAAM,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAE5C,MAAM,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACjE,KAAK,CAAC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;QAE5C,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,CACnC,oBAAC,mBAAmB,IAAC,KAAK,EAAE,KAAK,GAAI,CACtC,CAAC;QAEF,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACxB,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/B,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAE7B,IAAI,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAC7C,CAAC;CAMF;AAED;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,CAAC,EAC3B,KAAK,EAGN,EAAe,EAAE;IAChB,OAAO,CACL,oBAAC,SAAS,IAAC,MAAM,EAAE,KAAK,CAAC,oBAAoB,EAAE,aAAa,EAAE,KAAK,IAChE,CAAC,KAAK,EAAe,EAAE;;QAAC,OAAA,CACvB,8BAAM,OAAO,EAAE,GAAS,EAAE,CAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAAE,gBACrC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,0CAAE,IAAI,mCAAI,EAAE,CAC5B,CACR,CAAA;KAAA,CACS,CACb,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ITranslator } from '@jupyterlab/translation';
|
|
2
|
-
import { Toolbar } from '@jupyterlab/ui-components';
|
|
3
|
-
import { Widget } from '@lumino/widgets';
|
|
4
|
-
/**
|
|
5
|
-
* The header for a Variables Panel.
|
|
6
|
-
*/
|
|
7
|
-
export declare class VariablesHeader extends Widget {
|
|
8
|
-
/**
|
|
9
|
-
* Instantiate a new VariablesHeader.
|
|
10
|
-
*/
|
|
11
|
-
constructor(translator?: ITranslator);
|
|
12
|
-
/**
|
|
13
|
-
* The toolbar for the callstack header.
|
|
14
|
-
*/
|
|
15
|
-
readonly toolbar: Toolbar<Widget>;
|
|
16
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Jupyter Development Team.
|
|
2
|
-
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
import { nullTranslator } from '@jupyterlab/translation';
|
|
4
|
-
import { Toolbar } from '@jupyterlab/ui-components';
|
|
5
|
-
import { PanelLayout, Widget } from '@lumino/widgets';
|
|
6
|
-
/**
|
|
7
|
-
* The header for a Variables Panel.
|
|
8
|
-
*/
|
|
9
|
-
export class VariablesHeader extends Widget {
|
|
10
|
-
/**
|
|
11
|
-
* Instantiate a new VariablesHeader.
|
|
12
|
-
*/
|
|
13
|
-
constructor(translator) {
|
|
14
|
-
super({ node: document.createElement('div') });
|
|
15
|
-
/**
|
|
16
|
-
* The toolbar for the callstack header.
|
|
17
|
-
*/
|
|
18
|
-
this.toolbar = new Toolbar();
|
|
19
|
-
this.node.classList.add('jp-stack-panel-header');
|
|
20
|
-
translator = translator || nullTranslator;
|
|
21
|
-
const trans = translator.load('jupyterlab');
|
|
22
|
-
const title = new Widget({ node: document.createElement('h2') });
|
|
23
|
-
title.node.textContent = trans.__('Variables');
|
|
24
|
-
const layout = new PanelLayout();
|
|
25
|
-
layout.addWidget(title);
|
|
26
|
-
layout.addWidget(this.toolbar);
|
|
27
|
-
this.layout = layout;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.js","sourceRoot":"","sources":["../../../src/panels/variables/header.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,MAAM;IACzC;;OAEG;IACH,YAAY,UAAwB;QAClC,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAejD;;WAEG;QACM,YAAO,GAAG,IAAI,OAAO,EAAE,CAAC;QAjB/B,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;QAEjD,UAAU,GAAG,UAAU,IAAI,cAAc,CAAC;QAC1C,MAAM,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAE5C,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACjE,KAAK,CAAC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC;QAE/C,MAAM,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;QACjC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACxB,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CAMF"}
|