@difizen/libro-core 0.3.3 → 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.d.ts.map +1 -1
- package/es/components/dnd-component/default-dnd-content.js +90 -167
- package/es/components/dnd-component/dnd-list.d.ts +12 -0
- package/es/components/dnd-component/dnd-list.d.ts.map +1 -1
- package/es/components/dnd-component/dnd-list.js +307 -63
- package/es/components/dnd-component/index.d.ts +0 -2
- package/es/components/dnd-component/index.d.ts.map +1 -1
- package/es/components/dnd-component/index.js +0 -2
- package/es/components/dnd-component/index.less +84 -0
- package/es/components/dnd-component/virtualized-manager.d.ts.map +1 -1
- package/es/components/dnd-component/virtualized-manager.js +3 -9
- 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.d.ts +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.d.ts +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/index.less +0 -22
- 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 +8 -12
- 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.d.ts.map +1 -1
- package/es/virtualized-manager.js +2 -9
- package/package.json +10 -9
- 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 +101 -165
- package/src/components/dnd-component/dnd-list.tsx +309 -35
- package/src/components/dnd-component/index.less +84 -0
- package/src/components/dnd-component/index.tsx +0 -2
- package/src/components/dnd-component/virtualized-manager.ts +11 -8
- 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.less +0 -22
- 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 +8 -18
- 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 +10 -8
- package/es/components/dnd-component/custom-drag-layer.d.ts +0 -9
- package/es/components/dnd-component/custom-drag-layer.d.ts.map +0 -1
- package/es/components/dnd-component/custom-drag-layer.js +0 -140
- package/es/components/dnd-component/dnd-context.d.ts +0 -3
- package/es/components/dnd-component/dnd-context.d.ts.map +0 -1
- package/es/components/dnd-component/dnd-context.js +0 -20
- package/src/components/dnd-component/custom-drag-layer.tsx +0 -144
- package/src/components/dnd-component/dnd-context.tsx +0 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-content-protocol.d.ts","sourceRoot":"","sources":["../../src/content/libro-content-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-content-protocol.d.ts","sourceRoot":"","sources":["../../src/content/libro-content-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,eAAO,MAAM,mBAAmB,sBAA6C,CAAC;AAC9E,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,MAAM,CAAC;IAChE,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC;CACtF;AAED,eAAO,MAAM,uBAAuB,sBAAiD,CAAC;AACtF,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,MAAM,CAAC;IAChE,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Contribution } from '@difizen/
|
|
1
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
2
2
|
import { ContentContribution, ContentSaveContribution } from './libro-content-protocol.js';
|
|
3
3
|
export declare class LibroContentService {
|
|
4
4
|
contentProvider: Contribution.Provider<ContentContribution>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-content-service.d.ts","sourceRoot":"","sources":["../../src/content/libro-content-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-content-service.d.ts","sourceRoot":"","sources":["../../src/content/libro-content-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AAErC,qBACa,mBAAmB;IAE9B,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAG5D,mBAAmB,EAAE,YAAY,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC;IAEpE,SAAS,CAAC,YAAY,CACpB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5B,KAAK,EAAE,GAAG,GACT,mBAAmB;IAStB,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG;IAIzD,SAAS,CAAC,gBAAgB,CACxB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5B,KAAK,EAAE,GAAG,GACT,uBAAuB;IAS1B,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG;CAG1D"}
|
|
@@ -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 { contrib, Priority, singleton } from '@difizen/
|
|
11
|
+
import { contrib, Priority, singleton } from '@difizen/libro-common/app';
|
|
12
12
|
import { ContentContribution, ContentSaveContribution } from "./libro-content-protocol.js";
|
|
13
13
|
export var LibroContentService = (_dec = singleton(), _dec2 = contrib(ContentContribution), _dec3 = contrib(ContentSaveContribution), _dec(_class = (_class2 = /*#__PURE__*/function () {
|
|
14
14
|
function LibroContentService() {
|
|
@@ -6,7 +6,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
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
8
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
9
|
-
import { singleton } from '@difizen/
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import { ContentSaveContribution } from "./libro-content-protocol.js";
|
|
11
11
|
export var DefaultSaveContentContribution = (_dec = singleton({
|
|
12
12
|
contrib: ContentSaveContribution
|
|
@@ -3,7 +3,7 @@ import type { DefaultEncodedFormatter } from './libro-formatter-protocol.js';
|
|
|
3
3
|
export declare class FormatterJsonContribution implements FormatterContribution<DefaultDecodedFormatter> {
|
|
4
4
|
formatter: string;
|
|
5
5
|
formatterOptions?: object;
|
|
6
|
-
canHandle: (libroFormatter: string) =>
|
|
6
|
+
canHandle: (libroFormatter: string) => 1 | 100;
|
|
7
7
|
encode: (source: DefaultDecodedFormatter) => {
|
|
8
8
|
source: string;
|
|
9
9
|
metadata: {
|
|
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
7
7
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
8
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
9
9
|
import { concatMultilineString } from '@difizen/libro-common';
|
|
10
|
-
import { singleton } from '@difizen/
|
|
10
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
11
11
|
import { DefaultDecodedFormatter, FormatterContribution } from "./libro-formatter-protocol.js";
|
|
12
12
|
export var FormatterJsonContribution = (_dec = singleton({
|
|
13
13
|
contrib: FormatterContribution
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Contribution } from '@difizen/
|
|
1
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
2
2
|
import { CellModelContribution } from '../cell/index.js';
|
|
3
3
|
import { FormatterContribution, FormatterTransContribution } from './libro-formatter-protocol.js';
|
|
4
4
|
import type { DefaultEncodedFormatter } from './libro-formatter-protocol.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-formatter-manager.d.ts","sourceRoot":"","sources":["../../src/formatter/libro-formatter-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-formatter-manager.d.ts","sourceRoot":"","sources":["../../src/formatter/libro-formatter-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAE7E,qBACa,qBAAqB,CAAC,CAAC,EAAE,CAAC;IAErC,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,YAAY,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;IAEtF,SAAS,CAAC,QAAQ,CAAC,sBAAsB,EAAE,YAAY,CAAC,QAAQ,CAC9D,0BAA0B,CAAC,CAAC,EAAE,CAAC,CAAC,CACjC,CAAC;IACF,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,YAAY,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;gBAIjF,iBAAiB,EAAE,YAAY,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAKjE,SAAS,CAAC,qBAAqB,CAC7B,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,MAAM,GACf,qBAAqB,CAAC,CAAC,CAAC;IAS3B,SAAS,CAAC,0BAA0B,CAClC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,GACb,0BAA0B,CAAC,CAAC,EAAE,CAAC,CAAC;IAcnC,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,uBAAuB;IAKlE,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,uBAAuB,GAAG,CAAC;IAK1E,OAAO,CAAC,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,uBAAuB,GAAG,CAAC;CAiB5E"}
|
|
@@ -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 { contrib, Priority, singleton } from '@difizen/
|
|
11
|
+
import { contrib, Priority, singleton } from '@difizen/libro-common/app';
|
|
12
12
|
import { CellModelContribution } from "../cell/index.js";
|
|
13
13
|
import { FormatterContribution, FormatterTransContribution } from "./libro-formatter-protocol.js";
|
|
14
14
|
export var LibroFormatterManager = (_dec = singleton(), _dec2 = contrib(FormatterContribution), _dec3 = contrib(FormatterTransContribution), _dec(_class = (_class2 = /*#__PURE__*/function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-formatter-module.d.ts","sourceRoot":"","sources":["../../src/formatter/libro-formatter-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-formatter-module.d.ts","sourceRoot":"","sources":["../../src/formatter/libro-formatter-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAWvD,eAAO,MAAM,oBAAoB,YAO9B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManaModule } from '@difizen/
|
|
1
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
2
2
|
import { FormatterJsonContribution } from "./libro-formatter-json-contribution.js";
|
|
3
3
|
import { LibroFormatterManager } from "./libro-formatter-manager.js";
|
|
4
4
|
import { FormatterContribution, FormatterTransContribution } from "./libro-formatter-protocol.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MultilineString } from '@difizen/libro-common';
|
|
2
|
-
import { Syringe } from '@difizen/
|
|
2
|
+
import { Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
export declare const FormatterContribution: Syringe.DefinedToken;
|
|
4
4
|
export interface FormatterContribution<T> {
|
|
5
5
|
formatter: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-formatter-protocol.d.ts","sourceRoot":"","sources":["../../src/formatter/libro-formatter-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-formatter-protocol.d.ts","sourceRoot":"","sources":["../../src/formatter/libro-formatter-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,eAAO,MAAM,qBAAqB,sBAA+C,CAAC;AAElF,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAChE,MAAM,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,uBAAuB,CAAC;IAC/C,MAAM,EAAE,CAAC,cAAc,EAAE,uBAAuB,KAAK,CAAC,CAAC;IACvD,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,CAAC;CACtC;AAED,eAAO,MAAM,0BAA0B,sBAEtC,CAAC;AAEF,MAAM,WAAW,0BAA0B,CAAC,CAAC,EAAE,CAAC;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE;QACR,cAAc,EAAE,MAAM,CAAC;QACvB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,eAAO,MAAM,uBAAuB;cACxB,OAAO,GAAG,EAAE,GAAG,CAAC,GAAG,SAAS;CAQvC,CAAC;AAEF,eAAO,MAAM,uBAAuB;cAE3B,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS;gBAE5B,OAAO;;4BACa,MAAM;;;;;CAarC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
import { Syringe } from '@difizen/
|
|
2
|
+
import { Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
export var FormatterContribution = Syringe.defineToken('FormatterContribution');
|
|
4
4
|
export var FormatterTransContribution = Syringe.defineToken('FormatterTransContribution');
|
|
5
5
|
export var DefaultDecodedFormatter = {
|
|
@@ -3,7 +3,7 @@ import { DefaultDecodedFormatter, FormatterContribution } from './libro-formatte
|
|
|
3
3
|
export declare class FormatterStringContribution implements FormatterContribution<DefaultDecodedFormatter> {
|
|
4
4
|
formatter: string;
|
|
5
5
|
formatterOptions?: object;
|
|
6
|
-
canHandle: (libroFormatter: string) =>
|
|
6
|
+
canHandle: (libroFormatter: string) => 1 | 100;
|
|
7
7
|
encode: (source: DefaultDecodedFormatter) => {
|
|
8
8
|
source: string;
|
|
9
9
|
metadata: {
|
|
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
7
7
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
8
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
9
9
|
import { concatMultilineString } from '@difizen/libro-common';
|
|
10
|
-
import { singleton } from '@difizen/
|
|
10
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
11
11
|
import { DefaultDecodedFormatter, FormatterContribution } from "./libro-formatter-protocol.js";
|
|
12
12
|
export var FormatterStringContribution = (_dec = singleton({
|
|
13
13
|
contrib: FormatterContribution
|
|
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
6
6
|
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); }
|
|
7
7
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
8
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
9
|
-
import { singleton } from '@difizen/
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import { FormatterTransContribution } from "./libro-formatter-protocol.js";
|
|
11
11
|
export var FormatterTransDefaultContribution = (_dec = singleton({
|
|
12
12
|
contrib: FormatterTransContribution
|
package/es/index.d.ts
CHANGED
package/es/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,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B,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
|
package/es/index.js
CHANGED
package/es/index.less
CHANGED
|
@@ -315,17 +315,6 @@
|
|
|
315
315
|
border: 1px solid var(--mana-color-border);
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
.libro-dnd-cascading-multiple-selection {
|
|
319
|
-
position: absolute;
|
|
320
|
-
top: -10px;
|
|
321
|
-
left: -10px;
|
|
322
|
-
z-index: 100;
|
|
323
|
-
width: 700px;
|
|
324
|
-
height: 40px;
|
|
325
|
-
background-color: var(--mana-color-bg-container);
|
|
326
|
-
border: 1px solid var(--mana-color-border);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
318
|
.libro-cell-container {
|
|
330
319
|
position: relative;
|
|
331
320
|
background-color: var(--mana-color-bg-container);
|
|
@@ -558,17 +547,6 @@
|
|
|
558
547
|
cursor: move;
|
|
559
548
|
}
|
|
560
549
|
|
|
561
|
-
.libro-drag-hoverline {
|
|
562
|
-
position: absolute;
|
|
563
|
-
top: -2px;
|
|
564
|
-
left: 56px;
|
|
565
|
-
z-index: 100;
|
|
566
|
-
width: calc(100% - 70px);
|
|
567
|
-
height: 4px;
|
|
568
|
-
background-color: var(--mana-libro-drag-hover-line-color);
|
|
569
|
-
border-radius: 2px;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
550
|
.libro-view-content-left {
|
|
573
551
|
position: relative;
|
|
574
552
|
width: calc(100% - 20px);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Disposable } from '@difizen/
|
|
2
|
-
import type { IContextKey } from '@difizen/
|
|
3
|
-
import { ContextKeyService } from '@difizen/
|
|
1
|
+
import type { Disposable } from '@difizen/libro-common/app';
|
|
2
|
+
import type { IContextKey } from '@difizen/libro-common/app';
|
|
3
|
+
import { ContextKeyService } from '@difizen/libro-common/app';
|
|
4
4
|
import { LibroService } from './libro-service.js';
|
|
5
5
|
export declare class LibroContextKey {
|
|
6
6
|
protected readonly contextKeyService: ContextKeyService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-context-key.d.ts","sourceRoot":"","sources":["../src/libro-context-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-context-key.d.ts","sourceRoot":"","sources":["../src/libro-context-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAI9D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,qBACa,eAAe;IAC1B,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IACxD,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAC9C,SAAS,CAAC,wBAAwB,CAAC,EAAE,UAAU,CAAC;IAChD,kBAAkB,UAAQ;IAC1B,SAAS,CAAC,aAAa,UAAS;IAChC,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7B,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;gBAGL,iBAAiB,EAAE,iBAAiB,EACzC,YAAY,EAAE,YAAY;IASlD,kBAAkB,aAGhB;IAEF,iBAAiB,aAGf;IAEF,SAAS,CAAC,WAAW;IAarB,SAAS,CAAC,UAAU;IAUpB,SAAS,CAAC,gBAAgB;IAO1B,SAAS,CAAC,cAAc,aAQtB;CACH;AACD;;GAEG;AACH,eAAO,MAAM,eAAe,wBAAkB,CAAC"}
|
package/es/libro-context-key.js
CHANGED
|
@@ -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 { ContextKeyService } from '@difizen/
|
|
9
|
-
import { inject, singleton } from '@difizen/
|
|
8
|
+
import { ContextKeyService } from '@difizen/libro-common/app';
|
|
9
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import { LibroContextKeys } from "./libro-protocol.js";
|
|
11
11
|
import { LibroService } from "./libro-service.js";
|
|
12
12
|
export var LibroContextKey = (_dec = singleton(), _dec(_class = /*#__PURE__*/function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-keybind-registry.d.ts","sourceRoot":"","sources":["../src/libro-keybind-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-keybind-registry.d.ts","sourceRoot":"","sources":["../src/libro-keybind-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAW,MAAM,2BAA2B,CAAC;AAGxE,qBACa,oBAAqB,SAAQ,kBAAkB;IACjD,GAAG,CAAC,KAAK,EAAE,aAAa;CAqClC"}
|
|
@@ -14,8 +14,8 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
14
14
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
15
15
|
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; } }
|
|
16
16
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
|
-
import { KeybindingRegistry, KeyCode } from '@difizen/
|
|
18
|
-
import { singleton } from '@difizen/
|
|
17
|
+
import { KeybindingRegistry, KeyCode } from '@difizen/libro-common/app';
|
|
18
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
19
19
|
export var LibroKeybindRegistry = (_dec = singleton({
|
|
20
20
|
token: KeybindingRegistry
|
|
21
21
|
}), _dec(_class = /*#__PURE__*/function (_KeybindingRegistry) {
|
package/es/libro-model.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { INotebookContent, INotebookMetadata } from '@difizen/libro-common';
|
|
2
2
|
import type { CellTypeAdaptor, ISharedNotebook, NotebookChange } from '@difizen/libro-shared-model';
|
|
3
|
-
import { ConfigurationService } from '@difizen/
|
|
4
|
-
import { Emitter } from '@difizen/
|
|
3
|
+
import { ConfigurationService } from '@difizen/libro-common/app';
|
|
4
|
+
import { Emitter } from '@difizen/libro-common/app';
|
|
5
5
|
import { LibroContentService } from './content/index.js';
|
|
6
6
|
import { NotebookOption } from './libro-protocol.js';
|
|
7
7
|
import type { CellOptions, CellViewChange, DndListModel, NotebookModel, CellView, MouseMode, ICellContentChange } from './libro-protocol.js';
|
|
@@ -12,20 +12,20 @@ export declare class LibroModel implements NotebookModel, DndListModel {
|
|
|
12
12
|
virtualizedManagerHelper: VirtualizedManagerHelper;
|
|
13
13
|
configurationService: ConfigurationService;
|
|
14
14
|
protected scrollToCellViewEmitter: Emitter;
|
|
15
|
-
get onScrollToCellView(): import("@difizen/
|
|
15
|
+
get onScrollToCellView(): import("@difizen/libro-common/app").Event<any>;
|
|
16
16
|
protected cellViewChangeEmitter: Emitter<CellViewChange>;
|
|
17
|
-
get onCellViewChanged(): import("@difizen/
|
|
17
|
+
get onCellViewChanged(): import("@difizen/libro-common/app").Event<CellViewChange>;
|
|
18
18
|
disposeScrollToCellViewEmitter(): void;
|
|
19
19
|
protected onCommandModeChangedEmitter: Emitter<boolean>;
|
|
20
|
-
get onCommandModeChanged(): import("@difizen/
|
|
20
|
+
get onCommandModeChanged(): import("@difizen/libro-common/app").Event<boolean>;
|
|
21
21
|
protected onChangedEmitter: Emitter<boolean>;
|
|
22
|
-
get onChanged(): import("@difizen/
|
|
22
|
+
get onChanged(): import("@difizen/libro-common/app").Event<boolean>;
|
|
23
23
|
protected onSourceChangedEmitter: Emitter<boolean>;
|
|
24
|
-
get onSourceChanged(): import("@difizen/
|
|
24
|
+
get onSourceChanged(): import("@difizen/libro-common/app").Event<boolean>;
|
|
25
25
|
protected onRestartEmitter: Emitter<void>;
|
|
26
|
-
get onRestart(): import("@difizen/
|
|
26
|
+
get onRestart(): import("@difizen/libro-common/app").Event<void>;
|
|
27
27
|
protected onCellContentChangedEmitter: Emitter<ICellContentChange>;
|
|
28
|
-
get onCellContentChanged(): import("@difizen/
|
|
28
|
+
get onCellContentChanged(): import("@difizen/libro-common/app").Event<ICellContentChange>;
|
|
29
29
|
onCellContentChange(change: ICellContentChange): void;
|
|
30
30
|
id: string;
|
|
31
31
|
version: number;
|
package/es/libro-model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-model.d.ts","sourceRoot":"","sources":["../src/libro-model.ts"],"names":[],"mappings":"AACA,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AM,SAAS,MAAM,UAwBhE;IAEF,UAAU,cAAe,QAAQ,YAAY,MAAM,UAcjD;IAEF,SAAS,aAAc,QAAQ,EAAE,YAAY,MAAM,UAejD;IAEF,SAAS,CAAC,eAAe,SAAU,QAAQ,EAAE,aAAa,MAAM,UAwB9D;IAEF,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;IAQtC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;IACxC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAClC,UAAU,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO;IAkBnC;;;;OAIG;IACH,SAAS,CAAC,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ;IAQxD,SAAS,CAAC,YAAY,QAAS,MAAM,GAAG,MAAM,GAAG,QAAQ,aAmBvD;IACF,YAAY,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAG,OAAO;IACzD,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO;IAC/D,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;IAgBzD,aAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,MAAM;IAwCrD;;;;;OAKG;IACH,SAAS,CAAC,gBAAgB,CACxB,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,EAClC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ;IAmBpC;;OAEG;IACH,gBAAgB;IAQhB,aAAa;IAWb,IAAI;IAIJ,IAAI;CAGL"}
|
package/es/libro-model.js
CHANGED
|
@@ -20,10 +20,10 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
20
20
|
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
21
21
|
|
|
22
22
|
import { createMutex, YNotebook } from '@difizen/libro-shared-model';
|
|
23
|
-
import { getOrigin, ConfigurationService } from '@difizen/
|
|
24
|
-
import { Emitter } from '@difizen/
|
|
25
|
-
import { prop } from '@difizen/
|
|
26
|
-
import { inject, transient } from '@difizen/
|
|
23
|
+
import { getOrigin, ConfigurationService } from '@difizen/libro-common/app';
|
|
24
|
+
import { Emitter } from '@difizen/libro-common/app';
|
|
25
|
+
import { prop } from '@difizen/libro-common/app';
|
|
26
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
27
27
|
import { v4 } from 'uuid';
|
|
28
28
|
import { LibroContentService } from "./content/index.js";
|
|
29
29
|
import { isCellView, NotebookOption } from "./libro-protocol.js";
|
package/es/libro-protocol.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import type { IModel, IModelContentChange } from '@difizen/libro-code-editor';
|
|
3
3
|
import type { CellType, ICell, ICellMetadata, INotebookContent, INotebookMetadata } from '@difizen/libro-common';
|
|
4
4
|
import type { ISharedNotebook } from '@difizen/libro-shared-model';
|
|
5
|
-
import type { Disposable, Event } from '@difizen/
|
|
6
|
-
import type { View } from '@difizen/
|
|
5
|
+
import type { Disposable, Event } from '@difizen/libro-common/app';
|
|
6
|
+
import type { View } from '@difizen/libro-common/app';
|
|
7
7
|
import type { LibroCell } from './cell/index.js';
|
|
8
8
|
import type { LibroView } from './libro-view.js';
|
|
9
9
|
import type { VirtualizedManager } from './virtualized-manager.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-protocol.d.ts","sourceRoot":"","sources":["../src/libro-protocol.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,KAAK,EACV,QAAQ,EACR,KAAK,EACL,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,C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AAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,QAAQ,CAAC;IACf,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAGD,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,aAAa,CAAC;CAC3B;AACD,eAAO,MAAM,wBAAwB,eAAqC,CAAC;AAE3E,eAAO,MAAM,+BAA+B,eAE3C,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,CAC5C,IAAI,EAAE,wBAAwB,KAC3B,kBAAkB,CAAC"}
|
package/es/libro-service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Disposable } from '@difizen/
|
|
2
|
-
import { DisposableCollection, Emitter } from '@difizen/
|
|
3
|
-
import { ThemeService, ViewManager } from '@difizen/
|
|
1
|
+
import type { Disposable } from '@difizen/libro-common/app';
|
|
2
|
+
import { DisposableCollection, Emitter } from '@difizen/libro-common/app';
|
|
3
|
+
import { ThemeService, ViewManager } from '@difizen/libro-common/app';
|
|
4
4
|
import type { CellView, ICellContentChange, NotebookOption, NotebookView } from './libro-protocol.js';
|
|
5
5
|
import { ModelFactory, NotebookService } from './libro-protocol.js';
|
|
6
6
|
import { LibroViewTracker } from './libro-view-tracker.js';
|
|
@@ -29,28 +29,28 @@ export declare class LibroService implements NotebookService, Disposable {
|
|
|
29
29
|
constructor(themeService: ThemeService);
|
|
30
30
|
protected _active?: NotebookView;
|
|
31
31
|
protected onActiveChangedEmitter: Emitter<NotebookView | undefined>;
|
|
32
|
-
get onActiveChanged(): import("@difizen/
|
|
32
|
+
get onActiveChanged(): import("@difizen/libro-common/app").Event<import("./libro-view.js").LibroView | undefined>;
|
|
33
33
|
get active(): NotebookView | undefined;
|
|
34
34
|
set active(value: NotebookView | undefined);
|
|
35
35
|
protected _focus?: NotebookView;
|
|
36
36
|
protected onFocusChangedEmitter: Emitter<NotebookView | undefined>;
|
|
37
|
-
get onFocusChanged(): import("@difizen/
|
|
37
|
+
get onFocusChanged(): import("@difizen/libro-common/app").Event<import("./libro-view.js").LibroView | undefined>;
|
|
38
38
|
protected onNotebookViewCreatedEmitter: Emitter<NotebookView>;
|
|
39
|
-
get onNotebookViewCreated(): import("@difizen/
|
|
39
|
+
get onNotebookViewCreated(): import("@difizen/libro-common/app").Event<import("./libro-view.js").LibroView>;
|
|
40
40
|
protected onNotebookViewSavedEmitter: Emitter<NotebookView>;
|
|
41
|
-
get onNotebookViewSaved(): import("@difizen/
|
|
41
|
+
get onNotebookViewSaved(): import("@difizen/libro-common/app").Event<import("./libro-view.js").LibroView>;
|
|
42
42
|
protected onNotebookViewChangedEmitter: Emitter<NotebookViewChange>;
|
|
43
|
-
get onNotebookViewChanged(): import("@difizen/
|
|
43
|
+
get onNotebookViewChanged(): import("@difizen/libro-common/app").Event<NotebookViewChange>;
|
|
44
44
|
protected onNotebookViewClosedEmitter: Emitter<NotebookView>;
|
|
45
|
-
get onNotebookViewClosed(): import("@difizen/
|
|
45
|
+
get onNotebookViewClosed(): import("@difizen/libro-common/app").Event<import("./libro-view.js").LibroView>;
|
|
46
46
|
protected onNotebookCellCreatedEmitter: Emitter<CellView[]>;
|
|
47
|
-
get onNotebookCellCreated(): import("@difizen/
|
|
47
|
+
get onNotebookCellCreated(): import("@difizen/libro-common/app").Event<CellView[]>;
|
|
48
48
|
protected onNotebookCellSavedEmitter: Emitter<CellView[]>;
|
|
49
|
-
get onNotebookCellSaved(): import("@difizen/
|
|
49
|
+
get onNotebookCellSaved(): import("@difizen/libro-common/app").Event<CellView[]>;
|
|
50
50
|
protected onNotebookCellChangedEmitter: Emitter<ICellContentChange>;
|
|
51
|
-
get onNotebookCellChanged(): import("@difizen/
|
|
51
|
+
get onNotebookCellChanged(): import("@difizen/libro-common/app").Event<ICellContentChange>;
|
|
52
52
|
protected onNotebookCellDeletedEmitter: Emitter<CellView[]>;
|
|
53
|
-
get onNotebookCellDeleted(): import("@difizen/
|
|
53
|
+
get onNotebookCellDeleted(): import("@difizen/libro-common/app").Event<CellView[]>;
|
|
54
54
|
get focus(): NotebookView | undefined;
|
|
55
55
|
set focus(value: NotebookView | undefined);
|
|
56
56
|
get hasFocus(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-service.d.ts","sourceRoot":"","sources":["../src/libro-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-service.d.ts","sourceRoot":"","sources":["../src/libro-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAItE,OAAO,KAAK,EACV,QAAQ,EACR,kBAAkB,EAClB,cAAc,EACd,YAAY,EACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,YAAY,EACZ,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,YAAY,CAAC;IACxB,cAAc,EAAE,KAAK,CAAC;QACpB,KAAK,EAAE;YACL,KAAK,EAAE,MAAM,CAAC;YACd,GAAG,EAAE,MAAM,CAAC;SACb,CAAC;QACF,UAAU,EAAE,QAAQ,EAAE,CAAC;QACvB,YAAY,EAAE,QAAQ,EAAE,CAAC;KAC1B,CAAC,CAAC;IACH,WAAW,EAAE,KAAK,CAAC;QACjB,IAAI,EAAE,QAAQ,CAAC;KAChB,CAAC,CAAC;CACJ;AAED,qBACa,YAAa,YAAW,eAAe,EAAE,UAAU;IAC9D,SAAS,CAAC,SAAS,uBAA8B;IAC3B,SAAS,CAAC,iBAAiB,EAAE,YAAY,CAAC;IAC3C,SAAS,CAAC,WAAW,EAAE,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AAqB,kEAExB;IACD,SAAS,CAAC,4BAA4B,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAiB;IAC5E,IAAI,qBAAqB,0DAExB;IAED,IAAI,KAAK,IAAI,YAAY,GAAG,SAAS,CAEpC;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,YAAY,GAAG,SAAS,EAGxC;IAED,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,YAAY,IAAI,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC;IAIzC,wBAAwB,CAAC,QAAQ,EAAE,YAAY;IAO/C,SAAS,CAAC,SAAS,UAAS;IAE5B,gBAAgB,CAAC,OAAO,EAAE,cAAc;IAWlC,eAAe,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,CAAC;IAkBrE,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,YAAY;IAuD9C,SAAS,CAAC,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI;IAKpC,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAIpC,SAAS,CAAC,UAAU,UAAS;IAC7B,IAAI,QAAQ,YAEX;IACD,OAAO;CAIR"}
|
package/es/libro-service.js
CHANGED
|
@@ -14,10 +14,10 @@ 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 { DisposableCollection, Emitter } from '@difizen/
|
|
18
|
-
import { ThemeService, ViewManager } from '@difizen/
|
|
19
|
-
import { inject, singleton } from '@difizen/
|
|
20
|
-
import { prop } from '@difizen/
|
|
17
|
+
import { DisposableCollection, Emitter } from '@difizen/libro-common/app';
|
|
18
|
+
import { ThemeService, ViewManager } from '@difizen/libro-common/app';
|
|
19
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
20
|
+
import { prop } from '@difizen/libro-common/app';
|
|
21
21
|
import { notebookViewFactoryId, ModelFactory, NotebookService } from "./libro-protocol.js";
|
|
22
22
|
import { LibroViewTracker } from "./libro-view-tracker.js";
|
|
23
23
|
export var LibroService = (_dec = singleton({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConfigurationContribution } from '@difizen/
|
|
1
|
+
import { ConfigurationContribution } from '@difizen/libro-common/app';
|
|
2
2
|
export declare class LibroSettingContribution implements ConfigurationContribution {
|
|
3
|
-
registerConfigurations(): import("@difizen/
|
|
3
|
+
registerConfigurations(): import("@difizen/libro-common/app").ConfigurationNode<boolean>[];
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=libro-setting-contribution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-setting-contribution.d.ts","sourceRoot":"","sources":["../src/libro-setting-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-setting-contribution.d.ts","sourceRoot":"","sources":["../src/libro-setting-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAajF,qBACa,wBAAyB,YAAW,yBAAyB;IACxE,sBAAsB;CAYvB"}
|
|
@@ -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, ConfigurationContribution } from '@difizen/
|
|
8
|
+
import { singleton, ConfigurationContribution } from '@difizen/libro-common/app';
|
|
9
9
|
import { AutoInsertWhenNoCell, CellSideToolbarVisible, CellTopToolbarSetting, CollapserClickActive, EnterEditModeWhenAddCell, HeaderToolbarVisible, MultiSelectionWhenShiftClick, RightContentFixed } from "./libro-setting.js";
|
|
10
10
|
export var LibroSettingContribution = (_dec = singleton({
|
|
11
11
|
contrib: ConfigurationContribution
|
package/es/libro-setting.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 HeaderToolbarVisible: ConfigurationNode<boolean>;
|
|
3
3
|
export declare const CellTopToolbarSetting: ConfigurationNode<boolean>;
|
|
4
4
|
export declare const CellSideToolbarVisible: ConfigurationNode<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-setting.d.ts","sourceRoot":"","sources":["../src/libro-setting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-setting.d.ts","sourceRoot":"","sources":["../src/libro-setting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAAC,OAAO,CAS3D,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,CAAC,OAAO,CAS5D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,OAAO,CAS7D,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAAC,OAAO,CAS3D,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAAiB,CAAC,OAAO,CAS/D,CAAC;AACF,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAAC,OAAO,CAS3D,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,OAAO,CASnE,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,CAAC,OAAO,CASxD,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,iBAAiB,CAAC,OAAO,CAS9D,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,CAAC,OAAO,CASxD,CAAC"}
|
package/es/libro-setting.js
CHANGED
package/es/libro-view-tracker.js
CHANGED
|
@@ -5,7 +5,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
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); }
|
|
7
7
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
|
-
import { singleton } from '@difizen/
|
|
8
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
9
9
|
export var LibroViewTracker = (_dec = singleton(), _dec(_class = /*#__PURE__*/_createClass(function LibroViewTracker() {
|
|
10
10
|
_classCallCheck(this, LibroViewTracker);
|
|
11
11
|
this.viewCache = new Map();
|