mxcad 1.0.81 → 1.0.82
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 +7 -3
- package/dist/mxcad.es.js +394 -354
- package/dist/mxcad.umd.js +46 -45
- package/dist/wasm/2d/mxdrawassembly_min.js +577 -577
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +632 -632
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/package.json +2 -2
package/dist/mxcad.d.ts
CHANGED
|
@@ -227,6 +227,10 @@ export declare class McGeMatrix3d {
|
|
|
227
227
|
*/
|
|
228
228
|
setToScaling(scaleAll: number, center: McGePoint3d): this;
|
|
229
229
|
/**
|
|
230
|
+
* 将矩阵设置为镜向矩阵
|
|
231
|
+
*/
|
|
232
|
+
setMirror(pt1: McGePoint3d, pt2: McGePoint3d): this;
|
|
233
|
+
/**
|
|
230
234
|
* 获取矩阵的缩放因子。
|
|
231
235
|
* @returns 矩阵的缩放因子。
|
|
232
236
|
*/
|
|
@@ -2276,7 +2280,7 @@ export declare class McObject {
|
|
|
2276
2280
|
* @param isWorkThread 是否使用工作线程打开文件,默认为 true
|
|
2277
2281
|
* @returns 是否成功打开文件
|
|
2278
2282
|
*/
|
|
2279
|
-
openWebFile(sFileUrl: string, retCall?: (iRet: number) => void, isWorkThread?: boolean,
|
|
2283
|
+
openWebFile(sFileUrl: string, retCall?: (iRet: number) => void, isWorkThread?: boolean, initialParameter?: object): boolean;
|
|
2280
2284
|
/**
|
|
2281
2285
|
* 获取当前文件名
|
|
2282
2286
|
* @returns 当前文件名
|
|
@@ -2297,7 +2301,7 @@ export declare class McObject {
|
|
|
2297
2301
|
* @param isShowSaveFileDialog 是否显示保存文件对话框,默认为 true
|
|
2298
2302
|
* @returns 是否成功保存文件
|
|
2299
2303
|
*/
|
|
2300
|
-
saveFile(filename?: string, call?: (data: any) => void, isDownland?: boolean, isShowSaveFileDialog?: boolean): boolean;
|
|
2304
|
+
saveFile(filename?: string, call?: (data: any) => void, isDownland?: boolean, isShowSaveFileDialog?: boolean, parameter?: object): boolean;
|
|
2301
2305
|
/**
|
|
2302
2306
|
* 获取数据库对象
|
|
2303
2307
|
* @returns 数据库对象
|
|
@@ -2890,7 +2894,7 @@ export interface MxCadConfig {
|
|
|
2890
2894
|
/** 是否支持多选 */
|
|
2891
2895
|
multipleSelect?: boolean;
|
|
2892
2896
|
/** 打开文件参数设置 */
|
|
2893
|
-
openParameter?:
|
|
2897
|
+
openParameter?: object;
|
|
2894
2898
|
}
|
|
2895
2899
|
/** 创建MxCad实例 */
|
|
2896
2900
|
export declare const createMxCad: (config?: MxCadConfig) => Promise<McObject>;
|