@feedmepos/mf-report 5.27.35 → 5.27.36

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 (32) hide show
  1. package/dist/{App-4_GHdc0c.js → App-CHT3iF-7.js} +4 -4
  2. package/dist/{DateRangeSelect-Cvxqh6KE.js → DateRangeSelect-D2772bgT.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-FvTBswXI.js → Default.vue_vue_type_script_setup_true_lang-CArSG8Z_.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-PhthswCX.js → DynamicWidget.vue_vue_type_script_setup_true_lang-RABMoQ3F.js} +949 -879
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CoI3PFYF.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DzZP-ANz.js} +3886 -3841
  6. package/dist/InsightView-KYbGpFKj.js +689 -0
  7. package/dist/{Integration-BmtzVBU8.js → Integration-CocbSCYz.js} +3 -3
  8. package/dist/{Integrations-FKTHYjkY.js → Integrations-DaKi0pnt.js} +2 -2
  9. package/dist/{Layout-Dn9c-gMi.js → Layout-p1hYeFa3.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-H1iroFEV.js → MenuTab.vue_vue_type_script_setup_true_lang-DG-9RjS_.js} +49 -46
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-cPTLcF06.js → NavigationTab.vue_vue_type_script_setup_true_lang-By2GxyK2.js} +3 -3
  12. package/dist/{OverviewView-DQs-PWBo.js → OverviewView-CfmhSHLj.js} +4 -4
  13. package/dist/{Report-gLUTNmHm.js → Report-tUyaWEtI.js} +3 -3
  14. package/dist/ReportEditor-BUXYZXMs.js +2032 -0
  15. package/dist/ReportView-BwrLb4jX.js +331 -0
  16. package/dist/{Setting-zldr38s7.js → Setting-DApgIt2e.js} +11 -11
  17. package/dist/{Template-nAGq9Il6.js → Template-Cte2kk4J.js} +3 -3
  18. package/dist/TileEditor-DPUludYa.js +4154 -0
  19. package/dist/TileGrid.vue_vue_type_script_setup_true_lang-CC-xGpBd.js +257 -0
  20. package/dist/{TransitionFade-Cq7jxuTO.js → TransitionFade-DszPGM-J.js} +4 -4
  21. package/dist/{app-L5Gs2RN0.js → app-CwM9HM2R.js} +3577 -3371
  22. package/dist/app.js +1 -1
  23. package/dist/assets/{formatChartData.worker-GhwszhPe.js → formatChartData.worker-Ci7ZpIYk.js} +6 -6
  24. package/dist/assets/{processTableData.worker-C4hgpe0l.js → processTableData.worker-C2Ubh_e0.js} +6 -6
  25. package/dist/style.css +1 -1
  26. package/dist/{useRestaurantPermission-D9GFgNLW.js → useRestaurantPermission-BQ0MKNOz.js} +1 -1
  27. package/package.json +2 -2
  28. package/dist/InsightView-D8Jpwge7.js +0 -664
  29. package/dist/ReportEditor-kp63cCQT.js +0 -1831
  30. package/dist/ReportView-0m23WbFa.js +0 -311
  31. package/dist/TileEditor-CcwBUuaS.js +0 -4093
  32. package/dist/TileGrid.vue_vue_type_script_setup_true_lang-707n8i-y.js +0 -154
@@ -0,0 +1,331 @@
1
+ import { defineComponent as V, computed as i, createBlock as S, openBlock as f, withCtx as h, renderSlot as ie, ref as ue, watch as ce, resolveComponent as j, createVNode as _, createElementVNode as R, unref as l, toDisplayString as pe, normalizeStyle as me, normalizeClass as F, createElementBlock as de } from "vue";
2
+ import { _ as ve } from "./MenuTab.vue_vue_type_script_setup_true_lang-DG-9RjS_.js";
3
+ import { _ as fe } from "./TileGrid.vue_vue_type_script_setup_true_lang-CC-xGpBd.js";
4
+ import { u as ye, l as ge, s as be } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DzZP-ANz.js";
5
+ import { useRouter as _e, useRoute as we } from "vue-router";
6
+ import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-CArSG8Z_.js";
7
+ import { storeToRefs as w } from "pinia";
8
+ import { b as he, c as Ce, u as xe, g as Te } from "./NavigationTab.vue_vue_type_script_setup_true_lang-By2GxyK2.js";
9
+ import { _ as z } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
10
+ import { useSnackbar as ke, useBreakpoints as Re } from "@feedmepos/ui-library";
11
+ import { u as L, a as Pe, _ as De } from "./_plugin-vue_export-helper-onplcgja.js";
12
+ import { u as Ie } from "./message-dialog-UoMWOnil.js";
13
+ import { e as Oe, h as $e } from "./app-CwM9HM2R.js";
14
+ import { r as Ae } from "./i18n-CI_sQ5d_.js";
15
+ const Ee = /* @__PURE__ */ V({
16
+ __name: "NoPermission",
17
+ props: {
18
+ title: { default: "report.messages.noPermission" },
19
+ subTitle: { default: "report.messages.noPermissionPageAccess" }
20
+ },
21
+ setup(P) {
22
+ const e = P, { t: y } = L(), d = i(() => y(e.title)), p = i(() => y(e.subTitle));
23
+ return (r, C) => (f(), S(z, {
24
+ title: d.value,
25
+ "sub-title": p.value
26
+ }, {
27
+ menu: h(() => [
28
+ ie(r.$slots, "menu")
29
+ ]),
30
+ _: 3
31
+ }, 8, ["title", "sub-title"]));
32
+ }
33
+ }), Ne = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-hidden text-ellipsis whitespace-nowrap" }, Je = { class: "sticky top-0 z-10 bg-white" }, Be = /* @__PURE__ */ V({
34
+ __name: "ReportView",
35
+ setup(P) {
36
+ const { t: e, te: y } = L(), d = _e(), p = we(), r = ke(), { promptMessage: C } = Ie(), m = ye(), D = he(), { promptLoader: g } = Pe(), { breakpoints: u } = Re(), { isOpenAccountingDialog: U } = w(Ce()), { isOpenScheduleDialog: I } = w(xe()), { disabled: O } = w(Oe()), $ = ue(null), A = i(
37
+ () => {
38
+ var a;
39
+ return ((a = $.value) == null ? void 0 : a.reportId) === c.value;
40
+ }
41
+ ), H = i(() => {
42
+ var a;
43
+ return !!((a = o.value) != null && a.isSupportPos);
44
+ }), {
45
+ currentReport: o,
46
+ overviewReport: M,
47
+ currentReportId: c,
48
+ isOpenDownloadDialog: W,
49
+ isOpenEmailDialog: Y,
50
+ editingReport: G,
51
+ canCreateCustomReport: Q,
52
+ customReportQuota: E
53
+ } = w(m), { canRead: K, canUpdate: X, canDuplicate: Z, isAdmin: ee } = $e(), b = i(() => o.value ? K(o.value) : !0), x = i(
54
+ () => b.value && ee.value && !!o.value && !o.value.isDefault
55
+ );
56
+ ce(
57
+ () => c.value,
58
+ async () => $.value = await Te(c.value),
59
+ { immediate: !0 }
60
+ );
61
+ const oe = i(() => {
62
+ var s;
63
+ if (!b.value) return [];
64
+ const a = c.value === ((s = M.value) == null ? void 0 : s.id), t = [
65
+ {
66
+ icon: "mail",
67
+ label: e("report.common.emailSchedule"),
68
+ onClick: () => {
69
+ I.value = !0;
70
+ }
71
+ },
72
+ {
73
+ icon: "article",
74
+ label: e(a ? "report.common.unsetAsOverview" : "report.common.setAsOverview"),
75
+ onClick: async () => {
76
+ await g(async () => {
77
+ if (o.value)
78
+ try {
79
+ await m.updateDefaultReport(a ? null : o.value.id), r.open({
80
+ message: `Successfully ${a ? "unset" : "set"} ${o.value.name} as Overview`,
81
+ type: "success"
82
+ });
83
+ } catch (v) {
84
+ r.open({ message: JSON.stringify(v), type: "error" });
85
+ }
86
+ });
87
+ }
88
+ },
89
+ {
90
+ icon: "content_copy",
91
+ label: e("report.common.copyID"),
92
+ onClick: () => {
93
+ o.value && (navigator.clipboard.writeText(c.value), r.open({ message: e("report.messages.copiedReportIdToClipboard"), type: "success" }));
94
+ }
95
+ },
96
+ {
97
+ icon: "report_jobs",
98
+ label: e("report.common.reportStatus"),
99
+ onClick: () => {
100
+ N();
101
+ }
102
+ }
103
+ ];
104
+ return !O.value && A.value && t.splice(1, 0, {
105
+ icon: "download",
106
+ label: e("report.common.accountingExport"),
107
+ onClick: B
108
+ }), x.value && t.splice(t.length - 1, 0, {
109
+ icon: "library_add",
110
+ label: e("report.common.copyToTemplate"),
111
+ onClick: () => {
112
+ J();
113
+ }
114
+ }), t;
115
+ });
116
+ async function N() {
117
+ D.isOpenJobDialog = !0, await D.getJobs();
118
+ }
119
+ function te() {
120
+ if (!o.value || !X(o.value)) {
121
+ r.open({
122
+ message: e("report.messages.noPermissionUpdateReport"),
123
+ type: "error"
124
+ });
125
+ return;
126
+ }
127
+ G.value = JSON.parse(JSON.stringify(o.value)), d.push({
128
+ name: "reportEditor",
129
+ query: p.query
130
+ });
131
+ }
132
+ async function ae() {
133
+ if (!o.value || !Z(o.value)) {
134
+ r.open({
135
+ message: e("report.messages.noPermissionDuplicateReport"),
136
+ type: "error"
137
+ });
138
+ return;
139
+ }
140
+ if (!Q.value) {
141
+ let t = `Your current plan only support up to ${E.value} custom reports.`;
142
+ E.value === 0 && (t = "Your current plan does not support custom report."), r.open({
143
+ message: t,
144
+ type: "error"
145
+ });
146
+ return;
147
+ }
148
+ if (!o.value) {
149
+ r.open({ message: "No Widget", type: "error" });
150
+ return;
151
+ }
152
+ if (await C({
153
+ title: `${e("report.messages.duplicateReport")}`,
154
+ message: e("report.messages.confirmAction", {
155
+ action: e("report.common.duplicate"),
156
+ name: o.value.name
157
+ })
158
+ }) && o.value) {
159
+ const t = JSON.parse(JSON.stringify(o.value));
160
+ t.editable = !0, t.id = "", t.name = `${t.name} duplicate`, t.isDefault = !1;
161
+ try {
162
+ await g(async () => {
163
+ const s = await m.createOrUpdateReport(t);
164
+ m.updateCurrentReportId(s.id), d.push({
165
+ name: "reportView",
166
+ params: p.params,
167
+ query: p.query
168
+ });
169
+ });
170
+ } catch (s) {
171
+ console.log(s), r.open({ message: "Failed to clone report", type: "error" });
172
+ }
173
+ }
174
+ }
175
+ async function J() {
176
+ var t;
177
+ if (!x.value) {
178
+ r.open({
179
+ message: e("report.messages.noPermission"),
180
+ type: "error"
181
+ });
182
+ return;
183
+ }
184
+ if (!o.value) {
185
+ r.open({ message: "No Widget", type: "error" });
186
+ return;
187
+ }
188
+ if (await C({
189
+ title: `${e("report.common.copyToTemplate")}`,
190
+ message: e("report.messages.confirmAction", {
191
+ action: e("report.common.copyToTemplate"),
192
+ name: (t = o == null ? void 0 : o.value) == null ? void 0 : t.name
193
+ })
194
+ }))
195
+ try {
196
+ await g(async () => {
197
+ var s;
198
+ await m.createReportTemplate(o.value), r.open({
199
+ message: e("report.messages.copyTemplateSuccess", { name: (s = o.value) == null ? void 0 : s.name }),
200
+ type: "success"
201
+ });
202
+ });
203
+ } catch (s) {
204
+ console.log(s), r.open({
205
+ message: e("report.messages.failedToAction", { action: e("report.common.copyToTemplate") }),
206
+ type: "error"
207
+ });
208
+ }
209
+ }
210
+ function B() {
211
+ U.value = !0;
212
+ }
213
+ function re() {
214
+ o.value && (navigator.clipboard.writeText(c.value), r.open({ message: "Copied report ID to clipboard", type: "success" }));
215
+ }
216
+ async function se() {
217
+ if (o.value)
218
+ try {
219
+ await g(async () => {
220
+ await be(c.value, !H.value), await m.getReports();
221
+ });
222
+ } catch (a) {
223
+ console.log(a), r.open({
224
+ message: e("report.messages.failedToAction", { action: e("report.common.update") }),
225
+ type: "error"
226
+ });
227
+ }
228
+ }
229
+ const T = i(() => o.value ? o.value.tiles : []), le = i(() => ge(T.value)), ne = i(() => {
230
+ var s;
231
+ if (!b.value) return [];
232
+ let t = [
233
+ // TODO: In future once decided to support report showing configuration for POS,
234
+ // uncomment this:
235
+ // {
236
+ // label: t("report.common.showInPOS"),
237
+ // value: "show_in_pos",
238
+ // isPrimary: false,
239
+ // appendIcon: isCurrentReportShownInPOS.value
240
+ // ? "radio_button_checked"
241
+ // : "radio_button_unchecked"
242
+ // },
243
+ !!((s = o.value) != null && s.editable) ? { label: e("report.common.edit"), value: "edit", isPrimary: !1 } : {
244
+ label: e("report.common.duplicate"),
245
+ value: "duplicate",
246
+ isPrimary: !1
247
+ },
248
+ {
249
+ label: e("report.common.download"),
250
+ value: "download",
251
+ isPrimary: !0,
252
+ prependIcon: "download"
253
+ },
254
+ { label: e("report.schedule.sendEmail"), value: "email", isPrimary: !0 }
255
+ ];
256
+ return u.value.xs && (t = [
257
+ ...t,
258
+ { label: e("report.schedule.sendEmail"), value: "email", isPrimary: !1 },
259
+ { label: e("report.common.reportStatus"), value: "report_jobs", isPrimary: !1 },
260
+ { label: e("report.common.emailSchedule"), value: "schedule_email", isPrimary: !1 },
261
+ { label: e("report.common.copyID"), value: "content_copy", isPrimary: !1 }
262
+ ], x.value && t.push({
263
+ label: e("report.common.copyToTemplate"),
264
+ value: "copy_to_template",
265
+ isPrimary: !1
266
+ }), !O.value && A.value && t.push({ label: e("report.common.accountingExport"), value: "export", isPrimary: !1 }), t = t.filter((v) => v.value !== "edit")), t;
267
+ }), k = i(() => {
268
+ var a;
269
+ return Ae(e, y, (a = o == null ? void 0 : o.value) == null ? void 0 : a.name, "other");
270
+ });
271
+ return (a, t) => {
272
+ const s = j("FmTooltip"), v = j("FmPageHead");
273
+ return f(), S(Se, null, {
274
+ default: h(() => {
275
+ var q;
276
+ return [
277
+ _(v, {
278
+ title: k.value,
279
+ "back-button": !0,
280
+ actions: ne.value,
281
+ class: "remove-line-clamping",
282
+ "onClick:back": t[0] || (t[0] = (n) => l(d).push({ name: "reports", query: l(p).query })),
283
+ "onClick:action": t[1] || (t[1] = (n) => {
284
+ n === "show_in_pos" && se(), n === "duplicate" && ae(), n === "download" && (W.value = !0), n === "email" && (Y.value = !0), n === "edit" && te(), n === "schedule_email" && (I.value = !0), n === "content_copy" && re(), n === "copy_to_template" && J(), n === "export" && B(), n === "report_jobs" && N();
285
+ })
286
+ }, {
287
+ title: h(() => [
288
+ _(s, {
289
+ content: k.value,
290
+ placement: "bottom",
291
+ "z-index": 2e3,
292
+ class: "flex min-w-0 max-w-full justify-start"
293
+ }, {
294
+ default: h(() => [
295
+ R("p", Ne, pe(k.value), 1)
296
+ ]),
297
+ _: 1
298
+ }, 8, ["content"])
299
+ ]),
300
+ _: 1
301
+ }, 8, ["title", "actions"]),
302
+ R("div", {
303
+ class: F(`flex flex-col overflow-y-auto ${l(u).xs || l(u).sm ? "pb-20" : ""}`),
304
+ style: me({ height: `calc(100% - ${l(u).lg || l(u).md ? 72 : 64}px)` })
305
+ }, [
306
+ R("div", Je, [
307
+ _(ve, {
308
+ "model-value": l(u).lg || l(u).md ? oe.value : []
309
+ }, null, 8, ["model-value"])
310
+ ]),
311
+ l(o) && !b.value ? (f(), S(Ee, { key: 0 })) : l(o) && ((q = T.value) == null ? void 0 : q.length) > 0 ? (f(), de("div", {
312
+ key: 1,
313
+ class: F(["grid grid-cols-12", l(u).sm || l(u).xs ? "px-3 gap-[16px]" : "px-24 gap-[24px]"])
314
+ }, [
315
+ _(fe, {
316
+ tiles: T.value,
317
+ "report-id": l(c),
318
+ "leaf-index-by-id": le.value
319
+ }, null, 8, ["tiles", "report-id", "leaf-index-by-id"])
320
+ ], 2)) : (f(), S(z, { key: 2 }))
321
+ ], 6)
322
+ ];
323
+ }),
324
+ _: 1
325
+ });
326
+ };
327
+ }
328
+ }), Xe = /* @__PURE__ */ De(Be, [["__scopeId", "data-v-cf9709d9"]]);
329
+ export {
330
+ Xe as default
331
+ };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as B, ref as H, useModel as M, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as P, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as A, renderList as G, createTextVNode as ie, withDirectives as K, vShow as Q, watch as me, normalizeStyle as ue } from "vue";
2
- import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-FvTBswXI.js";
3
- import { d as L, C as q, D as pe, a as ce } from "./app-L5Gs2RN0.js";
2
+ import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-CArSG8Z_.js";
3
+ import { d as J, C as q, D as pe, a as ce } from "./app-CwM9HM2R.js";
4
4
  import { components as z, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as I } from "@feedmepos/ui-library";
5
- import { H as N, J as fe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CoI3PFYF.js";
5
+ import { K as N, L as fe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DzZP-ANz.js";
6
6
  import { u as ve } from "./message-dialog-UoMWOnil.js";
7
7
  import { u as U } from "./_plugin-vue_export-helper-onplcgja.js";
8
8
  import { detectLocale as F } from "@feedmepos/mf-common";
@@ -29,7 +29,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
29
29
  }, R = () => {
30
30
  var v;
31
31
  (v = n.value) == null || v.validateInputs();
32
- }, J = () => {
32
+ }, L = () => {
33
33
  o.value = !1, r.value = l;
34
34
  }, Z = (v) => {
35
35
  p.value = v, r.value = JSON.parse(JSON.stringify(m.value[p.value])), o.value = !0;
@@ -83,7 +83,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
83
83
  a(f, {
84
84
  label: "Cancel",
85
85
  variant: "tertiary",
86
- onClick: J
86
+ onClick: L
87
87
  })
88
88
  ])
89
89
  ]),
@@ -97,7 +97,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
97
97
  a(f, {
98
98
  label: "Cancel",
99
99
  variant: "tertiary",
100
- onClick: J
100
+ onClick: L
101
101
  })
102
102
  ])
103
103
  ]),
@@ -119,7 +119,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
119
119
  rules: [(g) => g !== "" || e(u)("report.setting.reportHour.cannotBeEmpty")]
120
120
  }, null, 8, ["modelValue", "label", "placeholder", "rules"]),
121
121
  a(C, {
122
- "model-value": e(L)().hour(((_ = r.value.startTime) == null ? void 0 : _.hour) ?? 0).minute(((V = r.value.startTime) == null ? void 0 : V.minute) ?? 0).locale(e(F)()).format("HH:mm"),
122
+ "model-value": e(J)().hour(((_ = r.value.startTime) == null ? void 0 : _.hour) ?? 0).minute(((V = r.value.startTime) == null ? void 0 : V.minute) ?? 0).locale(e(F)()).format("HH:mm"),
123
123
  class: "grow",
124
124
  label: e(u)("report.setting.reportHour.startTime"),
125
125
  "onUpdate:modelValue": i[1] || (i[1] = (g) => {
@@ -127,7 +127,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
127
127
  })
128
128
  }, null, 8, ["model-value", "label"]),
129
129
  a(C, {
130
- "model-value": e(L)().hour(((S = r.value.endTime) == null ? void 0 : S.hour) ?? 0).minute(((j = r.value.endTime) == null ? void 0 : j.minute) ?? 0).format("HH:mm"),
130
+ "model-value": e(J)().hour(((S = r.value.endTime) == null ? void 0 : S.hour) ?? 0).minute(((j = r.value.endTime) == null ? void 0 : j.minute) ?? 0).format("HH:mm"),
131
131
  class: "grow",
132
132
  label: e(u)("report.setting.reportHour.closeTime"),
133
133
  "onUpdate:modelValue": i[2] || (i[2] = (g) => {
@@ -252,7 +252,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
252
252
  }, null, 8, ["modelValue", "label", "items"])
253
253
  ]));
254
254
  }
255
- }), Be = { class: "w-2/4" }, Ue = { class: "fm-typo-en-title-sm-600" }, Ee = { class: "text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-lg-600" }, Me = { class: "text-fm-color-typo-secondary" }, Je = { class: "fm-typo-en-body-lg-600" }, je = { class: "text-fm-color-typo-secondary" }, Le = { class: "fm-typo-en-body-lg-600" }, Ze = /* @__PURE__ */ B({
255
+ }), Be = { class: "w-2/4" }, Ue = { class: "fm-typo-en-title-sm-600" }, Ee = { class: "text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-lg-600" }, Me = { class: "text-fm-color-typo-secondary" }, Le = { class: "fm-typo-en-body-lg-600" }, je = { class: "text-fm-color-typo-secondary" }, Je = { class: "fm-typo-en-body-lg-600" }, Ze = /* @__PURE__ */ B({
256
256
  __name: "Setting",
257
257
  setup(D) {
258
258
  const { breakpoints: o } = X(), p = ce(), { defaultDateSetting: l } = _e(p), c = W(), { t: n } = U();
@@ -306,9 +306,9 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
306
306
  t("p", Pe, s(d.name) + s(d.isDefault ? `(${e(n)("report.setting.reportHour.default")})` : "") + " " + s(e(N)(d.startTime, e(F)())) + " " + s(e(N)(d.endTime, e(F)())) + " " + s(e(fe)(d.startTime, d.endTime)), 1)
307
307
  ]))), 128)),
308
308
  t("p", Me, s(e(n)("report.setting.summary.defaultDateRange")), 1),
309
- t("p", Je, s(e(n)(`report.date.${e(l).defaultDateRange}`)), 1),
309
+ t("p", Le, s(e(n)(`report.date.${e(l).defaultDateRange}`)), 1),
310
310
  t("p", je, s(e(n)("report.setting.summary.comparisonDateRange")), 1),
311
- t("p", Le, s(e(n)(`report.compare.${e(l).defaultCompareType}`)), 1)
311
+ t("p", Je, s(e(n)(`report.compare.${e(l).defaultCompareType}`)), 1)
312
312
  ]),
313
313
  _: 1
314
314
  }, 8, ["class"])
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as re, computed as p, resolveComponent as g, createElementBlock as H, openBlock as _, renderSlot as Te, createVNode as n, withCtx as s, createCommentVNode as ne, createElementVNode as m, toDisplayString as y, ref as b, h as v, onMounted as Ce, createBlock as z, unref as l, normalizeStyle as ke, normalizeClass as T, withDirectives as te, Fragment as Fe, renderList as Le, withModifiers as oe, vShow as le } from "vue";
2
2
  import { a as Ve } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
3
3
  import { u as se, a as $e } from "./_plugin-vue_export-helper-onplcgja.js";
4
- import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-FvTBswXI.js";
4
+ import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-CArSG8Z_.js";
5
5
  import { u as Re } from "./message-dialog-UoMWOnil.js";
6
- import { u as Pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CoI3PFYF.js";
6
+ import { u as Pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DzZP-ANz.js";
7
7
  import { r as ae } from "./i18n-CI_sQ5d_.js";
8
8
  import { useBreakpoints as ze, useSnackbar as De, components as Ie, FmButtonColorThemeVariant as Ne } from "@feedmepos/ui-library";
9
9
  import { useRouter as Oe, useRoute as Be } from "vue-router";
10
10
  import { storeToRefs as Ee } from "pinia";
11
- import { h as Ke } from "./app-L5Gs2RN0.js";
11
+ import { h as Ke } from "./app-CwM9HM2R.js";
12
12
  const Me = { class: "flex flex-col h-full" }, Ue = ["src"], je = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Ae = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, He = /* @__PURE__ */ re({
13
13
  __name: "NoTemplate",
14
14
  props: {