@feedmepos/mf-report 5.21.28 → 5.21.29-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/{App-DY46Ms3a.js → App-BNIX8aP3.js} +53 -45
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-QzLGWBvd.js → BaseDialog.vue_vue_type_script_setup_true_lang-BHDUNZTW.js} +2 -2
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CS10GX8d.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js} +1 -1
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-oPfgV8Ba.js → Default.vue_vue_type_script_setup_true_lang-BngCq1oN.js} +2 -2
  5. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-B2jdNYHG.js → FilterSelector.vue_vue_type_script_setup_true_lang-couq_dUJ.js} +5 -5
  6. package/dist/{InsightView-B3zeWLpB.js → InsightView-ICPiE8SX.js} +5 -5
  7. package/dist/{Integration-DAfyew-m.js → Integration-DTtpwsgt.js} +2 -2
  8. package/dist/{Integrations-SXV9M3b-.js → Integrations-BQT5pOBg.js} +3 -3
  9. package/dist/{Layout-BfhdHhdb.js → Layout-DUxsrloe.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-CwzcLrSB.js → MenuTab.vue_vue_type_script_setup_true_lang-BbLrho8e.js} +5 -5
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-M3kgeSAQ.js → NavigationTab.vue_vue_type_script_setup_true_lang-CW6iYOsZ.js} +4 -4
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-DDKbpI_N.js → NoData.vue_vue_type_script_setup_true_lang-9qsPvAZJ.js} +1 -1
  13. package/dist/{OverviewView-Ds4s9oxp.js → OverviewView-Cfndl9st.js} +5 -5
  14. package/dist/{Report-i-ZrteAi.js → Report-Csp-bDoC.js} +4 -4
  15. package/dist/{ReportEditor-BFF57S9g.js → ReportEditor-pxReQ1bH.js} +6 -6
  16. package/dist/{ReportView-C_noR8lh.js → ReportView-C-fIIMa3.js} +8 -8
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-BhWCLEfp.js → SelectComponent.vue_vue_type_script_setup_true_lang-BzzBdgnw.js} +1 -1
  18. package/dist/{Setting-8zch0HnP.js → Setting-BKQ0B3Hk.js} +4 -4
  19. package/dist/{TileEditor-BeianCEO.js → TileEditor-CQTvQwgo.js} +7 -7
  20. package/dist/{TransitionFade-B1etHHO2.js → TransitionFade-Bb4GLqqB.js} +5 -5
  21. package/dist/app.js +11 -11
  22. package/dist/{vue-i18n-D1iec8Wy.js → vue-i18n-BdbYuMnB.js} +1 -1
  23. package/package.json +1 -1
@@ -1,31 +1,31 @@
1
- import { defineComponent as ee, resolveComponent as U, createBlock as te, openBlock as q, unref as u, isRef as Ie, withCtx as J, createElementVNode as W, createVNode as z, toDisplayString as H, createTextVNode as he, onMounted as ae, watch as S, ref as C, computed as K, onBeforeMount as Re, onBeforeUnmount as qe, createElementBlock as A, Fragment as Le } from "vue";
2
- import { detectLocale as E, useCoreStore as T } from "@feedmepos/mf-common";
3
- import { u as Oe, d as i, a as _e, b as X, c as be, e as we, f as ke, s as Ce, g as Ee } from "./vue-i18n-D1iec8Wy.js";
1
+ import { defineComponent as ee, resolveComponent as U, createBlock as te, openBlock as q, unref as u, isRef as Ie, withCtx as A, createElementVNode as K, createVNode as z, toDisplayString as P, createTextVNode as he, onMounted as ae, watch as S, ref as C, computed as H, onBeforeMount as Re, onBeforeUnmount as qe, createElementBlock as J, Fragment as Le } from "vue";
2
+ import { detectLocale as N, useCoreStore as T } from "@feedmepos/mf-common";
3
+ import { u as Oe, d as i, a as _e, b as X, c as be, e as we, f as Ee, s as ke, g as Ce } from "./vue-i18n-BdbYuMnB.js";
4
4
  import { storeToRefs as L } from "pinia";
5
- import { u as Y, a as Ne, b as Be } from "./BaseDialog.vue_vue_type_script_setup_true_lang-QzLGWBvd.js";
6
- import { u as Fe, _ as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-M3kgeSAQ.js";
5
+ import { u as Y, a as Ne, b as Be } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BHDUNZTW.js";
6
+ import { u as Fe, _ as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CW6iYOsZ.js";
7
7
  import { u as Z } from "./message-dialog-UoMWOnil.js";
8
- import { useRoute as xe, useRouter as Je } from "vue-router";
9
- const Ae = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Te = /* @__PURE__ */ ee({
8
+ import { useRoute as xe, useRouter as Ae } from "vue-router";
9
+ const Je = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Te = /* @__PURE__ */ ee({
10
10
  __name: "Dialog",
11
11
  setup(O) {
12
12
  const { t: r } = Oe(), f = Z(), { isOpened: l, message: D, title: I } = L(Z());
13
13
  return (h, g) => {
14
- const _ = U("FmButton"), N = U("FmDialog");
15
- return q(), te(N, {
14
+ const _ = U("FmButton"), B = U("FmDialog");
15
+ return q(), te(B, {
16
16
  modelValue: u(l),
17
- "onUpdate:modelValue": g[0] || (g[0] = (B) => Ie(l) ? l.value = B : null),
17
+ "onUpdate:modelValue": g[0] || (g[0] = (F) => Ie(l) ? l.value = F : null),
18
18
  overlay: "",
19
19
  "close-button": !1
20
20
  }, {
21
- "dialog-header": J(() => [
22
- he(H(u(I)), 1)
21
+ "dialog-header": A(() => [
22
+ he(P(u(I)), 1)
23
23
  ]),
24
- default: J(() => [
25
- W("p", Ae, H(u(D)), 1)
24
+ default: A(() => [
25
+ K("p", Je, P(u(D)), 1)
26
26
  ]),
27
- "dialog-footer": J(() => [
28
- g[1] || (g[1] = W("div", { class: "grow" }, null, -1)),
27
+ "dialog-footer": A(() => [
28
+ g[1] || (g[1] = K("div", { class: "grow" }, null, -1)),
29
29
  z(_, {
30
30
  label: u(r)("report.common.cancel"),
31
31
  variant: "tertiary",
@@ -40,7 +40,7 @@ const Ae = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Te
40
40
  }, 8, ["modelValue"]);
41
41
  };
42
42
  }
43
- }), M = C(E());
43
+ }), M = C(N());
44
44
  function Ue() {
45
45
  const O = (r) => {
46
46
  switch (M.value = r, r) {
@@ -53,22 +53,22 @@ function Ue() {
53
53
  }
54
54
  };
55
55
  return ae(() => {
56
- O(E());
57
- }), S(() => E(), O, { deep: !0, immediate: !0 }), {
56
+ O(N());
57
+ }), S(() => N(), O, { deep: !0, immediate: !0 }), {
58
58
  currentLocale: M
59
59
  };
60
60
  }
61
- i.locale(E() === "zh-CN" ? "zh-cn" : "en");
61
+ i.locale(N() === "zh-CN" ? "zh-cn" : "en");
62
62
  const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
63
63
  __name: "App",
64
64
  setup(O) {
65
- const { businessId: r, token: f, country: l } = L(_e()), { sessionUser: D, currentBusiness: I, currentCountry: h, registerSidebarComponent: g } = T(), { getRestaurantAndWarehouse: _, getBusinessSetting: N, beginBusinessLoad: B, completeBusinessLoad: ne } = X(), { getFeatureFlags: re } = be(), { version: p } = L(Y()), { getSettings: oe } = we(), { promptLoader: se } = ke(), e = xe(), F = Je(), R = Ne(), Q = Fe(), n = X(), ie = Y(), { suppressReportRouteSync: b } = L(ie), ue = K(() => `https://portal-v1.feedme.cc/b/${r.value}/report/CLOSE_UP?showHeader=false&country=${l.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), le = K(() => `https://report-v4.feedme.cc?businessId=${r.value}&country=${l.value}&token=${f.value}&reportV3Button=true`);
65
+ const { businessId: r, token: f, country: l } = L(_e()), { sessionUser: D, currentBusiness: I, currentCountry: h, registerSidebarComponent: g } = T(), { getRestaurantAndWarehouse: _, getBusinessSetting: B, beginBusinessLoad: F, completeBusinessLoad: ne } = X(), { getFeatureFlags: re } = be(), { version: p } = L(Y()), { getSettings: oe } = we(), { promptLoader: se } = Ee(), e = xe(), b = Ae(), R = Ne(), Q = Fe(), n = X(), ie = Y(), { suppressReportRouteSync: w } = L(ie), ue = H(() => `https://portal-v1.feedmedev.cc/b/${r.value}/report/CLOSE_UP?showHeader=false&country=${l.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), le = H(() => `https://report-v4.feedmedev.cc?businessId=${r.value}&country=${l.value}&token=${f.value}&reportV3Button=true`);
66
66
  S(
67
67
  [() => I.value, () => D.value, () => h.value],
68
68
  () => {
69
69
  var t, o;
70
70
  const a = ((t = I.value) == null ? void 0 : t.id) ?? "";
71
- I.value && D.value && h.value && (Ce(l.value), r.value !== a && (r.value = a), f.value = ((o = D.value) == null ? void 0 : o.token) ?? "", l.value = h.value ?? "", e.query.businessId !== r.value && F.replace({
71
+ I.value && D.value && h.value && (ke(l.value), r.value !== a && (r.value = a), f.value = ((o = D.value) == null ? void 0 : o.token) ?? "", l.value = h.value ?? "", e.query.businessId !== r.value && b.replace({
72
72
  name: e.name,
73
73
  params: e.params,
74
74
  query: { ...e.query, businessId: r.value }
@@ -76,7 +76,7 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
76
76
  },
77
77
  { immediate: !0 }
78
78
  );
79
- function j(a) {
79
+ function V(a) {
80
80
  if (typeof a.data == "string")
81
81
  try {
82
82
  const t = JSON.parse(a.data);
@@ -85,7 +85,7 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
85
85
  console.error(t);
86
86
  }
87
87
  }
88
- function V(a) {
88
+ function W(a) {
89
89
  if (typeof a.data == "string")
90
90
  try {
91
91
  const t = JSON.parse(a.data);
@@ -99,17 +99,17 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
99
99
  }), Re(() => {
100
100
  g($e);
101
101
  }), ae(() => {
102
- console.log("5.21.28", !0), window.addEventListener("message", j), window.addEventListener("message", V);
102
+ console.log("5.21.29-beta.0", !0), window.addEventListener("message", V), window.addEventListener("message", W);
103
103
  }), qe(() => {
104
- window.removeEventListener("message", j), window.removeEventListener("message", V), R.$dispose(), Q.$dispose();
104
+ window.removeEventListener("message", V), window.removeEventListener("message", W), R.$dispose(), Q.$dispose();
105
105
  });
106
- const { getReports: ce, getOverviewReport: de, getReportConfig: G, currentReportId: P } = R, { currentReportId: me, reports: fe } = L(R), { getSchema: pe } = Be(), { fetchSchedules: ge } = Q, { init: ve } = Ee(), $ = C("v5"), w = C(!1), x = C(!0);
106
+ const { getReports: ce, getOverviewReport: de, getReportConfig: j, currentReportId: G } = R, { currentReportId: me, reports: fe } = L(R), { getSchema: pe } = Be(), { fetchSchedules: ge } = Q, { init: ve } = Ce(), $ = C("v5"), E = C(!1), x = C(!0);
107
107
  function ye() {
108
108
  const a = e.query.startDate ? i(e.query.startDate).startOf("day").toISOString() : void 0, t = e.query.endDate ? i(e.query.endDate).endOf("day").toISOString() : void 0, o = e.query.timeStart ? JSON.parse(e.query.timeStart) : void 0, c = e.query.timeEnd ? JSON.parse(e.query.timeEnd) : void 0, d = e.query.compareStartDate ? i(e.query.compareStartDate).startOf("day").toISOString() : void 0, v = e.query.compareEndDate ? i(e.query.compareEndDate).endOf("day").toISOString() : void 0, k = e.query.isAllLocation === "true";
109
109
  let m = [];
110
110
  k ? m = n.selectedLocationIds : m = e.query.locationIds ? JSON.parse(e.query.locationIds) : void 0;
111
- let y = e.query.reportId || P;
112
- if (fe.value.find((s) => s.id === y) || (y = P), y && y !== R.currentReportId && R.updateCurrentReportId(y), a || t) {
111
+ let y = e.query.reportId || G;
112
+ if (fe.value.find((s) => s.id === y) || (y = G), y && y !== R.currentReportId && R.updateCurrentReportId(y), a || t) {
113
113
  const s = n.dateRange;
114
114
  (s.startDate !== a || s.endDate !== t) && n.setDateRange({ startDate: a, endDate: t });
115
115
  }
@@ -144,12 +144,20 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
144
144
  return S(
145
145
  () => h.value,
146
146
  (a, t) => {
147
- !a || a === t || n.setSelectedLocationIds([]);
147
+ !a || a === t || (n.setSelectedLocationIds([]), b.replace({
148
+ name: e.name,
149
+ params: e.params,
150
+ query: {
151
+ ...e.query,
152
+ locationIds: void 0,
153
+ isAllLocation: "true"
154
+ }
155
+ }));
148
156
  }
149
157
  ), S(
150
158
  () => r.value,
151
159
  async (a) => {
152
- a !== "" && (w.value = !1, B(a), x.value || (n.setSelectedLocationIds([]), F.replace({
160
+ a !== "" && (E.value = !1, F(a), x.value || (n.setSelectedLocationIds([]), b.replace({
153
161
  name: e.name,
154
162
  params: e.params,
155
163
  query: {
@@ -157,17 +165,17 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
157
165
  locationIds: void 0,
158
166
  isAllLocation: "true"
159
167
  }
160
- })), b.value !== void 0 && (b.value = !0), await se(async () => {
168
+ })), w.value !== void 0 && (w.value = !0), await se(async () => {
161
169
  await ve({
162
- apiKey: "6GhcttsJ9Rj9cTevcdrpin",
170
+ apiKey: "MaGoXrEWuEJNpWgKTqseee",
163
171
  url: "https://flag.feedme.farm/api/v1/",
164
172
  enableAnalytics: !1,
165
173
  cacheFlags: !1
166
174
  });
167
- const t = await G();
175
+ const t = await j();
168
176
  $.value = t.version, p.value = $.value, await Promise.all([
169
177
  re(),
170
- G(),
178
+ j(),
171
179
  de(),
172
180
  ce(),
173
181
  pe(),
@@ -176,14 +184,14 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
176
184
  e.query.locationIds ? JSON.parse(e.query.locationIds) : null
177
185
  ),
178
186
  oe()
179
- ]), await N(), ye(), ne(a);
180
- }), w.value = !0, x.value && (x.value = !1));
187
+ ]), await B(), ye(), ne(a);
188
+ }), E.value = !0, x.value && (x.value = !1));
181
189
  },
182
190
  {
183
191
  immediate: !0
184
192
  }
185
193
  ), S(
186
- () => (w.value, {
194
+ () => (E.value, {
187
195
  reportId: me.value,
188
196
  selectedLocationIds: n.selectedLocationIds,
189
197
  dateRange: n.dateRange,
@@ -191,9 +199,9 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
191
199
  compareDateRange: n.compareDateRange
192
200
  }),
193
201
  (a) => {
194
- if (!w.value || !a.reportId) return;
195
- if (b.value) {
196
- b.value = !1;
202
+ if (!E.value || !a.reportId) return;
203
+ if (w.value) {
204
+ w.value = !1;
197
205
  return;
198
206
  }
199
207
  const t = a.selectedLocationIds, o = a.dateRange, c = a.timeRange, d = a.compareDateRange, v = {
@@ -208,7 +216,7 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
208
216
  locationIds: t.length === n.locations.length ? null : t.length > 0 ? JSON.stringify(t) : void 0,
209
217
  isAllLocation: String(t.length === n.locations.length)
210
218
  }, k = JSON.stringify(e.query), m = JSON.stringify(v);
211
- k !== m && F.replace({
219
+ k !== m && b.replace({
212
220
  name: e.name,
213
221
  params: e.params,
214
222
  query: v
@@ -217,13 +225,13 @@ const ze = ["src"], Qe = ["src"], et = /* @__PURE__ */ ee({
217
225
  { deep: !0 }
218
226
  ), Ue(), (a, t) => {
219
227
  const o = U("router-view");
220
- return q(), A(Le, null, [
228
+ return q(), J(Le, null, [
221
229
  z(Te),
222
- u(p) === "v3" ? (q(), A("iframe", {
230
+ u(p) === "v3" ? (q(), J("iframe", {
223
231
  key: 0,
224
232
  class: "bg-white h-full w-full",
225
233
  src: ue.value
226
- }, null, 8, ze)) : u(p) === "v4" ? (q(), A("iframe", {
234
+ }, null, 8, ze)) : u(p) === "v4" ? (q(), J("iframe", {
227
235
  key: 1,
228
236
  class: "bg-white h-full w-full",
229
237
  src: le.value
@@ -1,10 +1,10 @@
1
- import { a as m0, F as y0, w as g0, b as k0, c as Ce, v as be, e as Fe, d as h0, r as K0, m as Ie, u as Me } from "./vue-i18n-D1iec8Wy.js";
1
+ import { a as m0, F as y0, w as g0, b as k0, c as Ce, v as be, e as Fe, d as h0, r as K0, m as Ie, u as Me } from "./vue-i18n-BdbYuMnB.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 Re, defineComponent as _e, mergeModels as N0, useModel as z0, resolveComponent as A0, createElementBlock as V0, openBlock as P0, createVNode as S0, withCtx as b0, createElementVNode as E0, createCommentVNode as xe, Fragment as re, renderList as Le, createBlock as De, createTextVNode as de, withDirectives as Oe, toDisplayString as T0, unref as $0, vShow as we, renderSlot as ve } from "vue";
4
4
  import { useSnackbar as ce, components as Pe } from "@feedmepos/ui-library";
5
5
  import { useRouter as Be } from "vue-router";
6
6
  import { detectLocale as F0 } from "@feedmepos/mf-common";
7
- import { c as Je, a as He } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CS10GX8d.js";
7
+ import { c as Je, a as He } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js";
8
8
  function pe(T) {
9
9
  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.');
10
10
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, resolveComponent as S, createBlock as y, openBlock as D, withCtx as I, createCommentVNode as M, createElementVNode as R, toDisplayString as A, renderSlot as U, mergeModels as C, useModel as b, ref as k, watch as O, createElementBlock as B, unref as f, createVNode as z } from "vue";
2
- import { d as r, m as W, t as q, u as G, b as H, U as K, C as L } from "./vue-i18n-D1iec8Wy.js";
2
+ import { d as r, m as W, t as q, u as G, b as H, U as K, C as L } from "./vue-i18n-BdbYuMnB.js";
3
3
  import { detectLocale as F } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as J } from "pinia";
5
5
  var v = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(v || {});
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as u, computed as f, resolveComponent as p, 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-M3kgeSAQ.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CW6iYOsZ.js";
3
3
  import { useBreakpoints as b } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as C } from "pinia";
5
- import { u as q, f as w } from "./vue-i18n-D1iec8Wy.js";
5
+ import { u as q, f as w } from "./vue-i18n-BdbYuMnB.js";
6
6
  import { useRoute as B } from "vue-router";
7
7
  const $ = {
8
8
  key: 1,
@@ -1,12 +1,12 @@
1
1
  import { computed as T, defineComponent as Te, mergeModels as We, useModel as ze, ref as v, onMounted as Ie, nextTick as Se, watch as me, resolveComponent as B, createElementBlock as ne, openBlock as M, Fragment as xe, renderSlot as Ne, createVNode as q, normalizeStyle as Ee, unref as s, createElementVNode as X, toDisplayString as De, withCtx as ie, createBlock as de, createCommentVNode as ke, normalizeClass as Ze, 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 Vl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-QzLGWBvd.js";
3
- import { u as at, b as tt, a as Ft, d as Je, i as $l } from "./vue-i18n-D1iec8Wy.js";
4
- import { d as bt, _ as El, a as zl, b as Al, c as Ml } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CS10GX8d.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 Vl } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BHDUNZTW.js";
3
+ import { u as at, b as tt, a as Ft, d as Je, i as $l } from "./vue-i18n-BdbYuMnB.js";
4
+ import { d as bt, _ as El, a as zl, b as Al, c as Ml } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js";
5
5
  import { storeToRefs as Ve, defineStore as Xt } from "pinia";
6
6
  import { useBreakpoints as jt, useSnackbar as Lt, components as Wl } from "@feedmepos/ui-library";
7
- import { _ as Il } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BhWCLEfp.js";
7
+ import { _ as Il } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BzzBdgnw.js";
8
8
  import { r as Ue } from "./i18n-7InkCBCc.js";
9
- import { _ as wt } from "./NoData.vue_vue_type_script_setup_true_lang-DDKbpI_N.js";
9
+ import { _ as wt } from "./NoData.vue_vue_type_script_setup_true_lang-9qsPvAZJ.js";
10
10
  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 || {});
11
11
  A.Circular, A.Table, A.BarChart, A.LineChart, A.StackBarChart, A.StackLineChart, A.Scorecard, A.Spacer;
12
12
  const Nl = [
@@ -2,13 +2,13 @@ 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-oPfgV8Ba.js";
6
- import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CS10GX8d.js";
7
- import { d as Bi, a as Kn, q as qn, F as Gn, u as Zn, h as ys, b as oa } from "./vue-i18n-D1iec8Wy.js";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-BngCq1oN.js";
6
+ import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js";
7
+ import { d as Bi, a as Kn, q as qn, F as Gn, u as Zn, h as ys, b as oa } from "./vue-i18n-BdbYuMnB.js";
8
8
  import { storeToRefs as Jn } from "pinia";
9
9
  import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
10
- import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-DDKbpI_N.js";
11
- import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-M3kgeSAQ.js";
10
+ import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-9qsPvAZJ.js";
11
+ import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CW6iYOsZ.js";
12
12
  import { useCoreStore as ha } from "@feedmepos/mf-common";
13
13
  function da({ start: i, end: t }) {
14
14
  return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as J, mergeModels as Ae, useModel as te, computed as q, resolveComponent as A, 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 Qe, onMounted as Ge } from "vue";
2
2
  import { useRouter as be, useRoute as at } from "vue-router";
3
- import { u as oe, I as he, d as Se, z as lt, A as nt, e as Ve, f as Pe, b as we, B as ve, E as st, o as rt, y as Me, G as je, H as Ke, J as Le, K as ze, L as it, M as dt, N as mt, O as qe, c as Ze, P as pt, Q as ut, R as ct, S as ft, T as gt } from "./vue-i18n-D1iec8Wy.js";
3
+ import { u as oe, I as he, d as Se, z as lt, A as nt, e as Ve, f as Pe, b as we, B as ve, E as st, o as rt, y as Me, G as je, H as Ke, J as Le, K as ze, L as it, M as dt, N as mt, O as qe, c as Ze, P as pt, Q as ut, R as ct, S as ft, T as gt } from "./vue-i18n-BdbYuMnB.js";
4
4
  import { u as Oe } from "./message-dialog-UoMWOnil.js";
5
5
  import { useSnackbar as _e } from "@feedmepos/ui-library";
6
6
  import { storeToRefs as Ee } from "pinia";
7
- import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CS10GX8d.js";
7
+ import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DNyvFLmW.js";
8
8
  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 = {
9
9
  key: 0,
10
10
  class: "w-[24px] flex items-center"