@feedmepos/mf-report 5.33.3 → 5.34.1-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 (46) hide show
  1. package/dist/{App-BgRqim5d.js → App-BdSGNJ3L.js} +114 -113
  2. package/dist/{DateRangeSelect-XyU5XG5c.js → DateRangeSelect-Cre6UJLD.js} +67 -67
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CC7fE3F8.js → Default.vue_vue_type_script_setup_true_lang-CvM5oewZ.js} +3 -3
  4. package/dist/DigestListView-BuB4JOlT.js +876 -0
  5. package/dist/{DigestReaderView-DSNoAESE.js → DigestReaderView-DdpTY1Ax.js} +63 -63
  6. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CsDiXGUk.js → DynamicWidget.vue_vue_type_script_setup_true_lang-4qBcakJs.js} +733 -733
  7. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-D7Rsh-uY.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BL3kxHFR.js} +526 -526
  8. package/dist/{InsightView-CF8mQJha.js → InsightView-CZOStmyJ.js} +88 -88
  9. package/dist/{Integration-QMdYwTwW.js → Integration-BC-DWRpD.js} +1983 -1967
  10. package/dist/{Integrations-Dbx1ScOv.js → Integrations-ibKrdipe.js} +10 -10
  11. package/dist/{Layout-CgiplBHM.js → Layout-D0W7xdty.js} +3 -3
  12. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-zW8JA7j3.js → LocationSelect.vue_vue_type_script_setup_true_lang-CJCSJkT_.js} +306 -306
  13. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-B0q9V1x8.js → MenuTab.vue_vue_type_script_setup_true_lang-DnPC8AcN.js} +6 -6
  14. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BVWZ8vTw.js → NavigationTab.vue_vue_type_script_setup_true_lang-CKaMBQka.js} +12784 -11760
  15. package/dist/{OverviewView-BbZ8WkLb.js → OverviewView-AOwgvPBq.js} +7 -7
  16. package/dist/{Report-BYi0pPZs.js → Report-Bs5sy1OF.js} +12 -12
  17. package/dist/{ReportCanvasView-CfFtVomc.js → ReportCanvasView-CYai96pI.js} +426 -426
  18. package/dist/{ReportEditor-BLEkGUVR.js → ReportEditor-BbsLe4B7.js} +32 -32
  19. package/dist/{ReportView-TG78Krm2.js → ReportView-B5Fqspyn.js} +13 -13
  20. package/dist/{ReportViewRoute-BUADf4Cr.js → ReportViewRoute-D2wI79x9.js} +5 -5
  21. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js +137 -0
  22. package/dist/{Setting-Curkhv9_.js → Setting-DdYXi5qR.js} +6 -6
  23. package/dist/{Template-BN_ds698.js → Template-YEa1E6oz.js} +80 -80
  24. package/dist/{TileEditor-Cfb0uXGr.js → TileEditor-CnmEhIab.js} +1566 -1566
  25. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-1FKwWbpC.js → TilePageStack.vue_vue_type_script_setup_true_lang-CqWXV57r.js} +82 -82
  26. package/dist/{TransitionFade-D0_ZoB-O.js → TransitionFade-BmItOXFf.js} +170 -170
  27. package/dist/{XeroRedirect-CuTrP62C.js → XeroRedirect-D4sHbZe7.js} +3 -3
  28. package/dist/_plugin-vue_export-helper-Bx7s49ra.js +2828 -0
  29. package/dist/{app-LKjvcmXa.js → app-BmNusIzI.js} +5688 -13890
  30. package/dist/app.js +1 -1
  31. package/dist/assets/{formatChartData.worker-DvK7K5ca.js → formatChartData.worker-Cpgnh20a.js} +62 -62
  32. package/dist/assets/{processTableData.worker-C3l4iUXL.js → processTableData.worker-B7I6PElJ.js} +64 -64
  33. package/dist/{chart-BywXiz4O.js → chart-DU0N9V2o.js} +7 -4
  34. package/dist/currency-DAk-bsf8.js +12 -0
  35. package/dist/index-6T_rmIM_.js +24722 -0
  36. package/dist/{report-Ci2ElGpp.js → report-NKl3Yb5J.js} +23 -23
  37. package/dist/style.css +1 -1
  38. package/dist/{useDigestFont-BxXC7U3d.js → useDigestFont-Bxq6g3WO.js} +80 -80
  39. package/dist/{useReportCanvasPanel-BjmRiMSh.js → useReportCanvasPanel-BN-Gq7Uj.js} +975 -976
  40. package/dist/{useRestaurantPermission-DX52YBfA.js → useRestaurantPermission-D8b3oI0-.js} +2 -2
  41. package/package.json +11 -11
  42. package/dist/DigestListView-Bqp4LA1w.js +0 -876
  43. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js +0 -137
  44. package/dist/_plugin-vue_export-helper-C6QDExPN.js +0 -2718
  45. package/dist/currency-DFN_8rRJ.js +0 -12
  46. package/dist/index-xdTpLFHc.js +0 -25511
@@ -1,15 +1,15 @@
1
- import { defineComponent as pe, computed as d, resolveComponent as v, createElementBlock as G, openBlock as g, renderSlot as Re, createVNode as s, withCtx as m, createCommentVNode as B, createElementVNode as n, toDisplayString as c, ref as y, h as p, onMounted as Pe, createBlock as F, unref as l, normalizeStyle as ze, normalizeClass as V, withDirectives as ne, Fragment as De, renderList as Ne, withModifiers as me, vShow as ie } from "vue";
2
- import { a as Be } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
3
- import { u as de } from "./_plugin-vue_export-helper-C6QDExPN.js";
4
- import { _ as Me } from "./Default.vue_vue_type_script_setup_true_lang-CC7fE3F8.js";
1
+ import { defineComponent as pe, computed as d, resolveComponent as y, openBlock as v, createElementBlock as J, renderSlot as Re, createVNode as s, withCtx as m, createCommentVNode as M, createElementVNode as n, toDisplayString as c, ref as f, h as p, onMounted as Pe, createBlock as F, unref as l, normalizeStyle as ze, normalizeClass as V, Fragment as De, renderList as Ne, withDirectives as ne, withModifiers as me, vShow as ie } from "vue";
2
+ import { a as Be } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
3
+ import { u as de } from "./_plugin-vue_export-helper-Bx7s49ra.js";
4
+ import { _ as Me } from "./Default.vue_vue_type_script_setup_true_lang-CvM5oewZ.js";
5
5
  import { u as Ue } from "./global-loader-BuxFfehu.js";
6
6
  import { u as Ee } from "./message-dialog-UoMWOnil.js";
7
- import { u as He } from "./report-Ci2ElGpp.js";
7
+ import { u as He } from "./report-NKl3Yb5J.js";
8
8
  import { r as ce } from "./i18n-DbyciK4x.js";
9
9
  import { useBreakpoints as Ke, useSnackbar as je, components as Oe, FmButtonColorThemeVariant as Ae } from "@feedmepos/ui-library";
10
10
  import { useRouter as qe, useRoute as Ge } from "vue-router";
11
11
  import { storeToRefs as ue } from "pinia";
12
- import { j as Je, u as Qe } from "./app-LKjvcmXa.js";
12
+ import { j as Je, u as Qe } from "./app-BmNusIzI.js";
13
13
  const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Ze = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, et = /* @__PURE__ */ pe({
14
14
  __name: "NoTemplate",
15
15
  props: {
@@ -17,27 +17,27 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
17
17
  subTitle: { default: "report.view.template.noTemplatesHint" },
18
18
  svgPath: { default: "" }
19
19
  },
20
- setup(J) {
21
- const { t: w, te: x } = de(), b = J;
22
- function i(f) {
23
- return x(f) ? w(f) : f;
20
+ setup(z) {
21
+ const { t: w, te: _ } = de(), g = z;
22
+ function i(x) {
23
+ return _(x) ? w(x) : x;
24
24
  }
25
- const t = d(() => i(b.title)), k = d(() => i(b.subTitle));
26
- return (f, Q) => {
27
- const u = v("FmCard");
28
- return g(), G("div", We, [
29
- Re(f.$slots, "menu"),
25
+ const t = d(() => i(g.title)), k = d(() => i(g.subTitle));
26
+ return (x, Q) => {
27
+ const u = y("FmCard");
28
+ return v(), J("div", We, [
29
+ Re(x.$slots, "menu"),
30
30
  s(u, {
31
31
  class: "p-24 h-full flex flex-col gap-2 items-center justify-center",
32
32
  variant: "flat"
33
33
  }, {
34
34
  default: m(() => [
35
- f.svgPath ? (g(), G("img", {
35
+ z.svgPath ? (v(), J("img", {
36
36
  key: 0,
37
- src: f.svgPath,
37
+ src: z.svgPath,
38
38
  alt: "No data illustration",
39
39
  class: "mb-4 w-80 h-80"
40
- }, null, 8, Xe)) : B("", !0),
40
+ }, null, 8, Xe)) : M("", !0),
41
41
  n("p", Ye, c(t.value), 1),
42
42
  n("p", Ze, c(k.value), 1)
43
43
  ]),
@@ -48,45 +48,45 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
48
48
  }
49
49
  }), tt = { class: "flex items-center gap-2" }, ot = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, lt = { class: "w-[343px]" }, at = { class: "flex items-center gap-2" }, rt = { class: "fm-typo-en-body-sm-600" }, st = { class: "fm-typo-en-body-sm-600" }, nt = { class: "fm-typo-en-body-md-600" }, mt = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, it = { class: "fm-typo-en-title-sm-600" }, ct = { class: "flex flex-col gap-3" }, ut = { class: "flex flex-col gap-1" }, pt = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, dt = { class: "flex flex-col gap-1" }, ft = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, kt = /* @__PURE__ */ pe({
50
50
  __name: "Template",
51
- setup(J) {
52
- const w = He(), { isAdmin: x, canManageTemplate: b } = Je(), { breakpoints: i } = Ke(), { t, te: k } = de(), f = qe(), Q = Ge(), u = je(), { promptLoader: W } = Ue(), { promptMessage: X } = Ee(), { FmButton: M, FmMenu: U, FmMenuItem: S, FmIcon: E, FmChip: C, FmSearch: fe, FmTooltip: ye } = Oe, { editingReport: ve, reportTemplates: ge, categories: be } = ue(w), { isFoodCourt: _e } = ue(Qe()), H = d(() => be.value ?? []), Y = d(() => ge.value ?? []), K = d(() => [
51
+ setup(z) {
52
+ const w = He(), { isAdmin: _, canManageTemplate: g } = Je(), { breakpoints: i } = Ke(), { t, te: k } = de(), x = qe(), Q = Ge(), u = je(), { promptLoader: W } = Ue(), { promptMessage: X } = Ee(), { FmButton: U, FmMenu: E, FmMenuItem: S, FmIcon: H, FmChip: C, FmSearch: fe, FmTooltip: ye } = Oe, { editingReport: ve, reportTemplates: ge, categories: be } = ue(w), { isFoodCourt: _e } = ue(Qe()), K = d(() => be.value ?? []), Y = d(() => ge.value ?? []), j = d(() => [
53
53
  {
54
54
  label: t("report.common.all"),
55
55
  value: void 0
56
56
  },
57
- ...H.value.map((o) => ({
58
- label: j(o.name),
57
+ ...K.value.map((o) => ({
58
+ label: O(o.name),
59
59
  value: o.id
60
60
  }))
61
- ]), z = y(void 0), xe = d(
61
+ ]), D = f(void 0), xe = d(
62
62
  () => {
63
63
  var o, e;
64
- return ((o = K.value.find((a) => a.value === z.value)) == null ? void 0 : o.label) ?? ((e = K.value[0]) == null ? void 0 : e.label) ?? "";
64
+ return ((o = j.value.find((a) => a.value === D.value)) == null ? void 0 : o.label) ?? ((e = j.value[0]) == null ? void 0 : e.label) ?? "";
65
65
  }
66
- ), D = y(!1), $ = y(null), h = y(""), L = y(""), I = y(""), R = y(!1), P = y(!1), Ce = d(() => [
66
+ ), N = f(!1), $ = f(null), h = f(""), L = f(""), I = f(""), R = f(!1), P = f(!1), Ce = d(() => [
67
67
  {
68
68
  label: t("report.common.uncategorized"),
69
69
  value: ""
70
70
  },
71
- ...H.value.map((o) => ({
72
- label: j(o.name),
71
+ ...K.value.map((o) => ({
72
+ label: O(o.name),
73
73
  value: o.id
74
74
  }))
75
- ]), N = y(""), T = d(() => {
76
- const o = N.value.toLowerCase(), e = t("report.common.uncategorized");
75
+ ]), B = f(""), T = d(() => {
76
+ const o = B.value.toLowerCase(), e = t("report.common.uncategorized");
77
77
  return Y.value.map((a) => {
78
- const _ = H.value.find((A) => A.id === a.category);
78
+ const b = K.value.find((q) => q.id === a.category);
79
79
  return {
80
80
  id: a.id,
81
81
  name: ce(t, k, ee(a), "other"),
82
82
  description: ce(t, k, a.description || "", "other"),
83
83
  categoryId: a.category || "",
84
- categoryLabel: _ ? j(_.name) : e,
84
+ categoryLabel: b ? O(b.name) : e,
85
85
  isOwner: a.isOwner ?? !1,
86
86
  isInternal: a.isInternal ?? !1,
87
87
  isSupportFoodCourt: a.isSupportFoodCourt ?? !1
88
88
  };
89
- }).filter((a) => z.value && a.categoryId !== z.value ? !1 : !N.value.trim() || a.name.toLowerCase().includes(o) || a.description.toLowerCase().includes(o));
89
+ }).filter((a) => D.value && a.categoryId !== D.value ? !1 : !B.value.trim() || a.name.toLowerCase().includes(o) || a.description.toLowerCase().includes(o));
90
90
  }), we = d(
91
91
  () => T.value.map(
92
92
  (o) => `${o.id}${o.name}${o.categoryLabel}${o.isInternal}${o.isSupportFoodCourt}`
@@ -135,16 +135,16 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
135
135
  width: "0px"
136
136
  },
137
137
  cell: (o) => {
138
- const e = o.row.original, a = !b(e);
138
+ const e = o.row.original, a = !g(e);
139
139
  return p(
140
140
  "div",
141
141
  {
142
142
  class: `flex ${i.value.lg || i.value.md ? "justify-end" : ""} items-center`
143
143
  },
144
144
  {
145
- default: () => x.value ? [
145
+ default: () => _.value ? [
146
146
  p(
147
- U,
147
+ E,
148
148
  {
149
149
  stopClickPropagation: !0,
150
150
  shift: !0,
@@ -163,7 +163,7 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
163
163
  onClick: () => le(e.id)
164
164
  })
165
165
  ],
166
- "menu-button": () => p(M, {
166
+ "menu-button": () => p(U, {
167
167
  variant: "tertiary",
168
168
  size: "md",
169
169
  icon: "more_vert",
@@ -189,7 +189,7 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
189
189
  );
190
190
  }
191
191
  function Z(o) {
192
- return x.value && !_e.value && o.isSupportFoodCourt;
192
+ return _.value && !_e.value && o.isSupportFoodCourt;
193
193
  }
194
194
  function Fe() {
195
195
  return p(
@@ -201,7 +201,7 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
201
201
  { default: () => t("reportV5.template.foodCourt") }
202
202
  );
203
203
  }
204
- function j(o) {
204
+ function O(o) {
205
205
  const e = `report.category.${o}`;
206
206
  return k(e) ? t(e) : o;
207
207
  }
@@ -212,47 +212,47 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
212
212
  return o.name;
213
213
  }
214
214
  function ke(o) {
215
- z.value = o;
215
+ D.value = o;
216
216
  }
217
- function O(o) {
217
+ function A(o) {
218
218
  return Y.value.find((e) => Ve(e) === o);
219
219
  }
220
220
  function te(o) {
221
- const e = O(o);
221
+ const e = A(o);
222
222
  if (!e) return;
223
223
  const a = {
224
224
  ...e.report,
225
225
  id: "",
226
226
  isDefault: !1,
227
227
  editable: !0
228
- }, _ = ee(e);
229
- a.name = `${_} duplicate`, ve.value = a, f.push({
228
+ }, b = ee(e);
229
+ a.name = `${b} duplicate`, ve.value = a, x.push({
230
230
  name: "reportEditor",
231
231
  query: Q.query
232
232
  });
233
233
  }
234
234
  function oe(o) {
235
- if (!x.value) {
235
+ if (!_.value) {
236
236
  u.open({ message: t("report.messages.noPermission"), type: "error" });
237
237
  return;
238
238
  }
239
- const e = O(o);
239
+ const e = A(o);
240
240
  if (!e) return;
241
- if (!b(e)) {
241
+ if (!g(e)) {
242
242
  u.open({ message: t("report.messages.noPermission"), type: "error" });
243
243
  return;
244
244
  }
245
245
  const a = JSON.parse(JSON.stringify(e));
246
- $.value = a, h.value = a.name || "", L.value = a.description || "", I.value = a.category || "", R.value = a.isInternal ?? !1, P.value = a.isSupportFoodCourt ?? !1, D.value = !0;
246
+ $.value = a, h.value = a.name || "", L.value = a.description || "", I.value = a.category || "", R.value = a.isInternal ?? !1, P.value = a.isSupportFoodCourt ?? !1, N.value = !0;
247
247
  }
248
248
  async function le(o) {
249
- if (!x.value) {
249
+ if (!_.value) {
250
250
  u.open({ message: t("report.messages.noPermission"), type: "error" });
251
251
  return;
252
252
  }
253
- const e = O(o);
253
+ const e = A(o);
254
254
  if (!e) return;
255
- if (!b(e)) {
255
+ if (!g(e)) {
256
256
  u.open({ message: t("report.messages.noPermission"), type: "error" });
257
257
  return;
258
258
  }
@@ -267,15 +267,15 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
267
267
  });
268
268
  }
269
269
  function ae() {
270
- D.value = !1, $.value = null, h.value = "", L.value = "", I.value = "", R.value = !1, P.value = !1;
270
+ N.value = !1, $.value = null, h.value = "", L.value = "", I.value = "", R.value = !1, P.value = !1;
271
271
  }
272
272
  async function Se() {
273
- if (!x.value) {
273
+ if (!_.value) {
274
274
  u.open({ message: t("report.messages.noPermission"), type: "error" });
275
275
  return;
276
276
  }
277
277
  if (!$.value) return;
278
- if (!b($.value)) {
278
+ if (!g($.value)) {
279
279
  u.open({ message: t("report.messages.noPermission"), type: "error" });
280
280
  return;
281
281
  }
@@ -301,8 +301,8 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
301
301
  message: t("report.messages.saveSuccess"),
302
302
  type: "success"
303
303
  }), ae();
304
- } catch (_) {
305
- console.error(_), u.open({
304
+ } catch (b) {
305
+ console.error(b), u.open({
306
306
  message: t("report.messages.failedToAction", { action: t("report.common.update") }),
307
307
  type: "error"
308
308
  });
@@ -311,8 +311,8 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
311
311
  return Pe(async () => {
312
312
  await w.getReportTemplates();
313
313
  }), (o, e) => {
314
- const a = v("FmPageHead"), _ = v("FmForm"), A = v("FmListItem"), $e = v("FmList"), Le = v("FmTable"), re = v("FmTextField"), se = v("FmSwitch"), Ie = v("FmDialog");
315
- return g(), F(Me, null, {
314
+ const a = y("FmPageHead"), b = y("FmForm"), q = y("FmListItem"), $e = y("FmList"), Le = y("FmTable"), re = y("FmTextField"), se = y("FmSwitch"), Ie = y("FmDialog");
315
+ return v(), F(Me, null, {
316
316
  default: m(() => [
317
317
  s(a, {
318
318
  title: l(t)("report.view.template.title"),
@@ -327,7 +327,7 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
327
327
  "z-index": 2e3
328
328
  }, {
329
329
  default: m(() => [
330
- s(l(E), {
330
+ s(l(H), {
331
331
  name: "info",
332
332
  size: "md",
333
333
  color: "primary"
@@ -343,23 +343,23 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
343
343
  class: V(`overflow-y-hidden flex flex-col gap-8 ${l(i).sm || l(i).xs ? "mb-20" : ""}`),
344
344
  style: ze({ height: `calc(100% - ${l(i).lg || l(i).md ? 72 : 64}px)` })
345
345
  }, [
346
- s(_, {
346
+ s(b, {
347
347
  class: V(`flex items-center gap-2 ${l(i).sm || l(i).xs ? "px-3" : "px-24"}`)
348
348
  }, {
349
349
  default: m(() => [
350
- s(l(U), null, {
350
+ s(l(E), null, {
351
351
  "menu-button": m(() => [
352
352
  s(l(C), { class: "fm-typo-en-body-md-600 text-fm-color-neutral-gray-400" }, {
353
353
  default: m(() => [
354
354
  n("p", null, c(xe.value), 1),
355
- s(l(E), { name: "expand_more" })
355
+ s(l(H), { name: "expand_more" })
356
356
  ]),
357
357
  _: 1
358
358
  })
359
359
  ]),
360
360
  default: m(() => [
361
- (g(!0), G(De, null, Ne(K.value, (r, q) => (g(), F(l(S), {
362
- key: q,
361
+ (v(!0), J(De, null, Ne(j.value, (r, G) => (v(), F(l(S), {
362
+ key: G,
363
363
  label: r.label,
364
364
  onClick: () => ke(r.value)
365
365
  }, null, 8, ["label", "onClick"]))), 128))
@@ -374,15 +374,15 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
374
374
  e[8] || (e[8] = n("div", { class: "grow" }, null, -1)),
375
375
  n("div", lt, [
376
376
  s(l(fe), {
377
- modelValue: N.value,
378
- "onUpdate:modelValue": e[0] || (e[0] = (r) => N.value = r),
377
+ modelValue: B.value,
378
+ "onUpdate:modelValue": e[0] || (e[0] = (r) => B.value = r),
379
379
  class: V(`${l(i).lg || l(i).md ? "grow" : ""}`)
380
380
  }, null, 8, ["modelValue", "class"])
381
381
  ])
382
382
  ]),
383
383
  _: 1
384
384
  }, 8, ["class"]),
385
- ne((g(), F(Le, {
385
+ ne((v(), F(Le, {
386
386
  key: we.value,
387
387
  ref: "table",
388
388
  class: V([l(i).sm || l(i).xs ? "px-0" : "px-24", "report-table"]),
@@ -399,14 +399,14 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
399
399
  onClick: () => te(r.id)
400
400
  }, {
401
401
  default: m(() => [
402
- s(A, {
402
+ s(q, {
403
403
  tag: "label",
404
404
  label: r.name,
405
405
  clickable: ""
406
406
  }, {
407
407
  append: m(() => [
408
408
  n("div", at, [
409
- r.isInternal ? (g(), F(l(C), {
409
+ r.isInternal ? (v(), F(l(C), {
410
410
  key: 0,
411
411
  class: "bg-fm-color-system-warning-100 text-fm-color-typo-warning",
412
412
  compact: !0
@@ -415,8 +415,8 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
415
415
  n("p", rt, c(l(t)("report.view.template.internal")), 1)
416
416
  ]),
417
417
  _: 1
418
- })) : B("", !0),
419
- Z(r) ? (g(), F(l(C), {
418
+ })) : M("", !0),
419
+ Z(r) ? (v(), F(l(C), {
420
420
  key: 1,
421
421
  class: "bg-fm-color-system-success-100 text-fm-color-typo-success",
422
422
  compact: !0
@@ -425,7 +425,7 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
425
425
  n("p", st, c(l(t)("reportV5.template.foodCourt")), 1)
426
426
  ]),
427
427
  _: 1
428
- })) : B("", !0),
428
+ })) : M("", !0),
429
429
  s(l(C), {
430
430
  class: V(
431
431
  r.categoryLabel !== l(t)("report.common.uncategorized") ? "bg-fm-color-system-info-100 text-fm-color-typo-info" : "text-fm-color-typo-secondary"
@@ -437,27 +437,27 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
437
437
  ]),
438
438
  _: 2
439
439
  }, 1032, ["class"]),
440
- l(b)(r) ? (g(), F(l(U), {
440
+ l(g)(r) ? (v(), F(l(E), {
441
441
  key: 2,
442
442
  placement: "left",
443
443
  "stop-click-propagation": !0
444
444
  }, {
445
445
  "menu-button": m(() => [
446
- s(l(E), { name: "more_vert" })
446
+ s(l(H), { name: "more_vert" })
447
447
  ]),
448
448
  default: m(() => [
449
449
  s(l(S), {
450
450
  label: l(t)("report.common.edit"),
451
- onClick: me((q) => oe(r.id), ["stop"])
451
+ onClick: me((G) => oe(r.id), ["stop"])
452
452
  }, null, 8, ["label", "onClick"]),
453
453
  s(l(S), {
454
454
  label: l(t)("report.common.delete"),
455
455
  class: "text-fm-color-typo-error",
456
- onClick: me((q) => le(r.id), ["stop"])
456
+ onClick: me((G) => le(r.id), ["stop"])
457
457
  }, null, 8, ["label", "onClick"])
458
458
  ]),
459
459
  _: 2
460
- }, 1024)) : B("", !0)
460
+ }, 1024)) : M("", !0)
461
461
  ])
462
462
  ]),
463
463
  "sub-label": m(() => [
@@ -481,8 +481,8 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
481
481
  ])
482
482
  ], 6),
483
483
  s(Ie, {
484
- modelValue: D.value,
485
- "onUpdate:modelValue": e[7] || (e[7] = (r) => D.value = r),
484
+ modelValue: N.value,
485
+ "onUpdate:modelValue": e[7] || (e[7] = (r) => N.value = r),
486
486
  overlay: !0,
487
487
  "dismiss-away": !0
488
488
  }, {
@@ -532,12 +532,12 @@ const We = { class: "flex flex-col h-full" }, Xe = ["src"], Ye = { class: "fm-ty
532
532
  ]),
533
533
  "dialog-footer": m(() => [
534
534
  e[9] || (e[9] = n("div", { class: "grow" }, null, -1)),
535
- s(l(M), {
535
+ s(l(U), {
536
536
  label: l(t)("report.common.cancel"),
537
537
  variant: "tertiary",
538
538
  onClick: ae
539
539
  }, null, 8, ["label"]),
540
- s(l(M), {
540
+ s(l(U), {
541
541
  label: l(t)("report.common.save"),
542
542
  variant: "primary",
543
543
  disabled: h.value.trim() === "",