@feedmepos/mf-menu 0.32.44 → 0.32.45

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 (80) hide show
  1. package/dist/{App-BXkiQoTM.js → App-CczmyQeJ.js} +1471 -1458
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BoSL4dm7.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BscsJpMV.js} +3 -3
  3. package/dist/{Catalog-CLFVLyor.js → Catalog-RU_6keJm.js} +6 -6
  4. package/dist/{Category-CNuVHuI3.js → Category-7Fg2kD0h.js} +79 -79
  5. package/dist/{Category-BdyouDU8.js → Category-CwEXbsDv.js} +4 -4
  6. package/dist/{CookingGuide-Bed7bUt1.js → CookingGuide-DFu5VStf.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CZDL2xJC.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CeNfLbfq.js} +1 -1
  8. package/dist/{Group-TUqCPmO3.js → Group-C6vQeBnj.js} +1 -1
  9. package/dist/{Group-D4UTsIxI.js → Group-l-YpAi6B.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-BJPT8flL.js → Group.vue_vue_type_script_setup_true_lang-1UdOBdv-.js} +165 -165
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D83liryu.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C309DrLU.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CRIRinHB.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C903fhuj.js} +6 -6
  13. package/dist/{Ingredient-CcxoeuDd.js → Ingredient-CHqDo-GY.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-58tyxdVh.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CXHHlrI0.js} +2 -2
  15. package/dist/{LinkProductSideSheet-DazOkwkd.js → LinkProductSideSheet-DY32g33Q.js} +3 -3
  16. package/dist/{MenuSetting-B3oLll4C.js → MenuSetting-DhbxlKuU.js} +5 -5
  17. package/dist/{PrintRoute-D878qPu8.js → PrintRoute-CToZ0ClG.js} +4 -4
  18. package/dist/{Product-DOC8y_mW.js → Product-Cpg32wpg.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-tZyBhWYT.js → Product.vue_vue_type_script_setup_true_lang-BC2KG1q4.js} +440 -438
  20. package/dist/{ProductInternalTools-9TgIc2bR.js → ProductInternalTools-wH9BN1NK.js} +5 -5
  21. package/dist/Products-CpINHaH6.js +291 -0
  22. package/dist/{Publish-BktK_PKq.js → Publish-CJS_836k.js} +3 -3
  23. package/dist/{Recipe-eA0xrGYk.js → Recipe-Cz7hivmM.js} +4 -4
  24. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-t8M7z09s.js → RuleView.vue_vue_type_script_setup_true_lang-CRLzqgQe.js} +207 -207
  25. package/dist/{Scheduler-CKSqPZLQ.js → Scheduler-QuWCnEJw.js} +3 -3
  26. package/dist/{ServingSequence-Ea20baNj.js → ServingSequence-CqK5Sjmq.js} +3 -3
  27. package/dist/{Setting-u6lX_Dzg.js → Setting-C3tKUfsm.js} +5 -5
  28. package/dist/{Subcategory-C6s7OMOb.js → Subcategory-DCtTOPUj.js} +99 -100
  29. package/dist/{Takeaway-lWxS9oWe.js → Takeaway-BnB1OFnK.js} +1 -1
  30. package/dist/{Takeaway-B9kr-Nf4.js → Takeaway-Fi8SAH2t.js} +4 -4
  31. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-oA0e9oI5.js → Takeaway.vue_vue_type_script_setup_true_lang-Cbz7Qt_g.js} +91 -91
  32. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-T40ChY7j.js → Thumbnail.vue_vue_type_script_setup_true_lang-CPM_muXB.js} +4 -4
  33. package/dist/TranslationFieldSection.vue_vue_type_script_setup_true_lang-BpL8UrFY.js +278 -0
  34. package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-DtkzQeq4.js +140 -0
  35. package/dist/TranslationViewChip.vue_vue_type_script_setup_true_lang-CHT7Xozn.js +60 -0
  36. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B1e3d-uX.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DoIgiwHh.js} +13 -13
  37. package/dist/{Unit-DkQlUg2l.js → Unit-5yE2-y9D.js} +2 -2
  38. package/dist/Variant-C7lIdRID.js +248 -0
  39. package/dist/{_id_-_oqk-OhC.js → _id_-08ykp97a.js} +9 -9
  40. package/dist/{app-CfCYl2pO.js → app-CA4g3v2n.js} +26 -26
  41. package/dist/{app-DIYHNWEw.js → app-DPovSnb_.js} +1 -1
  42. package/dist/app.js +1 -1
  43. package/dist/apps/mf-menu/src/components/translation/LanguageChip.vue.d.ts +18 -0
  44. package/dist/apps/mf-menu/src/components/translation/LanguageSelector.vue.d.ts +33 -0
  45. package/dist/apps/mf-menu/src/components/translation/LocaleIconBadge.vue.d.ts +29 -0
  46. package/dist/apps/mf-menu/src/components/translation/TranslationFieldRow.vue.d.ts +39 -0
  47. package/dist/apps/mf-menu/src/components/translation/TranslationViewChip.vue.d.ts +15 -0
  48. package/dist/apps/mf-menu/src/composable/translationLanguages.d.ts +16 -0
  49. package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -0
  50. package/dist/apps/mf-menu/src/utils/translation.d.ts +1 -1
  51. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/assets/{linked-status-AoXjo9FF.js → linked-status-WT6deoPw.js} +2 -2
  53. package/dist/assets/{menu-export-BHcaWhM3.js → menu-export-DxtFXMED.js} +2 -2
  54. package/dist/assets/{override-menu-B9xQcjuJ.js → override-menu-BJGRdWWE.js} +2 -2
  55. package/dist/assets/{validate-menu-D-ezd4W8.js → validate-menu-B_tmkHe7.js} +2 -2
  56. package/dist/{catalog-CvN9Wu8V.js → catalog-D7Jjqj3-.js} +1 -1
  57. package/dist/{catalogSetting-qS5Np22q.js → catalogSetting-Bg_zMUrV.js} +1 -1
  58. package/dist/{currency-Nxod6uwl.js → currency-DDxFMjAI.js} +1 -1
  59. package/dist/{dayjs.min-B1AjAGva.js → dayjs.min-BVOO8wJG.js} +1 -1
  60. package/dist/{index-Cq-czJjU.js → index-BlLRjkMF.js} +8 -7
  61. package/dist/{index-nKlYiotY.js → index-CG7GFWlC.js} +1 -1
  62. package/dist/index-Cq2MVpMv.js +472 -0
  63. package/dist/{index.vue_vue_type_script_setup_true_lang-YXKayPEp.js → index.vue_vue_type_script_setup_true_lang-C6IVvAua.js} +169 -168
  64. package/dist/{item-CUZSonzT.js → item-Bq6SCc7D.js} +3250 -3386
  65. package/dist/{jszip.min-BnkZQ6lD.js → jszip.min-1MrCGuHF.js} +2 -2
  66. package/dist/{menu-BP_ArXCI.js → menu-CKA9uouu.js} +1 -1
  67. package/dist/{menuV2-BGEYgQ8-.js → menuV2-DBkrmeha.js} +71 -71
  68. package/dist/{priceTier-B-Qa0xaO.js → priceTier-Cxr9IcVP.js} +1 -1
  69. package/dist/{rules-Dchd_ilF.js → rules-DFWR7a3m.js} +4 -4
  70. package/dist/{scheduler-DN7ZGLk8.js → scheduler-HKff8Ty2.js} +4 -4
  71. package/dist/{toExcel-jHmkDqcm.js → toExcel-DopYrxBW.js} +2 -2
  72. package/dist/{unit-DgL56pkI.js → unit-5G600HMJ.js} +2 -2
  73. package/package.json +1 -1
  74. package/dist/Products-DfUGnHmD.js +0 -1568
  75. package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-CcIGCUwk.js +0 -194
  76. package/dist/Variant-BF5r2WLL.js +0 -247
  77. package/dist/index-C0Zw1cSS.js +0 -545
  78. package/dist/translation-Cdap0IVg.js +0 -79
  79. /package/dist/apps/mf-menu/src/components/{TranslationBadge.vue.d.ts → translation/TranslationBadge.vue.d.ts} +0 -0
  80. /package/dist/apps/mf-menu/src/components/{TranslationFieldSection.vue.d.ts → translation/TranslationFieldSection.vue.d.ts} +0 -0
@@ -1,51 +1,51 @@
1
- import { defineComponent as Z, computed as v, resolveComponent as M, createBlock as U, openBlock as m, withCtx as D, createElementBlock as C, Fragment as T, renderList as ne, createElementVNode as p, normalizeClass as X, toDisplayString as G, createVNode as i, ref as R, renderSlot as Ee, unref as r, createCommentVNode as I, watch as Re, h as H, mergeProps as Se, createSlots as Ie, withModifiers as Ue, isRef as W, nextTick as fe } from "vue";
2
- import { J as q, u as le, Q as Te, G as $e, A as g, D as Ye, a4 as Le, B as ze, M as je } from "./index.vue_vue_type_script_setup_true_lang-YXKayPEp.js";
3
- import { d as Be } from "./vuedraggable-CK8z7qA8.js";
1
+ import { defineComponent as Z, computed as v, resolveComponent as M, createBlock as I, openBlock as m, withCtx as x, createElementBlock as w, Fragment as T, renderList as ne, createElementVNode as p, normalizeClass as X, toDisplayString as G, createVNode as s, ref as R, renderSlot as Ee, unref as r, createCommentVNode as U, watch as Re, h as H, mergeProps as Se, createSlots as Ue, withModifiers as Ie, isRef as W, nextTick as fe } from "vue";
2
+ import { J as q, u as le, Q as Te, G as $e, A as g, D as Ye, a4 as Le, B as ze, M as Be } from "./index.vue_vue_type_script_setup_true_lang-C6IVvAua.js";
3
+ import { d as je } from "./vuedraggable-CK8z7qA8.js";
4
4
  import { b as ve, H as Ke } from "./app-5fxKLAzS.js";
5
5
  import { useI18n as ae, useCoreStore as He, useCustomAttributes as qe } from "@feedmepos/mf-common";
6
- import { useBreakpoints as ye, components as _e, useSnackbar as Qe, useDialog as Je, FmButtonVariant as We } from "@feedmepos/ui-library";
7
- import { _ as Xe, a as Ze } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-CZDL2xJC.js";
8
- import { _ as et } from "./app-CfCYl2pO.js";
6
+ import { useBreakpoints as _e, components as ye, useSnackbar as Qe, useDialog as Je, FmButtonVariant as We } from "@feedmepos/ui-library";
7
+ import { _ as Xe, a as Ze } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-CeNfLbfq.js";
8
+ import { _ as et } from "./app-CA4g3v2n.js";
9
9
  import { _ as tt, a as ot } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
10
10
  import { c as nt } from "./object-DVUNCr7w.js";
11
11
  import { u as lt } from "./discardConfirm-BHni0LNu.js";
12
- import { _ as at } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BoSL4dm7.js";
12
+ import { _ as at } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BscsJpMV.js";
13
13
  import { c as rt } from "./check-C9mY6LiX.js";
14
- import { M as ge, D as ut, E as st, B as it, j as ct, l as mt, r as pt } from "./item-CUZSonzT.js";
15
- import { u as dt } from "./search-BAPEUu1R.js";
16
- import { C as ft } from "./catalog-CvN9Wu8V.js";
17
- import { c as vt } from "./menuV2-BGEYgQ8-.js";
18
- import { g as gt } from "./translation-Cdap0IVg.js";
19
- const yt = /* @__PURE__ */ Z({
14
+ import { M as ge, D as ut, E as st, B as it, j as ct, l as mt, r as pt } from "./item-Bq6SCc7D.js";
15
+ import { _ as dt } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-CHT7Xozn.js";
16
+ import { u as ft } from "./search-BAPEUu1R.js";
17
+ import { C as vt } from "./catalog-D7Jjqj3-.js";
18
+ import { c as gt } from "./menuV2-DBkrmeha.js";
19
+ const _t = /* @__PURE__ */ Z({
20
20
  __name: "ResponsiveContextMenu",
21
21
  props: {
22
22
  items: {}
23
23
  },
24
24
  setup(L) {
25
- const S = ye(), u = v(() => S.breakpoints.value.xs);
25
+ const S = _e(), u = v(() => S.breakpoints.value.xs);
26
26
  return (E, V) => {
27
- const k = M("FmButton"), f = M("FmMenuItem"), y = M("FmMenu");
28
- return u.value ? (m(), U(tt, { key: 0 }, {
29
- default: D(() => [
30
- (m(!0), C(T, null, ne(E.items, ({ icon: h, label: A, disabled: x, itemClass: F, onClick: _ }) => (m(), U(ot, {
31
- key: A,
27
+ const k = M("FmButton"), f = M("FmMenuItem"), _ = M("FmMenu");
28
+ return u.value ? (m(), I(tt, { key: 0 }, {
29
+ default: x(() => [
30
+ (m(!0), w(T, null, ne(E.items, ({ icon: h, label: D, disabled: C, itemClass: A, onClick: y }) => (m(), I(ot, {
31
+ key: D,
32
32
  icon: h,
33
- label: A,
34
- disabled: x,
35
- itemClass: F,
33
+ label: D,
34
+ disabled: C,
35
+ itemClass: A,
36
36
  onClick: () => {
37
- !x && (_ == null || _());
37
+ !C && (y == null || y());
38
38
  }
39
39
  }, null, 8, ["icon", "label", "disabled", "itemClass", "onClick"]))), 128))
40
40
  ]),
41
41
  _: 1
42
- })) : (m(), U(y, {
42
+ })) : (m(), I(_, {
43
43
  key: 1,
44
44
  "stop-click-propagation": "",
45
45
  shift: !0
46
46
  }, {
47
- "menu-button": D(() => [
48
- i(k, {
47
+ "menu-button": x(() => [
48
+ s(k, {
49
49
  type: "button",
50
50
  variant: "tertiary",
51
51
  icon: "more_vert",
@@ -53,19 +53,19 @@ const yt = /* @__PURE__ */ Z({
53
53
  size: "md"
54
54
  })
55
55
  ]),
56
- default: D(() => [
57
- (m(!0), C(T, null, ne(E.items, ({ icon: h, label: A, disabled: x, itemClass: F, onClick: _ }) => (m(), U(f, {
58
- key: A,
59
- disabled: x,
56
+ default: x(() => [
57
+ (m(!0), w(T, null, ne(E.items, ({ icon: h, label: D, disabled: C, itemClass: A, onClick: y }) => (m(), I(f, {
58
+ key: D,
59
+ disabled: C,
60
60
  onClick: () => {
61
- !x && (_ == null || _());
61
+ !C && (y == null || y());
62
62
  },
63
- label: A
63
+ label: D
64
64
  }, {
65
- label: D(() => [
65
+ label: x(() => [
66
66
  p("span", {
67
- class: X(x ? "text-fm-color-typo-disabled" : F)
68
- }, G(A), 3)
67
+ class: X(C ? "text-fm-color-typo-disabled" : A)
68
+ }, G(D), 3)
69
69
  ]),
70
70
  _: 2
71
71
  }, 1032, ["disabled", "onClick", "label"]))), 128))
@@ -74,7 +74,7 @@ const yt = /* @__PURE__ */ Z({
74
74
  }));
75
75
  };
76
76
  }
77
- }), _t = { class: "fm-typo-en-title-md-600" }, bt = { class: "flex gap-8 items-center justify-start" }, kt = /* @__PURE__ */ Z({
77
+ }), yt = { class: "fm-typo-en-title-md-600" }, bt = { class: "flex gap-8 items-center justify-start" }, kt = /* @__PURE__ */ Z({
78
78
  __name: "ApplyProductDialog",
79
79
  props: {
80
80
  title: {},
@@ -84,57 +84,57 @@ const yt = /* @__PURE__ */ Z({
84
84
  },
85
85
  emits: ["apply:product"],
86
86
  setup(L, { emit: S }) {
87
- const u = L, E = S, { t: V } = ae(), k = u.initialValue.map((F) => ({ _id: F })), f = R(q.clone(k)), y = lt(
87
+ const u = L, E = S, { t: V } = ae(), k = u.initialValue.map((A) => ({ _id: A })), f = R(q.clone(k)), _ = lt(
88
88
  () => !q.isEqual(f.value, k),
89
89
  () => {
90
90
  h.value = !1;
91
91
  }
92
- ), h = R(!1), A = (F) => {
93
- rt.isBoolean(F) ? h.value = F : h.value = !h.value, h.value && (f.value = u.initialValue.map((_) => ({ _id: _ })));
94
- }, x = le();
95
- return (F, _) => {
92
+ ), h = R(!1), D = (A) => {
93
+ rt.isBoolean(A) ? h.value = A : h.value = !h.value, h.value && (f.value = u.initialValue.map((y) => ({ _id: y })));
94
+ }, C = le();
95
+ return (A, y) => {
96
96
  const b = M("fm-button"), Q = M("fm-side-sheet");
97
- return m(), C(T, null, [
98
- Ee(F.$slots, "default", { trigger: A }),
99
- i(Q, {
97
+ return m(), w(T, null, [
98
+ Ee(A.$slots, "default", { trigger: D }),
99
+ s(Q, {
100
100
  id: "group-form",
101
101
  modelValue: h.value,
102
- "onUpdate:modelValue": _[1] || (_[1] = (N) => h.value = N),
103
- "is-container": r(_e).FmForm,
102
+ "onUpdate:modelValue": y[1] || (y[1] = (N) => h.value = N),
103
+ "is-container": r(ye).FmForm,
104
104
  "is-container-props": {
105
105
  onValidationSuccess: () => {
106
- E("apply:product", f.value), A(!1);
106
+ E("apply:product", f.value), D(!1);
107
107
  },
108
108
  blameFormChildOnValidationFailed: !0
109
109
  },
110
110
  "max-width": 560,
111
- "onOn:clickedAway": r(y)
111
+ "onOn:clickedAway": r(_)
112
112
  }, {
113
- "side-sheet-header": D(() => [
114
- p("p", _t, G(F.title), 1)
113
+ "side-sheet-header": x(() => [
114
+ p("p", yt, G(A.title), 1)
115
115
  ]),
116
- "side-sheet-footer": D(() => [
116
+ "side-sheet-footer": x(() => [
117
117
  p("div", bt, [
118
- i(b, {
118
+ s(b, {
119
119
  label: r(V)("common.save"),
120
120
  size: "lg",
121
121
  type: "submit",
122
122
  variant: "primary"
123
123
  }, null, 8, ["label"]),
124
- i(b, {
124
+ s(b, {
125
125
  label: "Cancel",
126
126
  size: "lg",
127
127
  variant: "tertiary",
128
- onClick: A
128
+ onClick: D
129
129
  })
130
130
  ])
131
131
  ]),
132
- default: D(() => [
133
- i(at, {
132
+ default: x(() => [
133
+ s(at, {
134
134
  overrides: f.value,
135
- "onUpdate:overrides": _[0] || (_[0] = (N) => f.value = N),
136
- "categorized-items": r(x).categorizedItems,
137
- editable: F.editable,
135
+ "onUpdate:overrides": y[0] || (y[0] = (N) => f.value = N),
136
+ "categorized-items": r(C).categorizedItems,
137
+ editable: A.editable,
138
138
  "select-variant": !1,
139
139
  "show-variant": !1,
140
140
  "link-button-label": r(V)("menu.group.actions.apply_product"),
@@ -149,30 +149,30 @@ const yt = /* @__PURE__ */ Z({
149
149
  }), ht = {
150
150
  key: 0,
151
151
  class: "mt-4"
152
- }, wt = { class: "text-fm-color-typo-secondary mb-2" }, Ct = { class: "list-disc list-inside text-fm-color-typo-secondary ml-4 space-y-1" }, xt = /* @__PURE__ */ Z({
152
+ }, wt = { class: "text-fm-color-typo-secondary mb-2" }, Ct = { class: "list-disc list-inside text-fm-color-typo-secondary ml-4 space-y-1" }, Ot = /* @__PURE__ */ Z({
153
153
  __name: "DeleteGroupDialog",
154
154
  props: {
155
155
  group: {}
156
156
  },
157
157
  setup(L) {
158
158
  const S = L, { t: u } = ae(), E = le(), V = v(() => S.group.itemsLinked.map((k) => {
159
- const f = E.state.menu.modules.item.find((y) => y._id === k);
159
+ const f = E.state.menu.modules.item.find((_) => _._id === k);
160
160
  return (f == null ? void 0 : f.name) || k;
161
161
  }).filter(Boolean));
162
- return (k, f) => (m(), C("div", null, [
162
+ return (k, f) => (m(), w("div", null, [
163
163
  p("div", null, G(r(u)("menu.group.dialogs.delete.message", { name: k.group.name })), 1),
164
- V.value.length > 0 ? (m(), C("div", ht, [
164
+ V.value.length > 0 ? (m(), w("div", ht, [
165
165
  p("div", wt, G(r(u)("menu.group.dialogs.delete.unlink_warning", { count: V.value.length })), 1),
166
166
  p("ul", Ct, [
167
- (m(!0), C(T, null, ne(V.value, (y) => (m(), C("li", {
168
- key: y,
167
+ (m(!0), w(T, null, ne(V.value, (_) => (m(), w("li", {
168
+ key: _,
169
169
  class: "text-sm"
170
- }, G(y), 1))), 128))
170
+ }, G(_), 1))), 128))
171
171
  ])
172
- ])) : I("", !0)
172
+ ])) : U("", !0)
173
173
  ]));
174
174
  }
175
- }), Ot = {
175
+ }), xt = {
176
176
  key: 1,
177
177
  class: "xs:pt-24"
178
178
  }, Dt = {
@@ -200,7 +200,7 @@ const yt = /* @__PURE__ */ Z({
200
200
  }, St = {
201
201
  key: 0,
202
202
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
203
- }, It = {
203
+ }, Ut = {
204
204
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
205
205
  }, oo = /* @__PURE__ */ Z({
206
206
  __name: "Group",
@@ -208,19 +208,19 @@ const yt = /* @__PURE__ */ Z({
208
208
  setup(L, {
209
209
  emit: S
210
210
  }) {
211
- const u = le(), E = He(), V = Qe(), k = Te($e(V)), f = Je(), y = v(() => u.rules.group), h = v(() => new ge(u, k.updateMenu, f)), A = v(() => h.value.mapGroups(u.groups, !1)), {
212
- searchKey: x,
213
- filter: F
214
- } = dt(), _ = R(!1), b = R(null), {
211
+ const u = le(), E = He(), V = Qe(), k = Te($e(V)), f = Je(), _ = v(() => u.rules.group), h = v(() => new ge(u, k.updateMenu, f)), D = v(() => h.value.mapGroups(u.groups, !1)), {
212
+ searchKey: C,
213
+ filter: A
214
+ } = ft(), y = R(!1), b = R(null), {
215
215
  attributes: Q,
216
216
  filterRule: N,
217
217
  mongoQuery: re
218
218
  } = qe({
219
- valueSource: A,
219
+ valueSource: D,
220
220
  entity: "group"
221
221
  }), z = v(() => {
222
- const t = (a) => F([a.name, ...Object.values(a.items).flatMap((n) => `${n.code} ${n.name ?? n.fallbackName} ${ze.Dinero.fromFdoDinero(n.price).toFormat()}`), a.type]), e = (a) => !a.customAttributes && !re.value ? !0 : Ke(a.customAttributes ?? {}, re.value);
223
- return A.value.filter((a) => t(a) && e(a)).filter((a) => !b.value || a.type === b.value);
222
+ const t = (a) => A([a.name, ...Object.values(a.items).flatMap((n) => `${n.code} ${n.name ?? n.fallbackName} ${ze.Dinero.fromFdoDinero(n.price).toFormat()}`), a.type]), e = (a) => !a.customAttributes && !re.value ? !0 : Ke(a.customAttributes ?? {}, re.value);
223
+ return D.value.filter((a) => t(a) && e(a)).filter((a) => !b.value || a.type === b.value);
224
224
  }), be = S;
225
225
  Re(() => z.value.length, () => {
226
226
  be("update:count", z.value.length);
@@ -230,12 +230,12 @@ const yt = /* @__PURE__ */ Z({
230
230
  const c = v(() => !!u.state.currentCatalogId || !!u.state.currentSchedulerId);
231
231
  function ue(t) {
232
232
  var Y, o;
233
- const e = !u.state.currentCatalogId, a = !u.state.currentSchedulerId, n = ((Y = u.currentCatalog) == null ? void 0 : Y.priceTierRules) ?? ((o = u.currentCatalog) == null ? void 0 : o.usePriceTiers), s = u.rules.item.bindToVariant, w = u.rules.group.type, d = u.version === g.F_MENU_VERSION.enum.v3, P = u.rules.item.orderFromActiveOnly;
233
+ const e = !u.state.currentCatalogId, a = !u.state.currentSchedulerId, n = ((Y = u.currentCatalog) == null ? void 0 : Y.priceTierRules) ?? ((o = u.currentCatalog) == null ? void 0 : o.usePriceTiers), i = u.rules.item.bindToVariant, F = u.rules.group.type, d = u.version === g.F_MENU_VERSION.enum.v3, P = u.rules.item.orderFromActiveOnly;
234
234
  return {
235
- link: (O) => !c.value && (!O || s),
235
+ link: (O) => !c.value && (!O || i),
236
236
  name: (O) => !c.value && !O,
237
237
  isDefault: (O) => !c.value,
238
- type: w && !t._id && !c.value,
238
+ type: F && !t._id && !c.value,
239
239
  price: !d || t.type !== g.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
240
240
  priceEdit: !(n && n.length > 0 && !d && a),
241
241
  priceTier: !d && a && e,
@@ -243,17 +243,17 @@ const yt = /* @__PURE__ */ Z({
243
243
  orderFrom: (O) => a ? d ? t.type === g.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? c.value : !!c.value == !O : c.value : !1,
244
244
  orderFromActiveOnly: P,
245
245
  showOrderFrom: a ? d ? c.value ? !0 : t.type === g.F_ADDON_GROUP_TYPE.enum.PRODUCT : !0 : !1,
246
- bindToVariant: s,
246
+ bindToVariant: i,
247
247
  isOverride: c.value,
248
248
  isItemGroup: !1,
249
249
  isV4: !d
250
250
  };
251
251
  }
252
252
  const ke = v(() => {
253
- const t = !u.state.currentSchedulerId, e = u.rules.group.type, a = u.version === g.F_MENU_VERSION.enum.v3, n = u.rules.item.orderFromActiveOnly, s = u.rules.item.bindToVariant;
253
+ const t = !u.state.currentSchedulerId, e = u.rules.group.type, a = u.version === g.F_MENU_VERSION.enum.v3, n = u.rules.item.orderFromActiveOnly, i = u.rules.item.bindToVariant;
254
254
  return function(d) {
255
255
  return {
256
- link: (P) => !c.value && (!P || s),
256
+ link: (P) => !c.value && (!P || i),
257
257
  name: (P) => !c.value && !P,
258
258
  isDefault: (P) => !c.value,
259
259
  type: e && !d._id && !c.value,
@@ -264,7 +264,7 @@ const yt = /* @__PURE__ */ Z({
264
264
  orderFrom: (P) => t ? a ? d.type === g.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? c.value : !!c.value == !P : c.value : !1,
265
265
  orderFromActiveOnly: n,
266
266
  showOrderFrom: t ? a ? c.value ? !0 : d.type === g.F_ADDON_GROUP_TYPE.enum.PRODUCT : c.value : !1,
267
- bindToVariant: s,
267
+ bindToVariant: i,
268
268
  isOverride: c.value,
269
269
  isItemGroup: !1,
270
270
  isV4: !a
@@ -296,10 +296,10 @@ const yt = /* @__PURE__ */ Z({
296
296
  }
297
297
  }).onPrimary(() => h.value.duplicateGroup(t));
298
298
  }
299
- const te = v(() => u.currentCatalog), j = v(() => u.currentScheduler), B = v(() => new ft(te.value, u, k.updateMenu, f)), oe = v(() => new ut(j.value, u, k.updateMenu, f)), Ce = (t) => {
299
+ const te = v(() => u.currentCatalog), B = v(() => u.currentScheduler), j = v(() => new vt(te.value, u, k.updateMenu, f)), oe = v(() => new ut(B.value, u, k.updateMenu, f)), Ce = (t) => {
300
300
  let e = t;
301
301
  function a(n) {
302
- const w = u.state.menu.modules.group.find((o) => o._id === n._id), d = (n.items ?? []).reduce((o, O) => (o[O._id] = [...o[O._id] || [], O.combinationKey || ""], o), {}), Y = (w.items ?? []).filter((o) => {
302
+ const F = u.state.menu.modules.group.find((o) => o._id === n._id), d = (n.items ?? []).reduce((o, O) => (o[O._id] = [...o[O._id] || [], O.combinationKey || ""], o), {}), Y = (F.items ?? []).filter((o) => {
303
303
  var O;
304
304
  return !((O = d[o._id]) != null && O.includes(o.combinationKey || ""));
305
305
  }).map((o) => ({
@@ -308,16 +308,16 @@ const yt = /* @__PURE__ */ Z({
308
308
  selection: o.selection
309
309
  })).filter((o) => !!u.mergedMenu.modules.item.find((O) => O._id === o._id));
310
310
  return {
311
- ...w,
311
+ ...F,
312
312
  ...Object.fromEntries(Object.entries(n).filter(([, o]) => !!o)),
313
313
  items: [...n.items ?? [], ...Y]
314
314
  };
315
315
  }
316
316
  if (c.value) {
317
317
  let n;
318
- te.value ? j.value ? n = B.value.getCatalogSchedulerGroup(t._id, j.value._id) : n = B.value.getCatalogGroup(t._id) : n = oe.value.getSchedulerGroup(t._id);
319
- const s = a(n);
320
- e = new ge(u, k.updateMenu, f).mapGroups([s], !0)[0];
318
+ te.value ? B.value ? n = j.value.getCatalogSchedulerGroup(t._id, B.value._id) : n = j.value.getCatalogGroup(t._id) : n = oe.value.getSchedulerGroup(t._id);
319
+ const i = a(n);
320
+ e = new ge(u, k.updateMenu, f).mapGroups([i], !0)[0];
321
321
  }
322
322
  return {
323
323
  group: e,
@@ -325,10 +325,10 @@ const yt = /* @__PURE__ */ Z({
325
325
  categorizedItems: u.categorizedItems
326
326
  };
327
327
  };
328
- function xe(t) {
328
+ function Oe(t) {
329
329
  f.open({
330
330
  title: l("menu.group.dialogs.delete.title"),
331
- contentComponent: xt,
331
+ contentComponent: Ot,
332
332
  contentComponentProps: {
333
333
  group: t
334
334
  },
@@ -350,22 +350,22 @@ const yt = /* @__PURE__ */ Z({
350
350
  key: t._id,
351
351
  initialValue: t.itemsLinked,
352
352
  group: ct(t),
353
- editable: y.value.applyProduct,
353
+ editable: _.value.applyProduct,
354
354
  "onApply:product": async (a) => {
355
355
  var n;
356
- for (const s of a)
357
- if (vt(u.state.menu, t._id, s._id)) {
358
- const w = (n = u.state.menu.modules.item.find((d) => d._id === s._id)) == null ? void 0 : n.name;
356
+ for (const i of a)
357
+ if (gt(u.state.menu, t._id, i._id)) {
358
+ const F = (n = u.state.menu.modules.item.find((d) => d._id === i._id)) == null ? void 0 : n.name;
359
359
  V.open({
360
360
  type: "error",
361
361
  message: l("menu.product.form.group.circularError", {
362
362
  groupName: t.name,
363
- productName: w
363
+ productName: F
364
364
  })
365
365
  });
366
366
  return;
367
367
  }
368
- await h.value.applyItems(t, a.map((s) => s._id));
368
+ await h.value.applyItems(t, a.map((i) => i._id));
369
369
  }
370
370
  }, {
371
371
  default: e
@@ -376,41 +376,41 @@ const yt = /* @__PURE__ */ Z({
376
376
  return ie(e, ({
377
377
  trigger: n
378
378
  }) => {
379
- const s = [{
379
+ const i = [{
380
380
  label: l("menu.common.actions.edit"),
381
381
  onClick: () => pe(e)
382
382
  }, {
383
383
  label: l("menu.group.actions.apply_product"),
384
- disable: !y.value.applyProduct,
384
+ disable: !_.value.applyProduct,
385
385
  onClick: n
386
386
  }, {
387
387
  label: l("menu.group.actions.duplicate_action"),
388
- disabled: !y.value.create,
388
+ disabled: !_.value.create,
389
389
  onClick: () => we(e)
390
390
  }, {
391
391
  label: l("menu.common.actions.delete"),
392
392
  itemClass: "text-fm-color-typo-error",
393
- disabled: !y.value.delete,
394
- onClick: () => xe(e)
393
+ disabled: !_.value.delete,
394
+ onClick: () => Oe(e)
395
395
  }];
396
- return i(yt, {
396
+ return s(_t, {
397
397
  class: t.className,
398
- items: s
398
+ items: i
399
399
  }, null);
400
400
  });
401
- }, Oe = v(() => [{
401
+ }, xe = v(() => [{
402
402
  accessorKey: "name",
403
403
  header: () => l("menu.group.list.columns.name"),
404
404
  enableSorting: !1,
405
405
  cell: (t) => {
406
- const e = t.row.original, a = t.getValue(), s = Object.keys(e.name_locale ?? {}).map((w) => gt(w));
406
+ const e = t.row.original, a = t.getValue();
407
407
  return H("div", {
408
408
  class: "flex items-center gap-8"
409
409
  }, [H("span", {
410
410
  class: "break-all"
411
- }, a), ...s.map((w) => H("div", {
412
- class: "rounded-lg border border-fm-color-primary text-fm-color-primary flex items-center justify-center fm-typo-en-body-sm-600 px-8"
413
- }, w))]);
411
+ }, a), e.name_locale ? H(dt, {
412
+ nameLocale: e.name_locale ?? {}
413
+ }) : null]);
414
414
  }
415
415
  }, {
416
416
  accessorKey: "items",
@@ -418,11 +418,11 @@ const yt = /* @__PURE__ */ Z({
418
418
  enableSorting: !1,
419
419
  cell: (t) => {
420
420
  const e = t.getValue(), a = Object.values(e).map((n) => {
421
- var w;
422
- const s = [(n == null ? void 0 : n.code) || "", n.name || n.fallbackName].join(" ").trim();
423
- return (n.items || []).length > 1 ? `${s} (${l("menu.group.list.variants", {
424
- count: (w = n.items) == null ? void 0 : w.length
425
- })})` : s;
421
+ var F;
422
+ const i = [(n == null ? void 0 : n.code) || "", n.name || n.fallbackName].join(" ").trim();
423
+ return (n.items || []).length > 1 ? `${i} (${l("menu.group.list.variants", {
424
+ count: (F = n.items) == null ? void 0 : F.length
425
+ })})` : i;
426
426
  });
427
427
  return a.length > 5 ? `${a.slice(0, 5).join(", ")} ${l("menu.group.list.more_items", {
428
428
  count: a.length - 5
@@ -467,10 +467,10 @@ const yt = /* @__PURE__ */ Z({
467
467
  });
468
468
  return ie(t.row.original, ({
469
469
  trigger: n
470
- }) => i("div", {
470
+ }) => s("div", {
471
471
  class: "w-fit cursor-pointer border-b border-dashed border-fm-color-neutral-gray-300 hover:border-fm-color-neutral-gray-400",
472
- onClick: (s) => {
473
- s.stopPropagation(), n(s);
472
+ onClick: (i) => {
473
+ i.stopPropagation(), n(i);
474
474
  }
475
475
  }, [a]));
476
476
  }
@@ -490,18 +490,18 @@ const yt = /* @__PURE__ */ Z({
490
490
  }]), De = v(() => {
491
491
  var t;
492
492
  return {
493
- itemsLinked: y.value.showAppliedProduct,
494
- type: y.value.type,
493
+ itemsLinked: _.value.showAppliedProduct,
494
+ type: _.value.type,
495
495
  tagging: ((t = E.groupAttributeSettings) == null ? void 0 : t.value.length) > 0
496
496
  };
497
497
  }), Ae = async (t) => {
498
498
  const e = mt(t), a = e.group, n = pt(a, ue(t));
499
499
  if (c.value)
500
- te.value ? (j.value ? B.value.overrideCatalogSchedulerGroups([n], j.value._id) : B.value.overrideCatalogGroups([n]), await B.value.update()) : (oe.value.overrideSchedulerGroups([n]), await oe.value.update());
500
+ te.value ? (B.value ? j.value.overrideCatalogSchedulerGroups([n], B.value._id) : j.value.overrideCatalogGroups([n]), await j.value.update()) : (oe.value.overrideSchedulerGroups([n]), await oe.value.update());
501
501
  else {
502
- const s = {
502
+ const i = {
503
503
  module: g.F_MENU_MODULE_V4_KEY.enum.group,
504
- operation: je.F_OPERATION_TYPE.update,
504
+ operation: Be.F_OPERATION_TYPE.update,
505
505
  data: n,
506
506
  link: [{
507
507
  module: g.F_MENU_MODULE_V4_KEY.enum.item,
@@ -509,7 +509,7 @@ const yt = /* @__PURE__ */ Z({
509
509
  data: e.linkItems
510
510
  }]
511
511
  };
512
- await k.updateMenu(s, n.name);
512
+ await k.updateMenu(i, n.name);
513
513
  }
514
514
  }, $ = R(null), Fe = v(() => Ce($.value)), me = R(null), pe = async (t) => {
515
515
  var e;
@@ -518,7 +518,7 @@ const yt = /* @__PURE__ */ Z({
518
518
  function Me(t) {
519
519
  pe(t.original);
520
520
  }
521
- const Ge = ye(), Pe = v(() => Ge.breakpoints.value.xs), {
521
+ const Ge = _e(), Pe = v(() => Ge.breakpoints.value.xs), {
522
522
  t: l
523
523
  } = ae(), Ve = v(() => {
524
524
  var t;
@@ -527,13 +527,13 @@ const yt = /* @__PURE__ */ Z({
527
527
  async function Ne() {
528
528
  K.value = !K.value, K.value && (await fe(), J.value && J.value.toggleProperty(!0));
529
529
  }
530
- const de = () => y.value.multiScheduler ? i(Ze, null, {
531
- append: () => Ve.value ? i("div", {
530
+ const de = () => _.value.multiScheduler ? s(Ze, null, {
531
+ append: () => Ve.value ? s("div", {
532
532
  class: "pl-8 flex items-center justify-center border-l border-fm-color-neutral-gray-200",
533
533
  onClick: (t) => {
534
534
  t.stopPropagation(), Ne();
535
535
  }
536
- }, [i(_e.FmIcon, {
536
+ }, [s(ye.FmIcon, {
537
537
  name: "filter_alt",
538
538
  outline: !0,
539
539
  color: "neutral-gray-400",
@@ -541,8 +541,8 @@ const yt = /* @__PURE__ */ Z({
541
541
  }, null)]) : null
542
542
  }) : null;
543
543
  return (t, e) => {
544
- const a = M("fm-button"), n = M("fm-chip"), s = M("fm-menu-item"), w = M("fm-menu"), d = M("fm-search"), P = M("fm-table"), Y = M("fm-bottom-sheet");
545
- return m(), C(T, null, [$.value ? (m(), U(st, Se({
544
+ const a = M("fm-button"), n = M("fm-chip"), i = M("fm-menu-item"), F = M("fm-menu"), d = M("fm-search"), P = M("fm-table"), Y = M("fm-bottom-sheet");
545
+ return m(), w(T, null, [$.value ? (m(), I(st, Se({
546
546
  ref_key: "groupManagerFormRef",
547
547
  ref: me,
548
548
  key: $.value._id
@@ -552,48 +552,48 @@ const yt = /* @__PURE__ */ Z({
552
552
  group: $.value,
553
553
  "onUpdate:group": e[0] || (e[0] = (o) => $.value = o),
554
554
  "onSubmit:group": e[1] || (e[1] = (o) => Ae(o))
555
- }), null, 16, ["title", "group"])) : I("", !0), A.value.length === 0 ? (m(), C("div", Ot, [i(Le, {
555
+ }), null, 16, ["title", "group"])) : U("", !0), D.value.length === 0 ? (m(), w("div", xt, [s(Le, {
556
556
  subtitle: r(l)("menu.group.empty.subtitle"),
557
557
  title: r(l)("menu.group.empty.title")
558
- }, Ie({
558
+ }, Ue({
559
559
  _: 2
560
- }, [y.value.create ? {
560
+ }, [_.value.create ? {
561
561
  name: "action",
562
- fn: D(() => [i(r(it), null, {
563
- default: D(({
562
+ fn: x(() => [s(r(it), null, {
563
+ default: x(({
564
564
  trigger: o
565
- }) => [i(a, {
565
+ }) => [s(a, {
566
566
  "prepend-icon": "add",
567
567
  label: r(l)("menu.group.actions.add"),
568
- onClick: Ue(o, ["stop"])
568
+ onClick: Ie(o, ["stop"])
569
569
  }, null, 8, ["label", "onClick"])]),
570
570
  _: 1
571
571
  })]),
572
572
  key: "0"
573
- } : void 0]), 1032, ["subtitle", "title"])])) : (m(), C(T, {
573
+ } : void 0]), 1032, ["subtitle", "title"])])) : (m(), w(T, {
574
574
  key: 2
575
- }, [Pe.value ? (m(), C(T, {
575
+ }, [Pe.value ? (m(), w(T, {
576
576
  key: 1
577
- }, [p("div", Gt, [i(d, {
577
+ }, [p("div", Gt, [s(d, {
578
578
  autofocus: "",
579
- modelValue: r(x),
580
- "onUpdate:modelValue": e[9] || (e[9] = (o) => W(x) ? x.value = o : null),
579
+ modelValue: r(C),
580
+ "onUpdate:modelValue": e[9] || (e[9] = (o) => W(C) ? C.value = o : null),
581
581
  placeholder: r(l)("menu.group.search.placeholder")
582
582
  }, null, 8, ["modelValue", "placeholder"])]), e[17] || (e[17] = p("div", {
583
583
  class: "bg-fm-color-neutral-gray-100 w-full h-px rounded-md"
584
- }, null, -1)), p("div", Pt, [i(de), ee.value ? (m(), U(Y, {
584
+ }, null, -1)), p("div", Pt, [s(de), ee.value ? (m(), I(Y, {
585
585
  key: 0,
586
- modelValue: _.value,
587
- "onUpdate:modelValue": e[14] || (e[14] = (o) => _.value = o)
586
+ modelValue: y.value,
587
+ "onUpdate:modelValue": e[14] || (e[14] = (o) => y.value = o)
588
588
  }, {
589
- "bottom-sheet-button": D(() => [i(n, {
589
+ "bottom-sheet-button": x(() => [s(n, {
590
590
  label: r(l)("menu.group.type.title", {
591
591
  type: b.value ? r(q.capitalize)(b.value) : r(l)("menu.common.labels.all")
592
592
  }),
593
593
  class: "text-fm-color-typo-secondary",
594
594
  "right-icon": "keyboard_arrow_down"
595
595
  }, null, 8, ["label"])]),
596
- default: D(() => [p("div", null, [p("div", {
596
+ default: x(() => [p("div", null, [p("div", {
597
597
  class: "px-16 py-8",
598
598
  onClick: e[10] || (e[10] = (o) => b.value = null)
599
599
  }, G(r(l)("menu.group.type.all")), 1), p("div", {
@@ -607,13 +607,13 @@ const yt = /* @__PURE__ */ Z({
607
607
  onClick: e[13] || (e[13] = (o) => b.value = "DYNAMIC")
608
608
  }, G(r(l)("menu.group.type.dynamic")), 1)])]),
609
609
  _: 1
610
- }, 8, ["modelValue"])) : I("", !0)]), K.value ? (m(), C("div", Vt, [i(r(ve), {
610
+ }, 8, ["modelValue"])) : U("", !0)]), K.value ? (m(), w("div", Vt, [s(r(ve), {
611
611
  ref_key: "attributeFilterRef",
612
612
  ref: J,
613
613
  attributes: r(Q),
614
614
  modelValue: r(N),
615
615
  "onUpdate:modelValue": e[15] || (e[15] = (o) => W(N) ? N.value = o : null)
616
- }, null, 8, ["attributes", "modelValue"])])) : I("", !0), i(r(Be), {
616
+ }, null, 8, ["attributes", "modelValue"])])) : U("", !0), s(r(je), {
617
617
  class: X(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100", "pb-64"]),
618
618
  "model-value": z.value,
619
619
  group: "categories",
@@ -621,59 +621,59 @@ const yt = /* @__PURE__ */ Z({
621
621
  "item-key": "_id",
622
622
  "onUpdate:modelValue": e[16] || (e[16] = (o) => se(o))
623
623
  }, {
624
- item: D(({
624
+ item: x(({
625
625
  element: o
626
- }) => [(m(), C("div", {
626
+ }) => [(m(), w("div", {
627
627
  key: o._id,
628
628
  class: X(["py-12 px-16", "flex space-x-16", "items-center"])
629
- }, [p("div", Nt, [p("div", Et, [p("p", Rt, G(o.name), 1), p("div", null, [ee.value ? (m(), C("p", St, G(r(q.capitalize)(o.type)) + " type ", 1)) : I("", !0), p("p", It, G(r(l)("menu.group.list.products_linked", {
629
+ }, [p("div", Nt, [p("div", Et, [p("p", Rt, G(o.name), 1), p("div", null, [ee.value ? (m(), w("p", St, G(r(q.capitalize)(o.type)) + " type ", 1)) : U("", !0), p("p", Ut, G(r(l)("menu.group.list.products_linked", {
630
630
  count: o.itemsLinked.length
631
- })), 1)])]), i(ce, {
631
+ })), 1)])]), s(ce, {
632
632
  group: o
633
633
  }, null, 8, ["group"])])]))]),
634
634
  _: 1
635
- }, 8, ["model-value"])], 64)) : (m(), C("div", Dt, [p("div", At, [i(de), ee.value ? (m(), U(w, {
635
+ }, 8, ["model-value"])], 64)) : (m(), w("div", Dt, [p("div", At, [s(de), ee.value ? (m(), I(F, {
636
636
  key: 0
637
637
  }, {
638
- "menu-button": D(() => [i(n, {
638
+ "menu-button": x(() => [s(n, {
639
639
  label: r(l)("menu.group.type.title", {
640
640
  type: b.value ? r(q.capitalize)(b.value) : r(l)("menu.common.labels.all")
641
641
  }),
642
642
  class: "text-fm-color-typo-secondary",
643
643
  "right-icon": "keyboard_arrow_down"
644
644
  }, null, 8, ["label"])]),
645
- default: D(() => [p("div", null, [i(s, {
645
+ default: x(() => [p("div", null, [s(i, {
646
646
  class: "px-16 py-8",
647
647
  label: r(l)("menu.group.type.all"),
648
648
  onClick: e[2] || (e[2] = (o) => b.value = null)
649
- }, null, 8, ["label"]), i(s, {
649
+ }, null, 8, ["label"]), s(i, {
650
650
  class: "px-16 py-8",
651
651
  label: r(l)("menu.group.type.normal"),
652
652
  onClick: e[3] || (e[3] = (o) => b.value = "NORMAL")
653
- }, null, 8, ["label"]), i(s, {
653
+ }, null, 8, ["label"]), s(i, {
654
654
  class: "px-16 py-8",
655
655
  label: r(l)("menu.group.type.product"),
656
656
  onClick: e[4] || (e[4] = (o) => b.value = "PRODUCT")
657
- }, null, 8, ["label"]), i(s, {
657
+ }, null, 8, ["label"]), s(i, {
658
658
  class: "px-16 py-8",
659
659
  label: r(l)("menu.group.type.dynamic"),
660
660
  onClick: e[5] || (e[5] = (o) => b.value = "DYNAMIC")
661
661
  }, null, 8, ["label"])])]),
662
662
  _: 1
663
- })) : I("", !0), p("div", Ft, [i(d, {
663
+ })) : U("", !0), p("div", Ft, [s(d, {
664
664
  autofocus: "",
665
- modelValue: r(x),
666
- "onUpdate:modelValue": e[6] || (e[6] = (o) => W(x) ? x.value = o : null),
665
+ modelValue: r(C),
666
+ "onUpdate:modelValue": e[6] || (e[6] = (o) => W(C) ? C.value = o : null),
667
667
  placeholder: r(l)("menu.group.search.placeholder")
668
- }, null, 8, ["modelValue", "placeholder"])])]), K.value ? (m(), C("div", Mt, [i(r(ve), {
668
+ }, null, 8, ["modelValue", "placeholder"])])]), K.value ? (m(), w("div", Mt, [s(r(ve), {
669
669
  ref_key: "attributeFilterRef",
670
670
  ref: J,
671
671
  attributes: r(Q),
672
672
  modelValue: r(N),
673
673
  "onUpdate:modelValue": e[7] || (e[7] = (o) => W(N) ? N.value = o : null)
674
- }, null, 8, ["attributes", "modelValue"])])) : I("", !0), i(et, null, {
675
- default: D(() => [i(P, {
676
- "column-defs": Oe.value,
674
+ }, null, 8, ["attributes", "modelValue"])])) : U("", !0), s(et, null, {
675
+ default: x(() => [s(P, {
676
+ "column-defs": xe.value,
677
677
  "column-visibility": De.value,
678
678
  loading: r(k).checkMenuIsLoading(),
679
679
  "page-size": z.value.length,