@feedmepos/mf-menu 0.31.74 → 0.31.75-prod

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 (88) hide show
  1. package/dist/{App-B6Hn5Wwr.js → App-Cw2D3IXT.js} +528 -585
  2. package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-CFtcqy58.js +161 -0
  3. package/dist/BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-CnCoRLDg.js +74 -0
  4. package/dist/{Catalog-D-2hDU2I.js → Catalog-B5kAKdVW.js} +9 -9
  5. package/dist/{Category-hSOIgBkH.js → Category-CAd9BTRX.js} +8 -8
  6. package/dist/{Category-DjTbuAvE.js → Category-DKjU47aW.js} +5 -5
  7. package/dist/{CookingGuide-D7ruB7eP.js → CookingGuide-BN739JkB.js} +7 -7
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-mxVSGXAz.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-gii2CTYD.js} +3 -3
  9. package/dist/{Group-evJZbgZn.js → Group-DmII5Nwf.js} +4 -4
  10. package/dist/{Group-CjlhbhDV.js → Group-DnpVxZkN.js} +1 -1
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-DiKraPiw.js → Group.vue_vue_type_script_setup_true_lang-BEeCwmKt.js} +163 -163
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BYku8MAc.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DB5B3PLx.js} +90 -90
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DScxctPb.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BEISm7uc.js} +3046 -3046
  14. package/dist/{Ingredient-jNDx1pUw.js → Ingredient-CpuyDF4n.js} +30 -30
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CuM_k-C3.js → InventoryBinding.vue_vue_type_script_setup_true_lang-GHiwD8VV.js} +1112 -1112
  16. package/dist/{LinkProductSideSheet-CAPIdf6P.js → LinkProductSideSheet-DrSKOBLg.js} +129 -129
  17. package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-Bm_hSelC.js +69 -0
  18. package/dist/{MenuSetting-C2MDgy57.js → MenuSetting-BNuIUnjz.js} +138 -138
  19. package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js → PageLayout.vue_vue_type_script_setup_true_lang-vFqWGM6P.js} +8 -8
  20. package/dist/{PrintRoute-SmWbKr9Y.js → PrintRoute-Dl0oWYju.js} +6 -6
  21. package/dist/{Product-BCm49V9T.js → Product-IQBP1vvY.js} +1 -1
  22. package/dist/{Product.vue_vue_type_script_setup_true_lang-CTOjLqbF.js → Product.vue_vue_type_script_setup_true_lang-Bdss6VRj.js} +607 -607
  23. package/dist/{ProductInternalTools-DGsvvnIs.js → ProductInternalTools-Dkhbg1WE.js} +11 -11
  24. package/dist/{Products-D4qeSEfO.js → Products-Dcafs3Lk.js} +59 -59
  25. package/dist/{Publish-3A3EEQ9x.js → Publish-BTuO4AlR.js} +6 -6
  26. package/dist/{Recipe-CS7TZGA6.js → Recipe-Dx2ZkHsk.js} +6 -6
  27. package/dist/{Scheduler-BIwTUJMJ.js → Scheduler-Dh_0J2g9.js} +5 -5
  28. package/dist/{ServingSequence-C0N8wJfr.js → ServingSequence-DXhx9dcu.js} +5 -5
  29. package/dist/{Setting-fA6tvQK2.js → Setting-4x_w46t_.js} +5 -5
  30. package/dist/{Subcategory-BAFAmflQ.js → Subcategory-vztBpQnB.js} +6 -6
  31. package/dist/{Takeaway-D4aO8zzN.js → Takeaway-CDgIyUrN.js} +5 -5
  32. package/dist/{Takeaway-CLZouw1j.js → Takeaway-Dz5PxJk_.js} +1 -1
  33. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-1oN-i9bo.js → Takeaway.vue_vue_type_script_setup_true_lang-BMMXiDFL.js} +6 -6
  34. package/dist/{TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js → TextChip.vue_vue_type_script_setup_true_lang-BJMcI3U2.js} +5 -5
  35. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-Dwol_Lkd.js → Thumbnail.vue_vue_type_script_setup_true_lang-DJ8JMV28.js} +74 -74
  36. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-cTzWxjM4.js +5996 -0
  37. package/dist/{Unit-ByqUb4Po.js → Unit-z7OVmlSq.js} +4 -4
  38. package/dist/{Variant-BmqrUfen.js → Variant-CFRgvlXf.js} +5 -5
  39. package/dist/{_id_-RUWzOB0B.js → _id_-B9q3j4_m.js} +11 -11
  40. package/dist/{app-B1N2F0j8.js → app-CdsS_tMb.js} +1 -1
  41. package/dist/app-CkCBPor3.js +363 -0
  42. package/dist/{app-5fxKLAzS.js → app-CzXxFrl1.js} +447 -447
  43. package/dist/app.js +1 -1
  44. package/dist/apps/mf-menu/src/app.d.ts +0 -1
  45. package/dist/apps/mf-menu/src/components/feature/CategoryManager/CategoriesSelector.vue.d.ts +1 -1
  46. package/dist/apps/mf-menu/src/components/feature/MenuSelector.vue.d.ts +1 -1
  47. package/dist/apps/mf-menu/src/components/feature/SubcategoryManager/SubcategorySelector.vue.d.ts +1 -1
  48. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  49. package/dist/assets/linked-status-B8qYyYR6.js +13 -0
  50. package/dist/assets/override-menu-nmSTTTn7.js +13 -0
  51. package/dist/assets/validate-menu-CF1XZECU.js +13 -0
  52. package/dist/{catalog-CarmtheV.js → catalog-DBBEUpMo.js} +1 -1
  53. package/dist/{catalogSetting-BqrTpBP8.js → catalogSetting-DKvBjleU.js} +1 -1
  54. package/dist/{category-5R83ypNS.js → category-DILExwHL.js} +1 -1
  55. package/dist/{currency-CUl4r9rT.js → currency-B7Xm1xZJ.js} +1 -1
  56. package/dist/customAttributes-DrA0YC82.js +180 -0
  57. package/dist/{index-Ttqt4iFV.js → index-2lrKSO_O.js} +20 -20
  58. package/dist/{index-DlwLw-BQ.js → index-BoVEGKz7.js} +91 -91
  59. package/dist/{index-DAWSNP3G.js → index-Bu5LuO1j.js} +4 -4
  60. package/dist/{index-DUfYYdZ-.js → index-SNNvjtFa.js} +56 -56
  61. package/dist/{index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js → index.vue_vue_type_script_setup_true_lang-B1_JqsYF.js} +16 -16
  62. package/dist/{item-B0UPYxsB.js → item-BnOnvN8x.js} +3091 -3174
  63. package/dist/{iteration-CfmAZiOO.js → iteration-Csz_aSxy.js} +3 -3
  64. package/dist/{jszip.min-zROpry0S.js → jszip.min-B0T3I-lE.js} +329 -329
  65. package/dist/{menu-DAac726D.js → menu-3XEn1C9F.js} +6402 -6332
  66. package/dist/{menu-DpYo8dYR.js → menu-DzbYSPGP.js} +1 -1
  67. package/dist/{menuV2-DZj_FPqR.js → menuV2-cXg54GYW.js} +93 -93
  68. package/dist/mf-menu.css +1 -1
  69. package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +1 -1
  70. package/dist/{priceTier-BvDLl8v2.js → priceTier-DVd27LFd.js} +1 -1
  71. package/dist/{scheduler-pNUXG6En.js → scheduler-D8IgBrUX.js} +6 -6
  72. package/dist/{subcategory-DCDCQnAX.js → subcategory-BOpm3s8K.js} +2 -2
  73. package/dist/{toExcel-DqMa1Hn8.js → toExcel-BJM3fOB2.js} +2 -2
  74. package/dist/{unit-CuCXoWPG.js → unit-DF9d3piP.js} +151 -151
  75. package/dist/{vuedraggable-CK8z7qA8.js → vuedraggable-DnBIRDMr.js} +2 -2
  76. package/package.json +5 -5
  77. package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-CqGU3bJQ.js +0 -161
  78. package/dist/BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js +0 -74
  79. package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js +0 -69
  80. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CabQS55D.js +0 -6012
  81. package/dist/app-CHpw_EM1.js +0 -2101
  82. package/dist/apps/mf-menu/src/components/feature/RemyButton.vue.d.ts +0 -15
  83. package/dist/apps/mf-menu/src/components/feature/RemyDialog.vue.d.ts +0 -15
  84. package/dist/apps/mf-menu/src/helper/remy.d.ts +0 -5
  85. package/dist/assets/linked-status-CFdi7K3K.js +0 -13
  86. package/dist/assets/override-menu-CXOY8i3w.js +0 -13
  87. package/dist/assets/validate-menu-DLlrsx2f.js +0 -13
  88. package/dist/customAttributes-BkqKM_KW.js +0 -180
@@ -1,51 +1,51 @@
1
- import { defineComponent as X, computed as g, resolveComponent as M, createBlock as U, openBlock as m, withCtx as x, createElementBlock as C, Fragment as T, renderList as oe, createElementVNode as p, normalizeClass as W, toDisplayString as G, createVNode as s, ref as E, renderSlot as Ne, unref as r, createCommentVNode as I, watch as Re, h as de, mergeProps as Ee, createSlots as Se, withModifiers as Ie, isRef as Q, nextTick as fe } from "vue";
2
- import { I as H, u as ne, O as Ue, D as Te, z as v, B as $e, A as Ye, J as Le } from "./menu-DAac726D.js";
3
- import { d as ze } from "./vuedraggable-CK8z7qA8.js";
4
- import { b as ve, H as je } from "./app-5fxKLAzS.js";
5
- import { useI18n as le, useCoreStore as Be, useCustomAttributes as Ke } from "@feedmepos/mf-common";
1
+ import { defineComponent as X, computed as g, resolveComponent as M, createBlock as T, openBlock as m, withCtx as O, createElementBlock as k, Fragment as $, renderList as oe, createElementVNode as d, normalizeClass as W, toDisplayString as G, createVNode as s, ref as E, renderSlot as Ne, unref as r, createCommentVNode as U, watch as Re, h as pe, mergeProps as Ee, createSlots as Se, withModifiers as Ie, isRef as Q, nextTick as fe } from "vue";
2
+ import { I as H, u as ne, O as Ue, D as Te, z as v, B as $e, A as Ye, J as Le } from "./menu-3XEn1C9F.js";
3
+ import { d as ze } from "./vuedraggable-DnBIRDMr.js";
4
+ import { b as ve, H as Be } from "./app-CzXxFrl1.js";
5
+ import { useI18n as le, useCoreStore as je, useCustomAttributes as Ke } from "@feedmepos/mf-common";
6
6
  import { useBreakpoints as ye, components as _e, useSnackbar as He, useDialog as qe, FmButtonVariant as Je } from "@feedmepos/ui-library";
7
- import { _ as Qe, a as We } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-mxVSGXAz.js";
8
- import { _ as Xe } from "./app-CHpw_EM1.js";
9
- import { _ as Ze, a as et } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
7
+ import { _ as Qe, a as We } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-gii2CTYD.js";
8
+ import { _ as Xe } from "./app-CkCBPor3.js";
9
+ import { _ as Ze, a as et } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-CnCoRLDg.js";
10
10
  import { c as tt } from "./object-DVUNCr7w.js";
11
11
  import { u as ot } from "./discardConfirm-BHni0LNu.js";
12
- import { _ as nt } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CqGU3bJQ.js";
12
+ import { _ as nt } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CFtcqy58.js";
13
13
  import { c as lt } from "./check-C9mY6LiX.js";
14
- import { _ as at } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
15
- import { M as ge, x as rt, y as ut, A as st, e as it, j as ct, r as mt } from "./item-B0UPYxsB.js";
16
- import { u as pt } from "./search-BAPEUu1R.js";
17
- import { C as dt } from "./catalog-CarmtheV.js";
18
- import { c as ft } from "./menuV2-DZj_FPqR.js";
14
+ import { _ as at } from "./index.vue_vue_type_script_setup_true_lang-B1_JqsYF.js";
15
+ import { M as ge, v as rt, w as ut, A as st, e as it, h as ct, r as mt } from "./item-BnOnvN8x.js";
16
+ import { u as dt } from "./search-BAPEUu1R.js";
17
+ import { C as pt } from "./catalog-DBBEUpMo.js";
18
+ import { c as ft } from "./menuV2-cXg54GYW.js";
19
19
  const vt = /* @__PURE__ */ X({
20
20
  __name: "ResponsiveContextMenu",
21
21
  props: {
22
22
  items: {}
23
23
  },
24
- setup(L) {
24
+ setup(V) {
25
25
  const S = ye(), u = g(() => S.breakpoints.value.xs);
26
- return (R, V) => {
27
- const h = M("FmButton"), f = M("FmMenuItem"), y = M("FmMenu");
28
- return u.value ? (m(), U(Ze, { key: 0 }, {
29
- default: x(() => [
30
- (m(!0), C(T, null, oe(R.items, ({ icon: k, label: D, disabled: w, itemClass: A, onClick: _ }) => (m(), U(et, {
26
+ return (I, N) => {
27
+ const w = M("FmButton"), f = M("FmMenuItem"), y = M("FmMenu");
28
+ return u.value ? (m(), T(Ze, { key: 0 }, {
29
+ default: O(() => [
30
+ (m(!0), k($, null, oe(V.items, ({ icon: h, label: D, disabled: x, itemClass: A, onClick: _ }) => (m(), T(et, {
31
31
  key: D,
32
- icon: k,
32
+ icon: h,
33
33
  label: D,
34
- disabled: w,
34
+ disabled: x,
35
35
  itemClass: A,
36
36
  onClick: () => {
37
- !w && (_ == null || _());
37
+ !x && (_ == null || _());
38
38
  }
39
39
  }, null, 8, ["icon", "label", "disabled", "itemClass", "onClick"]))), 128))
40
40
  ]),
41
41
  _: 1
42
- })) : (m(), U(y, {
42
+ })) : (m(), T(y, {
43
43
  key: 1,
44
44
  "stop-click-propagation": "",
45
45
  shift: !0
46
46
  }, {
47
- "menu-button": x(() => [
48
- s(h, {
47
+ "menu-button": O(() => [
48
+ s(w, {
49
49
  type: "button",
50
50
  variant: "tertiary",
51
51
  icon: "more_vert",
@@ -53,18 +53,18 @@ const vt = /* @__PURE__ */ X({
53
53
  size: "md"
54
54
  })
55
55
  ]),
56
- default: x(() => [
57
- (m(!0), C(T, null, oe(R.items, ({ icon: k, label: D, disabled: w, itemClass: A, onClick: _ }) => (m(), U(f, {
56
+ default: O(() => [
57
+ (m(!0), k($, null, oe(V.items, ({ icon: h, label: D, disabled: x, itemClass: A, onClick: _ }) => (m(), T(f, {
58
58
  key: D,
59
- disabled: w,
59
+ disabled: x,
60
60
  onClick: () => {
61
- !w && (_ == null || _());
61
+ !x && (_ == null || _());
62
62
  },
63
63
  label: D
64
64
  }, {
65
- label: x(() => [
66
- p("span", {
67
- class: W(w ? "text-fm-color-typo-disabled" : A)
65
+ label: O(() => [
66
+ d("span", {
67
+ class: W(x ? "text-fm-color-typo-disabled" : A)
68
68
  }, G(D), 3)
69
69
  ]),
70
70
  _: 2
@@ -83,40 +83,40 @@ const vt = /* @__PURE__ */ X({
83
83
  editable: { type: Boolean }
84
84
  },
85
85
  emits: ["apply:product"],
86
- setup(L, { emit: S }) {
87
- const u = L, R = S, { t: V } = le(), h = u.initialValue.map((A) => ({ _id: A })), f = E(H.clone(h)), y = ot(
88
- () => !H.isEqual(f.value, h),
86
+ setup(V, { emit: S }) {
87
+ const u = V, I = S, { t: N } = le(), w = u.initialValue.map((A) => ({ _id: A })), f = E(H.clone(w)), y = ot(
88
+ () => !H.isEqual(f.value, w),
89
89
  () => {
90
- k.value = !1;
90
+ h.value = !1;
91
91
  }
92
- ), k = E(!1), D = (A) => {
93
- lt.isBoolean(A) ? k.value = A : k.value = !k.value, k.value && (f.value = u.initialValue.map((_) => ({ _id: _ })));
94
- }, w = ne();
92
+ ), h = E(!1), D = (A) => {
93
+ lt.isBoolean(A) ? h.value = A : h.value = !h.value, h.value && (f.value = u.initialValue.map((_) => ({ _id: _ })));
94
+ }, x = ne();
95
95
  return (A, _) => {
96
96
  const b = M("fm-button"), q = M("fm-side-sheet");
97
- return m(), C(T, null, [
97
+ return m(), k($, null, [
98
98
  Ne(A.$slots, "default", { trigger: D }),
99
99
  s(q, {
100
100
  id: "group-form",
101
- modelValue: k.value,
102
- "onUpdate:modelValue": _[1] || (_[1] = (N) => k.value = N),
101
+ modelValue: h.value,
102
+ "onUpdate:modelValue": _[1] || (_[1] = (R) => h.value = R),
103
103
  "is-container": r(_e).FmForm,
104
104
  "is-container-props": {
105
105
  onValidationSuccess: () => {
106
- R("apply:product", f.value), D(!1);
106
+ I("apply:product", f.value), D(!1);
107
107
  },
108
108
  blameFormChildOnValidationFailed: !0
109
109
  },
110
110
  "max-width": 560,
111
111
  "onOn:clickedAway": r(y)
112
112
  }, {
113
- "side-sheet-header": x(() => [
114
- p("p", gt, G(A.title), 1)
113
+ "side-sheet-header": O(() => [
114
+ d("p", gt, G(V.title), 1)
115
115
  ]),
116
- "side-sheet-footer": x(() => [
117
- p("div", yt, [
116
+ "side-sheet-footer": O(() => [
117
+ d("div", yt, [
118
118
  s(b, {
119
- label: r(V)("common.save"),
119
+ label: r(N)("common.save"),
120
120
  size: "lg",
121
121
  type: "submit",
122
122
  variant: "primary"
@@ -129,15 +129,15 @@ const vt = /* @__PURE__ */ X({
129
129
  })
130
130
  ])
131
131
  ]),
132
- default: x(() => [
132
+ default: O(() => [
133
133
  s(nt, {
134
134
  overrides: f.value,
135
- "onUpdate:overrides": _[0] || (_[0] = (N) => f.value = N),
136
- "categorized-items": r(w).categorizedItems,
137
- editable: A.editable,
135
+ "onUpdate:overrides": _[0] || (_[0] = (R) => f.value = R),
136
+ "categorized-items": r(x).categorizedItems,
137
+ editable: V.editable,
138
138
  "select-variant": !1,
139
139
  "show-variant": !1,
140
- "link-button-label": r(V)("menu.group.actions.apply_product"),
140
+ "link-button-label": r(N)("menu.group.actions.apply_product"),
141
141
  title: "Product"
142
142
  }, null, 8, ["overrides", "categorized-items", "editable", "link-button-label"])
143
143
  ]),
@@ -149,36 +149,36 @@ const vt = /* @__PURE__ */ X({
149
149
  }), bt = {
150
150
  key: 0,
151
151
  class: "mt-4"
152
- }, ht = { class: "text-fm-color-typo-secondary mb-2" }, kt = { class: "list-disc list-inside text-fm-color-typo-secondary ml-4 space-y-1" }, Ct = /* @__PURE__ */ X({
152
+ }, ht = { class: "text-fm-color-typo-secondary mb-2" }, kt = { class: "list-disc list-inside text-fm-color-typo-secondary ml-4 space-y-1" }, wt = /* @__PURE__ */ X({
153
153
  __name: "DeleteGroupDialog",
154
154
  props: {
155
155
  group: {}
156
156
  },
157
- setup(L) {
158
- const S = L, { t: u } = le(), R = ne(), V = g(() => S.group.itemsLinked.map((h) => {
159
- const f = R.state.menu.modules.item.find((y) => y._id === h);
160
- return (f == null ? void 0 : f.name) || h;
157
+ setup(V) {
158
+ const S = V, { t: u } = le(), I = ne(), N = g(() => S.group.itemsLinked.map((w) => {
159
+ const f = I.state.menu.modules.item.find((y) => y._id === w);
160
+ return (f == null ? void 0 : f.name) || w;
161
161
  }).filter(Boolean));
162
- return (h, f) => (m(), C("div", null, [
163
- p("div", null, G(r(u)("menu.group.dialogs.delete.message", { name: h.group.name })), 1),
164
- V.value.length > 0 ? (m(), C("div", bt, [
165
- p("div", ht, G(r(u)("menu.group.dialogs.delete.unlink_warning", { count: V.value.length })), 1),
166
- p("ul", kt, [
167
- (m(!0), C(T, null, oe(V.value, (y) => (m(), C("li", {
162
+ return (w, f) => (m(), k("div", null, [
163
+ d("div", null, G(r(u)("menu.group.dialogs.delete.message", { name: V.group.name })), 1),
164
+ N.value.length > 0 ? (m(), k("div", bt, [
165
+ d("div", ht, G(r(u)("menu.group.dialogs.delete.unlink_warning", { count: N.value.length })), 1),
166
+ d("ul", kt, [
167
+ (m(!0), k($, null, oe(N.value, (y) => (m(), k("li", {
168
168
  key: y,
169
169
  class: "text-sm"
170
170
  }, G(y), 1))), 128))
171
171
  ])
172
- ])) : I("", !0)
172
+ ])) : U("", !0)
173
173
  ]));
174
174
  }
175
- }), wt = {
175
+ }), xt = {
176
176
  key: 1,
177
177
  class: "xs:pt-24"
178
- }, Ot = {
178
+ }, Ct = {
179
179
  key: 0,
180
180
  class: /* @__PURE__ */ W(["flex-1 overflow-hidden", "space-y-8", "flex flex-col", "overflow-hidden", "pt-16"])
181
- }, xt = {
181
+ }, Ot = {
182
182
  class: "flex justify-between items-center space-x-8"
183
183
  }, Dt = {
184
184
  class: "w-[320px]"
@@ -205,21 +205,21 @@ const vt = /* @__PURE__ */ X({
205
205
  }, eo = /* @__PURE__ */ X({
206
206
  __name: "Group",
207
207
  emits: ["update:count"],
208
- setup(L, {
208
+ setup(V, {
209
209
  emit: S
210
210
  }) {
211
- const u = ne(), R = Be(), V = He(), h = Ue(Te(V)), f = qe(), y = g(() => u.rules.group), k = g(() => new ge(u, h.updateMenu, f)), D = g(() => k.value.mapGroups(u.groups, !1)), {
212
- searchKey: w,
211
+ const u = ne(), I = je(), N = He(), w = Ue(Te(N)), f = qe(), y = g(() => u.rules.group), h = g(() => new ge(u, w.updateMenu, f)), D = g(() => h.value.mapGroups(u.groups, !1)), {
212
+ searchKey: x,
213
213
  filter: A
214
- } = pt(), _ = E(!1), b = E(null), {
214
+ } = dt(), _ = E(!1), b = E(null), {
215
215
  attributes: q,
216
- filterRule: N,
216
+ filterRule: R,
217
217
  mongoQuery: ae
218
218
  } = Ke({
219
219
  valueSource: D,
220
220
  entity: "group"
221
221
  }), z = g(() => {
222
- const t = (a) => A([a.name, ...Object.values(a.items).flatMap((l) => `${l.code} ${l.name} ${Ye.Dinero.fromFdoDinero(l.price).toFormat()}`), a.type]), e = (a) => !a.customAttributes && !ae.value ? !0 : je(a.customAttributes ?? {}, ae.value);
222
+ const t = (a) => A([a.name, ...Object.values(a.items).flatMap((l) => `${l.code} ${l.name} ${Ye.Dinero.fromFdoDinero(l.price).toFormat()}`), a.type]), e = (a) => !a.customAttributes && !ae.value ? !0 : Be(a.customAttributes ?? {}, ae.value);
223
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, () => {
@@ -229,41 +229,41 @@ const vt = /* @__PURE__ */ X({
229
229
  });
230
230
  const c = g(() => !!u.state.currentCatalogId || !!u.state.currentSchedulerId);
231
231
  function re(t) {
232
- var Y, o;
233
- const e = !u.state.currentCatalogId, a = !u.state.currentSchedulerId, l = ((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 === v.F_MENU_VERSION.enum.v3, P = u.rules.item.orderFromActiveOnly;
232
+ var L, o;
233
+ const e = !u.state.currentCatalogId, a = !u.state.currentSchedulerId, l = ((L = u.currentCatalog) == null ? void 0 : L.priceTierRules) ?? ((o = u.currentCatalog) == null ? void 0 : o.usePriceTiers), i = u.rules.item.bindToVariant, F = u.rules.group.type, p = u.version === v.F_MENU_VERSION.enum.v3, P = u.rules.item.orderFromActiveOnly;
234
234
  return {
235
- link: (O) => !c.value && (!O || i),
236
- name: (O) => !c.value && !O,
237
- isDefault: (O) => !c.value,
235
+ link: (C) => !c.value && (!C || i),
236
+ name: (C) => !c.value && !C,
237
+ isDefault: (C) => !c.value,
238
238
  type: F && !t._id && !c.value,
239
- price: !d || t.type !== v.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
240
- priceEdit: !(l && l.length > 0 && !d && a),
241
- priceTier: !d && a && e,
242
- inventory: a ? d ? !c.value && t.type === v.F_ADDON_GROUP_TYPE.enum.NORMAL : !c.value : !1,
243
- orderFrom: (O) => a ? d ? t.type === v.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? c.value : !!c.value == !O : c.value : !1,
239
+ price: !p || t.type !== v.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
240
+ priceEdit: !(l && l.length > 0 && !p && a),
241
+ priceTier: !p && a && e,
242
+ inventory: a ? p ? !c.value && t.type === v.F_ADDON_GROUP_TYPE.enum.NORMAL : !c.value : !1,
243
+ orderFrom: (C) => a ? p ? t.type === v.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? c.value : !!c.value == !C : c.value : !1,
244
244
  orderFromActiveOnly: P,
245
- showOrderFrom: a ? d ? c.value ? !0 : t.type === v.F_ADDON_GROUP_TYPE.enum.PRODUCT : !0 : !1,
245
+ showOrderFrom: a ? p ? c.value ? !0 : t.type === v.F_ADDON_GROUP_TYPE.enum.PRODUCT : !0 : !1,
246
246
  bindToVariant: i,
247
247
  isOverride: c.value,
248
248
  isItemGroup: !1,
249
- isV4: !d
249
+ isV4: !p
250
250
  };
251
251
  }
252
252
  const he = g(() => {
253
253
  const t = !u.state.currentSchedulerId, e = u.rules.group.type, a = u.version === v.F_MENU_VERSION.enum.v3, l = u.rules.item.orderFromActiveOnly, i = u.rules.item.bindToVariant;
254
- return function(d) {
254
+ return function(p) {
255
255
  return {
256
256
  link: (P) => !c.value && (!P || i),
257
257
  name: (P) => !c.value && !P,
258
258
  isDefault: (P) => !c.value,
259
- type: e && !d._id && !c.value,
260
- price: d.type !== v.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
259
+ type: e && !p._id && !c.value,
260
+ price: p.type !== v.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
261
261
  priceEdit: !0,
262
262
  priceTier: u.isV4,
263
- inventory: t ? a ? !c.value && d.type === v.F_ADDON_GROUP_TYPE.enum.NORMAL : !c.value : !1,
264
- orderFrom: (P) => t ? a ? d.type === v.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? c.value : !!c.value == !P : c.value : !1,
263
+ inventory: t ? a ? !c.value && p.type === v.F_ADDON_GROUP_TYPE.enum.NORMAL : !c.value : !1,
264
+ orderFrom: (P) => t ? a ? p.type === v.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? c.value : !!c.value == !P : c.value : !1,
265
265
  orderFromActiveOnly: l,
266
- showOrderFrom: t ? a ? c.value ? !0 : d.type === v.F_ADDON_GROUP_TYPE.enum.PRODUCT : c.value : !1,
266
+ showOrderFrom: t ? a ? c.value ? !0 : p.type === v.F_ADDON_GROUP_TYPE.enum.PRODUCT : c.value : !1,
267
267
  bindToVariant: i,
268
268
  isOverride: c.value,
269
269
  isItemGroup: !1,
@@ -278,9 +278,9 @@ const vt = /* @__PURE__ */ X({
278
278
  itemsLinked: []
279
279
  })), Z = g(() => he.value(ke.value).type);
280
280
  function ue(t) {
281
- k.value.sortGroups(t);
281
+ h.value.sortGroups(t);
282
282
  }
283
- function Ce(t) {
283
+ function we(t) {
284
284
  f.open({
285
285
  title: n("menu.group.actions.duplicate.title"),
286
286
  message: n("menu.group.actions.duplicate.message", {
@@ -294,30 +294,30 @@ const vt = /* @__PURE__ */ X({
294
294
  text: n("menu.common.actions.cancel"),
295
295
  close: !0
296
296
  }
297
- }).onPrimary(() => k.value.duplicateGroup(t));
297
+ }).onPrimary(() => h.value.duplicateGroup(t));
298
298
  }
299
- const ee = g(() => u.currentCatalog), j = g(() => u.currentScheduler), B = g(() => new dt(ee.value, u, h.updateMenu, f)), te = g(() => new rt(j.value, u, h.updateMenu, f)), we = (t) => {
299
+ const ee = g(() => u.currentCatalog), B = g(() => u.currentScheduler), j = g(() => new pt(ee.value, u, w.updateMenu, f)), te = g(() => new rt(B.value, u, w.updateMenu, f)), xe = (t) => {
300
300
  let e = t;
301
301
  function a(l) {
302
- const F = u.state.menu.modules.group.find((o) => o._id === l._id), d = (l.items ?? []).reduce((o, O) => (o[O._id] = [...o[O._id] || [], O.combinationKey || ""], o), {}), Y = (F.items ?? []).filter((o) => {
303
- var O;
304
- return !((O = d[o._id]) != null && O.includes(o.combinationKey || ""));
302
+ const F = u.state.menu.modules.group.find((o) => o._id === l._id), p = (l.items ?? []).reduce((o, C) => (o[C._id] = [...o[C._id] || [], C.combinationKey || ""], o), {}), L = (F.items ?? []).filter((o) => {
303
+ var C;
304
+ return !((C = p[o._id]) != null && C.includes(o.combinationKey || ""));
305
305
  }).map((o) => ({
306
306
  _id: o._id,
307
307
  combinationKey: o.combinationKey,
308
308
  selection: o.selection
309
- })).filter((o) => !!u.mergedMenu.modules.item.find((O) => O._id === o._id));
309
+ })).filter((o) => !!u.mergedMenu.modules.item.find((C) => C._id === o._id));
310
310
  return {
311
311
  ...F,
312
312
  ...Object.fromEntries(Object.entries(l).filter(([, o]) => !!o)),
313
- items: [...l.items ?? [], ...Y]
313
+ items: [...l.items ?? [], ...L]
314
314
  };
315
315
  }
316
316
  if (c.value) {
317
317
  let l;
318
- ee.value ? j.value ? l = B.value.getCatalogSchedulerGroup(t._id, j.value._id) : l = B.value.getCatalogGroup(t._id) : l = te.value.getSchedulerGroup(t._id);
318
+ ee.value ? B.value ? l = j.value.getCatalogSchedulerGroup(t._id, B.value._id) : l = j.value.getCatalogGroup(t._id) : l = te.value.getSchedulerGroup(t._id);
319
319
  const i = a(l);
320
- e = new ge(u, h.updateMenu, f).mapGroups([i], !0)[0];
320
+ e = new ge(u, w.updateMenu, f).mapGroups([i], !0)[0];
321
321
  }
322
322
  return {
323
323
  group: e,
@@ -325,10 +325,10 @@ const vt = /* @__PURE__ */ X({
325
325
  categorizedItems: u.categorizedItems
326
326
  };
327
327
  };
328
- function Oe(t) {
328
+ function Ce(t) {
329
329
  f.open({
330
330
  title: n("menu.group.dialogs.delete.title"),
331
- contentComponent: Ct,
331
+ contentComponent: wt,
332
332
  contentComponentProps: {
333
333
  group: t
334
334
  },
@@ -342,11 +342,11 @@ const vt = /* @__PURE__ */ X({
342
342
  close: !0
343
343
  }
344
344
  }).onPrimary(async () => {
345
- await k.value.deleteGroup(t);
345
+ await h.value.deleteGroup(t);
346
346
  });
347
347
  }
348
348
  function se(t, e) {
349
- return de(_t, {
349
+ return pe(_t, {
350
350
  key: t._id,
351
351
  initialValue: t.itemsLinked,
352
352
  group: it(t),
@@ -355,8 +355,8 @@ const vt = /* @__PURE__ */ X({
355
355
  var l;
356
356
  for (const i of a)
357
357
  if (ft(u.state.menu, t._id, i._id)) {
358
- const F = (l = u.state.menu.modules.item.find((d) => d._id === i._id)) == null ? void 0 : l.name;
359
- V.open({
358
+ const F = (l = u.state.menu.modules.item.find((p) => p._id === i._id)) == null ? void 0 : l.name;
359
+ N.open({
360
360
  type: "error",
361
361
  message: n("menu.product.form.group.circularError", {
362
362
  groupName: t.name,
@@ -365,7 +365,7 @@ const vt = /* @__PURE__ */ X({
365
365
  });
366
366
  return;
367
367
  }
368
- await k.value.applyItems(t, a.map((i) => i._id));
368
+ await h.value.applyItems(t, a.map((i) => i._id));
369
369
  }
370
370
  }, {
371
371
  default: e
@@ -386,19 +386,19 @@ const vt = /* @__PURE__ */ X({
386
386
  }, {
387
387
  label: n("menu.group.actions.duplicate_action"),
388
388
  disabled: !y.value.create,
389
- onClick: () => Ce(e)
389
+ onClick: () => we(e)
390
390
  }, {
391
391
  label: n("menu.common.actions.delete"),
392
392
  itemClass: "text-fm-color-typo-error",
393
393
  disabled: !y.value.delete,
394
- onClick: () => Oe(e)
394
+ onClick: () => Ce(e)
395
395
  }];
396
396
  return s(vt, {
397
397
  class: t.className,
398
398
  items: i
399
399
  }, null);
400
400
  });
401
- }, xe = g(() => [{
401
+ }, Oe = g(() => [{
402
402
  accessorKey: "name",
403
403
  header: () => n("menu.group.list.columns.name"),
404
404
  enableSorting: !1
@@ -441,7 +441,7 @@ const vt = /* @__PURE__ */ X({
441
441
  size: 140,
442
442
  cell: (t) => {
443
443
  const e = t.row.original;
444
- return de(Qe, {
444
+ return pe(Qe, {
445
445
  // FIXME:FdoCustomAttribute under "@feedmepos/custom-attributes" is not compatible
446
446
  // with FdoCustomAttribute from "@feedmepos/core", ! mark should be removed when fixed
447
447
  customAttributes: e.customAttributes
@@ -482,12 +482,12 @@ const vt = /* @__PURE__ */ X({
482
482
  return {
483
483
  itemsLinked: y.value.showAppliedProduct,
484
484
  type: y.value.type,
485
- tagging: ((t = R.groupAttributeSettings) == null ? void 0 : t.value.length) > 0
485
+ tagging: ((t = I.groupAttributeSettings) == null ? void 0 : t.value.length) > 0
486
486
  };
487
487
  }), Ae = async (t) => {
488
488
  const e = ct(t), a = e.group, l = mt(a, re(t));
489
489
  if (c.value)
490
- ee.value ? (j.value ? B.value.overrideCatalogSchedulerGroups([l], j.value._id) : B.value.overrideCatalogGroups([l]), await B.value.update()) : (te.value.overrideSchedulerGroups([l]), await te.value.update());
490
+ ee.value ? (B.value ? j.value.overrideCatalogSchedulerGroups([l], B.value._id) : j.value.overrideCatalogGroups([l]), await j.value.update()) : (te.value.overrideSchedulerGroups([l]), await te.value.update());
491
491
  else {
492
492
  const i = {
493
493
  module: v.F_MENU_MODULE_V4_KEY.enum.group,
@@ -499,11 +499,11 @@ const vt = /* @__PURE__ */ X({
499
499
  data: e.linkItems
500
500
  }]
501
501
  };
502
- await h.updateMenu(i, l.name);
502
+ await w.updateMenu(i, l.name);
503
503
  }
504
- }, $ = E(null), ce = E(null), me = async (t) => {
504
+ }, Y = E(null), ce = E(null), me = async (t) => {
505
505
  var e;
506
- $.value = tt(t), await fe(), (e = ce.value) == null || e.trigger(!0);
506
+ Y.value = tt(t), await fe(), (e = ce.value) == null || e.trigger(!0);
507
507
  };
508
508
  function Fe(t) {
509
509
  me(t.original);
@@ -512,12 +512,12 @@ const vt = /* @__PURE__ */ X({
512
512
  t: n
513
513
  } = le(), Pe = g(() => {
514
514
  var t;
515
- return ((t = R.groupAttributeSettings) == null ? void 0 : t.value.length) > 0;
515
+ return ((t = I.groupAttributeSettings) == null ? void 0 : t.value.length) > 0;
516
516
  }), K = E(!1), J = E(null);
517
517
  async function Ve() {
518
518
  K.value = !K.value, K.value && (await fe(), J.value && J.value.toggleProperty(!0));
519
519
  }
520
- const pe = () => y.value.multiScheduler ? s(We, null, {
520
+ const de = () => y.value.multiScheduler ? s(We, null, {
521
521
  append: () => Pe.value ? s("div", {
522
522
  class: "pl-8 flex items-center justify-center border-l border-fm-color-neutral-gray-200",
523
523
  onClick: (t) => {
@@ -531,26 +531,26 @@ const vt = /* @__PURE__ */ X({
531
531
  }, null)]) : null
532
532
  }) : null;
533
533
  return (t, e) => {
534
- const a = M("fm-button"), l = 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");
535
- return m(), C(T, null, [$.value ? (m(), U(ut, Ee({
534
+ const a = M("fm-button"), l = M("fm-chip"), i = M("fm-menu-item"), F = M("fm-menu"), p = M("fm-search"), P = M("fm-table"), L = M("fm-bottom-sheet");
535
+ return m(), k($, null, [Y.value ? (m(), T(ut, Ee({
536
536
  ref_key: "groupManagerFormRef",
537
537
  ref: ce,
538
- key: $.value._id
539
- }, we($.value), {
538
+ key: Y.value._id
539
+ }, xe(Y.value), {
540
540
  action: "update",
541
541
  title: r(n)("menu.group.dialogs.update.title"),
542
- group: $.value,
543
- "onUpdate:group": e[0] || (e[0] = (o) => $.value = o),
542
+ group: Y.value,
543
+ "onUpdate:group": e[0] || (e[0] = (o) => Y.value = o),
544
544
  "onSubmit:group": e[1] || (e[1] = (o) => Ae(o))
545
- }), null, 16, ["title", "group"])) : I("", !0), D.value.length === 0 ? (m(), C("div", wt, [s(at, {
545
+ }), null, 16, ["title", "group"])) : U("", !0), D.value.length === 0 ? (m(), k("div", xt, [s(at, {
546
546
  subtitle: r(n)("menu.group.empty.subtitle"),
547
547
  title: r(n)("menu.group.empty.title")
548
548
  }, Se({
549
549
  _: 2
550
550
  }, [y.value.create ? {
551
551
  name: "action",
552
- fn: x(() => [s(r(st), null, {
553
- default: x(({
552
+ fn: O(() => [s(r(st), null, {
553
+ default: O(({
554
554
  trigger: o
555
555
  }) => [s(a, {
556
556
  "prepend-icon": "add",
@@ -560,50 +560,50 @@ const vt = /* @__PURE__ */ X({
560
560
  _: 1
561
561
  })]),
562
562
  key: "0"
563
- } : void 0]), 1032, ["subtitle", "title"])])) : (m(), C(T, {
563
+ } : void 0]), 1032, ["subtitle", "title"])])) : (m(), k($, {
564
564
  key: 2
565
- }, [Ge.value ? (m(), C(T, {
565
+ }, [Ge.value ? (m(), k($, {
566
566
  key: 1
567
- }, [p("div", Ft, [s(d, {
567
+ }, [d("div", Ft, [s(p, {
568
568
  autofocus: "",
569
- modelValue: r(w),
570
- "onUpdate:modelValue": e[9] || (e[9] = (o) => Q(w) ? w.value = o : null),
569
+ modelValue: r(x),
570
+ "onUpdate:modelValue": e[9] || (e[9] = (o) => Q(x) ? x.value = o : null),
571
571
  placeholder: r(n)("menu.group.search.placeholder")
572
- }, null, 8, ["modelValue", "placeholder"])]), e[17] || (e[17] = p("div", {
572
+ }, null, 8, ["modelValue", "placeholder"])]), e[17] || (e[17] = d("div", {
573
573
  class: "bg-fm-color-neutral-gray-100 w-full h-px rounded-md"
574
- }, null, -1)), p("div", Mt, [s(pe), Z.value ? (m(), U(Y, {
574
+ }, null, -1)), d("div", Mt, [s(de), Z.value ? (m(), T(L, {
575
575
  key: 0,
576
576
  modelValue: _.value,
577
577
  "onUpdate:modelValue": e[14] || (e[14] = (o) => _.value = o)
578
578
  }, {
579
- "bottom-sheet-button": x(() => [s(l, {
579
+ "bottom-sheet-button": O(() => [s(l, {
580
580
  label: r(n)("menu.group.type.title", {
581
581
  type: b.value ? r(H.capitalize)(b.value) : r(n)("menu.common.labels.all")
582
582
  }),
583
583
  class: "text-fm-color-typo-secondary",
584
584
  "right-icon": "keyboard_arrow_down"
585
585
  }, null, 8, ["label"])]),
586
- default: x(() => [p("div", null, [p("div", {
586
+ default: O(() => [d("div", null, [d("div", {
587
587
  class: "px-16 py-8",
588
588
  onClick: e[10] || (e[10] = (o) => b.value = null)
589
- }, G(r(n)("menu.group.type.all")), 1), p("div", {
589
+ }, G(r(n)("menu.group.type.all")), 1), d("div", {
590
590
  class: "px-16 py-8",
591
591
  onClick: e[11] || (e[11] = (o) => b.value = "NORMAL")
592
- }, G(r(n)("menu.group.type.normal")), 1), p("div", {
592
+ }, G(r(n)("menu.group.type.normal")), 1), d("div", {
593
593
  class: "px-16 py-8",
594
594
  onClick: e[12] || (e[12] = (o) => b.value = "PRODUCT")
595
- }, G(r(n)("menu.group.type.product")), 1), p("div", {
595
+ }, G(r(n)("menu.group.type.product")), 1), d("div", {
596
596
  class: "px-16 py-8",
597
597
  onClick: e[13] || (e[13] = (o) => b.value = "DYNAMIC")
598
598
  }, G(r(n)("menu.group.type.dynamic")), 1)])]),
599
599
  _: 1
600
- }, 8, ["modelValue"])) : I("", !0)]), K.value ? (m(), C("div", Gt, [s(r(ve), {
600
+ }, 8, ["modelValue"])) : U("", !0)]), K.value ? (m(), k("div", Gt, [s(r(ve), {
601
601
  ref_key: "attributeFilterRef",
602
602
  ref: J,
603
603
  attributes: r(q),
604
- modelValue: r(N),
605
- "onUpdate:modelValue": e[15] || (e[15] = (o) => Q(N) ? N.value = o : null)
606
- }, null, 8, ["attributes", "modelValue"])])) : I("", !0), s(r(ze), {
604
+ modelValue: r(R),
605
+ "onUpdate:modelValue": e[15] || (e[15] = (o) => Q(R) ? R.value = o : null)
606
+ }, null, 8, ["attributes", "modelValue"])])) : U("", !0), s(r(ze), {
607
607
  class: W(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100", "pb-64"]),
608
608
  "model-value": z.value,
609
609
  group: "categories",
@@ -611,28 +611,28 @@ const vt = /* @__PURE__ */ X({
611
611
  "item-key": "_id",
612
612
  "onUpdate:modelValue": e[16] || (e[16] = (o) => ue(o))
613
613
  }, {
614
- item: x(({
614
+ item: O(({
615
615
  element: o
616
- }) => [(m(), C("div", {
616
+ }) => [(m(), k("div", {
617
617
  key: o._id,
618
618
  class: W(["py-12 px-16", "flex space-x-16", "items-center"])
619
- }, [p("div", Pt, [p("div", Vt, [p("p", Nt, G(o.name), 1), p("div", null, [Z.value ? (m(), C("p", Rt, G(r(H.capitalize)(o.type)) + " type ", 1)) : I("", !0), p("p", Et, G(r(n)("menu.group.list.products_linked", {
619
+ }, [d("div", Pt, [d("div", Vt, [d("p", Nt, G(o.name), 1), d("div", null, [Z.value ? (m(), k("p", Rt, G(r(H.capitalize)(o.type)) + " type ", 1)) : U("", !0), d("p", Et, G(r(n)("menu.group.list.products_linked", {
620
620
  count: o.itemsLinked.length
621
621
  })), 1)])]), s(ie, {
622
622
  group: o
623
623
  }, null, 8, ["group"])])]))]),
624
624
  _: 1
625
- }, 8, ["model-value"])], 64)) : (m(), C("div", Ot, [p("div", xt, [s(pe), Z.value ? (m(), U(F, {
625
+ }, 8, ["model-value"])], 64)) : (m(), k("div", Ct, [d("div", Ot, [s(de), Z.value ? (m(), T(F, {
626
626
  key: 0
627
627
  }, {
628
- "menu-button": x(() => [s(l, {
628
+ "menu-button": O(() => [s(l, {
629
629
  label: r(n)("menu.group.type.title", {
630
630
  type: b.value ? r(H.capitalize)(b.value) : r(n)("menu.common.labels.all")
631
631
  }),
632
632
  class: "text-fm-color-typo-secondary",
633
633
  "right-icon": "keyboard_arrow_down"
634
634
  }, null, 8, ["label"])]),
635
- default: x(() => [p("div", null, [s(i, {
635
+ default: O(() => [d("div", null, [s(i, {
636
636
  class: "px-16 py-8",
637
637
  label: r(n)("menu.group.type.all"),
638
638
  onClick: e[2] || (e[2] = (o) => b.value = null)
@@ -650,22 +650,22 @@ const vt = /* @__PURE__ */ X({
650
650
  onClick: e[5] || (e[5] = (o) => b.value = "DYNAMIC")
651
651
  }, null, 8, ["label"])])]),
652
652
  _: 1
653
- })) : I("", !0), p("div", Dt, [s(d, {
653
+ })) : U("", !0), d("div", Dt, [s(p, {
654
654
  autofocus: "",
655
- modelValue: r(w),
656
- "onUpdate:modelValue": e[6] || (e[6] = (o) => Q(w) ? w.value = o : null),
655
+ modelValue: r(x),
656
+ "onUpdate:modelValue": e[6] || (e[6] = (o) => Q(x) ? x.value = o : null),
657
657
  placeholder: r(n)("menu.group.search.placeholder")
658
- }, null, 8, ["modelValue", "placeholder"])])]), K.value ? (m(), C("div", At, [s(r(ve), {
658
+ }, null, 8, ["modelValue", "placeholder"])])]), K.value ? (m(), k("div", At, [s(r(ve), {
659
659
  ref_key: "attributeFilterRef",
660
660
  ref: J,
661
661
  attributes: r(q),
662
- modelValue: r(N),
663
- "onUpdate:modelValue": e[7] || (e[7] = (o) => Q(N) ? N.value = o : null)
664
- }, null, 8, ["attributes", "modelValue"])])) : I("", !0), s(Xe, null, {
665
- default: x(() => [s(P, {
666
- "column-defs": xe.value,
662
+ modelValue: r(R),
663
+ "onUpdate:modelValue": e[7] || (e[7] = (o) => Q(R) ? R.value = o : null)
664
+ }, null, 8, ["attributes", "modelValue"])])) : U("", !0), s(Xe, null, {
665
+ default: O(() => [s(P, {
666
+ "column-defs": Oe.value,
667
667
  "column-visibility": De.value,
668
- loading: r(h).checkMenuIsLoading(),
668
+ loading: r(w).checkMenuIsLoading(),
669
669
  "page-size": z.value.length,
670
670
  "row-data": z.value,
671
671
  "shrink-at": !1,