@univerjs/sheets 0.1.16 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sheets": {
3
3
  "tabs": {
4
- "sheetCopy": "(Copy)",
4
+ "sheetCopy": "(Copy{0})",
5
5
  "sheet": "Sheet"
6
6
  },
7
7
  "info": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sheets": {
3
3
  "tabs": {
4
- "sheetCopy": "(Копия)",
4
+ "sheetCopy": "(Копия{0})",
5
5
  "sheet": "Лист"
6
6
  },
7
7
  "info": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sheets": {
3
3
  "tabs": {
4
- "sheetCopy": "(副本)",
4
+ "sheetCopy": "(副本{0})",
5
5
  "sheet": "工作表"
6
6
  },
7
7
  "info": {
@@ -1,4 +1,4 @@
1
- import { IRange, ISelection, ISelectionCellWithCoord, ISelectionWithCoord, Nullable, ThemeService } from '@univerjs/core';
1
+ import { IRange, ISelection, ISelectionCellWithMergeInfo, ISelectionWithCoord, Nullable, ThemeService } from '@univerjs/core';
2
2
 
3
3
  export declare const SELECTION_CONTROL_BORDER_BUFFER_WIDTH = 1.5;
4
4
  export declare const SELECTION_CONTROL_BORDER_BUFFER_COLOR = "rgba(255, 255, 255, 0.01)";
@@ -103,6 +103,7 @@ export interface ISelectionStyle {
103
103
  columnHeaderFill?: string;
104
104
  columnHeaderStroke?: string;
105
105
  columnHeaderStrokeWidth?: number;
106
+ expandCornerSize?: number;
106
107
  }
107
108
  export interface ISelectionWithCoordAndStyle extends ISelectionWithCoord {
108
109
  style: Nullable<ISelectionStyle>;
@@ -125,7 +126,7 @@ export declare function getNormalSelectionStyle(themeService: ThemeService): ISe
125
126
  * @returns
126
127
  */
127
128
  export declare function convertSelectionDataToRange(selectionWithCoordAndStyle: ISelectionWithCoordAndStyle): ISelectionWithStyle;
128
- export declare function convertPrimaryWithCoordToPrimary(primaryWithCoord: ISelectionCellWithCoord): {
129
+ export declare function convertPrimaryWithCoordToPrimary(primaryWithCoord: ISelectionCellWithMergeInfo): {
129
130
  actualRow: number;
130
131
  actualColumn: number;
131
132
  isMerged: boolean;
@@ -1,5 +1,4 @@
1
- import { ICellData, IObjectMatrixPrimitiveType, IRange, Worksheet } from '@univerjs/core';
2
- import { Nullable } from 'vitest';
1
+ import { ICellData, IObjectMatrixPrimitiveType, IRange, Nullable, Worksheet } from '@univerjs/core';
3
2
  import { IExpandParams } from '../commands/commands/utils/selection-utils';
4
3
 
5
4
  export declare const groupByKey: <T = Record<string, unknown>>(arr: T[], key: string, blankKey?: string) => Record<string, T[]>;
@@ -1,7 +1,8 @@
1
- import { ICommand } from '@univerjs/core';
1
+ import { ICommand, Workbook, LocaleService } from '@univerjs/core';
2
2
 
3
3
  export interface ICopySheetCommandParams {
4
4
  unitId?: string;
5
5
  subUnitId?: string;
6
6
  }
7
7
  export declare const CopySheetCommand: ICommand;
8
+ export declare function getCopyUniqueSheetName(workbook: Workbook, localeService: LocaleService, name: string): string;
@@ -4,12 +4,12 @@ import { Dependency } from '@wendellhu/redi';
4
4
  export declare function createTestBase(workbookData?: IWorkbookData, dependencies?: Dependency[]): {
5
5
  univer: Univer;
6
6
  get: {
7
- <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
8
- <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
9
- <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
10
- <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
11
- <T_4>(id: import('@wendellhu/redi').DependencyIdentifier<T_4>, quantity?: import('@wendellhu/redi').Quantity | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_4 | T_4[] | null;
12
- <T_5>(id: import('@wendellhu/redi').DependencyIdentifier<T_5>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_5 | T_5[] | null;
7
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp): T;
8
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp): T[];
9
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp): T | null;
10
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp): T;
11
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity?: import('@wendellhu/redi').Quantity, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
12
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
13
13
  };
14
14
  sheet: import('@univerjs/core').Workbook;
15
15
  };
@@ -0,0 +1,9 @@
1
+ import { Disposable } from '@univerjs/core';
2
+ import { SheetInterceptorService } from '../services/sheet-interceptor/sheet-interceptor.service';
3
+
4
+ export declare class NumberCellDisplayController extends Disposable {
5
+ private _sheetInterceptorService;
6
+ constructor(_sheetInterceptorService: SheetInterceptorService);
7
+ private _initialize;
8
+ private _initInterceptorCellContent;
9
+ }
@@ -17,92 +17,20 @@ export { type IUniverSheetsConfig, UniverSheetsPlugin } from './sheets-plugin';
17
17
  export { COMMAND_LISTENER_SKELETON_CHANGE, COMMAND_LISTENER_VALUE_CHANGE } from './basics/const/command-listener-const';
18
18
  export { type IAddWorksheetMergeMutationParams, type IDeleteRangeMutationParams, type IInsertColMutationParams, type IInsertRangeMutationParams, type IInsertRowMutationParams, type IInsertSheetMutationParams, type IRemoveColMutationParams, type IRemoveRowsMutationParams, type IRemoveSheetMutationParams, type IRemoveWorksheetMergeMutationParams, } from './basics/interfaces/mutation-interface';
19
19
  export { convertPrimaryWithCoordToPrimary, convertSelectionDataToRange, getNormalSelectionStyle, type ISelectionStyle, type ISelectionWidgetConfig, type ISelectionWithCoordAndStyle, type ISelectionWithStyle, type ISheetRangeLocation, SELECTION_CONTROL_BORDER_BUFFER_COLOR, SELECTION_CONTROL_BORDER_BUFFER_WIDTH, transformCellDataToSelectionData, } from './basics/selection';
20
+ export { rangeMerge, createTopMatrixFromRanges, createTopMatrixFromMatrix, findAllRectangle, RangeMergeUtil } from './basics/rangeMerge';
20
21
  export { getSheetCommandTarget, getSheetCommandTargetWorkbook, getSheetMutationTarget } from './commands/commands/utils/target-util';
21
22
  export { alignToMergedCellsBorders, getCellAtRowCol, setEndForRange, isSingleCellSelection } from './commands/commands/utils/selection-utils';
23
+ export { followSelectionOperation, getPrimaryForRange } from './commands/commands/utils/selection-utils';
24
+ export { handleDeleteRangeMutation } from './commands/utils/handle-range-mutation';
25
+ export { getInsertRangeMutations, getRemoveRangeMutations } from './commands/utils/handle-range-mutation';
26
+ export { handleInsertRangeMutation } from './commands/utils/handle-range-mutation';
27
+ export { type ISheetCommandSharedParams } from './commands/utils/interface';
22
28
  export { MAX_CELL_PER_SHEET_KEY } from './controllers/config/config';
23
29
  export { BorderStyleManagerService, type IBorderInfo } from './services/border-style-manager.service';
24
30
  export * from './services/permission/permission-point';
25
31
  export { WorksheetPermissionService } from './services/permission/worksheet-permission/worksheet-permission.service';
26
32
  export { WorkbookPermissionService } from './services/permission/workbook-permission/workbook-permission.service';
27
33
  export { NORMAL_SELECTION_PLUGIN_NAME, SelectionManagerService, SelectionMoveType, } from './services/selection-manager.service';
28
- export { rangeMerge, createTopMatrixFromRanges, createTopMatrixFromMatrix, findAllRectangle, RangeMergeUtil } from './basics/rangeMerge';
29
- export { ClearSelectionAllCommand } from './commands/commands/clear-selection-all.command';
30
- export { ClearSelectionContentCommand } from './commands/commands/clear-selection-content.command';
31
- export { ClearSelectionFormatCommand } from './commands/commands/clear-selection-format.command';
32
- export { CopySheetCommand } from './commands/commands/copy-worksheet.command';
33
- export { DeleteRangeMoveLeftCommand } from './commands/commands/delete-range-move-left.command';
34
- export { type IDeleteRangeMoveLeftCommandParams } from './commands/commands/delete-range-move-left.command';
35
- export { DeleteRangeMoveUpCommand } from './commands/commands/delete-range-move-up.command';
36
- export { type IDeleteRangeMoveUpCommandParams } from './commands/commands/delete-range-move-up.command';
37
- export { InsertRangeMoveDownCommand } from './commands/commands/insert-range-move-down.command';
38
- export { type InsertRangeMoveDownCommandParams } from './commands/commands/insert-range-move-down.command';
39
- export { InsertRangeMoveRightCommand } from './commands/commands/insert-range-move-right.command';
40
- export { type InsertRangeMoveRightCommandParams } from './commands/commands/insert-range-move-right.command';
41
- export type { IInsertColCommandParams, IInsertRowCommandParams } from './commands/commands/insert-row-col.command';
42
- export { InsertColAfterCommand, InsertColBeforeCommand, InsertColCommand, InsertRowAfterCommand, InsertRowBeforeCommand, InsertRowCommand, } from './commands/commands/insert-row-col.command';
43
- export type { IInsertSheetCommandParams } from './commands/commands/insert-sheet.command';
44
- export { InsertSheetCommand } from './commands/commands/insert-sheet.command';
45
- export { type IMoveRangeCommandParams, MoveRangeCommand } from './commands/commands/move-range.command';
46
- export { type IMoveColsCommandParams, type IMoveRowsCommandParams, MoveColsCommand, MoveRowsCommand, } from './commands/commands/move-rows-cols.command';
47
- export type { IRemoveRowColCommandParams } from './commands/commands/remove-row-col.command';
48
- export { RemoveColCommand, RemoveRowCommand } from './commands/commands/remove-row-col.command';
49
- export type { IRemoveSheetCommandParams } from './commands/commands/remove-sheet.command';
50
- export { RemoveSheetCommand } from './commands/commands/remove-sheet.command';
51
- export { RemoveWorksheetMergeCommand } from './commands/commands/remove-worksheet-merge.command';
52
- export type { ISetBorderBasicCommandParams, ISetBorderColorCommandParams, ISetBorderCommandParams, ISetBorderPositionCommandParams, ISetBorderStyleCommandParams, } from './commands/commands/set-border-command';
53
- export { SetBorderBasicCommand, SetBorderColorCommand, SetBorderCommand, SetBorderPositionCommand, SetBorderStyleCommand, } from './commands/commands/set-border-command';
54
- export { type ISetSpecificColsVisibleCommandParams, SetColHiddenCommand, SetSelectedColsVisibleCommand, SetSpecificColsVisibleCommand, } from './commands/commands/set-col-visible.command';
55
- export { SetFrozenCommand } from './commands/commands/set-frozen.command';
56
- export { type ISetRangeValuesCommandParams, SetRangeValuesCommand } from './commands/commands/set-range-values.command';
57
- export { type ISetSpecificRowsVisibleCommandParams, SetRowHiddenCommand, SetSelectedRowsVisibleCommand, SetSpecificRowsVisibleCommand, } from './commands/commands/set-row-visible.command';
58
- export { type ISetColorCommandParams, type ISetFontFamilyCommandParams, type ISetFontSizeCommandParams, type ISetHorizontalTextAlignCommandParams, type ISetStyleCommandParams, type ISetTextRotationCommandParams, type ISetTextWrapCommandParams, type ISetVerticalTextAlignCommandParams, type IStyleTypeValue, ResetBackgroundColorCommand, ResetTextColorCommand, SetBackgroundColorCommand, SetBoldCommand, SetFontFamilyCommand, SetFontSizeCommand, SetHorizontalTextAlignCommand, SetItalicCommand, SetStrikeThroughCommand, SetStyleCommand, SetTextColorCommand, SetTextRotationCommand, SetTextWrapCommand, SetUnderlineCommand, SetVerticalTextAlignCommand, } from './commands/commands/set-style.command';
59
- export { SetTabColorCommand } from './commands/commands/set-tab-color.command';
60
- export { type ISetWorksheetActivateCommandParams, SetWorksheetActivateCommand, } from './commands/commands/set-worksheet-activate.command';
61
- export { DeltaColumnWidthCommand, type IDeltaColumnWidthCommandParams, SetColWidthCommand, } from './commands/commands/set-worksheet-col-width.command';
62
- export { SetWorksheetHideCommand } from './commands/commands/set-worksheet-hide.command';
63
- export { type ISetWorksheetNameCommandParams, SetWorksheetNameCommand, } from './commands/commands/set-worksheet-name.command';
64
- export { SetWorksheetOrderCommand } from './commands/commands/set-worksheet-order.command';
65
- export { DeltaRowHeightCommand, type IDeltaRowHeightCommand, type ISetWorksheetRowIsAutoHeightCommandParams, SetRowHeightCommand, SetWorksheetRowIsAutoHeightCommand, } from './commands/commands/set-worksheet-row-height.command';
66
- export { SetWorksheetShowCommand } from './commands/commands/set-worksheet-show.command';
67
- export { ReorderRangeCommand, type IReorderRangeCommandParams } from './commands/commands/reorder-range.command';
68
- export { ReorderRangeMutation, type IReorderRangeMutationParams } from './commands/mutations/reorder-range.mutation';
69
- export { followSelectionOperation, getPrimaryForRange } from './commands/commands/utils/selection-utils';
70
- export { AddMergeUndoMutationFactory, AddWorksheetMergeMutation, } from './commands/mutations/add-worksheet-merge.mutation';
71
- export { EmptyMutation } from './commands/mutations/empty.mutation';
72
- export { InsertColMutation, InsertColMutationUndoFactory, InsertRowMutation, InsertRowMutationUndoFactory, } from './commands/mutations/insert-row-col.mutation';
73
- export { InsertSheetMutation, InsertSheetUndoMutationFactory } from './commands/mutations/insert-sheet.mutation';
74
- export { MoveRangeMutation } from './commands/mutations/move-range.mutation';
75
- export { type IMoveRangeMutationParams } from './commands/mutations/move-range.mutation';
76
- export { MoveColsMutation, MoveRowsMutation, type IMoveColumnsMutationParams, MoveColsMutationUndoFactory, MoveRowsMutationUndoFactory, type IMoveRowsMutationParams, } from './commands/mutations/move-rows-cols.mutation';
77
- export type { IRemoveNumfmtMutationParams, ISetCellsNumfmt, ISetNumfmtMutationParams, } from './commands/mutations/numfmt-mutation';
78
- export { factoryRemoveNumfmtUndoMutation, factorySetNumfmtUndoMutation, RemoveNumfmtMutation, SetNumfmtMutation, transformCellsToRange, } from './commands/mutations/numfmt-mutation';
79
- export { RemoveColMutation, RemoveRowMutation } from './commands/mutations/remove-row-col.mutation';
80
- export { RemoveSheetMutation, RemoveSheetUndoMutationFactory } from './commands/mutations/remove-sheet.mutation';
81
- export { RemoveWorksheetMergeMutation } from './commands/mutations/remove-worksheet-merge.mutation';
82
- export { RemoveMergeUndoMutationFactory } from './commands/mutations/remove-worksheet-merge.mutation';
83
- export { type ISetColHiddenMutationParams, type ISetColVisibleMutationParams, SetColHiddenMutation, SetColVisibleMutation, } from './commands/mutations/set-col-visible.mutation';
84
- export { type ISetFrozenMutationParams, SetFrozenMutation, SetFrozenMutationFactory, } from './commands/mutations/set-frozen.mutation';
85
- export type { ISetRangeValuesMutationParams } from './commands/mutations/set-range-values.mutation';
86
- export { SetRangeValuesMutation } from './commands/mutations/set-range-values.mutation';
87
- export { SetRangeValuesUndoMutationFactory } from './commands/mutations/set-range-values.mutation';
88
- export { type ISetRangeValuesRangeMutationParams } from './commands/mutations/set-range-values.mutation';
89
- export { type ISetRowHiddenMutationParams, type ISetRowVisibleMutationParams, SetRowHiddenMutation, SetRowVisibleMutation, } from './commands/mutations/set-row-visible.mutation';
90
- export { SetTabColorMutation } from './commands/mutations/set-tab-color.mutation';
91
- export { type ISetTabColorMutationParams } from './commands/mutations/set-tab-color.mutation';
92
- export { type ISetWorksheetColWidthMutationParams, SetWorksheetColWidthMutation, SetWorksheetColWidthMutationFactory, } from './commands/mutations/set-worksheet-col-width.mutation';
93
- export { type ISetWorksheetHideMutationParams, SetWorksheetHideMutation, } from './commands/mutations/set-worksheet-hide.mutation';
94
- export { SetWorksheetNameMutation } from './commands/mutations/set-worksheet-name.mutation';
95
- export { type ISetWorksheetNameMutationParams } from './commands/mutations/set-worksheet-name.mutation';
96
- export { SetWorksheetOrderMutation } from './commands/mutations/set-worksheet-order.mutation';
97
- export { type ISetWorksheetOrderMutationParams } from './commands/mutations/set-worksheet-order.mutation';
98
- export { type ISetWorksheetRowAutoHeightMutationParams, type ISetWorksheetRowHeightMutationParams, type ISetWorksheetRowIsAutoHeightMutationParams, SetWorksheetRowAutoHeightMutation, SetWorksheetRowAutoHeightMutationFactory, SetWorksheetRowHeightMutation, SetWorksheetRowIsAutoHeightMutation, } from './commands/mutations/set-worksheet-row-height.mutation';
99
- export { type ISetSelectionsOperationParams, SetSelectionsOperation } from './commands/operations/selection.operation';
100
- export { SetWorksheetActiveOperation } from './commands/operations/set-worksheet-active.operation';
101
- export { type ISetWorksheetActiveOperationParams } from './commands/operations/set-worksheet-active.operation';
102
- export { handleDeleteRangeMutation } from './commands/utils/handle-range-mutation';
103
- export { getInsertRangeMutations, getRemoveRangeMutations } from './commands/utils/handle-range-mutation';
104
- export { handleInsertRangeMutation } from './commands/utils/handle-range-mutation';
105
- export { type ISheetCommandSharedParams } from './commands/utils/interface';
106
34
  export { getAddMergeMutationRangeByType } from './controllers/merge-cell.controller';
107
35
  export { NumfmtService } from './services/numfmt/numfmt.service';
108
36
  export type { INumfmtItem, INumfmtItemWithCache } from './services/numfmt/type';
@@ -110,8 +38,6 @@ export { INumfmtService } from './services/numfmt/type';
110
38
  export { RefRangeService } from './services/ref-range/ref-range.service';
111
39
  export type { EffectRefRangeParams, IOperator } from './services/ref-range/type';
112
40
  export { EffectRefRangId, OperatorType } from './services/ref-range/type';
113
- export { type ISetWorkbookNameCommandParams, SetWorkbookNameCommand } from './commands/commands/set-workbook-name.command';
114
- export { type ISetWorkbookNameMutationParams, SetWorkbookNameMutation } from './commands/mutations/set-workbook-name.mutation';
115
41
  export { DefinedNameDataController } from './controllers/defined-name-data.controller';
116
42
  export { handleBaseInsertRange, handleBaseMoveRowsCols, handleBaseRemoveRange, handleDeleteRangeMoveLeft, handleDeleteRangeMoveUp, handleInsertCol, handleInsertRangeMoveDown, handleInsertRangeMoveRight, handleInsertRow, handleIRemoveCol, handleIRemoveRow, handleMoveCols, handleMoveRange, handleMoveRows, rotateRange, runRefRangeMutations, handleCommonDefaultRangeChangeWithEffectRefCommands, handleDefaultRangeChangeWithEffectRefCommands, handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests, } from './services/ref-range/util';
117
43
  export { INTERCEPTOR_POINT } from './services/sheet-interceptor/interceptor-const';
@@ -119,28 +45,13 @@ export { SheetInterceptorService } from './services/sheet-interceptor/sheet-inte
119
45
  export type { ISheetLocation, ISheetLocationBase, ISheetRowLocation } from './services/sheet-interceptor/utils/interceptor';
120
46
  export { MergeCellController } from './controllers/merge-cell.controller';
121
47
  export { AddMergeRedoSelectionsOperationFactory, AddMergeUndoSelectionsOperationFactory } from './commands/utils/handle-merge-operation';
122
- export { InsertDefinedNameCommand } from './commands/commands/insert-defined-name.command';
123
- export { RemoveDefinedNameCommand } from './commands/commands/remove-defined-name.command';
124
- export { SetDefinedNameCommand, type ISetDefinedNameCommandParams } from './commands/commands/set-defined-name.command';
125
- export { ScrollToCellOperation } from './commands/operations/scroll-to-cell.operation';
126
48
  export type { FormatType } from './services/numfmt/type';
127
- export { getMoveRangeUndoRedoMutations } from './commands/commands/move-range.command';
128
49
  export { expandToContinuousRange } from './basics/utils';
129
50
  export { defaultWorksheetPermissionPoint, getAllWorksheetPermissionPoint, getAllWorksheetPermissionPointByPointPanel } from './services/permission';
130
51
  export type { IWorksheetProtectionRule } from './services/permission/type';
131
52
  export { WorksheetProtectionRuleModel, WorksheetProtectionPointModel } from './services/permission/worksheet-permission';
132
- export { AddWorksheetProtectionMutation } from './commands/mutations/add-worksheet-protection.mutation';
133
- export { SetWorksheetProtectionMutation } from './commands/mutations/set-worksheet-protection.mutation';
134
- export { DeleteWorksheetProtectionMutation } from './commands/mutations/delete-worksheet-protection.mutation';
135
- export { SetWorksheetPermissionPointsCommand } from './commands/commands/set-worksheet-permission-points.command';
136
53
  export { getAllWorkbookPermissionPoint, defaultWorkbookPermissionPoints } from './services/permission/workbook-permission';
137
54
  export { WorksheetCopyPermission, WorksheetSelectProtectedCellsPermission, WorksheetSelectUnProtectedCellsPermission, WorksheetSetCellStylePermission, WorksheetSetCellValuePermission, WorksheetViewPermission, WorksheetSetRowStylePermission, WorksheetSetColumnStylePermission, WorksheetInsertRowPermission, WorksheetInsertColumnPermission, WorksheetInsertHyperlinkPermission, WorksheetDeleteRowPermission, WorksheetDeleteColumnPermission, WorksheetSortPermission, WorksheetFilterPermission, WorksheetPivotTablePermission, WorksheetEditExtraObjectPermission, WorksheetManageCollaboratorPermission, WorksheetEditPermission, WorkbookCommentPermission, WorkbookEditablePermission, WorkbookDuplicatePermission, WorkbookPrintPermission, WorkbookExportPermission, WorkbookMoveSheetPermission, WorkbookDeleteSheetPermission, WorkbookHideSheetPermission, WorkbookRenameSheetPermission, WorkbookCreateSheetPermission, WorkbookHistoryPermission, WorkbookViewPermission, WorkbookSharePermission, WorkbookCopyPermission, WorkbookManageCollaboratorPermission, } from './services/permission/permission-point';
138
- export { AddRangeProtectionCommand, type IAddRangeProtectionCommandParams } from './commands/commands/add-range-protection.command';
139
- export { DeleteRangeProtectionCommand, type IDeleteRangeProtectionCommandParams } from './commands/commands/delete-range-protection.command';
140
- export { SetRangeProtectionCommand, type ISetRangeProtectionCommandParams } from './commands/commands/set-range-protection.command';
141
- export { AddRangeProtectionMutation, FactoryAddRangeProtectionMutation, type IAddRangeProtectionMutationParams } from './commands/mutations/add-range-protection.mutation';
142
- export { DeleteRangeProtectionMutation, FactoryDeleteRangeProtectionMutation, type IDeleteSelectionProtectionMutationParams } from './commands/mutations/delete-range-protection.mutation';
143
- export { SetRangeProtectionMutation, FactorySetRangeProtectionMutation, type ISetRangeProtectionMutationParams } from './commands/mutations/set-range-protection.mutation';
144
55
  export { RangeProtectionRenderModel, type ICellPermission } from './model/range-protection-render.model';
145
56
  export { RangeProtectionRuleModel, type IObjectModel, type IRangeProtectionRule, type IModel } from './model/range-protection-rule.model';
146
57
  export type { IWorksheetProtectionRenderCellData } from './services/permission/worksheet-permission/type';
@@ -149,5 +60,80 @@ export { RangeProtectionService } from './services/permission/range-permission/r
149
60
  export { type IRangePermissionPoint, getAllRangePermissionPoint, getDefaultRangePermission, } from './services/permission/range-permission/util';
150
61
  export { RangeProtectionPermissionEditPoint } from './services/permission/permission-point/range/edit';
151
62
  export { RangeProtectionPermissionViewPoint } from './services/permission/permission-point/range/view';
152
- export type { IAddWorksheetProtectionParams } from './commands/mutations/add-worksheet-protection.mutation';
153
63
  export { generateNullCellValue } from './basics/utils';
64
+ export { AddRangeProtectionCommand, type IAddRangeProtectionCommandParams } from './commands/commands/add-range-protection.command';
65
+ export { AddWorksheetMergeCommand, AddWorksheetMergeAllCommand, AddWorksheetMergeVerticalCommand, AddWorksheetMergeHorizontalCommand, } from './commands/commands/add-worksheet-merge.command';
66
+ export { ClearSelectionAllCommand } from './commands/commands/clear-selection-all.command';
67
+ export { ClearSelectionContentCommand } from './commands/commands/clear-selection-content.command';
68
+ export { ClearSelectionFormatCommand } from './commands/commands/clear-selection-format.command';
69
+ export { CopySheetCommand } from './commands/commands/copy-worksheet.command';
70
+ export { DeleteRangeMoveLeftCommand, type IDeleteRangeMoveLeftCommandParams } from './commands/commands/delete-range-move-left.command';
71
+ export { DeleteRangeMoveUpCommand, type IDeleteRangeMoveUpCommandParams } from './commands/commands/delete-range-move-up.command';
72
+ export { DeleteRangeProtectionCommand, type IDeleteRangeProtectionCommandParams } from './commands/commands/delete-range-protection.command';
73
+ export { InsertDefinedNameCommand } from './commands/commands/insert-defined-name.command';
74
+ export { InsertRangeMoveDownCommand, type InsertRangeMoveDownCommandParams } from './commands/commands/insert-range-move-down.command';
75
+ export { InsertRangeMoveRightCommand, type InsertRangeMoveRightCommandParams } from './commands/commands/insert-range-move-right.command';
76
+ export { InsertRowCommand, InsertRowBeforeCommand, InsertRowAfterCommand, InsertColCommand, InsertColBeforeCommand, InsertColAfterCommand, type IInsertRowCommandParams, type IInsertColCommandParams, } from './commands/commands/insert-row-col.command';
77
+ export { InsertSheetCommand, type IInsertSheetCommandParams } from './commands/commands/insert-sheet.command';
78
+ export { MoveRangeCommand, getMoveRangeUndoRedoMutations, type IMoveRangeCommandParams } from './commands/commands/move-range.command';
79
+ export { MoveRowsCommand, MoveColsCommand, type IMoveRowsCommandParams, type IMoveColsCommandParams, } from './commands/commands/move-rows-cols.command';
80
+ export { RemoveDefinedNameCommand } from './commands/commands/remove-defined-name.command';
81
+ export { RemoveRowCommand, RemoveColCommand, type IRemoveRowColCommandParams } from './commands/commands/remove-row-col.command';
82
+ export { RemoveSheetCommand, type IRemoveSheetCommandParams } from './commands/commands/remove-sheet.command';
83
+ export { RemoveWorksheetMergeCommand } from './commands/commands/remove-worksheet-merge.command';
84
+ export { ReorderRangeCommand, type IReorderRangeCommandParams } from './commands/commands/reorder-range.command';
85
+ export { SetBorderBasicCommand, SetBorderPositionCommand, SetBorderStyleCommand, SetBorderColorCommand, SetBorderCommand, type ISetBorderBasicCommandParams, type ISetBorderPositionCommandParams, type ISetBorderStyleCommandParams, type ISetBorderColorCommandParams, type ISetBorderCommandParams, } from './commands/commands/set-border-command';
86
+ export { SetSpecificColsVisibleCommand, SetSelectedColsVisibleCommand, SetColHiddenCommand, type ISetSpecificColsVisibleCommandParams, } from './commands/commands/set-col-visible.command';
87
+ export { SetDefinedNameCommand, type ISetDefinedNameCommandParams } from './commands/commands/set-defined-name.command';
88
+ export { SetFrozenCancelCommand } from './commands/commands/set-frozen-cancel.command';
89
+ export { SetFrozenCommand } from './commands/commands/set-frozen.command';
90
+ export { SetHideGridlinesCommand } from './commands/commands/set-hide-gridlines.command';
91
+ export { SetRangeProtectionCommand, type ISetRangeProtectionCommandParams } from './commands/commands/set-range-protection.command';
92
+ export { SetRangeValuesCommand, type ISetRangeValuesCommandParams } from './commands/commands/set-range-values.command';
93
+ export { SetSpecificRowsVisibleCommand, SetSelectedRowsVisibleCommand, SetRowHiddenCommand, type ISetSpecificRowsVisibleCommandParams, } from './commands/commands/set-row-visible.command';
94
+ export { SetStyleCommand, SetBoldCommand, SetItalicCommand, SetUnderlineCommand, SetStrikeThroughCommand, SetOverlineCommand, SetFontFamilyCommand, SetFontSizeCommand, SetTextColorCommand, ResetTextColorCommand, SetBackgroundColorCommand, ResetBackgroundColorCommand, SetVerticalTextAlignCommand, SetHorizontalTextAlignCommand, SetTextWrapCommand, SetTextRotationCommand, type ISetColorCommandParams, type ISetFontFamilyCommandParams, type ISetFontSizeCommandParams, type ISetHorizontalTextAlignCommandParams, type ISetStyleCommandParams, type ISetTextRotationCommandParams, type ISetTextWrapCommandParams, type ISetVerticalTextAlignCommandParams, type IStyleTypeValue, } from './commands/commands/set-style.command';
95
+ export { SetTabColorCommand } from './commands/commands/set-tab-color.command';
96
+ export { SetWorkbookNameCommand, type ISetWorkbookNameCommandParams } from './commands/commands/set-workbook-name.command';
97
+ export { SetWorksheetActivateCommand, type ISetWorksheetActivateCommandParams, } from './commands/commands/set-worksheet-activate.command';
98
+ export { DeltaColumnWidthCommand, SetColWidthCommand, type IDeltaColumnWidthCommandParams, } from './commands/commands/set-worksheet-col-width.command';
99
+ export { SetWorksheetHideCommand } from './commands/commands/set-worksheet-hide.command';
100
+ export { SetWorksheetNameCommand, type ISetWorksheetNameCommandParams, } from './commands/commands/set-worksheet-name.command';
101
+ export { SetWorksheetOrderCommand } from './commands/commands/set-worksheet-order.command';
102
+ export { SetWorksheetPermissionPointsCommand } from './commands/commands/set-worksheet-permission-points.command';
103
+ export { SetWorksheetRightToLeftCommand } from './commands/commands/set-worksheet-right-to-left.command';
104
+ export { DeltaRowHeightCommand, SetRowHeightCommand, SetWorksheetRowIsAutoHeightCommand, type IDeltaRowHeightCommand, type ISetWorksheetRowIsAutoHeightCommandParams, } from './commands/commands/set-worksheet-row-height.command';
105
+ export { SetWorksheetShowCommand } from './commands/commands/set-worksheet-show.command';
106
+ export { AddRangeProtectionMutation, FactoryAddRangeProtectionMutation, type IAddRangeProtectionMutationParams } from './commands/mutations/add-range-protection.mutation';
107
+ export { AddWorksheetMergeMutation, AddMergeUndoMutationFactory } from './commands/mutations/add-worksheet-merge.mutation';
108
+ export { AddWorksheetProtectionMutation, type IAddWorksheetProtectionParams } from './commands/mutations/add-worksheet-protection.mutation';
109
+ export { DeleteRangeProtectionMutation, FactoryDeleteRangeProtectionMutation, type IDeleteSelectionProtectionMutationParams } from './commands/mutations/delete-range-protection.mutation';
110
+ export { DeleteWorksheetProtectionMutation } from './commands/mutations/delete-worksheet-protection.mutation';
111
+ export { EmptyMutation } from './commands/mutations/empty.mutation';
112
+ export { InsertRowMutation, InsertColMutation, InsertRowMutationUndoFactory, InsertColMutationUndoFactory, } from './commands/mutations/insert-row-col.mutation';
113
+ export { InsertSheetMutation, InsertSheetUndoMutationFactory } from './commands/mutations/insert-sheet.mutation';
114
+ export { MoveRangeMutation, type IMoveRangeMutationParams } from './commands/mutations/move-range.mutation';
115
+ export { MoveRowsMutation, MoveColsMutation, MoveRowsMutationUndoFactory, MoveColsMutationUndoFactory, type IMoveRowsMutationParams, type IMoveColumnsMutationParams, } from './commands/mutations/move-rows-cols.mutation';
116
+ export { SetNumfmtMutation, RemoveNumfmtMutation, factorySetNumfmtUndoMutation, factoryRemoveNumfmtUndoMutation, transformCellsToRange, type ISetNumfmtMutationParams, type IRemoveNumfmtMutationParams, type ISetCellsNumfmt, } from './commands/mutations/numfmt-mutation';
117
+ export { RemoveRowMutation, RemoveColMutation } from './commands/mutations/remove-row-col.mutation';
118
+ export { RemoveSheetMutation, RemoveSheetUndoMutationFactory } from './commands/mutations/remove-sheet.mutation';
119
+ export { RemoveWorksheetMergeMutation, RemoveMergeUndoMutationFactory } from './commands/mutations/remove-worksheet-merge.mutation';
120
+ export { ReorderRangeMutation, ReorderRangeUndoMutationFactory, type IReorderRangeMutationParams } from './commands/mutations/reorder-range.mutation';
121
+ export { SetColHiddenMutation, SetColVisibleMutation, type ISetColHiddenMutationParams, type ISetColVisibleMutationParams, } from './commands/mutations/set-col-visible.mutation';
122
+ export { SetFrozenMutation, SetFrozenMutationFactory, type ISetFrozenMutationParams, } from './commands/mutations/set-frozen.mutation';
123
+ export { SetHideGridlinesMutation } from './commands/mutations/set-hide-gridlines.mutatiom';
124
+ export { SetRangeProtectionMutation, FactorySetRangeProtectionMutation, type ISetRangeProtectionMutationParams } from './commands/mutations/set-range-protection.mutation';
125
+ export { SetRangeValuesMutation, SetRangeValuesUndoMutationFactory, type ISetRangeValuesMutationParams, type ISetRangeValuesRangeMutationParams, } from './commands/mutations/set-range-values.mutation';
126
+ export { SetRowVisibleMutation, SetRowHiddenMutation, type ISetRowVisibleMutationParams, type ISetRowHiddenMutationParams, } from './commands/mutations/set-row-visible.mutation';
127
+ export { SetTabColorMutation, type ISetTabColorMutationParams } from './commands/mutations/set-tab-color.mutation';
128
+ export { SetWorkbookNameMutation, type ISetWorkbookNameMutationParams } from './commands/mutations/set-workbook-name.mutation';
129
+ export { SetWorksheetColWidthMutation, SetWorksheetColWidthMutationFactory, type ISetWorksheetColWidthMutationParams, } from './commands/mutations/set-worksheet-col-width.mutation';
130
+ export { SetWorksheetHideMutation, type ISetWorksheetHideMutationParams } from './commands/mutations/set-worksheet-hide.mutation';
131
+ export { SetWorksheetNameMutation, type ISetWorksheetNameMutationParams } from './commands/mutations/set-worksheet-name.mutation';
132
+ export { SetWorksheetOrderMutation, type ISetWorksheetOrderMutationParams } from './commands/mutations/set-worksheet-order.mutation';
133
+ export { SetWorksheetPermissionPointsMutation } from './commands/mutations/set-worksheet-permission-points.mutation';
134
+ export { SetWorksheetProtectionMutation } from './commands/mutations/set-worksheet-protection.mutation';
135
+ export { SetWorksheetRightToLeftMutation } from './commands/mutations/set-worksheet-right-to-left.mutation';
136
+ export { SetWorksheetRowHeightMutation, SetWorksheetRowIsAutoHeightMutation, SetWorksheetRowAutoHeightMutation, SetWorksheetRowAutoHeightMutationFactory, type ISetWorksheetRowHeightMutationParams, type ISetWorksheetRowIsAutoHeightMutationParams, type ISetWorksheetRowAutoHeightMutationParams, } from './commands/mutations/set-worksheet-row-height.mutation';
137
+ export { ScrollToCellOperation } from './commands/operations/scroll-to-cell.operation';
138
+ export { SetSelectionsOperation, type ISetSelectionsOperationParams } from './commands/operations/selection.operation';
139
+ export { SetWorksheetActiveOperation, type ISetWorksheetActiveOperationParams } from './commands/operations/set-worksheet-active.operation';
@@ -25,7 +25,7 @@ export declare class RangeProtectionRuleModel {
25
25
  unitId: string;
26
26
  subUnitId: string;
27
27
  rule: IRangeProtectionRule;
28
- oldRule?: IRangeProtectionRule | undefined;
28
+ oldRule?: IRangeProtectionRule;
29
29
  type: IRuleChangeType;
30
30
  }>;
31
31
  private _ruleRefresh;
@@ -5,12 +5,12 @@ export declare const TEST_WORKBOOK_DATA_DEMO: IWorkbookData;
5
5
  export declare function createTestBase(workbookData?: IWorkbookData, dependencies?: Dependency[]): {
6
6
  univer: Univer;
7
7
  get: {
8
- <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
9
- <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
10
- <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
11
- <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
12
- <T_4>(id: import('@wendellhu/redi').DependencyIdentifier<T_4>, quantity?: import('@wendellhu/redi').Quantity | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_4 | T_4[] | null;
13
- <T_5>(id: import('@wendellhu/redi').DependencyIdentifier<T_5>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_5 | T_5[] | null;
8
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp): T;
9
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp): T[];
10
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp): T | null;
11
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp): T;
12
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity?: import('@wendellhu/redi').Quantity, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
13
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
14
14
  };
15
15
  sheet: import('@univerjs/core').Workbook;
16
16
  };
@@ -14,7 +14,7 @@ export declare class WorksheetProtectionRuleModel {
14
14
  unitId: string;
15
15
  subUnitId: string;
16
16
  rule: IWorksheetProtectionRule;
17
- oldRule?: IWorksheetProtectionRule | undefined;
17
+ oldRule?: IWorksheetProtectionRule;
18
18
  type: IRuleChangeType;
19
19
  }>;
20
20
  ruleRefresh$: import('rxjs').Observable<unknown>;
@@ -5,12 +5,12 @@ export declare const TEST_WORKBOOK_DATA_DEMO: IWorkbookData;
5
5
  export declare function createTestBase(workbookData?: IWorkbookData, dependencies?: Dependency[]): {
6
6
  univer: Univer;
7
7
  get: {
8
- <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
9
- <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
10
- <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
11
- <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
12
- <T_4>(id: import('@wendellhu/redi').DependencyIdentifier<T_4>, quantity?: import('@wendellhu/redi').Quantity | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_4 | T_4[] | null;
13
- <T_5>(id: import('@wendellhu/redi').DependencyIdentifier<T_5>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_5 | T_5[] | null;
8
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp): T;
9
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp): T[];
10
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp): T | null;
11
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp): T;
12
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity?: import('@wendellhu/redi').Quantity, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
13
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
14
14
  };
15
15
  sheet: import('@univerjs/core').Workbook;
16
16
  };
@@ -3,12 +3,12 @@ import { Univer } from '@univerjs/core';
3
3
  export declare function createRefRangeTestBed(): {
4
4
  univer: Univer;
5
5
  get: {
6
- <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
7
- <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
8
- <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
9
- <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
10
- <T_4>(id: import('@wendellhu/redi').DependencyIdentifier<T_4>, quantity?: import('@wendellhu/redi').Quantity | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_4 | T_4[] | null;
11
- <T_5>(id: import('@wendellhu/redi').DependencyIdentifier<T_5>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_5 | T_5[] | null;
6
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp): T;
7
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp): T[];
8
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp): T | null;
9
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp): T;
10
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity?: import('@wendellhu/redi').Quantity, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
11
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
12
12
  };
13
13
  sheet: import('@univerjs/core').Workbook;
14
14
  };
@@ -9,18 +9,18 @@ import { EffectRefRangeParams, IDeleteRangeMoveLeftCommand, IDeleteRangeMoveUpCo
9
9
  export declare const handleRangeTypeInput: (range: IRange) => {
10
10
  startColumn: number;
11
11
  endColumn: number;
12
- rangeType?: RANGE_TYPE | undefined;
13
- startAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType | undefined;
14
- endAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType | undefined;
12
+ rangeType?: RANGE_TYPE;
13
+ startAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType;
14
+ endAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType;
15
15
  startRow: number;
16
16
  endRow: number;
17
17
  };
18
18
  export declare const handleRangeTypeOutput: (range: IRange, maxRow: number, maxCol: number) => {
19
19
  startColumn: number;
20
20
  endColumn: number;
21
- rangeType?: RANGE_TYPE | undefined;
22
- startAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType | undefined;
23
- endAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType | undefined;
21
+ rangeType?: RANGE_TYPE;
22
+ startAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType;
23
+ endAbsoluteRefType?: import('@univerjs/core').AbsoluteRefType;
24
24
  startRow: number;
25
25
  endRow: number;
26
26
  };
@@ -37,7 +37,7 @@ export declare enum SelectionMoveType {
37
37
  export declare class SelectionManagerService implements IDisposable {
38
38
  private readonly _themeService;
39
39
  private readonly _selectionInfo;
40
- private _currentSelection;
40
+ private _searchParamForSelection;
41
41
  private readonly _selectionMoveStart$;
42
42
  readonly selectionMoveStart$: import('rxjs').Observable<Nullable<ISelectionWithStyle[]>>;
43
43
  private readonly _selectionMoving$;
@@ -4,12 +4,12 @@ import { Dependency } from '@wendellhu/redi';
4
4
  export declare function createCoreTestBed(workbookData?: IWorkbookData, dependencies?: Dependency[]): {
5
5
  univer: Univer;
6
6
  get: {
7
- <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
8
- <T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
9
- <T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
10
- <T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
11
- <T_4>(id: import('@wendellhu/redi').DependencyIdentifier<T_4>, quantity?: import('@wendellhu/redi').Quantity | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_4 | T_4[] | null;
12
- <T_5>(id: import('@wendellhu/redi').DependencyIdentifier<T_5>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_5 | T_5[] | null;
7
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp): T;
8
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp): T[];
9
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp): T | null;
10
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp): T;
11
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantity?: import('@wendellhu/redi').Quantity, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
12
+ <T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp, lookUp?: import('@wendellhu/redi').LookUp): T[] | T | null;
13
13
  };
14
14
  sheet: import('@univerjs/core').Workbook;
15
15
  };