rapid-spreadjs 1.0.48 → 1.0.49

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.
@@ -33,6 +33,13 @@ export declare const SheetUtils: {
33
33
  * @returns 返回数组集合,格式如:[{ row: 0, col: 0, rowCount: 1, colCount: 1 }]
34
34
  */
35
35
  getAllCellObjsByRanges: (sheet: any, selectRanges: CellModel[], isMulColOrder?: boolean) => CellModel[];
36
+ /**
37
+ * 根据单元格范围字符串获取单元格对象集合
38
+ * @param sheet 工作表实例
39
+ * @param formulaStr 单元格范围字符串(如:B2:C3、Sheet1!B2:C3、=Sheet1!B2:C3、=Sheet1!B2:C3,Sheet1!B5:D6,Sheet1!B8:C9)
40
+ * 返回数组集合,格式如:[{ col: 0, row: 0, rowCount: 1, colCount: 1 }]
41
+ */
42
+ getAllCellObjsByRangeStr: (sheet: any, formulaStr: string) => CellModel[];
36
43
  /**
37
44
  * 获取某工作表中所有的单元格坐标对象集合
38
45
  * @param sheet 工作表实例
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapid-spreadjs",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "description": "SpreadJS常用公用处理函数,包括设计器、工作簿和工作表的相关处理函数。",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",