anytrek-front-public-component 1.12.31 → 1.12.32
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/anytrek-front-public-component.mjs +116 -115
- package/anytrek-front-public-component.umd.js +7 -7
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -13,10 +13,10 @@ import __asset_Sv from "./assets/AI/AI_equipment.js";
|
|
|
13
13
|
import __asset_Lv from "./assets/AI/AI_securement.js";
|
|
14
14
|
import __asset_Yv from "./assets/AI/AI_status_1.js";
|
|
15
15
|
import __asset_Fv from "./assets/AI/AI_status_2.js";
|
|
16
|
-
import {
|
|
16
|
+
import { ElPopover as Ha, ElScrollbar as Do, ElMessage as Hn, ElTooltip as ao, ElImage as wl, ElCheckbox as Fo, ElInput as oo, ElLoadingDirective as Go, ElDrawer as tl, ElForm as al, ElFormItem as ol, ElInputNumber as on, ElDropdown as yl, ElDialog as xn, ElButton as xo, ElDropdownMenu as ln, ElDropdownItem as nn, ElRadioGroup as sn, ElRadio as rn, ElSelect as Sn, ElOption as Ln, ElDivider as cn, ElSwitch as Yn, ElAvatar as Fn, ElUpload as Gn } from "element-plus/es";
|
|
17
17
|
import "element-plus/es/components/base/style/css";
|
|
18
18
|
import "element-plus/es/components/popover/style/css";
|
|
19
|
-
import { defineComponent as Pt, computed as ve,
|
|
19
|
+
import { defineComponent as Pt, computed as ve, createElementBlock as m, openBlock as l, normalizeStyle as Et, createCommentVNode as K, createElementVNode as t, toDisplayString as h, toRef as On, watch as Qe, toRefs as Da, ref as c, onMounted as Ca, createBlock as re, withCtx as b, createVNode as r, unref as s, Fragment as me, renderList as Ve, normalizeClass as ke, renderSlot as Ut, nextTick as Nt, inject as Wo, provide as Xa, onBeforeMount as zn, resolveComponent as ea, mergeProps as dn, createTextVNode as Ct, withModifiers as _e, withDirectives as Kt, vShow as ua, onBeforeUnmount as Bl, watchEffect as un, isRef as zl, createSlots as Nn, useCssVars as Rn, Teleport as jn, reactive as Vn, onUnmounted as Zn } from "vue";
|
|
20
20
|
import "element-plus/es/components/scrollbar/style/css";
|
|
21
21
|
import { useI18n as Nl } from "vue-i18n";
|
|
22
22
|
import T from "dayjs";
|
|
@@ -34,7 +34,7 @@ import { GoogleMap as Il, Polygon as Un, CustomControl as Kn, CustomMarker as Jn
|
|
|
34
34
|
import { createPinia as Wn, defineStore as qn, storeToRefs as kl } from "pinia";
|
|
35
35
|
import "element-plus/es/components/message/style/css";
|
|
36
36
|
import "element-plus/es/components/checkbox/style/css";
|
|
37
|
-
import { ClickOutside as hl,
|
|
37
|
+
import { ClickOutside as hl, ElInput as za, ElButton as Po, ElMessageBox as bo } from "element-plus";
|
|
38
38
|
import "element-plus/es/components/dialog/style/css";
|
|
39
39
|
import "element-plus/es/components/drawer/style/css";
|
|
40
40
|
import "element-plus/es/components/form/style/css";
|
|
@@ -2217,7 +2217,7 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
2217
2217
|
function R() {
|
|
2218
2218
|
w.value = +T().tz(Y()).format("YYYY"), S.value = +T().tz(Y()).format("MM");
|
|
2219
2219
|
const ge = T().set("year", w.value).set("month", S.value - 1).set("date", 15).set("hour", 12).subtract(1, "month");
|
|
2220
|
-
C.value = Number(ge.format("YYYY")), X.value = Number(ge.format("MM")), Ee.value = T().tz(Y()).format("YYYY-MM-DD"), ee.value = T().tz(Y()).format("YYYY-MM-DD"), ot.value = "00:00",
|
|
2220
|
+
C.value = Number(ge.format("YYYY")), X.value = Number(ge.format("MM")), Ee.value = T().tz(Y()).format("YYYY-MM-DD"), ee.value = T().tz(Y()).format("YYYY-MM-DD"), ot.value = "00:00", et.value = "23:59", i("setCustom");
|
|
2221
2221
|
}
|
|
2222
2222
|
const C = c(2024), X = c(1), w = c(2024), S = c(2), y = c([]), z = c([]);
|
|
2223
2223
|
Xa("allYearList", z);
|
|
@@ -2411,7 +2411,7 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
2411
2411
|
const Ne = T(`${Ee.value} ${ge}`, "YYYY-MM-DD HH:mm").tz(Y(), !0).utc().format(o.valueFormat);
|
|
2412
2412
|
i("update:startTime", Ne), i("setCustom");
|
|
2413
2413
|
}
|
|
2414
|
-
}),
|
|
2414
|
+
}), et = ve({
|
|
2415
2415
|
get() {
|
|
2416
2416
|
return o.endTime ? (o.valueFormat ? T(o.endTime, o.valueFormat).utc(!0).tz(Y()) : T(o.endTime).tz(Y())).format("HH:mm") : "23:59";
|
|
2417
2417
|
},
|
|
@@ -2586,8 +2586,8 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
2586
2586
|
t("span", Ji, h(ze.value), 1),
|
|
2587
2587
|
P.value ? (l(), re(pl, {
|
|
2588
2588
|
key: 0,
|
|
2589
|
-
"start-time":
|
|
2590
|
-
"onUpdate:startTime": Ne[6] || (Ne[6] = (xe) =>
|
|
2589
|
+
"start-time": et.value,
|
|
2590
|
+
"onUpdate:startTime": Ne[6] || (Ne[6] = (xe) => et.value = xe),
|
|
2591
2591
|
disabled: Ft.value || !ee.value,
|
|
2592
2592
|
disableHourFuntion: e.disableHourFuntion,
|
|
2593
2593
|
disableMinuteFuntion: e.disableMinuteFuntion,
|
|
@@ -2596,7 +2596,7 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
2596
2596
|
}, {
|
|
2597
2597
|
default: b(() => [
|
|
2598
2598
|
t("div", Xi, [
|
|
2599
|
-
t("span", null, h(
|
|
2599
|
+
t("span", null, h(et.value), 1),
|
|
2600
2600
|
r(Ke, {
|
|
2601
2601
|
name: "arrow-icon",
|
|
2602
2602
|
color: "#000"
|
|
@@ -2960,8 +2960,8 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
2960
2960
|
});
|
|
2961
2961
|
});
|
|
2962
2962
|
const w = ve(() => (pe) => O.value.length ? pe === R.value : !1), S = (pe, Be, ze, ot) => {
|
|
2963
|
-
const
|
|
2964
|
-
return
|
|
2963
|
+
const et = Be.find((Bt) => Bt[ze] === pe);
|
|
2964
|
+
return et ? et[ot] : pe;
|
|
2965
2965
|
};
|
|
2966
2966
|
function y(pe, Be) {
|
|
2967
2967
|
switch (Be) {
|
|
@@ -2992,15 +2992,15 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
2992
2992
|
(pe, Be) => {
|
|
2993
2993
|
if (pe.timeZone !== (Be == null ? void 0 : Be.timeZone)) {
|
|
2994
2994
|
const ze = o.timeZone ? T().tz(ce(o.timeZone)).format("z") : T().format("z");
|
|
2995
|
-
z.value.some((
|
|
2995
|
+
z.value.some((et) => et.value === ze) || o.timeZone && !z.value.some((et) => et.value === o.timeZone) && z.value.push({
|
|
2996
2996
|
value: o.timeZone,
|
|
2997
2997
|
label: o.timeZone.indexOf("/") !== -1 ? o.timeZone.split("/")[1] : o.timeZone
|
|
2998
2998
|
});
|
|
2999
2999
|
const ot = T.tz.guess();
|
|
3000
|
-
o.needNowTimeZone && !z.value.some((
|
|
3000
|
+
o.needNowTimeZone && !z.value.some((et) => et.value === ot) && z.value.push({
|
|
3001
3001
|
value: ot,
|
|
3002
3002
|
label: ot.indexOf("/") !== -1 ? ot.split("/")[1] : ot
|
|
3003
|
-
}), f.value ? o.timeZoneList.some((
|
|
3003
|
+
}), f.value ? o.timeZoneList.some((et) => et.value === ze) ? ae.value = ze : ae.value = f.value : o.timeZoneList.some((et) => et.value === ze) ? ae.value = ze : ae.value = o.needNowTimeZone ? ot : "PST";
|
|
3004
3004
|
}
|
|
3005
3005
|
F.value = i.value ? i.value : F.value, E.value = G.value ? G.value : E.value, u.value = U.value ? U.value : u.value, H.value = x.value ? x.value : H.value;
|
|
3006
3006
|
try {
|
|
@@ -3010,15 +3010,15 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
3010
3010
|
const ze = ce(Q.value);
|
|
3011
3011
|
let ot = "";
|
|
3012
3012
|
G.value === "quarter" ? ot = T().tz(ze).subtract(Number(pe.value) * 3, "month").format("YYYY-MM-DD HH:mm") : ot = T().tz(ze).subtract(Number(pe.value), G.value).format("YYYY-MM-DD HH:mm");
|
|
3013
|
-
let
|
|
3013
|
+
let et = T().tz(ze).format("YYYY-MM-DD HH:mm");
|
|
3014
3014
|
if (!o.isLast && G.value !== "hour")
|
|
3015
3015
|
if (G.value === "quarter") {
|
|
3016
3016
|
const Ne = Number(T().tz(ze).format("MM")), Ke = Te(Ne);
|
|
3017
|
-
ot = T().tz(ze).set("month", Ke - 1).startOf("month").format("YYYY-MM-DD HH:mm"),
|
|
3017
|
+
ot = T().tz(ze).set("month", Ke - 1).startOf("month").format("YYYY-MM-DD HH:mm"), et = T().tz(ze).set("month", Ke + 1).endOf("month").format("YYYY-MM-DD HH:mm");
|
|
3018
3018
|
} else
|
|
3019
|
-
ot = T().tz(ze).startOf(G.value).format("YYYY-MM-DD HH:mm"),
|
|
3020
|
-
let Bt = T(ot, "YYYY-MM-DD HH:mm").tz(ze, !0).utc().format(o.valueFormat), ge = T(
|
|
3021
|
-
ne.value || (Bt = T(ot, "YYYY-MM-DD HH:mm").tz(ze, !0).format(o.valueFormat), ge = T(
|
|
3019
|
+
ot = T().tz(ze).startOf(G.value).format("YYYY-MM-DD HH:mm"), et = T().tz(ze).endOf(G.value).format("YYYY-MM-DD HH:mm");
|
|
3020
|
+
let Bt = T(ot, "YYYY-MM-DD HH:mm").tz(ze, !0).utc().format(o.valueFormat), ge = T(et, "YYYY-MM-DD HH:mm").tz(ze, !0).utc().format(o.valueFormat);
|
|
3021
|
+
ne.value || (Bt = T(ot, "YYYY-MM-DD HH:mm").tz(ze, !0).format(o.valueFormat), ge = T(et, "YYYY-MM-DD HH:mm").tz(ze, !0).format(o.valueFormat)), u.value = Bt, H.value = ge, P("change", Bt, ge, ae.value, [Bt, ge]);
|
|
3022
3022
|
}
|
|
3023
3023
|
} catch {
|
|
3024
3024
|
}
|
|
@@ -3090,15 +3090,15 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
3090
3090
|
const ze = ce(Q.value);
|
|
3091
3091
|
let ot = "";
|
|
3092
3092
|
Be === "quarter" ? ot = T().tz(ze).subtract(pe * 3, "month").format("YYYY-MM-DD HH:mm") : ot = T().tz(ze).subtract(pe, Be).format("YYYY-MM-DD HH:mm");
|
|
3093
|
-
let
|
|
3093
|
+
let et = T().tz(ze).format("YYYY-MM-DD HH:mm");
|
|
3094
3094
|
if (!o.isLast && Be !== "hour")
|
|
3095
3095
|
if (Be === "quarter") {
|
|
3096
3096
|
const Ne = Number(T().tz(ze).format("MM")), Ke = Te(Ne);
|
|
3097
|
-
ot = T().tz(ze).set("month", Ke - 1).startOf("month").format("YYYY-MM-DD HH:mm"),
|
|
3097
|
+
ot = T().tz(ze).set("month", Ke - 1).startOf("month").format("YYYY-MM-DD HH:mm"), et = T().tz(ze).set("month", Ke + 1).endOf("month").format("YYYY-MM-DD HH:mm");
|
|
3098
3098
|
} else
|
|
3099
|
-
ot = T().tz(ze).startOf(Be).format("YYYY-MM-DD HH:mm"),
|
|
3100
|
-
let Bt = T(ot, "YYYY-MM-DD HH:mm").tz(ze, !0).utc().format(o.valueFormat), ge = T(
|
|
3101
|
-
if (ne.value || (Bt = T(ot, "YYYY-MM-DD HH:mm").tz(ze, !0).format(o.valueFormat), ge = T(
|
|
3099
|
+
ot = T().tz(ze).startOf(Be).format("YYYY-MM-DD HH:mm"), et = T().tz(ze).endOf(Be).format("YYYY-MM-DD HH:mm");
|
|
3100
|
+
let Bt = T(ot, "YYYY-MM-DD HH:mm").tz(ze, !0).utc().format(o.valueFormat), ge = T(et, "YYYY-MM-DD HH:mm").tz(ze, !0).utc().format(o.valueFormat);
|
|
3101
|
+
if (ne.value || (Bt = T(ot, "YYYY-MM-DD HH:mm").tz(ze, !0).format(o.valueFormat), ge = T(et, "YYYY-MM-DD HH:mm").tz(ze, !0).format(o.valueFormat)), F.value = pe, E.value = Be, u.value = Bt, H.value = ge, ae.value = Q.value, P("update:value", pe), P("update:valueType", Be), P("update:startTime", Bt), P("update:endTime", ge), P("update:timeZone", Q.value), X || (N.value = !1), de.value = "", Fe.value = "", Oe.value = "", Ue.value = "", X && !o.immediate) {
|
|
3102
3102
|
X = !1;
|
|
3103
3103
|
return;
|
|
3104
3104
|
}
|
|
@@ -3108,8 +3108,8 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
3108
3108
|
const ze = ce(pe), ot = ce(Be);
|
|
3109
3109
|
if (!ne.value || !se.value)
|
|
3110
3110
|
return;
|
|
3111
|
-
const
|
|
3112
|
-
se.value = T(
|
|
3111
|
+
const et = (o.valueFormat ? T(se.value, o.valueFormat).utc(!0).tz(ot) : T(se.value).tz(ot)).format("YYYY-MM-DD HH:mm"), Bt = (o.valueFormat ? T(W.value, o.valueFormat).utc(!0).tz(ot) : T(W.value).tz(ot)).format("YYYY-MM-DD HH:mm");
|
|
3112
|
+
se.value = T(et, "YYYY-MM-DD HH:mm").tz(ze, !0).utc().format(o.valueFormat), W.value = T(Bt, "YYYY-MM-DD HH:mm").tz(ze, !0).utc().format(o.valueFormat), de.value = "", Fe.value = "", Oe.value = "", Ue.value = "";
|
|
3113
3113
|
}
|
|
3114
3114
|
const de = c(""), Fe = c(""), Oe = c(""), Ue = c(""), rt = c(!1);
|
|
3115
3115
|
let St = 0;
|
|
@@ -3176,7 +3176,7 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
3176
3176
|
trigger: "click",
|
|
3177
3177
|
"popper-options": C.value,
|
|
3178
3178
|
visible: N.value,
|
|
3179
|
-
"onUpdate:visible": Be[5] || (Be[5] = (
|
|
3179
|
+
"onUpdate:visible": Be[5] || (Be[5] = (et) => N.value = et),
|
|
3180
3180
|
disabled: e.disabled || !!s(O).length,
|
|
3181
3181
|
"hide-after": 0,
|
|
3182
3182
|
teleported: e.teleported,
|
|
@@ -3236,20 +3236,20 @@ const si = { class: "choose-time-content" }, ri = { class: "choose-time-body" },
|
|
|
3236
3236
|
N.value ? (l(), re(ns, dn({ key: 0 }, pe.$props, {
|
|
3237
3237
|
onQuickChoose: Ee,
|
|
3238
3238
|
startTime: se.value,
|
|
3239
|
-
"onUpdate:startTime": Be[0] || (Be[0] = (
|
|
3239
|
+
"onUpdate:startTime": Be[0] || (Be[0] = (et) => se.value = et),
|
|
3240
3240
|
endTime: W.value,
|
|
3241
|
-
"onUpdate:endTime": Be[1] || (Be[1] = (
|
|
3241
|
+
"onUpdate:endTime": Be[1] || (Be[1] = (et) => W.value = et),
|
|
3242
3242
|
timeZone: Q.value,
|
|
3243
|
-
"onUpdate:timeZone": Be[2] || (Be[2] = (
|
|
3243
|
+
"onUpdate:timeZone": Be[2] || (Be[2] = (et) => Q.value = et),
|
|
3244
3244
|
value: B.value,
|
|
3245
|
-
"onUpdate:value": Be[3] || (Be[3] = (
|
|
3245
|
+
"onUpdate:value": Be[3] || (Be[3] = (et) => B.value = et),
|
|
3246
3246
|
popperOptions: C.value,
|
|
3247
3247
|
timeZoneList: z.value,
|
|
3248
3248
|
disableDayFuntion: e.disableDayFuntion,
|
|
3249
3249
|
onCancel: Ft,
|
|
3250
3250
|
onConfirm: oa,
|
|
3251
3251
|
onChangeNowTimeZone: ee,
|
|
3252
|
-
onSetCustom: Be[4] || (Be[4] = (
|
|
3252
|
+
onSetCustom: Be[4] || (Be[4] = (et) => B.value = "custom"),
|
|
3253
3253
|
disableHourFuntion: e.disableHourFuntion,
|
|
3254
3254
|
disableMinuteFuntion: e.disableMinuteFuntion,
|
|
3255
3255
|
showTimeZoneChoose: e.showTimeZoneChoose,
|
|
@@ -6566,7 +6566,7 @@ const Bo = Wa(Tl), Zl = (e = 0, v = !0, n = 0) => {
|
|
|
6566
6566
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6567
6567
|
};
|
|
6568
6568
|
function gr(e, v) {
|
|
6569
|
-
return l(), m("svg", fr, v[0] || (v[0] = [
|
|
6569
|
+
return l(), m("svg", fr, [...v[0] || (v[0] = [
|
|
6570
6570
|
t("rect", {
|
|
6571
6571
|
x: "2.68359",
|
|
6572
6572
|
y: "2.68359",
|
|
@@ -6582,7 +6582,7 @@ function gr(e, v) {
|
|
|
6582
6582
|
"stroke-width": "1.5",
|
|
6583
6583
|
"stroke-linecap": "round"
|
|
6584
6584
|
}, null, -1)
|
|
6585
|
-
]));
|
|
6585
|
+
])]);
|
|
6586
6586
|
}
|
|
6587
6587
|
const Jl = /* @__PURE__ */ wt(vr, [["render", gr]]), hr = {}, pr = {
|
|
6588
6588
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6592,12 +6592,12 @@ const Jl = /* @__PURE__ */ wt(vr, [["render", gr]]), hr = {}, pr = {
|
|
|
6592
6592
|
fill: "none"
|
|
6593
6593
|
};
|
|
6594
6594
|
function Cr(e, v) {
|
|
6595
|
-
return l(), m("svg", pr, v[0] || (v[0] = [
|
|
6595
|
+
return l(), m("svg", pr, [...v[0] || (v[0] = [
|
|
6596
6596
|
t("path", {
|
|
6597
6597
|
d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z",
|
|
6598
6598
|
fill: "#F79009"
|
|
6599
6599
|
}, null, -1)
|
|
6600
|
-
]));
|
|
6600
|
+
])]);
|
|
6601
6601
|
}
|
|
6602
6602
|
const Xl = /* @__PURE__ */ wt(hr, [["render", Cr]]), wr = {}, yr = {
|
|
6603
6603
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6607,12 +6607,12 @@ const Xl = /* @__PURE__ */ wt(hr, [["render", Cr]]), wr = {}, yr = {
|
|
|
6607
6607
|
fill: "none"
|
|
6608
6608
|
};
|
|
6609
6609
|
function Br(e, v) {
|
|
6610
|
-
return l(), m("svg", yr, v[0] || (v[0] = [
|
|
6610
|
+
return l(), m("svg", yr, [...v[0] || (v[0] = [
|
|
6611
6611
|
t("path", {
|
|
6612
6612
|
d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z",
|
|
6613
6613
|
fill: "#0086C9"
|
|
6614
6614
|
}, null, -1)
|
|
6615
|
-
]));
|
|
6615
|
+
])]);
|
|
6616
6616
|
}
|
|
6617
6617
|
const Wl = /* @__PURE__ */ wt(wr, [["render", Br]]), Dr = {}, Ir = {
|
|
6618
6618
|
width: "32",
|
|
@@ -6622,7 +6622,7 @@ const Wl = /* @__PURE__ */ wt(wr, [["render", Br]]), Dr = {}, Ir = {
|
|
|
6622
6622
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6623
6623
|
};
|
|
6624
6624
|
function kr(e, v) {
|
|
6625
|
-
return l(), m("svg", Ir, v[0] || (v[0] = [
|
|
6625
|
+
return l(), m("svg", Ir, [...v[0] || (v[0] = [
|
|
6626
6626
|
t("rect", {
|
|
6627
6627
|
x: "2.68359",
|
|
6628
6628
|
y: "2.68359",
|
|
@@ -6638,7 +6638,7 @@ function kr(e, v) {
|
|
|
6638
6638
|
"stroke-width": "1.5",
|
|
6639
6639
|
"stroke-linecap": "round"
|
|
6640
6640
|
}, null, -1)
|
|
6641
|
-
]));
|
|
6641
|
+
])]);
|
|
6642
6642
|
}
|
|
6643
6643
|
const ql = /* @__PURE__ */ wt(Dr, [["render", kr]]);
|
|
6644
6644
|
function So() {
|
|
@@ -8258,7 +8258,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8258
8258
|
return _(Ue.value, M), M;
|
|
8259
8259
|
}), ft = c({}), Ft = c([]), oa = c([]), jt = c([]), la = c(0);
|
|
8260
8260
|
async function ta() {
|
|
8261
|
-
var We, aa,
|
|
8261
|
+
var We, aa, $e, Lt, va, ka;
|
|
8262
8262
|
if (console.time("getOneVehicleTripTest1"), console.log(f.data), localStorage.getItem("vehicleChooseStorage"))
|
|
8263
8263
|
try {
|
|
8264
8264
|
const It = JSON.parse(localStorage.getItem("vehicleChooseStorage") || "");
|
|
@@ -8267,7 +8267,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8267
8267
|
C.value = {};
|
|
8268
8268
|
}
|
|
8269
8269
|
let M = f.data.deviceStatusList || [], _ = f.data.vehicleDeviceList || [], k = f.data.deviceList || [], I = f.data.vehicleList || [], he = f.data.landmarkDeviceList || [];
|
|
8270
|
-
(
|
|
8270
|
+
($e = f.data.relationDeviceList) != null && $e.length && (M = [], _ = [], k = [], I = [], he = [], f.data.relationDeviceList.map((It) => {
|
|
8271
8271
|
var so, To, Ka;
|
|
8272
8272
|
(so = It.bindVehicle) != null && so.id && (I.push({
|
|
8273
8273
|
...It.bindVehicle
|
|
@@ -8363,7 +8363,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8363
8363
|
}
|
|
8364
8364
|
function Be(M, _) {
|
|
8365
8365
|
var I, he;
|
|
8366
|
-
M.isClose = !0, (M.name + "").replace(/\s+/g, " ").trim().toLocaleLowerCase().includes(_.trim().replace(/\s+/g, " ").toLocaleLowerCase()) && (
|
|
8366
|
+
M.isClose = !0, (M.name + "").replace(/\s+/g, " ").trim().toLocaleLowerCase().includes(_.trim().replace(/\s+/g, " ").toLocaleLowerCase()) && (et.value.id || (et.value = M));
|
|
8367
8367
|
let k = !1;
|
|
8368
8368
|
return (I = M.children) != null && I.length && M.children.map((Ie) => {
|
|
8369
8369
|
const be = Be(Ie, _);
|
|
@@ -8376,17 +8376,17 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8376
8376
|
;
|
|
8377
8377
|
return k;
|
|
8378
8378
|
}
|
|
8379
|
-
const ot = c(""),
|
|
8379
|
+
const ot = c(""), et = c({}), Bt = c();
|
|
8380
8380
|
Qe(() => ot.value, Yo((M) => {
|
|
8381
|
-
if (
|
|
8381
|
+
if (et.value = {}, jt.value.map((_) => {
|
|
8382
8382
|
_.isClose = !Be(_, M);
|
|
8383
|
-
}),
|
|
8383
|
+
}), !et.value.name) {
|
|
8384
8384
|
Bt.value.setScrollTop(0);
|
|
8385
8385
|
return;
|
|
8386
8386
|
}
|
|
8387
8387
|
Bt.value.update(), Nt(() => {
|
|
8388
8388
|
try {
|
|
8389
|
-
const _ = Bt.value.wrapRef.children[0].children[0], k = document.getElementById(`${
|
|
8389
|
+
const _ = Bt.value.wrapRef.children[0].children[0], k = document.getElementById(`${et.value.itemId}_tag`), I = ze(k, _);
|
|
8390
8390
|
Bt.value.setScrollTop(I);
|
|
8391
8391
|
} catch {
|
|
8392
8392
|
Bt.value.setScrollTop(0);
|
|
@@ -8478,8 +8478,8 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8478
8478
|
break;
|
|
8479
8479
|
case "battery":
|
|
8480
8480
|
M.sort((k, I) => {
|
|
8481
|
-
var he, Ie, be, $, Ye, We, aa,
|
|
8482
|
-
return (he = I == null ? void 0 : I.deviceOne) != null && he.locationReportTime ? (Ie = k == null ? void 0 : k.deviceOne) != null && Ie.locationReportTime ? ((be = I == null ? void 0 : I.deviceOne) == null ? void 0 : be.modelId) === 62 ? -1 : (($ = k == null ? void 0 : k.deviceOne) == null ? void 0 : $.modelId) === 62 ? 1 : Se(k.deviceOne || {}) === "normal-li" && Se(I.deviceOne || {}) !== "normal-li" ? -1 : Se(k.deviceOne || {}) !== "normal-li" && Se(I.deviceOne || {}) === "normal-li" ? 1 : (Ye = I == null ? void 0 : I.deviceOne) != null && Ye.trackerStatus && ((We = k == null ? void 0 : k.deviceOne) != null && We.trackerStatus) ? ((aa = I == null ? void 0 : I.deviceOne) == null ? void 0 : aa.trackerStatus) > ((
|
|
8481
|
+
var he, Ie, be, $, Ye, We, aa, $e, Lt, va, ka, It;
|
|
8482
|
+
return (he = I == null ? void 0 : I.deviceOne) != null && he.locationReportTime ? (Ie = k == null ? void 0 : k.deviceOne) != null && Ie.locationReportTime ? ((be = I == null ? void 0 : I.deviceOne) == null ? void 0 : be.modelId) === 62 ? -1 : (($ = k == null ? void 0 : k.deviceOne) == null ? void 0 : $.modelId) === 62 ? 1 : Se(k.deviceOne || {}) === "normal-li" && Se(I.deviceOne || {}) !== "normal-li" ? -1 : Se(k.deviceOne || {}) !== "normal-li" && Se(I.deviceOne || {}) === "normal-li" ? 1 : (Ye = I == null ? void 0 : I.deviceOne) != null && Ye.trackerStatus && ((We = k == null ? void 0 : k.deviceOne) != null && We.trackerStatus) ? ((aa = I == null ? void 0 : I.deviceOne) == null ? void 0 : aa.trackerStatus) > (($e = k == null ? void 0 : k.deviceOne) == null ? void 0 : $e.trackerStatus) ? 1 : -1 : (Lt = I == null ? void 0 : I.deviceOne) != null && Lt.locationReportTime && ((va = k == null ? void 0 : k.deviceOne) != null && va.locationReportTime) ? ((ka = I == null ? void 0 : I.deviceOne) == null ? void 0 : ka.locationReportTime) > ((It = k == null ? void 0 : k.deviceOne) == null ? void 0 : It.locationReportTime) ? 1 : -1 : 0 : 1 : -1;
|
|
8483
8483
|
});
|
|
8484
8484
|
break;
|
|
8485
8485
|
}
|
|
@@ -8534,7 +8534,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8534
8534
|
if (M && !I) {
|
|
8535
8535
|
if ((be.tagList || []).some((Lt) => Lt.id === k.id) && be.isNotHiddren)
|
|
8536
8536
|
return !0;
|
|
8537
|
-
} else if ((M && I || !M) && (be.tagList || []).some((
|
|
8537
|
+
} else if ((M && I || !M) && (be.tagList || []).some(($e) => $e.id === k.id))
|
|
8538
8538
|
try {
|
|
8539
8539
|
if (P.value.length && !P.value.includes((($ = be.deviceOne) == null ? void 0 : $.modelId) || be.modelId))
|
|
8540
8540
|
throw { xxx: "xxx" };
|
|
@@ -8577,7 +8577,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8577
8577
|
M.replace(/\s+/g, " ").trim().toLocaleLowerCase()
|
|
8578
8578
|
) ? he = !0 : he = !1);
|
|
8579
8579
|
const Ie = ue.value.some(($) => $ === I.id), be = kt.value.filter(($) => {
|
|
8580
|
-
var Ye, We, aa,
|
|
8580
|
+
var Ye, We, aa, $e;
|
|
8581
8581
|
if (M && !he) {
|
|
8582
8582
|
if (($.landmarkList || []).some((va) => va.id === I.id) && $.isNotHiddren)
|
|
8583
8583
|
return !0;
|
|
@@ -8585,7 +8585,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8585
8585
|
try {
|
|
8586
8586
|
if (P.value.length && !P.value.includes(((Ye = $.deviceOne) == null ? void 0 : Ye.modelId) || $.modelId))
|
|
8587
8587
|
throw { xxx: "xxx" };
|
|
8588
|
-
if (te.value.length && !(te.value.includes(((We = $.content) == null ? void 0 : We.assetType) || $.assetType) || te.value.includes((
|
|
8588
|
+
if (te.value.length && !(te.value.includes(((We = $.content) == null ? void 0 : We.assetType) || $.assetType) || te.value.includes(($e = (aa = $.vehicleType) == null ? void 0 : aa.content) == null ? void 0 : $e.parentType)))
|
|
8589
8589
|
throw { xxx: "xxx" };
|
|
8590
8590
|
return !0;
|
|
8591
8591
|
} catch {
|
|
@@ -8915,7 +8915,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8915
8915
|
t("div", Ec, [
|
|
8916
8916
|
r(Tc, {
|
|
8917
8917
|
sortKey: Ee.value,
|
|
8918
|
-
"onUpdate:sortKey": _[0] || (_[0] = (
|
|
8918
|
+
"onUpdate:sortKey": _[0] || (_[0] = ($e) => Ee.value = $e),
|
|
8919
8919
|
vehicleTypeList: rt.value,
|
|
8920
8920
|
onFilter: N,
|
|
8921
8921
|
propsModleList: e.modleList,
|
|
@@ -8936,15 +8936,15 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8936
8936
|
t("div", Pc, [
|
|
8937
8937
|
r(I, {
|
|
8938
8938
|
modelValue: S.value,
|
|
8939
|
-
"onUpdate:modelValue": _[1] || (_[1] = (
|
|
8939
|
+
"onUpdate:modelValue": _[1] || (_[1] = ($e) => S.value = $e),
|
|
8940
8940
|
placeholder: s(U)("search"),
|
|
8941
8941
|
class: "anytrek-vehicle-auto-search vehicle-select-search",
|
|
8942
8942
|
"prefix-icon": el,
|
|
8943
8943
|
size: "large",
|
|
8944
8944
|
ref_key: "ksearchInput",
|
|
8945
8945
|
ref: y,
|
|
8946
|
-
onFocus: _[2] || (_[2] = (
|
|
8947
|
-
onBlur: _[3] || (_[3] = (
|
|
8946
|
+
onFocus: _[2] || (_[2] = ($e) => Ya.value = !0),
|
|
8947
|
+
onBlur: _[3] || (_[3] = ($e) => Ya.value = !1),
|
|
8948
8948
|
onInput: s(no)
|
|
8949
8949
|
}, {
|
|
8950
8950
|
suffix: b(() => [
|
|
@@ -8961,10 +8961,10 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8961
8961
|
r(k, { "max-height": "300px" }, {
|
|
8962
8962
|
default: b(() => [
|
|
8963
8963
|
t("div", Qc, [
|
|
8964
|
-
(l(!0), m(me, null, Ve(Ia.value, (
|
|
8964
|
+
(l(!0), m(me, null, Ve(Ia.value, ($e, Lt) => (l(), m("span", {
|
|
8965
8965
|
key: Lt,
|
|
8966
|
-
onClick: (va) => Lo(
|
|
8967
|
-
}, h(
|
|
8966
|
+
onClick: (va) => Lo($e)
|
|
8967
|
+
}, h($e), 9, Mc))), 128))
|
|
8968
8968
|
])
|
|
8969
8969
|
]),
|
|
8970
8970
|
_: 1
|
|
@@ -8974,7 +8974,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8974
8974
|
}, 8, ["visible"]),
|
|
8975
8975
|
r(tr, {
|
|
8976
8976
|
activeOne: ne.value,
|
|
8977
|
-
"onUpdate:activeOne": _[4] || (_[4] = (
|
|
8977
|
+
"onUpdate:activeOne": _[4] || (_[4] = ($e) => ne.value = $e),
|
|
8978
8978
|
onChange: Y,
|
|
8979
8979
|
allLength: qt.value,
|
|
8980
8980
|
tagLength: V.value,
|
|
@@ -8989,7 +8989,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
8989
8989
|
disabled: !Gt.value.childrenLength,
|
|
8990
8990
|
blueBorder: _t.value && _t.value === Gt.value.id
|
|
8991
8991
|
}]),
|
|
8992
|
-
onClick: _[5] || (_[5] = (
|
|
8992
|
+
onClick: _[5] || (_[5] = ($e) => ht(Gt.value, !1))
|
|
8993
8993
|
}, [
|
|
8994
8994
|
ne.value === 2 ? (l(), re(Ie, {
|
|
8995
8995
|
key: 0,
|
|
@@ -9022,47 +9022,48 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
9022
9022
|
ref: p,
|
|
9023
9023
|
onScroll: Ge,
|
|
9024
9024
|
"min-item-size": 48,
|
|
9025
|
+
"key-field": "itemId",
|
|
9025
9026
|
key: ne.value + S.value
|
|
9026
9027
|
}, {
|
|
9027
|
-
default: b(({ item:
|
|
9028
|
+
default: b(({ item: $e, index: Lt, active: va }) => [
|
|
9028
9029
|
(l(), re(s(mn), {
|
|
9029
|
-
item:
|
|
9030
|
-
key:
|
|
9030
|
+
item: $e,
|
|
9031
|
+
key: $e.itemId,
|
|
9031
9032
|
active: va,
|
|
9032
|
-
"size-dependencies": [
|
|
9033
|
+
"size-dependencies": [$e.itemId, $e.open, $e.childrenLength],
|
|
9033
9034
|
"data-index": Lt
|
|
9034
9035
|
}, {
|
|
9035
9036
|
default: b(() => {
|
|
9036
9037
|
var ka;
|
|
9037
9038
|
return [
|
|
9038
|
-
|
|
9039
|
+
$e.is ? (l(), m("div", {
|
|
9039
9040
|
key: 1,
|
|
9040
9041
|
class: ke(["tag-name-one", {
|
|
9041
|
-
"active-one":
|
|
9042
|
-
disabled:
|
|
9043
|
-
[
|
|
9044
|
-
blueBorder: _t.value && _t.value ===
|
|
9042
|
+
"active-one": $e.childrenLength && $e.open,
|
|
9043
|
+
disabled: !$e.childrenLength,
|
|
9044
|
+
[$e.itemId]: !0,
|
|
9045
|
+
blueBorder: _t.value && _t.value === $e.id
|
|
9045
9046
|
}]),
|
|
9046
|
-
onClick: (It) => ht(
|
|
9047
|
+
onClick: (It) => ht($e)
|
|
9047
9048
|
}, [
|
|
9048
9049
|
ne.value === 2 ? (l(), re(Ie, {
|
|
9049
9050
|
key: 0,
|
|
9050
|
-
name: "landmark-group" + (((ka =
|
|
9051
|
+
name: "landmark-group" + (((ka = $e == null ? void 0 : $e.content) == null ? void 0 : ka.landmarkType) || 1),
|
|
9051
9052
|
"font-size": "24",
|
|
9052
9053
|
class: "landmark-group"
|
|
9053
9054
|
}, null, 8, ["name"])) : K("", !0),
|
|
9054
9055
|
t("span", null, [
|
|
9055
|
-
t("span", Lc, h(
|
|
9056
|
-
Ct("(" + h(
|
|
9056
|
+
t("span", Lc, h($e.name), 1),
|
|
9057
|
+
Ct("(" + h($e.childrenLength) + ")", 1)
|
|
9057
9058
|
]),
|
|
9058
9059
|
r(Ie, {
|
|
9059
9060
|
name: "arrow-icon",
|
|
9060
|
-
class: ke(["arrow-icon", { open:
|
|
9061
|
-
color:
|
|
9061
|
+
class: ke(["arrow-icon", { open: $e.open }]),
|
|
9062
|
+
color: $e.childrenLength ? "#000" : "#9A9A9A"
|
|
9062
9063
|
}, null, 8, ["class", "color"])
|
|
9063
9064
|
], 10, Sc)) : (l(), re(Xr, {
|
|
9064
9065
|
key: 0,
|
|
9065
|
-
message:
|
|
9066
|
+
message: $e,
|
|
9066
9067
|
currentItem: W.value,
|
|
9067
9068
|
isArray: e.isArray,
|
|
9068
9069
|
vehicleMessageArray: se.value,
|
|
@@ -9104,7 +9105,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
9104
9105
|
key: 0,
|
|
9105
9106
|
"show-arrow": !1,
|
|
9106
9107
|
visible: qe.value,
|
|
9107
|
-
"onUpdate:visible": _[7] || (_[7] = (
|
|
9108
|
+
"onUpdate:visible": _[7] || (_[7] = ($e) => qe.value = $e),
|
|
9108
9109
|
"popper-class": "normal-txt-pop",
|
|
9109
9110
|
effect: "dark",
|
|
9110
9111
|
content: fe.value,
|
|
@@ -9114,13 +9115,13 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
9114
9115
|
placement: "top-start"
|
|
9115
9116
|
}, {
|
|
9116
9117
|
default: b(() => {
|
|
9117
|
-
var
|
|
9118
|
+
var $e;
|
|
9118
9119
|
return [
|
|
9119
9120
|
(l(), re(be, {
|
|
9120
9121
|
onMouseenter: _[6] || (_[6] = (Lt) => da(Lt, fe.value)),
|
|
9121
9122
|
onMouseleave: $t,
|
|
9122
9123
|
text: fe.value,
|
|
9123
|
-
location: ((
|
|
9124
|
+
location: (($e = s(o)) == null ? void 0 : $e.textOverflowStyle) || "middle",
|
|
9124
9125
|
"max-lines": 1,
|
|
9125
9126
|
autoResize: !0,
|
|
9126
9127
|
key: `${oe.value}${fe.value}`,
|
|
@@ -9166,7 +9167,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
9166
9167
|
}, [
|
|
9167
9168
|
r(I, {
|
|
9168
9169
|
modelValue: ot.value,
|
|
9169
|
-
"onUpdate:modelValue": _[9] || (_[9] = (
|
|
9170
|
+
"onUpdate:modelValue": _[9] || (_[9] = ($e) => ot.value = $e),
|
|
9170
9171
|
placeholder: s(U)("search"),
|
|
9171
9172
|
class: "anytrek-vehicle-auto-search vehicle-select-search",
|
|
9172
9173
|
"prefix-icon": el,
|
|
@@ -9177,7 +9178,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
9177
9178
|
suffix: b(() => [
|
|
9178
9179
|
ot.value ? (l(), re($o, {
|
|
9179
9180
|
key: 0,
|
|
9180
|
-
onClick: _[8] || (_[8] = (
|
|
9181
|
+
onClick: _[8] || (_[8] = ($e) => ot.value = "")
|
|
9181
9182
|
})) : K("", !0)
|
|
9182
9183
|
]),
|
|
9183
9184
|
_: 1
|
|
@@ -9190,9 +9191,9 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
9190
9191
|
}, {
|
|
9191
9192
|
default: b(() => [
|
|
9192
9193
|
t("div", Gc, [
|
|
9193
|
-
(l(!0), m(me, null, Ve(jt.value, (
|
|
9194
|
+
(l(!0), m(me, null, Ve(jt.value, ($e, Lt) => (l(), re($r, {
|
|
9194
9195
|
key: Lt,
|
|
9195
|
-
item:
|
|
9196
|
+
item: $e,
|
|
9196
9197
|
inTagScroll: Ne.value,
|
|
9197
9198
|
onClickItem: pe,
|
|
9198
9199
|
tagVehicleNumber: Ce.value
|
|
@@ -9209,7 +9210,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
9209
9210
|
]);
|
|
9210
9211
|
};
|
|
9211
9212
|
}
|
|
9212
|
-
}), Nc = /* @__PURE__ */ wt(zc, [["__scopeId", "data-v-
|
|
9213
|
+
}), Nc = /* @__PURE__ */ wt(zc, [["__scopeId", "data-v-5f527c10"]]), Rc = __asset_Rc, jc = { class: "sli__left" }, Vc = { class: "sli__label" }, Zc = { class: "sli__right" }, Uc = /* @__PURE__ */ Pt({
|
|
9213
9214
|
__name: "SelectListItem",
|
|
9214
9215
|
props: {
|
|
9215
9216
|
item: {
|
|
@@ -10243,7 +10244,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
10243
10244
|
ta.value = !0;
|
|
10244
10245
|
}, ot = (d) => {
|
|
10245
10246
|
Be.value = d;
|
|
10246
|
-
},
|
|
10247
|
+
}, et = () => {
|
|
10247
10248
|
pe.value = "", Be.value = "", ta.value = !1;
|
|
10248
10249
|
};
|
|
10249
10250
|
let Bt = c();
|
|
@@ -10643,8 +10644,8 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
10643
10644
|
$.value = T(/* @__PURE__ */ new Date()).utc().format("YYYY-MM-DDTHH:mm:ss[Z]");
|
|
10644
10645
|
};
|
|
10645
10646
|
let $ = c("");
|
|
10646
|
-
const Ye = c(), We = c(!1), aa = c(""),
|
|
10647
|
-
Ye.value = d.currentTarget, aa.value = A,
|
|
10647
|
+
const Ye = c(), We = c(!1), aa = c(""), $e = c("right"), Lt = (d, A, D = "right", Pe = 108) => {
|
|
10648
|
+
Ye.value = d.currentTarget, aa.value = A, $e.value = D;
|
|
10648
10649
|
let He = Ye.value;
|
|
10649
10650
|
const ye = document.createRange();
|
|
10650
10651
|
ye.setStart(He, 0), ye.setEnd(He, He.childNodes.length), Math.round(ye.getBoundingClientRect().width), d.currentTarget.querySelector("span").querySelector("span").innerText != A && (We.value = !0);
|
|
@@ -11207,7 +11208,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
11207
11208
|
}) : Ea.value = d);
|
|
11208
11209
|
};
|
|
11209
11210
|
return (d, A) => {
|
|
11210
|
-
const D = Rt, Pe =
|
|
11211
|
+
const D = Rt, Pe = ol, He = ao, ye = Ha, Qt = on, zt = yl, ga = ea("anytrekTimePick"), ba = ea("TextClamp"), mo = al, vo = Do, fo = tl, go = xn, ho = ea("add-or-edit-tag"), po = Go;
|
|
11211
11212
|
return l(), m(me, null, [
|
|
11212
11213
|
r(fo, {
|
|
11213
11214
|
modelValue: N.value,
|
|
@@ -11410,7 +11411,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
11410
11411
|
t("div", null, [
|
|
11411
11412
|
s(Yt).assetType === 9999 ? (l(), m("div", T1, [
|
|
11412
11413
|
t("span", null, h(s(ft).length), 1),
|
|
11413
|
-
A[46] || (A[46] = Ct(" intotal "))
|
|
11414
|
+
A[46] || (A[46] = Ct(" intotal ", -1))
|
|
11414
11415
|
])) : K("", !0),
|
|
11415
11416
|
t("div", {
|
|
11416
11417
|
class: ke(["sub-wrapper", {
|
|
@@ -11516,7 +11517,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
11516
11517
|
"font-size": "32",
|
|
11517
11518
|
color: "#9a9a9a",
|
|
11518
11519
|
class: "icon-hover",
|
|
11519
|
-
onClick: _e(
|
|
11520
|
+
onClick: _e(et, ["stop"])
|
|
11520
11521
|
}),
|
|
11521
11522
|
r(D, {
|
|
11522
11523
|
name: "comfirmIcon",
|
|
@@ -12804,7 +12805,7 @@ const el = /* @__PURE__ */ wt(ac, [["render", oc]]), fl = /* @__PURE__ */ Pt({
|
|
|
12804
12805
|
}, 8, ["modelValue"]),
|
|
12805
12806
|
r(He, {
|
|
12806
12807
|
visible: We.value,
|
|
12807
|
-
placement:
|
|
12808
|
+
placement: $e.value,
|
|
12808
12809
|
"hide-after": 0,
|
|
12809
12810
|
"popper-options": {
|
|
12810
12811
|
modifiers: [
|
|
@@ -13482,7 +13483,7 @@ const TA = {
|
|
|
13482
13483
|
(ie) => ie.id === q.id
|
|
13483
13484
|
);
|
|
13484
13485
|
if (J) {
|
|
13485
|
-
let ie = ot(J.id), Ge =
|
|
13486
|
+
let ie = ot(J.id), Ge = et(J.id, "vehicleId");
|
|
13486
13487
|
V.value = {
|
|
13487
13488
|
id: q.id,
|
|
13488
13489
|
name: q.name,
|
|
@@ -13501,7 +13502,7 @@ const TA = {
|
|
|
13501
13502
|
}
|
|
13502
13503
|
Ht.value = !0;
|
|
13503
13504
|
} else W.value === "device" || W.value === "landmark" && Dt(q);
|
|
13504
|
-
}, ot = (q) => i.allTags.filter((J) => !!(J.vehicle && J.vehicle.findIndex((ie) => ie === q) !== -1)),
|
|
13505
|
+
}, ot = (q) => i.allTags.filter((J) => !!(J.vehicle && J.vehicle.findIndex((ie) => ie === q) !== -1)), et = (q, J = "deviceId") => i.allVehicleToDevice.find((ie) => ie[J] === q), Bt = c(!1), ge = c(), Ne = () => {
|
|
13505
13506
|
W.value === "tag" ? (Bt.value = !0, ge.value = N.value.id, At.value && (kt.value = N.value.id + ""), V.value = null, Re.value = !0) : W.value === "vehicle" ? (V.value = {}, Ht.value = !0) : W.value === "device" || W.value === "landmark" && Ke(), Y.value = !1, Z.value = !1;
|
|
13506
13507
|
}, Ke = () => {
|
|
13507
13508
|
V.value = {}, Jt.value = !0;
|
|
@@ -13652,7 +13653,7 @@ const TA = {
|
|
|
13652
13653
|
},
|
|
13653
13654
|
{ immediate: !0 }
|
|
13654
13655
|
), (q, J) => {
|
|
13655
|
-
const ie = oo, Ge =
|
|
13656
|
+
const ie = oo, Ge = ol, Me = Rt, mt = ea("TextClamp"), tt = Fo, ca = ea("RecycleScroller"), Gt = al, yt = xo, Xt = tl, xa = ao, qa = ea("add-or-edit-vehicle"), ha = ea("add-or-edit-tag", !0), na = ea("add-or-edit-landmark");
|
|
13656
13657
|
return l(), m(me, null, [
|
|
13657
13658
|
r(Xt, {
|
|
13658
13659
|
modelValue: oe.value,
|
|
@@ -14359,7 +14360,7 @@ const TA = {
|
|
|
14359
14360
|
ta(ut);
|
|
14360
14361
|
}
|
|
14361
14362
|
);
|
|
14362
|
-
},
|
|
14363
|
+
}, et = () => {
|
|
14363
14364
|
const De = [], Ce = new window.google.maps.LatLngBounds();
|
|
14364
14365
|
E.value.polygon.getPaths().forEach(function(V) {
|
|
14365
14366
|
V.getArray().map((qt) => {
|
|
@@ -14449,7 +14450,7 @@ const TA = {
|
|
|
14449
14450
|
},
|
|
14450
14451
|
(De) => {
|
|
14451
14452
|
De && (S.value = F.value.map, X.value = new window.google.maps.Geocoder(), w.value = new window.google.maps.places.AutocompleteService(), i.itemData.id ? oa() : (Ft(), setTimeout(() => {
|
|
14452
|
-
|
|
14453
|
+
et();
|
|
14453
14454
|
}, 200)));
|
|
14454
14455
|
}
|
|
14455
14456
|
);
|
|
@@ -14516,7 +14517,7 @@ const TA = {
|
|
|
14516
14517
|
},
|
|
14517
14518
|
{ immediate: !0 }
|
|
14518
14519
|
), (De, Ce) => {
|
|
14519
|
-
const Re = Rt, V =
|
|
14520
|
+
const Re = Rt, V = nn, ut = ln, qt = yl, xt = oo, Ht = ol, Jt = Ha, _t = xo, ht = rn, q = sn, J = ao, ie = Ln, Ge = Sn, Me = al, mt = tl;
|
|
14520
14521
|
return l(), re(mt, {
|
|
14521
14522
|
modelValue: Yt.value,
|
|
14522
14523
|
"onUpdate:modelValue": Ce[17] || (Ce[17] = (tt) => Yt.value = tt),
|
|
@@ -14741,7 +14742,7 @@ const TA = {
|
|
|
14741
14742
|
draggable: !0
|
|
14742
14743
|
},
|
|
14743
14744
|
onDragend: Bt,
|
|
14744
|
-
onMouseup:
|
|
14745
|
+
onMouseup: et,
|
|
14745
14746
|
onMouseover: ge,
|
|
14746
14747
|
onMouseout: Ne
|
|
14747
14748
|
}, null, 8, ["options"]),
|
|
@@ -16333,7 +16334,7 @@ const E2 = /* @__PURE__ */ Pt({
|
|
|
16333
16334
|
}), ot = (L, g) => {
|
|
16334
16335
|
var Ae;
|
|
16335
16336
|
return L.type !== 2 || !g ? "" : ((Ae = g == null ? void 0 : g[L.value]) == null ? void 0 : Ae.aliasName) || "";
|
|
16336
|
-
},
|
|
16337
|
+
}, et = () => {
|
|
16337
16338
|
de.value = !0;
|
|
16338
16339
|
}, Bt = () => {
|
|
16339
16340
|
Te.value = !0, a.getShareHistoryUrl ? a.getShareHistoryUrl().then((L) => {
|
|
@@ -16785,7 +16786,7 @@ const E2 = /* @__PURE__ */ Pt({
|
|
|
16785
16786
|
return (((Ae = a.data) == null ? void 0 : Ae.vehicleDeviceList) || []).find((we) => we[g] === L);
|
|
16786
16787
|
}, Ye = c(!1), We = c({}), aa = () => {
|
|
16787
16788
|
We.value = {}, Ye.value = !0;
|
|
16788
|
-
},
|
|
16789
|
+
}, $e = (L) => {
|
|
16789
16790
|
var Ae, we, je, Le, Je, pt, ia, vt, Wt;
|
|
16790
16791
|
let g = (((Ae = a.data) == null ? void 0 : Ae.vehicleList) || []).find(
|
|
16791
16792
|
(Zt) => L.id === Zt.id
|
|
@@ -16869,7 +16870,7 @@ const E2 = /* @__PURE__ */ Pt({
|
|
|
16869
16870
|
let Le = (((we = a.data) == null ? void 0 : we.vehicleList) || []).find(
|
|
16870
16871
|
(Je) => Je.id === g
|
|
16871
16872
|
);
|
|
16872
|
-
Le &&
|
|
16873
|
+
Le && $e(Le);
|
|
16873
16874
|
} else
|
|
16874
16875
|
aa();
|
|
16875
16876
|
break;
|
|
@@ -16886,7 +16887,7 @@ const E2 = /* @__PURE__ */ Pt({
|
|
|
16886
16887
|
}
|
|
16887
16888
|
return (L, g) => {
|
|
16888
16889
|
var jo;
|
|
16889
|
-
const Ae = xo, we = Rt, je = oo, Le =
|
|
16890
|
+
const Ae = xo, we = Rt, je = oo, Le = ol, Je = ea("DynamicScrollerItem"), pt = ea("DynamicScroller"), ia = yl, vt = nn, Wt = ln, Zt = cn, ya = rn, Oo = Ha, nl = sn, il = ea("anytrekTimerangePick"), sl = Yn, rl = Fn, co = wl, Eo = Gn, Qo = Fo, zo = al, No = Do, cl = tl, dl = ea("add-or-edit-vehicle"), Ro = ea("add-or-edit-tag"), ul = ea("add-or-edit-landmark"), Ta = Go;
|
|
16890
16891
|
return l(), m(me, null, [
|
|
16891
16892
|
r(cl, {
|
|
16892
16893
|
modelValue: De.value,
|
|
@@ -17000,7 +17001,7 @@ const E2 = /* @__PURE__ */ Pt({
|
|
|
17000
17001
|
}, null, 8, ["data", "name", "icon", "read-only", "onShowTag", "type", "content", "onHandleDelete", "alias", "onChangeAliasName"]))), 256)),
|
|
17001
17002
|
t("div", {
|
|
17002
17003
|
class: "more flex-center-align",
|
|
17003
|
-
onClick: g[2] || (g[2] = (Ze) =>
|
|
17004
|
+
onClick: g[2] || (g[2] = (Ze) => et())
|
|
17004
17005
|
}, [
|
|
17005
17006
|
r(we, {
|
|
17006
17007
|
name: "share-more",
|
|
@@ -17712,9 +17713,9 @@ const E2 = /* @__PURE__ */ Pt({
|
|
|
17712
17713
|
onClose: B,
|
|
17713
17714
|
onToList: E
|
|
17714
17715
|
}, {
|
|
17715
|
-
default: b(() => g[36] || (g[36] = [
|
|
17716
|
+
default: b(() => [...g[36] || (g[36] = [
|
|
17716
17717
|
t("div", { style: { display: "none" } }, "222", -1)
|
|
17717
|
-
])),
|
|
17718
|
+
])]),
|
|
17718
17719
|
_: 1
|
|
17719
17720
|
}, 8, ["visible", "url"])
|
|
17720
17721
|
]),
|
|
@@ -17757,9 +17758,9 @@ const E2 = /* @__PURE__ */ Pt({
|
|
|
17757
17758
|
visible: Ge.value,
|
|
17758
17759
|
"onUpdate:visible": g[27] || (g[27] = (sa) => Ge.value = sa)
|
|
17759
17760
|
}, {
|
|
17760
|
-
default: b(() => g[37] || (g[37] = [
|
|
17761
|
+
default: b(() => [...g[37] || (g[37] = [
|
|
17761
17762
|
t("div", { style: { display: "none" } }, "111", -1)
|
|
17762
|
-
])),
|
|
17763
|
+
])]),
|
|
17763
17764
|
_: 1
|
|
17764
17765
|
}, 8, ["hour", "visible"])) : K("", !0),
|
|
17765
17766
|
t("div", Mv, [
|
|
@@ -18428,8 +18429,8 @@ function _v(e, v, n, a, o, i) {
|
|
|
18428
18429
|
error: b(() => [
|
|
18429
18430
|
r(G, { fontSize: "60" })
|
|
18430
18431
|
]),
|
|
18431
|
-
_:
|
|
18432
|
-
},
|
|
18432
|
+
_: 1
|
|
18433
|
+
}, 8, ["src", "onLoad", "onDragstart"])) : K("", !0)
|
|
18433
18434
|
]),
|
|
18434
18435
|
_: 2
|
|
18435
18436
|
}, 1032, ["class", "style", "zoomed", "reset-trigger", "rotate", "aspect-ratio", "pivot", "zooming-elastic", "limit-translation", "double-click-to-zoom", "mouse-wheel-to-zoom", "onSwipe"])), 64))
|
|
@@ -19154,14 +19155,14 @@ const uf = { class: "time" }, Af = { style: { color: "#9a9a9a" } }, mf = { class
|
|
|
19154
19155
|
X && (clearInterval(X), X = null), ne.value = !1;
|
|
19155
19156
|
}, ot = () => {
|
|
19156
19157
|
ne.value ? (p.value = !1, ze()) : Be();
|
|
19157
|
-
},
|
|
19158
|
+
}, et = (j) => {
|
|
19158
19159
|
N.value = j, i("updateChildUrl", o.childImages[j]), p.value && (p.value = !1, ze());
|
|
19159
19160
|
}, Bt = () => {
|
|
19160
19161
|
const j = N.value === 0 ? o.childImages.length - 1 : N.value - 1;
|
|
19161
|
-
|
|
19162
|
+
et(j);
|
|
19162
19163
|
}, ge = () => {
|
|
19163
19164
|
const j = (N.value + 1) % o.childImages.length;
|
|
19164
|
-
|
|
19165
|
+
et(j);
|
|
19165
19166
|
}, Ne = () => {
|
|
19166
19167
|
R.value = !1, w && (clearTimeout(w), w = null);
|
|
19167
19168
|
}, Ke = () => {
|
|
@@ -19343,7 +19344,7 @@ const uf = { class: "time" }, Af = { style: { color: "#9a9a9a" } }, mf = { class
|
|
|
19343
19344
|
])) : K("", !0),
|
|
19344
19345
|
t("div", {
|
|
19345
19346
|
class: ke(["frame-seg", { active: yt <= N.value }]),
|
|
19346
|
-
onClick: _e((Xt) =>
|
|
19347
|
+
onClick: _e((Xt) => et(yt), ["stop"])
|
|
19347
19348
|
}, null, 10, pf)
|
|
19348
19349
|
], 40, ff))), 128))
|
|
19349
19350
|
]),
|
|
@@ -19568,9 +19569,9 @@ const uf = { class: "time" }, Af = { style: { color: "#9a9a9a" } }, mf = { class
|
|
|
19568
19569
|
t("span")
|
|
19569
19570
|
], -1)),
|
|
19570
19571
|
t("p", null, h(Xt), 1)
|
|
19571
|
-
]))), 128)) : j.data.openaiStatus === 1 ? (l(), m("div", ng, ue[19] || (ue[19] = [
|
|
19572
|
+
]))), 128)) : j.data.openaiStatus === 1 ? (l(), m("div", ng, [...ue[19] || (ue[19] = [
|
|
19572
19573
|
t("p", null, "AI has recognized that this image does not show the inside of a cargo compartment.", -1)
|
|
19573
|
-
]))) : K("", !0)
|
|
19574
|
+
])])) : K("", !0)
|
|
19574
19575
|
])
|
|
19575
19576
|
])
|
|
19576
19577
|
])) : K("", !0)
|