rapid-spreadjs 1.0.17 → 1.0.19

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.
@@ -2,6 +2,14 @@
2
2
  * SpreadJS工作簿工具函数属性
3
3
  */
4
4
  export declare const WorkbookUtils: {
5
+ /**
6
+ * 加载在线sjs文件
7
+ * @param spread 工作簿对象
8
+ * @param fileUrl 在线sjs文件地址
9
+ * @param succFunc 文件打开成功后的回调函数,返回的第一个参数为spread工作簿对象
10
+ * @param errorFunc 文件打开失败后的回调函数,返回的第一个参数为错误信息
11
+ */
12
+ loadSjsFile: (spread: any, fileUrl: string, succFunc?: (spreadObj: any) => void, errorFunc?: (error: any) => void) => Promise<void>;
5
13
  /**
6
14
  * 打印所有工作表
7
15
  * @param GC GC对象
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapid-spreadjs",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "SpreadJS常用公用处理函数,包括设计器、工作簿和工作表的相关处理函数。",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",