@feedmepos/mf-menu 0.31.13-prod → 0.31.14-beta.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 (57) hide show
  1. package/dist/{App-DzwIYXCC.js → App-zFX3uush.js} +6 -6
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DwjRVBt4.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CHUFMaWx.js} +2 -2
  3. package/dist/{Catalog-BvavQk6R.js → Catalog-D2FTURpx.js} +5 -5
  4. package/dist/{Category-CKOPnQAc.js → Category-BmYM9mSA.js} +5 -5
  5. package/dist/{Category-Cj02s0bD.js → Category-Weso_H_Z.js} +4 -4
  6. package/dist/{CookingGuide-CyEginT_.js → CookingGuide-uJHE_Fb6.js} +3 -3
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BpFu-GUR.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Dk5FypdM.js} +1 -1
  8. package/dist/{Group-plIUz6mQ.js → Group-Br4SVdfw.js} +3 -3
  9. package/dist/{Group-YFFFxGCq.js → Group-DyJJJzzC.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-BHYcr3kC.js → Group.vue_vue_type_script_setup_true_lang-0NLKlLn0.js} +48 -48
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DzF0Sycs.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B9qitqLz.js} +3 -3
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DlY_fspL.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-L3eIj10P.js} +1268 -1268
  13. package/dist/{Ingredient-C_RIAZ8k.js → Ingredient-C8Gdb9xg.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CLSojPHv.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DhSZIPOD.js} +1052 -1052
  15. package/dist/{LinkProductSideSheet-B5GODfkw.js → LinkProductSideSheet-NwwdRb-j.js} +1 -1
  16. package/dist/{MenuSetting-FywYOgmI.js → MenuSetting-CKS0c1Kc.js} +4 -4
  17. package/dist/{PrintRoute-BO3-UkwS.js → PrintRoute-DLwub8uW.js} +3 -3
  18. package/dist/{Product-BrlvooGG.js → Product-DowKo0s7.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-BNA1nx-k.js → Product.vue_vue_type_script_setup_true_lang-DiK-MIBy.js} +11 -11
  20. package/dist/{Products-BPwLcwaE.js → Products-Bn7xaGhh.js} +521 -521
  21. package/dist/{Publish-CqP2L3H8.js → Publish-CpNC0tWj.js} +3 -3
  22. package/dist/{Recipe-DO4yCnFG.js → Recipe-DH_e8MrT.js} +4 -4
  23. package/dist/{Scheduler-CkFIeXN3.js → Scheduler-PXidqEyf.js} +3 -3
  24. package/dist/{ServingSequence-B_-BOp8C.js → ServingSequence-DzWaHfwb.js} +3 -3
  25. package/dist/{Setting-CY1-d04h.js → Setting-EtztudWO.js} +4 -4
  26. package/dist/{Subcategory-H3rxT2CG.js → Subcategory-DkkEu6gx.js} +4 -4
  27. package/dist/{Takeaway-C6Z2ScCk.js → Takeaway-BP96ZCL2.js} +4 -4
  28. package/dist/{Takeaway-BJVacqXp.js → Takeaway-CArF4v3D.js} +1 -1
  29. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-vky_OjQ5.js → Takeaway.vue_vue_type_script_setup_true_lang-dOCLq4xp.js} +5 -5
  30. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BEsR-cqN.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DCV9KgmK.js} +1567 -1571
  31. package/dist/{Unit-CT9vH-Li.js → Unit-SA3YP3kw.js} +2 -2
  32. package/dist/{Variant-DYxv7P2H.js → Variant-CzNIvE36.js} +3 -3
  33. package/dist/{_id_-Dl-tTOCU.js → _id_-8uQ9YdPK.js} +9 -9
  34. package/dist/{app-DXaQ2A8_.js → app-BolRuPEq.js} +1 -1
  35. package/dist/{app-D349wgRv.js → app-My0NMUdz.js} +23 -23
  36. package/dist/app.js +1 -1
  37. package/dist/apps/mf-menu/src/manager/menu/group.d.ts +2 -2
  38. package/dist/assets/{linked-status-DV0r63qX.js → linked-status-CEPycTlk.js} +2 -2
  39. package/dist/assets/{override-menu-B1Il9Mtm.js → override-menu-_OICQSvN.js} +2 -2
  40. package/dist/assets/{validate-menu-u8H0BvHJ.js → validate-menu-yLFq_6YK.js} +2 -2
  41. package/dist/{catalog-Co0S8ONG.js → catalog--wILrjkl.js} +1 -1
  42. package/dist/{catalogSetting-BpL871DP.js → catalogSetting-B_tAzhVc.js} +1 -1
  43. package/dist/{category-pMoaKhVM.js → category-csE2-2hB.js} +1 -1
  44. package/dist/{currency-CbR9kSDS.js → currency-BDn4uyqM.js} +1 -1
  45. package/dist/{dayjs.min-Revise9-.js → dayjs.min-CEFQW6qP.js} +1 -1
  46. package/dist/{index-CiBy1MJE.js → index-Ctkjk6Ve.js} +3 -3
  47. package/dist/{index-CcgWvTsC.js → index-DQvyosax.js} +1 -1
  48. package/dist/{index-wErO3lhN.js → index-gHNvvnIH.js} +2 -2
  49. package/dist/{item-BZ-coUuR.js → item-DBg87Y2g.js} +945 -944
  50. package/dist/{menu-DHMpoZLf.js → menu-CcLYdceI.js} +1 -1
  51. package/dist/{menu-BhmpEsRJ.js → menu-CnPKcWjf.js} +7 -7
  52. package/dist/{priceTier-DMoWzxYK.js → priceTier-Bofl7Ezb.js} +1 -1
  53. package/dist/{scheduler-D7gjxSfM.js → scheduler-C7vSQnXy.js} +3 -3
  54. package/dist/{subcategory-R7C4OaTS.js → subcategory-tMzAqsJC.js} +73 -73
  55. package/dist/{toExcel-DiGrUwFp.js → toExcel-CwKo0jnF.js} +2 -2
  56. package/dist/{unit-B_lUkXXv.js → unit-C7iGFlv7.js} +1 -1
  57. package/package.json +1 -1
@@ -1,20 +1,20 @@
1
- import { defineComponent as H, computed as f, resolveComponent as F, createBlock as U, openBlock as m, withCtx as O, createElementBlock as w, Fragment as T, renderList as ee, createElementVNode as d, normalizeClass as W, toDisplayString as M, createVNode as i, ref as S, renderSlot as Se, unref as u, createCommentVNode as I, watch as Ee, h as de, mergeProps as Re, createSlots as Ie, withModifiers as Ue, isRef as pe, nextTick as ve } from "vue";
2
- import { K as Q, u as te, Q as Te, G as $e, I as g, A as Ye, z as Le, M as ze } from "./menu-BhmpEsRJ.js";
1
+ import { defineComponent as H, computed as f, resolveComponent as F, createBlock as U, openBlock as m, withCtx as O, createElementBlock as w, Fragment as T, renderList as ee, createElementVNode as p, normalizeClass as W, toDisplayString as M, createVNode as i, ref as S, renderSlot as Se, unref as u, createCommentVNode as I, watch as Ee, h as pe, mergeProps as Re, createSlots as Ie, withModifiers as Ue, isRef as de, nextTick as ve } from "vue";
2
+ import { K as Q, u as te, Q as Te, G as $e, I as g, A as Ye, z as Le, M as ze } from "./menu-CnPKcWjf.js";
3
3
  import { d as Ke } from "./vuedraggable-CK8z7qA8.js";
4
- import { _ as je, h as fe, a as Be, b as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-BpFu-GUR.js";
4
+ import { _ as je, h as fe, a as Be, b as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-Dk5FypdM.js";
5
5
  import { useI18n as oe, useCoreStore as qe } from "@feedmepos/mf-common";
6
6
  import { useBreakpoints as ye, components as _e, useSnackbar as We, useDialog as He, FmButtonVariant as Je } from "@feedmepos/ui-library";
7
- import { _ as Xe } from "./app-D349wgRv.js";
7
+ import { _ as Xe } from "./app-My0NMUdz.js";
8
8
  import { _ as Ze, a as et } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
9
9
  import { c as tt } from "./object-DVUNCr7w.js";
10
10
  import { u as ot } from "./discardConfirm-BHni0LNu.js";
11
- import { _ as nt } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DwjRVBt4.js";
11
+ import { _ as nt } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CHUFMaWx.js";
12
12
  import { c as lt } from "./check-C9mY6LiX.js";
13
13
  import { _ as at } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
14
- import { M as ge, t as rt, v as ut, A as st, e as it, h as ct, r as mt } from "./item-BZ-coUuR.js";
15
- import { u as dt } from "./search-BAPEUu1R.js";
16
- import { C as pt } from "./catalog-Co0S8ONG.js";
17
- import { c as vt } from "./subcategory-R7C4OaTS.js";
14
+ import { M as ge, t as rt, v as ut, A as st, e as it, h as ct, r as mt } from "./item-DBg87Y2g.js";
15
+ import { u as pt } from "./search-BAPEUu1R.js";
16
+ import { C as dt } from "./catalog--wILrjkl.js";
17
+ import { c as vt } from "./subcategory-tMzAqsJC.js";
18
18
  const ft = /* @__PURE__ */ H({
19
19
  __name: "ResponsiveContextMenu",
20
20
  props: {
@@ -23,7 +23,7 @@ const ft = /* @__PURE__ */ H({
23
23
  setup(L) {
24
24
  const R = ye(), r = f(() => R.breakpoints.value.xs);
25
25
  return (P, V) => {
26
- const h = F("FmButton"), p = F("FmMenuItem"), y = F("FmMenu");
26
+ const h = F("FmButton"), d = F("FmMenuItem"), y = F("FmMenu");
27
27
  return r.value ? (m(), U(Ze, { key: 0 }, {
28
28
  default: O(() => [
29
29
  (m(!0), w(T, null, ee(P.items, ({ icon: k, label: A, disabled: C, itemClass: x, onClick: _ }) => (m(), U(et, {
@@ -53,7 +53,7 @@ const ft = /* @__PURE__ */ H({
53
53
  })
54
54
  ]),
55
55
  default: O(() => [
56
- (m(!0), w(T, null, ee(P.items, ({ icon: k, label: A, disabled: C, itemClass: x, onClick: _ }) => (m(), U(p, {
56
+ (m(!0), w(T, null, ee(P.items, ({ icon: k, label: A, disabled: C, itemClass: x, onClick: _ }) => (m(), U(d, {
57
57
  key: A,
58
58
  disabled: C,
59
59
  onClick: () => {
@@ -62,7 +62,7 @@ const ft = /* @__PURE__ */ H({
62
62
  label: A
63
63
  }, {
64
64
  label: O(() => [
65
- d("span", {
65
+ p("span", {
66
66
  class: W(C ? "text-fm-color-typo-disabled" : x)
67
67
  }, M(A), 3)
68
68
  ]),
@@ -83,13 +83,13 @@ const ft = /* @__PURE__ */ H({
83
83
  },
84
84
  emits: ["apply:product"],
85
85
  setup(L, { emit: R }) {
86
- const r = L, P = R, { t: V } = oe(), h = r.initialValue.map((x) => ({ _id: x })), p = S(Q.clone(h)), y = ot(
87
- () => !Q.isEqual(p.value, h),
86
+ const r = L, P = R, { t: V } = oe(), h = r.initialValue.map((x) => ({ _id: x })), d = S(Q.clone(h)), y = ot(
87
+ () => !Q.isEqual(d.value, h),
88
88
  () => {
89
89
  k.value = !1;
90
90
  }
91
91
  ), k = S(!1), A = (x) => {
92
- lt.isBoolean(x) ? k.value = x : k.value = !k.value, k.value && (p.value = r.initialValue.map((_) => ({ _id: _ })));
92
+ lt.isBoolean(x) ? k.value = x : k.value = !k.value, k.value && (d.value = r.initialValue.map((_) => ({ _id: _ })));
93
93
  }, C = te();
94
94
  return (x, _) => {
95
95
  const b = F("fm-button"), ne = F("fm-side-sheet");
@@ -102,7 +102,7 @@ const ft = /* @__PURE__ */ H({
102
102
  "is-container": u(_e).FmForm,
103
103
  "is-container-props": {
104
104
  onValidationSuccess: () => {
105
- P("apply:product", p.value), A(!1);
105
+ P("apply:product", d.value), A(!1);
106
106
  },
107
107
  blameFormChildOnValidationFailed: !0
108
108
  },
@@ -110,10 +110,10 @@ const ft = /* @__PURE__ */ H({
110
110
  "onOn:clickedAway": u(y)
111
111
  }, {
112
112
  "side-sheet-header": O(() => [
113
- d("p", gt, M(x.title), 1)
113
+ p("p", gt, M(x.title), 1)
114
114
  ]),
115
115
  "side-sheet-footer": O(() => [
116
- d("div", yt, [
116
+ p("div", yt, [
117
117
  i(b, {
118
118
  label: u(V)("common.save"),
119
119
  size: "lg",
@@ -130,8 +130,8 @@ const ft = /* @__PURE__ */ H({
130
130
  ]),
131
131
  default: O(() => [
132
132
  i(nt, {
133
- overrides: p.value,
134
- "onUpdate:overrides": _[0] || (_[0] = (N) => p.value = N),
133
+ overrides: d.value,
134
+ "onUpdate:overrides": _[0] || (_[0] = (N) => d.value = N),
135
135
  "categorized-items": u(C).categorizedItems,
136
136
  editable: x.editable,
137
137
  "select-variant": !1,
@@ -155,14 +155,14 @@ const ft = /* @__PURE__ */ H({
155
155
  },
156
156
  setup(L) {
157
157
  const R = L, { t: r } = oe(), P = te(), V = f(() => R.group.itemsLinked.map((h) => {
158
- const p = P.state.menu.modules.item.find((y) => y._id === h);
159
- return (p == null ? void 0 : p.name) || h;
158
+ const d = P.state.menu.modules.item.find((y) => y._id === h);
159
+ return (d == null ? void 0 : d.name) || h;
160
160
  }).filter(Boolean));
161
- return (h, p) => (m(), w("div", null, [
162
- d("div", null, M(u(r)("menu.group.dialogs.delete.message", { name: h.group.name })), 1),
161
+ return (h, d) => (m(), w("div", null, [
162
+ p("div", null, M(u(r)("menu.group.dialogs.delete.message", { name: h.group.name })), 1),
163
163
  V.value.length > 0 ? (m(), w("div", bt, [
164
- d("div", ht, M(u(r)("menu.group.dialogs.delete.unlink_warning", { count: V.value.length })), 1),
165
- d("ul", kt, [
164
+ p("div", ht, M(u(r)("menu.group.dialogs.delete.unlink_warning", { count: V.value.length })), 1),
165
+ p("ul", kt, [
166
166
  (m(!0), w(T, null, ee(V.value, (y) => (m(), w("li", {
167
167
  key: y,
168
168
  class: "text-sm"
@@ -207,10 +207,10 @@ const ft = /* @__PURE__ */ H({
207
207
  setup(L, {
208
208
  emit: R
209
209
  }) {
210
- const r = te(), P = qe(), V = We(), h = Te($e(V)), p = He(), y = f(() => r.rules.group), k = f(() => new ge(r, h.updateMenu, p)), A = f(() => k.value.mapGroups(r.groups, !1)), {
210
+ const r = te(), P = qe(), V = We(), h = Te($e(V)), d = He(), y = f(() => r.rules.group), k = f(() => new ge(r, h.updateMenu, d)), A = f(() => k.value.mapGroups(r.groups, !1)), {
211
211
  searchKey: C,
212
212
  filter: x
213
- } = dt(), _ = S(!1), b = S(null), N = S({
213
+ } = pt(), _ = S(!1), b = S(null), N = S({
214
214
  logic: "AND",
215
215
  rules: []
216
216
  });
@@ -293,7 +293,7 @@ const ft = /* @__PURE__ */ H({
293
293
  k.value.sortGroups(t);
294
294
  }
295
295
  function Ce(t) {
296
- p.open({
296
+ d.open({
297
297
  title: a("menu.group.actions.duplicate.title"),
298
298
  message: a("menu.group.actions.duplicate.message", {
299
299
  name: t.name
@@ -308,7 +308,7 @@ const ft = /* @__PURE__ */ H({
308
308
  }
309
309
  }).onPrimary(() => k.value.duplicateGroup(t));
310
310
  }
311
- const X = f(() => r.currentCatalog), K = f(() => r.currentScheduler), j = f(() => new pt(X.value, r, h.updateMenu, p)), Z = f(() => new rt(K.value, r, h.updateMenu, p)), Oe = (t) => {
311
+ const X = f(() => r.currentCatalog), K = f(() => r.currentScheduler), j = f(() => new dt(X.value, r, h.updateMenu, d)), Z = f(() => new rt(K.value, r, h.updateMenu, d)), Oe = (t) => {
312
312
  let e = t;
313
313
  function l(n) {
314
314
  const D = r.state.menu.modules.group.find((o) => o._id === n._id), v = (n.items ?? []).reduce((o, E) => (o[E._id] = [...o[E._id] || [], E.combinationKey || ""], o), {}), Y = (D.items ?? []).filter((o) => {
@@ -329,7 +329,7 @@ const ft = /* @__PURE__ */ H({
329
329
  let n;
330
330
  X.value ? K.value ? n = j.value.getCatalogSchedulerGroup(t._id, K.value._id) : n = j.value.getCatalogGroup(t._id) : n = Z.value.getSchedulerGroup(t._id);
331
331
  const s = l(n);
332
- e = new ge(r, h.updateMenu, p).mapGroups([s], !0)[0];
332
+ e = new ge(r, h.updateMenu, d).mapGroups([s], !0)[0];
333
333
  }
334
334
  return {
335
335
  group: e,
@@ -338,7 +338,7 @@ const ft = /* @__PURE__ */ H({
338
338
  };
339
339
  };
340
340
  function Ae(t) {
341
- p.open({
341
+ d.open({
342
342
  title: a("menu.group.dialogs.delete.title"),
343
343
  contentComponent: wt,
344
344
  contentComponentProps: {
@@ -358,7 +358,7 @@ const ft = /* @__PURE__ */ H({
358
358
  });
359
359
  }
360
360
  function ue(t, e) {
361
- return de(_t, {
361
+ return pe(_t, {
362
362
  key: t._id,
363
363
  initialValue: t.itemsLinked,
364
364
  group: it(t),
@@ -453,7 +453,7 @@ const ft = /* @__PURE__ */ H({
453
453
  size: 140,
454
454
  cell: (t) => {
455
455
  const e = t.row.original;
456
- return de(je, {
456
+ return pe(je, {
457
457
  // FIXME:FdoCustomAttribute under "@feedmepos/custom-attributes" is not compatible
458
458
  // with FdoCustomAttribute from "@feedmepos/core", ! mark should be removed when fixed
459
459
  customAttributes: e.customAttributes
@@ -497,7 +497,7 @@ const ft = /* @__PURE__ */ H({
497
497
  tagging: ((t = P.groupAttributeSettings) == null ? void 0 : t.value.length) > 0
498
498
  };
499
499
  }), Fe = async (t) => {
500
- const e = ct(t), l = e.group, n = mt(l, ae(t), void 0);
500
+ const e = ct(t), l = e.group, n = mt(l, ae(t));
501
501
  if (c.value)
502
502
  X.value ? (K.value ? j.value.overrideCatalogSchedulerGroups([n], K.value._id) : j.value.overrideCatalogGroups([n]), await j.value.update()) : (Z.value.overrideSchedulerGroups([n]), await Z.value.update());
503
503
  else {
@@ -576,14 +576,14 @@ const ft = /* @__PURE__ */ H({
576
576
  key: 2
577
577
  }, [Pe.value ? (m(), w(T, {
578
578
  key: 1
579
- }, [d("div", Ft, [i(v, {
579
+ }, [p("div", Ft, [i(v, {
580
580
  autofocus: "",
581
581
  modelValue: u(C),
582
- "onUpdate:modelValue": e[9] || (e[9] = (o) => pe(C) ? C.value = o : null),
582
+ "onUpdate:modelValue": e[9] || (e[9] = (o) => de(C) ? C.value = o : null),
583
583
  placeholder: u(a)("menu.group.search.placeholder")
584
- }, null, 8, ["modelValue", "placeholder"])]), e[17] || (e[17] = d("div", {
584
+ }, null, 8, ["modelValue", "placeholder"])]), e[17] || (e[17] = p("div", {
585
585
  class: "bg-fm-color-neutral-gray-100 w-full h-px rounded-md"
586
- }, null, -1)), d("div", Mt, [i(me), J.value ? (m(), U(Y, {
586
+ }, null, -1)), p("div", Mt, [i(me), J.value ? (m(), U(Y, {
587
587
  key: 0,
588
588
  modelValue: _.value,
589
589
  "onUpdate:modelValue": e[14] || (e[14] = (o) => _.value = o)
@@ -595,16 +595,16 @@ const ft = /* @__PURE__ */ H({
595
595
  class: "text-fm-color-typo-secondary",
596
596
  "right-icon": "keyboard_arrow_down"
597
597
  }, null, 8, ["label"])]),
598
- default: O(() => [d("div", null, [d("div", {
598
+ default: O(() => [p("div", null, [p("div", {
599
599
  class: "px-16 py-8",
600
600
  onClick: e[10] || (e[10] = (o) => b.value = null)
601
- }, M(u(a)("menu.group.type.all")), 1), d("div", {
601
+ }, M(u(a)("menu.group.type.all")), 1), p("div", {
602
602
  class: "px-16 py-8",
603
603
  onClick: e[11] || (e[11] = (o) => b.value = "NORMAL")
604
- }, M(u(a)("menu.group.type.normal")), 1), d("div", {
604
+ }, M(u(a)("menu.group.type.normal")), 1), p("div", {
605
605
  class: "px-16 py-8",
606
606
  onClick: e[12] || (e[12] = (o) => b.value = "PRODUCT")
607
- }, M(u(a)("menu.group.type.product")), 1), d("div", {
607
+ }, M(u(a)("menu.group.type.product")), 1), p("div", {
608
608
  class: "px-16 py-8",
609
609
  onClick: e[13] || (e[13] = (o) => b.value = "DYNAMIC")
610
610
  }, M(u(a)("menu.group.type.dynamic")), 1)])]),
@@ -628,13 +628,13 @@ const ft = /* @__PURE__ */ H({
628
628
  }) => [(m(), w("div", {
629
629
  key: o._id,
630
630
  class: W(["py-12 px-16", "flex space-x-16", "items-center"])
631
- }, [d("div", Pt, [d("div", Vt, [d("p", Nt, M(o.name), 1), d("div", null, [J.value ? (m(), w("p", St, M(u(Q.capitalize)(o.type)) + " type ", 1)) : I("", !0), d("p", Et, M(u(a)("menu.group.list.products_linked", {
631
+ }, [p("div", Pt, [p("div", Vt, [p("p", Nt, M(o.name), 1), p("div", null, [J.value ? (m(), w("p", St, M(u(Q.capitalize)(o.type)) + " type ", 1)) : I("", !0), p("p", Et, M(u(a)("menu.group.list.products_linked", {
632
632
  count: o.itemsLinked.length
633
633
  })), 1)])]), i(se, {
634
634
  group: o
635
635
  }, null, 8, ["group"])])]))]),
636
636
  _: 1
637
- }, 8, ["model-value"])], 64)) : (m(), w("div", Ot, [d("div", At, [i(me), J.value ? (m(), U(D, {
637
+ }, 8, ["model-value"])], 64)) : (m(), w("div", Ot, [p("div", At, [i(me), J.value ? (m(), U(D, {
638
638
  key: 0
639
639
  }, {
640
640
  "menu-button": O(() => [i(n, {
@@ -644,7 +644,7 @@ const ft = /* @__PURE__ */ H({
644
644
  class: "text-fm-color-typo-secondary",
645
645
  "right-icon": "keyboard_arrow_down"
646
646
  }, null, 8, ["label"])]),
647
- default: O(() => [d("div", null, [i(s, {
647
+ default: O(() => [p("div", null, [i(s, {
648
648
  class: "px-16 py-8",
649
649
  label: u(a)("menu.group.type.all"),
650
650
  onClick: e[2] || (e[2] = (o) => b.value = null)
@@ -662,10 +662,10 @@ const ft = /* @__PURE__ */ H({
662
662
  onClick: e[5] || (e[5] = (o) => b.value = "DYNAMIC")
663
663
  }, null, 8, ["label"])])]),
664
664
  _: 1
665
- })) : I("", !0), d("div", xt, [i(v, {
665
+ })) : I("", !0), p("div", xt, [i(v, {
666
666
  autofocus: "",
667
667
  modelValue: u(C),
668
- "onUpdate:modelValue": e[6] || (e[6] = (o) => pe(C) ? C.value = o : null),
668
+ "onUpdate:modelValue": e[6] || (e[6] = (o) => de(C) ? C.value = o : null),
669
669
  placeholder: u(a)("menu.group.search.placeholder")
670
670
  }, null, 8, ["modelValue", "placeholder"])])]), B.value ? (m(), w("div", Dt, [i(u(fe), {
671
671
  ref_key: "attributeFilterRef",
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as P, useModel as J, computed as V, resolveComponent as m, createBlock as C, openBlock as c, unref as e, ref as I, watch as O, onMounted as j, createElementBlock as S, Fragment as h, renderSlot as H, createVNode as i, withCtx as s, createElementVNode as x, renderList as K, createCommentVNode as w, toDisplayString as F, createTextVNode as Q } from "vue";
2
2
  import { useI18n as T } from "@feedmepos/mf-common";
3
- import { u as R } from "./priceTier-DMoWzxYK.js";
3
+ import { u as R } from "./priceTier-Bofl7Ezb.js";
4
4
  import { useDialog as W, components as X, FmButtonVariant as Y, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
5
- import { L as Z } from "./LinkProductSideSheet-B5GODfkw.js";
5
+ import { L as Z } from "./LinkProductSideSheet-NwwdRb-j.js";
6
6
  import { c as z } from "./check-C9mY6LiX.js";
7
- import { u as ee, J as B, ai as le } from "./menu-BhmpEsRJ.js";
7
+ import { u as ee, J as B, ai as le } from "./menu-CnPKcWjf.js";
8
8
  import { c as oe } from "./string-DpfFixWH.js";
9
9
  const fe = /* @__PURE__ */ P({
10
10
  __name: "LinkPriceTier",