@feedmepos/mf-report 5.19.4-beta.1 → 5.19.4

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-B5g9zkxP.js → App-sGxrbGWL.js} +60 -60
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-D5v1t5hA.js → BaseDialog.vue_vue_type_script_setup_true_lang-DZVH0vqi.js} +1 -1
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BIJY-H71.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-C43e_hFM.js} +2 -2
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-Bjk5J5gP.js → Default.vue_vue_type_script_setup_true_lang-hB4oXg7M.js} +2 -2
  5. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-Dvw_KdK9.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CF1Z4F1W.js} +5 -5
  6. package/dist/{InsightView-CPB3ridJ.js → InsightView-DUzUTmom.js} +5 -5
  7. package/dist/{Integration-BVtu2DEZ.js → Integration-CS29IVGj.js} +2 -2
  8. package/dist/{Integrations-DdLeTbMY.js → Integrations-Bp-uN1ji.js} +3 -3
  9. package/dist/{Layout-D1Lxpo9B.js → Layout-DTak81A5.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DkGnmF-n.js → MenuTab.vue_vue_type_script_setup_true_lang-DHuKvzP0.js} +6 -6
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DkkLsThy.js → NavigationTab.vue_vue_type_script_setup_true_lang-DqDG0v_J.js} +5 -5
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-Br4LWWWR.js → NoData.vue_vue_type_script_setup_true_lang-VbRFrJst.js} +1 -1
  13. package/dist/{OverviewView--rCjYr8a.js → OverviewView-BG5v3zqw.js} +5 -5
  14. package/dist/{Report-CYrlW-NE.js → Report-Cgv3GRk0.js} +4 -4
  15. package/dist/{ReportEditor-BHPOn-ma.js → ReportEditor-XWOu0deg.js} +6 -6
  16. package/dist/{ReportView-C_LfKY0g.js → ReportView-C8t9O9ZC.js} +7 -7
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-DdCDaooD.js → SelectComponent.vue_vue_type_script_setup_true_lang-kc9Y_OCH.js} +1 -1
  18. package/dist/{Setting-D0Srjotu.js → Setting-BJzn1mxK.js} +4 -4
  19. package/dist/{TileEditor-DZCPk04X.js → TileEditor-BQm7hSGJ.js} +7 -7
  20. package/dist/{TransitionFade-foonNaVe.js → TransitionFade-UK25XLJf.js} +5 -5
  21. package/dist/app.js +11 -11
  22. package/dist/{helper-C45zDckU.js → helper-DxCjm6Nb.js} +1 -1
  23. package/dist/{vue-i18n-BCxK77UI.js → vue-i18n-C-Au91UY.js} +1 -1
  24. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { defineComponent as M, resolveComponent as x, createBlock as ee, openBlock as h, unref as u, isRef as ye, withCtx as F, createElementVNode as G, createVNode as J, toDisplayString as K, createTextVNode as Se, onMounted as te, watch as R, ref as A, computed as P, onBeforeMount as De, onBeforeUnmount as Ie, createElementBlock as $, Fragment as he } from "vue";
1
+ import { defineComponent as M, resolveComponent as x, createBlock as ee, openBlock as h, unref as u, isRef as ve, withCtx as F, createElementVNode as P, createVNode as J, toDisplayString as H, createTextVNode as Se, onMounted as te, watch as R, ref as A, computed as K, onBeforeMount as De, onBeforeUnmount as Ie, createElementBlock as $, Fragment as he } from "vue";
2
2
  import { detectLocale as C, useCoreStore as B } from "@feedmepos/mf-common";
3
- import { u as Re, d as i, a as qe, b as H, c as Oe, e as _e, f as we, s as Le, g as be } from "./vue-i18n-BCxK77UI.js";
3
+ import { u as Re, d as i, a as qe, b as W, c as Oe, e as _e, f as we, s as Le, g as be } from "./vue-i18n-C-Au91UY.js";
4
4
  import { storeToRefs as q } from "pinia";
5
- import { u as X, a as Ce, b as Ee } from "./BaseDialog.vue_vue_type_script_setup_true_lang-D5v1t5hA.js";
6
- import { _ as ke, u as Ne } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DkkLsThy.js";
5
+ import { u as X, a as Ce, b as ke } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DZVH0vqi.js";
6
+ import { _ as Ee, u as Ne } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DqDG0v_J.js";
7
7
  import { u as Y } from "./message-dialog-UoMWOnil.js";
8
8
  import { useRoute as Fe, useRouter as $e } from "vue-router";
9
9
  const Be = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, xe = /* @__PURE__ */ M({
@@ -11,21 +11,21 @@ const Be = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, xe
11
11
  setup(O) {
12
12
  const { t: r } = Re(), f = Y(), { isOpened: c, message: S, title: D } = q(Y());
13
13
  return (_, g) => {
14
- const w = x("FmButton"), E = x("FmDialog");
15
- return h(), ee(E, {
14
+ const w = x("FmButton"), k = x("FmDialog");
15
+ return h(), ee(k, {
16
16
  modelValue: u(c),
17
- "onUpdate:modelValue": g[0] || (g[0] = (k) => ye(c) ? c.value = k : null),
17
+ "onUpdate:modelValue": g[0] || (g[0] = (E) => ve(c) ? c.value = E : null),
18
18
  overlay: "",
19
19
  "close-button": !1
20
20
  }, {
21
21
  "dialog-header": F(() => [
22
- Se(K(u(D)), 1)
22
+ Se(H(u(D)), 1)
23
23
  ]),
24
24
  default: F(() => [
25
- G("p", Be, K(u(S)), 1)
25
+ P("p", Be, H(u(S)), 1)
26
26
  ]),
27
27
  "dialog-footer": F(() => [
28
- g[1] || (g[1] = G("div", { class: "grow" }, null, -1)),
28
+ g[1] || (g[1] = P("div", { class: "grow" }, null, -1)),
29
29
  J(w, {
30
30
  label: u(r)("report.common.cancel"),
31
31
  variant: "tertiary",
@@ -62,13 +62,13 @@ i.locale(C() === "zh-CN" ? "zh-cn" : "en");
62
62
  const Ae = ["src"], Te = ["src"], Ye = /* @__PURE__ */ M({
63
63
  __name: "App",
64
64
  setup(O) {
65
- const { businessId: r, token: f, country: c } = q(qe()), { sessionUser: S, currentBusiness: D, currentCountry: _, registerSidebarComponent: g } = B(), { getRestaurantAndWarehouse: w, getBusinessSetting: E } = H(), { getFeatureFlags: k } = Oe(), { version: p } = q(X()), { getSettings: ae } = _e(), { promptLoader: ne } = we(), e = Fe(), T = $e(), re = X(), { suppressReportRouteSync: U } = q(re), oe = P(() => `https://portal-v1.feedmedev.cc/b/${r.value}/report/CLOSE_UP?showHeader=false&country=${c.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), se = P(() => `https://report-v4.feedmedev.cc?businessId=${r.value}&country=${c.value}&token=${f.value}&reportV3Button=true`);
65
+ const { businessId: r, token: f, country: c } = q(qe()), { sessionUser: S, currentBusiness: D, currentCountry: _, registerSidebarComponent: g } = B(), { getRestaurantAndWarehouse: w, getBusinessSetting: k } = W(), { getFeatureFlags: E } = Oe(), { version: p } = q(X()), { getSettings: ne } = _e(), { promptLoader: ae } = we(), e = Fe(), T = $e(), re = X(), { suppressReportRouteSync: U } = q(re), oe = K(() => `https://portal-v1.feedme.cc/b/${r.value}/report/CLOSE_UP?showHeader=false&country=${c.value.toUpperCase()}&menuOption=business-report&token=${f.value}&v2=true&reportV5Button=true`), se = K(() => `https://report-v4.feedme.cc?businessId=${r.value}&country=${c.value}&token=${f.value}&reportV3Button=true`);
66
66
  R(
67
67
  [() => D.value, () => S.value, () => _.value],
68
68
  () => {
69
69
  var t, o;
70
- const a = ((t = D.value) == null ? void 0 : t.id) ?? "";
71
- D.value && S.value && _.value && (Le(c.value), r.value !== a && (r.value = a), f.value = ((o = S.value) == null ? void 0 : o.token) ?? "", c.value = _.value ?? "", e.query.businessId !== r.value && T.replace({
70
+ const n = ((t = D.value) == null ? void 0 : t.id) ?? "";
71
+ D.value && S.value && _.value && (Le(c.value), r.value !== n && (r.value = n), f.value = ((o = S.value) == null ? void 0 : o.token) ?? "", c.value = _.value ?? "", e.query.businessId !== r.value && T.replace({
72
72
  name: e.name,
73
73
  params: e.params,
74
74
  query: { ...e.query, businessId: r.value }
@@ -76,19 +76,19 @@ const Ae = ["src"], Te = ["src"], Ye = /* @__PURE__ */ M({
76
76
  },
77
77
  { immediate: !0 }
78
78
  );
79
- function z(a) {
80
- if (typeof a.data == "string")
79
+ function z(n) {
80
+ if (typeof n.data == "string")
81
81
  try {
82
- const t = JSON.parse(a.data);
82
+ const t = JSON.parse(n.data);
83
83
  (t == null ? void 0 : t.token) !== "" && (t == null ? void 0 : t.token) !== void 0 && (f.value = t.token);
84
84
  } catch (t) {
85
85
  console.error(t);
86
86
  }
87
87
  }
88
- function Q(a) {
89
- if (typeof a.data == "string")
88
+ function Q(n) {
89
+ if (typeof n.data == "string")
90
90
  try {
91
- const t = JSON.parse(a.data);
91
+ const t = JSON.parse(n.data);
92
92
  (t == null ? void 0 : t.v5) === !0 ? p.value = N.value : (t == null ? void 0 : t.v3) === !0 && (p.value = "v3");
93
93
  } catch (t) {
94
94
  console.error(t);
@@ -97,42 +97,42 @@ const Ae = ["src"], Te = ["src"], Ye = /* @__PURE__ */ M({
97
97
  R(p, () => {
98
98
  ["v3", "v4"].includes(p.value) ? B().hideSidebarToggle(!0) : B().hideSidebarToggle(!1);
99
99
  }), De(() => {
100
- g(ke);
100
+ g(Ee);
101
101
  }), te(() => {
102
- console.log("5.19.4-beta.1", !0), window.addEventListener("message", z), window.addEventListener("message", Q);
102
+ console.log("5.19.4", !0), window.addEventListener("message", z), window.addEventListener("message", Q);
103
103
  });
104
- const I = Ce(), V = Ne(), n = H();
104
+ const I = Ce(), j = Ne(), a = W();
105
105
  Ie(() => {
106
- window.removeEventListener("message", z), window.removeEventListener("message", Q), I.$dispose(), V.$dispose();
106
+ window.removeEventListener("message", z), window.removeEventListener("message", Q), I.$dispose(), j.$dispose();
107
107
  });
108
- const { getReports: ie, getOverviewReport: ue, getReportConfig: j, currentReportId: W } = I, { currentReportId: ce, reports: le } = q(I), { getSchema: de } = Ee(), { fetchSchedules: me } = V, { init: fe } = be(), N = A("v5"), L = A(!1);
108
+ const { getReports: ie, getOverviewReport: ue, getReportConfig: V, currentReportId: G } = I, { currentReportId: ce, reports: le } = q(I), { getSchema: de } = ke(), { fetchSchedules: me } = j, { init: fe } = be(), N = A("v5"), L = A(!1);
109
109
  function pe() {
110
- 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, l = 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, b = e.query.isAllLocation === "true";
110
+ const n = 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, l = e.query.timeEnd ? JSON.parse(e.query.timeEnd) : void 0, d = e.query.compareStartDate ? i(e.query.compareStartDate).startOf("day").toISOString() : void 0, y = e.query.compareEndDate ? i(e.query.compareEndDate).endOf("day").toISOString() : void 0, b = e.query.isAllLocation === "true";
111
111
  let m = [];
112
- b ? m = n.selectedLocationIds : m = e.query.locationIds ? JSON.parse(e.query.locationIds) : void 0;
113
- let y = e.query.reportId || W;
114
- if (le.value.find((s) => s.id === y) || (y = W), y && y !== I.currentReportId && I.updateCurrentReportId(y), a || t) {
115
- const s = n.dateRange;
116
- (s.startDate !== a || s.endDate !== t) && n.setDateRange({ startDate: a, endDate: t });
112
+ b ? m = a.selectedLocationIds : m = e.query.locationIds ? JSON.parse(e.query.locationIds) : void 0;
113
+ let v = e.query.reportId || G;
114
+ if (le.value.find((s) => s.id === v) || (v = G), v && v !== I.currentReportId && I.updateCurrentReportId(v), n || t) {
115
+ const s = a.dateRange;
116
+ (s.startDate !== n || s.endDate !== t) && a.setDateRange({ startDate: n, endDate: t });
117
117
  }
118
118
  if (o || l) {
119
- const s = n.timeRange;
120
- (s.start !== o || s.end !== l) && n.setTimeRange({ start: o, end: l });
119
+ const s = a.timeRange;
120
+ (s.start !== o || s.end !== l) && a.setTimeRange({ start: o, end: l });
121
121
  }
122
- if (d || v) {
123
- const s = n.compareDateRange;
124
- (s.startDate !== d || s.endDate !== v) && n.setCompareDateRange({
122
+ if (d || y) {
123
+ const s = a.compareDateRange;
124
+ (s.startDate !== d || s.endDate !== y) && a.setCompareDateRange({
125
125
  startDate: d,
126
- endDate: v
126
+ endDate: y
127
127
  });
128
128
  }
129
129
  if (!b && Array.isArray(m)) {
130
- const s = n.selectedLocationIds;
131
- s.length === m.length && s.every((ge, ve) => ge === m[ve]) || n.setSelectedLocationIds(m);
130
+ const s = a.selectedLocationIds;
131
+ s.length === m.length && s.every((ge, ye) => ge === m[ye]) || a.setSelectedLocationIds(m);
132
132
  }
133
133
  return {
134
134
  // TODO: this returned value can used for getBusinessSetting
135
- reportId: y,
135
+ reportId: v,
136
136
  startDate: e.query.startDate,
137
137
  endDate: e.query.endDate,
138
138
  timeStart: e.query.timeStart,
@@ -145,18 +145,18 @@ const Ae = ["src"], Te = ["src"], Ye = /* @__PURE__ */ M({
145
145
  }
146
146
  return R(
147
147
  () => r.value,
148
- async (a) => {
149
- a !== "" && (L.value = !1, await ne(async () => {
148
+ async (n) => {
149
+ n !== "" && (L.value = !1, await ae(async () => {
150
150
  await fe({
151
- apiKey: "MaGoXrEWuEJNpWgKTqseee",
151
+ apiKey: "6GhcttsJ9Rj9cTevcdrpin",
152
152
  url: "https://flag.feedme.farm/api/v1/",
153
153
  enableAnalytics: !1,
154
154
  cacheFlags: !1
155
155
  });
156
- const t = await j();
156
+ const t = await V();
157
157
  N.value = t.version, p.value = N.value, await Promise.all([
158
- k(),
159
- j(),
158
+ E(),
159
+ V(),
160
160
  ue(),
161
161
  ie(),
162
162
  de(),
@@ -164,8 +164,8 @@ const Ae = ["src"], Te = ["src"], Ye = /* @__PURE__ */ M({
164
164
  w(
165
165
  e.query.locationIds ? JSON.parse(e.query.locationIds) : null
166
166
  ),
167
- ae()
168
- ]), await E(), pe();
167
+ ne()
168
+ ]), await k(), pe();
169
169
  }), L.value = !0);
170
170
  },
171
171
  {
@@ -174,37 +174,37 @@ const Ae = ["src"], Te = ["src"], Ye = /* @__PURE__ */ M({
174
174
  ), R(
175
175
  () => (L.value, {
176
176
  reportId: ce.value,
177
- selectedLocationIds: n.selectedLocationIds,
178
- dateRange: n.dateRange,
179
- timeRange: n.timeRange,
180
- compareDateRange: n.compareDateRange
177
+ selectedLocationIds: a.selectedLocationIds,
178
+ dateRange: a.dateRange,
179
+ timeRange: a.timeRange,
180
+ compareDateRange: a.compareDateRange
181
181
  }),
182
- (a) => {
183
- if (!L.value || !a.reportId) return;
182
+ (n) => {
183
+ if (!L.value || !n.reportId) return;
184
184
  if (U.value) {
185
185
  U.value = !1;
186
186
  return;
187
187
  }
188
- const t = a.selectedLocationIds, o = a.dateRange, l = a.timeRange, d = a.compareDateRange, v = {
188
+ const t = n.selectedLocationIds, o = n.dateRange, l = n.timeRange, d = n.compareDateRange, y = {
189
189
  ...e.query,
190
- reportId: a.reportId,
190
+ reportId: n.reportId,
191
191
  startDate: o.startDate ? i(o.startDate).startOf("day").toISOString() : void 0,
192
192
  endDate: o.endDate ? i(o.endDate).endOf("day").toISOString() : void 0,
193
193
  compareStartDate: d.startDate ? i(d.startDate).startOf("day").toISOString() : void 0,
194
194
  compareEndDate: d.endDate ? i(d.endDate).endOf("day").toISOString() : void 0,
195
195
  timeStart: l.start ? JSON.stringify(l.start) : void 0,
196
196
  timeEnd: l.end ? JSON.stringify(l.end) : void 0,
197
- locationIds: t.length === n.locations.length ? null : t.length > 0 ? JSON.stringify(t) : void 0,
198
- isAllLocation: String(t.length === n.locations.length)
199
- }, b = JSON.stringify(e.query), m = JSON.stringify(v);
197
+ locationIds: t.length === a.locations.length ? null : t.length > 0 ? JSON.stringify(t) : void 0,
198
+ isAllLocation: String(t.length === a.locations.length)
199
+ }, b = JSON.stringify(e.query), m = JSON.stringify(y);
200
200
  b !== m && T.replace({
201
201
  name: e.name,
202
202
  params: e.params,
203
- query: v
203
+ query: y
204
204
  });
205
205
  },
206
206
  { deep: !0 }
207
- ), Je(), (a, t) => {
207
+ ), Je(), (n, t) => {
208
208
  const o = x("router-view");
209
209
  return h(), $(he, null, [
210
210
  J(xe),
@@ -1,4 +1,4 @@
1
- import { k as B0, a as d0, F as x0, v as c0, b as M0, c as au, o as tu, e as ru, d as $0, r as H0, l as fu } from "./vue-i18n-BCxK77UI.js";
1
+ import { k as B0, a as d0, F as x0, v as c0, b as M0, c as au, o as tu, e as ru, d as $0, r as H0, l as fu } from "./vue-i18n-C-Au91UY.js";
2
2
  import { storeToRefs as X, defineStore as R0 } from "pinia";
3
3
  import { ref as Q, computed as g0, watch as N0, h as iu, defineComponent as nu, mergeModels as Q0, useModel as bu, resolveComponent as G0, createBlock as su, openBlock as lu, withCtx as v0, createElementVNode as ou, createVNode as V0, renderSlot as _u, createTextVNode as pu, toDisplayString as $u } from "vue";
4
4
  import { useSnackbar as j0, components as yu } from "@feedmepos/ui-library";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as $, resolveComponent as S, createBlock as v, openBlock as c, withCtx as C, createCommentVNode as h, createElementVNode as x, toDisplayString as N, renderSlot as Y, mergeModels as F, useModel as R, ref as T, watch as V, createElementBlock as j, createVNode as b, unref as m } from "vue";
2
- import { d as n, l as U, t as q, u as _, b as A, R as G, C as L } from "./vue-i18n-BCxK77UI.js";
3
- import { d as k } from "./helper-C45zDckU.js";
2
+ import { d as n, l as U, t as q, u as _, b as A, R as G, C as L } from "./vue-i18n-C-Au91UY.js";
3
+ import { d as k } from "./helper-DxCjm6Nb.js";
4
4
  import { detectLocale as P } from "@feedmepos/mf-common";
5
5
  import { storeToRefs as H } from "pinia";
6
6
  const J = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, K = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, M = /* @__PURE__ */ $({
@@ -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-DkkLsThy.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DqDG0v_J.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-BCxK77UI.js";
5
+ import { u as q, f as w } from "./vue-i18n-C-Au91UY.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 y, defineComponent as ee, mergeModels as me, useModel as te, ref as h, onMounted as ke, nextTick as X, watch as J, resolveComponent as V, createElementBlock as N, openBlock as W, Fragment as oe, renderSlot as pe, createVNode as B, normalizeStyle as ne, unref as l, createElementVNode as P, toDisplayString as Le, withCtx as q, createBlock as U, createCommentVNode as he, normalizeClass as Pe, h as bt, renderList as kt, createTextVNode as Qt, onUnmounted as ea, resolveDynamicComponent as ta, withDirectives as aa, vShow as la } from "vue";
2
- import { W as F, d as Ee, v as $e, e as Ye, f as _t, q as oa, R as xe, g as na } from "./BaseDialog.vue_vue_type_script_setup_true_lang-D5v1t5hA.js";
3
- import { u as Me, b as at, a as lt } from "./vue-i18n-BCxK77UI.js";
4
- import { a as wt } from "./helper-C45zDckU.js";
2
+ import { W as F, d as Ee, v as $e, e as Ye, f as _t, q as oa, R as xe, g as na } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DZVH0vqi.js";
3
+ import { u as Me, b as at, a as lt } from "./vue-i18n-C-Au91UY.js";
4
+ import { a as wt } from "./helper-DxCjm6Nb.js";
5
5
  import { storeToRefs as ze, defineStore as sa } from "pinia";
6
6
  import { useBreakpoints as Tt, components as ra, useSnackbar as Rt } from "@feedmepos/ui-library";
7
- import { a as ia } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DdCDaooD.js";
7
+ import { a as ia } from "./SelectComponent.vue_vue_type_script_setup_true_lang-kc9Y_OCH.js";
8
8
  import { r as Ce } from "./i18n-Cif1I9J2.js";
9
- import { _ as xt } from "./NoData.vue_vue_type_script_setup_true_lang-Br4LWWWR.js";
9
+ import { _ as xt } from "./NoData.vue_vue_type_script_setup_true_lang-VbRFrJst.js";
10
10
  var Je = /* @__PURE__ */ ((e) => (e.line = "LINE", e.bar = "BAR", e))(Je || {}), Z = /* @__PURE__ */ ((e) => (e.top = "TOP", e.bottom = "BOTTOM", e))(Z || {}), Ke = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e))(Ke || {}), Ze = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.end = "end", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(Ze || {}), Qe = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(Qe || {}), et = /* @__PURE__ */ ((e) => (e.right = "right", e.left = "left", e))(et || {}), tt = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.right = "right", e.left = "left", e.chartArea = "chartArea", e))(tt || {});
11
11
  F.Circular, F.Table, F.BarChart, F.LineChart, F.StackBarChart, F.StackLineChart, F.Scorecard, F.Spacer;
12
12
  const ua = [
@@ -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-Bjk5J5gP.js";
6
- import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BIJY-H71.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-BCxK77UI.js";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-hB4oXg7M.js";
6
+ import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C43e_hFM.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-C-Au91UY.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-Br4LWWWR.js";
11
- import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DkkLsThy.js";
10
+ import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-VbRFrJst.js";
11
+ import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DqDG0v_J.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 Te, useModel as ee, computed as z, resolveComponent as T, createElementBlock as I, openBlock as b, createElementVNode as t, createCommentVNode as O, normalizeClass as Be, Fragment as he, createBlock as j, withCtx as ke, toDisplayString as k, renderList as Ve, createVNode as l, unref as d, normalizeStyle as et, createTextVNode as tt, ref as H, onUnmounted as Fe, watch as Ce, isRef as Ae, h as $, resolveDynamicComponent as De, mergeProps as Qe, onMounted as Ge } from "vue";
2
2
  import { useRouter as xe, useRoute as ot } from "vue-router";
3
- import { u as te, I as _e, d as Ee, w as at, e as Se, f as Ne, b as be, A as ge, z as lt, n as nt, y as Ue, B as Ie, E as Re, G as Pe, H as He, J as st, K as it, L as rt, M as qe, c as Je, N as dt, O as mt, P as pt, Q as ct } from "./vue-i18n-BCxK77UI.js";
3
+ import { u as te, I as _e, d as Ee, w as at, e as Se, f as Ne, b as be, A as ge, z as lt, n as nt, y as Ue, B as Ie, E as Re, G as Pe, H as He, J as st, K as it, L as rt, M as qe, c as Je, N as dt, O as mt, P as pt, Q as ct } from "./vue-i18n-C-Au91UY.js";
4
4
  import { u as Me } from "./message-dialog-UoMWOnil.js";
5
5
  import { useSnackbar as we } from "@feedmepos/ui-library";
6
6
  import { storeToRefs as je } from "pinia";
7
- import { _ as Oe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BIJY-H71.js";
7
+ import { _ as Oe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C43e_hFM.js";
8
8
  const ut = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, ft = { class: "w-[100%]" }, vt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, gt = { class: "w-[100%] flex flex-row gap-[4px]" }, yt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, xt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, bt = {
9
9
  key: 0,
10
10
  class: "w-[24px] flex items-center"