@partex/one-core 2.0.113 → 2.0.114
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.cjs +2 -2
- package/lib/one-core.js +2 -2
- package/lib/one-core.umd.cjs +2 -2
- package/package.json +1 -1
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/
|
|
1009
|
+
url: "https://partex-cloud-static.oss-cn-hangzhou.aliyuncs.com/platform.json",
|
|
1010
1010
|
method: "GET",
|
|
1011
1011
|
responseType: "text"
|
|
1012
1012
|
}).then((n) => {
|
|
@@ -33354,7 +33354,7 @@ function WY() {
|
|
|
33354
33354
|
pp = 3840, gp = 2160, window.removeEventListener("resize", e);
|
|
33355
33355
|
};
|
|
33356
33356
|
}
|
|
33357
|
-
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.
|
|
33357
|
+
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.114";
|
|
33358
33358
|
let Fo = "";
|
|
33359
33359
|
const Me = navigator.userAgent.toLocaleUpperCase(), _Y = () => {
|
|
33360
33360
|
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/;
|