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 CHANGED
@@ -3340,6 +3340,10 @@ export declare class McAppType {
3340
3340
  * 调置需要通过网络加载的字体
3341
3341
  */
3342
3342
  addNetworkLoadingFont(paths: string | string[]): void;
3343
+ /**
3344
+ * 得当前程序的版本信息
3345
+ */
3346
+ getVersionString(): string;
3343
3347
  }
3344
3348
  /**
3345
3349
  * MxCppType 类
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.visible();
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.133", 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) => {
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();