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

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 (30) hide show
  1. package/dist/{App-CifvmxI-.js → App-Zg9Nkn-X.js} +34 -34
  2. package/dist/{DateRangeSelect-ChxxlHH1.js → DateRangeSelect-DlAzWqnp.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CL1-_8mf.js → Default.vue_vue_type_script_setup_true_lang-BnkrjWB3.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DHjqUTvO.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DWTr59nu.js} +6 -6
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CSs3HGml.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DMIpD0Oo.js} +4 -4
  6. package/dist/{InsightView-Du6tSxTb.js → InsightView-BveDydBM.js} +5 -5
  7. package/dist/{Integration-BAcn22tg.js → Integration-D5cZHGJP.js} +3 -3
  8. package/dist/{Integrations-DJxV9dAE.js → Integrations-CwGuJAUq.js} +2 -2
  9. package/dist/{Layout-BYyARllh.js → Layout-B85IdhpJ.js} +1 -1
  10. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-CvOMVHQ5.js → LocationSelect.vue_vue_type_script_setup_true_lang-CzZlZnJ1.js} +2 -2
  11. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DresFUiL.js → MenuTab.vue_vue_type_script_setup_true_lang-eRW_ry8V.js} +5 -5
  12. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CTWgBaBB.js → NavigationTab.vue_vue_type_script_setup_true_lang-6pkps4_3.js} +5 -5
  13. package/dist/{OverviewView-WaYZ9aiD.js → OverviewView-BaxcnLPg.js} +5 -5
  14. package/dist/{Report-NAiFlYu_.js → Report-Dl0RVdnn.js} +3 -3
  15. package/dist/{ReportCanvasView-Bfr5ZK1X.js → ReportCanvasView-C2Y4wH4B.js} +5 -5
  16. package/dist/{ReportEditor-DNKWamHm.js → ReportEditor-DEjzoJiJ.js} +7 -7
  17. package/dist/{ReportView-DVOKMdRI.js → ReportView-DhNKM2yU.js} +6 -6
  18. package/dist/{ReportViewRoute-4E5uW09e.js → ReportViewRoute-BV9dHygI.js} +2 -2
  19. package/dist/{Setting-BIUKmm2_.js → Setting-ClOpXx9i.js} +3 -3
  20. package/dist/{Template-COsS2dIW.js → Template-eE7pM1rQ.js} +3 -3
  21. package/dist/{TileEditor-BGiamZMW.js → TileEditor-BApSzqn2.js} +6 -6
  22. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-CIMNFOXf.js → TilePageStack.vue_vue_type_script_setup_true_lang-D--qKpZi.js} +2 -2
  23. package/dist/{TransitionFade-DddzAlaC.js → TransitionFade-Dnsvw7P8.js} +5 -5
  24. package/dist/{app-B1esZ9Mq.js → app-5-1VploO.js} +14 -14
  25. package/dist/app.js +1 -1
  26. package/dist/{currency-CT2q92PX.js → currency-Da4VuYyM.js} +1 -1
  27. package/dist/{index-BScxCrNy.js → index-DzEFpeJN.js} +1 -1
  28. package/dist/{report-BCTiFDGD.js → report-Zdnz-pse.js} +1 -1
  29. package/dist/{useRestaurantPermission-Bt2kY6PE.js → useRestaurantPermission-CxQKtJOk.js} +1 -1
  30. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { defineComponent as me, resolveComponent as V, createBlock as pe, openBlock as A, unref as l, isRef as Fe, withCtx as G, createElementVNode as oe, createVNode as Y, toDisplayString as ae, createTextVNode as $e, onMounted as fe, watch as C, ref as U, computed as se, onBeforeMount as xe, onBeforeUnmount as Je, createElementBlock as H, Fragment as Qe } from "vue";
2
- import { detectLocale as j, useCoreStore as X } from "@feedmepos/mf-common";
3
- import { d as q, u as Ue, a as ie, b as je, c as ce, e as We, f as Ke, g as de } from "./app-B1esZ9Mq.js";
1
+ import { defineComponent as me, resolveComponent as X, createBlock as pe, openBlock as A, unref as l, isRef as Ne, withCtx as W, createElementVNode as oe, createVNode as Y, toDisplayString as ae, createTextVNode as $e, onMounted as fe, watch as C, ref as U, computed as se, onBeforeMount as xe, onBeforeUnmount as Je, createElementBlock as H, Fragment as Qe } from "vue";
2
+ import { detectLocale as j, useCoreStore as V } from "@feedmepos/mf-common";
3
+ import { d as q, u as Ue, a as ie, b as je, c as ce, e as Pe, f as Ge, g as de } from "./app-5-1VploO.js";
4
4
  import { storeToRefs as k } from "pinia";
5
- import { u as Pe } from "./global-loader-BuxFfehu.js";
6
- import { u as Ge, a as He } from "./report-BCTiFDGD.js";
7
- import { u as Xe, _ as Ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CTWgBaBB.js";
5
+ import { u as Ke } from "./global-loader-BuxFfehu.js";
6
+ import { u as We, a as He } from "./report-Zdnz-pse.js";
7
+ import { u as Ve, _ as Xe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-6pkps4_3.js";
8
8
  import { u as ue } from "./message-dialog-UoMWOnil.js";
9
9
  import { u as Ye } from "./_plugin-vue_export-helper-C6QDExPN.js";
10
10
  import { useRoute as Ze, useRouter as Me } from "vue-router";
@@ -13,21 +13,21 @@ const et = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, tt
13
13
  setup(T) {
14
14
  const { t: c } = Ye(), f = ue(), { isOpened: g, message: L, title: E } = k(ue());
15
15
  return (O, _) => {
16
- const z = V("FmButton"), W = V("FmDialog");
17
- return A(), pe(W, {
16
+ const z = X("FmButton"), P = X("FmDialog");
17
+ return A(), pe(P, {
18
18
  modelValue: l(g),
19
- "onUpdate:modelValue": _[0] || (_[0] = (K) => Fe(g) ? g.value = K : null),
19
+ "onUpdate:modelValue": _[0] || (_[0] = (G) => Ne(g) ? g.value = G : null),
20
20
  overlay: "",
21
21
  "close-button": !1,
22
22
  "z-index": 3e3
23
23
  }, {
24
- "dialog-header": G(() => [
24
+ "dialog-header": W(() => [
25
25
  $e(ae(l(E)), 1)
26
26
  ]),
27
- default: G(() => [
27
+ default: W(() => [
28
28
  oe("p", et, ae(l(L)), 1)
29
29
  ]),
30
- "dialog-footer": G(() => [
30
+ "dialog-footer": W(() => [
31
31
  _[1] || (_[1] = oe("div", { class: "grow" }, null, -1)),
32
32
  Y(z, {
33
33
  label: l(c)("report.common.cancel"),
@@ -65,13 +65,13 @@ q.locale(j() === "zh-CN" ? "zh-cn" : "en");
65
65
  const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
66
66
  __name: "App",
67
67
  setup(T) {
68
- const { businessId: c, token: f, country: g } = k(Ue()), { sessionUser: L, currentBusiness: E, currentCountry: O, registerSidebarComponent: _ } = X(), {
68
+ const { businessId: c, token: f, country: g } = k(Ue()), { sessionUser: L, currentBusiness: E, currentCountry: O, registerSidebarComponent: _ } = V(), {
69
69
  getRestaurantAndWarehouse: z,
70
- getBusinessSetting: W,
71
- beginBusinessLoad: K,
70
+ getBusinessSetting: P,
71
+ beginBusinessLoad: G,
72
72
  completeBusinessLoad: ge,
73
73
  resetTimezoneContext: ye
74
- } = ie(), ve = je(), { getFeatureFlags: Se } = ve, { version: y } = k(ce()), { getSettings: De } = We(), { promptLoader: he } = Pe(), n = Ze(), N = Me(), b = Ge(), Z = Xe(), a = ie(), B = ce(), { suppressReportRouteSync: F } = k(B), { getReports: Ie, getOverviewReport: _e, getReportConfig: Re, currentReportId: M } = b, { currentReportId: Le, reports: Ee } = k(b), { getSchema: be } = He(), { fetchSchedules: we } = Z, { init: Ae } = Ke(), P = U("v5"), $ = U(!1), x = U(!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`);
74
+ } = ie(), ve = je(), { getFeatureFlags: Se } = ve, { version: y } = k(ce()), { getSettings: De } = Pe(), { promptLoader: he } = Ke(), n = Ze(), B = Me(), b = We(), Z = Ve(), a = ie(), F = ce(), { suppressReportRouteSync: N } = k(F), { getReports: Ie, getOverviewReport: _e, getReportConfig: Re, currentReportId: M } = b, { currentReportId: Le, reports: Ee } = k(b), { getSchema: be } = He(), { fetchSchedules: we } = Z, { init: Ae } = Ge(), 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`);
75
75
  C(
76
76
  [() => E.value, () => L.value, () => O.value],
77
77
  () => {
@@ -94,17 +94,17 @@ 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 = P.value : (e == null ? void 0 : e.v3) === !0 && (y.value = "v3");
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) ? X().hideSidebarToggle(!0) : X().hideSidebarToggle(!1);
103
+ ["v3", "v4"].includes(y.value) ? V().hideSidebarToggle(!0) : V().hideSidebarToggle(!1);
104
104
  }), xe(() => {
105
- _(Ve);
105
+ _(Xe);
106
106
  }), fe(() => {
107
- console.log("5.31.1-beta.0", !0), window.addEventListener("message", ee), window.addEventListener("message", te);
107
+ console.log("5.31.1", !0), window.addEventListener("message", ee), window.addEventListener("message", te);
108
108
  }), Je(() => {
109
109
  window.removeEventListener("message", ee), window.removeEventListener("message", te), b.$dispose(), Z.$dispose();
110
110
  });
@@ -168,7 +168,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
168
168
  }
169
169
  if (!Q) {
170
170
  const s = a.selectedLocationIds;
171
- s.length === p.length && s.every((Ne, Be) => Ne === p[Be]) || a.setSelectedLocationIds(p);
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,7 +187,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
187
187
  () => c.value,
188
188
  async (t, e) => {
189
189
  if (t !== "") {
190
- $.value = !1, K(t);
190
+ $.value = !1, G(t);
191
191
  const r = "mf-report-prev-business-id", o = (() => {
192
192
  try {
193
193
  return sessionStorage.getItem(r);
@@ -211,27 +211,27 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
211
211
  i = {
212
212
  ...p,
213
213
  isAllLocation: "true"
214
- }, v = !0, await N.replace({
214
+ }, v = !0, await B.replace({
215
215
  name: n.name,
216
216
  params: n.params,
217
217
  query: i
218
218
  });
219
219
  }
220
- F.value !== void 0 && (F.value = !0), await he(async () => {
220
+ N.value !== void 0 && (N.value = !0), await he(async () => {
221
221
  await Ae({
222
- apiKey: "MaGoXrEWuEJNpWgKTqseee",
222
+ apiKey: "6GhcttsJ9Rj9cTevcdrpin",
223
223
  url: "https://flag.feedme.farm/api/v1/",
224
224
  enableAnalytics: !1,
225
225
  cacheFlags: !1
226
226
  });
227
227
  const S = await Re();
228
- P.value = S.version, y.value = P.value, await Se(), n.name === "template" && !B.canAccessTemplate() && await N.replace({
228
+ K.value = S.version, y.value = K.value, await Se(), n.name === "template" && !F.canAccessTemplate() && await B.replace({
229
229
  name: "reports",
230
230
  query: n.query
231
231
  });
232
- const D = B.canAccess(
232
+ const D = F.canAccess(
233
233
  de.report_accessOverview
234
- ), w = B.canAccess(
234
+ ), w = F.canAccess(
235
235
  de.report_accessIntegration
236
236
  ), h = [
237
237
  be(),
@@ -248,7 +248,7 @@ 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 W(), Te(i), v) {
251
+ if (await P(), Te(i), v) {
252
252
  const {
253
253
  locationIds: d,
254
254
  startDate: Q,
@@ -259,7 +259,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
259
259
  compareEndDate: ze,
260
260
  ...re
261
261
  } = n.query;
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({
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 B.replace({
263
263
  name: n.name,
264
264
  params: n.params,
265
265
  query: {
@@ -290,8 +290,8 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
290
290
  }),
291
291
  (t) => {
292
292
  if (!$.value || !t.reportId || x.value) return;
293
- if (F.value) {
294
- F.value = !1;
293
+ if (N.value) {
294
+ N.value = !1;
295
295
  return;
296
296
  }
297
297
  const e = t.selectedLocationIds, r = t.dateRange, o = t.timeRange, u = t.compareDateRange, i = {
@@ -310,7 +310,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
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);
313
- S !== D && N.replace({
313
+ S !== D && B.replace({
314
314
  name: n.name,
315
315
  params: n.params,
316
316
  query: i
@@ -318,7 +318,7 @@ const rt = ["src"], ot = ["src"], gt = /* @__PURE__ */ me({
318
318
  },
319
319
  { deep: !0 }
320
320
  ), nt(), (t, e) => {
321
- const r = V("router-view");
321
+ const r = X("router-view");
322
322
  return A(), H(Qe, null, [
323
323
  Y(tt),
324
324
  l(y) === "v3" ? (A(), H("iframe", {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as te, resolveComponent as A, createBlock as b, openBlock as C, normalizeClass as ce, withCtx as U, createCommentVNode as E, createElementVNode as I, toDisplayString as me, renderSlot as fe, mergeModels as K, useModel as z, ref as O, computed as L, watch as M, nextTick as J, onMounted as De, onBeforeUnmount as ye, createElementBlock as pe, unref as Y, createVNode as Q } from "vue";
2
- import { d as u, a as ge, C as P, j as ve } from "./app-B1esZ9Mq.js";
2
+ import { d as u, a as ge, C as P, j as ve } from "./app-5-1VploO.js";
3
3
  import { detectLocale as X } from "@feedmepos/mf-common";
4
4
  import { u as he, _ as Ce } from "./_plugin-vue_export-helper-C6QDExPN.js";
5
5
  import { storeToRefs as be } from "pinia";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as p, resolveComponent as f, createElementBlock as r, 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-CTWgBaBB.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-6pkps4_3.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 } from "./global-loader-BuxFfehu.js";
@@ -1,12 +1,12 @@
1
1
  import { computed as c, defineComponent as ze, ref as k, watch as Le, onMounted as Gt, onBeforeUnmount as Eo, resolveComponent as be, createBlock as ye, openBlock as j, Transition as Ya, withCtx as Re, createElementBlock as pe, createCommentVNode as we, createElementVNode as Q, unref as l, normalizeStyle as Ve, withModifiers as Cn, toDisplayString as Me, createVNode as Ce, Fragment as Ye, renderList as St, normalizeClass as Fe, nextTick as jo, mergeModels as ot, useModel as at, renderSlot as gt, h as Pt, createSlots as Xa, resolveDynamicComponent as Go, markRaw as So, toRaw as Ea, createTextVNode as ja, onUnmounted as Yn, provide as Ga, inject as qa, withDirectives as Ja, vShow as Za } from "vue";
2
- import { u as Qa, h as er, i as qo, j as tr, q as ko, k as nr } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CSs3HGml.js";
3
- import { u as Ln, a0 as xn, a as _n, a1 as or } from "./app-B1esZ9Mq.js";
4
- import { W as Z, S as Je, v as Kt, F as Ot, c as gn, w as Hn, d as ar, o as rr, x as lr, E as Mt, y as sr } from "./report-BCTiFDGD.js";
5
- import { c as Dn, w as Et } from "./currency-CT2q92PX.js";
6
- import { d as Xn } from "./DateRangeSelect-ChxxlHH1.js";
2
+ import { u as Qa, h as er, i as qo, j as tr, q as ko, k as nr } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DMIpD0Oo.js";
3
+ import { u as Ln, a0 as xn, a as _n, a1 as or } from "./app-5-1VploO.js";
4
+ import { W as Z, S as Je, v as Kt, F as Ot, c as gn, w as Hn, d as ar, o as rr, x as lr, E as Mt, y as sr } from "./report-Zdnz-pse.js";
5
+ import { c as Dn, w as Et } from "./currency-Da4VuYyM.js";
6
+ import { d as Xn } from "./DateRangeSelect-DlAzWqnp.js";
7
7
  import { storeToRefs as At } from "pinia";
8
8
  import { detectLocale as oo } from "@feedmepos/mf-common";
9
- import "./index-BScxCrNy.js";
9
+ import "./index-DzEFpeJN.js";
10
10
  import { C as En, t as ir } from "./chart-BywXiz4O.js";
11
11
  import { useBreakpoints as qt, useSnackbar as Sn, components as ur } from "@feedmepos/ui-library";
12
12
  import { u as kt, _ as Jo } from "./_plugin-vue_export-helper-C6QDExPN.js";
@@ -1,8 +1,8 @@
1
1
  import { ref as ve, computed as Se, defineComponent as yt, mergeModels as lt, useModel as ft, watch as Ie, resolveComponent as ee, createElementBlock as fe, openBlock as J, createVNode as P, withCtx as ue, createElementVNode as Q, createCommentVNode as bt, Fragment as Le, renderList as ht, createBlock as we, unref as D, createTextVNode as nt, withDirectives as $l, toDisplayString as he, vShow as xl, renderSlot as qt, normalizeStyle as Al, normalizeClass as Et, withModifiers as dt } from "vue";
2
- import { c as jt, _ as Qt, D as Gl, e as El } from "./DateRangeSelect-ChxxlHH1.js";
3
- import { e as St } from "./index-BScxCrNy.js";
4
- import { d as $, u as Oe, c as qe, a as Me, F as ke, a2 as gt, r as Ae, g as Ll, h as Ml } from "./app-B1esZ9Mq.js";
5
- import { b as B, C as W, Q as tt, u as Pe, o as Ge, p as Ue, D as be, a as Pl, x as Lt, W as Mt, A as Bl, S as Pt } from "./report-BCTiFDGD.js";
2
+ import { c as jt, _ as Qt, D as Gl, e as El } from "./DateRangeSelect-DlAzWqnp.js";
3
+ import { e as St } from "./index-DzEFpeJN.js";
4
+ import { d as $, u as Oe, c as qe, a as Me, F as ke, a2 as gt, r as Ae, g as Ll, h as Ml } from "./app-5-1VploO.js";
5
+ import { b as B, C as W, Q as tt, u as Pe, o as Ge, p as Ue, D as be, a as Pl, x as Lt, W as Mt, A as Bl, S as Pt } from "./report-Zdnz-pse.js";
6
6
  import { defineStore as Ft, storeToRefs as re } from "pinia";
7
7
  import { detectLocale as xe } from "@feedmepos/mf-common";
8
8
  import { u as Kt } from "./_plugin-vue_export-helper-C6QDExPN.js";
@@ -1,16 +1,16 @@
1
1
  import { ref as I, defineComponent as S, watch as P, computed as $, onMounted as de, createElementBlock as r, openBlock as o, createElementVNode as s, renderSlot as J, toDisplayString as C, resolveDirective as K, createCommentVNode as D, Fragment as z, renderList as N, createBlock as R, withDirectives as T, resolveDynamicComponent as U, unref as m, withCtx as B, createVNode as p, normalizeClass as W, resolveComponent as M, useModel as ce, createTextVNode as ue, isRef as j, nextTick as fe } from "vue";
2
- import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-CL1-_8mf.js";
3
- import { D as ge } from "./DateRangeSelect-ChxxlHH1.js";
4
- import { d as E, u as Q, F as ee, q as te, a as pe, h as ve, g as H, i as he, j as ye, k as we } from "./app-B1esZ9Mq.js";
2
+ import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-BnkrjWB3.js";
3
+ import { D as ge } from "./DateRangeSelect-DlAzWqnp.js";
4
+ import { d as E, u as Q, F as ee, q as te, a as pe, h as ve, g as H, i as he, j as ye, k as we } from "./app-5-1VploO.js";
5
5
  import { storeToRefs as ae } from "pinia";
6
6
  import { C as le, r as xe } from "./chart-BywXiz4O.js";
7
7
  import { components as Y, useSnackbar as be } from "@feedmepos/ui-library";
8
8
  import { u as se } from "./_plugin-vue_export-helper-C6QDExPN.js";
9
9
  import { c as X } from "./index-CtZE4sab.js";
10
10
  import { _ as Ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
11
- import { _ as ke } from "./LocationSelect.vue_vue_type_script_setup_true_lang-CvOMVHQ5.js";
11
+ import { _ as ke } from "./LocationSelect.vue_vue_type_script_setup_true_lang-CzZlZnJ1.js";
12
12
  import { useCoreStore as _e } from "@feedmepos/mf-common";
13
- import { G as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CTWgBaBB.js";
13
+ import { G as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-6pkps4_3.js";
14
14
  function Ae({ start: e, end: t }) {
15
15
  return `${E(t).format("DD MMM")}, ${E(t).format("YYYY")}`;
16
16
  }
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as ve, mergeModels as ke, useModel as be, computed as X, resolveComponent as T, createElementBlock as R, openBlock as x, createElementVNode as t, createCommentVNode as q, normalizeClass as Ye, Fragment as $e, renderList as qe, createBlock as ae, normalizeStyle as st, createVNode as l, withCtx as Ce, renderSlot as It, toDisplayString as C, unref as n, h, createTextVNode as $t, ref as se, onUnmounted as Xe, watch as De, isRef as He, resolveDynamicComponent as Ge, mergeProps as dt, onMounted as ct, withKeys as nt, withModifiers as mt, nextTick as kt } from "vue";
2
2
  import { useRouter as Ie, useRoute as Tt } from "vue-router";
3
- import { A as Se, v as it, d as Fe, w as Nt, e as Ee, a as Te, x as _e, y as Vt, z as Ft, o as ce, t as Je, B as Qe, E as ze, G as Ze, H as pt, J as Kt, K as Mt, L as Ut, M as Rt, N as Pt, O as ut, b as ft, P as Ot, Q as Lt, n as jt, I as Be, R as Et, S as Bt, T as Yt } from "./app-B1esZ9Mq.js";
3
+ import { A as Se, v as it, d as Fe, w as Nt, e as Ee, a as Te, x as _e, y as Vt, z as Ft, o as ce, t as Je, B as Qe, E as ze, G as Ze, H as pt, J as Kt, K as Mt, L as Ut, M as Rt, N as Pt, O as ut, b as ft, P as Ot, Q as Lt, n as jt, I as Be, R as Et, S as Bt, T as Yt } from "./app-5-1VploO.js";
4
4
  import { u as et } from "./global-loader-BuxFfehu.js";
5
5
  import { u as tt } from "./message-dialog-UoMWOnil.js";
6
6
  import { useSnackbar as Ne } from "@feedmepos/ui-library";
7
7
  import { s as St } from "./index-CtZE4sab.js";
8
8
  import { u as we, _ as qt } from "./_plugin-vue_export-helper-C6QDExPN.js";
9
- import { u as We, h as Ae } from "./useRestaurantPermission-Bt2kY6PE.js";
9
+ import { u as We, h as Ae } from "./useRestaurantPermission-CxQKtJOk.js";
10
10
  import { storeToRefs as ot } from "pinia";
11
- import { D as at } from "./DateRangeSelect-ChxxlHH1.js";
11
+ import { D as at } from "./DateRangeSelect-DlAzWqnp.js";
12
12
  const zt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, Ht = { class: "w-[100%] overflow-hidden" }, Gt = { class: "inline-flex max-w-full items-center gap-2 align-top" }, Qt = { class: "text-nowrap min-w-0 overflow-hidden text-ellipsis font-semibold" }, Wt = {
13
13
  key: 0,
14
14
  class: "w-[24px] flex items-center"