mxcad 1.0.62 → 1.0.64
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/mxcad.d.ts +2 -3
- package/dist/mxcad.es.js +208 -195
- package/dist/mxcad.umd.js +35 -35
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/package.json +2 -6
package/dist/mxcad.d.ts
CHANGED
|
@@ -1806,14 +1806,13 @@ export declare class McObject {
|
|
|
1806
1806
|
saveFileToUrl(sSaveProgramUrl: string, call: (iResult: number, sServerResult: string) => void): boolean;
|
|
1807
1807
|
/**
|
|
1808
1808
|
* 保存文件
|
|
1809
|
-
* @param
|
|
1809
|
+
* @param filename 另存为的新文件名称
|
|
1810
1810
|
* @param call 回调函数,可选参数,文件保存完成后的回调函数,参数为文件数据
|
|
1811
1811
|
* @param isDownland 是否下载文件,默认为 true
|
|
1812
1812
|
* @param isShowSaveFileDialog 是否显示保存文件对话框,默认为 true
|
|
1813
|
-
* @param filename 另存为的新文件名称
|
|
1814
1813
|
* @returns 是否成功保存文件
|
|
1815
1814
|
*/
|
|
1816
|
-
saveFile(
|
|
1815
|
+
saveFile(filename?: string, call?: (data: any) => void, isDownland?: boolean, isShowSaveFileDialog?: boolean): boolean;
|
|
1817
1816
|
/**
|
|
1818
1817
|
* 获取数据库对象
|
|
1819
1818
|
* @returns 数据库对象
|