@feedmepos/mf-report 5.27.44 → 5.27.45
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-B-0VHXM1.js → App-qmp_wTqr.js} +105 -107
- package/dist/{DateRangeSelect-CGnROjSA.js → DateRangeSelect-DTc5W51W.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-B0E17Ovn.js → Default.vue_vue_type_script_setup_true_lang-Rfx_MV5j.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DeajLQvr.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CgQT7aVu.js} +808 -807
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CqKnPfjr.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Ch8h7LYw.js} +2234 -2227
- package/dist/{InsightView-DLi1JKj-.js → InsightView-DTXLQI3y.js} +4 -4
- package/dist/{Integration-DcpEli4G.js → Integration-jDsdDTJe.js} +3 -3
- package/dist/{Integrations-FqE3NGWW.js → Integrations-Bw_gAgzo.js} +2 -2
- package/dist/{Layout-B3w9ncrY.js → Layout-KsXHFW6a.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DEZ9szG8.js → MenuTab.vue_vue_type_script_setup_true_lang-EX-uYhXm.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-hq2_fG5m.js → NavigationTab.vue_vue_type_script_setup_true_lang-CjkhnFr1.js} +3 -3
- package/dist/{OverviewView-C2q5HVfG.js → OverviewView-8gQ9VC5f.js} +4 -4
- package/dist/{Report-CpD-PQMF.js → Report-CyxE4Mk6.js} +34 -34
- package/dist/{ReportEditor-DY8bRLmi.js → ReportEditor-Bm5k5ZUc.js} +6 -6
- package/dist/{ReportView-kvAnnQQX.js → ReportView-B_EjiBA3.js} +6 -6
- package/dist/Setting-BEUoiP3V.js +368 -0
- package/dist/{Template-C-whg_Qs.js → Template-aCg-U8jo.js} +3 -3
- package/dist/{TileEditor-MvSW8uIv.js → TileEditor-BKfGFwLu.js} +5 -5
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-cNbphYz8.js → TilePageStack.vue_vue_type_script_setup_true_lang-C-x_Wda9.js} +2 -2
- package/dist/{TransitionFade-DqK-1YJF.js → TransitionFade-BEJ9_BKt.js} +4 -4
- package/dist/{app-Dpk_iYcH.js → app-5pQ-88Qg.js} +9264 -9269
- package/dist/app.js +1 -1
- package/dist/assets/{formatChartData.worker-NxArcyZE.js → formatChartData.worker-C93JSHxi.js} +5 -5
- package/dist/assets/{processTableData.worker-typkqQfh.js → processTableData.worker-BsZijJg_.js} +5 -5
- package/dist/{useRestaurantPermission-B5HIst3o.js → useRestaurantPermission-BIQpfucB.js} +1 -1
- package/package.json +2 -1
- package/dist/Setting-DIfsQKq7.js +0 -366
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { defineComponent as me, resolveComponent as
|
|
1
|
+
import { defineComponent as me, resolveComponent as X, createBlock as pe, openBlock as A, unref as u, isRef as Fe, withCtx as W, createElementVNode as ae, createVNode as Y, toDisplayString as oe, createTextVNode as Ne, onMounted as fe, watch as C, ref as U, computed as se, onBeforeMount as $e, onBeforeUnmount as xe, createElementBlock as H, Fragment as Je } from "vue";
|
|
2
2
|
import { detectLocale as j, useCoreStore as V } from "@feedmepos/mf-common";
|
|
3
|
-
import { d as
|
|
4
|
-
import { storeToRefs as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
3
|
+
import { d as q, u as Qe, a as ie, b as Ue, c as ce, e as je, f as Pe, g as de } from "./app-5pQ-88Qg.js";
|
|
4
|
+
import { storeToRefs as k } from "pinia";
|
|
5
|
+
import { u as Ge, a as Ke } from "./_plugin-vue_export-helper-kkiiQoKl.js";
|
|
6
|
+
import { u as We, a as He } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Ch8h7LYw.js";
|
|
7
|
+
import { u as Ve, _ as Xe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CjkhnFr1.js";
|
|
8
8
|
import { u as ue } from "./message-dialog-UoMWOnil.js";
|
|
9
|
-
import { useRoute as
|
|
10
|
-
const
|
|
9
|
+
import { useRoute as Ye, useRouter as Ze } from "vue-router";
|
|
10
|
+
const Me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, et = /* @__PURE__ */ me({
|
|
11
11
|
__name: "Dialog",
|
|
12
|
-
setup(
|
|
13
|
-
const { t: c } =
|
|
14
|
-
return (
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
modelValue: u(
|
|
18
|
-
"onUpdate:modelValue": _[0] || (_[0] = (G) =>
|
|
12
|
+
setup(T) {
|
|
13
|
+
const { t: c } = Ge(), f = ue(), { isOpened: g, message: R, title: L } = k(ue());
|
|
14
|
+
return (O, _) => {
|
|
15
|
+
const z = X("FmButton"), P = X("FmDialog");
|
|
16
|
+
return A(), pe(P, {
|
|
17
|
+
modelValue: u(g),
|
|
18
|
+
"onUpdate:modelValue": _[0] || (_[0] = (G) => Fe(g) ? g.value = G : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1,
|
|
21
21
|
"z-index": 3e3
|
|
22
22
|
}, {
|
|
23
23
|
"dialog-header": W(() => [
|
|
24
|
-
|
|
24
|
+
Ne(oe(u(L)), 1)
|
|
25
25
|
]),
|
|
26
26
|
default: W(() => [
|
|
27
|
-
|
|
27
|
+
ae("p", Me, oe(u(R)), 1)
|
|
28
28
|
]),
|
|
29
29
|
"dialog-footer": W(() => [
|
|
30
|
-
_[1] || (_[1] =
|
|
31
|
-
|
|
30
|
+
_[1] || (_[1] = ae("div", { class: "grow" }, null, -1)),
|
|
31
|
+
Y(z, {
|
|
32
32
|
label: u(c)("report.common.cancel"),
|
|
33
33
|
variant: "tertiary",
|
|
34
|
-
onClick: u(
|
|
34
|
+
onClick: u(f).dismiss
|
|
35
35
|
}, null, 8, ["label", "onClick"]),
|
|
36
|
-
|
|
36
|
+
Y(z, {
|
|
37
37
|
label: u(c)("report.common.confirm"),
|
|
38
|
-
onClick: u(
|
|
38
|
+
onClick: u(f).confirm
|
|
39
39
|
}, null, 8, ["label", "onClick"])
|
|
40
40
|
]),
|
|
41
41
|
_: 1
|
|
@@ -43,69 +43,69 @@ const et = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, tt
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
}), le = U(j());
|
|
46
|
-
function
|
|
47
|
-
const
|
|
46
|
+
function tt() {
|
|
47
|
+
const T = (c) => {
|
|
48
48
|
switch (le.value = c, c) {
|
|
49
49
|
case "zh-CN":
|
|
50
|
-
|
|
50
|
+
q.locale("zh-cn");
|
|
51
51
|
break;
|
|
52
52
|
default:
|
|
53
|
-
|
|
53
|
+
q.locale("en");
|
|
54
54
|
break;
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
return fe(() => {
|
|
58
|
-
|
|
59
|
-
}),
|
|
58
|
+
T(j());
|
|
59
|
+
}), C(() => j(), T, { deep: !0, immediate: !0 }), {
|
|
60
60
|
currentLocale: le
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
|
|
64
|
-
const
|
|
63
|
+
q.locale(j() === "zh-CN" ? "zh-cn" : "en");
|
|
64
|
+
const nt = ["src"], rt = ["src"], ft = /* @__PURE__ */ me({
|
|
65
65
|
__name: "App",
|
|
66
|
-
setup(
|
|
67
|
-
const { businessId: c, token:
|
|
68
|
-
getRestaurantAndWarehouse:
|
|
66
|
+
setup(T) {
|
|
67
|
+
const { businessId: c, token: f, country: g } = k(Qe()), { sessionUser: R, currentBusiness: L, currentCountry: O, registerSidebarComponent: _ } = V(), {
|
|
68
|
+
getRestaurantAndWarehouse: z,
|
|
69
69
|
getBusinessSetting: P,
|
|
70
70
|
beginBusinessLoad: G,
|
|
71
71
|
completeBusinessLoad: ge,
|
|
72
72
|
resetTimezoneContext: ye
|
|
73
|
-
} =
|
|
74
|
-
|
|
75
|
-
[() => L.value, () => R.value, () =>
|
|
73
|
+
} = ie(), ve = Ue(), { getFeatureFlags: Se } = ve, { version: y } = k(ce()), { getSettings: De } = je(), { promptLoader: he } = Ke(), n = Ye(), B = Ze(), E = We(), Z = Ve(), o = ie(), F = ce(), { suppressReportRouteSync: N } = k(F), { getReports: Ie, getOverviewReport: _e, getReportConfig: Re, currentReportId: M } = E, { currentReportId: Le, reports: Ee } = k(E), { getSchema: be } = He(), { fetchSchedules: we } = Z, { init: Ae } = Pe(), K = U("v5"), $ = U(!1), x = U(!0), Ce = se(() => `https://portal-v1.feedme.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.feedme.cc?businessId=${c.value}&country=${g.value}&token=${f.value}&reportV3Button=true`);
|
|
74
|
+
C(
|
|
75
|
+
[() => L.value, () => R.value, () => O.value],
|
|
76
76
|
() => {
|
|
77
77
|
var e, r;
|
|
78
78
|
const t = ((e = L.value) == null ? void 0 : e.id) ?? "";
|
|
79
|
-
L.value && R.value &&
|
|
79
|
+
L.value && R.value && O.value && (c.value !== t && (c.value = t), f.value = ((r = R.value) == null ? void 0 : r.token) ?? "", g.value = O.value ?? "");
|
|
80
80
|
},
|
|
81
81
|
{ immediate: !0 }
|
|
82
82
|
);
|
|
83
|
-
function
|
|
83
|
+
function ee(t) {
|
|
84
84
|
if (typeof t.data == "string")
|
|
85
85
|
try {
|
|
86
86
|
const e = JSON.parse(t.data);
|
|
87
|
-
(e == null ? void 0 : e.token) !== "" && (e == null ? void 0 : e.token) !== void 0 && (
|
|
87
|
+
(e == null ? void 0 : e.token) !== "" && (e == null ? void 0 : e.token) !== void 0 && (f.value = e.token);
|
|
88
88
|
} catch (e) {
|
|
89
89
|
console.error(e);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function te(t) {
|
|
93
93
|
if (typeof t.data == "string")
|
|
94
94
|
try {
|
|
95
95
|
const e = JSON.parse(t.data);
|
|
96
|
-
(e == null ? void 0 : e.v5) === !0 ?
|
|
96
|
+
(e == null ? void 0 : e.v5) === !0 ? y.value = K.value : (e == null ? void 0 : e.v3) === !0 && (y.value = "v3");
|
|
97
97
|
} catch (e) {
|
|
98
98
|
console.error(e);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
["v3", "v4"].includes(
|
|
103
|
-
}),
|
|
104
|
-
_(
|
|
101
|
+
C(y, () => {
|
|
102
|
+
["v3", "v4"].includes(y.value) ? V().hideSidebarToggle(!0) : V().hideSidebarToggle(!1);
|
|
103
|
+
}), $e(() => {
|
|
104
|
+
_(Xe);
|
|
105
105
|
}), fe(() => {
|
|
106
|
-
console.log("5.27.
|
|
107
|
-
}),
|
|
108
|
-
window.removeEventListener("message",
|
|
106
|
+
console.log("5.27.45", !0), window.addEventListener("message", ee), window.addEventListener("message", te);
|
|
107
|
+
}), xe(() => {
|
|
108
|
+
window.removeEventListener("message", ee), window.removeEventListener("message", te), E.$dispose(), Z.$dispose();
|
|
109
109
|
});
|
|
110
110
|
function qe(t) {
|
|
111
111
|
try {
|
|
@@ -130,44 +130,44 @@ const rt = ["src"], at = ["src"], ft = /* @__PURE__ */ me({
|
|
|
130
130
|
} catch {
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function ne(t) {
|
|
134
134
|
if (!t || typeof t != "object") return !1;
|
|
135
135
|
const e = t;
|
|
136
136
|
return typeof e.hour == "number" && typeof e.minute == "number";
|
|
137
137
|
}
|
|
138
138
|
function l(t, e, r) {
|
|
139
139
|
if (typeof t != "string" || t.length === 0) return;
|
|
140
|
-
const a = t.includes("T") ?
|
|
140
|
+
const a = t.includes("T") ? q(t).tz(r) : q.tz(t, r);
|
|
141
141
|
return (e === "start" ? a.startOf("day") : a.endOf("day")).utc().toISOString();
|
|
142
142
|
}
|
|
143
143
|
function Te(t = n.query) {
|
|
144
|
-
const e = t, r = o.timezone, a = l(e.startDate, "start", r), d = l(e.endDate, "end", r), i = typeof e.timeStart == "string",
|
|
145
|
-
let
|
|
144
|
+
const e = t, r = o.timezone, a = l(e.startDate, "start", r), d = l(e.endDate, "end", r), i = typeof e.timeStart == "string", v = typeof e.timeEnd == "string", S = J(e.timeStart), D = J(e.timeEnd), b = ne(S) ? S : null, h = ne(D) ? D : null, m = l(e.compareStartDate, "start", r), w = l(e.compareEndDate, "end", r), Q = e.isAllLocation === "true" || e.isAllLocation === void 0;
|
|
145
|
+
let p = [];
|
|
146
146
|
if (Q)
|
|
147
|
-
|
|
147
|
+
p = o.selectedLocationIds ?? [];
|
|
148
148
|
else {
|
|
149
149
|
const s = J(e.locationIds);
|
|
150
|
-
|
|
150
|
+
p = Array.isArray(s) ? s : [];
|
|
151
151
|
}
|
|
152
|
-
let I = e.reportId ||
|
|
153
|
-
if (Ee.value.find((s) => s.id === I) || (I =
|
|
152
|
+
let I = e.reportId || M;
|
|
153
|
+
if (Ee.value.find((s) => s.id === I) || (I = M), I && I !== E.currentReportId && E.updateCurrentReportId(I), a || d) {
|
|
154
154
|
const s = o.dateRange;
|
|
155
155
|
(s.startDate !== a || s.endDate !== d) && o.setDateRange({ startDate: a, endDate: d });
|
|
156
156
|
}
|
|
157
|
-
if (i ||
|
|
157
|
+
if (i || v) {
|
|
158
158
|
const s = o.timeRange;
|
|
159
|
-
(s.start !==
|
|
159
|
+
(s.start !== b || s.end !== h) && o.setTimeRange({ start: b, end: h });
|
|
160
160
|
}
|
|
161
|
-
if (m ||
|
|
161
|
+
if (m || w) {
|
|
162
162
|
const s = o.compareDateRange;
|
|
163
|
-
(s.startDate !== m || s.endDate !==
|
|
163
|
+
(s.startDate !== m || s.endDate !== w) && o.setCompareDateRange({
|
|
164
164
|
startDate: m,
|
|
165
|
-
endDate:
|
|
165
|
+
endDate: w
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
if (!Q) {
|
|
169
169
|
const s = o.selectedLocationIds;
|
|
170
|
-
s.length ===
|
|
170
|
+
s.length === p.length && s.every((ze, Be) => ze === p[Be]) || o.setSelectedLocationIds(p);
|
|
171
171
|
}
|
|
172
172
|
return {
|
|
173
173
|
// TODO: this returned value can used for getBusinessSetting
|
|
@@ -182,7 +182,7 @@ const rt = ["src"], at = ["src"], ft = /* @__PURE__ */ me({
|
|
|
182
182
|
isAllLocation: e.isAllLocation
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
|
-
return
|
|
185
|
+
return C(
|
|
186
186
|
() => c.value,
|
|
187
187
|
async (t, e) => {
|
|
188
188
|
if (t !== "") {
|
|
@@ -194,23 +194,23 @@ const rt = ["src"], at = ["src"], ft = /* @__PURE__ */ me({
|
|
|
194
194
|
return null;
|
|
195
195
|
}
|
|
196
196
|
})(), d = !!a && a !== t;
|
|
197
|
-
let i = { ...n.query },
|
|
197
|
+
let i = { ...n.query }, v = !1;
|
|
198
198
|
if (!x.value || e !== void 0 || d) {
|
|
199
199
|
ye(), o.setSelectedLocationIds([]);
|
|
200
200
|
const {
|
|
201
|
-
locationIds:
|
|
202
|
-
startDate:
|
|
203
|
-
endDate:
|
|
204
|
-
timeStart:
|
|
201
|
+
locationIds: S,
|
|
202
|
+
startDate: D,
|
|
203
|
+
endDate: b,
|
|
204
|
+
timeStart: h,
|
|
205
205
|
timeEnd: m,
|
|
206
|
-
compareStartDate:
|
|
206
|
+
compareStartDate: w,
|
|
207
207
|
compareEndDate: Q,
|
|
208
|
-
...
|
|
208
|
+
...p
|
|
209
209
|
} = n.query;
|
|
210
210
|
i = {
|
|
211
|
-
...
|
|
211
|
+
...p,
|
|
212
212
|
isAllLocation: "true"
|
|
213
|
-
},
|
|
213
|
+
}, v = !0, await B.replace({
|
|
214
214
|
name: n.name,
|
|
215
215
|
params: n.params,
|
|
216
216
|
query: i
|
|
@@ -223,44 +223,42 @@ const rt = ["src"], at = ["src"], ft = /* @__PURE__ */ me({
|
|
|
223
223
|
enableAnalytics: !1,
|
|
224
224
|
cacheFlags: !1
|
|
225
225
|
});
|
|
226
|
-
const
|
|
227
|
-
K.value =
|
|
226
|
+
const S = await Re();
|
|
227
|
+
K.value = S.version, y.value = K.value, await Se(), n.name === "template" && !F.canAccessTemplate() && await B.replace({
|
|
228
228
|
name: "reports",
|
|
229
229
|
query: n.query
|
|
230
230
|
});
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
-
),
|
|
234
|
-
|
|
235
|
-
),
|
|
236
|
-
X.report_accessIntegration
|
|
237
|
-
), m = [
|
|
231
|
+
const D = F.canAccess(
|
|
232
|
+
de.report_accessOverview
|
|
233
|
+
), b = F.canAccess(
|
|
234
|
+
de.report_accessIntegration
|
|
235
|
+
), h = [
|
|
238
236
|
be(),
|
|
239
237
|
we(),
|
|
240
238
|
Ie(),
|
|
241
|
-
|
|
239
|
+
z(
|
|
242
240
|
(() => {
|
|
243
|
-
const
|
|
244
|
-
return Array.isArray(
|
|
241
|
+
const m = J(i.locationIds);
|
|
242
|
+
return Array.isArray(m) ? m : void 0;
|
|
245
243
|
})()
|
|
246
244
|
)
|
|
247
245
|
];
|
|
248
|
-
if (
|
|
246
|
+
if (D && h.push(_e()), b && h.push(De()), await Promise.all(h), await P(), Te(i), v) {
|
|
249
247
|
const {
|
|
250
|
-
locationIds:
|
|
251
|
-
startDate:
|
|
252
|
-
endDate:
|
|
253
|
-
timeStart:
|
|
254
|
-
timeEnd:
|
|
255
|
-
compareStartDate:
|
|
256
|
-
compareEndDate:
|
|
257
|
-
...
|
|
248
|
+
locationIds: m,
|
|
249
|
+
startDate: w,
|
|
250
|
+
endDate: Q,
|
|
251
|
+
timeStart: p,
|
|
252
|
+
timeEnd: I,
|
|
253
|
+
compareStartDate: Oe,
|
|
254
|
+
compareEndDate: s,
|
|
255
|
+
...re
|
|
258
256
|
} = n.query;
|
|
259
|
-
(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
|
|
257
|
+
(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 B.replace({
|
|
260
258
|
name: n.name,
|
|
261
259
|
params: n.params,
|
|
262
260
|
query: {
|
|
263
|
-
...
|
|
261
|
+
...re,
|
|
264
262
|
isAllLocation: "true"
|
|
265
263
|
}
|
|
266
264
|
});
|
|
@@ -276,7 +274,7 @@ const rt = ["src"], at = ["src"], ft = /* @__PURE__ */ me({
|
|
|
276
274
|
{
|
|
277
275
|
immediate: !0
|
|
278
276
|
}
|
|
279
|
-
),
|
|
277
|
+
), C(
|
|
280
278
|
() => ($.value, {
|
|
281
279
|
reportId: Le.value,
|
|
282
280
|
selectedLocationIds: o.selectedLocationIds,
|
|
@@ -304,29 +302,29 @@ const rt = ["src"], at = ["src"], ft = /* @__PURE__ */ me({
|
|
|
304
302
|
compareEndDate: l(d.endDate, "end", t.timezone),
|
|
305
303
|
timeStart: a.start ? JSON.stringify(a.start) : void 0,
|
|
306
304
|
timeEnd: a.end ? JSON.stringify(a.end) : void 0
|
|
307
|
-
},
|
|
308
|
-
i.isAllLocation = String(
|
|
309
|
-
const
|
|
310
|
-
|
|
305
|
+
}, v = e.length === o.locations.length;
|
|
306
|
+
i.isAllLocation = String(v), v ? delete i.locationIds : e.length > 0 ? i.locationIds = JSON.stringify(e) : delete i.locationIds;
|
|
307
|
+
const S = JSON.stringify(n.query), D = JSON.stringify(i);
|
|
308
|
+
S !== D && B.replace({
|
|
311
309
|
name: n.name,
|
|
312
310
|
params: n.params,
|
|
313
311
|
query: i
|
|
314
312
|
});
|
|
315
313
|
},
|
|
316
314
|
{ deep: !0 }
|
|
317
|
-
),
|
|
318
|
-
const r =
|
|
319
|
-
return
|
|
320
|
-
|
|
321
|
-
u(
|
|
315
|
+
), tt(), (t, e) => {
|
|
316
|
+
const r = X("router-view");
|
|
317
|
+
return A(), H(Je, null, [
|
|
318
|
+
Y(et),
|
|
319
|
+
u(y) === "v3" ? (A(), H("iframe", {
|
|
322
320
|
key: 0,
|
|
323
321
|
class: "bg-white h-full w-full",
|
|
324
322
|
src: Ce.value
|
|
325
|
-
}, null, 8,
|
|
323
|
+
}, null, 8, nt)) : u(y) === "v4" ? (A(), H("iframe", {
|
|
326
324
|
key: 1,
|
|
327
325
|
class: "bg-white h-full w-full",
|
|
328
326
|
src: ke.value
|
|
329
|
-
}, null, 8,
|
|
327
|
+
}, null, 8, rt)) : (A(), pe(r, { key: 2 }))
|
|
330
328
|
], 64);
|
|
331
329
|
};
|
|
332
330
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as se, resolveComponent as Y, createBlock as R, openBlock as p, normalizeClass as Ce, withCtx as V, createCommentVNode as F, createElementVNode as N, toDisplayString as pe, renderSlot as Re, mergeModels as Q, useModel as j, ref as A, computed as B, watch as x, nextTick as Z, onMounted as Se, onBeforeUnmount as xe, createElementBlock as be, unref as P, createVNode as ee } from "vue";
|
|
2
|
-
import { d as m, a as Pe, C as $, j as Ee } from "./app-
|
|
2
|
+
import { d as m, a as Pe, C as $, j as Ee } from "./app-5pQ-88Qg.js";
|
|
3
3
|
import { detectLocale as te } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as Te, _ as we } from "./_plugin-vue_export-helper-kkiiQoKl.js";
|
|
5
5
|
import { storeToRefs as Me } from "pinia";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as p, resolveComponent as f, createElementBlock as s, openBlock as t, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as g, renderSlot as x } from "vue";
|
|
2
|
-
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CjkhnFr1.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
5
|
import { u as q, a as w } from "./_plugin-vue_export-helper-kkiiQoKl.js";
|