@feedmepos/mf-report 5.21.35 → 5.21.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/{App-DlQMsrS5.js → App-geGqwSBm.js} +44 -45
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang--D82uaRK.js → BaseDialog.vue_vue_type_script_setup_true_lang-DurKXVWR.js} +3 -3
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-DWO8dbXl.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BOKlbqoC.js} +2 -2
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-CAR1JvrC.js → Default.vue_vue_type_script_setup_true_lang-C6q8V7vR.js} +2 -2
  5. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-DItH1pFd.js → FilterSelector.vue_vue_type_script_setup_true_lang-RsyUBoKL.js} +6 -6
  6. package/dist/{InsightView-CZJnXfvQ.js → InsightView-EzPw40Gi.js} +6 -6
  7. package/dist/{Integration-8bJgYU68.js → Integration-DeeO1YlH.js} +3 -3
  8. package/dist/{Integrations-OIyxmSt0.js → Integrations-Buj-cor4.js} +3 -3
  9. package/dist/{Layout-D6CCxWGv.js → Layout-C5GphGSK.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-B_pWEjjr.js → MenuTab.vue_vue_type_script_setup_true_lang-CBnnUJLx.js} +5 -5
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-FoP6v9v8.js → NavigationTab.vue_vue_type_script_setup_true_lang-yWlAf3aO.js} +5 -5
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-CtgaEbFb.js → NoData.vue_vue_type_script_setup_true_lang-hQ-HVbP0.js} +1 -1
  13. package/dist/{OverviewView-CiO0pBet.js → OverviewView-CavazxxY.js} +5 -5
  14. package/dist/{Report-DsxE9n3I.js → Report-B-M5iNCb.js} +4 -4
  15. package/dist/{ReportEditor-DYmgusDR.js → ReportEditor-DDXIsUuK.js} +6 -6
  16. package/dist/{ReportView-C6uvIcsA.js → ReportView-CEvk3yZi.js} +8 -8
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-DZQpe-EH.js → SelectComponent.vue_vue_type_script_setup_true_lang-B4dMrFG8.js} +1 -1
  18. package/dist/{Setting-BCtkJ4lE.js → Setting-D9-R9I2S.js} +5 -5
  19. package/dist/{TileEditor-BFUeFhO4.js → TileEditor-CosMOz2D.js} +8 -8
  20. package/dist/{TransitionFade-6cFQqJd7.js → TransitionFade-q_k_r-M4.js} +6 -6
  21. package/dist/{app-j9Z_fK51.js → app-D0mlHb3c.js} +11 -11
  22. package/dist/app.js +1 -1
  23. package/dist/{vue-i18n-CA_EVqbf.js → vue-i18n-D9q9pRRw.js} +1 -1
  24. package/package.json +1 -1
@@ -1,21 +1,21 @@
1
- import { defineComponent as se, resolveComponent as V, createBlock as ie, openBlock as R, unref as c, isRef as be, withCtx as j, createElementVNode as M, createVNode as P, toDisplayString as ee, createTextVNode as we, onMounted as ue, watch as q, ref as A, computed as te, onBeforeMount as Ce, onBeforeUnmount as Ee, createElementBlock as z, Fragment as ke } from "vue";
2
- import { detectLocale as N, useCoreStore as Q } from "@feedmepos/mf-common";
3
- import { u as Ae, a as Ne, b as ne, c as Te, d as Be, e as Fe, s as $e, f as xe } from "./vue-i18n-CA_EVqbf.js";
1
+ import { defineComponent as se, resolveComponent as V, createBlock as ie, openBlock as R, unref as c, isRef as be, withCtx as j, createElementVNode as M, createVNode as P, toDisplayString as ee, createTextVNode as we, onMounted as ue, watch as q, ref as N, computed as te, onBeforeMount as Ce, onBeforeUnmount as Ee, createElementBlock as z, Fragment as ke } from "vue";
2
+ import { detectLocale as T, useCoreStore as Q } from "@feedmepos/mf-common";
3
+ import { u as Ae, a as Ne, b as ne, c as Te, d as Be, e as Fe, f as $e, s as xe } from "./vue-i18n-D9q9pRRw.js";
4
4
  import { storeToRefs as L } from "pinia";
5
- import { u as re, a as Je, b as Ue } from "./BaseDialog.vue_vue_type_script_setup_true_lang--D82uaRK.js";
6
- import { u as je, _ as ze } from "./NavigationTab.vue_vue_type_script_setup_true_lang-FoP6v9v8.js";
5
+ import { u as re, a as Je, b as Ue } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DurKXVWR.js";
6
+ import { u as je, _ as ze } from "./NavigationTab.vue_vue_type_script_setup_true_lang-yWlAf3aO.js";
7
7
  import { u as ae } from "./message-dialog-UoMWOnil.js";
8
- import { d as u } from "./app-j9Z_fK51.js";
8
+ import { d as u } from "./app-D0mlHb3c.js";
9
9
  import { useRoute as Qe, useRouter as Ve } from "vue-router";
10
10
  const Pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Ge = /* @__PURE__ */ se({
11
11
  __name: "Dialog",
12
12
  setup(_) {
13
13
  const { t: i } = Ae(), l = ae(), { isOpened: d, message: S, title: D } = L(ae());
14
14
  return (f, g) => {
15
- const O = V("FmButton"), T = V("FmDialog");
16
- return R(), ie(T, {
15
+ const O = V("FmButton"), B = V("FmDialog");
16
+ return R(), ie(B, {
17
17
  modelValue: c(d),
18
- "onUpdate:modelValue": g[0] || (g[0] = (B) => be(d) ? d.value = B : null),
18
+ "onUpdate:modelValue": g[0] || (g[0] = (F) => be(d) ? d.value = F : null),
19
19
  overlay: "",
20
20
  "close-button": !1
21
21
  }, {
@@ -41,7 +41,7 @@ const Pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Ge
41
41
  }, 8, ["modelValue"]);
42
42
  };
43
43
  }
44
- }), oe = A(N());
44
+ }), oe = N(T());
45
45
  function We() {
46
46
  const _ = (i) => {
47
47
  switch (oe.value = i, i) {
@@ -54,25 +54,25 @@ function We() {
54
54
  }
55
55
  };
56
56
  return ue(() => {
57
- _(N());
58
- }), q(() => N(), _, { deep: !0, immediate: !0 }), {
57
+ _(T());
58
+ }), q(() => T(), _, { deep: !0, immediate: !0 }), {
59
59
  currentLocale: oe
60
60
  };
61
61
  }
62
- u.locale(N() === "zh-CN" ? "zh-cn" : "en");
62
+ u.locale(T() === "zh-CN" ? "zh-cn" : "en");
63
63
  const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
64
64
  __name: "App",
65
65
  setup(_) {
66
- const { businessId: i, token: l, country: d } = L(Ne()), { sessionUser: S, currentBusiness: D, currentCountry: f, registerSidebarComponent: g } = Q(), { getRestaurantAndWarehouse: O, getBusinessSetting: T, beginBusinessLoad: B, completeBusinessLoad: ce } = ne(), { getFeatureFlags: de } = Te(), { version: m } = L(re()), { getSettings: le } = Be(), { promptLoader: fe } = Fe(), n = Qe(), F = Ve(), h = Je(), G = je(), r = ne(), me = re(), { suppressReportRouteSync: b } = L(me), pe = te(() => `https://portal-v1.feedme.cc/b/${i.value}/report/CLOSE_UP?showHeader=false&country=${d.value.toUpperCase()}&menuOption=business-report&token=${l.value}&v2=true&reportV5Button=true`), ge = te(() => `https://report-v4.feedme.cc?businessId=${i.value}&country=${d.value}&token=${l.value}&reportV3Button=true`);
66
+ const { businessId: i, token: l, country: d } = L(Ne()), { sessionUser: S, currentBusiness: D, currentCountry: f, registerSidebarComponent: g } = Q(), { getRestaurantAndWarehouse: O, getBusinessSetting: B, beginBusinessLoad: F, completeBusinessLoad: ce } = ne(), { getFeatureFlags: de } = Te(), { version: m } = L(re()), { getSettings: le } = Be(), { promptLoader: fe } = Fe(), n = Qe(), $ = Ve(), h = Je(), G = je(), r = ne(), me = re(), { suppressReportRouteSync: b } = L(me), { getReports: pe, getOverviewReport: ge, getReportConfig: W, currentReportId: H } = h, { currentReportId: ye, reports: ve } = L(h), { getSchema: Se } = Ue(), { fetchSchedules: De } = G, { init: he } = $e(), x = N("v5"), w = N(!1), C = N(!0), Ie = te(() => `https://portal-v1.feedme.cc/b/${i.value}/report/CLOSE_UP?showHeader=false&country=${d.value.toUpperCase()}&menuOption=business-report&token=${l.value}&v2=true&reportV5Button=true`), Re = te(() => `https://report-v4.feedme.cc?businessId=${i.value}&country=${d.value}&token=${l.value}&reportV3Button=true`);
67
67
  q(
68
68
  [() => D.value, () => S.value, () => f.value],
69
69
  () => {
70
70
  var t, a;
71
71
  const e = ((t = D.value) == null ? void 0 : t.id) ?? "";
72
72
  if (D.value && S.value && f.value) {
73
- $e(f.value), i.value !== e && (i.value = e);
73
+ xe(f.value), i.value !== e && (i.value = e);
74
74
  let s = !1;
75
- d.value !== f.value && (s = !0), l.value = ((a = S.value) == null ? void 0 : a.token) ?? "", d.value = f.value ?? "", (n.query.businessId !== i.value || s) && F.replace({
75
+ d.value !== f.value && (s = !0), l.value = ((a = S.value) == null ? void 0 : a.token) ?? "", d.value = f.value ?? "", (n.query.businessId !== i.value || s || !C.value) && $.replace({
76
76
  name: n.name,
77
77
  params: n.params,
78
78
  query: {
@@ -87,7 +87,7 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
87
87
  },
88
88
  { immediate: !0 }
89
89
  );
90
- function W(e) {
90
+ function K(e) {
91
91
  if (typeof e.data == "string")
92
92
  try {
93
93
  const t = JSON.parse(e.data);
@@ -96,11 +96,11 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
96
96
  console.error(t);
97
97
  }
98
98
  }
99
- function H(e) {
99
+ function X(e) {
100
100
  if (typeof e.data == "string")
101
101
  try {
102
102
  const t = JSON.parse(e.data);
103
- (t == null ? void 0 : t.v5) === !0 ? m.value = $.value : (t == null ? void 0 : t.v3) === !0 && (m.value = "v3");
103
+ (t == null ? void 0 : t.v5) === !0 ? m.value = x.value : (t == null ? void 0 : t.v3) === !0 && (m.value = "v3");
104
104
  } catch (t) {
105
105
  console.error(t);
106
106
  }
@@ -110,11 +110,10 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
110
110
  }), Ce(() => {
111
111
  g(ze);
112
112
  }), ue(() => {
113
- console.log("5.21.35", !0), window.addEventListener("message", W), window.addEventListener("message", H);
113
+ console.log("5.21.36", !0), window.addEventListener("message", K), window.addEventListener("message", X);
114
114
  }), Ee(() => {
115
- window.removeEventListener("message", W), window.removeEventListener("message", H), h.$dispose(), G.$dispose();
115
+ window.removeEventListener("message", K), window.removeEventListener("message", X), h.$dispose(), G.$dispose();
116
116
  });
117
- const { getReports: ye, getOverviewReport: ve, getReportConfig: K, currentReportId: X } = h, { currentReportId: Se, reports: De } = L(h), { getSchema: he } = Ue(), { fetchSchedules: Ie } = G, { init: Re } = xe(), $ = A("v5"), w = A(!1), x = A(!0);
118
117
  function qe(e) {
119
118
  try {
120
119
  return decodeURIComponent(e);
@@ -122,7 +121,7 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
122
121
  return e;
123
122
  }
124
123
  }
125
- function C(e) {
124
+ function E(e) {
126
125
  if (typeof e != "string" || e.length === 0) return;
127
126
  const t = e.includes("%") ? [e, qe(e)] : [e];
128
127
  for (const a of t)
@@ -144,22 +143,22 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
144
143
  return typeof t.hour == "number" && typeof t.minute == "number";
145
144
  }
146
145
  function Le() {
147
- const e = n.query.startDate ? u(n.query.startDate).startOf("day").toISOString() : void 0, t = n.query.endDate ? u(n.query.endDate).endOf("day").toISOString() : void 0, a = typeof n.query.timeStart == "string", s = typeof n.query.timeEnd == "string", p = C(n.query.timeStart), I = C(n.query.timeEnd), E = Y(p) ? p : null, k = Y(I) ? I : null, J = n.query.compareStartDate ? u(n.query.compareStartDate).startOf("day").toISOString() : void 0, U = n.query.compareEndDate ? u(n.query.compareEndDate).endOf("day").toISOString() : void 0, Z = n.query.isAllLocation === "true" || n.query.isAllLocation === void 0;
146
+ const e = n.query.startDate ? u(n.query.startDate).startOf("day").toISOString() : void 0, t = n.query.endDate ? u(n.query.endDate).endOf("day").toISOString() : void 0, a = typeof n.query.timeStart == "string", s = typeof n.query.timeEnd == "string", p = E(n.query.timeStart), I = E(n.query.timeEnd), k = Y(p) ? p : null, A = Y(I) ? I : null, J = n.query.compareStartDate ? u(n.query.compareStartDate).startOf("day").toISOString() : void 0, U = n.query.compareEndDate ? u(n.query.compareEndDate).endOf("day").toISOString() : void 0, Z = n.query.isAllLocation === "true" || n.query.isAllLocation === void 0;
148
147
  let y = [];
149
148
  if (Z)
150
149
  y = r.selectedLocationIds;
151
150
  else {
152
- const o = C(n.query.locationIds);
151
+ const o = E(n.query.locationIds);
153
152
  y = Array.isArray(o) ? o : [];
154
153
  }
155
- let v = n.query.reportId || X;
156
- if (De.value.find((o) => o.id === v) || (v = X), v && v !== h.currentReportId && h.updateCurrentReportId(v), e || t) {
154
+ let v = n.query.reportId || H;
155
+ if (ve.value.find((o) => o.id === v) || (v = H), v && v !== h.currentReportId && h.updateCurrentReportId(v), e || t) {
157
156
  const o = r.dateRange;
158
157
  (o.startDate !== e || o.endDate !== t) && r.setDateRange({ startDate: e, endDate: t });
159
158
  }
160
159
  if (a || s) {
161
160
  const o = r.timeRange;
162
- (o.start !== E || o.end !== k) && r.setTimeRange({ start: E, end: k });
161
+ (o.start !== k || o.end !== A) && r.setTimeRange({ start: k, end: A });
163
162
  }
164
163
  if (J || U) {
165
164
  const o = r.compareDateRange;
@@ -188,7 +187,7 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
188
187
  return q(
189
188
  () => i.value,
190
189
  async (e) => {
191
- e !== "" && (w.value = !1, B(e), x.value || (r.setSelectedLocationIds([]), F.replace({
190
+ e !== "" && (w.value = !1, F(e), C.value || (r.setSelectedLocationIds([]), $.replace({
192
191
  name: n.name,
193
192
  params: n.params,
194
193
  query: {
@@ -197,36 +196,36 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
197
196
  isAllLocation: "true"
198
197
  }
199
198
  })), b.value !== void 0 && (b.value = !0), await fe(async () => {
200
- await Re({
199
+ await he({
201
200
  apiKey: "6GhcttsJ9Rj9cTevcdrpin",
202
201
  url: "https://flag.feedme.farm/api/v1/",
203
202
  enableAnalytics: !1,
204
203
  cacheFlags: !1
205
204
  });
206
- const t = await K();
207
- $.value = t.version, m.value = $.value, await Promise.all([
205
+ const t = await W();
206
+ x.value = t.version, m.value = x.value, await Promise.all([
208
207
  de(),
209
- K(),
210
- ve(),
211
- ye(),
212
- he(),
213
- Ie(),
208
+ W(),
209
+ ge(),
210
+ pe(),
211
+ Se(),
212
+ De(),
214
213
  O(
215
214
  (() => {
216
- const a = C(n.query.locationIds);
215
+ const a = E(n.query.locationIds);
217
216
  return Array.isArray(a) ? a : void 0;
218
217
  })()
219
218
  ),
220
219
  le()
221
- ]), await T(), Le(), ce(e);
222
- }), w.value = !0, x.value && (x.value = !1));
220
+ ]), await B(), Le(), ce(e);
221
+ }), w.value = !0, C.value && (C.value = !1));
223
222
  },
224
223
  {
225
224
  immediate: !0
226
225
  }
227
226
  ), q(
228
227
  () => (w.value, {
229
- reportId: Se.value,
228
+ reportId: ye.value,
230
229
  selectedLocationIds: r.selectedLocationIds,
231
230
  dateRange: r.dateRange,
232
231
  timeRange: r.timeRange,
@@ -249,8 +248,8 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
249
248
  timeEnd: s.end ? JSON.stringify(s.end) : void 0,
250
249
  locationIds: t.length === r.locations.length ? void 0 : t.length > 0 ? JSON.stringify(t) : void 0,
251
250
  isAllLocation: String(t.length === r.locations.length)
252
- }, E = JSON.stringify(n.query), k = JSON.stringify(I);
253
- E !== k && F.replace({
251
+ }, k = JSON.stringify(n.query), A = JSON.stringify(I);
252
+ k !== A && $.replace({
254
253
  name: n.name,
255
254
  params: n.params,
256
255
  query: I
@@ -264,11 +263,11 @@ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
264
263
  c(m) === "v3" ? (R(), z("iframe", {
265
264
  key: 0,
266
265
  class: "bg-white h-full w-full",
267
- src: pe.value
266
+ src: Ie.value
268
267
  }, null, 8, He)) : c(m) === "v4" ? (R(), z("iframe", {
269
268
  key: 1,
270
269
  class: "bg-white h-full w-full",
271
- src: ge.value
270
+ src: Re.value
272
271
  }, null, 8, Ke)) : (R(), ie(a, { key: 2 }))
273
272
  ], 64);
274
273
  };
@@ -1,11 +1,11 @@
1
- import { a as m0, F as y0, l as g0, b as k0, c as Ce, k as be, d as Fe, r as K0, u as Ie } from "./vue-i18n-CA_EVqbf.js";
1
+ import { a as m0, F as y0, l as g0, b as k0, c as Ce, k as be, d as Fe, r as K0, u as Ie } from "./vue-i18n-D9q9pRRw.js";
2
2
  import { storeToRefs as p0, defineStore as B0 } from "pinia";
3
3
  import { ref as s0, computed as C0, watch as U0, h as Me, defineComponent as _e, mergeModels as N0, useModel as z0, resolveComponent as A0, createElementBlock as V0, openBlock as P0, createVNode as h0, withCtx as b0, createElementVNode as E0, createCommentVNode as Re, Fragment as re, renderList as xe, createBlock as De, createTextVNode as de, withDirectives as Le, toDisplayString as T0, unref as $0, vShow as Oe, renderSlot as we } from "vue";
4
4
  import { useSnackbar as ce, components as ve } from "@feedmepos/ui-library";
5
- import { d as S0 } from "./app-j9Z_fK51.js";
5
+ import { d as S0 } from "./app-D0mlHb3c.js";
6
6
  import { useRouter as Pe } from "vue-router";
7
7
  import { detectLocale as F0 } from "@feedmepos/mf-common";
8
- import { c as Be, a as Je } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DWO8dbXl.js";
8
+ import { c as Be, a as Je } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BOKlbqoC.js";
9
9
  function pe(T) {
10
10
  throw new Error('Could not dynamically require "' + T + '". 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 O, createElementBlock as U, unref as f, createVNode as x } from "vue";
2
- import { u as W, b as q, O as G, C as H } from "./vue-i18n-CA_EVqbf.js";
3
- import { d as r } from "./app-j9Z_fK51.js";
2
+ import { u as W, b as q, O as G, C as H } from "./vue-i18n-D9q9pRRw.js";
3
+ import { d as r } from "./app-D0mlHb3c.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-FoP6v9v8.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-yWlAf3aO.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-CA_EVqbf.js";
5
+ import { u as q, e as w } from "./vue-i18n-D9q9pRRw.js";
6
6
  import { useRoute as B } from "vue-router";
7
7
  const $ = {
8
8
  key: 1,
@@ -1,13 +1,13 @@
1
1
  import { computed as k, defineComponent as Te, mergeModels as Ne, useModel as Ee, ref as g, onMounted as Ie, nextTick as Se, watch as de, resolveComponent as B, createElementBlock as ne, openBlock as W, Fragment as xe, renderSlot as Me, createVNode as U, normalizeStyle as Ve, unref as s, createElementVNode as X, toDisplayString as De, withCtx as ie, createBlock as pe, createCommentVNode as ke, normalizeClass as Qe, h as rt, renderList as ut, toRaw as xl, markRaw as Sl, createTextVNode as yt, onUnmounted as Ut, resolveDynamicComponent as Cl, withDirectives as kl, vShow as Tl, withModifiers as ht } from "vue";
2
- import { W as A, e as lt, f as _l, S as qe, v as it, g as Fl, h as ft, i as Yt, q as Gt, R as Ke, j as Ll, D as Re, c as ge, C as Ce, a as Rl, b as Dl, _ as zl } from "./BaseDialog.vue_vue_type_script_setup_true_lang--D82uaRK.js";
3
- import { u as at, b as tt, a as Ft, h as $l } from "./vue-i18n-CA_EVqbf.js";
4
- import { d as bt, _ as Vl, a as El, b as Al, c as Wl } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DWO8dbXl.js";
2
+ import { W as A, e as lt, f as _l, S as qe, v as it, g as Fl, h as ft, i as Yt, q as Gt, R as Ke, j as Ll, D as Re, c as ge, C as Ce, a as Rl, b as Dl, _ as zl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DurKXVWR.js";
3
+ import { u as at, b as tt, a as Ft, h as $l } from "./vue-i18n-D9q9pRRw.js";
4
+ import { d as bt, _ as Vl, a as El, b as Al, c as Wl } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BOKlbqoC.js";
5
5
  import { storeToRefs as ze, defineStore as Xt } from "pinia";
6
6
  import { useBreakpoints as jt, useSnackbar as Lt, components as Nl } from "@feedmepos/ui-library";
7
- import { _ as Il } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DZQpe-EH.js";
7
+ import { _ as Il } from "./SelectComponent.vue_vue_type_script_setup_true_lang-B4dMrFG8.js";
8
8
  import { r as Ue } from "./i18n-7InkCBCc.js";
9
- import { _ as wt } from "./NoData.vue_vue_type_script_setup_true_lang-CtgaEbFb.js";
10
- import { d as Je } from "./app-j9Z_fK51.js";
9
+ import { _ as wt } from "./NoData.vue_vue_type_script_setup_true_lang-hQ-HVbP0.js";
10
+ import { d as Je } from "./app-D0mlHb3c.js";
11
11
  var xt = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(xt || {}), Be = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(Be || {}), St = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(St || {}), Ct = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(Ct || {}), kt = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(kt || {}), Tt = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Tt || {}), _t = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(_t || {});
12
12
  A.Circular, A.Table, A.BarChart, A.LineChart, A.StackBarChart, A.StackLineChart, A.Scorecard, A.Spacer;
13
13
  const Ml = [
@@ -2,14 +2,14 @@ var Zo = Object.defineProperty;
2
2
  var Jo = (i, t, e) => t in i ? Zo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var k = (i, t, e) => Jo(i, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Qo, createElementBlock as U, openBlock as I, createElementVNode as R, renderSlot as Un, toDisplayString as lt, resolveDirective as Xn, createCommentVNode as St, Fragment as Ii, renderList as zi, createBlock as Ht, withDirectives as Ge, resolveDynamicComponent as es, unref as G, withCtx as Yt, createVNode as et, normalizeClass as Ze, resolveComponent as Me, useModel as ta, createTextVNode as ea, isRef as ki, nextTick as ia } from "vue";
5
- import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-CAR1JvrC.js";
6
- import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DWO8dbXl.js";
7
- import { a as Kn, q as qn, F as Gn, u as Zn, g as ys, b as oa } from "./vue-i18n-CA_EVqbf.js";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-C6q8V7vR.js";
6
+ import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BOKlbqoC.js";
7
+ import { a as Kn, q as qn, F as Gn, u as Zn, g as ys, b as oa } from "./vue-i18n-D9q9pRRw.js";
8
8
  import { storeToRefs as Jn } from "pinia";
9
- import { d as Bi } from "./app-j9Z_fK51.js";
9
+ import { d as Bi } from "./app-D0mlHb3c.js";
10
10
  import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
11
- import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-CtgaEbFb.js";
12
- import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-FoP6v9v8.js";
11
+ import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-hQ-HVbP0.js";
12
+ import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-yWlAf3aO.js";
13
13
  import { useCoreStore as ha } from "@feedmepos/mf-common";
14
14
  function da({ start: i, end: t }) {
15
15
  return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as J, mergeModels as $e, useModel as te, computed as q, resolveComponent as D, createElementBlock as U, openBlock as _, createElementVNode as t, createCommentVNode as L, normalizeClass as Ie, Fragment as ke, createBlock as j, withCtx as xe, toDisplayString as C, renderList as De, createVNode as l, unref as d, h as k, normalizeStyle as tt, createTextVNode as ot, ref as z, onUnmounted as Re, watch as Ce, isRef as Te, resolveDynamicComponent as Fe, mergeProps as Ge, onMounted as Qe } from "vue";
2
2
  import { useRouter as be, useRoute as at } from "vue-router";
3
- import { u as oe, I as he, o as lt, t as nt, d as Ve, e as Pe, b as we, A as ve, v as st, j as rt, n as Me, w as je, x as Ke, y as Le, z as ze, B as it, E as dt, G as mt, H as qe, c as Ze, J as pt, K as ut, L as ct, M as ft, N as gt } from "./vue-i18n-CA_EVqbf.js";
3
+ import { u as oe, I as he, o as lt, t as nt, d as Ve, e as Pe, b as we, A as ve, v as st, j as rt, n as Me, w as je, x as Ke, y as Le, z as ze, B as it, E as dt, G as mt, H as qe, c as Ze, J as pt, K as ut, L as ct, M as ft, N as gt } from "./vue-i18n-D9q9pRRw.js";
4
4
  import { u as Oe } from "./message-dialog-UoMWOnil.js";
5
5
  import { useSnackbar as _e } from "@feedmepos/ui-library";
6
- import { d as Ae } from "./app-j9Z_fK51.js";
6
+ import { d as Ae } from "./app-D0mlHb3c.js";
7
7
  import { storeToRefs as Ee } from "pinia";
8
- import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DWO8dbXl.js";
8
+ import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BOKlbqoC.js";
9
9
  const vt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, yt = { class: "w-[100%]" }, xt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, bt = { class: "w-[100%] flex flex-row gap-[4px]" }, wt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, _t = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, ht = {
10
10
  key: 0,
11
11
  class: "w-[24px] flex items-center"