@feedmepos/mf-report 5.22.25 → 5.22.26

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 (34) hide show
  1. package/dist/App-3HFmWp7u.js +298 -0
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-CD7LSCLM.js → BaseDialog.vue_vue_type_script_setup_true_lang-B2CdeeFj.js} +1128 -1292
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BP474uxj.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DlpbyWWd.js} +5 -5
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-C55xh4bx.js → Default.vue_vue_type_script_setup_true_lang-BUIcdcLn.js} +2 -2
  5. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-D2K2ghV_.js → FilterSelector.vue_vue_type_script_setup_true_lang-jDZZAdUQ.js} +19 -19
  6. package/dist/InsightView-B8Wrd2SX.js +664 -0
  7. package/dist/{Integration-CAsNSCR4.js → Integration-D_jZxPMn.js} +40 -40
  8. package/dist/{Integrations-CIeyn0dF.js → Integrations-B1igzxZG.js} +14 -13
  9. package/dist/Layout-Dt6yE5XC.js +19 -0
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-CBY5Meyc.js → MenuTab.vue_vue_type_script_setup_true_lang-Dtv5xe0O.js} +13 -13
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DsOmTqFV.js → NavigationTab.vue_vue_type_script_setup_true_lang-lfncwvdP.js} +24 -24
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-BcdcgnzD.js → NoData.vue_vue_type_script_setup_true_lang-CDKHIlF2.js} +1 -1
  13. package/dist/OverviewView-hz2kZmm7.js +62 -0
  14. package/dist/{Report-CMYhrVbI.js → Report-nrJWlkN-.js} +15 -14
  15. package/dist/{ReportEditor-BU6Hq9yx.js → ReportEditor-YV-2UXDU.js} +24 -23
  16. package/dist/{ReportView-8F14F_jz.js → ReportView-CM1PfMk6.js} +18 -17
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-SWjNNZ_J.js → SelectComponent.vue_vue_type_script_setup_true_lang-Df40itH5.js} +1 -1
  18. package/dist/Setting-B1Xrl09c.js +326 -0
  19. package/dist/{TileEditor-BRHXTLEK.js → TileEditor-CF0aNTKV.js} +131 -131
  20. package/dist/{TransitionFade-DbsPAg2T.js → TransitionFade-D2bsz2iV.js} +12 -12
  21. package/dist/app-C2vt2B-i.js +11540 -0
  22. package/dist/app.js +1 -1
  23. package/dist/useRestaurantPermission-DRvKGVtO.js +65 -0
  24. package/dist/vue-i18n-DVWuTfed.js +2727 -0
  25. package/package.json +1 -1
  26. package/dist/App-C5_KJN8G.js +0 -294
  27. package/dist/InsightView-BCZKzqRM.js +0 -670
  28. package/dist/Layout-BFvrEBq5.js +0 -29
  29. package/dist/NoPermission.vue_vue_type_script_setup_true_lang-obph7BUZ.js +0 -25
  30. package/dist/OverviewView-gvsp6532.js +0 -63
  31. package/dist/Setting-BtWmZpk0.js +0 -328
  32. package/dist/app-WBPZfxon.js +0 -6658
  33. package/dist/useRestaurantPermission-BtPLwoC9.js +0 -64
  34. package/dist/vue-i18n-CvU0g5WR.js +0 -7253
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as Z, mergeModels as Ae, useModel as oe, computed as z, resolveComponent as D, createElementBlock as M, openBlock as w, createElementVNode as t, createCommentVNode as B, normalizeClass as Ge, Fragment as Ve, createBlock as E, withCtx as he, toDisplayString as A, renderList as Pe, createVNode as l, unref as u, h as S, normalizeStyle as st, createTextVNode as rt, ref as Q, onUnmounted as Le, watch as De, isRef as Te, resolveDynamicComponent as Ue, mergeProps as Ze, onMounted as at } from "vue";
2
2
  import { useRouter as _e, useRoute as it } from "vue-router";
3
- import { u as ae, I as Se, w as dt, x as mt, d as Fe, e as je, b as Ce, y as be, z as pt, j as ut, n as W, v as Oe, B as Ee, E as Re, G as Be, H as et, J as ct, K as ft, L as gt, M as tt, c as lt, N as vt, O as yt, P as xt, Q as bt, R as wt } from "./vue-i18n-CvU0g5WR.js";
3
+ import { I as Se, d as Ie, G as dt, H as mt, e as Fe, a as Ce, J as be, K as pt, v as ut, A as W, E as je, L as Oe, M as Re, N as Ee, O as et, P as ct, Q as ft, R as gt, S as tt, b as lt, T as vt, U as yt, V as xt, W as bt, X as wt } from "./app-C2vt2B-i.js";
4
+ import { u as ae, a as Be } from "./vue-i18n-DVWuTfed.js";
4
5
  import { u as Ye } from "./message-dialog-UoMWOnil.js";
5
6
  import { useSnackbar as ke } from "@feedmepos/ui-library";
6
- import { d as Ie } from "./app-WBPZfxon.js";
7
- import { u as Ne, h as we } from "./useRestaurantPermission-BtPLwoC9.js";
7
+ import { u as Ne, h as we } from "./useRestaurantPermission-DRvKGVtO.js";
8
8
  import { storeToRefs as qe } from "pinia";
9
- import { _ as ze } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BP474uxj.js";
9
+ import { _ as ze } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DlpbyWWd.js";
10
10
  const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, ht = { class: "w-[100%]" }, Ct = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, kt = { class: "w-[100%] flex flex-row gap-[4px]" }, $t = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, St = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, At = {
11
11
  key: 0,
12
12
  class: "w-[24px] flex items-center"
@@ -615,7 +615,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
615
615
  }),
616
616
  emits: ["update:modelValue"],
617
617
  setup(v) {
618
- const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = je(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = Q(!1), K = z(
618
+ const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = Be(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = Q(!1), K = z(
619
619
  () => b.map((i) => ({ label: i.name, value: i.id }))
620
620
  ), C = z(() => {
621
621
  var i, r;
@@ -666,7 +666,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
666
666
  title: "Delete"
667
667
  }) && await V(async () => {
668
668
  try {
669
- await Oe(e.value._id), await x.getSettings(), R.back();
669
+ await je(e.value._id), await x.getSettings(), R.back();
670
670
  } catch (U) {
671
671
  d.open({ type: "error", message: U.message });
672
672
  }
@@ -685,7 +685,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
685
685
  }
686
686
  await V(async () => {
687
687
  try {
688
- await Ee(e.value._id, e.value), await x.getSettings();
688
+ await Oe(e.value._id, e.value), await x.getSettings();
689
689
  } catch (N) {
690
690
  d.open({ type: "error", message: N.message });
691
691
  }
@@ -1165,7 +1165,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
1165
1165
  async () => {
1166
1166
  if (R.value._id)
1167
1167
  try {
1168
- V.value = !0, a.value = await Be(R.value._id);
1168
+ V.value = !0, a.value = await Ee(R.value._id);
1169
1169
  } catch (m) {
1170
1170
  I.open({ message: m.message, type: "error" });
1171
1171
  } finally {
@@ -1454,7 +1454,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
1454
1454
  }),
1455
1455
  emits: ["update:modelValue"],
1456
1456
  setup(v) {
1457
- const a = oe(v, "modelValue"), e = ke(), d = Fe(), x = _e(), { promptLoader: R } = je(), { promptMessage: V } = Ye(), { restaurants: I } = Ce(), b = z(
1457
+ const a = oe(v, "modelValue"), e = ke(), d = Fe(), x = _e(), { promptLoader: R } = Be(), { promptMessage: V } = Ye(), { restaurants: I } = Ce(), b = z(
1458
1458
  () => I.map((n) => ({ label: n.name, value: n.id }))
1459
1459
  ), { t: f } = ae(), { rules: m, notifyUnauthorized: h } = Ne();
1460
1460
  async function K() {
@@ -1473,7 +1473,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
1473
1473
  title: f("report.common.delete")
1474
1474
  }) && await R(async () => {
1475
1475
  try {
1476
- await Oe(a.value._id), await d.getSettings(), x.back();
1476
+ await je(a.value._id), await d.getSettings(), x.back();
1477
1477
  } catch (F) {
1478
1478
  e.open({ type: "error", message: F.message });
1479
1479
  }
@@ -1492,7 +1492,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
1492
1492
  }
1493
1493
  await R(async () => {
1494
1494
  try {
1495
- await Ee(a.value._id, a.value), await d.getSettings();
1495
+ await Oe(a.value._id, a.value), await d.getSettings();
1496
1496
  } catch (r) {
1497
1497
  e.open({ type: "error", message: r.message });
1498
1498
  }
@@ -2064,7 +2064,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
2064
2064
  async () => {
2065
2065
  if (V.value._id)
2066
2066
  try {
2067
- I.value = !0, a.value = await Be(V.value._id);
2067
+ I.value = !0, a.value = await Ee(V.value._id);
2068
2068
  } catch (h) {
2069
2069
  b.open({ message: h.message, type: "error" });
2070
2070
  } finally {
@@ -2197,7 +2197,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
2197
2197
  }),
2198
2198
  emits: ["update:modelValue"],
2199
2199
  setup(v) {
2200
- const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = je(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
2200
+ const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = Be(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
2201
2201
  () => b.map((y) => ({ label: y.name, value: y.id }))
2202
2202
  );
2203
2203
  async function K() {
@@ -2216,7 +2216,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
2216
2216
  title: a("report.common.delete")
2217
2217
  }) && await V(async () => {
2218
2218
  try {
2219
- await Oe(e.value._id), await x.getSettings(), R.back();
2219
+ await je(e.value._id), await x.getSettings(), R.back();
2220
2220
  } catch (r) {
2221
2221
  d.open({ type: "error", message: r.message });
2222
2222
  }
@@ -2235,7 +2235,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
2235
2235
  }
2236
2236
  await V(async () => {
2237
2237
  try {
2238
- await Ee(e.value._id, e.value), await x.getSettings();
2238
+ await Oe(e.value._id, e.value), await x.getSettings();
2239
2239
  } catch (i) {
2240
2240
  d.open({ type: "error", message: i.message });
2241
2241
  }
@@ -2681,7 +2681,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
2681
2681
  async () => {
2682
2682
  if (R.value._id)
2683
2683
  try {
2684
- V.value = !0, e.value = await Be(R.value._id);
2684
+ V.value = !0, e.value = await Ee(R.value._id);
2685
2685
  } catch (m) {
2686
2686
  I.open({ message: m.message, type: "error" });
2687
2687
  } finally {
@@ -2798,7 +2798,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
2798
2798
  },
2799
2799
  emits: ["update:modelValue"],
2800
2800
  setup(v) {
2801
- const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = je(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
2801
+ const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = Be(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
2802
2802
  () => b.map((n) => ({ label: n.name, value: n.id }))
2803
2803
  );
2804
2804
  async function K() {
@@ -2817,7 +2817,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
2817
2817
  title: a("report.common.delete")
2818
2818
  }) && await V(async () => {
2819
2819
  try {
2820
- await Oe(e.value._id), await x.getSettings(), R.back();
2820
+ await je(e.value._id), await x.getSettings(), R.back();
2821
2821
  } catch (F) {
2822
2822
  d.open({ type: "error", message: F.message });
2823
2823
  }
@@ -2836,7 +2836,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
2836
2836
  }
2837
2837
  await V(async () => {
2838
2838
  try {
2839
- await Ee(e.value._id, e.value), await Re(e.value._id), await x.getSettings();
2839
+ await Oe(e.value._id, e.value), await Re(e.value._id), await x.getSettings();
2840
2840
  } catch (r) {
2841
2841
  d.open({ type: "error", message: r.message });
2842
2842
  }
@@ -3506,7 +3506,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
3506
3506
  async () => {
3507
3507
  if (I.value._id)
3508
3508
  try {
3509
- b.value = !0, e.value = await Be(I.value._id);
3509
+ b.value = !0, e.value = await Ee(I.value._id);
3510
3510
  } catch (s) {
3511
3511
  f.open({ message: s.message, type: "error" });
3512
3512
  } finally {
@@ -3684,7 +3684,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
3684
3684
  }),
3685
3685
  emits: ["update:modelValue"],
3686
3686
  setup(v) {
3687
- const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = je(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
3687
+ const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = Be(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
3688
3688
  () => b.map((n) => ({ label: n.name, value: n.id }))
3689
3689
  );
3690
3690
  function K(n) {
@@ -3710,7 +3710,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
3710
3710
  title: a("report.common.delete")
3711
3711
  }) && await V(async () => {
3712
3712
  try {
3713
- await Oe(e.value._id), await x.getSettings(), R.back();
3713
+ await je(e.value._id), await x.getSettings(), R.back();
3714
3714
  } catch (F) {
3715
3715
  d.open({ type: "error", message: F.message });
3716
3716
  }
@@ -3730,7 +3730,7 @@ const _t = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-betwe
3730
3730
  await V(async () => {
3731
3731
  var r, F, N;
3732
3732
  try {
3733
- (N = (F = (r = e.value) == null ? void 0 : r.platform) == null ? void 0 : F.mappings) != null && N.paymentMethods && K(e.value.platform.mappings.paymentMethods), await Ee(e.value._id, e.value), await x.getSettings();
3733
+ (N = (F = (r = e.value) == null ? void 0 : r.platform) == null ? void 0 : F.mappings) != null && N.paymentMethods && K(e.value.platform.mappings.paymentMethods), await Oe(e.value._id, e.value), await x.getSettings();
3734
3734
  } catch (U) {
3735
3735
  d.open({ type: "error", message: U.message });
3736
3736
  }
@@ -4417,7 +4417,7 @@ const fs = [
4417
4417
  async () => {
4418
4418
  if (e.value._id)
4419
4419
  try {
4420
- d.value = !0, V.value = await Be(e.value._id);
4420
+ d.value = !0, V.value = await Ee(e.value._id);
4421
4421
  } catch (m) {
4422
4422
  x.open({ message: m.message, type: "error" });
4423
4423
  } finally {
@@ -4591,7 +4591,7 @@ const fs = [
4591
4591
  },
4592
4592
  emits: ["update:modelValue"],
4593
4593
  setup(v) {
4594
- const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = je(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
4594
+ const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = Be(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
4595
4595
  () => b.map((k) => ({ label: k.name, value: k.id }))
4596
4596
  );
4597
4597
  async function K() {
@@ -4610,7 +4610,7 @@ const fs = [
4610
4610
  title: a("report.common.delete")
4611
4611
  }) && await V(async () => {
4612
4612
  try {
4613
- await Oe(e.value._id), await x.getSettings(), R.back();
4613
+ await je(e.value._id), await x.getSettings(), R.back();
4614
4614
  } catch (n) {
4615
4615
  d.open({ type: "error", message: n.message });
4616
4616
  }
@@ -4629,7 +4629,7 @@ const fs = [
4629
4629
  }
4630
4630
  await V(async () => {
4631
4631
  try {
4632
- await Ee(e.value._id, e.value), await x.getSettings();
4632
+ await Oe(e.value._id, e.value), await x.getSettings();
4633
4633
  } catch (y) {
4634
4634
  d.open({ type: "error", message: y.message });
4635
4635
  }
@@ -4801,7 +4801,7 @@ const fs = [
4801
4801
  async () => {
4802
4802
  if (x.value._id)
4803
4803
  try {
4804
- R.value = !0, e.value = await Be(x.value._id);
4804
+ R.value = !0, e.value = await Ee(x.value._id);
4805
4805
  } catch (f) {
4806
4806
  V.open({ message: f.message, type: "error" });
4807
4807
  } finally {
@@ -4943,7 +4943,7 @@ const fs = [
4943
4943
  }),
4944
4944
  emits: ["update:modelValue"],
4945
4945
  setup(v) {
4946
- const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = je(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
4946
+ const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = Be(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
4947
4947
  () => b.map((o) => ({ label: o.name, value: o.id }))
4948
4948
  );
4949
4949
  let K = Q("");
@@ -4963,7 +4963,7 @@ const fs = [
4963
4963
  title: a("report.common.delete")
4964
4964
  }) && await V(async () => {
4965
4965
  try {
4966
- await Oe(e.value._id), await x.getSettings(), R.back();
4966
+ await je(e.value._id), await x.getSettings(), R.back();
4967
4967
  } catch (N) {
4968
4968
  d.open({ type: "error", message: N.message });
4969
4969
  }
@@ -4982,7 +4982,7 @@ const fs = [
4982
4982
  }
4983
4983
  await V(async () => {
4984
4984
  try {
4985
- await Ee(e.value._id, e.value), await x.getSettings();
4985
+ await Oe(e.value._id, e.value), await x.getSettings();
4986
4986
  } catch (F) {
4987
4987
  d.open({ type: "error", message: F.message });
4988
4988
  }
@@ -5637,7 +5637,7 @@ const ni = [
5637
5637
  async () => {
5638
5638
  if (e.value._id)
5639
5639
  try {
5640
- d.value = !0, b.value = await Be(e.value._id);
5640
+ d.value = !0, b.value = await Ee(e.value._id);
5641
5641
  } catch (g) {
5642
5642
  x.open({ message: g.message, type: "error" });
5643
5643
  } finally {
@@ -5821,7 +5821,7 @@ const ni = [
5821
5821
  },
5822
5822
  emits: ["update:modelValue"],
5823
5823
  setup(v) {
5824
- const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = je(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
5824
+ const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = Be(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
5825
5825
  () => b.map((k) => ({ label: k.name, value: k.id }))
5826
5826
  );
5827
5827
  async function K() {
@@ -5840,7 +5840,7 @@ const ni = [
5840
5840
  title: a("report.common.delete")
5841
5841
  }) && await V(async () => {
5842
5842
  try {
5843
- await Oe(e.value._id), await x.getSettings(), R.back();
5843
+ await je(e.value._id), await x.getSettings(), R.back();
5844
5844
  } catch (n) {
5845
5845
  d.open({ type: "error", message: n.message });
5846
5846
  }
@@ -5859,7 +5859,7 @@ const ni = [
5859
5859
  }
5860
5860
  await V(async () => {
5861
5861
  try {
5862
- await Ee(e.value._id, e.value), await x.getSettings();
5862
+ await Oe(e.value._id, e.value), await x.getSettings();
5863
5863
  } catch (y) {
5864
5864
  d.open({ type: "error", message: y.message });
5865
5865
  }
@@ -6495,7 +6495,7 @@ const ni = [
6495
6495
  async () => {
6496
6496
  if (C.value._id)
6497
6497
  try {
6498
- g.value = !0, e.value = await Be(C.value._id);
6498
+ g.value = !0, e.value = await Ee(C.value._id);
6499
6499
  } catch (y) {
6500
6500
  s.open({ message: y.message, type: "error" });
6501
6501
  } finally {
@@ -6673,7 +6673,7 @@ const ni = [
6673
6673
  }),
6674
6674
  emits: ["update:modelValue"],
6675
6675
  setup(v) {
6676
- const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = je(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
6676
+ const { t: a } = ae(), e = oe(v, "modelValue"), d = ke(), x = Fe(), R = _e(), { promptLoader: V } = Be(), { promptMessage: I } = Ye(), { restaurants: b } = Ce(), { rules: f, notifyUnauthorized: m } = Ne(), h = z(
6677
6677
  () => b.map((c) => ({ label: c.name, value: c.id }))
6678
6678
  ), K = [
6679
6679
  {
@@ -6697,7 +6697,7 @@ const ni = [
6697
6697
  title: a("report.common.delete")
6698
6698
  }) && await V(async () => {
6699
6699
  try {
6700
- await Oe(e.value._id), await x.getSettings(), R.back();
6700
+ await je(e.value._id), await x.getSettings(), R.back();
6701
6701
  } catch (o) {
6702
6702
  d.open({ type: "error", message: o.message });
6703
6703
  }
@@ -6716,7 +6716,7 @@ const ni = [
6716
6716
  }
6717
6717
  await V(async () => {
6718
6718
  try {
6719
- await Ee(e.value._id, e.value), await x.getSettings();
6719
+ await Oe(e.value._id, e.value), await x.getSettings();
6720
6720
  } catch (n) {
6721
6721
  d.open({ type: "error", message: n.message });
6722
6722
  }
@@ -6991,7 +6991,7 @@ const ni = [
6991
6991
  async () => {
6992
6992
  if (e.value._id)
6993
6993
  try {
6994
- d.value = !0, R.value = await Be(e.value._id);
6994
+ d.value = !0, R.value = await Ee(e.value._id);
6995
6995
  } catch (m) {
6996
6996
  x.open({ message: m.message, type: "error" });
6997
6997
  } finally {