@difizen/libro-jupyter 0.1.2 → 0.1.4
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
2
|
import { LibroCodeCellView } from '@difizen/libro-code-cell';
|
|
3
|
-
import { CodeEditorManager
|
|
3
|
+
import { CodeEditorManager } from '@difizen/libro-code-editor';
|
|
4
4
|
import type { CodeEditorViewOptions, CompletionProvider, TooltipProvider } from '@difizen/libro-code-editor';
|
|
5
5
|
import type { CellViewOptions } from '@difizen/libro-core';
|
|
6
6
|
import { CellService } from '@difizen/libro-core';
|
|
@@ -12,7 +12,7 @@ export declare class JupyterCodeCellView extends LibroCodeCellView {
|
|
|
12
12
|
view: import("react").ForwardRefExoticComponent<import("react").RefAttributes<HTMLDivElement>>;
|
|
13
13
|
model: JupyterCodeCellModel;
|
|
14
14
|
protected readonly lspDocumentConnectionManager: ILSPDocumentConnectionManager;
|
|
15
|
-
constructor(options: CellViewOptions, cellService: CellService, viewManager: ViewManager, lspDocumentConnectionManager: ILSPDocumentConnectionManager, codeEditorManager: CodeEditorManager
|
|
15
|
+
constructor(options: CellViewOptions, cellService: CellService, viewManager: ViewManager, lspDocumentConnectionManager: ILSPDocumentConnectionManager, codeEditorManager: CodeEditorManager);
|
|
16
16
|
clearExecution: () => void;
|
|
17
17
|
protected getEditorOption(): CodeEditorViewOptions;
|
|
18
18
|
lspProvider: LSPProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jupyter-code-cell-view.d.ts","sourceRoot":"","sources":["../../src/cell/jupyter-code-cell-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAkB,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"jupyter-code-cell-view.d.ts","sourceRoot":"","sources":["../../src/cell/jupyter-code-cell-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAkB,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EACV,qBAAqB,EACrB,kBAAkB,EAElB,eAAe,EAEhB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,KAAK,EAAiB,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE,OAAO,EAAsB,WAAW,EAAc,MAAM,mBAAmB,CAAC;AAQhF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAkBzE,qBAEa,mBAAoB,SAAQ,iBAAiB;IAC/C,IAAI,2FAA4B;IACjC,KAAK,EAAE,oBAAoB,CAAC;IAEpC,SAAS,CAAC,QAAQ,CAAC,4BAA4B,EAAE,6BAA6B,CAAC;gBAGzD,OAAO,EAAE,eAAe,EACvB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EAE7C,4BAA4B,EAAE,6BAA6B,EAChC,iBAAiB,EAAE,iBAAiB;IAMxD,cAAc,aAQrB;cAEiB,eAAe,IAAI,qBAAqB;IAY3D,WAAW,EAAE,WAAW,CAkCtB;IAEF,eAAe,EAAE,eAAe,CAqB9B;IAEF,kBAAkB,EAAE,kBAAkB,CA8BpC;IAEa,GAAG;CA8EnB"}
|
|
@@ -21,7 +21,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
21
21
|
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; } }
|
|
22
22
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
23
23
|
import { CellEditorMemo, LibroCodeCellView } from '@difizen/libro-code-cell';
|
|
24
|
-
import { CodeEditorManager
|
|
24
|
+
import { CodeEditorManager } from '@difizen/libro-code-editor';
|
|
25
25
|
import { CellService } from '@difizen/libro-core';
|
|
26
26
|
import { KernelError } from '@difizen/libro-kernel';
|
|
27
27
|
import { ILSPDocumentConnectionManager } from '@difizen/libro-lsp';
|
|
@@ -45,10 +45,10 @@ var JupyterCodeCellComponent = /*#__PURE__*/forwardRef(function JupyterCodeCellC
|
|
|
45
45
|
export var JupyterCodeCellView = (_dec = transient(), _dec2 = view('jupyter-code-cell-view'), _dec(_class = _dec2(_class = /*#__PURE__*/function (_LibroCodeCellView) {
|
|
46
46
|
_inherits(JupyterCodeCellView, _LibroCodeCellView);
|
|
47
47
|
var _super = _createSuper(JupyterCodeCellView);
|
|
48
|
-
function JupyterCodeCellView(options, cellService, viewManager, lspDocumentConnectionManager, codeEditorManager
|
|
48
|
+
function JupyterCodeCellView(options, cellService, viewManager, lspDocumentConnectionManager, codeEditorManager) {
|
|
49
49
|
var _this;
|
|
50
50
|
_classCallCheck(this, JupyterCodeCellView);
|
|
51
|
-
_this = _super.call(this, options, cellService, viewManager, codeEditorManager
|
|
51
|
+
_this = _super.call(this, options, cellService, viewManager, codeEditorManager);
|
|
52
52
|
_this.view = JupyterCodeCellComponent;
|
|
53
53
|
_this.lspDocumentConnectionManager = void 0;
|
|
54
54
|
_this.clearExecution = function () {
|
|
@@ -199,7 +199,6 @@ export var JupyterCodeCellView = (_dec = transient(), _dec2 = view('jupyter-code
|
|
|
199
199
|
_this.lspDocumentConnectionManager = lspDocumentConnectionManager;
|
|
200
200
|
return _this;
|
|
201
201
|
}
|
|
202
|
-
JupyterCodeCellView = inject(CodeEditorSettings)(JupyterCodeCellView, undefined, 5) || JupyterCodeCellView;
|
|
203
202
|
JupyterCodeCellView = inject(CodeEditorManager)(JupyterCodeCellView, undefined, 4) || JupyterCodeCellView;
|
|
204
203
|
JupyterCodeCellView = inject(ILSPDocumentConnectionManager)(JupyterCodeCellView, undefined, 3) || JupyterCodeCellView;
|
|
205
204
|
JupyterCodeCellView = inject(ViewManager)(JupyterCodeCellView, undefined, 2) || JupyterCodeCellView;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-jupyter",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro"
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"src"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@difizen/libro-cofine-editor": "^0.1.
|
|
35
|
-
"@difizen/libro-code-editor": "^0.1.
|
|
36
|
-
"@difizen/libro-code-cell": "^0.1.
|
|
37
|
-
"@difizen/libro-codemirror": "^0.1.
|
|
38
|
-
"@difizen/libro-rendermime": "^0.1.
|
|
39
|
-
"@difizen/libro-common": "^0.1.
|
|
40
|
-
"@difizen/libro-core": "^0.1.
|
|
41
|
-
"@difizen/libro-kernel": "^0.1.
|
|
42
|
-
"@difizen/libro-l10n": "^0.1.
|
|
43
|
-
"@difizen/libro-output": "^0.1.
|
|
44
|
-
"@difizen/libro-search": "^0.1.
|
|
45
|
-
"@difizen/libro-search-code-cell": "^0.1.
|
|
46
|
-
"@difizen/libro-lsp": "^0.1.
|
|
47
|
-
"@difizen/libro-markdown-cell": "^0.1.
|
|
48
|
-
"@difizen/libro-raw-cell": "^0.1.
|
|
34
|
+
"@difizen/libro-cofine-editor": "^0.1.4",
|
|
35
|
+
"@difizen/libro-code-editor": "^0.1.4",
|
|
36
|
+
"@difizen/libro-code-cell": "^0.1.4",
|
|
37
|
+
"@difizen/libro-codemirror": "^0.1.4",
|
|
38
|
+
"@difizen/libro-rendermime": "^0.1.4",
|
|
39
|
+
"@difizen/libro-common": "^0.1.4",
|
|
40
|
+
"@difizen/libro-core": "^0.1.4",
|
|
41
|
+
"@difizen/libro-kernel": "^0.1.4",
|
|
42
|
+
"@difizen/libro-l10n": "^0.1.4",
|
|
43
|
+
"@difizen/libro-output": "^0.1.4",
|
|
44
|
+
"@difizen/libro-search": "^0.1.4",
|
|
45
|
+
"@difizen/libro-search-code-cell": "^0.1.4",
|
|
46
|
+
"@difizen/libro-lsp": "^0.1.4",
|
|
47
|
+
"@difizen/libro-markdown-cell": "^0.1.4",
|
|
48
|
+
"@difizen/libro-raw-cell": "^0.1.4",
|
|
49
49
|
"@difizen/mana-app": "latest",
|
|
50
50
|
"@difizen/mana-l10n": "latest",
|
|
51
51
|
"@ant-design/colors": "^7.0.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CellEditorMemo, LibroCodeCellView } from '@difizen/libro-code-cell';
|
|
2
|
-
import { CodeEditorManager
|
|
2
|
+
import { CodeEditorManager } from '@difizen/libro-code-editor';
|
|
3
3
|
import type {
|
|
4
4
|
CodeEditorViewOptions,
|
|
5
5
|
CompletionProvider,
|
|
@@ -54,9 +54,8 @@ export class JupyterCodeCellView extends LibroCodeCellView {
|
|
|
54
54
|
@inject(ILSPDocumentConnectionManager)
|
|
55
55
|
lspDocumentConnectionManager: ILSPDocumentConnectionManager,
|
|
56
56
|
@inject(CodeEditorManager) codeEditorManager: CodeEditorManager,
|
|
57
|
-
@inject(CodeEditorSettings) codeEditorSettings: CodeEditorSettings,
|
|
58
57
|
) {
|
|
59
|
-
super(options, cellService, viewManager, codeEditorManager
|
|
58
|
+
super(options, cellService, viewManager, codeEditorManager);
|
|
60
59
|
this.lspDocumentConnectionManager = lspDocumentConnectionManager;
|
|
61
60
|
}
|
|
62
61
|
|