@partex/one-core 2.1.12 → 2.1.14

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
@@ -1,7 +1,7 @@
1
1
  var XC = Object.defineProperty;
2
2
  var ZC = (e, t, r) => t in e ? XC(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var vs = (e, t, r) => (ZC(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { defineComponent as Ge, openBlock as V, createElementBlock as J, createElementVNode as z, h as ye, reactive as hd, resolveComponent as R, createBlock as K, withCtx as k, createVNode as E, toDisplayString as ue, ref as U, Fragment as bt, normalizeStyle as Fo, createCommentVNode as ne, createTextVNode as _e, onMounted as Jr, onBeforeUnmount as pu, renderList as zo, createSlots as fi, withDirectives as ci, vShow as hi, watch as Qt, mergeProps as p_, normalizeClass as wl, renderSlot as sr, withKeys as Qc, computed as KC, onUnmounted as JC, nextTick as QC } from "vue";
4
+ import { defineComponent as Ge, openBlock as V, createElementBlock as J, createElementVNode as z, h as ye, reactive as hd, resolveComponent as R, createBlock as K, withCtx as k, createVNode as E, toDisplayString as ue, ref as U, Fragment as bt, normalizeStyle as Fo, createCommentVNode as re, createTextVNode as _e, onMounted as Jr, onBeforeUnmount as pu, renderList as zo, createSlots as fi, withDirectives as ci, vShow as hi, watch as Qt, mergeProps as p_, normalizeClass as wl, renderSlot as sr, withKeys as Qc, computed as KC, onUnmounted as JC, nextTick as QC } from "vue";
5
5
  import { createDiscreteApi as e2, NPopover as Pn, NFlex as It, NButton as Je, NTooltip as ba, NIcon as Rt, NPopconfirm as g_, NInput as ns, NSelect as m_, NInputNumber as y_, NDatePicker as dd, NTimePicker as __, NSwitch as t2, NUpload as b_, NUploadDragger as r2, NDivider as w_, NColorPicker as n2, NCheckbox as a2, NCheckboxGroup as i2, NCascader as S_, NGrid as Si, NForm as vd, NFormItem as pd, NDataTable as Ci, useNotification as kn, NBadge as o2, NRadioGroup as s2, NRadioButton as l2, NDropdown as C_, NMenu as u2, NDrawer as f2, NDrawerContent as c2, NCard as gd, NModal as T_, NTabs as h2, NTabPane as d2, NGi as gu, darkTheme as wa, NConfigProvider as v2, NDialogProvider as p2, NNotificationProvider as g2, zhCN as m2, dateZhCN as y2, NInputGroup as md, NInputGroupLabel as D_, NGridItem as _2, NTreeSelect as b2, NSkeleton as w2 } from "naive-ui";
6
6
  import { createRouter as S2, createWebHistory as C2, useRoute as mu, useRouter as Ti } from "vue-router";
7
7
  import { createI18n as T2, useI18n as Nr } from "vue-i18n";
@@ -582,7 +582,7 @@ function Pd(e, t = !1) {
582
582
  "div",
583
583
  {},
584
584
  {
585
- default: () => re.lang === "zh-CN" ? `共${e.total}条` : `${e.total} items`
585
+ default: () => ne.lang === "zh-CN" ? `共${e.total}条` : `${e.total} items`
586
586
  }
587
587
  )
588
588
  },
@@ -934,12 +934,12 @@ const { notification: cf } = e2(["notification"], {
934
934
  headers: {
935
935
  platformType: "T1"
936
936
  }
937
- }), hx = String(0 - (/* @__PURE__ */ new Date()).getTimezoneOffset() / 60);
937
+ }), hx = 0 - (/* @__PURE__ */ new Date()).getTimezoneOffset() / 60 >= 0 ? `+${0 - (/* @__PURE__ */ new Date()).getTimezoneOffset() / 60}` : String(0 - (/* @__PURE__ */ new Date()).getTimezoneOffset() / 60);
938
938
  let th = yd.CancelToken.source();
939
939
  Di.interceptors.request.use(
940
940
  (e) => {
941
941
  var r;
942
- e.cancelToken = th.token, e.headers.TimezoneOffset = hx, e.headers.Language = re.lang;
942
+ e.cancelToken = th.token, e.headers.TimezoneOffset = hx, e.headers.Language = ne.lang;
943
943
  const t = Nt("token", !1);
944
944
  if (e.headers && t && (e.headers["X-Auth-Token"] = t), ((r = e.method) == null ? void 0 : r.toLocaleUpperCase()) === "GET") {
945
945
  const n = z_(e.data);
@@ -1019,7 +1019,7 @@ function H_() {
1019
1019
  });
1020
1020
  });
1021
1021
  }
1022
- const re = hd({
1022
+ const ne = hd({
1023
1023
  needUpdate: !1,
1024
1024
  download: !1,
1025
1025
  theme: !1,
@@ -1040,47 +1040,47 @@ const re = hd({
1040
1040
  }
1041
1041
  });
1042
1042
  function gx(e) {
1043
- re.platformList = e.platformList, re.owned = e.owned;
1043
+ ne.platformList = e.platformList, ne.owned = e.owned;
1044
1044
  }
1045
1045
  function mx(e) {
1046
- re.platformMenu = e;
1046
+ ne.platformMenu = e;
1047
1047
  }
1048
1048
  function Ed(e) {
1049
- re.download = e;
1049
+ ne.download = e;
1050
1050
  }
1051
1051
  function yx(e) {
1052
- re.language = e;
1052
+ ne.language = e;
1053
1053
  }
1054
1054
  function Ho(e) {
1055
1055
  let t;
1056
- e ? t = e : re.lang === "zh-CN" ? t = "en-US" : t = "zh-CN", qt("lang", t, 0), re.lang = t;
1056
+ e ? t = e : ne.lang === "zh-CN" ? t = "en-US" : t = "zh-CN", qt("lang", t, 0), ne.lang = t;
1057
1057
  const r = document.body;
1058
1058
  r.dataset.lang = t, ca.global.locale.value = t;
1059
1059
  }
1060
1060
  async function _x(e) {
1061
1061
  if (typeof e == "object")
1062
- re.platformName = e.platformName, re.platformType = e.platformType, re.platformUrl = e.platformUrl;
1062
+ ne.platformName = e.platformName, ne.platformType = e.platformType, ne.platformUrl = e.platformUrl;
1063
1063
  else {
1064
1064
  const t = await H_();
1065
1065
  if (t) {
1066
1066
  const r = t[e] || t.iot;
1067
- re.platformName = () => ca.global.t(r.platformName), re.platformType = r.platformType, re.platformUrl = r.platformUrl, document.title = re.platformName();
1067
+ ne.platformName = () => ca.global.t(r.platformName), ne.platformType = r.platformType, ne.platformUrl = r.platformUrl, document.title = ne.platformName();
1068
1068
  }
1069
1069
  }
1070
1070
  }
1071
1071
  function bu(e) {
1072
- re.theme = e;
1072
+ ne.theme = e;
1073
1073
  const t = document.body, r = document.querySelector("meta[name=theme-color]");
1074
1074
  e ? t.dataset.theme = "dark" : t.dataset.theme = "", r && (e ? r.setAttribute("content", "#2b2b2d") : r.setAttribute("content", "#ffffff"));
1075
1075
  }
1076
1076
  function bx(e) {
1077
- re.needUpdate = e;
1077
+ ne.needUpdate = e;
1078
1078
  }
1079
1079
  function Sx(e) {
1080
- re.options = Object.assign({}, re.options, e);
1080
+ ne.options = Object.assign({}, ne.options, e);
1081
1081
  }
1082
1082
  const U_ = () => {
1083
- re.isMobile = window.screen.availWidth < 769, re.isPad = window.screen.availWidth < 1024;
1083
+ ne.isMobile = window.screen.availWidth < 769, ne.isPad = window.screen.availWidth < 1024;
1084
1084
  };
1085
1085
  window.addEventListener("resize", U_);
1086
1086
  U_();
@@ -1164,7 +1164,7 @@ const ps = (e, t) => ye(
1164
1164
  );
1165
1165
  e.buttonText ? n = a : n = ps(
1166
1166
  a,
1167
- re.lang === "zh-CN" ? "详情" : "Detail"
1167
+ ne.lang === "zh-CN" ? "详情" : "Detail"
1168
1168
  );
1169
1169
  }
1170
1170
  if (e.type === "edit") {
@@ -1175,7 +1175,7 @@ const ps = (e, t) => ye(
1175
1175
  t,
1176
1176
  r
1177
1177
  );
1178
- e.buttonText ? n = a : n = ps(a, re.lang === "zh-CN" ? "编辑" : "Edit");
1178
+ e.buttonText ? n = a : n = ps(a, ne.lang === "zh-CN" ? "编辑" : "Edit");
1179
1179
  }
1180
1180
  if (e.type === "delete") {
1181
1181
  let a = Fr(
@@ -1187,12 +1187,12 @@ const ps = (e, t) => ye(
1187
1187
  );
1188
1188
  e.buttonText ? a = a : a = ps(
1189
1189
  a,
1190
- re.lang === "zh-CN" ? "删除" : "Delete"
1190
+ ne.lang === "zh-CN" ? "删除" : "Delete"
1191
1191
  ), n = Cl(
1192
1192
  a,
1193
1193
  {
1194
1194
  ...e,
1195
- confirmText: re.lang === "zh-CN" ? "删除后无法恢复,是否确认删除?" : "Are you sure you want to delete ?"
1195
+ confirmText: ne.lang === "zh-CN" ? "删除后无法恢复,是否确认删除?" : "Are you sure you want to delete ?"
1196
1196
  },
1197
1197
  t,
1198
1198
  r
@@ -1216,14 +1216,14 @@ const ps = (e, t) => ye(
1216
1216
  a.type === "detail" && (i = Fr(
1217
1217
  {
1218
1218
  ...a,
1219
- buttonText: re.lang === "zh-CN" ? "详情" : "Detail"
1219
+ buttonText: ne.lang === "zh-CN" ? "详情" : "Detail"
1220
1220
  },
1221
1221
  "primary",
1222
1222
  void 0,
1223
1223
  t,
1224
1224
  r
1225
1225
  )), a.type === "edit" && (i = Fr(
1226
- { ...a, buttonText: re.lang === "zh-CN" ? "编辑" : "Edit" },
1226
+ { ...a, buttonText: ne.lang === "zh-CN" ? "编辑" : "Edit" },
1227
1227
  "success",
1228
1228
  void 0,
1229
1229
  t,
@@ -1233,7 +1233,7 @@ const ps = (e, t) => ye(
1233
1233
  {
1234
1234
  ...a,
1235
1235
  onClick: "",
1236
- buttonText: re.lang === "zh-CN" ? "删除" : "Delete"
1236
+ buttonText: ne.lang === "zh-CN" ? "删除" : "Delete"
1237
1237
  },
1238
1238
  "error",
1239
1239
  void 0,
@@ -1242,7 +1242,7 @@ const ps = (e, t) => ye(
1242
1242
  ),
1243
1243
  {
1244
1244
  ...a,
1245
- confirmText: re.lang === "zh-CN" ? "删除后无法恢复,是否确认删除?" : "Are you sure you want to delete ?"
1245
+ confirmText: ne.lang === "zh-CN" ? "删除后无法恢复,是否确认删除?" : "Are you sure you want to delete ?"
1246
1246
  },
1247
1247
  t,
1248
1248
  r
@@ -1303,7 +1303,7 @@ const ps = (e, t) => ye(
1303
1303
  name: "OcAuth",
1304
1304
  setup() {
1305
1305
  const e = mu(), t = Ti(), { auth: r } = e.query;
1306
- r ? qt("token", r, 0) : as("token"), t.replace(re.platformUrl);
1306
+ r ? qt("token", r, 0) : as("token"), t.replace("/");
1307
1307
  }
1308
1308
  }), xx = {
1309
1309
  class: "com-card flex-center",
@@ -1489,7 +1489,7 @@ function Gx(e, t, r, n, a, i) {
1489
1489
  e.mouseOver(s, "a");
1490
1490
  }),
1491
1491
  onMouseout: t[1] || (t[1] = (...s) => e.mouseOut && e.mouseOut(...s))
1492
- }, null, 40, Vx)) : ne("", !0),
1492
+ }, null, 40, Vx)) : re("", !0),
1493
1493
  e.pointB ? (V(), J("circle", {
1494
1494
  key: 1,
1495
1495
  class: "oc-circle-round",
@@ -1504,7 +1504,7 @@ function Gx(e, t, r, n, a, i) {
1504
1504
  e.mouseOver(s, "b");
1505
1505
  }),
1506
1506
  onMouseout: t[3] || (t[3] = (...s) => e.mouseOut && e.mouseOut(...s))
1507
- }, null, 40, Fx)) : ne("", !0),
1507
+ }, null, 40, Fx)) : re("", !0),
1508
1508
  z("text", zx, ue(e.circleTxt ? e.circleTxt : `${e.circle}%`), 1)
1509
1509
  ])),
1510
1510
  E(o, {
@@ -27021,7 +27021,7 @@ const Q7 = {
27021
27021
  },
27022
27022
  mounted() {
27023
27023
  this.$watch(
27024
- () => re.theme,
27024
+ () => ne.theme,
27025
27025
  () => {
27026
27026
  this.dispose(), this.init();
27027
27027
  }
@@ -27042,7 +27042,7 @@ const Q7 = {
27042
27042
  const t = this.renderer || "canvas";
27043
27043
  return new Promise((r) => {
27044
27044
  this.$nextTick(() => {
27045
- const n = this.theme ? this.theme : re.theme ? "dark" : "white", a = mI(e, n, {
27045
+ const n = this.theme ? this.theme : ne.theme ? "dark" : "white", a = mI(e, n, {
27046
27046
  renderer: t,
27047
27047
  // width: undefined,
27048
27048
  // height: undefined,
@@ -27122,11 +27122,11 @@ const Q7 = {
27122
27122
  title: "404 页面走丢了",
27123
27123
  title2: "Something's missing."
27124
27124
  }), n = () => {
27125
- Vr.push(re.platformUrl);
27125
+ Vr.push(ne.platformUrl);
27126
27126
  }, a = U();
27127
27127
  return Jr(() => {
27128
27128
  r.value = t[e.type], a.value = setInterval(() => {
27129
- Vr.push(re.platformUrl);
27129
+ Vr.push(ne.platformUrl);
27130
27130
  }, 3e3);
27131
27131
  }), pu(() => {
27132
27132
  clearInterval(a.value);
@@ -27178,7 +27178,7 @@ function dB(e, t, r, n, a, i) {
27178
27178
  _e(" 2020-2024 " + ue(e.$t("Common.title")) + " ", 1),
27179
27179
  e.version ? (V(), J(bt, { key: 0 }, [
27180
27180
  _e("v" + ue(e.version) + " ", 1)
27181
- ], 64)) : ne("", !0),
27181
+ ], 64)) : re("", !0),
27182
27182
  hB
27183
27183
  ]);
27184
27184
  }
@@ -27889,7 +27889,7 @@ function XG(e, t, r, n, a, i) {
27889
27889
  _e(ue(typeof e.item.label == "function" ? e.item.label() : e.item.label), 1)
27890
27890
  ]),
27891
27891
  _: 1
27892
- }, 8, ["title-placement"])) : ne("", !0),
27892
+ }, 8, ["title-placement"])) : re("", !0),
27893
27893
  e.item.input === "input" ? (V(), K(s, {
27894
27894
  key: 1,
27895
27895
  value: e.formValue[e.item.key],
@@ -27906,7 +27906,7 @@ function XG(e, t, r, n, a, i) {
27906
27906
  "on-update:value": (S) => {
27907
27907
  e.formValue[e.item.key] = S.trim(), e.updateValue(e.item, S.trim());
27908
27908
  }
27909
- }, null, 8, ["value", "type", "placeholder", "disabled", "readonly", "clearable", "minlength", "maxlength", "rows", "show-count", "on-update:value"])) : ne("", !0),
27909
+ }, null, 8, ["value", "type", "placeholder", "disabled", "readonly", "clearable", "minlength", "maxlength", "rows", "show-count", "on-update:value"])) : re("", !0),
27910
27910
  e.item.input === "number" ? (V(), K(l, {
27911
27911
  key: 2,
27912
27912
  value: e.formValue[e.item.key],
@@ -27927,7 +27927,7 @@ function XG(e, t, r, n, a, i) {
27927
27927
  "on-update:value": (S) => {
27928
27928
  e.formValue[e.item.key] = S, e.updateValue(e.item, S);
27929
27929
  }
27930
- }, null, 8, ["value", "placeholder", "disabled", "readonly", "clearable", "min", "max", "step", "showButton", "parse", "on-update:value"])) : ne("", !0),
27930
+ }, null, 8, ["value", "placeholder", "disabled", "readonly", "clearable", "min", "max", "step", "showButton", "parse", "on-update:value"])) : re("", !0),
27931
27931
  e.item.input === "date" && !e.item.format ? (V(), K(u, {
27932
27932
  key: 3,
27933
27933
  value: e.formValue[e.item.key],
@@ -27949,7 +27949,7 @@ function XG(e, t, r, n, a, i) {
27949
27949
  "on-update:value": (S) => {
27950
27950
  e.formValue[e.item.key] = S, e.updateValue(e.item, S);
27951
27951
  }
27952
- }, null, 8, ["value", "type", "placeholder", "disabled", "input-readonly", "clearable", "time-picker-props", "is-date-disabled", "on-update:value"])) : ne("", !0),
27952
+ }, null, 8, ["value", "type", "placeholder", "disabled", "input-readonly", "clearable", "time-picker-props", "is-date-disabled", "on-update:value"])) : re("", !0),
27953
27953
  e.item.input === "date" && e.item.format ? (V(), K(u, {
27954
27954
  key: 4,
27955
27955
  "formatted-value": e.formValue[e.item.key],
@@ -27972,7 +27972,7 @@ function XG(e, t, r, n, a, i) {
27972
27972
  "on-update:formatted-value": (S) => {
27973
27973
  e.formValue[e.item.key] = S, e.updateValue(e.item, S);
27974
27974
  }
27975
- }, null, 8, ["formatted-value", "type", "placeholder", "disabled", "input-readonly", "clearable", "format", "time-picker-props", "is-date-disabled", "on-update:formatted-value"])) : ne("", !0),
27975
+ }, null, 8, ["formatted-value", "type", "placeholder", "disabled", "input-readonly", "clearable", "format", "time-picker-props", "is-date-disabled", "on-update:formatted-value"])) : re("", !0),
27976
27976
  e.item.input === "select" ? (V(), K(f, {
27977
27977
  key: 5,
27978
27978
  value: e.formValue[e.item.key],
@@ -27998,7 +27998,7 @@ function XG(e, t, r, n, a, i) {
27998
27998
  }
27999
27999
  e.formValue[e.item.key] = b, e.updateValue(e.item, T);
28000
28000
  }
28001
- }, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "multiple", "fallback-option", "maxTagCount", "render-label", "render-option", "render-tag", "on-update:value"])) : ne("", !0),
28001
+ }, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "multiple", "fallback-option", "maxTagCount", "render-label", "render-option", "render-tag", "on-update:value"])) : re("", !0),
28002
28002
  e.item.input === "cascader" ? (V(), K(c, {
28003
28003
  key: 6,
28004
28004
  value: e.formValue[e.item.key],
@@ -28020,7 +28020,7 @@ function XG(e, t, r, n, a, i) {
28020
28020
  }
28021
28021
  e.formValue[e.item.key] = b, e.updateValue(e.item, T);
28022
28022
  }
28023
- }, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "multiple", "maxTagCount", "on-update:value"])) : ne("", !0),
28023
+ }, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "multiple", "maxTagCount", "on-update:value"])) : re("", !0),
28024
28024
  e.item.input === "color" ? (V(), K(d, {
28025
28025
  key: 7,
28026
28026
  value: e.formValue[e.item.key],
@@ -28035,7 +28035,7 @@ function XG(e, t, r, n, a, i) {
28035
28035
  "#F0A020",
28036
28036
  "rgba(208, 48, 80, 1)"
28037
28037
  ]
28038
- }, null, 8, ["value", "disabled", "swatches"])) : ne("", !0),
28038
+ }, null, 8, ["value", "disabled", "swatches"])) : re("", !0),
28039
28039
  e.item.input === "checkbox" ? (V(), K(g, {
28040
28040
  key: 8,
28041
28041
  value: e.formValue[e.item.key],
@@ -28054,7 +28054,7 @@ function XG(e, t, r, n, a, i) {
28054
28054
  })
28055
28055
  ]),
28056
28056
  _: 1
28057
- }, 8, ["value", "disabled"])) : ne("", !0),
28057
+ }, 8, ["value", "disabled"])) : re("", !0),
28058
28058
  e.item.input === "time" ? (V(), K(p, {
28059
28059
  key: 9,
28060
28060
  value: e.formValue[e.item.key],
@@ -28067,7 +28067,7 @@ function XG(e, t, r, n, a, i) {
28067
28067
  "on-update:value": (S) => {
28068
28068
  e.formValue[e.item.key] = S, e.updateValue(e.item, S);
28069
28069
  }
28070
- }, null, 8, ["value", "placeholder", "format", "disabled", "readonly", "clearable", "on-update:value"])) : ne("", !0),
28070
+ }, null, 8, ["value", "placeholder", "format", "disabled", "readonly", "clearable", "on-update:value"])) : re("", !0),
28071
28071
  e.item.input === "switch" ? (V(), K(m, {
28072
28072
  key: 10,
28073
28073
  value: e.formValue[e.item.key],
@@ -28092,7 +28092,7 @@ function XG(e, t, r, n, a, i) {
28092
28092
  ]),
28093
28093
  key: "1"
28094
28094
  } : void 0
28095
- ]), 1032, ["value", "disabled", "on-update:value"])) : ne("", !0),
28095
+ ]), 1032, ["value", "disabled", "on-update:value"])) : re("", !0),
28096
28096
  e.item.input === "upload" ? (V(), K(C, {
28097
28097
  key: 11,
28098
28098
  "default-file-list": e.formValue[e.item.key] ? [
@@ -28133,7 +28133,7 @@ function XG(e, t, r, n, a, i) {
28133
28133
  ])
28134
28134
  ]),
28135
28135
  _: 1
28136
- }, 8, ["default-file-list", "on-before-upload", "accept", "disabled", "max", "on-update:file-list"])) : ne("", !0)
28136
+ }, 8, ["default-file-list", "on-before-upload", "accept", "disabled", "max", "on-update:file-list"])) : re("", !0)
28137
28137
  ], 64);
28138
28138
  }
28139
28139
  const ZG = /* @__PURE__ */ fe(WG, [["render", XG]]), KG = Ge({
@@ -28335,7 +28335,7 @@ function QG(e, t, r, n, a, i) {
28335
28335
  }, null, 8, ["item", "formValue", "edit"])
28336
28336
  ]),
28337
28337
  _: 2
28338
- }, 1032, ["label", "path", "rule", "class", "onClick", "style", "show-feedback"])) : ne("", !0)
28338
+ }, 1032, ["label", "path", "rule", "class", "onClick", "style", "show-feedback"])) : re("", !0)
28339
28339
  ], 64);
28340
28340
  }), 128))
28341
28341
  ]))
@@ -28358,10 +28358,10 @@ const eH = /* @__PURE__ */ fe(KG, [["render", QG]]), u_ = (e) => {
28358
28358
  key: r.industryCategory === "0" ? "/iot/home/all" : "/prt/home/all"
28359
28359
  }
28360
28360
  ];
28361
- switch (Object.keys(re.owned).forEach((o) => {
28361
+ switch (Object.keys(ne.owned).forEach((o) => {
28362
28362
  const s = a.includes(Number(o));
28363
- if (r[re.owned[o]] = s, s) {
28364
- const l = re.owned[o].split("_")[1], u = re.platformList[l];
28363
+ if (r[ne.owned[o]] = s, s) {
28364
+ const l = ne.owned[o].split("_")[1], u = ne.platformList[l];
28365
28365
  u && i.push({
28366
28366
  label: () => ca.global.t(u.platformName),
28367
28367
  key: u.platformUrl
@@ -28385,16 +28385,16 @@ const eH = /* @__PURE__ */ fe(KG, [["render", QG]]), u_ = (e) => {
28385
28385
  }).catch((r) => {
28386
28386
  t(r);
28387
28387
  });
28388
- }), rH = () => $t("api/auth/user/logout"), nH = () => $t("api/manager/message/markReadAll"), aH = () => $t("api/auth/user/updateTenantRenewalStatus"), iH = (e) => $t(re.options.removeUrl, e), oH = (e) => $t("api/manager/job/retry", {
28388
+ }), rH = () => $t("api/auth/user/logout"), nH = () => $t("api/manager/message/markReadAll"), aH = () => $t("api/auth/user/updateTenantRenewalStatus"), iH = (e) => $t(ne.options.removeUrl, e), oH = (e) => $t("api/manager/job/retry", {
28389
28389
  jobId: e
28390
28390
  }), sH = (e, t = {}) => vx(e, t, "blob"), LC = (e) => {
28391
28391
  const t = new FormData();
28392
28392
  return Object.keys(e).forEach((r) => {
28393
28393
  e.query && r === "query" ? t.append("query", JSON.stringify(e.query)) : t.append(r, e[r]);
28394
- }), G_(re.options.importUrl, t);
28394
+ }), G_(ne.options.importUrl, t);
28395
28395
  }, OC = (e) => new Promise((t, r) => {
28396
28396
  const n = kd(e);
28397
- $t(re.options.pageUrl, n).then((a) => {
28397
+ $t(ne.options.pageUrl, n).then((a) => {
28398
28398
  const i = Pd(a);
28399
28399
  t(i);
28400
28400
  }).catch(() => {
@@ -28404,7 +28404,7 @@ const eH = /* @__PURE__ */ fe(KG, [["render", QG]]), u_ = (e) => {
28404
28404
  const n = new FormData();
28405
28405
  n.append("jobType", "EXPORT"), Object.keys(e).forEach((a) => {
28406
28406
  e.query && a === "query" ? n.append("query", JSON.stringify(e.query)) : n.append(a, e[a]);
28407
- }), G_(re.options.importUrl, n).then(() => {
28407
+ }), G_(ne.options.importUrl, n).then(() => {
28408
28408
  Ed(!0), t();
28409
28409
  }).catch((a) => {
28410
28410
  r(a);
@@ -28658,7 +28658,7 @@ const cH = Ge({
28658
28658
  Ed(h), t.value = h;
28659
28659
  };
28660
28660
  return c(), Qt(
28661
- () => re.download,
28661
+ () => ne.download,
28662
28662
  (h) => {
28663
28663
  t.value = h, h && c();
28664
28664
  }
@@ -29066,7 +29066,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
29066
29066
  }
29067
29067
  },
29068
29068
  setup(e) {
29069
- const { t } = Nr(), r = mu(), n = Ti(), a = kn(), i = U(re.platformUrl), o = U(!1), s = U(void 0), l = U(10), u = U(re.platformMenu), f = (T) => {
29069
+ const { t } = Nr(), r = mu(), n = Ti(), a = kn(), i = U(ne.platformUrl), o = U(!1), s = U(void 0), l = U(10), u = U(ne.platformMenu), f = (T) => {
29070
29070
  bu(T), qt("theme", T, 0);
29071
29071
  }, c = (T) => {
29072
29072
  T.indexOf("/iot/home") > -1 && (T = "/iot/home/all"), T.indexOf("/iot/timeline") > -1 && (T = "/iot/timeline/all"), i.value = T, eh();
@@ -29114,12 +29114,12 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
29114
29114
  key: "tenantName"
29115
29115
  },
29116
29116
  {
29117
- label: `${t("Common.dropdownMenu.theme")} ${re.theme ? t("Common.dropdownMenu.light") : t("Common.dropdownMenu.dark")}`,
29117
+ label: `${t("Common.dropdownMenu.theme")} ${ne.theme ? t("Common.dropdownMenu.light") : t("Common.dropdownMenu.dark")}`,
29118
29118
  key: "theme"
29119
29119
  }
29120
29120
  ];
29121
- return re.language && T.push({
29122
- label: `${t("Common.dropdownMenu.language")} ${re.lang === "zh-CN" ? "EN" : "中文"}`,
29121
+ return ne.language && T.push({
29122
+ label: `${t("Common.dropdownMenu.language")} ${ne.lang === "zh-CN" ? "EN" : "中文"}`,
29123
29123
  key: "language"
29124
29124
  }), T.push({
29125
29125
  label: t("Common.dropdownMenu.software"),
@@ -29164,7 +29164,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
29164
29164
  }
29165
29165
  ), T;
29166
29166
  }, w = async (T) => {
29167
- T === "logout" && VC(), T === "theme" && f(!re.theme), T === "language" && Ho(), T === "info" && n.push("/custom/my"), T === "report" && n.push("/custom/report"), T === "android" && window.open("http://miiot.partexiot.cn/dk7u"), T === "ios" && window.open("https://apps.apple.com/cn/app/id1587313547"), T === "chrome" && window.open(
29167
+ T === "logout" && VC(), T === "theme" && f(!ne.theme), T === "language" && Ho(), T === "info" && n.push("/custom/my"), T === "report" && n.push("/custom/report"), T === "android" && window.open("http://miiot.partexiot.cn/dk7u"), T === "ios" && window.open("https://apps.apple.com/cn/app/id1587313547"), T === "chrome" && window.open(
29168
29168
  "http://partex-cloud-static.oss-cn-hangzhou.aliyuncs.com/Software/chrome_installer.exe"
29169
29169
  ), T === "edge" && window.open(
29170
29170
  "http://partex-cloud-static.oss-cn-hangzhou.aliyuncs.com/Software/MicrosoftEdgeSetup.exe"
@@ -29276,7 +29276,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
29276
29276
  });
29277
29277
  }
29278
29278
  }, D = () => {
29279
- n.push(re.platformUrl);
29279
+ n.push(ne.platformUrl);
29280
29280
  };
29281
29281
  "backdropFilter" in document.documentElement.style || "WebkitBackdropFilter" in document.documentElement.style || document.body.classList.add("not-support-backdrop");
29282
29282
  const b = () => {
@@ -29293,7 +29293,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
29293
29293
  c(T), b();
29294
29294
  }
29295
29295
  ), Qt(
29296
- () => re.needUpdate,
29296
+ () => ne.needUpdate,
29297
29297
  (T) => {
29298
29298
  if (T) {
29299
29299
  s.value = setInterval(() => {
@@ -29345,7 +29345,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
29345
29345
  }
29346
29346
  ), {
29347
29347
  userStore: H,
29348
- commonStore: re,
29348
+ commonStore: ne,
29349
29349
  activeMenu: i,
29350
29350
  platformOption: u,
29351
29351
  showMenu: o,
@@ -29387,13 +29387,13 @@ function SH(e, t, r, n, a, i) {
29387
29387
  })
29388
29388
  ]),
29389
29389
  _: 1
29390
- }, 8, ["options", "onSelect"])) : ne("", !0),
29390
+ }, 8, ["options", "onSelect"])) : re("", !0),
29391
29391
  z("a", {
29392
29392
  href: "javascript:;",
29393
29393
  class: "logo",
29394
29394
  onClick: t[0] || (t[0] = (..._) => e.indexClick && e.indexClick(..._))
29395
29395
  }),
29396
- e.commonStore.isPad ? ne("", !0) : (V(), J("a", {
29396
+ e.commonStore.isPad ? re("", !0) : (V(), J("a", {
29397
29397
  key: 1,
29398
29398
  href: "javascript:;",
29399
29399
  class: "platform-txt",
@@ -29422,9 +29422,9 @@ function SH(e, t, r, n, a, i) {
29422
29422
  "render-label": e.renderMenuLabel,
29423
29423
  class: "oc-header-menu"
29424
29424
  }, null, 8, ["value", "options", "render-icon", "render-label"])),
29425
- e.download && !e.commonStore.isPad ? (V(), K(d, { key: 2 })) : ne("", !0),
29426
- e.message && !e.commonStore.isPad ? (V(), K(h, { key: 3 })) : ne("", !0),
29427
- e.commonStore.isPad ? ne("", !0) : (V(), K(l, {
29425
+ e.download && !e.commonStore.isPad ? (V(), K(d, { key: 2 })) : re("", !0),
29426
+ e.message && !e.commonStore.isPad ? (V(), K(h, { key: 3 })) : re("", !0),
29427
+ e.commonStore.isPad ? re("", !0) : (V(), K(l, {
29428
29428
  key: 4,
29429
29429
  style: { "margin-left": "15px" },
29430
29430
  onClick: t[3] || (t[3] = (_) => e.changeTheme(!e.commonStore.theme))
@@ -29457,7 +29457,7 @@ function SH(e, t, r, n, a, i) {
29457
29457
  _e(ue(e.commonStore.lang === "zh-CN" ? "EN" : "中文"), 1)
29458
29458
  ]),
29459
29459
  _: 1
29460
- })) : ne("", !0),
29460
+ })) : re("", !0),
29461
29461
  e.userStore.name ? (V(), K(u, {
29462
29462
  key: 6,
29463
29463
  trigger: "click",
@@ -29472,7 +29472,7 @@ function SH(e, t, r, n, a, i) {
29472
29472
  title: e.userStore.name
29473
29473
  }, fi({
29474
29474
  default: k(() => [
29475
- e.commonStore.isPad ? ne("", !0) : (V(), J(bt, { key: 0 }, [
29475
+ e.commonStore.isPad ? re("", !0) : (V(), J(bt, { key: 0 }, [
29476
29476
  _e(ue(e.userStore.name), 1)
29477
29477
  ], 64))
29478
29478
  ]),
@@ -29493,7 +29493,7 @@ function SH(e, t, r, n, a, i) {
29493
29493
  ]), 1032, ["title"])
29494
29494
  ]),
29495
29495
  _: 1
29496
- }, 8, ["options", "onSelect"])) : ne("", !0)
29496
+ }, 8, ["options", "onSelect"])) : re("", !0)
29497
29497
  ]),
29498
29498
  E(y, {
29499
29499
  show: e.showMenu,
@@ -29894,7 +29894,7 @@ const FC = /* @__PURE__ */ fe(TH, [["render", xH]]), AH = Ge({
29894
29894
  t.success({
29895
29895
  content: () => e("Notice.success"),
29896
29896
  duration: 3e3
29897
- }), F.kind !== 1 && r.replace(re.platformUrl);
29897
+ }), F.kind !== 1 && r.replace(ne.platformUrl);
29898
29898
  }).catch(() => {
29899
29899
  t.error({
29900
29900
  content: () => e("Notice.error"),
@@ -30036,7 +30036,7 @@ const FC = /* @__PURE__ */ fe(TH, [["render", xH]]), AH = Ge({
30036
30036
  );
30037
30037
  return hp(), as("token"), y(), _(), {
30038
30038
  tabs: n,
30039
- commonStore: re,
30039
+ commonStore: ne,
30040
30040
  pwdRef: o,
30041
30041
  pwdPhoneRef: s,
30042
30042
  formRef: i,
@@ -30124,7 +30124,7 @@ function qH(e, t, r, n, a, i) {
30124
30124
  _e(ue(e.commonStore.lang === "zh-CN" ? "EN" : "中文"), 1)
30125
30125
  ]),
30126
30126
  _: 1
30127
- })) : ne("", !0)
30127
+ })) : re("", !0)
30128
30128
  ]),
30129
30129
  IH,
30130
30130
  z("div", LH, ue(e.commonStore.platformName()), 1),
@@ -30291,7 +30291,7 @@ function qH(e, t, r, n, a, i) {
30291
30291
  key: 0,
30292
30292
  href: e.info.href,
30293
30293
  class: "oc-login-other"
30294
- }, ue(e.info.text), 9, VH)) : ne("", !0),
30294
+ }, ue(e.info.text), 9, VH)) : re("", !0),
30295
30295
  E(y, {
30296
30296
  "x-gap": "15",
30297
30297
  cols: 2
@@ -30341,7 +30341,7 @@ function qH(e, t, r, n, a, i) {
30341
30341
  _e(" 2020-2024 " + ue(e.$t("Common.title")) + " ", 1),
30342
30342
  e.version ? (V(), J(bt, { key: 0 }, [
30343
30343
  _e("v" + ue(e.version) + " ", 1)
30344
- ], 64)) : ne("", !0),
30344
+ ], 64)) : re("", !0),
30345
30345
  YH
30346
30346
  ])
30347
30347
  ])
@@ -30530,7 +30530,7 @@ const tU = {
30530
30530
  return {
30531
30531
  zhCN: m2,
30532
30532
  dateZhCN: y2,
30533
- commonStore: re,
30533
+ commonStore: ne,
30534
30534
  lightTheme: tU,
30535
30535
  darkTheme: rU
30536
30536
  };
@@ -31165,7 +31165,10 @@ function vY(e, t, r) {
31165
31165
  }, c.value));
31166
31166
  }
31167
31167
  }
31168
- }, { run: h } = UC(d, 300), v = (w) => {
31168
+ }, { run: h } = UC(
31169
+ d,
31170
+ r != null && r.pollingInterval ? r.pollingInterval - 100 > 0 ? r.pollingInterval - 100 : 0 : 300
31171
+ ), v = (w) => {
31169
31172
  let C = w;
31170
31173
  r != null && r.formatResult && (C = r.formatResult(w)), i.value = C;
31171
31174
  }, g = (w, C) => {
@@ -31540,11 +31543,11 @@ function bW(e, t, r, n, a, i) {
31540
31543
  ])
31541
31544
  ]),
31542
31545
  _: 3
31543
- }, 8, ["span"])) : ne("", !0),
31546
+ }, 8, ["span"])) : re("", !0),
31544
31547
  e.offset > -1 ? (V(), K(o, {
31545
31548
  key: 1,
31546
31549
  offset: e.offset
31547
- }, null, 8, ["offset"])) : ne("", !0),
31550
+ }, null, 8, ["offset"])) : re("", !0),
31548
31551
  (V(!0), J(bt, null, zo(e.dataList, (b, T, A) => (V(), K(o, {
31549
31552
  key: `${T}_${A}`,
31550
31553
  span: b.show ? e.small ? 1 : b.span ? b.span : `${e.cols} s:2 l:1` : 0
@@ -31574,7 +31577,7 @@ function bW(e, t, r, n, a, i) {
31574
31577
  ) : e.searchData[T] = M.trim();
31575
31578
  },
31576
31579
  clearable: b.clearable ?? !0
31577
- }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "on-update:value", "clearable"])) : ne("", !0),
31580
+ }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "on-update:value", "clearable"])) : re("", !0),
31578
31581
  b.type === "number" ? (V(), K(u, {
31579
31582
  key: 1,
31580
31583
  value: e.searchData[T],
@@ -31603,7 +31606,7 @@ function bW(e, t, r, n, a, i) {
31603
31606
  ]),
31604
31607
  key: "0"
31605
31608
  } : void 0
31606
- ]), 1032, ["value", "onUpdate:value", "disabled", "placeholder", "min", "max", "step", "show-button", "validator", "on-update:value", "clearable"])) : ne("", !0),
31609
+ ]), 1032, ["value", "onUpdate:value", "disabled", "placeholder", "min", "max", "step", "show-button", "validator", "on-update:value", "clearable"])) : re("", !0),
31607
31610
  b.type === "select" ? (V(), K(f, {
31608
31611
  key: 2,
31609
31612
  value: e.searchData[T],
@@ -31630,7 +31633,7 @@ function bW(e, t, r, n, a, i) {
31630
31633
  "max-tag-count": "responsive",
31631
31634
  filterable: "",
31632
31635
  style: { flex: "1", width: "0" }
31633
- }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "multiple", "fallback-option", "on-update:value", "clearable"])) : ne("", !0),
31636
+ }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "multiple", "fallback-option", "on-update:value", "clearable"])) : re("", !0),
31634
31637
  b.type === "dropdown" ? (V(), K(d, {
31635
31638
  key: 3,
31636
31639
  width: "trigger",
@@ -31677,7 +31680,7 @@ function bW(e, t, r, n, a, i) {
31677
31680
  ];
31678
31681
  }),
31679
31682
  _: 2
31680
- }, 1032, ["show", "on-clickoutside"])) : ne("", !0),
31683
+ }, 1032, ["show", "on-clickoutside"])) : re("", !0),
31681
31684
  b.type === "cascader" ? (V(), K(h, {
31682
31685
  key: 4,
31683
31686
  value: e.searchData[T],
@@ -31697,7 +31700,7 @@ function bW(e, t, r, n, a, i) {
31697
31700
  clearable: b.clearable ?? !0,
31698
31701
  "max-tag-count": "responsive",
31699
31702
  filterable: ""
31700
- }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "check-strategy", "multiple", "on-update:value", "clearable"])) : ne("", !0),
31703
+ }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "check-strategy", "multiple", "on-update:value", "clearable"])) : re("", !0),
31701
31704
  b.type === "treeSelect" ? (V(), K(v, {
31702
31705
  key: 5,
31703
31706
  value: e.searchData[T],
@@ -31717,7 +31720,7 @@ function bW(e, t, r, n, a, i) {
31717
31720
  clearable: b.clearable ?? !0,
31718
31721
  "max-tag-count": "responsive",
31719
31722
  filterable: ""
31720
- }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "check-strategy", "multiple", "on-update:value", "clearable"])) : ne("", !0),
31723
+ }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "check-strategy", "multiple", "on-update:value", "clearable"])) : re("", !0),
31721
31724
  b.type === "timePicker" ? (V(), K(g, {
31722
31725
  key: 6,
31723
31726
  value: e.searchData[T],
@@ -31732,7 +31735,7 @@ function bW(e, t, r, n, a, i) {
31732
31735
  },
31733
31736
  format: b == null ? void 0 : b.format,
31734
31737
  clearable: b.clearable ?? !0
31735
- }, null, 8, ["value", "onUpdate:value", "disabled", "onOnUpdate:value", "format", "clearable"])) : ne("", !0),
31738
+ }, null, 8, ["value", "onUpdate:value", "disabled", "onOnUpdate:value", "format", "clearable"])) : re("", !0),
31736
31739
  b.type === "datePicker" ? (V(), K(p, {
31737
31740
  key: 7,
31738
31741
  value: e.searchData[T],
@@ -31753,11 +31756,11 @@ function bW(e, t, r, n, a, i) {
31753
31756
  },
31754
31757
  clearable: b.clearable ?? !0,
31755
31758
  "close-on-select": ""
31756
- }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "type", "format", "is-date-disabled", "shortcuts", "update-value-on-close", "on-update:value", "clearable"])) : ne("", !0)
31759
+ }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "type", "format", "is-date-disabled", "shortcuts", "update-value-on-close", "on-update:value", "clearable"])) : re("", !0)
31757
31760
  ];
31758
31761
  }),
31759
31762
  _: 2
31760
- }, 1024)) : ne("", !0),
31763
+ }, 1024)) : re("", !0),
31761
31764
  b.type === "group" ? (V(), K(m, { key: 1 }, {
31762
31765
  default: k(() => {
31763
31766
  var x, M, I, N, L, O, F, B, G, q, $, Z, ie, ae, xe, we, Te, me, Ae, be, te, se, pt, je, rr, Bt, en, hs, Lr, ds, tn, Fi, ka;
@@ -31805,7 +31808,7 @@ function bW(e, t, r, n, a, i) {
31805
31808
  },
31806
31809
  clearable: b.inputTemp.clearable ?? !0,
31807
31810
  style: { flex: "1" }
31808
- }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "on-update:value", "clearable"])) : ne("", !0),
31811
+ }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "on-update:value", "clearable"])) : re("", !0),
31809
31812
  ((F = b.inputTemp) == null ? void 0 : F.type) === "number" ? (V(), K(u, {
31810
31813
  key: 1,
31811
31814
  value: e.searchData[b.input.key],
@@ -31839,7 +31842,7 @@ function bW(e, t, r, n, a, i) {
31839
31842
  }),
31840
31843
  key: "0"
31841
31844
  } : void 0
31842
- ]), 1032, ["value", "onUpdate:value", "disabled", "placeholder", "min", "max", "step", "show-button", "validator", "on-update:value", "clearable"])) : ne("", !0),
31845
+ ]), 1032, ["value", "onUpdate:value", "disabled", "placeholder", "min", "max", "step", "show-button", "validator", "on-update:value", "clearable"])) : re("", !0),
31843
31846
  ((Ae = b.inputTemp) == null ? void 0 : Ae.type) === "datePicker" ? (V(), K(p, {
31844
31847
  key: 2,
31845
31848
  value: e.searchData[b.input.key],
@@ -31862,7 +31865,7 @@ function bW(e, t, r, n, a, i) {
31862
31865
  clearable: b.inputTemp.clearable ?? !0,
31863
31866
  "close-on-select": "",
31864
31867
  style: { flex: "1" }
31865
- }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "type", "format", "is-date-disabled", "shortcuts", "update-value-on-close", "on-update:value", "clearable"])) : ne("", !0),
31868
+ }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "type", "format", "is-date-disabled", "shortcuts", "update-value-on-close", "on-update:value", "clearable"])) : re("", !0),
31866
31869
  ((hs = b.inputTemp) == null ? void 0 : hs.type) === "select" ? (V(), K(f, {
31867
31870
  key: 3,
31868
31871
  value: e.searchData[b.input.key],
@@ -31890,11 +31893,11 @@ function bW(e, t, r, n, a, i) {
31890
31893
  "max-tag-count": "responsive",
31891
31894
  filterable: "",
31892
31895
  style: { flex: "1", width: "0" }
31893
- }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "multiple", "fallback-option", "on-update:value", "clearable"])) : ne("", !0)
31896
+ }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "multiple", "fallback-option", "on-update:value", "clearable"])) : re("", !0)
31894
31897
  ];
31895
31898
  }),
31896
31899
  _: 2
31897
- }, 1024)) : ne("", !0)
31900
+ }, 1024)) : re("", !0)
31898
31901
  ]),
31899
31902
  _: 2
31900
31903
  }, 1032, ["span"]))), 128))
@@ -31926,7 +31929,7 @@ function bW(e, t, r, n, a, i) {
31926
31929
  ]),
31927
31930
  _: 1
31928
31931
  })
31929
- ])) : ne("", !0)
31932
+ ])) : re("", !0)
31930
31933
  ]);
31931
31934
  }
31932
31935
  const wW = /* @__PURE__ */ fe(gW, [["render", bW]]), SW = Ge({
@@ -32060,7 +32063,7 @@ const MW = /* @__PURE__ */ fe(SW, [["render", AW]]), PW = Ge({
32060
32063
  drawer: l,
32061
32064
  isSlotHeader: u,
32062
32065
  isSlotAction: f,
32063
- commonStore: re,
32066
+ commonStore: ne,
32064
32067
  itemData: s,
32065
32068
  doSearch: c,
32066
32069
  clearAll: d
@@ -32083,7 +32086,7 @@ function IW(e, t, r, n, a, i) {
32083
32086
  class: wl(["oc-search-bar-title", e.commonStore.isMobile ? "tiny" : ""])
32084
32087
  }, [
32085
32088
  sr(e.$slots, "header")
32086
- ], 2)) : ne("", !0),
32089
+ ], 2)) : re("", !0),
32087
32090
  e.small || e.commonStore.isMobile ? (V(), J("div", kW, [
32088
32091
  E(h, {
32089
32092
  value: e.drawer,
@@ -32124,7 +32127,7 @@ function IW(e, t, r, n, a, i) {
32124
32127
  })
32125
32128
  ]),
32126
32129
  _: 1
32127
- }, 8, ["loading", "onClick"])) : ne("", !0),
32130
+ }, 8, ["loading", "onClick"])) : re("", !0),
32128
32131
  e.data && Object.keys(e.data).length > 0 ? (V(), K(u, {
32129
32132
  key: 1,
32130
32133
  loading: e.loading,
@@ -32142,11 +32145,11 @@ function IW(e, t, r, n, a, i) {
32142
32145
  })
32143
32146
  ]),
32144
32147
  _: 1
32145
- }, 8, ["loading"])) : ne("", !0)
32148
+ }, 8, ["loading"])) : re("", !0)
32146
32149
  ]),
32147
32150
  _: 1
32148
32151
  }),
32149
- e.isSlotAction ? (V(), J("br", NW)) : ne("", !0),
32152
+ e.isSlotAction ? (V(), J("br", NW)) : re("", !0),
32150
32153
  e.isSlotAction ? (V(), K(d, {
32151
32154
  key: 1,
32152
32155
  size: 15,
@@ -32157,7 +32160,7 @@ function IW(e, t, r, n, a, i) {
32157
32160
  sr(e.$slots, "action")
32158
32161
  ]),
32159
32162
  _: 3
32160
- })) : ne("", !0)
32163
+ })) : re("", !0)
32161
32164
  ]),
32162
32165
  default: k(() => [
32163
32166
  E(o, {
@@ -32227,7 +32230,7 @@ function IW(e, t, r, n, a, i) {
32227
32230
  _e(" " + ue(e.$t("Common.search")), 1)
32228
32231
  ]),
32229
32232
  _: 1
32230
- })) : ne("", !0),
32233
+ })) : re("", !0),
32231
32234
  e.resetButton ? (V(), K(g, {
32232
32235
  key: 1,
32233
32236
  trigger: "hover"
@@ -32252,7 +32255,7 @@ function IW(e, t, r, n, a, i) {
32252
32255
  _e(" " + ue(e.$t("Common.reset")), 1)
32253
32256
  ]),
32254
32257
  _: 1
32255
- })) : ne("", !0)
32258
+ })) : re("", !0)
32256
32259
  ]),
32257
32260
  _: 1
32258
32261
  })
@@ -32680,7 +32683,7 @@ function FW(e, t, r, n, a, i) {
32680
32683
  _e(" " + ue(e.$t("Common.add")), 1)
32681
32684
  ]),
32682
32685
  _: 1
32683
- })) : ne("", !0),
32686
+ })) : re("", !0),
32684
32687
  e.importer ? (V(), K(u, {
32685
32688
  key: 1,
32686
32689
  trigger: "hover"
@@ -32704,7 +32707,7 @@ function FW(e, t, r, n, a, i) {
32704
32707
  _e(" " + ue(e.$t("Common.importer.title")), 1)
32705
32708
  ]),
32706
32709
  _: 1
32707
- })) : ne("", !0),
32710
+ })) : re("", !0),
32708
32711
  e.exporter ? (V(), K(u, {
32709
32712
  key: 2,
32710
32713
  trigger: "hover"
@@ -32738,7 +32741,7 @@ function FW(e, t, r, n, a, i) {
32738
32741
  _e(" " + ue(e.$t("Common.export")), 1)
32739
32742
  ]),
32740
32743
  _: 1
32741
- })) : ne("", !0),
32744
+ })) : re("", !0),
32742
32745
  e.filterButton ? (V(), K(u, {
32743
32746
  key: 3,
32744
32747
  trigger: "hover"
@@ -32775,7 +32778,7 @@ function FW(e, t, r, n, a, i) {
32775
32778
  onEnd: e.handleColumnChange
32776
32779
  }), {
32777
32780
  item: k(({ element: b }) => [
32778
- b.hide ? ne("", !0) : (V(), J("div", {
32781
+ b.hide ? re("", !0) : (V(), J("div", {
32779
32782
  key: b.key,
32780
32783
  class: "oc-table-sort"
32781
32784
  }, [
@@ -32817,7 +32820,7 @@ function FW(e, t, r, n, a, i) {
32817
32820
  }, 1024)
32818
32821
  ]),
32819
32822
  _: 2
32820
- }, 1032, ["onClick"])) : ne("", !0),
32823
+ }, 1032, ["onClick"])) : re("", !0),
32821
32824
  E(l, {
32822
32825
  type: "tertiary",
32823
32826
  onClick: (T) => e.showChange(b),
@@ -32845,7 +32848,7 @@ function FW(e, t, r, n, a, i) {
32845
32848
  _e(" " + ue(e.$t("Common.filter")), 1)
32846
32849
  ]),
32847
32850
  _: 1
32848
- })) : ne("", !0),
32851
+ })) : re("", !0),
32849
32852
  sr(e.$slots, "action")
32850
32853
  ]),
32851
32854
  _: 2
@@ -32880,7 +32883,7 @@ function FW(e, t, r, n, a, i) {
32880
32883
  show: e.showImporter,
32881
32884
  "onUpdate:show": t[2] || (t[2] = (b) => e.showImporter = b),
32882
32885
  data: e.importer
32883
- }, null, 8, ["show", "data"])) : ne("", !0)
32886
+ }, null, 8, ["show", "data"])) : re("", !0)
32884
32887
  ], 64);
32885
32888
  }
32886
32889
  const zW = /* @__PURE__ */ fe(BW, [["render", FW]]), d_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -32932,7 +32935,7 @@ const zW = /* @__PURE__ */ fe(BW, [["render", FW]]), d_ = /* @__PURE__ */ Object
32932
32935
  OcSearchBar: WC,
32933
32936
  OcSkeleton: $W,
32934
32937
  OcTable: zW,
32935
- commonStore: re,
32938
+ commonStore: ne,
32936
32939
  fnClearUser: hp,
32937
32940
  fnDownload: RC,
32938
32941
  fnGetUser: cp,
@@ -32975,7 +32978,7 @@ function gY() {
32975
32978
  dp = 3840, vp = 2160, window.removeEventListener("resize", e);
32976
32979
  };
32977
32980
  }
32978
- const mY = (e) => !!(H.kind === -1 || H.kind === 99 || H.iot_menu_authorization.includes(e)), yY = (e) => H.platform_tdm ? H.kind === -1 || H.kind === 99 || e === "home" ? !0 : H.tdm_menu_authorization.includes(e) : !1, _Y = (e) => H.platform_qms ? H.kind === -1 || H.kind === 99 || e === "home" ? !0 : H.qms_menu_authorization.includes(e) : !1, bY = (e) => H.platform_twin ? (H.kind === -1 || H.kind === 99 || e === "home", !0) : !1, wY = (e) => !!(H.kind === -1 || H.kind === 99 || H.maintain_menu_authorization.includes(e)), SY = (e) => !!(H.kind === -1 || H.kind === 99 || H.order_menu_authorization.includes(e)), UW = "2.1.12";
32981
+ const mY = (e) => !!(H.kind === -1 || H.kind === 99 || H.iot_menu_authorization.includes(e)), yY = (e) => H.platform_tdm ? H.kind === -1 || H.kind === 99 || e === "home" ? !0 : H.tdm_menu_authorization.includes(e) : !1, _Y = (e) => H.platform_qms ? H.kind === -1 || H.kind === 99 || e === "home" ? !0 : H.qms_menu_authorization.includes(e) : !1, bY = (e) => H.platform_twin ? (H.kind === -1 || H.kind === 99 || e === "home", !0) : !1, wY = (e) => !!(H.kind === -1 || H.kind === 99 || H.maintain_menu_authorization.includes(e)), SY = (e) => !!(H.kind === -1 || H.kind === 99 || H.order_menu_authorization.includes(e)), UW = "2.1.14";
32979
32982
  let Vo = "";
32980
32983
  const Ee = navigator.userAgent.toLocaleUpperCase(), WW = () => {
32981
32984
  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/;
@@ -33097,7 +33100,7 @@ const vu = (e, t, r) => {
33097
33100
  title: document.title,
33098
33101
  browser: YW(),
33099
33102
  platform: WW(),
33100
- system: re.platformName,
33103
+ system: ne.platformName,
33101
33104
  message: e === 1 || e === 2 ? r.message : r,
33102
33105
  // routerHistory: [], // historyStore.history
33103
33106
  user: {
@@ -33228,7 +33231,7 @@ export {
33228
33231
  $W as OcSkeleton,
33229
33232
  zW as OcTable,
33230
33233
  $t as POST,
33231
- re as commonStore,
33234
+ ne as commonStore,
33232
33235
  JW as create,
33233
33236
  rU as darkTheme,
33234
33237
  QW as default,