@feedmepos/mf-report 5.31.1-beta.0 → 5.31.2-beta.0
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/dist/{App-CifvmxI-.js → App-BS7p-1_C.js} +103 -103
- package/dist/{DateRangeSelect-ChxxlHH1.js → DateRangeSelect-CU1zLhsi.js} +129 -121
- package/dist/{Default.vue_vue_type_script_setup_true_lang-CL1-_8mf.js → Default.vue_vue_type_script_setup_true_lang-BbIP6Sxr.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DHjqUTvO.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CzSVopxn.js} +7 -7
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CSs3HGml.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-V9SzUzmd.js} +453 -453
- package/dist/{InsightView-Du6tSxTb.js → InsightView-BY5Sgoxt.js} +5 -5
- package/dist/{Integration-BAcn22tg.js → Integration-YOGVHjkr.js} +174 -174
- package/dist/{Integrations-DJxV9dAE.js → Integrations-DLn3wHzm.js} +2 -2
- package/dist/{Layout-BYyARllh.js → Layout-B8HhRlSf.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-CvOMVHQ5.js → LocationSelect.vue_vue_type_script_setup_true_lang-C2yXmZru.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DresFUiL.js → MenuTab.vue_vue_type_script_setup_true_lang-CZFM47wC.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CTWgBaBB.js → NavigationTab.vue_vue_type_script_setup_true_lang-BriXZRy-.js} +5 -5
- package/dist/{OverviewView-WaYZ9aiD.js → OverviewView-B4auEUPK.js} +5 -5
- package/dist/{Report-NAiFlYu_.js → Report-dar8N8tM.js} +3 -3
- package/dist/{ReportCanvasView-Bfr5ZK1X.js → ReportCanvasView-J-TOAEDk.js} +5 -5
- package/dist/{ReportEditor-DNKWamHm.js → ReportEditor-GUrAEUjy.js} +7 -7
- package/dist/{ReportView-DVOKMdRI.js → ReportView-ok4zqyiS.js} +6 -6
- package/dist/{ReportViewRoute-4E5uW09e.js → ReportViewRoute-BcYLz9D0.js} +2 -2
- package/dist/{Setting-BIUKmm2_.js → Setting-CW-iwHV7.js} +3 -3
- package/dist/{Template-COsS2dIW.js → Template-CYnlmr86.js} +3 -3
- package/dist/TileEditor-btcTn9w6.js +4183 -0
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-CIMNFOXf.js → TilePageStack.vue_vue_type_script_setup_true_lang-Be_qbuOb.js} +2 -2
- package/dist/{TransitionFade-DddzAlaC.js → TransitionFade-B3zeQDvF.js} +5 -5
- package/dist/{app-B1esZ9Mq.js → app-Bw-zsS2R.js} +2337 -2297
- package/dist/app.js +1 -1
- package/dist/assets/{processTableData.worker-r9RKAQPd.js → formatChartData.worker-UoGYoYc3.js} +30 -42
- package/dist/assets/{formatChartData.worker-DcIXAZPX.js → processTableData.worker-DxE4bjxG.js} +33 -45
- package/dist/{currency-CT2q92PX.js → currency-DmsNWBQ3.js} +1 -1
- package/dist/{index-BScxCrNy.js → index-B5Reb-CL.js} +552 -564
- package/dist/{report-BCTiFDGD.js → report-CblaE0LI.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useRestaurantPermission-Bt2kY6PE.js → useRestaurantPermission-BZR1kItv.js} +3 -3
- package/package.json +1 -1
- package/dist/TileEditor-BGiamZMW.js +0 -4184
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import { defineComponent as me, resolveComponent as
|
|
2
|
-
import { detectLocale as
|
|
3
|
-
import { d as
|
|
1
|
+
import { defineComponent as me, resolveComponent as X, createBlock as pe, openBlock as A, unref as u, isRef as Oe, withCtx as P, createElementVNode as re, createVNode as Z, toDisplayString as ae, createTextVNode as $e, onMounted as fe, watch as C, ref as Q, computed as se, onBeforeMount as xe, onBeforeUnmount as Je, createElementBlock as G, Fragment as Qe } from "vue";
|
|
2
|
+
import { detectLocale as U, useCoreStore as H } from "@feedmepos/mf-common";
|
|
3
|
+
import { d as V, u as Ue, a as ie, b as je, c as ce, e as We, f as Ke, g as de, t as Pe, z as Ge, h as He } from "./app-Bw-zsS2R.js";
|
|
4
4
|
import { storeToRefs as k } from "pinia";
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
5
|
+
import { u as Xe } from "./global-loader-BuxFfehu.js";
|
|
6
|
+
import { u as Ze, a as Ve } from "./report-CblaE0LI.js";
|
|
7
|
+
import { u as Ye, _ as Me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BriXZRy-.js";
|
|
8
8
|
import { u as ue } from "./message-dialog-UoMWOnil.js";
|
|
9
|
-
import { u as
|
|
10
|
-
import { useRoute as
|
|
11
|
-
const
|
|
9
|
+
import { u as et } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
10
|
+
import { useRoute as tt, useRouter as nt } from "vue-router";
|
|
11
|
+
const ot = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, rt = /* @__PURE__ */ me({
|
|
12
12
|
__name: "Dialog",
|
|
13
|
-
setup(
|
|
14
|
-
const { t: c } =
|
|
15
|
-
return (
|
|
16
|
-
const z =
|
|
17
|
-
return A(), pe(
|
|
18
|
-
modelValue:
|
|
19
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
13
|
+
setup(q) {
|
|
14
|
+
const { t: c } = et(), f = ue(), { isOpened: g, message: E, title: L } = k(ue());
|
|
15
|
+
return (T, _) => {
|
|
16
|
+
const z = X("FmButton"), j = X("FmDialog");
|
|
17
|
+
return A(), pe(j, {
|
|
18
|
+
modelValue: u(g),
|
|
19
|
+
"onUpdate:modelValue": _[0] || (_[0] = (W) => Oe(g) ? g.value = W : null),
|
|
20
20
|
overlay: "",
|
|
21
21
|
"close-button": !1,
|
|
22
22
|
"z-index": 3e3
|
|
23
23
|
}, {
|
|
24
|
-
"dialog-header":
|
|
25
|
-
$e(ae(
|
|
24
|
+
"dialog-header": P(() => [
|
|
25
|
+
$e(ae(u(L)), 1)
|
|
26
26
|
]),
|
|
27
|
-
default:
|
|
28
|
-
|
|
27
|
+
default: P(() => [
|
|
28
|
+
re("p", ot, ae(u(E)), 1)
|
|
29
29
|
]),
|
|
30
|
-
"dialog-footer":
|
|
31
|
-
_[1] || (_[1] =
|
|
32
|
-
|
|
33
|
-
label:
|
|
30
|
+
"dialog-footer": P(() => [
|
|
31
|
+
_[1] || (_[1] = re("div", { class: "grow" }, null, -1)),
|
|
32
|
+
Z(z, {
|
|
33
|
+
label: u(c)("report.common.cancel"),
|
|
34
34
|
variant: "tertiary",
|
|
35
|
-
onClick:
|
|
35
|
+
onClick: u(f).dismiss
|
|
36
36
|
}, null, 8, ["label", "onClick"]),
|
|
37
|
-
|
|
38
|
-
label:
|
|
39
|
-
onClick:
|
|
37
|
+
Z(z, {
|
|
38
|
+
label: u(c)("report.common.confirm"),
|
|
39
|
+
onClick: u(f).confirm
|
|
40
40
|
}, null, 8, ["label", "onClick"])
|
|
41
41
|
]),
|
|
42
42
|
_: 1
|
|
43
43
|
}, 8, ["modelValue"]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
}), le = U(
|
|
47
|
-
function
|
|
48
|
-
const
|
|
46
|
+
}), le = Q(U());
|
|
47
|
+
function at() {
|
|
48
|
+
const q = (c) => {
|
|
49
49
|
switch (le.value = c, c) {
|
|
50
50
|
case "zh-CN":
|
|
51
|
-
|
|
51
|
+
V.locale("zh-cn");
|
|
52
52
|
break;
|
|
53
53
|
default:
|
|
54
|
-
|
|
54
|
+
V.locale("en");
|
|
55
55
|
break;
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
return fe(() => {
|
|
59
|
-
|
|
60
|
-
}), C(() =>
|
|
59
|
+
q(U());
|
|
60
|
+
}), C(() => U(), q, { deep: !0, immediate: !0 }), {
|
|
61
61
|
currentLocale: le
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
const
|
|
64
|
+
V.locale(U() === "zh-CN" ? "zh-cn" : "en");
|
|
65
|
+
const st = ["src"], it = ["src"], St = /* @__PURE__ */ me({
|
|
66
66
|
__name: "App",
|
|
67
|
-
setup(
|
|
68
|
-
const { businessId: c, token: f, country: g } = k(Ue()), { sessionUser:
|
|
67
|
+
setup(q) {
|
|
68
|
+
const { businessId: c, token: f, country: g } = k(Ue()), { sessionUser: E, currentBusiness: L, currentCountry: T, registerSidebarComponent: _ } = H(), {
|
|
69
69
|
getRestaurantAndWarehouse: z,
|
|
70
|
-
getBusinessSetting:
|
|
71
|
-
beginBusinessLoad:
|
|
70
|
+
getBusinessSetting: j,
|
|
71
|
+
beginBusinessLoad: W,
|
|
72
72
|
completeBusinessLoad: ge,
|
|
73
73
|
resetTimezoneContext: ye
|
|
74
|
-
} = ie(), ve = je(), { getFeatureFlags: Se } = ve, { version: y } = k(ce()), { getSettings: De } = We(), { promptLoader: he } =
|
|
74
|
+
} = ie(), ve = je(), { getFeatureFlags: Se } = ve, { version: y } = k(ce()), { getSettings: De } = We(), { promptLoader: he } = Xe(), n = tt(), N = nt(), b = Ze(), Y = Ye(), a = ie(), B = ce(), { suppressReportRouteSync: F } = k(B), { getReports: Ie, getOverviewReport: _e, getReportConfig: Re, currentReportId: M } = b, { currentReportId: Ee, reports: Le } = k(b), { getSchema: be } = Ve(), { fetchSchedules: we } = Y, { init: Ae } = Ke(), K = Q("v5"), O = Q(!1), $ = Q(!0), Ce = se(() => `https://portal-v1.feedmedev.cc/b/${c.value}/report/CLOSE_UP?showHeader=false&country=${g.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), ke = se(() => `https://report-v4.feedmedev.cc?businessId=${c.value}&country=${g.value}&token=${f.value}&reportV3Button=true`);
|
|
75
75
|
C(
|
|
76
|
-
[() =>
|
|
76
|
+
[() => L.value, () => E.value, () => T.value],
|
|
77
77
|
() => {
|
|
78
|
-
var e,
|
|
79
|
-
const t = ((e =
|
|
80
|
-
|
|
78
|
+
var e, o;
|
|
79
|
+
const t = ((e = L.value) == null ? void 0 : e.id) ?? "";
|
|
80
|
+
L.value && E.value && T.value && (c.value !== t && (c.value = t), f.value = ((o = E.value) == null ? void 0 : o.token) ?? "", g.value = T.value ?? "");
|
|
81
81
|
},
|
|
82
82
|
{ immediate: !0 }
|
|
83
83
|
);
|
|
@@ -94,19 +94,19 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
94
94
|
if (typeof t.data == "string")
|
|
95
95
|
try {
|
|
96
96
|
const e = JSON.parse(t.data);
|
|
97
|
-
(e == null ? void 0 : e.v5) === !0 ? y.value =
|
|
97
|
+
(e == null ? void 0 : e.v5) === !0 ? y.value = K.value : (e == null ? void 0 : e.v3) === !0 && (y.value = "v3");
|
|
98
98
|
} catch (e) {
|
|
99
99
|
console.error(e);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
C(y, () => {
|
|
103
|
-
["v3", "v4"].includes(y.value) ?
|
|
103
|
+
["v3", "v4"].includes(y.value) ? H().hideSidebarToggle(!0) : H().hideSidebarToggle(!1);
|
|
104
104
|
}), xe(() => {
|
|
105
|
-
_(
|
|
105
|
+
_(Me);
|
|
106
106
|
}), fe(() => {
|
|
107
|
-
console.log("5.31.
|
|
107
|
+
console.log("5.31.2-beta.0", !0), window.addEventListener("message", ee), window.addEventListener("message", te);
|
|
108
108
|
}), Je(() => {
|
|
109
|
-
window.removeEventListener("message", ee), window.removeEventListener("message", te), b.$dispose(),
|
|
109
|
+
window.removeEventListener("message", ee), window.removeEventListener("message", te), b.$dispose(), Y.$dispose();
|
|
110
110
|
});
|
|
111
111
|
function qe(t) {
|
|
112
112
|
try {
|
|
@@ -115,19 +115,19 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
115
115
|
return t;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function x(t) {
|
|
119
119
|
if (typeof t != "string" || t.length === 0) return;
|
|
120
120
|
const e = t.includes("%") ? [t, qe(t)] : [t];
|
|
121
|
-
for (const
|
|
121
|
+
for (const o of e)
|
|
122
122
|
try {
|
|
123
|
-
const
|
|
124
|
-
if (typeof
|
|
123
|
+
const r = JSON.parse(o);
|
|
124
|
+
if (typeof r == "string")
|
|
125
125
|
try {
|
|
126
|
-
return JSON.parse(
|
|
126
|
+
return JSON.parse(r);
|
|
127
127
|
} catch {
|
|
128
|
-
return
|
|
128
|
+
return r;
|
|
129
129
|
}
|
|
130
|
-
return
|
|
130
|
+
return r;
|
|
131
131
|
} catch {
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -136,24 +136,24 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
136
136
|
const e = t;
|
|
137
137
|
return typeof e.hour == "number" && typeof e.minute == "number";
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function l(t, e, o) {
|
|
140
140
|
if (typeof t != "string" || t.length === 0) return;
|
|
141
|
-
const
|
|
142
|
-
return
|
|
141
|
+
const r = Pe(t, o);
|
|
142
|
+
return e === "start" ? Ge(r, o) : He(r, o);
|
|
143
143
|
}
|
|
144
144
|
function Te(t = n.query) {
|
|
145
|
-
const e = t,
|
|
145
|
+
const e = t, o = a.timezone, r = l(e.startDate, "start", o), m = l(e.endDate, "end", o), i = typeof e.timeStart == "string", v = typeof e.timeEnd == "string", S = x(e.timeStart), D = x(e.timeEnd), w = ne(S) ? S : null, h = ne(D) ? D : null, R = l(e.compareStartDate, "start", o), d = l(e.compareEndDate, "end", o), J = e.isAllLocation === "true" || e.isAllLocation === void 0;
|
|
146
146
|
let p = [];
|
|
147
|
-
if (
|
|
147
|
+
if (J)
|
|
148
148
|
p = a.selectedLocationIds ?? [];
|
|
149
149
|
else {
|
|
150
|
-
const s =
|
|
150
|
+
const s = x(e.locationIds);
|
|
151
151
|
p = Array.isArray(s) ? s : [];
|
|
152
152
|
}
|
|
153
153
|
let I = e.reportId || M;
|
|
154
|
-
if (
|
|
154
|
+
if (Le.value.find((s) => s.id === I) || (I = M), I && I !== b.currentReportId && b.updateCurrentReportId(I), r || m) {
|
|
155
155
|
const s = a.dateRange;
|
|
156
|
-
(s.startDate !==
|
|
156
|
+
(s.startDate !== r || s.endDate !== m) && a.setDateRange({ startDate: r, endDate: m });
|
|
157
157
|
}
|
|
158
158
|
if (i || v) {
|
|
159
159
|
const s = a.timeRange;
|
|
@@ -166,9 +166,9 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
166
166
|
endDate: d
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
if (!
|
|
169
|
+
if (!J) {
|
|
170
170
|
const s = a.selectedLocationIds;
|
|
171
|
-
s.length === p.length && s.every((
|
|
171
|
+
s.length === p.length && s.every((Be, Fe) => Be === p[Fe]) || a.setSelectedLocationIds(p);
|
|
172
172
|
}
|
|
173
173
|
return {
|
|
174
174
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -187,16 +187,16 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
187
187
|
() => c.value,
|
|
188
188
|
async (t, e) => {
|
|
189
189
|
if (t !== "") {
|
|
190
|
-
|
|
191
|
-
const
|
|
190
|
+
O.value = !1, W(t);
|
|
191
|
+
const o = "mf-report-prev-business-id", r = (() => {
|
|
192
192
|
try {
|
|
193
|
-
return sessionStorage.getItem(
|
|
193
|
+
return sessionStorage.getItem(o);
|
|
194
194
|
} catch {
|
|
195
195
|
return null;
|
|
196
196
|
}
|
|
197
|
-
})(),
|
|
197
|
+
})(), m = !!r && r !== t;
|
|
198
198
|
let i = { ...n.query }, v = !1;
|
|
199
|
-
if (
|
|
199
|
+
if (!$.value || e !== void 0 || m) {
|
|
200
200
|
ye(), a.setSelectedLocationIds([]);
|
|
201
201
|
const {
|
|
202
202
|
locationIds: S,
|
|
@@ -205,7 +205,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
205
205
|
timeStart: h,
|
|
206
206
|
timeEnd: R,
|
|
207
207
|
compareStartDate: d,
|
|
208
|
-
compareEndDate:
|
|
208
|
+
compareEndDate: J,
|
|
209
209
|
...p
|
|
210
210
|
} = n.query;
|
|
211
211
|
i = {
|
|
@@ -225,7 +225,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
225
225
|
cacheFlags: !1
|
|
226
226
|
});
|
|
227
227
|
const S = await Re();
|
|
228
|
-
|
|
228
|
+
K.value = S.version, y.value = K.value, await Se(), n.name === "template" && !B.canAccessTemplate() && await N.replace({
|
|
229
229
|
name: "reports",
|
|
230
230
|
query: n.query
|
|
231
231
|
});
|
|
@@ -239,7 +239,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
239
239
|
Ie(),
|
|
240
240
|
z(
|
|
241
241
|
(() => {
|
|
242
|
-
const d =
|
|
242
|
+
const d = x(i.locationIds);
|
|
243
243
|
return Array.isArray(d) ? d : void 0;
|
|
244
244
|
})()
|
|
245
245
|
)
|
|
@@ -248,40 +248,40 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
248
248
|
const R = await Promise.allSettled(h);
|
|
249
249
|
for (const d of R)
|
|
250
250
|
d.status === "rejected" && console.log(d.reason);
|
|
251
|
-
if (await
|
|
251
|
+
if (await j(), Te(i), v) {
|
|
252
252
|
const {
|
|
253
253
|
locationIds: d,
|
|
254
|
-
startDate:
|
|
254
|
+
startDate: J,
|
|
255
255
|
endDate: p,
|
|
256
256
|
timeStart: I,
|
|
257
|
-
timeEnd:
|
|
257
|
+
timeEnd: ze,
|
|
258
258
|
compareStartDate: s,
|
|
259
|
-
compareEndDate:
|
|
260
|
-
...
|
|
259
|
+
compareEndDate: Ne,
|
|
260
|
+
...oe
|
|
261
261
|
} = n.query;
|
|
262
262
|
(n.query.locationIds !== void 0 || n.query.startDate !== void 0 || n.query.endDate !== void 0 || n.query.timeStart !== void 0 || n.query.timeEnd !== void 0 || n.query.compareStartDate !== void 0 || n.query.compareEndDate !== void 0 || n.query.isAllLocation !== "true") && await N.replace({
|
|
263
263
|
name: n.name,
|
|
264
264
|
params: n.params,
|
|
265
265
|
query: {
|
|
266
|
-
...
|
|
266
|
+
...oe,
|
|
267
267
|
isAllLocation: "true"
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
ge(t);
|
|
272
272
|
try {
|
|
273
|
-
sessionStorage.setItem(
|
|
273
|
+
sessionStorage.setItem(o, t);
|
|
274
274
|
} catch {
|
|
275
275
|
}
|
|
276
|
-
}),
|
|
276
|
+
}), O.value = !0, $.value && ($.value = !1);
|
|
277
277
|
}
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
280
|
immediate: !0
|
|
281
281
|
}
|
|
282
282
|
), C(
|
|
283
|
-
() => (
|
|
284
|
-
reportId:
|
|
283
|
+
() => (O.value, {
|
|
284
|
+
reportId: Ee.value,
|
|
285
285
|
selectedLocationIds: a.selectedLocationIds,
|
|
286
286
|
dateRange: a.dateRange,
|
|
287
287
|
timeRange: a.timeRange,
|
|
@@ -289,24 +289,24 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
289
289
|
timezone: a.timezone
|
|
290
290
|
}),
|
|
291
291
|
(t) => {
|
|
292
|
-
if (
|
|
292
|
+
if (!O.value || !t.reportId || $.value) return;
|
|
293
293
|
if (F.value) {
|
|
294
294
|
F.value = !1;
|
|
295
295
|
return;
|
|
296
296
|
}
|
|
297
|
-
const e = t.selectedLocationIds,
|
|
297
|
+
const e = t.selectedLocationIds, o = t.dateRange, r = t.timeRange, m = t.compareDateRange, i = {
|
|
298
298
|
...n.query,
|
|
299
299
|
reportId: t.reportId,
|
|
300
|
-
startDate:
|
|
301
|
-
endDate:
|
|
302
|
-
compareStartDate:
|
|
303
|
-
|
|
300
|
+
startDate: l(o.startDate, "start", t.timezone),
|
|
301
|
+
endDate: l(o.endDate, "end", t.timezone),
|
|
302
|
+
compareStartDate: l(
|
|
303
|
+
m.startDate,
|
|
304
304
|
"start",
|
|
305
305
|
t.timezone
|
|
306
306
|
),
|
|
307
|
-
compareEndDate: m
|
|
308
|
-
timeStart:
|
|
309
|
-
timeEnd:
|
|
307
|
+
compareEndDate: l(m.endDate, "end", t.timezone),
|
|
308
|
+
timeStart: r.start ? JSON.stringify(r.start) : void 0,
|
|
309
|
+
timeEnd: r.end ? JSON.stringify(r.end) : void 0
|
|
310
310
|
}, v = e.length === a.locations.length;
|
|
311
311
|
i.isAllLocation = String(v), v ? delete i.locationIds : e.length > 0 ? i.locationIds = JSON.stringify(e) : delete i.locationIds;
|
|
312
312
|
const S = JSON.stringify(n.query), D = JSON.stringify(i);
|
|
@@ -317,23 +317,23 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
|
|
|
317
317
|
});
|
|
318
318
|
},
|
|
319
319
|
{ deep: !0 }
|
|
320
|
-
),
|
|
321
|
-
const
|
|
322
|
-
return A(),
|
|
323
|
-
|
|
324
|
-
|
|
320
|
+
), at(), (t, e) => {
|
|
321
|
+
const o = X("router-view");
|
|
322
|
+
return A(), G(Qe, null, [
|
|
323
|
+
Z(rt),
|
|
324
|
+
u(y) === "v3" ? (A(), G("iframe", {
|
|
325
325
|
key: 0,
|
|
326
326
|
class: "bg-white h-full w-full",
|
|
327
327
|
src: Ce.value
|
|
328
|
-
}, null, 8,
|
|
328
|
+
}, null, 8, st)) : u(y) === "v4" ? (A(), G("iframe", {
|
|
329
329
|
key: 1,
|
|
330
330
|
class: "bg-white h-full w-full",
|
|
331
331
|
src: ke.value
|
|
332
|
-
}, null, 8,
|
|
332
|
+
}, null, 8, it)) : (A(), pe(o, { key: 2 }))
|
|
333
333
|
], 64);
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
336
|
});
|
|
337
337
|
export {
|
|
338
|
-
|
|
338
|
+
St as default
|
|
339
339
|
};
|