rapid-spreadjs 1.0.20 → 1.0.22
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.
- package/dist/index.cjs.js +33 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +33 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/dist/utils/sheet.d.ts +8 -0
- package/dist/utils/wookbook.d.ts +1 -1
- package/package.json +1 -1
package/dist/utils/sheet.d.ts
CHANGED
|
@@ -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/dist/utils/wookbook.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const WorkbookUtils: {
|
|
|
9
9
|
* @param succFunc 文件打开成功后的回调函数,返回的第一个参数为spread工作簿对象
|
|
10
10
|
* @param errorFunc 文件打开失败后的回调函数,返回的第一个参数为错误信息
|
|
11
11
|
*/
|
|
12
|
-
loadSjsFile: (spread: any, fileUrl: string, succFunc?: (spreadObj: any) => void
|
|
12
|
+
loadSjsFile: (spread: any, fileUrl: string, succFunc?: (spreadObj: any) => Promise<void>, errorFunc?: (error: any) => Promise<void>) => Promise<void>;
|
|
13
13
|
/**
|
|
14
14
|
* 打印所有工作表
|
|
15
15
|
* @param GC GC对象
|