@difizen/libro-lab 0.1.0 → 0.1.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/es/common/icon.d.ts +14 -0
- package/es/common/icon.d.ts.map +1 -0
- package/es/common/icon.js +368 -0
- package/es/common/index.d.ts +2 -0
- package/es/common/index.d.ts.map +1 -0
- package/es/common/index.js +1 -0
- package/es/common/index.less +8 -0
- package/es/github-link/index.d.ts +9 -0
- package/es/github-link/index.d.ts.map +1 -0
- package/es/index.less +9 -0
- package/es/kernel-manager/index.d.ts +8 -0
- package/es/kernel-manager/index.d.ts.map +1 -0
- package/es/lab-app.d.ts +4 -1
- package/es/lab-app.d.ts.map +1 -1
- package/es/lab-app.js +28 -5
- package/es/layout/brand/index.d.ts +8 -0
- package/es/layout/brand/index.d.ts.map +1 -0
- package/es/layout/brand/index.js +1 -1
- package/es/layout/container.d.ts +8 -0
- package/es/layout/container.d.ts.map +1 -0
- package/es/layout/footer/current-file-footer-view.d.ts +1 -2
- package/es/layout/footer/current-file-footer-view.d.ts.map +1 -1
- package/es/layout/footer/current-file-footer-view.js +3 -7
- package/es/layout/footer/footer-view.d.ts +11 -0
- package/es/layout/footer/footer-view.d.ts.map +1 -0
- package/es/layout/footer/index.less +10 -7
- package/es/layout/footer/status-footer-view.d.ts +10 -0
- package/es/layout/footer/status-footer-view.d.ts.map +1 -0
- package/es/layout/footer/status-footer-view.js +73 -0
- package/es/layout/layout-service.d.ts +15 -0
- package/es/layout/layout-service.d.ts.map +1 -0
- package/es/layout/layout-service.js +15 -10
- package/es/layout/layout.d.ts +12 -0
- package/es/layout/layout.d.ts.map +1 -0
- package/es/layout/layout.js +39 -6
- package/es/layout/main.d.ts.map +1 -1
- package/es/layout/main.js +0 -1
- package/es/layout/module.d.ts.map +1 -1
- package/es/layout/module.js +6 -2
- package/es/layout/protocol.d.ts +18 -0
- package/es/layout/protocol.d.ts.map +1 -0
- package/es/layout/protocol.js +2 -1
- package/es/layout/{editor-tab-view.d.ts → saveable-tab-view.d.ts} +2 -2
- package/es/layout/saveable-tab-view.d.ts.map +1 -0
- package/es/layout/{editor-tab-view.js → saveable-tab-view.js} +9 -10
- package/es/menu/menu-bar-view.d.ts +9 -0
- package/es/menu/menu-bar-view.d.ts.map +1 -0
- package/es/menu/menu-command.d.ts +139 -0
- package/es/menu/menu-command.d.ts.map +1 -0
- package/es/module.d.ts.map +1 -1
- package/es/module.js +5 -3
- package/es/toc/libro-toc-panel-view.d.ts.map +1 -1
- package/es/toc/libro-toc-panel-view.js +2 -1
- package/es/welcome/entry-point-view.d.ts +8 -0
- package/es/welcome/entry-point-view.d.ts.map +1 -0
- package/es/welcome/entry-point-view.js +200 -0
- package/es/welcome/index.d.ts +13 -0
- package/es/welcome/index.d.ts.map +1 -0
- package/es/welcome/index.js +32 -4
- package/es/welcome/index.less +102 -1
- package/package.json +4 -3
- package/src/common/icon.tsx +300 -0
- package/src/common/index.less +8 -0
- package/src/common/index.tsx +1 -0
- package/src/index.less +9 -0
- package/src/lab-app.ts +18 -1
- package/src/layout/brand/index.tsx +1 -1
- package/src/layout/footer/current-file-footer-view.tsx +3 -7
- package/src/layout/footer/index.less +10 -7
- package/src/layout/footer/status-footer-view.tsx +45 -0
- package/src/layout/layout-service.ts +7 -5
- package/src/layout/layout.tsx +25 -1
- package/src/layout/main.tsx +0 -1
- package/src/layout/module.ts +8 -2
- package/src/layout/protocol.tsx +8 -0
- package/src/layout/{editor-tab-view.tsx → saveable-tab-view.tsx} +4 -5
- package/src/module.tsx +6 -2
- package/src/toc/libro-toc-panel-view.tsx +2 -1
- package/src/welcome/entry-point-view.tsx +169 -0
- package/src/welcome/index.less +102 -1
- package/src/welcome/index.tsx +43 -5
- package/es/layout/brand/logo.js +0 -41
- package/es/layout/editor-tab-view.d.ts.map +0 -1
- package/es/toc/libro-toc-icons.d.ts +0 -7
- package/es/toc/libro-toc-icons.d.ts.map +0 -1
- package/es/toc/libro-toc-icons.js +0 -38
- package/es/welcome/welcome-icon.js +0 -66
- package/src/layout/brand/logo.tsx +0 -39
- package/src/toc/libro-toc-icons.tsx +0 -35
- package/src/welcome/welcome-icon.tsx +0 -64
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export declare const MenuCommands: {
|
|
2
|
+
About: {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
OpenTerminal: {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
Save: {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
};
|
|
14
|
+
CreateFile: {
|
|
15
|
+
id: string;
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
RedoCellAction: {
|
|
19
|
+
id: string;
|
|
20
|
+
label: string;
|
|
21
|
+
};
|
|
22
|
+
UndoCellAction: {
|
|
23
|
+
id: string;
|
|
24
|
+
label: string;
|
|
25
|
+
};
|
|
26
|
+
CutCell: {
|
|
27
|
+
id: string;
|
|
28
|
+
label: string;
|
|
29
|
+
};
|
|
30
|
+
CopyCell: {
|
|
31
|
+
id: string;
|
|
32
|
+
label: string;
|
|
33
|
+
};
|
|
34
|
+
PasteCellAbove: {
|
|
35
|
+
id: string;
|
|
36
|
+
label: string;
|
|
37
|
+
};
|
|
38
|
+
PasteCellBelow: {
|
|
39
|
+
id: string;
|
|
40
|
+
label: string;
|
|
41
|
+
};
|
|
42
|
+
PasteAndReplaceCell: {
|
|
43
|
+
id: string;
|
|
44
|
+
label: string;
|
|
45
|
+
};
|
|
46
|
+
DeleteCell: {
|
|
47
|
+
id: string;
|
|
48
|
+
label: string;
|
|
49
|
+
};
|
|
50
|
+
SelectAll: {
|
|
51
|
+
id: string;
|
|
52
|
+
label: string;
|
|
53
|
+
};
|
|
54
|
+
DeselectAll: {
|
|
55
|
+
id: string;
|
|
56
|
+
label: string;
|
|
57
|
+
};
|
|
58
|
+
MoveCellUp: {
|
|
59
|
+
id: string;
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
MoveCellDown: {
|
|
63
|
+
id: string;
|
|
64
|
+
label: string;
|
|
65
|
+
};
|
|
66
|
+
SplitCellAntCursor: {
|
|
67
|
+
id: string;
|
|
68
|
+
label: string;
|
|
69
|
+
};
|
|
70
|
+
MergeCellAbove: {
|
|
71
|
+
id: string;
|
|
72
|
+
label: string;
|
|
73
|
+
};
|
|
74
|
+
MergeCellBelow: {
|
|
75
|
+
id: string;
|
|
76
|
+
label: string;
|
|
77
|
+
};
|
|
78
|
+
MergeCells: {
|
|
79
|
+
id: string;
|
|
80
|
+
label: string;
|
|
81
|
+
};
|
|
82
|
+
ClearCellOutput: {
|
|
83
|
+
id: string;
|
|
84
|
+
label: string;
|
|
85
|
+
};
|
|
86
|
+
ClearAllCellOutput: {
|
|
87
|
+
id: string;
|
|
88
|
+
label: string;
|
|
89
|
+
};
|
|
90
|
+
HideOrShowCellCode: {
|
|
91
|
+
id: string;
|
|
92
|
+
label: string;
|
|
93
|
+
};
|
|
94
|
+
HideOrShowOutputs: {
|
|
95
|
+
id: string;
|
|
96
|
+
label: string;
|
|
97
|
+
};
|
|
98
|
+
EnableOutputScrolling: {
|
|
99
|
+
id: string;
|
|
100
|
+
label: string;
|
|
101
|
+
};
|
|
102
|
+
DisableOutputScrolling: {
|
|
103
|
+
id: string;
|
|
104
|
+
label: string;
|
|
105
|
+
};
|
|
106
|
+
RestartAndRunToSelected: {
|
|
107
|
+
id: string;
|
|
108
|
+
label: string;
|
|
109
|
+
};
|
|
110
|
+
RestartRunAll: {
|
|
111
|
+
id: string;
|
|
112
|
+
label: string;
|
|
113
|
+
};
|
|
114
|
+
RunAllAbove: {
|
|
115
|
+
id: string;
|
|
116
|
+
label: string;
|
|
117
|
+
};
|
|
118
|
+
RunAllBelow: {
|
|
119
|
+
id: string;
|
|
120
|
+
label: string;
|
|
121
|
+
};
|
|
122
|
+
RunAllCells: {
|
|
123
|
+
id: string;
|
|
124
|
+
label: string;
|
|
125
|
+
};
|
|
126
|
+
RunCell: {
|
|
127
|
+
id: string;
|
|
128
|
+
label: string;
|
|
129
|
+
};
|
|
130
|
+
RunCellAndInsertBelow: {
|
|
131
|
+
id: string;
|
|
132
|
+
label: string;
|
|
133
|
+
};
|
|
134
|
+
RunCellAndSelectNext: {
|
|
135
|
+
id: string;
|
|
136
|
+
label: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
//# sourceMappingURL=menu-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-command.d.ts","sourceRoot":"","sources":["../../src/menu/menu-command.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyIxB,CAAC"}
|
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":"AAEA,OAAO,EACL,UAAU,EAMX,MAAM,mBAAmB,CAAC;AAW3B,OAAO,cAAc,CAAC;AAMtB,eAAO,MAAM,cAAc,YAiExB,CAAC"}
|
package/es/module.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { FileView, LibroJupyterModule } from '@difizen/libro-jupyter';
|
|
2
|
+
import { LibroPromptCellModule } from '@difizen/libro-prompt-cell';
|
|
2
3
|
import { ManaModule, createSlotPreference, RootSlotId, SideTabView, createViewPreference, HeaderArea } from '@difizen/mana-app';
|
|
3
4
|
import { GithubLinkView } from "./github-link/index.js";
|
|
4
5
|
import { KernelManagerView } from "./kernel-manager/index.js";
|
|
5
6
|
import { LibroLabApp } from "./lab-app.js";
|
|
6
|
-
import { EditorTabView } from "./layout/editor-tab-view.js";
|
|
7
7
|
import { LibroLabLayoutModule, LibroLabLayoutSlots, LibroLabLayoutView } from "./layout/index.js";
|
|
8
|
+
import { SaveableTabView } from "./layout/saveable-tab-view.js";
|
|
8
9
|
import "./index.less";
|
|
9
10
|
import { LibroLabHeaderMenuModule } from "./menu/module.js";
|
|
10
11
|
import { LibroLabTocModule } from "./toc/module.js";
|
|
12
|
+
import { EntryPointView } from "./welcome/entry-point-view.js";
|
|
11
13
|
import { WelcomeView } from "./welcome/index.js";
|
|
12
14
|
export var LibroLabModule = ManaModule.create().register(LibroLabApp, LibroLabLayoutView, GithubLinkView, createViewPreference({
|
|
13
15
|
view: GithubLinkView,
|
|
@@ -28,7 +30,7 @@ export var LibroLabModule = ManaModule.create().register(LibroLabApp, LibroLabLa
|
|
|
28
30
|
view: LibroLabLayoutView,
|
|
29
31
|
slot: RootSlotId
|
|
30
32
|
}), createSlotPreference({
|
|
31
|
-
view:
|
|
33
|
+
view: SaveableTabView,
|
|
32
34
|
slot: LibroLabLayoutSlots.content
|
|
33
35
|
}), createSlotPreference({
|
|
34
36
|
view: SideTabView,
|
|
@@ -52,4 +54,4 @@ export var LibroLabModule = ManaModule.create().register(LibroLabApp, LibroLabLa
|
|
|
52
54
|
reveal: true,
|
|
53
55
|
order: 'welcome'
|
|
54
56
|
}
|
|
55
|
-
})).dependOn(LibroJupyterModule, LibroLabLayoutModule, LibroLabHeaderMenuModule, LibroLabTocModule);
|
|
57
|
+
}), EntryPointView).dependOn(LibroJupyterModule, LibroLabLayoutModule, LibroLabHeaderMenuModule, LibroLabTocModule, LibroPromptCellModule);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-toc-panel-view.d.ts","sourceRoot":"","sources":["../../src/toc/libro-toc-panel-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EACL,QAAQ,EAOR,WAAW,EAEZ,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"libro-toc-panel-view.d.ts","sourceRoot":"","sources":["../../src/toc/libro-toc-panel-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EACL,QAAQ,EAOR,WAAW,EAEZ,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAG5D,OAAO,cAAc,CAAC;AAmBtB,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,qBAEa,YAAa,SAAQ,QAAQ;IAC/B,IAAI,yBAAiB;IACT,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IACjC,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IACtD,YAAY,EAAE,OAAO,GAAG,SAAS,CAAC;;IAQjC,WAAW,IAAI,IAAI;IAQ5B,IAAI,oBAAoB,qCAMvB;IAED,mBAAmB,aAiBjB;CACH"}
|
|
@@ -19,9 +19,9 @@ import { LibroNavigatableView } from '@difizen/libro-jupyter';
|
|
|
19
19
|
import { TOCView } from '@difizen/libro-toc';
|
|
20
20
|
import { BaseView, inject, prop, singleton, useInject, view, ViewInstance, ViewManager, ViewRender } from '@difizen/mana-app';
|
|
21
21
|
import { Empty } from 'antd';
|
|
22
|
+
import { TocIcon } from "../common/index.js";
|
|
22
23
|
import { LayoutService } from "../layout/layout-service.js";
|
|
23
24
|
import { LibroLabLayoutSlots } from "../layout/protocol.js";
|
|
24
|
-
import { TocIcon } from "./libro-toc-icons.js";
|
|
25
25
|
import "./index.less";
|
|
26
26
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
27
27
|
var TocViewRender = function TocViewRender() {
|
|
@@ -51,6 +51,7 @@ export var TocPanelView = (_dec = singleton(), _dec2 = view(TocViewFactoryId), _
|
|
|
51
51
|
_initializerDefineProperty(_this, "libroTocView", _descriptor3, _assertThisInitialized(_this));
|
|
52
52
|
_this.handleEditTabChange = function () {
|
|
53
53
|
if (!_this.libroNavigatableView) {
|
|
54
|
+
_this.libroTocView = undefined;
|
|
54
55
|
return;
|
|
55
56
|
}
|
|
56
57
|
_this.viewManager.getOrCreateView(TOCView, {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
+
import { BaseView } from '@difizen/mana-app';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export declare const EntryPointComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
5
|
+
export declare class EntryPointView extends BaseView {
|
|
6
|
+
view: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=entry-point-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-point-view.d.ts","sourceRoot":"","sources":["../../src/welcome/entry-point-view.tsx"],"names":[],"mappings":";AAeA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAM7C,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,mBAAmB,mFA2I9B,CAAC;AAEH,qBAEa,cAAe,SAAQ,QAAQ;IACjC,IAAI,oFAAuB;CACrC"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _dec, _dec2, _class;
|
|
3
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
4
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
9
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
10
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
12
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
13
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
14
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
15
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
16
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
18
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
19
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
20
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
21
|
+
import { NotebookIcon, PythonIcon, JSONIcon, MoreIcon, FileCreateModal, FileView } from '@difizen/libro-jupyter';
|
|
22
|
+
import { ModalService, singleton, useInject, view, ViewManager } from '@difizen/mana-app';
|
|
23
|
+
import { BaseView } from '@difizen/mana-app';
|
|
24
|
+
import { Col, Row } from 'antd';
|
|
25
|
+
import { forwardRef, useEffect, useState } from 'react';
|
|
26
|
+
import { KeybindIcon, PreferenceIcon, TerminalIcon } from "../common/icon.js";
|
|
27
|
+
import "./index.less";
|
|
28
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
30
|
+
export var EntryPointComponent = /*#__PURE__*/forwardRef(function EntryPointComponent() {
|
|
31
|
+
var modalService = useInject(ModalService);
|
|
32
|
+
var viewManager = useInject(ViewManager);
|
|
33
|
+
var _useState = useState(),
|
|
34
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
35
|
+
fileView = _useState2[0],
|
|
36
|
+
setFileView = _useState2[1];
|
|
37
|
+
useEffect(function () {
|
|
38
|
+
viewManager.getOrCreateView(FileView).then(function (curfileView) {
|
|
39
|
+
setFileView(curfileView);
|
|
40
|
+
return;
|
|
41
|
+
}).catch(function () {
|
|
42
|
+
//
|
|
43
|
+
});
|
|
44
|
+
}, [viewManager]);
|
|
45
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
46
|
+
className: "libro-lab-entry-point",
|
|
47
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
48
|
+
className: "libro-lab-entry-point-title",
|
|
49
|
+
children: "\u8BF7\u9009\u62E9\u4F60\u8981\u521B\u5EFA\u7684\u6587\u4EF6\u7C7B\u578B\uFF1A"
|
|
50
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
51
|
+
className: "libro-lab-entry-point-item-title",
|
|
52
|
+
children: "\u6587\u4EF6"
|
|
53
|
+
}), /*#__PURE__*/_jsxs(Row, {
|
|
54
|
+
children: [/*#__PURE__*/_jsx(Col, {
|
|
55
|
+
className: "gutter-row",
|
|
56
|
+
style: {
|
|
57
|
+
paddingLeft: 'unset',
|
|
58
|
+
paddingRight: '32px'
|
|
59
|
+
},
|
|
60
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
61
|
+
className: "libro-lab-entry-point-item",
|
|
62
|
+
onClick: function onClick() {
|
|
63
|
+
var _fileView$model$locat;
|
|
64
|
+
modalService.openModal(FileCreateModal, {
|
|
65
|
+
path: (fileView === null || fileView === void 0 || (_fileView$model$locat = fileView.model.location) === null || _fileView$model$locat === void 0 ? void 0 : _fileView$model$locat.path.toString()) || '/',
|
|
66
|
+
fileType: '.ipynb'
|
|
67
|
+
});
|
|
68
|
+
},
|
|
69
|
+
children: [/*#__PURE__*/_jsx(NotebookIcon, {}), /*#__PURE__*/_jsx("span", {
|
|
70
|
+
className: "libro-lab-entry-point-item-text",
|
|
71
|
+
children: "Notebook"
|
|
72
|
+
})]
|
|
73
|
+
})
|
|
74
|
+
}), /*#__PURE__*/_jsx(Col, {
|
|
75
|
+
className: "gutter-row",
|
|
76
|
+
style: {
|
|
77
|
+
paddingLeft: 'unset',
|
|
78
|
+
paddingRight: '32px'
|
|
79
|
+
},
|
|
80
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
81
|
+
className: "libro-lab-entry-point-item",
|
|
82
|
+
onClick: function onClick() {
|
|
83
|
+
var _fileView$model$locat2;
|
|
84
|
+
modalService.openModal(FileCreateModal, {
|
|
85
|
+
path: (fileView === null || fileView === void 0 || (_fileView$model$locat2 = fileView.model.location) === null || _fileView$model$locat2 === void 0 ? void 0 : _fileView$model$locat2.path.toString()) || '/',
|
|
86
|
+
fileType: '.py'
|
|
87
|
+
});
|
|
88
|
+
},
|
|
89
|
+
children: [/*#__PURE__*/_jsx(PythonIcon, {}), /*#__PURE__*/_jsx("span", {
|
|
90
|
+
className: "libro-lab-entry-point-item-text",
|
|
91
|
+
children: "Python"
|
|
92
|
+
})]
|
|
93
|
+
})
|
|
94
|
+
}), /*#__PURE__*/_jsx(Col, {
|
|
95
|
+
className: "gutter-row",
|
|
96
|
+
style: {
|
|
97
|
+
paddingLeft: 'unset',
|
|
98
|
+
paddingRight: '32px'
|
|
99
|
+
},
|
|
100
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
101
|
+
className: "libro-lab-entry-point-item",
|
|
102
|
+
onClick: function onClick() {
|
|
103
|
+
var _fileView$model$locat3;
|
|
104
|
+
modalService.openModal(FileCreateModal, {
|
|
105
|
+
path: (fileView === null || fileView === void 0 || (_fileView$model$locat3 = fileView.model.location) === null || _fileView$model$locat3 === void 0 ? void 0 : _fileView$model$locat3.path.toString()) || '/',
|
|
106
|
+
fileType: '.json'
|
|
107
|
+
});
|
|
108
|
+
},
|
|
109
|
+
children: [/*#__PURE__*/_jsx(JSONIcon, {}), /*#__PURE__*/_jsx("span", {
|
|
110
|
+
className: "libro-lab-entry-point-item-text",
|
|
111
|
+
children: "JSON"
|
|
112
|
+
})]
|
|
113
|
+
})
|
|
114
|
+
}), /*#__PURE__*/_jsx(Col, {
|
|
115
|
+
className: "gutter-row",
|
|
116
|
+
style: {
|
|
117
|
+
paddingLeft: 'unset',
|
|
118
|
+
paddingRight: '32px'
|
|
119
|
+
},
|
|
120
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
121
|
+
className: "libro-lab-entry-point-item",
|
|
122
|
+
onClick: function onClick() {
|
|
123
|
+
var _fileView$model$locat4;
|
|
124
|
+
modalService.openModal(FileCreateModal, {
|
|
125
|
+
path: (fileView === null || fileView === void 0 || (_fileView$model$locat4 = fileView.model.location) === null || _fileView$model$locat4 === void 0 ? void 0 : _fileView$model$locat4.path.toString()) || '/'
|
|
126
|
+
});
|
|
127
|
+
},
|
|
128
|
+
children: [/*#__PURE__*/_jsx(MoreIcon, {}), /*#__PURE__*/_jsx("span", {
|
|
129
|
+
className: "libro-lab-entry-point-item-text",
|
|
130
|
+
children: "\u5176\u4ED6"
|
|
131
|
+
})]
|
|
132
|
+
})
|
|
133
|
+
})]
|
|
134
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
135
|
+
className: "libro-lab-entry-point-item-title",
|
|
136
|
+
children: "\u5176\u4ED6"
|
|
137
|
+
}), /*#__PURE__*/_jsx(Row, {
|
|
138
|
+
children: /*#__PURE__*/_jsx(Col, {
|
|
139
|
+
className: "gutter-row",
|
|
140
|
+
style: {
|
|
141
|
+
paddingLeft: 'unset',
|
|
142
|
+
paddingRight: '32px'
|
|
143
|
+
},
|
|
144
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
145
|
+
className: "libro-lab-entry-point-item",
|
|
146
|
+
children: [/*#__PURE__*/_jsx(TerminalIcon, {}), /*#__PURE__*/_jsx("span", {
|
|
147
|
+
className: "libro-lab-entry-point-item-text",
|
|
148
|
+
children: "Terminal"
|
|
149
|
+
})]
|
|
150
|
+
})
|
|
151
|
+
})
|
|
152
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
153
|
+
className: "libro-lab-entry-point-item-title",
|
|
154
|
+
children: "\u7CFB\u7EDF\u8BBE\u7F6E"
|
|
155
|
+
}), /*#__PURE__*/_jsxs(Row, {
|
|
156
|
+
children: [/*#__PURE__*/_jsx(Col, {
|
|
157
|
+
className: "gutter-row",
|
|
158
|
+
style: {
|
|
159
|
+
paddingLeft: 'unset',
|
|
160
|
+
paddingRight: '24px'
|
|
161
|
+
},
|
|
162
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
163
|
+
className: "libro-lab-entry-point-item-config",
|
|
164
|
+
children: [/*#__PURE__*/_jsx(PreferenceIcon, {}), /*#__PURE__*/_jsx("span", {
|
|
165
|
+
className: "libro-lab-entry-point-item-config-text",
|
|
166
|
+
children: "\u504F\u597D\u8BBE\u7F6E"
|
|
167
|
+
})]
|
|
168
|
+
})
|
|
169
|
+
}), /*#__PURE__*/_jsx(Col, {
|
|
170
|
+
className: "gutter-row",
|
|
171
|
+
style: {
|
|
172
|
+
paddingLeft: 'unset',
|
|
173
|
+
paddingRight: '24px'
|
|
174
|
+
},
|
|
175
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
176
|
+
className: "libro-lab-entry-point-item-config",
|
|
177
|
+
children: [/*#__PURE__*/_jsx(KeybindIcon, {}), /*#__PURE__*/_jsx("span", {
|
|
178
|
+
className: "libro-lab-entry-point-item-config-text",
|
|
179
|
+
children: "\u5FEB\u6377\u952E\u8BBE\u7F6E"
|
|
180
|
+
})]
|
|
181
|
+
})
|
|
182
|
+
})]
|
|
183
|
+
})]
|
|
184
|
+
});
|
|
185
|
+
});
|
|
186
|
+
export var EntryPointView = (_dec = singleton(), _dec2 = view('entry-point-view'), _dec(_class = _dec2(_class = /*#__PURE__*/function (_BaseView) {
|
|
187
|
+
_inherits(EntryPointView, _BaseView);
|
|
188
|
+
var _super = _createSuper(EntryPointView);
|
|
189
|
+
function EntryPointView() {
|
|
190
|
+
var _this;
|
|
191
|
+
_classCallCheck(this, EntryPointView);
|
|
192
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
193
|
+
args[_key] = arguments[_key];
|
|
194
|
+
}
|
|
195
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
196
|
+
_this.view = EntryPointComponent;
|
|
197
|
+
return _this;
|
|
198
|
+
}
|
|
199
|
+
return _createClass(EntryPointView);
|
|
200
|
+
}(BaseView)) || _class) || _class);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
+
import { ViewManager } from '@difizen/mana-app';
|
|
3
|
+
import { BaseView } from '@difizen/mana-app';
|
|
4
|
+
import { EntryPointView } from './entry-point-view.js';
|
|
5
|
+
import './index.less';
|
|
6
|
+
export declare const WelcomeComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
7
|
+
export declare class WelcomeView extends BaseView {
|
|
8
|
+
view: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
9
|
+
viewManager: ViewManager;
|
|
10
|
+
entryPointView: EntryPointView;
|
|
11
|
+
constructor(viewManager: ViewManager);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/welcome/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAML,WAAW,EAEZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAK7C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,gBAAgB,mFAwB3B,CAAC;AAEH,qBAEa,WAAY,SAAQ,QAAQ;IAC9B,IAAI,oFAAoB;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,cAAc,CAAC;gBACE,WAAW,EAAE,WAAW;CAgB1D"}
|
package/es/welcome/index.js
CHANGED
|
@@ -12,14 +12,19 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
12
12
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
13
13
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
14
14
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
15
|
-
import {
|
|
15
|
+
import { ServerConnection } from '@difizen/libro-jupyter';
|
|
16
|
+
import { inject, singleton, useInject, view, ViewInstance, ViewManager, ViewRender } from '@difizen/mana-app';
|
|
16
17
|
import { BaseView } from '@difizen/mana-app';
|
|
17
18
|
import { forwardRef } from 'react';
|
|
18
|
-
import {
|
|
19
|
+
import { LayoutService } from "../layout/layout-service.js";
|
|
20
|
+
import { EntryPointView } from "./entry-point-view.js";
|
|
19
21
|
import "./index.less";
|
|
20
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
23
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
24
|
export var WelcomeComponent = /*#__PURE__*/forwardRef(function WelcomeComponent() {
|
|
25
|
+
var instance = useInject(ViewInstance);
|
|
26
|
+
var layoutService = useInject(LayoutService);
|
|
27
|
+
var serverConnection = useInject(ServerConnection);
|
|
23
28
|
return /*#__PURE__*/_jsxs("div", {
|
|
24
29
|
className: "libro-lab-welcome-page",
|
|
25
30
|
children: [/*#__PURE__*/_jsx("div", {
|
|
@@ -28,20 +33,43 @@ export var WelcomeComponent = /*#__PURE__*/forwardRef(function WelcomeComponent(
|
|
|
28
33
|
}), /*#__PURE__*/_jsx("div", {
|
|
29
34
|
className: "libro-lab-welcome-page-title-tip",
|
|
30
35
|
children: "\uD83D\uDC4B \u4F60\u597D\uFF0C\u670D\u52A1\u6B63\u5728\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u5F00\u542F\u4F60\u7684\u7814\u53D1\u4E4B\u65C5\u5427\uFF5E"
|
|
36
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
37
|
+
className: "libro-lab-welcome-page-server-info",
|
|
38
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
39
|
+
className: "libro-lab-welcome-page-server-info-title",
|
|
40
|
+
children: "\u670D\u52A1\u8FDE\u63A5\u4FE1\u606F"
|
|
41
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
42
|
+
className: "libro-lab-welcome-page-server-info-item",
|
|
43
|
+
children: ["BaseURL: ", "".concat(serverConnection.settings.baseUrl)]
|
|
44
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
45
|
+
className: "libro-lab-welcome-page-server-info-item",
|
|
46
|
+
children: ["WsURL: ", "".concat(serverConnection.settings.wsUrl)]
|
|
47
|
+
})]
|
|
48
|
+
}), layoutService.serverSatus === 'success' && /*#__PURE__*/_jsx(ViewRender, {
|
|
49
|
+
view: instance.entryPointView
|
|
31
50
|
})]
|
|
32
51
|
});
|
|
33
52
|
});
|
|
34
53
|
export var WelcomeView = (_dec = singleton(), _dec2 = view('welcome-view'), _dec(_class = _dec2(_class = /*#__PURE__*/function (_BaseView) {
|
|
35
54
|
_inherits(WelcomeView, _BaseView);
|
|
36
55
|
var _super = _createSuper(WelcomeView);
|
|
37
|
-
function WelcomeView() {
|
|
56
|
+
function WelcomeView(viewManager) {
|
|
38
57
|
var _this;
|
|
39
58
|
_classCallCheck(this, WelcomeView);
|
|
40
59
|
_this = _super.call(this);
|
|
41
60
|
_this.view = WelcomeComponent;
|
|
42
|
-
_this.title.icon =
|
|
61
|
+
_this.title.icon = '🙌 ';
|
|
43
62
|
_this.title.label = '欢迎使用';
|
|
63
|
+
_this.title.closable = false;
|
|
64
|
+
_this.viewManager = viewManager;
|
|
65
|
+
_this.viewManager.getOrCreateView(EntryPointView).then(function (entryPointView) {
|
|
66
|
+
_this.entryPointView = entryPointView;
|
|
67
|
+
return;
|
|
68
|
+
}).catch(function () {
|
|
69
|
+
//
|
|
70
|
+
});
|
|
44
71
|
return _this;
|
|
45
72
|
}
|
|
73
|
+
WelcomeView = inject(ViewManager)(WelcomeView, undefined, 0) || WelcomeView;
|
|
46
74
|
return _createClass(WelcomeView);
|
|
47
75
|
}(BaseView)) || _class) || _class);
|
package/es/welcome/index.less
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
.libro-lab-welcome-page {
|
|
2
2
|
padding: 32px 54px;
|
|
3
|
-
height: 100
|
|
3
|
+
height: calc(100% - 64px);
|
|
4
4
|
background: white;
|
|
5
|
+
overflow: auto;
|
|
5
6
|
|
|
6
7
|
.libro-lab-welcome-page-title {
|
|
7
8
|
/* stylelint-disable-next-line declaration-property-value-disallowed-list */
|
|
@@ -19,3 +20,103 @@
|
|
|
19
20
|
color: rgba(0, 10, 26, 78%);
|
|
20
21
|
}
|
|
21
22
|
}
|
|
23
|
+
|
|
24
|
+
.libro-lab-entry-point-item {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
margin-bottom: 24px;
|
|
30
|
+
height: 100px;
|
|
31
|
+
width: 100px;
|
|
32
|
+
background-color: rgba(0, 10, 26, 2%);
|
|
33
|
+
border-radius: 8px;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
background-color: rgba(0, 10, 26, 4%);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.libro-lab-entry-point-item-text {
|
|
42
|
+
margin-top: 6px;
|
|
43
|
+
line-height: 20px;
|
|
44
|
+
font-size: 14px;
|
|
45
|
+
color: rgba(0, 10, 26, 68%);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.libro-lab-entry-point-title {
|
|
49
|
+
font-weight: 500;
|
|
50
|
+
font-size: 18px;
|
|
51
|
+
margin-bottom: 12px;
|
|
52
|
+
color: rgba(0, 10, 26, 89%);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.libro-lab-entry-point-item-title {
|
|
56
|
+
font-weight: 500;
|
|
57
|
+
font-size: 16px;
|
|
58
|
+
color: rgba(0, 10, 26, 89%);
|
|
59
|
+
margin-bottom: 16px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.libro-lab-entry-point-item-recent {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
padding: 0 12px;
|
|
66
|
+
height: 52px;
|
|
67
|
+
width: 180px;
|
|
68
|
+
border: 1px solid rgba(0, 10, 26, 7%);
|
|
69
|
+
border-radius: 8px;
|
|
70
|
+
margin-bottom: 24px;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
border-color: transparent;
|
|
75
|
+
background-color: rgba(0, 10, 26, 4%);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.libro-lab-entry-point-item-recent-icon {
|
|
80
|
+
font-size: 24px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.libro-lab-entry-point-item-recent-text {
|
|
84
|
+
margin-left: 8px;
|
|
85
|
+
color: rgba(0, 10, 26, 89%);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.libro-lab-entry-point-item-config {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
padding: 0 14px;
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
height: 32px;
|
|
94
|
+
width: 100px;
|
|
95
|
+
border: 1px solid rgba(0, 0, 0, 15%);
|
|
96
|
+
border-radius: 6px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.libro-lab-entry-point-item-config-text {
|
|
100
|
+
margin-left: 4px;
|
|
101
|
+
color: rgba(0, 0, 0, 88%);
|
|
102
|
+
line-height: 22px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.libro-lab-welcome-page-server-info {
|
|
106
|
+
height: 80px;
|
|
107
|
+
width: 400px;
|
|
108
|
+
background-color: rgba(0, 10, 26, 2%);
|
|
109
|
+
border-radius: 8px;
|
|
110
|
+
margin-bottom: 24px;
|
|
111
|
+
padding: 16px 24px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.libro-lab-welcome-page-server-info-title {
|
|
115
|
+
font-weight: 500;
|
|
116
|
+
font-size: 16px;
|
|
117
|
+
color: rgba(0, 10, 26, 89%);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.libro-lab-welcome-page-server-info-item {
|
|
121
|
+
color: rgba(0, 10, 26, 78%);
|
|
122
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-lab",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -35,8 +35,9 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@difizen/mana-app": "latest",
|
|
37
37
|
"@difizen/mana-react": "latest",
|
|
38
|
-
"@difizen/libro-jupyter": "0.1.
|
|
39
|
-
"@difizen/libro-toc": "0.1.
|
|
38
|
+
"@difizen/libro-jupyter": "^0.1.1",
|
|
39
|
+
"@difizen/libro-toc": "^0.1.1",
|
|
40
|
+
"@difizen/libro-prompt-cell": "^0.1.1",
|
|
40
41
|
"@ant-design/icons": "^5.1.0",
|
|
41
42
|
"classnames": "^2.2.6"
|
|
42
43
|
},
|