rapid-spreadjs 1.0.49 → 1.0.51

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.
@@ -23,4 +23,19 @@ export declare const BusinessUtils: {
23
23
  * @param contentTotalColCount 表格内容列总数,默认为:77
24
24
  */
25
25
  getTestObjectAttrsVals: (sheet: any, testObjectAttrs: TestObjectAttrModel[], isVertical?: boolean, contentColStartIndex?: number, contentTotalColCount?: number) => TestObjectAttrModel[];
26
+ /**
27
+ * 动态创建循环行
28
+ * @param GC GC对象
29
+ * @param spread 工作簿实例
30
+ * @param cellRange 单元格范围JSON对象,格式为:{row:0, col:0, rowCount:2, colCount:5}
31
+ * @param curDefaultPointCount 本次默认点数
32
+ * @param lastDefaultPointCount 上次默认点数,默认为:0(0代表首次创建)
33
+ * @param rowHeight 创建的行高度,默认为:24(单位为像素)
34
+ */
35
+ dynamicCreateCyclicRows: (GC: any, spread: any, cellRange: {
36
+ row: number;
37
+ col: number;
38
+ rowCount: number;
39
+ colCount: number;
40
+ }, curDefaultPointCount: number, lastDefaultPointCount?: number, rowHeight?: number) => void;
26
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapid-spreadjs",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "SpreadJS常用公用处理函数,包括设计器、工作簿和工作表的相关处理函数。",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",