mxcad 1.0.249 → 1.0.250
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
|
@@ -17450,7 +17450,7 @@ export declare class Mx3dDbDocument extends Mx3dDbObject {
|
|
|
17450
17450
|
* @returns 返回一个 Promise,解析结果为布尔值,表示成功或失败。
|
|
17451
17451
|
*/
|
|
17452
17452
|
read(theFile: File, theFormat: MdGe.MxFormat): Promise<boolean>;
|
|
17453
|
-
readFile(theFilePath: string, theFormat: MdGe.MxFormat):
|
|
17453
|
+
readFile(theFilePath: string, theFormat: MdGe.MxFormat): boolean;
|
|
17454
17454
|
/**
|
|
17455
17455
|
* 获取访问入口标签。
|
|
17456
17456
|
* @returns 返回访问入口标签对象。
|
package/dist/mxcad.es.js
CHANGED
|
@@ -14186,7 +14186,7 @@ win.McDrawObjectEvent_asciiToUTF8 = function (hexstr) {
|
|
|
14186
14186
|
return MxG2312Obj.decodeFromGb2312(hexstr);
|
|
14187
14187
|
};
|
|
14188
14188
|
|
|
14189
|
-
const version$1 = "1.0.
|
|
14189
|
+
const version$1 = "1.0.250";
|
|
14190
14190
|
|
|
14191
14191
|
var isSharedArrayBuffer = ("SharedArrayBuffer" in window);
|
|
14192
14192
|
var isCdn = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src);
|
|
@@ -38779,7 +38779,7 @@ var Mx3dDbDocument = /*#__PURE__*/function (_Mx3dDbObject) {
|
|
|
38779
38779
|
}, {
|
|
38780
38780
|
key: "readFile",
|
|
38781
38781
|
value: function readFile(theFilePath, theFormat) {
|
|
38782
|
-
this.imp.read(theFilePath, theFormat);
|
|
38782
|
+
return this.imp.read(theFilePath, theFormat);
|
|
38783
38783
|
}
|
|
38784
38784
|
}, {
|
|
38785
38785
|
key: "getAccessLabel",
|