@feedmepos/mf-report 5.18.2-beta.4 → 5.18.2-beta.6

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-BRjX1jFN.js → App-CMeRHKED.js} +80 -78
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-djyc20Cp.js → BaseDialog.vue_vue_type_script_setup_true_lang-DLAmjLpT.js} +1 -1
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-uiSe3Jon.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DJIV8Ogq.js} +2 -2
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-DpSgAipe.js → Default.vue_vue_type_script_setup_true_lang-az465cWp.js} +2 -2
  5. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DKA5lLXB.js → DynamicWidget.vue_vue_type_script_setup_true_lang-Cg9Q0Alk.js} +5 -5
  6. package/dist/{InsightView-CxCeRQ-P.js → InsightView-C580gT_F.js} +5 -5
  7. package/dist/{Integration-CWUSF_o7.js → Integration-DY8R4ERN.js} +2 -2
  8. package/dist/{Integrations-BOVIAEgw.js → Integrations-DyYYCkQh.js} +3 -3
  9. package/dist/{Layout-B2cpQx3C.js → Layout-Cg6B3_PB.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-C8oiHuOX.js → MenuTab.vue_vue_type_script_setup_true_lang-mevBIWGb.js} +6 -6
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CDxb2Mjg.js → NavigationTab.vue_vue_type_script_setup_true_lang-CbS3wT-Z.js} +6759 -6747
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js → NoData.vue_vue_type_script_setup_true_lang-JK38qSlL.js} +1 -1
  13. package/dist/{OverviewView-D8mA0P3y.js → OverviewView-DPlvHfbM.js} +5 -5
  14. package/dist/{Report-Cg9Fen7g.js → Report-CYFbRFXI.js} +4 -4
  15. package/dist/{ReportEditor-C6TXPHhT.js → ReportEditor-CDdWFzYL.js} +6 -6
  16. package/dist/{ReportView-CUEWuq1w.js → ReportView-vZTFkb70.js} +7 -7
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-mR2PeX3S.js → SelectComponent.vue_vue_type_script_setup_true_lang-CoMcbMHU.js} +1 -1
  18. package/dist/{Setting-BxLdkt7x.js → Setting-B31bz7Ok.js} +4 -4
  19. package/dist/{TileEditor-DbbSibJa.js → TileEditor-C_hRfM-H.js} +7 -7
  20. package/dist/{TransitionFade-CiVLb7cy.js → TransitionFade-K0ZfP5kz.js} +5 -5
  21. package/dist/app.js +23 -19
  22. package/dist/{helper-UCnMF9KV.js → helper-DDO1q72b.js} +1 -1
  23. package/dist/{vue-i18n-CTLGxUiF.js → vue-i18n-Cjs2Btd-.js} +23 -23
  24. package/package.json +1 -1
@@ -1,37 +1,37 @@
1
- import { defineComponent as X, resolveComponent as J, createBlock as Y, openBlock as I, unref as u, isRef as fe, withCtx as F, createElementVNode as j, createVNode as x, toDisplayString as W, createTextVNode as pe, onMounted as Z, watch as h, ref as A, computed as G, onBeforeMount as ge, onBeforeUnmount as ye, createElementBlock as $, Fragment as ve } from "vue";
1
+ import { defineComponent as Y, resolveComponent as x, createBlock as Z, openBlock as h, unref as u, isRef as pe, withCtx as F, createElementVNode as W, createVNode as J, toDisplayString as G, createTextVNode as ge, onMounted as M, watch as R, ref as A, computed as K, onBeforeMount as ye, onBeforeUnmount as ve, createElementBlock as $, Fragment as Se } from "vue";
2
2
  import { detectLocale as C, useCoreStore as B } from "@feedmepos/mf-common";
3
- import { u as Se, d as i, a as De, b as K, c as Ie, e as he, f as Re, s as qe, g as Oe } from "./vue-i18n-CTLGxUiF.js";
3
+ import { u as De, d as i, a as Ie, b as P, c as he, e as Re, f as qe, s as Oe, g as _e } from "./vue-i18n-Cjs2Btd-.js";
4
4
  import { storeToRefs as b } from "pinia";
5
- import { u as _e, a as we, b as Le } from "./BaseDialog.vue_vue_type_script_setup_true_lang-djyc20Cp.js";
6
- import { _ as be, u as Ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CDxb2Mjg.js";
7
- import { u as P } from "./message-dialog-UoMWOnil.js";
8
- import { useRoute as Ee, useRouter as ke } from "vue-router";
9
- const Ne = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Fe = /* @__PURE__ */ X({
5
+ import { u as we, a as Le, b as be } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DLAmjLpT.js";
6
+ import { _ as Ce, u as Ee } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CbS3wT-Z.js";
7
+ import { u as H } from "./message-dialog-UoMWOnil.js";
8
+ import { useRoute as ke, useRouter as Ne } from "vue-router";
9
+ const Fe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, $e = /* @__PURE__ */ Y({
10
10
  __name: "Dialog",
11
- setup(R) {
12
- const { t: r } = Se(), f = P(), { isOpened: c, message: v, title: S } = b(P());
13
- return (q, g) => {
14
- const O = J("FmButton"), E = J("FmDialog");
15
- return I(), Y(E, {
11
+ setup(q) {
12
+ const { t: r } = De(), f = H(), { isOpened: c, message: S, title: D } = b(H());
13
+ return (O, g) => {
14
+ const _ = x("FmButton"), E = x("FmDialog");
15
+ return h(), Z(E, {
16
16
  modelValue: u(c),
17
- "onUpdate:modelValue": g[0] || (g[0] = (k) => fe(c) ? c.value = k : null),
17
+ "onUpdate:modelValue": g[0] || (g[0] = (k) => pe(c) ? c.value = k : null),
18
18
  overlay: "",
19
19
  "close-button": !1
20
20
  }, {
21
21
  "dialog-header": F(() => [
22
- pe(W(u(S)), 1)
22
+ ge(G(u(D)), 1)
23
23
  ]),
24
24
  default: F(() => [
25
- j("p", Ne, W(u(v)), 1)
25
+ W("p", Fe, G(u(S)), 1)
26
26
  ]),
27
27
  "dialog-footer": F(() => [
28
- g[1] || (g[1] = j("div", { class: "grow" }, null, -1)),
29
- x(O, {
28
+ g[1] || (g[1] = W("div", { class: "grow" }, null, -1)),
29
+ J(_, {
30
30
  label: u(r)("report.common.cancel"),
31
31
  variant: "tertiary",
32
32
  onClick: u(f).dismiss
33
33
  }, null, 8, ["label", "onClick"]),
34
- x(O, {
34
+ J(_, {
35
35
  label: u(r)("report.common.confirm"),
36
36
  onClick: u(f).confirm
37
37
  }, null, 8, ["label", "onClick"])
@@ -40,10 +40,10 @@ const Ne = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Fe
40
40
  }, 8, ["modelValue"]);
41
41
  };
42
42
  }
43
- }), H = A(C());
44
- function $e() {
45
- const R = (r) => {
46
- switch (H.value = r, r) {
43
+ }), X = A(C());
44
+ function Be() {
45
+ const q = (r) => {
46
+ switch (X.value = r, r) {
47
47
  case "zh-CN":
48
48
  i.locale("zh-cn");
49
49
  break;
@@ -52,23 +52,23 @@ function $e() {
52
52
  break;
53
53
  }
54
54
  };
55
- return Z(() => {
56
- R(C());
57
- }), h(() => C(), R, { deep: !0, immediate: !0 }), {
58
- currentLocale: H
55
+ return M(() => {
56
+ q(C());
57
+ }), R(() => C(), q, { deep: !0, immediate: !0 }), {
58
+ currentLocale: X
59
59
  };
60
60
  }
61
61
  i.locale(C() === "zh-CN" ? "zh-cn" : "en");
62
- const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
62
+ const xe = ["src"], Je = ["src"], He = /* @__PURE__ */ Y({
63
63
  __name: "App",
64
- setup(R) {
65
- const { businessId: r, token: f, country: c } = b(De()), { sessionUser: v, currentBusiness: S, currentCountry: q, registerSidebarComponent: g } = B(), { getRestaurantAndWarehouse: O, getBusinessSetting: E } = K(), { getFeatureFlags: k } = Ie(), { version: p } = b(_e()), { getSettings: M } = he(), { promptLoader: ee } = Re(), e = Ee(), T = ke(), te = G(() => `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`), ae = G(() => `https://report-v4.feedmedev.cc?businessId=${r.value}&country=${c.value}&token=${f.value}&reportV3Button=true`);
66
- h(
67
- [() => S.value, () => v.value, () => q.value],
64
+ setup(q) {
65
+ const { businessId: r, token: f, country: c } = b(Ie()), { sessionUser: S, currentBusiness: D, currentCountry: O, registerSidebarComponent: g } = B(), { getRestaurantAndWarehouse: _, getBusinessSetting: E } = P(), { getFeatureFlags: k } = he(), { version: p } = b(we()), { getSettings: ee } = Re(), { promptLoader: te } = qe(), e = ke(), T = Ne(), ae = K(() => `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`), ne = K(() => `https://report-v4.feedmedev.cc?businessId=${r.value}&country=${c.value}&token=${f.value}&reportV3Button=true`);
66
+ R(
67
+ [() => D.value, () => S.value, () => O.value],
68
68
  () => {
69
69
  var t, o;
70
- const a = ((t = S.value) == null ? void 0 : t.id) ?? "";
71
- S.value && v.value && q.value && (qe(c.value), r.value !== a && (r.value = a), f.value = ((o = v.value) == null ? void 0 : o.token) ?? "", c.value = q.value ?? "", e.query.businessId !== r.value && T.replace({
70
+ const a = ((t = D.value) == null ? void 0 : t.id) ?? "";
71
+ D.value && S.value && O.value && (Oe(c.value), r.value !== a && (r.value = a), f.value = ((o = S.value) == null ? void 0 : o.token) ?? "", c.value = O.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 }
@@ -94,24 +94,24 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
94
94
  console.error(t);
95
95
  }
96
96
  }
97
- h(p, () => {
97
+ R(p, () => {
98
98
  ["v3", "v4"].includes(p.value) ? B().hideSidebarToggle(!0) : B().hideSidebarToggle(!1);
99
- }), ge(() => {
100
- g(be);
101
- }), Z(() => {
102
- console.log("5.18.2-beta.4", !0), window.addEventListener("message", U), window.addEventListener("message", z);
99
+ }), ye(() => {
100
+ g(Ce);
101
+ }), M(() => {
102
+ console.log("5.18.2-beta.6", !0), window.addEventListener("message", U), window.addEventListener("message", z);
103
103
  });
104
- const D = we(), Q = Ce(), n = K();
105
- ye(() => {
106
- window.removeEventListener("message", U), window.removeEventListener("message", z), D.$dispose(), Q.$dispose();
104
+ const I = Le(), Q = Ee(), n = P();
105
+ ve(() => {
106
+ window.removeEventListener("message", U), window.removeEventListener("message", z), I.$dispose(), Q.$dispose();
107
107
  });
108
- const { getReports: ne, getOverviewReport: re, getReportConfig: V, currentReportId: oe } = D, { currentReportId: se } = b(D), { getSchema: ie } = Le(), { fetchSchedules: ue } = Q, { init: ce } = Oe(), N = A("v5"), _ = A(!1);
109
- function le() {
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, y = e.query.compareEndDate ? i(e.query.compareEndDate).endOf("day").toISOString() : void 0, w = e.query.isAllLocation === "true";
108
+ const { getReports: re, getOverviewReport: oe, getReportConfig: j, currentReportId: V } = I, { currentReportId: se, reports: ie } = b(I), { getSchema: ue } = be(), { fetchSchedules: ce } = Q, { init: le } = _e(), N = A("v5"), w = A(!1);
109
+ function de() {
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, y = e.query.compareEndDate ? i(e.query.compareEndDate).endOf("day").toISOString() : void 0, L = e.query.isAllLocation === "true";
111
111
  let m = [];
112
- w ? m = n.selectedLocationIds : m = e.query.locationIds ? JSON.parse(e.query.locationIds) : void 0;
113
- const L = e.query.reportId || oe;
114
- if (L && L !== D.currentReportId && D.updateCurrentReportId(L), a || t) {
112
+ L ? m = n.selectedLocationIds : m = e.query.locationIds ? JSON.parse(e.query.locationIds) : void 0;
113
+ let v = e.query.reportId || V;
114
+ if (ie.value.find((s) => s.id === v) || (v = V), v && v !== I.currentReportId && I.updateCurrentReportId(v), a || t) {
115
115
  const s = n.dateRange;
116
116
  (s.startDate !== a || s.endDate !== t) && n.setDateRange({ startDate: a, endDate: t });
117
117
  }
@@ -126,12 +126,13 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
126
126
  endDate: y
127
127
  });
128
128
  }
129
- if (!w && Array.isArray(m)) {
129
+ if (!L && Array.isArray(m)) {
130
130
  const s = n.selectedLocationIds;
131
- s.length === m.length && s.every((de, me) => de === m[me]) || n.setSelectedLocationIds(m);
131
+ s.length === m.length && s.every((me, fe) => me === m[fe]) || n.setSelectedLocationIds(m);
132
132
  }
133
133
  return {
134
- reportId: L,
134
+ // TODO: this returned value can used for getBusinessSetting
135
+ reportId: v,
135
136
  startDate: e.query.startDate,
136
137
  endDate: e.query.endDate,
137
138
  timeStart: e.query.timeStart,
@@ -142,36 +143,36 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
142
143
  isAllLocation: e.query.isAllLocation
143
144
  };
144
145
  }
145
- return h(
146
+ return R(
146
147
  () => r.value,
147
- async () => {
148
- r.value !== "" && (_.value = !1, await ee(async () => {
149
- await ce({
148
+ async (a) => {
149
+ a !== "" && (w.value = !1, await te(async () => {
150
+ await le({
150
151
  apiKey: "MaGoXrEWuEJNpWgKTqseee",
151
152
  url: "https://flag.feedme.farm/api/v1/",
152
153
  enableAnalytics: !1,
153
154
  cacheFlags: !1
154
155
  });
155
- const a = await V();
156
- N.value = a.version, p.value = N.value, await Promise.all([
156
+ const t = await j();
157
+ N.value = t.version, p.value = N.value, await Promise.all([
157
158
  k(),
158
- V(),
159
+ j(),
160
+ oe(),
159
161
  re(),
160
- ne(),
161
- ie(),
162
162
  ue(),
163
- O(
163
+ ce(),
164
+ _(
164
165
  e.query.locationIds ? JSON.parse(e.query.locationIds) : null
165
166
  ),
166
- M()
167
- ]), await E(), le();
168
- }), _.value = !0);
167
+ ee()
168
+ ]), await E(), de();
169
+ }), w.value = !0);
169
170
  },
170
171
  {
171
172
  immediate: !0
172
173
  }
173
- ), h(
174
- () => (_.value, {
174
+ ), R(
175
+ () => (w.value, {
175
176
  reportId: se.value,
176
177
  selectedLocationIds: n.selectedLocationIds,
177
178
  dateRange: n.dateRange,
@@ -179,7 +180,8 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
179
180
  compareDateRange: n.compareDateRange
180
181
  }),
181
182
  (a) => {
182
- if (!_.value || !a.reportId) return;
183
+ if (!w.value || !a.reportId) return;
184
+ console.log(a);
183
185
  const t = a.selectedLocationIds, o = a.dateRange, l = a.timeRange, d = a.compareDateRange, y = {
184
186
  ...e.query,
185
187
  reportId: a.reportId,
@@ -191,31 +193,31 @@ const Be = ["src"], Je = ["src"], Ke = /* @__PURE__ */ X({
191
193
  timeEnd: l.end ? JSON.stringify(l.end) : void 0,
192
194
  locationIds: t.length === n.locations.length ? null : t.length > 0 ? JSON.stringify(t) : void 0,
193
195
  isAllLocation: String(t.length === n.locations.length)
194
- }, w = JSON.stringify(e.query), m = JSON.stringify(y);
195
- w !== m && T.replace({
196
+ }, L = JSON.stringify(e.query), m = JSON.stringify(y);
197
+ L !== m && T.replace({
196
198
  name: e.name,
197
199
  params: e.params,
198
200
  query: y
199
201
  });
200
202
  },
201
203
  { deep: !0 }
202
- ), $e(), (a, t) => {
203
- const o = J("router-view");
204
- return I(), $(ve, null, [
205
- x(Fe),
206
- u(p) === "v3" ? (I(), $("iframe", {
204
+ ), Be(), (a, t) => {
205
+ const o = x("router-view");
206
+ return h(), $(Se, null, [
207
+ J($e),
208
+ u(p) === "v3" ? (h(), $("iframe", {
207
209
  key: 0,
208
210
  class: "bg-white h-full w-full",
209
- src: te.value
210
- }, null, 8, Be)) : u(p) === "v4" ? (I(), $("iframe", {
211
+ src: ae.value
212
+ }, null, 8, xe)) : u(p) === "v4" ? (h(), $("iframe", {
211
213
  key: 1,
212
214
  class: "bg-white h-full w-full",
213
- src: ae.value
214
- }, null, 8, Je)) : (I(), Y(o, { key: 2 }))
215
+ src: ne.value
216
+ }, null, 8, Je)) : (h(), Z(o, { key: 2 }))
215
217
  ], 64);
216
218
  };
217
219
  }
218
220
  });
219
221
  export {
220
- Ke as default
222
+ He as default
221
223
  };
@@ -1,4 +1,4 @@
1
- import { k as Q0, a as e0, F as Z, t as x0, b as R0, c as tu, o as ru, d as p0, e as fu, w as H0, r as N0, l as iu } from "./vue-i18n-CTLGxUiF.js";
1
+ import { k as Q0, a as e0, F as Z, w as x0, b as R0, c as tu, v as ru, d as p0, e as fu, m as H0, r as N0, l as iu } from "./vue-i18n-Cjs2Btd-.js";
2
2
  import { storeToRefs as X, defineStore as D0 } from "pinia";
3
3
  import { ref as V, computed as m0, watch as q0, h as nu, defineComponent as bu, mergeModels as G0, useModel as su, resolveComponent as V0, createBlock as lu, openBlock as ou, withCtx as v0, createElementVNode as _u, createVNode as z0, renderSlot as pu, createTextVNode as $u, toDisplayString as yu } from "vue";
4
4
  import { useSnackbar as Y0, components as gu } 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 Y, renderSlot as j, mergeModels as T, useModel as R, ref as V, watch as k, createElementBlock as U, createVNode as b, unref as m } from "vue";
2
- import { d as n, l as q, R as _, u as A, a as G, w as L, S as Q, C as H } from "./vue-i18n-CTLGxUiF.js";
3
- import { d as F } from "./helper-UCnMF9KV.js";
2
+ import { d as n, l as q, t as _, u as A, a as G, m as L, S as Q, C as H } from "./vue-i18n-Cjs2Btd-.js";
3
+ import { d as F } from "./helper-DDO1q72b.js";
4
4
  import { detectLocale as P } from "@feedmepos/mf-common";
5
5
  import { storeToRefs as J } from "pinia";
6
6
  const K = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, W = { 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-CDxb2Mjg.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CbS3wT-Z.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-CTLGxUiF.js";
5
+ import { u as q, f as w } from "./vue-i18n-Cjs2Btd-.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-djyc20Cp.js";
3
- import { u as Me, b as at, a as lt } from "./vue-i18n-CTLGxUiF.js";
4
- import { a as wt } from "./helper-UCnMF9KV.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-DLAmjLpT.js";
3
+ import { u as Me, b as at, a as lt } from "./vue-i18n-Cjs2Btd-.js";
4
+ import { a as wt } from "./helper-DDO1q72b.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-mR2PeX3S.js";
7
+ import { a as ia } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CoMcbMHU.js";
8
8
  import { r as Ce } from "./i18n-Cif1I9J2.js";
9
- import { _ as xt } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
9
+ import { _ as xt } from "./NoData.vue_vue_type_script_setup_true_lang-JK38qSlL.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-DpSgAipe.js";
6
- import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-uiSe3Jon.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-CTLGxUiF.js";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-az465cWp.js";
6
+ import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DJIV8Ogq.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-Cjs2Btd-.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-Divo8W18.js";
11
- import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CDxb2Mjg.js";
10
+ import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-JK38qSlL.js";
11
+ import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CbS3wT-Z.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 Q, mergeModels as Se, useModel as W, computed as Y, resolveComponent as K, createElementBlock as P, openBlock as b, createElementVNode as t, createCommentVNode as O, normalizeClass as je, Fragment as xe, createBlock as M, withCtx as we, toDisplayString as C, renderList as Ce, createVNode as n, unref as r, normalizeStyle as Je, createTextVNode as Ze, ref as q, onUnmounted as Ae, watch as _e, isRef as $e, h as A, resolveDynamicComponent as Ve, mergeProps as Be, onMounted as qe } from "vue";
2
2
  import { useRouter as ue, useRoute as et } from "vue-router";
3
- import { u as J, I as ge, d as Me, v as tt, e as ke, f as De, b as fe, z as ot, n as at, y as Ke, A as Te, B as Fe, E as Ne, G as Ee, H as lt, J as nt, K as st, L as be, M as Oe, N as it, O as rt, P as dt, Q as mt } from "./vue-i18n-CTLGxUiF.js";
3
+ import { u as J, I as ge, d as Me, x as tt, e as ke, f as De, b as fe, A as ot, o as at, z as Ke, B as Te, E as Fe, G as Ne, H as Ee, J as lt, K as nt, L as st, M as be, N as Oe, O as it, P as rt, Q as dt, R as mt } from "./vue-i18n-Cjs2Btd-.js";
4
4
  import { u as Ue } from "./message-dialog-UoMWOnil.js";
5
5
  import { useSnackbar as ve } from "@feedmepos/ui-library";
6
6
  import { storeToRefs as Ie } from "pinia";
7
- import { _ as Pe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-uiSe3Jon.js";
7
+ import { _ as Pe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DJIV8Ogq.js";
8
8
  const pt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, ct = { class: "w-[100%]" }, ut = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, ft = { class: "w-[100%] flex flex-row gap-[4px]" }, vt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, gt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, yt = {
9
9
  key: 0,
10
10
  class: "w-[24px] flex items-center"