@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
package/es/libro-view.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IModelContentChange } from '@difizen/libro-code-editor';
|
|
2
|
-
import { BaseView, ViewManager, Deferred, DisposableCollection, Emitter, ConfigurationService } from '@difizen/
|
|
2
|
+
import { BaseView, ViewManager, Deferred, DisposableCollection, Emitter, ConfigurationService } from '@difizen/libro-common/app';
|
|
3
3
|
import type { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
4
|
import { CellService } from './cell/index.js';
|
|
5
5
|
import type { LibroCell } from './cell/index.js';
|
|
@@ -27,13 +27,13 @@ export declare class LibroView extends BaseView implements NotebookView {
|
|
|
27
27
|
dndContentRender: FC<DndContentProps>;
|
|
28
28
|
dndItemRender: React.MemoExoticComponent<ForwardRefExoticComponent<DndItemProps & RefAttributes<HTMLDivElement>>>;
|
|
29
29
|
protected onCellCreateEmitter: Emitter<CellView>;
|
|
30
|
-
get onCellCreate(): import("@difizen/
|
|
30
|
+
get onCellCreate(): import("@difizen/libro-common/app").Event<CellView>;
|
|
31
31
|
protected onCellDeleteEmitter: Emitter<CellView>;
|
|
32
|
-
get onCellDelete(): import("@difizen/
|
|
32
|
+
get onCellDelete(): import("@difizen/libro-common/app").Event<CellView>;
|
|
33
33
|
onBlurEmitter: Emitter;
|
|
34
|
-
get onBlur(): import("@difizen/
|
|
34
|
+
get onBlur(): import("@difizen/libro-common/app").Event<any>;
|
|
35
35
|
onRestartEmitter: Emitter;
|
|
36
|
-
get onRestart(): import("@difizen/
|
|
36
|
+
get onRestart(): import("@difizen/libro-common/app").Event<any>;
|
|
37
37
|
cellService: CellService;
|
|
38
38
|
libroService: LibroService;
|
|
39
39
|
libroSlotManager: LibroSlotManager;
|
|
@@ -51,13 +51,13 @@ export declare class LibroView extends BaseView implements NotebookView {
|
|
|
51
51
|
get hasModal(): boolean;
|
|
52
52
|
saving?: boolean;
|
|
53
53
|
onSaveEmitter: Emitter<boolean>;
|
|
54
|
-
get onSave(): import("@difizen/
|
|
54
|
+
get onSave(): import("@difizen/libro-common/app").Event<boolean>;
|
|
55
55
|
onCellContentChangedEmitter: Emitter<IModelContentChange[]>;
|
|
56
|
-
get onCellContentChanged(): import("@difizen/
|
|
56
|
+
get onCellContentChanged(): import("@difizen/libro-common/app").Event<IModelContentChange[]>;
|
|
57
57
|
runCellEmitter: Emitter<CellView>;
|
|
58
|
-
get onRunCell(): import("@difizen/
|
|
58
|
+
get onRunCell(): import("@difizen/libro-common/app").Event<CellView>;
|
|
59
59
|
cellScrollEmitter: Emitter<void>;
|
|
60
|
-
get onCellScroll(): import("@difizen/
|
|
60
|
+
get onCellScroll(): import("@difizen/libro-common/app").Event<void>;
|
|
61
61
|
protected initializedDefer: Deferred<void>;
|
|
62
62
|
get initialized(): Promise<void>;
|
|
63
63
|
constructor(options: NotebookOption, collapseServiceFactory: CollapseServiceFactory, notebookService: NotebookService, virtualizedManagerHelper: VirtualizedManagerHelper);
|
package/es/libro-view.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-view.d.ts","sourceRoot":"","sources":["../src/libro-view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAMtE,OAAO,EAKL,QAAQ,EAIR,WAAW,EAEX,QAAQ,EAER,oBAAoB,EACpB,OAAO,EAIP,oBAAoB,EAErB,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-view.d.ts","sourceRoot":"","sources":["../src/libro-view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAMtE,OAAO,EAKL,QAAQ,EAIR,WAAW,EAEX,QAAQ,EAER,oBAAoB,EACpB,OAAO,EAIP,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,EAAE,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI1E,OAAO,EACL,WAAW,EAIZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EAAE,eAAe,EAAyB,MAAM,qBAAqB,CAAC;AAC7E,OAAO,KAAK,EACV,WAAW,EACX,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,cAAc,EACf,MAAM,qBAAqB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AAuB,aAOrB;IAEF;;;;;;;;;;;;;OAaG;IACH,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAqChD;;;;;;;;;OASG;IACH,sBAAsB,IAClB;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAChC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,MAAM,EAAE,IAAI,CAAA;KAAE;IAsBhC,qBAAqB,SAAU,QAAQ,UAYrC;IAEF,sBAAsB,SAAU,QAAQ,UAatC;IAEF,yBAAyB,aAOvB;IAEF,wBAAwB,aAOtB;IAEF,QAAQ,UAAS;IAER,OAAO;IAShB,gBAAgB,cAAe,OAAO,UAUpC;IAEF,aAAa,aAIX;IAEF,cAAc,SAAU,QAAQ,UAO9B;IAEF,YAAY,SAAU,QAAQ,UAO5B;IAEF,cAAc,SAAgB,QAAQ,mBA+BpC;IAEF,cAAc,SAAgB,QAAQ,mBA8BpC;IAEF,UAAU,SAAgB,QAAQ,mBAgChC;IACF,aAAa,aAEX;IAEF,SAAS,SAAgB,QAAQ,mBA0C/B;IACF,kBAAkB,aAKhB;IAEF,gBAAgB,aAId;IAEF;;OAEG;IACH,iBAAiB,SAAgB,QAAQ,SAAS,MAAM,mBAqEtD;IAEF,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO;IAI9C,IAAI;CAYL"}
|
package/es/libro-view.js
CHANGED
|
@@ -32,13 +32,13 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
32
32
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
33
33
|
import { ToTopOutlined } from '@ant-design/icons';
|
|
34
34
|
import { concatMultilineString, copy2clipboard, readFromClipboard } from '@difizen/libro-common';
|
|
35
|
-
import { equals, useInject, inject, transient, BaseView, Slot, view, ViewInstance, ViewManager, ViewOption, Deferred, Disposable, DisposableCollection, Emitter, getOrigin, prop, watch, ConfigurationService, useConfigurationValue } from '@difizen/
|
|
35
|
+
import { equals, useInject, inject, transient, BaseView, Slot, view, ViewInstance, ViewManager, ViewOption, Deferred, Disposable, DisposableCollection, Emitter, getOrigin, prop, watch, ConfigurationService, useConfigurationValue } from '@difizen/libro-common/app';
|
|
36
36
|
import { FloatButton, Button, Spin } from 'antd';
|
|
37
37
|
import { forwardRef, memo, useCallback, useEffect, useRef } from 'react';
|
|
38
38
|
import { v4 } from 'uuid';
|
|
39
39
|
import { CellService, EditorCellView, ExecutableCellModel, ExecutableCellView } from "./cell/index.js";
|
|
40
40
|
import { CollapseServiceFactory } from "./collapse-service.js";
|
|
41
|
-
import {
|
|
41
|
+
import { DndCellContainer, DndCellItemRender, DndList } from "./components/index.js";
|
|
42
42
|
import { LibroViewHeader } from "./components/libro-view-header.js";
|
|
43
43
|
import { LibroContextKey } from "./libro-context-key.js";
|
|
44
44
|
import { LibroModel } from "./libro-model.js";
|
|
@@ -54,7 +54,6 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
54
54
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
55
55
|
export var LibroContentComponent = /*#__PURE__*/memo(function LibroContentComponent() {
|
|
56
56
|
var libroSlotManager = useInject(LibroSlotManager);
|
|
57
|
-
var ref = useRef(null);
|
|
58
57
|
var libroViewTopRef = useRef(null);
|
|
59
58
|
var libroViewRightContentRef = useRef(null);
|
|
60
59
|
var libroViewLeftContentRef = useRef(null);
|
|
@@ -116,15 +115,12 @@ export var LibroContentComponent = /*#__PURE__*/memo(function LibroContentCompon
|
|
|
116
115
|
className: "libro-view-content-left",
|
|
117
116
|
style: leftContentStyles,
|
|
118
117
|
ref: libroViewLeftContentRef,
|
|
119
|
-
children: /*#__PURE__*/
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
slotView: LibroSlotView
|
|
126
|
-
})
|
|
127
|
-
})]
|
|
118
|
+
children: /*#__PURE__*/_jsx(DndList, {
|
|
119
|
+
libroView: instance,
|
|
120
|
+
children: /*#__PURE__*/_jsx(Slot, {
|
|
121
|
+
name: libroSlotManager.getSlotName(instance, 'list'),
|
|
122
|
+
slotView: LibroSlotView
|
|
123
|
+
})
|
|
128
124
|
})
|
|
129
125
|
}), /*#__PURE__*/_jsx("div", {
|
|
130
126
|
className: "libro-view-content-right",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Deferred, URI } from '@difizen/
|
|
1
|
+
import { Deferred, URI } from '@difizen/libro-common/app';
|
|
2
2
|
import type { NotebookView } from './libro-protocol.js';
|
|
3
3
|
export declare const ILibroWorkspaceService: unique symbol;
|
|
4
4
|
export interface ILibroWorkspaceService {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-workspace-service.d.ts","sourceRoot":"","sources":["../src/libro-workspace-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-workspace-service.d.ts","sourceRoot":"","sources":["../src/libro-workspace-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAG1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,sBAAsB,eAAmC,CAAC;AACvE,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACrB,IAAI,aAAa,IAAI,GAAG,CAAC;IACzB,IAAI,SAAS,IAAI,YAAY,EAAE,CAAC;IAChC,IAAI,KAAK,IAAI,GAAG,EAAE,CAAC;CACpB;AAED,qBACa,oBAAqB,YAAW,sBAAsB;IACjE,SAAS,CAAC,QAAQ,iBAAwB;IAC1C,KAAK,gBAAyB;IAE9B,IAAI,aAAa,QAEhB;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,KAAK,YAER;CACF"}
|
|
@@ -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 { Deferred, URI } from '@difizen/
|
|
9
|
-
import { singleton } from '@difizen/
|
|
8
|
+
import { Deferred, URI } from '@difizen/libro-common/app';
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
export var ILibroWorkspaceService = Symbol('ILibroWorkspaceService');
|
|
11
11
|
export var BaseWorkspaceService = (_dec = singleton({
|
|
12
12
|
contrib: ILibroWorkspaceService
|
package/es/module.d.ts
CHANGED
package/es/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AA6CvD,eAAO,MAAM,WAAW,YA+ErB,CAAC"}
|
package/es/module.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CodeEditorModule } from '@difizen/libro-code-editor';
|
|
2
|
-
import { ConfigurationModule, ManaAppPreset } from '@difizen/
|
|
3
|
-
import { ManaModule } from '@difizen/
|
|
2
|
+
import { ConfigurationModule, ManaAppPreset } from '@difizen/libro-common/app';
|
|
3
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
4
4
|
import { LibroCellModule } from "./cell/libro-cell-module.js";
|
|
5
5
|
import { CollapseService, CollapseServiceFactory, CollapseServiceOption, DefaultCollapseService } from "./collapse-service.js";
|
|
6
6
|
import { LibroCommandModule } from "./command/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IOutput } from '@difizen/libro-common';
|
|
2
|
-
import type { ViewComponent, Contribution } from '@difizen/
|
|
3
|
-
import { BaseView } from '@difizen/
|
|
4
|
-
import { Emitter } from '@difizen/
|
|
2
|
+
import type { ViewComponent, Contribution } from '@difizen/libro-common/app';
|
|
3
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
4
|
+
import { Emitter } from '@difizen/libro-common/app';
|
|
5
5
|
import type { CellView } from '../libro-protocol.js';
|
|
6
6
|
import type { BaseOutputArea, BaseOutputView, IOutputAreaOption } from './output-protocol.js';
|
|
7
7
|
import { OutputContribution } from './output-protocol.js';
|
|
@@ -20,7 +20,7 @@ export declare class LibroOutputArea extends BaseView implements BaseOutputArea
|
|
|
20
20
|
* @internal
|
|
21
21
|
*/
|
|
22
22
|
onUpdateEmitter: Emitter<void>;
|
|
23
|
-
get onUpdate(): import("@difizen/
|
|
23
|
+
get onUpdate(): import("@difizen/libro-common/app").Event<void>;
|
|
24
24
|
get(index: number): BaseOutputView;
|
|
25
25
|
protected doCreateOutput(options: IOutput): Promise<BaseOutputView>;
|
|
26
26
|
add: (output: IOutput) => Promise<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-area.d.ts","sourceRoot":"","sources":["../../src/output/output-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"output-area.d.ts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UAAU,OAAO,mBASzC;IACF,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS;IAUhC,QAAQ,WAAkB,OAAO,EAAE,mBAQjC;IACF,MAAM,QAAO,OAAO,EAAE,CAEpB;IAEF,aAAa,CAAC,IAAI,EAAE,QAAQ;IAI5B,SAAS,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,kBAAkB;IAS5D;;;;;OAKG;IAEH,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE;QAC/B,MAAM,EAAE,OAAO,CAAC;QAChB,SAAS,EAAE,cAAc,CAAC;KAC3B,GAAG,OAAO;CAGZ;AAoCD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE3D;AAED;;GAEG;AAEH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,CAK1D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAQtD"}
|
package/es/output/output-area.js
CHANGED
|
@@ -29,8 +29,8 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol
|
|
|
29
29
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
30
30
|
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; }
|
|
31
31
|
import { isError, isStream } from '@difizen/libro-common';
|
|
32
|
-
import { ViewOption, getOrigin, ViewRender, BaseView, Priority, useInject, view, ViewInstance } from '@difizen/
|
|
33
|
-
import { Emitter, prop, contrib, inject, transient } from '@difizen/
|
|
32
|
+
import { ViewOption, getOrigin, ViewRender, BaseView, Priority, useInject, view, ViewInstance } from '@difizen/libro-common/app';
|
|
33
|
+
import { Emitter, prop, contrib, inject, transient } from '@difizen/libro-common/app';
|
|
34
34
|
import { useEffect, forwardRef } from 'react';
|
|
35
35
|
import { v4 } from 'uuid';
|
|
36
36
|
import { ExecutableCellView } from "../cell/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewManager } from '@difizen/
|
|
1
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
2
2
|
import { LibroOutputView } from './output-model.js';
|
|
3
3
|
import type { IOutputOptions } from './output-protocol.js';
|
|
4
4
|
import { OutputContribution } from './output-protocol.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-contribution.d.ts","sourceRoot":"","sources":["../../src/output/output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"output-contribution.d.ts","sourceRoot":"","sources":["../../src/output/output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBACa,yBAA0B,YAAW,kBAAkB;IAC7C,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,eAAW;IACpB,OAAO,CAAC,MAAM,EAAE,cAAc;CAG/B"}
|
|
@@ -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, ViewManager } from '@difizen/
|
|
11
|
+
import { inject, singleton, ViewManager } from '@difizen/libro-common/app';
|
|
12
12
|
import { LibroOutputView } from "./output-model.js";
|
|
13
13
|
import { OutputContribution } from "./output-protocol.js";
|
|
14
14
|
export var DefaultOutputContribution = (_dec = singleton({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IOutput, JSONObject, PartialJSONObject } from '@difizen/libro-common';
|
|
2
|
-
import { BaseView } from '@difizen/
|
|
2
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
3
3
|
import type { FC } from 'react';
|
|
4
4
|
import type { CellView } from '../libro-protocol.js';
|
|
5
5
|
import type { IOutputOptions } from './output-protocol.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-model.d.ts","sourceRoot":"","sources":["../../src/output/output-model.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAA0B,MAAM,
|
|
1
|
+
{"version":3,"file":"output-model.d.ts","sourceRoot":"","sources":["../../src/output/output-model.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAA0B,MAAM,2BAA2B,CAAC;AAE7E,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAS5E,qBAEa,eAAgB,SAAQ,QAAS,YAAW,cAAc;IAC5D,EAAE,SAAQ;IAGnB,IAAI,EAAE,QAAQ,CAAC;IAGf,GAAG,EAAE,OAAO,CAAC;IAGb,UAAU,UAAQ;IAGlB,IAAI,EAAE,UAAU,CAAC;IAEjB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;gBACe,OAAO,EAAE,cAAc;IAUvD,MAAM,EAAE,EAAE,CAAC;QAAE,MAAM,EAAE,cAAc,CAAA;KAAE,CAAC,CAA0B;IAEvD,OAAO;IAGhB,MAAM;IAGN,OAAO,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CAQxC;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,wBAAkB,CAAC"}
|
|
@@ -17,8 +17,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
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 _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; }
|
|
19
19
|
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.'); }
|
|
20
|
-
import { BaseView, prop, view, ViewOption } from '@difizen/
|
|
21
|
-
import { inject, transient } from '@difizen/
|
|
20
|
+
import { BaseView, prop, view, ViewOption } from '@difizen/libro-common/app';
|
|
21
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
22
22
|
import { v4 } from 'uuid';
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
var LibroOutputModelRender = function LibroOutputModelRender(props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-module.d.ts","sourceRoot":"","sources":["../../src/output/output-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"output-module.d.ts","sourceRoot":"","sources":["../../src/output/output-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAOvD,eAAO,MAAM,YAAY,YAEgD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManaModule } from '@difizen/
|
|
1
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
2
2
|
import { LibroOutputArea } from "./output-area.js";
|
|
3
3
|
import { DefaultOutputContribution } from "./output-contribution.js";
|
|
4
4
|
import { LibroOutputModel } from "./output-model.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IOutput, ReadonlyPartialJSONObject, JSONObject } from '@difizen/libro-common';
|
|
2
|
-
import type { Event } from '@difizen/
|
|
3
|
-
import type { View } from '@difizen/
|
|
4
|
-
import { Syringe } from '@difizen/
|
|
2
|
+
import type { Event } from '@difizen/libro-common/app';
|
|
3
|
+
import type { View } from '@difizen/libro-common/app';
|
|
4
|
+
import { Syringe } from '@difizen/libro-common/app';
|
|
5
5
|
import type { CellView } from '../libro-protocol.js';
|
|
6
6
|
export declare const CellOption: unique symbol;
|
|
7
7
|
export interface IOutputAreaOption {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-protocol.d.ts","sourceRoot":"","sources":["../../src/output/output-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,yBAAyB,EACzB,UAAU,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"output-protocol.d.ts","sourceRoot":"","sources":["../../src/output/output-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,yBAAyB,EACzB,UAAU,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,UAAU,eAAuB,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI;IAC1C;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB;;OAEG;IAGH;;OAEG;IACH,GAAG,EAAE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H,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;AAEvF,eAAO,MAAM,kBAAkB,sBAA4C,CAAC;AAC5E,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,MAAM,CAAC;IACvC,OAAO,EAAE,kBAAkB,CAAC;CAC7B"}
|
package/es/settings/module.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/settings/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/settings/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,cAAc,YAEK,CAAC"}
|
package/es/settings/module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManaModule } from '@difizen/
|
|
1
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
2
2
|
import { SettingEditorModule } from "./setting-editor/index.js";
|
|
3
3
|
import { SettingsContribution } from "./settings-contribution.js";
|
|
4
4
|
export var SettingsModule = ManaModule.create().register(SettingsContribution).dependOn(SettingEditorModule);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ConfigurationNode } from '@difizen/
|
|
2
|
-
import { BaseView } from '@difizen/
|
|
1
|
+
import type { ConfigurationNode } from '@difizen/libro-common/app';
|
|
2
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import './index.less';
|
|
5
5
|
export declare const ConfigurationNodeRender: React.FC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration-panel-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/configuration-panel-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"configuration-panel-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/configuration-panel-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,QAAQ,EAST,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,CAAC;AAOtB,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAA;CAAE,CAwC9E,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAerD,CAAC;AAEF,qBAEa,sBAAuB,SAAQ,QAAQ;IACzC,IAAI,eAAqC;IAGlD,kBAAkB,EAAE,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAM;CACnD"}
|
|
@@ -24,7 +24,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
24
24
|
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; }
|
|
25
25
|
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; } }
|
|
26
26
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
27
|
-
import { BaseView, prop, transient, useInject, view, ViewInstance, ConfigurationRenderRegistry, useConfigurationValue, SchemaValidator } from '@difizen/
|
|
27
|
+
import { BaseView, prop, transient, useInject, view, ViewInstance, ConfigurationRenderRegistry, useConfigurationValue, SchemaValidator } from '@difizen/libro-common/app';
|
|
28
28
|
import { Form } from 'antd';
|
|
29
29
|
import React from 'react';
|
|
30
30
|
import "./index.less";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ConfigurationRender } from '@difizen/
|
|
2
|
-
import { ConfigurationRenderContribution } from '@difizen/
|
|
1
|
+
import type { ConfigurationRender } from '@difizen/libro-common/app';
|
|
2
|
+
import { ConfigurationRenderContribution } from '@difizen/libro-common/app';
|
|
3
3
|
export declare class DefaultConfigurationRenderContribution implements ConfigurationRenderContribution {
|
|
4
4
|
registerConfigurationRenders(): ConfigurationRender[];
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration-render-contribution.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/configuration-render-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"configuration-render-contribution.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/configuration-render-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAa,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAWvF,qBACa,sCACX,YAAW,+BAA+B;IAE1C,4BAA4B,IAAI,mBAAmB,EAAE;CAgEtD"}
|
|
@@ -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, ConfigurationRenderContribution } from '@difizen/
|
|
8
|
+
import { singleton, ConfigurationRenderContribution } from '@difizen/libro-common/app';
|
|
9
9
|
import { DefaultCheckbox, DefaultInput, DefaultInputNumber, DefaultSelect, DefaultSwitch, DefaultDatePicker } from "./default-node-render.js";
|
|
10
10
|
export var DefaultConfigurationRenderContribution = (_dec = singleton({
|
|
11
11
|
contrib: [ConfigurationRenderContribution]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RenderProps } from '@difizen/
|
|
1
|
+
import type { RenderProps } from '@difizen/libro-common/app';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare const DefaultInput: React.FC<RenderProps<string>>;
|
|
4
4
|
export declare const DefaultInputNumber: React.FC<RenderProps<number>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-node-render.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/default-node-render.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"default-node-render.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/default-node-render.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAI7D,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAEtD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAW5D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAS1D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAExD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAYvD,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAQ3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuB,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuB,MAAM,2BAA2B,CAAC;AAQ5E,eAAO,MAAM,mBAAmB,YAQA,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManaModule, ConfigurationModule } from '@difizen/
|
|
1
|
+
import { ManaModule, ConfigurationModule } from '@difizen/libro-common/app';
|
|
2
2
|
import { ConfigurationPanelView } from "./configuration-panel-view.js";
|
|
3
3
|
import { DefaultConfigurationRenderContribution } from "./configuration-render-contribution.js";
|
|
4
4
|
import { SettingEditorView } from "./setting-editor-view.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
-
import { BaseView, ViewManager, ConfigurationRegistry } from '@difizen/
|
|
2
|
+
import { BaseView, ViewManager, ConfigurationRegistry } from '@difizen/libro-common/app';
|
|
3
3
|
import { ConfigurationPanelView } from './configuration-panel-view.js';
|
|
4
4
|
export declare const SettingEditorComponent: React.FC;
|
|
5
5
|
export declare class SettingEditorView extends BaseView {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting-editor-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-editor-view.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"setting-editor-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-editor-view.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,QAAQ,EAKR,WAAW,EAKX,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EA0B1C,CAAC;AAEF,qBAEa,iBAAkB,SAAQ,QAAQ;IACpC,IAAI,yBAA0B;IAEvC,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IAChE,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;gBAGX,qBAAqB,EAAE,qBAAqB,EACtD,WAAW,EAAE,WAAW;IAQ/C,kBAAkB,CAAC,EAAE,sBAAsB,CAAC;IAE7B,WAAW;IAKpB,SAAS;IAYT,YAAY;CAQnB"}
|
|
@@ -24,8 +24,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
24
24
|
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; }
|
|
25
25
|
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; } }
|
|
26
26
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
27
|
+
import { SplitPanel } from '@difizen/libro-common/react';
|
|
28
|
+
import { BaseView, view, singleton, ViewRender, inject, ViewManager, useInject, ViewInstance, prop, URI, ConfigurationRegistry } from '@difizen/libro-common/app';
|
|
29
29
|
import { useEffect, useState } from 'react';
|
|
30
30
|
import { ConfigurationPanelView } from "./configuration-panel-view.js";
|
|
31
31
|
import { SettingTreeView } from "./setting-tree-view.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ConfigurationRegistry, URI } from '@difizen/
|
|
2
|
-
import { FileService } from '@difizen/
|
|
3
|
-
import type { FileStatWithMetadata } from '@difizen/
|
|
1
|
+
import { ConfigurationRegistry, URI } from '@difizen/libro-common/app';
|
|
2
|
+
import { FileService } from '@difizen/libro-common/app';
|
|
3
|
+
import type { FileStatWithMetadata } from '@difizen/libro-common/app';
|
|
4
4
|
export declare class SettingTreeService extends FileService {
|
|
5
5
|
protected readonly configurationRegistry: ConfigurationRegistry;
|
|
6
6
|
constructor(configurationRegistry: ConfigurationRegistry);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting-tree-service.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-tree-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,qBAAqB,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"setting-tree-service.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-tree-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,qBAAqB,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAa,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAYtE,qBACa,kBAAmB,SAAQ,WAAW;IACjD,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;gBAE/B,qBAAqB,EAAE,qBAAqB;IAM9D,OAAO,CACpB,QAAQ,EAAE,GAAG,GAEZ,OAAO,CAAC,oBAAoB,CAAC;CAsDjC"}
|
|
@@ -24,8 +24,8 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
24
24
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25
25
|
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; } }
|
|
26
26
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
27
|
-
import { inject, ConfigurationRegistry, URI } from '@difizen/
|
|
28
|
-
import { FileService, singleton } from '@difizen/
|
|
27
|
+
import { inject, ConfigurationRegistry, URI } from '@difizen/libro-common/app';
|
|
28
|
+
import { FileService, singleton } from '@difizen/libro-common/app';
|
|
29
29
|
var defaultFileMeta = {
|
|
30
30
|
mtime: 0,
|
|
31
31
|
ctime: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommandRegistry, FileTreeModel, FileTreeView, LabelProvider, SelectionService, TreeDecoratorService, TreeProps, TreeViewDecorator } from '@difizen/
|
|
2
|
-
import type { TreeNode } from '@difizen/
|
|
1
|
+
import { CommandRegistry, FileTreeModel, FileTreeView, LabelProvider, SelectionService, TreeDecoratorService, TreeProps, TreeViewDecorator } from '@difizen/libro-common/app';
|
|
2
|
+
import type { TreeNode } from '@difizen/libro-common/app';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import './index.less';
|
|
5
5
|
export declare const SettingTreeFactoryId = "setting-editor-tree";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting-tree-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-tree-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,aAAa,EACb,YAAY,EAGZ,aAAa,EACb,gBAAgB,EAEhB,oBAAoB,EACpB,SAAS,EAET,iBAAiB,EAElB,MAAM,
|
|
1
|
+
{"version":3,"file":"setting-tree-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-tree-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,aAAa,EACb,YAAY,EAGZ,aAAa,EACb,gBAAgB,EAEhB,oBAAoB,EACpB,SAAS,EAET,iBAAiB,EAElB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,oBAAoB,wBAAwB,CAAC;AAC1D,eAAO,MAAM,iBAAiB,yFAW7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAExC,CAAC;AAQF,qBAEa,eAAgB,SAAQ,YAAY;IAC/C,SAAS,CAAC,OAAO,EAAE,eAAe,CAAC;IACnC,SAAkB,KAAK,EAAE,SAAS,CAAC;IACnC,SAAkB,KAAK,EAAE,aAAa,CAAC;IACvC,SAAkB,iBAAiB,EAAE,iBAAiB,CAAC;IACvD,SAAkB,gBAAgB,EAAE,gBAAgB,CAAC;IACrD,SAAkB,aAAa,EAAE,aAAa,CAAC;IAC/C,mBAA4B,gBAAgB,EAAE,oBAAoB,CAAC;gBAGxC,OAAO,EAAE,eAAe,EAC9B,KAAK,EAAE,SAAS,EACZ,KAAK,EAAE,aAAa,EAChB,iBAAiB,EAAE,iBAAiB,EACrC,gBAAgB,EAAE,gBAAgB,EACrC,aAAa,EAAE,aAAa,EAEnD,gBAAgB,EAAE,oBAAoB;IAqB/B,gBAAgB,CACvB,IAAI,EAAE,QAAQ,GAAG,SAAS,EAC1B,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,GACnC,IAAI;CAMR"}
|
|
@@ -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 { CommandRegistry, FileStatNode, FileTreeModel, FileTreeView, FileTreeViewModule, inject, LabelProvider, SelectionService, singleton, TreeDecoratorService, TreeProps, TreeViewComponent, TreeViewDecorator, view } from '@difizen/
|
|
18
|
-
import { l10n } from '@difizen/
|
|
17
|
+
import { CommandRegistry, FileStatNode, FileTreeModel, FileTreeView, FileTreeViewModule, inject, LabelProvider, SelectionService, singleton, TreeDecoratorService, TreeProps, TreeViewComponent, TreeViewDecorator, view } from '@difizen/libro-common/app';
|
|
18
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
19
19
|
import React, { forwardRef } from 'react';
|
|
20
20
|
import "./index.less";
|
|
21
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ModalContribution, ToolbarContribution } from '@difizen/
|
|
2
|
-
import type { ToolbarRegistry } from '@difizen/
|
|
1
|
+
import { ModalContribution, ToolbarContribution } from '@difizen/libro-common/app';
|
|
2
|
+
import type { ToolbarRegistry } from '@difizen/libro-common/app';
|
|
3
3
|
export declare class SettingsContribution implements ModalContribution, ToolbarContribution {
|
|
4
|
-
registerModal(): import("@difizen/
|
|
4
|
+
registerModal(): import("@difizen/libro-common/app").ModalItem<any>;
|
|
5
5
|
registerToolbarItems(registry: ToolbarRegistry): void;
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=settings-contribution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-contribution.d.ts","sourceRoot":"","sources":["../../src/settings/settings-contribution.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"settings-contribution.d.ts","sourceRoot":"","sources":["../../src/settings/settings-contribution.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAOjE,qBACa,oBAAqB,YAAW,iBAAiB,EAAE,mBAAmB;IACjF,aAAa;IAIb,oBAAoB,CAAC,QAAQ,EAAE,eAAe;CAS/C"}
|
|
@@ -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 { ModalContribution, singleton, ToolbarContribution } from '@difizen/
|
|
9
|
-
import { l10n } from '@difizen/
|
|
8
|
+
import { ModalContribution, singleton, ToolbarContribution } from '@difizen/libro-common/app';
|
|
9
|
+
import { l10n } from '@difizen/libro-common/l10n';
|
|
10
10
|
import { DocumentCommands } from "../command/document-commands.js";
|
|
11
11
|
import { SettingsModal } from "./settings-modal.js";
|
|
12
12
|
export var SettingsContribution = (_dec = singleton({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ModalItem, ModalItemProps } from '@difizen/
|
|
1
|
+
import type { ModalItem, ModalItemProps } from '@difizen/libro-common/app';
|
|
2
2
|
import './settings-modal.less';
|
|
3
3
|
export declare function SettingsModalComponent({ visible, close }: ModalItemProps<void>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare const SettingsModal: ModalItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-modal.d.ts","sourceRoot":"","sources":["../../src/settings/settings-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"settings-modal.d.ts","sourceRoot":"","sources":["../../src/settings/settings-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAS3E,OAAO,uBAAuB,CAAC;AAE/B,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,2CAkC9E;AAED,eAAO,MAAM,aAAa,EAAE,SAG3B,CAAC"}
|