rapid-spreadjs 1.0.20 → 1.0.21
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/dist/index.cjs.js +23 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +23 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/dist/utils/sheet.d.ts +8 -0
- package/package.json +1 -1
package/dist/utils/sheet.d.ts
CHANGED
|
@@ -53,6 +53,14 @@ export declare const SheetUtils: {
|
|
|
53
53
|
* @returns 返回数组集合,格式如:[{ col: 0, row: 0, "rowCount": 1, "colCount": 1 }]
|
|
54
54
|
*/
|
|
55
55
|
getActiveSheetSelectCellObjs: (spread: any, isMulColOrder?: boolean) => CellModel[];
|
|
56
|
+
/**
|
|
57
|
+
* 获取某工作表指定范围单元格的坐标对象集合(二维数组,格式如:[[{row:0……}],[{row:0……}]])
|
|
58
|
+
* @param sheet 工作表实例
|
|
59
|
+
* @param cellRange 单元格范围
|
|
60
|
+
* @param groupType 分组字段属性(row或col),默认为:row
|
|
61
|
+
* @returns 返回某工作表指定范围单元格的坐标对象集合(二维数组,格式如:[[{row:0……}],[{row:0……}]])
|
|
62
|
+
*/
|
|
63
|
+
getSheetCellObjsByGroup: (sheet: any, cellRange: CellModel, groupType?: "row" | "col") => Array<Array<CellModel>>;
|
|
56
64
|
/**
|
|
57
65
|
* 获取某工作表选中单元格的值集合
|
|
58
66
|
* @param sheet 工作表实例
|