@feedmepos/mf-report 5.27.17-beta.0 → 5.27.18-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 (27) hide show
  1. package/dist/{App-CvCrJqLg.js → App-wbTW4JH7.js} +4 -4
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-DrRl4Gth.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BGCM_yPS.js} +90 -88
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BHk0xZlA.js → Default.vue_vue_type_script_setup_true_lang-BXT9Ef5R.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DSzYi_CU.js → DynamicWidget.vue_vue_type_script_setup_true_lang-ryd3yAfG.js} +4 -4
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DXt8iwzQ.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CUeRxKi0.js} +5 -5
  6. package/dist/{InsightView-BzeqFKm-.js → InsightView-B1cDxMz9.js} +4 -4
  7. package/dist/{Integration-D17z6oYd.js → Integration-BJBdtRnG.js} +3 -3
  8. package/dist/{Integrations-ntSsAGRo.js → Integrations-BvsAGiR-.js} +2 -2
  9. package/dist/{Layout-DtrVVecL.js → Layout-CHUylUuw.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-C8M-jVxw.js → MenuTab.vue_vue_type_script_setup_true_lang-DZIkcH6p.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CfbhtoQk.js → NavigationTab.vue_vue_type_script_setup_true_lang-TEMBbfsk.js} +3 -3
  12. package/dist/OverviewView-DpCIrnpx.js +64 -0
  13. package/dist/{Report-CAabSWO1.js → Report-7owuWCZh.js} +3 -3
  14. package/dist/{ReportEditor-CjET-UIs.js → ReportEditor-C6JjPkuY.js} +6 -6
  15. package/dist/{ReportView-BHMAamCN.js → ReportView-DTySlV3X.js} +6 -6
  16. package/dist/{Setting-DCP8a4Zp.js → Setting-em2zd0AQ.js} +3 -3
  17. package/dist/{Template-Omi2AV_C.js → Template-Bv2BAqyd.js} +3 -3
  18. package/dist/{TileEditor-W_S8C_mI.js → TileEditor-BHcW91OY.js} +5 -5
  19. package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-B51GyNqU.js → TileGrid.vue_vue_type_script_setup_true_lang-CijuLmtK.js} +1 -1
  20. package/dist/{TransitionFade-ags7qZOt.js → TransitionFade-DBEB5QJn.js} +4 -4
  21. package/dist/{app-C-wS28fu.js → app-Cfjiw1NE.js} +43 -39
  22. package/dist/app.js +1 -1
  23. package/dist/assets/{formatChartData.worker-geUKveyE.js → formatChartData.worker-0xi0L7s_.js} +1 -1
  24. package/dist/assets/{processTableData.worker-CvRlKKfk.js → processTableData.worker-CitENa6H.js} +1 -1
  25. package/dist/{useRestaurantPermission-C2jBdSMK.js → useRestaurantPermission-CH3lUNEE.js} +1 -1
  26. package/package.json +1 -1
  27. package/dist/OverviewView-BxIWWTvW.js +0 -62
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as ue, resolveComponent as H, createBlock as de, openBlock as E, unref as d, isRef as ke, withCtx as W, createElementVNode as ne, createVNode as X, toDisplayString as ae, createTextVNode as Te, onMounted as le, watch as C, ref as Q, computed as oe, onBeforeMount as Ne, onBeforeUnmount as qe, createElementBlock as K, Fragment as Fe } from "vue";
2
2
  import { detectLocale as U, useCoreStore as P } from "@feedmepos/mf-common";
3
- import { d as u, u as $e, a as re, b as Be, c as se, e as xe, f as Je, s as Qe, t as G } from "./app-C-wS28fu.js";
3
+ import { d as u, u as $e, a as re, b as Be, c as se, e as xe, f as Je, s as Qe, t as G } from "./app-Cfjiw1NE.js";
4
4
  import { storeToRefs as k } from "pinia";
5
5
  import { u as Ue, a as ze } from "./_plugin-vue_export-helper-onplcgja.js";
6
- import { u as je, a as Ve } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DXt8iwzQ.js";
7
- import { u as We, _ as Ke } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CfbhtoQk.js";
6
+ import { u as je, a as Ve } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CUeRxKi0.js";
7
+ import { u as We, _ as Ke } from "./NavigationTab.vue_vue_type_script_setup_true_lang-TEMBbfsk.js";
8
8
  import { u as ie } from "./message-dialog-UoMWOnil.js";
9
9
  import { useRoute as Pe, useRouter as Ge } from "vue-router";
10
10
  const He = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, Xe = /* @__PURE__ */ ue({
@@ -97,7 +97,7 @@ const Ze = ["src"], Me = ["src"], mt = /* @__PURE__ */ ue({
97
97
  }), Ne(() => {
98
98
  I(Ke);
99
99
  }), le(() => {
100
- console.log("5.27.17-beta.0", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
100
+ console.log("5.27.18-beta.0", !0), window.addEventListener("message", M), window.addEventListener("message", ee);
101
101
  }), qe(() => {
102
102
  window.removeEventListener("message", M), window.removeEventListener("message", ee), w.$dispose(), Y.$dispose();
103
103
  });
@@ -1,12 +1,12 @@
1
- import { defineComponent as j, resolveComponent as R, createBlock as v, openBlock as h, normalizeClass as W, withCtx as $, createCommentVNode as p, createElementVNode as M, toDisplayString as X, renderSlot as q, mergeModels as E, useModel as P, ref as I, watch as F, createElementBlock as G, unref as g, createVNode as L } from "vue";
2
- import { d as f, a as H, U as K, C as J } from "./app-C-wS28fu.js";
1
+ import { defineComponent as N, resolveComponent as x, createBlock as v, openBlock as h, normalizeClass as q, withCtx as E, createCommentVNode as R, createElementVNode as M, toDisplayString as G, renderSlot as H, mergeModels as I, useModel as P, ref as L, watch as F, computed as K, createElementBlock as J, unref as p, createVNode as A } from "vue";
2
+ import { d as f, a as Q, C as w, U as Z } from "./app-Cfjiw1NE.js";
3
3
  import { detectLocale as k } from "@feedmepos/mf-common";
4
- import { u as Q } from "./_plugin-vue_export-helper-onplcgja.js";
5
- import { storeToRefs as Z } from "pinia";
6
- const ee = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), ae = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), te = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), re = /[^\p{L}\d]+/giu, A = "$1\0$2", z = "";
7
- function N(a) {
4
+ import { u as ee } from "./_plugin-vue_export-helper-onplcgja.js";
5
+ import { storeToRefs as ae } from "pinia";
6
+ const te = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), re = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), ne = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), le = /[^\p{L}\d]+/giu, z = "$1\0$2", O = "";
7
+ function V(a) {
8
8
  let e = a.trim();
9
- e = e.replace(ee, A).replace(ae, A), e = e.replace(re, "\0");
9
+ e = e.replace(te, z).replace(re, z), e = e.replace(le, "\0");
10
10
  let t = 0, r = e.length;
11
11
  for (; e.charAt(t) === "\0"; )
12
12
  t++;
@@ -16,10 +16,10 @@ function N(a) {
16
16
  r--;
17
17
  return e.slice(t, r).split(/\0/g);
18
18
  }
19
- function ne(a) {
20
- const e = N(a);
19
+ function ce(a) {
20
+ const e = V(a);
21
21
  for (let t = 0; t < e.length; t++) {
22
- const r = e[t], n = te.exec(r);
22
+ const r = e[t], n = ne.exec(r);
23
23
  if (n) {
24
24
  const c = n.index + (n[1] ?? n[2]).length;
25
25
  e.splice(t, 1, r.slice(0, c), r.slice(c));
@@ -27,39 +27,39 @@ function ne(a) {
27
27
  }
28
28
  return e;
29
29
  }
30
- function ge(a, e) {
31
- const [t, r, n] = T(a, e), c = S(e == null ? void 0 : e.locale), s = Y(e == null ? void 0 : e.locale), l = e != null && e.mergeAmbiguousCharacters ? b(c, s) : V(c, s);
30
+ function ve(a, e) {
31
+ const [t, r, n] = T(a, e), c = $(e == null ? void 0 : e.locale), s = S(e == null ? void 0 : e.locale), l = e != null && e.mergeAmbiguousCharacters ? b(c, s) : W(c, s);
32
32
  return t + r.map((d, u) => u === 0 ? c(d) : l(d, u)).join((e == null ? void 0 : e.delimiter) ?? "") + n;
33
33
  }
34
- function he(a, e) {
35
- const [t, r, n] = T(a, e), c = S(e == null ? void 0 : e.locale), s = Y(e == null ? void 0 : e.locale), l = e != null && e.mergeAmbiguousCharacters ? b(c, s) : V(c, s);
34
+ function pe(a, e) {
35
+ const [t, r, n] = T(a, e), c = $(e == null ? void 0 : e.locale), s = S(e == null ? void 0 : e.locale), l = e != null && e.mergeAmbiguousCharacters ? b(c, s) : W(c, s);
36
36
  return t + r.map(l).join((e == null ? void 0 : e.delimiter) ?? "") + n;
37
37
  }
38
- function ve(a, e) {
39
- const [t, r, n] = T(a, e), c = S(e == null ? void 0 : e.locale), s = Y(e == null ? void 0 : e.locale);
38
+ function Ce(a, e) {
39
+ const [t, r, n] = T(a, e), c = $(e == null ? void 0 : e.locale), s = S(e == null ? void 0 : e.locale);
40
40
  return t + r.map(b(c, s)).join((e == null ? void 0 : e.delimiter) ?? " ") + n;
41
41
  }
42
42
  function xe(a, e) {
43
- const [t, r, n] = T(a, e), c = S(e == null ? void 0 : e.locale), s = Y(e == null ? void 0 : e.locale), l = b(c, s);
43
+ const [t, r, n] = T(a, e), c = $(e == null ? void 0 : e.locale), s = S(e == null ? void 0 : e.locale), l = b(c, s);
44
44
  return t + r.map((d, u) => u === 0 ? l(d) : c(d)).join((e == null ? void 0 : e.delimiter) ?? " ") + n;
45
45
  }
46
- function S(a) {
46
+ function $(a) {
47
47
  return a === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(a);
48
48
  }
49
- function Y(a) {
49
+ function S(a) {
50
50
  return a === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(a);
51
51
  }
52
52
  function b(a, e) {
53
53
  return (t) => `${e(t[0])}${a(t.slice(1))}`;
54
54
  }
55
- function V(a, e) {
55
+ function W(a, e) {
56
56
  return (t, r) => {
57
57
  const n = t[0];
58
58
  return (r > 0 && n >= "0" && n <= "9" ? "_" + n : e(n)) + a(t.slice(1));
59
59
  };
60
60
  }
61
61
  function T(a, e = {}) {
62
- const t = e.split ?? (e.separateNumbers ? ne : N), r = e.prefixCharacters ?? z, n = e.suffixCharacters ?? z;
62
+ const t = e.split ?? (e.separateNumbers ? ce : V), r = e.prefixCharacters ?? O, n = e.suffixCharacters ?? O;
63
63
  let c = 0, s = a.length;
64
64
  for (; c < a.length; ) {
65
65
  const l = a.charAt(c);
@@ -79,8 +79,8 @@ function T(a, e = {}) {
79
79
  a.slice(s)
80
80
  ];
81
81
  }
82
- var x = /* @__PURE__ */ ((a) => (a.Year = "YEAR", a.Month = "MONTH", a.Week = "WEEK", a.Day = "DAY", a))(x || {}), le = /* @__PURE__ */ ((a) => (a.Yesterday = "YESTERDAY", a.Today = "TODAY", a))(le || {});
83
- function Ce(a, e = 100) {
82
+ var C = /* @__PURE__ */ ((a) => (a.Year = "YEAR", a.Month = "MONTH", a.Week = "WEEK", a.Day = "DAY", a))(C || {}), se = /* @__PURE__ */ ((a) => (a.Yesterday = "YESTERDAY", a.Today = "TODAY", a))(se || {});
83
+ function Re(a, e = 100) {
84
84
  let t = null;
85
85
  const r = function(...n) {
86
86
  return t && clearTimeout(t), new Promise((c) => {
@@ -95,15 +95,15 @@ function Ce(a, e = 100) {
95
95
  t && (clearTimeout(t), t = null);
96
96
  }, r;
97
97
  }
98
- function ce() {
98
+ function ue() {
99
99
  return [...Array(12).keys()].map((a) => f().month(a).format("MMM"));
100
100
  }
101
- function Re(a, e, t = "") {
101
+ function $e(a, e, t = "") {
102
102
  const r = (l) => /^[\x00-\x7F]*$/.test(l) ? " " : "", n = (l) => /^每年/.test(l), c = (l) => /^每周|^每週/.test(l), s = (l) => /^每月/.test(l);
103
103
  switch (a.type) {
104
- case x.Day:
104
+ case C.Day:
105
105
  return e("report.schedule.everyDay");
106
- case x.Week: {
106
+ case C.Week: {
107
107
  const l = e("report.schedule.everyWeek"), d = c(l);
108
108
  let u = `${l}${r(l)}`;
109
109
  const o = [
@@ -117,23 +117,23 @@ function Re(a, e, t = "") {
117
117
  ];
118
118
  if (a.days)
119
119
  for (let i = 0; i < a.days.length; i++) {
120
- const w = d ? o[a.days[i]].replace(/^[周週]/, "") : o[a.days[i]];
121
- u = u + w + (i !== a.days.length - 1 ? "," : "");
120
+ const Y = d ? o[a.days[i]].replace(/^[周週]/, "") : o[a.days[i]];
121
+ u = u + Y + (i !== a.days.length - 1 ? "," : "");
122
122
  }
123
123
  return u;
124
124
  }
125
- case x.Month: {
125
+ case C.Month: {
126
126
  const l = e("report.schedule.everyMonth"), d = s(l);
127
127
  let u = `${l}${r(l)}`;
128
128
  return a.days && (u = u + (d ? a.days.map((o) => `${o}日`).join(",") : a.days.join(","))), u;
129
129
  }
130
- case x.Year: {
130
+ case C.Year: {
131
131
  if (!a.months && !a.days)
132
132
  return e("report.schedule.customDate");
133
133
  const l = e("report.schedule.everyYear"), d = n(l);
134
134
  let u = `${l}${d ? " " : r(l)}`;
135
135
  if (a.months) {
136
- const o = ce();
136
+ const o = ue();
137
137
  u = u + a.months.map((i) => o[i - 1]).join(",");
138
138
  }
139
139
  return a.months && a.days && (u = d ? `${u} 的 ` : `${u} ${e("report.common.and")} `), a.days && (u = u + (d ? a.days.map((o) => `${o}日`).join(",") : a.days.join(","))), u;
@@ -153,7 +153,7 @@ function _(a = {
153
153
  let e = f().subtract(1, "day").endOf("day"), t = f().endOf("day");
154
154
  return a.startDate && (e = a.timezone ? f(a.startDate).tz(a.timezone).locale(a.locale) : f(a.startDate).locale(a.locale)), a.endDate && (t = a.timezone ? f(a.endDate).tz(a.timezone).locale(a.locale) : f(a.endDate).locale(a.locale)), e.format("YYYY") !== t.format("YYYY") ? `${e.format("DD MMM YYYY")} - ${t.format("DD MMM YYYY")}` : `${e.format("DD MMM")} - ${t.format("DD MMM YYYY")}`;
155
155
  }
156
- function pe(a = {
156
+ function Se(a = {
157
157
  startTime: null,
158
158
  endTime: null,
159
159
  locale: "en-US"
@@ -163,7 +163,7 @@ function pe(a = {
163
163
  const c = f().set("hour", t.hour).set("minute", t.minute).locale(n), s = f().set("hour", r.hour).set("minute", r.minute).locale(n);
164
164
  return `${c.format(e)}-${s.format(e)}`;
165
165
  }
166
- const se = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-0" }, ue = { class: "text-ellipsis overflow-hidden whitespace-nowrap flex-1 min-w-0" }, de = { class: "whitespace-nowrap flex-none" }, O = /* @__PURE__ */ j({
166
+ const de = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w-0" }, oe = { class: "text-ellipsis overflow-hidden whitespace-nowrap flex-1 min-w-0" }, me = { class: "whitespace-nowrap flex-none" }, U = /* @__PURE__ */ N({
167
167
  __name: "FilterChip",
168
168
  props: {
169
169
  label: {
@@ -190,33 +190,33 @@ const se = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w
190
190
  setup(a) {
191
191
  const e = a;
192
192
  return (t, r) => {
193
- const n = R("FmIcon"), c = R("FmCircularProgress"), s = R("FmChip");
193
+ const n = x("FmIcon"), c = x("FmCircularProgress"), s = x("FmChip");
194
194
  return h(), v(s, {
195
195
  "aria-busy": e.loading,
196
- class: W([
196
+ class: q([
197
197
  "bg-fm-color-neutral-gray-100 text-fm-color-neutral-gray-400 max-w-[400px] flex items-center gap-1 transition-opacity",
198
198
  e.loading && "opacity-80"
199
199
  ])
200
200
  }, {
201
- default: $(() => [
201
+ default: E(() => [
202
202
  a.leftIcon ? (h(), v(n, {
203
203
  key: 0,
204
204
  name: e.leftIcon,
205
205
  size: "sm",
206
206
  outline: "",
207
207
  class: "flex-none"
208
- }, null, 8, ["name"])) : p("", !0),
209
- M("div", se, [
210
- M("span", ue, X(e.label), 1),
208
+ }, null, 8, ["name"])) : R("", !0),
209
+ M("div", de, [
210
+ M("span", oe, G(e.label), 1),
211
211
  a.rightIcon ? (h(), v(n, {
212
212
  key: 0,
213
213
  name: a.rightIcon,
214
214
  size: "sm",
215
215
  outline: "",
216
216
  class: "flex-none"
217
- }, null, 8, ["name"])) : p("", !0),
218
- M("span", de, [
219
- q(t.$slots, "default")
217
+ }, null, 8, ["name"])) : R("", !0),
218
+ M("span", me, [
219
+ H(t.$slots, "default")
220
220
  ]),
221
221
  e.loading ? (h(), v(c, {
222
222
  key: 1,
@@ -228,23 +228,23 @@ const se = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w
228
228
  size: "sm",
229
229
  outline: "",
230
230
  class: "flex-none"
231
- }, null, 8, ["name"])) : p("", !0)
231
+ }, null, 8, ["name"])) : R("", !0)
232
232
  ])
233
233
  ]),
234
234
  _: 3
235
235
  }, 8, ["aria-busy", "class"]);
236
236
  };
237
237
  }
238
- }), oe = { class: "flex gap-2 items-center" }, U = "YYYY-MM-DD", Se = /* @__PURE__ */ j({
238
+ }), fe = { class: "flex gap-2 items-center" }, j = "YYYY-MM-DD", be = /* @__PURE__ */ N({
239
239
  __name: "DateRangeSelect",
240
- props: /* @__PURE__ */ E({
240
+ props: /* @__PURE__ */ I({
241
241
  compare: {
242
242
  type: Boolean,
243
243
  default: !1
244
244
  },
245
245
  datePredefinedRanges: {
246
246
  type: Array,
247
- default: () => K()
247
+ default: () => Z()
248
248
  },
249
249
  label: {
250
250
  type: String,
@@ -259,7 +259,7 @@ const se = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w
259
259
  }, {
260
260
  compareType: {
261
261
  type: String,
262
- default: J.PRECEDING_PERIOD
262
+ default: w.PRECEDING_PERIOD
263
263
  },
264
264
  compareTypeModifiers: {},
265
265
  dateRange: {
@@ -279,16 +279,16 @@ const se = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w
279
279
  },
280
280
  compareDateRangeModifiers: {}
281
281
  }),
282
- emits: /* @__PURE__ */ E(["update", "chip-closed"], ["update:compareType", "update:dateRange", "update:compareDateRange"]),
282
+ emits: /* @__PURE__ */ I(["update", "chip-closed"], ["update:compareType", "update:dateRange", "update:compareDateRange"]),
283
283
  setup(a, { emit: e }) {
284
- const { t, locale: r } = Q();
284
+ const { t, locale: r } = ee();
285
285
  function n(m) {
286
- return m ? m.includes("T") ? f(m).tz(u.value).format(U) : f(m).format(U) : null;
286
+ return m ? m.includes("T") ? f(m).tz(u.value).format(j) : f(m).format(j) : null;
287
287
  }
288
- const c = e, s = P(a, "compareType"), l = P(a, "dateRange"), d = P(a, "compareDateRange"), { timezone: u } = Z(H()), o = I({
288
+ const c = e, s = P(a, "compareType"), l = P(a, "dateRange"), d = P(a, "compareDateRange"), { timezone: u } = ae(Q()), o = L({
289
289
  startDate: n(l.value.startDate),
290
290
  endDate: n(l.value.endDate)
291
- }), i = I({
291
+ }), i = L({
292
292
  startDate: d.value.startDate ? n(d.value.startDate) : null,
293
293
  endDate: d.value.endDate ? n(d.value.endDate) : null
294
294
  });
@@ -304,41 +304,49 @@ const se = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w
304
304
  },
305
305
  { deep: !0 }
306
306
  ), F([() => i.value], () => {
307
- const m = i.value.startDate, y = i.value.endDate, C = m ? f(
307
+ const m = i.value.startDate, y = i.value.endDate, g = m ? f(
308
308
  m instanceof Date ? m : f(m).toDate()
309
309
  ).startOf("day").tz(u.value, !0).toISOString() : void 0, D = y ? f(y instanceof Date ? y : f(y).toDate()).tz(u.value, !0).endOf("day").toISOString() : void 0;
310
310
  d.value = {
311
- startDate: C,
311
+ startDate: g,
312
312
  endDate: D
313
313
  };
314
314
  });
315
- function w(m) {
315
+ function Y(m) {
316
316
  s.value = m;
317
317
  }
318
318
  function B(m) {
319
319
  c("chip-closed", m);
320
320
  }
321
+ const X = K(() => {
322
+ const m = k(), y = m.startsWith("zh") ? "" : " ", g = t("report.common.comparedTo"), D = _({
323
+ startDate: i.value.startDate ?? null,
324
+ endDate: i.value.endDate ?? null,
325
+ locale: m
326
+ });
327
+ return s.value === w.NO_COMPARISON ? `${g}: ${t(`report.compare.${s.value}`)}` : s.value === w.CUSTOM ? `${g}: ${D}` : `${g}${y}${t(`report.compare.${s.value}`).toLowerCase()}: ${D}`;
328
+ });
321
329
  return (m, y) => {
322
- const C = R("FmSimpleDateRangePicker");
323
- return h(), G("div", oe, [
324
- (h(), v(C, {
325
- key: `date-picker-${g(r)}`,
330
+ const g = x("FmSimpleDateRangePicker");
331
+ return h(), J("div", fe, [
332
+ (h(), v(g, {
333
+ key: `date-picker-${p(r)}`,
326
334
  modelValue: o.value,
327
335
  "onUpdate:modelValue": y[1] || (y[1] = (D) => o.value = D),
328
336
  "show-predefined-range": "",
329
337
  "predefined-range": a.datePredefinedRanges.map((D) => ({
330
338
  ...D,
331
- label: g(t)(`report.date.${D.label}`)
339
+ label: p(t)(`report.date.${D.label}`)
332
340
  })),
333
341
  class: "w-2/6"
334
342
  }, {
335
- "trigger-button": $(() => [
336
- L(O, {
343
+ "trigger-button": E(() => [
344
+ A(U, {
337
345
  "left-icon": a.label ? "filter_alt" : "calendar_month",
338
- label: a.label ?? g(_)({
346
+ label: a.label ?? p(_)({
339
347
  startDate: o.value.startDate ?? "",
340
348
  endDate: o.value.endDate ?? "",
341
- locale: g(k)()
349
+ locale: p(k)()
342
350
  }),
343
351
  removable: a.removable,
344
352
  onChipClosed: y[0] || (y[0] = (D) => B(!0))
@@ -346,8 +354,8 @@ const se = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w
346
354
  ]),
347
355
  _: 1
348
356
  }, 8, ["modelValue", "predefined-range"])),
349
- a.compare ? (h(), v(C, {
350
- key: `compare-date-picker-${g(r)}`,
357
+ a.compare ? (h(), v(g, {
358
+ key: `compare-date-picker-${p(r)}`,
351
359
  modelValue: i.value,
352
360
  "onUpdate:modelValue": y[2] || (y[2] = (D) => i.value = D),
353
361
  "compare-type": s.value,
@@ -355,35 +363,29 @@ const se = { class: "fm-typo-en-body-md-600 flex items-center gap-1 flex-1 min-w
355
363
  "show-predefined-range": "",
356
364
  "compare-target": o.value,
357
365
  "default-compare-type": s.value,
358
- onSelectComparison: w
366
+ onSelectComparison: Y
359
367
  }, {
360
- "trigger-button": $(() => [
361
- L(O, {
362
- label: `${g(t)("report.common.compare")}: ${g(_)({
363
- startDate: i.value.startDate ?? null,
364
- endDate: i.value.endDate ?? null,
365
- locale: g(k)()
366
- })}`
367
- }, null, 8, ["label"])
368
+ "trigger-button": E(() => [
369
+ A(U, { label: X.value }, null, 8, ["label"])
368
370
  ]),
369
371
  _: 1
370
- }, 8, ["modelValue", "compare-type", "compare-target", "default-compare-type"])) : p("", !0)
372
+ }, 8, ["modelValue", "compare-type", "compare-target", "default-compare-type"])) : R("", !0)
371
373
  ]);
372
374
  };
373
375
  }
374
376
  });
375
377
  export {
376
- x as C,
377
- Se as _,
378
- ge as a,
379
- le as b,
380
- ve as c,
381
- Ce as d,
382
- Re as e,
383
- O as f,
384
- ce as g,
385
- pe as h,
378
+ C,
379
+ be as _,
380
+ ve as a,
381
+ se as b,
382
+ Ce as c,
383
+ Re as d,
384
+ $e as e,
385
+ U as f,
386
+ ue as g,
387
+ Se as h,
386
388
  _ as i,
387
- he as p,
389
+ pe as p,
388
390
  xe as s
389
391
  };
@@ -1,5 +1,5 @@
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-CfbhtoQk.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-TEMBbfsk.js";
3
3
  import { useBreakpoints as b } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as C } from "pinia";
5
5
  import { u as q, a as w } from "./_plugin-vue_export-helper-onplcgja.js";
@@ -1,7 +1,7 @@
1
1
  import { computed as g, defineComponent as Ae, ref as I, watch as we, onMounted as Nt, onBeforeUnmount as uo, resolveComponent as ce, createBlock as de, openBlock as K, Transition as Eo, withCtx as _e, createElementBlock as le, createCommentVNode as he, createElementVNode as q, unref as i, normalizeStyle as Pe, withModifiers as en, toDisplayString as Te, createVNode as fe, Fragment as Fe, renderList as ct, normalizeClass as Se, nextTick as co, mergeModels as He, useModel as We, renderSlot as et, h as jt, createSlots as Go, resolveDynamicComponent as fo, toRaw as qo, markRaw as jo, createTextVNode as Jo, onUnmounted as mo, withDirectives as Zo, vShow as Qo } from "vue";
2
- import { W as X, w as ea, S as Pt, x as Mt, y as ta, z as pn, A as po, j as na, B as oa, E as aa, F as ra, R as yt, G as la } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DXt8iwzQ.js";
3
- import { i as tn, a as an, u as ho } from "./app-C-wS28fu.js";
4
- import { d as yn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DrRl4Gth.js";
2
+ import { W as X, w as ea, S as Pt, x as Mt, y as ta, z as pn, A as po, j as na, B as oa, E as aa, F as ra, R as yt, G as la } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CUeRxKi0.js";
3
+ import { i as tn, a as an, u as ho } from "./app-Cfjiw1NE.js";
4
+ import { d as yn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BGCM_yPS.js";
5
5
  import { storeToRefs as At } from "pinia";
6
6
  import { detectLocale as In } from "@feedmepos/mf-common";
7
7
  import { C as bn } from "./chart-DDDh8zNk.js";
@@ -3070,7 +3070,7 @@ function il(e, t) {
3070
3070
  const n = ce("FmMenuDivider");
3071
3071
  return K(), de(n);
3072
3072
  }
3073
- const ul = /* @__PURE__ */ go(sl, [["render", il]]), cl = "/assets/processTableData.worker-CvRlKKfk.js", dl = { class: "flex h-full flex-col" }, fl = { class: "my-4 shrink-0" }, ml = {
3073
+ const ul = /* @__PURE__ */ go(sl, [["render", il]]), cl = "/assets/processTableData.worker-CitENa6H.js", dl = { class: "flex h-full flex-col" }, fl = { class: "my-4 shrink-0" }, ml = {
3074
3074
  class: "border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm",
3075
3075
  style: { backgroundColor: "#f9f9f9" }
3076
3076
  }, pl = { class: "font-bold" }, hl = { class: "text-fm-color-neutral-gray-300" }, gl = /* @__PURE__ */ Ae({
@@ -1,6 +1,6 @@
1
1
  import { ref as R0, computed as b1, watch as V1, defineComponent as Ht, mergeModels as rt, useModel as Et, resolveComponent as a1, createElementBlock as g1, openBlock as r1, createVNode as U0, withCtx as _1, createElementVNode as K0, createCommentVNode as Rt, Fragment as _e, renderList as Ct, createBlock as v1, createTextVNode as nt, withDirectives as da, toDisplayString as h1, unref as E0, vShow as za, renderSlot as Hr, normalizeStyle as Oa, normalizeClass as gr, withModifiers as $t } from "vue";
2
- import { c as hr, h as Xr, f as kr, _ as Aa, i as Da } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DrRl4Gth.js";
3
- import { o as fa, j as $a, u as G0, F as Q0, r as e1, p as ya, a as le, b as ma, m as qa, g as ga, d as B0, c as Fe, h as Xt } from "./app-C-wS28fu.js";
2
+ import { c as hr, h as Xr, f as kr, _ as Aa, i as Da } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BGCM_yPS.js";
3
+ import { o as fa, j as $a, u as G0, F as Q0, r as e1, p as ya, a as le, b as ma, m as qa, g as ga, d as B0, c as Fe, h as Xt } from "./app-Cfjiw1NE.js";
4
4
  import { storeToRefs as C0, defineStore as Be } from "pinia";
5
5
  import { useSnackbar as Ur } from "@feedmepos/ui-library";
6
6
  import { u as Yr } from "./_plugin-vue_export-helper-onplcgja.js";
@@ -9023,13 +9023,13 @@ Arguments: [` + M + "]";
9023
9023
  }, t.collectibleTransactionSchema_closure.prototype = {
9024
9024
  call$1(r) {
9025
9025
  var e = null, n = "businessId", a = "collectionId", o = "collectibleId", s = "fromBalance", u = "toBalance", p = "expiredAt", M = "refundedFrom", d = "refunded";
9026
- return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Business ID", n, n, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Collection ID", a, a, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Collectible ID", o, o, e, r), t.Field_Field$string(e, e, !1, !1, !1, "User ID", "userId", "userId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Ref ID", "refId", "refId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Source", "source", "source", e, r), t.Field_Field$numeric(e, e, !1, !1, "Amount", "amount", "amount", e, r), t.Field_Field$numeric(e, e, !1, !1, "From balance", s, s, e, r), t.Field_Field$numeric(e, e, !1, !1, "To balance", u, u, e, r), t.Field_Field$timestamp(e, e, !1, !1, "Expired at", p, p, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund ref ID", M, M, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Campaign ID", "campaignId", "metadata.campaign", "(case when @campaign_id is not null then @campaign_id else (select min(child.id) from campaigns child where child.collectible_id=@collectible_id AND child.type != 'CREDIT') end)", r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$numeric(e, e, !1, !1, "Quantity distributed", "qtyDistributed", e, "case when @amount>=0 and @refunded is not true and @refunded_from is null then @amount else 0 end", r), t.Field_Field$numeric(e, e, !1, !1, "Quantity usage", "qtyUsage", e, "case when @amount<0 and @source!='CYCLE' and @refunded is not true then -@amount else 0 end", r), t.Field_Field$numeric(e, e, !1, !1, "Quantity expired", "qtyExpired", e, "case when @amount<0 and @source='CYCLE' and @refunded is not true then -@amount else 0 end", r), t.Field_Field$string(e, e, !1, !1, !1, "Transaction ID", "transactionId", e, "@doc_id", r), t.Field_Field$string(e, e, !1, !1, !1, "Transformed source", "transformedSource", e, "(case when @source='PORTAL' then 'ADMIN' when @source='BENEFIT' then 'MEMBERSHIP' when @source='CYCLE' then 'EXPIRED' when @source='BILL' then (case when @amount<0 then 'USAGE' when @refunded_from is not null then 'RETURN' else 'DISTRIBUTE' end) else @source end)", r), t.Field_Field$string(e, e, !1, !1, !1, "Credit type", "creditType", e, "case when @expired_at is null then 'NORMAL' else 'FREE' end", r), t.Field_Field$bool(e, e, !0, !1, "Refunded", d, d, e, r)], O.JSArray_Field);
9026
+ return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Business ID", n, n, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Collection ID", a, a, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Collectible ID", o, o, e, r), t.Field_Field$string(e, e, !1, !1, !1, "User ID", "userId", "userId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Ref ID", "refId", "refId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Source", "source", "source", e, r), t.Field_Field$numeric(e, e, !1, !1, "Amount", "amount", "amount", e, r), t.Field_Field$numeric(e, e, !1, !1, "From balance", s, s, e, r), t.Field_Field$numeric(e, e, !1, !1, "To balance", u, u, e, r), t.Field_Field$timestamp(e, e, !1, !1, "Expired at", p, p, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund ref ID", M, M, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Campaign ID", "campaignId", "metadata.campaign", "(case when @campaign_id is not null then @campaign_id else (select min(child.id) from campaigns child where child.collectible_id=@collectible_id AND child.type != 'CREDIT') end)", r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$numeric(e, e, !1, !1, "Quantity distributed", "qtyDistributed", e, "case when @amount>=0 and @refunded is not true and @refunded_from is null then @amount else 0 end", r), t.Field_Field$numeric(e, e, !1, !1, "Quantity usage", "qtyUsage", e, "case when @amount<0 and @source!='CYCLE' and @refunded is not true then -@amount else 0 end", r), t.Field_Field$numeric(e, e, !1, !1, "Quantity expired", "qtyExpired", e, "case when @amount<0 and @source='CYCLE' and @refunded is not true then -@amount else 0 end", r), t.Field_Field$string(e, e, !1, !1, !1, "Transaction ID", "transactionId", e, "@doc_id", r), t.Field_Field$string(e, e, !1, !1, !1, "Transformed source", "transformedSource", e, "(case when @source='PORTAL' then 'ADMIN' when @source='BENEFIT' then 'MEMBERSHIP' when @source='CYCLE' then 'EXPIRED' when @source='BILL' then (case when @amount<0 then 'USAGE' when @refunded_from is not null then 'RETURN' else 'DISTRIBUTE' end) else @source end)", r), t.Field_Field$string(e, e, !1, !1, !1, "Credit type", "creditType", e, "case when @expired_at is null then 'NORMAL' else 'FREE' end", r), t.Field_Field$bool(e, e, !0, !1, "Refunded", d, d, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Location ID", "locationId", "metadata.location", e, r)], O.JSArray_Field);
9027
9027
  },
9028
9028
  $signature: 0
9029
9029
  }, t.collectibleTransactionSchema_closure0.prototype = {
9030
9030
  call$1(r) {
9031
9031
  var e = "id", n = "businessId", a = null, o = O.JSArray_String, s = O.JSArray_JoinCondition;
9032
- return t._setArrayType([new t.Join(l.SCHEMA_NAME_2, t._setArrayType([new t.JoinCondition(e, t._setArrayType(["businessId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_0, t._setArrayType([new t.JoinCondition(e, t._setArrayType(["refId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_63, t._setArrayType([new t.JoinCondition(e, t._setArrayType(["collectibleId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_68, t._setArrayType([new t.JoinCondition(e, t._setArrayType(["collectionId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_62, t._setArrayType([new t.JoinCondition(n, t._setArrayType(["businessId"], o), l.COMPARISON_OPERATOR_0, a), new t.JoinCondition(e, t._setArrayType(["campaignId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_43, t._setArrayType([new t.JoinCondition(n, t._setArrayType(["businessId"], o), l.COMPARISON_OPERATOR_0, a), new t.JoinCondition(e, t._setArrayType(["userId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_66, t._setArrayType([new t.JoinCondition(n, t._setArrayType(["businessId"], o), l.COMPARISON_OPERATOR_0, a), new t.JoinCondition(e, t._setArrayType(["refId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a)], O.JSArray_Join);
9032
+ return t._setArrayType([new t.Join(l.SCHEMA_NAME_2, t._setArrayType([new t.JoinCondition(e, t._setArrayType(["businessId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_0, t._setArrayType([new t.JoinCondition(e, t._setArrayType(["refId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_63, t._setArrayType([new t.JoinCondition(e, t._setArrayType(["collectibleId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_68, t._setArrayType([new t.JoinCondition(e, t._setArrayType(["collectionId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_62, t._setArrayType([new t.JoinCondition(n, t._setArrayType(["businessId"], o), l.COMPARISON_OPERATOR_0, a), new t.JoinCondition(e, t._setArrayType(["campaignId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_43, t._setArrayType([new t.JoinCondition(n, t._setArrayType(["businessId"], o), l.COMPARISON_OPERATOR_0, a), new t.JoinCondition(e, t._setArrayType(["userId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_66, t._setArrayType([new t.JoinCondition(n, t._setArrayType(["businessId"], o), l.COMPARISON_OPERATOR_0, a), new t.JoinCondition(e, t._setArrayType(["refId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a), new t.Join(l.SCHEMA_NAME_14, t._setArrayType([new t.JoinCondition(e, t._setArrayType(["locationId"], o), l.COMPARISON_OPERATOR_0, a)], s), !1, r, a)], O.JSArray_Join);
9033
9033
  },
9034
9034
  $signature: 1
9035
9035
  }, t.completeTimeBillSchema_closure.prototype = {
@@ -25022,7 +25022,7 @@ const Pl = "mf-reportreport-store", me = Be(Pl, () => {
25022
25022
  };
25023
25023
  });
25024
25024
  var Gn = /* @__PURE__ */ ((c) => (c.generating = "GENERATING", c.completed = "COMPLETED", c.failed = "FAILED", c.canceled = "CANCELLED", c))(Gn || {});
25025
- const Jl = "/assets/formatChartData.worker-geUKveyE.js", Tt = /* @__PURE__ */ new Map();
25025
+ const Jl = "/assets/formatChartData.worker-0xi0L7s_.js", Tt = /* @__PURE__ */ new Map();
25026
25026
  function wr(c) {
25027
25027
  return new Worker(c, { type: "module" });
25028
25028
  }
@@ -1,13 +1,13 @@
1
1
  import { ref as B, defineComponent as S, watch as T, computed as _, onMounted as le, createElementBlock as d, openBlock as a, createElementVNode as o, renderSlot as H, toDisplayString as w, resolveDirective as X, createCommentVNode as A, Fragment as z, renderList as P, createBlock as V, withDirectives as M, resolveDynamicComponent as N, unref as m, withCtx as I, createVNode as y, normalizeClass as L, resolveComponent as R, useModel as oe, createTextVNode as ae, isRef as j, nextTick as se } from "vue";
2
- import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-BHk0xZlA.js";
3
- import { c as Y, _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DrRl4Gth.js";
4
- import { d as W, u as G, F as O, q as J, a as re } from "./app-C-wS28fu.js";
2
+ import { _ as ne } from "./Default.vue_vue_type_script_setup_true_lang-BXT9Ef5R.js";
3
+ import { c as Y, _ as ie } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BGCM_yPS.js";
4
+ import { d as W, u as G, F as O, q as J, a as re } from "./app-Cfjiw1NE.js";
5
5
  import { storeToRefs as K } from "pinia";
6
6
  import { C as Q, r as de } from "./chart-DDDh8zNk.js";
7
7
  import { components as E, useSnackbar as ce } from "@feedmepos/ui-library";
8
8
  import { u as ee } from "./_plugin-vue_export-helper-onplcgja.js";
9
9
  import { _ as ue } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
10
- import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CfbhtoQk.js";
10
+ import { a as fe, G as me } from "./NavigationTab.vue_vue_type_script_setup_true_lang-TEMBbfsk.js";
11
11
  import { useCoreStore as ge } from "@feedmepos/mf-common";
12
12
  function pe({ start: e, end: t }) {
13
13
  return `${W(t).format("DD MMM")}, ${W(t).format("YYYY")}`;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as se, mergeModels as fe, useModel as re, computed as G, resolveComponent as F, createElementBlock as j, openBlock as w, createElementVNode as t, createCommentVNode as q, normalizeClass as Je, Fragment as Ie, renderList as We, createBlock as Q, normalizeStyle as Ze, createVNode as l, withCtx as ke, renderSlot as pt, toDisplayString as S, unref as s, h as C, createTextVNode as mt, ref as Z, onUnmounted as Pe, watch as Ae, isRef as Te, resolveDynamicComponent as Re, mergeProps as tt, withKeys as rt, withModifiers as ut, nextTick as ct, onMounted as nt } from "vue";
2
2
  import { useRouter as Ce, useRoute as ft } from "vue-router";
3
- import { A as he, y as et, d as Ve, z as gt, e as Ke, a as Se, B as me, E as vt, l as yt, v as ne, x as je, G as Le, H as Me, J as Oe, K as ot, L as xt, M as bt, N as wt, O as at, b as st, P as ht, Q as _t, m as Ct, I as Ne, R as kt, S as St, T as $t } from "./app-C-wS28fu.js";
3
+ import { A as he, y as et, d as Ve, z as gt, e as Ke, a as Se, B as me, E as vt, l as yt, v as ne, x as je, G as Le, H as Me, J as Oe, K as ot, L as xt, M as bt, N as wt, O as at, b as st, P as ht, Q as _t, m as Ct, I as Ne, R as kt, S as St, T as $t } from "./app-Cfjiw1NE.js";
4
4
  import { u as de, a as Ee, _ as Dt } from "./_plugin-vue_export-helper-onplcgja.js";
5
5
  import { u as Be } from "./message-dialog-UoMWOnil.js";
6
6
  import { useSnackbar as $e } from "@feedmepos/ui-library";
7
- import { s as it, _ as Ye } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DrRl4Gth.js";
8
- import { u as Ue, h as _e } from "./useRestaurantPermission-C2jBdSMK.js";
7
+ import { s as it, _ as Ye } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BGCM_yPS.js";
8
+ import { u as Ue, h as _e } from "./useRestaurantPermission-CH3lUNEE.js";
9
9
  import { storeToRefs as qe } from "pinia";
10
10
  const At = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, Vt = { class: "w-[100%] overflow-hidden" }, Ft = { class: "inline-flex max-w-full items-center gap-2 align-top" }, It = { class: "text-nowrap min-w-0 overflow-hidden text-ellipsis font-semibold" }, Kt = {
11
11
  key: 0,