@univerjs/sheets 0.12.1 → 0.12.2
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 +3 -3
- package/lib/es/index.js +981 -1034
- package/lib/index.js +981 -1034
- package/lib/types/commands/mutations/set-worksheet-col-width.mutation.d.ts +1 -5
- package/lib/types/commands/mutations/set-worksheet-row-height.mutation.d.ts +1 -5
- package/lib/types/index.d.ts +0 -1
- package/lib/umd/index.js +3 -3
- package/package.json +7 -7
- package/lib/types/commands/utils/pack-number-map.d.ts +0 -11
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { IMutation, IObjectArrayPrimitiveType, IRange, Nullable, Worksheet } from '@univerjs/core';
|
|
2
|
-
import { PackedNumberMap } from '../utils/pack-number-map';
|
|
3
2
|
export interface ISetWorksheetColWidthMutationParams {
|
|
4
3
|
unitId: string;
|
|
5
4
|
subUnitId: string;
|
|
6
5
|
ranges: IRange[];
|
|
7
|
-
colWidth: number | IObjectArrayPrimitiveType<Nullable<number
|
|
8
|
-
compress: true;
|
|
9
|
-
data: PackedNumberMap;
|
|
10
|
-
};
|
|
6
|
+
colWidth: number | IObjectArrayPrimitiveType<Nullable<number>>;
|
|
11
7
|
}
|
|
12
8
|
/**
|
|
13
9
|
* This factory is for generating undo mutations for command {@link DeltaColumnWidthCommand}.
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { BooleanNumber, IMutation, IObjectArrayPrimitiveType, IRange, IRowAutoHeightInfo, Nullable, Worksheet } from '@univerjs/core';
|
|
2
|
-
import { PackedNumberMap } from '../utils/pack-number-map';
|
|
3
2
|
export interface ISetWorksheetRowHeightMutationParams {
|
|
4
3
|
unitId: string;
|
|
5
4
|
subUnitId: string;
|
|
6
5
|
ranges: IRange[];
|
|
7
|
-
rowHeight: number | IObjectArrayPrimitiveType<Nullable<number
|
|
8
|
-
compress: true;
|
|
9
|
-
data: PackedNumberMap;
|
|
10
|
-
};
|
|
6
|
+
rowHeight: number | IObjectArrayPrimitiveType<Nullable<number>>;
|
|
11
7
|
}
|
|
12
8
|
export interface ISetWorksheetRowIsAutoHeightMutationParams {
|
|
13
9
|
unitId: string;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -152,7 +152,6 @@ export { handleDeleteRangeMutation } from './commands/utils/handle-range-mutatio
|
|
|
152
152
|
export { getInsertRangeMutations, getRemoveRangeMutations } from './commands/utils/handle-range-mutation';
|
|
153
153
|
export { handleInsertRangeMutation } from './commands/utils/handle-range-mutation';
|
|
154
154
|
export { type ISheetCommandSharedParams } from './commands/utils/interface';
|
|
155
|
-
export { type IntervalValue, type PackedNumberMap, packNumberMap, unpackNumberMap } from './commands/utils/pack-number-map';
|
|
156
155
|
export { getSelectionsService } from './commands/utils/selection-command-util';
|
|
157
156
|
export { type IUniverSheetsConfig } from './controllers/config.schema';
|
|
158
157
|
export { MAX_CELL_PER_SHEET_KEY } from './controllers/config/config';
|