mxcad 1.0.108 → 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 CHANGED
@@ -603,7 +603,7 @@ export declare class MxCADResbuf extends McRxObject {
603
603
  * @returns 包含 long 类型值和返回值的对象。
604
604
  */
605
605
  AtObject(lItem: number): {
606
- val: McRxObject | undefined;
606
+ val: McDbObject | undefined;
607
607
  ret: boolean;
608
608
  };
609
609
  /**
@@ -2539,7 +2539,8 @@ export declare class McObject {
2539
2539
  private imp;
2540
2540
  private event;
2541
2541
  /** 当前文件名 */
2542
- static currentFileName: string;
2542
+ private currentFileName;
2543
+ private firstTimeOpenFile;
2543
2544
  /**
2544
2545
  * 构造函数
2545
2546
  * @param imp 对象实现
@@ -3248,6 +3249,16 @@ export declare class MxCppType {
3248
3249
  */
3249
3250
  getCurrentDatabase(): McDbDatabase;
3250
3251
  }
3252
+ /**
3253
+ * MxCADUI 模块提供插件程序使用的接口.
3254
+ */
3255
+ export interface MxCADUI {
3256
+ getUploadFileConfig: () => {
3257
+ baseUrl: string;
3258
+ saveDwgUrl: string;
3259
+ mxfilepath: string;
3260
+ };
3261
+ }
3251
3262
  export declare let MxCpp: MxCppType;
3252
3263
  export declare function loadMxCADassembly(call?: (MxCpp: MxCppType) => void, locateFile?: (fileName: string, base?: string | URL) => string, wasmBinary?: ArrayBuffer, fontspath?: string, networkFonts?: string[]): Promise<MxCppType>;
3253
3264
  export declare function MxCheckTheBrowser(): {