mxcad 1.0.367 → 1.0.369

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
@@ -11899,6 +11899,7 @@ declare class McRxObjectImp {
11899
11899
  export declare class McObject {
11900
11900
  /** 内部对象实现 */
11901
11901
  private imp;
11902
+ private cooperate;
11902
11903
  /** 内部事件 */
11903
11904
  private event;
11904
11905
  /** 当前打开的文件名 */
@@ -11932,6 +11933,13 @@ export declare class McObject {
11932
11933
  * ```
11933
11934
  */
11934
11935
  getTempDraw(): McObjectTempDraw;
11936
+ /**
11937
+ * 返回协同工作对象
11938
+ * @example
11939
+ * ```ts
11940
+ * ```
11941
+ */
11942
+ getCooperate(): MxCooperate;
11935
11943
  /**
11936
11944
  * 判断层是不是一个在使用的有用层,删除一个层之前调用该函数判断一下。
11937
11945
  * @example
@@ -12232,6 +12240,7 @@ export declare class McObject {
12232
12240
  * @param sFileUrl 网络文件路径
12233
12241
  * @param retCall 回调函数,可选参数,打开文件完成后的回调函数,参数为打开文件的结果,0表示成功,其他值表示失败
12234
12242
  * @param isWorkThread 是否使用工作线程打开文件,默认为 true
12243
+ * @param obj_param: 打开参数,比如传一个请求头{requestHeaders:{aaa:"xxxxx"}}
12235
12244
  * @param fetchAttributes 1:EMSCRIPTEN_FETCH_LOAD_TO_MEMORY,把图纸数据加载内存中,0:EMSCRIPTEN_FETCH_LOAD_TO_MEMORY | EMSCRIPTEN_FETCH_PERSIST_FILE | EMSCRIPTEN_FETCH_APPEND,把图纸数据加到IndexedDB。
12236
12245
  * @returns 是否成功打开文件
12237
12246
  * @example
@@ -12241,7 +12250,7 @@ export declare class McObject {
12241
12250
  * mxcad.openWebFile("http://localhost:1337/mxcad/file/a9cbed3d3a351b79f24484e87bd78338.DWG.mxweb");
12242
12251
  * ```
12243
12252
  */
12244
- openWebFile(sFileUrl: string, retCall?: (iRet: number) => void, isWorkThread?: boolean, initialParameter?: object, fetchAttributes?: number, isFetchTzFile?: boolean): boolean;
12253
+ openWebFile(sFileUrl: string, retCall?: (iRet: number) => void, isWorkThread?: boolean, obj_param?: object, fetchAttributes?: number, isFetchTzFile?: boolean): boolean;
12245
12254
  /**
12246
12255
  * 清空当前图上内容,新建一个文件
12247
12256
  * @example
@@ -14211,6 +14220,42 @@ export declare class MxCADTempForbiddenIntelliSelect {
14211
14220
  constructor(isForbidden?: boolean);
14212
14221
  restoreSettings(): void;
14213
14222
  }
14223
+ /**
14224
+ * 协同工作
14225
+ */
14226
+ export declare class MxCooperate {
14227
+ private mxcad;
14228
+ constructor(mxcad: McObject);
14229
+ /**
14230
+ *创建协同工作
14231
+ */
14232
+ createWrok(retCall?: (wrokId: number) => void): number;
14233
+ /**
14234
+ *得到当前正在协同的工作名列表
14235
+ */
14236
+ getWorks(retCall: (workNames: number[]) => void): number;
14237
+ /**
14238
+ *创建协同工作
14239
+ */
14240
+ joinWork(workId: number, retCall?: (iRet: number) => void): number;
14241
+ /**
14242
+ *初始化参数
14243
+ *比如:{server_addres:"http://localhost:3091"}
14244
+ */
14245
+ init(param: object): any;
14246
+ /**
14247
+ *退出当前协同工作
14248
+ */
14249
+ exitWrok(): number;
14250
+ /**
14251
+ *得到当前协同的状态
14252
+ */
14253
+ getStatus(): number;
14254
+ /**
14255
+ *挂载协同工作事件处理
14256
+ */
14257
+ onEvent(retCall: (eventName: string, iRet: number) => void): void;
14258
+ }
14214
14259
  /**
14215
14260
  * 指定执行克隆操作时的行为类型
14216
14261
  */
package/dist/mxcad.es.js CHANGED
@@ -15080,7 +15080,7 @@ win.McDrawObjectEvent_asciiToUTF8 = function (hexstr) {
15080
15080
  return MxG2312Obj.decodeFromGb2312Imp(hexstr);
15081
15081
  };
15082
15082
 
15083
- const version$1 = "1.0.365";
15083
+ const version$1 = "1.0.368";
15084
15084
 
15085
15085
  var isSharedArrayBuffer = "SharedArrayBuffer" in window;
15086
15086
  var isCdn = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src);
@@ -22487,6 +22487,7 @@ var McObject = /*#__PURE__*/function () {
22487
22487
  function McObject(imp) {
22488
22488
  _classCallCheck$1(this, McObject);
22489
22489
  _defineProperty(this, "imp", void 0);
22490
+ _defineProperty(this, "cooperate", void 0);
22490
22491
  _defineProperty(this, "event", {});
22491
22492
  _defineProperty(this, "currentFileName", "");
22492
22493
  _defineProperty(this, "currentOriginalFileName", "");
@@ -22494,6 +22495,7 @@ var McObject = /*#__PURE__*/function () {
22494
22495
  _defineProperty(this, "authorized_service", "");
22495
22496
  _defineProperty(this, "isInitMxObject", false);
22496
22497
  this.imp = imp;
22498
+ this.cooperate = new MxCooperate(this);
22497
22499
  }
22498
22500
  _createClass$1(McObject, [{
22499
22501
  key: "creaeCallId",
@@ -22505,6 +22507,11 @@ var McObject = /*#__PURE__*/function () {
22505
22507
  value: function getTempDraw() {
22506
22508
  return new McObjectTempDraw(this.imp.getTempDraw());
22507
22509
  }
22510
+ }, {
22511
+ key: "getCooperate",
22512
+ value: function getCooperate() {
22513
+ return this.cooperate;
22514
+ }
22508
22515
  }, {
22509
22516
  key: "isUselessLayer",
22510
22517
  value: function isUselessLayer(layerName) {
@@ -22780,7 +22787,7 @@ var McObject = /*#__PURE__*/function () {
22780
22787
  key: "openWebFile",
22781
22788
  value: function openWebFile(sFileUrl, retCall) {
22782
22789
  var isWorkThread = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
22783
- var initialParameter = arguments.length > 3 ? arguments[3] : undefined;
22790
+ var obj_param = arguments.length > 3 ? arguments[3] : undefined;
22784
22791
  var fetchAttributes = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
22785
22792
  var isFetchTzFile = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true;
22786
22793
  var mxObject = this.imp["mxdrawObject"];
@@ -22802,8 +22809,8 @@ var McObject = /*#__PURE__*/function () {
22802
22809
  this.currentFileName = sFileUrl.split("/").pop();
22803
22810
  this.currentOriginalFileName = this.currentFileName;
22804
22811
  var sParam = "";
22805
- if (initialParameter) {
22806
- sParam = JSON.stringify(initialParameter);
22812
+ if (obj_param) {
22813
+ sParam = JSON.stringify(obj_param);
22807
22814
  }
22808
22815
  if (!this.firstTimeOpenFile) {
22809
22816
  this.getMxDrawObject().clearAllObject();
@@ -22831,6 +22838,12 @@ var McObject = /*#__PURE__*/function () {
22831
22838
  var xhr = new XMLHttpRequest();
22832
22839
  xhr.open("POST", sAUrl);
22833
22840
  xhr.setRequestHeader("Content-Type", "application/json");
22841
+ if (obj_param && obj_param["requestHeaders"]) {
22842
+ var requestHeaders = obj_param["requestHeaders"];
22843
+ for (var key in requestHeaders) {
22844
+ xhr.setRequestHeader(key, requestHeaders[key]);
22845
+ }
22846
+ }
22834
22847
  xhr.onreadystatechange = function () {
22835
22848
  if (xhr.status === 200) {
22836
22849
  if (xhr.readyState === 4) {
@@ -23529,11 +23542,13 @@ var McObject = /*#__PURE__*/function () {
23529
23542
  value: function setViewBackgroundColor(red, green, blue) {
23530
23543
  var mxobj = this.getMxDrawObject();
23531
23544
  if (mxobj) {
23532
- if (red && green && blue) mxobj.setViewColor(red << 16 | green << 8 | blue);else {
23545
+ if (red !== void 0 && green !== void 0 && blue !== void 0) {
23546
+ mxobj.setViewColor(red << 16 | green << 8 | blue);
23547
+ } else {
23533
23548
  mxobj.setViewColor(red);
23534
23549
  }
23535
23550
  }
23536
- if (red && green && blue) {
23551
+ if (red !== void 0 && green !== void 0 && blue !== void 0) {
23537
23552
  return this.imp.setViewBackgroundColor(red, green, blue);
23538
23553
  } else {
23539
23554
  return this.imp.setViewBackgroundColor((red & 16711680) >> 16, (red & 65280) >> 8, red & 255);
@@ -23650,11 +23665,16 @@ var McAppType = /*#__PURE__*/function () {
23650
23665
  }, {
23651
23666
  key: "getCurrentMxCAD",
23652
23667
  value: function getCurrentMxCAD() {
23653
- var currentMxCADImp = this.imp.GetCurrentMxDraw();
23654
- if (!currentMxCADImp["McObject"]) {
23655
- currentMxCADImp["McObject"] = new McObject(this.imp.GetCurrentMxDraw());
23668
+ if (this.imp) {
23669
+ var currentMxCADImp = this.imp.GetCurrentMxDraw();
23670
+ if (!currentMxCADImp["McObject"]) {
23671
+ currentMxCADImp["McObject"] = new McObject(this.imp.GetCurrentMxDraw());
23672
+ }
23673
+ return currentMxCADImp["McObject"];
23674
+ } else {
23675
+ var _currentMxCADImp = void 0;
23676
+ return _currentMxCADImp;
23656
23677
  }
23657
- return currentMxCADImp["McObject"];
23658
23678
  }
23659
23679
  }, {
23660
23680
  key: "mcedRGB2Index",
@@ -24400,6 +24420,105 @@ var MxCADTempForbiddenIntelliSelect = /*#__PURE__*/function () {
24400
24420
  }]);
24401
24421
  return MxCADTempForbiddenIntelliSelect;
24402
24422
  }();
24423
+ var MxCooperate = /*#__PURE__*/function () {
24424
+ function MxCooperate(mxcad) {
24425
+ _classCallCheck$1(this, MxCooperate);
24426
+ _defineProperty(this, "mxcad", void 0);
24427
+ this.mxcad = mxcad;
24428
+ }
24429
+ _createClass$1(MxCooperate, [{
24430
+ key: "createWrok",
24431
+ value: function createWrok(retCall) {
24432
+ var win = window;
24433
+ win["coordinate_createWrok"] = function (_id, param) {
24434
+ win["coordinate_createWrok"] = void 0;
24435
+ try {
24436
+ var paramobj = JSON.parse(param);
24437
+ retCall && retCall(paramobj.l_param);
24438
+ } catch (error) {
24439
+ console.log(error);
24440
+ retCall && retCall(0);
24441
+ }
24442
+ };
24443
+ return this.mxcad.getImp().cooperate_createWrok();
24444
+ }
24445
+ }, {
24446
+ key: "getWorks",
24447
+ value: function getWorks(retCall) {
24448
+ var win = window;
24449
+ win["coordinate_getWroks"] = function (_id, param) {
24450
+ win["coordinate_getWroks"] = void 0;
24451
+ try {
24452
+ var paramobj = JSON.parse(param);
24453
+ if (paramobj.l_param == 0) {
24454
+ retCall(paramobj.str_param);
24455
+ } else {
24456
+ retCall([]);
24457
+ }
24458
+ } catch (error) {
24459
+ console.log(error);
24460
+ retCall([]);
24461
+ }
24462
+ };
24463
+ return this.mxcad.getImp().cooperate_getWorks();
24464
+ }
24465
+ }, {
24466
+ key: "joinWork",
24467
+ value: function joinWork(workId, retCall) {
24468
+ var win = window;
24469
+ win["coordinate_joinWork"] = function (_id, param) {
24470
+ win["coordinate_joinWork"] = void 0;
24471
+ try {
24472
+ var paramobj = JSON.parse(param);
24473
+ retCall && retCall(paramobj.l_param);
24474
+ } catch (error) {
24475
+ console.log(error);
24476
+ retCall && retCall(-1);
24477
+ }
24478
+ };
24479
+ return this.mxcad.getImp().cooperate_joinWork(workId);
24480
+ }
24481
+ }, {
24482
+ key: "init",
24483
+ value: function init(param) {
24484
+ return this.mxcad.getImp().cooperate_init(JSON.stringify(param));
24485
+ }
24486
+ }, {
24487
+ key: "exitWrok",
24488
+ value: function exitWrok() {
24489
+ return this.mxcad.getImp().cooperate_exitWrok();
24490
+ }
24491
+ }, {
24492
+ key: "getStatus",
24493
+ value: function getStatus() {
24494
+ return this.mxcad.getImp().cooperate_status();
24495
+ }
24496
+ }, {
24497
+ key: "onEvent",
24498
+ value: function onEvent(retCall) {
24499
+ var win = window;
24500
+ win["cooperate_joinWork_complete"] = function (_id, param) {
24501
+ try {
24502
+ var paramobj = JSON.parse(param);
24503
+ retCall("cooperate_joinWork_complete", paramobj.l_param);
24504
+ } catch (error) {
24505
+ console.log(error);
24506
+ retCall("cooperate_joinWork_complete", -1);
24507
+ }
24508
+ };
24509
+ win["cooperate_work_network_disconnection"] = function (_id, param) {
24510
+ try {
24511
+ var paramobj = JSON.parse(param);
24512
+ retCall("cooperate_work_network_disconnection", paramobj.l_param);
24513
+ } catch (error) {
24514
+ console.log(error);
24515
+ retCall("cooperate_work_network_disconnection", -1);
24516
+ }
24517
+ };
24518
+ }
24519
+ }]);
24520
+ return MxCooperate;
24521
+ }();
24403
24522
 
24404
24523
  var MxCpp = new MxCppType();
24405
24524
  function loadMxCADassembly(_x) {
@@ -38300,6 +38419,64 @@ function _Mx_Xor() {
38300
38419
  }));
38301
38420
  return _Mx_Xor.apply(this, arguments);
38302
38421
  }
38422
+ function Mx_Cooperate_OnEvent() {
38423
+ var cooperate = MxCpp.mxcad.getCooperate();
38424
+ cooperate.onEvent(function (eventName, iRet) {
38425
+ if (eventName == "cooperate_joinWork_complete") {
38426
+ if (iRet == 0) {
38427
+ console.log("cooperate_joinWork_complete");
38428
+ } else {
38429
+ console.log("cooperate_joinWork_complete return failed,error code:" + iRet);
38430
+ }
38431
+ } else if (eventName == "cooperate_work_network_disconnection") {
38432
+ console.log("cooperate_work_network_disconnection");
38433
+ }
38434
+ });
38435
+ }
38436
+ function Mx_Cooperate_Create() {
38437
+ var cooperate = MxCpp.mxcad.getCooperate();
38438
+ cooperate.createWrok(function (workid) {
38439
+ if (workid > 0) {
38440
+ console.log("create cooperate ok,work name:" + workid);
38441
+ } else {
38442
+ var lErrorCode = -workid;
38443
+ console.log("create cooperate failed,error code:" + lErrorCode);
38444
+ if (lErrorCode == 4) {
38445
+ console.log("create cooperate Has been created");
38446
+ }
38447
+ }
38448
+ });
38449
+ Mx_Cooperate_OnEvent();
38450
+ }
38451
+ function Mx_Cooperate_Join() {
38452
+ var cooperate = MxCpp.mxcad.getCooperate();
38453
+ cooperate.getWorks(function (works) {
38454
+ if (works.length > 0) {
38455
+ cooperate.joinWork(works[0], function (iRet) {
38456
+ if (iRet == 0) {
38457
+ console.log("join cooperate ok,work name:" + works[0]);
38458
+ } else {
38459
+ console.log("join cooperate failed,error code:" + iRet);
38460
+ if (iRet == 17) {
38461
+ console.log("join cooperate Has been join");
38462
+ }
38463
+ }
38464
+ });
38465
+ } else {
38466
+ console.log("join cooperate works empty");
38467
+ }
38468
+ });
38469
+ Mx_Cooperate_OnEvent();
38470
+ }
38471
+ function Mx_Cooperate_Exit() {
38472
+ var cooperate = MxCpp.mxcad.getCooperate();
38473
+ var ret = cooperate.exitWrok();
38474
+ if (ret == 0) {
38475
+ console.log("coordinate exit ok");
38476
+ } else {
38477
+ console.log("coordinate exit ok failed,error code:" + ret);
38478
+ }
38479
+ }
38303
38480
  MxFun.on("init", function () {
38304
38481
  MxFun.addCommand("Mx_Line", drawLine);
38305
38482
  MxFun.addCommand("Mx_Point", Mx_Point);
@@ -38312,6 +38489,9 @@ MxFun.on("init", function () {
38312
38489
  MxFun.addCommand("Mx_Intersection", Mx_Intersection);
38313
38490
  MxFun.addCommand("Mx_Difference", Mx_Difference);
38314
38491
  MxFun.addCommand("Mx_Xor", Mx_Xor);
38492
+ MxFun.addCommand("Mx_Cooperate_Create", Mx_Cooperate_Create);
38493
+ MxFun.addCommand("Mx_Cooperate_Join", Mx_Cooperate_Join);
38494
+ MxFun.addCommand("Mx_Cooperate_Exit", Mx_Cooperate_Exit);
38315
38495
  });
38316
38496
 
38317
38497
  function drawMText() {
@@ -103685,6 +103865,7 @@ const mxcad = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
103685
103865
  MxCompare,
103686
103866
  MxModifyColor,
103687
103867
  MxCADTempForbiddenIntelliSelect,
103868
+ MxCooperate,
103688
103869
  MxCADCloneType,
103689
103870
  MxCADWorldDrawType,
103690
103871
  IMcDbDwgFiler,
@@ -103729,4 +103910,4 @@ globalThis.Buffer = buffer$1.Buffer;
103729
103910
  globalThis.Buffer.alloc = buffer$1.Buffer.alloc;
103730
103911
  globalThis.Buffer.from = buffer$1.Buffer.from;
103731
103912
 
103732
- export { ColorIndexType, ColorMethod, DxfCode, FetchAttributes, IMcDbDwgFiler, IsZero, MLineJustificationType, McAppType, McCmColor, McDb, McDb2LineAngularDimension, McDbAlignedDimension, McDbArc, McDbAttribute, McDbAttributeDefinition, McDbBackgroundEntity, McDbBlockReference, McDbBlockTable, McDbBlockTableRecord, McDbCircle, McDbCurve, McDbCustomEntity, McDbDatabase, McDbDiametricDimension, McDbDictionary, McDbDimStyleTable, McDbDimStyleTableRecord, McDbDimension, McDbEllipse, McDbEntity, McDbGroup, McDbHatch$1 as McDbHatch, McDbLayerTable, McDbLayerTableRecord, McDbLine, McDbLinetypeTable, McDbLinetypeTableRecord, McDbMLine, McDbMText, McDbMxRegion, McDbObject, McDbObjectArray, McDbPoint, McDbPolyline, McDbProxyEntity, McDbRadialDimension, McDbRasterImage, McDbRasterImageDef, McDbRay, McDbRotatedDimension, McDbSpatialFilter, McDbSpline, McDbText, McDbTextStyleTable, McDbTextStyleTableRecord, McDbWipeout, McDbXline, McDbXlsxTable, McDbXrecord, McGeBound, McGeDoubleArray, McGeLongArray, McGeMatrix3d, McGePoint3d, McGePoint3dArray, McGeStringArray, McGeVector3d, McObject, McObjectId, McObjectIdType, McObjectTempDraw, McRxObject, MxCADBaseCustomElement, MxCADBaseCustomText, MxCADCloneType, MxCADMText, MxCADPluginBase, MxCADPluginMapDefaultData, MxCADPluginSampleCode, MxCADResbuf, MxCADSelectionSet, MxCADSelectionSetStatus, MxCADTempForbiddenIntelliSelect, MxCADUiPrAngle, MxCADUiPrBase, MxCADUiPrDist, MxCADUiPrEntity, MxCADUiPrInt, MxCADUiPrKeyWord, MxCADUiPrPoint, MxCADUiPrPointTransform, MxCADUiPrString, MxCADUtility, MxCADUtilityClass, MxCADWorldDraw, MxCADWorldDrawType, MxCanvas2Image, MxCheckTheBrowser, MxCompare, MxCoordConvert, MxCoordConvertType, MxCpp, MxCppType, MxMap, MxMapAddGoogleCnLayer, MxMapAddRasterTileLayer, MxModifyColor, MxPropertiesWindowCustom, MxPropertiesWindowCustomValue, MxPropertiesWindowCustomValueType, MxTIFFLoader, MxTools, Mx_About, Mx_Erase, TableRenderDirection, _ML_String, b64Decode, b64Encode, crateHexString, createCursor, createMcCmColor, createMxCad, mxcad as default, downloadFile, downloadFileFromUrl, drawArc, drawCircle, drawEllipticalArc, drawLine, drawMText, drawPolyLine, drawPolygon, drawRectang, drawText, getColorUtils, getFileFromUrl, getFilterImp, getJsonFromUrl, loadMxCADassembly, mx_gcj02_To_gps84, mx_gps84_To_gcj02, postEmscriptenIndexedDBFile, postMemoryFile, saveAsFileDialog, setMcCmColor };
103913
+ export { ColorIndexType, ColorMethod, DxfCode, FetchAttributes, IMcDbDwgFiler, IsZero, MLineJustificationType, McAppType, McCmColor, McDb, McDb2LineAngularDimension, McDbAlignedDimension, McDbArc, McDbAttribute, McDbAttributeDefinition, McDbBackgroundEntity, McDbBlockReference, McDbBlockTable, McDbBlockTableRecord, McDbCircle, McDbCurve, McDbCustomEntity, McDbDatabase, McDbDiametricDimension, McDbDictionary, McDbDimStyleTable, McDbDimStyleTableRecord, McDbDimension, McDbEllipse, McDbEntity, McDbGroup, McDbHatch$1 as McDbHatch, McDbLayerTable, McDbLayerTableRecord, McDbLine, McDbLinetypeTable, McDbLinetypeTableRecord, McDbMLine, McDbMText, McDbMxRegion, McDbObject, McDbObjectArray, McDbPoint, McDbPolyline, McDbProxyEntity, McDbRadialDimension, McDbRasterImage, McDbRasterImageDef, McDbRay, McDbRotatedDimension, McDbSpatialFilter, McDbSpline, McDbText, McDbTextStyleTable, McDbTextStyleTableRecord, McDbWipeout, McDbXline, McDbXlsxTable, McDbXrecord, McGeBound, McGeDoubleArray, McGeLongArray, McGeMatrix3d, McGePoint3d, McGePoint3dArray, McGeStringArray, McGeVector3d, McObject, McObjectId, McObjectIdType, McObjectTempDraw, McRxObject, MxCADBaseCustomElement, MxCADBaseCustomText, MxCADCloneType, MxCADMText, MxCADPluginBase, MxCADPluginMapDefaultData, MxCADPluginSampleCode, MxCADResbuf, MxCADSelectionSet, MxCADSelectionSetStatus, MxCADTempForbiddenIntelliSelect, MxCADUiPrAngle, MxCADUiPrBase, MxCADUiPrDist, MxCADUiPrEntity, MxCADUiPrInt, MxCADUiPrKeyWord, MxCADUiPrPoint, MxCADUiPrPointTransform, MxCADUiPrString, MxCADUtility, MxCADUtilityClass, MxCADWorldDraw, MxCADWorldDrawType, MxCanvas2Image, MxCheckTheBrowser, MxCompare, MxCooperate, MxCoordConvert, MxCoordConvertType, MxCpp, MxCppType, MxMap, MxMapAddGoogleCnLayer, MxMapAddRasterTileLayer, MxModifyColor, MxPropertiesWindowCustom, MxPropertiesWindowCustomValue, MxPropertiesWindowCustomValueType, MxTIFFLoader, MxTools, Mx_About, Mx_Erase, TableRenderDirection, _ML_String, b64Decode, b64Encode, crateHexString, createCursor, createMcCmColor, createMxCad, mxcad as default, downloadFile, downloadFileFromUrl, drawArc, drawCircle, drawEllipticalArc, drawLine, drawMText, drawPolyLine, drawPolygon, drawRectang, drawText, getColorUtils, getFileFromUrl, getFilterImp, getJsonFromUrl, loadMxCADassembly, mx_gcj02_To_gps84, mx_gps84_To_gcj02, postEmscriptenIndexedDBFile, postMemoryFile, saveAsFileDialog, setMcCmColor };