@feedmepos/mf-menu 0.32.63-dev.4 → 0.32.63

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 (68) hide show
  1. package/dist/{App-D8wf-3gk.js → App-BBbO4JIS.js} +8 -8
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BBMuf15P.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CbxSzHxq.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CR7AGqfY.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-7WuKnUmN.js} +3 -3
  4. package/dist/{Catalog-Dzs2obez.js → Catalog-BmegfFgh.js} +6 -6
  5. package/dist/{Category-CF-bfcWZ.js → Category-C7Ue-fUU.js} +4 -4
  6. package/dist/{Category-CRG_zlyN.js → Category-Ddyf3rse.js} +4 -4
  7. package/dist/{CookingGuide-CumoLERq.js → CookingGuide-CLgt2sOm.js} +5 -5
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Cw0LfYWI.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-COeFm_ww.js} +1 -1
  9. package/dist/{Group-Bl6IXiL5.js → Group-CRKR1Ykj.js} +1 -1
  10. package/dist/{Group-XPHRRll5.js → Group-CYPqL4lj.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-Dp41u-9T.js → Group.vue_vue_type_script_setup_true_lang-NuuNUptx.js} +7 -7
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DBim4X7-.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B3C6VTGC.js} +5 -5
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-AK0_2AOY.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-VtcRq2HL.js} +2697 -2697
  14. package/dist/{Ingredient-BBi88auU.js → Ingredient-DRf6aqJJ.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-D8C0do_V.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Bybxf9pl.js} +2 -2
  16. package/dist/{LinkProductSideSheet-BQc-iCkQ.js → LinkProductSideSheet-HDmjKJSh.js} +4 -4
  17. package/dist/{MenuSetting-FTo1hoSN.js → MenuSetting-BGbL4Z6H.js} +7 -7
  18. package/dist/{OrderPacing-BUcd8nJm.js → OrderPacing-DF_HE2Cg.js} +5 -5
  19. package/dist/{PrintRoute-DUnqYpDY.js → PrintRoute-CnXWRLaD.js} +5 -5
  20. package/dist/{Product-5jToTVxL.js → Product-Iyo2jhYY.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-CvUR3VeZ.js → Product.vue_vue_type_script_setup_true_lang-HVRVPZqe.js} +13 -13
  22. package/dist/{ProductInternalTools-DVo8n6WR.js → ProductInternalTools-BInH19jg.js} +7 -7
  23. package/dist/{Products-74l_V3s-.js → Products-BIhb7G8B.js} +57 -57
  24. package/dist/{Publish-C_N7lkj5.js → Publish-CKmI_Dm1.js} +4 -4
  25. package/dist/{Recipe-Ds_84fu9.js → Recipe-BoVvW9JJ.js} +5 -5
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-B1wtDQ9P.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-wMFM8TLf.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-ntxQXlpV.js → RuleView.vue_vue_type_script_setup_true_lang-BxYsaZfB.js} +595 -595
  28. package/dist/{Scheduler--pD1opc1.js → Scheduler-QZtG4Vyg.js} +3 -3
  29. package/dist/{ServingSequence-B3xxkMbp.js → ServingSequence-BsCeJ9tY.js} +3 -3
  30. package/dist/{Setting-GBA945nB.js → Setting-C4zVAUUs.js} +5 -5
  31. package/dist/{Subcategory-BikyD-je.js → Subcategory-Cqj_0Zcf.js} +6 -6
  32. package/dist/{Takeaway-DqDIobRV.js → Takeaway-Bg_Ulvvu.js} +1 -1
  33. package/dist/{Takeaway-XPKWPa1W.js → Takeaway-hlLosEp5.js} +4 -4
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CJG-SwOd.js → Takeaway.vue_vue_type_script_setup_true_lang-VokixlT7.js} +5 -5
  35. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-ogrcEhDA.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-Cqt2GuoP.js} +1 -1
  36. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-BZfaB7Vl.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-D-gqJRTs.js} +2 -2
  37. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DaSfi9fx.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BgfluI5H.js} +605 -603
  38. package/dist/{Unit-yJJmRvha.js → Unit-DcXSwJZn.js} +2 -2
  39. package/dist/{Variant-DcCYBJS2.js → Variant-B0gnJndI.js} +3 -3
  40. package/dist/{_id_-BpkYdn5i.js → _id_-Do06Eogr.js} +9 -9
  41. package/dist/{app-BzMTHTrI.js → app-CoLRt3Jh.js} +1 -1
  42. package/dist/{app-BMI3O5C9.js → app-b2SIk1B-.js} +32 -32
  43. package/dist/app.js +1 -1
  44. package/dist/assets/{linked-status-C8NLd-zI.js → linked-status-D83s5iw2.js} +3 -3
  45. package/dist/assets/{menu-export-hXupkCVZ.js → menu-export-CTANUT4c.js} +6 -6
  46. package/dist/assets/{override-menu-CwJOJV2k.js → override-menu-BU4SgNGf.js} +3 -3
  47. package/dist/assets/{validate-menu-BrXEl7Mi.js → validate-menu-C5Oth47D.js} +2 -2
  48. package/dist/{catalog-L2sdRcQf.js → catalog-D7j4_Q_e.js} +1 -1
  49. package/dist/{catalogSetting-CGSmZhMj.js → catalogSetting-g3y-LVDw.js} +1 -1
  50. package/dist/{currency-QIXheiUu.js → currency-tR7w0ukg.js} +1 -1
  51. package/dist/{dayjs.min-CGH3EzsL.js → dayjs.min-D1MKpV8B.js} +2 -2
  52. package/dist/{discardConfirm-B61hQjlH.js → discardConfirm-BaKm8467.js} +1 -1
  53. package/dist/{index-DCSeBwkM.js → index-CQkYxKQd.js} +5 -5
  54. package/dist/{index-CUcUva0h.js → index-LnI6_0IZ.js} +6 -6
  55. package/dist/{index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js → index.vue_vue_type_script_setup_true_lang-P7O7STU9.js} +7 -7
  56. package/dist/{item-BMyRZqY8.js → item-43Eu4ZXr.js} +550 -550
  57. package/dist/{jszip.min-BaD6pNmW.js → jszip.min-B_t4VNZS.js} +529 -529
  58. package/dist/{linkProducts-CqH6KCgg.js → linkProducts-8GEwo-Eo.js} +4 -4
  59. package/dist/{memberPricing-DNAuPva3.js → memberPricing-DNqHrCnd.js} +1 -1
  60. package/dist/{menu-BNrZkzpK.js → menu-CjpQrL-3.js} +1 -1
  61. package/dist/{menuV2-D1bGhwPG.js → menuV2-CiFcZLoW.js} +47 -47
  62. package/dist/{order_pacing-CmC9xxja.js → order_pacing-DXKwdyi5.js} +5 -5
  63. package/dist/{priceTier-DZ5JRGkT.js → priceTier-BVEITapN.js} +1 -1
  64. package/dist/{rules-B2yeUFyY.js → rules-BEYt9OD5.js} +3 -3
  65. package/dist/{scheduler-DVKJQGbT.js → scheduler-7EG7twK8.js} +5 -5
  66. package/dist/{toExcel-D8feJ9ZC.js → toExcel-VC6zCquB.js} +2 -2
  67. package/dist/{unit-DI5JogzR.js → unit-C2SwnTZh.js} +3 -3
  68. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { computed as m } from "vue";
2
- import { F, g as h, h as S, b as v, i as C, k as N, T, u as P, c as z } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
3
- import { u as R } from "./menuV2-D1bGhwPG.js";
4
- import { C as w, h as E } from "./catalog-L2sdRcQf.js";
2
+ import { F, g as h, h as S, b as v, i as C, k as N, T, u as P, c as z } from "./index.vue_vue_type_script_setup_true_lang-P7O7STU9.js";
3
+ import { u as R } from "./menuV2-CiFcZLoW.js";
4
+ import { C as w, h as E } from "./catalog-D7j4_Q_e.js";
5
5
  import { useSnackbar as O, useDialog as A } from "@feedmepos/ui-library";
6
- import { a as b } from "./LinkProductSideSheet-BQc-iCkQ.js";
6
+ import { a as b } from "./LinkProductSideSheet-HDmjKJSh.js";
7
7
  function D() {
8
8
  const e = R(), p = m(() => e.categorizedRawMenuItems.filter((o) => o.items.length > 0)), l = m(() => {
9
9
  const o = e.currentCatalog;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, ref as _, watch as S, resolveComponent as b, createBlock as f, openBlock as y, unref as M, computed as T } from "vue";
2
- import { u as h, b as w } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
2
+ import { u as h, b as w } from "./index.vue_vue_type_script_setup_true_lang-P7O7STU9.js";
3
3
  import { useI18n as l } from "@feedmepos/mf-common";
4
4
  import { useDialogChild as x, useDialog as C, useSnackbar as P } from "@feedmepos/ui-library";
5
5
  const k = /* @__PURE__ */ d({
@@ -1,5 +1,5 @@
1
1
  import { computed as n, onMounted as d, onBeforeUnmount as m } from "vue";
2
- import { u as c } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
2
+ import { u as c } from "./index.vue_vue_type_script_setup_true_lang-P7O7STU9.js";
3
3
  import "@feedmepos/mf-common";
4
4
  import "@feedmepos/ui-library";
5
5
  function p() {
@@ -1,10 +1,10 @@
1
- var Le = Object.defineProperty;
2
- var We = (e, t, n) => t in e ? Le(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var ne = (e, t, n) => We(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { l as ae } from "./discardConfirm-B61hQjlH.js";
5
- import { defineStore as ze } from "pinia";
6
- import { shallowRef as N, ref as H, computed as S, shallowReactive as qe, effectScope as He, watch as Be } from "vue";
7
- import { d as C, f as ue, m as T, k as ie, aj as re, g as B, O as x, c as W, s as D, X as oe, ak as Ge, al as Je, a as Ye, Q as Qe, am as Xe, an as Ze, M as et } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
1
+ var We = Object.defineProperty;
2
+ var Le = (e, t, n) => t in e ? We(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var ne = (e, t, n) => Le(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { l as ae } from "./discardConfirm-BaKm8467.js";
5
+ import { defineStore as qe } from "pinia";
6
+ import { shallowRef as N, ref as B, computed as S, shallowReactive as ze, effectScope as Be, watch as He } from "vue";
7
+ import { d as C, f as ue, m as T, k as ie, aj as re, g as H, O as x, c as L, s as V, X as oe, ak as Ge, al as Je, a as Ye, Q as Qe, am as Xe, an as Ze, M as et } from "./index.vue_vue_type_script_setup_true_lang-P7O7STU9.js";
8
8
  import { useCoreStore as se } from "@feedmepos/mf-common";
9
9
  import { useSnackbar as tt } from "@feedmepos/ui-library";
10
10
  function nt(e) {
@@ -16,7 +16,7 @@ function nt(e) {
16
16
  }
17
17
  return delete t.variant, delete t.thumbnail, delete t.images, [t, ...n || []];
18
18
  }
19
- const rt = "/assets/linked-status-C8NLd-zI.js", ot = "/assets/override-menu-CwJOJV2k.js";
19
+ const rt = "/assets/linked-status-D83s5iw2.js", ot = "/assets/override-menu-BU4SgNGf.js";
20
20
  function st(e, t, n, s) {
21
21
  const r = C(t), u = n ? r.modules.catalog.find((f) => f._id === n) : null, c = s ? r.modules.scheduler.find((f) => f._id === s) : null, a = u ? C(u) : void 0, d = n ? r.modules.catalog.filter((f) => f._id !== n) : [], l = c ? C(c) : void 0, g = e.reduce((f, v) => (f[v._id] = nt(v), f), {});
22
22
  function y(f = []) {
@@ -157,7 +157,7 @@ function ut(e, t) {
157
157
  price: (s == null ? void 0 : s.price) || t.price
158
158
  };
159
159
  }
160
- async function Dt(e, t, n, s, r, u = !0) {
160
+ async function Vt(e, t, n, s, r, u = !0) {
161
161
  const c = C(n), a = u ? st(t, c, s, r) : c, d = t.reduce((y, f) => (y[f._id] = a.modules.item.find((v) => v._id === f._id), y), {}), l = t.reduce((y, f) => {
162
162
  const v = f._id;
163
163
  return y[v] = at(d[v], e), y;
@@ -188,11 +188,11 @@ function Tt(e, t) {
188
188
  return r;
189
189
  }, [])) || []).join(" / ");
190
190
  }
191
- const z = /* @__PURE__ */ new Map();
191
+ const q = /* @__PURE__ */ new Map();
192
192
  async function Kt(e, t) {
193
193
  const n = `${e._id}-${e.updatedAt}-${t}`;
194
- if (z.has(n))
195
- return z.get(n);
194
+ if (q.has(n))
195
+ return q.get(n);
196
196
  const s = await ue(
197
197
  rt,
198
198
  JSON.stringify({
@@ -200,7 +200,7 @@ async function Kt(e, t) {
200
200
  itemId: t
201
201
  })
202
202
  );
203
- return z.set(n, s), s;
203
+ return q.set(n, s), s;
204
204
  }
205
205
  async function ce(e, t, n) {
206
206
  return await ue(ot, {
@@ -209,13 +209,13 @@ async function ce(e, t, n) {
209
209
  schedulerId: n
210
210
  });
211
211
  }
212
- const q = /* @__PURE__ */ new Map();
212
+ const z = /* @__PURE__ */ new Map();
213
213
  async function it(e, t, n) {
214
214
  const s = `${e._id}-${e.updatedAt}-${t || "null"}-${n || "null"}`;
215
- if (q.has(s))
216
- return q.get(s);
215
+ if (z.has(s))
216
+ return z.get(s);
217
217
  const r = await ce(e, t, n);
218
- return q.set(s, r), r;
218
+ return z.set(s, r), r;
219
219
  }
220
220
  async function Pt(e, t, n) {
221
221
  var c, a;
@@ -541,7 +541,7 @@ function bt({
541
541
  includeValueOnMove: !1
542
542
  },
543
543
  cloneDiffValues: !1
544
- }), n = N(null), s = N([]), r = H(-1), u = N(null), c = S(() => r.value > 0), a = S(() => r.value < s.value.length - 1);
544
+ }), n = N(null), s = N([]), r = B(-1), u = N(null), c = S(() => r.value > 0), a = S(() => r.value < s.value.length - 1);
545
545
  function d(v) {
546
546
  if (n.value === null) {
547
547
  n.value = C(v), u.value = C(v), s.value = [{ delta: null }], r.value = 0;
@@ -591,7 +591,7 @@ function bt({
591
591
  }
592
592
  const Mt = {
593
593
  async updateMenuModule(e, t) {
594
- const n = B.RequestRunner.operation(t, e.modules);
594
+ const n = H.RequestRunner.operation(t, e.modules);
595
595
  if (n.validateError.length > 0)
596
596
  throw new Error(n.validateError.join(`
597
597
  `));
@@ -639,15 +639,15 @@ function wt() {
639
639
  }
640
640
  };
641
641
  }
642
- const $t = ze(
642
+ const $t = qe(
643
643
  "mf-menu-store-v2",
644
644
  () => {
645
- const e = qe(wt()), t = se(), n = tt(), s = S(() => e.menu.modules.serveSequence ? x(e.menu.modules.serveSequence, {
645
+ const e = ze(wt()), t = se(), n = tt(), s = S(() => e.menu.modules.serveSequence ? x(e.menu.modules.serveSequence, {
646
646
  selector: "position"
647
647
  }) : []), r = S(() => {
648
648
  var o;
649
- return ((o = t.currentBusiness.value) == null ? void 0 : o.menuVersion) || W.F_MENU_VERSION.v3;
650
- }), u = S(() => r.value === W.F_MENU_VERSION.v4), c = S(() => {
649
+ return ((o = t.currentBusiness.value) == null ? void 0 : o.menuVersion) || L.F_MENU_VERSION.v3;
650
+ }), u = S(() => r.value === L.F_MENU_VERSION.v4), c = S(() => {
651
651
  const o = e.menu.modules.catalog;
652
652
  return x(o, { selector: "name" });
653
653
  }), a = S(() => {
@@ -665,9 +665,9 @@ const $t = ze(
665
665
  (o) => o._id === e.currentSchedulerId
666
666
  ));
667
667
  function g(o, i = !0) {
668
- e.menu = { ...o, _rev: e.menu._rev }, i && V.push(e.menu);
668
+ e.menu = { ...o, _rev: e.menu._rev }, i && D.push(e.menu);
669
669
  }
670
- const y = N(me()), f = H(!1), v = H(1);
670
+ const y = N(me()), f = B(!1), v = B(1);
671
671
  async function p() {
672
672
  var m;
673
673
  f.value = !0;
@@ -705,7 +705,7 @@ const $t = ze(
705
705
  const M = ae.debounce(p, 200);
706
706
  let I = null, k = null;
707
707
  function X() {
708
- k && (k(), k = null), I && I.stop(), I = He(!0), k = I.run(() => Be(
708
+ k && (k(), k = null), I && I.stop(), I = Be(!0), k = I.run(() => He(
709
709
  () => [e.menu, e.currentCatalogId, e.currentSchedulerId],
710
710
  () => {
711
711
  f.value || M();
@@ -732,11 +732,11 @@ const $t = ze(
732
732
  position: 0
733
733
  }
734
734
  ] : [],
735
- ...D(o, (i) => i.name)
735
+ ...V(o, (i) => i.name)
736
736
  ];
737
737
  }), ve = S(() => {
738
738
  const o = y.value.modules.subCategory || [];
739
- return D(o, (i) => i.name);
739
+ return V(o, (i) => i.name);
740
740
  }), ee = S(() => {
741
741
  var i;
742
742
  let o = y.value.modules.item;
@@ -750,13 +750,13 @@ const $t = ze(
750
750
  return (_ == null ? void 0 : _.orderFrom) !== ie.enum.NONE;
751
751
  });
752
752
  }
753
- return D(o, (m) => m.code || m.name);
753
+ return V(o, (m) => m.code || m.name);
754
754
  }), ye = S(() => {
755
- const o = e.menu.modules.category, i = D(o, (h) => h.name).reduce(
755
+ const o = e.menu.modules.category, i = V(o, (h) => h.name).reduce(
756
756
  (h, _, A) => (h[_._id] = A, h),
757
757
  { "": 0 }
758
758
  ), m = e.menu.modules.item;
759
- return D(
759
+ return V(
760
760
  m,
761
761
  (h) => h.code || h.name
762
762
  ).reduce((h, _, A) => (h[_._id] = A + i[_.category || ""], h), {});
@@ -782,7 +782,7 @@ const $t = ze(
782
782
  const i = o.map((h) => j.value.find((_) => _._id === h)).filter((h) => !!h);
783
783
  return T.fullVariantCombination(i).reduce((h, _) => (h[_.combinationKey] = _.selectionName.join(" / "), h), {});
784
784
  }
785
- const _e = S(() => D(y.value.modules.group, (o) => o.name)), Se = S(() => x(y.value.modules.takeaway, { selector: "name" })), be = S(() => x(e.menu.modules.printDepartment || [], {
785
+ const _e = S(() => V(y.value.modules.group, (o) => o.name)), Se = S(() => x(y.value.modules.takeaway, { selector: "name" })), be = S(() => x(e.menu.modules.printDepartment || [], {
786
786
  selector: "name"
787
787
  })), Me = S(() => x(e.menu.modules.unit, { selector: "name" })), we = S(() => x(Ge(e.menu.modules.recipe, e.menu.modules.sku), {
788
788
  selector: "name"
@@ -798,7 +798,7 @@ const $t = ze(
798
798
  });
799
799
  }), o;
800
800
  }), U = S(() => {
801
- const o = !e.currentCatalogId, i = r.value === W.F_MENU_VERSION.v4, m = !e.currentSchedulerId, h = {
801
+ const o = !e.currentCatalogId, i = r.value === L.F_MENU_VERSION.v4, m = !e.currentSchedulerId, h = {
802
802
  create: o && m,
803
803
  edit: o && m,
804
804
  delete: o && m
@@ -871,7 +871,7 @@ const $t = ze(
871
871
  }
872
872
  };
873
873
  });
874
- function L(o) {
874
+ function W(o) {
875
875
  return `${o.systemCode}/${o.taxCode}`;
876
876
  }
877
877
  function ke(o) {
@@ -879,7 +879,7 @@ const $t = ze(
879
879
  return { systemCode: i, taxCode: m };
880
880
  }
881
881
  function Ee(o, i, m) {
882
- return (o ?? i ?? []).map((h) => L(h)).find((h) => m.some((_) => _.value === h));
882
+ return (o ?? i ?? []).map((h) => W(h)).find((h) => m.some((_) => _.value === h));
883
883
  }
884
884
  const Re = S(() => {
885
885
  var h;
@@ -887,7 +887,7 @@ const $t = ze(
887
887
  se().currentCountry.value
888
888
  ), m = i.filter((_) => u.value || !o.includes(_.taxCode)).map((_) => ({
889
889
  label: `${_.name} (${Qe(_.rate)}%)`,
890
- value: L(_),
890
+ value: W(_),
891
891
  meta: {
892
892
  rate: _.rate
893
893
  }
@@ -912,9 +912,9 @@ const $t = ze(
912
912
  });
913
913
  }, te = (o) => {
914
914
  e.currentCatalogId = o;
915
- }, Ve = (o) => {
916
- e.currentSchedulerId = o;
917
915
  }, De = (o) => {
916
+ e.currentSchedulerId = o;
917
+ }, Ve = (o) => {
918
918
  e.currentCategoryIds = o;
919
919
  }, Te = (o) => {
920
920
  e.currentRestaurantAttrParams = o;
@@ -928,7 +928,7 @@ const $t = ze(
928
928
  }));
929
929
  try {
930
930
  if (i || h.some(
931
- (A) => [B.F_OPERATION_TYPE.delete, B.F_OPERATION_TYPE.deleteMany].includes(A.operation)
931
+ (A) => [H.F_OPERATION_TYPE.delete, H.F_OPERATION_TYPE.deleteMany].includes(A.operation)
932
932
  )) {
933
933
  const A = await Xe(h, e.menu.modules);
934
934
  if (A !== !0) throw new Error(A);
@@ -950,14 +950,14 @@ const $t = ze(
950
950
  priceTierSettings: o.priceTierSettings
951
951
  };
952
952
  return g(i), i;
953
- }, V = bt({ maxHistorySize: 50 }), $e = S(() => V.canUndo.value), Fe = S(() => V.canRedo.value), Ne = () => {
954
- const o = V.undo();
953
+ }, D = bt({ maxHistorySize: 50 }), $e = S(() => D.canUndo.value), Fe = S(() => D.canRedo.value), Ne = () => {
954
+ const o = D.undo();
955
955
  o && g(o, !1);
956
956
  }, je = () => {
957
- const o = V.redo();
957
+ const o = D.redo();
958
958
  o && g(o, !1);
959
959
  }, Ue = () => {
960
- V.clear();
960
+ D.clear();
961
961
  };
962
962
  return {
963
963
  state: e,
@@ -997,14 +997,14 @@ const $t = ze(
997
997
  readMenu: xe,
998
998
  readRestaurants: Oe,
999
999
  selectCatalog: te,
1000
- selectScheduler: Ve,
1001
- selectCategory: De,
1000
+ selectScheduler: De,
1001
+ selectCategory: Ve,
1002
1002
  setRestaurantAttrParams: Te,
1003
1003
  updateMenu: Ke,
1004
1004
  updateMenuSetting: Pe,
1005
1005
  computeMergedMenu: p,
1006
1006
  // helper
1007
- encodeTax: L,
1007
+ encodeTax: W,
1008
1008
  decodeTax: ke,
1009
1009
  getSelectedTax: Ee,
1010
1010
  mapVariant: he,
@@ -1028,7 +1028,7 @@ export {
1028
1028
  Pt as f,
1029
1029
  Tt as g,
1030
1030
  nt as i,
1031
- Dt as m,
1031
+ Vt as m,
1032
1032
  it as o,
1033
1033
  $t as u
1034
1034
  };
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as q, ref as V, h as S, computed as N, resolveComponent as I, createBlock as X, openBlock as w, unref as l, withCtx as x, createElementVNode as k, createVNode as v, watch as Z, createElementBlock as L, Fragment as M, renderSlot as ee, renderList as H, toDisplayString as $, createCommentVNode as ae, getCurrentInstance as te, render as ne } from "vue";
2
- import { u as Y, i as oe, b as le, g as B, h as K } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
2
+ import { u as Y, i as oe, b as le, g as B, h as K } from "./index.vue_vue_type_script_setup_true_lang-P7O7STU9.js";
3
3
  import { useI18n as R } from "@feedmepos/mf-common";
4
4
  import { components as A, FmButtonVariant as re, FmButtonColorThemeVariant as j, useSnackbar as ie } from "@feedmepos/ui-library";
5
- import { _ as J, u as se } from "./RuleView.vue_vue_type_script_setup_true_lang-ntxQXlpV.js";
5
+ import { _ as J, u as se } from "./RuleView.vue_vue_type_script_setup_true_lang-BxYsaZfB.js";
6
6
  import { c as de } from "./object-DVUNCr7w.js";
7
- import { _ as ue } from "./app-BMI3O5C9.js";
8
- import { L as ce } from "./LinkProductSideSheet-BQc-iCkQ.js";
7
+ import { _ as ue } from "./app-b2SIk1B-.js";
8
+ import { L as ce } from "./LinkProductSideSheet-HDmjKJSh.js";
9
9
  import { u as me } from "./search-BAPEUu1R.js";
10
- import { _ as pe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-BZfaB7Vl.js";
10
+ import { _ as pe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-D-gqJRTs.js";
11
11
  import { c as ge } from "./check-C9mY6LiX.js";
12
12
  import { g as G } from "./translation-fNx6yEpy.js";
13
13
  import { c as _e } from "./createComponentProgrammatically-Bt2rn1IQ.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as d, ref as g, watch as _, resolveComponent as S, createBlock as T, openBlock as f, unref as y, computed as h } from "vue";
2
2
  import { useI18n as m } from "@feedmepos/mf-common";
3
3
  import { useDialogChild as w, useDialog as x, useSnackbar as C } from "@feedmepos/ui-library";
4
- import { u as k, b as M } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
4
+ import { u as k, b as M } from "./index.vue_vue_type_script_setup_true_lang-P7O7STU9.js";
5
5
  const b = /* @__PURE__ */ d({
6
6
  __name: "AddPriceGroupDialog",
7
7
  setup(s) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, watch as P, ref as E, computed as w, resolveComponent as _, createElementBlock as h, openBlock as F, Fragment as M, createVNode as f, unref as g, withCtx as b, createElementVNode as O, renderList as q, toDisplayString as S } from "vue";
2
- import { g as v, h as C, u as Y } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
2
+ import { g as v, h as C, u as Y } from "./index.vue_vue_type_script_setup_true_lang-P7O7STU9.js";
3
3
  import { useI18n as D } from "@feedmepos/mf-common";
4
4
  import { useDialogChild as k } from "@feedmepos/ui-library";
5
- import { u as R } from "./menuV2-D1bGhwPG.js";
6
- import { _ as $ } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-BZfaB7Vl.js";
5
+ import { u as R } from "./menuV2-CiFcZLoW.js";
6
+ import { _ as $ } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-D-gqJRTs.js";
7
7
  import { g as N } from "./translation-fNx6yEpy.js";
8
8
  const B = { class: "py-12 px-16 space-y-4" }, U = /* @__PURE__ */ I({
9
9
  __name: "AddSubcategoryDialogContentComponent",
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as re, computed as N, resolveComponent as v, createElementBlock as d, openBlock as u, createVNode as t, createCommentVNode as V, unref as n, toDisplayString as O, createElementVNode as _, withCtx as p, Fragment as R, renderList as I, createBlock as q, ref as B, Transition as de, createTextVNode as fe } from "vue";
2
- import { u as ye, l as _e } from "./discardConfirm-B61hQjlH.js";
3
- import { d as w, z as $, u as he, F as ge, A as L, g as se, h as ie, P as ce } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
2
+ import { u as ye, l as _e } from "./discardConfirm-BaKm8467.js";
3
+ import { d as w, z as $, u as he, F as ge, A as L, g as se, h as ie, P as ce } from "./index.vue_vue_type_script_setup_true_lang-P7O7STU9.js";
4
4
  import { useI18n as me } from "@feedmepos/mf-common";
5
5
  import { components as Ve } from "@feedmepos/ui-library";
6
6
  import { _ as ke } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
7
- import { _ as ue } from "./RuleView.vue_vue_type_script_setup_true_lang-ntxQXlpV.js";
8
- import { u as Fe } from "./menu-BNrZkzpK.js";
9
- import { L as be } from "./LinkProductSideSheet-BQc-iCkQ.js";
7
+ import { _ as ue } from "./RuleView.vue_vue_type_script_setup_true_lang-BxYsaZfB.js";
8
+ import { u as Fe } from "./menu-CjpQrL-3.js";
9
+ import { L as be } from "./LinkProductSideSheet-HDmjKJSh.js";
10
10
  const xe = { class: "space-y-8" }, Ce = {
11
11
  key: 0,
12
12
  class: "space-y-16"
@@ -1,5 +1,5 @@
1
- import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-AK0_2AOY.js";
2
- import "./discardConfirm-B61hQjlH.js";
1
+ import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-VtcRq2HL.js";
2
+ import "./discardConfirm-BaKm8467.js";
3
3
  var Z = {
4
4
  defaultAmount: 0,
5
5
  defaultCurrency: "USD",
@@ -1,12 +1,12 @@
1
1
  import { defineStore as H } from "pinia";
2
2
  import { defineComponent as M, computed as x, ref as A, watch as S, resolveComponent as V, createBlock as J, openBlock as F, withCtx as w, createVNode as m, createElementVNode as f, normalizeClass as Q, createElementBlock as C, toDisplayString as k, unref as l, Fragment as N, renderSlot as X, renderList as Z, getCurrentInstance as ee } from "vue";
3
- import { D as O, E as te, B as P, d as E, i as $, b as j, m as h, C as ne, g as T, h as D, u as oe } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
3
+ import { D as O, E as te, B as P, d as E, i as $, b as j, m as h, C as ne, g as T, h as D, u as oe } from "./index.vue_vue_type_script_setup_true_lang-P7O7STU9.js";
4
4
  import { useI18n as q } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as I, components as ae, useDialog as le, FmButtonVariant as ue } from "@feedmepos/ui-library";
6
- import { u as ie, l as se } from "./discardConfirm-B61hQjlH.js";
6
+ import { u as ie, l as se } from "./discardConfirm-BaKm8467.js";
7
7
  import { c as re } from "./check-C9mY6LiX.js";
8
8
  import "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
9
- import "./menuV2-D1bGhwPG.js";
9
+ import "./menuV2-CiFcZLoW.js";
10
10
  import "./app-5fxKLAzS.js";
11
11
  /* empty css */
12
12
  import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-menu",
3
- "version": "0.32.63-dev.4",
3
+ "version": "0.32.63",
4
4
  "files": [
5
5
  "dist"
6
6
  ],