rapid-spreadjs 1.0.47 → 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.
@@ -36,6 +36,10 @@ export type EChartsUtilsConfigModel = CellModel & {
36
36
  * 图表Id
37
37
  */
38
38
  chartId: string;
39
+ /**
40
+ * 图表Id(此属性主要为数据报告中心中的字段,当传了该字段后,chartId的值就是chartIdStr的值)
41
+ */
42
+ chartIdStr?: string;
39
43
  /**
40
44
  * 图表标题
41
45
  */
@@ -9,7 +9,7 @@ export declare const EChartsUtils: {
9
9
  * @param GC GC对象
10
10
  * @param spread 工作簿对象
11
11
  * @param sheet 工作表对象
12
- * @param config 折现配置
12
+ * @param config 折线配置
13
13
  * @param isHideChart 是否隐藏图表
14
14
  */
15
15
  create: (GC: any, spread: any, sheet: any, config: EChartsUtilsConfigModel, isHideChart?: boolean) => Promise<{
@@ -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.47",
3
+ "version": "1.0.49",
4
4
  "description": "SpreadJS常用公用处理函数,包括设计器、工作簿和工作表的相关处理函数。",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",