@feedmepos/mf-menu 0.31.35-beta.1 → 0.31.36-beta

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 (63) hide show
  1. package/dist/{App-BkDEqZHN.js → App-Cui-XStB.js} +30 -53
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-YeaxfcJN.js → ApplyProduct.vue_vue_type_script_setup_true_lang-cUYW6sW5.js} +2 -2
  3. package/dist/{Catalog-6pOytZU3.js → Catalog-MktLa55D.js} +68 -68
  4. package/dist/{Category-PtVyxTJZ.js → Category-C-s_lW3M.js} +14 -14
  5. package/dist/{Category-CXk98gto.js → Category-CEMqueNk.js} +29 -29
  6. package/dist/{CookingGuide-Cy8w8cd9.js → CookingGuide-eWdk6mho.js} +65 -65
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bxn29Ylq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CcKt1abw.js} +1 -1
  8. package/dist/{Group-D_fipwz6.js → Group-Bg2Ylu9p.js} +1 -1
  9. package/dist/{Group-DmNtEt9J.js → Group-VircdSF_.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-C8W8uPvN.js → Group.vue_vue_type_script_setup_true_lang-CyW8Gh6c.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DfgXJWUw.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-yQjS-X1R.js} +4 -4
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-KFWive_R.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-26ogJPxR.js} +7 -7
  13. package/dist/{Ingredient-BbGs11gS.js → Ingredient-CegrU_cQ.js} +23 -23
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-fNVMd9PS.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CzhbZPKE.js} +2 -2
  15. package/dist/{LinkProductSideSheet-CIUQw7oo.js → LinkProductSideSheet-BJlrPykg.js} +24 -24
  16. package/dist/{MenuSetting-BXSAAPma.js → MenuSetting-D70NMQWp.js} +20 -20
  17. package/dist/{PrintRoute-Bb25Wqx5.js → PrintRoute-bAS3UL9d.js} +18 -18
  18. package/dist/{Product-qNa1EPNM.js → Product-Cu2f-ZSs.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-DI0d2huN.js → Product.vue_vue_type_script_setup_true_lang-CYfDGs7M.js} +65 -65
  20. package/dist/{ProductInternalTools-CyiAzThW.js → ProductInternalTools-6X6XUdH6.js} +16 -16
  21. package/dist/{Products-oCEkdzLE.js → Products-DYgr_65I.js} +11 -11
  22. package/dist/{Publish-CWGdR3nh.js → Publish-DhdYNYH2.js} +3 -3
  23. package/dist/{Recipe-DWlzfgXY.js → Recipe-Bb5gqrsE.js} +13 -13
  24. package/dist/{Scheduler-BGhRV9Yi.js → Scheduler-Tk0cPXz4.js} +7 -7
  25. package/dist/{ServingSequence-Dj6eZp3x.js → ServingSequence-DUghx8CU.js} +24 -24
  26. package/dist/{Setting-Di_Rn61o.js → Setting-DIl9WhmE.js} +11 -11
  27. package/dist/{Subcategory-CGinXMy8.js → Subcategory-C8Igjkze.js} +10 -10
  28. package/dist/{Takeaway-C1KdbLMw.js → Takeaway-ZfBLSZMG.js} +1 -1
  29. package/dist/{Takeaway-BSWrXSGI.js → Takeaway-xHGsoah-.js} +9 -9
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-wONUlNNM.js → Takeaway.vue_vue_type_script_setup_true_lang-DItRiL8J.js} +11 -11
  31. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-_pWcSpCk.js → Thumbnail.vue_vue_type_script_setup_true_lang-Dmk-5eGV.js} +7 -7
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ncoMfO1b.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-OJ0A70lo.js} +13 -13
  33. package/dist/{Unit-B71wMP-S.js → Unit-CfmYi7kG.js} +13 -13
  34. package/dist/{Variant-B14TfXg7.js → Variant-D6hyic1A.js} +14 -14
  35. package/dist/{_id_-CjlhUxyd.js → _id_-DT2EQjcY.js} +32 -32
  36. package/dist/{app-C0_ZxHle.js → app-Do8sOqMh.js} +362 -367
  37. package/dist/{app-NhsMLypF.js → app-jvyTuOVi.js} +1 -1
  38. package/dist/app.js +1 -1
  39. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +1 -1
  40. package/dist/apps/mf-menu/src/router/shared.d.ts +1 -3
  41. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  42. package/dist/assets/{linked-status-DaKKqv0U.js → linked-status-DQ161R27.js} +2 -2
  43. package/dist/assets/{override-menu-BzQzJzDM.js → override-menu-VGwIGccm.js} +2 -2
  44. package/dist/assets/{validate-menu-DH8daaxV.js → validate-menu-Dx9kwuMh.js} +2 -2
  45. package/dist/{catalog-DDA5CEEW.js → catalog-BL6h_DDN.js} +1 -1
  46. package/dist/{catalogSetting-B2UCaWJL.js → catalogSetting-DEabwfXZ.js} +1 -1
  47. package/dist/{category-B29E8Z6Z.js → category-CKujA-NM.js} +5 -5
  48. package/dist/{currency-D8F5PN67.js → currency-BFai41BQ.js} +1 -1
  49. package/dist/{dayjs.min-C5O_Xdlu.js → dayjs.min-B5ost3s4.js} +1 -1
  50. package/dist/{index-Chaiecso.js → index-D70F0uL_.js} +14 -14
  51. package/dist/{index-DzWK9GfE.js → index-D9PdlnOv.js} +14 -14
  52. package/dist/{index-D6qeYZH_.js → index-nSRvCNb9.js} +1 -1
  53. package/dist/{item-CRYbpxtN.js → item-DqdhjOW8.js} +15 -15
  54. package/dist/{jszip.min-CEFKmniH.js → jszip.min-_LmXapMc.js} +2 -2
  55. package/dist/{menu-CyVBU_ww.js → menu-Cj3d6im1.js} +9 -9
  56. package/dist/{menu-Bi0HvP-T.js → menu-S1W5eNCT.js} +1 -1
  57. package/dist/{menuV2-DUplflZy.js → menuV2-K6oaeFE4.js} +70 -70
  58. package/dist/{priceTier-BKUDkpVL.js → priceTier-Cnci8Hf5.js} +1 -1
  59. package/dist/{scheduler-BQnvljfv.js → scheduler-D7qY3sLN.js} +30 -30
  60. package/dist/{subcategory-DI_tttwh.js → subcategory-CHsH67ID.js} +6 -6
  61. package/dist/{toExcel-Cld55eZa.js → toExcel-DhVG55bK.js} +2 -2
  62. package/dist/{unit-DCXUBn-h.js → unit-C3zaQSoS.js} +6 -6
  63. package/package.json +2 -2
@@ -1,25 +1,25 @@
1
- import { ref as I, computed as h, defineComponent as K, resolveComponent as z, createBlock as $, openBlock as m, withCtx as P, createElementVNode as g, createVNode as d, unref as a, createElementBlock as C, Fragment as de, renderList as ke, createCommentVNode as R, normalizeClass as me, toDisplayString as B, withModifiers as ve, mergeModels as Ze, useModel as Je, renderSlot as _e, watch as ie, createTextVNode as Xe, watchEffect as et, nextTick as Pe, resolveDynamicComponent as tt, onMounted as lt, h as G, isRef as Ne, normalizeStyle as ft } from "vue";
2
- import { u as Fe, Q as xe, B as ce, H as Ae, I as ge, U as gt, aa as bt, ab as _t, ac as Te, ad as yt, P as ht, ae as je } from "./menu-CyVBU_ww.js";
1
+ import { ref as I, computed as h, defineComponent as N, resolveComponent as z, createBlock as $, openBlock as m, withCtx as P, createElementVNode as g, createVNode as d, unref as a, createElementBlock as C, Fragment as de, renderList as ke, createCommentVNode as R, normalizeClass as me, toDisplayString as K, withModifiers as ve, mergeModels as Ze, useModel as Je, renderSlot as _e, watch as ie, createTextVNode as Xe, watchEffect as et, nextTick as Pe, resolveDynamicComponent as tt, onMounted as lt, h as G, isRef as Be, normalizeStyle as ft } from "vue";
2
+ import { u as Fe, Q as xe, A as ce, H as Ae, I as ge, U as gt, aa as bt, ab as _t, ac as Te, ad as yt, P as ht, ae as je } from "./menu-Cj3d6im1.js";
3
3
  import { useI18n as Ve, useCoreStore as Me, useCustomAttributes as xt } from "@feedmepos/mf-common";
4
- import { u as we } from "./menu-Bi0HvP-T.js";
4
+ import { u as we } from "./menu-S1W5eNCT.js";
5
5
  import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
6
- import { L as Ee } from "./LinkProductSideSheet-CIUQw7oo.js";
6
+ import { L as Ee } from "./LinkProductSideSheet-BJlrPykg.js";
7
7
  import { r as Ct, _ as Ge } from "./index-D7yR1j9C.js";
8
- import { _ as Re, a as Le } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bxn29Ylq.js";
9
- import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-_pWcSpCk.js";
10
- import { f as wt, o as St, a as Ft, m as Vt } from "./menuV2-DUplflZy.js";
11
- import { u as at, C as It } from "./item-CRYbpxtN.js";
8
+ import { _ as Re, a as Le } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-CcKt1abw.js";
9
+ import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-Dmk-5eGV.js";
10
+ import { f as wt, o as St, a as Ft, m as Vt } from "./menuV2-K6oaeFE4.js";
11
+ import { u as at, C as It } from "./item-DqdhjOW8.js";
12
12
  import { b as qe, H as $t } from "./LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js";
13
13
  import { useBreakpoints as ot, components as le, useDialog as Tt, FmButtonColorThemeVariant as L, FmButtonVariant as te } from "@feedmepos/ui-library";
14
- import { F as Pt } from "./index-D6qeYZH_.js";
15
- import { _ as Oe, u as At } from "./app-C0_ZxHle.js";
14
+ import { F as Pt } from "./index-nSRvCNb9.js";
15
+ import { _ as Oe, u as At } from "./app-Do8sOqMh.js";
16
16
  import { _ as Ce } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
17
- import { _ as Rt } from "./index-DzWK9GfE.js";
18
- import { r as Ut, _ as Mt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-KFWive_R.js";
17
+ import { _ as Rt } from "./index-D9PdlnOv.js";
18
+ import { r as Ut, _ as Mt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-26ogJPxR.js";
19
19
  import { c as Ot } from "./check-C9mY6LiX.js";
20
- import { f as zt } from "./currency-D8F5PN67.js";
20
+ import { f as zt } from "./currency-BFai41BQ.js";
21
21
  import { w as Dt } from "./tooltip-B5BiPMx9.js";
22
- function Bt(k, e) {
22
+ function Kt(k, e) {
23
23
  const r = I(!0), i = h(() => {
24
24
  var s, f;
25
25
  return !r.value && (!e.value || ((s = e.value) == null ? void 0 : s.length) === ((f = k.value) == null ? void 0 : f.length));
@@ -35,13 +35,13 @@ function Bt(k, e) {
35
35
  e.value === void 0 && r.value ? f = [s] : e.value === void 0 && !r.value ? f = (p = k.value.map((w) => w.value)) == null ? void 0 : p.filter((w) => w !== s) : (b = e.value) != null && b.includes(s) ? f = (y = e.value) == null ? void 0 : y.filter((w) => w !== s) : f = [...e.value || [], s], f.length === 0 ? (e.value = void 0, r.value = !0) : f.length === k.value.length ? (e.value = void 0, r.value = !1) : e.value = f;
36
36
  } };
37
37
  }
38
- const Kt = { class: "inline-flex items-center" }, Nt = {
38
+ const Nt = { class: "inline-flex items-center" }, Bt = {
39
39
  key: 0,
40
40
  class: /* @__PURE__ */ me([
41
41
  "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap",
42
42
  "text-fm-color-neutral-gray-400"
43
43
  ])
44
- }, jt = { class: "p-4" }, Et = { class: "flex-1 overflow-y-auto min-h-0" }, We = /* @__PURE__ */ K({
44
+ }, jt = { class: "p-4" }, Et = { class: "flex-1 overflow-y-auto min-h-0" }, We = /* @__PURE__ */ N({
45
45
  __name: "CategorySelector",
46
46
  emits: ["toggleAttributeFilter"],
47
47
  setup(k, { emit: e }) {
@@ -57,7 +57,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
57
57
  set: (D) => {
58
58
  i.selectCategory(D);
59
59
  }
60
- }), { allSelected: q, toggleAll: Y, toggleOption: S, indeterminate: ne } = Bt(
60
+ }), { allSelected: q, toggleAll: Y, toggleOption: S, indeterminate: ne } = Kt(
61
61
  s,
62
62
  w
63
63
  ), Z = Me(), re = h(() => Z.itemAttributeSettings.value.length > 0);
@@ -71,10 +71,10 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
71
71
  width: 220
72
72
  }, {
73
73
  "menu-button": P(() => [
74
- g("div", Kt, [
74
+ g("div", Nt, [
75
75
  d(J, null, {
76
76
  default: P(() => [
77
- b.value ? (m(), C("div", Nt, B(a(p)("menu.category.selector.title", { label: b.value })), 1)) : R("", !0),
77
+ b.value ? (m(), C("div", Bt, K(a(p)("menu.category.selector.title", { label: b.value })), 1)) : R("", !0),
78
78
  d(W, {
79
79
  color: "neutral-gray-400",
80
80
  name: "expand_more",
@@ -138,7 +138,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
138
138
  }, Qt = { key: 0 }, Yt = {
139
139
  key: 1,
140
140
  class: "inline-block w-8"
141
- }, Zt = { key: 0 }, Jt = { key: 1 }, He = /* @__PURE__ */ K({
141
+ }, Zt = { key: 0 }, Jt = { key: 1 }, He = /* @__PURE__ */ N({
142
142
  __name: "CategoriesChip",
143
143
  props: {
144
144
  categories: { default: () => [] },
@@ -156,15 +156,15 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
156
156
  const y = z("FmTooltip");
157
157
  return l.value ? (m(), C(de, { key: 1 }, [
158
158
  p.categories.length > 0 ? (m(), C("p", Ht, [
159
- g("span", null, B(a(r)("menu.product.table.columns.category")) + ": ", 1),
160
- g("span", null, B(f.value), 1),
159
+ g("span", null, K(a(r)("menu.product.table.columns.category")) + ": ", 1),
160
+ g("span", null, K(f.value), 1),
161
161
  s.value ? (m(), C("span", Yt)) : (m(), C("br", Qt)),
162
162
  p.categories.length > u.value ? (m(), C("span", {
163
163
  key: 2,
164
164
  class: "fm-typo-en-body-md-400 text-fm-color-primary cursor-pointer",
165
165
  onClick: b[0] || (b[0] = ve((w) => s.value = !s.value, ["stop", "prevent"]))
166
166
  }, [
167
- s.value ? (m(), C("span", Zt, B(a(r)("menu.product.table.category.expand", { count: p.categories.length - u.value })), 1)) : (m(), C("span", Jt, B(a(r)("menu.product.table.category.collapse")), 1))
167
+ s.value ? (m(), C("span", Zt, K(a(r)("menu.product.table.category.expand", { count: p.categories.length - u.value })), 1)) : (m(), C("span", Jt, K(a(r)("menu.product.table.category.collapse")), 1))
168
168
  ])) : R("", !0)
169
169
  ])) : R("", !0)
170
170
  ], 64)) : (m(), $(y, {
@@ -176,7 +176,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
176
176
  }, {
177
177
  content: P(() => [
178
178
  g("div", Lt, [
179
- g("p", qt, B(a(r)("menu.product.table.category.all")), 1),
179
+ g("p", qt, K(a(r)("menu.product.table.category.all")), 1),
180
180
  g("div", Wt, [
181
181
  (m(!0), C(de, null, ke(e.categories, (w) => (m(), $(Ce, {
182
182
  key: w,
@@ -204,7 +204,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
204
204
  }));
205
205
  };
206
206
  }
207
- }), Xt = /* @__PURE__ */ K({
207
+ }), Xt = /* @__PURE__ */ N({
208
208
  __name: "ProductSearcher",
209
209
  props: /* @__PURE__ */ Ze({
210
210
  label: {},
@@ -237,7 +237,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
237
237
  }), el = { class: "flex" }, tl = { class: "w-[260px] space-y-16 h-full" }, ll = { class: "flex items-center gap-4 px-8" }, al = { class: "fm-typo-en-title-sm-600" }, ol = {
238
238
  key: 0,
239
239
  class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4"
240
- }, nl = { class: "fm-typo-en-body-md-600" }, rl = { class: "flex-1" }, nt = /* @__PURE__ */ K({
240
+ }, nl = { class: "fm-typo-en-body-md-600" }, rl = { class: "flex-1" }, nt = /* @__PURE__ */ N({
241
241
  __name: "ViewLayout",
242
242
  props: /* @__PURE__ */ Ze({
243
243
  title: {},
@@ -255,9 +255,9 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
255
255
  return m(), C("div", el, [
256
256
  g("div", tl, [
257
257
  g("div", ll, [
258
- g("p", al, B(r.title), 1),
258
+ g("p", al, K(r.title), 1),
259
259
  r.titleBadge !== void 0 ? (m(), C("div", ol, [
260
- g("p", nl, B(r.titleBadge), 1)
260
+ g("p", nl, K(r.titleBadge), 1)
261
261
  ])) : R("", !0)
262
262
  ]),
263
263
  d(Oe, null, {
@@ -278,7 +278,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
278
278
  ]);
279
279
  };
280
280
  }
281
- }), Se = /* @__PURE__ */ K({
281
+ }), Se = /* @__PURE__ */ N({
282
282
  __name: "OrderFromChip",
283
283
  props: {
284
284
  orderFrom: {}
@@ -293,7 +293,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
293
293
  }, null, 8, ["label", "variant"]);
294
294
  };
295
295
  }
296
- }), sl = /* @__PURE__ */ K({
296
+ }), sl = /* @__PURE__ */ N({
297
297
  __name: "GroupViewTable",
298
298
  props: {
299
299
  data: {}
@@ -376,7 +376,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
376
376
  });
377
377
  };
378
378
  }
379
- }), ul = /* @__PURE__ */ K({
379
+ }), ul = /* @__PURE__ */ N({
380
380
  __name: "GroupView",
381
381
  props: {
382
382
  itemId: {},
@@ -451,7 +451,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
451
451
  }
452
452
  }), il = {
453
453
  class: "scroll-x-auto"
454
- }, cl = /* @__PURE__ */ K({
454
+ }, cl = /* @__PURE__ */ N({
455
455
  __name: "ProductViewTable",
456
456
  props: {
457
457
  itemId: {},
@@ -532,7 +532,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
532
532
  });
533
533
  };
534
534
  }
535
- }), dl = /* @__PURE__ */ K({
535
+ }), dl = /* @__PURE__ */ N({
536
536
  __name: "ProductView",
537
537
  props: {
538
538
  itemId: {},
@@ -591,7 +591,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
591
591
  }), ml = { class: "flex items-center gap-8" }, pl = { class: "space-y-4" }, vl = { class: "fm-typo-en-title-md-600" }, fl = { key: 0 }, gl = { class: "text-fm-color-typo-secondary" }, bl = {
592
592
  key: 0,
593
593
  class: "text-fm-color-typo-secondary"
594
- }, _l = { class: "flex items-center gap-4" }, yl = /* @__PURE__ */ K({
594
+ }, _l = { class: "flex items-center gap-4" }, yl = /* @__PURE__ */ N({
595
595
  __name: "ProductBaseInfo",
596
596
  props: {
597
597
  itemId: {},
@@ -613,10 +613,10 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
613
613
  }, null, 8, ["alt", "src"]),
614
614
  g("div", pl, [
615
615
  g("p", vl, [
616
- (f = r.value) != null && f.code ? (m(), C("span", fl, B((p = r.value) == null ? void 0 : p.code) + ", ", 1)) : R("", !0),
617
- g("span", null, B((b = r.value) == null ? void 0 : b.name), 1)
616
+ (f = r.value) != null && f.code ? (m(), C("span", fl, K((p = r.value) == null ? void 0 : p.code) + ", ", 1)) : R("", !0),
617
+ g("span", null, K((b = r.value) == null ? void 0 : b.name), 1)
618
618
  ]),
619
- g("p", gl, "Base price: " + B(i.value), 1),
619
+ g("p", gl, "Base price: " + K(i.value), 1),
620
620
  (y = r.value) != null && y.customAttributes ? (m(), C("div", bl, [
621
621
  g("div", _l, [
622
622
  u[0] || (u[0] = g("span", null, "Tagging:", -1)),
@@ -630,7 +630,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
630
630
  ]);
631
631
  };
632
632
  }
633
- }), hl = { class: "space-y-16" }, xl = /* @__PURE__ */ K({
633
+ }), hl = { class: "space-y-16" }, xl = /* @__PURE__ */ N({
634
634
  __name: "ProductViewer",
635
635
  props: {
636
636
  itemId: {},
@@ -673,7 +673,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
673
673
  ]);
674
674
  };
675
675
  }
676
- }), Cl = { class: "space-y-24" }, kl = { key: 0 }, wl = /* @__PURE__ */ K({
676
+ }), Cl = { class: "space-y-24" }, kl = { key: 0 }, wl = /* @__PURE__ */ N({
677
677
  __name: "ProductOverview",
678
678
  props: {
679
679
  itemId: {},
@@ -703,7 +703,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
703
703
  ])
704
704
  ]));
705
705
  }
706
- }), Sl = /* @__PURE__ */ K({
706
+ }), Sl = /* @__PURE__ */ N({
707
707
  __name: "OverviewSheet",
708
708
  setup(k) {
709
709
  const e = I(null), r = I(!1);
@@ -739,7 +739,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
739
739
  }
740
740
  });
741
741
  var Fl = Ut();
742
- const Qe = /* @__PURE__ */ K({
742
+ const Qe = /* @__PURE__ */ N({
743
743
  __name: "ImportButton",
744
744
  setup(k) {
745
745
  const e = I(!1);
@@ -793,11 +793,11 @@ const Qe = /* @__PURE__ */ K({
793
793
  class: "pt-8 flex flex-col flex-1 overflow-hidden"
794
794
  }, Dl = {
795
795
  class: "space-y-8 pb-8"
796
- }, Bl = {
797
- class: "w-full px-8"
798
796
  }, Kl = {
799
- class: "flex space-x-8 px-8"
797
+ class: "w-full px-8"
800
798
  }, Nl = {
799
+ class: "flex space-x-8 px-8"
800
+ }, Bl = {
801
801
  key: 0,
802
802
  class: "px-8"
803
803
  }, jl = {
@@ -821,7 +821,7 @@ const Qe = /* @__PURE__ */ K({
821
821
  key: 1
822
822
  }, Jl = {
823
823
  class: "flex space-x-8"
824
- }, Xl = /* @__PURE__ */ K({
824
+ }, Xl = /* @__PURE__ */ N({
825
825
  __name: "ProductTable",
826
826
  props: {
827
827
  modelValue: {},
@@ -885,7 +885,7 @@ const Qe = /* @__PURE__ */ K({
885
885
  }, Y("update:model-value", v));
886
886
  }, T = bt(() => i.originalValue, () => i.modelValue), X = ge.debounce(A, 300), Q = (o) => (n) => !!n || l("menu.product.table.validation.name_required", {
887
887
  field: o
888
- }), N = (o) => o >= 0 || l("menu.product.table.validation.price_min"), U = [Q("Name")], ue = () => [(o) => N(typeof o == "number" ? o : Number(o) ?? 0)], j = xe(), pe = h(() => {
888
+ }), B = (o) => o >= 0 || l("menu.product.table.validation.price_min"), U = [Q("Name")], ue = () => [(o) => B(typeof o == "number" ? o : Number(o) ?? 0)], j = xe(), pe = h(() => {
889
889
  const o = t.isV4;
890
890
  return gt.setCoreStore(u).taxSetting(o);
891
891
  }), fe = h(() => [{
@@ -1021,8 +1021,8 @@ const Qe = /* @__PURE__ */ K({
1021
1021
  X(n._id, {
1022
1022
  category: _,
1023
1023
  additionalCategories: oe.map((he) => {
1024
- const Ke = x == null ? void 0 : x[he];
1025
- return Ke || {
1024
+ const Ne = x == null ? void 0 : x[he];
1025
+ return Ne || {
1026
1026
  _id: he,
1027
1027
  position: null
1028
1028
  };
@@ -1205,7 +1205,7 @@ const Qe = /* @__PURE__ */ K({
1205
1205
  return F == null ? void 0 : F[0];
1206
1206
  } else return n ? n.override.items[o][0] : c ? t.schedulers.find((_) => _._id === c).items.filter((_) => _._id === o)[0] : q.value.find((x) => x._id === o);
1207
1207
  }
1208
- const dt = ot(), mt = h(() => dt.breakpoints.value.xs), Be = I(null), pt = At(Be, Z), vt = h(() => {
1208
+ const dt = ot(), mt = h(() => dt.breakpoints.value.xs), Ke = I(null), pt = At(Ke, Z), vt = h(() => {
1209
1209
  var n;
1210
1210
  return {
1211
1211
  height: `calc(100vh - ${((n = pt.value) == null ? void 0 : n.top) + 24}px)`
@@ -1213,19 +1213,19 @@ const Qe = /* @__PURE__ */ K({
1213
1213
  });
1214
1214
  return (o, n) => {
1215
1215
  const c = z("fm-search"), v = z("fm-button"), x = z("fm-table"), F = z("fm-form");
1216
- return mt.value ? (m(), C("div", zl, [g("div", Dl, [g("div", Bl, [d(c, {
1216
+ return mt.value ? (m(), C("div", zl, [g("div", Dl, [g("div", Kl, [d(c, {
1217
1217
  "model-value": J.value,
1218
1218
  "onUpdate:modelValue": n[5] || (n[5] = (_) => J.value = _),
1219
1219
  autofocus: "",
1220
1220
  placeholder: a(l)("menu.product.table.search.placeholder")
1221
1221
  }, null, 8, ["model-value", "placeholder"])]), n[8] || (n[8] = g("div", {
1222
1222
  class: "w-full h-[1px] bg-fm-color-neutral-gray-100"
1223
- }, null, -1)), g("div", Kl, [_e(o.$slots, "filter")]), Z.value ? (m(), C("div", Nl, [d(a(qe), {
1223
+ }, null, -1)), g("div", Nl, [_e(o.$slots, "filter")]), Z.value ? (m(), C("div", Bl, [d(a(qe), {
1224
1224
  ref_key: "attributeFilterRef",
1225
1225
  ref: re,
1226
1226
  attributes: a(D),
1227
1227
  modelValue: a(O),
1228
- "onUpdate:modelValue": n[6] || (n[6] = (_) => Ne(O) ? O.value = _ : null)
1228
+ "onUpdate:modelValue": n[6] || (n[6] = (_) => Be(O) ? O.value = _ : null)
1229
1229
  }, null, 8, ["attributes", "modelValue"])])) : R("", !0)]), q.value.length ? (m(), C("div", jl, [(m(!0), C(de, null, ke(H.value, (_) => {
1230
1230
  var oe;
1231
1231
  return m(), C("div", {
@@ -1236,9 +1236,9 @@ const Qe = /* @__PURE__ */ K({
1236
1236
  alt: _.name,
1237
1237
  size: 72,
1238
1238
  src: _.thumbnail
1239
- }, null, 8, ["alt", "src"]), g("div", Ll, [g("div", ql, [g("p", Wl, B(_.name), 1), d(Se, {
1239
+ }, null, 8, ["alt", "src"]), g("div", Ll, [g("div", ql, [g("p", Wl, K(_.name), 1), d(Se, {
1240
1240
  "order-from": _.orderFrom
1241
- }, null, 8, ["order-from"])]), g("p", Hl, B(De(_)), 1), g("p", Ql, B(a(l)("menu.product.table.columns.code")) + ": " + B(((oe = $e(_._id)) == null ? void 0 : oe.code) || "--"), 1), g("p", Yl, [d(He, {
1241
+ }, null, 8, ["order-from"])]), g("p", Hl, K(De(_)), 1), g("p", Ql, K(a(l)("menu.product.table.columns.code")) + ": " + K(((oe = $e(_._id)) == null ? void 0 : oe.code) || "--"), 1), g("p", Yl, [d(He, {
1242
1242
  categories: a(Te)(a(M), _)
1243
1243
  }, null, 8, ["categories"])]), d(Re, {
1244
1244
  "custom-attributes": _.customAttributes
@@ -1291,8 +1291,8 @@ const Qe = /* @__PURE__ */ K({
1291
1291
  ref: re,
1292
1292
  attributes: a(D),
1293
1293
  modelValue: a(O),
1294
- "onUpdate:modelValue": n[1] || (n[1] = (_) => Ne(O) ? O.value = _ : null)
1295
- }, null, 8, ["attributes", "modelValue"])])) : R("", !0), q.value.length ? (m(), C("div", Pl, [ee.value.length && !S.value ? (m(), C("div", Al, [g("p", Rl, B(a(l)("menu.product.table.selection.count", {
1294
+ "onUpdate:modelValue": n[1] || (n[1] = (_) => Be(O) ? O.value = _ : null)
1295
+ }, null, 8, ["attributes", "modelValue"])])) : R("", !0), q.value.length ? (m(), C("div", Pl, [ee.value.length && !S.value ? (m(), C("div", Al, [g("p", Rl, K(a(l)("menu.product.table.selection.count", {
1296
1296
  count: ee.value.length
1297
1297
  })), 1), d(v, {
1298
1298
  label: a(l)("menu.product.table.selection.actions.deselect_all"),
@@ -1323,7 +1323,7 @@ const Qe = /* @__PURE__ */ K({
1323
1323
  type: "submit"
1324
1324
  }, null, 8, ["borderColor", "textColor", "variant", "label"])])) : R("", !0), g("div", {
1325
1325
  ref_key: "tableWrapper",
1326
- ref: Be
1326
+ ref: Ke
1327
1327
  }, [(m(), $(tt(S.value ? Pt : "div"), {
1328
1328
  ref: "fullWrapper",
1329
1329
  title: S.value ? a(l)("menu.product.table.bulk_edit.title") : "",
@@ -1400,7 +1400,7 @@ const Qe = /* @__PURE__ */ K({
1400
1400
  }, la = { class: "flex flex-col flex-1 overflow-hidden" }, aa = {
1401
1401
  key: 1,
1402
1402
  class: "pt-16 xs:pt-8 space-y-24"
1403
- }, oa = { class: "flex items-center gap-8 px-16" }, Fa = /* @__PURE__ */ K({
1403
+ }, oa = { class: "flex items-center gap-8 px-16" }, Fa = /* @__PURE__ */ N({
1404
1404
  __name: "Product",
1405
1405
  setup(k) {
1406
1406
  const e = Fe(), r = h(() => e.rules.item), i = at(), l = h(() => !e.state.currentCatalogId), u = h(() => e.rules.item), t = h(() => !e.state.currentSchedulerId), s = I(!1), f = I(!1), p = h(() => {
@@ -1408,26 +1408,26 @@ const Qe = /* @__PURE__ */ K({
1408
1408
  if (l.value && t.value) return;
1409
1409
  if (t.value) {
1410
1410
  const Q = (V = e.currentCatalog) == null ? void 0 : V.override.items;
1411
- return Q ? Object.entries(Q).reduce((N, [U, ue]) => {
1411
+ return Q ? Object.entries(Q).reduce((B, [U, ue]) => {
1412
1412
  const j = ue.find((pe) => !pe.combinationKey);
1413
- return j && (N[U] = j), N;
1413
+ return j && (B[U] = j), B;
1414
1414
  }, {}) : {};
1415
1415
  }
1416
- return ((l.value ? (A = e.currentScheduler) == null ? void 0 : A.items : (X = (T = e.currentCatalog) == null ? void 0 : T.override.scheduler[e.state.currentSchedulerId]) == null ? void 0 : X.items) ?? []).reduce((Q, N) => (N.combinationKey || (Q[N._id] = N), Q), {});
1416
+ return ((l.value ? (A = e.currentScheduler) == null ? void 0 : A.items : (X = (T = e.currentCatalog) == null ? void 0 : T.override.scheduler[e.state.currentSchedulerId]) == null ? void 0 : X.items) ?? []).reduce((Q, B) => (B.combinationKey || (Q[B._id] = B), Q), {});
1417
1417
  }), b = I({}), y = I({}), w = async () => {
1418
1418
  var X, Q;
1419
1419
  f.value = !0;
1420
- const M = !!p.value, V = ge.flatten(Y.value.map((N) => N.items)), A = M && s.value ? await Vt(
1420
+ const M = !!p.value, V = ge.flatten(Y.value.map((B) => B.items)), A = M && s.value ? await Vt(
1421
1421
  e.mergedMenu,
1422
1422
  V,
1423
1423
  e.state.menu,
1424
1424
  (X = e.currentCatalog) == null ? void 0 : X._id,
1425
1425
  (Q = e.currentScheduler) == null ? void 0 : Q._id,
1426
1426
  !1
1427
- ) : void 0, T = V.reduce((N, U, ue) => {
1427
+ ) : void 0, T = V.reduce((B, U, ue) => {
1428
1428
  var pe, fe, ae, ee;
1429
1429
  const j = (pe = p.value) == null ? void 0 : pe[U._id];
1430
- return N[U._id] = {
1430
+ return B[U._id] = {
1431
1431
  _id: U._id,
1432
1432
  name: U.name,
1433
1433
  code: M ? j == null ? void 0 : j.code : U == null ? void 0 : U.code,
@@ -1442,7 +1442,7 @@ const Qe = /* @__PURE__ */ K({
1442
1442
  fallbackCode: (ae = A == null ? void 0 : A[ue]) == null ? void 0 : ae.code,
1443
1443
  fallbackOrder: (ee = A == null ? void 0 : A[ue]) == null ? void 0 : ee.orderFrom,
1444
1444
  fallbackTaxes: M ? U.taxes : null
1445
- }, N;
1445
+ }, B;
1446
1446
  }, {});
1447
1447
  b.value = T, y.value = { ...T }, f.value = !1;
1448
1448
  }, { categories: q, selectedCategories: Y } = we(), S = I(null);
@@ -1,12 +1,12 @@
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 R, createBlock as oe, withCtx as A } from "vue";
2
- import { J as O, F as ne } from "./jszip.min-CEFKmniH.js";
3
- import { G as le, u as ie, I as D, a0 as re, $ as ce, K as de, M as me, N as ue } from "./menu-CyVBU_ww.js";
1
+ import { defineComponent as Z, ref as v, computed as $, resolveComponent as W, 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 R, createBlock as oe, withCtx as A } from "vue";
2
+ import { J as O, F as ne } from "./jszip.min-_LmXapMc.js";
3
+ import { D as le, u as ie, I as D, a0 as re, $ as ce, K as de, M as me, N as ue } from "./menu-Cj3d6im1.js";
4
4
  import { useI18n as ge } from "@feedmepos/mf-common";
5
5
  import { FmButtonVariant as z, useSnackbar as V, useDialog as pe, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
6
6
  import { _ as fe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { u as he, a as ye } from "./menu-Bi0HvP-T.js";
8
- import { a as be } from "./Product.vue_vue_type_script_setup_true_lang-DI0d2huN.js";
9
- import { v as ve, w as _e } from "./item-CRYbpxtN.js";
7
+ import { u as he, a as ye } from "./menu-S1W5eNCT.js";
8
+ import { a as be } from "./Product.vue_vue_type_script_setup_true_lang-CYfDGs7M.js";
9
+ import { v as ve, w as _e } from "./item-DqdhjOW8.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"
@@ -28,7 +28,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
28
28
  }, Oe = {
29
29
  key: 1,
30
30
  class: "flex-1 overflow-y-auto p-16"
31
- }, De = { class: "space-y-12" }, Ve = { class: "fm-typo-en-body-sm font-medium break-all" }, Ze = { class: "flex" }, Ge = { class: "w-64 h-64 bg-gray-100 rounded-8 overflow-hidden" }, We = ["src", "alt"], qe = /* @__PURE__ */ Z({
31
+ }, De = { class: "space-y-12" }, Ve = { class: "fm-typo-en-body-sm font-medium break-all" }, Ze = { class: "flex" }, We = { class: "w-64 h-64 bg-gray-100 rounded-8 overflow-hidden" }, qe = ["src", "alt"], Ge = /* @__PURE__ */ Z({
32
32
  __name: "ImageUpdatePreview",
33
33
  props: {
34
34
  matchedImages: {},
@@ -44,7 +44,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
44
44
  F("update", u.matchedImages);
45
45
  }
46
46
  return (w, l) => {
47
- const x = G("fm-button");
47
+ const x = W("fm-button");
48
48
  return r(), c("div", we, [
49
49
  s("div", xe, [
50
50
  l[2] || (l[2] = s("h2", { class: "fm-typo-en-headline-sm font-semibold" }, "Update Product Images", -1)),
@@ -134,12 +134,12 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
134
134
  }, [
135
135
  s("div", Ve, U(m.filename), 1),
136
136
  s("div", Ze, [
137
- s("div", Ge, [
137
+ s("div", We, [
138
138
  s("img", {
139
139
  src: m.imageUrl,
140
140
  alt: m.filename,
141
141
  class: "w-full h-full object-cover"
142
- }, null, 8, We)
142
+ }, null, 8, qe)
143
143
  ])
144
144
  ])
145
145
  ]))), 128))
@@ -168,7 +168,7 @@ const He = {
168
168
  filename: a
169
169
  });
170
170
  }
171
- async function W(e, a = "images.zip") {
171
+ async function q(e, a = "images.zip") {
172
172
  const o = new O();
173
173
  e.forEach(({ blob: d, filename: n }) => {
174
174
  d && o.file(n, d);
@@ -176,7 +176,7 @@ const He = {
176
176
  const g = await o.generateAsync({ type: "blob" });
177
177
  ne.saveAs(g, a);
178
178
  }
179
- async function q() {
179
+ async function G() {
180
180
  const e = x.value.filter((a) => a.thumbnail);
181
181
  if (e.length === 0) {
182
182
  F.open({ type: "error", title: "No downloadable images found" });
@@ -215,7 +215,7 @@ const He = {
215
215
  })).filter((n) => n !== null);
216
216
  if (a.value = "Creating ZIP file...", d.length > 0) {
217
217
  const n = `images_${(/* @__PURE__ */ new Date()).toISOString().slice(0, 10)}.zip`;
218
- await W(d, n);
218
+ await q(d, n);
219
219
  } else
220
220
  throw new Error("Failed to fetch any images");
221
221
  },
@@ -354,10 +354,10 @@ const He = {
354
354
  a.value = "";
355
355
  }
356
356
  return ye().resetOnMount(), (e, a) => {
357
- const o = G("fm-button");
357
+ const o = W("fm-button");
358
358
  return r(), c(P, null, [
359
359
  _.value ? (r(), c("div", He, [
360
- I(qe, {
360
+ I(Ge, {
361
361
  "matched-images": w.value,
362
362
  "unmatched-images": l.value,
363
363
  onCancel: te,
@@ -383,7 +383,7 @@ const He = {
383
383
  "text-color": h(S).TypoSecondary,
384
384
  variant: h(z).Primary,
385
385
  label: "Download Images",
386
- onClick: q
386
+ onClick: G
387
387
  }, null, 8, ["bg-color", "text-color", "variant"]),
388
388
  I(o, {
389
389
  "bg-color": h(S).NeutralGray100,
@@ -1,20 +1,20 @@
1
1
  import { defineComponent as Y, computed as v, ref as q, resolveComponent as w, createBlock as y, openBlock as p, unref as e, withCtx as d, createElementVNode as u, toDisplayString as G, createVNode as o, createCommentVNode as O, createElementBlock as H, Fragment as N } from "vue";
2
- import { D as S } from "./dayjs.min-C5O_Xdlu.js";
3
- import { M as te, w as oe } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-KFWive_R.js";
4
- import { J as ne, F as ae } from "./jszip.min-CEFKmniH.js";
5
- import { u as j, G as J, B, e as P, A as Z, D as re, H as A, I as R } from "./menu-CyVBU_ww.js";
2
+ import { D as S } from "./dayjs.min-B5ost3s4.js";
3
+ import { M as te, w as oe } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-26ogJPxR.js";
4
+ import { J as ne, F as ae } from "./jszip.min-_LmXapMc.js";
5
+ import { u as j, D as J, A as B, e as P, G as Z, B as re, H as A, I as R } from "./menu-Cj3d6im1.js";
6
6
  import { useCoreStore as se, useI18n as ie } from "@feedmepos/mf-common";
7
7
  import { useDialog as K, useDialogChild as le, useSnackbar as Q, useBreakpoints as ue, FmButtonVariant as $, FmButtonColorThemeVariant as x } from "@feedmepos/ui-library";
8
8
  import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
9
  import { _ as me, a as z } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
10
10
  import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
11
- import { u as de, a as pe } from "./menu-Bi0HvP-T.js";
12
- import { u as fe } from "./item-CRYbpxtN.js";
13
- import { _ as L, a as _e } from "./Product.vue_vue_type_script_setup_true_lang-DI0d2huN.js";
14
- import { L as U } from "./LinkProductSideSheet-CIUQw7oo.js";
15
- import { _ as ve } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ncoMfO1b.js";
16
- import { u as ge } from "./Thumbnail.vue_vue_type_script_setup_true_lang-_pWcSpCk.js";
17
- import { m as be } from "./toExcel-Cld55eZa.js";
11
+ import { u as de, a as pe } from "./menu-S1W5eNCT.js";
12
+ import { u as fe } from "./item-DqdhjOW8.js";
13
+ import { _ as L, a as _e } from "./Product.vue_vue_type_script_setup_true_lang-CYfDGs7M.js";
14
+ import { L as U } from "./LinkProductSideSheet-BJlrPykg.js";
15
+ import { _ as ve } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-OJ0A70lo.js";
16
+ import { u as ge } from "./Thumbnail.vue_vue_type_script_setup_true_lang-Dmk-5eGV.js";
17
+ import { m as be } from "./toExcel-DhVG55bK.js";
18
18
  const ye = { class: "space-y-24 mb-24" }, ke = ["innerHTML"], xe = { class: "flex justify-end gap-8" }, Me = /* @__PURE__ */ Y({
19
19
  __name: "ConfirmActionDialog",
20
20
  props: {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as K, ref as I, computed as S, onMounted as ne, resolveComponent as C, createElementBlock as R, openBlock as h, createVNode as n, createElementVNode as o, toDisplayString as F, unref as i, Fragment as E, renderList as j, createBlock as O, withCtx as L, createCommentVNode as ue, withModifiers as N, h as H } from "vue";
2
- import { D as X } from "./dayjs.min-C5O_Xdlu.js";
2
+ import { D as X } from "./dayjs.min-B5ost3s4.js";
3
3
  import { useRouter as ie } from "vue-router";
4
- import { B as re, e as ce, G as Z, a8 as de, H as J, I as me, u as pe, A as ge, a0 as ve } from "./menu-CyVBU_ww.js";
4
+ import { A as re, e as ce, D as Z, a8 as de, H as J, I as me, u as pe, G as ge, a0 as ve } from "./menu-Cj3d6im1.js";
5
5
  import { useI18n as Y, useCoreStore as be, RestaurantSelector as fe } from "@feedmepos/mf-common";
6
6
  import { useSnackbar as ee, useDialogChild as _e, useDialog as he, components as Q } from "@feedmepos/ui-library";
7
7
  import { _ as ye } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
8
- import { _ as Ce } from "./app-C0_ZxHle.js";
8
+ import { _ as Ce } from "./app-Do8sOqMh.js";
9
9
  import { a as ke, w as we } from "./tooltip-B5BiPMx9.js";
10
10
  import { u as xe } from "./discardConfirm-BHni0LNu.js";
11
11
  import { _ as Ve } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as z, computed as h, ref as w, reactive as Q, watch as W, resolveComponent as V, createElementBlock as F, openBlock as g, Fragment as C, renderSlot as X, createVNode as d, unref as e, withCtx as x, createElementVNode as r, toDisplayString as S, getCurrentInstance as Z, h as D, withModifiers as L, createBlock as O, createCommentVNode as ee, normalizeClass as K, renderList as te } from "vue";
2
2
  import { useI18n as U } from "@feedmepos/mf-common";
3
- import { useSnackbar as A, components as j, useDialog as ne, FmButtonVariant as G, useBreakpoints as oe } from "@feedmepos/ui-library";
3
+ import { useSnackbar as $, components as j, useDialog as ne, FmButtonVariant as G, 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-C0_ZxHle.js";
6
- import { O as q, G as $, H as ie, D as P, I as se, e as Y, J as I, A as T, u as H } from "./menu-CyVBU_ww.js";
5
+ import { _ as le } from "./app-Do8sOqMh.js";
6
+ import { O as q, D as A, H as ie, B as P, I as se, e as B, J as I, G as T, u as H } from "./menu-Cj3d6im1.js";
7
7
  import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
8
8
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
9
9
  import { defineStore as ue } from "pinia";
10
- import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-fNVMd9PS.js";
10
+ import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-CzhbZPKE.js";
11
11
  import { u as de } from "./discardConfirm-BHni0LNu.js";
12
12
  import { c as pe } from "./check-C9mY6LiX.js";
13
- import "./unit-DCXUBn-h.js";
13
+ import "./unit-C3zaQSoS.js";
14
14
  import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
15
15
  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({
16
16
  __name: "Form",
@@ -19,7 +19,7 @@ const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40"
19
19
  invalidSkuAndRecipe: {}
20
20
  },
21
21
  setup(R, { expose: c }) {
22
- const { t: u } = U(), p = R, f = q($(A())), b = h(() => p.initialValue ? u("menu.recipe.update") : u("menu.recipe.add")), _ = h(
22
+ const { t: u } = U(), p = R, f = q(A($())), b = h(() => p.initialValue ? u("menu.recipe.update") : u("menu.recipe.add")), _ = h(
23
23
  () => p.initialValue ? u("menu.common.actions.update") : u("menu.common.actions.add")
24
24
  ), v = w(!1), a = w(!1), k = (t) => {
25
25
  pe.isBoolean(t) ? a.value = t : a.value = !a.value;
@@ -120,16 +120,16 @@ const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40"
120
120
  rules: [(m) => m.length > 0 || e(u)("menu.recipe.validation.bind_required")]
121
121
  }, {
122
122
  default: x(() => [
123
- d(B, {
123
+ d(Y, {
124
124
  modelValue: n.contains,
125
125
  "onUpdate:modelValue": i[1] || (i[1] = (m) => n.contains = m),
126
- type: e(Y.F_INVENTORY_BINDING_TYPE).enum.RECIPE,
126
+ type: e(B.F_INVENTORY_BINDING_TYPE).enum.RECIPE,
127
127
  "filter-option-ids": o.value
128
128
  }, null, 8, ["modelValue", "type", "filter-option-ids"]),
129
- d(B, {
129
+ d(Y, {
130
130
  modelValue: n.contains,
131
131
  "onUpdate:modelValue": i[2] || (i[2] = (m) => n.contains = m),
132
- type: e(Y.F_INVENTORY_BINDING_TYPE).enum.SKU,
132
+ type: e(B.F_INVENTORY_BINDING_TYPE).enum.SKU,
133
133
  "filter-option-ids": E.value
134
134
  }, null, 8, ["modelValue", "type", "filter-option-ids"])
135
135
  ]),
@@ -143,7 +143,7 @@ const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40"
143
143
  };
144
144
  }
145
145
  }), he = be, Ve = ue("recipe-manager", () => {
146
- const R = ne(), c = A(), u = $(c), p = q(u), f = H(), b = Z(), { t: _ } = U(), v = (o) => {
146
+ const R = ne(), c = $(), u = A(c), p = q(u), f = H(), b = Z(), { t: _ } = U(), v = (o) => {
147
147
  var l, t;
148
148
  const { vNode: y } = fe(
149
149
  he,
@@ -226,8 +226,8 @@ const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40"
226
226
  setup(R) {
227
227
  const {
228
228
  t: c
229
- } = U(), u = A();
230
- $(u);
229
+ } = U(), u = $();
230
+ A(u);
231
231
  const p = H(), f = Ve(), b = h(() => p.recipes), _ = h(() => b.value.filter((y) => `${y.name}`.toLowerCase().includes(v.value.toLowerCase()))), v = w(""), a = w([{
232
232
  accessorKey: "name",
233
233
  header: () => c("menu.recipe.table.columns.name"),