anytrek-front-public-component 1.3.52 → 1.3.54

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.
@@ -33,8 +33,8 @@ function Di(e, t) {
33
33
  delete e[t];
34
34
  }
35
35
  var Nl;
36
- const ze = typeof window < "u", o1 = (e) => typeof e == "string", Wo = () => {
37
- }, r1 = ze && ((Nl = window == null ? void 0 : window.navigator) == null ? void 0 : Nl.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
36
+ const He = typeof window < "u", o1 = (e) => typeof e == "string", Wo = () => {
37
+ }, r1 = He && ((Nl = window == null ? void 0 : window.navigator) == null ? void 0 : Nl.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
38
38
  function Qo(e) {
39
39
  return typeof e == "function" ? e() : g(e);
40
40
  }
@@ -113,7 +113,7 @@ function Ji(e, t, n = {}) {
113
113
  r.value = !1, a = null, e(...u);
114
114
  }, Qo(t));
115
115
  }
116
- return o && (r.value = !0, ze && s()), _a(l), {
116
+ return o && (r.value = !0, He && s()), _a(l), {
117
117
  isPending: Es(r),
118
118
  start: s,
119
119
  stop: l
@@ -124,7 +124,7 @@ function qn(e) {
124
124
  const n = Qo(e);
125
125
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
126
126
  }
127
- const Ds = ze ? window : void 0;
127
+ const Ds = He ? window : void 0;
128
128
  function ht(...e) {
129
129
  let t, n, o, r;
130
130
  if (o1(e[0]) || Array.isArray(e[0]) ? ([n, o, r] = e, t = Ds) : [t, n, o, r] = e, !t)
@@ -247,8 +247,8 @@ const T1 = {
247
247
  w1({
248
248
  linear: s1
249
249
  }, T1);
250
- const k1 = () => ze && /firefox/i.test(window.navigator.userAgent), C1 = (e, t) => {
251
- if (!ze || !e || !t)
250
+ const k1 = () => He && /firefox/i.test(window.navigator.userAgent), C1 = (e, t) => {
251
+ if (!He || !e || !t)
252
252
  return !1;
253
253
  const n = e.getBoundingClientRect();
254
254
  let o;
@@ -1344,7 +1344,7 @@ const Ah = "utils/dom/style", Ed = (e = "") => e.split(" ").filter((t) => !!t.tr
1344
1344
  !e || !t.trim() || e.classList.remove(...Ed(t));
1345
1345
  }, so = (e, t) => {
1346
1346
  var n;
1347
- if (!ze || !e || !t)
1347
+ if (!He || !e || !t)
1348
1348
  return "";
1349
1349
  let o = S1(t);
1350
1350
  o === "float" && (o = "cssFloat");
@@ -1368,7 +1368,7 @@ function Qt(e, t = "px") {
1368
1368
  st(Ah, "binding value must be a string or number");
1369
1369
  }
1370
1370
  const Mh = (e, t) => {
1371
- if (!ze)
1371
+ if (!He)
1372
1372
  return !1;
1373
1373
  const n = {
1374
1374
  undefined: "overflow",
@@ -1377,7 +1377,7 @@ const Mh = (e, t) => {
1377
1377
  }[String(t)], o = so(e, n);
1378
1378
  return ["scroll", "auto", "overlay"].some((r) => o.includes(r));
1379
1379
  }, Sh = (e, t) => {
1380
- if (!ze)
1380
+ if (!He)
1381
1381
  return;
1382
1382
  let n = e;
1383
1383
  for (; n; ) {
@@ -1392,7 +1392,7 @@ const Mh = (e, t) => {
1392
1392
  let ua;
1393
1393
  const Ih = (e) => {
1394
1394
  var t;
1395
- if (!ze)
1395
+ if (!He)
1396
1396
  return 0;
1397
1397
  if (ua !== void 0)
1398
1398
  return ua;
@@ -2041,7 +2041,7 @@ const pg = (e) => (t, n) => hg(t, n, g(e)), hg = (e, t, n) => md(n, e, e).replac
2041
2041
  }, Zd = (e, t = {}) => {
2042
2042
  Ht(e) || Qs("[useLockscreen]", "You need to pass a ref param to this function");
2043
2043
  const n = t.ns || Ve("popup"), o = L(() => n.bm("parent", "hidden"));
2044
- if (!ze || wu(document.body, o.value))
2044
+ if (!He || wu(document.body, o.value))
2045
2045
  return;
2046
2046
  let r = 0, a = !1, i = "0";
2047
2047
  const l = () => {
@@ -2084,12 +2084,12 @@ const pg = (e) => (t, n) => hg(t, n, g(e)), hg = (e, t, n) => md(n, e, e).replac
2084
2084
  }, T = (M) => {
2085
2085
  if (d.disabled === !0 || Lt(u) && !u())
2086
2086
  return;
2087
- const F = c.value && ze;
2087
+ const F = c.value && He;
2088
2088
  F && y(t, !0), (v.value || !F) && m(M);
2089
2089
  }, b = (M) => {
2090
- if (d.disabled === !0 || !ze)
2090
+ if (d.disabled === !0 || !He)
2091
2091
  return;
2092
- const F = c.value && ze;
2092
+ const F = c.value && He;
2093
2093
  F && y(t, !1), (v.value || !F) && k(M);
2094
2094
  }, A = (M) => {
2095
2095
  mn(M) && (d.disabled && M ? c.value && y(t, !1) : i.value !== M && (M ? m() : k()));
@@ -2753,7 +2753,7 @@ const ss = {
2753
2753
  current: 0
2754
2754
  }, S3 = Symbol("elIdInjection"), $d = () => Ct() ? be(S3, ss) : ss, In = (e) => {
2755
2755
  const t = $d();
2756
- !ze && t === ss && st("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
2756
+ !He && t === ss && st("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
2757
2757
  usage: app.provide(ID_INJECTION_KEY, {
2758
2758
  prefix: number,
2759
2759
  current: number,
@@ -2767,9 +2767,9 @@ const Du = (e) => {
2767
2767
  t.key === Xe.esc && Ro.forEach((n) => n(t));
2768
2768
  }, I3 = (e) => {
2769
2769
  Re(() => {
2770
- Ro.length === 0 && document.addEventListener("keydown", Du), ze && Ro.push(e);
2770
+ Ro.length === 0 && document.addEventListener("keydown", Du), He && Ro.push(e);
2771
2771
  }), lt(() => {
2772
- Ro = Ro.filter((t) => t !== e), Ro.length === 0 && ze && document.removeEventListener("keydown", Du);
2772
+ Ro = Ro.filter((t) => t !== e), Ro.length === 0 && He && document.removeEventListener("keydown", Du);
2773
2773
  });
2774
2774
  }, e0 = () => {
2775
2775
  const e = Ks(), t = $d(), n = L(() => `${e.value}-popper-container-${t.prefix}`), o = L(() => `#${n.value}`);
@@ -2783,7 +2783,7 @@ const Du = (e) => {
2783
2783
  }, x3 = () => {
2784
2784
  const { id: e, selector: t } = e0();
2785
2785
  return jc(() => {
2786
- ze && (process.env.NODE_ENV === "test" || !document.body.querySelector(t.value)) && E3(e.value);
2786
+ He && (process.env.NODE_ENV === "test" || !document.body.querySelector(t.value)) && E3(e.value);
2787
2787
  }), {
2788
2788
  id: e,
2789
2789
  selector: t
@@ -2851,7 +2851,7 @@ const Du = (e) => {
2851
2851
  const i = g(n);
2852
2852
  return it(i) ? i : n0;
2853
2853
  }), r = L(() => o.value + Bu.value), a = () => (t.current++, Bu.value = t.current, r.value);
2854
- return !ze && !be(Lu) && st("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
2854
+ return !He && !be(Lu) && st("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
2855
2855
  usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
2856
2856
  initialZIndex: o,
2857
2857
  currentZIndex: r,
@@ -4441,7 +4441,7 @@ const Yy = Le({
4441
4441
  });
4442
4442
  const se = () => {
4443
4443
  const { type: le, autosize: Fe } = o;
4444
- if (!(!ze || le !== "textarea" || !k.value))
4444
+ if (!(!He || le !== "textarea" || !k.value))
4445
4445
  if (Fe) {
4446
4446
  const Vt = bn(Fe) ? Fe.minRows : void 0, Je = bn(Fe) ? Fe.maxRows : void 0, Ln = Vu(k.value, Vt, Je);
4447
4447
  O.value = {
@@ -4748,7 +4748,7 @@ const mi = Dt(Qy), Po = 4, Uy = {
4748
4748
  const t = e, n = be(sl), o = Ve("scrollbar");
4749
4749
  n || Qs(Xy, "can not inject scrollbar context");
4750
4750
  const r = S(), a = S(), i = S({}), l = S(!1);
4751
- let s = !1, u = !1, f = ze ? document.onselectstart : null;
4751
+ let s = !1, u = !1, f = He ? document.onselectstart : null;
4752
4752
  const p = L(() => Uy[t.vertical ? "vertical" : "horizontal"]), h = L(() => Ky({
4753
4753
  size: t.size,
4754
4754
  move: t.move,
@@ -5542,7 +5542,7 @@ const I5 = ["fixed", "absolute"], E5 = Le({
5542
5542
  };
5543
5543
  return B5(a, r == null ? void 0 : r.modifiers), a;
5544
5544
  }, D5 = (e) => {
5545
- if (ze)
5545
+ if (He)
5546
5546
  return qn(e);
5547
5547
  };
5548
5548
  function P5(e) {
@@ -7234,7 +7234,7 @@ var T0 = { exports: {} };
7234
7234
  })(T0);
7235
7235
  var yi = T0.exports;
7236
7236
  const H = /* @__PURE__ */ ta(yi), Wn = /* @__PURE__ */ new Map();
7237
- if (ze) {
7237
+ if (He) {
7238
7238
  let e;
7239
7239
  document.addEventListener("mousedown", (t) => e = t), document.addEventListener("mouseup", (t) => {
7240
7240
  if (e) {
@@ -8031,7 +8031,7 @@ const O0 = Le({
8031
8031
  e.closeOnClickModal && M();
8032
8032
  }
8033
8033
  function _() {
8034
- ze && (u.value = !0);
8034
+ He && (u.value = !0);
8035
8035
  }
8036
8036
  function B() {
8037
8037
  u.value = !1;
@@ -9616,7 +9616,7 @@ const u8 = Dt(l8), c8 = Le({
9616
9616
  const { t: r } = or(), a = Ve("image"), i = Wc(), l = L(() => Hr(Object.entries(i).filter(([I]) => /^(data-|on[A-Z])/i.test(I) || ["id", "style"].includes(I)))), s = Fd({
9617
9617
  excludeListeners: !0,
9618
9618
  excludeKeys: L(() => Object.keys(l.value))
9619
- }), u = S(), f = S(!1), p = S(!0), h = S(!1), y = S(), d = S(), c = ze && "loading" in HTMLImageElement.prototype;
9619
+ }), u = S(), f = S(!1), p = S(!0), h = S(!1), y = S(), d = S(), c = He && "loading" in HTMLImageElement.prototype;
9620
9620
  let v, m;
9621
9621
  const k = L(() => [
9622
9622
  a.e("inner"),
@@ -9624,7 +9624,7 @@ const u8 = Dt(l8), c8 = Le({
9624
9624
  p.value && a.is("loading")
9625
9625
  ]), T = L(() => {
9626
9626
  const { fit: I } = n;
9627
- return ze && I ? { objectFit: I } : {};
9627
+ return He && I ? { objectFit: I } : {};
9628
9628
  }), b = L(() => {
9629
9629
  const { previewSrcList: I } = n;
9630
9630
  return Array.isArray(I) && I.length > 0;
@@ -9633,7 +9633,7 @@ const u8 = Dt(l8), c8 = Le({
9633
9633
  let Q = R;
9634
9634
  return R > I.length - 1 && (Q = 0), Q;
9635
9635
  }), O = L(() => n.loading === "eager" ? !1 : !c && n.loading === "lazy" || n.lazy), M = () => {
9636
- ze && (p.value = !0, f.value = !1, u.value = n.src);
9636
+ He && (p.value = !0, f.value = !1, u.value = n.src);
9637
9637
  };
9638
9638
  function F(I) {
9639
9639
  p.value = !1, f.value = !1, t("load", I);
@@ -9647,14 +9647,14 @@ const u8 = Dt(l8), c8 = Le({
9647
9647
  const E = c1(B, 200, !0);
9648
9648
  async function Z() {
9649
9649
  var I;
9650
- if (!ze)
9650
+ if (!He)
9651
9651
  return;
9652
9652
  await Ee();
9653
9653
  const { scrollContainer: R } = n;
9654
9654
  un(R) ? d.value = R : gt(R) && R !== "" ? d.value = (I = document.querySelector(R)) != null ? I : void 0 : y.value && (d.value = Sh(y.value)), d.value && (v = ht(d, "scroll", E), setTimeout(() => B(), 100));
9655
9655
  }
9656
9656
  function X() {
9657
- !ze || !d.value || !E || (v == null || v(), d.value = void 0);
9657
+ !He || !d.value || !E || (v == null || v(), d.value = void 0);
9658
9658
  }
9659
9659
  function j(I) {
9660
9660
  if (I.ctrlKey) {
@@ -9984,7 +9984,7 @@ function M8(e) {
9984
9984
  }
9985
9985
  let ya;
9986
9986
  const S8 = function(e = {}) {
9987
- if (!ze)
9987
+ if (!He)
9988
9988
  return;
9989
9989
  const t = I8(e);
9990
9990
  if (t.fullscreen && ya)
@@ -10088,7 +10088,7 @@ const S8 = function(e = {}) {
10088
10088
  zIndex: 0,
10089
10089
  grouping: !1,
10090
10090
  repeatNum: 1,
10091
- appendTo: ze ? document.body : void 0
10091
+ appendTo: He ? document.body : void 0
10092
10092
  }), O8 = Le({
10093
10093
  customClass: {
10094
10094
  type: String,
@@ -10321,7 +10321,7 @@ const j0 = (e) => {
10321
10321
  };
10322
10322
  return f;
10323
10323
  }, $o = (e = {}, t) => {
10324
- if (!ze)
10324
+ if (!He)
10325
10325
  return { close: () => {
10326
10326
  } };
10327
10327
  const n = j0(e);
@@ -10754,7 +10754,7 @@ const Wr = /* @__PURE__ */ new Map(), Q8 = (e) => {
10754
10754
  return r.visible = !0, r;
10755
10755
  };
10756
10756
  function lr(e, t = null) {
10757
- if (!ze)
10757
+ if (!He)
10758
10758
  return Promise.reject();
10759
10759
  let n;
10760
10760
  return gt(e) || Xa(e) ? e = {
@@ -12379,7 +12379,11 @@ const Bn = /* @__PURE__ */ ta(fb), mb = { class: "anytrekTimerangePickTime" }, v
12379
12379
  J === "quarter" ? pe = H().tz(fe).subtract(se * 3, "month").format("YYYY-MM-DD HH:mm") : pe = H().tz(fe).subtract(se, J).format("YYYY-MM-DD HH:mm");
12380
12380
  const Ae = H().tz(fe).format("YYYY-MM-DD HH:mm");
12381
12381
  let De = H(pe, "YYYY-MM-DD HH:mm").tz(fe, !0).utc().format(o.valueFormat), Ye = H(Ae, "YYYY-MM-DD HH:mm").tz(fe, !0).utc().format(o.valueFormat);
12382
- y.value || (De = H(pe, "YYYY-MM-DD HH:mm").tz(fe, !0).format(o.valueFormat), Ye = H(Ae, "YYYY-MM-DD HH:mm").tz(fe, !0).format(o.valueFormat)), T.value = se, b.value = J, A.value = De, O.value = Ye, M.value = X.value, f("update:value", se), f("update:valueType", J), f("update:startTime", De), f("update:endTime", Ye), f("update:timeZone", X.value), h.value = !1, x.value = "", I.value = "", R.value = "", Q.value = "", !(v && !o.immediate) && (v = !1, f("change", De, Ye, M.value, [De, Ye]));
12382
+ if (y.value || (De = H(pe, "YYYY-MM-DD HH:mm").tz(fe, !0).format(o.valueFormat), Ye = H(Ae, "YYYY-MM-DD HH:mm").tz(fe, !0).format(o.valueFormat)), T.value = se, b.value = J, A.value = De, O.value = Ye, M.value = X.value, f("update:value", se), f("update:valueType", J), f("update:startTime", De), f("update:endTime", Ye), f("update:timeZone", X.value), h.value = !1, x.value = "", I.value = "", R.value = "", Q.value = "", v && !o.immediate) {
12383
+ v = !1;
12384
+ return;
12385
+ }
12386
+ v = !1, f("change", De, Ye, M.value, [De, Ye]);
12383
12387
  }
12384
12388
  function P(se, J) {
12385
12389
  const fe = j(se), pe = j(J);
@@ -12407,7 +12411,11 @@ const Bn = /* @__PURE__ */ ta(fb), mb = { class: "anytrekTimerangePickTime" }, v
12407
12411
  h.value = !1;
12408
12412
  }
12409
12413
  function ge() {
12410
- T.value = _.value, b.value = B.value, A.value = E.value, O.value = Z.value, M.value = X.value, O.value < A.value && ([A.value, O.value] = [O.value, A.value]), x.value = "", I.value = "", R.value = "", Q.value = "", _.value = "", B.value = "", E.value = "", Z.value = "", X.value = "", f("update:value", T.value), f("update:valueType", b.value), f("update:startTime", A.value), f("update:endTime", O.value), f("update:timeZone", M.value), h.value = !1, !(v && !o.immediate) && (v = !1, f("change", A.value, O.value, M.value, [A.value, O.value]));
12414
+ if (T.value = _.value, b.value = B.value, A.value = E.value, O.value = Z.value, M.value = X.value, O.value < A.value && ([A.value, O.value] = [O.value, A.value]), x.value = "", I.value = "", R.value = "", Q.value = "", _.value = "", B.value = "", E.value = "", Z.value = "", X.value = "", f("update:value", T.value), f("update:valueType", b.value), f("update:startTime", A.value), f("update:endTime", O.value), f("update:timeZone", M.value), h.value = !1, v && !o.immediate) {
12415
+ v = !1;
12416
+ return;
12417
+ }
12418
+ v = !1, f("change", A.value, O.value, M.value, [A.value, O.value]);
12411
12419
  }
12412
12420
  function ce() {
12413
12421
  A.value && (_.value = T.value, B.value = b.value, E.value = A.value, Z.value = O.value, X.value = M.value, ge());
@@ -12507,7 +12515,7 @@ const Bn = /* @__PURE__ */ ta(fb), mb = { class: "anytrekTimerangePickTime" }, v
12507
12515
  ]);
12508
12516
  };
12509
12517
  }
12510
- }), a7 = /* @__PURE__ */ pt(r7, [["__scopeId", "data-v-b794a47e"]]), i7 = { class: "anytrekTimePickTime" }, s7 = { class: "anytrekTimePickTime-date" }, l7 = { class: "anytrekTimePickTime-date-year-choose" }, u7 = { class: "anytrekTimePickTime-date-year-choose" }, c7 = { class: "anytrekTimePickTime-date-day-word" }, d7 = { class: "anytrekTimePickTime-date-day-pcik" }, f7 = ["onClick"], m7 = /* @__PURE__ */ oe({
12518
+ }), a7 = /* @__PURE__ */ pt(r7, [["__scopeId", "data-v-e9ada8be"]]), i7 = { class: "anytrekTimePickTime" }, s7 = { class: "anytrekTimePickTime-date" }, l7 = { class: "anytrekTimePickTime-date-year-choose" }, u7 = { class: "anytrekTimePickTime-date-year-choose" }, c7 = { class: "anytrekTimePickTime-date-day-word" }, d7 = { class: "anytrekTimePickTime-date-day-pcik" }, f7 = ["onClick"], m7 = /* @__PURE__ */ oe({
12511
12519
  inheritAttrs: !1,
12512
12520
  __name: "anytrekTimePickTime",
12513
12521
  props: {
@@ -20130,8 +20138,8 @@ const Na = /* @__PURE__ */ pt($w, [["render", eT]]), Nr = /* @__PURE__ */ oe({
20130
20138
  }), F = L(() => {
20131
20139
  const q = {}, U = (G, W) => {
20132
20140
  G.length && G.forEach((we) => {
20133
- const { assetType: Ie, children: Ze } = we;
20134
- Ie && (Ze ? U(Ze, W) : W[Ie] = we);
20141
+ const { assetType: Ie, children: ze } = we;
20142
+ Ie && (ze ? U(ze, W) : W[Ie] = we);
20135
20143
  });
20136
20144
  };
20137
20145
  return U(O.value, q), q;
@@ -20162,8 +20170,8 @@ const Na = /* @__PURE__ */ pt($w, [["render", eT]]), Nr = /* @__PURE__ */ oe({
20162
20170
  q.isClose = !0, (q.name + "").replace(/\s+/g, " ").trim().toLocaleLowerCase().includes(U.trim().replace(/\s+/g, " ").toLocaleLowerCase()) && (R.value.id || (R.value = q));
20163
20171
  let G = !1;
20164
20172
  return (W = q.children) != null && W.length && q.children.map((Ie) => {
20165
- const Ze = P(Ie, U);
20166
- Ze && (G = !0, q.isClose = !1), Ie.isClose = !Ze;
20173
+ const ze = P(Ie, U);
20174
+ ze && (G = !0, q.isClose = !1), Ie.isClose = !ze;
20167
20175
  }), U.trim() ? (q.name + "").replace(/\s+/g, " ").trim().toLocaleLowerCase().includes(U.trim().replace(/\s+/g, " ").toLocaleLowerCase()) ? !0 : ((we = q.children) != null && we.length && !G && (q.isClose = !0), G) : (q.isClose = !1, !0);
20168
20176
  }
20169
20177
  function x(q, U) {
@@ -20233,44 +20241,44 @@ const Na = /* @__PURE__ */ pt($w, [["render", eT]]), Nr = /* @__PURE__ */ oe({
20233
20241
  break;
20234
20242
  case "last":
20235
20243
  q.sort((G, W) => {
20236
- var we, Ie, Ze, _e, Te, Qe;
20237
- return (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((Ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : Ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20244
+ var we, Ie, ze, _e, Te, Qe;
20245
+ return (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20238
20246
  });
20239
20247
  break;
20240
20248
  case "create":
20241
20249
  q.sort((G, W) => {
20242
- var we, Ie, Ze, _e, Te, Qe;
20243
- return (we = W == null ? void 0 : W.deviceOne) != null && we.createTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.createTime) ? ((Ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : Ze.createTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.createTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.createTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.createTime ? -1 : 0;
20250
+ var we, Ie, ze, _e, Te, Qe;
20251
+ return (we = W == null ? void 0 : W.deviceOne) != null && we.createTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.createTime) ? ((ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : ze.createTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.createTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.createTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.createTime ? -1 : 0;
20244
20252
  });
20245
20253
  break;
20246
20254
  case "driving":
20247
20255
  q.sort((G, W) => {
20248
- var we, Ie, Ze, _e, Te, Qe;
20249
- return pe(G.deviceOne || {}) === "driving" && pe(W.deviceOne || {}) !== "driving" ? -1 : pe(G.deviceOne || {}) !== "driving" && pe(W.deviceOne || {}) === "driving" ? 1 : (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((Ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : Ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20256
+ var we, Ie, ze, _e, Te, Qe;
20257
+ return pe(G.deviceOne || {}) === "driving" && pe(W.deviceOne || {}) !== "driving" ? -1 : pe(G.deviceOne || {}) !== "driving" && pe(W.deviceOne || {}) === "driving" ? 1 : (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20250
20258
  });
20251
20259
  break;
20252
20260
  case "idle":
20253
20261
  q.sort((G, W) => {
20254
- var we, Ie, Ze, _e, Te, Qe;
20255
- return pe(G.deviceOne || {}) === "idle" && pe(W.deviceOne || {}) !== "idle" ? -1 : pe(G.deviceOne || {}) !== "idle" && pe(W.deviceOne || {}) === "idle" ? 1 : (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((Ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : Ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20262
+ var we, Ie, ze, _e, Te, Qe;
20263
+ return pe(G.deviceOne || {}) === "idle" && pe(W.deviceOne || {}) !== "idle" ? -1 : pe(G.deviceOne || {}) !== "idle" && pe(W.deviceOne || {}) === "idle" ? 1 : (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20256
20264
  });
20257
20265
  break;
20258
20266
  case "waring":
20259
20267
  q.sort((G, W) => {
20260
- var we, Ie, Ze, _e, Te, Qe;
20261
- return fe(G.deviceOne || {}) === "alarming-li" && fe(W.deviceOne || {}) !== "alarming-li" ? -1 : fe(G.deviceOne || {}) !== "alarming-li" && fe(W.deviceOne || {}) === "alarming-li" ? 1 : (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((Ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : Ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20268
+ var we, Ie, ze, _e, Te, Qe;
20269
+ return fe(G.deviceOne || {}) === "alarming-li" && fe(W.deviceOne || {}) !== "alarming-li" ? -1 : fe(G.deviceOne || {}) !== "alarming-li" && fe(W.deviceOne || {}) === "alarming-li" ? 1 : (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20262
20270
  });
20263
20271
  break;
20264
20272
  case "offline":
20265
20273
  q.sort((G, W) => {
20266
- var we, Ie, Ze, _e, Te, Qe;
20267
- return fe(G.deviceOne || {}) === "offline-li" && fe(W.deviceOne || {}) !== "offline-li" ? -1 : fe(G.deviceOne || {}) !== "offline-li" && fe(W.deviceOne || {}) === "offline-li" ? 1 : (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((Ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : Ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20274
+ var we, Ie, ze, _e, Te, Qe;
20275
+ return fe(G.deviceOne || {}) === "offline-li" && fe(W.deviceOne || {}) !== "offline-li" ? -1 : fe(G.deviceOne || {}) !== "offline-li" && fe(W.deviceOne || {}) === "offline-li" ? 1 : (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime && ((Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime) ? ((ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : ze.locationReportTime) > ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.locationReportTime) ? 1 : -1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.locationReportTime ? 1 : (Qe = G == null ? void 0 : G.deviceOne) != null && Qe.locationReportTime ? -1 : 0;
20268
20276
  });
20269
20277
  break;
20270
20278
  case "battery":
20271
20279
  q.sort((G, W) => {
20272
- var we, Ie, Ze, _e, Te, Qe, Vn, ra, We, Oo, aa, oo;
20273
- return (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime ? (Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime ? ((Ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : Ze.modelId) === 62 ? -1 : ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.modelId) === 62 ? 1 : fe(G.deviceOne || {}) === "normal-li" && fe(W.deviceOne || {}) !== "normal-li" ? -1 : fe(G.deviceOne || {}) !== "normal-li" && fe(W.deviceOne || {}) === "normal-li" ? 1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.trackerStatus && ((Qe = G == null ? void 0 : G.deviceOne) != null && Qe.trackerStatus) ? ((Vn = W == null ? void 0 : W.deviceOne) == null ? void 0 : Vn.trackerStatus) > ((ra = G == null ? void 0 : G.deviceOne) == null ? void 0 : ra.trackerStatus) ? 1 : -1 : (We = W == null ? void 0 : W.deviceOne) != null && We.locationReportTime && ((Oo = G == null ? void 0 : G.deviceOne) != null && Oo.locationReportTime) ? ((aa = W == null ? void 0 : W.deviceOne) == null ? void 0 : aa.locationReportTime) > ((oo = G == null ? void 0 : G.deviceOne) == null ? void 0 : oo.locationReportTime) ? 1 : -1 : 0 : 1 : -1;
20280
+ var we, Ie, ze, _e, Te, Qe, Vn, ra, We, Oo, aa, oo;
20281
+ return (we = W == null ? void 0 : W.deviceOne) != null && we.locationReportTime ? (Ie = G == null ? void 0 : G.deviceOne) != null && Ie.locationReportTime ? ((ze = W == null ? void 0 : W.deviceOne) == null ? void 0 : ze.modelId) === 62 ? -1 : ((_e = G == null ? void 0 : G.deviceOne) == null ? void 0 : _e.modelId) === 62 ? 1 : fe(G.deviceOne || {}) === "normal-li" && fe(W.deviceOne || {}) !== "normal-li" ? -1 : fe(G.deviceOne || {}) !== "normal-li" && fe(W.deviceOne || {}) === "normal-li" ? 1 : (Te = W == null ? void 0 : W.deviceOne) != null && Te.trackerStatus && ((Qe = G == null ? void 0 : G.deviceOne) != null && Qe.trackerStatus) ? ((Vn = W == null ? void 0 : W.deviceOne) == null ? void 0 : Vn.trackerStatus) > ((ra = G == null ? void 0 : G.deviceOne) == null ? void 0 : ra.trackerStatus) ? 1 : -1 : (We = W == null ? void 0 : W.deviceOne) != null && We.locationReportTime && ((Oo = G == null ? void 0 : G.deviceOne) != null && Oo.locationReportTime) ? ((aa = W == null ? void 0 : W.deviceOne) == null ? void 0 : aa.locationReportTime) > ((oo = G == null ? void 0 : G.deviceOne) == null ? void 0 : oo.locationReportTime) ? 1 : -1 : 0 : 1 : -1;
20274
20282
  });
20275
20283
  break;
20276
20284
  }
@@ -20495,7 +20503,7 @@ const Na = /* @__PURE__ */ pt($w, [["render", eT]]), Nr = /* @__PURE__ */ oe({
20495
20503
  Zn.value ? console.log(12313) : console.log(4);
20496
20504
  }, 400);
20497
20505
  return (q, U) => {
20498
- const G = mi, W = Ne("anSvgIcon"), we = ea, Ie = Mo, Ze = ml, _e = V0;
20506
+ const G = mi, W = Ne("anSvgIcon"), we = ea, Ie = Mo, ze = ml, _e = V0;
20499
20507
  return C(), N(me, null, [
20500
20508
  et((C(), N("div", {
20501
20509
  class: K(["vehicle-select", { retract: b.value, haveLeftBorder: e.haveLeftBorder, haveBorderRadius: e.haveBorderRadius }]),
@@ -20860,7 +20868,7 @@ const Na = /* @__PURE__ */ pt($w, [["render", eT]]), Nr = /* @__PURE__ */ oe({
20860
20868
  fontSize: 32,
20861
20869
  class: "edit-icon"
20862
20870
  }),
20863
- D(Ze, {
20871
+ D(ze, {
20864
20872
  onClick: U[15] || (U[15] = xe(() => {
20865
20873
  }, ["stop"])),
20866
20874
  class: "anytrek-checkbox"
@@ -21052,58 +21060,58 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
21052
21060
  }, wk = {
21053
21061
  key: 0,
21054
21062
  class: "add-type"
21055
- }, Tk = { class: "search-div" }, kk = { class: "history-list" }, Ck = { class: "icon-list2" }, Ak = ["onClick"], Mk = ["onClick"], Sk = { class: "title" }, Ik = { class: "title-right" }, Ek = { class: "flex-item-div" }, xk = { class: "make-icon" }, Ok = { class: "popper-make-content" }, Dk = { class: "type-name" }, Pk = ["onClick"], Bk = { class: "popper-make-tip-content" }, Lk = { class: "img" }, Nk = ["src"], Fk = { class: "term" }, Rk = { class: "value" }, Hk = { class: "term" }, zk = { class: "value" }, Zk = { class: "term" }, Vk = { class: "value" }, Yk = { class: "term" }, jk = { class: "value" }, Gk = ["onClick"], Wk = { class: "canClick" }, Qk = {
21063
+ }, Tk = { class: "search-div" }, kk = { class: "history-list" }, Ck = { class: "icon-list2" }, Ak = ["onClick"], Mk = ["onClick"], Sk = { class: "title" }, Ik = { class: "title-right" }, Ek = { class: "canClick" }, xk = {
21056
21064
  key: 0,
21057
21065
  class: "device-show"
21058
- }, Uk = {
21066
+ }, Ok = {
21059
21067
  key: 1,
21060
21068
  class: "device-show canClick"
21061
- }, Kk = {
21069
+ }, Dk = {
21062
21070
  class: "device-item",
21063
21071
  style: { "margin-right": "5px" }
21064
- }, qk = { class: "txt" }, Xk = { class: "device-wrapper" }, Jk = { class: "search-div" }, _k = { class: "list-info" }, $k = { class: "list-body" }, eC = {
21072
+ }, Pk = { class: "txt" }, Bk = { class: "device-wrapper" }, Lk = { class: "search-div" }, Nk = { class: "list-info" }, Fk = { class: "list-body" }, Rk = {
21065
21073
  key: 0,
21066
21074
  class: "list-body-content"
21067
- }, tC = ["onClick"], nC = { class: "flex-item-div" }, oC = { class: "right" }, rC = { class: "value-wrapper" }, aC = {
21075
+ }, Hk = ["onClick"], zk = { class: "device" }, Zk = { class: "modeltype" }, Vk = { class: "field-describe" }, Yk = { class: "flex-item-div" }, jk = { class: "make-icon" }, Gk = { class: "popper-make-content" }, Wk = { class: "type-name" }, Qk = ["onClick"], Uk = { class: "popper-make-tip-content" }, Kk = { class: "img" }, qk = ["src"], Xk = { class: "term" }, Jk = { class: "value" }, _k = { class: "term" }, $k = { class: "value" }, eC = { class: "term" }, tC = { class: "value" }, nC = { class: "term" }, oC = { class: "value" }, rC = ["onClick"], aC = { class: "flex-item-div" }, iC = { class: "right" }, sC = { class: "value-wrapper" }, lC = {
21068
21076
  class: "value",
21069
21077
  style: { "margin-right": "8px" }
21070
- }, iC = {
21078
+ }, uC = {
21071
21079
  key: 0,
21072
21080
  class: "timezone"
21073
- }, sC = { class: "wrapper-icon" }, lC = { class: "label" }, uC = { class: "num" }, cC = { class: "content" }, dC = { class: "tag-cell" }, fC = ["onMouseenter"], mC = {
21081
+ }, cC = { class: "wrapper-icon" }, dC = { class: "label" }, fC = { class: "num" }, mC = { class: "content" }, vC = { class: "tag-cell" }, pC = ["onMouseenter"], hC = {
21074
21082
  class: "name",
21075
21083
  actualArea: ""
21076
- }, vC = ["onClick"], pC = { class: "tag-cell" }, hC = ["onMouseenter"], gC = {
21084
+ }, gC = ["onClick"], yC = { class: "tag-cell" }, bC = ["onMouseenter"], wC = {
21077
21085
  class: "name",
21078
21086
  actualArea: ""
21079
- }, yC = ["onClick"], bC = ["onMouseenter"], wC = {
21087
+ }, TC = ["onClick"], kC = ["onMouseenter"], CC = {
21080
21088
  class: "name",
21081
21089
  actualArea: ""
21082
- }, TC = ["onClick"], kC = {
21090
+ }, AC = ["onClick"], MC = {
21083
21091
  key: 1,
21084
21092
  class: "tag-cell"
21085
- }, CC = ["onMouseenter"], AC = {
21093
+ }, SC = ["onMouseenter"], IC = {
21086
21094
  class: "name",
21087
21095
  actualArea: ""
21088
- }, MC = ["onClick"], SC = {
21096
+ }, EC = ["onClick"], xC = {
21089
21097
  class: "wrapper-add",
21090
21098
  style: { "margin-top": "16px" }
21091
- }, IC = {
21099
+ }, OC = {
21092
21100
  key: 1,
21093
21101
  class: "all-tags"
21094
- }, EC = { class: "title" }, xC = { class: "title-left" }, OC = { class: "icon-wrapper" }, DC = { class: "title-right" }, PC = { class: "input-wrapper" }, BC = {
21102
+ }, DC = { class: "title" }, PC = { class: "title-left" }, BC = { class: "icon-wrapper" }, LC = { class: "title-right" }, NC = { class: "input-wrapper" }, FC = {
21095
21103
  key: 0,
21096
21104
  class: "select-wrapper"
21097
- }, LC = { class: "select-left" }, NC = { class: "right" }, FC = { class: "tags" }, RC = {
21105
+ }, RC = { class: "select-left" }, HC = { class: "right" }, zC = { class: "tags" }, ZC = {
21098
21106
  key: 0,
21099
21107
  class: "tags-item"
21100
- }, HC = { class: "left" }, zC = ["onMouseenter"], ZC = { class: "right" }, VC = { class: "history-wrapper" }, YC = { class: "bound-content" }, jC = { class: "title-bound" }, GC = ["index"], WC = { class: "center" }, QC = { class: "right" }, UC = {
21108
+ }, VC = { class: "left" }, YC = ["onMouseenter"], jC = { class: "right" }, GC = { class: "history-wrapper" }, WC = { class: "bound-content" }, QC = { class: "title-bound" }, UC = ["index"], KC = { class: "center" }, qC = { class: "right" }, XC = {
21101
21109
  key: 0,
21102
21110
  class: "current-tag"
21103
- }, KC = {
21111
+ }, JC = {
21104
21112
  key: 1,
21105
21113
  class: "no-data"
21106
- }, qC = 6, XC = /* @__PURE__ */ oe({
21114
+ }, _C = 6, $C = /* @__PURE__ */ oe({
21107
21115
  __name: "AddOrEditVehicle",
21108
21116
  props: {
21109
21117
  modelValue: {
@@ -21136,24 +21144,32 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
21136
21144
  return [];
21137
21145
  }
21138
21146
  },
21147
+ // 资产类型
21139
21148
  allAssetTypes: {
21140
- // 资产类型
21141
21149
  type: Array,
21142
21150
  required: !0,
21143
21151
  default() {
21144
21152
  return [];
21145
21153
  }
21146
21154
  },
21155
+ // 所有设备
21147
21156
  allDevices: {
21148
- // 所有设备
21149
21157
  type: Array,
21150
21158
  required: !0,
21151
21159
  default() {
21152
21160
  return [];
21153
21161
  }
21154
21162
  },
21163
+ // 设备类型
21164
+ modelTypes: {
21165
+ type: Object,
21166
+ required: !0,
21167
+ default() {
21168
+ return {};
21169
+ }
21170
+ },
21171
+ // 所有设备
21155
21172
  allVehicleToDevice: {
21156
- // 所有设备
21157
21173
  type: Array,
21158
21174
  required: !0,
21159
21175
  default() {
@@ -21253,16 +21269,16 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
21253
21269
  type: ue.content.type
21254
21270
  })), de.content.assetType == 2e3) {
21255
21271
  let ue = [];
21256
- Pe.forEach((He) => {
21257
- Array.isArray(He.icon) ? He.icon.forEach((Kt, ot) => {
21272
+ Pe.forEach((Ze) => {
21273
+ Array.isArray(Ze.icon) ? Ze.icon.forEach((Kt, ot) => {
21258
21274
  ue.push({
21259
- id: He.id,
21260
- assetType: He.assetType,
21261
- icon: He.icon[ot],
21262
- label: He.label,
21263
- type: He.type
21275
+ id: Ze.id,
21276
+ assetType: Ze.assetType,
21277
+ icon: Ze.icon[ot],
21278
+ label: Ze.label,
21279
+ type: Ze.type
21264
21280
  });
21265
- }) : ue.push({ ...He });
21281
+ }) : ue.push({ ...Ze });
21266
21282
  }), Pe = ue;
21267
21283
  }
21268
21284
  return {
@@ -21427,14 +21443,14 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
21427
21443
  if (V[ue] !== r.vehicleData[ue])
21428
21444
  if (typeof V[ue] == "object")
21429
21445
  if (ue == "tag") {
21430
- let He = r.vehicleData.tagContent.map(
21446
+ let Ze = r.vehicleData.tagContent.map(
21431
21447
  (Kt) => Kt.id
21432
21448
  );
21433
- JSON.stringify(He) != JSON.stringify(V[ue]) && (de[ue] = V[ue]);
21449
+ JSON.stringify(Ze) != JSON.stringify(V[ue]) && (de[ue] = V[ue]);
21434
21450
  } else if (ue === "content") {
21435
21451
  de.content = {};
21436
- for (const He of Object.keys(V[ue]))
21437
- V[ue][He] !== r.vehicleData[He] && He !== "driverArr" && (de[ue][He] = V[ue][He]);
21452
+ for (const Ze of Object.keys(V[ue]))
21453
+ V[ue][Ze] !== r.vehicleData[Ze] && Ze !== "driverArr" && (de[ue][Ze] = V[ue][Ze]);
21438
21454
  } else JSON.stringify(V[ue]) != JSON.stringify(r.vehicleData[ue]) && (de[ue] = V[ue]);
21439
21455
  else
21440
21456
  de[ue] = V[ue];
@@ -21670,16 +21686,16 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
21670
21686
  endTime: de
21671
21687
  }, ue = await s.value(Pe);
21672
21688
  if (hn.value = !1, !ue) return;
21673
- const He = [];
21689
+ const Ze = [];
21674
21690
  ue.forEach((ot) => {
21675
- He.length && He[He.length - 1].startTime !== ot.endTime && He.push({
21691
+ Ze.length && Ze[Ze.length - 1].startTime !== ot.endTime && Ze.push({
21676
21692
  startTime: ot.endTime,
21677
- endTime: He[He.length - 1].startTime,
21693
+ endTime: Ze[Ze.length - 1].startTime,
21678
21694
  userPackageId: 0
21679
- }), He.push(ot);
21695
+ }), Ze.push(ot);
21680
21696
  });
21681
21697
  let Kt = H.tz.guess();
21682
- if (!i.value.localTimezone && i.value.timeZone && (Kt = i.value.timeZone), He.map((ot) => {
21698
+ if (!i.value.localTimezone && i.value.timeZone && (Kt = i.value.timeZone), Ze.map((ot) => {
21683
21699
  const Yn = H.utc(ot.endTime).tz(Kt).year();
21684
21700
  Tn.value.includes(Yn) || (Tn.value.push(Yn), zn.value[Yn] = []), zn.value[Yn].push({
21685
21701
  startTime: ot.dataTime ? H.utc(ot.dataTime).tz(Kt).format("YYYY-MM-DD") : H.utc(ot.startTime).tz(Kt).format("YYYY-MM-DD"),
@@ -21799,7 +21815,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
21799
21815
  Re(() => {
21800
21816
  d(c.value), we.value = H.tz.guess(), !i.value.localTimezone && i.value.timeZone && (we.value = H().tz(i.value.timeZone).format("z"));
21801
21817
  });
21802
- const we = S(""), Ie = S(!1), Ze = S("YYYY-MM-DD HH:mm:ss");
21818
+ const we = S(""), Ie = S(!1), ze = S("YYYY-MM-DD HH:mm:ss");
21803
21819
  function _e(ne, V) {
21804
21820
  we.value = V, We.value = ne;
21805
21821
  }
@@ -21838,7 +21854,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
21838
21854
  return V;
21839
21855
  }
21840
21856
  Re(() => {
21841
- Ze.value = Ss({});
21857
+ ze.value = Ss({});
21842
21858
  });
21843
21859
  let Vn = S([]);
21844
21860
  ie(
@@ -21862,8 +21878,8 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
21862
21878
  const Oo = S(), aa = S(), oo = S(!1), Al = S(""), Ml = S("right"), br = (ne, V, de = "right", Pe = 108) => {
21863
21879
  Oo.value = ne.currentTarget, Al.value = V, Ml.value = de;
21864
21880
  let ue = Oo.value;
21865
- const He = document.createRange();
21866
- He.setStart(ue, 0), He.setEnd(ue, ue.childNodes.length), Math.round(He.getBoundingClientRect().width), ne.currentTarget.querySelector("span").querySelector("span").innerText !== V && (oo.value = !0);
21881
+ const Ze = document.createRange();
21882
+ Ze.setStart(ue, 0), Ze.setEnd(ue, ue.childNodes.length), Math.round(Ze.getBoundingClientRect().width), ne.currentTarget.querySelector("span").querySelector("span").innerText !== V && (oo.value = !0);
21867
21883
  }, wr = () => {
21868
21884
  oo.value = !1;
21869
21885
  };
@@ -21879,7 +21895,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
21879
21895
  return t({
21880
21896
  handleTableAddTag: Df
21881
21897
  }), (ne, V) => {
21882
- const de = mi, Pe = Hy, ue = Ne("svg-icon"), He = Mo, Kt = sr, ot = o8, Yn = Ne("anytrekTimePick"), Tr = Ne("text-clamp"), El = ml, Lf = Ry, Nf = ea, xl = gi, Ff = v6, Rf = V0;
21898
+ const de = mi, Pe = Hy, ue = Ne("svg-icon"), Ze = o8, Kt = Mo, ot = sr, Yn = Ne("anytrekTimePick"), Tr = Ne("text-clamp"), El = ml, Lf = Ry, Nf = ea, xl = gi, Ff = v6, Rf = V0;
21883
21899
  return C(), N(me, null, [
21884
21900
  D(Ff, {
21885
21901
  modelValue: h.value,
@@ -22149,23 +22165,141 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22149
22165
  }),
22150
22166
  _: 1
22151
22167
  }),
22152
- w("div", Ek, [
22168
+ D(Pe, {
22169
+ label: "Device",
22170
+ prop: "deviceId",
22171
+ class: "custom-label-position border-top"
22172
+ }, {
22173
+ default: z(() => [
22174
+ D(Ze, {
22175
+ ref_key: "deviceSelectRef",
22176
+ ref: Io,
22177
+ trigger: "click",
22178
+ "popper-class": "device-dropdown-v noanimation-dropdown",
22179
+ placement: "bottom-start"
22180
+ }, {
22181
+ dropdown: z(() => [
22182
+ w("div", Bk, [
22183
+ w("div", Lk, [
22184
+ D(de, {
22185
+ modelValue: Nn.value,
22186
+ "onUpdate:modelValue": V[2] || (V[2] = (he) => Nn.value = he),
22187
+ placeholder: "Search",
22188
+ class: "auto-table-search",
22189
+ size: "large",
22190
+ ref_key: "searchDevice",
22191
+ ref: Il
22192
+ }, {
22193
+ prefix: z(() => [
22194
+ D(ue, {
22195
+ "font-size": "40",
22196
+ name: "searchIcon",
22197
+ color: "#000"
22198
+ })
22199
+ ]),
22200
+ suffix: z(() => [
22201
+ Nn.value ? (C(), re(ue, {
22202
+ key: 0,
22203
+ class: "clear-icon",
22204
+ id: "clear-icon",
22205
+ name: "closeIconNew2",
22206
+ "font-size": "32",
22207
+ onClick: Pf
22208
+ })) : te("", !0)
22209
+ ]),
22210
+ _: 1
22211
+ }, 8, ["modelValue"])
22212
+ ]),
22213
+ w("div", Nk, ee(T.value.length) + " Devices in total ", 1),
22214
+ w("div", Fk, [
22215
+ Fn.value.length ? (C(), N("div", Rk, [
22216
+ (C(!0), N(me, null, Se(Fn.value, (he) => (C(), N("div", {
22217
+ key: he.id,
22218
+ class: "list-body-one",
22219
+ onClick: (Ge) => Rn(he)
22220
+ }, [
22221
+ D(ue, {
22222
+ color: "#000",
22223
+ name: "monitorIconCpu",
22224
+ "font-size": "24"
22225
+ }),
22226
+ w("div", zk, [
22227
+ w("div", null, ee(he.deviceId), 1),
22228
+ w("div", Zk, ee(e.modelTypes[he.modelId]), 1)
22229
+ ]),
22230
+ et(D(ue, {
22231
+ name: "filterchecked",
22232
+ "font-size": "24"
22233
+ }, null, 512), [
22234
+ [Ot, he.dId === v.value.deviceId]
22235
+ ])
22236
+ ], 8, Hk))), 128))
22237
+ ])) : te("", !0)
22238
+ ])
22239
+ ])
22240
+ ]),
22241
+ default: z(() => [
22242
+ w("div", Ek, [
22243
+ M.value ? (C(), N("div", Ok, [
22244
+ w("div", Dk, [
22245
+ D(ue, {
22246
+ class: "icon",
22247
+ name: "monitorIconCpu ",
22248
+ "font-size": "24",
22249
+ color: "#000"
22250
+ }),
22251
+ w("div", Pk, ee(M.value), 1),
22252
+ w("div", {
22253
+ class: "remove-icon",
22254
+ onClick: xe(na, ["stop"])
22255
+ }, [
22256
+ D(ue, {
22257
+ name: "removeIcon",
22258
+ "font-size": "16"
22259
+ })
22260
+ ])
22261
+ ]),
22262
+ D(ue, {
22263
+ class: "device-arrow icon hover-animation",
22264
+ name: "xiajiantou",
22265
+ "font-size": "24",
22266
+ color: "#000"
22267
+ })
22268
+ ])) : (C(), N("div", xk, [
22269
+ V[27] || (V[27] = w("span", { class: "empty-style" }, "Select a Device", -1)),
22270
+ D(ue, {
22271
+ class: "device-arrow icon hover-animation",
22272
+ name: "xiajiantou",
22273
+ color: "#000",
22274
+ "font-size": "24"
22275
+ })
22276
+ ]))
22277
+ ])
22278
+ ]),
22279
+ _: 1
22280
+ }, 512)
22281
+ ]),
22282
+ _: 1
22283
+ })
22284
+ ]),
22285
+ w("div", Vk, [
22286
+ w("div", Yk, [
22153
22287
  D(Pe, {
22154
22288
  label: "Make (Model)",
22155
22289
  prop: "model",
22156
- class: K(["custom-label-poosition2 custom-label-poosition6", { "is-focus": xo.value }])
22290
+ class: K(["custom-label-poosition2", { "is-focus": xo.value }])
22157
22291
  }, {
22158
22292
  default: z(() => [
22159
22293
  D(de, {
22160
22294
  modelValue: v.value.make,
22161
- "onUpdate:modelValue": V[2] || (V[2] = (he) => v.value.make = he),
22295
+ "onUpdate:modelValue": V[3] || (V[3] = (he) => v.value.make = he),
22162
22296
  maxlength: 64,
22163
22297
  class: "input-make",
22164
- onFocus: V[3] || (V[3] = (he) => xo.value = !0),
22165
- onBlur: V[4] || (V[4] = (he) => xo.value = !1)
22298
+ onFocus: V[4] || (V[4] = (he) => xo.value = !0),
22299
+ onBlur: V[5] || (V[5] = (he) => xo.value = !1)
22166
22300
  }, {
22167
22301
  suffix: z(() => [
22168
- D(Kt, {
22302
+ D(ot, {
22169
22303
  placement: "bottom-end",
22170
22304
  width: 226,
22171
22305
  trigger: "click",
@@ -22176,7 +22310,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22176
22310
  offset: -24
22177
22311
  }, {
22178
22312
  reference: z(() => [
22179
- w("div", xk, [
22313
+ w("div", jk, [
22180
22314
  D(ue, {
22181
22315
  name: "xiajiantou",
22182
22316
  "font-size": "24",
@@ -22187,13 +22321,13 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22187
22321
  ])
22188
22322
  ]),
22189
22323
  default: z(() => [
22190
- w("div", Ok, [
22324
+ w("div", Gk, [
22191
22325
  (C(), N(me, null, Se(U, (he) => w("div", {
22192
22326
  class: "type-item",
22193
22327
  key: he.type
22194
22328
  }, [
22195
- w("div", Dk, ee(he.type), 1),
22196
- (C(!0), N(me, null, Se(he.children, (Ge) => (C(), re(He, {
22329
+ w("div", Wk, ee(he.type), 1),
22330
+ (C(!0), N(me, null, Se(he.children, (Ge) => (C(), re(Kt, {
22197
22331
  key: Ge.value,
22198
22332
  class: "box-item",
22199
22333
  effect: "dark",
@@ -22202,27 +22336,27 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22202
22336
  "hide-after": 0
22203
22337
  }, {
22204
22338
  content: z(() => [
22205
- w("div", Bk, [
22206
- w("div", Lk, [
22339
+ w("div", Uk, [
22340
+ w("div", Kk, [
22207
22341
  w("img", {
22208
22342
  src: Ge.img
22209
- }, null, 8, Nk)
22343
+ }, null, 8, qk)
22210
22344
  ]),
22211
- w("div", Fk, [
22212
- V[27] || (V[27] = w("div", { class: "name" }, "Trailer Length", -1)),
22213
- w("div", Rk, ee(Ge.length), 1)
22345
+ w("div", Xk, [
22346
+ V[28] || (V[28] = w("div", { class: "name" }, "Trailer Length", -1)),
22347
+ w("div", Jk, ee(Ge.length), 1)
22214
22348
  ]),
22215
- w("div", Hk, [
22216
- V[28] || (V[28] = w("div", { class: "name" }, "Trailer Width", -1)),
22217
- w("div", zk, ee(Ge.width), 1)
22349
+ w("div", _k, [
22350
+ V[29] || (V[29] = w("div", { class: "name" }, "Trailer Width", -1)),
22351
+ w("div", $k, ee(Ge.width), 1)
22218
22352
  ]),
22219
- w("div", Zk, [
22220
- V[29] || (V[29] = w("div", { class: "name" }, "Trailer Height", -1)),
22221
- w("div", Vk, ee(Ge.height), 1)
22353
+ w("div", eC, [
22354
+ V[30] || (V[30] = w("div", { class: "name" }, "Trailer Height", -1)),
22355
+ w("div", tC, ee(Ge.height), 1)
22222
22356
  ]),
22223
- w("div", Yk, [
22224
- V[30] || (V[30] = w("div", { class: "name" }, "Capacity/GVWR", -1)),
22225
- w("div", jk, ee(Ge.capacity), 1)
22357
+ w("div", nC, [
22358
+ V[31] || (V[31] = w("div", { class: "name" }, "Capacity/GVWR", -1)),
22359
+ w("div", oC, ee(Ge.capacity), 1)
22226
22360
  ])
22227
22361
  ])
22228
22362
  ]),
@@ -22232,7 +22366,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22232
22366
  onClick: (ut) => W(Ge)
22233
22367
  }, [
22234
22368
  w("span", null, ee(Ge.label), 1)
22235
- ], 8, Pk)
22369
+ ], 8, Qk)
22236
22370
  ]),
22237
22371
  _: 2
22238
22372
  }, 1024))), 128))
@@ -22250,19 +22384,19 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22250
22384
  D(Pe, {
22251
22385
  label: "Year",
22252
22386
  prop: "make",
22253
- class: K(["custom-label-poosition2 custom-label-poosition6 custom-label-poosition8", { "is-focus": yr.value }])
22387
+ class: K(["custom-label-poosition2 custom-label-poosition8", { "is-focus": yr.value }])
22254
22388
  }, {
22255
22389
  default: z(() => [
22256
22390
  D(de, {
22257
22391
  modelValue: v.value.year,
22258
- "onUpdate:modelValue": V[5] || (V[5] = (he) => v.value.year = he),
22392
+ "onUpdate:modelValue": V[6] || (V[6] = (he) => v.value.year = he),
22259
22393
  modelModifiers: { number: !0 },
22260
22394
  maxlength: 64,
22261
- onFocus: V[6] || (V[6] = (he) => yr.value = !0),
22262
- onBlur: V[7] || (V[7] = (he) => yr.value = !1)
22395
+ onFocus: V[7] || (V[7] = (he) => yr.value = !0),
22396
+ onBlur: V[8] || (V[8] = (he) => yr.value = !1)
22263
22397
  }, {
22264
22398
  suffix: z(() => [
22265
- D(Kt, {
22399
+ D(ot, {
22266
22400
  placement: "bottom-start",
22267
22401
  width: "144",
22268
22402
  trigger: "click",
@@ -22298,7 +22432,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22298
22432
  class: K(["item", { active: v.value.year == he }]),
22299
22433
  key: he,
22300
22434
  onClick: (Ge) => Si(he)
22301
- }, ee(he), 11, Gk))), 128))
22435
+ }, ee(he), 11, rC))), 128))
22302
22436
  ], 544)
22303
22437
  ]),
22304
22438
  _: 1
@@ -22310,153 +22444,40 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22310
22444
  _: 1
22311
22445
  }, 8, ["class"])
22312
22446
  ]),
22313
- D(Pe, {
22314
- label: "Device",
22315
- prop: "deviceId",
22316
- class: "custom-label-position border-top"
22317
- }, {
22318
- default: z(() => [
22319
- D(ot, {
22320
- ref_key: "deviceSelectRef",
22321
- ref: Io,
22322
- trigger: "click",
22323
- "popper-class": "device-dropdown noanimation-dropdown",
22324
- placement: "bottom-start"
22325
- }, {
22326
- dropdown: z(() => [
22327
- w("div", Xk, [
22328
- w("div", Jk, [
22329
- D(de, {
22330
- modelValue: Nn.value,
22331
- "onUpdate:modelValue": V[8] || (V[8] = (he) => Nn.value = he),
22332
- placeholder: "Search",
22333
- class: "auto-table-search",
22334
- size: "large",
22335
- ref_key: "searchDevice",
22336
- ref: Il
22337
- }, {
22338
- prefix: z(() => [
22339
- D(ue, {
22340
- "font-size": "40",
22341
- name: "searchIcon",
22342
- color: "#000"
22343
- })
22344
- ]),
22345
- suffix: z(() => [
22346
- Nn.value ? (C(), re(ue, {
22347
- key: 0,
22348
- class: "clear-icon",
22349
- id: "clear-icon",
22350
- name: "closeIconNew2",
22351
- "font-size": "32",
22352
- onClick: Pf
22353
- })) : te("", !0)
22354
- ]),
22355
- _: 1
22356
- }, 8, ["modelValue"])
22357
- ]),
22358
- w("div", _k, ee(T.value.length) + " Devices in total ", 1),
22359
- w("div", $k, [
22360
- Fn.value.length ? (C(), N("div", eC, [
22361
- (C(!0), N(me, null, Se(Fn.value, (he) => (C(), N("div", {
22362
- key: he.id,
22363
- class: "list-body-one",
22364
- onClick: (Ge) => Rn(he)
22365
- }, [
22366
- D(ue, {
22367
- color: "#000",
22368
- name: "monitorIconCpu",
22369
- "font-size": "24"
22370
- }),
22371
- w("span", null, ee(he.deviceId), 1),
22372
- et(D(ue, {
22373
- name: "filterchecked",
22374
- "font-size": "24"
22375
- }, null, 512), [
22376
- [Ot, he.dId === v.value.deviceId]
22377
- ])
22378
- ], 8, tC))), 128))
22379
- ])) : te("", !0)
22380
- ])
22381
- ])
22382
- ]),
22383
- default: z(() => [
22384
- w("div", Wk, [
22385
- M.value ? (C(), N("div", Uk, [
22386
- w("div", Kk, [
22387
- D(ue, {
22388
- class: "icon",
22389
- name: "monitorIconCpu ",
22390
- "font-size": "24",
22391
- color: "#000"
22392
- }),
22393
- w("div", qk, ee(M.value), 1),
22394
- w("div", {
22395
- class: "remove-icon",
22396
- onClick: xe(na, ["stop"])
22397
- }, [
22398
- D(ue, {
22399
- name: "removeIcon",
22400
- "font-size": "16"
22401
- })
22402
- ])
22403
- ]),
22404
- D(ue, {
22405
- class: "device-arrow icon hover-animation",
22406
- name: "xiajiantou",
22407
- "font-size": "24",
22408
- color: "#000"
22409
- })
22410
- ])) : (C(), N("div", Qk, [
22411
- V[31] || (V[31] = w("span", { class: "empty-style" }, "Select a Device", -1)),
22412
- D(ue, {
22413
- class: "device-arrow icon hover-animation",
22414
- name: "xiajiantou",
22415
- color: "#000",
22416
- "font-size": "24"
22417
- })
22418
- ]))
22419
- ])
22420
- ]),
22421
- _: 1
22422
- }, 512)
22423
- ]),
22424
- _: 1
22425
- })
22426
- ]),
22427
- w("div", nC, [
22428
- D(Pe, {
22429
- label: "Plate Number",
22430
- prop: "licensePlateNumber",
22431
- class: K(["custom-label-poosition2", { "is-focus": Zn.value }])
22432
- }, {
22433
- default: z(() => [
22434
- D(de, {
22435
- modelValue: v.value.licensePlateNumber,
22436
- "onUpdate:modelValue": V[9] || (V[9] = (he) => v.value.licensePlateNumber = he),
22437
- maxlength: 50,
22438
- onFocus: V[10] || (V[10] = (he) => Zn.value = !0),
22439
- onBlur: V[11] || (V[11] = (he) => Zn.value = !1)
22440
- }, null, 8, ["modelValue"])
22441
- ]),
22442
- _: 1
22443
- }, 8, ["class"]),
22444
- D(Pe, {
22445
- label: "VIN/Serial Number",
22446
- prop: "vin",
22447
- class: K(["custom-label-poosition2", { "is-focus": gr.value }])
22448
- }, {
22449
- default: z(() => [
22450
- D(de, {
22451
- modelValue: v.value.vin,
22452
- "onUpdate:modelValue": V[12] || (V[12] = (he) => v.value.vin = he),
22453
- maxlength: 64,
22454
- onFocus: V[13] || (V[13] = (he) => gr.value = !0),
22455
- onBlur: V[14] || (V[14] = (he) => gr.value = !1)
22456
- }, null, 8, ["modelValue"])
22457
- ]),
22458
- _: 1
22459
- }, 8, ["class"])
22447
+ w("div", aC, [
22448
+ D(Pe, {
22449
+ label: "Plate Number",
22450
+ prop: "licensePlateNumber",
22451
+ class: K(["custom-label-poosition2", { "is-focus": Zn.value }])
22452
+ }, {
22453
+ default: z(() => [
22454
+ D(de, {
22455
+ modelValue: v.value.licensePlateNumber,
22456
+ "onUpdate:modelValue": V[9] || (V[9] = (he) => v.value.licensePlateNumber = he),
22457
+ maxlength: 50,
22458
+ onFocus: V[10] || (V[10] = (he) => Zn.value = !0),
22459
+ onBlur: V[11] || (V[11] = (he) => Zn.value = !1)
22460
+ }, null, 8, ["modelValue"])
22461
+ ]),
22462
+ _: 1
22463
+ }, 8, ["class"]),
22464
+ D(Pe, {
22465
+ label: "VIN/Serial Number",
22466
+ prop: "vin",
22467
+ class: K(["custom-label-poosition2", { "is-focus": gr.value }])
22468
+ }, {
22469
+ default: z(() => [
22470
+ D(de, {
22471
+ modelValue: v.value.vin,
22472
+ "onUpdate:modelValue": V[12] || (V[12] = (he) => v.value.vin = he),
22473
+ maxlength: 64,
22474
+ onFocus: V[13] || (V[13] = (he) => gr.value = !0),
22475
+ onBlur: V[14] || (V[14] = (he) => gr.value = !1)
22476
+ }, null, 8, ["modelValue"])
22477
+ ]),
22478
+ _: 1
22479
+ }, 8, ["class"])
22480
+ ])
22460
22481
  ]),
22461
22482
  D(Yn, {
22462
22483
  value: g(We),
@@ -22465,7 +22486,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22465
22486
  "onUpdate:timeZone": V[17] || (V[17] = (he) => we.value = he),
22466
22487
  visible: Ie.value,
22467
22488
  "onUpdate:visible": V[18] || (V[18] = (he) => Ie.value = he),
22468
- showFormat: Ze.value,
22489
+ showFormat: ze.value,
22469
22490
  immediate: !0,
22470
22491
  disableFuntion: Te,
22471
22492
  teleported: !0,
@@ -22485,11 +22506,11 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22485
22506
  ref: Mt
22486
22507
  }, [
22487
22508
  V[32] || (V[32] = w("div", { class: "sub-text" }, "Current device data starts", -1)),
22488
- w("div", oC, [
22489
- w("div", rC, [
22490
- w("span", aC, ee(g(We) ? g(H)(g(We)).tz(Qe(we.value)).format(g(Ss)({})) : ""), 1),
22491
- g(We) ? (C(), N("div", iC, ee(we.value), 1)) : te("", !0),
22492
- w("div", sC, [
22509
+ w("div", iC, [
22510
+ w("div", sC, [
22511
+ w("span", lC, ee(g(We) ? g(H)(g(We)).tz(Qe(we.value)).format(g(Ss)({})) : ""), 1),
22512
+ g(We) ? (C(), N("div", uC, ee(we.value), 1)) : te("", !0),
22513
+ w("div", cC, [
22493
22514
  D(ue, {
22494
22515
  name: "date",
22495
22516
  "font-size": "24",
@@ -22521,17 +22542,17 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22521
22542
  }, {
22522
22543
  default: z(() => [
22523
22544
  w("div", null, [
22524
- w("div", lC, [
22545
+ w("div", dC, [
22525
22546
  V[33] || (V[33] = w("span", null, "Bind to tags", -1)),
22526
- w("span", uC, "(" + ee(v.value.tagContent ? v.value.tagContent.length : 0) + ")", 1)
22547
+ w("span", fC, "(" + ee(v.value.tagContent ? v.value.tagContent.length : 0) + ")", 1)
22527
22548
  ]),
22528
- w("div", cC, [
22549
+ w("div", mC, [
22529
22550
  v.value.tagContent && v.value.tagContent.length ? (C(), N("div", {
22530
22551
  key: 0,
22531
22552
  style: { "margin-top": "16px" },
22532
22553
  class: K({ noMaigin: xi.value })
22533
22554
  }, [
22534
- v.value.tagContent.length > qC ? (C(), N(me, { key: 0 }, [
22555
+ v.value.tagContent.length > _C ? (C(), N(me, { key: 0 }, [
22535
22556
  xi.value ? (C(), N("div", {
22536
22557
  key: 1,
22537
22558
  class: "tag-cell all-elelist",
@@ -22550,7 +22571,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22550
22571
  "font-size": "24",
22551
22572
  class: "icon"
22552
22573
  }),
22553
- w("div", wC, [
22574
+ w("div", CC, [
22554
22575
  D(Tr, {
22555
22576
  class: "tagtxt",
22556
22577
  text: he.name || "-",
@@ -22567,11 +22588,11 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22567
22588
  name: "removeIcon",
22568
22589
  "font-size": "16"
22569
22590
  })
22570
- ], 8, TC)
22571
- ], 40, bC)
22591
+ ], 8, AC)
22592
+ ], 40, kC)
22572
22593
  ]))), 128))
22573
22594
  ], 32)) : (C(), N(me, { key: 0 }, [
22574
- w("div", dC, [
22595
+ w("div", vC, [
22575
22596
  (C(!0), N(me, null, Se(v.value.tagContent.slice(
22576
22597
  0,
22577
22598
  3
@@ -22588,7 +22609,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22588
22609
  "font-size": "24",
22589
22610
  class: "icon"
22590
22611
  }),
22591
- w("div", mC, [
22612
+ w("div", hC, [
22592
22613
  D(Tr, {
22593
22614
  class: "tagtxt",
22594
22615
  text: he.name || "-",
@@ -22605,8 +22626,8 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22605
22626
  name: "removeIcon",
22606
22627
  "font-size": "16"
22607
22628
  })
22608
- ], 8, vC)
22609
- ], 40, fC)
22629
+ ], 8, gC)
22630
+ ], 40, pC)
22610
22631
  ]))), 128))
22611
22632
  ]),
22612
22633
  w("div", {
@@ -22619,7 +22640,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22619
22640
  }),
22620
22641
  w("div", null, " See all " + ee(v.value.tagContent.length) + " Vehicles ", 1)
22621
22642
  ]),
22622
- w("div", pC, [
22643
+ w("div", yC, [
22623
22644
  (C(!0), N(me, null, Se(v.value.tagContent.slice(
22624
22645
  v.value.tagContent.length - (v.value.tagContent.length % 3 ? v.value.tagContent.length % 3 : 3)
22625
22646
  ), (he, Ge) => (C(), N("div", {
@@ -22635,7 +22656,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22635
22656
  "font-size": "24",
22636
22657
  class: "icon"
22637
22658
  }),
22638
- w("div", gC, [
22659
+ w("div", wC, [
22639
22660
  D(Tr, {
22640
22661
  class: "tagtxt",
22641
22662
  text: he.name || "-",
@@ -22652,12 +22673,12 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22652
22673
  name: "removeIcon",
22653
22674
  "font-size": "16"
22654
22675
  })
22655
- ], 8, yC)
22656
- ], 40, hC)
22676
+ ], 8, TC)
22677
+ ], 40, bC)
22657
22678
  ]))), 128))
22658
22679
  ])
22659
22680
  ], 64))
22660
- ], 64)) : (C(), N("div", kC, [
22681
+ ], 64)) : (C(), N("div", MC, [
22661
22682
  (C(!0), N(me, null, Se(v.value.tagContent, (he, Ge) => (C(), N("div", {
22662
22683
  key: he.name
22663
22684
  }, [
@@ -22671,7 +22692,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22671
22692
  "font-size": "24",
22672
22693
  class: "icon"
22673
22694
  }),
22674
- w("div", AC, [
22695
+ w("div", IC, [
22675
22696
  D(Tr, {
22676
22697
  class: "tagtxt",
22677
22698
  text: he.name || "-",
@@ -22688,12 +22709,12 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22688
22709
  name: "removeIcon",
22689
22710
  "font-size": "16"
22690
22711
  })
22691
- ], 8, MC)
22692
- ], 40, CC)
22712
+ ], 8, EC)
22713
+ ], 40, SC)
22693
22714
  ]))), 128))
22694
22715
  ]))
22695
22716
  ], 2)) : te("", !0),
22696
- w("div", SC, [
22717
+ w("div", xC, [
22697
22718
  D(ue, {
22698
22719
  class: "tag-add",
22699
22720
  name: "plus",
@@ -22702,17 +22723,17 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22702
22723
  onClick: Ln
22703
22724
  })
22704
22725
  ]),
22705
- Je.value ? (C(), N("div", IC, [
22706
- w("div", EC, [
22707
- w("div", xC, [
22708
- w("div", OC, [
22726
+ Je.value ? (C(), N("div", OC, [
22727
+ w("div", DC, [
22728
+ w("div", PC, [
22729
+ w("div", BC, [
22709
22730
  D(ue, {
22710
22731
  name: "refreshIcon",
22711
22732
  "font-size": "24"
22712
22733
  })
22713
22734
  ])
22714
22735
  ]),
22715
- w("div", DC, [
22736
+ w("div", LC, [
22716
22737
  D(ue, {
22717
22738
  name: "closeIconNew",
22718
22739
  "font-size": "32",
@@ -22730,7 +22751,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22730
22751
  })
22731
22752
  ])
22732
22753
  ]),
22733
- w("div", PC, [
22754
+ w("div", NC, [
22734
22755
  D(de, {
22735
22756
  modelValue: Y.value,
22736
22757
  "onUpdate:modelValue": V[20] || (V[20] = (he) => Y.value = he),
@@ -22748,8 +22769,8 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22748
22769
  _: 1
22749
22770
  }, 8, ["modelValue"])
22750
22771
  ]),
22751
- Y.value ? te("", !0) : (C(), N("div", BC, [
22752
- w("div", LC, [
22772
+ Y.value ? te("", !0) : (C(), N("div", FC, [
22773
+ w("div", RC, [
22753
22774
  D(ue, {
22754
22775
  class: "icon",
22755
22776
  name: "selectAllIcon",
@@ -22757,7 +22778,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22757
22778
  }),
22758
22779
  V[34] || (V[34] = w("span", null, "Select All", -1))
22759
22780
  ]),
22760
- w("div", NC, [
22781
+ w("div", HC, [
22761
22782
  D(El, {
22762
22783
  modelValue: vr.value,
22763
22784
  "onUpdate:modelValue": V[21] || (V[21] = (he) => vr.value = he),
@@ -22768,12 +22789,12 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22768
22789
  ])
22769
22790
  ])),
22770
22791
  V[36] || (V[36] = w("div", { class: "fengexian" }, null, -1)),
22771
- w("div", FC, [
22792
+ w("div", zC, [
22772
22793
  (C(!0), N(me, null, Se(g(P), (he) => (C(), N(me, {
22773
22794
  key: he.name
22774
22795
  }, [
22775
- he.isShow ? (C(), N("div", RC, [
22776
- w("div", HC, [
22796
+ he.isShow ? (C(), N("div", ZC, [
22797
+ w("div", VC, [
22777
22798
  D(ue, {
22778
22799
  name: "tagIcon",
22779
22800
  "font-size": "24"
@@ -22791,9 +22812,9 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22791
22812
  "max-lines": 1,
22792
22813
  autoResize: !0
22793
22814
  }, null, 8, ["text"])
22794
- ], 40, zC)
22815
+ ], 40, YC)
22795
22816
  ]),
22796
- w("div", ZC, [
22817
+ w("div", jC, [
22797
22818
  D(ue, {
22798
22819
  class: "jump-icon",
22799
22820
  name: "jumpIcon",
@@ -22849,14 +22870,14 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22849
22870
  }),
22850
22871
  Tn.value.length ? (C(), re(Pe, { key: 0 }, {
22851
22872
  default: z(() => [
22852
- w("div", VC, [
22873
+ w("div", GC, [
22853
22874
  V[38] || (V[38] = w("div", { class: "title" }, "History", -1)),
22854
- w("div", YC, [
22875
+ w("div", WC, [
22855
22876
  (C(!0), N(me, null, Se(Tn.value, (he, Ge) => (C(), N("div", {
22856
22877
  key: Ge,
22857
22878
  class: "bound-year"
22858
22879
  }, [
22859
- w("div", jC, ee(he), 1),
22880
+ w("div", QC, ee(he), 1),
22860
22881
  (C(!0), N(me, null, Se(zn.value[he], (ut, Me) => (C(), N("div", {
22861
22882
  key: Me,
22862
22883
  index: Me,
@@ -22865,21 +22886,21 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22865
22886
  w("div", {
22866
22887
  class: K(["left", "left" + Me % 4])
22867
22888
  }, null, 2),
22868
- w("div", WC, [
22889
+ w("div", KC, [
22869
22890
  w("div", null, ee(ut.endTime || "To future"), 1),
22870
22891
  w("div", null, ee(ut.startTime), 1)
22871
22892
  ]),
22872
- w("div", QC, [
22893
+ w("div", qC, [
22873
22894
  ut.userPackageId ? (C(), N(me, { key: 0 }, [
22874
22895
  D(ue, {
22875
22896
  name: "monitorIconCpu ",
22876
22897
  "font-size": "24"
22877
22898
  }),
22878
22899
  w("span", null, ee(ut.userPackageId), 1),
22879
- ut.endTime ? te("", !0) : (C(), N("div", UC, " Current "))
22880
- ], 64)) : (C(), N("div", KC, "No data"))
22900
+ ut.endTime ? te("", !0) : (C(), N("div", XC, " Current "))
22901
+ ], 64)) : (C(), N("div", JC, "No data"))
22881
22902
  ])
22882
- ], 8, GC))), 128))
22903
+ ], 8, UC))), 128))
22883
22904
  ]))), 128))
22884
22905
  ])
22885
22906
  ])
@@ -22897,7 +22918,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22897
22918
  ]),
22898
22919
  _: 1
22899
22920
  }, 8, ["modelValue", "title"]),
22900
- D(He, {
22921
+ D(Kt, {
22901
22922
  ref_key: "tooltipRef",
22902
22923
  ref: aa,
22903
22924
  visible: oo.value,
@@ -22926,7 +22947,7 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22926
22947
  ], 64);
22927
22948
  };
22928
22949
  }
22929
- }), JC = /* @__PURE__ */ pt(XC, [["__scopeId", "data-v-70e52186"]]), _C = { key: 0 }, $C = ["xlink:href"], eA = /* @__PURE__ */ oe({
22950
+ }), eA = /* @__PURE__ */ pt($C, [["__scopeId", "data-v-0a636f83"]]), tA = { key: 0 }, nA = ["xlink:href"], oA = /* @__PURE__ */ oe({
22930
22951
  __name: "svg-icon",
22931
22952
  props: {
22932
22953
  prefix: { default: "any-icon" },
@@ -22942,14 +22963,14 @@ const rk = { class: "padding-form" }, ak = { class: "assetType-device" }, ik = {
22942
22963
  class: "svg-icon",
22943
22964
  style: je({ color: o.color, fontSize: o.fontSize + "px" })
22944
22965
  }, [
22945
- o.title ? (C(), N("title", _C, ee(o.title), 1)) : te("", !0),
22966
+ o.title ? (C(), N("title", tA, ee(o.title), 1)) : te("", !0),
22946
22967
  w("use", {
22947
22968
  "xlink:href": n.value,
22948
22969
  rel: "external nofollow"
22949
- }, null, 8, $C)
22970
+ }, null, 8, nA)
22950
22971
  ], 4));
22951
22972
  }
22952
- }), tA = /* @__PURE__ */ pt(eA, [["__scopeId", "data-v-52bc6b46"]]);
22973
+ }), rA = /* @__PURE__ */ pt(oA, [["__scopeId", "data-v-52bc6b46"]]);
22953
22974
  if (typeof window < "u") {
22954
22975
  let e = function() {
22955
22976
  var t = document.body, n = document.getElementById("__any__svg__icons__dom__");
@@ -22957,11 +22978,11 @@ if (typeof window < "u") {
22957
22978
  };
22958
22979
  document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", e) : e();
22959
22980
  }
22960
- const oA = {
22981
+ const iA = {
22961
22982
  install(e) {
22962
- e.component("anSvgIcon", tA), e.component("anytrekTimerangePick", a7), e.component("anytrekTimePick", C7), e.component("vehicleSelect", WT), e.component("addOrEditVehicle", JC);
22983
+ e.component("anSvgIcon", rA), e.component("anytrekTimerangePick", a7), e.component("anytrekTimePick", C7), e.component("vehicleSelect", WT), e.component("addOrEditVehicle", eA);
22963
22984
  }
22964
22985
  };
22965
22986
  export {
22966
- oA as default
22987
+ iA as default
22967
22988
  };