@jupyterlab/debugger 3.3.0-alpha.12 → 3.3.0-alpha.16
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/debugger.d.ts +1 -9
- package/lib/debugger.js +1 -10
- package/lib/debugger.js.map +1 -1
- package/lib/handler.d.ts +2 -32
- package/lib/handler.js +7 -10
- package/lib/handler.js.map +1 -1
- package/lib/handlers/editor.d.ts +4 -0
- package/lib/handlers/editor.js +6 -0
- package/lib/handlers/editor.js.map +1 -1
- package/lib/handlers/notebook.js +7 -1
- package/lib/handlers/notebook.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/model.d.ts +1 -8
- package/lib/model.js +0 -10
- package/lib/model.js.map +1 -1
- package/lib/panels/breakpoints/body.d.ts +1 -1
- package/lib/panels/breakpoints/body.js +1 -1
- package/lib/panels/breakpoints/body.js.map +1 -1
- package/lib/panels/breakpoints/header.d.ts +16 -0
- package/lib/panels/breakpoints/header.js +30 -0
- package/lib/panels/breakpoints/header.js.map +1 -0
- package/lib/panels/breakpoints/index.d.ts +1 -2
- package/lib/panels/breakpoints/index.js +16 -12
- package/lib/panels/breakpoints/index.js.map +1 -1
- package/lib/panels/callstack/body.d.ts +1 -1
- package/lib/panels/callstack/body.js +2 -2
- package/lib/panels/callstack/body.js.map +1 -1
- package/lib/panels/callstack/header.d.ts +16 -0
- package/lib/panels/callstack/header.js +30 -0
- package/lib/panels/callstack/header.js.map +1 -0
- package/lib/panels/callstack/index.d.ts +1 -2
- package/lib/panels/callstack/index.js +21 -23
- package/lib/panels/callstack/index.js.map +1 -1
- package/lib/panels/callstack/model.d.ts +3 -3
- package/lib/panels/callstack/model.js +1 -3
- package/lib/panels/callstack/model.js.map +1 -1
- package/lib/panels/sources/header.d.ts +19 -0
- package/lib/panels/sources/header.js +48 -0
- package/lib/panels/sources/header.js.map +1 -0
- package/lib/panels/sources/index.d.ts +2 -2
- package/lib/panels/sources/index.js +12 -15
- package/lib/panels/sources/index.js.map +1 -1
- package/lib/panels/sources/model.d.ts +2 -2
- package/lib/panels/variables/grid.d.ts +0 -9
- package/lib/panels/variables/grid.js +9 -83
- package/lib/panels/variables/grid.js.map +1 -1
- package/lib/panels/variables/header.d.ts +16 -0
- package/lib/panels/variables/header.js +30 -0
- package/lib/panels/variables/header.js.map +1 -0
- package/lib/panels/variables/index.d.ts +2 -10
- package/lib/panels/variables/index.js +18 -40
- package/lib/panels/variables/index.js.map +1 -1
- package/lib/panels/variables/scope.d.ts +1 -1
- package/lib/panels/variables/scope.js +2 -1
- package/lib/panels/variables/scope.js.map +1 -1
- package/lib/panels/variables/tree.d.ts +1 -18
- package/lib/panels/variables/tree.js +8 -43
- package/lib/panels/variables/tree.js.map +1 -1
- package/lib/service.d.ts +0 -14
- package/lib/service.js +13 -45
- package/lib/service.js.map +1 -1
- package/lib/sidebar.js +2 -5
- package/lib/sidebar.js.map +1 -1
- package/lib/tokens.d.ts +10 -101
- package/lib/tokens.js +0 -4
- package/lib/tokens.js.map +1 -1
- package/package.json +19 -19
- package/style/base.css +0 -1
- package/style/breakpoints.css +0 -2
- package/style/callstack.css +0 -2
- package/style/icons.css +3 -3
- package/style/sidebar.css +5 -16
- package/style/sources.css +1 -6
- package/style/variables.css +1 -35
- package/lib/panels/panelbody.d.ts +0 -27
- package/lib/panels/panelbody.js +0 -47
- package/lib/panels/panelbody.js.map +0 -1
- package/lib/panels/panelwithtoolbar.d.ts +0 -57
- package/lib/panels/panelwithtoolbar.js +0 -55
- package/lib/panels/panelwithtoolbar.js.map +0 -1
- package/lib/panels/sources/sourcepath.d.ts +0 -11
- package/lib/panels/sources/sourcepath.js +0 -17
- package/lib/panels/sources/sourcepath.js.map +0 -1
- package/lib/panels/variables/mimerenderer.d.ts +0 -31
- package/lib/panels/variables/mimerenderer.js +0 -44
- package/lib/panels/variables/mimerenderer.js.map +0 -1
- package/style/accordionpanel.css +0 -40
package/lib/panels/panelbody.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Jupyter Development Team.
|
|
2
|
-
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
import { AccordionPanel } from '@lumino/widgets';
|
|
4
|
-
import { caretDownIcon } from '@jupyterlab/ui-components';
|
|
5
|
-
/**
|
|
6
|
-
* Debugger accordion panel customization
|
|
7
|
-
*/
|
|
8
|
-
export var DebuggerAccordionPanel;
|
|
9
|
-
(function (DebuggerAccordionPanel) {
|
|
10
|
-
/**
|
|
11
|
-
* Custom renderer for the debugger sidebar
|
|
12
|
-
*/
|
|
13
|
-
class Renderer extends AccordionPanel.Renderer {
|
|
14
|
-
/**
|
|
15
|
-
* Render the collapse indicator for a section title.
|
|
16
|
-
*
|
|
17
|
-
* @param data - The data to use for rendering the section title.
|
|
18
|
-
*
|
|
19
|
-
* @returns A element representing the collapse indicator.
|
|
20
|
-
*/
|
|
21
|
-
createCollapseIcon(data) {
|
|
22
|
-
const iconDiv = document.createElement('div');
|
|
23
|
-
caretDownIcon.element({
|
|
24
|
-
container: iconDiv
|
|
25
|
-
});
|
|
26
|
-
return iconDiv;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Render the element for a section title.
|
|
30
|
-
*
|
|
31
|
-
* @param data - The data to use for rendering the section title.
|
|
32
|
-
*
|
|
33
|
-
* @returns A element representing the section title.
|
|
34
|
-
*/
|
|
35
|
-
createSectionTitle(data) {
|
|
36
|
-
const toolbar = data.owner.toolbar;
|
|
37
|
-
const handle = super.createSectionTitle(data);
|
|
38
|
-
handle.classList.add('jp-AccordionPanel-title');
|
|
39
|
-
if (toolbar) {
|
|
40
|
-
handle.appendChild(toolbar.node);
|
|
41
|
-
}
|
|
42
|
-
return handle;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
DebuggerAccordionPanel.Renderer = Renderer;
|
|
46
|
-
})(DebuggerAccordionPanel || (DebuggerAccordionPanel = {}));
|
|
47
|
-
//# sourceMappingURL=panelbody.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panelbody.js","sourceRoot":"","sources":["../../src/panels/panelbody.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAE,cAAc,EAAiB,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG1D;;GAEG;AACH,MAAM,KAAW,sBAAsB,CAqCtC;AArCD,WAAiB,sBAAsB;IACrC;;OAEG;IACH,MAAa,QAAS,SAAQ,cAAc,CAAC,QAAQ;QACnD;;;;;;WAMG;QACH,kBAAkB,CAAC,IAAmB;YACpC,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;YAC9C,aAAa,CAAC,OAAO,CAAC;gBACpB,SAAS,EAAE,OAAO;aACnB,CAAC,CAAC;YACH,OAAO,OAAO,CAAC;QACjB,CAAC;QAED;;;;;;WAMG;QACH,kBAAkB,CAAC,IAAmB;YACpC,MAAM,OAAO,GAAI,IAAI,CAAC,KAA0B,CAAC,OAAO,CAAC;YACzD,MAAM,MAAM,GAAG,KAAK,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;YAC9C,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;YAChD,IAAI,OAAO,EAAE;gBACX,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;aAClC;YACD,OAAO,MAAM,CAAC;QAChB,CAAC;KACF;IAhCY,+BAAQ,WAgCpB,CAAA;AACH,CAAC,EArCgB,sBAAsB,KAAtB,sBAAsB,QAqCtC"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ITranslator, TranslationBundle } from '@jupyterlab/translation';
|
|
2
|
-
import { Toolbar } from '@jupyterlab/ui-components';
|
|
3
|
-
import { Message } from '@lumino/messaging';
|
|
4
|
-
import { Panel } from '@lumino/widgets';
|
|
5
|
-
/**
|
|
6
|
-
* A base class for debugger panel element.
|
|
7
|
-
*/
|
|
8
|
-
export declare class PanelWithToolbar extends Panel {
|
|
9
|
-
/**
|
|
10
|
-
* Instantiate a new Panel.
|
|
11
|
-
*
|
|
12
|
-
* @param options The instantiation options for a Debugger Panel.
|
|
13
|
-
*/
|
|
14
|
-
constructor(options: PanelWithToolbar.IOptions);
|
|
15
|
-
/**
|
|
16
|
-
* Handler to notify `AccordionPanel` title that its child widget is expanded.
|
|
17
|
-
* We can not rely on `lm-mod-expanded` class of Lumino to detect this event
|
|
18
|
-
* since this class is added to the target of `onClick` event, which is not
|
|
19
|
-
* always the title of `AccordionPanel`.
|
|
20
|
-
*
|
|
21
|
-
* @param {Message} msg
|
|
22
|
-
*
|
|
23
|
-
* TODO remove when @lumino/widgets 1.26.3 is released
|
|
24
|
-
*/
|
|
25
|
-
protected onAfterShow(msg: Message): void;
|
|
26
|
-
/**
|
|
27
|
-
* Handler to notify `AccordionPanel`'s title that its child widget is closed.
|
|
28
|
-
* @param {Message} msg
|
|
29
|
-
*
|
|
30
|
-
* TODO remove when @lumino/widgets 1.26.3 is released
|
|
31
|
-
*/
|
|
32
|
-
protected onAfterHide(msg: Message): void;
|
|
33
|
-
/**
|
|
34
|
-
* Widget toolbar
|
|
35
|
-
*/
|
|
36
|
-
get toolbar(): Toolbar;
|
|
37
|
-
/**
|
|
38
|
-
* The toolbar widget, it is not attached to current widget
|
|
39
|
-
* but is rendered by the sidebar panel.
|
|
40
|
-
*/
|
|
41
|
-
private _toolbar;
|
|
42
|
-
protected trans: TranslationBundle;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* A namespace for PanelWidget `statics`.
|
|
46
|
-
*/
|
|
47
|
-
export declare namespace PanelWithToolbar {
|
|
48
|
-
/**
|
|
49
|
-
* Instantiation options for `PanelWidget`.
|
|
50
|
-
*/
|
|
51
|
-
interface IOptions extends Panel.IOptions {
|
|
52
|
-
/**
|
|
53
|
-
* The application language translator.
|
|
54
|
-
*/
|
|
55
|
-
translator?: ITranslator;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,55 +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 { Panel } from '@lumino/widgets';
|
|
6
|
-
/**
|
|
7
|
-
* A base class for debugger panel element.
|
|
8
|
-
*/
|
|
9
|
-
export class PanelWithToolbar extends Panel {
|
|
10
|
-
/**
|
|
11
|
-
* Instantiate a new Panel.
|
|
12
|
-
*
|
|
13
|
-
* @param options The instantiation options for a Debugger Panel.
|
|
14
|
-
*/
|
|
15
|
-
constructor(options) {
|
|
16
|
-
super(options);
|
|
17
|
-
const translator = options.translator || nullTranslator;
|
|
18
|
-
this.trans = translator.load('jupyterlab');
|
|
19
|
-
this._toolbar = new Toolbar();
|
|
20
|
-
this._toolbar.addClass('jp-stack-panel-header');
|
|
21
|
-
// Add toolbar as widget to get notified by the lumino widget
|
|
22
|
-
this.addWidget(this._toolbar);
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Handler to notify `AccordionPanel` title that its child widget is expanded.
|
|
26
|
-
* We can not rely on `lm-mod-expanded` class of Lumino to detect this event
|
|
27
|
-
* since this class is added to the target of `onClick` event, which is not
|
|
28
|
-
* always the title of `AccordionPanel`.
|
|
29
|
-
*
|
|
30
|
-
* @param {Message} msg
|
|
31
|
-
*
|
|
32
|
-
* TODO remove when @lumino/widgets 1.26.3 is released
|
|
33
|
-
*/
|
|
34
|
-
onAfterShow(msg) {
|
|
35
|
-
var _a;
|
|
36
|
-
(_a = this.toolbar.node.parentElement) === null || _a === void 0 ? void 0 : _a.classList.add('jp-DebuggerPanel-expanded');
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Handler to notify `AccordionPanel`'s title that its child widget is closed.
|
|
40
|
-
* @param {Message} msg
|
|
41
|
-
*
|
|
42
|
-
* TODO remove when @lumino/widgets 1.26.3 is released
|
|
43
|
-
*/
|
|
44
|
-
onAfterHide(msg) {
|
|
45
|
-
var _a;
|
|
46
|
-
(_a = this.toolbar.node.parentElement) === null || _a === void 0 ? void 0 : _a.classList.remove('jp-DebuggerPanel-expanded');
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Widget toolbar
|
|
50
|
-
*/
|
|
51
|
-
get toolbar() {
|
|
52
|
-
return this._toolbar;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=panelwithtoolbar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panelwithtoolbar.js","sourceRoot":"","sources":["../../src/panels/panelwithtoolbar.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAEL,cAAc,EAEf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,KAAK;IACzC;;;;OAIG;IACH,YAAY,OAAkC;QAC5C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,cAAc,CAAC;QACxD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAE3C,IAAI,CAAC,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAC;QAC9B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC;QAChD,6DAA6D;QAC7D,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC;IAED;;;;;;;;;OASG;IACO,WAAW,CAAC,GAAY;;QAChC,MAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,0CAAE,SAAS,CAAC,GAAG,CAAC,2BAA2B,EAAE;IAC9E,CAAC;IAED;;;;;OAKG;IACO,WAAW,CAAC,GAAY;;QAChC,MAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,0CAAE,SAAS,CAAC,MAAM,CAC/C,2BAA2B,EAC3B;IACJ,CAAC;IAED;;OAEG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CASF"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IDebugger } from '../../tokens';
|
|
3
|
-
/**
|
|
4
|
-
* A React component to display the path to a source.
|
|
5
|
-
*
|
|
6
|
-
* @param {object} props The component props.
|
|
7
|
-
* @param props.model The model for the sources.
|
|
8
|
-
*/
|
|
9
|
-
export declare const SourcePathComponent: ({ model }: {
|
|
10
|
-
model: IDebugger.Model.ISources;
|
|
11
|
-
}) => JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Jupyter Development Team.
|
|
2
|
-
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
import { UseSignal } from '@jupyterlab/ui-components';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
/**
|
|
6
|
-
* A React component to display the path to a source.
|
|
7
|
-
*
|
|
8
|
-
* @param {object} props The component props.
|
|
9
|
-
* @param props.model The model for the sources.
|
|
10
|
-
*/
|
|
11
|
-
export const SourcePathComponent = ({ model }) => {
|
|
12
|
-
return (React.createElement(UseSignal, { signal: model.currentSourceChanged, initialSender: model }, (model) => {
|
|
13
|
-
var _a, _b;
|
|
14
|
-
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 : ''));
|
|
15
|
-
}));
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=sourcepath.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sourcepath.js","sourceRoot":"","sources":["../../../src/panels/sources/sourcepath.tsx"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,EAClC,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,31 +0,0 @@
|
|
|
1
|
-
import { MainAreaWidget } from '@jupyterlab/apputils';
|
|
2
|
-
import { IRenderMimeRegistry } from '@jupyterlab/rendermime';
|
|
3
|
-
import { Panel } from '@lumino/widgets';
|
|
4
|
-
import { IDebugger } from '../../tokens';
|
|
5
|
-
/**
|
|
6
|
-
* Debugger variable mime type renderer
|
|
7
|
-
*/
|
|
8
|
-
export declare class VariableMimeRenderer extends MainAreaWidget<Panel> {
|
|
9
|
-
/**
|
|
10
|
-
* Instantiate a new VariableMimeRenderer.
|
|
11
|
-
*/
|
|
12
|
-
constructor(options: VariableMimeRenderer.IOptions);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Debugger variable mime type renderer namespace
|
|
16
|
-
*/
|
|
17
|
-
export declare namespace VariableMimeRenderer {
|
|
18
|
-
/**
|
|
19
|
-
* Constructor options
|
|
20
|
-
*/
|
|
21
|
-
interface IOptions {
|
|
22
|
-
/**
|
|
23
|
-
* Variable to be rendered
|
|
24
|
-
*/
|
|
25
|
-
dataLoader: Promise<IDebugger.IRichVariable>;
|
|
26
|
-
/**
|
|
27
|
-
* Render mime type registry
|
|
28
|
-
*/
|
|
29
|
-
rendermime: IRenderMimeRegistry;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { MainAreaWidget } from '@jupyterlab/apputils';
|
|
2
|
-
import { MimeModel } from '@jupyterlab/rendermime';
|
|
3
|
-
import { PromiseDelegate } from '@lumino/coreutils';
|
|
4
|
-
import { Panel } from '@lumino/widgets';
|
|
5
|
-
/**
|
|
6
|
-
* Debugger variable mime type renderer
|
|
7
|
-
*/
|
|
8
|
-
export class VariableMimeRenderer extends MainAreaWidget {
|
|
9
|
-
/**
|
|
10
|
-
* Instantiate a new VariableMimeRenderer.
|
|
11
|
-
*/
|
|
12
|
-
constructor(options) {
|
|
13
|
-
const { dataLoader, rendermime } = options;
|
|
14
|
-
const content = new Panel();
|
|
15
|
-
const loaded = new PromiseDelegate();
|
|
16
|
-
super({
|
|
17
|
-
content,
|
|
18
|
-
reveal: Promise.all([dataLoader, loaded.promise])
|
|
19
|
-
});
|
|
20
|
-
dataLoader
|
|
21
|
-
.then(async (data) => {
|
|
22
|
-
if (data.data) {
|
|
23
|
-
const mimeType = rendermime.preferredMimeType(data.data, 'any');
|
|
24
|
-
if (mimeType) {
|
|
25
|
-
const widget = rendermime.createRenderer(mimeType);
|
|
26
|
-
const model = new MimeModel(data);
|
|
27
|
-
await widget.renderModel(model);
|
|
28
|
-
content.addWidget(widget);
|
|
29
|
-
loaded.resolve();
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
loaded.reject('Unable to determine the preferred mime type.');
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
loaded.reject('Unable to get a view on the variable.');
|
|
37
|
-
}
|
|
38
|
-
})
|
|
39
|
-
.catch(reason => {
|
|
40
|
-
loaded.reject(reason);
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=mimerenderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mimerenderer.js","sourceRoot":"","sources":["../../../src/panels/variables/mimerenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAuB,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAGxC;;GAEG;AACH,MAAM,OAAO,oBAAqB,SAAQ,cAAqB;IAC7D;;OAEG;IACH,YAAY,OAAsC;QAChD,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;QAC3C,MAAM,OAAO,GAAG,IAAI,KAAK,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAI,eAAe,EAAQ,CAAC;QAC3C,KAAK,CAAC;YACJ,OAAO;YACP,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;SAClD,CAAC,CAAC;QAEH,UAAU;aACP,IAAI,CAAC,KAAK,EAAC,IAAI,EAAC,EAAE;YACjB,IAAI,IAAI,CAAC,IAAI,EAAE;gBACb,MAAM,QAAQ,GAAG,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;gBAEhE,IAAI,QAAQ,EAAE;oBACZ,MAAM,MAAM,GAAG,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;oBACnD,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;oBAClC,MAAM,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;oBAEhC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;oBAC1B,MAAM,CAAC,OAAO,EAAE,CAAC;iBAClB;qBAAM;oBACL,MAAM,CAAC,MAAM,CAAC,8CAA8C,CAAC,CAAC;iBAC/D;aACF;iBAAM;gBACL,MAAM,CAAC,MAAM,CAAC,uCAAuC,CAAC,CAAC;aACxD;QACH,CAAC,CAAC;aACD,KAAK,CAAC,MAAM,CAAC,EAAE;YACd,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACP,CAAC;CACF"}
|
package/style/accordionpanel.css
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
.lm-AccordionPanel .jp-AccordionPanel-title {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
background: #e5e5e500;
|
|
4
|
-
border-bottom: none;
|
|
5
|
-
font: 12px Helvetica, Arial, sans-serif;
|
|
6
|
-
min-height: 22px;
|
|
7
|
-
max-height: 22px;
|
|
8
|
-
min-width: 35px;
|
|
9
|
-
line-height: 25px;
|
|
10
|
-
margin: 0px;
|
|
11
|
-
display: flex;
|
|
12
|
-
background-color: var(--jp-layout-color2);
|
|
13
|
-
border-bottom: solid var(--jp-border-width) var(--jp-border-color1);
|
|
14
|
-
border-top: solid var(--jp-border-width) var(--jp-border-color1);
|
|
15
|
-
box-shadow: var(--jp-toolbar-box-shadow);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.jp-AccordionPanel-title .lm-AccordionPanel-titleCollapser {
|
|
19
|
-
transform: rotate(-90deg);
|
|
20
|
-
margin-top: 3px;
|
|
21
|
-
height: 16px;
|
|
22
|
-
}
|
|
23
|
-
/* TODO remove first selector when @lumino/widgets 1.26.3 is released */
|
|
24
|
-
.jp-AccordionPanel-title.jp-DebuggerPanel-expanded
|
|
25
|
-
.lm-AccordionPanel-titleCollapser
|
|
26
|
-
/* .jp-AccordionPanel-title.lm-mod-expanded .lm-AccordionPanel-titleCollapser */ {
|
|
27
|
-
transform: rotate(0deg);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.lm-AccordionPanel[data-orientation='horizontal'] > .jp-AccordionPanel-title {
|
|
31
|
-
/* Title is rotated for horizontal accordion panel using CSS */
|
|
32
|
-
display: block;
|
|
33
|
-
transform-origin: top left;
|
|
34
|
-
transform: rotate(-90deg) translate(-100%);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.jp-AccordionPanel-title .lm-AccordionPanel-titleLabel {
|
|
38
|
-
user-select: none;
|
|
39
|
-
line-height: 22px;
|
|
40
|
-
}
|