mxcad 1.0.107 → 1.0.109
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 +16 -2
- package/dist/mxcad.es.js +2424 -2379
- package/dist/mxcad.umd.js +22 -22
- package/package.json +1 -1
package/dist/mxcad.d.ts
CHANGED
|
@@ -603,7 +603,7 @@ export declare class MxCADResbuf extends McRxObject {
|
|
|
603
603
|
* @returns 包含 long 类型值和返回值的对象。
|
|
604
604
|
*/
|
|
605
605
|
AtObject(lItem: number): {
|
|
606
|
-
val:
|
|
606
|
+
val: McDbObject | undefined;
|
|
607
607
|
ret: boolean;
|
|
608
608
|
};
|
|
609
609
|
/**
|
|
@@ -2537,13 +2537,17 @@ declare class McRxObjectImp {
|
|
|
2537
2537
|
export declare class McObject {
|
|
2538
2538
|
/** 内部对象实现 */
|
|
2539
2539
|
private imp;
|
|
2540
|
+
private event;
|
|
2540
2541
|
/** 当前文件名 */
|
|
2541
|
-
|
|
2542
|
+
private currentFileName;
|
|
2543
|
+
private firstTimeOpenFile;
|
|
2542
2544
|
/**
|
|
2543
2545
|
* 构造函数
|
|
2544
2546
|
* @param imp 对象实现
|
|
2545
2547
|
*/
|
|
2546
2548
|
constructor(imp: any);
|
|
2549
|
+
on(name: string, fun: object): void;
|
|
2550
|
+
private callEvent;
|
|
2547
2551
|
/**
|
|
2548
2552
|
* 初始化对象模型
|
|
2549
2553
|
* @param mxObject 对象模型
|
|
@@ -3245,6 +3249,16 @@ export declare class MxCppType {
|
|
|
3245
3249
|
*/
|
|
3246
3250
|
getCurrentDatabase(): McDbDatabase;
|
|
3247
3251
|
}
|
|
3252
|
+
/**
|
|
3253
|
+
* MxCADUI 模块提供插件程序使用的接口.
|
|
3254
|
+
*/
|
|
3255
|
+
export interface MxCADUI {
|
|
3256
|
+
getUploadFileConfig: () => {
|
|
3257
|
+
baseUrl: string;
|
|
3258
|
+
saveDwgUrl: string;
|
|
3259
|
+
mxfilepath: string;
|
|
3260
|
+
};
|
|
3261
|
+
}
|
|
3248
3262
|
export declare let MxCpp: MxCppType;
|
|
3249
3263
|
export declare function loadMxCADassembly(call?: (MxCpp: MxCppType) => void, locateFile?: (fileName: string, base?: string | URL) => string, wasmBinary?: ArrayBuffer, fontspath?: string, networkFonts?: string[]): Promise<MxCppType>;
|
|
3250
3264
|
export declare function MxCheckTheBrowser(): {
|