rapid-spreadjs 1.0.27 → 1.0.28
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 +65 -0
- 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.d.ts +1 -0
- package/dist/index.esm.js +65 -0
- 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/types/wookbook.d.ts +11 -0
- package/dist/utils/wookbook.d.ts +7 -0
- package/package.json +1 -1
package/dist/utils/wookbook.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RegisterFontModel } from '../types/wookbook';
|
|
1
2
|
/**
|
|
2
3
|
* SpreadJS工作簿工具函数属性
|
|
3
4
|
*/
|
|
@@ -47,4 +48,10 @@ export declare const WorkbookUtils: {
|
|
|
47
48
|
* @returns 合并后的工作簿实例
|
|
48
49
|
*/
|
|
49
50
|
mergeWorkbooksToExcel: (GC: any, spreads: any[], exportName?: string) => Promise<any>;
|
|
51
|
+
/**
|
|
52
|
+
* 注册字体(主要为导出PDF使用)
|
|
53
|
+
* @param GC Spread的GC对象
|
|
54
|
+
* @param regFonts 字体配置集合
|
|
55
|
+
*/
|
|
56
|
+
registerFont: (GC: any, regFonts: RegisterFontModel[]) => Promise<unknown>;
|
|
50
57
|
};
|