@feedmepos/mf-menu 0.32.56 → 0.32.57-dev.1

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 (67) hide show
  1. package/dist/{App-BUePFRjb.js → App-C7XMC5tu.js} +5 -5
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-oPq3AcV2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-E3y0Yzvz.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-r2W9cuVe.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-BzxL3LIz.js} +2 -2
  4. package/dist/{Catalog-uo0vO8uy.js → Catalog-wjLJ0FKr.js} +6 -6
  5. package/dist/{Category-CHN6aSPS.js → Category-BVAF5jZq.js} +4 -4
  6. package/dist/{Category-BvetZzck.js → Category-C8NEdw1f.js} +4 -4
  7. package/dist/{CookingGuide-DU8D0T0w.js → CookingGuide-DkVCd-Tc.js} +4 -4
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIxKLpe8.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Csn3gjAQ.js} +1 -1
  9. package/dist/{Group-Cd1OoALN.js → Group-CFeW2ARj.js} +1 -1
  10. package/dist/{Group-BFGFyGhC.js → Group-DsuU26jf.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-Dyb9On55.js → Group.vue_vue_type_script_setup_true_lang-BPgT_ckT.js} +7 -7
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-XcNt0ZBv.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cl6AEPoD.js} +5 -5
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dw3IXPUL.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BLK8bASJ.js} +7 -7
  14. package/dist/{Ingredient-CXU04qIu.js → Ingredient-CASi0MP2.js} +3 -3
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-q9DVgfMD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-a4r-l-jt.js} +2 -2
  16. package/dist/{LinkProductSideSheet-CaFKMMSd.js → LinkProductSideSheet-Ci1_qEKm.js} +3 -3
  17. package/dist/{MenuSetting-EeJdFNfx.js → MenuSetting-CQxD3M9k.js} +6 -6
  18. package/dist/{OrderPacing-Db4P-2ea.js → OrderPacing-CKpx1zWN.js} +5 -5
  19. package/dist/{PrintRoute-CSScKjFa.js → PrintRoute-BDkeKHLa.js} +4 -4
  20. package/dist/{Product-tvbYvK5u.js → Product-DxkexFiq.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js → Product.vue_vue_type_script_setup_true_lang-DxkTpeIp.js} +66 -66
  22. package/dist/{ProductInternalTools-D2rmgEby.js → ProductInternalTools-DMh7P9N6.js} +5 -5
  23. package/dist/{Products-WPvLY_wr.js → Products-BaTN9Vrv.js} +34 -34
  24. package/dist/{Publish-BJ9rz75C.js → Publish-B-0kzb8B.js} +3 -3
  25. package/dist/{Recipe-BMRTd58L.js → Recipe-DiFdfvoL.js} +4 -4
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BefgcG34.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BZ6-uHC1.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DlzIboPc.js → RuleView.vue_vue_type_script_setup_true_lang-C3d41j99.js} +231 -231
  28. package/dist/{Scheduler-CHQ5YcBq.js → Scheduler-Y-r-uhl2.js} +3 -3
  29. package/dist/{ServingSequence-BtXSEzfn.js → ServingSequence-B2gZumZ5.js} +3 -3
  30. package/dist/{Setting-BnXj1uTa.js → Setting-CVIGpw-x.js} +5 -5
  31. package/dist/{Subcategory-miGPIoku.js → Subcategory-CGBVYZ7Z.js} +5 -5
  32. package/dist/{Takeaway-zaChLDgt.js → Takeaway-D4mIHqv6.js} +4 -4
  33. package/dist/{Takeaway-DtVvfRQy.js → Takeaway-DDTTQZak.js} +1 -1
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BFnbiGsG.js → Takeaway.vue_vue_type_script_setup_true_lang-CJuJedKh.js} +5 -5
  35. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CNYxe969.js → Thumbnail.vue_vue_type_script_setup_true_lang-AHNsIox6.js} +4 -4
  36. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-D4fWF46n.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CpEWc_Ff.js} +1 -1
  37. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DLqeQRkH.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BPkpxT1s.js} +2 -2
  38. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DUxEgL0r.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ddstxum-.js} +13 -13
  39. package/dist/{Unit-BaLVANd9.js → Unit-DAHT36Af.js} +2 -2
  40. package/dist/{Variant-Bnb4SllS.js → Variant-0UJVh4AG.js} +3 -3
  41. package/dist/{_id_-btH88hnV.js → _id_-BSzV5VHq.js} +9 -9
  42. package/dist/{app-BO16t-ps.js → app-BpxsJTLh.js} +32 -32
  43. package/dist/{app-D1a9CqKF.js → app-RorQyO5L.js} +1 -1
  44. package/dist/app.js +1 -1
  45. package/dist/assets/{linked-status-zxrRiX3x.js → linked-status-BUeQipEA.js} +2 -2
  46. package/dist/assets/{menu-export-DXB8Py6r.js → menu-export-Vn3MYK3_.js} +2 -2
  47. package/dist/assets/{override-menu-CEIJGR_x.js → override-menu-BpEh_6g3.js} +2 -2
  48. package/dist/assets/{validate-menu-DN3P-OR7.js → validate-menu-De9rzE7_.js} +2 -2
  49. package/dist/{catalog-COu1SO_p.js → catalog-BBaS6Pnd.js} +1 -1
  50. package/dist/{catalogSetting-D34fLwdB.js → catalogSetting-BDnNmlnm.js} +1 -1
  51. package/dist/{currency-DlfcFoj5.js → currency-BrkU2Vde.js} +1 -1
  52. package/dist/{dayjs.min-xM9KAjrx.js → dayjs.min-DgpA8hFi.js} +2 -2
  53. package/dist/{index-ByEp1JD0.js → index-DBAlmXib.js} +5 -5
  54. package/dist/{index-B5d_uvVc.js → index-Dy5TC0x7.js} +4 -4
  55. package/dist/{index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js → index.vue_vue_type_script_setup_true_lang-Bx__FUMc.js} +5 -5
  56. package/dist/{item-CtfWra_w.js → item-oY2LwWGC.js} +17 -17
  57. package/dist/{jszip.min-CNLaYb3p.js → jszip.min-BbhegiH-.js} +3 -3
  58. package/dist/{memberPricing-DSqwOAgM.js → memberPricing-nYksLKBc.js} +1 -1
  59. package/dist/{menu-DUsES-YM.js → menu-CJl8kr2v.js} +1 -1
  60. package/dist/{menuV2-BaY8Z_1c.js → menuV2-Cfjb_IgJ.js} +34 -34
  61. package/dist/{order_pacing-B5a8Fch-.js → order_pacing-BPt_fRk7.js} +5 -5
  62. package/dist/{priceTier-bxvu4c84.js → priceTier-BlOBX3x3.js} +1 -1
  63. package/dist/{rules-CTd3QZhN.js → rules-BkSEsnpL.js} +3 -3
  64. package/dist/{scheduler-DIl9SPsA.js → scheduler-Cl70ZIns.js} +4 -4
  65. package/dist/{toExcel-CUAEPhEv.js → toExcel-BAeoALKB.js} +2 -2
  66. package/dist/{unit-DThoovpF.js → unit-BH96dkTh.js} +2 -2
  67. package/package.json +1 -1
@@ -1,23 +1,23 @@
1
- import { ref as F, computed as h, defineComponent as G, resolveComponent as K, createBlock as I, openBlock as m, withCtx as $, createElementVNode as b, createVNode as d, unref as r, createElementBlock as w, Fragment as de, renderList as Se, createCommentVNode as R, normalizeClass as me, toDisplayString as E, withModifiers as fe, mergeModels as lt, useModel as at, renderSlot as ye, watch as ie, createTextVNode as ot, watchEffect as rt, nextTick as Me, resolveDynamicComponent as nt, onMounted as st, h as U, isRef as Le, normalizeStyle as ht } from "vue";
2
- import { u as Ie, T as we, z as ce, G as Ue, H as be, W as xt, al as Ct, am as wt, an as Re, ao as kt, Q as St, a5 as _e, ap as We } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
1
+ import { ref as F, computed as h, defineComponent as G, resolveComponent as K, createBlock as I, openBlock as m, withCtx as $, createElementVNode as b, createVNode as d, unref as r, createElementBlock as w, Fragment as de, renderList as Se, createCommentVNode as M, normalizeClass as me, toDisplayString as E, withModifiers as fe, mergeModels as lt, useModel as at, renderSlot as ye, watch as ie, createTextVNode as ot, watchEffect as rt, nextTick as Me, resolveDynamicComponent as nt, onMounted as st, h as U, isRef as Le, normalizeStyle as ht } from "vue";
2
+ import { u as Ie, T as we, z as ce, G as Ue, H as be, W as xt, al as Ct, am as wt, an as Re, ao as kt, Q as St, a5 as _e, ap as We } from "./index.vue_vue_type_script_setup_true_lang-Bx__FUMc.js";
3
3
  import { useI18n as $e, useCoreStore as Ne, useCustomAttributes as Vt } from "@feedmepos/mf-common";
4
- import { u as Ve } from "./menu-DUsES-YM.js";
5
- import { L as qe } from "./LinkProductSideSheet-CaFKMMSd.js";
6
- import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BefgcG34.js";
7
- import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIxKLpe8.js";
8
- import { _ as Oe, u as Ft } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CNYxe969.js";
9
- import { f as It, o as $t, a as Tt, m as Pt } from "./menuV2-BaY8Z_1c.js";
10
- import { u as ut, C as At, S as Rt } from "./item-CtfWra_w.js";
4
+ import { u as Ve } from "./menu-CJl8kr2v.js";
5
+ import { L as qe } from "./LinkProductSideSheet-Ci1_qEKm.js";
6
+ import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BZ6-uHC1.js";
7
+ import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-Csn3gjAQ.js";
8
+ import { _ as Oe, u as Ft } from "./Thumbnail.vue_vue_type_script_setup_true_lang-AHNsIox6.js";
9
+ import { f as It, o as $t, a as Tt, m as Pt } from "./menuV2-Cfjb_IgJ.js";
10
+ import { u as ut, C as At, S as Rt } from "./item-oY2LwWGC.js";
11
11
  import { b as Ye, H as Mt } from "./app-5fxKLAzS.js";
12
12
  import { useBreakpoints as it, components as ee, useDialog as Ut, FmButtonColorThemeVariant as q, FmButtonVariant as X } from "@feedmepos/ui-library";
13
13
  import { F as zt } from "./index-CisutoS9.js";
14
- import { _ as De, d as Ot, e as Nt } from "./app-BO16t-ps.js";
14
+ import { _ as De, d as Ot, e as Nt } from "./app-BpxsJTLh.js";
15
15
  import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
16
- import { _ as Dt } from "./index-ByEp1JD0.js";
17
- import { r as Kt, _ as Bt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Dw3IXPUL.js";
16
+ import { _ as Dt } from "./index-DBAlmXib.js";
17
+ import { r as Kt, _ as Bt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BLK8bASJ.js";
18
18
  import { _ as Ze } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
19
19
  import { c as jt } from "./check-C9mY6LiX.js";
20
- import { f as Et } from "./currency-DlfcFoj5.js";
20
+ import { f as Et } from "./currency-BrkU2Vde.js";
21
21
  import { w as Gt } from "./tooltip-B5BiPMx9.js";
22
22
  function Lt(C, l, c = C) {
23
23
  const n = F(!0), o = h(() => {
@@ -85,7 +85,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
85
85
  b("div", Wt, [
86
86
  d(J, null, {
87
87
  default: $(() => [
88
- _.value ? (m(), w("div", qt, E(r(s)("menu.category.selector.title", { label: _.value })), 1)) : R("", !0),
88
+ _.value ? (m(), w("div", qt, E(r(s)("menu.category.selector.title", { label: _.value })), 1)) : M("", !0),
89
89
  d(H, {
90
90
  color: "neutral-gray-400",
91
91
  name: "expand_more",
@@ -104,7 +104,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
104
104
  onClick: D[0] || (D[0] = fe(() => {
105
105
  }, ["prevent"]))
106
106
  })
107
- ])) : R("", !0)
107
+ ])) : M("", !0)
108
108
  ]),
109
109
  _: 1
110
110
  })
@@ -176,8 +176,8 @@ const Wt = { class: "inline-flex items-center" }, qt = {
176
176
  onClick: _[0] || (_[0] = fe((k) => v.value = !v.value, ["stop", "prevent"]))
177
177
  }, [
178
178
  v.value ? (m(), w("span", al, E(r(c)("menu.product.table.category.expand", { count: s.categories.length - u.value })), 1)) : (m(), w("span", ol, E(r(c)("menu.product.table.category.collapse")), 1))
179
- ])) : R("", !0)
180
- ])) : R("", !0)
179
+ ])) : M("", !0)
180
+ ])) : M("", !0)
181
181
  ], 64)) : (m(), I(y, {
182
182
  key: 0,
183
183
  class: "flex",
@@ -208,7 +208,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
208
208
  key: 0,
209
209
  label: "...",
210
210
  variant: "neutral"
211
- })) : R("", !0)
211
+ })) : M("", !0)
212
212
  ])
213
213
  ]),
214
214
  _: 1
@@ -269,7 +269,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
269
269
  b("p", il, E(c.title), 1),
270
270
  c.titleBadge !== void 0 ? (m(), w("div", cl, [
271
271
  b("p", dl, E(c.titleBadge), 1)
272
- ])) : R("", !0)
272
+ ])) : M("", !0)
273
273
  ]),
274
274
  d(De, null, {
275
275
  default: $(() => [
@@ -626,7 +626,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
626
626
  }, null, 8, ["alt", "src"]),
627
627
  b("div", yl, [
628
628
  b("p", hl, [
629
- (f = c.value) != null && f.code ? (m(), w("span", xl, E((s = c.value) == null ? void 0 : s.code) + ", ", 1)) : R("", !0),
629
+ (f = c.value) != null && f.code ? (m(), w("span", xl, E((s = c.value) == null ? void 0 : s.code) + ", ", 1)) : M("", !0),
630
630
  b("span", null, E((_ = c.value) == null ? void 0 : _.name), 1)
631
631
  ]),
632
632
  b("p", Cl, "Base price: " + E(n.value), 1),
@@ -638,7 +638,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
638
638
  "custom-attributes": (k = c.value) == null ? void 0 : k.customAttributes
639
639
  }, null, 8, ["custom-attributes"])
640
640
  ])
641
- ])) : R("", !0)
641
+ ])) : M("", !0)
642
642
  ])
643
643
  ]);
644
644
  };
@@ -706,13 +706,13 @@ const Wt = { class: "inline-flex items-center" }, qt = {
706
706
  "helper-text": "Quickly find products and view their prices across different catalogs and schedules.",
707
707
  menu: r(c).state.menu
708
708
  }, null, 8, ["modelValue", "menu"])
709
- ])) : R("", !0),
709
+ ])) : M("", !0),
710
710
  b("div", null, [
711
711
  n.value ? (m(), I(Fl, {
712
712
  key: 0,
713
713
  "item-id": n.value,
714
714
  menu: r(c).state.menu
715
- }, null, 8, ["item-id", "menu"])) : R("", !0)
715
+ }, null, 8, ["item-id", "menu"])) : M("", !0)
716
716
  ])
717
717
  ]));
718
718
  }
@@ -742,7 +742,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
742
742
  c.value && l.value ? (m(), I(Tl, {
743
743
  key: 0,
744
744
  "item-id": l.value
745
- }, null, 8, ["item-id"])) : R("", !0)
745
+ }, null, 8, ["item-id"])) : M("", !0)
746
746
  ])
747
747
  ]),
748
748
  _: 1
@@ -878,7 +878,7 @@ const et = /* @__PURE__ */ G({
878
878
  }), J = F(""), re = Ot(J, 300), Q = h(() => {
879
879
  const t = (i) => {
880
880
  var x;
881
- return !re.value || !re.value.trim() ? !0 : [i.code, i.name, Be(i), ...Re(ne.value, i), (x = we()[i.orderFrom]) == null ? void 0 : x.label, Object.values(i.customAttributes ?? {}).join(" ")].join(" ").toLowerCase().includes(re.value.toLowerCase());
881
+ return !re.value || !re.value.trim() ? !0 : [i.code, i.name, Be(i), ...Re(ne.value, i), A(i.subCategories), (x = we()[i.orderFrom]) == null ? void 0 : x.label, Object.values(i.customAttributes ?? {}).join(" ")].join(" ").toLowerCase().includes(re.value.toLowerCase());
882
882
  }, e = (i) => H.value ? Mt(i.customAttributes, H.value) : !0;
883
883
  return N.value.filter((i) => t(i) && e(i));
884
884
  }), {
@@ -890,7 +890,7 @@ const et = /* @__PURE__ */ G({
890
890
  label: t.name,
891
891
  value: t._id
892
892
  }))), z = h(() => a.subcategories.reduce((t, e) => (t[e._id] = e.name, t), {}));
893
- function M(t) {
893
+ function A(t) {
894
894
  return (t == null ? void 0 : t.map((e) => z.value[e]).filter(Boolean).join("/")) || "--";
895
895
  }
896
896
  const te = (t, e, i) => {
@@ -903,9 +903,9 @@ const et = /* @__PURE__ */ G({
903
903
  ...x,
904
904
  [e]: i
905
905
  }, Y("update:model-value", p));
906
- }, j = Ct(() => n.originalValue, () => n.modelValue), O = be.debounce(te, 300), A = (t) => (e) => !!e || o("menu.product.table.validation.name_required", {
906
+ }, j = Ct(() => n.originalValue, () => n.modelValue), O = be.debounce(te, 300), R = (t) => (e) => !!e || o("menu.product.table.validation.name_required", {
907
907
  field: t
908
- }), se = (t) => t >= 0 || o("menu.product.table.validation.price_min"), L = [A("Name")], pe = () => [(t) => se(typeof t == "number" ? t : Number(t) ?? 0)], he = we(), xe = h(() => {
908
+ }), se = (t) => t >= 0 || o("menu.product.table.validation.price_min"), L = [R("Name")], pe = () => [(t) => se(typeof t == "number" ? t : Number(t) ?? 0)], he = we(), xe = h(() => {
909
909
  const t = a.isV4;
910
910
  return xt.setCoreStore(u).taxSetting(t);
911
911
  }), ge = h(() => [{
@@ -1086,7 +1086,7 @@ const et = /* @__PURE__ */ G({
1086
1086
  }
1087
1087
  }) : U("span", {
1088
1088
  class: "break-all"
1089
- }, M(e.subCategories));
1089
+ }, A(e.subCategories));
1090
1090
  }
1091
1091
  }] : [], {
1092
1092
  id: "tagging",
@@ -1284,7 +1284,7 @@ const et = /* @__PURE__ */ G({
1284
1284
  attributes: r(B),
1285
1285
  modelValue: r(D),
1286
1286
  "onUpdate:modelValue": e[6] || (e[6] = (g) => Le(D) ? D.value = g : null)
1287
- }, null, 8, ["attributes", "modelValue"])])) : R("", !0)]), N.value.length ? (m(), w("div", Hl, [(m(!0), w(de, null, Se(Q.value, (g) => {
1287
+ }, null, 8, ["attributes", "modelValue"])])) : M("", !0)]), N.value.length ? (m(), w("div", Hl, [(m(!0), w(de, null, Se(Q.value, (g) => {
1288
1288
  var le;
1289
1289
  return m(), w("div", {
1290
1290
  key: g._id,
@@ -1350,7 +1350,7 @@ const et = /* @__PURE__ */ G({
1350
1350
  attributes: r(B),
1351
1351
  modelValue: r(D),
1352
1352
  "onUpdate:modelValue": e[1] || (e[1] = (g) => Le(D) ? D.value = g : null)
1353
- }, null, 8, ["attributes", "modelValue"])])) : R("", !0), N.value.length ? (m(), w("div", Ol, [ue.value.length && !S.value ? (m(), w("div", Nl, [b("p", Dl, E(r(o)("menu.product.table.selection.count", {
1353
+ }, null, 8, ["attributes", "modelValue"])])) : M("", !0), N.value.length ? (m(), w("div", Ol, [ue.value.length && !S.value ? (m(), w("div", Nl, [b("p", Dl, E(r(o)("menu.product.table.selection.count", {
1354
1354
  count: ue.value.length
1355
1355
  })), 1), d(p, {
1356
1356
  label: r(o)("menu.product.table.selection.actions.deselect_all"),
@@ -1365,7 +1365,7 @@ const et = /* @__PURE__ */ G({
1365
1365
  "prepend-icon": "delete",
1366
1366
  variant: "secondary",
1367
1367
  onClick: mt
1368
- }, null, 8, ["border-color", "text-color", "label"])])) : R("", !0), S.value ? (m(), w("div", Kl, [d(p, {
1368
+ }, null, 8, ["border-color", "text-color", "label"])])) : M("", !0), S.value ? (m(), w("div", Kl, [d(p, {
1369
1369
  variant: r(X).Tertiary,
1370
1370
  label: r(o)("menu.product.table.bulk_edit.actions.reset_all"),
1371
1371
  onClick: Ce
@@ -1379,7 +1379,7 @@ const et = /* @__PURE__ */ G({
1379
1379
  variant: r(X).Secondary,
1380
1380
  label: r(o)("menu.product.table.bulk_edit.actions.save"),
1381
1381
  type: "submit"
1382
- }, null, 8, ["borderColor", "textColor", "variant", "label"])])) : R("", !0), b("div", {
1382
+ }, null, 8, ["borderColor", "textColor", "variant", "label"])])) : M("", !0), b("div", {
1383
1383
  ref_key: "tableWrapper",
1384
1384
  ref: je
1385
1385
  }, [(m(), I(nt(S.value ? zt : "div"), {
@@ -1462,16 +1462,16 @@ const et = /* @__PURE__ */ G({
1462
1462
  __name: "Product",
1463
1463
  setup(C) {
1464
1464
  const l = Ie(), c = h(() => l.rules.item), n = ut(), o = h(() => !l.state.currentCatalogId), u = h(() => l.rules.item), a = h(() => !l.state.currentSchedulerId), v = F(!1), f = F(!1), s = h(() => {
1465
- var T, z, M, te;
1465
+ var T, z, A, te;
1466
1466
  if (o.value && a.value) return;
1467
1467
  if (a.value) {
1468
1468
  const j = (T = l.currentCatalog) == null ? void 0 : T.override.items;
1469
- return j ? Object.entries(j).reduce((O, [A, se]) => {
1469
+ return j ? Object.entries(j).reduce((O, [R, se]) => {
1470
1470
  const L = se.find((pe) => !pe.combinationKey);
1471
- return L && (O[A] = L), O;
1471
+ return L && (O[R] = L), O;
1472
1472
  }, {}) : {};
1473
1473
  }
1474
- return ((o.value ? (z = l.currentScheduler) == null ? void 0 : z.items : (te = (M = l.currentCatalog) == null ? void 0 : M.override.scheduler[l.state.currentSchedulerId]) == null ? void 0 : te.items) ?? []).reduce((j, O) => (O.combinationKey || (j[O._id] = O), j), {});
1474
+ return ((o.value ? (z = l.currentScheduler) == null ? void 0 : z.items : (te = (A = l.currentCatalog) == null ? void 0 : A.override.scheduler[l.state.currentSchedulerId]) == null ? void 0 : te.items) ?? []).reduce((j, O) => (O.combinationKey || (j[O._id] = O), j), {});
1475
1475
  }), _ = F({}), y = F({}), k = async () => {
1476
1476
  var te, j;
1477
1477
  f.value = !0;
@@ -1482,28 +1482,28 @@ const et = /* @__PURE__ */ G({
1482
1482
  (te = l.currentCatalog) == null ? void 0 : te._id,
1483
1483
  (j = l.currentScheduler) == null ? void 0 : j._id,
1484
1484
  !1
1485
- ) : void 0, M = T.reduce((O, A, se) => {
1485
+ ) : void 0, A = T.reduce((O, R, se) => {
1486
1486
  var pe, he, xe, ge;
1487
- const L = (pe = s.value) == null ? void 0 : pe[A._id];
1488
- return O[A._id] = {
1489
- _id: A._id,
1490
- name: A.name,
1491
- code: P ? L == null ? void 0 : L.code : A == null ? void 0 : A.code,
1492
- category: A.category,
1493
- additionalCategories: A.additionalCategories,
1494
- subCategories: A.subCategories,
1495
- price: P && u.value.editPrice ? L == null ? void 0 : L.price : A.price,
1496
- orderFrom: P ? L == null ? void 0 : L.orderFrom : A.orderFrom,
1497
- taxes: P ? null : A.taxes,
1498
- thumbnail: A.thumbnail,
1487
+ const L = (pe = s.value) == null ? void 0 : pe[R._id];
1488
+ return O[R._id] = {
1489
+ _id: R._id,
1490
+ name: R.name,
1491
+ code: P ? L == null ? void 0 : L.code : R == null ? void 0 : R.code,
1492
+ category: R.category,
1493
+ additionalCategories: R.additionalCategories,
1494
+ subCategories: R.subCategories,
1495
+ price: P && u.value.editPrice ? L == null ? void 0 : L.price : R.price,
1496
+ orderFrom: P ? L == null ? void 0 : L.orderFrom : R.orderFrom,
1497
+ taxes: P ? null : R.taxes,
1498
+ thumbnail: R.thumbnail,
1499
1499
  fallbackPrice: (he = z == null ? void 0 : z[se]) == null ? void 0 : he.price,
1500
- fallbackName: P ? A.name : void 0,
1500
+ fallbackName: P ? R.name : void 0,
1501
1501
  fallbackCode: (xe = z == null ? void 0 : z[se]) == null ? void 0 : xe.code,
1502
1502
  fallbackOrder: (ge = z == null ? void 0 : z[se]) == null ? void 0 : ge.orderFrom,
1503
- fallbackTaxes: P ? A.taxes : null
1503
+ fallbackTaxes: P ? R.taxes : null
1504
1504
  }, O;
1505
1505
  }, {});
1506
- _.value = M, y.value = { ...M }, f.value = !1;
1506
+ _.value = A, y.value = { ...A }, f.value = !1;
1507
1507
  }, { categories: N, selectedCategories: Y } = Ve(), S = F(null);
1508
1508
  function ae() {
1509
1509
  S.value && S.value.toggleAttributeFilter();
@@ -1539,32 +1539,32 @@ const et = /* @__PURE__ */ G({
1539
1539
  "is-calculating": f.value,
1540
1540
  "model-value": _.value,
1541
1541
  "original-value": y.value,
1542
- "onUpdate:modelValue": T[1] || (T[1] = (M) => _.value = M),
1542
+ "onUpdate:modelValue": T[1] || (T[1] = (A) => _.value = A),
1543
1543
  "onReset:modelValue": oe,
1544
- "onUpdate:editing": T[2] || (T[2] = (M) => v.value = M)
1544
+ "onUpdate:editing": T[2] || (T[2] = (A) => v.value = A)
1545
1545
  }, {
1546
1546
  filter: $(() => [
1547
1547
  d(Je, { onToggleAttributeFilter: ae }),
1548
- u.value.multiScheduler ? (m(), I(Qe, { key: 0 })) : R("", !0),
1548
+ u.value.multiScheduler ? (m(), I(Qe, { key: 0 })) : M("", !0),
1549
1549
  B.value ? (m(), I(He, {
1550
1550
  key: 1,
1551
1551
  "current-restaurant-attr-params": r(l).state.currentRestaurantAttrParams,
1552
- onConfirm: T[0] || (T[0] = (M) => r(l).setRestaurantAttrParams(M))
1553
- }, null, 8, ["current-restaurant-attr-params"])) : R("", !0)
1552
+ onConfirm: T[0] || (T[0] = (A) => r(l).setRestaurantAttrParams(A))
1553
+ }, null, 8, ["current-restaurant-attr-params"])) : M("", !0)
1554
1554
  ]),
1555
1555
  _: 1
1556
- }, 8, ["is-calculating", "model-value", "original-value"])) : R("", !0)
1556
+ }, 8, ["is-calculating", "model-value", "original-value"])) : M("", !0)
1557
1557
  ])
1558
1558
  ])
1559
1559
  ])) : (m(), w("div", ia, [
1560
1560
  b("div", ca, [
1561
1561
  d(Je),
1562
- u.value.multiScheduler ? (m(), I(Qe, { key: 0 })) : R("", !0),
1562
+ u.value.multiScheduler ? (m(), I(Qe, { key: 0 })) : M("", !0),
1563
1563
  B.value ? (m(), I(He, {
1564
1564
  key: 1,
1565
1565
  "current-restaurant-attr-params": r(l).state.currentRestaurantAttrParams,
1566
- onConfirm: T[3] || (T[3] = (M) => r(l).setRestaurantAttrParams(M))
1567
- }, null, 8, ["current-restaurant-attr-params"])) : R("", !0)
1566
+ onConfirm: T[3] || (T[3] = (A) => r(l).setRestaurantAttrParams(A))
1567
+ }, null, 8, ["current-restaurant-attr-params"])) : M("", !0)
1568
1568
  ]),
1569
1569
  c.value.create ? (m(), I(_e, {
1570
1570
  key: 0,
@@ -1591,11 +1591,11 @@ const et = /* @__PURE__ */ G({
1591
1591
  "is-local-only": !0,
1592
1592
  onSubmit: r(re)
1593
1593
  }, {
1594
- default: $(({ trigger: M }) => [
1594
+ default: $(({ trigger: A }) => [
1595
1595
  d(z, {
1596
1596
  label: r(W)("menu.common.actions.link_product"),
1597
1597
  "prepend-icon": "link",
1598
- onClick: M
1598
+ onClick: A
1599
1599
  }, null, 8, ["label", "onClick"])
1600
1600
  ]),
1601
1601
  _: 1
@@ -1619,10 +1619,10 @@ const et = /* @__PURE__ */ G({
1619
1619
  "is-local-only": !0,
1620
1620
  onSubmit: r(re)
1621
1621
  }, {
1622
- default: $(({ trigger: M }) => [
1622
+ default: $(({ trigger: A }) => [
1623
1623
  d(z, {
1624
1624
  label: r(W)("menu.common.actions.apply_product"),
1625
- onClick: M
1625
+ onClick: A
1626
1626
  }, null, 8, ["label", "onClick"])
1627
1627
  ]),
1628
1628
  _: 1
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as Z, ref as v, computed as $, resolveComponent as G, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as O, createBlock as oe, withCtx as R } from "vue";
2
- import { J as A, F as ne } from "./jszip.min-CNLaYb3p.js";
3
- import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
2
+ import { J as A, F as ne } from "./jszip.min-BbhegiH-.js";
3
+ import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-Bx__FUMc.js";
4
4
  import { useI18n as ue } from "@feedmepos/mf-common";
5
5
  import { FmButtonVariant as z, useSnackbar as V, useDialog as ge, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
6
6
  import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
7
- import { u as fe, a as he } from "./menu-DUsES-YM.js";
8
- import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js";
9
- import { D as be, E as ve, G as _e } from "./item-CtfWra_w.js";
7
+ import { u as fe, a as he } from "./menu-CJl8kr2v.js";
8
+ import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-DxkTpeIp.js";
9
+ import { D as be, E as ve, G as _e } from "./item-oY2LwWGC.js";
10
10
  const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
11
11
  key: 0,
12
12
  class: "h-full flex flex-col"
@@ -1,22 +1,22 @@
1
- import { defineComponent as I, computed as _, ref as W, resolveComponent as w, createBlock as m, openBlock as l, unref as e, withCtx as p, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as C, createElementBlock as U, Fragment as L } from "vue";
2
- import { D as E } from "./dayjs.min-xM9KAjrx.js";
3
- import { J as re, F as ie } from "./jszip.min-CNLaYb3p.js";
4
- import { u as K, B as X, z as j, D as H, y as Q, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
5
- import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Dw3IXPUL.js";
6
- import { h as $, A as q } from "./app-BO16t-ps.js";
1
+ import { defineComponent as D, computed as _, ref as W, resolveComponent as w, createBlock as m, openBlock as l, unref as e, withCtx as p, createElementVNode as d, toDisplayString as K, createVNode as u, createCommentVNode as C, createElementBlock as U, Fragment as L } from "vue";
2
+ import { D as E } from "./dayjs.min-DgpA8hFi.js";
3
+ import { J as re, F as ie } from "./jszip.min-BbhegiH-.js";
4
+ import { u as Z, B as Q, z as j, D as H, y as X, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-Bx__FUMc.js";
5
+ import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BLK8bASJ.js";
6
+ import { h as $, A as q } from "./app-BpxsJTLh.js";
7
7
  import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
8
8
  import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as T, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
9
- import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
+ import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
10
10
  import { _ as fe, a as G } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
11
11
  import { _ as ge } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
12
- import { u as ve, a as be } from "./menu-DUsES-YM.js";
13
- import { u as ye } from "./item-CtfWra_w.js";
14
- import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js";
15
- import { L as J } from "./LinkProductSideSheet-CaFKMMSd.js";
16
- import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DUxEgL0r.js";
17
- import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CNYxe969.js";
18
- import { m as he } from "./toExcel-CUAEPhEv.js";
19
- const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ I({
12
+ import { u as ve, a as be } from "./menu-CJl8kr2v.js";
13
+ import { u as ye } from "./item-oY2LwWGC.js";
14
+ import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-DxkTpeIp.js";
15
+ import { L as J } from "./LinkProductSideSheet-Ci1_qEKm.js";
16
+ import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ddstxum-.js";
17
+ import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-AHNsIox6.js";
18
+ import { m as he } from "./toExcel-BAeoALKB.js";
19
+ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ D({
20
20
  __name: "ConfirmActionDialog",
21
21
  props: {
22
22
  description: {},
@@ -33,7 +33,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
33
33
  }, {
34
34
  default: p(() => [
35
35
  d("div", Me, [
36
- d("div", null, Z(g.description), 1),
36
+ d("div", null, K(g.description), 1),
37
37
  d("div", { innerHTML: f.value }, null, 8, Ce),
38
38
  d("div", null, [
39
39
  u(x, {
@@ -64,10 +64,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
64
64
  }, 8, ["on-validation-success"]);
65
65
  };
66
66
  }
67
- }), $e = /* @__PURE__ */ I({
67
+ }), $e = /* @__PURE__ */ D({
68
68
  __name: "Migrate",
69
69
  setup(V) {
70
- const n = K(), f = ee(), y = ne(), { minor: o } = X(y), k = W(!1), g = te();
70
+ const n = Z(), f = ee(), y = ne(), { minor: o } = Q(y), k = W(!1), g = te();
71
71
  async function i() {
72
72
  x.value || k.value || g.open({
73
73
  title: "Migrate to new version",
@@ -103,7 +103,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
103
103
  });
104
104
  return (S, v) => {
105
105
  const c = w("FmSnackbar");
106
- return !x.value && e(n).version !== e(Q).enum.v4 ? (l(), m(c, {
106
+ return !x.value && e(n).version !== e(X).enum.v4 ? (l(), m(c, {
107
107
  key: 0,
108
108
  class: "!max-w-full",
109
109
  title: "New version of menu is out now!",
@@ -115,10 +115,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
115
115
  })) : C("", !0);
116
116
  };
117
117
  }
118
- }), Ve = "/assets/menu-export-DXB8Py6r.js", Ae = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ee = { class: "flex items-center" }, Te = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, De = { class: "fm-typo-en-body-md-600 font-semibold" }, Ie = { class: "flex gap-8" }, Qe = /* @__PURE__ */ I({
118
+ }), Ve = "/assets/menu-export-Vn3MYK3_.js", Ae = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ee = { class: "flex items-center" }, Te = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ie = { class: "fm-typo-en-body-md-600 font-semibold" }, De = { class: "flex gap-8" }, Xe = /* @__PURE__ */ D({
119
119
  __name: "Products",
120
120
  setup(V) {
121
- const { t: n } = de(), f = ee(), y = X(ne()), o = K(), k = _(() => o.rules.item), g = ye(), i = _(() => !o.state.currentSchedulerId), { selectedCategories: x } = ve(), S = _(() => ({
121
+ const { t: n } = de(), f = ee(), y = Q(ne()), o = Z(), k = _(() => o.rules.item), g = ye(), i = _(() => !o.state.currentSchedulerId), { selectedCategories: x } = ve(), S = _(() => ({
122
122
  ...le.menuV4ToV3(ue(o.state.menu)),
123
123
  _id: o.state.menu._id,
124
124
  _rev: o.state.menu._rev
@@ -136,7 +136,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
136
136
  async function A() {
137
137
  await y.minor(
138
138
  async () => {
139
- if (await o.readMenu(), o.version === Q.enum.v4) {
139
+ if (await o.readMenu(), o.version === X.enum.v4) {
140
140
  const r = o.state.menu, t = E().format("DD-MM-YYYY_HH-mm"), a = [
141
141
  `menu_${t}`,
142
142
  `addonGroup_${t}`,
@@ -170,7 +170,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
170
170
  linkItemRules: B,
171
171
  handleSubmit: Y,
172
172
  catalogManager: N,
173
- schedulerManager: P
173
+ schedulerManager: z
174
174
  } = Se(!1), oe = _e(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
175
175
  var a;
176
176
  const r = ((a = f.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
@@ -178,7 +178,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
178
178
  subject: $.Subject.Business.menu_menuManagement
179
179
  };
180
180
  return q([t], r).granted;
181
- }), z = _(() => {
181
+ }), P = _(() => {
182
182
  var a;
183
183
  const r = ((a = f.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
184
184
  action: $.Action.manage,
@@ -199,10 +199,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
199
199
  d("div", Ae, [
200
200
  d("div", Ee, [
201
201
  d("div", Te, [
202
- d("p", De, Z(v.value), 1)
202
+ d("p", Ie, K(v.value), 1)
203
203
  ])
204
204
  ]),
205
- d("div", Ie, [
205
+ d("div", De, [
206
206
  ae.value ? (l(), m(O, { key: 1 }, {
207
207
  default: p(({ trigger: s }) => [
208
208
  u(fe, null, {
@@ -233,7 +233,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
233
233
  ]),
234
234
  _: 1
235
235
  })) : C("", !0),
236
- z.value ? (l(), m(a, {
236
+ P.value ? (l(), m(a, {
237
237
  key: 1,
238
238
  "bg-color": e(h).NeutralGray100,
239
239
  "text-color": e(h).TypoSecondary,
@@ -241,7 +241,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
241
241
  label: e(n)("menu.products.actions.export"),
242
242
  onClick: A
243
243
  }, null, 8, ["bg-color", "text-color", "variant", "label"])) : C("", !0),
244
- z.value ? (l(), m(O, { key: 2 }, {
244
+ P.value ? (l(), m(O, { key: 2 }, {
245
245
  default: p(({ trigger: s }) => [
246
246
  u(a, {
247
247
  "bg-color": e(h).NeutralGray100,
@@ -255,7 +255,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
255
255
  })) : C("", !0)
256
256
  ], 64)),
257
257
  v.value > 0 ? (l(), U(L, { key: 2 }, [
258
- k.value.create ? (l(), m(D, {
258
+ k.value.create ? (l(), m(I, {
259
259
  key: 0,
260
260
  label: e(n)("menu.products.actions.add"),
261
261
  "prepend-icon": "add",
@@ -272,7 +272,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
272
272
  onSubmit: e(Y)
273
273
  }, {
274
274
  default: p(({ trigger: s }) => [
275
- u(D, {
275
+ u(I, {
276
276
  label: e(n)("menu.products.actions.link"),
277
277
  "prepend-icon": "link",
278
278
  onClick: s
@@ -281,8 +281,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
281
281
  _: 1
282
282
  }, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(J, {
283
283
  key: 2,
284
- "categorized-items": e(P).linkableItems.value,
285
- "initial-value": e(P).currentItems.value,
284
+ "categorized-items": e(z).linkableItems.value,
285
+ "initial-value": e(z).currentItems.value,
286
286
  "show-variant": !1,
287
287
  "menu-items": e(M),
288
288
  categories: e(b),
@@ -291,7 +291,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
291
291
  onSubmit: e(Y)
292
292
  }, {
293
293
  default: p(({ trigger: s }) => [
294
- u(D, {
294
+ u(I, {
295
295
  label: e(n)("menu.products.actions.apply_scheduler"),
296
296
  onClick: s
297
297
  }, null, 8, ["label", "onClick"])
@@ -308,5 +308,5 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
308
308
  }
309
309
  });
310
310
  export {
311
- Qe as default
311
+ Xe as default
312
312
  };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as J, ref as P, computed as D, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as T, unref as c, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as z, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Ue, normalizeStyle as Oe, renderSlot as Be, withModifiers as le, onUnmounted as Te } from "vue";
2
- import { D as E } from "./dayjs.min-xM9KAjrx.js";
2
+ import { D as E } from "./dayjs.min-DgpA8hFi.js";
3
3
  import { useRouter as ze } from "vue-router";
4
4
  import { O as Ee, b as Le } from "./app-5fxKLAzS.js";
5
- import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
5
+ import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-Bx__FUMc.js";
6
6
  import { useI18n as Z, useCoreStore as he, RestaurantSelector as Ve } from "@feedmepos/mf-common";
7
7
  import { useSnackbar as fe, useDialogChild as Ge, useProxiedModel as Je, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
8
8
  import { _ as We } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
9
- import { _ as Qe } from "./app-BO16t-ps.js";
9
+ import { _ as Qe } from "./app-BpxsJTLh.js";
10
10
  import { a as Xe, w as Ze } from "./tooltip-B5BiPMx9.js";
11
11
  import { u as Fe } from "./discardConfirm-BHni0LNu.js";
12
12
  import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as E, reactive as Q, watch as
2
2
  import { useI18n as M } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as P, components as G, useDialog as ne, FmButtonVariant as K, useBreakpoints as oe } from "@feedmepos/ui-library";
4
4
  import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as le } from "./app-BO16t-ps.js";
6
- import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
5
+ import { _ as le } from "./app-BpxsJTLh.js";
6
+ import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-Bx__FUMc.js";
7
7
  import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
8
8
  import { defineStore as ue } from "pinia";
9
- import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-q9DVgfMD.js";
9
+ import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-a4r-l-jt.js";
10
10
  import { u as de } from "./discardConfirm-BHni0LNu.js";
11
11
  import { c as pe } from "./check-C9mY6LiX.js";
12
- import "./unit-DThoovpF.js";
12
+ import "./unit-BH96dkTh.js";
13
13
  import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
14
14
  const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
15
15
  __name: "Form",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as D, ref as R, resolveComponent as u, createElementBlock as E, openBlock as P, Fragment as B, createElementVNode as d, createVNode as l, normalizeClass as A, withCtx as i, toDisplayString as g, unref as o, h as I } from "vue";
2
2
  import { useI18n as T, useCustomAttributes as K, useCoreStore as N } from "@feedmepos/mf-common";
3
3
  import { components as U } from "@feedmepos/ui-library";
4
- import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-DlzIboPc.js";
4
+ import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-C3d41j99.js";
5
5
  const j = {
6
6
  class: /* @__PURE__ */ A(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
7
7
  }, O = {