@partex/one-core 2.1.13 → 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
  };
@@ -31543,11 +31543,11 @@ function bW(e, t, r, n, a, i) {
31543
31543
  ])
31544
31544
  ]),
31545
31545
  _: 3
31546
- }, 8, ["span"])) : ne("", !0),
31546
+ }, 8, ["span"])) : re("", !0),
31547
31547
  e.offset > -1 ? (V(), K(o, {
31548
31548
  key: 1,
31549
31549
  offset: e.offset
31550
- }, null, 8, ["offset"])) : ne("", !0),
31550
+ }, null, 8, ["offset"])) : re("", !0),
31551
31551
  (V(!0), J(bt, null, zo(e.dataList, (b, T, A) => (V(), K(o, {
31552
31552
  key: `${T}_${A}`,
31553
31553
  span: b.show ? e.small ? 1 : b.span ? b.span : `${e.cols} s:2 l:1` : 0
@@ -31577,7 +31577,7 @@ function bW(e, t, r, n, a, i) {
31577
31577
  ) : e.searchData[T] = M.trim();
31578
31578
  },
31579
31579
  clearable: b.clearable ?? !0
31580
- }, 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),
31581
31581
  b.type === "number" ? (V(), K(u, {
31582
31582
  key: 1,
31583
31583
  value: e.searchData[T],
@@ -31606,7 +31606,7 @@ function bW(e, t, r, n, a, i) {
31606
31606
  ]),
31607
31607
  key: "0"
31608
31608
  } : void 0
31609
- ]), 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),
31610
31610
  b.type === "select" ? (V(), K(f, {
31611
31611
  key: 2,
31612
31612
  value: e.searchData[T],
@@ -31633,7 +31633,7 @@ function bW(e, t, r, n, a, i) {
31633
31633
  "max-tag-count": "responsive",
31634
31634
  filterable: "",
31635
31635
  style: { flex: "1", width: "0" }
31636
- }, 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),
31637
31637
  b.type === "dropdown" ? (V(), K(d, {
31638
31638
  key: 3,
31639
31639
  width: "trigger",
@@ -31680,7 +31680,7 @@ function bW(e, t, r, n, a, i) {
31680
31680
  ];
31681
31681
  }),
31682
31682
  _: 2
31683
- }, 1032, ["show", "on-clickoutside"])) : ne("", !0),
31683
+ }, 1032, ["show", "on-clickoutside"])) : re("", !0),
31684
31684
  b.type === "cascader" ? (V(), K(h, {
31685
31685
  key: 4,
31686
31686
  value: e.searchData[T],
@@ -31700,7 +31700,7 @@ function bW(e, t, r, n, a, i) {
31700
31700
  clearable: b.clearable ?? !0,
31701
31701
  "max-tag-count": "responsive",
31702
31702
  filterable: ""
31703
- }, 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),
31704
31704
  b.type === "treeSelect" ? (V(), K(v, {
31705
31705
  key: 5,
31706
31706
  value: e.searchData[T],
@@ -31720,7 +31720,7 @@ function bW(e, t, r, n, a, i) {
31720
31720
  clearable: b.clearable ?? !0,
31721
31721
  "max-tag-count": "responsive",
31722
31722
  filterable: ""
31723
- }, 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),
31724
31724
  b.type === "timePicker" ? (V(), K(g, {
31725
31725
  key: 6,
31726
31726
  value: e.searchData[T],
@@ -31735,7 +31735,7 @@ function bW(e, t, r, n, a, i) {
31735
31735
  },
31736
31736
  format: b == null ? void 0 : b.format,
31737
31737
  clearable: b.clearable ?? !0
31738
- }, 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),
31739
31739
  b.type === "datePicker" ? (V(), K(p, {
31740
31740
  key: 7,
31741
31741
  value: e.searchData[T],
@@ -31756,11 +31756,11 @@ function bW(e, t, r, n, a, i) {
31756
31756
  },
31757
31757
  clearable: b.clearable ?? !0,
31758
31758
  "close-on-select": ""
31759
- }, 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)
31760
31760
  ];
31761
31761
  }),
31762
31762
  _: 2
31763
- }, 1024)) : ne("", !0),
31763
+ }, 1024)) : re("", !0),
31764
31764
  b.type === "group" ? (V(), K(m, { key: 1 }, {
31765
31765
  default: k(() => {
31766
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;
@@ -31808,7 +31808,7 @@ function bW(e, t, r, n, a, i) {
31808
31808
  },
31809
31809
  clearable: b.inputTemp.clearable ?? !0,
31810
31810
  style: { flex: "1" }
31811
- }, 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),
31812
31812
  ((F = b.inputTemp) == null ? void 0 : F.type) === "number" ? (V(), K(u, {
31813
31813
  key: 1,
31814
31814
  value: e.searchData[b.input.key],
@@ -31842,7 +31842,7 @@ function bW(e, t, r, n, a, i) {
31842
31842
  }),
31843
31843
  key: "0"
31844
31844
  } : void 0
31845
- ]), 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),
31846
31846
  ((Ae = b.inputTemp) == null ? void 0 : Ae.type) === "datePicker" ? (V(), K(p, {
31847
31847
  key: 2,
31848
31848
  value: e.searchData[b.input.key],
@@ -31865,7 +31865,7 @@ function bW(e, t, r, n, a, i) {
31865
31865
  clearable: b.inputTemp.clearable ?? !0,
31866
31866
  "close-on-select": "",
31867
31867
  style: { flex: "1" }
31868
- }, 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),
31869
31869
  ((hs = b.inputTemp) == null ? void 0 : hs.type) === "select" ? (V(), K(f, {
31870
31870
  key: 3,
31871
31871
  value: e.searchData[b.input.key],
@@ -31893,11 +31893,11 @@ function bW(e, t, r, n, a, i) {
31893
31893
  "max-tag-count": "responsive",
31894
31894
  filterable: "",
31895
31895
  style: { flex: "1", width: "0" }
31896
- }, 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)
31897
31897
  ];
31898
31898
  }),
31899
31899
  _: 2
31900
- }, 1024)) : ne("", !0)
31900
+ }, 1024)) : re("", !0)
31901
31901
  ]),
31902
31902
  _: 2
31903
31903
  }, 1032, ["span"]))), 128))
@@ -31929,7 +31929,7 @@ function bW(e, t, r, n, a, i) {
31929
31929
  ]),
31930
31930
  _: 1
31931
31931
  })
31932
- ])) : ne("", !0)
31932
+ ])) : re("", !0)
31933
31933
  ]);
31934
31934
  }
31935
31935
  const wW = /* @__PURE__ */ fe(gW, [["render", bW]]), SW = Ge({
@@ -32063,7 +32063,7 @@ const MW = /* @__PURE__ */ fe(SW, [["render", AW]]), PW = Ge({
32063
32063
  drawer: l,
32064
32064
  isSlotHeader: u,
32065
32065
  isSlotAction: f,
32066
- commonStore: re,
32066
+ commonStore: ne,
32067
32067
  itemData: s,
32068
32068
  doSearch: c,
32069
32069
  clearAll: d
@@ -32086,7 +32086,7 @@ function IW(e, t, r, n, a, i) {
32086
32086
  class: wl(["oc-search-bar-title", e.commonStore.isMobile ? "tiny" : ""])
32087
32087
  }, [
32088
32088
  sr(e.$slots, "header")
32089
- ], 2)) : ne("", !0),
32089
+ ], 2)) : re("", !0),
32090
32090
  e.small || e.commonStore.isMobile ? (V(), J("div", kW, [
32091
32091
  E(h, {
32092
32092
  value: e.drawer,
@@ -32127,7 +32127,7 @@ function IW(e, t, r, n, a, i) {
32127
32127
  })
32128
32128
  ]),
32129
32129
  _: 1
32130
- }, 8, ["loading", "onClick"])) : ne("", !0),
32130
+ }, 8, ["loading", "onClick"])) : re("", !0),
32131
32131
  e.data && Object.keys(e.data).length > 0 ? (V(), K(u, {
32132
32132
  key: 1,
32133
32133
  loading: e.loading,
@@ -32145,11 +32145,11 @@ function IW(e, t, r, n, a, i) {
32145
32145
  })
32146
32146
  ]),
32147
32147
  _: 1
32148
- }, 8, ["loading"])) : ne("", !0)
32148
+ }, 8, ["loading"])) : re("", !0)
32149
32149
  ]),
32150
32150
  _: 1
32151
32151
  }),
32152
- e.isSlotAction ? (V(), J("br", NW)) : ne("", !0),
32152
+ e.isSlotAction ? (V(), J("br", NW)) : re("", !0),
32153
32153
  e.isSlotAction ? (V(), K(d, {
32154
32154
  key: 1,
32155
32155
  size: 15,
@@ -32160,7 +32160,7 @@ function IW(e, t, r, n, a, i) {
32160
32160
  sr(e.$slots, "action")
32161
32161
  ]),
32162
32162
  _: 3
32163
- })) : ne("", !0)
32163
+ })) : re("", !0)
32164
32164
  ]),
32165
32165
  default: k(() => [
32166
32166
  E(o, {
@@ -32230,7 +32230,7 @@ function IW(e, t, r, n, a, i) {
32230
32230
  _e(" " + ue(e.$t("Common.search")), 1)
32231
32231
  ]),
32232
32232
  _: 1
32233
- })) : ne("", !0),
32233
+ })) : re("", !0),
32234
32234
  e.resetButton ? (V(), K(g, {
32235
32235
  key: 1,
32236
32236
  trigger: "hover"
@@ -32255,7 +32255,7 @@ function IW(e, t, r, n, a, i) {
32255
32255
  _e(" " + ue(e.$t("Common.reset")), 1)
32256
32256
  ]),
32257
32257
  _: 1
32258
- })) : ne("", !0)
32258
+ })) : re("", !0)
32259
32259
  ]),
32260
32260
  _: 1
32261
32261
  })
@@ -32683,7 +32683,7 @@ function FW(e, t, r, n, a, i) {
32683
32683
  _e(" " + ue(e.$t("Common.add")), 1)
32684
32684
  ]),
32685
32685
  _: 1
32686
- })) : ne("", !0),
32686
+ })) : re("", !0),
32687
32687
  e.importer ? (V(), K(u, {
32688
32688
  key: 1,
32689
32689
  trigger: "hover"
@@ -32707,7 +32707,7 @@ function FW(e, t, r, n, a, i) {
32707
32707
  _e(" " + ue(e.$t("Common.importer.title")), 1)
32708
32708
  ]),
32709
32709
  _: 1
32710
- })) : ne("", !0),
32710
+ })) : re("", !0),
32711
32711
  e.exporter ? (V(), K(u, {
32712
32712
  key: 2,
32713
32713
  trigger: "hover"
@@ -32741,7 +32741,7 @@ function FW(e, t, r, n, a, i) {
32741
32741
  _e(" " + ue(e.$t("Common.export")), 1)
32742
32742
  ]),
32743
32743
  _: 1
32744
- })) : ne("", !0),
32744
+ })) : re("", !0),
32745
32745
  e.filterButton ? (V(), K(u, {
32746
32746
  key: 3,
32747
32747
  trigger: "hover"
@@ -32778,7 +32778,7 @@ function FW(e, t, r, n, a, i) {
32778
32778
  onEnd: e.handleColumnChange
32779
32779
  }), {
32780
32780
  item: k(({ element: b }) => [
32781
- b.hide ? ne("", !0) : (V(), J("div", {
32781
+ b.hide ? re("", !0) : (V(), J("div", {
32782
32782
  key: b.key,
32783
32783
  class: "oc-table-sort"
32784
32784
  }, [
@@ -32820,7 +32820,7 @@ function FW(e, t, r, n, a, i) {
32820
32820
  }, 1024)
32821
32821
  ]),
32822
32822
  _: 2
32823
- }, 1032, ["onClick"])) : ne("", !0),
32823
+ }, 1032, ["onClick"])) : re("", !0),
32824
32824
  E(l, {
32825
32825
  type: "tertiary",
32826
32826
  onClick: (T) => e.showChange(b),
@@ -32848,7 +32848,7 @@ function FW(e, t, r, n, a, i) {
32848
32848
  _e(" " + ue(e.$t("Common.filter")), 1)
32849
32849
  ]),
32850
32850
  _: 1
32851
- })) : ne("", !0),
32851
+ })) : re("", !0),
32852
32852
  sr(e.$slots, "action")
32853
32853
  ]),
32854
32854
  _: 2
@@ -32883,7 +32883,7 @@ function FW(e, t, r, n, a, i) {
32883
32883
  show: e.showImporter,
32884
32884
  "onUpdate:show": t[2] || (t[2] = (b) => e.showImporter = b),
32885
32885
  data: e.importer
32886
- }, null, 8, ["show", "data"])) : ne("", !0)
32886
+ }, null, 8, ["show", "data"])) : re("", !0)
32887
32887
  ], 64);
32888
32888
  }
32889
32889
  const zW = /* @__PURE__ */ fe(BW, [["render", FW]]), d_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -32935,7 +32935,7 @@ const zW = /* @__PURE__ */ fe(BW, [["render", FW]]), d_ = /* @__PURE__ */ Object
32935
32935
  OcSearchBar: WC,
32936
32936
  OcSkeleton: $W,
32937
32937
  OcTable: zW,
32938
- commonStore: re,
32938
+ commonStore: ne,
32939
32939
  fnClearUser: hp,
32940
32940
  fnDownload: RC,
32941
32941
  fnGetUser: cp,
@@ -32978,7 +32978,7 @@ function gY() {
32978
32978
  dp = 3840, vp = 2160, window.removeEventListener("resize", e);
32979
32979
  };
32980
32980
  }
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.13";
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";
32982
32982
  let Vo = "";
32983
32983
  const Ee = navigator.userAgent.toLocaleUpperCase(), WW = () => {
32984
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/;
@@ -33100,7 +33100,7 @@ const vu = (e, t, r) => {
33100
33100
  title: document.title,
33101
33101
  browser: YW(),
33102
33102
  platform: WW(),
33103
- system: re.platformName,
33103
+ system: ne.platformName,
33104
33104
  message: e === 1 || e === 2 ? r.message : r,
33105
33105
  // routerHistory: [], // historyStore.history
33106
33106
  user: {
@@ -33231,7 +33231,7 @@ export {
33231
33231
  $W as OcSkeleton,
33232
33232
  zW as OcTable,
33233
33233
  $t as POST,
33234
- re as commonStore,
33234
+ ne as commonStore,
33235
33235
  JW as create,
33236
33236
  rU as darkTheme,
33237
33237
  QW as default,