@univerjs/sheets-ui 0.8.2-nightly.202506261607 → 0.8.3-nightly.202506271607

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.
@@ -15,14 +15,58 @@
15
15
  */
16
16
  import './global.css';
17
17
  export { getEditorObject } from './basics/editor/get-editor-object';
18
+ export { AutoClearContentCommand, AutoFillCommand } from './commands/commands/auto-fill.command';
19
+ export { type ISheetPasteByShortKeyParams, type ISheetPasteParams, SheetCopyCommand, SheetCutCommand, SheetPasteBesidesBorderCommand, SheetPasteColWidthCommand, SheetPasteCommand, SheetPasteFormatCommand, SheetPasteShortKeyCommand, SheetPasteValueCommand, } from './commands/commands/clipboard.command';
20
+ export { DeleteRangeMoveLeftConfirmCommand } from './commands/commands/delete-range-move-left-confirm.command';
21
+ export { DeleteRangeMoveUpConfirmCommand } from './commands/commands/delete-range-move-up-confirm.command';
22
+ export { SetColumnHeaderHeightCommand, SetRowHeaderWidthCommand } from './commands/commands/headersize-changed.command';
23
+ export { HideColConfirmCommand, HideRowConfirmCommand } from './commands/commands/hide-row-col-confirm.command';
24
+ export { ResetRangeTextColorCommand, SetRangeBoldCommand, SetRangeFontFamilyCommand, SetRangeFontSizeCommand, SetRangeItalicCommand, SetRangeStrickThroughCommand, SetRangeSubscriptCommand, SetRangeSuperscriptCommand, SetRangeTextColorCommand, SetRangeUnderlineCommand, } from './commands/commands/inline-format.command';
25
+ export { InsertRangeMoveDownConfirmCommand } from './commands/commands/insert-range-move-down-confirm.command';
26
+ export { InsertRangeMoveRightConfirmCommand } from './commands/commands/insert-range-move-right-confirm.command';
27
+ export { AddRangeProtectionFromContextMenuCommand, AddRangeProtectionFromSheetBarCommand, AddRangeProtectionFromToolbarCommand, DeleteRangeProtectionFromContextMenuCommand, SetRangeProtectionFromContextMenuCommand, ViewSheetPermissionFromContextMenuCommand, ViewSheetPermissionFromSheetBarCommand, } from './commands/commands/range-protection.command';
28
+ export { RefillCommand } from './commands/commands/refill.command';
29
+ export { RemoveColConfirmCommand, RemoveRowConfirmCommand } from './commands/commands/remove-row-col-confirm.command';
30
+ export { RemoveSheetConfirmCommand } from './commands/commands/remove-sheet-confirm.command';
31
+ export { ApplyFormatPainterCommand, SetInfiniteFormatPainterCommand, SetOnceFormatPainterCommand } from './commands/commands/set-format-painter.command';
32
+ export { SetColumnFrozenCommand, SetRowFrozenCommand, SetSelectionFrozenCommand } from './commands/commands/set-frozen.command';
33
+ export { type IScrollCommandParams, type IScrollToCellCommandParams, type ISetScrollRelativeCommandParams, ResetScrollCommand, ScrollCommand, ScrollToCellCommand, SetScrollRelativeCommand, } from './commands/commands/set-scroll.command';
34
+ export { ExpandSelectionCommand, JumpOver, MoveSelectionCommand, MoveSelectionEnterAndTabCommand, SelectAllCommand } from './commands/commands/set-selection.command';
35
+ export { SetWorksheetColAutoWidthCommand } from './commands/commands/set-worksheet-auto-col-width.command';
36
+ export { ChangeZoomRatioCommand, type ISetZoomRatioCommandParams, SetZoomRatioCommand } from './commands/commands/set-zoom-ratio.command';
37
+ export { ShowMenuListCommand } from './commands/commands/unhide.command';
38
+ export { ChangeSheetProtectionFromSheetBarCommand, DeleteWorksheetProtectionFormSheetBarCommand } from './commands/commands/worksheet-protection.command';
39
+ export { SetActivateCellEditOperation } from './commands/operations/activate-cell-edit.operation';
40
+ export { SetCellEditVisibleArrowOperation, SetCellEditVisibleOperation, SetCellEditVisibleWithF2Operation } from './commands/operations/cell-edit.operation';
41
+ export { RenameSheetOperation } from './commands/operations/rename-sheet.operation';
42
+ export { ScrollToRangeOperation } from './commands/operations/scroll-to-range.operation';
43
+ export { SetScrollOperation } from './commands/operations/scroll.operation';
44
+ export { SetFormatPainterOperation } from './commands/operations/set-format-painter.operation';
45
+ export { SetZoomRatioOperation } from './commands/operations/set-zoom-ratio.operation';
46
+ export { SheetPermissionOpenDialogOperation } from './commands/operations/sheet-permission-open-dialog.operation';
47
+ export { SheetPermissionOpenPanelOperation } from './commands/operations/sheet-permission-open-panel.operation';
48
+ export { SidebarDefinedNameOperation } from './commands/operations/sidebar-defined-name.operation';
49
+ export { EMBEDDING_FORMULA_EDITOR_COMPONENT_KEY, RANGE_SELECTOR_COMPONENT_KEY, SHEET_VIEW_KEY } from './common/keys';
50
+ export { getCellRealRange } from './common/utils';
18
51
  export { useActiveWorkbook, useActiveWorksheet, useWorkbooks } from './components/hook';
52
+ export { UNIVER_SHEET_PERMISSION_BACKGROUND, UNIVER_SHEET_PERMISSION_USER_PART } from './consts/permission';
19
53
  export { SHEET_UI_PLUGIN_NAME } from './consts/plugin-name';
20
54
  export { SheetsUIPart } from './consts/ui-name';
21
55
  export { AutoFillController } from './controllers/auto-fill.controller';
56
+ export { AFFECT_LAYOUT_STYLES, AutoHeightController } from './controllers/auto-height.controller';
57
+ export { AutoWidthController } from './controllers/auto-width.controller';
22
58
  export { CellCustomRenderController } from './controllers/cell-custom-render.controller';
59
+ export { type IUniverSheetsUIConfig } from './controllers/config.schema';
60
+ export { DragRenderController } from './controllers/drag-render.controller';
23
61
  export { EditingRenderController } from './controllers/editor/editing.render-controller';
62
+ export { FormulaEditorController } from './controllers/editor/formula-editor.controller';
63
+ export { EMBEDDING_FORMULA_EDITOR, isEmbeddingFormulaEditor } from './controllers/editor/utils/is-embedding-formula-editor';
64
+ export { isRangeSelector, RANGE_SELECTOR_SYMBOLS } from './controllers/editor/utils/is-range-selector';
65
+ export { HoverRenderController } from './controllers/hover-render.controller';
66
+ export { menuSchema as SheetsUIMenuSchema } from './controllers/menu.schema';
24
67
  export { PASTE_SPECIAL_MENU_ID, SheetMenuPosition } from './controllers/menu/menu';
25
68
  export { deriveStateFromActiveSheet$, getCurrentExclusiveRangeInterest$, getCurrentRangeDisable$, getObservableWithExclusiveRange$ } from './controllers/menu/menu-util';
69
+ export { SheetPermissionCheckUIController } from './controllers/permission/sheet-permission-check-ui.controller';
26
70
  export { HeaderFreezeRenderController } from './controllers/render-controllers/freeze.render-controller';
27
71
  export { HeaderMoveRenderController } from './controllers/render-controllers/header-move.render-controller';
28
72
  export { HeaderResizeRenderController } from './controllers/render-controllers/header-resize.render-controller';
@@ -30,7 +74,10 @@ export { SheetsScrollRenderController } from './controllers/render-controllers/s
30
74
  export { type ITelemetryData, SheetRenderController } from './controllers/render-controllers/sheet.render-controller';
31
75
  export { SheetUIController } from './controllers/sheet-ui.controller';
32
76
  export { whenFormulaEditorActivated, whenSheetEditorFocused } from './controllers/shortcuts/utils';
77
+ export { StatusBarController } from './controllers/status-bar.controller';
33
78
  export { getCoordByCell, getCoordByOffset, getSheetObject, getTransformCoord } from './controllers/utils/component-tools';
79
+ export type { IDiscreteRange } from './controllers/utils/range-tools';
80
+ export { discreteRangeToRange, virtualizeDiscreteRanges } from './controllers/utils/range-tools';
34
81
  export { matchedSelectionByRowColIndex as checkInHeaderRanges } from './controllers/utils/selections-tools';
35
82
  export { useHighlightRange } from './hooks/use-highlight-range';
36
83
  export { UniverSheetsMobileUIPlugin } from './mobile-plugin';
@@ -41,6 +88,8 @@ export { APPLY_TYPE, DATA_TYPE, type IAutoFillRule, type ICopyDataInTypeIndexInf
41
88
  export type { IAutoFillLocation, ICopyDataPiece, ISheetAutoFillHook } from './services/auto-fill/type';
42
89
  export { type ICanvasPopup, SheetCanvasPopManagerService } from './services/canvas-pop-manager.service';
43
90
  export { CellAlertManagerService, CellAlertType, type ICellAlert } from './services/cell-alert-manager.service';
91
+ export { type IDropdownParam, ISheetCellDropdownManagerService, SheetCellDropdownManagerService } from './services/cell-dropdown-manager.service';
92
+ export { CellPopupManagerService } from './services/cell-popup-manager.service';
44
93
  export { getMatrixPlainText, ISheetClipboardService, PREDEFINED_HOOK_NAME, SheetClipboardService } from './services/clipboard/clipboard.service';
45
94
  export { COPY_TYPE } from './services/clipboard/type';
46
95
  export type { ICellDataWithSpanInfo, ICopyPastePayload, IPasteHookValueType, ISheetClipboardHook, ISheetDiscreteRangeLocation } from './services/clipboard/type';
@@ -49,25 +98,20 @@ export { DragManagerService, type IDragCellPosition } from './services/drag-mana
49
98
  export { EditorBridgeService, IEditorBridgeService, type IEditorBridgeServiceVisibleParam } from './services/editor-bridge.service';
50
99
  export type { IEditorBridgeServiceParam } from './services/editor-bridge.service';
51
100
  export { CellEditorManagerService, ICellEditorManagerService } from './services/editor/cell-editor-manager.service';
101
+ export { SheetCellEditorResizeService } from './services/editor/cell-editor-resize.service';
52
102
  export { IFormulaEditorManagerService } from './services/editor/formula-editor-manager.service';
103
+ export { FormatPainterStatus, IFormatPainterService } from './services/format-painter/format-painter.service';
104
+ export type { IFormatPainterBeforeApplyHookParams, IFormatPainterHook } from './services/format-painter/format-painter.service';
53
105
  export { HoverManagerService } from './services/hover-manager.service';
54
106
  export type { ICellPosWithEvent, IHoverCellPosition, IHoverRichTextInfo, IHoverRichTextPosition } from './services/hover-manager.service';
55
107
  export { IMarkSelectionService, MarkSelectionService } from './services/mark-selection/mark-selection.service';
56
- export { HoverRenderController } from './controllers/hover-render.controller';
57
- export { DragRenderController } from './controllers/drag-render.controller';
58
- export { EMBEDDING_FORMULA_EDITOR_COMPONENT_KEY, RANGE_SELECTOR_COMPONENT_KEY, SHEET_VIEW_KEY } from './common/keys';
59
- export type { IDiscreteRange } from './controllers/utils/range-tools';
60
- export { discreteRangeToRange, virtualizeDiscreteRanges } from './controllers/utils/range-tools';
61
- export { AFFECT_LAYOUT_STYLES, AutoHeightController } from './controllers/auto-height.controller';
62
- export { AutoWidthController } from './controllers/auto-width.controller';
63
- export { FormulaEditorController } from './controllers/editor/formula-editor.controller';
64
- export { StatusBarController } from './controllers/status-bar.controller';
65
- export { SheetPermissionCheckUIController } from './controllers/permission/sheet-permission-check-ui.controller';
66
108
  export { SheetPermissionUserManagerService } from './services/permission/sheet-permission-user-list.service';
67
109
  export { SheetPrintInterceptorService } from './services/print-interceptor.service';
68
110
  export { SheetScrollManagerService } from './services/scroll-manager.service';
111
+ export type { IScrollState, IViewportScrollState } from './services/scroll-manager.service';
69
112
  export { BaseSelectionRenderService, genSelectionByRange, selectionDataForSelectAll as getAllSelection, getTopLeftSelectionOfCurrSheet, ISheetSelectionRenderService } from './services/selection/base-selection-render.service';
70
113
  export { genNormalSelectionStyle } from './services/selection/const';
114
+ export { SELECTION_SHAPE_DEPTH } from './services/selection/const';
71
115
  export { SelectionControl, SelectionControl as SelectionShape } from './services/selection/selection-control';
72
116
  export { SheetSelectionRenderService } from './services/selection/selection-render.service';
73
117
  export { SelectionShapeExtension } from './services/selection/selection-shape-extension';
@@ -75,60 +119,16 @@ export { attachPrimaryWithCoord, attachRangeWithCoord, attachSelectionWithCoord
75
119
  export { SheetSkeletonManagerService } from './services/sheet-skeleton-manager.service';
76
120
  export type { ISheetSkeletonManagerParam } from './services/sheet-skeleton-manager.service';
77
121
  export { SheetsRenderService } from './services/sheets-render.service';
122
+ export { IStatusBarService, StatusBarService } from './services/status-bar.service';
78
123
  export { calculateDocSkeletonRects, getCustomRangePosition, getEditingCustomRangePosition } from './services/utils/doc-skeleton-util';
124
+ export { convertPositionCellToSheetOverGrid, convertPositionSheetOverGridToAbsolute } from './services/utils/drawing-position-util';
125
+ export { useKeyEventConfig } from './views/editor-container';
126
+ export { FormulaBar } from './views/formula-bar/FormulaBar';
79
127
  export { MobileSheetBar } from './views/mobile/sheet-bar/MobileSheetBar';
80
128
  export type { IRangeProtectionRenderCellData } from './views/permission/extensions/range-protection.render';
129
+ export { type IPermissionDetailUserPartProps } from './views/permission/panel-detail/PermissionDetailUserPart';
130
+ export { type IBaseSheetBarProps } from './views/sheet-bar/sheet-bar-tabs/SheetBarItem';
81
131
  export { SheetBar } from './views/sheet-bar/SheetBar';
82
132
  export { RenderSheetContent, RenderSheetFooter, RenderSheetHeader } from './views/sheet-container/SheetContainer';
83
- export { type IUniverSheetsUIConfig } from './controllers/config.schema';
84
- export { getCellRealRange } from './common/utils';
85
- export { EMBEDDING_FORMULA_EDITOR, isEmbeddingFormulaEditor } from './controllers/editor/utils/is-embedding-formula-editor';
86
- export { isRangeSelector, RANGE_SELECTOR_SYMBOLS } from './controllers/editor/utils/is-range-selector';
87
- export { menuSchema as SheetsUIMenuSchema } from './controllers/menu.schema';
88
- export { SheetCellEditorResizeService } from './services/editor/cell-editor-resize.service';
89
- export { FormatPainterStatus, IFormatPainterService } from './services/format-painter/format-painter.service';
90
- export type { IFormatPainterBeforeApplyHookParams, IFormatPainterHook } from './services/format-painter/format-painter.service';
91
- export { SELECTION_SHAPE_DEPTH } from './services/selection/const';
92
- export { type IBaseSheetBarProps } from './views/sheet-bar/sheet-bar-tabs/SheetBarItem';
93
- export { useKeyEventConfig } from './views/editor-container';
94
- export { type IDropdownParam, ISheetCellDropdownManagerService, SheetCellDropdownManagerService } from './services/cell-dropdown-manager.service';
95
- export { FormulaBar } from './views/formula-bar/FormulaBar';
96
- export { type IPermissionDetailUserPartProps } from './views/permission/panel-detail/PermissionDetailUserPart';
97
- export { CellPopupManagerService } from './services/cell-popup-manager.service';
98
- export { SetWorksheetColAutoWidthCommand } from './commands/commands/set-worksheet-auto-col-width.command';
99
- export { AutoClearContentCommand, AutoFillCommand } from './commands/commands/auto-fill.command';
100
- export { type ISheetPasteByShortKeyParams, type ISheetPasteParams, SheetCopyCommand, SheetCutCommand, SheetPasteBesidesBorderCommand, SheetPasteColWidthCommand, SheetPasteCommand, SheetPasteFormatCommand, SheetPasteShortKeyCommand, SheetPasteValueCommand, } from './commands/commands/clipboard.command';
101
- export { DeleteRangeMoveLeftConfirmCommand } from './commands/commands/delete-range-move-left-confirm.command';
102
- export { DeleteRangeMoveUpConfirmCommand } from './commands/commands/delete-range-move-up-confirm.command';
103
- export { HideColConfirmCommand, HideRowConfirmCommand } from './commands/commands/hide-row-col-confirm.command';
104
- export { ResetRangeTextColorCommand, SetRangeBoldCommand, SetRangeFontFamilyCommand, SetRangeFontSizeCommand, SetRangeItalicCommand, SetRangeStrickThroughCommand, SetRangeSubscriptCommand, SetRangeSuperscriptCommand, SetRangeTextColorCommand, SetRangeUnderlineCommand, } from './commands/commands/inline-format.command';
105
- export { InsertRangeMoveDownConfirmCommand } from './commands/commands/insert-range-move-down-confirm.command';
106
- export { InsertRangeMoveRightConfirmCommand } from './commands/commands/insert-range-move-right-confirm.command';
107
- export { AddRangeProtectionFromContextMenuCommand, AddRangeProtectionFromSheetBarCommand, AddRangeProtectionFromToolbarCommand, DeleteRangeProtectionFromContextMenuCommand, SetRangeProtectionFromContextMenuCommand, ViewSheetPermissionFromContextMenuCommand, ViewSheetPermissionFromSheetBarCommand, } from './commands/commands/range-protection.command';
108
- export { RefillCommand } from './commands/commands/refill.command';
109
- export { RemoveColConfirmCommand, RemoveRowConfirmCommand } from './commands/commands/remove-row-col-confirm.command';
110
- export { RemoveSheetConfirmCommand } from './commands/commands/remove-sheet-confirm.command';
111
- export { ApplyFormatPainterCommand, SetInfiniteFormatPainterCommand, SetOnceFormatPainterCommand } from './commands/commands/set-format-painter.command';
112
- export { SetColumnFrozenCommand, SetRowFrozenCommand, SetSelectionFrozenCommand } from './commands/commands/set-frozen.command';
113
- export { type IScrollCommandParams, type IScrollToCellCommandParams, type ISetScrollRelativeCommandParams, ResetScrollCommand, ScrollCommand, ScrollToCellCommand, SetScrollRelativeCommand, } from './commands/commands/set-scroll.command';
114
- export { ExpandSelectionCommand, JumpOver, MoveSelectionCommand, MoveSelectionEnterAndTabCommand, SelectAllCommand } from './commands/commands/set-selection.command';
115
- export { ChangeZoomRatioCommand, type ISetZoomRatioCommandParams, SetZoomRatioCommand } from './commands/commands/set-zoom-ratio.command';
116
- export { ShowMenuListCommand } from './commands/commands/unhide.command';
117
- export { ChangeSheetProtectionFromSheetBarCommand, DeleteWorksheetProtectionFormSheetBarCommand, } from './commands/commands/worksheet-protection.command';
118
- export { SetColumnHeaderHeightCommand, SetRowHeaderWidthCommand } from './commands/commands/headersize-changed.command';
119
- export { SetActivateCellEditOperation } from './commands/operations/activate-cell-edit.operation';
120
- export { SetCellEditVisibleArrowOperation, SetCellEditVisibleOperation, SetCellEditVisibleWithF2Operation } from './commands/operations/cell-edit.operation';
121
- export { RenameSheetOperation } from './commands/operations/rename-sheet.operation';
122
- export { ScrollToRangeOperation } from './commands/operations/scroll-to-range.operation';
123
- export { SetScrollOperation } from './commands/operations/scroll.operation';
124
- export { SetFormatPainterOperation } from './commands/operations/set-format-painter.operation';
125
- export { SetZoomRatioOperation } from './commands/operations/set-zoom-ratio.operation';
126
- export { SheetPermissionOpenDialogOperation } from './commands/operations/sheet-permission-open-dialog.operation';
127
- export { SheetPermissionOpenPanelOperation } from './commands/operations/sheet-permission-open-panel.operation';
128
- export { SidebarDefinedNameOperation } from './commands/operations/sidebar-defined-name.operation';
129
- export { UNIVER_SHEET_PERMISSION_BACKGROUND, UNIVER_SHEET_PERMISSION_USER_PART } from './consts/permission';
130
- export { convertPositionCellToSheetOverGrid, convertPositionSheetOverGridToAbsolute } from './services/utils/drawing-position-util';
131
- export type { IScrollState, IViewportScrollState } from './services/scroll-manager.service';
132
- export { IStatusBarService, StatusBarService } from './services/status-bar.service';
133
133
  export { type IStatisticItem } from './views/status-bar/CopyableStatisticItem';
134
134
  export { functionDisplayNames } from './views/status-bar/CopyableStatisticItem';