@difizen/libro-core 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-cell/libro-add-cell-module.d.ts +1 -1
- package/es/add-cell/libro-add-cell-module.d.ts.map +1 -1
- package/es/add-cell/libro-add-cell-module.js +1 -1
- package/es/add-cell/libro-add-cell-slot-contribution.d.ts +1 -1
- package/es/add-cell/libro-add-cell-slot-contribution.d.ts.map +1 -1
- package/es/add-cell/libro-add-cell-slot-contribution.js +2 -2
- package/es/add-cell/libro-add-cell-view.d.ts +1 -1
- package/es/add-cell/libro-add-cell-view.d.ts.map +1 -1
- package/es/add-cell/libro-add-cell-view.js +1 -1
- package/es/cell/libro-cell-contribution.js +1 -1
- package/es/cell/libro-cell-model.d.ts +1 -1
- package/es/cell/libro-cell-model.d.ts.map +1 -1
- package/es/cell/libro-cell-model.js +2 -2
- package/es/cell/libro-cell-module.d.ts +1 -1
- package/es/cell/libro-cell-module.d.ts.map +1 -1
- package/es/cell/libro-cell-module.js +1 -1
- package/es/cell/libro-cell-protocol.d.ts +2 -2
- package/es/cell/libro-cell-protocol.d.ts.map +1 -1
- package/es/cell/libro-cell-protocol.js +1 -1
- package/es/cell/libro-cell-service.d.ts +2 -2
- package/es/cell/libro-cell-service.d.ts.map +1 -1
- package/es/cell/libro-cell-service.js +3 -3
- package/es/cell/libro-cell-view.d.ts +4 -4
- package/es/cell/libro-cell-view.d.ts.map +1 -1
- package/es/cell/libro-cell-view.js +6 -6
- package/es/cell/libro-edit-cell-view.d.ts +1 -1
- package/es/cell/libro-edit-cell-view.d.ts.map +1 -1
- package/es/cell/libro-edit-cell-view.js +1 -1
- package/es/cell/libro-executable-cell-model.d.ts +1 -1
- package/es/cell/libro-executable-cell-model.d.ts.map +1 -1
- package/es/cell/libro-executable-cell-view.js +3 -3
- package/es/collapse-service.js +1 -1
- package/es/command/document-commands.d.ts +1 -1
- package/es/command/document-commands.d.ts.map +1 -1
- package/es/command/kernel-command.d.ts +1 -1
- package/es/command/kernel-command.d.ts.map +1 -1
- package/es/command/kernel-command.js +1 -1
- package/es/command/libro-command-contribution.d.ts +2 -2
- package/es/command/libro-command-contribution.d.ts.map +1 -1
- package/es/command/libro-command-contribution.js +2 -2
- package/es/command/libro-command-register.d.ts +1 -1
- package/es/command/libro-command-register.d.ts.map +1 -1
- package/es/command/libro-command-register.js +1 -1
- package/es/command/module.d.ts +1 -1
- package/es/command/module.d.ts.map +1 -1
- package/es/command/module.js +1 -1
- package/es/command/notebook-commands.d.ts +1 -1
- package/es/command/notebook-commands.d.ts.map +1 -1
- package/es/command/notebook-commands.js +1 -1
- package/es/components/dnd-cell-item-render.js +2 -2
- package/es/components/dnd-component/default-dnd-content.js +2 -2
- package/es/components/dnd-component/dnd-list.d.ts.map +1 -1
- package/es/components/dnd-component/dnd-list.js +1 -1
- package/es/components/dnd-component/virtualized-manager.js +1 -1
- package/es/components/libro-component.js +2 -2
- package/es/components/libro-side-toolbar-menu.js +2 -2
- package/es/components/libro-view-header.js +1 -1
- package/es/content/libro-content-contribution.js +1 -1
- package/es/content/libro-content-module.d.ts +1 -1
- package/es/content/libro-content-module.d.ts.map +1 -1
- package/es/content/libro-content-module.js +1 -1
- package/es/content/libro-content-protocol.d.ts +1 -1
- package/es/content/libro-content-protocol.d.ts.map +1 -1
- package/es/content/libro-content-protocol.js +1 -1
- package/es/content/libro-content-service.d.ts +1 -1
- package/es/content/libro-content-service.d.ts.map +1 -1
- package/es/content/libro-content-service.js +1 -1
- package/es/content/libro-save-content-contribution.js +1 -1
- package/es/formatter/libro-formatter-json-contribution.js +1 -1
- package/es/formatter/libro-formatter-manager.d.ts +1 -1
- package/es/formatter/libro-formatter-manager.d.ts.map +1 -1
- package/es/formatter/libro-formatter-manager.js +1 -1
- package/es/formatter/libro-formatter-module.d.ts +1 -1
- package/es/formatter/libro-formatter-module.d.ts.map +1 -1
- package/es/formatter/libro-formatter-module.js +1 -1
- package/es/formatter/libro-formatter-protocol.d.ts +1 -1
- package/es/formatter/libro-formatter-protocol.d.ts.map +1 -1
- package/es/formatter/libro-formatter-protocol.js +1 -1
- package/es/formatter/libro-formatter-string-contribution.js +1 -1
- package/es/formatter/libro-formatter-trans-default-contribution.js +1 -1
- package/es/index.d.ts +2 -0
- package/es/index.d.ts.map +1 -1
- package/es/index.js +2 -0
- package/es/libro-context-key.d.ts +3 -3
- package/es/libro-context-key.d.ts.map +1 -1
- package/es/libro-context-key.js +2 -2
- package/es/libro-keybind-registry.d.ts +1 -1
- package/es/libro-keybind-registry.d.ts.map +1 -1
- package/es/libro-keybind-registry.js +2 -2
- package/es/libro-model.d.ts +9 -9
- package/es/libro-model.d.ts.map +1 -1
- package/es/libro-model.js +4 -4
- package/es/libro-protocol.d.ts +2 -2
- package/es/libro-protocol.d.ts.map +1 -1
- package/es/libro-service.d.ts +13 -13
- package/es/libro-service.d.ts.map +1 -1
- package/es/libro-service.js +4 -4
- package/es/libro-setting-contribution.d.ts +2 -2
- package/es/libro-setting-contribution.d.ts.map +1 -1
- package/es/libro-setting-contribution.js +1 -1
- package/es/libro-setting.d.ts +1 -1
- package/es/libro-setting.d.ts.map +1 -1
- package/es/libro-setting.js +1 -1
- package/es/libro-view-tracker.js +1 -1
- package/es/libro-view.d.ts +9 -9
- package/es/libro-view.d.ts.map +1 -1
- package/es/libro-view.js +1 -1
- package/es/libro-workspace-service.d.ts +1 -1
- package/es/libro-workspace-service.d.ts.map +1 -1
- package/es/libro-workspace-service.js +2 -2
- package/es/module.d.ts +1 -1
- package/es/module.d.ts.map +1 -1
- package/es/module.js +2 -2
- package/es/output/output-area.d.ts +4 -4
- package/es/output/output-area.d.ts.map +1 -1
- package/es/output/output-area.js +2 -2
- package/es/output/output-contribution.d.ts +1 -1
- package/es/output/output-contribution.d.ts.map +1 -1
- package/es/output/output-contribution.js +1 -1
- package/es/output/output-model.d.ts +1 -1
- package/es/output/output-model.d.ts.map +1 -1
- package/es/output/output-model.js +2 -2
- package/es/output/output-module.d.ts +1 -1
- package/es/output/output-module.d.ts.map +1 -1
- package/es/output/output-module.js +1 -1
- package/es/output/output-protocol.d.ts +3 -3
- package/es/output/output-protocol.d.ts.map +1 -1
- package/es/output/output-protocol.js +1 -1
- package/es/settings/module.d.ts +1 -1
- package/es/settings/module.d.ts.map +1 -1
- package/es/settings/module.js +1 -1
- package/es/settings/setting-editor/configuration-panel-view.d.ts +2 -2
- package/es/settings/setting-editor/configuration-panel-view.d.ts.map +1 -1
- package/es/settings/setting-editor/configuration-panel-view.js +1 -1
- package/es/settings/setting-editor/configuration-render-contribution.d.ts +2 -2
- package/es/settings/setting-editor/configuration-render-contribution.d.ts.map +1 -1
- package/es/settings/setting-editor/configuration-render-contribution.js +1 -1
- package/es/settings/setting-editor/default-node-render.d.ts +1 -1
- package/es/settings/setting-editor/default-node-render.d.ts.map +1 -1
- package/es/settings/setting-editor/default-node-render.js +1 -1
- package/es/settings/setting-editor/module.d.ts +1 -1
- package/es/settings/setting-editor/module.d.ts.map +1 -1
- package/es/settings/setting-editor/module.js +1 -1
- package/es/settings/setting-editor/setting-editor-view.d.ts +1 -1
- package/es/settings/setting-editor/setting-editor-view.d.ts.map +1 -1
- package/es/settings/setting-editor/setting-editor-view.js +2 -2
- package/es/settings/setting-editor/setting-tree-service.d.ts +3 -3
- package/es/settings/setting-editor/setting-tree-service.d.ts.map +1 -1
- package/es/settings/setting-editor/setting-tree-service.js +2 -2
- package/es/settings/setting-editor/setting-tree-view.d.ts +2 -2
- package/es/settings/setting-editor/setting-tree-view.d.ts.map +1 -1
- package/es/settings/setting-editor/setting-tree-view.js +2 -2
- package/es/settings/settings-contribution.d.ts +3 -3
- package/es/settings/settings-contribution.d.ts.map +1 -1
- package/es/settings/settings-contribution.js +2 -2
- package/es/settings/settings-modal.d.ts +1 -1
- package/es/settings/settings-modal.d.ts.map +1 -1
- package/es/settings/settings-modal.js +3 -3
- package/es/settings/settings-protocol.d.ts +1 -1
- package/es/settings/settings-protocol.d.ts.map +1 -1
- package/es/slot/libro-slot-manager.d.ts +2 -2
- package/es/slot/libro-slot-manager.d.ts.map +1 -1
- package/es/slot/libro-slot-manager.js +2 -2
- package/es/slot/libro-slot-protocol.d.ts +2 -2
- package/es/slot/libro-slot-protocol.d.ts.map +1 -1
- package/es/slot/libro-slot-protocol.js +1 -1
- package/es/slot/libro-slot-view.d.ts +2 -2
- package/es/slot/libro-slot-view.d.ts.map +1 -1
- package/es/slot/libro-slot-view.js +3 -3
- package/es/slot/module.d.ts +1 -1
- package/es/slot/module.d.ts.map +1 -1
- package/es/slot/module.js +1 -1
- package/es/theme/libro-color-registry.d.ts +2 -2
- package/es/theme/libro-color-registry.d.ts.map +1 -1
- package/es/theme/libro-color-registry.js +2 -2
- package/es/toolbar/all-outputs-scroll-icon.js +1 -1
- package/es/toolbar/change-cell-to-selector.js +1 -1
- package/es/toolbar/hide-all-selector.js +2 -2
- package/es/toolbar/libro-toolbar.d.ts +2 -2
- package/es/toolbar/libro-toolbar.d.ts.map +1 -1
- package/es/toolbar/libro-toolbar.js +3 -3
- package/es/toolbar/module.d.ts +1 -1
- package/es/toolbar/module.d.ts.map +1 -1
- package/es/toolbar/module.js +1 -1
- package/es/toolbar/restart-clear-outputs-contribution.d.ts +2 -2
- package/es/toolbar/restart-clear-outputs-contribution.d.ts.map +1 -1
- package/es/toolbar/restart-clear-outputs-contribution.js +1 -1
- package/es/toolbar/restart-clear-outputs-modal.d.ts +1 -1
- package/es/toolbar/restart-clear-outputs-modal.d.ts.map +1 -1
- package/es/toolbar/restart-clear-outputs-modal.js +1 -1
- package/es/toolbar/save-icon.js +1 -1
- package/es/toolbar/shutdown-contribution.d.ts +2 -2
- package/es/toolbar/shutdown-contribution.d.ts.map +1 -1
- package/es/toolbar/shutdown-contribution.js +1 -1
- package/es/toolbar/shutdown-modal.d.ts +1 -1
- package/es/toolbar/shutdown-modal.d.ts.map +1 -1
- package/es/toolbar/side-toolar-more-select.js +4 -4
- package/es/utils/index.js +1 -1
- package/es/virtualized-manager-helper.js +1 -1
- package/es/virtualized-manager.js +1 -1
- package/package.json +5 -8
- package/src/add-cell/libro-add-cell-module.ts +1 -1
- package/src/add-cell/libro-add-cell-slot-contribution.ts +2 -2
- package/src/add-cell/libro-add-cell-view.tsx +1 -1
- package/src/cell/libro-cell-contribution.ts +1 -1
- package/src/cell/libro-cell-model.ts +2 -2
- package/src/cell/libro-cell-module.ts +1 -1
- package/src/cell/libro-cell-protocol.ts +2 -2
- package/src/cell/libro-cell-service.ts +4 -4
- package/src/cell/libro-cell-view.tsx +7 -7
- package/src/cell/libro-edit-cell-view.tsx +1 -1
- package/src/cell/libro-executable-cell-model.ts +1 -1
- package/src/cell/libro-executable-cell-view.ts +3 -3
- package/src/collapse-service.ts +1 -1
- package/src/command/document-commands.ts +1 -1
- package/src/command/kernel-command.ts +2 -2
- package/src/command/libro-command-contribution.ts +3 -3
- package/src/command/libro-command-register.ts +2 -2
- package/src/command/module.ts +1 -1
- package/src/command/notebook-commands.ts +2 -2
- package/src/components/dnd-cell-item-render.tsx +2 -2
- package/src/components/dnd-component/default-dnd-content.tsx +2 -2
- package/src/components/dnd-component/dnd-list.tsx +6 -1
- package/src/components/dnd-component/virtualized-manager.ts +1 -1
- package/src/components/libro-component.tsx +2 -2
- package/src/components/libro-side-toolbar-menu.tsx +3 -3
- package/src/components/libro-view-header.tsx +1 -1
- package/src/content/libro-content-contribution.ts +1 -1
- package/src/content/libro-content-module.ts +1 -1
- package/src/content/libro-content-protocol.ts +1 -1
- package/src/content/libro-content-service.ts +2 -2
- package/src/content/libro-save-content-contribution.ts +1 -1
- package/src/formatter/libro-formatter-json-contribution.ts +1 -1
- package/src/formatter/libro-formatter-manager.ts +2 -2
- package/src/formatter/libro-formatter-module.ts +1 -1
- package/src/formatter/libro-formatter-protocol.ts +1 -1
- package/src/formatter/libro-formatter-string-contribution.ts +1 -1
- package/src/formatter/libro-formatter-trans-default-contribution.ts +1 -1
- package/src/index.tsx +3 -0
- package/src/libro-context-key.ts +4 -4
- package/src/libro-keybind-registry.ts +2 -2
- package/src/libro-model.ts +4 -4
- package/src/libro-protocol.ts +2 -2
- package/src/libro-service.ts +5 -5
- package/src/libro-setting-contribution.ts +1 -1
- package/src/libro-setting.ts +2 -2
- package/src/libro-view-tracker.ts +1 -1
- package/src/libro-view.tsx +1 -1
- package/src/libro-workspace-service.ts +2 -2
- package/src/module.ts +2 -2
- package/src/output/output-area.tsx +3 -3
- package/src/output/output-contribution.ts +1 -1
- package/src/output/output-model.tsx +2 -2
- package/src/output/output-module.ts +1 -1
- package/src/output/output-protocol.ts +3 -3
- package/src/settings/module.ts +1 -1
- package/src/settings/setting-editor/configuration-panel-view.tsx +2 -2
- package/src/settings/setting-editor/configuration-render-contribution.ts +2 -2
- package/src/settings/setting-editor/default-node-render.tsx +2 -2
- package/src/settings/setting-editor/module.ts +1 -1
- package/src/settings/setting-editor/setting-editor-view.tsx +2 -2
- package/src/settings/setting-editor/setting-tree-service.ts +3 -3
- package/src/settings/setting-editor/setting-tree-view.tsx +3 -3
- package/src/settings/settings-contribution.tsx +7 -3
- package/src/settings/settings-modal.tsx +4 -4
- package/src/settings/settings-protocol.ts +1 -1
- package/src/slot/libro-slot-manager.ts +3 -3
- package/src/slot/libro-slot-protocol.ts +2 -2
- package/src/slot/libro-slot-view.tsx +9 -4
- package/src/slot/module.ts +1 -1
- package/src/theme/libro-color-registry.ts +3 -3
- package/src/toolbar/all-outputs-scroll-icon.tsx +1 -1
- package/src/toolbar/change-cell-to-selector.tsx +2 -2
- package/src/toolbar/hide-all-selector.tsx +3 -3
- package/src/toolbar/libro-toolbar.tsx +4 -4
- package/src/toolbar/module.ts +1 -1
- package/src/toolbar/restart-clear-outputs-contribution.tsx +1 -1
- package/src/toolbar/restart-clear-outputs-modal.tsx +2 -2
- package/src/toolbar/save-icon.tsx +2 -2
- package/src/toolbar/shutdown-contribution.tsx +1 -1
- package/src/toolbar/shutdown-modal.tsx +1 -1
- package/src/toolbar/side-toolar-more-select.tsx +5 -5
- package/src/utils/index.ts +1 -1
- package/src/virtualized-manager-helper.ts +1 -1
- package/src/virtualized-manager.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-add-cell-module.d.ts","sourceRoot":"","sources":["../../src/add-cell/libro-add-cell-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-add-cell-module.d.ts","sourceRoot":"","sources":["../../src/add-cell/libro-add-cell-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,kBAAkB,YAG9B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManaModule } from '@difizen/
|
|
1
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
2
2
|
import { LibroAddCellSlotContribution } from "./libro-add-cell-slot-contribution.js";
|
|
3
3
|
import { LibroAddCellView } from "./libro-add-cell-view.js";
|
|
4
4
|
export var LibroAddCellModule = ManaModule.create().register(LibroAddCellSlotContribution, LibroAddCellView);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewManager } from '@difizen/
|
|
1
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
2
2
|
import { LibroExtensionSlotContribution } from '../slot/index.js';
|
|
3
3
|
import type { LibroExtensionSlotFactory, LibroSlot } from '../slot/index.js';
|
|
4
4
|
import { LibroAddCellView } from './libro-add-cell-view.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-add-cell-slot-contribution.d.ts","sourceRoot":"","sources":["../../src/add-cell/libro-add-cell-slot-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-add-cell-slot-contribution.d.ts","sourceRoot":"","sources":["../../src/add-cell/libro-add-cell-slot-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAIxD,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,KAAK,EAAE,yBAAyB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,qBACa,4BAA6B,YAAW,8BAA8B;IAC5D,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAa;IAE7D,SAAgB,IAAI,EAAE,SAAS,CAAU;IAEzC,OAAO,EAAE,yBAAyB,CAUhC;CACH"}
|
|
@@ -11,8 +11,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
11
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
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
|
-
import { ViewManager } from '@difizen/
|
|
15
|
-
import { inject, singleton } from '@difizen/
|
|
14
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
15
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
16
16
|
import { LibroExtensionSlotContribution } from "../slot/index.js";
|
|
17
17
|
import { LibroAddCellView } from "./libro-add-cell-view.js";
|
|
18
18
|
export var LibroAddCellSlotContribution = (_dec = singleton({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
-
import { BaseView } from '@difizen/
|
|
2
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
3
3
|
import { CellService } from '../cell/index.js';
|
|
4
4
|
import type { CellMeta } from '../cell/index.js';
|
|
5
5
|
import type { LibroView } from '../libro-view.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-add-cell-view.d.ts","sourceRoot":"","sources":["../../src/add-cell/libro-add-cell-view.tsx"],"names":[],"mappings":";AACA,OAAO,EAKL,QAAQ,EAIT,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-add-cell-view.d.ts","sourceRoot":"","sources":["../../src/add-cell/libro-add-cell-view.tsx"],"names":[],"mappings":";AACA,OAAO,EAKL,QAAQ,EAIT,MAAM,2BAA2B,CAAC;AAInC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,cAAc,CAAC;AAOtB,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EA4BhC,CAAC;AAEF,eAAO,MAAM,mBAAmB,mFAO9B,CAAC;AAEH,qBAEa,gBAAiB,SAAQ,QAAQ;IAC5C,MAAM,EAAE,SAAS,GAAG,SAAS,CAAa;IACjC,IAAI,oFAAuB;IAGpC,OAAO,EAAE,QAAQ,EAAE,CAAM;IAEzB,WAAW,EAAE,WAAW,CAAC;gBAEQ,WAAW,EAAE,WAAW;IAKhD,WAAW;IAIX,aAAa;IAIb,YAAY;IAIrB,aAAa,aAAc,QAAQ,aAA6B;IAEhE,WAAW,CAAC,MAAM,kCAAqB;CAGxC"}
|
|
@@ -19,7 +19,7 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
19
19
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
20
20
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
21
21
|
import { DisplayWrapComponent } from '@difizen/libro-common';
|
|
22
|
-
import { inject, transient, prop, useInject, BaseView, CommandRegistry, view, ViewInstance } from '@difizen/
|
|
22
|
+
import { inject, transient, prop, useInject, BaseView, CommandRegistry, view, ViewInstance } from '@difizen/libro-common/app';
|
|
23
23
|
import { Button } from 'antd';
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import { CellService } from "../cell/index.js";
|
|
@@ -8,7 +8,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
8
8
|
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); }
|
|
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
|
-
import { inject, singleton } from '@difizen/
|
|
11
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
12
12
|
import { CellModelContribution, CellModelFactory, CellViewContribution } from "./libro-cell-protocol.js";
|
|
13
13
|
import { LibroCellView } from "./libro-cell-view.js";
|
|
14
14
|
export var LibroCellContribution = (_dec = singleton({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Model } from '@difizen/libro-code-editor';
|
|
2
2
|
import type { ICell } from '@difizen/libro-common';
|
|
3
|
-
import { DisposableCollection } from '@difizen/
|
|
3
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
4
4
|
import type { DefaultDecodedFormatter } from '../formatter/index.js';
|
|
5
5
|
import { LibroFormatterManager } from '../formatter/index.js';
|
|
6
6
|
import { CellOptions } from '../libro-protocol.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-cell-model.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,oBAAoB,EAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-cell-model.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,oBAAoB,EAAS,MAAM,2BAA2B,CAAC;AAGxE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAA2B,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,qBACa,cAAe,SAAQ,KAAM,YAAW,SAAS;IAC5D,SAAS,uBAA8B;IAEvC,OAAO,EAAE,WAAW,CAAC;IAErB,eAAe,EAAE,MAAM,CAAC;IAExB,aAAa,EAAE,uBAAuB,CAAC;IAGvC,qBAAqB,EAAE,qBAAqB,CAC1C,uBAAuB,EACvB,uBAAuB,CACxB,CAAC;IAGF,QAAQ,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAGrC,OAAO,EAAE,OAAO,CAAC;IAEjB,OAAO,SAAK;gBAEqB,OAAO,EAAE,WAAW;IAiBrD,IAAI;IAoBJ,aAAa,aAIX;IAEF,IAAI,MAAM,IAAI,MAAM,CAMnB;IAED,IAAI,YAAY,CAAC,IAAI,EAAE,uBAAuB,EAG7C;IAED,IAAI,YAAY,IALO,uBAAuB,CAO7C;IAED,MAAM,IAAI,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC;IAShC,QAAQ,UAAS;IACR,OAAO;CAMjB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,IAAI,cAAc,CAE1E"}
|
|
@@ -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 { Model } from '@difizen/libro-code-editor';
|
|
22
22
|
import { concatMultilineString } from '@difizen/libro-common';
|
|
23
|
-
import { DisposableCollection, watch } from '@difizen/
|
|
24
|
-
import { prop, inject, postConstruct, transient } from '@difizen/
|
|
23
|
+
import { DisposableCollection, watch } from '@difizen/libro-common/app';
|
|
24
|
+
import { prop, inject, postConstruct, transient } from '@difizen/libro-common/app';
|
|
25
25
|
import { DefaultEncodedFormatter, LibroFormatterManager } from "../formatter/index.js";
|
|
26
26
|
import { CellOptions } from "../libro-protocol.js";
|
|
27
27
|
import { getLibroCellType } from "./libro-cell-protocol.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-cell-module.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-cell-module.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAcvD;;GAEG;AACH,eAAO,MAAM,mBAAmB,YAe5B,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,eAAe,YAEC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManaModule } from '@difizen/
|
|
1
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
2
2
|
import { CellOptions } from "../libro-protocol.js";
|
|
3
3
|
import { LibroCellContribution } from "./libro-cell-contribution.js";
|
|
4
4
|
import { LibroCellModel } from "./libro-cell-model.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IBaseCell, ICell, ICellMetadata } from '@difizen/libro-common';
|
|
2
|
-
import type { MaybePromise, Newable } from '@difizen/
|
|
3
|
-
import { Syringe } from '@difizen/
|
|
2
|
+
import type { MaybePromise, Newable } from '@difizen/libro-common/app';
|
|
3
|
+
import { Syringe } from '@difizen/libro-common/app';
|
|
4
4
|
import type { CellModel, CellOptions, CellView } from '../libro-protocol.js';
|
|
5
5
|
export type LibroCellMetadata = ICellMetadata & {
|
|
6
6
|
libroCellType?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-cell-protocol.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-cell-protocol.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AACF,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,QAAQ,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACtC;AACD,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,KAAK,CAAC;AAEhD,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,WAAW,KAAK,SAAS,CAAC;AACnE,eAAO,MAAM,gBAAgB,eAA6B,CAAC;AAE3D,eAAO,MAAM,gBAAgB,YAAa,WAAW,WAEpD,CAAC;AAEF,eAAO,MAAM,qBAAqB,sBAA+C,CAAC;AAClF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAChE,WAAW,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,YAAY,CAAC,SAAS,CAAC,CAAC;IAC/D,oBAAoB,CAAC,EAAE,MAAM,WAAW,CAAC;CAC1C;AAED,eAAO,MAAM,oBAAoB,sBAA8C,CAAC;AAChF,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAID,eAAO,MAAM,WAAW,eAAwB,CAAC;AACjD,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,iBAAiB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,SAAS,GAAG,SAAS,CAAC;IAC/E,gBAAgB,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,SAAS,CAAC,CAAC;IACtF,eAAe,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC/E,iBAAiB,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,qBAAqB,GAAG,SAAS,CAAC;IAC/E,gBAAgB,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,oBAAoB,GAAG,SAAS,CAAC;CAC9E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Contribution } from '@difizen/
|
|
2
|
-
import { ApplicationContribution, ViewManager } from '@difizen/
|
|
1
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
2
|
+
import { ApplicationContribution, ViewManager } from '@difizen/libro-common/app';
|
|
3
3
|
import type { CellView, CellModel, CellOptions } from '../libro-protocol.js';
|
|
4
4
|
import { LibroService } from '../libro-service.js';
|
|
5
5
|
import type { CellMeta } from './libro-cell-protocol.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-cell-service.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-cell-service.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAGjF,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EACL,WAAW,EAEX,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,0BAA0B,CAAC;AAElC,qBACa,gBAAiB,YAAW,WAAW,EAAE,uBAAuB;IAE3E,SAAS,EAAE,QAAQ,EAAE,CAAM;IAE3B,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;IAC/E,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAC7E,SAAS,CAAC,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAa;IACtF,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAC5C,SAAS,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAa;IAEtE,YAAY,EAAE,YAAY,CAAC;gBAGzB,WAAW,EAAE,WAAW,EACF,YAAY,EAAE,YAAY,EAEhD,aAAa,EAAE,YAAY,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EAE3D,YAAY,EAAE,YAAY,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAQ3D,SAAS,CAAC,gCAAgC,CAAC,GAAG,EAAE,qBAAqB,GAAG,WAAW;IAOnF,UAAU;IAaV,oBAAoB,CAAC,QAAQ,EAAE,MAAM;IAQrC,SAAS,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW;IAIzD,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAK5C,gBAAgB,CAAC,OAAO,EAAE,WAAW,EAAE,YAAY,SAAK,GAAG,OAAO,CAAC,SAAS,CAAC;IAqB7E,eAAe,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;IAqBhF,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,oBAAoB,GAAG,SAAS;IASxE,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,qBAAqB,GAAG,SAAS;IAS1E,SAAS,CAAC,4CAA4C,IAAI,qBAAqB,EAAE;IAWjF,SAAS,CAAC,eAAe,CACvB,GAAG,EAAE,qBAAqB,GAAG,oBAAoB,EACjD,OAAO,EAAE,WAAW;CAIvB"}
|
|
@@ -14,9 +14,9 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
14
14
|
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); }
|
|
15
15
|
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; }
|
|
16
16
|
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.'); }
|
|
17
|
-
import { Priority, prop } from '@difizen/
|
|
18
|
-
import { ApplicationContribution, ViewManager } from '@difizen/
|
|
19
|
-
import { contrib, inject, singleton } from '@difizen/
|
|
17
|
+
import { Priority, prop } from '@difizen/libro-common/app';
|
|
18
|
+
import { ApplicationContribution, ViewManager } from '@difizen/libro-common/app';
|
|
19
|
+
import { contrib, inject, singleton } from '@difizen/libro-common/app';
|
|
20
20
|
import { LibroService } from "../libro-service.js";
|
|
21
21
|
import { CellService, getLibroCellType, CellViewContribution, CellModelContribution } from "./libro-cell-protocol.js";
|
|
22
22
|
export var LibroCellService = (_dec = singleton({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ViewComponent } from '@difizen/
|
|
2
|
-
import { Deferred } from '@difizen/
|
|
3
|
-
import { BaseView } from '@difizen/
|
|
4
|
-
import { DisposableCollection } from '@difizen/
|
|
1
|
+
import type { ViewComponent } from '@difizen/libro-common/app';
|
|
2
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
3
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
4
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { CellViewOptions, CellModel } from '../libro-protocol.js';
|
|
7
7
|
import type { CellView, NotebookView } from '../libro-protocol.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-cell-view.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-cell-view.d.ts","sourceRoot":"","sources":["../../src/cell/libro-cell-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAkC,MAAM,2BAA2B,CAAC;AAErF,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAG1D,eAAO,MAAM,kBAAkB,+DAG7B,CAAC;AAEH,qBACa,aAAc,SAAQ,QAAS,YAAW,QAAQ;IAC7D,UAAmB,SAAS,uBAA8B;IAC1D,OAAO,EAAE,eAAe,CAAC;IAGzB,kBAAkB,SAAK;IAGvB,cAAc,SAAK;IAGnB,2BAA2B,UAAS;IAGpC,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IAC1B,IAAI,EAAE,aAAa,CAAsB;IAElD,SAAS,CAAC,OAAO,EAAE,YAAY,CAAC;IAEhC,IAAI,MAAM,IAGQ,YAAY,CAD7B;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,YAAY,EAG7B;IAED,SAAS,CAAC,WAAW,iDAAgC;IAErD,IAAI,WAAW,kDAEd;IAGQ,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAA+B;IAGtE,cAAc,EAAE,OAAO,CAAC;IAGxB,eAAe,UAAS;IAGxB,QAAQ,UAAS;gBAGK,OAAO,EAAE,eAAe,EACvB,WAAW,EAAE,WAAW;IAe/C,SAAS;IAuBT,gBAAgB;IAIhB,aAAa;IAIP,GAAG;IAKT,qBAAqB,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;IAItD,IAAI;IAIJ,KAAK,CAAC,MAAM,EAAE,OAAO;IAIrB,QAAQ,UAAS;IACR,OAAO;IAIhB,MAAM,IAAI,SAAS;IAUnB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAMb;CACH"}
|
|
@@ -23,12 +23,12 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
23
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
24
|
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; }
|
|
25
25
|
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.'); }
|
|
26
|
-
import { Deferred } from '@difizen/
|
|
27
|
-
import { useInject, watch } from '@difizen/
|
|
28
|
-
import { BaseView, view, ViewInstance, ViewOption } from '@difizen/
|
|
29
|
-
import { inject } from '@difizen/
|
|
30
|
-
import { DisposableCollection } from '@difizen/
|
|
31
|
-
import { prop } from '@difizen/
|
|
26
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
27
|
+
import { useInject, watch } from '@difizen/libro-common/app';
|
|
28
|
+
import { BaseView, view, ViewInstance, ViewOption } from '@difizen/libro-common/app';
|
|
29
|
+
import { inject } from '@difizen/libro-common/app';
|
|
30
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
31
|
+
import { prop } from '@difizen/libro-common/app';
|
|
32
32
|
import React from 'react';
|
|
33
33
|
import { CellService } from "./libro-cell-protocol.js";
|
|
34
34
|
import { ExecutableCellModel } from "./libro-executable-cell-model.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CodeEditorView, CodeEditorViewOptions, IEditor } from '@difizen/libro-code-editor';
|
|
2
2
|
import { CodeEditorManager } from '@difizen/libro-code-editor';
|
|
3
|
-
import { DisposableCollection } from '@difizen/
|
|
3
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
4
4
|
import type { ReactNode } from 'react';
|
|
5
5
|
import { LibroContextKey } from '../libro-context-key.js';
|
|
6
6
|
import type { CellView, CellViewOptions } from '../libro-protocol.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-edit-cell-view.d.ts","sourceRoot":"","sources":["../../src/cell/libro-edit-cell-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,OAAO,EACR,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAEL,oBAAoB,EAOrB,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-edit-cell-view.d.ts","sourceRoot":"","sources":["../../src/cell/libro-edit-cell-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,OAAO,EACR,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAEL,oBAAoB,EAOrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAE5B,IAAI,EAAE,MAAM,IAAI,CAAC;IAEjB,IAAI,EAAE,MAAM,IAAI,CAAC;IAEjB,YAAY,EAAE,MAAM,SAAS,CAAC;CAC/B;AAED,eAAO,MAAM,cAAc;cACf,OAAO,GAAG,EAAE,GAAG,CAAC,GAAG,SAAS;CAWvC,CAAC;AAEF;;;GAGG;AACH,8BAAsB,mBACpB,SAAQ,aACR,YAAW,cAAc;IAEzB,SAAS,CAAC,iBAAiB,uBAA8B;IAEzD,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAEH,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAClD,iBAAiB,EAAE,iBAAiB,CAAC;IAGhE,UAAU,CAAC,EAAE,cAAc,CAAC;gBAGN,OAAO,EAAE,eAAe,EACvB,WAAW,EAAE,WAAW;IAK/C,SAAS,CAAC,eAAe,IAAI,qBAAqB;cAalC,gBAAgB;IAoB1B,YAAY;IA2BlB,YAAY,EAAE,YAAY,CAA0B;IAEpD,YAAY,uDAKV;IAEO,WAAW;IAQX,qBAAqB,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;IAQ/D,SAAS,CAAC,WAAW;IAgBZ,KAAK,WAAY,OAAO,UAS/B;IAEO,IAAI,aAGX;IAEF,IAAI,UAAU,WAEb;IAED,IAAI,IAAI,IAAI;IAIZ,IAAI,IAAI,IAAI;CAGb"}
|
|
@@ -20,7 +20,7 @@ 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 { CodeEditorManager } from '@difizen/libro-code-editor';
|
|
22
22
|
import { CellUri } from '@difizen/libro-common';
|
|
23
|
-
import { Disposable, DisposableCollection, getOrigin, inject, prop, ViewOption, ViewRender, watch } from '@difizen/
|
|
23
|
+
import { Disposable, DisposableCollection, getOrigin, inject, prop, ViewOption, ViewRender, watch } from '@difizen/libro-common/app';
|
|
24
24
|
import { LibroContextKey } from "../libro-context-key.js";
|
|
25
25
|
import { EditorStatus } from "../libro-protocol.js";
|
|
26
26
|
import { isCellView } from "../libro-protocol.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-executable-cell-model.d.ts","sourceRoot":"","sources":["../../src/cell/libro-executable-cell-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-executable-cell-model.d.ts","sourceRoot":"","sources":["../../src/cell/libro-executable-cell-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEzD,MAAM,WAAW,mBAAmB;IAElC,SAAS,EAAE,OAAO,CAAC;IAGnB,YAAY,EAAE,cAAc,CAAC;IAE7B,eAAe,EAAE,OAAO,CAAC;IAEzB,kBAAkB,EAAE,OAAO,CAAC;IAG5B,gBAAgB,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAE/B,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,mBAAmB;cACpB,OAAO,GAAG,EAAE,GAAG,CAAC,GAAG,SAAS;CAUvC,CAAC"}
|
|
@@ -16,9 +16,9 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
16
16
|
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; } }
|
|
17
17
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
18
18
|
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); }
|
|
19
|
-
import { watch } from '@difizen/
|
|
20
|
-
import { ViewOption } from '@difizen/
|
|
21
|
-
import { inject } from '@difizen/
|
|
19
|
+
import { watch } from '@difizen/libro-common/app';
|
|
20
|
+
import { ViewOption } from '@difizen/libro-common/app';
|
|
21
|
+
import { inject } from '@difizen/libro-common/app';
|
|
22
22
|
import { CellService } from "./libro-cell-protocol.js";
|
|
23
23
|
import { EditorCellView, LibroEditorCellView } from "./libro-edit-cell-view.js";
|
|
24
24
|
import { ExecutableCellModel } from "./libro-executable-cell-model.js";
|
package/es/collapse-service.js
CHANGED
|
@@ -8,7 +8,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
8
8
|
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); }
|
|
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
|
-
import { inject, prop, transient } from '@difizen/
|
|
11
|
+
import { inject, prop, transient } from '@difizen/libro-common/app';
|
|
12
12
|
export var CollapseServiceOption = Symbol('CollapseServiceOption');
|
|
13
13
|
export var CollapseServiceFactory = Symbol('CollapseServiceFactory');
|
|
14
14
|
export var CellCollapsible = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-commands.d.ts","sourceRoot":"","sources":["../../src/command/document-commands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"document-commands.d.ts","sourceRoot":"","sources":["../../src/command/document-commands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAIzD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAkB3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kernel-command.d.ts","sourceRoot":"","sources":["../../src/command/kernel-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"kernel-command.d.ts","sourceRoot":"","sources":["../../src/command/kernel-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAGzD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAsCzE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CommandRegistry } from '@difizen/
|
|
2
|
-
import { ModalService, CommandContribution } from '@difizen/
|
|
1
|
+
import type { CommandRegistry } from '@difizen/libro-common/app';
|
|
2
|
+
import { ModalService, CommandContribution } from '@difizen/libro-common/app';
|
|
3
3
|
import { LibroContextKey } from '../libro-context-key.js';
|
|
4
4
|
import { LibroService } from '../libro-service.js';
|
|
5
5
|
import { LibroCommandRegister } from './libro-command-register.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-command-contribution.d.ts","sourceRoot":"","sources":["../../src/command/libro-command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-command-contribution.d.ts","sourceRoot":"","sources":["../../src/command/libro-command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAEL,YAAY,EAEZ,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AAMnC,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,qBACa,wBAAyB,YAAW,mBAAmB;IAC5C,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;IAC3C,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAE7E,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CA+xCjD"}
|
|
@@ -12,8 +12,8 @@ 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 { MIME } from '@difizen/libro-common';
|
|
15
|
-
import { inject, ModalService, singleton, CommandContribution } from '@difizen/
|
|
16
|
-
import { equals } from '@difizen/
|
|
15
|
+
import { inject, ModalService, singleton, CommandContribution } from '@difizen/libro-common/app';
|
|
16
|
+
import { equals } from '@difizen/libro-common/app';
|
|
17
17
|
import { v4 } from 'uuid';
|
|
18
18
|
import { LibroCellView, ExecutableCellModel, EditorCellView } from "../cell/index.js";
|
|
19
19
|
import { LibroContextKey } from "../libro-context-key.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Command, CommandHandler, CommandRegistry, KeybindingRegistry } from '@difizen/
|
|
1
|
+
import type { Command, CommandHandler, CommandRegistry, KeybindingRegistry } from '@difizen/libro-common/app';
|
|
2
2
|
import type { CellView, NotebookView } from '../libro-protocol.js';
|
|
3
3
|
import { LibroService } from '../libro-service.js';
|
|
4
4
|
export interface GeneralLibroCommandHandler extends CommandHandler {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-command-register.d.ts","sourceRoot":"","sources":["../../src/command/libro-command-register.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EAEd,eAAe,EACf,kBAAkB,EACnB,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-command-register.d.ts","sourceRoot":"","sources":["../../src/command/libro-command-register.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EAEd,eAAe,EACf,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,MAAM,WAAW,0BAA2B,SAAQ,cAAc;IAChE,OAAO,EAAE,CACP,IAAI,CAAC,EAAE,QAAQ,EACf,KAAK,CAAC,EAAE,YAAY,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,GAAG,KACV,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,CACV,IAAI,CAAC,EAAE,QAAQ,EACf,KAAK,CAAC,EAAE,YAAY,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,GAAG,KACV,OAAO,CAAC;IACb,SAAS,CAAC,EAAE,CACV,IAAI,CAAC,EAAE,QAAQ,EACf,KAAK,CAAC,EAAE,YAAY,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,GAAG,KACV,OAAO,CAAC;IACb,QAAQ,CAAC,EAAE,CACT,IAAI,CAAC,EAAE,QAAQ,EACf,KAAK,CAAC,EAAE,YAAY,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,GAAG,KACV,OAAO,CAAC;CACd;AAED,qBACa,oBAAoB;IACT,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpE,gBAAgB,CACd,WAAW,EAAE,kBAAkB,EAC/B,QAAQ,EAAE,MAAM,CACd,MAAM,EACN,OAAO,GAAG;QACR,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;QAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,CACF,EACD,UAAU,UAAO,EACjB,SAAS,UAAO;IAiClB,oBAAoB,QACb,oBAAoB,SAClB,QAAQ,UACP,YAAY,aACT,MAAM,YACP,GAAG,KACZ,CAAC,QAAQ,GAAG,SAAS,EAAE,YAAY,GAAG,SAAS,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,CAAC,CAI1E;IACF,oBAAoB,CAClB,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,0BAA0B;CAiEtC"}
|
|
@@ -14,7 +14,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
14
14
|
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); }
|
|
15
15
|
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; }
|
|
16
16
|
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.'); }
|
|
17
|
-
import { inject, singleton } from '@difizen/
|
|
17
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
18
18
|
import { LibroContextKeys } from "../libro-protocol.js";
|
|
19
19
|
import { LibroService } from "../libro-service.js";
|
|
20
20
|
export var LibroCommandRegister = (_dec = singleton(), _dec2 = inject(LibroService), _dec(_class = (_class2 = /*#__PURE__*/function () {
|
package/es/command/module.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/command/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/command/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,kBAAkB,YAG9B,CAAC"}
|
package/es/command/module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManaModule } from '@difizen/
|
|
1
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
2
2
|
import { LibroCommandContribution } from "./libro-command-contribution.js";
|
|
3
3
|
import { LibroCommandRegister } from "./libro-command-register.js";
|
|
4
4
|
export var LibroCommandModule = ManaModule.create().register(LibroCommandContribution, LibroCommandRegister);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notebook-commands.d.ts","sourceRoot":"","sources":["../../src/command/notebook-commands.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"notebook-commands.d.ts","sourceRoot":"","sources":["../../src/command/notebook-commands.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAezD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CACnC,MAAM,EACN,OAAO,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAydjF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PlusOutlined, PlayCircleOutlined, CopyOutlined, ScissorOutlined, SnippetsOutlined, EyeOutlined, EyeInvisibleOutlined,
|
|
2
2
|
// ReloadOutlined,
|
|
3
3
|
PoweroffOutlined } from '@ant-design/icons';
|
|
4
|
-
import { l10n } from '@difizen/
|
|
4
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
5
5
|
import { Undo, Redo, Reload, ClearOutlined, MoveUpOutlined, MoveDownOutlined, DeleteOutlined, MoreOutlined, PauseCircleOutlined } from "../material-from-designer.js";
|
|
6
6
|
export var NotebookCommands = {
|
|
7
7
|
//#region libro command
|
|
@@ -5,8 +5,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
5
5
|
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; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
8
|
-
import { useConfigurationValue, CommandRegistry, equals, ToolbarRender, useInject, useObserve, ViewInstance, ViewRender } from '@difizen/
|
|
9
|
-
import { l10n } from '@difizen/
|
|
8
|
+
import { useConfigurationValue, CommandRegistry, equals, ToolbarRender, useInject, useObserve, ViewInstance, ViewRender } from '@difizen/libro-common/app';
|
|
9
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
10
10
|
import { Tooltip } from 'antd';
|
|
11
11
|
import classnames from 'classnames';
|
|
12
12
|
import React, { forwardRef, memo, useLayoutEffect, useMemo, useRef } from 'react';
|
|
@@ -6,8 +6,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
6
6
|
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; } }
|
|
7
7
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
8
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
9
|
-
import { getOrigin, useInject, ViewInstance } from '@difizen/
|
|
10
|
-
import { useConfigurationValue } from '@difizen/
|
|
9
|
+
import { getOrigin, useInject, ViewInstance } from '@difizen/libro-common/app';
|
|
10
|
+
import { useConfigurationValue } from '@difizen/libro-common/app';
|
|
11
11
|
import { Button } from 'antd';
|
|
12
12
|
import React, { useCallback, useLayoutEffect, useMemo, useRef, useState, forwardRef, useContext } from 'react';
|
|
13
13
|
import 'resize-observer-polyfill';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dnd-list.d.ts","sourceRoot":"","sources":["../../../src/components/dnd-component/dnd-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dnd-list.d.ts","sourceRoot":"","sources":["../../../src/components/dnd-component/dnd-list.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgB3C,OAAO,KAAK,EAAY,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,cAAc,CAAC;AAEtB,UAAU,gBAAgB;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,WAAW,EAAE,GAAG,CAAC;CAClB;AAED,eAAO,MAAM,WAAW,2CAiBtB,CAAC;AA6CH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,eAAe,CAY5C,CAAC;AA2BH,eAAO,MAAM,cAAc;eAEZ,SAAS;oBAAkB,SAAS;kDAsFjD,CAAC;AAEH,eAAO,MAAM,OAAO;eAEL,SAAS;cAAY,SAAS;kDAsQ3C,CAAC"}
|
|
@@ -16,7 +16,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
16
16
|
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); }
|
|
17
17
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
18
18
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
19
|
-
import { getOrigin, useInject, useObserve, ViewInstance } from '@difizen/
|
|
19
|
+
import { getOrigin, useInject, useObserve, ViewInstance } from '@difizen/libro-common/app';
|
|
20
20
|
import classNames from 'classnames';
|
|
21
21
|
import { throttle } from 'lodash';
|
|
22
22
|
import { useRef, useCallback, createContext, useMemo, forwardRef, memo, useEffect, useState } from 'react';
|
|
@@ -11,7 +11,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
11
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
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
|
-
import { prop, singleton } from '@difizen/
|
|
14
|
+
import { prop, singleton } from '@difizen/libro-common/app';
|
|
15
15
|
export var VirtualizedManager = (_dec = singleton(), _dec2 = prop(), _dec(_class = (_class2 = /*#__PURE__*/_createClass(function VirtualizedManager() {
|
|
16
16
|
var _this = this;
|
|
17
17
|
_classCallCheck(this, VirtualizedManager);
|
|
@@ -4,8 +4,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
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; }
|
|
5
5
|
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; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
-
import { ViewRender } from '@difizen/
|
|
8
|
-
import { useInject } from '@difizen/
|
|
7
|
+
import { ViewRender } from '@difizen/libro-common/app';
|
|
8
|
+
import { useInject } from '@difizen/libro-common/app';
|
|
9
9
|
import { useEffect, useState } from 'react';
|
|
10
10
|
import { LibroService } from "../libro-service.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -4,8 +4,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
5
5
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
6
6
|
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; }
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { Menu, MenuContext } from '@difizen/libro-common/react';
|
|
8
|
+
import { CommandRegistry, getOrigin, ToolbarInstance, useInject } from '@difizen/libro-common/app';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
11
|
export var LibroSideToolbarMenuInlines = function LibroSideToolbarMenuInlines(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
2
|
-
import { ToolbarRender, useInject, ViewInstance } from '@difizen/
|
|
2
|
+
import { ToolbarRender, useInject, ViewInstance } from '@difizen/libro-common/app';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import { LibroToolbarArea } from "../libro-protocol.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -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
|
import { ContentContribution } from "./libro-content-protocol.js";
|
|
10
10
|
export var DefaultContentContribution = (_dec = singleton({
|
|
11
11
|
contrib: ContentContribution
|