@feedmepos/mf-report 5.25.7 → 5.25.8-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.
Files changed (28) hide show
  1. package/dist/{App-BMj1o_t6.js → App-Bf0aor2N.js} +112 -108
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-r5JrwnWY.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-Pi8dxsZB.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-D9MR-Tyr.js → Default.vue_vue_type_script_setup_true_lang-D3_780WC.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-D3zN3tqo.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DVUsMsQ_.js} +1549 -1563
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Ds2Rd7nK.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DtqKlOMY.js} +3263 -3161
  6. package/dist/{InsightView-CLkhmik2.js → InsightView-b87hirKo.js} +5 -5
  7. package/dist/{Integration-BLjTOunk.js → Integration-1xVvqpR9.js} +3 -3
  8. package/dist/{Integrations-C_htzgLO.js → Integrations-DRyBjbzQ.js} +3 -3
  9. package/dist/{Layout-B9AfrRso.js → Layout-BMzYemst.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-1G6ZNWRO.js → MenuTab.vue_vue_type_script_setup_true_lang-Da1Gn2bZ.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CBYyjcaw.js → NavigationTab.vue_vue_type_script_setup_true_lang-B6eTZCAI.js} +4 -4
  12. package/dist/{OverviewView-CGen9md5.js → OverviewView-CkR-L3L_.js} +5 -5
  13. package/dist/{Report-CujIJ861.js → Report-aWItqZEn.js} +4 -4
  14. package/dist/{ReportEditor-cI0knIcX.js → ReportEditor-DENfrm0X.js} +4 -4
  15. package/dist/ReportView-2lVjNU0x.js +309 -0
  16. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-Af_Z54a4.js → SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js} +2 -2
  17. package/dist/{Setting-C_mFfeHY.js → Setting-yKwX201x.js} +4 -4
  18. package/dist/Template-CQqtVjZo.js +482 -0
  19. package/dist/{TileEditor-Ra6Pw4Hb.js → TileEditor-Bq7g2E1s.js} +274 -282
  20. package/dist/{TransitionFade-BjG4BHLj.js → TransitionFade-DaOt5oN7.js} +5 -5
  21. package/dist/{app-CYlbtwt9.js → app-CMuJ9xn3.js} +2693 -2360
  22. package/dist/app.js +1 -1
  23. package/dist/assets/{formatChartData.worker-BzuADGYi.js → formatChartData.worker-BlVUDagT.js} +15 -11
  24. package/dist/assets/{processTableData.worker-DTnbVu-a.js → processTableData.worker-CQMw9rvu.js} +15 -11
  25. package/dist/style.css +1 -1
  26. package/dist/{useRestaurantPermission-BoIwOw0q.js → useRestaurantPermission-dPvQepPN.js} +1 -1
  27. package/package.json +1 -1
  28. package/dist/ReportView-BNCAume3.js +0 -264
@@ -1,38 +1,39 @@
1
- import { defineComponent as ue, resolveComponent as H, createBlock as de, openBlock as A, unref as d, isRef as Ee, withCtx as P, createElementVNode as ne, createVNode as X, toDisplayString as oe, createTextVNode as ke, onMounted as le, watch as C, ref as J, computed as re, onBeforeMount as Te, onBeforeUnmount as Ne, createElementBlock as G, Fragment as $e } from "vue";
2
- import { detectLocale as Q, useCoreStore as K } from "@feedmepos/mf-common";
3
- import { d as u, u as Be, a as ae, b as Fe, c as se, e as qe, f as xe, s as Je, t as W } from "./app-CYlbtwt9.js";
4
- import { storeToRefs as E } from "pinia";
5
- import { u as Qe, a as Ue } from "./vue-i18n-DVWuTfed.js";
6
- import { u as je, a as ze } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Ds2Rd7nK.js";
7
- import { u as Ve, _ as Pe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CBYyjcaw.js";
1
+ import { defineComponent as ue, resolveComponent as H, createBlock as de, openBlock as E, unref as d, isRef as ke, withCtx as W, createElementVNode as ne, createVNode as X, toDisplayString as ae, createTextVNode as Te, onMounted as le, watch as C, ref as Q, computed as oe, onBeforeMount as Ne, onBeforeUnmount as qe, createElementBlock as K, Fragment as Fe } from "vue";
2
+ import { detectLocale as U, useCoreStore as P } from "@feedmepos/mf-common";
3
+ import { d as u, u as $e, a as re, b as Be, c as se, e as xe, f as Je, s as Qe, t as G } from "./app-CMuJ9xn3.js";
4
+ import { storeToRefs as k } from "pinia";
5
+ import { u as Ue, a as ze } from "./vue-i18n-DVWuTfed.js";
6
+ import { u as je, a as Ve } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DtqKlOMY.js";
7
+ import { u as We, _ as Ke } from "./NavigationTab.vue_vue_type_script_setup_true_lang-B6eTZCAI.js";
8
8
  import { u as ie } from "./message-dialog-UoMWOnil.js";
9
- import { useRoute as Ge, useRouter as Ke } from "vue-router";
10
- const We = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, He = /* @__PURE__ */ ue({
9
+ import { useRoute as Pe, useRouter as Ge } from "vue-router";
10
+ const He = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Xe = /* @__PURE__ */ ue({
11
11
  __name: "Dialog",
12
- setup(k) {
13
- const { t: c } = Qe(), p = ie(), { isOpened: g, message: _, title: L } = E(ie());
12
+ setup(T) {
13
+ const { t: c } = Ue(), p = ie(), { isOpened: g, message: _, title: L } = k(ie());
14
14
  return (O, I) => {
15
- const T = H("FmButton"), U = H("FmDialog");
16
- return A(), de(U, {
15
+ const N = H("FmButton"), z = H("FmDialog");
16
+ return E(), de(z, {
17
17
  modelValue: d(g),
18
- "onUpdate:modelValue": I[0] || (I[0] = (j) => Ee(g) ? g.value = j : null),
18
+ "onUpdate:modelValue": I[0] || (I[0] = (j) => ke(g) ? g.value = j : null),
19
19
  overlay: "",
20
- "close-button": !1
20
+ "close-button": !1,
21
+ "z-index": 3e3
21
22
  }, {
22
- "dialog-header": P(() => [
23
- ke(oe(d(L)), 1)
23
+ "dialog-header": W(() => [
24
+ Te(ae(d(L)), 1)
24
25
  ]),
25
- default: P(() => [
26
- ne("p", We, oe(d(_)), 1)
26
+ default: W(() => [
27
+ ne("p", He, ae(d(_)), 1)
27
28
  ]),
28
- "dialog-footer": P(() => [
29
+ "dialog-footer": W(() => [
29
30
  I[1] || (I[1] = ne("div", { class: "grow" }, null, -1)),
30
- X(T, {
31
+ X(N, {
31
32
  label: d(c)("report.common.cancel"),
32
33
  variant: "tertiary",
33
34
  onClick: d(p).dismiss
34
35
  }, null, 8, ["label", "onClick"]),
35
- X(T, {
36
+ X(N, {
36
37
  label: d(c)("report.common.confirm"),
37
38
  onClick: d(p).confirm
38
39
  }, null, 8, ["label", "onClick"])
@@ -41,9 +42,9 @@ const We = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, He
41
42
  }, 8, ["modelValue"]);
42
43
  };
43
44
  }
44
- }), ce = J(Q());
45
- function Xe() {
46
- const k = (c) => {
45
+ }), ce = Q(U());
46
+ function Ye() {
47
+ const T = (c) => {
47
48
  switch (ce.value = c, c) {
48
49
  case "zh-CN":
49
50
  u.locale("zh-cn");
@@ -54,22 +55,22 @@ function Xe() {
54
55
  }
55
56
  };
56
57
  return le(() => {
57
- k(Q());
58
- }), C(() => Q(), k, { deep: !0, immediate: !0 }), {
58
+ T(U());
59
+ }), C(() => U(), T, { deep: !0, immediate: !0 }), {
59
60
  currentLocale: ce
60
61
  };
61
62
  }
62
- u.locale(Q() === "zh-CN" ? "zh-cn" : "en");
63
- const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
63
+ u.locale(U() === "zh-CN" ? "zh-cn" : "en");
64
+ const Ze = ["src"], Me = ["src"], ft = /* @__PURE__ */ ue({
64
65
  __name: "App",
65
- setup(k) {
66
- const { businessId: c, token: p, country: g } = E(Be()), { sessionUser: _, currentBusiness: L, currentCountry: O, registerSidebarComponent: I } = K(), { getRestaurantAndWarehouse: T, getBusinessSetting: U, beginBusinessLoad: j, completeBusinessLoad: fe } = ae(), { getFeatureFlags: me } = Fe(), { version: v } = E(se()), { getSettings: pe } = qe(), { promptLoader: ge } = Ue(), s = Ge(), z = Ke(), w = je(), Y = Ve(), a = ae(), N = se(), { suppressReportRouteSync: $ } = E(N), { getReports: ve, getOverviewReport: ye, getReportConfig: Se, currentReportId: Z } = w, { currentReportId: De, reports: Ie } = E(w), { getSchema: he } = ze(), { fetchSchedules: Re } = Y, { init: _e } = xe(), V = J("v5"), B = J(!1), F = J(!0), Le = re(() => `https://portal-v1.feedme.cc/b/${c.value}/report/CLOSE_UP?showHeader=false&country=${g.value.toUpperCase()}&menuOption=business-report&token=${p.value}&v2=true&reportV5Button=true`), Oe = re(() => `https://report-v4.feedme.cc?businessId=${c.value}&country=${g.value}&token=${p.value}&reportV3Button=true`);
66
+ setup(T) {
67
+ const { businessId: c, token: p, country: g } = k($e()), { sessionUser: _, currentBusiness: L, currentCountry: O, registerSidebarComponent: I } = P(), { getRestaurantAndWarehouse: N, getBusinessSetting: z, beginBusinessLoad: j, completeBusinessLoad: fe } = re(), me = Be(), { getFeatureFlags: pe } = me, { version: v } = k(se()), { getSettings: ge } = xe(), { promptLoader: ve } = ze(), a = Pe(), q = Ge(), w = je(), Y = We(), s = re(), b = se(), { suppressReportRouteSync: F } = k(b), { getReports: ye, getOverviewReport: Se, getReportConfig: De, currentReportId: Z } = w, { currentReportId: Ie, reports: he } = k(w), { getSchema: Re } = Ve(), { fetchSchedules: _e } = Y, { init: Le } = Je(), V = Q("v5"), $ = Q(!1), B = Q(!0), Oe = oe(() => `https://portal-v1.feedmedev.cc/b/${c.value}/report/CLOSE_UP?showHeader=false&country=${g.value.toUpperCase()}&menuOption=business-report&token=${p.value}&v2=true&reportV5Button=true`), we = oe(() => `https://report-v4.feedmedev.cc?businessId=${c.value}&country=${g.value}&token=${p.value}&reportV3Button=true`);
67
68
  C(
68
69
  [() => L.value, () => _.value, () => O.value],
69
70
  () => {
70
71
  var e, n;
71
72
  const t = ((e = L.value) == null ? void 0 : e.id) ?? "";
72
- L.value && _.value && O.value && (Je(O.value), c.value !== t && (c.value = t), p.value = ((n = _.value) == null ? void 0 : n.token) ?? "", g.value = O.value ?? "");
73
+ L.value && _.value && O.value && (Qe(O.value), c.value !== t && (c.value = t), p.value = ((n = _.value) == null ? void 0 : n.token) ?? "", g.value = O.value ?? "");
73
74
  },
74
75
  { immediate: !0 }
75
76
  );
@@ -92,24 +93,24 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
92
93
  }
93
94
  }
94
95
  C(v, () => {
95
- ["v3", "v4"].includes(v.value) ? K().hideSidebarToggle(!0) : K().hideSidebarToggle(!1);
96
- }), Te(() => {
97
- I(Pe);
98
- }), le(() => {
99
- console.log("5.25.7", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
96
+ ["v3", "v4"].includes(v.value) ? P().hideSidebarToggle(!0) : P().hideSidebarToggle(!1);
100
97
  }), Ne(() => {
98
+ I(Ke);
99
+ }), le(() => {
100
+ console.log("5.25.8-beta.0", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
101
+ }), qe(() => {
101
102
  window.removeEventListener("message", M), window.removeEventListener("message", ee), w.$dispose(), Y.$dispose();
102
103
  });
103
- function we(t) {
104
+ function be(t) {
104
105
  try {
105
106
  return decodeURIComponent(t);
106
107
  } catch {
107
108
  return t;
108
109
  }
109
110
  }
110
- function q(t) {
111
+ function x(t) {
111
112
  if (typeof t != "string" || t.length === 0) return;
112
- const e = t.includes("%") ? [t, we(t)] : [t];
113
+ const e = t.includes("%") ? [t, be(t)] : [t];
113
114
  for (const n of e)
114
115
  try {
115
116
  const o = JSON.parse(n);
@@ -128,34 +129,34 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
128
129
  const e = t;
129
130
  return typeof e.hour == "number" && typeof e.minute == "number";
130
131
  }
131
- function be(t = s.query) {
132
- const e = t, n = e.startDate ? u(e.startDate).startOf("day").toISOString() : void 0, o = e.endDate ? u(e.endDate).endOf("day").toISOString() : void 0, l = typeof e.timeStart == "string", i = typeof e.timeEnd == "string", f = q(e.timeStart), y = q(e.timeEnd), m = te(f) ? f : null, x = te(y) ? y : null, b = e.compareStartDate ? u(e.compareStartDate).startOf("day").toISOString() : void 0, S = e.compareEndDate ? u(e.compareEndDate).endOf("day").toISOString() : void 0, h = e.isAllLocation === "true" || e.isAllLocation === void 0;
132
+ function Ae(t = a.query) {
133
+ const e = t, n = e.startDate ? u(e.startDate).startOf("day").toISOString() : void 0, o = e.endDate ? u(e.endDate).endOf("day").toISOString() : void 0, l = typeof e.timeStart == "string", i = typeof e.timeEnd == "string", f = x(e.timeStart), y = x(e.timeEnd), m = te(f) ? f : null, J = te(y) ? y : null, A = e.compareStartDate ? u(e.compareStartDate).startOf("day").toISOString() : void 0, S = e.compareEndDate ? u(e.compareEndDate).endOf("day").toISOString() : void 0, h = e.isAllLocation === "true" || e.isAllLocation === void 0;
133
134
  let D = [];
134
135
  if (h)
135
- D = a.selectedLocationIds ?? [];
136
+ D = s.selectedLocationIds ?? [];
136
137
  else {
137
- const r = q(e.locationIds);
138
+ const r = x(e.locationIds);
138
139
  D = Array.isArray(r) ? r : [];
139
140
  }
140
141
  let R = e.reportId || Z;
141
- if (Ie.value.find((r) => r.id === R) || (R = Z), R && R !== w.currentReportId && w.updateCurrentReportId(R), n || o) {
142
- const r = a.dateRange;
143
- (r.startDate !== n || r.endDate !== o) && a.setDateRange({ startDate: n, endDate: o });
142
+ if (he.value.find((r) => r.id === R) || (R = Z), R && R !== w.currentReportId && w.updateCurrentReportId(R), n || o) {
143
+ const r = s.dateRange;
144
+ (r.startDate !== n || r.endDate !== o) && s.setDateRange({ startDate: n, endDate: o });
144
145
  }
145
146
  if (l || i) {
146
- const r = a.timeRange;
147
- (r.start !== m || r.end !== x) && a.setTimeRange({ start: m, end: x });
147
+ const r = s.timeRange;
148
+ (r.start !== m || r.end !== J) && s.setTimeRange({ start: m, end: J });
148
149
  }
149
- if (b || S) {
150
- const r = a.compareDateRange;
151
- (r.startDate !== b || r.endDate !== S) && a.setCompareDateRange({
152
- startDate: b,
150
+ if (A || S) {
151
+ const r = s.compareDateRange;
152
+ (r.startDate !== A || r.endDate !== S) && s.setCompareDateRange({
153
+ startDate: A,
153
154
  endDate: S
154
155
  });
155
156
  }
156
157
  if (!h) {
157
- const r = a.selectedLocationIds;
158
- r.length === D.length && r.every((Ae, Ce) => Ae === D[Ce]) || a.setSelectedLocationIds(D);
158
+ const r = s.selectedLocationIds;
159
+ r.length === D.length && r.every((Ee, Ce) => Ee === D[Ce]) || s.setSelectedLocationIds(D);
159
160
  }
160
161
  return {
161
162
  // TODO: this returned value can used for getBusinessSetting
@@ -174,7 +175,7 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
174
175
  () => c.value,
175
176
  async (t, e) => {
176
177
  if (t !== "") {
177
- B.value = !1, j(t);
178
+ $.value = !1, j(t);
178
179
  const n = "mf-report-prev-business-id", o = (() => {
179
180
  try {
180
181
  return sessionStorage.getItem(n);
@@ -182,50 +183,53 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
182
183
  return null;
183
184
  }
184
185
  })(), l = !!o && o !== t;
185
- let i = { ...s.query }, f = !1;
186
- if (!F.value || e !== void 0 || l) {
187
- a.setSelectedLocationIds([]);
188
- const { locationIds: y, ...m } = s.query;
186
+ let i = { ...a.query }, f = !1;
187
+ if (!B.value || e !== void 0 || l) {
188
+ s.setSelectedLocationIds([]);
189
+ const { locationIds: y, ...m } = a.query;
189
190
  i = {
190
191
  ...m,
191
192
  isAllLocation: "true"
192
- }, f = !0, await z.replace({
193
- name: s.name,
194
- params: s.params,
193
+ }, f = !0, await q.replace({
194
+ name: a.name,
195
+ params: a.params,
195
196
  query: i
196
197
  });
197
198
  }
198
- $.value !== void 0 && ($.value = !0), await ge(async () => {
199
- await _e({
200
- apiKey: "6GhcttsJ9Rj9cTevcdrpin",
199
+ F.value !== void 0 && (F.value = !0), await ve(async () => {
200
+ await Le({
201
+ apiKey: "MaGoXrEWuEJNpWgKTqseee",
201
202
  url: "https://flag.feedme.farm/api/v1/",
202
203
  enableAnalytics: !1,
203
204
  cacheFlags: !1
204
205
  });
205
- const y = await Se();
206
- V.value = y.version, v.value = V.value, await me();
207
- const m = N.canAccess(
208
- W.report_accessOverview
209
- ), x = N.canAccess(
210
- W.report_accessSetting
211
- ), b = N.canAccess(
212
- W.report_accessIntegration
206
+ const y = await De();
207
+ V.value = y.version, v.value = V.value, await pe(), a.name === "template" && !b.canAccessTemplate() && await q.replace({
208
+ name: "reports",
209
+ query: a.query
210
+ });
211
+ const m = b.canAccess(
212
+ G.report_accessOverview
213
+ ), J = b.canAccess(
214
+ G.report_accessSetting
215
+ ), A = b.canAccess(
216
+ G.report_accessIntegration
213
217
  ), S = [
214
- he(),
215
218
  Re(),
216
- ve(),
217
- T(
219
+ _e(),
220
+ ye(),
221
+ N(
218
222
  (() => {
219
- const h = q(i.locationIds);
223
+ const h = x(i.locationIds);
220
224
  return Array.isArray(h) ? h : void 0;
221
225
  })()
222
226
  )
223
227
  ];
224
- if (m && S.push(ye()), b && S.push(pe()), await Promise.all(S), x && await U(), be(i), f) {
225
- const { locationIds: h, ...D } = s.query;
226
- (s.query.locationIds !== void 0 || s.query.isAllLocation !== "true") && await z.replace({
227
- name: s.name,
228
- params: s.params,
228
+ if (m && S.push(Se()), A && S.push(ge()), await Promise.all(S), J && await z(), Ae(i), f) {
229
+ const { locationIds: h, ...D } = a.query;
230
+ (a.query.locationIds !== void 0 || a.query.isAllLocation !== "true") && await q.replace({
231
+ name: a.name,
232
+ params: a.params,
229
233
  query: {
230
234
  ...D,
231
235
  isAllLocation: "true"
@@ -237,28 +241,28 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
237
241
  sessionStorage.setItem(n, t);
238
242
  } catch {
239
243
  }
240
- }), B.value = !0, F.value && (F.value = !1);
244
+ }), $.value = !0, B.value && (B.value = !1);
241
245
  }
242
246
  },
243
247
  {
244
248
  immediate: !0
245
249
  }
246
250
  ), C(
247
- () => (B.value, {
248
- reportId: De.value,
249
- selectedLocationIds: a.selectedLocationIds,
250
- dateRange: a.dateRange,
251
- timeRange: a.timeRange,
252
- compareDateRange: a.compareDateRange
251
+ () => ($.value, {
252
+ reportId: Ie.value,
253
+ selectedLocationIds: s.selectedLocationIds,
254
+ dateRange: s.dateRange,
255
+ timeRange: s.timeRange,
256
+ compareDateRange: s.compareDateRange
253
257
  }),
254
258
  (t) => {
255
- if (!B.value || !t.reportId || F.value) return;
256
- if ($.value) {
257
- $.value = !1;
259
+ if (!$.value || !t.reportId || B.value) return;
260
+ if (F.value) {
261
+ F.value = !1;
258
262
  return;
259
263
  }
260
264
  const e = t.selectedLocationIds, n = t.dateRange, o = t.timeRange, l = t.compareDateRange, i = {
261
- ...s.query,
265
+ ...a.query,
262
266
  reportId: t.reportId,
263
267
  startDate: n.startDate ? u(n.startDate).startOf("day").toISOString() : void 0,
264
268
  endDate: n.endDate ? u(n.endDate).endOf("day").toISOString() : void 0,
@@ -266,33 +270,33 @@ const Ye = ["src"], Ze = ["src"], lt = /* @__PURE__ */ ue({
266
270
  compareEndDate: l.endDate ? u(l.endDate).endOf("day").toISOString() : void 0,
267
271
  timeStart: o.start ? JSON.stringify(o.start) : void 0,
268
272
  timeEnd: o.end ? JSON.stringify(o.end) : void 0
269
- }, f = e.length === a.locations.length;
273
+ }, f = e.length === s.locations.length;
270
274
  i.isAllLocation = String(f), f ? delete i.locationIds : e.length > 0 ? i.locationIds = JSON.stringify(e) : delete i.locationIds;
271
- const y = JSON.stringify(s.query), m = JSON.stringify(i);
272
- y !== m && z.replace({
273
- name: s.name,
274
- params: s.params,
275
+ const y = JSON.stringify(a.query), m = JSON.stringify(i);
276
+ y !== m && q.replace({
277
+ name: a.name,
278
+ params: a.params,
275
279
  query: i
276
280
  });
277
281
  },
278
282
  { deep: !0 }
279
- ), Xe(), (t, e) => {
283
+ ), Ye(), (t, e) => {
280
284
  const n = H("router-view");
281
- return A(), G($e, null, [
282
- X(He),
283
- d(v) === "v3" ? (A(), G("iframe", {
285
+ return E(), K(Fe, null, [
286
+ X(Xe),
287
+ d(v) === "v3" ? (E(), K("iframe", {
284
288
  key: 0,
285
289
  class: "bg-white h-full w-full",
286
- src: Le.value
287
- }, null, 8, Ye)) : d(v) === "v4" ? (A(), G("iframe", {
290
+ src: Oe.value
291
+ }, null, 8, Ze)) : d(v) === "v4" ? (E(), K("iframe", {
288
292
  key: 1,
289
293
  class: "bg-white h-full w-full",
290
- src: Oe.value
291
- }, null, 8, Ze)) : (A(), de(n, { key: 2 }))
294
+ src: we.value
295
+ }, null, 8, Me)) : (E(), de(n, { key: 2 }))
292
296
  ], 64);
293
297
  };
294
298
  }
295
299
  });
296
300
  export {
297
- lt as default
301
+ ft as default
298
302
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, resolveComponent as C, createBlock as h, openBlock as D, normalizeClass as G, withCtx as I, createCommentVNode as x, createElementVNode as w, toDisplayString as H, renderSlot as K, mergeModels as L, useModel as E, ref as z, watch as F, createElementBlock as J, unref as y, createVNode as k } from "vue";
2
- import { d as u, a as Q, U as Z, C as ee } from "./app-CYlbtwt9.js";
2
+ import { d as u, a as Q, U as Z, C as ee } from "./app-CMuJ9xn3.js";
3
3
  import { detectLocale as _ } from "@feedmepos/mf-common";
4
4
  import { u as ae } from "./vue-i18n-DVWuTfed.js";
5
5
  import { storeToRefs as te } 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-CBYyjcaw.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-B6eTZCAI.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 "./vue-i18n-DVWuTfed.js";