@univerjs/sheets-ui 0.6.5 → 0.6.6-experimental.20250319-2bbe26f
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/lib/cjs/index.js +33 -33
- package/lib/es/index.js +5208 -5211
- package/lib/types/controllers/auto-height.controller.d.ts +4 -10
- package/lib/types/services/auto-fill/type.d.ts +1 -1
- package/lib/types/views/formula-bar/FormulaBar.d.ts +1 -0
- package/lib/umd/index.js +31 -31
- package/package.json +13 -13
- package/LICENSE +0 -176
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IRange, Disposable, IConfigService, IUniverInstanceService } from '@univerjs/core';
|
|
2
2
|
import { RenderManagerService } from '@univerjs/engine-render';
|
|
3
|
-
import {
|
|
3
|
+
import { SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
|
|
4
4
|
export declare const AFFECT_LAYOUT_STYLES: string[];
|
|
5
5
|
export declare class AutoHeightController extends Disposable {
|
|
6
6
|
private readonly _renderManagerService;
|
|
@@ -10,15 +10,9 @@ export declare class AutoHeightController extends Disposable {
|
|
|
10
10
|
private readonly _configService;
|
|
11
11
|
constructor(_renderManagerService: RenderManagerService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SheetsSelectionsService, _univerInstanceService: IUniverInstanceService, _configService: IConfigService);
|
|
12
12
|
private _getRangesScope;
|
|
13
|
-
getUndoRedoParamsOfAutoHeight(ranges: IRange[]): {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
params: ISetWorksheetRowAutoHeightMutationParams;
|
|
17
|
-
}[];
|
|
18
|
-
redos: {
|
|
19
|
-
id: string;
|
|
20
|
-
params: ISetWorksheetRowAutoHeightMutationParams;
|
|
21
|
-
}[];
|
|
13
|
+
getUndoRedoParamsOfAutoHeight(ranges: IRange[], subUnitIdParam?: string): {
|
|
14
|
+
redos: any[];
|
|
15
|
+
undos: any[];
|
|
22
16
|
};
|
|
23
17
|
private _initialize;
|
|
24
18
|
}
|
|
@@ -60,7 +60,7 @@ export interface IRuleConfirmedData {
|
|
|
60
60
|
cellData: Nullable<ICellData>;
|
|
61
61
|
}
|
|
62
62
|
export type APPLY_FUNCTIONS = {
|
|
63
|
-
[key in APPLY_TYPE]?: (dataWithIndex: ICopyDataInType, len: number, direction: Direction, copyDataPiece: ICopyDataPiece) => Array<Nullable<ICellData>>;
|
|
63
|
+
[key in APPLY_TYPE]?: (dataWithIndex: ICopyDataInType, len: number, direction: Direction, copyDataPiece: ICopyDataPiece, location?: IAutoFillLocation) => Array<Nullable<ICellData>>;
|
|
64
64
|
};
|
|
65
65
|
export declare enum APPLY_TYPE {
|
|
66
66
|
COPY = "COPY",
|