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

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-CTNqGWu3.js → App-D-YQ3yMW.js} +40 -40
  2. package/dist/{DateRangeSelect-ugBAezWv.js → DateRangeSelect-OTyc3v5_.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BgdRmAaG.js → Default.vue_vue_type_script_setup_true_lang-CxIN_bfu.js} +1 -1
  4. package/dist/{DigestListView-Dw2-7g3V.js → DigestListView-DCpIQY1v.js} +3 -3
  5. package/dist/{DigestReaderView-DGYa6bGl.js → DigestReaderView-W6sW8h9Q.js} +4 -4
  6. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CQOfbsny.js → DynamicWidget.vue_vue_type_script_setup_true_lang-iRcCryhy.js} +6 -6
  7. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BQpXUl5Y.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-VTI9bq-3.js} +4 -4
  8. package/dist/{InsightView-drYR-GoM.js → InsightView-WQ3IXr2b.js} +5 -5
  9. package/dist/{Integration-Bd5TU3TW.js → Integration-Bx6Xt8rm.js} +3 -3
  10. package/dist/{Integrations-wIW0tkRi.js → Integrations-BSsJGc4e.js} +2 -2
  11. package/dist/{Layout-CpxtgZ_K.js → Layout-CmTYhuDW.js} +1 -1
  12. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-5Wduoqrp.js → LocationSelect.vue_vue_type_script_setup_true_lang-SjaEdhpI.js} +2 -2
  13. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BkyAL0XA.js → MenuTab.vue_vue_type_script_setup_true_lang-CtJRTkuw.js} +5 -5
  14. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-zCfpFbMB.js → NavigationTab.vue_vue_type_script_setup_true_lang-DERX_GCc.js} +5 -5
  15. package/dist/{OverviewView-CPIbkUIQ.js → OverviewView-BXuqus0r.js} +5 -5
  16. package/dist/{Report-DqHL8zAU.js → Report-Cj7xHOMI.js} +3 -3
  17. package/dist/{ReportCanvasView-Dv-CsDYk.js → ReportCanvasView-CGt4ayU2.js} +5 -5
  18. package/dist/{ReportEditor-DyDsge8L.js → ReportEditor-v3CRHflb.js} +7 -7
  19. package/dist/{ReportView-DK7g-7Ba.js → ReportView-IbQC8Qf1.js} +6 -6
  20. package/dist/{ReportViewRoute-Dpt84-XU.js → ReportViewRoute-NwvXWZDf.js} +2 -2
  21. package/dist/{Setting-Inns2xlq.js → Setting-GyFSTgFs.js} +3 -3
  22. package/dist/{Template-7ErGUPov.js → Template-DLVGn41O.js} +3 -3
  23. package/dist/{TileEditor-BjWofHQ5.js → TileEditor-DT4ayXKN.js} +6 -6
  24. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-BxjkJQs_.js → TilePageStack.vue_vue_type_script_setup_true_lang-Bh0NcO-n.js} +2 -2
  25. package/dist/{TransitionFade-BlQMeZNA.js → TransitionFade-DIDahT3W.js} +5 -5
  26. package/dist/{app-BxEfKOCH.js → app-X-tKojve.js} +16 -16
  27. package/dist/app.js +1 -1
  28. package/dist/{currency-Gp2WcafT.js → currency-Cebf4JT_.js} +1 -1
  29. package/dist/{index-CVkwce9f.js → index-Brvkpnxl.js} +1 -1
  30. package/dist/{report-CYTvrsBN.js → report-CoK9Yl1E.js} +1 -1
  31. package/dist/{useDigestFont-C1lXCGD5.js → useDigestFont-DUUhWR6u.js} +1 -1
  32. package/dist/{useReportCanvasPanel-DktKsHBS.js → useReportCanvasPanel-B8qruqY0.js} +3 -3
  33. package/dist/{useRestaurantPermission-Dhr3bCra.js → useRestaurantPermission-BTBg_goI.js} +1 -1
  34. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- import { defineComponent as pe, resolveComponent as Z, openBlock as C, createBlock as fe, isRef as Ke, unref as d, withCtx as P, createElementVNode as ne, createVNode as V, toDisplayString as se, createTextVNode as We, onMounted as ve, 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 le, e as Ve, f as Ye, g as Me, r as X, h as ue, t as et, z as tt, i as ot } from "./app-BxEfKOCH.js";
1
+ import { defineComponent as pe, resolveComponent as V, openBlock as C, createBlock as fe, isRef as Ke, unref as d, withCtx as G, createElementVNode as ne, createVNode as X, toDisplayString as se, createTextVNode as Pe, onMounted as ve, 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 le, e as Xe, f as Ye, g as Me, r as Z, h as ue, t as et, z as tt, i as ot } from "./app-X-tKojve.js";
4
4
  import { storeToRefs as N } from "pinia";
5
5
  import { u as at } from "./global-loader-BuxFfehu.js";
6
- import { u as rt, a as nt } from "./report-CYTvrsBN.js";
7
- import { u as st, _ as it } from "./NavigationTab.vue_vue_type_script_setup_true_lang-zCfpFbMB.js";
6
+ import { u as rt, a as nt } from "./report-CoK9Yl1E.js";
7
+ import { u as st, _ as it } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DERX_GCc.js";
8
8
  import { u as de } from "./message-dialog-UoMWOnil.js";
9
9
  import { u as ct } from "./_plugin-vue_export-helper-Bx7s49ra.js";
10
10
  import { useRoute as lt, useRouter as ut } from "vue-router";
11
11
  const dt = { 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: u } = ct(), b = de(), { isOpened: R, message: E, title: w } = N(de());
14
+ const { t: u } = ct(), b = de(), { isOpened: R, message: L, title: w } = N(de());
15
15
  return (T, m) => {
16
- const l = Z("FmButton"), p = Z("FmDialog");
16
+ const l = V("FmButton"), p = V("FmDialog");
17
17
  return C(), fe(p, {
18
18
  modelValue: d(R),
19
19
  "onUpdate:modelValue": m[0] || (m[0] = (A) => Ke(R) ? R.value = A : null),
@@ -21,20 +21,20 @@ const dt = { 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(d(w)), 1)
24
+ "dialog-header": G(() => [
25
+ Pe(se(d(w)), 1)
26
26
  ]),
27
- default: P(() => [
28
- ne("p", dt, se(d(E)), 1)
27
+ default: G(() => [
28
+ ne("p", dt, se(d(L)), 1)
29
29
  ]),
30
- "dialog-footer": P(() => [
30
+ "dialog-footer": G(() => [
31
31
  m[1] || (m[1] = ne("div", { class: "grow" }, null, -1)),
32
- V(l, {
32
+ X(l, {
33
33
  label: d(u)("report.common.cancel"),
34
34
  variant: "tertiary",
35
35
  onClick: d(b).dismiss
36
36
  }, null, 8, ["label", "onClick"]),
37
- V(l, {
37
+ X(l, {
38
38
  label: d(u)("report.common.confirm"),
39
39
  onClick: d(b).confirm
40
40
  }, null, 8, ["label", "onClick"])
@@ -66,20 +66,20 @@ Y.locale(K() === "zh-CN" ? "zh-cn" : "en");
66
66
  const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
67
67
  __name: "App",
68
68
  setup(O) {
69
- const { scope: u, businessId: b, isFoodCourt: R, token: E, country: w } = N(Xe()), {
69
+ const { scope: u, businessId: b, isFoodCourt: R, token: L, country: w } = N(Ze()), {
70
70
  sessionUser: T,
71
71
  currentBusiness: m,
72
72
  currentFoodCourt: l,
73
73
  currentContextType: p,
74
74
  currentCountry: A,
75
75
  registerSidebarComponent: ge
76
- } = H(), {
76
+ } = W(), {
77
77
  getRestaurantAndWarehouse: ye,
78
78
  getBusinessSetting: Se,
79
79
  beginBusinessLoad: De,
80
80
  completeBusinessLoad: he,
81
81
  resetTimezoneContext: Ie
82
- } = ce(), _e = Ze(), { getFeatureFlags: Re } = _e, { version: S } = N(le()), { getSettings: Ee } = Ve(), { loadHasDigest: Le } = Ye(), { promptLoader: be } = at(), o = lt(), $ = ut(), k = rt(), M = st(), n = ce(), B = le(), { suppressReportRouteSync: F } = N(B), { getReports: we, getOverviewReport: Ae, getReportConfig: ke, currentReportId: ee } = k, { currentReportId: qe, reports: Ce } = N(k), { getSchema: ze } = nt(), { 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`);
82
+ } = ce(), _e = Ve(), { getFeatureFlags: Re } = _e, { version: S } = N(le()), { getSettings: Le } = Xe(), { loadHasDigest: Ee } = Ye(), { promptLoader: be } = at(), o = lt(), $ = ut(), k = rt(), M = st(), n = ce(), B = le(), { suppressReportRouteSync: F } = N(B), { getReports: we, getOverviewReport: Ae, getReportConfig: ke, currentReportId: ee } = k, { currentReportId: qe, reports: Ce } = N(k), { getSchema: ze } = nt(), { 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`);
83
83
  function Be() {
84
84
  var t, e;
85
85
  return (p == null ? void 0 : p.value) === "foodCourt" ? (t = l == null ? void 0 : l.value) != null && t._id ? { type: "foodCourt", id: l.value._id } : null : (e = m.value) != null && e.id ? { type: "business", id: m.value.id } : null;
@@ -95,7 +95,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
95
95
  () => {
96
96
  var e;
97
97
  const t = Be();
98
- t && T.value && A.value && (X(u.value) !== X(t) && (u.value = t), E.value = ((e = T.value) == null ? void 0 : e.token) ?? "", w.value = A.value ?? "");
98
+ t && T.value && A.value && (Z(u.value) !== Z(t) && (u.value = t), L.value = ((e = T.value) == null ? void 0 : e.token) ?? "", w.value = A.value ?? "");
99
99
  },
100
100
  { immediate: !0 }
101
101
  );
@@ -103,7 +103,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
103
103
  if (typeof t.data == "string")
104
104
  try {
105
105
  const e = JSON.parse(t.data);
106
- (e == null ? void 0 : e.token) !== "" && (e == null ? void 0 : e.token) !== void 0 && (E.value = e.token);
106
+ (e == null ? void 0 : e.token) !== "" && (e == null ? void 0 : e.token) !== void 0 && (L.value = e.token);
107
107
  } catch (e) {
108
108
  console.error(e);
109
109
  }
@@ -112,18 +112,18 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
112
112
  if (typeof t.data == "string")
113
113
  try {
114
114
  const e = JSON.parse(t.data);
115
- (e == null ? void 0 : e.v5) === !0 ? S.value = W.value : (e == null ? void 0 : e.v3) === !0 && (S.value = "v3");
115
+ (e == null ? void 0 : e.v5) === !0 ? S.value = P.value : (e == null ? void 0 : e.v3) === !0 && (S.value = "v3");
116
116
  } catch (e) {
117
117
  console.error(e);
118
118
  }
119
119
  }
120
120
  z(S, () => {
121
- ["v3", "v4"].includes(S.value) ? H().hideSidebarToggle(!0) : H().hideSidebarToggle(!1);
122
- }), Pe(() => {
121
+ ["v3", "v4"].includes(S.value) ? W().hideSidebarToggle(!0) : W().hideSidebarToggle(!1);
122
+ }), Ge(() => {
123
123
  ge(it);
124
124
  }), ve(() => {
125
- console.log("5.34.2-beta.0", !0), window.addEventListener("message", te), window.addEventListener("message", oe);
126
- }), Ge(() => {
125
+ console.log("5.34.2", !0), window.addEventListener("message", te), window.addEventListener("message", oe);
126
+ }), He(() => {
127
127
  window.removeEventListener("message", te), window.removeEventListener("message", oe), k.$dispose(), M.$dispose();
128
128
  });
129
129
  function Fe(t) {
@@ -160,7 +160,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
160
160
  return e === "start" ? tt(a, r) : ot(a, r);
161
161
  }
162
162
  function xe(t = o.query) {
163
- const e = t, r = n.timezone, a = f(e.startDate, "start", r), v = f(e.endDate, "end", r), i = typeof e.timeStart == "string", D = typeof e.timeEnd == "string", h = Q(e.timeStart), I = Q(e.timeEnd), q = ae(h) ? h : null, g = ae(I) ? I : null, L = f(e.compareStartDate, "start", r), c = f(e.compareEndDate, "end", r), U = e.isAllLocation === "true" || e.isAllLocation === void 0;
163
+ const e = t, r = n.timezone, a = f(e.startDate, "start", r), v = f(e.endDate, "end", r), i = typeof e.timeStart == "string", D = typeof e.timeEnd == "string", h = Q(e.timeStart), I = Q(e.timeEnd), q = ae(h) ? h : null, g = ae(I) ? I : null, E = f(e.compareStartDate, "start", r), c = f(e.compareEndDate, "end", r), U = e.isAllLocation === "true" || e.isAllLocation === void 0;
164
164
  let y = [];
165
165
  if (U)
166
166
  y = n.selectedLocationIds ?? [];
@@ -177,10 +177,10 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
177
177
  const s = n.timeRange;
178
178
  (s.start !== q || s.end !== g) && n.setTimeRange({ start: q, end: g });
179
179
  }
180
- if (L || c) {
180
+ if (E || c) {
181
181
  const s = n.compareDateRange;
182
- (s.startDate !== L || s.endDate !== c) && n.setCompareDateRange({
183
- startDate: L,
182
+ (s.startDate !== E || s.endDate !== c) && n.setCompareDateRange({
183
+ startDate: E,
184
184
  endDate: c
185
185
  });
186
186
  }
@@ -202,7 +202,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
202
202
  };
203
203
  }
204
204
  return z(
205
- () => X(u.value),
205
+ () => Z(u.value),
206
206
  async (t, e) => {
207
207
  if (t !== "") {
208
208
  x.value = !1, De(t);
@@ -221,7 +221,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
221
221
  startDate: I,
222
222
  endDate: q,
223
223
  timeStart: g,
224
- timeEnd: L,
224
+ timeEnd: E,
225
225
  compareStartDate: c,
226
226
  compareEndDate: U,
227
227
  ...y
@@ -237,13 +237,13 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
237
237
  }
238
238
  F.value !== void 0 && (F.value = !0), await be(async () => {
239
239
  await Oe({
240
- apiKey: "MaGoXrEWuEJNpWgKTqseee",
240
+ apiKey: "6GhcttsJ9Rj9cTevcdrpin",
241
241
  url: "https://flag.feedme.farm/api/v1/",
242
242
  enableAnalytics: !1,
243
243
  cacheFlags: !1
244
244
  });
245
245
  const h = await ke();
246
- W.value = h.version, S.value = W.value, await Re(), o.name === "template" && !B.canAccessTemplate() && await $.replace({
246
+ P.value = h.version, S.value = P.value, await Re(), o.name === "template" && !B.canAccessTemplate() && await $.replace({
247
247
  name: "reports",
248
248
  query: o.query
249
249
  });
@@ -262,9 +262,9 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
262
262
  })()
263
263
  )
264
264
  ];
265
- I && g.push(Ae()), q && !R.value && g.push(Ee()), R.value || g.push(Le());
266
- const L = await Promise.allSettled(g);
267
- for (const c of L)
265
+ I && g.push(Ae()), q && !R.value && g.push(Le()), R.value || g.push(Ee());
266
+ const E = await Promise.allSettled(g);
267
+ for (const c of E)
268
268
  c.status === "rejected" && console.log(c.reason);
269
269
  if (await Se(), xe(i), D) {
270
270
  const {
@@ -336,15 +336,15 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
336
336
  },
337
337
  { deep: !0 }
338
338
  ), pt(), (t, e) => {
339
- const r = Z("router-view");
340
- return C(), G(He, null, [
341
- V(mt),
342
- d(S) === "v3" ? (C(), G("iframe", {
339
+ const r = V("router-view");
340
+ return C(), H(We, null, [
341
+ X(mt),
342
+ d(S) === "v3" ? (C(), H("iframe", {
343
343
  key: 0,
344
344
  title: "Report v3",
345
345
  class: "bg-white h-full w-full",
346
346
  src: Te.value
347
- }, null, 8, ft)) : d(S) === "v4" ? (C(), G("iframe", {
347
+ }, null, 8, ft)) : d(S) === "v4" ? (C(), H("iframe", {
348
348
  key: 1,
349
349
  title: "Report v4",
350
350
  class: "bg-white h-full w-full",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ne, resolveComponent as A, openBlock as C, createBlock as b, normalizeClass as fe, withCtx as U, createCommentVNode as F, createElementVNode as I, toDisplayString as De, renderSlot as ye, useModel as L, ref as P, computed as z, watch as M, nextTick as K, onMounted as ve, onBeforeUnmount as pe, createElementBlock as ge, unref as $, createVNode as Z, mergeModels 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-BxEfKOCH.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-X-tKojve.js";
3
3
  import { detectLocale as _ } from "@feedmepos/mf-common";
4
4
  import { u as Re, _ as Me } from "./_plugin-vue_export-helper-Bx7s49ra.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, openBlock as t, createElementBlock as r, normalizeStyle as n, unref as e, normalizeClass as d, 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-zCfpFbMB.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DERX_GCc.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-BgdRmAaG.js";
5
+ import { _ as re } from "./Default.vue_vue_type_script_setup_true_lang-CxIN_bfu.js";
6
6
  import { _ as jt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.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 fe } from "./useDigestFont-C1lXCGD5.js";
8
+ import { c as ie, d as Kt, u as ce, a as ue, n as de, _ as he, D as fe } from "./useDigestFont-DUUhWR6u.js";
9
9
  import { l as me } from "./report-canvas-libs-CNx4fuqd.js";
10
10
  import { _ as bt } from "./_plugin-vue_export-helper-Bx7s49ra.js";
11
- import { j as pe, f as ge, A as ve, k as Ct, l as ye, m as xe } from "./app-BxEfKOCH.js";
11
+ import { j as pe, f as ge, A as ve, k as Ct, l as ye, m as xe } from "./app-X-tKojve.js";
12
12
  const W = () => ({ rects: [], circles: [], paths: [] }), Q = (e) => e.x1 - e.x0, tt = (e) => e.y1 - e.y0, S = (e) => e.toFixed(1), kt = [0.14, 0.32, 0.54, 0.78, 1], wt = (e) => kt[Math.min(kt.length - 1, Math.floor(Math.max(0, Math.min(1, e)) * kt.length))];
13
13
  function Zt(e) {
14
14
  const t = Math.min(0, ...e), n = Math.max(0, ...e);
@@ -2,11 +2,11 @@ import { defineComponent as _e, ref as f, watch as W, onMounted as be, nextTick
2
2
  import { useRoute as mt, useRouter as vt } from "vue-router";
3
3
  import { useI18n as xe } from "@feedmepos/mf-common";
4
4
  import { useBreakpoints as ft } from "@feedmepos/ui-library";
5
- import { _ as gt } from "./Default.vue_vue_type_script_setup_true_lang-BgdRmAaG.js";
5
+ import { _ as gt } from "./Default.vue_vue_type_script_setup_true_lang-CxIN_bfu.js";
6
6
  import { _ as ke } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.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-DktKsHBS.js";
8
- import { b as Ct, d as St, a as Vt, _ as Rt, D as Pt } from "./useDigestFont-C1lXCGD5.js";
9
- import { f as Tt, n as Et, o as It, A as we } from "./app-BxEfKOCH.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-B8qruqY0.js";
8
+ import { b as Ct, d as St, a as Vt, _ as Rt, D as Pt } from "./useDigestFont-DUUhWR6u.js";
9
+ import { f as Tt, n as Et, o as It, A as we } from "./app-X-tKojve.js";
10
10
  import { _ as At } from "./_plugin-vue_export-helper-Bx7s49ra.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, openBlock as j, createBlock as ye, Transition as Ya, withCtx as Re, createElementBlock as me, createElementVNode as Q, unref as l, normalizeStyle as Ve, withModifiers as Cn, toDisplayString as Me, createVNode as Ce, Fragment as Ye, renderList as St, createCommentVNode as we, normalizeClass as Fe, nextTick as jo, useModel as at, renderSlot as pt, mergeModels as ot, 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-BQpXUl5Y.js";
3
- import { u as Ln, ag as xn, a as _n, ah as or } from "./app-BxEfKOCH.js";
4
- import { W as Z, S as Je, v as Kt, F as Ot, c as pn, w as Hn, d as ar, o as rr, x as lr, E as Mt, y as sr } from "./report-CYTvrsBN.js";
5
- import { c as Dn, w as Et } from "./currency-Gp2WcafT.js";
6
- import { d as Xn } from "./DateRangeSelect-ugBAezWv.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-VTI9bq-3.js";
3
+ import { u as Ln, ag as xn, a as _n, ah as or } from "./app-X-tKojve.js";
4
+ import { W as Z, S as Je, v as Kt, F as Ot, c as pn, w as Hn, d as ar, o as rr, x as lr, E as Mt, y as sr } from "./report-CoK9Yl1E.js";
5
+ import { c as Dn, w as Et } from "./currency-Cebf4JT_.js";
6
+ import { d as Xn } from "./DateRangeSelect-OTyc3v5_.js";
7
7
  import { storeToRefs as At } from "pinia";
8
8
  import { detectLocale as oo } from "@feedmepos/mf-common";
9
- import "./index-CVkwce9f.js";
9
+ import "./index-Brvkpnxl.js";
10
10
  import { C as En, t as ir } from "./chart-DU0N9V2o.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-Bx7s49ra.js";
@@ -1,8 +1,8 @@
1
1
  import { ref as ye, computed as Se, defineComponent as yt, useModel as ft, watch as Ae, resolveComponent as te, openBlock as X, createElementBlock as he, createVNode as M, withCtx as ie, createElementVNode as Y, Fragment as Le, renderList as ht, createBlock as De, unref as D, createTextVNode as st, toDisplayString as be, withDirectives as $l, vShow as Gl, createCommentVNode as vt, mergeModels as rt, renderSlot as Qt, normalizeStyle as El, normalizeClass as Lt, withModifiers as mt } from "vue";
2
- import { c as Kt, _ as Jt, D as Ll, e as Pl } from "./DateRangeSelect-ugBAezWv.js";
3
- import { e as gt } from "./index-CVkwce9f.js";
4
- import { d as E, u as ke, c as je, a as Pe, F as Oe, ai as St, w as $e, h as Ml, j as Bl, z as zl, t as Pt, i as ql } from "./app-BxEfKOCH.js";
5
- import { b as B, C as j, Q as nt, u as Me, o as Ge, p as Ue, D as ve, a as Wl, x as Mt, W as Bt, A as Ul, S as zt } from "./report-CYTvrsBN.js";
2
+ import { c as Kt, _ as Jt, D as Ll, e as Pl } from "./DateRangeSelect-OTyc3v5_.js";
3
+ import { e as gt } from "./index-Brvkpnxl.js";
4
+ import { d as E, u as ke, c as je, a as Pe, F as Oe, ai as St, w as $e, h as Ml, j as Bl, z as zl, t as Pt, i as ql } from "./app-X-tKojve.js";
5
+ import { b as B, C as j, Q as nt, u as Me, o as Ge, p as Ue, D as ve, a as Wl, x as Mt, W as Bt, A as Ul, S as zt } from "./report-CoK9Yl1E.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 Yt } from "./_plugin-vue_export-helper-Bx7s49ra.js";
@@ -1,16 +1,16 @@
1
1
  import { ref as I, defineComponent as S, watch as P, computed as $, onMounted as de, openBlock as o, createElementBlock as i, createElementVNode as s, renderSlot as J, toDisplayString as C, resolveDirective as K, Fragment as z, renderList as N, createBlock as R, resolveDynamicComponent as U, unref as m, withCtx as B, withDirectives as T, createVNode as p, createCommentVNode as D, 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-BgdRmAaG.js";
3
- import { D as ge } from "./DateRangeSelect-ugBAezWv.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 xe } from "./app-BxEfKOCH.js";
2
+ import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-CxIN_bfu.js";
3
+ import { D as ge } from "./DateRangeSelect-OTyc3v5_.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 xe } from "./app-X-tKojve.js";
5
5
  import { storeToRefs as ae } from "pinia";
6
6
  import { C as le, r as we } from "./chart-DU0N9V2o.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-Bx7s49ra.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-Cxx-TQz9.js";
11
- import { _ as ke } from "./LocationSelect.vue_vue_type_script_setup_true_lang-5Wduoqrp.js";
11
+ import { _ as ke } from "./LocationSelect.vue_vue_type_script_setup_true_lang-SjaEdhpI.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-zCfpFbMB.js";
13
+ import { G as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DERX_GCc.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 fe, useModel as he, computed as G, resolveComponent as K, openBlock as v, createElementBlock as R, createElementVNode as o, normalizeClass as qe, Fragment as ke, renderList as Be, normalizeStyle as pt, createVNode as a, createBlock as W, withCtx as De, toDisplayString as k, renderSlot as Yt, createCommentVNode as Y, mergeModels as Ne, unref as n, h as C, createTextVNode as jt, ref as ae, onUnmounted as et, watch as $e, isRef as Qe, resolveDynamicComponent as We, mergeProps as gt, onMounted as bt, withKeys as dt, withModifiers as wt, nextTick as Pt } from "vue";
2
2
  import { useRouter as Ve, useRoute as qt } from "vue-router";
3
- import { K as Ae, L as ft, d as Re, M as zt, N as we, a as Se, e as ze, O as Ht, P as Gt, G as me, J as tt, Q as Xe, R as Ge, S as Qt, T as ot, U as vt, V as Wt, W as Xt, X as Jt, Y as Zt, Z as eo, _ as yt, b as _t, $ as to, a0 as oo, E as ao, I as He, a1 as lo, a2 as no, a3 as so } from "./app-BxEfKOCH.js";
3
+ import { K as Ae, L as ft, d as Re, M as zt, N as we, a as Se, e as ze, O as Ht, P as Gt, G as me, J as tt, Q as Xe, R as Ge, S as Qt, T as ot, U as vt, V as Wt, W as Xt, X as Jt, Y as Zt, Z as eo, _ as yt, b as _t, $ as to, a0 as oo, E as ao, I as He, a1 as lo, a2 as no, a3 as so } from "./app-X-tKojve.js";
4
4
  import { u as at } from "./global-loader-BuxFfehu.js";
5
5
  import { u as lt } from "./message-dialog-UoMWOnil.js";
6
6
  import { useSnackbar as Ke } from "@feedmepos/ui-library";
7
7
  import { s as Ot } from "./index-CtZE4sab.js";
8
8
  import { u as xe, _ as ro } from "./_plugin-vue_export-helper-Bx7s49ra.js";
9
9
  import { storeToRefs as Ee } from "pinia";
10
- import { u as Je, h as Te } from "./useRestaurantPermission-Dhr3bCra.js";
11
- import { D as nt } from "./DateRangeSelect-ugBAezWv.js";
10
+ import { u as Je, h as Te } from "./useRestaurantPermission-BTBg_goI.js";
11
+ import { D as nt } from "./DateRangeSelect-OTyc3v5_.js";
12
12
  const io = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, po = { class: "w-[100%] overflow-hidden" }, uo = { class: "inline-flex max-w-full items-center gap-2 align-top" }, co = { class: "text-nowrap min-w-0 overflow-hidden text-ellipsis font-semibold" }, mo = {
13
13
  key: 0,
14
14
  class: "w-[24px] flex items-center"