@jupyterlab/debugger 4.4.0-alpha.0 → 4.4.0-alpha.1
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.js +1 -2
- package/lib/debugger.js.map +1 -1
- package/lib/icons.d.ts +56 -11
- package/lib/icons.js +56 -47
- package/lib/icons.js.map +1 -1
- package/lib/panels/breakpoints/index.js +2 -3
- package/lib/panels/breakpoints/index.js.map +1 -1
- package/lib/panels/kernelSources/body.js +1 -2
- package/lib/panels/kernelSources/body.js.map +1 -1
- package/lib/panels/sources/index.js +3 -5
- package/lib/panels/sources/index.js.map +1 -1
- package/package.json +19 -20
- package/src/debugger.ts +12 -11
- package/src/icons.ts +54 -58
- package/src/panels/breakpoints/index.ts +7 -3
- package/src/panels/kernelSources/body.tsx +6 -3
- package/src/panels/sources/index.tsx +8 -5
- package/style/base.css +1 -0
- package/style/variables.css +1 -0
- package/style/icons/activate-breakpoints.svg +0 -3
- package/style/icons/arrow-collapse.svg +0 -1
- package/style/icons/arrow-expand.svg +0 -1
- package/style/icons/class.svg +0 -3
- package/style/icons/close-all.svg +0 -7
- package/style/icons/enumerator.svg +0 -3
- package/style/icons/exceptions.svg +0 -10
- package/style/icons/open-kernel-source.svg +0 -6
- package/style/icons/pause.svg +0 -6
- package/style/icons/step-into.svg +0 -5
- package/style/icons/step-out.svg +0 -5
- package/style/icons/step-over.svg +0 -5
- package/style/icons/variable.svg +0 -3
- package/style/icons/view-breakpoint.svg +0 -6
package/lib/debugger.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
import { codeIcon, runIcon, stopIcon } from '@jupyterlab/ui-components';
|
|
3
|
+
import { closeAllIcon as closeAll, codeIcon, pauseIcon as pause, runIcon, stepIntoIcon as stepInto, stepOutIcon as stepOut, stepOverIcon as stepOver, stopIcon, variableIcon as variable, viewBreakpointIcon as viewBreakpoint } from '@jupyterlab/ui-components';
|
|
4
4
|
import { DebuggerConfig } from './config';
|
|
5
5
|
import { DebuggerEvaluateDialog } from './dialogs/evaluate';
|
|
6
6
|
import { ReadOnlyEditorFactory as EditorFactory } from './factory';
|
|
7
7
|
import { DebuggerHandler } from './handler';
|
|
8
8
|
import { EditorHandler as DebuggerEditorHandler } from './handlers/editor';
|
|
9
|
-
import { closeAllIcon as closeAll, pauseIcon as pause, stepIntoIcon as stepInto, stepOutIcon as stepOut, stepOverIcon as stepOver, variableIcon as variable, viewBreakpointIcon as viewBreakpoint } from './icons';
|
|
10
9
|
import { DebuggerModel } from './model';
|
|
11
10
|
import { VariablesBodyGrid } from './panels/variables/grid';
|
|
12
11
|
import { VariableMimeRenderer } from './panels/variables/mimerenderer';
|
package/lib/debugger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debugger.js","sourceRoot":"","sources":["../src/debugger.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,
|
|
1
|
+
{"version":3,"file":"debugger.js","sourceRoot":"","sources":["../src/debugger.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EACL,YAAY,IAAI,QAAQ,EACxB,QAAQ,EACR,SAAS,IAAI,KAAK,EAClB,OAAO,EACP,YAAY,IAAI,QAAQ,EACxB,WAAW,IAAI,OAAO,EACtB,YAAY,IAAI,QAAQ,EACxB,QAAQ,EACR,YAAY,IAAI,QAAQ,EACxB,kBAAkB,IAAI,cAAc,EACrC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,MAAM,WAAW,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAA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AiB,OAAO,CAKvB;IALD,WAAiB,OAAO;QACtB;;WAEG;QACU,eAAO,GAAG,sBAAsB,CAAC,OAAO,CAAC;IACxD,CAAC,EALgB,OAAO,GAAP,gBAAO,KAAP,gBAAO,QAKvB;AACH,CAAC,EAnHgB,QAAQ,KAAR,QAAQ,QAmHxB"}
|
package/lib/icons.d.ts
CHANGED
|
@@ -1,11 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
export {
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
4
|
+
* Use: import { closeAllIcon } from '@jupyterlab/ui-components';
|
|
5
|
+
*/
|
|
6
|
+
closeAllIcon,
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
9
|
+
* Use: import { runIcon } from '@jupyterlab/ui-components';
|
|
10
|
+
*/
|
|
11
|
+
runIcon as continueIcon,
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
14
|
+
* Use: import { exceptionsIcon } from '@jupyterlab/ui-components';
|
|
15
|
+
*/
|
|
16
|
+
exceptionsIcon as exceptionIcon,
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
19
|
+
* Use: import { openKernelSourceIcon } from '@jupyterlab/ui-components';
|
|
20
|
+
*/
|
|
21
|
+
openKernelSourceIcon,
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
24
|
+
* Use: import { pauseIcon } from '@jupyterlab/ui-components';
|
|
25
|
+
*/
|
|
26
|
+
pauseIcon,
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
29
|
+
* Use: import { stepIntoIcon } from '@jupyterlab/ui-components';
|
|
30
|
+
*/
|
|
31
|
+
stepIntoIcon,
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
34
|
+
* Use: import { stepOutIcon } from '@jupyterlab/ui-components';
|
|
35
|
+
*/
|
|
36
|
+
stepOutIcon,
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
39
|
+
* Use: import { stepOverIcon } from '@jupyterlab/ui-components';
|
|
40
|
+
*/
|
|
41
|
+
stepOverIcon,
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
44
|
+
* Use: import { stopIcon } from '@jupyterlab/ui-components';
|
|
45
|
+
*/
|
|
46
|
+
stopIcon as terminateIcon,
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
49
|
+
* Use: import { variableIcon } from '@jupyterlab/ui-components';
|
|
50
|
+
*/
|
|
51
|
+
variableIcon,
|
|
52
|
+
/**
|
|
53
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
54
|
+
* Use: import { viewBreakpointIcon } from '@jupyterlab/ui-components';
|
|
55
|
+
*/
|
|
56
|
+
viewBreakpointIcon } from '@jupyterlab/ui-components';
|
package/lib/icons.js
CHANGED
|
@@ -1,50 +1,59 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
3
|
+
export {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
6
|
+
* Use: import { closeAllIcon } from '@jupyterlab/ui-components';
|
|
7
|
+
*/
|
|
8
|
+
closeAllIcon,
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
11
|
+
* Use: import { runIcon } from '@jupyterlab/ui-components';
|
|
12
|
+
*/
|
|
13
|
+
runIcon as continueIcon,
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
16
|
+
* Use: import { exceptionsIcon } from '@jupyterlab/ui-components';
|
|
17
|
+
*/
|
|
18
|
+
exceptionsIcon as exceptionIcon,
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
21
|
+
* Use: import { openKernelSourceIcon } from '@jupyterlab/ui-components';
|
|
22
|
+
*/
|
|
23
|
+
openKernelSourceIcon,
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
26
|
+
* Use: import { pauseIcon } from '@jupyterlab/ui-components';
|
|
27
|
+
*/
|
|
28
|
+
pauseIcon,
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
31
|
+
* Use: import { stepIntoIcon } from '@jupyterlab/ui-components';
|
|
32
|
+
*/
|
|
33
|
+
stepIntoIcon,
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
36
|
+
* Use: import { stepOutIcon } from '@jupyterlab/ui-components';
|
|
37
|
+
*/
|
|
38
|
+
stepOutIcon,
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
41
|
+
* Use: import { stepOverIcon } from '@jupyterlab/ui-components';
|
|
42
|
+
*/
|
|
43
|
+
stepOverIcon,
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
46
|
+
* Use: import { stopIcon } from '@jupyterlab/ui-components';
|
|
47
|
+
*/
|
|
48
|
+
stopIcon as terminateIcon,
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
51
|
+
* Use: import { variableIcon } from '@jupyterlab/ui-components';
|
|
52
|
+
*/
|
|
53
|
+
variableIcon,
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
56
|
+
* Use: import { viewBreakpointIcon } from '@jupyterlab/ui-components';
|
|
57
|
+
*/
|
|
58
|
+
viewBreakpointIcon } from '@jupyterlab/ui-components';
|
|
50
59
|
//# sourceMappingURL=icons.js.map
|
package/lib/icons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO
|
|
1
|
+
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO;AACL;;;GAGG;AACH,YAAY;AACZ;;;GAGG;AACH,OAAO,IAAI,YAAY;AACvB;;;GAGG;AACH,cAAc,IAAI,aAAa;AAC/B;;;GAGG;AACH,oBAAoB;AACpB;;;GAGG;AACH,SAAS;AACT;;;GAGG;AACH,YAAY;AACZ;;;GAGG;AACH,WAAW;AACX;;;GAGG;AACH,YAAY;AACZ;;;GAGG;AACH,QAAQ,IAAI,aAAa;AACzB;;;GAGG;AACH,YAAY;AACZ;;;GAGG;AACH,kBAAkB,EACnB,MAAM,2BAA2B,CAAC"}
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
import { Dialog, showDialog } from '@jupyterlab/apputils';
|
|
4
4
|
import { nullTranslator } from '@jupyterlab/translation';
|
|
5
|
-
import { PanelWithToolbar, ToolbarButton } from '@jupyterlab/ui-components';
|
|
5
|
+
import { closeAllIcon, exceptionsIcon, PanelWithToolbar, ToolbarButton } from '@jupyterlab/ui-components';
|
|
6
6
|
import { Signal } from '@lumino/signaling';
|
|
7
|
-
import { closeAllIcon, exceptionIcon } from '../../icons';
|
|
8
7
|
import { BreakpointsBody } from './body';
|
|
9
8
|
import { PauseOnExceptionsWidget } from './pauseonexceptions';
|
|
10
9
|
/**
|
|
@@ -27,7 +26,7 @@ export class Breakpoints extends PanelWithToolbar {
|
|
|
27
26
|
this.toolbar.addItem('pauseOnException', new PauseOnExceptionsWidget({
|
|
28
27
|
service: service,
|
|
29
28
|
commands: commands,
|
|
30
|
-
icon:
|
|
29
|
+
icon: exceptionsIcon,
|
|
31
30
|
tooltip: trans.__('Pause on exception filter')
|
|
32
31
|
}));
|
|
33
32
|
this.toolbar.addItem('closeAll', new ToolbarButton({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/panels/breakpoints/index.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/panels/breakpoints/index.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,aAAa,EACd,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,gBAAgB;IAC/C;;;;OAIG;IACH,YAAY,OAA6B;;QACvC,KAAK,CAAC,OAAO,CAAC,CAAC;QA8CR,YAAO,GAAG,IAAI,MAAM,CAA8B,IAAI,CAAC,CAAC;QA7C/D,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;QAC7C,MAAM,KAAK,GAAG,CAAC,MAAA,OAAO,CAAC,UAAU,mCAAI,cAAc,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,EAAE,CAAC,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
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { openKernelSourceIcon } from '
|
|
5
|
-
import { classes, LabIcon, ReactWidget } from '@jupyterlab/ui-components';
|
|
4
|
+
import { classes, LabIcon, openKernelSourceIcon, ReactWidget } from '@jupyterlab/ui-components';
|
|
6
5
|
import { showErrorMessage } from '@jupyterlab/apputils';
|
|
7
6
|
import { nullTranslator } from '@jupyterlab/translation';
|
|
8
7
|
import { KernelSourcesFilter } from './filter';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../src/panels/kernelSources/body.tsx"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
|
1
|
+
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../src/panels/kernelSources/body.tsx"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,OAAO,EACP,OAAO,EACP,oBAAoB,EACpB,WAAW,EACZ,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAG/C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD;;GAEG;AACH,MAAM,eAAe,GAAG,mCAAmC,CAAC;AAE5D;;GAEG;AACH,MAAM,sBAAsB,GAAG,0CAA0C,CAAC;AAE1E;;GAEG;AACH,MAAM,YAAY,GAAG,gCAAgC,CAAC;AAEtD;;GAEG;AACH,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAChD;;;;OAIG;IACH,YAAY,OAAmC;;Q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,CACL,6BACE,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,IAAI,EACX,SAAS,EAAE,YAAY,EACvB,OAAO,EAAE,GAAG,EAAE;4BACZ,IAAI,CAAC,gBAAgB;iCAClB,SAAS,CAAC;gCACT,eAAe,EAAE,CAAC;gCAClB,IAAI,EAAE,IAAI;6BACX,CAAC;iCACD,IAAI,CAAC,MAAM,CAAC,EAAE;gCACb,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;4BAC3B,CAAC,CAAC;iCACD,KAAK,CAAC,MAAM,CAAC,EAAE;gCACd,KAAK,gBAAgB,CACnB,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,oBAAoB,CAAC,EACpC,IAAI,CAAC,MAAM,CAAC,EAAE,CACZ,8BAA8B,EAC9B,IAAI,EACJ,MAAM,CACP,CACF,CAAC;4BACJ,CAAC,CAAC,CAAC;wBACP,CAAC;wBAED,oBAAC,OAAO,CAAC,YAAY,IACnB,IAAI,EAAE,oBAAoB,EAC1B,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,EAC7B,GAAG,EAAE,IAAI,GACT;wBACD,IAAI,CACD,CACP,CAAC;gBACJ,CAAC,CAAC,CAAC;YACL,CAAC,CACS,CACG,CAClB,CAAC;IACJ,CAAC;IAED;;OAEG;IACI,eAAe;QACpB,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;CAMF"}
|
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
| Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
5
|
import { nullTranslator } from '@jupyterlab/translation';
|
|
6
|
-
import { PanelWithToolbar, ToolbarButton } from '@jupyterlab/ui-components';
|
|
7
|
-
import { viewBreakpointIcon } from '../../icons';
|
|
8
|
-
import { SourcePathComponent } from './sourcepath';
|
|
9
|
-
import { SourcesBody } from './body';
|
|
10
|
-
import { ReactWidget } from '@jupyterlab/ui-components';
|
|
6
|
+
import { PanelWithToolbar, ReactWidget, ToolbarButton, viewBreakpointIcon } from '@jupyterlab/ui-components';
|
|
11
7
|
import React from 'react';
|
|
8
|
+
import { SourcesBody } from './body';
|
|
9
|
+
import { SourcePathComponent } from './sourcepath';
|
|
12
10
|
/**
|
|
13
11
|
* A Panel that shows a preview of the source code while debugging.
|
|
14
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/panels/sources/index.tsx"],"names":[],"mappings":"AAAA;;;+EAG+E;AAG/E,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/panels/sources/index.tsx"],"names":[],"mappings":"AAAA;;;+EAG+E;AAG/E,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,gBAAgB;IAC3C;;;;OAIG;IACH,YAAY,OAAyB;;QACnC,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC;QACnD,MAAM,KAAK,GAAG,CAAC,MAAA,OAAO,CAAC,UAAU,mCAAI,cAAc,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;QAEtC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;QACnD,MAAM,IAAI,GAAG,IAAI,WAAW,CAAC;YAC3B,OAAO;YACP,KAAK;YACL,cAAc;SACf,CAAC,CAAC;QACH,IAAI,CAAC,OAAO,CAAC,OAAO,CAClB,MAAM,EACN,IAAI,aAAa,CAAC;YAChB,IAAI,EAAE,kBAAkB;YACxB,OAAO,EAAE,GAAS,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE;YACjC,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC;SAC3C,CAAC,CACH,CAAC;QACF,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,CACnC,oBAAC,mBAAmB,IAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAI,CACpD,CAAC;QAEF,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;QAE3C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/debugger",
|
|
3
|
-
"version": "4.4.0-alpha.
|
|
3
|
+
"version": "4.4.0-alpha.1",
|
|
4
4
|
"description": "JupyterLab - Debugger Extension",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"lib/**/*.js",
|
|
34
34
|
"schema/*.json",
|
|
35
35
|
"style/**/*.css",
|
|
36
|
-
"style/**/*.svg",
|
|
37
36
|
"style/index.js",
|
|
38
37
|
"src/**/*.{ts,tsx}"
|
|
39
38
|
],
|
|
@@ -48,25 +47,25 @@
|
|
|
48
47
|
"watch": "tsc -b --watch"
|
|
49
48
|
},
|
|
50
49
|
"dependencies": {
|
|
51
|
-
"@codemirror/state": "^6.
|
|
52
|
-
"@codemirror/view": "^6.
|
|
50
|
+
"@codemirror/state": "^6.5.0",
|
|
51
|
+
"@codemirror/view": "^6.35.3",
|
|
53
52
|
"@jupyter/react-components": "^0.16.6",
|
|
54
53
|
"@jupyter/ydoc": "^3.0.0",
|
|
55
|
-
"@jupyterlab/application": "^4.4.0-alpha.
|
|
56
|
-
"@jupyterlab/apputils": "^4.5.0-alpha.
|
|
57
|
-
"@jupyterlab/cells": "^4.4.0-alpha.
|
|
58
|
-
"@jupyterlab/codeeditor": "^4.4.0-alpha.
|
|
59
|
-
"@jupyterlab/codemirror": "^4.4.0-alpha.
|
|
60
|
-
"@jupyterlab/console": "^4.4.0-alpha.
|
|
61
|
-
"@jupyterlab/coreutils": "^6.4.0-alpha.
|
|
62
|
-
"@jupyterlab/docregistry": "^4.4.0-alpha.
|
|
63
|
-
"@jupyterlab/fileeditor": "^4.4.0-alpha.
|
|
64
|
-
"@jupyterlab/notebook": "^4.4.0-alpha.
|
|
65
|
-
"@jupyterlab/observables": "^5.4.0-alpha.
|
|
66
|
-
"@jupyterlab/rendermime": "^4.4.0-alpha.
|
|
67
|
-
"@jupyterlab/services": "^7.4.0-alpha.
|
|
68
|
-
"@jupyterlab/translation": "^4.4.0-alpha.
|
|
69
|
-
"@jupyterlab/ui-components": "^4.4.0-alpha.
|
|
54
|
+
"@jupyterlab/application": "^4.4.0-alpha.1",
|
|
55
|
+
"@jupyterlab/apputils": "^4.5.0-alpha.1",
|
|
56
|
+
"@jupyterlab/cells": "^4.4.0-alpha.1",
|
|
57
|
+
"@jupyterlab/codeeditor": "^4.4.0-alpha.1",
|
|
58
|
+
"@jupyterlab/codemirror": "^4.4.0-alpha.1",
|
|
59
|
+
"@jupyterlab/console": "^4.4.0-alpha.1",
|
|
60
|
+
"@jupyterlab/coreutils": "^6.4.0-alpha.1",
|
|
61
|
+
"@jupyterlab/docregistry": "^4.4.0-alpha.1",
|
|
62
|
+
"@jupyterlab/fileeditor": "^4.4.0-alpha.1",
|
|
63
|
+
"@jupyterlab/notebook": "^4.4.0-alpha.1",
|
|
64
|
+
"@jupyterlab/observables": "^5.4.0-alpha.1",
|
|
65
|
+
"@jupyterlab/rendermime": "^4.4.0-alpha.1",
|
|
66
|
+
"@jupyterlab/services": "^7.4.0-alpha.1",
|
|
67
|
+
"@jupyterlab/translation": "^4.4.0-alpha.1",
|
|
68
|
+
"@jupyterlab/ui-components": "^4.4.0-alpha.1",
|
|
70
69
|
"@lumino/algorithm": "^2.0.2",
|
|
71
70
|
"@lumino/commands": "^2.3.1",
|
|
72
71
|
"@lumino/coreutils": "^2.2.0",
|
|
@@ -80,7 +79,7 @@
|
|
|
80
79
|
"react": "^18.2.0"
|
|
81
80
|
},
|
|
82
81
|
"devDependencies": {
|
|
83
|
-
"@jupyterlab/testing": "^4.4.0-alpha.
|
|
82
|
+
"@jupyterlab/testing": "^4.4.0-alpha.1",
|
|
84
83
|
"@types/jest": "^29.2.0",
|
|
85
84
|
"jest": "^29.2.0",
|
|
86
85
|
"jest-canvas-mock": "^2.5.2",
|
package/src/debugger.ts
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
closeAllIcon as closeAll,
|
|
6
|
+
codeIcon,
|
|
7
|
+
pauseIcon as pause,
|
|
8
|
+
runIcon,
|
|
9
|
+
stepIntoIcon as stepInto,
|
|
10
|
+
stepOutIcon as stepOut,
|
|
11
|
+
stepOverIcon as stepOver,
|
|
12
|
+
stopIcon,
|
|
13
|
+
variableIcon as variable,
|
|
14
|
+
viewBreakpointIcon as viewBreakpoint
|
|
15
|
+
} from '@jupyterlab/ui-components';
|
|
5
16
|
|
|
6
17
|
import { DebuggerConfig } from './config';
|
|
7
18
|
|
|
@@ -13,16 +24,6 @@ import { DebuggerHandler } from './handler';
|
|
|
13
24
|
|
|
14
25
|
import { EditorHandler as DebuggerEditorHandler } from './handlers/editor';
|
|
15
26
|
|
|
16
|
-
import {
|
|
17
|
-
closeAllIcon as closeAll,
|
|
18
|
-
pauseIcon as pause,
|
|
19
|
-
stepIntoIcon as stepInto,
|
|
20
|
-
stepOutIcon as stepOut,
|
|
21
|
-
stepOverIcon as stepOver,
|
|
22
|
-
variableIcon as variable,
|
|
23
|
-
viewBreakpointIcon as viewBreakpoint
|
|
24
|
-
} from './icons';
|
|
25
|
-
|
|
26
27
|
import { DebuggerModel } from './model';
|
|
27
28
|
|
|
28
29
|
import { VariablesBodyGrid } from './panels/variables/grid';
|
package/src/icons.ts
CHANGED
|
@@ -1,64 +1,60 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { LabIcon } from '@jupyterlab/ui-components';
|
|
5
|
-
|
|
6
|
-
import closeAllSvgStr from '../style/icons/close-all.svg';
|
|
7
|
-
import stepIntoSvgStr from '../style/icons/step-into.svg';
|
|
8
|
-
import stepOutSvgStr from '../style/icons/step-out.svg';
|
|
9
|
-
import stepOverSvgStr from '../style/icons/step-over.svg';
|
|
10
|
-
import variableSvgStr from '../style/icons/variable.svg';
|
|
11
|
-
import pauseSvgStr from '../style/icons/pause.svg';
|
|
12
|
-
import viewBreakpointSvgStr from '../style/icons/view-breakpoint.svg';
|
|
13
|
-
import openKernelSourceSvgStr from '../style/icons/open-kernel-source.svg';
|
|
14
|
-
import exceptionSvgStr from '../style/icons/exceptions.svg';
|
|
15
|
-
|
|
16
4
|
export {
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
7
|
+
* Use: import { closeAllIcon } from '@jupyterlab/ui-components';
|
|
8
|
+
*/
|
|
9
|
+
closeAllIcon,
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
12
|
+
* Use: import { runIcon } from '@jupyterlab/ui-components';
|
|
13
|
+
*/
|
|
17
14
|
runIcon as continueIcon,
|
|
18
|
-
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
17
|
+
* Use: import { exceptionsIcon } from '@jupyterlab/ui-components';
|
|
18
|
+
*/
|
|
19
|
+
exceptionsIcon as exceptionIcon,
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
22
|
+
* Use: import { openKernelSourceIcon } from '@jupyterlab/ui-components';
|
|
23
|
+
*/
|
|
24
|
+
openKernelSourceIcon,
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
27
|
+
* Use: import { pauseIcon } from '@jupyterlab/ui-components';
|
|
28
|
+
*/
|
|
29
|
+
pauseIcon,
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
32
|
+
* Use: import { stepIntoIcon } from '@jupyterlab/ui-components';
|
|
33
|
+
*/
|
|
34
|
+
stepIntoIcon,
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
37
|
+
* Use: import { stepOutIcon } from '@jupyterlab/ui-components';
|
|
38
|
+
*/
|
|
39
|
+
stepOutIcon,
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
42
|
+
* Use: import { stepOverIcon } from '@jupyterlab/ui-components';
|
|
43
|
+
*/
|
|
44
|
+
stepOverIcon,
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
47
|
+
* Use: import { stopIcon } from '@jupyterlab/ui-components';
|
|
48
|
+
*/
|
|
49
|
+
stopIcon as terminateIcon,
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
52
|
+
* Use: import { variableIcon } from '@jupyterlab/ui-components';
|
|
53
|
+
*/
|
|
54
|
+
variableIcon,
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated Debugger icons are now in the ui-components package. Import from '@jupyterlab/ui-components' instead.
|
|
57
|
+
* Use: import { viewBreakpointIcon } from '@jupyterlab/ui-components';
|
|
58
|
+
*/
|
|
59
|
+
viewBreakpointIcon
|
|
19
60
|
} from '@jupyterlab/ui-components';
|
|
20
|
-
|
|
21
|
-
export const closeAllIcon = new LabIcon({
|
|
22
|
-
name: 'debugger:close-all',
|
|
23
|
-
svgstr: closeAllSvgStr
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
export const exceptionIcon = new LabIcon({
|
|
27
|
-
name: 'debugger:pause-on-exception',
|
|
28
|
-
svgstr: exceptionSvgStr
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
export const pauseIcon = new LabIcon({
|
|
32
|
-
name: 'debugger:pause',
|
|
33
|
-
svgstr: pauseSvgStr
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
export const stepIntoIcon = new LabIcon({
|
|
37
|
-
name: 'debugger:step-into',
|
|
38
|
-
svgstr: stepIntoSvgStr
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
export const stepOverIcon = new LabIcon({
|
|
42
|
-
name: 'debugger:step-over',
|
|
43
|
-
svgstr: stepOverSvgStr
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
export const stepOutIcon = new LabIcon({
|
|
47
|
-
name: 'debugger:step-out',
|
|
48
|
-
svgstr: stepOutSvgStr
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
export const variableIcon = new LabIcon({
|
|
52
|
-
name: 'debugger:variable',
|
|
53
|
-
svgstr: variableSvgStr
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
export const viewBreakpointIcon = new LabIcon({
|
|
57
|
-
name: 'debugger:view-breakpoint',
|
|
58
|
-
svgstr: viewBreakpointSvgStr
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
export const openKernelSourceIcon = new LabIcon({
|
|
62
|
-
name: 'debugger:open-kernel-source',
|
|
63
|
-
svgstr: openKernelSourceSvgStr
|
|
64
|
-
});
|
|
@@ -3,11 +3,15 @@
|
|
|
3
3
|
|
|
4
4
|
import { Dialog, showDialog } from '@jupyterlab/apputils';
|
|
5
5
|
import { ITranslator, nullTranslator } from '@jupyterlab/translation';
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
closeAllIcon,
|
|
8
|
+
exceptionsIcon,
|
|
9
|
+
PanelWithToolbar,
|
|
10
|
+
ToolbarButton
|
|
11
|
+
} from '@jupyterlab/ui-components';
|
|
7
12
|
import { CommandRegistry } from '@lumino/commands';
|
|
8
13
|
import { Signal } from '@lumino/signaling';
|
|
9
14
|
import { Panel } from '@lumino/widgets';
|
|
10
|
-
import { closeAllIcon, exceptionIcon } from '../../icons';
|
|
11
15
|
import { IDebugger } from '../../tokens';
|
|
12
16
|
import { BreakpointsBody } from './body';
|
|
13
17
|
import { PauseOnExceptionsWidget } from './pauseonexceptions';
|
|
@@ -34,7 +38,7 @@ export class Breakpoints extends PanelWithToolbar {
|
|
|
34
38
|
new PauseOnExceptionsWidget({
|
|
35
39
|
service: service,
|
|
36
40
|
commands: commands,
|
|
37
|
-
icon:
|
|
41
|
+
icon: exceptionsIcon,
|
|
38
42
|
tooltip: trans.__('Pause on exception filter')
|
|
39
43
|
})
|
|
40
44
|
);
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import {
|
|
7
|
+
classes,
|
|
8
|
+
LabIcon,
|
|
9
|
+
openKernelSourceIcon,
|
|
10
|
+
ReactWidget
|
|
11
|
+
} from '@jupyterlab/ui-components';
|
|
9
12
|
|
|
10
13
|
import { showErrorMessage } from '@jupyterlab/apputils';
|
|
11
14
|
|
|
@@ -5,13 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
import { IEditorServices } from '@jupyterlab/codeeditor';
|
|
7
7
|
import { ITranslator, nullTranslator } from '@jupyterlab/translation';
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
PanelWithToolbar,
|
|
10
|
+
ReactWidget,
|
|
11
|
+
ToolbarButton,
|
|
12
|
+
viewBreakpointIcon
|
|
13
|
+
} from '@jupyterlab/ui-components';
|
|
14
|
+
import React from 'react';
|
|
10
15
|
import { IDebugger } from '../../tokens';
|
|
11
|
-
import { SourcePathComponent } from './sourcepath';
|
|
12
16
|
import { SourcesBody } from './body';
|
|
13
|
-
import {
|
|
14
|
-
import React from 'react';
|
|
17
|
+
import { SourcePathComponent } from './sourcepath';
|
|
15
18
|
|
|
16
19
|
/**
|
|
17
20
|
* A Panel that shows a preview of the source code while debugging.
|
package/style/base.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
| Copyright (c) Jupyter Development Team.
|
|
3
3
|
| Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
|
+
|
|
5
6
|
@import './breakpoints.css';
|
|
6
7
|
@import './callstack.css';
|
|
7
8
|
@import './editor.css';
|
package/style/variables.css
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M14.9991 5.50088C15.0304 6.61916 14.634 7.70725 13.8907 8.54339C13.1475 9.37953 12.1134 9.90077 10.9991 10.0009C10.9909 9.65848 10.9232 9.32011 10.7991 9.00088C11.6689 8.91143 12.4755 8.50545 13.0655 7.86014C13.6555 7.21482 13.9878 6.37518 13.9991 5.50088C13.9959 4.59898 13.6452 3.73302 13.0201 3.0829C12.395 2.43279 11.5434 2.0485 10.6423 2.00989C9.74125 1.97127 8.85994 2.28129 8.18148 2.87553C7.50302 3.46978 7.07959 4.30257 6.99915 5.20088C6.67717 5.08646 6.34037 5.0191 5.99915 5.00088C6.14761 3.90647 6.68305 2.9014 7.50851 2.16766C8.33397 1.43392 9.39488 1.02001 10.4991 1.00088C11.0908 0.998366 11.6771 1.11305 12.2242 1.3383C12.7713 1.56356 13.2684 1.89493 13.6867 2.31329C14.1051 2.73166 14.4365 3.22873 14.6617 3.77583C14.887 4.32293 15.0017 4.90923 14.9991 5.50088ZM5.49915 6.00088C4.60913 6.00088 3.7391 6.2648 2.99908 6.75927C2.25906 7.25373 1.68228 7.95654 1.34169 8.7788C1.0011 9.60107 0.91198 10.5059 1.08561 11.3788C1.25925 12.2517 1.68783 13.0535 2.31717 13.6829C2.9465 14.3122 3.74833 14.7408 4.62124 14.9144C5.49416 15.088 6.39896 14.9989 7.22122 14.6583C8.04349 14.3177 8.74629 13.741 9.24076 13.0009C9.73523 12.2609 9.99915 11.3909 9.99915 10.5009C9.99915 9.90993 9.88275 9.32477 9.65661 8.7788C9.43046 8.23284 9.09899 7.73676 8.68113 7.3189C8.26326 6.90104 7.76719 6.56957 7.22122 6.34342C6.67526 6.11728 6.0901 6.00088 5.49915 6.00088Z" fill="#616161"/>
|
|
3
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#646465" d="M6 4v8l4-4-4-4zm1 2.414l1.586 1.586-1.586 1.586v-3.172z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#646465" d="M11 10.07h-5.656l5.656-5.656v5.656z"/></svg>
|
package/style/icons/class.svg
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.35356 6.64642L2.06066 5.35353L5.35356 2.06065L6.64645 3.35354L3.35356 6.64642ZM5 1L1 4.99998V5.70708L3 7.70707H3.70711L4.85355 6.56063V12.3535L5.35355 12.8535H10.0097V13.3741L11.343 14.7074H12.0501L14.7168 12.0407V11.3336L13.3835 10.0003H12.6763L10.8231 11.8535H5.85355V7.89355H10.0097V8.37401L11.343 9.70734H12.0501L14.7168 7.04068V6.33357L13.3835 5.00024H12.6763L10.863 6.81356H5.85355V5.56064L7.70711 3.70709V2.99999L5.70711 1H5ZM11.0703 8.02046L11.6966 8.64668L13.6561 6.68713L13.0299 6.0609L11.0703 8.02046ZM11.0703 13.0205L11.6966 13.6467L13.6561 11.6872L13.0299 11.061L11.0703 13.0205Z" fill="#FF8E00"/>
|
|
3
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g class="jp-icon3" fill="#616161">
|
|
3
|
-
<path d="M16.4805 17.2481C16.8158 16.3972 17 15.4701 17 14.5C17 10.3579 13.6421 7.00001 9.5 7.00001C8.36314 7.00001 7.28536 7.25295 6.31986 7.70564C7.60064 6.0592 9.60074 5 11.8482 5C15.7142 5 18.8482 8.13401 18.8482 12C18.8482 14.0897 17.9325 15.9655 16.4805 17.2481Z" />
|
|
4
|
-
<path d="M19.1607 14.2481C19.496 13.3971 19.6801 12.4701 19.6801 11.5C19.6801 7.35786 16.3223 4 12.1801 4C11.0433 4 9.9655 4.25295 9.00001 4.70563C10.2808 3.05919 12.2809 2 14.5284 2C18.3944 2 21.5284 5.134 21.5284 9C21.5284 11.0897 20.6127 12.9655 19.1607 14.2481Z" />
|
|
5
|
-
<path d="M16 15C16 18.866 12.866 22 9 22C5.13401 22 2 18.866 2 15C2 11.134 5.13401 8 9 8C12.866 8 16 11.134 16 15ZM11.7914 11L13 12.2086L10.2086 15L13 17.7914L11.7914 19L9 16.2086L6.20857 19L5 17.7914L7.79143 15L5 12.2086L6.20857 11L9 13.7914L11.7914 11Z" />
|
|
6
|
-
</g>
|
|
7
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 2L7 3V6H8V3H14V8H10V9H14L15 8V3L14 2H8ZM9 8L8 7H7H2L1 8V13L2 14H8L9 13V9V8ZM8 9V8H7H2V13H8V9ZM9 6.58579L9.41421 7H13V6H9V6.58579ZM13 4H9V5H13V4ZM7 9H3V10H7V9ZM3 11H7V12H3V11Z" fill="#FF8E00"/>
|
|
3
|
-
</svg>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg height="24" width="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g class="jp-icon3" fill="#616161" transform="matrix(1.1999396,0,0,1.3858273,-2.3726971,-4.6347192)">
|
|
3
|
-
<path
|
|
4
|
-
d="M 12.023438,0.30859375 11.158203,1.8085937 -1.2382812,23.285156 l 26.5292972,-0.002 z m 0.002,3.99999995 9.800781,16.9746093 -19.6015626,0.002 z"
|
|
5
|
-
transform="matrix(0.72509832,0,0,0.7247701,3.2918397,3.480876)"
|
|
6
|
-
/>
|
|
7
|
-
<path d="m 11.144475,9.117095 h 1.666751 v 7.215906 h -1.666751 z" />
|
|
8
|
-
<path d="m 11.144475,17.054592 h 1.666751 v 1.443181 h -1.666751 z" />
|
|
9
|
-
</g>
|
|
10
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g class="jp-icon3" fill="#616161">
|
|
3
|
-
<path d="M5 2H15L20 7V20C20 20.5304 19.7893 21.0391 19.4142 21.4142C19.0391 21.7893 18.5304 22 18 22H5C4.46957 22 3.96086 21.7893 3.58579 21.4142C3.21071 21.0391 3 20.5304 3 20V14H4V16L8 13L4 10V12H3V4C3 3.46957 3.21071 2.96086 3.58579 2.58579C3.96086 2.21071 4.46957 2 5 2ZM12 18H16V16H12V18ZM12 14H18V12H12V14ZM12 10H18V8H12V10ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44771 12 9 12.4477 9 13C9 13.5523 9.44771 14 10 14Z"/>
|
|
4
|
-
<path d="M3 12V14H1V13V12H3Z"/>
|
|
5
|
-
</g>
|
|
6
|
-
</svg>
|
package/style/icons/pause.svg
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g class="jp-icon3" fill="#616161">
|
|
3
|
-
<path d="M7.99998 9.53198H8.54198L12.447 5.62698L11.386 4.56698L8.74898 7.17698L8.74898 0.999985H7.99998H7.25098L7.25098 7.17698L4.61398 4.56698L3.55298 5.62698L7.45798 9.53198H7.99998ZM9.95598 13.013C9.95598 14.1175 9.06055 15.013 7.95598 15.013C6.85141 15.013 5.95598 14.1175 5.95598 13.013C5.95598 11.9084 6.85141 11.013 7.95598 11.013C9.06055 11.013 9.95598 11.9084 9.95598 13.013Z"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
package/style/icons/step-out.svg
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g class="jp-icon3" fill="#616161">
|
|
3
|
-
<path d="M7.99998 1H7.45798L3.55298 4.905L4.61398 5.965L7.25098 3.355V9.532H7.99998H8.74898V3.355L11.386 5.965L12.447 4.905L8.54198 1H7.99998ZM9.95598 13.013C9.95598 14.1176 9.06055 15.013 7.95598 15.013C6.85141 15.013 5.95598 14.1176 5.95598 13.013C5.95598 11.9084 6.85141 11.013 7.95598 11.013C9.06055 11.013 9.95598 11.9084 9.95598 13.013Z"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g class="jp-icon3" fill="#616161">
|
|
3
|
-
<path d="M14.25 5.75V1.75H12.75V4.2916C11.605 2.93303 9.83899 2.08334 7.90914 2.08334C4.73316 2.08334 1.98941 4.39036 1.75072 7.48075L1.72992 7.75H3.231L3.25287 7.5241C3.46541 5.32932 5.45509 3.58334 7.90914 3.58334C9.6452 3.58334 11.1528 4.45925 11.9587 5.75H9.12986V7.25H13.292L14.2535 6.27493V5.75H14.25ZM7.99997 14C9.10454 14 9.99997 13.1046 9.99997 12C9.99997 10.8954 9.10454 10 7.99997 10C6.8954 10 5.99997 10.8954 5.99997 12C5.99997 13.1046 6.8954 14 7.99997 14Z"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
package/style/icons/variable.svg
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 4L1 4.5V12.5L1.5 13H4V12H2V5H4V4H1.5ZM14.5 13L15 12.5L15 4.5L14.5 4H12V5L14 5L14 12H12V13H14.5ZM8.79693 5L4.29693 7L4 7.45691V9.95691L4.24275 10.3857L6.74275 11.8857L7.20307 11.9138L11.7031 9.91381L12 9.45691V6.95691L11.7572 6.52816L9.25725 5.02816L8.79693 5ZM5 8.34V9.67381L6.5 10.5738V9.24L5 8.34ZM7.5 9.28184V10.6875L11 9.13197V7.72629L7.5 9.28184ZM10.4178 6.89071L8.96559 6.01936L5.58216 7.52311L7.03441 8.39445L10.4178 6.89071Z" fill="#007ACC"/>
|
|
3
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g class="jp-icon3" fill="#616161">
|
|
3
|
-
<path d="M5 2H15L20 7V20C20 20.5304 19.7893 21.0391 19.4142 21.4142C19.0391 21.7893 18.5304 22 18 22H5C4.46957 22 3.96086 21.7893 3.58579 21.4142C3.21071 21.0391 3 20.5304 3 20V14H4V16L8 13L4 10V12H3V4C3 3.46957 3.21071 2.96086 3.58579 2.58579C3.96086 2.21071 4.46957 2 5 2ZM12 18H16V16H12V18ZM12 14H18V12H12V14ZM12 10H18V8H12V10ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44771 12 9 12.4477 9 13C9 13.5523 9.44771 14 10 14Z"/>
|
|
4
|
-
<path d="M3 12V14H1V13V12H3Z"/>
|
|
5
|
-
</g>
|
|
6
|
-
</svg>
|