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.
@@ -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 工作表实例
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapid-spreadjs",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "SpreadJS常用公用处理函数,包括设计器、工作簿和工作表的相关处理函数。",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",