@univerjs/sheets-ui 0.1.0-alpha.1 → 0.1.0-alpha.3
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.txt +178 -0
- package/README.md +1 -1
- package/lib/cjs/index.js +15 -21729
- package/lib/es/index.js +15140 -0
- package/lib/index.css +1 -587
- package/lib/types/basics/const/default-univer-sheet-config.d.ts +15 -1
- package/lib/types/basics/const/index.d.ts +15 -1
- package/lib/types/basics/const/plugin-name.d.ts +15 -1
- package/lib/types/basics/editor/get-editor-object.d.ts +15 -1
- package/lib/types/basics/index.d.ts +15 -1
- package/lib/types/basics/interfaces/cell.d.ts +15 -1
- package/lib/types/basics/interfaces/component-config/i-sheet-ui-plugin-config.d.ts +16 -2
- package/lib/types/basics/interfaces/component-config/index.d.ts +15 -1
- package/lib/types/basics/interfaces/component-config/sheet-container-config.d.ts +15 -1
- package/lib/types/basics/interfaces/component-config/toolbar-config.d.ts +15 -1
- package/lib/types/basics/interfaces/index.d.ts +15 -1
- package/lib/types/commands/commands/__tests__/add-worksheet-merge.command.spec.d.ts +16 -0
- package/lib/types/commands/commands/__tests__/auto-fill.controller.spec.d.ts +15 -1
- package/lib/types/commands/commands/__tests__/create-selection-command-test-bed.d.ts +15 -1
- package/lib/types/commands/commands/__tests__/set-format-painter.command.spec.d.ts +16 -0
- package/lib/types/commands/commands/__tests__/set-frozen.command.spec.d.ts +15 -1
- package/lib/types/commands/commands/__tests__/set-selections.command.spec.d.ts +15 -1
- package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +27 -0
- package/lib/types/commands/commands/auto-fill.command.d.ts +17 -3
- package/lib/types/commands/commands/clipboard.command.d.ts +15 -1
- package/lib/types/commands/commands/inline-format.command.d.ts +17 -1
- package/lib/types/commands/commands/refill.command.d.ts +15 -1
- package/lib/types/commands/commands/rename.command.d.ts +15 -1
- package/lib/types/commands/commands/set-format-painter.command.d.ts +23 -5
- package/lib/types/commands/commands/set-frozen.command.d.ts +15 -1
- package/lib/types/commands/commands/set-scroll.command.d.ts +15 -1
- package/lib/types/commands/commands/set-selection-frozen.command.d.ts +15 -1
- package/lib/types/commands/commands/set-selection.command.d.ts +15 -1
- package/lib/types/commands/commands/set-zoom-ratio.command.d.ts +17 -3
- package/lib/types/commands/commands/unhide.command.d.ts +15 -1
- package/lib/types/commands/commands/utils/selection-utils.d.ts +46 -0
- package/lib/types/commands/operations/activate-cell-edit.operation.d.ts +15 -1
- package/lib/types/commands/operations/cell-edit.operation.d.ts +15 -1
- package/lib/types/commands/operations/scroll.operation.d.ts +15 -1
- package/lib/types/commands/operations/set-editor-resize.operation.d.ts +15 -1
- package/lib/types/commands/operations/set-format-painter.operation.d.ts +15 -1
- package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts +17 -3
- package/lib/types/common/keys.d.ts +15 -1
- package/lib/types/common/utils.d.ts +25 -0
- package/lib/types/components/border-panel/BorderPanel.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/BorderLine.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts +15 -1
- package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts +15 -1
- package/lib/types/components/border-panel/interface.d.ts +15 -1
- package/lib/types/components/color-picker/index.d.ts +15 -1
- package/lib/types/components/color-picker/interface.d.ts +15 -1
- package/lib/types/components/const.d.ts +15 -1
- package/lib/types/components/font-family/FontFamily.d.ts +15 -1
- package/lib/types/components/font-family/FontFamilyItem.d.ts +15 -1
- package/lib/types/components/font-family/index.d.ts +15 -1
- package/lib/types/components/font-family/interface.d.ts +15 -1
- package/lib/types/components/font-size/FontSize.d.ts +15 -1
- package/lib/types/components/font-size/index.d.ts +15 -1
- package/lib/types/components/font-size/interface.d.ts +15 -1
- package/lib/types/components/menu-item-input/MenuItemInput.d.ts +15 -1
- package/lib/types/components/menu-item-input/index.d.ts +15 -1
- package/lib/types/components/menu-item-input/interface.d.ts +15 -1
- package/lib/types/components/range-selector/RangeSelector.d.ts +15 -1
- package/lib/types/controllers/active-worksheet/active-worksheet.controller.d.ts +33 -0
- package/lib/types/controllers/auto-fill.controller.d.ts +15 -1
- package/lib/types/controllers/auto-height.controller.d.ts +15 -1
- package/lib/types/controllers/clipboard/clipboard.controller.d.ts +15 -1
- package/lib/types/controllers/clipboard/utils.d.ts +21 -7
- package/lib/types/controllers/contextmenu/contextmenu.controller.d.ts +15 -1
- package/lib/types/controllers/editor/editing.controller.d.ts +20 -8
- package/lib/types/controllers/editor/end-edit.controller.d.ts +18 -4
- package/lib/types/controllers/editor/formula-editor.controller.d.ts +16 -1
- package/lib/types/controllers/editor/initialize-editor.controller.d.ts +16 -8
- package/lib/types/controllers/editor/start-edit.controller.d.ts +16 -1
- package/lib/types/controllers/editor-bridge.controller.d.ts +19 -3
- package/lib/types/controllers/format-painter/format-painter.controller.d.ts +18 -3
- package/lib/types/controllers/freeze.controller.d.ts +15 -1
- package/lib/types/controllers/header-menu.controller.d.ts +15 -1
- package/lib/types/controllers/header-move.controller.d.ts +15 -1
- package/lib/types/controllers/header-resize.controller.d.ts +19 -3
- package/lib/types/controllers/header-unhide.controller.d.ts +15 -1
- package/lib/types/controllers/menu/__tests__/create-menu-test-bed.d.ts +15 -1
- package/lib/types/controllers/menu/__tests__/menu.spec.d.ts +15 -1
- package/lib/types/controllers/menu/__tests__/row-col.menu.spec.d.ts +15 -1
- package/lib/types/controllers/menu/border.menu.d.ts +15 -1
- package/lib/types/controllers/menu/clear.menu.d.ts +15 -1
- package/lib/types/controllers/menu/delete.menu.d.ts +15 -1
- package/lib/types/controllers/menu/insert.menu.d.ts +15 -1
- package/lib/types/controllers/menu/menu.d.ts +18 -1
- package/lib/types/controllers/menu/merge.menu.d.ts +15 -1
- package/lib/types/controllers/menu/sheet.menu.d.ts +15 -1
- package/lib/types/controllers/move-range.controller.d.ts +15 -1
- package/lib/types/controllers/navigation/navigation.controller.d.ts +15 -1
- package/lib/types/controllers/scroll.controller.d.ts +15 -1
- package/lib/types/controllers/selection.controller.d.ts +18 -1
- package/lib/types/controllers/sheet-render.controller.d.ts +15 -1
- package/lib/types/controllers/sheet-ui.controller.d.ts +20 -1
- package/lib/types/controllers/shortcuts/editor.shortcut.d.ts +15 -1
- package/lib/types/controllers/shortcuts/operation.shortcut.d.ts +15 -1
- package/lib/types/controllers/shortcuts/selection.shortcut.d.ts +15 -1
- package/lib/types/controllers/shortcuts/style.shortcut.d.ts +15 -1
- package/lib/types/controllers/shortcuts/utils.d.ts +15 -1
- package/lib/types/controllers/shortcuts/value.shortcut.d.ts +15 -1
- package/lib/types/controllers/shortcuts/view.shortcut.d.ts +15 -1
- package/lib/types/controllers/status-bar.controller.d.ts +19 -4
- package/lib/types/controllers/utils/component-tools.d.ts +15 -1
- package/lib/types/controllers/zoom.controller.d.ts +15 -1
- package/lib/types/index.d.ts +32 -3
- package/lib/types/locale/en-US.d.ts +34 -1
- package/lib/types/locale/index.d.ts +15 -1
- package/lib/types/locale/zh-CN.d.ts +61 -1
- package/lib/types/services/auto-fill/auto-fill.service.d.ts +15 -1
- package/lib/types/services/auto-fill/rules.d.ts +15 -1
- package/lib/types/services/auto-fill/tools.d.ts +16 -2
- package/lib/types/services/auto-fill/type.d.ts +15 -1
- package/lib/types/services/clipboard/__tests__/clipboard-service.spec.d.ts +15 -1
- package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts +15 -1
- package/lib/types/services/clipboard/__tests__/mock-clipboard.d.ts +15 -1
- package/lib/types/services/clipboard/__tests__/utils.spec.d.ts +16 -0
- package/lib/types/services/clipboard/clipboard.service.d.ts +18 -2
- package/lib/types/services/clipboard/copy-content-cache.d.ts +17 -3
- package/lib/types/services/clipboard/html-to-usm/converter.d.ts +24 -2
- package/lib/types/services/clipboard/html-to-usm/parse-node-style.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-lark.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-word.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/type.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-usm/utils.d.ts +15 -1
- package/lib/types/services/clipboard/type.d.ts +23 -7
- package/lib/types/services/clipboard/usm-to-html/convertor.d.ts +15 -1
- package/lib/types/services/clipboard/utils.d.ts +28 -0
- package/lib/types/services/editor/cell-editor-manager.service.d.ts +15 -1
- package/lib/types/services/editor/formula-editor-manager.service.d.ts +15 -1
- package/lib/types/services/editor-bridge.service.d.ts +21 -6
- package/lib/types/services/format-painter/format-painter.service.d.ts +30 -8
- package/lib/types/services/mark-selection/mark-selection.service.d.ts +18 -2
- package/lib/types/services/scroll-manager.service.d.ts +15 -1
- package/lib/types/services/selection/selection-render-model.d.ts +15 -1
- package/lib/types/services/selection/selection-render.service.d.ts +28 -12
- package/lib/types/services/selection/selection-shape-extension.d.ts +16 -2
- package/lib/types/services/selection/selection-shape.d.ts +15 -1
- package/lib/types/services/sheet-bar/sheet-bar.service.d.ts +15 -1
- package/lib/types/services/sheet-skeleton-manager.service.d.ts +15 -1
- package/lib/types/services/status-bar.service.d.ts +24 -5
- package/lib/types/sheets-ui-plugin.d.ts +16 -2
- package/lib/types/views/count-bar/CountBar.d.ts +15 -1
- package/lib/types/views/count-bar/index.d.ts +15 -1
- package/lib/types/views/count-bar/zoom-slider.d.ts +15 -1
- package/lib/types/views/editor-container/EditorContainer.d.ts +15 -1
- package/lib/types/views/editor-container/index.d.ts +15 -1
- package/lib/types/views/formula-bar/FormulaBar.d.ts +15 -1
- package/lib/types/views/formula-bar/index.d.ts +15 -1
- package/lib/types/views/header-menu-shape.d.ts +15 -1
- package/lib/types/views/header-resize-shape.d.ts +15 -1
- package/lib/types/views/header-unhide-shape.d.ts +15 -1
- package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts +15 -1
- package/lib/types/views/operate-container/OperateContainer.d.ts +15 -1
- package/lib/types/views/operate-container/index.d.ts +15 -1
- package/lib/types/views/sheet-bar/SheetBar.d.ts +15 -1
- package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts +15 -1
- package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts +15 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts +15 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts +15 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/animate.d.ts +17 -2
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts +19 -4
- package/lib/types/views/sheet-canvas-view.d.ts +20 -3
- package/lib/types/views/sheet-container/SheetContainer.d.ts +17 -3
- package/lib/types/views/status-bar/CopyableStatisticItem.d.ts +18 -3
- package/lib/types/views/status-bar/StatusBar.d.ts +15 -1
- package/lib/umd/index.js +15 -0
- package/package.json +40 -30
- package/LICENSE +0 -21
- package/lib/cjs/locale/en-US.js +0 -605
- package/lib/cjs/locale/zh-CN.js +0 -442
- package/lib/esm/index.js +0 -21640
- package/lib/esm/locale/en-US.js +0 -584
- package/lib/esm/locale/zh-CN.js +0 -421
- package/lib/types/basics/const/default-univer-sheet-config.d.ts.map +0 -1
- package/lib/types/basics/const/index.d.ts.map +0 -1
- package/lib/types/basics/const/plugin-name.d.ts.map +0 -1
- package/lib/types/basics/editor/get-editor-object.d.ts.map +0 -1
- package/lib/types/basics/index.d.ts.map +0 -1
- package/lib/types/basics/interfaces/cell.d.ts.map +0 -1
- package/lib/types/basics/interfaces/component-config/i-sheet-ui-plugin-config.d.ts.map +0 -1
- package/lib/types/basics/interfaces/component-config/index.d.ts.map +0 -1
- package/lib/types/basics/interfaces/component-config/sheet-container-config.d.ts.map +0 -1
- package/lib/types/basics/interfaces/component-config/toolbar-config.d.ts.map +0 -1
- package/lib/types/basics/interfaces/index.d.ts.map +0 -1
- package/lib/types/commands/commands/__tests__/auto-fill.controller.spec.d.ts.map +0 -1
- package/lib/types/commands/commands/__tests__/create-selection-command-test-bed.d.ts.map +0 -1
- package/lib/types/commands/commands/__tests__/set-frozen.command.spec.d.ts.map +0 -1
- package/lib/types/commands/commands/__tests__/set-selections.command.spec.d.ts.map +0 -1
- package/lib/types/commands/commands/auto-fill.command.d.ts.map +0 -1
- package/lib/types/commands/commands/clipboard.command.d.ts.map +0 -1
- package/lib/types/commands/commands/inline-format.command.d.ts.map +0 -1
- package/lib/types/commands/commands/refill.command.d.ts.map +0 -1
- package/lib/types/commands/commands/rename.command.d.ts.map +0 -1
- package/lib/types/commands/commands/set-format-painter.command.d.ts.map +0 -1
- package/lib/types/commands/commands/set-frozen.command.d.ts.map +0 -1
- package/lib/types/commands/commands/set-scroll.command.d.ts.map +0 -1
- package/lib/types/commands/commands/set-selection-frozen.command.d.ts.map +0 -1
- package/lib/types/commands/commands/set-selection.command.d.ts.map +0 -1
- package/lib/types/commands/commands/set-zoom-ratio.command.d.ts.map +0 -1
- package/lib/types/commands/commands/unhide.command.d.ts.map +0 -1
- package/lib/types/commands/operations/activate-cell-edit.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/cell-edit.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/scroll.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/selection.operation.d.ts +0 -12
- package/lib/types/commands/operations/selection.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/set-editor-resize.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/set-format-painter.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts.map +0 -1
- package/lib/types/common/keys.d.ts.map +0 -1
- package/lib/types/components/border-panel/BorderPanel.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/BorderLine.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts.map +0 -1
- package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts.map +0 -1
- package/lib/types/components/border-panel/index.d.ts +0 -1
- package/lib/types/components/border-panel/index.d.ts.map +0 -1
- package/lib/types/components/border-panel/interface.d.ts.map +0 -1
- package/lib/types/components/color-picker/index.d.ts.map +0 -1
- package/lib/types/components/color-picker/interface.d.ts.map +0 -1
- package/lib/types/components/const.d.ts.map +0 -1
- package/lib/types/components/font-family/FontFamily.d.ts.map +0 -1
- package/lib/types/components/font-family/FontFamilyItem.d.ts.map +0 -1
- package/lib/types/components/font-family/index.d.ts.map +0 -1
- package/lib/types/components/font-family/interface.d.ts.map +0 -1
- package/lib/types/components/font-size/FontSize.d.ts.map +0 -1
- package/lib/types/components/font-size/index.d.ts.map +0 -1
- package/lib/types/components/font-size/interface.d.ts.map +0 -1
- package/lib/types/components/menu-item-input/MenuItemInput.d.ts.map +0 -1
- package/lib/types/components/menu-item-input/index.d.ts.map +0 -1
- package/lib/types/components/menu-item-input/interface.d.ts.map +0 -1
- package/lib/types/components/range-selector/RangeSelector.d.ts.map +0 -1
- package/lib/types/controllers/auto-fill.controller.d.ts.map +0 -1
- package/lib/types/controllers/auto-height.controller.d.ts.map +0 -1
- package/lib/types/controllers/clipboard/clipboard.controller.d.ts.map +0 -1
- package/lib/types/controllers/clipboard/utils.d.ts.map +0 -1
- package/lib/types/controllers/contextmenu/contextmenu.controller.d.ts.map +0 -1
- package/lib/types/controllers/editor/editing.controller.d.ts.map +0 -1
- package/lib/types/controllers/editor/end-edit.controller.d.ts.map +0 -1
- package/lib/types/controllers/editor/formula-editor.controller.d.ts.map +0 -1
- package/lib/types/controllers/editor/initialize-editor.controller.d.ts.map +0 -1
- package/lib/types/controllers/editor/start-edit.controller.d.ts.map +0 -1
- package/lib/types/controllers/editor-bridge.controller.d.ts.map +0 -1
- package/lib/types/controllers/format-painter/format-painter.controller.d.ts.map +0 -1
- package/lib/types/controllers/freeze.controller.d.ts.map +0 -1
- package/lib/types/controllers/header-menu.controller.d.ts.map +0 -1
- package/lib/types/controllers/header-move.controller.d.ts.map +0 -1
- package/lib/types/controllers/header-resize.controller.d.ts.map +0 -1
- package/lib/types/controllers/header-unhide.controller.d.ts.map +0 -1
- package/lib/types/controllers/menu/__tests__/create-menu-test-bed.d.ts.map +0 -1
- package/lib/types/controllers/menu/__tests__/menu.spec.d.ts.map +0 -1
- package/lib/types/controllers/menu/__tests__/row-col.menu.spec.d.ts.map +0 -1
- package/lib/types/controllers/menu/border.menu.d.ts.map +0 -1
- package/lib/types/controllers/menu/clear.menu.d.ts.map +0 -1
- package/lib/types/controllers/menu/delete.menu.d.ts.map +0 -1
- package/lib/types/controllers/menu/insert.menu.d.ts.map +0 -1
- package/lib/types/controllers/menu/menu.d.ts.map +0 -1
- package/lib/types/controllers/menu/merge.menu.d.ts.map +0 -1
- package/lib/types/controllers/menu/sheet.menu.d.ts.map +0 -1
- package/lib/types/controllers/move-range.controller.d.ts.map +0 -1
- package/lib/types/controllers/navigation/navigation.controller.d.ts.map +0 -1
- package/lib/types/controllers/scroll.controller.d.ts.map +0 -1
- package/lib/types/controllers/selection.controller.d.ts.map +0 -1
- package/lib/types/controllers/sheet-render.controller.d.ts.map +0 -1
- package/lib/types/controllers/sheet-ui.controller.d.ts.map +0 -1
- package/lib/types/controllers/shortcuts/editor.shortcut.d.ts.map +0 -1
- package/lib/types/controllers/shortcuts/operation.shortcut.d.ts.map +0 -1
- package/lib/types/controllers/shortcuts/selection.shortcut.d.ts.map +0 -1
- package/lib/types/controllers/shortcuts/style.shortcut.d.ts.map +0 -1
- package/lib/types/controllers/shortcuts/utils.d.ts.map +0 -1
- package/lib/types/controllers/shortcuts/value.shortcut.d.ts.map +0 -1
- package/lib/types/controllers/shortcuts/view.shortcut.d.ts.map +0 -1
- package/lib/types/controllers/status-bar.controller.d.ts.map +0 -1
- package/lib/types/controllers/utils/component-tools.d.ts.map +0 -1
- package/lib/types/controllers/zoom.controller.d.ts.map +0 -1
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/locale/en-US.d.ts.map +0 -1
- package/lib/types/locale/index.d.ts.map +0 -1
- package/lib/types/locale/zh-CN.d.ts.map +0 -1
- package/lib/types/services/auto-fill/auto-fill.service.d.ts.map +0 -1
- package/lib/types/services/auto-fill/rules.d.ts.map +0 -1
- package/lib/types/services/auto-fill/tools.d.ts.map +0 -1
- package/lib/types/services/auto-fill/type.d.ts.map +0 -1
- package/lib/types/services/clipboard/__tests__/clipboard-service.spec.d.ts.map +0 -1
- package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts.map +0 -1
- package/lib/types/services/clipboard/__tests__/mock-clipboard.d.ts.map +0 -1
- package/lib/types/services/clipboard/clipboard.service.d.ts.map +0 -1
- package/lib/types/services/clipboard/copy-content-cache.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-usm/converter.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-usm/parse-node-style.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-lark.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-word.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/type.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-usm/utils.d.ts.map +0 -1
- package/lib/types/services/clipboard/type.d.ts.map +0 -1
- package/lib/types/services/clipboard/usm-to-html/convertor.d.ts.map +0 -1
- package/lib/types/services/editor/cell-editor-manager.service.d.ts.map +0 -1
- package/lib/types/services/editor/formula-editor-manager.service.d.ts.map +0 -1
- package/lib/types/services/editor-bridge.service.d.ts.map +0 -1
- package/lib/types/services/format-painter/format-painter.service.d.ts.map +0 -1
- package/lib/types/services/mark-selection/mark-selection.service.d.ts.map +0 -1
- package/lib/types/services/scroll-manager.service.d.ts.map +0 -1
- package/lib/types/services/selection/selection-render-model.d.ts.map +0 -1
- package/lib/types/services/selection/selection-render.service.d.ts.map +0 -1
- package/lib/types/services/selection/selection-shape-extension.d.ts.map +0 -1
- package/lib/types/services/selection/selection-shape.d.ts.map +0 -1
- package/lib/types/services/sheet-bar/sheet-bar.service.d.ts.map +0 -1
- package/lib/types/services/sheet-skeleton-manager.service.d.ts.map +0 -1
- package/lib/types/services/status-bar.service.d.ts.map +0 -1
- package/lib/types/sheets-ui-plugin.d.ts.map +0 -1
- package/lib/types/views/count-bar/CountBar.d.ts.map +0 -1
- package/lib/types/views/count-bar/index.d.ts.map +0 -1
- package/lib/types/views/count-bar/zoom-slider.d.ts.map +0 -1
- package/lib/types/views/editor-container/EditorContainer.d.ts.map +0 -1
- package/lib/types/views/editor-container/index.d.ts.map +0 -1
- package/lib/types/views/formula-bar/FormulaBar.d.ts.map +0 -1
- package/lib/types/views/formula-bar/index.d.ts.map +0 -1
- package/lib/types/views/header-menu-shape.d.ts.map +0 -1
- package/lib/types/views/header-resize-shape.d.ts.map +0 -1
- package/lib/types/views/header-unhide-shape.d.ts.map +0 -1
- package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts.map +0 -1
- package/lib/types/views/operate-container/OperateContainer.d.ts.map +0 -1
- package/lib/types/views/operate-container/index.d.ts.map +0 -1
- package/lib/types/views/sheet-bar/SheetBar.d.ts.map +0 -1
- package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts.map +0 -1
- package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts.map +0 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts.map +0 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts.map +0 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/animate.d.ts.map +0 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts.map +0 -1
- package/lib/types/views/sheet-canvas-view.d.ts.map +0 -1
- package/lib/types/views/sheet-container/SheetContainer.d.ts.map +0 -1
- package/lib/types/views/status-bar/CopyableStatisticItem.d.ts.map +0 -1
- package/lib/types/views/status-bar/StatusBar.d.ts.map +0 -1
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export { FontSize } from './FontSize';
|
|
2
17
|
export { FONT_SIZE_COMPONENT } from './interface';
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import type { ICustomComponentProps } from '@univerjs/ui';
|
|
2
17
|
export declare const FONT_SIZE_COMPONENT = "UI_PLUGIN_SHEETS_FONT_SIZE_COMPONENT";
|
|
3
18
|
export interface IFontSizeProps extends ICustomComponentProps<string> {
|
|
@@ -6,4 +21,3 @@ export interface IFontSizeProps extends ICustomComponentProps<string> {
|
|
|
6
21
|
max: number;
|
|
7
22
|
onChange: (value: string) => void;
|
|
8
23
|
}
|
|
9
|
-
//# sourceMappingURL=interface.d.ts.map
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import React from 'react';
|
|
2
17
|
import type { IMenuItemInputProps } from './interface';
|
|
3
18
|
export declare const MenuItemInput: (props: IMenuItemInputProps) => React.JSX.Element;
|
|
4
|
-
//# sourceMappingURL=MenuItemInput.d.ts.map
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export { MENU_ITEM_INPUT_COMPONENT } from './interface';
|
|
2
17
|
export { MenuItemInput } from './MenuItemInput';
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import type { ICustomComponentProps } from '@univerjs/ui';
|
|
2
17
|
export declare const MENU_ITEM_INPUT_COMPONENT = "UI_PLUGIN_SHEETS_MENU_ITEM_INPUT_COMPONENT";
|
|
3
18
|
export interface IMenuItemInputProps extends ICustomComponentProps<string> {
|
|
4
19
|
prefix: string;
|
|
5
20
|
suffix: string;
|
|
6
21
|
}
|
|
7
|
-
//# sourceMappingURL=interface.d.ts.map
|
|
@@ -1,7 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import React from 'react';
|
|
2
17
|
export interface IRangeSelectorProps {
|
|
3
18
|
onChange: (range: string) => void;
|
|
4
19
|
onActive: (active: boolean) => void;
|
|
5
20
|
}
|
|
6
21
|
export declare function RangeSelector(props: IRangeSelectorProps): React.JSX.Element;
|
|
7
|
-
//# sourceMappingURL=RangeSelector.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
17
|
+
/**
|
|
18
|
+
* This controller is responsible for changing the active worksheet when
|
|
19
|
+
* worksheet tab related mutations executes. We cannot write this logic in
|
|
20
|
+
* commands because it does not take collaborative editing into consideration.
|
|
21
|
+
*/
|
|
22
|
+
export declare class ActiveWorksheetController extends Disposable {
|
|
23
|
+
private readonly _commandService;
|
|
24
|
+
private readonly _univerInstanceService;
|
|
25
|
+
private _previousSheetIndex;
|
|
26
|
+
constructor(_commandService: ICommandService, _univerInstanceService: IUniverInstanceService);
|
|
27
|
+
private _adjustActiveSheetOnHideSheet;
|
|
28
|
+
private _beforeAdjustActiveSheetOnRemoveSheet;
|
|
29
|
+
private _adjustActiveSheetOnRemoveSheet;
|
|
30
|
+
private _adjustActiveSheetOnInsertSheet;
|
|
31
|
+
private _adjustActiveSheetOnShowSheet;
|
|
32
|
+
private _switchToNextSheet;
|
|
33
|
+
}
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
3
18
|
import { IAutoFillService } from '../services/auto-fill/auto-fill.service';
|
|
@@ -29,4 +44,3 @@ export declare class AutoFillController extends Disposable {
|
|
|
29
44
|
private _fillData;
|
|
30
45
|
private _hasSeries;
|
|
31
46
|
}
|
|
32
|
-
//# sourceMappingURL=auto-fill.controller.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
|
|
3
18
|
import { Injector } from '@wendellhu/redi';
|
|
@@ -12,4 +27,3 @@ export declare class AutoHeightController {
|
|
|
12
27
|
private _getUndoRedoParamsOfAutoHeight;
|
|
13
28
|
private _initialize;
|
|
14
29
|
}
|
|
15
|
-
//# sourceMappingURL=auto-height.controller.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IConfigService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
2
17
|
import { IMessageService } from '@univerjs/ui';
|
|
3
18
|
import { Injector } from '@wendellhu/redi';
|
|
@@ -22,4 +37,3 @@ export declare class SheetClipboardController extends Disposable {
|
|
|
22
37
|
private _initSpecialPasteHooks;
|
|
23
38
|
private _getWorksheet;
|
|
24
39
|
}
|
|
25
|
-
//# sourceMappingURL=clipboard.controller.d.ts.map
|
|
@@ -1,36 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import type { IMutationInfo, IRange } from '@univerjs/core';
|
|
2
17
|
import { ObjectMatrix } from '@univerjs/core';
|
|
3
18
|
import type { IAccessor } from '@wendellhu/redi';
|
|
4
19
|
import type { ICellDataWithSpanInfo } from '../../services/clipboard/type';
|
|
5
20
|
import { COPY_TYPE } from '../../services/clipboard/type';
|
|
6
|
-
export declare function getDefaultOnPasteCellMutations(pastedRange: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>,
|
|
21
|
+
export declare function getDefaultOnPasteCellMutations(pastedRange: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, unitId: string, subUnitId: string, copyInfo: {
|
|
7
22
|
copyType: COPY_TYPE;
|
|
8
23
|
copyRange?: IRange;
|
|
9
24
|
}, accessor: IAccessor): {
|
|
10
25
|
undos: IMutationInfo<object>[];
|
|
11
26
|
redos: IMutationInfo<object>[];
|
|
12
27
|
};
|
|
13
|
-
export declare function getMoveRangeMutations(pastedRange: IRange,
|
|
28
|
+
export declare function getMoveRangeMutations(pastedRange: IRange, unitId: string, subUnitId: string, copyInfo: {
|
|
14
29
|
copyType: COPY_TYPE;
|
|
15
30
|
copyRange?: IRange;
|
|
16
31
|
}, accessor: IAccessor): {
|
|
17
32
|
undos: IMutationInfo<object>[];
|
|
18
33
|
redos: IMutationInfo<object>[];
|
|
19
34
|
};
|
|
20
|
-
export declare function getSetCellValueMutations(
|
|
35
|
+
export declare function getSetCellValueMutations(unitId: string, subUnitId: string, range: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
|
|
21
36
|
undos: IMutationInfo<object>[];
|
|
22
37
|
redos: IMutationInfo<object>[];
|
|
23
38
|
};
|
|
24
|
-
export declare function getSetCellStyleMutations(
|
|
39
|
+
export declare function getSetCellStyleMutations(unitId: string, subUnitId: string, range: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
|
|
25
40
|
undos: IMutationInfo<object>[];
|
|
26
41
|
redos: IMutationInfo<object>[];
|
|
27
42
|
};
|
|
28
|
-
export declare function getClearCellStyleMutations(
|
|
43
|
+
export declare function getClearCellStyleMutations(unitId: string, subUnitId: string, range: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
|
|
29
44
|
undos: IMutationInfo<object>[];
|
|
30
45
|
redos: IMutationInfo<object>[];
|
|
31
46
|
};
|
|
32
|
-
export declare function getClearAndSetMergeMutations(
|
|
47
|
+
export declare function getClearAndSetMergeMutations(unitId: string, subUnitId: string, range: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
|
|
33
48
|
undos: IMutationInfo<object>[];
|
|
34
49
|
redos: IMutationInfo<object>[];
|
|
35
50
|
};
|
|
36
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
@@ -17,4 +32,3 @@ export declare class SheetContextMenuController extends Disposable {
|
|
|
17
32
|
constructor(_currentUniverService: IUniverInstanceService, _contextMenuService: IContextMenuService, _renderManagerService: IRenderManagerService, _selectionManagerService: SelectionManagerService, _selectionRenderService: ISelectionRenderService);
|
|
18
33
|
private _addListeners;
|
|
19
34
|
}
|
|
20
|
-
//# sourceMappingURL=contextmenu.controller.d.ts.map
|
|
@@ -1,16 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { IUndoRedoService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
3
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
-
export declare class EditingController extends
|
|
18
|
+
export declare class EditingController extends RxDisposable {
|
|
5
19
|
private readonly _currentUniverService;
|
|
6
20
|
private readonly _renderManagerService;
|
|
7
|
-
private readonly
|
|
8
|
-
|
|
9
|
-
constructor(_currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _formulaEngineService: FormulaEngineService);
|
|
10
|
-
dispose(): void;
|
|
21
|
+
private readonly _undoRedoService;
|
|
22
|
+
constructor(_currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _undoRedoService: IUndoRedoService);
|
|
11
23
|
private _initialize;
|
|
24
|
+
private _listenEditorBlur;
|
|
12
25
|
private _initialNormalInput;
|
|
13
26
|
private _commandExecutedListener;
|
|
14
27
|
private _getDocObject;
|
|
15
28
|
}
|
|
16
|
-
//# sourceMappingURL=editing.controller.d.ts.map
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IContextService, IUndoRedoService, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
-
import {
|
|
17
|
+
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
18
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
19
|
import { SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
|
|
5
20
|
import { ICellEditorManagerService } from '../../services/editor/cell-editor-manager.service';
|
|
@@ -11,7 +26,7 @@ export declare class EndEditController extends Disposable {
|
|
|
11
26
|
private readonly _editorBridgeService;
|
|
12
27
|
private readonly _contextService;
|
|
13
28
|
private readonly _cellEditorManagerService;
|
|
14
|
-
private readonly
|
|
29
|
+
private readonly _lexerTreeBuilder;
|
|
15
30
|
private _undoRedoService;
|
|
16
31
|
private readonly _sheetInterceptorService;
|
|
17
32
|
private readonly _selectionManagerService;
|
|
@@ -22,7 +37,7 @@ export declare class EndEditController extends Disposable {
|
|
|
22
37
|
* It is used to distinguish whether the user has actively moved the cursor in the editor, mainly through mouse clicks.
|
|
23
38
|
*/
|
|
24
39
|
private _isCursorChange;
|
|
25
|
-
constructor(_currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _contextService: IContextService, _cellEditorManagerService: ICellEditorManagerService,
|
|
40
|
+
constructor(_currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _contextService: IContextService, _cellEditorManagerService: ICellEditorManagerService, _lexerTreeBuilder: LexerTreeBuilder, _undoRedoService: IUndoRedoService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SelectionManagerService);
|
|
26
41
|
dispose(): void;
|
|
27
42
|
private _initialize;
|
|
28
43
|
private _initialExitInput;
|
|
@@ -33,4 +48,3 @@ export declare class EndEditController extends Disposable {
|
|
|
33
48
|
private _moveInEditor;
|
|
34
49
|
private _getEditorObject;
|
|
35
50
|
}
|
|
36
|
-
//# sourceMappingURL=end-edit.controller.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { ICommandService, IContextService, IUndoRedoService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
2
17
|
import { DocSkeletonManagerService, DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
3
18
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
@@ -21,8 +36,8 @@ export declare class FormulaEditorController extends RxDisposable {
|
|
|
21
36
|
private _initialMain;
|
|
22
37
|
private _syncEditorSize;
|
|
23
38
|
private _syncFormulaEditorContent;
|
|
39
|
+
private _editorSyncHandler;
|
|
24
40
|
private _commandExecutedListener;
|
|
25
41
|
private _syncContentAndRender;
|
|
26
42
|
private _autoScroll;
|
|
27
43
|
}
|
|
28
|
-
//# sourceMappingURL=formula-editor.controller.d.ts.map
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
17
|
export declare class InitializeEditorController extends Disposable {
|
|
4
18
|
private readonly _currentUniverService;
|
|
5
|
-
|
|
6
|
-
private _onInputSubscription;
|
|
7
|
-
constructor(_currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService);
|
|
8
|
-
dispose(): void;
|
|
19
|
+
constructor(_currentUniverService: IUniverInstanceService);
|
|
9
20
|
private _initialize;
|
|
10
|
-
private _commandExecutedListener;
|
|
11
|
-
private _getDocObject;
|
|
12
21
|
}
|
|
13
|
-
//# sourceMappingURL=initialize-editor.controller.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IContextService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
2
17
|
import { DocSkeletonManagerService, DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
3
18
|
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
@@ -21,6 +36,7 @@ export declare class StartEditController extends Disposable {
|
|
|
21
36
|
constructor(_docSkeletonManagerService: DocSkeletonManagerService, _docViewModelManagerService: DocViewModelManagerService, _contextService: IContextService, _currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _cellEditorManagerService: ICellEditorManagerService, _textSelectionRenderManager: ITextSelectionRenderManager, _textSelectionManagerService: TextSelectionManagerService, _commandService: ICommandService, _localService: LocaleService);
|
|
22
37
|
dispose(): void;
|
|
23
38
|
private _initialize;
|
|
39
|
+
private _listenEditorFocus;
|
|
24
40
|
private _initialCursorSync;
|
|
25
41
|
private _initialEditFocusListener;
|
|
26
42
|
private _fitTextSize;
|
|
@@ -46,4 +62,3 @@ export declare class StartEditController extends Disposable {
|
|
|
46
62
|
private _commandExecutedListener;
|
|
47
63
|
private _getEditorObject;
|
|
48
64
|
}
|
|
49
|
-
//# sourceMappingURL=start-edit.controller.d.ts.map
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Disposable, ICommandService, IUniverInstanceService, ThemeService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
4
19
|
import { IEditorBridgeService } from '../services/editor-bridge.service';
|
|
@@ -12,10 +27,12 @@ export declare class EditorBridgeController extends Disposable {
|
|
|
12
27
|
private readonly _editorBridgeService;
|
|
13
28
|
private readonly _selectionManagerService;
|
|
14
29
|
private readonly _selectionRenderService;
|
|
15
|
-
|
|
30
|
+
private readonly _themeService;
|
|
31
|
+
constructor(_sheetSkeletonManagerService: SheetSkeletonManagerService, _currentUniverService: IUniverInstanceService, _commandService: ICommandService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _selectionManagerService: SelectionManagerService, _selectionRenderService: ISelectionRenderService, _themeService: ThemeService);
|
|
16
32
|
dispose(): void;
|
|
17
33
|
private _initialize;
|
|
18
34
|
private _initialSelectionListener;
|
|
35
|
+
private _selectionListener;
|
|
19
36
|
private _initialEventListener;
|
|
20
37
|
/**
|
|
21
38
|
* In the activated state of formula editing,
|
|
@@ -26,4 +43,3 @@ export declare class EditorBridgeController extends Disposable {
|
|
|
26
43
|
private _getSheetObject;
|
|
27
44
|
private _commandExecutedListener;
|
|
28
45
|
}
|
|
29
|
-
//# sourceMappingURL=editor-bridge.controller.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
@@ -5,13 +20,13 @@ import { IFormatPainterService } from '../../services/format-painter/format-pain
|
|
|
5
20
|
export declare class FormatPainterController extends Disposable {
|
|
6
21
|
private readonly _commandService;
|
|
7
22
|
private readonly _formatPainterService;
|
|
8
|
-
private readonly
|
|
23
|
+
private readonly _currentUniverService;
|
|
9
24
|
private readonly _renderManagerService;
|
|
10
25
|
private readonly _selectionManagerService;
|
|
11
|
-
constructor(_commandService: ICommandService, _formatPainterService: IFormatPainterService,
|
|
26
|
+
constructor(_commandService: ICommandService, _formatPainterService: IFormatPainterService, _currentUniverService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _selectionManagerService: SelectionManagerService);
|
|
12
27
|
private _initialize;
|
|
13
28
|
private _bindFormatPainterStatus;
|
|
14
29
|
private _commandExecutedListener;
|
|
15
30
|
private _applyFormatPainter;
|
|
31
|
+
private _getSheetObject;
|
|
16
32
|
}
|
|
17
|
-
//# sourceMappingURL=format-painter.controller.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService, ThemeService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
@@ -54,4 +69,3 @@ export declare class FreezeController extends Disposable {
|
|
|
54
69
|
private _getSheetObject;
|
|
55
70
|
private _refreshFreeze;
|
|
56
71
|
}
|
|
57
|
-
//# sourceMappingURL=freeze.controller.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
@@ -24,4 +39,3 @@ export declare class HeaderMenuController extends Disposable {
|
|
|
24
39
|
private _initialHoverMenu;
|
|
25
40
|
private _getSheetObject;
|
|
26
41
|
}
|
|
27
|
-
//# sourceMappingURL=header-menu.controller.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
import { SelectionManagerService } from '@univerjs/sheets';
|
|
@@ -36,4 +51,3 @@ export declare class HeaderMoveController extends Disposable {
|
|
|
36
51
|
private _disposeBackgroundAndLine;
|
|
37
52
|
private _getSheetObject;
|
|
38
53
|
}
|
|
39
|
-
//# sourceMappingURL=header-move.controller.d.ts.map
|