rapid-spreadjs 1.0.50 → 1.0.52

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.
@@ -8,19 +8,36 @@ export declare const BusinessUtils: {
8
8
  * @param gc GC对象
9
9
  * @param sheet 工作表实例
10
10
  * @param testObjectAttrs 检测对象属性配置集合
11
+ * @param addRowIndex 添加检测对象属性区域的起始行索引,默认为:0
11
12
  * @param isVertical 是否为纵表,默认为:true
12
13
  * @param contentColStartIndex 表格内容列起始索引,默认为:1
13
14
  * @param contentTotalColCount 表格内容列总数,默认为:77
14
- * @param addRowHeight 添加的表格行高,默认为:24
15
+ * @param addRowHeight 添加的表格行高,默认为:24(单位为像素)
15
16
  */
16
- createTestObjectAttrsCells: (gc: any, sheet: any, testObjectAttrs: TestObjectAttrModel[], isVertical?: boolean, contentColStartIndex?: number, contentTotalColCount?: number, addRowHeight?: number) => void;
17
+ createTestObjectAttrsCells: (gc: any, sheet: any, testObjectAttrs: TestObjectAttrModel[], addRowIndex?: number, isVertical?: boolean, contentColStartIndex?: number, contentTotalColCount?: number, addRowHeight?: number) => void;
17
18
  /**
18
19
  * 获取检测对象属性值集合
19
20
  * @param sheet 工作表实例
20
21
  * @param testObjectAttrs 检测对象属性配置集合
22
+ * @param addRowIndex 添加检测对象属性区域的起始行索引,默认为:0
21
23
  * @param isVertical 是否为纵表,默认为:true
22
24
  * @param contentColStartIndex 表格内容列起始索引,默认为:1
23
25
  * @param contentTotalColCount 表格内容列总数,默认为:77
24
26
  */
25
- getTestObjectAttrsVals: (sheet: any, testObjectAttrs: TestObjectAttrModel[], isVertical?: boolean, contentColStartIndex?: number, contentTotalColCount?: number) => TestObjectAttrModel[];
27
+ getTestObjectAttrsVals: (sheet: any, testObjectAttrs: TestObjectAttrModel[], addRowIndex?: number, isVertical?: boolean, contentColStartIndex?: number, contentTotalColCount?: number) => TestObjectAttrModel[];
28
+ /**
29
+ * 动态创建循环行
30
+ * @param GC GC对象
31
+ * @param spread 工作簿实例
32
+ * @param cellRange 单元格范围JSON对象,格式为:{row:0, col:0, rowCount:2, colCount:5}
33
+ * @param curDefaultPointCount 本次默认点数
34
+ * @param lastDefaultPointCount 上次默认点数,默认为:0(0代表首次创建)
35
+ * @param rowHeight 创建的行高度,默认为:24(单位为像素)
36
+ */
37
+ dynamicCreateCyclicRows: (GC: any, spread: any, cellRange: {
38
+ row: number;
39
+ col: number;
40
+ rowCount: number;
41
+ colCount: number;
42
+ }, curDefaultPointCount: number, lastDefaultPointCount?: number, rowHeight?: number) => void;
26
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapid-spreadjs",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "description": "SpreadJS常用公用处理函数,包括设计器、工作簿和工作表的相关处理函数。",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",