@univerjs/core 0.11.0 → 0.12.0-nightly.202511220628
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 +7 -7
- package/lib/es/index.js +1302 -1253
- package/lib/index.js +1302 -1253
- package/lib/types/shared/object-matrix.d.ts +10 -0
- package/lib/types/sheets/typedef.d.ts +5 -0
- package/lib/types/sheets/worksheet.d.ts +1 -0
- package/lib/types/types/enum/locale-type.d.ts +1 -0
- package/lib/umd/index.js +8 -8
- package/package.json +5 -5
- package/LICENSE +0 -176
|
@@ -80,9 +80,18 @@ export declare class ObjectMatrix<T> {
|
|
|
80
80
|
* @returns
|
|
81
81
|
*/
|
|
82
82
|
getSlice(startRow: number, endRow: number, startColumn: number, endColumn: number): ObjectMatrix<T>;
|
|
83
|
+
getSliceDataAndCellCountByRows(startRow: number, endRow: number): {
|
|
84
|
+
sliceData: ObjectMatrix<T>;
|
|
85
|
+
cellCount: number;
|
|
86
|
+
};
|
|
83
87
|
getSizeOf(): number;
|
|
84
88
|
getLength(): number;
|
|
85
89
|
getRange(): IRange;
|
|
90
|
+
getRealRange(): IRange;
|
|
91
|
+
getRealRowRange(): {
|
|
92
|
+
startRow: number;
|
|
93
|
+
endRow: number;
|
|
94
|
+
};
|
|
86
95
|
toNativeArray(): T[];
|
|
87
96
|
toArray(): T[][];
|
|
88
97
|
toFullArray(): T[][];
|
|
@@ -105,5 +114,6 @@ export declare class ObjectMatrix<T> {
|
|
|
105
114
|
getDataRange(): IRange;
|
|
106
115
|
getDiscreteRanges(): IRange[];
|
|
107
116
|
merge(newObject: ObjectMatrix<Nullable<T>>): void;
|
|
117
|
+
concatRows(newObject: ObjectMatrix<T>): void;
|
|
108
118
|
private _setOriginValue;
|
|
109
119
|
}
|
|
@@ -203,6 +203,11 @@ export interface ICellData {
|
|
|
203
203
|
* @ignore
|
|
204
204
|
*/
|
|
205
205
|
ref?: Nullable<string>;
|
|
206
|
+
/**
|
|
207
|
+
* New Excel formulas need to add prefixes for differentiation, e.g., _xlfn._xlws. _xlfn. _xlws. _xludf.
|
|
208
|
+
* @ignore
|
|
209
|
+
*/
|
|
210
|
+
xf?: Nullable<string>;
|
|
206
211
|
/**
|
|
207
212
|
* Id of the formula.
|
|
208
213
|
*/
|
|
@@ -380,6 +380,7 @@ export declare class Worksheet {
|
|
|
380
380
|
* @returns the position of the last column that has content.
|
|
381
381
|
*/
|
|
382
382
|
getLastColumnWithContent(): number;
|
|
383
|
+
getDataRealRange(): IRange;
|
|
383
384
|
getDataRangeScope(): IRange;
|
|
384
385
|
cellHasValue(value: ICellData): boolean;
|
|
385
386
|
/**
|