mxcad 1.0.110 → 1.0.112

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
@@ -21,12 +21,14 @@ export declare function saveAsFileDialog({ blob, filename, types }: {
21
21
  }) | undefined>;
22
22
  export declare function downloadFile(blob: any, filename: string): void;
23
23
  export declare function downloadFileFromUrl(url: string, filename: string): void;
24
+ export declare const getJsonFormurl: (url: string) => Promise<any>;
24
25
  export declare const MxTools: {
25
26
  b64Encode: typeof b64Encode;
26
27
  b64Decode: typeof b64Decode;
27
28
  saveAsFileDialog: typeof saveAsFileDialog;
28
29
  downloadFile: typeof downloadFile;
29
30
  downloadFileFromUrl: typeof downloadFileFromUrl;
31
+ getJsonFormurl: (url: string) => Promise<any>;
30
32
  };
31
33
  /**
32
34
  * 表示三维点的对象。
@@ -3143,6 +3145,14 @@ export declare class McObject {
3143
3145
  * 更新图层的显示
3144
3146
  */
3145
3147
  updateLayerDisplayStatus(): void;
3148
+ /**
3149
+ * 初始化用户注册数据.
3150
+ */
3151
+ initRegist(sRegist: string): void;
3152
+ /**
3153
+ * 当前程序是否是试用版本.
3154
+ */
3155
+ isTryVersion(): boolean;
3146
3156
  }
3147
3157
  /**
3148
3158
  * McAppType 类,提供了 MxCAD 的一些基本操作。
@@ -3259,6 +3269,7 @@ export interface MxCADUI {
3259
3269
  mxfilepath: string;
3260
3270
  saveUrl: string;
3261
3271
  };
3272
+ setRegistData: (sData: string) => void;
3262
3273
  }
3263
3274
  export declare let MxCpp: MxCppType;
3264
3275
  export declare function loadMxCADassembly(call?: (MxCpp: MxCppType) => void, locateFile?: (fileName: string, base?: string | URL) => string, wasmBinary?: ArrayBuffer, fontspath?: string, networkFonts?: string[]): Promise<MxCppType>;
@@ -3319,7 +3330,12 @@ export interface MxCadConfig {
3319
3330
  networkFonts?: string[];
3320
3331
  /** 打开文件参数设置 */
3321
3332
  openParameter?: object;
3333
+ /**鼠标中间键操作设置 */
3322
3334
  middlePan?: number | boolean;
3335
+ /**注册数据 */
3336
+ registdata?: string;
3337
+ /**注册文件 */
3338
+ registfile?: string;
3323
3339
  }
3324
3340
  /** 创建MxCad实例
3325
3341
  * @example