@feedmepos/mf-report 5.22.17 → 5.22.18-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 (25) hide show
  1. package/dist/{App-Cu8nkQrL.js → App-CBjl-VUJ.js} +34 -34
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-BDQaRHKK.js → BaseDialog.vue_vue_type_script_setup_true_lang-Cd0HyRoI.js} +3 -3
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-C-j6JnEe.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CLAmS70l.js} +2 -2
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-Tz0E_Bkp.js → Default.vue_vue_type_script_setup_true_lang-B2JTTleh.js} +2 -2
  5. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-CCWj45rD.js → FilterSelector.vue_vue_type_script_setup_true_lang-DQF8JscG.js} +6 -6
  6. package/dist/{InsightView-BwA1d2UJ.js → InsightView-DLVUU9hV.js} +6 -6
  7. package/dist/{Integration-B3yoCrSK.js → Integration-CxBTSwyv.js} +4 -4
  8. package/dist/{Integrations-CgfFxPaE.js → Integrations-DdOgsbBp.js} +4 -4
  9. package/dist/{Layout-BpPUjQJB.js → Layout-zhF6V2Ce.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-qRq0j2r_.js → MenuTab.vue_vue_type_script_setup_true_lang-EpeuZJpj.js} +5 -5
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BRAq-2Hv.js → NavigationTab.vue_vue_type_script_setup_true_lang-i73xmGGg.js} +5 -5
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-D-MwvdR6.js → NoData.vue_vue_type_script_setup_true_lang-CsRftY7K.js} +1 -1
  13. package/dist/{OverviewView-HUHjzKT_.js → OverviewView-C6JLAfRS.js} +5 -5
  14. package/dist/{Report-DujaYfQ0.js → Report-CeS3C1qT.js} +4 -4
  15. package/dist/{ReportEditor-D3Q5H4mL.js → ReportEditor-BU0mBFtP.js} +6 -6
  16. package/dist/{ReportView-CabRtIHQ.js → ReportView-DjY8OWgb.js} +8 -8
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-0O-eQ7Eo.js → SelectComponent.vue_vue_type_script_setup_true_lang-kpDcLmpo.js} +1 -1
  18. package/dist/{Setting-BKnmquIs.js → Setting-aocAQR12.js} +5 -5
  19. package/dist/{TileEditor-DdCrf8BV.js → TileEditor-B5AaUSXF.js} +8 -8
  20. package/dist/{TransitionFade-CL-qGPjc.js → TransitionFade-BV997BsG.js} +6 -6
  21. package/dist/{app-BxScj6m7.js → app-BFaPpCui.js} +11 -11
  22. package/dist/app.js +1 -1
  23. package/dist/{useRestaurantPermission-CjEp2nhu.js → useRestaurantPermission-DxJXTCZC.js} +1 -1
  24. package/dist/{vue-i18n-C9D2YbEn.js → vue-i18n-CBjQHsjA.js} +2 -2
  25. package/package.json +1 -1
@@ -1,38 +1,38 @@
1
- import { defineComponent as ce, resolveComponent as G, createBlock as de, openBlock as O, unref as l, isRef as Ee, withCtx as z, createElementVNode as te, createVNode as K, toDisplayString as ne, createTextVNode as ke, onMounted as ue, watch as b, ref as B, computed as oe, onBeforeMount as Ae, onBeforeUnmount as Ne, createElementBlock as V, Fragment as Te } from "vue";
2
- import { detectLocale as F, useCoreStore as P } from "@feedmepos/mf-common";
3
- import { u as $e, a as Be, b as re, c as Fe, d as qe, e as xe, f as Je, s as Qe } from "./vue-i18n-C9D2YbEn.js";
1
+ import { defineComponent as ce, resolveComponent as K, createBlock as de, openBlock as O, unref as l, isRef as Ce, withCtx as j, createElementVNode as te, createVNode as P, toDisplayString as ne, createTextVNode as ke, onMounted as ue, watch as b, ref as B, computed as oe, onBeforeMount as Ae, onBeforeUnmount as Ne, createElementBlock as V, Fragment as Te } from "vue";
2
+ import { detectLocale as F, useCoreStore as W } from "@feedmepos/mf-common";
3
+ import { u as $e, a as Be, b as re, c as Fe, d as qe, e as xe, f as Je, s as Qe } from "./vue-i18n-CBjQHsjA.js";
4
4
  import { storeToRefs as w } from "pinia";
5
- import { u as ae, a as Ue, b as je } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BDQaRHKK.js";
6
- import { u as ze, _ as Ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BRAq-2Hv.js";
5
+ import { u as ae, a as Ue, b as ze } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Cd0HyRoI.js";
6
+ import { u as je, _ as Ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-i73xmGGg.js";
7
7
  import { u as se } from "./message-dialog-UoMWOnil.js";
8
- import { d } from "./app-BxScj6m7.js";
9
- import { useRoute as Pe, useRouter as Ge } from "vue-router";
10
- const Ke = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, We = /* @__PURE__ */ ce({
8
+ import { d } from "./app-BFaPpCui.js";
9
+ import { useRoute as We, useRouter as Ke } from "vue-router";
10
+ const Pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Ge = /* @__PURE__ */ ce({
11
11
  __name: "Dialog",
12
- setup(C) {
12
+ setup(E) {
13
13
  const { t: c } = $e(), p = se(), { isOpened: g, message: I, title: h } = w(se());
14
14
  return (R, S) => {
15
- const E = G("FmButton"), q = G("FmDialog");
15
+ const C = K("FmButton"), q = K("FmDialog");
16
16
  return O(), de(q, {
17
17
  modelValue: l(g),
18
- "onUpdate:modelValue": S[0] || (S[0] = (x) => Ee(g) ? g.value = x : null),
18
+ "onUpdate:modelValue": S[0] || (S[0] = (x) => Ce(g) ? g.value = x : null),
19
19
  overlay: "",
20
20
  "close-button": !1
21
21
  }, {
22
- "dialog-header": z(() => [
22
+ "dialog-header": j(() => [
23
23
  ke(ne(l(h)), 1)
24
24
  ]),
25
- default: z(() => [
26
- te("p", Ke, ne(l(I)), 1)
25
+ default: j(() => [
26
+ te("p", Pe, ne(l(I)), 1)
27
27
  ]),
28
- "dialog-footer": z(() => [
28
+ "dialog-footer": j(() => [
29
29
  S[1] || (S[1] = te("div", { class: "grow" }, null, -1)),
30
- K(E, {
30
+ P(C, {
31
31
  label: l(c)("report.common.cancel"),
32
32
  variant: "tertiary",
33
33
  onClick: l(p).dismiss
34
34
  }, null, 8, ["label", "onClick"]),
35
- K(E, {
35
+ P(C, {
36
36
  label: l(c)("report.common.confirm"),
37
37
  onClick: l(p).confirm
38
38
  }, null, 8, ["label", "onClick"])
@@ -43,7 +43,7 @@ const Ke = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, We
43
43
  }
44
44
  }), ie = B(F());
45
45
  function He() {
46
- const C = (c) => {
46
+ const E = (c) => {
47
47
  switch (ie.value = c, c) {
48
48
  case "zh-CN":
49
49
  d.locale("zh-cn");
@@ -54,16 +54,16 @@ function He() {
54
54
  }
55
55
  };
56
56
  return ue(() => {
57
- C(F());
58
- }), b(() => F(), C, { deep: !0, immediate: !0 }), {
57
+ E(F());
58
+ }), b(() => F(), E, { deep: !0, immediate: !0 }), {
59
59
  currentLocale: ie
60
60
  };
61
61
  }
62
62
  d.locale(F() === "zh-CN" ? "zh-cn" : "en");
63
63
  const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
64
64
  __name: "App",
65
- setup(C) {
66
- const { businessId: c, token: p, country: g } = w(Be()), { sessionUser: I, currentBusiness: h, currentCountry: R, registerSidebarComponent: S } = P(), { getRestaurantAndWarehouse: E, getBusinessSetting: q, beginBusinessLoad: x, completeBusinessLoad: le } = re(), { getFeatureFlags: fe } = Fe(), { version: y } = w(ae()), { getSettings: me } = qe(), { promptLoader: pe } = xe(), s = Pe(), J = Ge(), L = Ue(), W = ze(), a = re(), ge = ae(), { suppressReportRouteSync: k } = w(ge), { getReports: ye, getOverviewReport: ve, getReportConfig: H, currentReportId: X } = L, { currentReportId: Se, reports: De } = w(L), { getSchema: Ie } = je(), { fetchSchedules: he } = W, { init: Re } = Je(), Q = B("v5"), A = B(!1), N = B(!0), Le = oe(() => `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`), _e = oe(() => `https://report-v4.feedme.cc?businessId=${c.value}&country=${g.value}&token=${p.value}&reportV3Button=true`);
65
+ setup(E) {
66
+ const { businessId: c, token: p, country: g } = w(Be()), { sessionUser: I, currentBusiness: h, currentCountry: R, registerSidebarComponent: S } = W(), { getRestaurantAndWarehouse: C, getBusinessSetting: q, beginBusinessLoad: x, completeBusinessLoad: le } = re(), { getFeatureFlags: fe } = Fe(), { version: y } = w(ae()), { getSettings: me } = qe(), { promptLoader: pe } = xe(), s = We(), J = Ke(), L = Ue(), G = je(), a = re(), ge = ae(), { suppressReportRouteSync: k } = w(ge), { getReports: ye, getOverviewReport: ve, getReportConfig: H, currentReportId: X } = L, { currentReportId: Se, reports: De } = w(L), { getSchema: Ie } = ze(), { fetchSchedules: he } = G, { init: Re } = Je(), Q = B("v5"), A = B(!1), N = B(!0), Le = 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`), _e = oe(() => `https://report-v4.feedmedev.cc?businessId=${c.value}&country=${g.value}&token=${p.value}&reportV3Button=true`);
67
67
  b(
68
68
  [() => h.value, () => I.value, () => R.value],
69
69
  () => {
@@ -92,13 +92,13 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
92
92
  }
93
93
  }
94
94
  b(y, () => {
95
- ["v3", "v4"].includes(y.value) ? P().hideSidebarToggle(!0) : P().hideSidebarToggle(!1);
95
+ ["v3", "v4"].includes(y.value) ? W().hideSidebarToggle(!0) : W().hideSidebarToggle(!1);
96
96
  }), Ae(() => {
97
97
  S(Ve);
98
98
  }), ue(() => {
99
- console.log("5.22.17", !0), window.addEventListener("message", Y), window.addEventListener("message", Z);
99
+ console.log("5.22.18-beta.0", !0), window.addEventListener("message", Y), window.addEventListener("message", Z);
100
100
  }), Ne(() => {
101
- window.removeEventListener("message", Y), window.removeEventListener("message", Z), L.$dispose(), W.$dispose();
101
+ window.removeEventListener("message", Y), window.removeEventListener("message", Z), L.$dispose(), G.$dispose();
102
102
  });
103
103
  function Oe(t) {
104
104
  try {
@@ -129,7 +129,7 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
129
129
  return typeof e.hour == "number" && typeof e.minute == "number";
130
130
  }
131
131
  function be(t = s.query) {
132
- const e = t, n = e.startDate ? d(e.startDate).startOf("day").toISOString() : void 0, o = e.endDate ? d(e.endDate).endOf("day").toISOString() : void 0, f = typeof e.timeStart == "string", i = typeof e.timeEnd == "string", m = T(e.timeStart), v = T(e.timeEnd), u = M(m) ? m : null, $ = M(v) ? v : null, U = e.compareStartDate ? d(e.compareStartDate).startOf("day").toISOString() : void 0, j = e.compareEndDate ? d(e.compareEndDate).endOf("day").toISOString() : void 0, ee = e.isAllLocation === "true" || e.isAllLocation === void 0;
132
+ const e = t, n = e.startDate ? d(e.startDate).startOf("day").toISOString() : void 0, o = e.endDate ? d(e.endDate).endOf("day").toISOString() : void 0, f = typeof e.timeStart == "string", i = typeof e.timeEnd == "string", m = T(e.timeStart), v = T(e.timeEnd), u = M(m) ? m : null, $ = M(v) ? v : null, U = e.compareStartDate ? d(e.compareStartDate).startOf("day").toISOString() : void 0, z = e.compareEndDate ? d(e.compareEndDate).endOf("day").toISOString() : void 0, ee = e.isAllLocation === "true" || e.isAllLocation === void 0;
133
133
  let _ = [];
134
134
  if (ee)
135
135
  _ = a.selectedLocationIds ?? [];
@@ -146,16 +146,16 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
146
146
  const r = a.timeRange;
147
147
  (r.start !== u || r.end !== $) && a.setTimeRange({ start: u, end: $ });
148
148
  }
149
- if (U || j) {
149
+ if (U || z) {
150
150
  const r = a.compareDateRange;
151
- (r.startDate !== U || r.endDate !== j) && a.setCompareDateRange({
151
+ (r.startDate !== U || r.endDate !== z) && a.setCompareDateRange({
152
152
  startDate: U,
153
- endDate: j
153
+ endDate: z
154
154
  });
155
155
  }
156
156
  if (!ee) {
157
157
  const r = a.selectedLocationIds;
158
- r.length === _.length && r.every((we, Ce) => we === _[Ce]) || a.setSelectedLocationIds(_);
158
+ r.length === _.length && r.every((we, Ee) => we === _[Ee]) || a.setSelectedLocationIds(_);
159
159
  }
160
160
  return {
161
161
  // TODO: this returned value can used for getBusinessSetting
@@ -197,7 +197,7 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
197
197
  }
198
198
  k.value !== void 0 && (k.value = !0), await pe(async () => {
199
199
  await Re({
200
- apiKey: "6GhcttsJ9Rj9cTevcdrpin",
200
+ apiKey: "MaGoXrEWuEJNpWgKTqseee",
201
201
  url: "https://flag.feedme.farm/api/v1/",
202
202
  enableAnalytics: !1,
203
203
  cacheFlags: !1
@@ -210,7 +210,7 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
210
210
  ye(),
211
211
  Ie(),
212
212
  he(),
213
- E(
213
+ C(
214
214
  (() => {
215
215
  const u = T(i.locationIds);
216
216
  return Array.isArray(u) ? u : void 0;
@@ -273,9 +273,9 @@ const Xe = ["src"], Ye = ["src"], ut = /* @__PURE__ */ ce({
273
273
  },
274
274
  { deep: !0 }
275
275
  ), He(), (t, e) => {
276
- const n = G("router-view");
276
+ const n = K("router-view");
277
277
  return O(), V(Te, null, [
278
- K(We),
278
+ P(Ge),
279
279
  l(y) === "v3" ? (O(), V("iframe", {
280
280
  key: 0,
281
281
  class: "bg-white h-full w-full",
@@ -1,11 +1,11 @@
1
- import { a as $0, F as m0, l as E0, m as Oe, c as $e, k as Z0, y as C0, n as ee, b as G0, d as we, r as re, u as ve } from "./vue-i18n-C9D2YbEn.js";
1
+ import { a as $0, F as m0, l as E0, m as Oe, c as $e, k as Z0, y as C0, n as ee, b as G0, d as we, r as re, u as ve } from "./vue-i18n-CBjQHsjA.js";
2
2
  import { storeToRefs as d0, defineStore as Q0 } from "pinia";
3
3
  import { ref as l0, computed as R0, watch as z0, h as Be, defineComponent as ye, mergeModels as Y0, useModel as te, resolveComponent as v0, createElementBlock as W0, openBlock as U0, createVNode as b0, withCtx as J0, createElementVNode as w0, createCommentVNode as Pe, Fragment as oe, renderList as Je, createBlock as me, createTextVNode as ge, withDirectives as He, toDisplayString as P0, unref as S0, vShow as Ne, renderSlot as ke } from "vue";
4
4
  import { useSnackbar as he, components as Ue } from "@feedmepos/ui-library";
5
5
  import { useCoreStore as ne, detectLocale as H0 } from "@feedmepos/mf-common";
6
- import { d as A0 } from "./app-BxScj6m7.js";
6
+ import { d as A0 } from "./app-BFaPpCui.js";
7
7
  import { useRouter as qe } from "vue-router";
8
- import { c as Qe, a as Xe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C-j6JnEe.js";
8
+ import { c as Qe, a as Xe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CLAmS70l.js";
9
9
  function Se(A) {
10
10
  throw new Error('Could not dynamically require "' + A + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
11
11
  }
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as A, resolveComponent as S, createBlock as p, openBlock as y, withCtx as T, createCommentVNode as R, createElementVNode as M, toDisplayString as j, renderSlot as B, mergeModels as k, useModel as b, ref as C, watch as x, createElementBlock as U, unref as f, createVNode as O } from "vue";
2
- import { u as W, b as q, R as G, C as H } from "./vue-i18n-C9D2YbEn.js";
3
- import { d as r } from "./app-BxScj6m7.js";
2
+ import { u as W, b as q, R as G, C as H } from "./vue-i18n-CBjQHsjA.js";
3
+ import { d as r } from "./app-BFaPpCui.js";
4
4
  import { detectLocale as E } from "@feedmepos/mf-common";
5
5
  import { storeToRefs as K } from "pinia";
6
6
  var v = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(v || {}), L = /* @__PURE__ */ ((e) => (e.Yesterday = "YESTERDAY", e.Today = "TODAY", e))(L || {});
@@ -1,8 +1,8 @@
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-BRAq-2Hv.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-i73xmGGg.js";
3
3
  import { useBreakpoints as b } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as C } from "pinia";
5
- import { u as q, e as w } from "./vue-i18n-C9D2YbEn.js";
5
+ import { u as q, e as w } from "./vue-i18n-CBjQHsjA.js";
6
6
  import { useRoute as B } from "vue-router";
7
7
  const $ = {
8
8
  key: 1,
@@ -1,15 +1,15 @@
1
1
  import { computed as v, defineComponent as tt, ref as L, onMounted as lt, onBeforeUnmount as da, resolveComponent as ge, createBlock as xe, openBlock as Y, Transition as Ka, withCtx as Re, createElementBlock as ye, createCommentVNode as Le, createElementVNode as J, unref as l, normalizeStyle as je, withModifiers as kt, toDisplayString as Xe, createVNode as fe, Fragment as Je, renderList as Tt, normalizeClass as Ye, watch as Pe, nextTick as Qe, mergeModels as pt, useModel as it, renderSlot as vt, h as an, createSlots as qa, resolveDynamicComponent as fa, toRaw as Ya, markRaw as Xa, createTextVNode as bn, onUnmounted as ha, withDirectives as Ga, vShow as ja } from "vue";
2
- import { W as se, f as Nt, g as Ja, S as xt, v as Yt, h as Za, i as vn, j as ma, q as pa, R as Mt, k as Qa, D as ft, d as Ge, C as rt, a as eo, b as to, _ as no } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BDQaRHKK.js";
3
- import { u as Ct, b as Xt, a as Bn, h as ao } from "./vue-i18n-C9D2YbEn.js";
4
- import { d as Cn, _ as oo, a as ro, b as lo, c as so } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C-j6JnEe.js";
2
+ import { W as se, f as Nt, g as Ja, S as xt, v as Yt, h as Za, i as vn, j as ma, q as pa, R as Mt, k as Qa, D as ft, d as Ge, C as rt, a as eo, b as to, _ as no } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Cd0HyRoI.js";
3
+ import { u as Ct, b as Xt, a as Bn, h as ao } from "./vue-i18n-CBjQHsjA.js";
4
+ import { d as Cn, _ as oo, a as ro, b as lo, c as so } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CLAmS70l.js";
5
5
  import { storeToRefs as mt, defineStore as va } from "pinia";
6
6
  import { C as wn } from "./chart-DDDh8zNk.js";
7
7
  import { detectLocale as io } from "@feedmepos/mf-common";
8
8
  import { useBreakpoints as dn, useSnackbar as Vn, components as uo } from "@feedmepos/ui-library";
9
- import { t as co, z as fo, a as ho, e as mo, d as Ft } from "./app-BxScj6m7.js";
10
- import { _ as ga } from "./SelectComponent.vue_vue_type_script_setup_true_lang-0O-eQ7Eo.js";
9
+ import { t as co, z as fo, a as ho, e as mo, d as Ft } from "./app-BFaPpCui.js";
10
+ import { _ as ga } from "./SelectComponent.vue_vue_type_script_setup_true_lang-kpDcLmpo.js";
11
11
  import { r as St } from "./i18n-CI_sQ5d_.js";
12
- import { _ as xn } from "./NoData.vue_vue_type_script_setup_true_lang-D-MwvdR6.js";
12
+ import { _ as xn } from "./NoData.vue_vue_type_script_setup_true_lang-CsRftY7K.js";
13
13
  var Sn = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(Sn || {}), yt = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(yt || {}), _n = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(_n || {}), kn = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(kn || {}), Tn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(Tn || {}), Ln = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Ln || {}), Dn = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(Dn || {}), Ee = /* @__PURE__ */ ((e) => (e.series = "SERIES", e.metric = "METRIC", e.breakdown = "BREAKDOWN", e))(Ee || {});
14
14
  se.Circular, se.Table, se.BarChart, se.LineChart, se.StackBarChart, se.ClusteredStackBarChart, se.StackLineChart, se.Scorecard, se.Spacer;
15
15
  const po = [
@@ -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 o, createElementVNode as a, 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 h, normalizeClass as L, resolveComponent as R, useModel as ae, createTextVNode as oe, isRef as j, nextTick as se } from "vue";
2
- import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-Tz0E_Bkp.js";
3
- import { _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C-j6JnEe.js";
4
- import { a as G, q as O, F as J, u as K, g as Y, b as re } from "./vue-i18n-C9D2YbEn.js";
2
+ import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-B2JTTleh.js";
3
+ import { _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CLAmS70l.js";
4
+ import { a as G, q as O, F as J, u as K, g as Y, b as re } from "./vue-i18n-CBjQHsjA.js";
5
5
  import { storeToRefs as Q } from "pinia";
6
- import { d as W } from "./app-BxScj6m7.js";
6
+ import { d as W } from "./app-BFaPpCui.js";
7
7
  import { C as ee, r as de } from "./chart-DDDh8zNk.js";
8
8
  import { components as E, useSnackbar as ce } from "@feedmepos/ui-library";
9
- import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-D-MwvdR6.js";
10
- import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BRAq-2Hv.js";
9
+ import { _ as ue } from "./NoData.vue_vue_type_script_setup_true_lang-CsRftY7K.js";
10
+ import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-i73xmGGg.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,12 +1,12 @@
1
1
  import { defineComponent as Z, mergeModels as Ae, useModel as oe, computed as z, resolveComponent as D, createElementBlock as M, openBlock as w, createElementVNode as t, createCommentVNode as B, normalizeClass as Ge, Fragment as Ve, createBlock as E, withCtx as he, toDisplayString as A, renderList as Pe, createVNode as l, unref as u, h as S, normalizeStyle as st, createTextVNode as rt, ref as Q, onUnmounted as Le, watch as De, isRef as Te, resolveDynamicComponent as Ue, mergeProps as Ze, onMounted as at } from "vue";
2
2
  import { useRouter as _e, useRoute as it } from "vue-router";
3
- import { u as ae, I as Se, v as dt, w as mt, d as Fe, e as je, b as Ce, A as be, x as pt, j as ut, y as W, t as Oe, z as Ee, B as Re, E as Be, G as et, H as ct, J as ft, K as gt, L as tt, c as lt, M as vt, N as yt, O as xt, P as bt, Q as wt } from "./vue-i18n-C9D2YbEn.js";
3
+ import { u as ae, I as Se, v as dt, w as mt, d as Fe, e as je, b as Ce, A as be, x as pt, j as ut, y as W, t as Oe, z as Ee, B as Re, E as Be, G as et, H as ct, J as ft, K as gt, L as tt, c as lt, M as vt, N as yt, O as xt, P as bt, Q as wt } from "./vue-i18n-CBjQHsjA.js";
4
4
  import { u as Ye } from "./message-dialog-UoMWOnil.js";
5
5
  import { useSnackbar as ke } from "@feedmepos/ui-library";
6
- import { d as Ie } from "./app-BxScj6m7.js";
7
- import { u as Ne, h as we } from "./useRestaurantPermission-CjEp2nhu.js";
6
+ import { d as Ie } from "./app-BFaPpCui.js";
7
+ import { u as Ne, h as we } from "./useRestaurantPermission-DxJXTCZC.js";
8
8
  import { storeToRefs as qe } from "pinia";
9
- import { _ as ze } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C-j6JnEe.js";
9
+ import { _ as ze } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CLAmS70l.js";
10
10
  const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, ht = { class: "w-[100%]" }, Ct = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, kt = { class: "w-[100%] flex flex-row gap-[4px]" }, $t = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, St = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, At = {
11
11
  key: 0,
12
12
  class: "w-[24px] flex items-center"