@feedmepos/mf-report 5.27.19-beta.0 → 5.27.19

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 (24) hide show
  1. package/dist/{App-Bu9Wgw08.js → App-EYxAVNPq.js} +36 -36
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-Bob8-P4G.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DU00gMtu.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CSNaH0FX.js → Default.vue_vue_type_script_setup_true_lang-DqZav9EE.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CAlvJuPN.js → DynamicWidget.vue_vue_type_script_setup_true_lang-D5-p6Dte.js} +3 -3
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DodVEjAQ.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BZlXHYzg.js} +2 -2
  6. package/dist/{InsightView-DMTf6Ewl.js → InsightView-ctgBO3zj.js} +4 -4
  7. package/dist/{Integration-wnmq7vcd.js → Integration-Dixvhrgn.js} +3 -3
  8. package/dist/{Integrations-UZlC0GOo.js → Integrations-CwJKOpsF.js} +2 -2
  9. package/dist/{Layout-D3OJQniY.js → Layout-CKWucJsN.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BWeCE98B.js → MenuTab.vue_vue_type_script_setup_true_lang-D8zSinU4.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-Da6fqQHw.js → NavigationTab.vue_vue_type_script_setup_true_lang-Bwrmuhdd.js} +3 -3
  12. package/dist/{OverviewView-JOGJn4_-.js → OverviewView-TQdYqfHB.js} +4 -4
  13. package/dist/{Report-CqidqIm1.js → Report-DjxWgvmf.js} +3 -3
  14. package/dist/{ReportEditor-hKhJAv3U.js → ReportEditor-5S-tSoVR.js} +6 -6
  15. package/dist/{ReportView-DOPteo2W.js → ReportView-CvcsnWrI.js} +6 -6
  16. package/dist/{Setting-CyFBJFPa.js → Setting-B_lmRkVq.js} +3 -3
  17. package/dist/{Template-CSxv2X7z.js → Template-CWsLoonj.js} +3 -3
  18. package/dist/{TileEditor-dIvt1e9W.js → TileEditor-BQ20Db33.js} +5 -5
  19. package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-DFmDXT0m.js → TileGrid.vue_vue_type_script_setup_true_lang-1ueSfiGk.js} +1 -1
  20. package/dist/{TransitionFade-B6pbhHAD.js → TransitionFade-0frvJ_jm.js} +4 -4
  21. package/dist/{app-Xgbm5TY7.js → app-BHYwfe1u.js} +13 -13
  22. package/dist/app.js +1 -1
  23. package/dist/{useRestaurantPermission-DgCkP02y.js → useRestaurantPermission-C3af6MeH.js} +1 -1
  24. package/package.json +1 -1
@@ -1,39 +1,39 @@
1
- import { defineComponent as ue, resolveComponent as X, createBlock as le, openBlock as C, unref as l, isRef as Ne, withCtx as K, createElementVNode as ae, createVNode as Y, toDisplayString as re, createTextVNode as Fe, onMounted as me, watch as k, ref as Q, computed as oe, onBeforeMount as $e, onBeforeUnmount as Be, createElementBlock as P, Fragment as xe } from "vue";
2
- import { detectLocale as U, useCoreStore as G } from "@feedmepos/mf-common";
3
- import { d, u as Je, a as se, b as Qe, c as ie, e as Ue, f as ze, s as je, t as H } from "./app-Xgbm5TY7.js";
1
+ import { defineComponent as ue, resolveComponent as X, createBlock as le, openBlock as C, unref as l, isRef as Fe, withCtx as G, createElementVNode as ae, createVNode as Y, toDisplayString as re, createTextVNode as Ne, onMounted as me, watch as k, ref as Q, computed as oe, onBeforeMount as $e, onBeforeUnmount as Be, createElementBlock as K, Fragment as xe } from "vue";
2
+ import { detectLocale as U, useCoreStore as W } from "@feedmepos/mf-common";
3
+ import { d, u as Je, a as se, b as Qe, c as ie, e as Ue, f as ze, s as je, t as H } from "./app-BHYwfe1u.js";
4
4
  import { storeToRefs as q } from "pinia";
5
- import { u as Ve, a as We } from "./_plugin-vue_export-helper-onplcgja.js";
6
- import { u as Ke, a as Pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DodVEjAQ.js";
7
- import { u as Ge, _ as He } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Da6fqQHw.js";
5
+ import { u as Ve, a as Pe } from "./_plugin-vue_export-helper-onplcgja.js";
6
+ import { u as Ge, a as Ke } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BZlXHYzg.js";
7
+ import { u as We, _ as He } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Bwrmuhdd.js";
8
8
  import { u as ce } from "./message-dialog-UoMWOnil.js";
9
9
  import { useRoute as Xe, useRouter as Ye } from "vue-router";
10
10
  const Ze = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Me = /* @__PURE__ */ ue({
11
11
  __name: "Dialog",
12
12
  setup(T) {
13
- const { t: c } = Ve(), g = ce(), { isOpened: S, message: E, title: L } = q(ce());
13
+ const { t: c } = Ve(), g = ce(), { isOpened: S, message: L, title: E } = q(ce());
14
14
  return (O, _) => {
15
- const N = X("FmButton"), z = X("FmDialog");
15
+ const F = X("FmButton"), z = X("FmDialog");
16
16
  return C(), le(z, {
17
17
  modelValue: l(S),
18
- "onUpdate:modelValue": _[0] || (_[0] = (j) => Ne(S) ? S.value = j : null),
18
+ "onUpdate:modelValue": _[0] || (_[0] = (j) => Fe(S) ? S.value = j : null),
19
19
  overlay: "",
20
20
  "close-button": !1,
21
21
  "z-index": 3e3
22
22
  }, {
23
- "dialog-header": K(() => [
24
- Fe(re(l(L)), 1)
23
+ "dialog-header": G(() => [
24
+ Ne(re(l(E)), 1)
25
25
  ]),
26
- default: K(() => [
27
- ae("p", Ze, re(l(E)), 1)
26
+ default: G(() => [
27
+ ae("p", Ze, re(l(L)), 1)
28
28
  ]),
29
- "dialog-footer": K(() => [
29
+ "dialog-footer": G(() => [
30
30
  _[1] || (_[1] = ae("div", { class: "grow" }, null, -1)),
31
- Y(N, {
31
+ Y(F, {
32
32
  label: l(c)("report.common.cancel"),
33
33
  variant: "tertiary",
34
34
  onClick: l(g).dismiss
35
35
  }, null, 8, ["label", "onClick"]),
36
- Y(N, {
36
+ Y(F, {
37
37
  label: l(c)("report.common.confirm"),
38
38
  onClick: l(g).confirm
39
39
  }, null, 8, ["label", "onClick"])
@@ -64,13 +64,13 @@ d.locale(U() === "zh-CN" ? "zh-cn" : "en");
64
64
  const tt = ["src"], nt = ["src"], mt = /* @__PURE__ */ ue({
65
65
  __name: "App",
66
66
  setup(T) {
67
- const { businessId: c, token: g, country: S } = q(Je()), { sessionUser: E, currentBusiness: L, currentCountry: O, registerSidebarComponent: _ } = G(), { getRestaurantAndWarehouse: N, getBusinessSetting: z, beginBusinessLoad: j, completeBusinessLoad: fe } = se(), pe = Qe(), { getFeatureFlags: ge } = pe, { version: y } = q(ie()), { getSettings: Se } = Ue(), { promptLoader: ye } = We(), n = Xe(), F = Ye(), w = Ke(), Z = Ge(), o = se(), b = ie(), { suppressReportRouteSync: $ } = q(b), { getReports: ve, getOverviewReport: De, getReportConfig: Ie, currentReportId: M } = w, { currentReportId: he, reports: _e } = q(w), { getSchema: Re } = Pe(), { fetchSchedules: Ee } = Z, { init: Le } = ze(), V = Q("v5"), B = Q(!1), x = Q(!0), Oe = oe(() => `https://portal-v1.feedmedev.cc/b/${c.value}/report/CLOSE_UP?showHeader=false&country=${S.value.toUpperCase()}&menuOption=business-report&token=${g.value}&v2=true&reportV5Button=true`), we = oe(() => `https://report-v4.feedmedev.cc?businessId=${c.value}&country=${S.value}&token=${g.value}&reportV3Button=true`);
67
+ const { businessId: c, token: g, country: S } = q(Je()), { sessionUser: L, currentBusiness: E, currentCountry: O, registerSidebarComponent: _ } = W(), { getRestaurantAndWarehouse: F, getBusinessSetting: z, beginBusinessLoad: j, completeBusinessLoad: fe } = se(), pe = Qe(), { getFeatureFlags: ge } = pe, { version: y } = q(ie()), { getSettings: Se } = Ue(), { promptLoader: ye } = Pe(), n = Xe(), N = Ye(), w = Ge(), Z = We(), o = se(), b = ie(), { suppressReportRouteSync: $ } = q(b), { getReports: ve, getOverviewReport: De, getReportConfig: Ie, currentReportId: M } = w, { currentReportId: he, reports: _e } = q(w), { getSchema: Re } = Ke(), { fetchSchedules: Le } = Z, { init: Ee } = ze(), V = Q("v5"), B = Q(!1), x = Q(!0), Oe = oe(() => `https://portal-v1.feedme.cc/b/${c.value}/report/CLOSE_UP?showHeader=false&country=${S.value.toUpperCase()}&menuOption=business-report&token=${g.value}&v2=true&reportV5Button=true`), we = oe(() => `https://report-v4.feedme.cc?businessId=${c.value}&country=${S.value}&token=${g.value}&reportV3Button=true`);
68
68
  k(
69
- [() => L.value, () => E.value, () => O.value],
69
+ [() => E.value, () => L.value, () => O.value],
70
70
  () => {
71
71
  var e, a;
72
- const t = ((e = L.value) == null ? void 0 : e.id) ?? "";
73
- L.value && E.value && O.value && (je(O.value), c.value !== t && (c.value = t), g.value = ((a = E.value) == null ? void 0 : a.token) ?? "", S.value = O.value ?? "");
72
+ const t = ((e = E.value) == null ? void 0 : e.id) ?? "";
73
+ E.value && L.value && O.value && (je(O.value), c.value !== t && (c.value = t), g.value = ((a = L.value) == null ? void 0 : a.token) ?? "", S.value = O.value ?? "");
74
74
  },
75
75
  { immediate: !0 }
76
76
  );
@@ -93,11 +93,11 @@ const tt = ["src"], nt = ["src"], mt = /* @__PURE__ */ ue({
93
93
  }
94
94
  }
95
95
  k(y, () => {
96
- ["v3", "v4"].includes(y.value) ? G().hideSidebarToggle(!0) : G().hideSidebarToggle(!1);
96
+ ["v3", "v4"].includes(y.value) ? W().hideSidebarToggle(!0) : W().hideSidebarToggle(!1);
97
97
  }), $e(() => {
98
98
  _(He);
99
99
  }), me(() => {
100
- console.log("5.27.19-beta.0", !0), window.addEventListener("message", ee), window.addEventListener("message", te);
100
+ console.log("5.27.19", !0), window.addEventListener("message", ee), window.addEventListener("message", te);
101
101
  }), Be(() => {
102
102
  window.removeEventListener("message", ee), window.removeEventListener("message", te), w.$dispose(), Z.$dispose();
103
103
  });
@@ -156,7 +156,7 @@ const tt = ["src"], nt = ["src"], mt = /* @__PURE__ */ ue({
156
156
  }
157
157
  if (!I) {
158
158
  const r = o.selectedLocationIds;
159
- r.length === h.length && r.every((W, Te) => W === h[Te]) || o.setSelectedLocationIds(h);
159
+ r.length === h.length && r.every((P, Te) => P === h[Te]) || o.setSelectedLocationIds(h);
160
160
  }
161
161
  return {
162
162
  // TODO: this returned value can used for getBusinessSetting
@@ -199,21 +199,21 @@ const tt = ["src"], nt = ["src"], mt = /* @__PURE__ */ ue({
199
199
  i = {
200
200
  ...u,
201
201
  isAllLocation: "true"
202
- }, f = !0, await F.replace({
202
+ }, f = !0, await N.replace({
203
203
  name: n.name,
204
204
  params: n.params,
205
205
  query: i
206
206
  });
207
207
  }
208
208
  $.value !== void 0 && ($.value = !0), await ye(async () => {
209
- await Le({
210
- apiKey: "MaGoXrEWuEJNpWgKTqseee",
209
+ await Ee({
210
+ apiKey: "6GhcttsJ9Rj9cTevcdrpin",
211
211
  url: "https://flag.feedme.farm/api/v1/",
212
212
  enableAnalytics: !1,
213
213
  cacheFlags: !1
214
214
  });
215
215
  const v = await Ie();
216
- V.value = v.version, y.value = V.value, await ge(), n.name === "template" && !b.canAccessTemplate() && await F.replace({
216
+ V.value = v.version, y.value = V.value, await ge(), n.name === "template" && !b.canAccessTemplate() && await N.replace({
217
217
  name: "reports",
218
218
  query: n.query
219
219
  });
@@ -225,9 +225,9 @@ const tt = ["src"], nt = ["src"], mt = /* @__PURE__ */ ue({
225
225
  H.report_accessIntegration
226
226
  ), p = [
227
227
  Re(),
228
- Ee(),
228
+ Le(),
229
229
  ve(),
230
- N(
230
+ F(
231
231
  (() => {
232
232
  const I = J(i.locationIds);
233
233
  return Array.isArray(I) ? I : void 0;
@@ -243,13 +243,13 @@ const tt = ["src"], nt = ["src"], mt = /* @__PURE__ */ ue({
243
243
  timeEnd: r,
244
244
  compareStartDate: ke,
245
245
  compareEndDate: qe,
246
- ...W
246
+ ...P
247
247
  } = n.query;
248
- (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 F.replace({
248
+ (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({
249
249
  name: n.name,
250
250
  params: n.params,
251
251
  query: {
252
- ...W,
252
+ ...P,
253
253
  isAllLocation: "true"
254
254
  }
255
255
  });
@@ -292,7 +292,7 @@ const tt = ["src"], nt = ["src"], mt = /* @__PURE__ */ ue({
292
292
  }, f = e.length === o.locations.length;
293
293
  i.isAllLocation = String(f), f ? delete i.locationIds : e.length > 0 ? i.locationIds = JSON.stringify(e) : delete i.locationIds;
294
294
  const v = JSON.stringify(n.query), D = JSON.stringify(i);
295
- v !== D && F.replace({
295
+ v !== D && N.replace({
296
296
  name: n.name,
297
297
  params: n.params,
298
298
  query: i
@@ -301,13 +301,13 @@ const tt = ["src"], nt = ["src"], mt = /* @__PURE__ */ ue({
301
301
  { deep: !0 }
302
302
  ), et(), (t, e) => {
303
303
  const a = X("router-view");
304
- return C(), P(xe, null, [
304
+ return C(), K(xe, null, [
305
305
  Y(Me),
306
- l(y) === "v3" ? (C(), P("iframe", {
306
+ l(y) === "v3" ? (C(), K("iframe", {
307
307
  key: 0,
308
308
  class: "bg-white h-full w-full",
309
309
  src: Oe.value
310
- }, null, 8, tt)) : l(y) === "v4" ? (C(), P("iframe", {
310
+ }, null, 8, tt)) : l(y) === "v4" ? (C(), K("iframe", {
311
311
  key: 1,
312
312
  class: "bg-white h-full w-full",
313
313
  src: we.value
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as N, resolveComponent as x, createBlock as v, openBlock as h, normalizeClass as q, withCtx as E, createCommentVNode as R, createElementVNode as M, toDisplayString as G, renderSlot as H, mergeModels as I, useModel as P, ref as L, watch as F, computed as K, createElementBlock as J, unref as p, createVNode as A } from "vue";
2
- import { d as f, a as Q, C as w, U as Z } from "./app-Xgbm5TY7.js";
2
+ import { d as f, a as Q, C as w, U as Z } from "./app-BHYwfe1u.js";
3
3
  import { detectLocale as k } from "@feedmepos/mf-common";
4
4
  import { u as ee } from "./_plugin-vue_export-helper-onplcgja.js";
5
5
  import { storeToRefs as ae } 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-Da6fqQHw.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Bwrmuhdd.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-onplcgja.js";
@@ -1,7 +1,7 @@
1
1
  import { computed as g, defineComponent as Ae, ref as I, watch as we, onMounted as Nt, onBeforeUnmount as uo, resolveComponent as ce, createBlock as de, openBlock as K, Transition as Eo, withCtx as _e, createElementBlock as le, createCommentVNode as he, createElementVNode as q, unref as i, normalizeStyle as Pe, withModifiers as en, toDisplayString as Te, createVNode as fe, Fragment as Fe, renderList as ct, normalizeClass as Se, nextTick as co, mergeModels as He, useModel as We, renderSlot as et, h as jt, createSlots as Go, resolveDynamicComponent as fo, toRaw as qo, markRaw as jo, createTextVNode as Jo, onUnmounted as mo, withDirectives as Zo, vShow as Qo } from "vue";
2
- import { W as X, w as ea, S as Pt, x as Mt, y as ta, z as pn, A as po, j as na, B as oa, E as aa, F as ra, R as yt, G as la } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DodVEjAQ.js";
3
- import { i as tn, a as an, u as ho } from "./app-Xgbm5TY7.js";
4
- import { d as yn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Bob8-P4G.js";
2
+ import { W as X, w as ea, S as Pt, x as Mt, y as ta, z as pn, A as po, j as na, B as oa, E as aa, F as ra, R as yt, G as la } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BZlXHYzg.js";
3
+ import { i as tn, a as an, u as ho } from "./app-BHYwfe1u.js";
4
+ import { d as yn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DU00gMtu.js";
5
5
  import { storeToRefs as At } from "pinia";
6
6
  import { detectLocale as In } from "@feedmepos/mf-common";
7
7
  import { C as bn } from "./chart-DDDh8zNk.js";
@@ -1,6 +1,6 @@
1
1
  import { ref as R0, computed as b1, watch as V1, defineComponent as Ht, mergeModels as rt, useModel as Et, resolveComponent as a1, createElementBlock as g1, openBlock as r1, createVNode as U0, withCtx as _1, createElementVNode as K0, createCommentVNode as Rt, Fragment as _e, renderList as Ct, createBlock as v1, createTextVNode as nt, withDirectives as da, toDisplayString as h1, unref as E0, vShow as za, renderSlot as Hr, normalizeStyle as Oa, normalizeClass as gr, withModifiers as $t } from "vue";
2
- import { c as hr, h as Xr, f as kr, _ as Aa, i as Da } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Bob8-P4G.js";
3
- import { o as fa, j as $a, u as G0, F as Q0, r as e1, p as ya, a as le, b as ma, m as qa, g as ga, d as B0, c as Fe, h as Xt } from "./app-Xgbm5TY7.js";
2
+ import { c as hr, h as Xr, f as kr, _ as Aa, i as Da } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DU00gMtu.js";
3
+ import { o as fa, j as $a, u as G0, F as Q0, r as e1, p as ya, a as le, b as ma, m as qa, g as ga, d as B0, c as Fe, h as Xt } from "./app-BHYwfe1u.js";
4
4
  import { storeToRefs as C0, defineStore as Be } from "pinia";
5
5
  import { useSnackbar as Ur } from "@feedmepos/ui-library";
6
6
  import { u as Yr } from "./_plugin-vue_export-helper-onplcgja.js";
@@ -1,13 +1,13 @@
1
1
  import { ref as B, defineComponent as S, watch as T, computed as _, onMounted as le, createElementBlock as d, openBlock as a, createElementVNode as o, renderSlot as H, toDisplayString as w, resolveDirective as X, createCommentVNode as A, Fragment as z, renderList as P, createBlock as V, withDirectives as M, resolveDynamicComponent as N, unref as m, withCtx as I, createVNode as y, normalizeClass as L, resolveComponent as R, useModel as oe, createTextVNode as ae, isRef as j, nextTick as se } from "vue";
2
- import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-CSNaH0FX.js";
3
- import { c as Y, _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Bob8-P4G.js";
4
- import { d as W, u as G, F as O, q as J, a as re } from "./app-Xgbm5TY7.js";
2
+ import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-DqZav9EE.js";
3
+ import { c as Y, _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DU00gMtu.js";
4
+ import { d as W, u as G, F as O, q as J, a as re } from "./app-BHYwfe1u.js";
5
5
  import { storeToRefs as K } from "pinia";
6
6
  import { C as Q, r as de } from "./chart-DDDh8zNk.js";
7
7
  import { components as E, useSnackbar as ce } from "@feedmepos/ui-library";
8
8
  import { u as ee } from "./_plugin-vue_export-helper-onplcgja.js";
9
9
  import { _ as ue } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
10
- import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Da6fqQHw.js";
10
+ import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Bwrmuhdd.js";
11
11
  import { useCoreStore as ge } from "@feedmepos/mf-common";
12
12
  function pe({ start: e, end: t }) {
13
13
  return `${W(t).format("DD MMM")}, ${W(t).format("YYYY")}`;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as se, mergeModels as fe, useModel as re, computed as G, resolveComponent as F, createElementBlock as j, openBlock as w, createElementVNode as t, createCommentVNode as q, normalizeClass as Je, Fragment as Ie, renderList as We, createBlock as Q, normalizeStyle as Ze, createVNode as l, withCtx as ke, renderSlot as pt, toDisplayString as S, unref as s, h as C, createTextVNode as mt, ref as Z, onUnmounted as Pe, watch as Ae, isRef as Me, resolveDynamicComponent as Re, mergeProps as tt, withKeys as rt, withModifiers as ut, nextTick as ct, onMounted as nt } from "vue";
2
2
  import { useRouter as Ce, useRoute as ft } from "vue-router";
3
- import { A as he, y as et, d as Ve, z as gt, e as Ke, a as Se, B as me, E as vt, l as yt, v as ne, x as je, G as Le, H as Te, J as Oe, K as ot, L as xt, M as bt, N as wt, O as at, b as st, P as ht, Q as _t, m as Ct, I as Ne, R as kt, S as St, T as $t } from "./app-Xgbm5TY7.js";
3
+ import { A as he, y as et, d as Ve, z as gt, e as Ke, a as Se, B as me, E as vt, l as yt, v as ne, x as je, G as Le, H as Te, J as Oe, K as ot, L as xt, M as bt, N as wt, O as at, b as st, P as ht, Q as _t, m as Ct, I as Ne, R as kt, S as St, T as $t } from "./app-BHYwfe1u.js";
4
4
  import { u as de, a as Ee, _ as Dt } from "./_plugin-vue_export-helper-onplcgja.js";
5
5
  import { u as Be } from "./message-dialog-UoMWOnil.js";
6
6
  import { useSnackbar as $e } from "@feedmepos/ui-library";
7
- import { s as it, _ as Ye } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Bob8-P4G.js";
8
- import { u as Ue, h as _e } from "./useRestaurantPermission-DgCkP02y.js";
7
+ import { s as it, _ as Ye } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DU00gMtu.js";
8
+ import { u as Ue, h as _e } from "./useRestaurantPermission-C3af6MeH.js";
9
9
  import { storeToRefs as qe } from "pinia";
10
10
  const At = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, Vt = { class: "w-[100%] overflow-hidden" }, Ft = { class: "inline-flex max-w-full items-center gap-2 align-top" }, It = { class: "text-nowrap min-w-0 overflow-hidden text-ellipsis font-semibold" }, Kt = {
11
11
  key: 0,