@difizen/libro-lab 0.2.0 → 0.2.2
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/es/lab-app.js +1 -1
- package/es/module.d.ts.map +1 -1
- package/es/module.js +2 -1
- package/package.json +11 -10
- package/src/lab-app.ts +1 -1
- package/src/module.tsx +2 -0
package/es/lab-app.js
CHANGED
|
@@ -38,7 +38,7 @@ export var LibroLabApp = (_dec = singleton({
|
|
|
38
38
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
39
39
|
while (1) switch (_context.prev = _context.next) {
|
|
40
40
|
case 0:
|
|
41
|
-
localStorage.setItem(ShouldPreventStoreViewKey, '
|
|
41
|
+
localStorage.setItem(ShouldPreventStoreViewKey, 'true');
|
|
42
42
|
this.configurationService.set(LibroJupyterConfiguration['OpenSlot'], LibroLabLayoutSlots.content);
|
|
43
43
|
this.configurationService.set(terminalDefaultSlot, LibroLabLayoutSlots.contentBottom);
|
|
44
44
|
this.serverManager.ready.then(function () {
|
package/es/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,UAAU,EAKX,MAAM,mBAAmB,CAAC;AAiB3B,OAAO,cAAc,CAAC;AAMtB,eAAO,MAAM,cAAc,YA6ExB,CAAC"}
|
package/es/module.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FileView, LibroJupyterModule } from '@difizen/libro-jupyter';
|
|
2
2
|
import { LibroPromptCellModule } from '@difizen/libro-prompt-cell';
|
|
3
3
|
import { TerminalModule } from '@difizen/libro-terminal';
|
|
4
|
+
import { CommonWidgetsModule } from '@difizen/libro-widget';
|
|
4
5
|
import { ManaModule, createSlotPreference, RootSlotId, createViewPreference, HeaderArea } from '@difizen/mana-app';
|
|
5
6
|
import { LibroLabHeaderMenuModule } from "./command/module.js";
|
|
6
7
|
import { LabConfigAppContribution } from "./config/config-contribution.js";
|
|
@@ -68,4 +69,4 @@ createSlotPreference({
|
|
|
68
69
|
reveal: true,
|
|
69
70
|
order: 'welcome'
|
|
70
71
|
}
|
|
71
|
-
}), EntryPointView).dependOn(LibroJupyterModule, LibroLabLayoutModule, LibroLabHeaderMenuModule, LibroLabTocModule, LibroKernelAndTerminalPanelModule, LibroPromptCellModule, TerminalModule, ImageViewerModule, CodeEditorViewerModule);
|
|
72
|
+
}), EntryPointView).dependOn(LibroJupyterModule, CommonWidgetsModule, LibroLabLayoutModule, LibroLabHeaderMenuModule, LibroLabTocModule, LibroKernelAndTerminalPanelModule, LibroPromptCellModule, TerminalModule, ImageViewerModule, CodeEditorViewerModule);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-lab",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -34,14 +34,15 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@ant-design/icons": "^5.1.0",
|
|
37
|
-
"@difizen/libro-core": "^0.2.
|
|
38
|
-
"@difizen/libro-jupyter": "^0.2.
|
|
39
|
-
"@difizen/libro-kernel": "^0.2.
|
|
40
|
-
"@difizen/libro-prompt-cell": "^0.2.
|
|
41
|
-
"@difizen/libro-terminal": "^0.2.
|
|
42
|
-
"@difizen/libro-toc": "^0.2.
|
|
43
|
-
"@difizen/libro-cofine-editor-core": "^0.2.
|
|
44
|
-
"@difizen/libro-language-client": "^0.2.
|
|
37
|
+
"@difizen/libro-core": "^0.2.2",
|
|
38
|
+
"@difizen/libro-jupyter": "^0.2.2",
|
|
39
|
+
"@difizen/libro-kernel": "^0.2.2",
|
|
40
|
+
"@difizen/libro-prompt-cell": "^0.2.2",
|
|
41
|
+
"@difizen/libro-terminal": "^0.2.2",
|
|
42
|
+
"@difizen/libro-toc": "^0.2.2",
|
|
43
|
+
"@difizen/libro-cofine-editor-core": "^0.2.2",
|
|
44
|
+
"@difizen/libro-language-client": "^0.2.2",
|
|
45
|
+
"@difizen/libro-widget": "^0.2.2",
|
|
45
46
|
"@difizen/mana-app": "latest",
|
|
46
47
|
"@difizen/mana-common": "latest",
|
|
47
48
|
"@difizen/mana-react": "latest",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
53
54
|
"antd": "^5.8.6",
|
|
54
|
-
"react": "
|
|
55
|
+
"react": ">=16"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@types/react": "^18.2.25",
|
package/src/lab-app.ts
CHANGED
|
@@ -33,7 +33,7 @@ export class LibroLabApp implements ApplicationContribution {
|
|
|
33
33
|
@inject(LayoutService) layoutService: LayoutService;
|
|
34
34
|
|
|
35
35
|
async onStart() {
|
|
36
|
-
localStorage.setItem(ShouldPreventStoreViewKey, '
|
|
36
|
+
localStorage.setItem(ShouldPreventStoreViewKey, 'true');
|
|
37
37
|
this.configurationService.set(
|
|
38
38
|
LibroJupyterConfiguration['OpenSlot'],
|
|
39
39
|
LibroLabLayoutSlots.content,
|
package/src/module.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FileView, LibroJupyterModule } from '@difizen/libro-jupyter';
|
|
2
2
|
import { LibroPromptCellModule } from '@difizen/libro-prompt-cell';
|
|
3
3
|
import { TerminalModule } from '@difizen/libro-terminal';
|
|
4
|
+
import { CommonWidgetsModule } from '@difizen/libro-widget';
|
|
4
5
|
import {
|
|
5
6
|
ManaModule,
|
|
6
7
|
createSlotPreference,
|
|
@@ -98,6 +99,7 @@ export const LibroLabModule = ManaModule.create()
|
|
|
98
99
|
)
|
|
99
100
|
.dependOn(
|
|
100
101
|
LibroJupyterModule,
|
|
102
|
+
CommonWidgetsModule,
|
|
101
103
|
LibroLabLayoutModule,
|
|
102
104
|
LibroLabHeaderMenuModule,
|
|
103
105
|
LibroLabTocModule,
|