mxcad 1.0.133 → 1.0.134
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 +4 -0
- package/dist/mxcad.es.js +5 -2
- package/dist/mxcad.umd.js +1 -1
- package/dist/wasm/2d/mxdrawassembly_min.js +941 -940
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +941 -940
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/package.json +1 -1
package/dist/mxcad.d.ts
CHANGED
package/dist/mxcad.es.js
CHANGED
|
@@ -1646,7 +1646,7 @@ class Le extends Be {
|
|
|
1646
1646
|
this.imp.SetLinetypeScale(e);
|
|
1647
1647
|
}
|
|
1648
1648
|
get visible() {
|
|
1649
|
-
return this.imp.
|
|
1649
|
+
return this.imp.Visible();
|
|
1650
1650
|
}
|
|
1651
1651
|
set visible(e) {
|
|
1652
1652
|
this.imp.SetVisible(e);
|
|
@@ -2882,6 +2882,9 @@ class Hi {
|
|
|
2882
2882
|
this.imp.addNetworkLoadingFont(t);
|
|
2883
2883
|
});
|
|
2884
2884
|
}
|
|
2885
|
+
getVersionString() {
|
|
2886
|
+
return this.imp.GetVersionString();
|
|
2887
|
+
}
|
|
2885
2888
|
}
|
|
2886
2889
|
class Ki {
|
|
2887
2890
|
mxcadassemblyimp;
|
|
@@ -2907,7 +2910,7 @@ class Ki {
|
|
|
2907
2910
|
return _.decodeFromGb2312(e);
|
|
2908
2911
|
}
|
|
2909
2912
|
}
|
|
2910
|
-
const Ci = "1.0.
|
|
2913
|
+
const Ci = "1.0.134", hn = "SharedArrayBuffer" in window, Rt = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src), dn = (i, e = self.location.href) => Rt ? `https://unpkg.com/mxcad@${Ci}/dist/wasm/2d-st/${i}` : e + i, gn = (i, e = self.location.href) => Rt ? `https://unpkg.com/mxcad@${Ci}/dist/wasm/2d/${i}` : e + i, _n = (i, e = self.location.href) => Rt ? `https://unpkg.com/mxcad@${Ci}/dist/wasm/3d/${i}` : e + i, Zi = (i) => new Promise((e, t) => {
|
|
2911
2914
|
const r = document.createElement("script");
|
|
2912
2915
|
r.src = i, r.type = "text/javascript", r.crossOrigin = "anonymous", document.body.appendChild(r), r.onload = () => {
|
|
2913
2916
|
e();
|