@univerjs/sheets-ui 0.1.0-alpha.1
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/LICENSE +21 -0
- package/README.md +16 -0
- package/lib/cjs/index.js +21729 -0
- package/lib/cjs/locale/en-US.js +605 -0
- package/lib/cjs/locale/zh-CN.js +442 -0
- package/lib/esm/index.js +21640 -0
- package/lib/esm/locale/en-US.js +584 -0
- package/lib/esm/locale/zh-CN.js +421 -0
- package/lib/index.css +587 -0
- package/lib/types/basics/const/default-univer-sheet-config.d.ts +127 -0
- package/lib/types/basics/const/default-univer-sheet-config.d.ts.map +1 -0
- package/lib/types/basics/const/index.d.ts +3 -0
- package/lib/types/basics/const/index.d.ts.map +1 -0
- package/lib/types/basics/const/plugin-name.d.ts +2 -0
- package/lib/types/basics/const/plugin-name.d.ts.map +1 -0
- package/lib/types/basics/editor/get-editor-object.d.ts +9 -0
- package/lib/types/basics/editor/get-editor-object.d.ts.map +1 -0
- package/lib/types/basics/index.d.ts +3 -0
- package/lib/types/basics/index.d.ts.map +1 -0
- package/lib/types/basics/interfaces/cell.d.ts +6 -0
- package/lib/types/basics/interfaces/cell.d.ts.map +1 -0
- package/lib/types/basics/interfaces/component-config/i-sheet-ui-plugin-config.d.ts +13 -0
- package/lib/types/basics/interfaces/component-config/i-sheet-ui-plugin-config.d.ts.map +1 -0
- package/lib/types/basics/interfaces/component-config/index.d.ts +3 -0
- package/lib/types/basics/interfaces/component-config/index.d.ts.map +1 -0
- package/lib/types/basics/interfaces/component-config/sheet-container-config.d.ts +20 -0
- package/lib/types/basics/interfaces/component-config/sheet-container-config.d.ts.map +1 -0
- package/lib/types/basics/interfaces/component-config/toolbar-config.d.ts +25 -0
- package/lib/types/basics/interfaces/component-config/toolbar-config.d.ts.map +1 -0
- package/lib/types/basics/interfaces/index.d.ts +2 -0
- package/lib/types/basics/interfaces/index.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/auto-fill.controller.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/auto-fill.controller.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/create-selection-command-test-bed.d.ts +29 -0
- package/lib/types/commands/commands/__tests__/create-selection-command-test-bed.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-frozen.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-frozen.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/__tests__/set-selections.command.spec.d.ts +2 -0
- package/lib/types/commands/commands/__tests__/set-selections.command.spec.d.ts.map +1 -0
- package/lib/types/commands/commands/auto-fill.command.d.ts +20 -0
- package/lib/types/commands/commands/auto-fill.command.d.ts.map +1 -0
- package/lib/types/commands/commands/clipboard.command.d.ts +12 -0
- package/lib/types/commands/commands/clipboard.command.d.ts.map +1 -0
- package/lib/types/commands/commands/inline-format.command.d.ts +15 -0
- package/lib/types/commands/commands/inline-format.command.d.ts.map +1 -0
- package/lib/types/commands/commands/refill.command.d.ts +3 -0
- package/lib/types/commands/commands/refill.command.d.ts.map +1 -0
- package/lib/types/commands/commands/rename.command.d.ts +3 -0
- package/lib/types/commands/commands/rename.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-format-painter.command.d.ts +12 -0
- package/lib/types/commands/commands/set-format-painter.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-frozen.command.d.ts +14 -0
- package/lib/types/commands/commands/set-frozen.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-scroll.command.d.ts +24 -0
- package/lib/types/commands/commands/set-scroll.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-selection-frozen.command.d.ts +3 -0
- package/lib/types/commands/commands/set-selection-frozen.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-selection.command.d.ts +40 -0
- package/lib/types/commands/commands/set-selection.command.d.ts.map +1 -0
- package/lib/types/commands/commands/set-zoom-ratio.command.d.ts +16 -0
- package/lib/types/commands/commands/set-zoom-ratio.command.d.ts.map +1 -0
- package/lib/types/commands/commands/unhide.command.d.ts +3 -0
- package/lib/types/commands/commands/unhide.command.d.ts.map +1 -0
- package/lib/types/commands/operations/activate-cell-edit.operation.d.ts +4 -0
- package/lib/types/commands/operations/activate-cell-edit.operation.d.ts.map +1 -0
- package/lib/types/commands/operations/cell-edit.operation.d.ts +9 -0
- package/lib/types/commands/operations/cell-edit.operation.d.ts.map +1 -0
- package/lib/types/commands/operations/scroll.operation.d.ts +4 -0
- package/lib/types/commands/operations/scroll.operation.d.ts.map +1 -0
- package/lib/types/commands/operations/selection.operation.d.ts +12 -0
- package/lib/types/commands/operations/selection.operation.d.ts.map +1 -0
- package/lib/types/commands/operations/set-editor-resize.operation.d.ts +3 -0
- package/lib/types/commands/operations/set-editor-resize.operation.d.ts.map +1 -0
- package/lib/types/commands/operations/set-format-painter.operation.d.ts +7 -0
- package/lib/types/commands/operations/set-format-painter.operation.d.ts.map +1 -0
- package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts +10 -0
- package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts.map +1 -0
- package/lib/types/common/keys.d.ts +22 -0
- package/lib/types/common/keys.d.ts.map +1 -0
- package/lib/types/components/border-panel/BorderPanel.d.ts +4 -0
- package/lib/types/components/border-panel/BorderPanel.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/BorderLine.d.ts +8 -0
- package/lib/types/components/border-panel/border-line/BorderLine.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts.map +1 -0
- package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts +3 -0
- package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts.map +1 -0
- package/lib/types/components/border-panel/index.d.ts +1 -0
- package/lib/types/components/border-panel/index.d.ts.map +1 -0
- package/lib/types/components/border-panel/interface.d.ts +11 -0
- package/lib/types/components/border-panel/interface.d.ts.map +1 -0
- package/lib/types/components/color-picker/index.d.ts +3 -0
- package/lib/types/components/color-picker/index.d.ts.map +1 -0
- package/lib/types/components/color-picker/interface.d.ts +2 -0
- package/lib/types/components/color-picker/interface.d.ts.map +1 -0
- package/lib/types/components/const.d.ts +2 -0
- package/lib/types/components/const.d.ts.map +1 -0
- package/lib/types/components/font-family/FontFamily.d.ts +4 -0
- package/lib/types/components/font-family/FontFamily.d.ts.map +1 -0
- package/lib/types/components/font-family/FontFamilyItem.d.ts +4 -0
- package/lib/types/components/font-family/FontFamilyItem.d.ts.map +1 -0
- package/lib/types/components/font-family/index.d.ts +4 -0
- package/lib/types/components/font-family/index.d.ts.map +1 -0
- package/lib/types/components/font-family/interface.d.ts +10 -0
- package/lib/types/components/font-family/interface.d.ts.map +1 -0
- package/lib/types/components/font-size/FontSize.d.ts +4 -0
- package/lib/types/components/font-size/FontSize.d.ts.map +1 -0
- package/lib/types/components/font-size/index.d.ts +3 -0
- package/lib/types/components/font-size/index.d.ts.map +1 -0
- package/lib/types/components/font-size/interface.d.ts +9 -0
- package/lib/types/components/font-size/interface.d.ts.map +1 -0
- package/lib/types/components/menu-item-input/MenuItemInput.d.ts +4 -0
- package/lib/types/components/menu-item-input/MenuItemInput.d.ts.map +1 -0
- package/lib/types/components/menu-item-input/index.d.ts +3 -0
- package/lib/types/components/menu-item-input/index.d.ts.map +1 -0
- package/lib/types/components/menu-item-input/interface.d.ts +7 -0
- package/lib/types/components/menu-item-input/interface.d.ts.map +1 -0
- package/lib/types/components/range-selector/RangeSelector.d.ts +7 -0
- package/lib/types/components/range-selector/RangeSelector.d.ts.map +1 -0
- package/lib/types/controllers/auto-fill.controller.d.ts +32 -0
- package/lib/types/controllers/auto-fill.controller.d.ts.map +1 -0
- package/lib/types/controllers/auto-height.controller.d.ts +15 -0
- package/lib/types/controllers/auto-height.controller.d.ts.map +1 -0
- package/lib/types/controllers/clipboard/clipboard.controller.d.ts +25 -0
- package/lib/types/controllers/clipboard/clipboard.controller.d.ts.map +1 -0
- package/lib/types/controllers/clipboard/utils.d.ts +36 -0
- package/lib/types/controllers/clipboard/utils.d.ts.map +1 -0
- package/lib/types/controllers/contextmenu/contextmenu.controller.d.ts +20 -0
- package/lib/types/controllers/contextmenu/contextmenu.controller.d.ts.map +1 -0
- package/lib/types/controllers/editor/editing.controller.d.ts +16 -0
- package/lib/types/controllers/editor/editing.controller.d.ts.map +1 -0
- package/lib/types/controllers/editor/end-edit.controller.d.ts +36 -0
- package/lib/types/controllers/editor/end-edit.controller.d.ts.map +1 -0
- package/lib/types/controllers/editor/formula-editor.controller.d.ts +28 -0
- package/lib/types/controllers/editor/formula-editor.controller.d.ts.map +1 -0
- package/lib/types/controllers/editor/initialize-editor.controller.d.ts +13 -0
- package/lib/types/controllers/editor/initialize-editor.controller.d.ts.map +1 -0
- package/lib/types/controllers/editor/start-edit.controller.d.ts +49 -0
- package/lib/types/controllers/editor/start-edit.controller.d.ts.map +1 -0
- package/lib/types/controllers/editor-bridge.controller.d.ts +29 -0
- package/lib/types/controllers/editor-bridge.controller.d.ts.map +1 -0
- package/lib/types/controllers/format-painter/format-painter.controller.d.ts +17 -0
- package/lib/types/controllers/format-painter/format-painter.controller.d.ts.map +1 -0
- package/lib/types/controllers/freeze.controller.d.ts +57 -0
- package/lib/types/controllers/freeze.controller.d.ts.map +1 -0
- package/lib/types/controllers/header-menu.controller.d.ts +27 -0
- package/lib/types/controllers/header-menu.controller.d.ts.map +1 -0
- package/lib/types/controllers/header-move.controller.d.ts +39 -0
- package/lib/types/controllers/header-move.controller.d.ts.map +1 -0
- package/lib/types/controllers/header-resize.controller.d.ts +27 -0
- package/lib/types/controllers/header-resize.controller.d.ts.map +1 -0
- package/lib/types/controllers/header-unhide.controller.d.ts +21 -0
- package/lib/types/controllers/header-unhide.controller.d.ts.map +1 -0
- package/lib/types/controllers/menu/__tests__/create-menu-test-bed.d.ts +7 -0
- package/lib/types/controllers/menu/__tests__/create-menu-test-bed.d.ts.map +1 -0
- package/lib/types/controllers/menu/__tests__/menu.spec.d.ts +2 -0
- package/lib/types/controllers/menu/__tests__/menu.spec.d.ts.map +1 -0
- package/lib/types/controllers/menu/__tests__/row-col.menu.spec.d.ts +2 -0
- package/lib/types/controllers/menu/__tests__/row-col.menu.spec.d.ts.map +1 -0
- package/lib/types/controllers/menu/border.menu.d.ts +5 -0
- package/lib/types/controllers/menu/border.menu.d.ts.map +1 -0
- package/lib/types/controllers/menu/clear.menu.d.ts +6 -0
- package/lib/types/controllers/menu/clear.menu.d.ts.map +1 -0
- package/lib/types/controllers/menu/delete.menu.d.ts +7 -0
- package/lib/types/controllers/menu/delete.menu.d.ts.map +1 -0
- package/lib/types/controllers/menu/insert.menu.d.ts +12 -0
- package/lib/types/controllers/menu/insert.menu.d.ts.map +1 -0
- package/lib/types/controllers/menu/menu.d.ts +79 -0
- package/lib/types/controllers/menu/menu.d.ts.map +1 -0
- package/lib/types/controllers/menu/merge.menu.d.ts +8 -0
- package/lib/types/controllers/menu/merge.menu.d.ts.map +1 -0
- package/lib/types/controllers/menu/sheet.menu.d.ts +10 -0
- package/lib/types/controllers/menu/sheet.menu.d.ts.map +1 -0
- package/lib/types/controllers/move-range.controller.d.ts +11 -0
- package/lib/types/controllers/move-range.controller.d.ts.map +1 -0
- package/lib/types/controllers/navigation/navigation.controller.d.ts +8 -0
- package/lib/types/controllers/navigation/navigation.controller.d.ts.map +1 -0
- package/lib/types/controllers/scroll.controller.d.ts +24 -0
- package/lib/types/controllers/scroll.controller.d.ts.map +1 -0
- package/lib/types/controllers/selection.controller.d.ts +27 -0
- package/lib/types/controllers/selection.controller.d.ts.map +1 -0
- package/lib/types/controllers/sheet-render.controller.d.ts +19 -0
- package/lib/types/controllers/sheet-render.controller.d.ts.map +1 -0
- package/lib/types/controllers/sheet-ui.controller.d.ts +15 -0
- package/lib/types/controllers/sheet-ui.controller.d.ts.map +1 -0
- package/lib/types/controllers/shortcuts/editor.shortcut.d.ts +12 -0
- package/lib/types/controllers/shortcuts/editor.shortcut.d.ts.map +1 -0
- package/lib/types/controllers/shortcuts/operation.shortcut.d.ts +4 -0
- package/lib/types/controllers/shortcuts/operation.shortcut.d.ts.map +1 -0
- package/lib/types/controllers/shortcuts/selection.shortcut.d.ts +24 -0
- package/lib/types/controllers/shortcuts/selection.shortcut.d.ts.map +1 -0
- package/lib/types/controllers/shortcuts/style.shortcut.d.ts +6 -0
- package/lib/types/controllers/shortcuts/style.shortcut.d.ts.map +1 -0
- package/lib/types/controllers/shortcuts/utils.d.ts +9 -0
- package/lib/types/controllers/shortcuts/utils.d.ts.map +1 -0
- package/lib/types/controllers/shortcuts/value.shortcut.d.ts +3 -0
- package/lib/types/controllers/shortcuts/value.shortcut.d.ts.map +1 -0
- package/lib/types/controllers/shortcuts/view.shortcut.d.ts +5 -0
- package/lib/types/controllers/shortcuts/view.shortcut.d.ts.map +1 -0
- package/lib/types/controllers/status-bar.controller.d.ts +16 -0
- package/lib/types/controllers/status-bar.controller.d.ts.map +1 -0
- package/lib/types/controllers/utils/component-tools.d.ts +30 -0
- package/lib/types/controllers/utils/component-tools.d.ts.map +1 -0
- package/lib/types/controllers/zoom.controller.d.ts +24 -0
- package/lib/types/controllers/zoom.controller.d.ts.map +1 -0
- package/lib/types/index.d.ts +26 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/locale/en-US.d.ts +471 -0
- package/lib/types/locale/en-US.d.ts.map +1 -0
- package/lib/types/locale/index.d.ts +3 -0
- package/lib/types/locale/index.d.ts.map +1 -0
- package/lib/types/locale/zh-CN.d.ts +436 -0
- package/lib/types/locale/zh-CN.d.ts.map +1 -0
- package/lib/types/services/auto-fill/auto-fill.service.d.ts +65 -0
- package/lib/types/services/auto-fill/auto-fill.service.d.ts.map +1 -0
- package/lib/types/services/auto-fill/rules.d.ts +9 -0
- package/lib/types/services/auto-fill/rules.d.ts.map +1 -0
- package/lib/types/services/auto-fill/tools.d.ts +96 -0
- package/lib/types/services/auto-fill/tools.d.ts.map +1 -0
- package/lib/types/services/auto-fill/type.d.ts +54 -0
- package/lib/types/services/auto-fill/type.d.ts.map +1 -0
- package/lib/types/services/clipboard/__tests__/clipboard-service.spec.d.ts +2 -0
- package/lib/types/services/clipboard/__tests__/clipboard-service.spec.d.ts.map +1 -0
- package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts +21 -0
- package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts.map +1 -0
- package/lib/types/services/clipboard/__tests__/mock-clipboard.d.ts +23 -0
- package/lib/types/services/clipboard/__tests__/mock-clipboard.d.ts.map +1 -0
- package/lib/types/services/clipboard/clipboard.service.d.ts +104 -0
- package/lib/types/services/clipboard/clipboard.service.d.ts.map +1 -0
- package/lib/types/services/clipboard/copy-content-cache.d.ts +20 -0
- package/lib/types/services/clipboard/copy-content-cache.d.ts.map +1 -0
- package/lib/types/services/clipboard/html-to-usm/converter.d.ts +27 -0
- package/lib/types/services/clipboard/html-to-usm/converter.d.ts.map +1 -0
- package/lib/types/services/clipboard/html-to-usm/parse-node-style.d.ts +3 -0
- package/lib/types/services/clipboard/html-to-usm/parse-node-style.d.ts.map +1 -0
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-lark.d.ts +4 -0
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-lark.d.ts.map +1 -0
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-word.d.ts +4 -0
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-word.d.ts.map +1 -0
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/type.d.ts +16 -0
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/type.d.ts.map +1 -0
- package/lib/types/services/clipboard/html-to-usm/utils.d.ts +5 -0
- package/lib/types/services/clipboard/html-to-usm/utils.d.ts.map +1 -0
- package/lib/types/services/clipboard/type.d.ts +120 -0
- package/lib/types/services/clipboard/type.d.ts.map +1 -0
- package/lib/types/services/clipboard/usm-to-html/convertor.d.ts +9 -0
- package/lib/types/services/clipboard/usm-to-html/convertor.d.ts.map +1 -0
- package/lib/types/services/editor/cell-editor-manager.service.d.ts +43 -0
- package/lib/types/services/editor/cell-editor-manager.service.d.ts.map +1 -0
- package/lib/types/services/editor/formula-editor-manager.service.d.ts +30 -0
- package/lib/types/services/editor/formula-editor-manager.service.d.ts.map +1 -0
- package/lib/types/services/editor-bridge.service.d.ts +79 -0
- package/lib/types/services/editor-bridge.service.d.ts.map +1 -0
- package/lib/types/services/format-painter/format-painter.service.d.ts +29 -0
- package/lib/types/services/format-painter/format-painter.service.d.ts.map +1 -0
- package/lib/types/services/mark-selection/mark-selection.service.d.ts +28 -0
- package/lib/types/services/mark-selection/mark-selection.service.d.ts.map +1 -0
- package/lib/types/services/scroll-manager.service.d.ts +38 -0
- package/lib/types/services/scroll-manager.service.d.ts.map +1 -0
- package/lib/types/services/selection/selection-render-model.d.ts +45 -0
- package/lib/types/services/selection/selection-render-model.d.ts.map +1 -0
- package/lib/types/services/selection/selection-render.service.d.ts +165 -0
- package/lib/types/services/selection/selection-render.service.d.ts.map +1 -0
- package/lib/types/services/selection/selection-shape-extension.d.ts +45 -0
- package/lib/types/services/selection/selection-shape-extension.d.ts.map +1 -0
- package/lib/types/services/selection/selection-shape.d.ts +114 -0
- package/lib/types/services/selection/selection-shape.d.ts.map +1 -0
- package/lib/types/services/sheet-bar/sheet-bar.service.d.ts +39 -0
- package/lib/types/services/sheet-bar/sheet-bar.service.d.ts.map +1 -0
- package/lib/types/services/sheet-skeleton-manager.service.d.ts +47 -0
- package/lib/types/services/sheet-skeleton-manager.service.d.ts.map +1 -0
- package/lib/types/services/status-bar.service.d.ts +26 -0
- package/lib/types/services/status-bar.service.d.ts.map +1 -0
- package/lib/types/sheets-ui-plugin.d.ts +13 -0
- package/lib/types/sheets-ui-plugin.d.ts.map +1 -0
- package/lib/types/views/count-bar/CountBar.d.ts +8 -0
- package/lib/types/views/count-bar/CountBar.d.ts.map +1 -0
- package/lib/types/views/count-bar/index.d.ts +2 -0
- package/lib/types/views/count-bar/index.d.ts.map +1 -0
- package/lib/types/views/count-bar/zoom-slider.d.ts +3 -0
- package/lib/types/views/count-bar/zoom-slider.d.ts.map +1 -0
- package/lib/types/views/editor-container/EditorContainer.d.ts +10 -0
- package/lib/types/views/editor-container/EditorContainer.d.ts.map +1 -0
- package/lib/types/views/editor-container/index.d.ts +2 -0
- package/lib/types/views/editor-container/index.d.ts.map +1 -0
- package/lib/types/views/formula-bar/FormulaBar.d.ts +3 -0
- package/lib/types/views/formula-bar/FormulaBar.d.ts.map +1 -0
- package/lib/types/views/formula-bar/index.d.ts +2 -0
- package/lib/types/views/formula-bar/index.d.ts.map +1 -0
- package/lib/types/views/header-menu-shape.d.ts +23 -0
- package/lib/types/views/header-menu-shape.d.ts.map +1 -0
- package/lib/types/views/header-resize-shape.d.ts +27 -0
- package/lib/types/views/header-resize-shape.d.ts.map +1 -0
- package/lib/types/views/header-unhide-shape.d.ts +35 -0
- package/lib/types/views/header-unhide-shape.d.ts.map +1 -0
- package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts +14 -0
- package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts.map +1 -0
- package/lib/types/views/operate-container/OperateContainer.d.ts +3 -0
- package/lib/types/views/operate-container/OperateContainer.d.ts.map +1 -0
- package/lib/types/views/operate-container/index.d.ts +2 -0
- package/lib/types/views/operate-container/index.d.ts.map +1 -0
- package/lib/types/views/sheet-bar/SheetBar.d.ts +3 -0
- package/lib/types/views/sheet-bar/SheetBar.d.ts.map +1 -0
- package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts +20 -0
- package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts.map +1 -0
- package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts +14 -0
- package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts.map +1 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts +14 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts.map +1 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts +5 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts.map +1 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/animate.d.ts +29 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/animate.d.ts.map +1 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts +142 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts.map +1 -0
- package/lib/types/views/sheet-canvas-view.d.ts +20 -0
- package/lib/types/views/sheet-canvas-view.d.ts.map +1 -0
- package/lib/types/views/sheet-container/SheetContainer.d.ts +11 -0
- package/lib/types/views/sheet-container/SheetContainer.d.ts.map +1 -0
- package/lib/types/views/status-bar/CopyableStatisticItem.d.ts +15 -0
- package/lib/types/views/status-bar/CopyableStatisticItem.d.ts.map +1 -0
- package/lib/types/views/status-bar/StatusBar.d.ts +3 -0
- package/lib/types/views/status-bar/StatusBar.d.ts.map +1 -0
- package/package.json +72 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderDashed.d.ts","sourceRoot":"","sources":["../../../../../../src/components/border-panel/border-line/icons/BorderDashed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,YAAY,yBAuBxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderDotted.d.ts","sourceRoot":"","sources":["../../../../../../src/components/border-panel/border-line/icons/BorderDotted.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,YAAY,yBAmCxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderHair.d.ts","sourceRoot":"","sources":["../../../../../../src/components/border-panel/border-line/icons/BorderHair.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,UAAU,yBAuDtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderMedium.d.ts","sourceRoot":"","sources":["../../../../../../src/components/border-panel/border-line/icons/BorderMedium.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,YAAY,yBASxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderMediumDashDot.d.ts","sourceRoot":"","sources":["../../../../../../src/components/border-panel/border-line/icons/BorderMediumDashDot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,mBAAmB,yBAqB/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderMediumDashDotDot.d.ts","sourceRoot":"","sources":["../../../../../../src/components/border-panel/border-line/icons/BorderMediumDashDotDot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,sBAAsB,yBAuBlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderMediumDashed.d.ts","sourceRoot":"","sources":["../../../../../../src/components/border-panel/border-line/icons/BorderMediumDashed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,kBAAkB,yBAuB9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderThick.d.ts","sourceRoot":"","sources":["../../../../../../src/components/border-panel/border-line/icons/BorderThick.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,WAAW,yBASvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderThin.d.ts","sourceRoot":"","sources":["../../../../../../src/components/border-panel/border-line/icons/BorderThin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,UAAU,yBAStB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/border-panel/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type IBorderInfo } from '@univerjs/sheets';
|
|
2
|
+
import type { ICustomComponentProps } from '@univerjs/ui';
|
|
3
|
+
export declare const BORDER_PANEL_COMPONENT = "UI_PLUGIN_SHEETS_BORDER_PANEL_COMPONENT";
|
|
4
|
+
export interface IBorderPanelProps extends ICustomComponentProps<IBorderInfo> {
|
|
5
|
+
}
|
|
6
|
+
export declare const BORDER_LINE_CHILDREN: {
|
|
7
|
+
label: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
//# sourceMappingURL=interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/border-panel/interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,eAAO,MAAM,sBAAsB,4CAA+C,CAAC;AAEnF,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB,CAAC,WAAW,CAAC;CAAG;AAEhF,eAAO,MAAM,oBAAoB;;;;GAmDhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/color-picker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/color-picker/interface.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,4CAA+C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../src/components/const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontFamily.d.ts","sourceRoot":"","sources":["../../../../src/components/font-family/FontFamily.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,UAAU,UAAW,gBAAgB,sBAUjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontFamilyItem.d.ts","sourceRoot":"","sources":["../../../../src/components/font-family/FontFamilyItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,eAAO,MAAM,cAAc,UAAW,oBAAoB,sBAUzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/font-family/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICustomComponentProps } from '@univerjs/ui';
|
|
2
|
+
export declare const FONT_FAMILY_COMPONENT = "UI_PLUGIN_SHEETS_FONT_FAMILY_COMPONENT";
|
|
3
|
+
export interface IFontFamilyProps extends ICustomComponentProps<string> {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const FONT_FAMILY_ITEM_COMPONENT = "UI_PLUGIN_SHEETS_FONT_FAMILY_ITEM_COMPONENT";
|
|
7
|
+
export interface IFontFamilyItemProps extends ICustomComponentProps<string> {
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/font-family/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,eAAO,MAAM,qBAAqB,2CAA8C,CAAC;AAEjF,MAAM,WAAW,gBAAiB,SAAQ,qBAAqB,CAAC,MAAM,CAAC;IACnE,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,0BAA0B,gDAAmD,CAAC;AAE3F,MAAM,WAAW,oBAAqB,SAAQ,qBAAqB,CAAC,MAAM,CAAC;IACvE,KAAK,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontSize.d.ts","sourceRoot":"","sources":["../../../../src/components/font-size/FontSize.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,QAAQ,UAAW,cAAc,sBAiC7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/font-size/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ICustomComponentProps } from '@univerjs/ui';
|
|
2
|
+
export declare const FONT_SIZE_COMPONENT = "UI_PLUGIN_SHEETS_FONT_SIZE_COMPONENT";
|
|
3
|
+
export interface IFontSizeProps extends ICustomComponentProps<string> {
|
|
4
|
+
value: string;
|
|
5
|
+
min: number;
|
|
6
|
+
max: number;
|
|
7
|
+
onChange: (value: string) => void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/font-size/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,eAAO,MAAM,mBAAmB,yCAA4C,CAAC;AAE7E,MAAM,WAAW,cAAe,SAAQ,qBAAqB,CAAC,MAAM,CAAC;IACjE,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,CAAC;IAEZ,GAAG,EAAE,MAAM,CAAC;IAEZ,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuItemInput.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-item-input/MenuItemInput.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,aAAa,UAAW,mBAAmB,sBAoCvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-item-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICustomComponentProps } from '@univerjs/ui';
|
|
2
|
+
export declare const MENU_ITEM_INPUT_COMPONENT = "UI_PLUGIN_SHEETS_MENU_ITEM_INPUT_COMPONENT";
|
|
3
|
+
export interface IMenuItemInputProps extends ICustomComponentProps<string> {
|
|
4
|
+
prefix: string;
|
|
5
|
+
suffix: string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-item-input/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,eAAO,MAAM,yBAAyB,+CAAkD,CAAC;AAEzF,MAAM,WAAW,mBAAoB,SAAQ,qBAAqB,CAAC,MAAM,CAAC;IACtE,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IRangeSelectorProps {
|
|
3
|
+
onChange: (range: string) => void;
|
|
4
|
+
onActive: (active: boolean) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function RangeSelector(props: IRangeSelectorProps): React.JSX.Element;
|
|
7
|
+
//# sourceMappingURL=RangeSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/range-selector/RangeSelector.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,MAAM,WAAW,mBAAmB;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,mBAAmB,qBAuFvD"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
3
|
+
import { IAutoFillService } from '../services/auto-fill/auto-fill.service';
|
|
4
|
+
import { ISelectionRenderService } from '../services/selection/selection-render.service';
|
|
5
|
+
export declare class AutoFillController extends Disposable {
|
|
6
|
+
private readonly _univerInstanceService;
|
|
7
|
+
private readonly _selectionRenderService;
|
|
8
|
+
private readonly _commandService;
|
|
9
|
+
private readonly _autoFillService;
|
|
10
|
+
private readonly _selectionManagerService;
|
|
11
|
+
private _direction;
|
|
12
|
+
private _beforeApplyData;
|
|
13
|
+
private _applyType;
|
|
14
|
+
private _hasFillingStyle;
|
|
15
|
+
private _copyData;
|
|
16
|
+
constructor(_univerInstanceService: IUniverInstanceService, _selectionRenderService: ISelectionRenderService, _commandService: ICommandService, _autoFillService: IAutoFillService, _selectionManagerService: SelectionManagerService);
|
|
17
|
+
private _init;
|
|
18
|
+
private _handleDbClickFill;
|
|
19
|
+
private _detectFillRange;
|
|
20
|
+
private _handleFill;
|
|
21
|
+
private _onSelectionControlFillChanged;
|
|
22
|
+
private _onApplyTypeChanged;
|
|
23
|
+
private _getApplyData;
|
|
24
|
+
private _applyFunctions;
|
|
25
|
+
private _getCopyData;
|
|
26
|
+
private _getEmptyCopyDataPiece;
|
|
27
|
+
private _getMergeApplyData;
|
|
28
|
+
private _presetAndCacheData;
|
|
29
|
+
private _fillData;
|
|
30
|
+
private _hasSeries;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=auto-fill.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auto-fill.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/auto-fill.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,UAAU,EAEV,eAAe,EACf,sBAAsB,EAKzB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAgC,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAIzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAK3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAEzF,qBACa,kBAAmB,SAAQ,UAAU;IAQlB,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IACtC,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IAChD,OAAO,CAAC,QAAQ,CAAC,eAAe;IAC/B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAClB,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IAX9E,OAAO,CAAC,UAAU,CAA0B;IAC5C,OAAO,CAAC,gBAAgB,CAAyC;IACjE,OAAO,CAAC,UAAU,CAAiC;IAEnD,OAAO,CAAC,gBAAgB,CAAiB;IACzC,OAAO,CAAC,SAAS,CAAwB;gBAEI,sBAAsB,EAAE,sBAAsB,EAC7C,uBAAuB,EAAE,uBAAuB,EACxD,eAAe,EAAE,eAAe,EAC/B,gBAAgB,EAAE,gBAAgB,EACnB,wBAAwB,EAAE,uBAAuB;IAMvG,OAAO,CAAC,KAAK;IAQb,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,gBAAgB;IA0CxB,OAAO,CAAC,WAAW;IAwCnB,OAAO,CAAC,8BAA8B;IAkEtC,OAAO,CAAC,mBAAmB;IAkB3B,OAAO,CAAC,aAAa;IAiErB,OAAO,CAAC,eAAe;IAyCvB,OAAO,CAAC,YAAY;IA0EpB,OAAO,CAAC,sBAAsB;IAS9B,OAAO,CAAC,kBAAkB;IAoE1B,OAAO,CAAC,mBAAmB;IAqD3B,OAAO,CAAC,SAAS;IA2HjB,OAAO,CAAC,UAAU;CAcrB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
|
|
3
|
+
import { Injector } from '@wendellhu/redi';
|
|
4
|
+
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
5
|
+
export declare class AutoHeightController {
|
|
6
|
+
private _injector;
|
|
7
|
+
private _sheetInterceptorService;
|
|
8
|
+
private _selectionManagerService;
|
|
9
|
+
private _univerInstanceService;
|
|
10
|
+
private _sheetSkeletonManagerService;
|
|
11
|
+
constructor(_injector: Injector, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SelectionManagerService, _univerInstanceService: IUniverInstanceService, _sheetSkeletonManagerService: SheetSkeletonManagerService);
|
|
12
|
+
private _getUndoRedoParamsOfAutoHeight;
|
|
13
|
+
private _initialize;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=auto-height.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auto-height.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/auto-height.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAgC,MAAM,gBAAgB,CAAC;AAQtF,OAAO,EAEH,uBAAuB,EAOvB,uBAAuB,EAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAU,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AAEzF,qBACa,oBAAoB;IAEP,OAAO,CAAC,SAAS;IACF,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,wBAAwB;IACjC,OAAO,CAAC,sBAAsB;IACzB,OAAO,CAAC,4BAA4B;gBAJ/C,SAAS,EAAE,QAAQ,EACJ,wBAAwB,EAAE,uBAAuB,EACjD,wBAAwB,EAAE,uBAAuB,EAClD,sBAAsB,EAAE,sBAAsB,EACzC,4BAA4B,EAAE,2BAA2B;IAK1G,OAAO,CAAC,8BAA8B;IAyCtC,OAAO,CAAC,WAAW;CA8EtB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Disposable, ICommandService, IConfigService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
2
|
+
import { IMessageService } from '@univerjs/ui';
|
|
3
|
+
import { Injector } from '@wendellhu/redi';
|
|
4
|
+
import { ISheetClipboardService } from '../../services/clipboard/clipboard.service';
|
|
5
|
+
/**
|
|
6
|
+
* This controller add basic clipboard logic for basic features such as text color / BISU / row widths to the clipboard
|
|
7
|
+
* service. You can create a similar clipboard controller to add logic for your own features.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SheetClipboardController extends Disposable {
|
|
10
|
+
private readonly _currentUniverSheet;
|
|
11
|
+
private readonly _commandService;
|
|
12
|
+
private readonly _configService;
|
|
13
|
+
private readonly _sheetClipboardService;
|
|
14
|
+
private readonly _messageService;
|
|
15
|
+
private readonly _injector;
|
|
16
|
+
private readonly _localService;
|
|
17
|
+
constructor(_currentUniverSheet: IUniverInstanceService, _commandService: ICommandService, _configService: IConfigService, _sheetClipboardService: ISheetClipboardService, _messageService: IMessageService, _injector: Injector, _localService: LocaleService);
|
|
18
|
+
private _init;
|
|
19
|
+
private _initCopyingHooks;
|
|
20
|
+
private _initPastingHook;
|
|
21
|
+
private _onPasteCells;
|
|
22
|
+
private _initSpecialPasteHooks;
|
|
23
|
+
private _getWorksheet;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=clipboard.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboard.controller.d.ts","sourceRoot":"","sources":["../../../../src/controllers/clipboard/clipboard.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAIH,UAAU,EAEV,eAAe,EACf,cAAc,EACd,sBAAsB,EAEtB,aAAa,EAIhB,MAAM,gBAAgB,CAAC;AAkBxB,OAAO,EAAE,eAAe,EAAY,MAAM,cAAc,CAAC;AACzD,OAAO,EAAU,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAWnD,OAAO,EAAE,sBAAsB,EAAwB,MAAM,4CAA4C,CAAC;AAe1G;;;GAGG;AACH,qBACa,wBAAyB,SAAQ,UAAU;IAExB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,eAAe;IACjC,OAAO,CAAC,QAAQ,CAAC,cAAc;IACvB,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IAC9C,OAAO,CAAC,QAAQ,CAAC,eAAe;IAC/B,OAAO,CAAC,QAAQ,CAAC,SAAS;IACrB,OAAO,CAAC,QAAQ,CAAC,aAAa;gBANZ,mBAAmB,EAAE,sBAAsB,EAClD,eAAe,EAAE,eAAe,EACjC,cAAc,EAAE,cAAc,EACtB,sBAAsB,EAAE,sBAAsB,EACrD,eAAe,EAAE,eAAe,EAC/B,SAAS,EAAE,QAAQ,EACd,aAAa,EAAE,aAAa;IAOxE,OAAO,CAAC,KAAK;IAqBb,OAAO,CAAC,iBAAiB;IAuFzB,OAAO,CAAC,gBAAgB;IAsLxB,OAAO,CAAC,aAAa;IAoBrB,OAAO,CAAC,sBAAsB;IA+L9B,OAAO,CAAC,aAAa;CAWxB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { IMutationInfo, IRange } from '@univerjs/core';
|
|
2
|
+
import { ObjectMatrix } from '@univerjs/core';
|
|
3
|
+
import type { IAccessor } from '@wendellhu/redi';
|
|
4
|
+
import type { ICellDataWithSpanInfo } from '../../services/clipboard/type';
|
|
5
|
+
import { COPY_TYPE } from '../../services/clipboard/type';
|
|
6
|
+
export declare function getDefaultOnPasteCellMutations(pastedRange: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, workbookId: string, worksheetId: string, copyInfo: {
|
|
7
|
+
copyType: COPY_TYPE;
|
|
8
|
+
copyRange?: IRange;
|
|
9
|
+
}, accessor: IAccessor): {
|
|
10
|
+
undos: IMutationInfo<object>[];
|
|
11
|
+
redos: IMutationInfo<object>[];
|
|
12
|
+
};
|
|
13
|
+
export declare function getMoveRangeMutations(pastedRange: IRange, workbookId: string, worksheetId: string, copyInfo: {
|
|
14
|
+
copyType: COPY_TYPE;
|
|
15
|
+
copyRange?: IRange;
|
|
16
|
+
}, accessor: IAccessor): {
|
|
17
|
+
undos: IMutationInfo<object>[];
|
|
18
|
+
redos: IMutationInfo<object>[];
|
|
19
|
+
};
|
|
20
|
+
export declare function getSetCellValueMutations(workbookId: string, worksheetId: string, range: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
|
|
21
|
+
undos: IMutationInfo<object>[];
|
|
22
|
+
redos: IMutationInfo<object>[];
|
|
23
|
+
};
|
|
24
|
+
export declare function getSetCellStyleMutations(workbookId: string, worksheetId: string, range: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
|
|
25
|
+
undos: IMutationInfo<object>[];
|
|
26
|
+
redos: IMutationInfo<object>[];
|
|
27
|
+
};
|
|
28
|
+
export declare function getClearCellStyleMutations(workbookId: string, worksheetId: string, range: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
|
|
29
|
+
undos: IMutationInfo<object>[];
|
|
30
|
+
redos: IMutationInfo<object>[];
|
|
31
|
+
};
|
|
32
|
+
export declare function getClearAndSetMergeMutations(workbookId: string, worksheetId: string, range: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
|
|
33
|
+
undos: IMutationInfo<object>[];
|
|
34
|
+
redos: IMutationInfo<object>[];
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/controllers/clipboard/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,aAAa,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAA0B,YAAY,EAAa,MAAM,gBAAgB,CAAC;AAoBjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAG1D,wBAAgB,8BAA8B,CAC1C,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,YAAY,CAAC,qBAAqB,CAAC,EAC3C,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE;IACN,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,EACD,QAAQ,EAAE,SAAS;;;EAyDtB;AAED,wBAAgB,qBAAqB,CACjC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE;IACN,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,EACD,QAAQ,EAAE,SAAS;;;EA4FtB;AAED,wBAAgB,wBAAwB,CACpC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,YAAY,CAAC,qBAAqB,CAAC,EAC3C,QAAQ,EAAE,SAAS;;;EA+CtB;AAED,wBAAgB,wBAAwB,CACpC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,YAAY,CAAC,qBAAqB,CAAC,EAC3C,QAAQ,EAAE,SAAS;;;EA2CtB;AAED,wBAAgB,0BAA0B,CACtC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,YAAY,CAAC,qBAAqB,CAAC,EAC3C,QAAQ,EAAE,SAAS;;;EAwCtB;AAED,wBAAgB,4BAA4B,CACxC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,YAAY,CAAC,qBAAqB,CAAC,EAC3C,QAAQ,EAAE,SAAS;;;EA0FtB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
4
|
+
import { IContextMenuService } from '@univerjs/ui';
|
|
5
|
+
import { ISelectionRenderService } from '../../services/selection/selection-render.service';
|
|
6
|
+
/**
|
|
7
|
+
* This controller subscribe to context menu events in
|
|
8
|
+
* sheet rendering views and invoke context menu at a correct position
|
|
9
|
+
* and with correct menu type.
|
|
10
|
+
*/
|
|
11
|
+
export declare class SheetContextMenuController extends Disposable {
|
|
12
|
+
private readonly _currentUniverService;
|
|
13
|
+
private readonly _contextMenuService;
|
|
14
|
+
private readonly _renderManagerService;
|
|
15
|
+
private readonly _selectionManagerService;
|
|
16
|
+
private readonly _selectionRenderService;
|
|
17
|
+
constructor(_currentUniverService: IUniverInstanceService, _contextMenuService: IContextMenuService, _renderManagerService: IRenderManagerService, _selectionManagerService: SelectionManagerService, _selectionRenderService: ISelectionRenderService);
|
|
18
|
+
private _addListeners;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=contextmenu.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextmenu.controller.d.ts","sourceRoot":"","sources":["../../../../src/controllers/contextmenu/contextmenu.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,UAAU,EACV,sBAAsB,EAKzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAgB,MAAM,cAAc,CAAC;AAGjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAI5F;;;;GAIG;AACH,qBACa,0BAA2B,SAAQ,UAAU;IAE1B,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACzC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAClC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAE7D,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IAChB,OAAO,CAAC,QAAQ,CAAC,uBAAuB;gBALxB,qBAAqB,EAAE,sBAAsB,EAChD,mBAAmB,EAAE,mBAAmB,EACtC,qBAAqB,EAAE,qBAAqB,EAEnE,wBAAwB,EAAE,uBAAuB,EACxB,uBAAuB,EAAE,uBAAuB;IAW9F,OAAO,CAAC,aAAa;CAgExB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { FormulaEngineService } from '@univerjs/engine-formula';
|
|
3
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
export declare class EditingController extends Disposable {
|
|
5
|
+
private readonly _currentUniverService;
|
|
6
|
+
private readonly _renderManagerService;
|
|
7
|
+
private readonly _formulaEngineService;
|
|
8
|
+
private _onInputSubscription;
|
|
9
|
+
constructor(_currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _formulaEngineService: FormulaEngineService);
|
|
10
|
+
dispose(): void;
|
|
11
|
+
private _initialize;
|
|
12
|
+
private _initialNormalInput;
|
|
13
|
+
private _commandExecutedListener;
|
|
14
|
+
private _getDocObject;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=editing.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editing.controller.d.ts","sourceRoot":"","sources":["../../../../src/controllers/editor/editing.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAA8C,MAAM,gBAAgB,CAAC;AAGhH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,qBACa,iBAAkB,SAAQ,UAAU;IAIjB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACvC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAC/B,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IALxE,OAAO,CAAC,oBAAoB,CAAyB;gBAGR,qBAAqB,EAAE,sBAAsB,EAC9C,qBAAqB,EAAE,qBAAqB,EACrC,qBAAqB,EAAE,oBAAoB;IASrF,OAAO,IAAI,IAAI;IAIxB,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,mBAAmB;IA0E3B,OAAO,CAAC,wBAAwB;IAEhC,OAAO,CAAC,aAAa;CAGxB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Disposable, ICommandService, IContextService, IUndoRedoService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { FormulaEngineService } from '@univerjs/engine-formula';
|
|
3
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
import { SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
|
|
5
|
+
import { ICellEditorManagerService } from '../../services/editor/cell-editor-manager.service';
|
|
6
|
+
import { IEditorBridgeService } from '../../services/editor-bridge.service';
|
|
7
|
+
export declare class EndEditController extends Disposable {
|
|
8
|
+
private readonly _currentUniverService;
|
|
9
|
+
private readonly _renderManagerService;
|
|
10
|
+
private readonly _commandService;
|
|
11
|
+
private readonly _editorBridgeService;
|
|
12
|
+
private readonly _contextService;
|
|
13
|
+
private readonly _cellEditorManagerService;
|
|
14
|
+
private readonly _formulaEngineService;
|
|
15
|
+
private _undoRedoService;
|
|
16
|
+
private readonly _sheetInterceptorService;
|
|
17
|
+
private readonly _selectionManagerService;
|
|
18
|
+
private _onInputSubscription;
|
|
19
|
+
private _cursorChangeObservers;
|
|
20
|
+
private _editorVisiblePrevious;
|
|
21
|
+
/**
|
|
22
|
+
* It is used to distinguish whether the user has actively moved the cursor in the editor, mainly through mouse clicks.
|
|
23
|
+
*/
|
|
24
|
+
private _isCursorChange;
|
|
25
|
+
constructor(_currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _contextService: IContextService, _cellEditorManagerService: ICellEditorManagerService, _formulaEngineService: FormulaEngineService, _undoRedoService: IUndoRedoService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SelectionManagerService);
|
|
26
|
+
dispose(): void;
|
|
27
|
+
private _initialize;
|
|
28
|
+
private _initialExitInput;
|
|
29
|
+
private _exitInput;
|
|
30
|
+
private _moveCursor;
|
|
31
|
+
private _cursorStateListener;
|
|
32
|
+
private _commandExecutedListener;
|
|
33
|
+
private _moveInEditor;
|
|
34
|
+
private _getEditorObject;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=end-edit.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"end-edit.controller.d.ts","sourceRoot":"","sources":["../../../../src/controllers/editor/end-edit.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAGH,UAAU,EAMV,eAAe,EACf,eAAe,EAEf,gBAAgB,EAChB,sBAAsB,EAIzB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAc,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAwB,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,EACH,uBAAuB,EAGvB,uBAAuB,EAC1B,MAAM,kBAAkB,CAAC;AAQ1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AAE9F,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAS5E,qBACa,iBAAkB,SAAQ,UAAU;IAajB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACvC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAC5C,OAAO,CAAC,QAAQ,CAAC,eAAe;IAC3B,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IAC1C,OAAO,CAAC,QAAQ,CAAC,eAAe;IACtB,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IACvC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAClD,OAAO,CAAC,gBAAgB;IACT,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IACzC,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IArB9E,OAAO,CAAC,oBAAoB,CAAyB;IAErD,OAAO,CAAC,sBAAsB,CAAkD;IAEhF,OAAO,CAAC,sBAAsB,CAAS;IAEvC;;OAEG;IACH,OAAO,CAAC,eAAe,CAA2C;gBAGrB,qBAAqB,EAAE,sBAAsB,EAC9C,qBAAqB,EAAE,qBAAqB,EAClD,eAAe,EAAE,eAAe,EAC3B,oBAAoB,EAAE,oBAAoB,EAC/C,eAAe,EAAE,eAAe,EACtB,yBAAyB,EAAE,yBAAyB,EACjD,qBAAqB,EAAE,oBAAoB,EAChE,gBAAgB,EAAE,gBAAgB,EACV,wBAAwB,EAAE,uBAAuB,EACjD,wBAAwB,EAAE,uBAAuB;IAS9F,OAAO,IAAI,IAAI;IAaxB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,iBAAiB;IA4IzB,OAAO,CAAC,UAAU;IAiBlB,OAAO,CAAC,WAAW;IAwCnB,OAAO,CAAC,oBAAoB;IAqB5B,OAAO,CAAC,wBAAwB;IAyBhC,OAAO,CAAC,aAAa;IAqBrB,OAAO,CAAC,gBAAgB;CAG3B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ICommandService, IContextService, IUndoRedoService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
2
|
+
import { DocSkeletonManagerService, DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
3
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
import { IFormulaEditorManagerService } from '../../services/editor/formula-editor-manager.service';
|
|
5
|
+
import { IEditorBridgeService } from '../../services/editor-bridge.service';
|
|
6
|
+
export declare class FormulaEditorController extends RxDisposable {
|
|
7
|
+
private readonly _univerInstanceService;
|
|
8
|
+
private readonly _renderManagerService;
|
|
9
|
+
private readonly _editorBridgeService;
|
|
10
|
+
private readonly _docSkeletonManagerService;
|
|
11
|
+
private readonly _docViewModelManagerService;
|
|
12
|
+
private readonly _commandService;
|
|
13
|
+
private readonly _contextService;
|
|
14
|
+
private readonly _formulaEditorManagerService;
|
|
15
|
+
private readonly _undoRedoService;
|
|
16
|
+
private readonly _textSelectionManagerService;
|
|
17
|
+
private _loadedMap;
|
|
18
|
+
constructor(_univerInstanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _docSkeletonManagerService: DocSkeletonManagerService, _docViewModelManagerService: DocViewModelManagerService, _commandService: ICommandService, _contextService: IContextService, _formulaEditorManagerService: IFormulaEditorManagerService, _undoRedoService: IUndoRedoService, _textSelectionManagerService: TextSelectionManagerService);
|
|
19
|
+
private _initialize;
|
|
20
|
+
private _listenFxBtnClick;
|
|
21
|
+
private _initialMain;
|
|
22
|
+
private _syncEditorSize;
|
|
23
|
+
private _syncFormulaEditorContent;
|
|
24
|
+
private _commandExecutedListener;
|
|
25
|
+
private _syncContentAndRender;
|
|
26
|
+
private _autoScroll;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=formula-editor.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formula-editor.controller.d.ts","sourceRoot":"","sources":["../../../../src/controllers/editor/formula-editor.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAMH,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EAGtB,YAAY,EAEf,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAEH,yBAAyB,EACzB,0BAA0B,EAG1B,2BAA2B,EAE9B,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAwB,qBAAqB,EAAa,MAAM,yBAAyB,CAAC;AAMjG,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,qBACa,uBAAwB,SAAQ,YAAY;IAIzB,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IACxC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACvC,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACxB,OAAO,CAAC,QAAQ,CAAC,0BAA0B;IAC1C,OAAO,CAAC,QAAQ,CAAC,2BAA2B;IAC/D,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe;IACnB,OAAO,CAAC,QAAQ,CAAC,4BAA4B;IACzD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACd,OAAO,CAAC,QAAQ,CAAC,4BAA4B;IAZtF,OAAO,CAAC,UAAU,CAA0B;gBAGC,sBAAsB,EAAE,sBAAsB,EAC/C,qBAAqB,EAAE,qBAAqB,EAC7C,oBAAoB,EAAE,oBAAoB,EAC7B,0BAA0B,EAAE,yBAAyB,EACpD,2BAA2B,EAAE,0BAA0B,EAC1E,eAAe,EAAE,eAAe,EAChC,eAAe,EAAE,eAAe,EACnB,4BAA4B,EAAE,4BAA4B,EACtE,gBAAgB,EAAE,gBAAgB,EACf,4BAA4B,EAAE,2BAA2B;IAOnH,OAAO,CAAC,WAAW;IAkBnB,OAAO,CAAC,iBAAiB;IAwDzB,OAAO,CAAC,YAAY;IA+BpB,OAAO,CAAC,eAAe;IA+BvB,OAAO,CAAC,yBAAyB;IAqBjC,OAAO,CAAC,wBAAwB;IA6ChC,OAAO,CAAC,qBAAqB;IAoC7B,OAAO,CAAC,WAAW;CA+CtB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
|
+
export declare class InitializeEditorController extends Disposable {
|
|
4
|
+
private readonly _currentUniverService;
|
|
5
|
+
private readonly _renderManagerService;
|
|
6
|
+
private _onInputSubscription;
|
|
7
|
+
constructor(_currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService);
|
|
8
|
+
dispose(): void;
|
|
9
|
+
private _initialize;
|
|
10
|
+
private _commandExecutedListener;
|
|
11
|
+
private _getDocObject;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=initialize-editor.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initialize-editor.controller.d.ts","sourceRoot":"","sources":["../../../../src/controllers/editor/initialize-editor.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,UAAU,EAIV,sBAAsB,EAKzB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,qBACa,0BAA2B,SAAQ,UAAU;IAI1B,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACvC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAJjE,OAAO,CAAC,oBAAoB,CAAyB;gBAGR,qBAAqB,EAAE,sBAAsB,EAC9C,qBAAqB,EAAE,qBAAqB;IAY/E,OAAO,IAAI,IAAI;IAIxB,OAAO,CAAC,WAAW;IA0CnB,OAAO,CAAC,wBAAwB;IAEhC,OAAO,CAAC,aAAa;CAGxB"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Disposable, ICommandService, IContextService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
2
|
+
import { DocSkeletonManagerService, DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
3
|
+
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
4
|
+
import { ICellEditorManagerService } from '../../services/editor/cell-editor-manager.service';
|
|
5
|
+
import { IEditorBridgeService } from '../../services/editor-bridge.service';
|
|
6
|
+
export declare class StartEditController extends Disposable {
|
|
7
|
+
private readonly _docSkeletonManagerService;
|
|
8
|
+
private readonly _docViewModelManagerService;
|
|
9
|
+
private readonly _contextService;
|
|
10
|
+
private readonly _currentUniverService;
|
|
11
|
+
private readonly _renderManagerService;
|
|
12
|
+
private readonly _editorBridgeService;
|
|
13
|
+
private readonly _cellEditorManagerService;
|
|
14
|
+
private readonly _textSelectionRenderManager;
|
|
15
|
+
private readonly _textSelectionManagerService;
|
|
16
|
+
private readonly _commandService;
|
|
17
|
+
protected readonly _localService: LocaleService;
|
|
18
|
+
private _onInputSubscription;
|
|
19
|
+
private _onInputActivateSubscription;
|
|
20
|
+
private _editorVisiblePrevious;
|
|
21
|
+
constructor(_docSkeletonManagerService: DocSkeletonManagerService, _docViewModelManagerService: DocViewModelManagerService, _contextService: IContextService, _currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _cellEditorManagerService: ICellEditorManagerService, _textSelectionRenderManager: ITextSelectionRenderManager, _textSelectionManagerService: TextSelectionManagerService, _commandService: ICommandService, _localService: LocaleService);
|
|
22
|
+
dispose(): void;
|
|
23
|
+
private _initialize;
|
|
24
|
+
private _initialCursorSync;
|
|
25
|
+
private _initialEditFocusListener;
|
|
26
|
+
private _fitTextSize;
|
|
27
|
+
/**
|
|
28
|
+
* Mainly used to pre-calculate the width of the editor,
|
|
29
|
+
* to determine whether it needs to be automatically widened.
|
|
30
|
+
*/
|
|
31
|
+
private _predictingSize;
|
|
32
|
+
/**
|
|
33
|
+
* Mainly used to calculate the volume of scenes and objects,
|
|
34
|
+
* determine whether a scrollbar appears,
|
|
35
|
+
* and calculate the editor's boundaries relative to the browser.
|
|
36
|
+
*/
|
|
37
|
+
private _editAreaProcessing;
|
|
38
|
+
/**
|
|
39
|
+
* Since the document does not support cell background color, an additional rect needs to be added.
|
|
40
|
+
*/
|
|
41
|
+
private _addBackground;
|
|
42
|
+
private _initialStartEdit;
|
|
43
|
+
private _resetBodyStyle;
|
|
44
|
+
private _initialKeyboardListener;
|
|
45
|
+
private _showEditorByKeyboard;
|
|
46
|
+
private _commandExecutedListener;
|
|
47
|
+
private _getEditorObject;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=start-edit.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-edit.controller.d.ts","sourceRoot":"","sources":["../../../../src/controllers/editor/start-edit.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,UAAU,EAOV,eAAe,EACf,eAAe,EACf,sBAAsB,EAEtB,aAAa,EAKhB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAEH,yBAAyB,EACzB,0BAA0B,EAE1B,2BAA2B,EAE9B,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAEH,qBAAqB,EACrB,2BAA2B,EAG9B,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AAC9F,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAc5E,qBACa,mBAAoB,SAAQ,UAAU;IAQR,OAAO,CAAC,QAAQ,CAAC,0BAA0B;IAC1C,OAAO,CAAC,QAAQ,CAAC,2BAA2B;IAC/D,OAAO,CAAC,QAAQ,CAAC,eAAe;IACzB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACvC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACvC,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IAChC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IACxC,OAAO,CAAC,QAAQ,CAAC,2BAA2B;IACpC,OAAO,CAAC,QAAQ,CAAC,4BAA4B;IACjE,OAAO,CAAC,QAAQ,CAAC,eAAe;IAC1B,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;IAjB1E,OAAO,CAAC,oBAAoB,CAAyB;IAErD,OAAO,CAAC,4BAA4B,CAAyB;IAE7D,OAAO,CAAC,sBAAsB,CAAS;gBAGiB,0BAA0B,EAAE,yBAAyB,EACpD,2BAA2B,EAAE,0BAA0B,EAC1E,eAAe,EAAE,eAAe,EACzB,qBAAqB,EAAE,sBAAsB,EAC9C,qBAAqB,EAAE,qBAAqB,EAC7C,oBAAoB,EAAE,oBAAoB,EACrC,yBAAyB,EAAE,yBAAyB,EAClD,2BAA2B,EAAE,2BAA2B,EAChD,4BAA4B,EAAE,2BAA2B,EAC7E,eAAe,EAAE,eAAe,EACxB,aAAa,EAAE,aAAa;IASjE,OAAO,IAAI,IAAI;IAMxB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,yBAAyB;IAwDjC,OAAO,CAAC,YAAY;IA8DpB;;;OAGG;IACH,OAAO,CAAC,eAAe;IAoDvB;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IA6E3B;;OAEG;IACH,OAAO,CAAC,cAAc;IAkCtB,OAAO,CAAC,iBAAiB;IAwFzB,OAAO,CAAC,eAAe;IAyCvB,OAAO,CAAC,wBAAwB;IAUhC,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,wBAAwB;IAyChC,OAAO,CAAC,gBAAgB;CAG3B"}
|