@feedmepos/mf-report 5.33.0-beta.0 → 5.33.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 (34) hide show
  1. package/dist/{App-ZE1kA1jU.js → App-UAlzwh8W.js} +40 -40
  2. package/dist/{DateRangeSelect-B10B3ZaN.js → DateRangeSelect-DGymHTm5.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-dtu8Gum_.js → Default.vue_vue_type_script_setup_true_lang-BAwuWy0R.js} +1 -1
  4. package/dist/{DigestListView-CqyxDNR_.js → DigestListView-eoOXNOE9.js} +3 -3
  5. package/dist/{DigestReaderView-ILhtZ6ke.js → DigestReaderView-CRQ0-vqh.js} +4 -4
  6. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-Dk6NA-nL.js → DynamicWidget.vue_vue_type_script_setup_true_lang-rmTQHyLU.js} +6 -6
  7. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Do8UrF5k.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Cy021Z5V.js} +4 -4
  8. package/dist/{InsightView-cZx4gAxG.js → InsightView-CnAL5JFt.js} +5 -5
  9. package/dist/{Integration-CgEy3mhX.js → Integration-Bb3VR2SI.js} +3 -3
  10. package/dist/{Integrations-BTy2r5Au.js → Integrations-BiUJVHDh.js} +2 -2
  11. package/dist/{Layout-B3MnHb6_.js → Layout-DKpfLtDn.js} +1 -1
  12. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-DqPi50ty.js → LocationSelect.vue_vue_type_script_setup_true_lang-bs8OthZm.js} +2 -2
  13. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DGMEWWMl.js → MenuTab.vue_vue_type_script_setup_true_lang-DG6xjZEY.js} +5 -5
  14. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CS-gvEAf.js → NavigationTab.vue_vue_type_script_setup_true_lang-BjDehTWf.js} +5 -5
  15. package/dist/{OverviewView-CnsSS3dA.js → OverviewView-BziKFl9t.js} +5 -5
  16. package/dist/{Report-aCXfcgbD.js → Report-DlvT1bzh.js} +3 -3
  17. package/dist/{ReportCanvasView-DJiD7cHf.js → ReportCanvasView-CMjmwsXO.js} +5 -5
  18. package/dist/{ReportEditor-D6VOw4xg.js → ReportEditor-DZyU_Os7.js} +7 -7
  19. package/dist/{ReportView-DHxQQHdv.js → ReportView-9qFfZYsM.js} +6 -6
  20. package/dist/{ReportViewRoute-R7QAQx-y.js → ReportViewRoute-DdQof8f9.js} +2 -2
  21. package/dist/{Setting-C3q0gsVs.js → Setting-CfRLIBY5.js} +3 -3
  22. package/dist/{Template-DulgV4HH.js → Template-J8TO_oZh.js} +3 -3
  23. package/dist/{TileEditor-B04Vkqd4.js → TileEditor-DB53kEQW.js} +6 -6
  24. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-Cn6yji3z.js → TilePageStack.vue_vue_type_script_setup_true_lang-BPh52iAb.js} +2 -2
  25. package/dist/{TransitionFade-B0IFIQeH.js → TransitionFade-DwTnsmO6.js} +5 -5
  26. package/dist/{app-60Wbr-Yr.js → app-DJ8E_G1l.js} +16 -16
  27. package/dist/app.js +1 -1
  28. package/dist/{currency-JlsW9tkr.js → currency-6k8Wfqi_.js} +1 -1
  29. package/dist/{index-BcttP7wp.js → index-DPXFXAit.js} +1 -1
  30. package/dist/{report-CN9S4Zga.js → report-DUMq52dp.js} +1 -1
  31. package/dist/{useDigestFont-CyF_Sl2L.js → useDigestFont-BD2sKGUr.js} +1 -1
  32. package/dist/{useReportCanvasPanel-DHUVpFYD.js → useReportCanvasPanel-BQBD11bU.js} +3 -3
  33. package/dist/{useRestaurantPermission-BjxYCII1.js → useRestaurantPermission-CrSYU-Wn.js} +1 -1
  34. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- import { defineComponent as pe, resolveComponent as Z, createBlock as fe, openBlock as C, unref as l, isRef as Ke, withCtx as P, createElementVNode as re, createVNode as V, toDisplayString as se, createTextVNode as We, onMounted as ge, watch as z, ref as j, computed as ie, onBeforeMount as Pe, onBeforeUnmount as Ge, createElementBlock as G, Fragment as He } from "vue";
2
- import { detectLocale as K, useCoreStore as H } from "@feedmepos/mf-common";
3
- import { d as Y, u as Xe, a as ce, b as Ze, c as ue, e as Ve, f as Ye, g as Me, r as X, h as de, t as et, z as tt, i as nt } from "./app-60Wbr-Yr.js";
1
+ import { defineComponent as pe, resolveComponent as V, createBlock as fe, openBlock as C, unref as l, isRef as Ke, withCtx as G, createElementVNode as re, createVNode as X, toDisplayString as se, createTextVNode as Pe, onMounted as ge, watch as z, ref as j, computed as ie, onBeforeMount as Ge, onBeforeUnmount as He, createElementBlock as H, Fragment as We } from "vue";
2
+ import { detectLocale as K, useCoreStore as W } from "@feedmepos/mf-common";
3
+ import { d as Y, u as Ze, a as ce, b as Ve, c as ue, e as Xe, f as Ye, g as Me, r as Z, h as de, t as et, z as tt, i as nt } from "./app-DJ8E_G1l.js";
4
4
  import { storeToRefs as N } from "pinia";
5
5
  import { u as at } from "./global-loader-BuxFfehu.js";
6
- import { u as ot, a as rt } from "./report-CN9S4Zga.js";
7
- import { u as st, _ as it } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CS-gvEAf.js";
6
+ import { u as ot, a as rt } from "./report-DUMq52dp.js";
7
+ import { u as st, _ as it } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BjDehTWf.js";
8
8
  import { u as le } from "./message-dialog-UoMWOnil.js";
9
9
  import { u as ct } from "./_plugin-vue_export-helper-C6QDExPN.js";
10
10
  import { useRoute as ut, useRouter as dt } from "vue-router";
11
11
  const lt = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, mt = /* @__PURE__ */ pe({
12
12
  __name: "Dialog",
13
13
  setup(O) {
14
- const { t: d } = ct(), b = le(), { isOpened: R, message: E, title: w } = N(le());
14
+ const { t: d } = ct(), b = le(), { isOpened: R, message: L, title: w } = N(le());
15
15
  return (T, m) => {
16
- const u = Z("FmButton"), p = Z("FmDialog");
16
+ const u = V("FmButton"), p = V("FmDialog");
17
17
  return C(), fe(p, {
18
18
  modelValue: l(R),
19
19
  "onUpdate:modelValue": m[0] || (m[0] = (A) => Ke(R) ? R.value = A : null),
@@ -21,20 +21,20 @@ const lt = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, mt
21
21
  "close-button": !1,
22
22
  "z-index": 3e3
23
23
  }, {
24
- "dialog-header": P(() => [
25
- We(se(l(w)), 1)
24
+ "dialog-header": G(() => [
25
+ Pe(se(l(w)), 1)
26
26
  ]),
27
- default: P(() => [
28
- re("p", lt, se(l(E)), 1)
27
+ default: G(() => [
28
+ re("p", lt, se(l(L)), 1)
29
29
  ]),
30
- "dialog-footer": P(() => [
30
+ "dialog-footer": G(() => [
31
31
  m[1] || (m[1] = re("div", { class: "grow" }, null, -1)),
32
- V(u, {
32
+ X(u, {
33
33
  label: l(d)("report.common.cancel"),
34
34
  variant: "tertiary",
35
35
  onClick: l(b).dismiss
36
36
  }, null, 8, ["label", "onClick"]),
37
- V(u, {
37
+ X(u, {
38
38
  label: l(d)("report.common.confirm"),
39
39
  onClick: l(b).confirm
40
40
  }, null, 8, ["label", "onClick"])
@@ -65,20 +65,20 @@ Y.locale(K() === "zh-CN" ? "zh-cn" : "en");
65
65
  const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
66
66
  __name: "App",
67
67
  setup(O) {
68
- const { scope: d, businessId: b, isFoodCourt: R, token: E, country: w } = N(Xe()), {
68
+ const { scope: d, businessId: b, isFoodCourt: R, token: L, country: w } = N(Ze()), {
69
69
  sessionUser: T,
70
70
  currentBusiness: m,
71
71
  currentFoodCourt: u,
72
72
  currentContextType: p,
73
73
  currentCountry: A,
74
74
  registerSidebarComponent: ve
75
- } = H(), {
75
+ } = W(), {
76
76
  getRestaurantAndWarehouse: ye,
77
77
  getBusinessSetting: Se,
78
78
  beginBusinessLoad: De,
79
79
  completeBusinessLoad: he,
80
80
  resetTimezoneContext: Ie
81
- } = ce(), _e = Ze(), { getFeatureFlags: Re } = _e, { version: S } = N(ue()), { getSettings: Ee } = Ve(), { loadHasDigest: Le } = Ye(), { promptLoader: be } = at(), n = ut(), $ = dt(), k = ot(), M = st(), r = ce(), B = ue(), { suppressReportRouteSync: F } = N(B), { getReports: we, getOverviewReport: Ae, getReportConfig: ke, currentReportId: ee } = k, { currentReportId: qe, reports: Ce } = N(k), { getSchema: ze } = rt(), { fetchSchedules: Ne } = M, { init: Oe } = Me(), W = j("v5"), x = j(!1), J = j(!0), Te = ie(() => `https://portal-v1.feedmedev.cc/b/${b.value}/report/CLOSE_UP?showHeader=false&country=${w.value.toUpperCase()}&menuOption=business-report&token=${E.value}&v2=true&reportV5Button=true`), $e = ie(() => `https://report-v4.feedmedev.cc?businessId=${b.value}&country=${w.value}&token=${E.value}&reportV3Button=true`);
81
+ } = ce(), _e = Ve(), { getFeatureFlags: Re } = _e, { version: S } = N(ue()), { getSettings: Le } = Xe(), { loadHasDigest: Ee } = Ye(), { promptLoader: be } = at(), n = ut(), $ = dt(), k = ot(), M = st(), r = ce(), B = ue(), { suppressReportRouteSync: F } = N(B), { getReports: we, getOverviewReport: Ae, getReportConfig: ke, currentReportId: ee } = k, { currentReportId: qe, reports: Ce } = N(k), { getSchema: ze } = rt(), { fetchSchedules: Ne } = M, { init: Oe } = Me(), P = j("v5"), x = j(!1), J = j(!0), Te = ie(() => `https://portal-v1.feedme.cc/b/${b.value}/report/CLOSE_UP?showHeader=false&country=${w.value.toUpperCase()}&menuOption=business-report&token=${L.value}&v2=true&reportV5Button=true`), $e = ie(() => `https://report-v4.feedme.cc?businessId=${b.value}&country=${w.value}&token=${L.value}&reportV3Button=true`);
82
82
  function Be() {
83
83
  var t, e;
84
84
  return (p == null ? void 0 : p.value) === "foodCourt" ? (t = u == null ? void 0 : u.value) != null && t._id ? { type: "foodCourt", id: u.value._id } : null : (e = m.value) != null && e.id ? { type: "business", id: m.value.id } : null;
@@ -94,7 +94,7 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
94
94
  () => {
95
95
  var e;
96
96
  const t = Be();
97
- t && T.value && A.value && (X(d.value) !== X(t) && (d.value = t), E.value = ((e = T.value) == null ? void 0 : e.token) ?? "", w.value = A.value ?? "");
97
+ t && T.value && A.value && (Z(d.value) !== Z(t) && (d.value = t), L.value = ((e = T.value) == null ? void 0 : e.token) ?? "", w.value = A.value ?? "");
98
98
  },
99
99
  { immediate: !0 }
100
100
  );
@@ -102,7 +102,7 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
102
102
  if (typeof t.data == "string")
103
103
  try {
104
104
  const e = JSON.parse(t.data);
105
- (e == null ? void 0 : e.token) !== "" && (e == null ? void 0 : e.token) !== void 0 && (E.value = e.token);
105
+ (e == null ? void 0 : e.token) !== "" && (e == null ? void 0 : e.token) !== void 0 && (L.value = e.token);
106
106
  } catch (e) {
107
107
  console.error(e);
108
108
  }
@@ -111,18 +111,18 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
111
111
  if (typeof t.data == "string")
112
112
  try {
113
113
  const e = JSON.parse(t.data);
114
- (e == null ? void 0 : e.v5) === !0 ? S.value = W.value : (e == null ? void 0 : e.v3) === !0 && (S.value = "v3");
114
+ (e == null ? void 0 : e.v5) === !0 ? S.value = P.value : (e == null ? void 0 : e.v3) === !0 && (S.value = "v3");
115
115
  } catch (e) {
116
116
  console.error(e);
117
117
  }
118
118
  }
119
119
  z(S, () => {
120
- ["v3", "v4"].includes(S.value) ? H().hideSidebarToggle(!0) : H().hideSidebarToggle(!1);
121
- }), Pe(() => {
120
+ ["v3", "v4"].includes(S.value) ? W().hideSidebarToggle(!0) : W().hideSidebarToggle(!1);
121
+ }), Ge(() => {
122
122
  ve(it);
123
123
  }), ge(() => {
124
- console.log("5.33.0-beta.0", !0), window.addEventListener("message", te), window.addEventListener("message", ne);
125
- }), Ge(() => {
124
+ console.log("5.33.0", !0), window.addEventListener("message", te), window.addEventListener("message", ne);
125
+ }), He(() => {
126
126
  window.removeEventListener("message", te), window.removeEventListener("message", ne), k.$dispose(), M.$dispose();
127
127
  });
128
128
  function Fe(t) {
@@ -159,7 +159,7 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
159
159
  return e === "start" ? tt(a, o) : nt(a, o);
160
160
  }
161
161
  function xe(t = n.query) {
162
- const e = t, o = r.timezone, a = f(e.startDate, "start", o), g = f(e.endDate, "end", o), i = typeof e.timeStart == "string", D = typeof e.timeEnd == "string", h = Q(e.timeStart), I = Q(e.timeEnd), q = ae(h) ? h : null, v = ae(I) ? I : null, L = f(e.compareStartDate, "start", o), c = f(e.compareEndDate, "end", o), U = e.isAllLocation === "true" || e.isAllLocation === void 0;
162
+ const e = t, o = r.timezone, a = f(e.startDate, "start", o), g = f(e.endDate, "end", o), i = typeof e.timeStart == "string", D = typeof e.timeEnd == "string", h = Q(e.timeStart), I = Q(e.timeEnd), q = ae(h) ? h : null, v = ae(I) ? I : null, E = f(e.compareStartDate, "start", o), c = f(e.compareEndDate, "end", o), U = e.isAllLocation === "true" || e.isAllLocation === void 0;
163
163
  let y = [];
164
164
  if (U)
165
165
  y = r.selectedLocationIds ?? [];
@@ -176,10 +176,10 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
176
176
  const s = r.timeRange;
177
177
  (s.start !== q || s.end !== v) && r.setTimeRange({ start: q, end: v });
178
178
  }
179
- if (L || c) {
179
+ if (E || c) {
180
180
  const s = r.compareDateRange;
181
- (s.startDate !== L || s.endDate !== c) && r.setCompareDateRange({
182
- startDate: L,
181
+ (s.startDate !== E || s.endDate !== c) && r.setCompareDateRange({
182
+ startDate: E,
183
183
  endDate: c
184
184
  });
185
185
  }
@@ -201,7 +201,7 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
201
201
  };
202
202
  }
203
203
  return z(
204
- () => X(d.value),
204
+ () => Z(d.value),
205
205
  async (t, e) => {
206
206
  if (t !== "") {
207
207
  x.value = !1, De(t);
@@ -220,7 +220,7 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
220
220
  startDate: I,
221
221
  endDate: q,
222
222
  timeStart: v,
223
- timeEnd: L,
223
+ timeEnd: E,
224
224
  compareStartDate: c,
225
225
  compareEndDate: U,
226
226
  ...y
@@ -236,13 +236,13 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
236
236
  }
237
237
  F.value !== void 0 && (F.value = !0), await be(async () => {
238
238
  await Oe({
239
- apiKey: "MaGoXrEWuEJNpWgKTqseee",
239
+ apiKey: "6GhcttsJ9Rj9cTevcdrpin",
240
240
  url: "https://flag.feedme.farm/api/v1/",
241
241
  enableAnalytics: !1,
242
242
  cacheFlags: !1
243
243
  });
244
244
  const h = await ke();
245
- W.value = h.version, S.value = W.value, await Re(), n.name === "template" && !B.canAccessTemplate() && await $.replace({
245
+ P.value = h.version, S.value = P.value, await Re(), n.name === "template" && !B.canAccessTemplate() && await $.replace({
246
246
  name: "reports",
247
247
  query: n.query
248
248
  });
@@ -261,9 +261,9 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
261
261
  })()
262
262
  )
263
263
  ];
264
- I && v.push(Ae()), q && !R.value && v.push(Ee()), R.value || v.push(Le());
265
- const L = await Promise.allSettled(v);
266
- for (const c of L)
264
+ I && v.push(Ae()), q && !R.value && v.push(Le()), R.value || v.push(Ee());
265
+ const E = await Promise.allSettled(v);
266
+ for (const c of E)
267
267
  c.status === "rejected" && console.log(c.reason);
268
268
  if (await Se(), xe(i), D) {
269
269
  const {
@@ -335,15 +335,15 @@ const ft = ["src"], gt = ["src"], bt = /* @__PURE__ */ pe({
335
335
  },
336
336
  { deep: !0 }
337
337
  ), pt(), (t, e) => {
338
- const o = Z("router-view");
339
- return C(), G(He, null, [
340
- V(mt),
341
- l(S) === "v3" ? (C(), G("iframe", {
338
+ const o = V("router-view");
339
+ return C(), H(We, null, [
340
+ X(mt),
341
+ l(S) === "v3" ? (C(), H("iframe", {
342
342
  key: 0,
343
343
  title: "Report v3",
344
344
  class: "bg-white h-full w-full",
345
345
  src: Te.value
346
- }, null, 8, ft)) : l(S) === "v4" ? (C(), G("iframe", {
346
+ }, null, 8, ft)) : l(S) === "v4" ? (C(), H("iframe", {
347
347
  key: 1,
348
348
  title: "Report v4",
349
349
  class: "bg-white h-full w-full",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ne, resolveComponent as A, createBlock as b, openBlock as C, normalizeClass as fe, withCtx as U, createCommentVNode as F, createElementVNode as I, toDisplayString as De, renderSlot as ye, mergeModels as K, useModel as L, ref as P, computed as z, watch as M, nextTick as Z, onMounted as pe, onBeforeUnmount as ve, createElementBlock as ge, unref as $, createVNode as J } from "vue";
2
- import { d as i, a as he, i as Q, z as X, C as E, s as Ce, t as be } from "./app-60Wbr-Yr.js";
2
+ import { d as i, a as he, i as Q, z as X, C as E, s as Ce, t as be } from "./app-DJ8E_G1l.js";
3
3
  import { detectLocale as _ } from "@feedmepos/mf-common";
4
4
  import { u as Re, _ as Me } from "./_plugin-vue_export-helper-C6QDExPN.js";
5
5
  import { storeToRefs as Ye } 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-CS-gvEAf.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BjDehTWf.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";
@@ -2,13 +2,13 @@ import { defineComponent as $t, ref as z, watch as Ft, onBeforeUnmount as Jt, co
2
2
  import { storeToRefs as oe } from "pinia";
3
3
  import { useI18n as St } from "@feedmepos/mf-common";
4
4
  import { useBreakpoints as Yt } from "@feedmepos/ui-library";
5
- import { _ as re } from "./Default.vue_vue_type_script_setup_true_lang-dtu8Gum_.js";
5
+ import { _ as re } from "./Default.vue_vue_type_script_setup_true_lang-BAwuWy0R.js";
6
6
  import { _ as jt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
7
7
  import { useRoute as le } from "vue-router";
8
- import { c as ie, d as Kt, u as ce, a as ue, n as de, _ as he, D as pe } from "./useDigestFont-CyF_Sl2L.js";
8
+ import { c as ie, d as Kt, u as ce, a as ue, n as de, _ as he, D as pe } from "./useDigestFont-BD2sKGUr.js";
9
9
  import { l as fe } from "./report-canvas-libs-CNx4fuqd.js";
10
10
  import { _ as bt } from "./_plugin-vue_export-helper-C6QDExPN.js";
11
- import { j as me, f as ge, A as ve, k as Ct, l as ye, m as Me } from "./app-60Wbr-Yr.js";
11
+ import { j as me, f as ge, A as ve, k as Ct, l as ye, m as Me } from "./app-DJ8E_G1l.js";
12
12
  const W = () => ({ rects: [], circles: [], paths: [] }), Q = (a) => a.x1 - a.x0, tt = (a) => a.y1 - a.y0, S = (a) => a.toFixed(1), xt = [0.14, 0.32, 0.54, 0.78, 1], _t = (a) => xt[Math.min(xt.length - 1, Math.floor(Math.max(0, Math.min(1, a)) * xt.length))];
13
13
  function Zt(a) {
14
14
  const t = Math.min(0, ...a), n = Math.max(0, ...a);
@@ -2,11 +2,11 @@ import { defineComponent as _e, ref as v, watch as W, onMounted as be, nextTick
2
2
  import { useRoute as mt, useRouter as ft } from "vue-router";
3
3
  import { useI18n as xe } from "@feedmepos/mf-common";
4
4
  import { useBreakpoints as vt } from "@feedmepos/ui-library";
5
- import { _ as gt } from "./Default.vue_vue_type_script_setup_true_lang-dtu8Gum_.js";
5
+ import { _ as gt } from "./Default.vue_vue_type_script_setup_true_lang-BAwuWy0R.js";
6
6
  import { _ as ke } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
7
- import { u as ht, a as kt, R as wt, b as yt, c as _t, d as bt, e as xt } from "./useReportCanvasPanel-DHUVpFYD.js";
8
- import { b as Ct, d as St, a as Vt, _ as Rt, D as Pt } from "./useDigestFont-CyF_Sl2L.js";
9
- import { f as Tt, n as Et, o as It, A as we } from "./app-60Wbr-Yr.js";
7
+ import { u as ht, a as kt, R as wt, b as yt, c as _t, d as bt, e as xt } from "./useReportCanvasPanel-BQBD11bU.js";
8
+ import { b as Ct, d as St, a as Vt, _ as Rt, D as Pt } from "./useDigestFont-BD2sKGUr.js";
9
+ import { f as Tt, n as Et, o as It, A as we } from "./app-DJ8E_G1l.js";
10
10
  import { _ as At } from "./_plugin-vue_export-helper-C6QDExPN.js";
11
11
  const Mt = { class: "relative flex min-h-0 grow flex-col" }, Ft = ["srcdoc", "title"], Bt = {
12
12
  key: 0,
@@ -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-Do8UrF5k.js";
3
- import { u as Ln, af as xn, a as _n, ag as or } from "./app-60Wbr-Yr.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-CN9S4Zga.js";
5
- import { c as Dn, w as Et } from "./currency-JlsW9tkr.js";
6
- import { d as Xn } from "./DateRangeSelect-B10B3ZaN.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-Cy021Z5V.js";
3
+ import { u as Ln, af as xn, a as _n, ag as or } from "./app-DJ8E_G1l.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-DUMq52dp.js";
5
+ import { c as Dn, w as Et } from "./currency-6k8Wfqi_.js";
6
+ import { d as Xn } from "./DateRangeSelect-DGymHTm5.js";
7
7
  import { storeToRefs as At } from "pinia";
8
8
  import { detectLocale as oo } from "@feedmepos/mf-common";
9
- import "./index-BcttP7wp.js";
9
+ import "./index-DPXFXAit.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 ye, computed as ge, defineComponent as yt, mergeModels as nt, useModel as ft, watch as Ie, resolveComponent as te, createElementBlock as he, openBlock as X, createVNode as M, withCtx as ie, createElementVNode as Y, createCommentVNode as ht, Fragment as Le, renderList as bt, createBlock as De, unref as D, createTextVNode as at, withDirectives as xl, toDisplayString as ve, vShow as Al, renderSlot as jt, normalizeStyle as Gl, normalizeClass as Et, withModifiers as dt } from "vue";
2
- import { c as Qt, _ as Kt, D as El, e as Ll } from "./DateRangeSelect-B10B3ZaN.js";
3
- import { e as St } from "./index-BcttP7wp.js";
4
- import { d as G, u as ke, c as je, a as Pe, F as Oe, ah as gt, w as Ae, h as Pl, j as Ml, z as Bl, i as zl, t as Lt } from "./app-60Wbr-Yr.js";
5
- import { b as B, C as j, Q as lt, u as Me, o as Ge, p as Ue, D as be, a as ql, x as Pt, W as Mt, A as Wl, S as Bt } from "./report-CN9S4Zga.js";
2
+ import { c as Qt, _ as Kt, D as El, e as Ll } from "./DateRangeSelect-DGymHTm5.js";
3
+ import { e as St } from "./index-DPXFXAit.js";
4
+ import { d as G, u as ke, c as je, a as Pe, F as Oe, ah as gt, w as Ae, h as Pl, j as Ml, z as Bl, i as zl, t as Lt } from "./app-DJ8E_G1l.js";
5
+ import { b as B, C as j, Q as lt, u as Me, o as Ge, p as Ue, D as be, a as ql, x as Pt, W as Mt, A as Wl, S as Bt } from "./report-DUMq52dp.js";
6
6
  import { defineStore as Ft, storeToRefs as oe } from "pinia";
7
7
  import { detectLocale as xe } from "@feedmepos/mf-common";
8
8
  import { u as Jt } 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-dtu8Gum_.js";
3
- import { D as ge } from "./DateRangeSelect-B10B3ZaN.js";
4
- import { d as E, u as Q, F as ee, q as te, a as pe, j as ve, h as H, p as he, s as ye, v as we } from "./app-60Wbr-Yr.js";
2
+ import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-BAwuWy0R.js";
3
+ import { D as ge } from "./DateRangeSelect-DGymHTm5.js";
4
+ import { d as E, u as Q, F as ee, q as te, a as pe, j as ve, h as H, p as he, s as ye, v as we } from "./app-DJ8E_G1l.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-DqPi50ty.js";
11
+ import { _ as ke } from "./LocationSelect.vue_vue_type_script_setup_true_lang-bs8OthZm.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-CS-gvEAf.js";
13
+ import { G as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BjDehTWf.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 { K as Se, L as it, d as Fe, M as Nt, e as Ee, a as Te, N as _e, O as Vt, P as Ft, G as ce, J as Je, Q as Qe, R as ze, S as Ze, T as pt, U as Kt, V as Mt, W as Ut, X as Rt, Y as Pt, Z as ut, b as ft, _ as Ot, $ as Lt, E as jt, I as Be, a0 as Et, a1 as Bt, a2 as Yt } from "./app-60Wbr-Yr.js";
3
+ import { K as Se, L as it, d as Fe, M as Nt, e as Ee, a as Te, N as _e, O as Vt, P as Ft, G as ce, J as Je, Q as Qe, R as ze, S as Ze, T as pt, U as Kt, V as Mt, W as Ut, X as Rt, Y as Pt, Z as ut, b as ft, _ as Ot, $ as Lt, E as jt, I as Be, a0 as Et, a1 as Bt, a2 as Yt } from "./app-DJ8E_G1l.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-BjxYCII1.js";
9
+ import { u as We, h as Ae } from "./useRestaurantPermission-CrSYU-Wn.js";
10
10
  import { storeToRefs as ot } from "pinia";
11
- import { D as at } from "./DateRangeSelect-B10B3ZaN.js";
11
+ import { D as at } from "./DateRangeSelect-DGymHTm5.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"