@difizen/libro-jupyter 0.1.3 → 0.1.5

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, CodeEditorSettings } from '@difizen/libro-code-editor';
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, codeEditorSettings: CodeEditorSettings);
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,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACnF,OAAO,KAAK,EACV,qBAAqB,EACrB,kBAAkB,EAElB,eAAe,EAEhB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAA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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, CodeEditorSettings } from '@difizen/libro-code-editor';
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, codeEditorSettings) {
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, codeEditorSettings);
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",
3
+ "version": "0.1.5",
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.3",
35
- "@difizen/libro-code-editor": "^0.1.3",
36
- "@difizen/libro-code-cell": "^0.1.3",
37
- "@difizen/libro-codemirror": "^0.1.3",
38
- "@difizen/libro-rendermime": "^0.1.3",
39
- "@difizen/libro-common": "^0.1.3",
40
- "@difizen/libro-core": "^0.1.3",
41
- "@difizen/libro-kernel": "^0.1.3",
42
- "@difizen/libro-l10n": "^0.1.3",
43
- "@difizen/libro-output": "^0.1.3",
44
- "@difizen/libro-search": "^0.1.3",
45
- "@difizen/libro-search-code-cell": "^0.1.3",
46
- "@difizen/libro-lsp": "^0.1.3",
47
- "@difizen/libro-markdown-cell": "^0.1.3",
48
- "@difizen/libro-raw-cell": "^0.1.3",
34
+ "@difizen/libro-cofine-editor": "^0.1.5",
35
+ "@difizen/libro-code-editor": "^0.1.5",
36
+ "@difizen/libro-code-cell": "^0.1.5",
37
+ "@difizen/libro-codemirror": "^0.1.5",
38
+ "@difizen/libro-rendermime": "^0.1.5",
39
+ "@difizen/libro-common": "^0.1.5",
40
+ "@difizen/libro-core": "^0.1.5",
41
+ "@difizen/libro-kernel": "^0.1.5",
42
+ "@difizen/libro-l10n": "^0.1.5",
43
+ "@difizen/libro-output": "^0.1.5",
44
+ "@difizen/libro-search": "^0.1.5",
45
+ "@difizen/libro-search-code-cell": "^0.1.5",
46
+ "@difizen/libro-lsp": "^0.1.5",
47
+ "@difizen/libro-markdown-cell": "^0.1.5",
48
+ "@difizen/libro-raw-cell": "^0.1.5",
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, CodeEditorSettings } from '@difizen/libro-code-editor';
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, codeEditorSettings);
58
+ super(options, cellService, viewManager, codeEditorManager);
60
59
  this.lspDocumentConnectionManager = lspDocumentConnectionManager;
61
60
  }
62
61