@partex/one-core 2.0.117 → 2.0.118

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
@@ -32492,7 +32492,7 @@ const VU = /* @__PURE__ */ ne(RU, [["render", BU]]), FU = Ie({
32492
32492
  }, I = (E) => new Promise(async (W) => {
32493
32493
  var te, fe, Le, we, be, $e, Me;
32494
32494
  const X = {}, Z = {};
32495
- if (E.search.title || (E.search.title = typeof E.title == "function" ? E.title() : E.title), E.search.defaultValue !== void 0)
32495
+ if (E.search.title ? E.search.title = typeof E.search.title == "function" ? E.search.title() : E.search.title : E.search.title = typeof E.title == "function" ? E.title() : E.title, E.search.defaultValue !== void 0)
32496
32496
  Z[E.search.key || E.key] = E.search.defaultValue;
32497
32497
  else {
32498
32498
  if (E.search.type === "input" && (Z[E.search.key || E.key] = ""), E.search.type === "number" && (Z[E.search.key || E.key] = null), E.search.type === "dropdown" && (Z[E.search.key || E.key] = null), (E.search.type === "cascader" || E.search.type === "treeSelect") && ((te = E.search) != null && te.multiple ? Z[E.search.key || E.key] = [] : Z[E.search.key || E.key] = null), E.search.type === "datePicker") {
@@ -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.117";
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.118";
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/;