@partex/one-core 2.0.119 → 2.1.0

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/lib/one-core.js CHANGED
@@ -1006,7 +1006,7 @@ function H_() {
1006
1006
  const e = Dt("platformListOwned", !1);
1007
1007
  return e && typeof e != "string" ? (Sp(e), Promise.resolve(e.platformList)) : new Promise((t, r) => {
1008
1008
  mx({
1009
- url: "https://partex-cloud-static.oss-cn-hangzhou.aliyuncs.com/platform.json",
1009
+ url: "https://partex-cloud-static.oss-cn-hangzhou.aliyuncs.com/platform2.json",
1010
1010
  method: "GET",
1011
1011
  responseType: "text"
1012
1012
  }).then((n) => {
@@ -33381,7 +33381,7 @@ function WY() {
33381
33381
  pp = 3840, gp = 2160, window.removeEventListener("resize", e);
33382
33382
  };
33383
33383
  }
33384
- const UY = (e) => !!(G.kind === -1 || G.kind === 99 || G.iot_menu_authorization.includes(e)), YY = (e) => G.platform_tdm ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.tdm_menu_authorization.includes(e) : !1, qY = (e) => G.platform_qms ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.qms_menu_authorization.includes(e) : !1, jY = (e) => G.platform_twin ? (G.kind === -1 || G.kind === 99 || e === "home", !0) : !1, XY = (e) => !!(G.kind === -1 || G.kind === 99 || G.maintain_menu_authorization.includes(e)), ZY = (e) => !!(G.kind === -1 || G.kind === 99 || G.order_menu_authorization.includes(e)), yY = "2.0.119";
33384
+ const UY = (e) => !!(G.kind === -1 || G.kind === 99 || G.iot_menu_authorization.includes(e)), YY = (e) => G.platform_tdm ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.tdm_menu_authorization.includes(e) : !1, qY = (e) => G.platform_qms ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.qms_menu_authorization.includes(e) : !1, jY = (e) => G.platform_twin ? (G.kind === -1 || G.kind === 99 || e === "home", !0) : !1, XY = (e) => !!(G.kind === -1 || G.kind === 99 || G.maintain_menu_authorization.includes(e)), ZY = (e) => !!(G.kind === -1 || G.kind === 99 || G.order_menu_authorization.includes(e)), yY = "2.1.0";
33385
33385
  let Fo = "";
33386
33386
  const Ne = navigator.userAgent.toLocaleUpperCase(), _Y = () => {
33387
33387
  const e = /WINDOWS NT 5.[\d]+/, t = /WINDOWS NT 6.[\d]+/, r = /WINDOWS NT 7.[\d]+/, n = /WINDOWS NT 10.[\d]+/, a = /WINDOWS NT 11.[\d]+/, i = /ANDROID [\d.]+/, o = /IPHONE/, s = /IPAD/, l = /MAC/;