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

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-D57Wm4fK.js → App-Ea_o-BvO.js} +85 -88
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-Bp-gX4fR.js → BaseDialog.vue_vue_type_script_setup_true_lang-BVJrslaQ.js} +3 -3
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CJppbEh0.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DiE4b9iV.js} +2 -2
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-B4nkCkPn.js → Default.vue_vue_type_script_setup_true_lang-C2BivEtZ.js} +2 -2
  5. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-CNeBJJzW.js → FilterSelector.vue_vue_type_script_setup_true_lang-Dh1rx05Y.js} +6 -6
  6. package/dist/{InsightView-SXQiD37j.js → InsightView-BrT-ttaB.js} +6 -6
  7. package/dist/{Integration-CVW8vCLt.js → Integration-DuKT3KhF.js} +3 -3
  8. package/dist/{Integrations-NIjXmZ1g.js → Integrations-U_cL8-ra.js} +3 -3
  9. package/dist/{Layout-D1dQ3u0H.js → Layout-D6bPvN1X.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-D6QwGVIz.js → MenuTab.vue_vue_type_script_setup_true_lang-BxQL0Uba.js} +5 -5
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BqEdoznW.js → NavigationTab.vue_vue_type_script_setup_true_lang-CHdohOm4.js} +5 -5
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-oflf_9LD.js → NoData.vue_vue_type_script_setup_true_lang-D7U7yqVJ.js} +1 -1
  13. package/dist/{OverviewView-CMp-wzcf.js → OverviewView-C0Wpy7sf.js} +5 -5
  14. package/dist/{Report-F1SZtu_5.js → Report-BXhC5vRZ.js} +4 -4
  15. package/dist/{ReportEditor-ck3bZz_u.js → ReportEditor-DmP3HBQa.js} +6 -6
  16. package/dist/{ReportView-CihWvVKS.js → ReportView-BYdnQgUV.js} +8 -8
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-B37BYpOo.js → SelectComponent.vue_vue_type_script_setup_true_lang-D4aioNBW.js} +1 -1
  18. package/dist/{Setting-CF5g_ntm.js → Setting-DGuwvHXZ.js} +5 -5
  19. package/dist/{TileEditor-DUBQfMht.js → TileEditor-54XZHdlz.js} +8 -8
  20. package/dist/{TransitionFade-FD0Qbph7.js → TransitionFade-CoKlAqB4.js} +6 -6
  21. package/dist/{app-TORWi_vq.js → app-BYl2I8AR.js} +11 -11
  22. package/dist/app.js +1 -1
  23. package/dist/{vue-i18n-Cj0-KhdJ.js → vue-i18n-D1OtrcYP.js} +2 -2
  24. package/package.json +1 -1
@@ -1,48 +1,48 @@
1
- import { defineComponent as se, resolveComponent as V, createBlock as ie, openBlock as R, unref as d, isRef as Oe, withCtx as z, createElementVNode as M, createVNode as W, toDisplayString as ee, createTextVNode as Ce, onMounted as ue, watch as q, ref as N, computed as te, onBeforeMount as we, onBeforeUnmount as Ee, createElementBlock as Q, Fragment as ke } from "vue";
2
- import { detectLocale as B, useCoreStore as j } from "@feedmepos/mf-common";
3
- import { u as Ae, a as Ne, b as ne, c as Be, d as Te, e as Fe, f as $e, s as xe } from "./vue-i18n-Cj0-KhdJ.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 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, f as $e, s as xe } from "./vue-i18n-D1OtrcYP.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-Bp-gX4fR.js";
6
- import { u as ze, _ as Qe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BqEdoznW.js";
5
+ import { u as re, a as Je, b as Ue } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BVJrslaQ.js";
6
+ import { u as je, _ as ze } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CHdohOm4.js";
7
7
  import { u as ae } from "./message-dialog-UoMWOnil.js";
8
- import { d as u } from "./app-TORWi_vq.js";
9
- import { useRoute as je, useRouter as Ve } from "vue-router";
10
- const We = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Pe = /* @__PURE__ */ se({
8
+ import { d as u } from "./app-BYl2I8AR.js";
9
+ import { useRoute as Qe, useRouter as Ve } from "vue-router";
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
- const { t: i } = Ae(), f = ae(), { isOpened: l, message: S, title: D } = L(ae());
14
- return (m, y) => {
15
- const b = V("FmButton"), T = V("FmDialog");
13
+ const { t: i } = Ae(), l = ae(), { isOpened: d, message: S, title: D } = L(ae());
14
+ return (f, y) => {
15
+ const O = V("FmButton"), T = V("FmDialog");
16
16
  return R(), ie(T, {
17
- modelValue: d(l),
18
- "onUpdate:modelValue": y[0] || (y[0] = (F) => Oe(l) ? l.value = F : null),
17
+ modelValue: c(d),
18
+ "onUpdate:modelValue": y[0] || (y[0] = (B) => be(d) ? d.value = B : null),
19
19
  overlay: "",
20
20
  "close-button": !1
21
21
  }, {
22
- "dialog-header": z(() => [
23
- Ce(ee(d(D)), 1)
22
+ "dialog-header": j(() => [
23
+ we(ee(c(D)), 1)
24
24
  ]),
25
- default: z(() => [
26
- M("p", We, ee(d(S)), 1)
25
+ default: j(() => [
26
+ M("p", Pe, ee(c(S)), 1)
27
27
  ]),
28
- "dialog-footer": z(() => [
28
+ "dialog-footer": j(() => [
29
29
  y[1] || (y[1] = M("div", { class: "grow" }, null, -1)),
30
- W(b, {
31
- label: d(i)("report.common.cancel"),
30
+ P(O, {
31
+ label: c(i)("report.common.cancel"),
32
32
  variant: "tertiary",
33
- onClick: d(f).dismiss
33
+ onClick: c(l).dismiss
34
34
  }, null, 8, ["label", "onClick"]),
35
- W(b, {
36
- label: d(i)("report.common.confirm"),
37
- onClick: d(f).confirm
35
+ P(O, {
36
+ label: c(i)("report.common.confirm"),
37
+ onClick: c(l).confirm
38
38
  }, null, 8, ["label", "onClick"])
39
39
  ]),
40
40
  _: 1
41
41
  }, 8, ["modelValue"]);
42
42
  };
43
43
  }
44
- }), oe = N(B());
45
- function Ge() {
44
+ }), oe = A(N());
45
+ function We() {
46
46
  const _ = (i) => {
47
47
  switch (oe.value = i, i) {
48
48
  case "zh-CN":
@@ -54,47 +54,44 @@ function Ge() {
54
54
  }
55
55
  };
56
56
  return ue(() => {
57
- _(B());
58
- }), q(() => B(), _, { deep: !0, immediate: !0 }), {
57
+ _(N());
58
+ }), q(() => N(), _, { deep: !0, immediate: !0 }), {
59
59
  currentLocale: oe
60
60
  };
61
61
  }
62
- u.locale(B() === "zh-CN" ? "zh-cn" : "en");
63
- const Ke = ["src"], He = ["src"], ut = /* @__PURE__ */ se({
62
+ u.locale(N() === "zh-CN" ? "zh-cn" : "en");
63
+ const He = ["src"], Ke = ["src"], ut = /* @__PURE__ */ se({
64
64
  __name: "App",
65
65
  setup(_) {
66
- const { businessId: i, token: f, country: l } = L(Ne()), { sessionUser: S, currentBusiness: D, currentCountry: m, registerSidebarComponent: y } = j(), { getRestaurantAndWarehouse: b, getBusinessSetting: T, beginBusinessLoad: F, completeBusinessLoad: ce } = ne(), { getFeatureFlags: de } = Be(), { version: p } = L(re()), { getSettings: le } = Te(), { promptLoader: fe } = Fe(), e = je(), $ = Ve(), h = Je(), P = ze(), r = ne(), me = re(), { suppressReportRouteSync: O } = L(me), { getReports: pe, getOverviewReport: ye, getReportConfig: G, currentReportId: K } = h, { currentReportId: ge, reports: ve } = L(h), { getSchema: Se } = Ue(), { fetchSchedules: De } = P, { init: he } = $e(), x = N("v5"), C = N(!1), w = N(!0), Ie = te(() => `https://portal-v1.feedmedev.cc/b/${i.value}/report/CLOSE_UP?showHeader=false&country=${l.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), Re = te(() => `https://report-v4.feedmedev.cc?businessId=${i.value}&country=${l.value}&token=${f.value}&reportV3Button=true`);
66
+ const { businessId: i, token: l, country: d } = L(Ne()), { sessionUser: S, currentBusiness: D, currentCountry: f, registerSidebarComponent: y } = Q(), { getRestaurantAndWarehouse: O, getBusinessSetting: T, beginBusinessLoad: B, completeBusinessLoad: ce } = ne(), { getFeatureFlags: de } = Te(), { version: m } = L(re()), { getSettings: le } = Be(), { promptLoader: fe } = Fe(), e = Qe(), F = Ve(), h = Je(), G = je(), r = ne(), me = re(), { suppressReportRouteSync: b } = L(me), { getReports: pe, getOverviewReport: ye, getReportConfig: W, currentReportId: H } = h, { currentReportId: ge, reports: ve } = L(h), { getSchema: Se } = Ue(), { fetchSchedules: De } = G, { init: he } = $e(), $ = A("v5"), w = A(!1), x = A(!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
- [() => D.value, () => S.value, () => m.value],
68
+ [() => D.value, () => S.value, () => f.value],
69
69
  () => {
70
70
  var n, a;
71
71
  const t = ((n = D.value) == null ? void 0 : n.id) ?? "";
72
- if (D.value && S.value && m.value) {
73
- xe(m.value), i.value !== t && (i.value = t);
72
+ if (D.value && S.value && f.value) {
73
+ xe(f.value), i.value !== t && (i.value = t);
74
74
  let s = !1;
75
- if (l.value !== m.value && (s = !0), f.value = ((a = S.value) == null ? void 0 : a.token) ?? "", l.value = m.value ?? "", e.query.businessId !== i.value || s) {
76
- const c = !w.value && s;
77
- $.replace({
78
- name: e.name,
79
- params: e.params,
80
- query: {
81
- ...e.query,
82
- businessId: i.value,
83
- country: m.value,
84
- isAllLocation: c ? "true" : e.query.isAllLocation,
85
- locationIds: c ? void 0 : e.query.locationIds
86
- }
87
- });
88
- }
75
+ d.value !== f.value && (s = !0), l.value = ((a = S.value) == null ? void 0 : a.token) ?? "", d.value = f.value ?? "", e.query.businessId !== i.value && F.replace({
76
+ name: e.name,
77
+ params: e.params,
78
+ query: {
79
+ ...e.query,
80
+ businessId: i.value,
81
+ country: f.value,
82
+ isAllLocation: s ? "true" : e.query.isAllLocation,
83
+ locationIds: s ? void 0 : e.query.locationIds
84
+ }
85
+ });
89
86
  }
90
87
  },
91
88
  { immediate: !0 }
92
89
  );
93
- function H(t) {
90
+ function K(t) {
94
91
  if (typeof t.data == "string")
95
92
  try {
96
93
  const n = JSON.parse(t.data);
97
- (n == null ? void 0 : n.token) !== "" && (n == null ? void 0 : n.token) !== void 0 && (f.value = n.token);
94
+ (n == null ? void 0 : n.token) !== "" && (n == null ? void 0 : n.token) !== void 0 && (l.value = n.token);
98
95
  } catch (n) {
99
96
  console.error(n);
100
97
  }
@@ -103,19 +100,19 @@ const Ke = ["src"], He = ["src"], ut = /* @__PURE__ */ se({
103
100
  if (typeof t.data == "string")
104
101
  try {
105
102
  const n = JSON.parse(t.data);
106
- (n == null ? void 0 : n.v5) === !0 ? p.value = x.value : (n == null ? void 0 : n.v3) === !0 && (p.value = "v3");
103
+ (n == null ? void 0 : n.v5) === !0 ? m.value = $.value : (n == null ? void 0 : n.v3) === !0 && (m.value = "v3");
107
104
  } catch (n) {
108
105
  console.error(n);
109
106
  }
110
107
  }
111
- q(p, () => {
112
- ["v3", "v4"].includes(p.value) ? j().hideSidebarToggle(!0) : j().hideSidebarToggle(!1);
113
- }), we(() => {
114
- y(Qe);
108
+ q(m, () => {
109
+ ["v3", "v4"].includes(m.value) ? Q().hideSidebarToggle(!0) : Q().hideSidebarToggle(!1);
110
+ }), Ce(() => {
111
+ y(ze);
115
112
  }), ue(() => {
116
- console.log("5.21.40-beta.0", !0), window.addEventListener("message", H), window.addEventListener("message", X);
113
+ console.log("5.21.40", !0), window.addEventListener("message", K), window.addEventListener("message", X);
117
114
  }), Ee(() => {
118
- window.removeEventListener("message", H), window.removeEventListener("message", X), h.$dispose(), P.$dispose();
115
+ window.removeEventListener("message", K), window.removeEventListener("message", X), h.$dispose(), G.$dispose();
119
116
  });
120
117
  function qe(t) {
121
118
  try {
@@ -124,7 +121,7 @@ const Ke = ["src"], He = ["src"], ut = /* @__PURE__ */ se({
124
121
  return t;
125
122
  }
126
123
  }
127
- function E(t) {
124
+ function C(t) {
128
125
  if (typeof t != "string" || t.length === 0) return;
129
126
  const n = t.includes("%") ? [t, qe(t)] : [t];
130
127
  for (const a of n)
@@ -146,22 +143,22 @@ const Ke = ["src"], He = ["src"], ut = /* @__PURE__ */ se({
146
143
  return typeof n.hour == "number" && typeof n.minute == "number";
147
144
  }
148
145
  function Le() {
149
- const t = e.query.startDate ? u(e.query.startDate).startOf("day").toISOString() : void 0, n = e.query.endDate ? u(e.query.endDate).endOf("day").toISOString() : void 0, a = typeof e.query.timeStart == "string", s = typeof e.query.timeEnd == "string", c = E(e.query.timeStart), I = E(e.query.timeEnd), k = Y(c) ? c : null, A = Y(I) ? I : null, J = e.query.compareStartDate ? u(e.query.compareStartDate).startOf("day").toISOString() : void 0, U = e.query.compareEndDate ? u(e.query.compareEndDate).endOf("day").toISOString() : void 0, Z = e.query.isAllLocation === "true" || e.query.isAllLocation === void 0;
146
+ const t = e.query.startDate ? u(e.query.startDate).startOf("day").toISOString() : void 0, n = e.query.endDate ? u(e.query.endDate).endOf("day").toISOString() : void 0, a = typeof e.query.timeStart == "string", s = typeof e.query.timeEnd == "string", p = C(e.query.timeStart), I = C(e.query.timeEnd), E = Y(p) ? p : null, k = Y(I) ? I : null, J = e.query.compareStartDate ? u(e.query.compareStartDate).startOf("day").toISOString() : void 0, U = e.query.compareEndDate ? u(e.query.compareEndDate).endOf("day").toISOString() : void 0, Z = e.query.isAllLocation === "true" || e.query.isAllLocation === void 0;
150
147
  let g = [];
151
148
  if (Z)
152
149
  g = r.selectedLocationIds;
153
150
  else {
154
- const o = E(e.query.locationIds);
151
+ const o = C(e.query.locationIds);
155
152
  g = Array.isArray(o) ? o : [];
156
153
  }
157
- let v = e.query.reportId || K;
158
- if (ve.value.find((o) => o.id === v) || (v = K), v && v !== h.currentReportId && h.updateCurrentReportId(v), t || n) {
154
+ let v = e.query.reportId || H;
155
+ if (ve.value.find((o) => o.id === v) || (v = H), v && v !== h.currentReportId && h.updateCurrentReportId(v), t || n) {
159
156
  const o = r.dateRange;
160
157
  (o.startDate !== t || o.endDate !== n) && r.setDateRange({ startDate: t, endDate: n });
161
158
  }
162
159
  if (a || s) {
163
160
  const o = r.timeRange;
164
- (o.start !== k || o.end !== A) && r.setTimeRange({ start: k, end: A });
161
+ (o.start !== E || o.end !== k) && r.setTimeRange({ start: E, end: k });
165
162
  }
166
163
  if (J || U) {
167
164
  const o = r.compareDateRange;
@@ -172,7 +169,7 @@ const Ke = ["src"], He = ["src"], ut = /* @__PURE__ */ se({
172
169
  }
173
170
  if (!Z && Array.isArray(g)) {
174
171
  const o = r.selectedLocationIds;
175
- o.length === g.length && o.every((_e, be) => _e === g[be]) || r.setSelectedLocationIds(g);
172
+ o.length === g.length && o.every((_e, Oe) => _e === g[Oe]) || r.setSelectedLocationIds(g);
176
173
  }
177
174
  return {
178
175
  // TODO: this returned value can used for getBusinessSetting
@@ -190,7 +187,7 @@ const Ke = ["src"], He = ["src"], ut = /* @__PURE__ */ se({
190
187
  return q(
191
188
  () => i.value,
192
189
  async (t) => {
193
- t !== "" && (C.value = !1, F(t), w.value || (r.setSelectedLocationIds([]), $.replace({
190
+ t !== "" && (w.value = !1, B(t), x.value || (r.setSelectedLocationIds([]), F.replace({
194
191
  name: e.name,
195
192
  params: e.params,
196
193
  query: {
@@ -198,36 +195,36 @@ const Ke = ["src"], He = ["src"], ut = /* @__PURE__ */ se({
198
195
  locationIds: void 0,
199
196
  isAllLocation: "true"
200
197
  }
201
- })), O.value !== void 0 && (O.value = !0), await fe(async () => {
198
+ })), b.value !== void 0 && (b.value = !0), await fe(async () => {
202
199
  await he({
203
- apiKey: "MaGoXrEWuEJNpWgKTqseee",
200
+ apiKey: "6GhcttsJ9Rj9cTevcdrpin",
204
201
  url: "https://flag.feedme.farm/api/v1/",
205
202
  enableAnalytics: !1,
206
203
  cacheFlags: !1
207
204
  });
208
- const n = await G();
209
- x.value = n.version, p.value = x.value, await Promise.all([
205
+ const n = await W();
206
+ $.value = n.version, m.value = $.value, await Promise.all([
210
207
  de(),
211
- G(),
208
+ W(),
212
209
  ye(),
213
210
  pe(),
214
211
  Se(),
215
212
  De(),
216
- b(
213
+ O(
217
214
  (() => {
218
- const a = E(e.query.locationIds);
215
+ const a = C(e.query.locationIds);
219
216
  return Array.isArray(a) ? a : void 0;
220
217
  })()
221
218
  ),
222
219
  le()
223
220
  ]), await T(), Le(), ce(t);
224
- }), C.value = !0, w.value && (w.value = !1));
221
+ }), w.value = !0, x.value && (x.value = !1));
225
222
  },
226
223
  {
227
224
  immediate: !0
228
225
  }
229
226
  ), q(
230
- () => (C.value, {
227
+ () => (w.value, {
231
228
  reportId: ge.value,
232
229
  selectedLocationIds: r.selectedLocationIds,
233
230
  dateRange: r.dateRange,
@@ -235,43 +232,43 @@ const Ke = ["src"], He = ["src"], ut = /* @__PURE__ */ se({
235
232
  compareDateRange: r.compareDateRange
236
233
  }),
237
234
  (t) => {
238
- if (!C.value || !t.reportId) return;
239
- if (O.value) {
240
- O.value = !1;
235
+ if (!w.value || !t.reportId) return;
236
+ if (b.value) {
237
+ b.value = !1;
241
238
  return;
242
239
  }
243
- const n = t.selectedLocationIds, a = t.dateRange, s = t.timeRange, c = t.compareDateRange, I = {
240
+ const n = t.selectedLocationIds, a = t.dateRange, s = t.timeRange, p = t.compareDateRange, I = {
244
241
  ...e.query,
245
242
  reportId: t.reportId,
246
243
  startDate: a.startDate ? u(a.startDate).startOf("day").toISOString() : void 0,
247
244
  endDate: a.endDate ? u(a.endDate).endOf("day").toISOString() : void 0,
248
- compareStartDate: c.startDate ? u(c.startDate).startOf("day").toISOString() : void 0,
249
- compareEndDate: c.endDate ? u(c.endDate).endOf("day").toISOString() : void 0,
245
+ compareStartDate: p.startDate ? u(p.startDate).startOf("day").toISOString() : void 0,
246
+ compareEndDate: p.endDate ? u(p.endDate).endOf("day").toISOString() : void 0,
250
247
  timeStart: s.start ? JSON.stringify(s.start) : void 0,
251
248
  timeEnd: s.end ? JSON.stringify(s.end) : void 0,
252
249
  locationIds: n.length === r.locations.length ? void 0 : n.length > 0 ? JSON.stringify(n) : void 0,
253
250
  isAllLocation: String(n.length === r.locations.length)
254
- }, k = JSON.stringify(e.query), A = JSON.stringify(I);
255
- k !== A && $.replace({
251
+ }, E = JSON.stringify(e.query), k = JSON.stringify(I);
252
+ E !== k && F.replace({
256
253
  name: e.name,
257
254
  params: e.params,
258
255
  query: I
259
256
  });
260
257
  },
261
258
  { deep: !0 }
262
- ), Ge(), (t, n) => {
259
+ ), We(), (t, n) => {
263
260
  const a = V("router-view");
264
- return R(), Q(ke, null, [
265
- W(Pe),
266
- d(p) === "v3" ? (R(), Q("iframe", {
261
+ return R(), z(ke, null, [
262
+ P(Ge),
263
+ c(m) === "v3" ? (R(), z("iframe", {
267
264
  key: 0,
268
265
  class: "bg-white h-full w-full",
269
266
  src: Ie.value
270
- }, null, 8, Ke)) : d(p) === "v4" ? (R(), Q("iframe", {
267
+ }, null, 8, He)) : c(m) === "v4" ? (R(), z("iframe", {
271
268
  key: 1,
272
269
  class: "bg-white h-full w-full",
273
270
  src: Re.value
274
- }, null, 8, He)) : (R(), ie(a, { key: 2 }))
271
+ }, null, 8, Ke)) : (R(), ie(a, { key: 2 }))
275
272
  ], 64);
276
273
  };
277
274
  }
@@ -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-Cj0-KhdJ.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-D1OtrcYP.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-TORWi_vq.js";
5
+ import { d as S0 } from "./app-BYl2I8AR.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-CJppbEh0.js";
8
+ import { c as Be, a as Je } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DiE4b9iV.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-Cj0-KhdJ.js";
3
- import { d as r } from "./app-TORWi_vq.js";
2
+ import { u as W, b as q, O as G, C as H } from "./vue-i18n-D1OtrcYP.js";
3
+ import { d as r } from "./app-BYl2I8AR.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-BqEdoznW.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CHdohOm4.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-Cj0-KhdJ.js";
5
+ import { u as q, e as w } from "./vue-i18n-D1OtrcYP.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 _, defineComponent as Te, mergeModels as We, useModel as Ve, ref as k, onMounted as Ie, nextTick as Se, watch as me, resolveComponent as U, createElementBlock as se, openBlock as P, Fragment as xe, renderSlot as Ne, createVNode as G, normalizeStyle as De, unref as d, createElementVNode as J, toDisplayString as $e, withCtx as de, createBlock as fe, createCommentVNode as ke, normalizeClass as Ze, h as it, renderList as ut, toRaw as Cl, markRaw as kl, createTextVNode as wt, onUnmounted as Xt, resolveDynamicComponent as Tl, withDirectives as _l, vShow as Fl, withModifiers as vt } from "vue";
2
- import { W as N, e as at, f as Ll, S as qe, v as tt, g as Rl, h as gt, i as Gt, q as jt, R as Ke, j as $l, D as Re, c as ye, C as Ce, a as zl, b as El, _ as Dl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-Bp-gX4fR.js";
3
- import { u as nt, b as lt, a as Rt, h as Vl } from "./vue-i18n-Cj0-KhdJ.js";
4
- import { d as xt, _ as Al, a as Ml, b as Wl, c as Il } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CJppbEh0.js";
2
+ import { W as N, e as at, f as Ll, S as qe, v as tt, g as Rl, h as gt, i as Gt, q as jt, R as Ke, j as $l, D as Re, c as ye, C as Ce, a as zl, b as El, _ as Dl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BVJrslaQ.js";
3
+ import { u as nt, b as lt, a as Rt, h as Vl } from "./vue-i18n-D1OtrcYP.js";
4
+ import { d as xt, _ as Al, a as Ml, b as Wl, c as Il } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DiE4b9iV.js";
5
5
  import { storeToRefs as ze, defineStore as Kt } from "pinia";
6
6
  import { useBreakpoints as Jt, useSnackbar as $t, components as Nl } from "@feedmepos/ui-library";
7
- import { _ as Pl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-B37BYpOo.js";
7
+ import { _ as Pl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-D4aioNBW.js";
8
8
  import { r as Ye } from "./i18n-7InkCBCc.js";
9
- import { _ as St } from "./NoData.vue_vue_type_script_setup_true_lang-oflf_9LD.js";
10
- import { d as Je } from "./app-TORWi_vq.js";
9
+ import { _ as St } from "./NoData.vue_vue_type_script_setup_true_lang-D7U7yqVJ.js";
10
+ import { d as Je } from "./app-BYl2I8AR.js";
11
11
  var Ct = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(Ct || {}), Oe = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(Oe || {}), kt = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(kt || {}), Tt = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(Tt || {}), _t = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(_t || {}), Ft = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(Ft || {}), Lt = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(Lt || {});
12
12
  N.Circular, N.Table, N.BarChart, N.LineChart, N.StackBarChart, N.StackLineChart, N.Scorecard, N.Spacer;
13
13
  const Bl = [
@@ -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-B4nkCkPn.js";
6
- import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CJppbEh0.js";
7
- import { a as Kn, q as qn, F as Gn, u as Zn, g as ys, b as oa } from "./vue-i18n-Cj0-KhdJ.js";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-C2BivEtZ.js";
6
+ import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DiE4b9iV.js";
7
+ import { a as Kn, q as qn, F as Gn, u as Zn, g as ys, b as oa } from "./vue-i18n-D1OtrcYP.js";
8
8
  import { storeToRefs as Jn } from "pinia";
9
- import { d as Bi } from "./app-TORWi_vq.js";
9
+ import { d as Bi } from "./app-BYl2I8AR.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-oflf_9LD.js";
12
- import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BqEdoznW.js";
11
+ import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-D7U7yqVJ.js";
12
+ import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CHdohOm4.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-Cj0-KhdJ.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-D1OtrcYP.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-TORWi_vq.js";
6
+ import { d as Ae } from "./app-BYl2I8AR.js";
7
7
  import { storeToRefs as Ee } from "pinia";
8
- import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CJppbEh0.js";
8
+ import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DiE4b9iV.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"