@partex/one-core 2.0.110 → 2.0.112

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 F_() {
1006
1006
  const e = Lt("platformListOwned", !1);
1007
1007
  return e && typeof e != "string" ? (wp(e), Promise.resolve(e.platformList)) : new Promise((t, r) => {
1008
1008
  pD({
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) => {
@@ -33150,7 +33150,7 @@ function RY() {
33150
33150
  dp = 3840, vp = 2160, window.removeEventListener("resize", e);
33151
33151
  };
33152
33152
  }
33153
- const $Y = (e) => !!(G.kind === -1 || G.kind === 99 || G.iot_menu_authorization.includes(e)), BY = (e) => G.platform_tdm ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.tdm_menu_authorization.includes(e) : !1, VY = (e) => G.platform_qms ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.qms_menu_authorization.includes(e) : !1, FY = (e) => G.platform_twin ? (G.kind === -1 || G.kind === 99 || e === "home", !0) : !1, zY = (e) => !!(G.kind === -1 || G.kind === 99 || G.maintain_menu_authorization.includes(e)), GY = (e) => !!(G.kind === -1 || G.kind === 99 || G.order_menu_authorization.includes(e)), cY = "2.0.110";
33153
+ const $Y = (e) => !!(G.kind === -1 || G.kind === 99 || G.iot_menu_authorization.includes(e)), BY = (e) => G.platform_tdm ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.tdm_menu_authorization.includes(e) : !1, VY = (e) => G.platform_qms ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.qms_menu_authorization.includes(e) : !1, FY = (e) => G.platform_twin ? (G.kind === -1 || G.kind === 99 || e === "home", !0) : !1, zY = (e) => !!(G.kind === -1 || G.kind === 99 || G.maintain_menu_authorization.includes(e)), GY = (e) => !!(G.kind === -1 || G.kind === 99 || G.order_menu_authorization.includes(e)), cY = "2.0.112";
33154
33154
  let Vo = "";
33155
33155
  const Me = navigator.userAgent.toLocaleUpperCase(), fY = () => {
33156
33156
  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/;