@difizen/libro-jupyter 0.3.4 → 1.0.0
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/add-between-cell/add-between-cell-command-contribution.d.ts +2 -2
- package/es/add-between-cell/add-between-cell-command-contribution.d.ts.map +1 -1
- package/es/add-between-cell/add-between-cell-command-contribution.js +1 -1
- package/es/add-between-cell/add-between-cell.js +2 -2
- package/es/add-between-cell/module.d.ts +1 -1
- package/es/add-between-cell/module.d.ts.map +1 -1
- package/es/add-between-cell/module.js +1 -1
- package/es/cell/jupyter-code-cell-model.d.ts +1 -1
- package/es/cell/jupyter-code-cell-model.d.ts.map +1 -1
- package/es/cell/jupyter-code-cell-model.js +2 -2
- package/es/cell/jupyter-code-cell-view.js +4 -4
- package/es/command/command-contribution.d.ts +2 -2
- package/es/command/command-contribution.d.ts.map +1 -1
- package/es/command/command-contribution.js +1 -1
- package/es/command/keybinding-contribution.d.ts +1 -1
- package/es/command/keybinding-contribution.d.ts.map +1 -1
- package/es/command/keybinding-contribution.js +1 -1
- package/es/components/cell-execution-tip.js +2 -2
- package/es/components/cell-input-bottom-blank.js +1 -1
- package/es/components/cell-output-bottom-blank.js +1 -1
- package/es/components/icons.d.ts +1 -1
- package/es/components/icons.d.ts.map +1 -1
- package/es/components/icons.js +1 -1
- package/es/config/config-contribution.d.ts +3 -3
- package/es/config/config-contribution.d.ts.map +1 -1
- package/es/config/config-contribution.js +3 -3
- package/es/config/config.d.ts +1 -1
- package/es/config/config.d.ts.map +1 -1
- package/es/config/config.js +1 -1
- package/es/contents/content-contribution.js +2 -2
- package/es/contents/save-content-contribution.d.ts +1 -1
- package/es/contents/save-content-contribution.d.ts.map +1 -1
- package/es/contents/save-content-contribution.js +1 -1
- package/es/file/file-color-registry.d.ts +2 -2
- package/es/file/file-color-registry.d.ts.map +1 -1
- package/es/file/file-color-registry.js +2 -2
- package/es/file/file-command.d.ts +3 -3
- package/es/file/file-command.d.ts.map +1 -1
- package/es/file/file-command.js +3 -3
- package/es/file/file-create-modal-contribution.d.ts +2 -2
- package/es/file/file-create-modal-contribution.d.ts.map +1 -1
- package/es/file/file-create-modal-contribution.js +1 -1
- package/es/file/file-create-modal.d.ts +1 -1
- package/es/file/file-create-modal.d.ts.map +1 -1
- package/es/file/file-create-modal.js +4 -4
- package/es/file/file-createdir-modal-contribution.d.ts +2 -2
- package/es/file/file-createdir-modal-contribution.d.ts.map +1 -1
- package/es/file/file-createdir-modal-contribution.js +1 -1
- package/es/file/file-createdir-modal.d.ts +1 -1
- package/es/file/file-createdir-modal.d.ts.map +1 -1
- package/es/file/file-createdir-modal.js +5 -5
- package/es/file/file-name-alias.d.ts +1 -1
- package/es/file/file-name-alias.d.ts.map +1 -1
- package/es/file/file-name-alias.js +1 -1
- package/es/file/file-rename-modal-contribution.d.ts +2 -2
- package/es/file/file-rename-modal-contribution.d.ts.map +1 -1
- package/es/file/file-rename-modal-contribution.js +1 -1
- package/es/file/file-rename-modal.d.ts +1 -1
- package/es/file/file-rename-modal.d.ts.map +1 -1
- package/es/file/file-rename-modal.js +2 -2
- package/es/file/file-service.d.ts +3 -3
- package/es/file/file-service.d.ts.map +1 -1
- package/es/file/file-service.js +3 -3
- package/es/file/file-tree-label-provider.d.ts +2 -2
- package/es/file/file-tree-label-provider.d.ts.map +1 -1
- package/es/file/file-tree-label-provider.js +1 -1
- package/es/file/file-view/index.d.ts +2 -2
- package/es/file/file-view/index.d.ts.map +1 -1
- package/es/file/file-view/index.js +3 -3
- package/es/file/module.d.ts +1 -1
- package/es/file/module.d.ts.map +1 -1
- package/es/file/module.js +1 -1
- package/es/file/navigatable-view.d.ts +5 -5
- package/es/file/navigatable-view.d.ts.map +1 -1
- package/es/file/navigatable-view.js +3 -3
- package/es/file/open-handler-contribution.d.ts +3 -3
- package/es/file/open-handler-contribution.d.ts.map +1 -1
- package/es/file/open-handler-contribution.js +2 -2
- package/es/file/utils.js +1 -1
- package/es/index.d.ts +73 -0
- package/es/index.d.ts.map +1 -1
- package/es/index.js +12 -1
- package/es/keybind-instructions/keybind-instructions-contribution.d.ts +4 -4
- package/es/keybind-instructions/keybind-instructions-contribution.d.ts.map +1 -1
- package/es/keybind-instructions/keybind-instructions-contribution.js +4 -4
- package/es/keybind-instructions/keybind-instructions-icon.js +1 -1
- package/es/keybind-instructions/keybind-instructions-items.js +2 -2
- package/es/keybind-instructions/keybind-instructions-view.d.ts +2 -2
- package/es/keybind-instructions/keybind-instructions-view.d.ts.map +1 -1
- package/es/keybind-instructions/keybind-instructions-view.js +3 -3
- package/es/keybind-instructions/module.d.ts +1 -1
- package/es/keybind-instructions/module.d.ts.map +1 -1
- package/es/keybind-instructions/module.js +1 -1
- package/es/libro-jupyter-file-service.d.ts +3 -3
- package/es/libro-jupyter-file-service.d.ts.map +1 -1
- package/es/libro-jupyter-file-service.js +2 -2
- package/es/libro-jupyter-model.d.ts +2 -2
- package/es/libro-jupyter-model.d.ts.map +1 -1
- package/es/libro-jupyter-model.js +4 -4
- package/es/libro-jupyter-protocol.d.ts +1 -1
- package/es/libro-jupyter-protocol.d.ts.map +1 -1
- package/es/libro-jupyter-server-launch-manager.js +1 -1
- package/es/libro-jupyter-view.d.ts +1 -1
- package/es/libro-jupyter-view.d.ts.map +1 -1
- package/es/libro-jupyter-view.js +2 -2
- package/es/libro-jupyter-workspace.d.ts +2 -2
- package/es/libro-jupyter-workspace.d.ts.map +1 -1
- package/es/libro-jupyter-workspace.js +3 -3
- package/es/module-noeditor.d.ts +1 -1
- package/es/module-noeditor.d.ts.map +1 -1
- package/es/module-noeditor.js +1 -1
- package/es/module.d.ts +1 -1
- package/es/module.d.ts.map +1 -1
- package/es/module.js +1 -1
- package/es/output/libro-jupyter-outputarea.js +1 -1
- package/es/rendermime/module.d.ts +1 -1
- package/es/rendermime/module.d.ts.map +1 -1
- package/es/rendermime/module.js +1 -1
- package/es/rendermime/plotly-render.js +1 -1
- package/es/rendermime/plotly-rendermime-contribution.js +1 -1
- package/es/theme/color-registry.d.ts +2 -2
- package/es/theme/color-registry.d.ts.map +1 -1
- package/es/theme/color-registry.js +2 -2
- package/es/toolbar/kernel-selector-dropdown.d.ts.map +1 -1
- package/es/toolbar/kernel-selector-dropdown.js +2 -2
- package/es/toolbar/kernel-status-and-selector.js +2 -2
- package/es/toolbar/run-selector.js +2 -2
- package/es/toolbar/save-file-error-contribution.d.ts +2 -2
- package/es/toolbar/save-file-error-contribution.d.ts.map +1 -1
- package/es/toolbar/save-file-error-contribution.js +1 -1
- package/es/toolbar/save-file-error.d.ts +1 -1
- package/es/toolbar/save-file-error.d.ts.map +1 -1
- package/es/toolbar/save-file-error.js +2 -2
- package/es/toolbar/side-toolbar-run-selector.d.ts.map +1 -1
- package/es/toolbar/side-toolbar-run-selector.js +2 -2
- package/es/toolbar/toolbar-contribution.d.ts +2 -2
- package/es/toolbar/toolbar-contribution.d.ts.map +1 -1
- package/es/toolbar/toolbar-contribution.js +4 -4
- package/es/utils/index.js +1 -1
- package/es/widget/box/contribution.d.ts +1 -1
- package/es/widget/box/contribution.d.ts.map +1 -1
- package/es/widget/box/contribution.js +1 -1
- package/es/widget/box/view.js +1 -1
- package/es/widget/comm.js +1 -1
- package/es/widget/instance-progress/contribution.d.ts +1 -1
- package/es/widget/instance-progress/contribution.d.ts.map +1 -1
- package/es/widget/instance-progress/contribution.js +1 -1
- package/es/widget/instance-progress/view.js +1 -1
- package/es/widget/libro-widgets.d.ts +3 -3
- package/es/widget/libro-widgets.d.ts.map +1 -1
- package/es/widget/libro-widgets.js +2 -2
- package/es/widget/module.d.ts +1 -1
- package/es/widget/module.d.ts.map +1 -1
- package/es/widget/module.js +1 -1
- package/es/widget/progress/contribution.d.ts +1 -1
- package/es/widget/progress/contribution.d.ts.map +1 -1
- package/es/widget/progress/contribution.js +1 -1
- package/es/widget/progress/view.js +1 -1
- package/es/widget/protocol.d.ts +1 -1
- package/es/widget/protocol.d.ts.map +1 -1
- package/es/widget/protocol.js +1 -1
- package/es/widget/widget-manager.d.ts +1 -1
- package/es/widget/widget-manager.d.ts.map +1 -1
- package/es/widget/widget-manager.js +1 -1
- package/es/widget/widget-render.js +1 -1
- package/es/widget/widget-rendermime-contribution.js +1 -1
- package/es/widget/widget-view-contribution.d.ts +1 -1
- package/es/widget/widget-view-contribution.d.ts.map +1 -1
- package/es/widget/widget-view-contribution.js +1 -1
- package/es/widget/widget-view.d.ts +2 -2
- package/es/widget/widget-view.d.ts.map +1 -1
- package/es/widget/widget-view.js +1 -1
- package/package.json +17 -19
- package/src/add-between-cell/add-between-cell-command-contribution.ts +2 -2
- package/src/add-between-cell/add-between-cell.tsx +2 -2
- package/src/add-between-cell/module.ts +1 -1
- package/src/cell/jupyter-code-cell-model.ts +2 -2
- package/src/cell/jupyter-code-cell-view.tsx +4 -4
- package/src/command/command-contribution.ts +2 -2
- package/src/command/keybinding-contribution.ts +1 -1
- package/src/components/cell-execution-tip.tsx +2 -2
- package/src/components/cell-input-bottom-blank.tsx +1 -1
- package/src/components/cell-output-bottom-blank.tsx +1 -1
- package/src/components/icons.tsx +1 -1
- package/src/config/config-contribution.ts +6 -3
- package/src/config/config.ts +2 -2
- package/src/contents/content-contribution.ts +2 -2
- package/src/contents/save-content-contribution.ts +1 -1
- package/src/file/file-color-registry.ts +3 -3
- package/src/file/file-command.tsx +4 -4
- package/src/file/file-create-modal-contribution.ts +1 -1
- package/src/file/file-create-modal.tsx +5 -5
- package/src/file/file-createdir-modal-contribution.ts +1 -1
- package/src/file/file-createdir-modal.tsx +6 -6
- package/src/file/file-name-alias.ts +2 -2
- package/src/file/file-rename-modal-contribution.ts +1 -1
- package/src/file/file-rename-modal.tsx +3 -3
- package/src/file/file-service.ts +4 -4
- package/src/file/file-tree-label-provider.ts +2 -2
- package/src/file/file-view/index.tsx +4 -4
- package/src/file/module.ts +1 -1
- package/src/file/navigatable-view.tsx +4 -4
- package/src/file/open-handler-contribution.ts +3 -3
- package/src/file/utils.ts +1 -1
- package/src/index.ts +10 -0
- package/src/keybind-instructions/keybind-instructions-contribution.tsx +5 -5
- package/src/keybind-instructions/keybind-instructions-icon.tsx +1 -1
- package/src/keybind-instructions/keybind-instructions-items.tsx +2 -2
- package/src/keybind-instructions/keybind-instructions-view.tsx +5 -5
- package/src/keybind-instructions/module.ts +1 -1
- package/src/libro-jupyter-file-service.ts +4 -4
- package/src/libro-jupyter-model.ts +4 -4
- package/src/libro-jupyter-protocol.ts +1 -1
- package/src/libro-jupyter-server-launch-manager.ts +1 -1
- package/src/libro-jupyter-view.tsx +2 -2
- package/src/libro-jupyter-workspace.ts +3 -3
- package/src/module-noeditor.ts +1 -1
- package/src/module.ts +1 -1
- package/src/output/libro-jupyter-outputarea.tsx +1 -1
- package/src/rendermime/module.ts +1 -1
- package/src/rendermime/plotly-render.tsx +1 -1
- package/src/rendermime/plotly-rendermime-contribution.ts +1 -1
- package/src/theme/color-registry.ts +3 -3
- package/src/toolbar/kernel-selector-dropdown.tsx +6 -2
- package/src/toolbar/kernel-status-and-selector.tsx +2 -2
- package/src/toolbar/run-selector.tsx +3 -3
- package/src/toolbar/save-file-error-contribution.ts +1 -1
- package/src/toolbar/save-file-error.tsx +3 -3
- package/src/toolbar/side-toolbar-run-selector.tsx +6 -2
- package/src/toolbar/toolbar-contribution.tsx +5 -5
- package/src/utils/index.ts +1 -1
- package/src/widget/box/contribution.ts +1 -1
- package/src/widget/box/view.tsx +1 -1
- package/src/widget/comm.ts +1 -1
- package/src/widget/instance-progress/contribution.ts +1 -1
- package/src/widget/instance-progress/view.tsx +1 -1
- package/src/widget/libro-widgets.ts +3 -3
- package/src/widget/module.ts +1 -1
- package/src/widget/progress/contribution.ts +1 -1
- package/src/widget/progress/view.tsx +1 -1
- package/src/widget/protocol.ts +1 -1
- package/src/widget/widget-manager.ts +6 -1
- package/src/widget/widget-render.tsx +1 -1
- package/src/widget/widget-rendermime-contribution.ts +1 -1
- package/src/widget/widget-view-contribution.ts +1 -1
- package/src/widget/widget-view.tsx +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CommandRegistry } from '@difizen/
|
|
2
|
-
import { CommandContribution } from '@difizen/
|
|
1
|
+
import type { CommandRegistry } from '@difizen/libro-common/app';
|
|
2
|
+
import { CommandContribution } from '@difizen/libro-common/app';
|
|
3
3
|
export declare const LibroAddBetweenCellCommand: {
|
|
4
4
|
AddBetweenCell: {
|
|
5
5
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-between-cell-command-contribution.d.ts","sourceRoot":"","sources":["../../src/add-between-cell/add-between-cell-command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"add-between-cell-command-contribution.d.ts","sourceRoot":"","sources":["../../src/add-between-cell/add-between-cell-command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAa,MAAM,2BAA2B,CAAC;AAE3E,eAAO,MAAM,0BAA0B;;;;;;;CAOtC,CAAC;AAEF,qBACa,sCAAuC,YAAW,mBAAmB;IAChF,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CA+CjD"}
|
|
@@ -8,7 +8,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
8
8
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
9
9
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10
10
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11
|
-
import { CommandContribution, singleton } from '@difizen/
|
|
11
|
+
import { CommandContribution, singleton } from '@difizen/libro-common/app';
|
|
12
12
|
export var LibroAddBetweenCellCommand = {
|
|
13
13
|
AddBetweenCell: {
|
|
14
14
|
id: 'notebook:libro-add-between-cell'
|
|
@@ -10,8 +10,8 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
11
|
import { DisplayWrapComponent } from '@difizen/libro-common';
|
|
12
12
|
import { CellService } from '@difizen/libro-core';
|
|
13
|
-
import { CommandRegistry, useInject, ViewInstance } from '@difizen/
|
|
14
|
-
import { l10n } from '@difizen/
|
|
13
|
+
import { CommandRegistry, useInject, ViewInstance } from '@difizen/libro-common/app';
|
|
14
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
15
15
|
import { Tooltip, Popover, Menu } from 'antd';
|
|
16
16
|
import { useEffect, useRef, useState, forwardRef } from 'react';
|
|
17
17
|
import { LibroAddBetweenCellCommand } from "./add-between-cell-command-contribution.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/add-between-cell/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/add-between-cell/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,sBAAsB,YAMlC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BetweenCellProvider } from '@difizen/libro-core';
|
|
2
|
-
import { ManaModule } from '@difizen/
|
|
2
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
3
3
|
import { LibroAddBetweenCellCommandContribution } from "./add-between-cell-command-contribution.js";
|
|
4
4
|
import { LibroWrappedBetweenCellContent } from "./add-between-cell.js";
|
|
5
5
|
export var LibroBetweenCellModule = ManaModule.create().register({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LibroCodeCellModel } from '@difizen/libro-code-cell';
|
|
2
2
|
import type { ICellMetadata } from '@difizen/libro-common';
|
|
3
3
|
import { CellOptions } from '@difizen/libro-core';
|
|
4
|
-
import { ViewManager } from '@difizen/
|
|
4
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
5
5
|
import type { CodeCellMetadata, ExecutedWithKernelCellModel } from '../libro-jupyter-protocol.js';
|
|
6
6
|
export declare class JupyterCodeCellModel extends LibroCodeCellModel implements ExecutedWithKernelCellModel {
|
|
7
7
|
metadata: Partial<CodeCellMetadata | ICellMetadata>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jupyter-code-cell-model.d.ts","sourceRoot":"","sources":["../../src/cell/jupyter-code-cell-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAQ,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"jupyter-code-cell-model.d.ts","sourceRoot":"","sources":["../../src/cell/jupyter-code-cell-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAQ,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC5B,MAAM,8BAA8B,CAAC;AAEtC,qBACa,oBACX,SAAQ,kBACR,YAAW,2BAA2B;IAG7B,QAAQ,EAAE,OAAO,CAAC,gBAAgB,GAAG,aAAa,CAAC,CAAC;IAE7D,eAAe,UAAS;gBAGD,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,WAAW;IAStC,cAAc,aAIrB;CACH"}
|
|
@@ -20,8 +20,8 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
20
20
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
21
21
|
import { LibroCodeCellModel } from '@difizen/libro-code-cell';
|
|
22
22
|
import { CellOptions } from '@difizen/libro-core';
|
|
23
|
-
import { inject, transient } from '@difizen/
|
|
24
|
-
import { prop, ViewManager } from '@difizen/
|
|
23
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
24
|
+
import { prop, ViewManager } from '@difizen/libro-common/app';
|
|
25
25
|
export var JupyterCodeCellModel = (_dec = transient(), _dec2 = prop(), _dec3 = prop(), _dec(_class = (_class2 = /*#__PURE__*/function (_LibroCodeCellModel) {
|
|
26
26
|
_inherits(JupyterCodeCellModel, _LibroCodeCellModel);
|
|
27
27
|
var _super = _createSuper(JupyterCodeCellModel);
|
|
@@ -22,10 +22,10 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
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
24
|
import { KernelError } from '@difizen/libro-kernel';
|
|
25
|
-
import { transient } from '@difizen/
|
|
26
|
-
import { view, ViewInstance } from '@difizen/
|
|
27
|
-
import { getOrigin, useInject } from '@difizen/
|
|
28
|
-
import { l10n } from '@difizen/
|
|
25
|
+
import { transient } from '@difizen/libro-common/app';
|
|
26
|
+
import { view, ViewInstance } from '@difizen/libro-common/app';
|
|
27
|
+
import { getOrigin, useInject } from '@difizen/libro-common/app';
|
|
28
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
29
29
|
import { forwardRef } from 'react';
|
|
30
30
|
import { LibroJupyterModel } from "../libro-jupyter-model.js";
|
|
31
31
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LibroCommandRegister, LibroService } from '@difizen/libro-core';
|
|
2
|
-
import type { CommandRegistry } from '@difizen/
|
|
3
|
-
import { CommandContribution, ModalService } from '@difizen/
|
|
2
|
+
import type { CommandRegistry } from '@difizen/libro-common/app';
|
|
3
|
+
import { CommandContribution, ModalService } from '@difizen/libro-common/app';
|
|
4
4
|
export declare class LibroJupyterCommandContribution implements CommandContribution {
|
|
5
5
|
protected readonly modalService: ModalService;
|
|
6
6
|
protected readonly libroCommand: LibroCommandRegister;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-contribution.d.ts","sourceRoot":"","sources":["../../src/command/command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,oBAAoB,EACpB,YAAY,EAKb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"command-contribution.d.ts","sourceRoot":"","sources":["../../src/command/command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,oBAAoB,EACpB,YAAY,EAKb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EACL,mBAAmB,EAEnB,YAAY,EAEb,MAAM,2BAA2B,CAAC;AAKnC,qBACa,+BAAgC,YAAW,mBAAmB;IACnD,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACtC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAC;IAC9D,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAEpE,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CAoIjD"}
|
|
@@ -12,7 +12,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12
12
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
13
13
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
14
14
|
import { KernelCommands, LibroCommandRegister, LibroService, LibroToolbarArea, LibroView, NotebookCommands, ExecutableCellView } from '@difizen/libro-core';
|
|
15
|
-
import { CommandContribution, inject, ModalService, singleton } from '@difizen/
|
|
15
|
+
import { CommandContribution, inject, ModalService, singleton } from '@difizen/libro-common/app';
|
|
16
16
|
import { LibroJupyterModel } from "../libro-jupyter-model.js";
|
|
17
17
|
import { ExecutedWithKernelCellModel } from "../libro-jupyter-protocol.js";
|
|
18
18
|
export var LibroJupyterCommandContribution = (_dec = singleton({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibroCommandRegister } from '@difizen/libro-core';
|
|
2
|
-
import { KeybindingRegistry, KeybindingContribution } from '@difizen/
|
|
2
|
+
import { KeybindingRegistry, KeybindingContribution } from '@difizen/libro-common/app';
|
|
3
3
|
export declare class LibroJupyterKeybindingContribution implements KeybindingContribution {
|
|
4
4
|
protected readonly libroCommand: LibroCommandRegister;
|
|
5
5
|
constructor(keybindRegistry: KeybindingRegistry);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keybinding-contribution.d.ts","sourceRoot":"","sources":["../../src/command/keybinding-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,EAElB,sBAAsB,EACvB,MAAM,
|
|
1
|
+
{"version":3,"file":"keybinding-contribution.d.ts","sourceRoot":"","sources":["../../src/command/keybinding-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,EAElB,sBAAsB,EACvB,MAAM,2BAA2B,CAAC;AAEnC,qBACa,kCAAmC,YAAW,sBAAsB;IACjD,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAC;gBAC5C,eAAe,EAAE,kBAAkB;IAK3E,mBAAmB,CAAC,WAAW,EAAE,kBAAkB;CAIpD"}
|
|
@@ -9,7 +9,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9
9
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
10
10
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
11
11
|
import { NotebookCommands, DocumentCommands, LibroCommandRegister } from '@difizen/libro-core';
|
|
12
|
-
import { inject, KeybindingRegistry, singleton, KeybindingContribution } from '@difizen/
|
|
12
|
+
import { inject, KeybindingRegistry, singleton, KeybindingContribution } from '@difizen/libro-common/app';
|
|
13
13
|
export var LibroJupyterKeybindingContribution = (_dec = singleton({
|
|
14
14
|
contrib: KeybindingContribution
|
|
15
15
|
}), _dec2 = inject(LibroCommandRegister), _dec(_class = (_class2 = /*#__PURE__*/function () {
|
|
@@ -6,8 +6,8 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { LoadingOutlined } from '@ant-design/icons';
|
|
8
8
|
import { ExecutableCellView, CheckCircleOutlined, ExecutableCellModel } from '@difizen/libro-core';
|
|
9
|
-
import { useObserve } from '@difizen/
|
|
10
|
-
import { l10n } from '@difizen/
|
|
9
|
+
import { useObserve } from '@difizen/libro-common/app';
|
|
10
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
11
11
|
import classnames from 'classnames';
|
|
12
12
|
import moment from 'moment';
|
|
13
13
|
import { useState } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibroEditableExecutableCellView, LibroOutputArea } from '@difizen/libro-core';
|
|
2
|
-
import { useObserve } from '@difizen/
|
|
2
|
+
import { useObserve } from '@difizen/libro-common/app';
|
|
3
3
|
import { isWaitingExecute } from "../utils/index.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export function CellInputBottomBlank(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibroEditableExecutableCellView, LibroOutputArea } from '@difizen/libro-core';
|
|
2
|
-
import { useObserve } from '@difizen/
|
|
2
|
+
import { useObserve } from '@difizen/libro-common/app';
|
|
3
3
|
import { isWaitingExecute } from "../utils/index.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export function CellOutputBottomBlank(_ref) {
|
package/es/components/icons.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/components/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EA4C9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAuC/B,CAAC;AAEF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/components/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EA4C9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAuC/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EA2BhC,CAAC"}
|
package/es/components/icons.js
CHANGED
|
@@ -117,7 +117,7 @@ export var WarningIcon = function WarningIcon() {
|
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
119
|
};
|
|
120
|
-
export var
|
|
120
|
+
export var LocationIcon = function LocationIcon() {
|
|
121
121
|
return /*#__PURE__*/_jsx("svg", {
|
|
122
122
|
width: "17px",
|
|
123
123
|
height: "20px",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ConfigurationContribution, ConfigurationService } from '@difizen/
|
|
2
|
-
import { ApplicationContribution } from '@difizen/
|
|
1
|
+
import { ConfigurationContribution, ConfigurationService } from '@difizen/libro-common/app';
|
|
2
|
+
import { ApplicationContribution } from '@difizen/libro-common/app';
|
|
3
3
|
export declare class LibroJupyterSettingContribution implements ConfigurationContribution {
|
|
4
|
-
registerConfigurations(): (import("@difizen/
|
|
4
|
+
registerConfigurations(): (import("@difizen/libro-common/app").ConfigurationNode<boolean> | import("@difizen/libro-common/app").ConfigurationNode<string>)[];
|
|
5
5
|
}
|
|
6
6
|
export declare class ConfigAppContribution implements ApplicationContribution {
|
|
7
7
|
configurationService: ConfigurationService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-contribution.d.ts","sourceRoot":"","sources":["../../src/config/config-contribution.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"config-contribution.d.ts","sourceRoot":"","sources":["../../src/config/config-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAKpE,qBACa,+BAAgC,YAAW,yBAAyB;IAC/E,sBAAsB;CAWvB;AACD,qBACa,qBAAsB,YAAW,uBAAuB;IACrC,oBAAoB,EAAE,oBAAoB,CAAC;IACzE,WAAW;CAIZ"}
|
|
@@ -9,9 +9,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
9
9
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10
10
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11
11
|
import { AutoInsertWhenNoCell, EnterEditModeWhenAddCell } from '@difizen/libro-core';
|
|
12
|
-
import { ConfigurationContribution, ConfigurationService } from '@difizen/
|
|
13
|
-
import { ApplicationContribution } from '@difizen/
|
|
14
|
-
import { inject, singleton } from '@difizen/
|
|
12
|
+
import { ConfigurationContribution, ConfigurationService } from '@difizen/libro-common/app';
|
|
13
|
+
import { ApplicationContribution } from '@difizen/libro-common/app';
|
|
14
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
15
15
|
import { LibroJupyterConfiguration } from "./config.js";
|
|
16
16
|
export var LibroJupyterSettingContribution = (_dec = singleton({
|
|
17
17
|
contrib: ConfigurationContribution
|
package/es/config/config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ConfigurationNode } from '@difizen/
|
|
1
|
+
import type { ConfigurationNode } from '@difizen/libro-common/app';
|
|
2
2
|
export declare const LibroConfigAutoSave: ConfigurationNode<boolean>;
|
|
3
3
|
export declare const LibroConfigOpenSlot: ConfigurationNode<string>;
|
|
4
4
|
export declare const LibroConfigAllowDownload: ConfigurationNode<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,CAAC,OAAO,CAS1D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,CAAC,MAAM,CASzD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAAiB,CAAC,OAAO,CAS/D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,OAAO,CAS7D,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,OAAO,CASvE,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,MAAM,CASlE,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,MAAM,CASrE,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;CAQrC,CAAC"}
|
package/es/config/config.js
CHANGED
|
@@ -9,8 +9,8 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
9
9
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10
10
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11
11
|
import { ContentContribution } from '@difizen/libro-core';
|
|
12
|
-
import { URI } from '@difizen/
|
|
13
|
-
import { singleton } from '@difizen/
|
|
12
|
+
import { URI } from '@difizen/libro-common/app';
|
|
13
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
14
14
|
export var LibroJupyterContentContribution = (_dec = singleton({
|
|
15
15
|
contrib: ContentContribution
|
|
16
16
|
}), _dec(_class = /*#__PURE__*/function () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NotebookOption } from '@difizen/libro-core';
|
|
2
2
|
import { ContentSaveContribution } from '@difizen/libro-core';
|
|
3
|
-
import { ModalService } from '@difizen/
|
|
3
|
+
import { ModalService } from '@difizen/libro-common/app';
|
|
4
4
|
import type { LibroJupyterModel } from '../libro-jupyter-model.js';
|
|
5
5
|
export declare class LibroJupyterContentSaveContribution implements ContentSaveContribution {
|
|
6
6
|
protected readonly modalService: ModalService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-content-contribution.d.ts","sourceRoot":"","sources":["../../src/contents/save-content-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAqB,MAAM,
|
|
1
|
+
{"version":3,"file":"save-content-contribution.d.ts","sourceRoot":"","sources":["../../src/contents/save-content-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAqB,MAAM,2BAA2B,CAAC;AAE5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBACa,mCAAoC,YAAW,uBAAuB;IAC3D,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAEpE,SAAS,eAEP;IACF,WAAW,YAAmB,cAAc,SAAS,iBAAiB,mBAkDpE;CACH"}
|
|
@@ -12,7 +12,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
12
12
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
13
13
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
14
14
|
import { ContentSaveContribution } from '@difizen/libro-core';
|
|
15
|
-
import { ModalService, inject, singleton } from '@difizen/
|
|
15
|
+
import { ModalService, inject, singleton } from '@difizen/libro-common/app';
|
|
16
16
|
import { SaveFileErrorModal } from "../toolbar/save-file-error.js";
|
|
17
17
|
export var LibroJupyterContentSaveContribution = (_dec = singleton({
|
|
18
18
|
contrib: ContentSaveContribution
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ColorRegistry } from '@difizen/
|
|
2
|
-
import { ColorContribution } from '@difizen/
|
|
1
|
+
import type { ColorRegistry } from '@difizen/libro-common/app';
|
|
2
|
+
import { ColorContribution } from '@difizen/libro-common/app';
|
|
3
3
|
export declare class FileColorContribution implements ColorContribution {
|
|
4
4
|
registerColors(colors: ColorRegistry): void;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-color-registry.d.ts","sourceRoot":"","sources":["../../src/file/file-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"file-color-registry.d.ts","sourceRoot":"","sources":["../../src/file/file-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAS,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGrE,qBACa,qBAAsB,YAAW,iBAAiB;IAC7D,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CAqB5C"}
|
|
@@ -5,8 +5,8 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
5
5
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
import { Color, ColorContribution } from '@difizen/
|
|
9
|
-
import { singleton } from '@difizen/
|
|
8
|
+
import { Color, ColorContribution } from '@difizen/libro-common/app';
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
export var FileColorContribution = (_dec = singleton({
|
|
11
11
|
contrib: ColorContribution
|
|
12
12
|
}), _dec(_class = /*#__PURE__*/function () {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ContentsManager } from '@difizen/libro-kernel';
|
|
2
|
-
import type { CommandRegistry, MenuPath, MenuRegistry, ToolbarRegistry } from '@difizen/
|
|
3
|
-
import { ViewManager, ConfigurationService } from '@difizen/
|
|
4
|
-
import { CommandContribution, FileStatNode, MenuContribution, ModalService, OpenerService, ToolbarContribution } from '@difizen/
|
|
2
|
+
import type { CommandRegistry, MenuPath, MenuRegistry, ToolbarRegistry } from '@difizen/libro-common/app';
|
|
3
|
+
import { ViewManager, ConfigurationService } from '@difizen/libro-common/app';
|
|
4
|
+
import { CommandContribution, FileStatNode, MenuContribution, ModalService, OpenerService, ToolbarContribution } from '@difizen/libro-common/app';
|
|
5
5
|
import { JupyterFileService } from './file-service.js';
|
|
6
6
|
import { FileView } from './file-view/index.js';
|
|
7
7
|
import './index.less';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-command.d.ts","sourceRoot":"","sources":["../../src/file/file-command.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EACV,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,eAAe,EAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"file-command.d.ts","sourceRoot":"","sources":["../../src/file/file-command.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EACV,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,eAAe,EAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EACL,mBAAmB,EACnB,YAAY,EAEZ,gBAAgB,EAChB,YAAY,EACZ,aAAa,EAEb,mBAAmB,EAEpB,MAAM,2BAA2B,CAAC;AAOnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDxB,CAAC;AACF,eAAO,MAAM,uBAAuB,EAAE,QAAqC,CAAC;AAC5E,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAK9D,CAAC;AAEF,qBAGa,uBACX,YAAW,mBAAmB,EAAE,gBAAgB,EAAE,mBAAmB;IAErE,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IACP,WAAW,EAAE,kBAAkB,CAAC;IACtC,YAAY,EAAE,YAAY,CAAC;IAC1B,SAAS,CAAC,WAAW,EAAE,aAAa,CAAC;IAC9B,oBAAoB,EAAE,oBAAoB,CAAC;IAChD,eAAe,EAAE,eAAe,CAAC;IAE1D,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,KAAK,CAAC;IAC3B,cAAc,EAAE,YAAY,CAAC;IAC7B,aAAa,UAAS;IACtB,WAAW,UAAS;gBAEa,WAAW,EAAE,WAAW;IAazD,aAAa,CAAC,IAAI,EAAE,YAAY;IA+EhC,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAqOhD,oBAAoB,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI;CAQ7D"}
|
package/es/file/file-command.js
CHANGED
|
@@ -17,9 +17,9 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
17
17
|
import pathUtil from 'path';
|
|
18
18
|
import { ReloadOutlined } from '@ant-design/icons';
|
|
19
19
|
import { ContentsManager } from '@difizen/libro-kernel';
|
|
20
|
-
import { ViewManager, ConfigurationService } from '@difizen/
|
|
21
|
-
import { CommandContribution, FileStatNode, inject, MenuContribution, ModalService, OpenerService, singleton, ToolbarContribution, URI } from '@difizen/
|
|
22
|
-
import { l10n } from '@difizen/
|
|
20
|
+
import { ViewManager, ConfigurationService } from '@difizen/libro-common/app';
|
|
21
|
+
import { CommandContribution, FileStatNode, inject, MenuContribution, ModalService, OpenerService, singleton, ToolbarContribution, URI } from '@difizen/libro-common/app';
|
|
22
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
23
23
|
import { message, Modal } from 'antd';
|
|
24
24
|
import { FileCreateModal } from "./file-create-modal.js";
|
|
25
25
|
import { FileDirCreateModal } from "./file-createdir-modal.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalContribution } from '@difizen/
|
|
1
|
+
import { ModalContribution } from '@difizen/libro-common/app';
|
|
2
2
|
export declare class FileCreateModalContribution implements ModalContribution {
|
|
3
|
-
registerModal(): import("@difizen/
|
|
3
|
+
registerModal(): import("@difizen/libro-common/app").ModalItem<import("./file-create-modal.js").ModalItemType>;
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=file-create-modal-contribution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-create-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-create-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"file-create-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-create-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,2BAA2B,CAAC;AAIzE,qBACa,2BAA4B,YAAW,iBAAiB;IACnE,aAAa;CAGd"}
|
|
@@ -5,7 +5,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
5
5
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
import { ModalContribution, singleton } from '@difizen/
|
|
8
|
+
import { ModalContribution, singleton } from '@difizen/libro-common/app';
|
|
9
9
|
import { FileCreateModal } from "./file-create-modal.js";
|
|
10
10
|
export var FileCreateModalContribution = (_dec = singleton({
|
|
11
11
|
contrib: ModalContribution
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
-
import type { ModalItemProps, ModalItem } from '@difizen/
|
|
2
|
+
import type { ModalItemProps, ModalItem } from '@difizen/libro-common/app';
|
|
3
3
|
import './index.less';
|
|
4
4
|
export interface ModalItemType {
|
|
5
5
|
path: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-create-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-create-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"file-create-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-create-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAQ3E,OAAO,cAAc,CAAC;AAWtB,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,KAAK,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAEhE,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,aAAa,CAAC,CA8K5E,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,aAAa,CAGpD,CAAC"}
|
|
@@ -8,10 +8,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
8
8
|
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; }
|
|
9
9
|
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; } }
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
|
-
import { ThemeService } from '@difizen/
|
|
12
|
-
import { CommandRegistry } from '@difizen/
|
|
13
|
-
import { URI, useInject, ViewManager } from '@difizen/
|
|
14
|
-
import { l10n } from '@difizen/
|
|
11
|
+
import { ThemeService } from '@difizen/libro-common/app';
|
|
12
|
+
import { CommandRegistry } from '@difizen/libro-common/app';
|
|
13
|
+
import { URI, useInject, ViewManager } from '@difizen/libro-common/app';
|
|
14
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
15
15
|
import { Col, Form, message, Row, Input, Modal, ConfigProvider, theme } from 'antd';
|
|
16
16
|
import { useEffect, useRef, useState } from 'react';
|
|
17
17
|
import "./index.less";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalContribution } from '@difizen/
|
|
1
|
+
import { ModalContribution } from '@difizen/libro-common/app';
|
|
2
2
|
export declare class FileCreateDirModalContribution implements ModalContribution {
|
|
3
|
-
registerModal(): import("@difizen/
|
|
3
|
+
registerModal(): import("@difizen/libro-common/app").ModalItem<import("./file-createdir-modal.js").FileDirCreateModalItemType>;
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=file-createdir-modal-contribution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-createdir-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-createdir-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"file-createdir-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-createdir-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,2BAA2B,CAAC;AAIzE,qBACa,8BAA+B,YAAW,iBAAiB;IACtE,aAAa;CAGd"}
|
|
@@ -5,7 +5,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
5
5
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
import { ModalContribution, singleton } from '@difizen/
|
|
8
|
+
import { ModalContribution, singleton } from '@difizen/libro-common/app';
|
|
9
9
|
import { FileDirCreateModal } from "./file-createdir-modal.js";
|
|
10
10
|
export var FileCreateDirModalContribution = (_dec = singleton({
|
|
11
11
|
contrib: ModalContribution
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
-
import type { ModalItem, ModalItemProps } from '@difizen/
|
|
2
|
+
import type { ModalItem, ModalItemProps } from '@difizen/libro-common/app';
|
|
3
3
|
import './index.less';
|
|
4
4
|
export interface FileDirCreateModalItemType {
|
|
5
5
|
path: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-createdir-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-createdir-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"file-createdir-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-createdir-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAY3E,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAChD,cAAc,CAAC,0BAA0B,CAAC,CA+F3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,SAAS,CAAC,0BAA0B,CAGpE,CAAC"}
|
|
@@ -8,11 +8,11 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
8
8
|
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; }
|
|
9
9
|
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; } }
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
|
-
import { ThemeService } from '@difizen/
|
|
12
|
-
import { URI } from '@difizen/
|
|
13
|
-
import { ViewManager } from '@difizen/
|
|
14
|
-
import { useInject } from '@difizen/
|
|
15
|
-
import { l10n } from '@difizen/
|
|
11
|
+
import { ThemeService } from '@difizen/libro-common/app';
|
|
12
|
+
import { URI } from '@difizen/libro-common/app';
|
|
13
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
14
|
+
import { useInject } from '@difizen/libro-common/app';
|
|
15
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
16
16
|
import { Form, message, Input, Modal, ConfigProvider, theme } from 'antd';
|
|
17
17
|
import { useEffect, useRef, useState } from 'react';
|
|
18
18
|
import { JupyterFileService } from "./file-service.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-name-alias.d.ts","sourceRoot":"","sources":["../../src/file/file-name-alias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"file-name-alias.d.ts","sourceRoot":"","sources":["../../src/file/file-name-alias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAGrD,qBACa,aAAa;IACxB,SAAS,CAAC,OAAO,sBAA6B;IAE9C,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;IAI1B,GAAG,CAAC,GAAG,EAAE,GAAG;CAGb"}
|
|
@@ -5,7 +5,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
5
5
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
import { singleton } from '@difizen/
|
|
8
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
9
9
|
export var FileNameAlias = (_dec = singleton(), _dec(_class = /*#__PURE__*/function () {
|
|
10
10
|
function FileNameAlias() {
|
|
11
11
|
_classCallCheck(this, FileNameAlias);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModalContribution } from '@difizen/
|
|
1
|
+
import { ModalContribution } from '@difizen/libro-common/app';
|
|
2
2
|
export declare class FileRenameModalContribution implements ModalContribution {
|
|
3
|
-
registerModal(): import("@difizen/
|
|
3
|
+
registerModal(): import("@difizen/libro-common/app").ModalItem<import("./file-rename-modal.js").ModalItemType>;
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=file-rename-modal-contribution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-rename-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-rename-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"file-rename-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-rename-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,2BAA2B,CAAC;AAIzE,qBACa,2BAA4B,YAAW,iBAAiB;IACnE,aAAa;CAGd"}
|
|
@@ -5,7 +5,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
5
5
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
import { ModalContribution, singleton } from '@difizen/
|
|
8
|
+
import { ModalContribution, singleton } from '@difizen/libro-common/app';
|
|
9
9
|
import { FileRenameModal } from "./file-rename-modal.js";
|
|
10
10
|
export var FileRenameModalContribution = (_dec = singleton({
|
|
11
11
|
contrib: ModalContribution
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
-
import type { ModalItem, ModalItemProps, URI } from '@difizen/
|
|
2
|
+
import type { ModalItem, ModalItemProps, URI } from '@difizen/libro-common/app';
|
|
3
3
|
import './index.less';
|
|
4
4
|
export interface ModalItemType {
|
|
5
5
|
resource: URI;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-rename-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-rename-modal.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"file-rename-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-rename-modal.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAQhF,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,aAAa,CAAC,CA6F5E,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,aAAa,CAGpD,CAAC"}
|
|
@@ -8,8 +8,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
8
8
|
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; }
|
|
9
9
|
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; } }
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
|
-
import { ThemeService, useInject, ViewManager } from '@difizen/
|
|
12
|
-
import { l10n } from '@difizen/
|
|
11
|
+
import { ThemeService, useInject, ViewManager } from '@difizen/libro-common/app';
|
|
12
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
13
13
|
import { Form, message, Input, Modal, theme, ConfigProvider } from 'antd';
|
|
14
14
|
import { useEffect, useRef, useState } from 'react';
|
|
15
15
|
import { JupyterFileService } from "./file-service.js";
|