@feedmepos/mf-menu-portal 1.0.0 → 1.0.1-dev.2

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 (56) hide show
  1. package/dist/{App-Cbi7rvAQ.js → App-Bc702Hcu.js} +3 -3
  2. package/dist/{BindingTable.vue_vue_type_script_setup_true_lang-D6mtQa-S.js → BindingTable.vue_vue_type_script_setup_true_lang-CXEdNhD7.js} +1 -1
  3. package/dist/{Catalog-BLuMHE_E.js → Catalog-CAjUClUX.js} +4 -4
  4. package/dist/{CatalogBinding-D4eTNN-5.js → CatalogBinding-D_wWWSSp.js} +3 -3
  5. package/dist/{CatalogEditTabs.vue_vue_type_script_setup_true_lang-DP3zEugd.js → CatalogEditTabs.vue_vue_type_script_setup_true_lang-D22MUepC.js} +3 -3
  6. package/dist/{CatalogEditor.vue_vue_type_script_setup_true_lang-B0t8mjfb.js → CatalogEditor.vue_vue_type_script_setup_true_lang-BhGMUJ3s.js} +6 -6
  7. package/dist/{CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-lEDrafu_.js → CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-CN6ZA2GB.js} +3 -3
  8. package/dist/{Category-CENn2RqS.js → Category-B9ei-_eX.js} +2 -2
  9. package/dist/{Category-q24-Uv50.js → Category-jB7Ou9RW.js} +5 -5
  10. package/dist/{CategoryList.vue_vue_type_script_setup_true_lang-BjE1OgVE.js → CategoryList.vue_vue_type_script_setup_true_lang-C-DiVmbI.js} +4 -4
  11. package/dist/{CookingGuide-DuJM2tYB.js → CookingGuide-Co205Gx3.js} +4 -4
  12. package/dist/{Group-CP02feCj.js → Group-0IuFWXlx.js} +2 -2
  13. package/dist/{Group-DwNJLQSF.js → Group-CRWp2JmU.js} +5 -5
  14. package/dist/{GroupList.vue_vue_type_script_setup_true_lang-y1VnbQxW.js → GroupList.vue_vue_type_script_setup_true_lang-D7Cq_9MB.js} +349 -325
  15. package/dist/{Ingredient-BxNA-Dve.js → Ingredient-DJOwxZRe.js} +3 -3
  16. package/dist/{LinkProductSideSheet.vue_vue_type_script_setup_true_lang-BBupd5Ol.js → LinkProductSideSheet.vue_vue_type_script_setup_true_lang-BpComTui.js} +1 -1
  17. package/dist/{MenuSetting-B2J3lgMb.js → MenuSetting-Din6nvP2.js} +3 -3
  18. package/dist/{OrderPacing-CFxvf1Jw.js → OrderPacing-C1AQOfeI.js} +4 -4
  19. package/dist/{OrderPacingFields.vue_vue_type_script_setup_true_lang-B9GKThlQ.js → OrderPacingFields.vue_vue_type_script_setup_true_lang-SR3SD9DI.js} +1 -1
  20. package/dist/{Preview-CL3uWv7B.js → Preview-DON14a1U.js} +1 -1
  21. package/dist/{PriceTierNotice.vue_vue_type_script_setup_true_lang-B40iISev.js → PriceTierNotice.vue_vue_type_script_setup_true_lang-kXNVV9Sb.js} +1 -1
  22. package/dist/{PrintRoute-Ud6_yjts.js → PrintRoute-BOmTcwBZ.js} +3 -3
  23. package/dist/{Product-CJZZsheo.js → Product-B9iLLSBj.js} +4 -4
  24. package/dist/{ProductEditorHost.vue_vue_type_script_setup_true_lang-D14g-KtY.js → ProductEditorHost.vue_vue_type_script_setup_true_lang-CmSp0jz5.js} +2 -2
  25. package/dist/{ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-D1K1ulzK.js → ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-CvIZC8P6.js} +3 -3
  26. package/dist/{ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-S4adI2xZ.js → ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-DHtVWsxB.js} +1 -1
  27. package/dist/{ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-BSJJG2io.js → ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-DjgIbu-O.js} +10 -10
  28. package/dist/{ProductInternalTools-Dy00vFme.js → ProductInternalTools-BNK3GRW_.js} +2 -2
  29. package/dist/{ProductInventoryDialog-jzsjBJzo.js → ProductInventoryDialog-CYVzgOZ0.js} +1 -1
  30. package/dist/{ProductInventoryDialog.vue_vue_type_script_setup_true_lang-w6WNUhlJ.js → ProductInventoryDialog.vue_vue_type_script_setup_true_lang-CAE-AVXK.js} +1 -1
  31. package/dist/{ProductList.vue_vue_type_script_setup_true_lang-DDrTxky5.js → ProductList.vue_vue_type_script_setup_true_lang-Dtn6NuqJ.js} +8 -8
  32. package/dist/{ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-DrwSNvSs.js → ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-dk83G9bj.js} +1 -1
  33. package/dist/{Products-O1yXEL_z.js → Products-jJWnCw8V.js} +3 -3
  34. package/dist/{Publish-DftHlRLK.js → Publish-D97niNao.js} +3 -3
  35. package/dist/{Recipe-CblO-zGE.js → Recipe-Y-T4zrYC.js} +3 -3
  36. package/dist/{Scheduler-DqCp37_u.js → Scheduler-Dv9cehg1.js} +3 -3
  37. package/dist/{ServingSequence-CDuMKdv1.js → ServingSequence-D25n67vU.js} +2 -2
  38. package/dist/{Setting-BkmUgvGd.js → Setting-AYC1m2h3.js} +6 -6
  39. package/dist/{Subcategory-CO8xxSlj.js → Subcategory-CnhUgjB3.js} +2 -2
  40. package/dist/{Takeaway-Bpt28cTN.js → Takeaway-DbS8W4UD.js} +5 -5
  41. package/dist/{Takeaway-BdG4j6py.js → Takeaway-WYT4suju.js} +2 -2
  42. package/dist/{TakeawayList.vue_vue_type_script_setup_true_lang-BZU5_qtD.js → TakeawayList.vue_vue_type_script_setup_true_lang-BU3RusmG.js} +3 -3
  43. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-lwVmlPjM.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DUDoX-oK.js} +6 -6
  44. package/dist/{Unit-Dbt4DjCH.js → Unit-C0YE4NKb.js} +2 -2
  45. package/dist/{Variant-COyRdrd4.js → Variant-CWWhFPql.js} +3 -3
  46. package/dist/{_id_-DxY2je6y.js → _id_-D2qj1cgy.js} +3 -3
  47. package/dist/{app-6_A1RVpQ.js → app-DGE1xmFY.js} +66 -66
  48. package/dist/app.js +1 -1
  49. package/dist/apps/mf-menu/src/app.d.ts +10 -0
  50. package/dist/apps/mf-menu/src/sdk/remyMenuChanges.d.ts +16 -0
  51. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/assets/{menu-compute-CrmB_AVQ.js → menu-compute-F_dGTo8Y.js} +72 -72
  53. package/dist/assets/{validate-menu-r-ff012b.js → validate-menu-Dk-QHJF6.js} +40 -40
  54. package/dist/{provide-HnPEucJi.js → provide-Cb7Ocf83.js} +22519 -22406
  55. package/dist/{useActionFeedback-aPnN1RvF.js → useActionFeedback-B277Ko3J.js} +1 -1
  56. package/package.json +1 -1
@@ -1,35 +1,35 @@
1
- import { defineComponent as Vl, ref as $, watch as Ye, resolveComponent as F, openBlock as c, createBlock as k, withCtx as m, createElementVNode as d, createVNode as o, normalizeClass as vl, toDisplayString as y, unref as t, createElementBlock as b, Fragment as j, renderList as Y, createCommentVNode as w, defineAsyncComponent as Jl, computed as h, shallowRef as U, h as r, withModifiers as R, onUnmounted as Wl, renderSlot as Te, withDirectives as Xl, mergeProps as gl } from "vue";
1
+ import { defineComponent as Vl, ref as $, watch as Ye, resolveComponent as V, openBlock as c, createBlock as h, withCtx as m, createElementVNode as d, createVNode as o, normalizeClass as vl, toDisplayString as w, unref as t, createElementBlock as b, Fragment as j, renderList as Y, createCommentVNode as x, defineAsyncComponent as Jl, computed as k, shallowRef as U, h as i, withModifiers as R, onUnmounted as Wl, renderSlot as Te, withDirectives as Xl, mergeProps as gl } from "vue";
2
2
  import { useI18n as Ol, CustomAttributesForm as bl } from "@feedmepos/mf-common";
3
3
  import { useDialog as ea, useSnackbar as la, components as v, SnackbarPosition as aa, FmButtonVariant as fl } from "@feedmepos/ui-library";
4
4
  import { _ as ta } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-C9OSr8ft.js";
5
5
  import { _ as yl } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
6
6
  import { a as oa, b as _l, _ as q } from "./TranslationLanguageSelector.vue_vue_type_script_setup_true_lang-BJZ6VcrT.js";
7
- import { A as wl, _ as xl } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-BBupd5Ol.js";
7
+ import { A as wl, _ as xl } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-BpComTui.js";
8
8
  import { a as Re, _ as pe } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
9
9
  import { _ as je } from "./FormItem.vue_vue_type_script_setup_true_lang-C2S6QCyR.js";
10
- import { _ as hl, a as kl, c as Cl, F as Ke, b as na, d as sa } from "./ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-D1K1ulzK.js";
10
+ import { _ as kl, a as hl, c as Cl, F as Ke, b as na, d as sa } from "./ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-CvIZC8P6.js";
11
11
  import { _ as ia } from "./ListCountTag.vue_vue_type_script_setup_true_lang-0bjk8Aly.js";
12
12
  import { _ as ra } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
13
13
  import { _ as ua } from "./ProductChipSummary.vue_vue_type_script_setup_true_lang-D8DygCBl.js";
14
14
  import { _ as da } from "./ProductFilterMenu.vue_vue_type_script_setup_true_lang-Cgc0Ms_n.js";
15
15
  import { _ as ma } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-B0j2PNih.js";
16
- import { u as ca } from "./useActionFeedback-aPnN1RvF.js";
16
+ import { u as ca } from "./useActionFeedback-B277Ko3J.js";
17
17
  import { u as pa } from "./useEditorValidation-Ctef5Bxt.js";
18
- import { b as va, u as Fl } from "./provide-HnPEucJi.js";
18
+ import { b as va, u as Fl } from "./provide-Cb7Ocf83.js";
19
19
  import { v as ga } from "./tableSemantics-C9WFO_I_.js";
20
- const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "fm-typo-en-title-md-600" }, ya = { class: "pt-8 space-y-24" }, _a = { class: "flex flex-col gap-16 border p-16 rounded-lg" }, wa = ["aria-expanded"], xa = { class: "fm-typo-en-body-lg-600" }, ha = {
20
+ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "fm-typo-en-title-md-600" }, ya = { class: "pt-8 space-y-24" }, _a = { class: "flex flex-col gap-16 border p-16 rounded-lg" }, wa = ["aria-expanded"], xa = { class: "fm-typo-en-body-lg-600" }, ka = {
21
21
  key: 0,
22
22
  class: "flex flex-col gap-32 pl-32"
23
- }, ka = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary border inline-block rounded-full px-8 py-4 mb-8" }, Ca = {
23
+ }, ha = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary border inline-block rounded-full px-8 py-4 mb-8" }, Ca = {
24
24
  key: 0,
25
25
  class: "space-y-8"
26
26
  }, Fa = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary border inline-block rounded-full px-8 py-4 mb-8" }, Va = { class: "flex w-[100px] items-center gap-8" }, Oa = { class: "fm-typo-en-body-md-400" }, $a = { class: "flex-1" }, Sa = { class: "flex flex-col gap-16 border p-16 rounded-lg" }, Pa = ["aria-expanded"], Ta = { class: "fm-typo-en-body-lg-600" }, Na = {
27
27
  key: 0,
28
28
  class: "flex flex-col gap-32 pl-32"
29
- }, Ua = { class: "fm-typo-en-body-md-600 text-fm-color-primary border border-fm-color-primary inline-block rounded-md px-8 py-4" }, Ea = { class: "space-y-32" }, za = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary border inline-block rounded-full px-8 py-4 mb-4" }, Ia = { class: "-mt-px" }, Da = {
29
+ }, Ua = { class: "fm-typo-en-body-md-600 text-fm-color-primary border border-fm-color-primary inline-block rounded-md px-8 py-4" }, Ea = { class: "space-y-32" }, Ia = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary border inline-block rounded-full px-8 py-4 mb-4" }, za = { class: "-mt-px" }, Aa = {
30
30
  key: 0,
31
31
  class: "space-y-8"
32
- }, Aa = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary border inline-block rounded-full px-8 py-4 mb-4" }, La = { class: "flex w-[100px] items-center gap-8" }, Ma = { class: "fm-typo-en-body-md-400" }, Ba = { class: "flex-1" }, Ga = { class: "flex gap-8 items-center justify-start" }, Ra = /* @__PURE__ */ Vl({
32
+ }, Da = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary border inline-block rounded-full px-8 py-4 mb-4" }, La = { class: "flex w-[100px] items-center gap-8" }, Ma = { class: "fm-typo-en-body-md-400" }, Ba = { class: "flex-1" }, Ga = { class: "flex gap-8 items-center justify-start" }, Ra = /* @__PURE__ */ Vl({
33
33
  __name: "GroupTranslationSideSheet",
34
34
  props: {
35
35
  modelValue: { type: Boolean },
@@ -41,14 +41,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
41
41
  const Ee = Ne, H = Ue, { t: g } = Ol(), l = $(!1), T = $(!0);
42
42
  return Ye(
43
43
  () => Ee.modelValue,
44
- (_) => {
45
- _ && (l.value = !1, T.value = !0);
44
+ (f) => {
45
+ f && (l.value = !1, T.value = !0);
46
46
  },
47
47
  { immediate: !0 }
48
- ), (_, C) => {
49
- const z = F("FmIcon"), I = F("FmTextField"), ve = F("FmButton"), D = F("FmSideSheet");
50
- return c(), k(D, {
51
- "model-value": _.modelValue,
48
+ ), (f, C) => {
49
+ const I = V("FmIcon"), z = V("FmTextField"), ve = V("FmButton"), A = V("FmSideSheet");
50
+ return c(), h(A, {
51
+ "model-value": f.modelValue,
52
52
  "max-width": 720,
53
53
  "z-index": 200,
54
54
  "is-container-props": { class: "group-translation-sheet" },
@@ -56,8 +56,8 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
56
56
  "onUpdate:modelValue": C[7] || (C[7] = (u) => !u && H("discard"))
57
57
  }, {
58
58
  "side-sheet-header": m(() => [
59
- d("span", ba, y(t(g)("menu.group.translation.translate_options")), 1),
60
- d("p", fa, y(t(g)("menu.group.translation.title")), 1)
59
+ d("span", ba, w(t(g)("menu.group.translation.translate_options")), 1),
60
+ d("p", fa, w(t(g)("menu.group.translation.title")), 1)
61
61
  ]),
62
62
  "side-sheet-footer": m(() => [
63
63
  d("div", Ga, [
@@ -78,11 +78,11 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
78
78
  default: m(() => [
79
79
  d("div", ya, [
80
80
  o(oa, {
81
- selected: _.view.optionTranslationView.locales,
82
- available: _.view.optionTranslationView.availableLocales,
81
+ selected: f.view.optionTranslationView.locales,
82
+ available: f.view.optionTranslationView.availableLocales,
83
83
  "menu-z-index": 201,
84
- onAdd: C[0] || (C[0] = (u) => _.session.addOptionTranslationLocale(u)),
85
- onRemove: C[1] || (C[1] = (u) => _.session.removeOptionTranslationLocale(u))
84
+ onAdd: C[0] || (C[0] = (u) => f.session.addOptionTranslationLocale(u)),
85
+ onRemove: C[1] || (C[1] = (u) => f.session.removeOptionTranslationLocale(u))
86
86
  }, null, 8, ["selected", "available"]),
87
87
  d("div", _a, [
88
88
  d("button", {
@@ -91,26 +91,26 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
91
91
  "aria-expanded": l.value,
92
92
  onClick: C[2] || (C[2] = (u) => l.value = !l.value)
93
93
  }, [
94
- o(z, {
94
+ o(I, {
95
95
  name: "keyboard_arrow_down",
96
96
  class: vl([
97
97
  "transition-transform",
98
98
  l.value ? "transform rotate-180" : ""
99
99
  ])
100
100
  }, null, 8, ["class"]),
101
- d("p", xa, y(t(g)("menu.group.translation.group_name")), 1)
101
+ d("p", xa, w(t(g)("menu.group.translation.group_name")), 1)
102
102
  ], 8, wa),
103
- l.value ? (c(), b("div", ha, [
103
+ l.value ? (c(), b("div", ka, [
104
104
  d("div", null, [
105
- d("p", ka, y(t(g)("menu.group.translation.default")), 1),
106
- o(I, {
107
- "model-value": _.view.name,
105
+ d("p", ha, w(t(g)("menu.group.translation.default")), 1),
106
+ o(z, {
107
+ "model-value": f.view.name,
108
108
  readonly: ""
109
109
  }, null, 8, ["model-value"])
110
110
  ]),
111
- _.view.optionTranslationView.groupNameTranslations.length > 0 ? (c(), b("div", Ca, [
112
- d("p", Fa, y(t(g)("menu.group.translation.translation")), 1),
113
- (c(!0), b(j, null, Y(_.view.optionTranslationView.groupNameTranslations, (u) => (c(), b("div", {
111
+ f.view.optionTranslationView.groupNameTranslations.length > 0 ? (c(), b("div", Ca, [
112
+ d("p", Fa, w(t(g)("menu.group.translation.translation")), 1),
113
+ (c(!0), b(j, null, Y(f.view.optionTranslationView.groupNameTranslations, (u) => (c(), b("div", {
114
114
  key: u.code,
115
115
  class: "flex gap-16 items-center"
116
116
  }, [
@@ -118,7 +118,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
118
118
  o(_l, {
119
119
  code: u.code
120
120
  }, null, 8, ["code"]),
121
- d("span", Oa, y(u.label), 1)
121
+ d("span", Oa, w(u.label), 1)
122
122
  ]),
123
123
  d("div", $a, [
124
124
  o(q, {
@@ -127,8 +127,8 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
127
127
  }, null, 8, ["model-value"])
128
128
  ])
129
129
  ]))), 128))
130
- ])) : w("", !0)
131
- ])) : w("", !0)
130
+ ])) : x("", !0)
131
+ ])) : x("", !0)
132
132
  ]),
133
133
  d("div", Sa, [
134
134
  d("button", {
@@ -137,37 +137,37 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
137
137
  "aria-expanded": T.value,
138
138
  onClick: C[3] || (C[3] = (u) => T.value = !T.value)
139
139
  }, [
140
- o(z, {
140
+ o(I, {
141
141
  name: "keyboard_arrow_down",
142
142
  class: vl([
143
143
  "transition-transform",
144
144
  T.value ? "transform rotate-180" : ""
145
145
  ])
146
146
  }, null, 8, ["class"]),
147
- d("p", Ta, y(t(g)("menu.group.translation.product_name")), 1)
147
+ d("p", Ta, w(t(g)("menu.group.translation.product_name")), 1)
148
148
  ], 8, Pa),
149
149
  T.value ? (c(), b("div", Na, [
150
- (c(!0), b(j, null, Y(_.view.optionTranslationView.options, (u, ne) => (c(), b("div", {
150
+ (c(!0), b(j, null, Y(f.view.optionTranslationView.options, (u, ne) => (c(), b("div", {
151
151
  key: u.id,
152
152
  class: "space-y-8"
153
153
  }, [
154
- d("p", Ua, y(t(g)("menu.group.translation.option", { number: ne + 1 })), 1),
154
+ d("p", Ua, w(t(g)("menu.group.translation.option", { number: ne + 1 })), 1),
155
155
  d("div", Ea, [
156
156
  d("div", null, [
157
- d("p", za, y(t(g)("menu.group.translation.default")), 1),
158
- d("div", Ia, [
157
+ d("p", Ia, w(t(g)("menu.group.translation.default")), 1),
158
+ d("div", za, [
159
159
  o(q, {
160
160
  "model-value": u.name,
161
161
  placeholder: u.placeholder,
162
162
  "aria-label": t(g)("menu.group.translation.option_default", {
163
163
  number: ne + 1
164
164
  }),
165
- "onUpdate:modelValue": (O) => _.session.setOptionName(u.id, O, u.target)
165
+ "onUpdate:modelValue": (O) => f.session.setOptionName(u.id, O, u.target)
166
166
  }, null, 8, ["model-value", "placeholder", "aria-label", "onUpdate:modelValue"])
167
167
  ])
168
168
  ]),
169
- _.view.optionTranslationLocales.length > 0 ? (c(), b("div", Da, [
170
- d("p", Aa, y(t(g)("menu.group.translation.translation")), 1),
169
+ f.view.optionTranslationLocales.length > 0 ? (c(), b("div", Aa, [
170
+ d("p", Da, w(t(g)("menu.group.translation.translation")), 1),
171
171
  (c(!0), b(j, null, Y(u.translations, (O) => (c(), b("div", {
172
172
  key: O.code,
173
173
  class: "flex gap-16 items-center"
@@ -176,7 +176,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
176
176
  o(_l, {
177
177
  code: O.code
178
178
  }, null, 8, ["code"]),
179
- d("span", Ma, y(O.label), 1)
179
+ d("span", Ma, w(O.label), 1)
180
180
  ]),
181
181
  d("div", Ba, [
182
182
  o(q, {
@@ -186,18 +186,18 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
186
186
  number: ne + 1,
187
187
  language: O.label
188
188
  }),
189
- "onUpdate:modelValue": (A) => _.session.setOptionTranslation(
189
+ "onUpdate:modelValue": (D) => f.session.setOptionTranslation(
190
190
  u.id,
191
191
  O.code,
192
- A
192
+ D
193
193
  )
194
194
  }, null, 8, ["model-value", "placeholder", "aria-label", "onUpdate:modelValue"])
195
195
  ])
196
196
  ]))), 128))
197
- ])) : w("", !0)
197
+ ])) : x("", !0)
198
198
  ])
199
199
  ]))), 128))
200
- ])) : w("", !0)
200
+ ])) : x("", !0)
201
201
  ])
202
202
  ])
203
203
  ]),
@@ -234,7 +234,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
234
234
  }, ut = { class: "mr-auto fm-typo-en-title-md-600" }, dt = { class: "space-y-24 pt-16" }, mt = { class: "rounded-md border border-fm-color-neutral-gray-200 px-16 py-12" }, ct = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, pt = { class: "fm-typo-en-title-sm-600" }, vt = { class: "space-y-16" }, gt = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, bt = {
235
235
  key: 0,
236
236
  class: "nested-group-editor-sheet-marker sr-only"
237
- }, ft = { class: "fm-typo-en-title-md-600" }, yt = { class: "pt-8 space-y-32" }, _t = { class: "xs:overflow-x-scroll" }, wt = { class: "xs:min-w-[640px]" }, xt = { class: "flex gap-8" }, ht = { class: "fm-typo-en-title-md-600" }, kt = { class: "space-y-32 pt-8" }, Ct = { class: "xs:overflow-x-scroll" }, Ft = { class: "xs:min-w-[640px]" }, Vt = { class: "flex gap-8" }, Yt = /* @__PURE__ */ Vl({
237
+ }, ft = { class: "fm-typo-en-title-md-600" }, yt = { class: "pt-8 space-y-32" }, _t = { class: "xs:overflow-x-scroll" }, wt = { class: "xs:min-w-[640px]" }, xt = { class: "flex gap-8" }, kt = { class: "fm-typo-en-title-md-600" }, ht = { class: "space-y-32 pt-8" }, Ct = { class: "xs:overflow-x-scroll" }, Ft = { class: "xs:min-w-[640px]" }, Vt = { class: "flex gap-8" }, Yt = /* @__PURE__ */ Vl({
238
238
  __name: "GroupList",
239
239
  props: {
240
240
  sdk: {},
@@ -243,13 +243,13 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
243
243
  },
244
244
  setup(Ne) {
245
245
  const Ue = Jl(
246
- () => import("./ProductInventoryDialog-jzsjBJzo.js")
246
+ () => import("./ProductInventoryDialog-CYVzgOZ0.js")
247
247
  ), Ee = ["NORMAL", "PRODUCT", "DYNAMIC"], H = {
248
248
  NORMAL: "menu.group.type.normal",
249
249
  PRODUCT: "menu.group.type.product",
250
250
  DYNAMIC: "menu.group.type.dynamic"
251
- }, g = Ne, { t: l, n: T } = Ol(), _ = va(), C = ea();
252
- function z(e) {
251
+ }, g = Ne, { t: l, n: T } = Ol(), f = va(), C = ea();
252
+ function I(e) {
253
253
  if (!e) return "";
254
254
  const a = T(0, {
255
255
  useGrouping: !1,
@@ -265,9 +265,9 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
265
265
  maximumFractionDigits: 0
266
266
  }).replace(a, "").trim() || e;
267
267
  }
268
- const { run: I } = ca(), ve = la(), D = Fl(g.sdk.group.list), u = h(
269
- () => D.value.status === "ready" ? D.value.value : null
270
- ), ne = h(() => {
268
+ const { run: z } = ca(), ve = la(), A = Fl(g.sdk.group.list), u = k(
269
+ () => A.value.status === "ready" ? A.value.value : null
270
+ ), ne = k(() => {
271
271
  var e;
272
272
  return [
273
273
  { label: l("menu.common.labels.summary"), value: null },
@@ -276,35 +276,35 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
276
276
  value: a.id
277
277
  }))
278
278
  ];
279
- }), O = $(!1), A = $(!1), Q = $(!1), ze = $(!1), Z = $(!1), K = U(null), N = U({
279
+ }), O = $(!1), D = $(!1), Q = $(!1), Ie = $(!1), Z = $(!1), K = U(null), N = U({
280
280
  status: "loading"
281
281
  });
282
- let Ie = () => {
282
+ let ze = () => {
283
283
  };
284
284
  const J = U(null), W = U(null), ge = $(""), X = $(!1), ee = $(!1), qe = Fl(
285
285
  g.sdk.linkProduct.catalogue
286
- ), He = h(
286
+ ), He = k(
287
287
  () => qe.value.status === "ready" ? qe.value.value : null
288
288
  ), be = $(!1), le = $(!1), fe = U(null), ye = U({
289
289
  status: "loading"
290
290
  }), S = U(null), _e = U({
291
291
  status: "loading"
292
292
  });
293
- let De = () => {
293
+ let Ae = () => {
294
294
  }, se = () => {
295
295
  };
296
296
  const p = U(g.sdk.group.editor()), ie = U(
297
297
  p.value.get()
298
298
  );
299
- let Ae = p.value.subscribe(
299
+ let De = p.value.subscribe(
300
300
  (e) => ie.value = e
301
301
  );
302
- const i = h(
302
+ const r = k(
303
303
  () => ie.value.status === "ready" ? ie.value.value : null
304
- ), ae = pa(() => p.value), we = h(
305
- () => i.value ? ae.issue(i.value.fieldIssues, "name") ?? i.value.nameIssue : null
306
- ), Qe = h(() => {
307
- const e = i.value;
304
+ ), ae = pa(() => p.value), we = k(
305
+ () => r.value ? ae.issue(r.value.fieldIssues, "name") ?? r.value.nameIssue : null
306
+ ), Qe = k(() => {
307
+ const e = r.value;
308
308
  return e ? [
309
309
  ...ae.issues(e.fieldIssues, "bounds"),
310
310
  ...ae.issues(e.fieldIssues, "options"),
@@ -312,13 +312,13 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
312
312
  (a) => a.field !== "name" && a.field !== "bounds" && a.field !== "options"
313
313
  )
314
314
  ] : [];
315
- }), xe = $({}), Ze = h(() => {
315
+ }), xe = $({}), Ze = k(() => {
316
316
  var e;
317
- return (((e = i.value) == null ? void 0 : e.options) ?? []).map((a) => ({
317
+ return (((e = r.value) == null ? void 0 : e.options) ?? []).map((a) => ({
318
318
  ...a,
319
319
  subRows: a.variants
320
320
  }));
321
- }), L = h(
321
+ }), L = k(
322
322
  () => N.value.status === "ready" ? N.value.value : null
323
323
  );
324
324
  Ye(
@@ -327,21 +327,21 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
327
327
  e !== "ready" && (Z.value = !1);
328
328
  }
329
329
  );
330
- const Je = h(
330
+ const Je = k(
331
331
  () => ye.value.status === "ready" ? ye.value.value : null
332
- ), M = h(
332
+ ), M = k(
333
333
  () => _e.value.status === "ready" ? _e.value.value : null
334
- ), he = h(() => {
334
+ ), ke = k(() => {
335
335
  var e;
336
336
  return [
337
337
  ...((e = M.value) == null ? void 0 : e.options) ?? []
338
338
  ];
339
- }), We = h(() => {
339
+ }), We = k(() => {
340
340
  var e;
341
341
  return [
342
342
  ...((e = Je.value) == null ? void 0 : e.groups) ?? []
343
343
  ];
344
- }), $l = h(() => [
344
+ }), $l = k(() => [
345
345
  {
346
346
  accessorKey: "name",
347
347
  header: () => l("menu.group.list.columns.name"),
@@ -352,7 +352,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
352
352
  header: () => l("menu.group.list.columns.products"),
353
353
  enableSorting: !1,
354
354
  size: 200,
355
- cell: (e) => r(
355
+ cell: (e) => i(
356
356
  "div",
357
357
  { class: "line-clamp-2 break-all" },
358
358
  e.row.original.products.join(", ")
@@ -363,8 +363,8 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
363
363
  header: "",
364
364
  size: 52,
365
365
  enableSorting: !1,
366
- cell: (e) => r("div", { class: "flex justify-end" }, [
367
- r(v.FmButton, {
366
+ cell: (e) => i("div", { class: "flex justify-end" }, [
367
+ i(v.FmButton, {
368
368
  "aria-label": l("menu.group.a11y.row", {
369
369
  label: l("menu.common.actions.edit"),
370
370
  index: e.row.index + 1
@@ -376,14 +376,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
376
376
  })
377
377
  ])
378
378
  }
379
- ]), Sl = h(
379
+ ]), Sl = k(
380
380
  () => [
381
381
  {
382
382
  id: "default",
383
383
  size: 35,
384
384
  header: () => l("menu.group.option.is_default"),
385
385
  enableSorting: !1,
386
- cell: (e) => r(v.FmCheckbox, {
386
+ cell: (e) => i(v.FmCheckbox, {
387
387
  "aria-label": l("menu.group.a11y.row", {
388
388
  label: l("menu.group.option.is_default"),
389
389
  index: e.row.index + 1
@@ -408,11 +408,11 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
408
408
  },
409
409
  {
410
410
  id: "title",
411
- header: () => r("div", { class: "flex items-center w-full gap-8" }, [
412
- r("span", l("menu.group.option.product_title")),
411
+ header: () => i("div", { class: "flex items-center w-full gap-8" }, [
412
+ i("span", l("menu.group.option.product_title")),
413
413
  // `groupConfig().name` is off for an override, which disables the
414
414
  // option translation trigger rather than removing it.
415
- r(v.FmButton, {
415
+ i(v.FmButton, {
416
416
  disabled: !0,
417
417
  icon: "g_translate",
418
418
  textColor: "neutral-gray-400",
@@ -420,9 +420,9 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
420
420
  })
421
421
  ]),
422
422
  enableSorting: !1,
423
- cell: (e) => r(
423
+ cell: (e) => i(
424
424
  "div",
425
- r(q, {
425
+ i(q, {
426
426
  "aria-label": l("menu.group.a11y.row", {
427
427
  label: l("menu.group.option.product_title"),
428
428
  index: e.row.index + 1
@@ -439,21 +439,21 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
439
439
  header: () => {
440
440
  var e;
441
441
  return l("menu.group.option.price", {
442
- symbol: z((e = i.value) == null ? void 0 : e.currencyCode)
442
+ symbol: I((e = r.value) == null ? void 0 : e.currencyCode)
443
443
  });
444
444
  },
445
445
  enableSorting: !1,
446
446
  cell: (e) => {
447
447
  const a = e.row.original;
448
- return r("div", { class: "flex items-center gap-8" }, [
449
- r(hl, {
448
+ return i("div", { class: "flex items-center gap-8" }, [
449
+ i(kl, {
450
450
  class: "min-w-[88px]",
451
451
  commitOnInput: !0,
452
452
  disabled: a.orderFrom === "NONE",
453
453
  inputmode: "decimal",
454
454
  "aria-label": l("menu.group.a11y.row", {
455
455
  label: l("menu.group.option.price", {
456
- symbol: z(a.currency)
456
+ symbol: I(a.currency)
457
457
  }),
458
458
  index: e.row.index + 1
459
459
  }),
@@ -466,13 +466,13 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
466
466
  currencyDisplay: "narrowSymbol"
467
467
  }).replaceAll(/\s/g, ""),
468
468
  "onUpdate:modelValue": (s) => {
469
- var x;
470
- return (x = S.value) == null ? void 0 : x.setOptionPrice(a.id, s);
469
+ var y;
470
+ return (y = S.value) == null ? void 0 : y.setOptionPrice(a.id, s);
471
471
  }
472
472
  }),
473
473
  ...a.editPricing.state === "hidden" ? [] : [
474
- r("div", { class: "flex items-center gap-4" }, [
475
- r(
474
+ i("div", { class: "flex items-center gap-4" }, [
475
+ i(
476
476
  v.FmButton,
477
477
  {
478
478
  variant: "plain",
@@ -489,7 +489,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
489
489
  onClick: () => al(a, "members")
490
490
  },
491
491
  {
492
- default: () => r(
492
+ default: () => i(
493
493
  "span",
494
494
  { class: "underline line-clamp-2 break-all" },
495
495
  a.memberPriceCount ? l(
@@ -501,7 +501,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
501
501
  )
502
502
  }
503
503
  ),
504
- r(kl, { prices: a.memberPrices })
504
+ i(hl, { prices: a.memberPrices })
505
505
  ])
506
506
  ]
507
507
  ]);
@@ -512,7 +512,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
512
512
  size: 100,
513
513
  header: () => l("menu.common.labels.order_from"),
514
514
  enableSorting: !1,
515
- cell: (e) => r(v.FmSelect, {
515
+ cell: (e) => i(v.FmSelect, {
516
516
  "aria-label": l("menu.group.a11y.row", {
517
517
  label: l("menu.common.labels.order_from"),
518
518
  index: e.row.index + 1
@@ -540,9 +540,9 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
540
540
  meta: { cellClass: "" },
541
541
  cell: (e) => {
542
542
  const a = e.row.original;
543
- return r("div", { class: "flex items-center justify-end" }, [
543
+ return i("div", { class: "flex items-center justify-end" }, [
544
544
  ...a.editPricing.state === "hidden" ? [] : [
545
- r(Cl, {
545
+ i(Cl, {
546
546
  configured: a.hasPriceTiers,
547
547
  disabled: a.editPricing.state !== "allowed",
548
548
  label: l("menu.group.a11y.row", {
@@ -552,7 +552,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
552
552
  onOpen: () => al(a, "tiers")
553
553
  })
554
554
  ],
555
- r(v.FmButton, {
555
+ i(v.FmButton, {
556
556
  "aria-label": l("menu.group.a11y.row", {
557
557
  label: l("menu.inventory.title"),
558
558
  index: e.row.index + 1
@@ -566,7 +566,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
566
566
  }),
567
567
  // A deeper nesting level is outside the approved nested-override
568
568
  // scope, so the trigger stays in legacy's disabled state.
569
- r(v.FmButton, {
569
+ i(v.FmButton, {
570
570
  "aria-label": l("menu.group.a11y.row", {
571
571
  label: l("menu.group.nested.title"),
572
572
  index: e.row.index + 1
@@ -580,7 +580,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
580
580
  }
581
581
  }
582
582
  ]
583
- ), Xe = h(() => [
583
+ ), Xe = k(() => [
584
584
  { label: l("menu.order.from.options.all"), value: "ALL" },
585
585
  { label: l("menu.order.from.options.pos_only"), value: "POS_ONLY" },
586
586
  { label: l("menu.order.from.options.none"), value: "NONE" }
@@ -590,19 +590,19 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
590
590
  Object.entries(e).map(([a, s]) => [a, [...s]])
591
591
  );
592
592
  }
593
- function ke() {
593
+ function he() {
594
594
  var e;
595
595
  (e = J.value) == null || e.dispose(), J.value = null;
596
596
  }
597
597
  function ll(e, a) {
598
- ke(), J.value = p.value.pricingEditor(
598
+ he(), J.value = p.value.pricingEditor(
599
599
  e.id,
600
600
  a,
601
601
  e.target
602
602
  );
603
603
  }
604
604
  async function Pl(e) {
605
- return (await I(() => g.sdk.priceTier.create(e), {
605
+ return (await z(() => g.sdk.priceTier.create(e), {
606
606
  successMessage: l("menu.price_tier.add_price_group_success")
607
607
  })).kind === "success";
608
608
  }
@@ -615,7 +615,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
615
615
  }
616
616
  function al(e, a) {
617
617
  var s;
618
- ke(), J.value = ((s = S.value) == null ? void 0 : s.pricingEditor(e.id, a)) ?? null;
618
+ he(), J.value = ((s = S.value) == null ? void 0 : s.pricingEditor(e.id, a)) ?? null;
619
619
  }
620
620
  function Nl(e) {
621
621
  var a;
@@ -623,11 +623,11 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
623
623
  }
624
624
  function Ul() {
625
625
  var e, a;
626
- ((a = (e = i.value) == null ? void 0 : e.translation) == null ? void 0 : a.state) === "allowed" && (p.value.beginOptionTranslationEdit(), X.value = !0);
626
+ ((a = (e = r.value) == null ? void 0 : e.translation) == null ? void 0 : a.state) === "allowed" && (p.value.beginOptionTranslationEdit(), X.value = !0);
627
627
  }
628
628
  function tl() {
629
629
  var e, a;
630
- ((a = (e = i.value) == null ? void 0 : e.translation) == null ? void 0 : a.state) === "allowed" && (p.value.beginGroupTranslationEdit(), ee.value = !0);
630
+ ((a = (e = r.value) == null ? void 0 : e.translation) == null ? void 0 : a.state) === "allowed" && (p.value.beginGroupTranslationEdit(), ee.value = !0);
631
631
  }
632
632
  function El() {
633
633
  p.value.saveGroupTranslationEdit(), ee.value = !1;
@@ -635,21 +635,22 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
635
635
  function Fe() {
636
636
  p.value.discardGroupTranslationEdit(), ee.value = !1;
637
637
  }
638
- function zl() {
638
+ function Il() {
639
639
  p.value.saveOptionTranslationEdit(), X.value = !1;
640
640
  }
641
641
  function Le() {
642
642
  p.value.discardOptionTranslationEdit(), X.value = !1;
643
643
  }
644
- const Me = h(() => [
644
+ const Me = k(() => [
645
645
  {
646
646
  accessorKey: "isDefault",
647
647
  size: 35,
648
648
  header: () => l("menu.group.option.is_default"),
649
649
  enableSorting: !1,
650
- cell: (e) => r(v.FmCheckbox, {
650
+ cell: (e) => i(v.FmCheckbox, {
651
651
  modelValue: e.row.original.isDefault,
652
652
  value: "default",
653
+ disabled: e.row.original.edit.state !== "allowed",
653
654
  "aria-label": l("menu.group.a11y.row", {
654
655
  label: l("menu.group.option.is_default"),
655
656
  index: e.row.index + 1
@@ -666,17 +667,17 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
666
667
  size: 100,
667
668
  header: () => l("menu.group.option.code"),
668
669
  enableSorting: !1,
669
- cell: (e) => r("div", { class: "break-all max-w-[100px]" }, e.row.original.code)
670
+ cell: (e) => i("div", { class: "break-all max-w-[100px]" }, e.row.original.code)
670
671
  },
671
672
  {
672
673
  accessorKey: "name",
673
674
  header: () => {
674
675
  var e, a;
675
- return r("div", { class: "flex items-center w-full gap-8" }, [
676
- r("span", l("menu.group.option.product_title")),
677
- r(v.FmButton, {
676
+ return i("div", { class: "flex items-center w-full gap-8" }, [
677
+ i("span", l("menu.group.option.product_title")),
678
+ i(v.FmButton, {
678
679
  "aria-label": l("menu.group.translation.translate_options"),
679
- disabled: ((a = (e = i.value) == null ? void 0 : e.translation) == null ? void 0 : a.state) !== "allowed",
680
+ disabled: ((a = (e = r.value) == null ? void 0 : e.translation) == null ? void 0 : a.state) !== "allowed",
680
681
  icon: "g_translate",
681
682
  textColor: "neutral-gray-400",
682
683
  variant: "tertiary",
@@ -686,13 +687,13 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
686
687
  },
687
688
  enableSorting: !1,
688
689
  cell: (e) => {
689
- const a = e.row.original, s = [a.code, a.name || a.placeholder].filter(Boolean).join(" "), x = e.row.getIsExpanded();
690
- return r("div", { class: "flex items-center gap-8" }, [
690
+ const a = e.row.original, s = [a.code, a.name || a.placeholder].filter(Boolean).join(" "), y = e.row.getIsExpanded();
691
+ return i("div", { class: "flex items-center gap-8" }, [
691
692
  ...e.row.getCanExpand() ? [
692
- r(v.FmButton, {
693
+ i(v.FmButton, {
693
694
  icon: "keyboard_arrow_up",
694
- class: x ? "rotate-180" : "",
695
- "aria-label": x ? l("menu.apply_product.table.collapse_combinations", {
695
+ class: y ? "rotate-180" : "",
696
+ "aria-label": y ? l("menu.apply_product.table.collapse_combinations", {
696
697
  name: s
697
698
  }) : l("menu.apply_product.table.expand_combinations", {
698
699
  name: s
@@ -701,15 +702,16 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
701
702
  onClick: e.row.getToggleExpandedHandler()
702
703
  })
703
704
  ] : [],
704
- r(v.FmTextField, {
705
+ i(v.FmTextField, {
705
706
  class: "min-w-[300px]",
706
707
  modelValue: a.name,
707
708
  placeholder: a.placeholder,
709
+ disabled: a.edit.state !== "allowed",
708
710
  "aria-label": l("menu.group.a11y.row", {
709
711
  label: l("menu.group.option.product_title"),
710
712
  index: e.row.index + 1
711
713
  }),
712
- "onUpdate:modelValue": (V) => p.value.setOptionName(a.id, V, a.target)
714
+ "onUpdate:modelValue": (F) => p.value.setOptionName(a.id, F, a.target)
713
715
  })
714
716
  ]);
715
717
  }
@@ -720,22 +722,23 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
720
722
  header: () => {
721
723
  var e;
722
724
  return l("menu.group.option.price", {
723
- symbol: z((e = i.value) == null ? void 0 : e.currencyCode)
725
+ symbol: I((e = r.value) == null ? void 0 : e.currencyCode)
724
726
  });
725
727
  },
726
728
  enableSorting: !1,
727
- cell: (e) => r("div", { class: "flex items-center gap-8" }, [
728
- r(hl, {
729
+ cell: (e) => i("div", { class: "flex items-center gap-8" }, [
730
+ i(kl, {
729
731
  class: "min-w-[88px]",
730
732
  modelValue: e.row.original.priceAmount,
733
+ disabled: e.row.original.edit.state !== "allowed",
731
734
  // Legacy exposes the first option price as the form's plain
732
735
  // "Price (RM)" field. Keep that stable semantic control for the
733
736
  // catalog editor, while later rows remain uniquely named.
734
737
  "aria-label": e.row.index === 0 ? l("menu.group.option.price", {
735
- symbol: z(e.row.original.currency)
738
+ symbol: I(e.row.original.currency)
736
739
  }) : l("menu.group.a11y.row", {
737
740
  label: l("menu.group.option.price", {
738
- symbol: z(e.row.original.currency)
741
+ symbol: I(e.row.original.currency)
739
742
  }),
740
743
  index: e.row.index + 1
741
744
  }),
@@ -746,8 +749,8 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
746
749
  )
747
750
  }),
748
751
  ...e.row.original.editPricing.state === "allowed" ? [
749
- r("div", { class: "flex items-center gap-4" }, [
750
- r(
752
+ i("div", { class: "flex items-center gap-4" }, [
753
+ i(
751
754
  v.FmButton,
752
755
  {
753
756
  variant: "plain",
@@ -763,7 +766,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
763
766
  onClick: () => ll(e.row.original, "members")
764
767
  },
765
768
  {
766
- default: () => r(
769
+ default: () => i(
767
770
  "span",
768
771
  { class: "underline line-clamp-2 break-all" },
769
772
  e.row.original.memberPriceCount ? l(
@@ -775,7 +778,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
775
778
  )
776
779
  }
777
780
  ),
778
- r(kl, {
781
+ i(hl, {
779
782
  prices: e.row.original.memberPrices
780
783
  })
781
784
  ])
@@ -787,21 +790,40 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
787
790
  size: 100,
788
791
  header: () => l("menu.common.labels.order_from"),
789
792
  enableSorting: !1,
790
- cell: (e) => r(v.FmSelect, {
791
- modelValue: e.row.original.orderFrom,
792
- items: Xe.value,
793
- "aria-label": l("menu.group.a11y.row", {
794
- label: l("menu.common.labels.order_from"),
795
- index: e.row.index + 1
796
- }),
797
- "onUpdate:modelValue": (a) => {
798
- a && p.value.setOptionOrderFrom(
799
- e.row.original.id,
800
- a,
801
- e.row.original.target
802
- );
803
- }
804
- })
793
+ cell: (e) => {
794
+ const a = e.row.original.edit, s = i(v.FmSelect, {
795
+ modelValue: e.row.original.orderFrom,
796
+ items: Xe.value,
797
+ disabled: a.state !== "allowed",
798
+ "aria-label": l("menu.group.a11y.row", {
799
+ label: l("menu.common.labels.order_from"),
800
+ index: e.row.index + 1
801
+ }),
802
+ "onUpdate:modelValue": (F) => {
803
+ F && p.value.setOptionOrderFrom(
804
+ e.row.original.id,
805
+ F,
806
+ e.row.original.target
807
+ );
808
+ }
809
+ }), y = e.row.original.unavailableInCatalog;
810
+ return !y || a.state !== "disabled" ? s : i("div", { class: "flex items-center gap-4" }, [
811
+ s,
812
+ i(
813
+ v.FmTooltip,
814
+ {
815
+ content: f(a.reason),
816
+ placement: "top",
817
+ zIndex: 999
818
+ },
819
+ () => i(v.FmIcon, {
820
+ name: y === "NOT_FOR_SALE" ? "block" : "link_off",
821
+ size: "sm",
822
+ color: "system-warning-400"
823
+ })
824
+ )
825
+ ]);
826
+ }
805
827
  },
806
828
  {
807
829
  id: "actions",
@@ -809,9 +831,9 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
809
831
  header: "",
810
832
  enableSorting: !1,
811
833
  meta: { cellClass: "" },
812
- cell: (e) => r("div", { class: "flex items-center justify-end" }, [
834
+ cell: (e) => i("div", { class: "flex items-center justify-end" }, [
813
835
  ...e.row.original.editPricing.state === "allowed" ? [
814
- r(Cl, {
836
+ i(Cl, {
815
837
  configured: e.row.original.hasPriceTiers,
816
838
  label: l("menu.group.a11y.row", {
817
839
  label: l("menu.price_tier.price_tier_config"),
@@ -820,11 +842,12 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
820
842
  onOpen: () => ll(e.row.original, "tiers")
821
843
  })
822
844
  ] : [],
823
- r(v.FmButton, {
845
+ i(v.FmButton, {
824
846
  icon: "inventory_2",
825
847
  overwriteIconOutline: e.row.original.inventory.bindings.length ? "filled" : "outline",
826
848
  variant: "tertiary",
827
849
  textColor: "neutral-gray-400",
850
+ disabled: e.row.original.edit.state !== "allowed",
828
851
  "aria-label": l("menu.group.a11y.row", {
829
852
  label: l("menu.inventory.title"),
830
853
  index: e.row.index + 1
@@ -832,14 +855,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
832
855
  onClick: () => Tl(e.row.original)
833
856
  }),
834
857
  ...e.row.original.nestedGroupCount ? [
835
- r(
858
+ i(
836
859
  v.FmBadge,
837
860
  {
838
861
  class: "bg-fm-color-primary text-fm-color-neutral-white !right-0 !top-0",
839
862
  value: e.row.original.nestedGroupCount
840
863
  },
841
864
  {
842
- default: () => r(v.FmButton, {
865
+ default: () => i(v.FmButton, {
843
866
  "aria-label": l("menu.group.a11y.row", {
844
867
  label: l("menu.group.nested.title"),
845
868
  index: e.row.index + 1
@@ -847,6 +870,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
847
870
  icon: "arrow_split",
848
871
  textColor: "neutral-gray-400",
849
872
  variant: "tertiary",
873
+ disabled: e.row.original.edit.state !== "allowed",
850
874
  onClick: () => Bl(
851
875
  e.row.original.id,
852
876
  e.row.original.target
@@ -855,7 +879,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
855
879
  }
856
880
  )
857
881
  ] : [
858
- r(v.FmButton, {
882
+ i(v.FmButton, {
859
883
  "aria-label": l("menu.group.a11y.row", {
860
884
  label: l("menu.group.nested.title"),
861
885
  index: e.row.index + 1
@@ -866,7 +890,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
866
890
  variant: "tertiary"
867
891
  })
868
892
  ],
869
- r(v.FmButton, {
893
+ i(v.FmButton, {
870
894
  "aria-label": l("menu.group.a11y.row", {
871
895
  label: l("menu.common.actions.delete"),
872
896
  index: e.row.index + 1
@@ -877,18 +901,18 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
877
901
  })
878
902
  ])
879
903
  }
880
- ]), Il = h(
904
+ ]), zl = k(
881
905
  () => {
882
906
  var e;
883
- return (e = i.value) != null && e.options.length ? Me.value : Me.value.slice(0, 4);
907
+ return (e = r.value) != null && e.options.length ? Me.value : Me.value.slice(0, 4);
884
908
  }
885
909
  );
886
910
  function ol(e) {
887
- Ae(), p.value.dispose(), xe.value = {}, p.value = g.sdk.group.editor(e), ie.value = p.value.get(), Ae = p.value.subscribe(
911
+ De(), p.value.dispose(), xe.value = {}, p.value = g.sdk.group.editor(e), ie.value = p.value.get(), De = p.value.subscribe(
888
912
  (a) => ie.value = a
889
913
  );
890
914
  }
891
- const Be = h(() => {
915
+ const Be = k(() => {
892
916
  var e;
893
917
  return ((e = u.value) == null ? void 0 : e.showType) === !0;
894
918
  });
@@ -896,16 +920,16 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
896
920
  var e;
897
921
  if (((e = u.value) == null ? void 0 : e.create.state) === "allowed") {
898
922
  if (Be.value) {
899
- A.value = !0;
923
+ D.value = !0;
900
924
  return;
901
925
  }
902
- ol(), A.value = !0;
926
+ ol(), D.value = !0;
903
927
  }
904
928
  }
905
929
  function sl(e) {
906
930
  e.update.state === "allowed" && (ol(e.id), O.value = !0);
907
931
  }
908
- function Dl(e) {
932
+ function Al(e) {
909
933
  ve.open({
910
934
  type: "success",
911
935
  title: l("menu.product.manager.action.saved", { name: e }),
@@ -913,14 +937,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
913
937
  });
914
938
  }
915
939
  function Ve() {
916
- te(), ee.value && Fe(), X.value && Le(), O.value = !1, A.value = !1, Q.value = !1;
940
+ te(), ee.value && Fe(), X.value && Le(), O.value = !1, D.value = !1, Q.value = !1;
917
941
  }
918
942
  function re() {
919
943
  var e;
920
- Ie(), Ie = () => {
921
- }, (e = K.value) == null || e.dispose(), K.value = null, ze.value = !1, Z.value = !1;
944
+ ze(), ze = () => {
945
+ }, (e = K.value) == null || e.dispose(), K.value = null, Ie.value = !1, Z.value = !1;
922
946
  }
923
- function Al(e) {
947
+ function Dl(e) {
924
948
  p.value.setOptionLinks(e), xe.value = {}, Q.value = !1;
925
949
  }
926
950
  function Ll(e) {
@@ -930,13 +954,13 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
930
954
  function il(e) {
931
955
  re();
932
956
  const a = g.sdk.group.applyProduct(e.id);
933
- a && (K.value = a, N.value = a.get(), Ie = a.subscribe(
957
+ a && (K.value = a, N.value = a.get(), ze = a.subscribe(
934
958
  (s) => N.value = s
935
- ), ze.value = !0);
959
+ ), Ie.value = !0);
936
960
  }
937
961
  async function Ml() {
938
962
  var a;
939
- (await I(
963
+ (await z(
940
964
  () => K.value.submit(),
941
965
  {
942
966
  successMessage: l("menu.variant.form.saved", {
@@ -956,20 +980,20 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
956
980
  }
957
981
  function te() {
958
982
  var e;
959
- Oe(), De(), De = () => {
983
+ Oe(), Ae(), Ae = () => {
960
984
  }, (e = fe.value) == null || e.dispose(), fe.value = null, be.value = !1;
961
985
  }
962
986
  function Bl(e, a) {
963
987
  te();
964
988
  const s = p.value.nestedOverrides(e, a);
965
- s && (fe.value = s, ye.value = s.get(), De = s.subscribe((x) => ye.value = x), be.value = !0);
989
+ s && (fe.value = s, ye.value = s.get(), Ae = s.subscribe((y) => ye.value = y), be.value = !0);
966
990
  }
967
991
  function Gl(e) {
968
992
  var s;
969
993
  Oe();
970
994
  const a = (s = fe.value) == null ? void 0 : s.editor(e);
971
995
  a && (S.value = a, _e.value = a.get(), se = a.subscribe(
972
- (x) => _e.value = x
996
+ (y) => _e.value = y
973
997
  ), le.value = !0);
974
998
  }
975
999
  function Rl() {
@@ -983,9 +1007,9 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
983
1007
  }, (e = S.value) == null || e.dispose(), S.value = null, le.value = !1;
984
1008
  }
985
1009
  async function rl() {
986
- var x, V, B, Se;
987
- const e = ((x = i.value) == null ? void 0 : x.name) ?? "", a = (V = u.value) != null && V.scope.schedulerId ? u.value.scope.schedulerLabel ?? e : g.catalogPage && (((B = u.value) == null ? void 0 : B.scope.catalogLabel) ?? g.heading) || e;
988
- (await I(
1010
+ var y, F, B, Se;
1011
+ const e = ((y = r.value) == null ? void 0 : y.name) ?? "", a = (F = u.value) != null && F.scope.schedulerId ? u.value.scope.schedulerLabel ?? e : g.catalogPage && (((B = u.value) == null ? void 0 : B.scope.catalogLabel) ?? g.heading) || e;
1012
+ (await z(
989
1013
  () => ae.submit(() => p.value.submit()),
990
1014
  {
991
1015
  // A catalog's Group editor still writes the default-menu group, but the
@@ -996,7 +1020,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
996
1020
  // the approved required-field baseline contains only the field issue.
997
1021
  showLoading: () => {
998
1022
  var Pe;
999
- return ((Pe = i.value) == null ? void 0 : Pe.status) === "submitting";
1023
+ return ((Pe = r.value) == null ? void 0 : Pe.status) === "submitting";
1000
1024
  }
1001
1025
  }
1002
1026
  )).kind === "success" && Ve();
@@ -1015,7 +1039,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1015
1039
  close: !0
1016
1040
  }
1017
1041
  }).onPrimary(async () => {
1018
- await I(() => g.sdk.group.duplicate(e.id), {
1042
+ await z(() => g.sdk.group.duplicate(e.id), {
1019
1043
  // Legacy names the SOURCE group here, not the clone: `duplicateGroup`
1020
1044
  // passes `res.group.name` to `updateMenu`, and only `req.data.name`
1021
1045
  // carries the ` clone` suffix (portal manager/menu/group.ts:365 @
@@ -1048,11 +1072,11 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1048
1072
  // which the delete unlinks — not the group's own option products. The
1049
1073
  // frozen text names one item for "Add on", a group holding three
1050
1074
  // options, so the two are not interchangeable.
1051
- contentComponent: r("div", { class: "space-y-4" }, [
1052
- r("p", l("menu.group.dialogs.delete.message", { name: e.name })),
1075
+ contentComponent: i("div", { class: "space-y-4" }, [
1076
+ i("p", l("menu.group.dialogs.delete.message", { name: e.name })),
1053
1077
  ...e.appliedItemNames.length ? [
1054
- r("div", [
1055
- r(
1078
+ i("div", [
1079
+ i(
1056
1080
  "p",
1057
1081
  { class: "text-fm-color-typo-secondary mb-2" },
1058
1082
  l("menu.group.dialogs.delete.unlink_warning", {
@@ -1072,12 +1096,12 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1072
1096
  // required design-system FmList/FmListItem primitives".
1073
1097
  // Restored to FmList; the marker variance against legacy's
1074
1098
  // hollow disc is an approved difference on this dialog.
1075
- r(
1099
+ i(
1076
1100
  v.FmList,
1077
1101
  { class: "text-fm-color-typo-secondary ml-4" },
1078
1102
  {
1079
1103
  default: () => e.appliedItemNames.map(
1080
- (a) => r(
1104
+ (a) => i(
1081
1105
  v.FmListItem,
1082
1106
  {
1083
1107
  key: a,
@@ -1085,14 +1109,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1085
1109
  clickable: !1
1086
1110
  },
1087
1111
  {
1088
- default: () => r(
1112
+ default: () => i(
1089
1113
  "span",
1090
1114
  {
1091
1115
  class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary"
1092
1116
  },
1093
1117
  a
1094
1118
  ),
1095
- prepend: () => r(v.FmIcon, {
1119
+ prepend: () => i(v.FmIcon, {
1096
1120
  color: "neutral-gray-400",
1097
1121
  name: "fiber_manual_record",
1098
1122
  size: "sm"
@@ -1115,7 +1139,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1115
1139
  close: !0
1116
1140
  }
1117
1141
  }).onPrimary(async () => {
1118
- await I(() => g.sdk.group.remove(e.id), {
1142
+ await z(() => g.sdk.group.remove(e.id), {
1119
1143
  // "saved", not "removed": legacy's `deleteGroup` calls
1120
1144
  // `updateMenu(req, group.name)` without the `isDelete` flag, and
1121
1145
  // `updateMenu` derives `action = isDelete ? "removed" : "saved"`
@@ -1142,7 +1166,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1142
1166
  },
1143
1167
  { immediate: !0 }
1144
1168
  );
1145
- const ql = h(
1169
+ const ql = k(
1146
1170
  () => {
1147
1171
  var e;
1148
1172
  return (
@@ -1163,16 +1187,16 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1163
1187
  }
1164
1188
  );
1165
1189
  async function Hl(e) {
1166
- var x;
1190
+ var y;
1167
1191
  const a = $e.value;
1168
- (await I(
1169
- () => g.sdk.group.reorder(e.map((V) => V.id)),
1192
+ (await z(
1193
+ () => g.sdk.group.reorder(e.map((F) => F.id)),
1170
1194
  {
1171
1195
  successMessage: l("menu.group.reorder.success")
1172
1196
  }
1173
- )).kind !== "success" && ($e.value = [...((x = u.value) == null ? void 0 : x.rows) ?? a]);
1197
+ )).kind !== "success" && ($e.value = [...((y = u.value) == null ? void 0 : y.rows) ?? a]);
1174
1198
  }
1175
- const Ql = h(() => {
1199
+ const Ql = k(() => {
1176
1200
  var e;
1177
1201
  return [
1178
1202
  {
@@ -1192,22 +1216,22 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1192
1216
  // (ADR-0003 §3) — nothing is assembled from a template expression.
1193
1217
  cell: (a) => {
1194
1218
  const s = a.row.original.optionProducts.map(
1195
- (V) => V.variantCount > 1 ? l("menu.group.list.product_variants", {
1196
- name: V.name,
1219
+ (F) => F.variantCount > 1 ? l("menu.group.list.product_variants", {
1220
+ name: F.name,
1197
1221
  variants: l("menu.group.list.variants", {
1198
- count: V.variantCount
1222
+ count: F.variantCount
1199
1223
  })
1200
- }) : V.name
1201
- ), x = s.slice(0, 5).reduce(
1202
- (V, B) => V ? l("menu.group.list.join_products", { list: V, item: B }) : B,
1224
+ }) : F.name
1225
+ ), y = s.slice(0, 5).reduce(
1226
+ (F, B) => F ? l("menu.group.list.join_products", { list: F, item: B }) : B,
1203
1227
  ""
1204
1228
  );
1205
1229
  return s.length > 5 ? l("menu.group.list.products_more", {
1206
- products: x,
1230
+ products: y,
1207
1231
  more: l("menu.group.list.more_items", {
1208
1232
  count: s.length - 5
1209
1233
  })
1210
- }) : x;
1234
+ }) : y;
1211
1235
  }
1212
1236
  },
1213
1237
  {
@@ -1235,7 +1259,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1235
1259
  header: () => l("menu.product.table.columns.tagging"),
1236
1260
  enableSorting: !1,
1237
1261
  size: 140,
1238
- cell: (a) => r(ua, {
1262
+ cell: (a) => i(ua, {
1239
1263
  kind: "tagging",
1240
1264
  chips: a.row.original.attributeTags
1241
1265
  })
@@ -1254,7 +1278,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1254
1278
  id: "appliedProducts",
1255
1279
  header: () => l("menu.group.list.columns.applied_products"),
1256
1280
  enableSorting: !1,
1257
- cell: (a) => r(
1281
+ cell: (a) => i(
1258
1282
  v.FmButton,
1259
1283
  {
1260
1284
  // This is the design-system button equivalent of legacy's clickable
@@ -1284,7 +1308,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1284
1308
  // FmButton's default label is body-lg 600. Legacy's compact table
1285
1309
  // trigger is body-md 400, so use its supported content slot while
1286
1310
  // retaining the library's button and accessibility behaviour.
1287
- default: () => r(
1311
+ default: () => i(
1288
1312
  "span",
1289
1313
  { class: "fm-typo-en-body-md-400" },
1290
1314
  l("menu.group.list.items_linked", {
@@ -1302,10 +1326,10 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1302
1326
  meta: { cellClass: "pl-16", headerContentClass: "-mx-16" },
1303
1327
  cell: (a) => {
1304
1328
  const s = a.row.original;
1305
- return r(
1329
+ return i(
1306
1330
  "div",
1307
1331
  { class: "flex justify-end" },
1308
- r(
1332
+ i(
1309
1333
  v.FmMenu,
1310
1334
  {
1311
1335
  closeOnClick: !0,
@@ -1315,7 +1339,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1315
1339
  }, ["stop"])
1316
1340
  },
1317
1341
  {
1318
- "menu-button": () => r(v.FmButton, {
1342
+ "menu-button": () => i(v.FmButton, {
1319
1343
  type: "button",
1320
1344
  variant: "tertiary",
1321
1345
  icon: "more_vert",
@@ -1325,7 +1349,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1325
1349
  })
1326
1350
  }),
1327
1351
  default: () => [
1328
- r(v.FmMenuItem, {
1352
+ i(v.FmMenuItem, {
1329
1353
  label: l("menu.common.actions.edit"),
1330
1354
  disabled: s.update.state !== "allowed",
1331
1355
  onClick: R(
@@ -1333,14 +1357,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1333
1357
  ["stop", "prevent"]
1334
1358
  )
1335
1359
  }),
1336
- r(v.FmMenuItem, {
1360
+ i(v.FmMenuItem, {
1337
1361
  label: l("menu.group.actions.apply_product"),
1338
1362
  onClick: R(
1339
1363
  () => il(s),
1340
1364
  ["stop", "prevent"]
1341
1365
  )
1342
1366
  }),
1343
- r(v.FmMenuItem, {
1367
+ i(v.FmMenuItem, {
1344
1368
  label: l("menu.group.actions.duplicate_action"),
1345
1369
  disabled: s.duplicate.state !== "allowed",
1346
1370
  onClick: R(
@@ -1348,7 +1372,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1348
1372
  ["stop", "prevent"]
1349
1373
  )
1350
1374
  }),
1351
- r(v.FmMenuItem, {
1375
+ i(v.FmMenuItem, {
1352
1376
  label: l("menu.common.actions.delete"),
1353
1377
  disabled: s.remove.state !== "allowed",
1354
1378
  onClick: R(
@@ -1365,10 +1389,10 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1365
1389
  ];
1366
1390
  });
1367
1391
  return Wl(() => {
1368
- re(), ke(), Ce(), ee.value && Fe(), X.value && Le(), te(), Ae(), p.value.dispose();
1392
+ re(), he(), Ce(), ee.value && Fe(), X.value && Le(), te(), De(), p.value.dispose();
1369
1393
  }), (e, a) => {
1370
- const s = F("FmButton"), x = F("FmCircularProgress"), V = F("FmChip"), B = F("FmMenuItem"), Se = F("FmMenu"), Pe = F("FmSearch"), ue = F("FmTable"), ul = F("FmTooltip"), oe = F("FmStepperField"), de = F("FmFormGroup"), Ge = F("FmSwitch"), me = F("FmSideSheet"), Zl = F("FmHelperText");
1371
- return c(), k(ra, {
1394
+ const s = V("FmButton"), y = V("FmCircularProgress"), F = V("FmChip"), B = V("FmMenuItem"), Se = V("FmMenu"), Pe = V("FmSearch"), ue = V("FmTable"), ul = V("FmTooltip"), oe = V("FmStepperField"), de = V("FmFormGroup"), Ge = V("FmSwitch"), me = V("FmSideSheet"), Zl = V("FmHelperText");
1395
+ return c(), h(ra, {
1372
1396
  heading: e.heading || t(l)("menu.group.title")
1373
1397
  }, {
1374
1398
  "prepend-heading": m(() => [
@@ -1377,19 +1401,19 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1377
1401
  "append-heading": m(() => {
1378
1402
  var ce;
1379
1403
  return [
1380
- e.catalogPage ? w("", !0) : (c(), b("div", ja, [
1404
+ e.catalogPage ? x("", !0) : (c(), b("div", ja, [
1381
1405
  d("div", Ka, [
1382
1406
  o(ia, {
1383
1407
  value: t(T)(((ce = u.value) == null ? void 0 : ce.filteredCount) ?? 0)
1384
1408
  }, null, 8, ["value"])
1385
1409
  ]),
1386
- u.value && u.value.filteredCount > 0 ? (c(), k(s, {
1410
+ u.value && u.value.filteredCount > 0 ? (c(), h(s, {
1387
1411
  key: 0,
1388
1412
  disabled: u.value.create.state !== "allowed",
1389
1413
  label: t(l)("menu.group.actions.add"),
1390
1414
  "prepend-icon": "add",
1391
1415
  onClick: nl
1392
- }, null, 8, ["disabled", "label"])) : w("", !0)
1416
+ }, null, 8, ["disabled", "label"])) : x("", !0)
1393
1417
  ])),
1394
1418
  e.catalogPage ? (c(), b("div", Ya, [
1395
1419
  Te(e.$slots, "append-heading")
@@ -1400,19 +1424,19 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1400
1424
  var ce, dl, ml, cl;
1401
1425
  return [
1402
1426
  Te(e.$slots, "navigation"),
1403
- t(D).status === "error" ? (c(), b("p", qa, y(t(_)(t(D).error.message)), 1)) : t(D).status === "unavailable" ? (c(), b("div", Ha, [
1427
+ t(A).status === "error" ? (c(), b("p", qa, w(t(f)(t(A).error.message)), 1)) : t(A).status === "unavailable" ? (c(), b("div", Ha, [
1404
1428
  o(t(yl), {
1405
1429
  title: t(l)("menu.group.empty.title"),
1406
1430
  subtitle: t(l)("menu.group.empty.subtitle")
1407
1431
  }, null, 8, ["title", "subtitle"])
1408
- ])) : t(D).status === "loading" ? (c(), k(x, { key: 2 })) : u.value && u.value.totalCount === 0 ? (c(), k(t(yl), {
1432
+ ])) : t(A).status === "loading" ? (c(), h(y, { key: 2 })) : u.value && u.value.totalCount === 0 ? (c(), h(t(yl), {
1409
1433
  key: 3,
1410
1434
  action: u.value.create.state === "allowed" ? { text: t(l)("menu.group.actions.add"), callback: nl } : void 0,
1411
1435
  title: t(l)("menu.group.empty.title"),
1412
1436
  subtitle: t(l)("menu.group.empty.subtitle")
1413
1437
  }, null, 8, ["action", "title", "subtitle"])) : u.value ? (c(), b(j, { key: 4 }, [
1414
1438
  d("div", Qa, [
1415
- u.value.scope.schedulerSelector.state === "allowed" ? (c(), k(da, {
1439
+ u.value.scope.schedulerSelector.state === "allowed" ? (c(), h(da, {
1416
1440
  key: 0,
1417
1441
  options: ne.value,
1418
1442
  "model-value": u.value.scope.schedulerId,
@@ -1423,13 +1447,13 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1423
1447
  catalogId: u.value.scope.catalogId,
1424
1448
  schedulerId: n
1425
1449
  }))
1426
- }, null, 8, ["options", "model-value", "title"])) : u.value.showType ? w("", !0) : (c(), b("div", Za)),
1427
- u.value.showType ? (c(), k(Se, {
1450
+ }, null, 8, ["options", "model-value", "title"])) : u.value.showType ? x("", !0) : (c(), b("div", Za)),
1451
+ u.value.showType ? (c(), h(Se, {
1428
1452
  key: 2,
1429
1453
  "close-on-click": ""
1430
1454
  }, {
1431
1455
  "menu-button": m(() => [
1432
- o(V, {
1456
+ o(F, {
1433
1457
  class: "text-fm-color-typo-secondary",
1434
1458
  label: t(l)("menu.group.type.title", {
1435
1459
  type: u.value.typeFilter ? t(l)(t(wl)[u.value.typeFilter]) : t(l)("menu.common.labels.all")
@@ -1447,11 +1471,11 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1447
1471
  key: n,
1448
1472
  class: "px-16 py-8",
1449
1473
  label: t(l)(H[n]),
1450
- onClick: (f) => g.sdk.group.setTypeFilter(n)
1474
+ onClick: (_) => g.sdk.group.setTypeFilter(n)
1451
1475
  }, null, 8, ["label", "onClick"])), 64))
1452
1476
  ]),
1453
1477
  _: 1
1454
- })) : w("", !0),
1478
+ })) : x("", !0),
1455
1479
  d("div", Ja, [
1456
1480
  o(Pe, {
1457
1481
  autofocus: "",
@@ -1476,8 +1500,8 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1476
1500
  }, null, 8, ["column-defs", "column-visibility", "draggable", "page-size", "row-data"]), [
1477
1501
  [t(ga), t(l)("menu.group.list.columns.name")]
1478
1502
  ])
1479
- ], 64)) : w("", !0),
1480
- ((ce = i.value) == null ? void 0 : ce.mode) === "update" ? (c(), k(me, {
1503
+ ], 64)) : x("", !0),
1504
+ ((ce = r.value) == null ? void 0 : ce.mode) === "update" ? (c(), h(me, {
1481
1505
  key: 5,
1482
1506
  modelValue: O.value,
1483
1507
  "onUpdate:modelValue": a[8] || (a[8] = (n) => O.value = n),
@@ -1486,12 +1510,12 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1486
1510
  "max-width": 800
1487
1511
  }, {
1488
1512
  "side-sheet-header": m(() => [
1489
- d("p", Wa, y(t(l)("menu.group.update")), 1)
1513
+ d("p", Wa, w(t(l)("menu.group.update")), 1)
1490
1514
  ]),
1491
1515
  "side-sheet-footer": m(() => [
1492
1516
  d("div", ot, [
1493
1517
  o(s, {
1494
- disabled: i.value.submit.state !== "allowed",
1518
+ disabled: r.value.submit.state !== "allowed",
1495
1519
  label: t(l)("menu.common.actions.update"),
1496
1520
  size: "lg",
1497
1521
  type: "submit"
@@ -1512,9 +1536,9 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1512
1536
  return [
1513
1537
  o(q, gl({
1514
1538
  autofocus: "",
1515
- "error-messages": we.value ? [t(_)(we.value)] : [],
1539
+ "error-messages": we.value ? [t(f)(we.value)] : [],
1516
1540
  label: t(l)("menu.common.labels.group_name"),
1517
- "model-value": i.value.name
1541
+ "model-value": r.value.name
1518
1542
  }, t(ae).field("name", p.value.setName)), {
1519
1543
  append: m(() => [
1520
1544
  o(ul, {
@@ -1523,11 +1547,11 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1523
1547
  "z-index": 999
1524
1548
  }, {
1525
1549
  default: m(() => {
1526
- var f;
1550
+ var _;
1527
1551
  return [
1528
1552
  o(s, {
1529
1553
  "aria-label": t(l)("menu.group.translation.translate_name"),
1530
- disabled: ((f = i.value.translation) == null ? void 0 : f.state) !== "allowed",
1554
+ disabled: ((_ = r.value.translation) == null ? void 0 : _.state) !== "allowed",
1531
1555
  icon: "g_translate",
1532
1556
  variant: "tertiary",
1533
1557
  onClick: tl
@@ -1540,7 +1564,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1540
1564
  _: 1
1541
1565
  }, 16, ["error-messages", "label", "model-value"]),
1542
1566
  o(de, {
1543
- "model-value": `${i.value.min} ${i.value.max}`
1567
+ "model-value": `${r.value.min} ${r.value.max}`
1544
1568
  }, {
1545
1569
  default: m(() => [
1546
1570
  o(Ke, null, {
@@ -1549,14 +1573,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1549
1573
  class: "flex-1",
1550
1574
  label: t(l)("menu.common.labels.min_select"),
1551
1575
  min: 0,
1552
- "model-value": i.value.min,
1576
+ "model-value": r.value.min,
1553
1577
  "onUpdate:modelValue": p.value.setMin
1554
1578
  }, null, 8, ["label", "model-value", "onUpdate:modelValue"]),
1555
1579
  o(oe, {
1556
1580
  class: "flex-1",
1557
1581
  label: t(l)("menu.common.labels.max_select"),
1558
- min: i.value.min,
1559
- "model-value": i.value.max,
1582
+ min: r.value.min,
1583
+ "model-value": r.value.max,
1560
1584
  "onUpdate:modelValue": p.value.setMax
1561
1585
  }, null, 8, ["label", "min", "model-value", "onUpdate:modelValue"])
1562
1586
  ]),
@@ -1572,14 +1596,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1572
1596
  o(Ge, {
1573
1597
  label: t(l)("menu.common.labels.stackable"),
1574
1598
  "label-placement": "right",
1575
- "model-value": i.value.stackable,
1599
+ "model-value": r.value.stackable,
1576
1600
  sublabel: t(l)("menu.common.labels.stackable_sublabel"),
1577
1601
  "onUpdate:modelValue": p.value.setStackable
1578
1602
  }, null, 8, ["label", "model-value", "sublabel", "onUpdate:modelValue"])
1579
1603
  ]),
1580
1604
  _: 1
1581
1605
  }, 8, ["label"]),
1582
- (n = i.value.tagging) != null && n.visible ? (c(), k(pe, {
1606
+ (n = r.value.tagging) != null && n.visible ? (c(), h(pe, {
1583
1607
  key: 0,
1584
1608
  "sub-title": t(l)("menu.group.form.tagging.subtitle"),
1585
1609
  title: t(l)("menu.group.form.tagging.title")
@@ -1587,13 +1611,13 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1587
1611
  default: m(() => [
1588
1612
  o(t(bl), {
1589
1613
  entity: "group",
1590
- "model-value": i.value.customAttributes ?? {},
1591
- "value-options": el(i.value.attributeValueOptions),
1592
- "onUpdate:modelValue": a[3] || (a[3] = (f) => p.value.setCustomAttributes(f ?? null))
1614
+ "model-value": r.value.customAttributes ?? {},
1615
+ "value-options": el(r.value.attributeValueOptions),
1616
+ "onUpdate:modelValue": a[3] || (a[3] = (_) => p.value.setCustomAttributes(_ ?? null))
1593
1617
  }, null, 8, ["model-value", "value-options"])
1594
1618
  ]),
1595
1619
  _: 1
1596
- }, 8, ["sub-title", "title"])) : w("", !0)
1620
+ }, 8, ["sub-title", "title"])) : x("", !0)
1597
1621
  ];
1598
1622
  }),
1599
1623
  _: 1
@@ -1601,21 +1625,21 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1601
1625
  o(de, {
1602
1626
  tag: "div",
1603
1627
  "helper-text": t(l)("menu.common.validation.default_items_tip", {
1604
- count: i.value.options.filter((n) => n.isDefault).length,
1605
- max: i.value.max
1628
+ count: r.value.options.filter((n) => n.isDefault).length,
1629
+ max: r.value.max
1606
1630
  }),
1607
- "model-value": i.value.options
1631
+ "model-value": r.value.options
1608
1632
  }, {
1609
1633
  default: m(() => [
1610
1634
  o(pe, {
1611
1635
  class: "mb-8",
1612
- "sub-title": i.value.linkOptions.state !== "hidden" ? t(l)("menu.group.option.subtitle") : "",
1636
+ "sub-title": r.value.linkOptions.state !== "hidden" ? t(l)("menu.group.option.subtitle") : "",
1613
1637
  title: t(l)("menu.group.option.title")
1614
1638
  }, {
1615
1639
  "append-title": m(() => [
1616
- i.value.linkOptions.state !== "hidden" ? (c(), b("div", et, [
1640
+ r.value.linkOptions.state !== "hidden" ? (c(), b("div", et, [
1617
1641
  o(s, {
1618
- disabled: i.value.linkOptions.state !== "allowed",
1642
+ disabled: r.value.linkOptions.state !== "allowed",
1619
1643
  "border-color": "primary",
1620
1644
  label: t(l)("menu.group.option.link_products"),
1621
1645
  "prepend-icon": "link",
@@ -1623,9 +1647,9 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1623
1647
  variant: "secondary",
1624
1648
  onClick: a[4] || (a[4] = (n) => Q.value = !0)
1625
1649
  }, null, 8, ["disabled", "label"])
1626
- ])) : i.value.addOption.state !== "hidden" ? (c(), b("div", lt, [
1650
+ ])) : r.value.addOption.state !== "hidden" ? (c(), b("div", lt, [
1627
1651
  o(s, {
1628
- disabled: i.value.addOption.state !== "allowed",
1652
+ disabled: r.value.addOption.state !== "allowed",
1629
1653
  "border-color": "primary",
1630
1654
  label: t(l)("menu.group.option.add_option"),
1631
1655
  "prepend-icon": "add",
@@ -1633,7 +1657,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1633
1657
  variant: "secondary",
1634
1658
  onClick: a[5] || (a[5] = (n) => p.value.addOption())
1635
1659
  }, null, 8, ["disabled", "label"])
1636
- ])) : w("", !0)
1660
+ ])) : x("", !0)
1637
1661
  ]),
1638
1662
  default: m(() => [
1639
1663
  d("div", at, [
@@ -1644,13 +1668,13 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1644
1668
  "expanded-state": xe.value,
1645
1669
  "get-row-can-expand": (n) => n.original.variants.length > 0,
1646
1670
  "get-row-id": (n) => n.target === "base" ? n.id : `${n.id}:${n.target}`,
1647
- "page-size": Math.max(i.value.options.length, 1),
1671
+ "page-size": Math.max(r.value.options.length, 1),
1648
1672
  "row-data": Ze.value,
1649
1673
  "shrink-at": !1,
1650
1674
  "hide-footer": "",
1651
1675
  "onUpdate:expandedState": a[6] || (a[6] = (n) => xe.value = n),
1652
1676
  onDndChanged: a[7] || (a[7] = (n) => p.value.reorderOptions(
1653
- n.map((f) => f.id)
1677
+ n.map((_) => _.id)
1654
1678
  ))
1655
1679
  }, null, 8, ["column-defs", "draggable", "expanded-state", "get-row-can-expand", "get-row-id", "page-size", "row-data"])
1656
1680
  ])
@@ -1661,17 +1685,17 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1661
1685
  ]),
1662
1686
  _: 1
1663
1687
  }, 8, ["helper-text", "model-value"]),
1664
- (c(!0), b(j, null, Y(Qe.value, (n, f) => (c(), b("p", {
1665
- key: `${n.code}-${f}`,
1688
+ (c(!0), b(j, null, Y(Qe.value, (n, _) => (c(), b("p", {
1689
+ key: `${n.code}-${_}`,
1666
1690
  class: "fm-typo-en-body-sm-400 text-fm-color-status-error",
1667
1691
  role: "alert"
1668
- }, y(t(_)(n)), 1))), 128))
1692
+ }, w(t(f)(n)), 1))), 128))
1669
1693
  ])
1670
1694
  ]),
1671
1695
  _: 1
1672
- }, 8, ["modelValue", "is-container", "is-container-props"])) : w("", !0),
1696
+ }, 8, ["modelValue", "is-container", "is-container-props"])) : x("", !0),
1673
1697
  o(me, {
1674
- "model-value": ze.value,
1698
+ "model-value": Ie.value,
1675
1699
  "is-container": t(v).FmForm,
1676
1700
  "is-container-props": { onValidationSuccess: Ml },
1677
1701
  "max-width": 560,
@@ -1697,12 +1721,12 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1697
1721
  ];
1698
1722
  }),
1699
1723
  default: m(() => {
1700
- var n, f, E;
1724
+ var n, _, E;
1701
1725
  return [
1702
- N.value.status === "error" ? (c(), b("p", nt, y(t(_)(N.value.error.message)), 1)) : N.value.status === "unavailable" ? (c(), b("p", st, y(t(_)(N.value.reason)), 1)) : N.value.status === "loading" ? (c(), k(x, { key: 2 })) : L.value ? (c(), k(ta, {
1726
+ N.value.status === "error" ? (c(), b("p", nt, w(t(f)(N.value.error.message)), 1)) : N.value.status === "unavailable" ? (c(), b("p", st, w(t(f)(N.value.reason)), 1)) : N.value.status === "loading" ? (c(), h(y, { key: 2 })) : L.value ? (c(), h(ta, {
1703
1727
  key: 3,
1704
1728
  "applied-count": ((n = L.value) == null ? void 0 : n.appliedProductCount) ?? 0,
1705
- groups: ((f = L.value) == null ? void 0 : f.linkedGroups) ?? [],
1729
+ groups: ((_ = L.value) == null ? void 0 : _.linkedGroups) ?? [],
1706
1730
  query: ((E = L.value) == null ? void 0 : E.linkedProductQuery) ?? "",
1707
1731
  title: t(l)("menu.group.option.title"),
1708
1732
  onUnapply: a[10] || (a[10] = (P) => {
@@ -1723,12 +1747,12 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1723
1747
  }, null, 8, ["label"])
1724
1748
  ]),
1725
1749
  _: 1
1726
- }, 8, ["applied-count", "groups", "query", "title"])) : w("", !0)
1750
+ }, 8, ["applied-count", "groups", "query", "title"])) : x("", !0)
1727
1751
  ];
1728
1752
  }),
1729
1753
  _: 1
1730
1754
  }, 8, ["model-value", "is-container", "is-container-props"]),
1731
- N.value.status === "ready" ? (c(), k(xl, {
1755
+ N.value.status === "ready" ? (c(), h(xl, {
1732
1756
  key: 6,
1733
1757
  modelValue: Z.value,
1734
1758
  "onUpdate:modelValue": a[13] || (a[13] = (n) => Z.value = n),
@@ -1736,53 +1760,53 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1736
1760
  "selected-product-ids": ((dl = L.value) == null ? void 0 : dl.linkedProductIds) ?? [],
1737
1761
  title: t(l)("menu.common.actions.link_product"),
1738
1762
  onSubmit: Ll
1739
- }, null, 8, ["modelValue", "catalogue", "selected-product-ids", "title"])) : w("", !0),
1763
+ }, null, 8, ["modelValue", "catalogue", "selected-product-ids", "title"])) : x("", !0),
1740
1764
  o(xl, {
1741
1765
  modelValue: Q.value,
1742
1766
  "onUpdate:modelValue": a[14] || (a[14] = (n) => Q.value = n),
1743
1767
  catalogue: He.value,
1744
- "selected-products": ((ml = i.value) == null ? void 0 : ml.optionLinks) ?? [],
1768
+ "selected-products": ((ml = r.value) == null ? void 0 : ml.optionLinks) ?? [],
1745
1769
  "select-variant": !0,
1746
1770
  title: t(l)("menu.group.option.link_products"),
1747
- onSubmitLinks: Al
1771
+ onSubmitLinks: Dl
1748
1772
  }, null, 8, ["modelValue", "catalogue", "selected-products", "title"]),
1749
- ee.value && i.value ? (c(), k(ma, {
1773
+ ee.value && r.value ? (c(), h(ma, {
1750
1774
  key: 7,
1751
- dirty: i.value.translationDirty,
1775
+ dirty: r.value.translationDirty,
1752
1776
  "model-value": !0,
1753
- name: i.value.name,
1754
- "name-locale": i.value.nameLocale,
1777
+ name: r.value.name,
1778
+ "name-locale": r.value.nameLocale,
1755
1779
  "name-section-label": t(l)("menu.common.translation.name_section", {
1756
1780
  entity: t(l)("menu.group.title")
1757
1781
  }),
1758
- "supported-locales": i.value.supportedLocales,
1782
+ "supported-locales": r.value.supportedLocales,
1759
1783
  title: t(l)("menu.group.translation.title"),
1760
1784
  onDiscard: Fe,
1761
1785
  onSave: El,
1762
1786
  "onUpdate:modelValue": a[15] || (a[15] = (n) => !n && Fe()),
1763
1787
  "onUpdate:name": a[16] || (a[16] = (n) => p.value.setName(n)),
1764
1788
  "onUpdate:nameLocale": a[17] || (a[17] = (n) => p.value.setNameLocale(n))
1765
- }, null, 8, ["dirty", "name", "name-locale", "name-section-label", "supported-locales", "title"])) : w("", !0),
1766
- i.value ? (c(), k(Ra, {
1789
+ }, null, 8, ["dirty", "name", "name-locale", "name-section-label", "supported-locales", "title"])) : x("", !0),
1790
+ r.value ? (c(), h(Ra, {
1767
1791
  key: 8,
1768
1792
  "model-value": X.value,
1769
1793
  session: p.value,
1770
- view: i.value,
1794
+ view: r.value,
1771
1795
  onDiscard: Le,
1772
- onSave: zl
1773
- }, null, 8, ["model-value", "session", "view"])) : w("", !0),
1774
- J.value ? (c(), k(na, {
1796
+ onSave: Il
1797
+ }, null, 8, ["model-value", "session", "view"])) : x("", !0),
1798
+ J.value ? (c(), h(na, {
1775
1799
  key: 9,
1776
1800
  session: J.value,
1777
1801
  "on-create-price-group": Pl,
1778
- onClose: ke
1779
- }, null, 8, ["session"])) : w("", !0),
1780
- W.value ? (c(), k(t(Ue), {
1802
+ onClose: he
1803
+ }, null, 8, ["session"])) : x("", !0),
1804
+ W.value ? (c(), h(t(Ue), {
1781
1805
  key: 10,
1782
1806
  "product-name": ge.value,
1783
1807
  session: W.value,
1784
1808
  onClose: Ce
1785
- }, null, 8, ["product-name", "session"])) : w("", !0),
1809
+ }, null, 8, ["product-name", "session"])) : x("", !0),
1786
1810
  o(me, {
1787
1811
  "model-value": be.value,
1788
1812
  "close-button": !1,
@@ -1798,8 +1822,8 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1798
1822
  variant: "tertiary",
1799
1823
  onClick: te
1800
1824
  }, null, 8, ["aria-label"]),
1801
- be.value ? (c(), b("span", rt)) : w("", !0),
1802
- d("p", ut, y(t(l)("menu.group.nested.title")), 1)
1825
+ be.value ? (c(), b("span", rt)) : x("", !0),
1826
+ d("p", ut, w(t(l)("menu.group.nested.title")), 1)
1803
1827
  ]),
1804
1828
  "side-sheet-footer": m(() => [
1805
1829
  o(s, {
@@ -1813,11 +1837,11 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1813
1837
  return [
1814
1838
  d("div", dt, [
1815
1839
  d("div", mt, [
1816
- d("p", ct, y(t(l)("menu.group.nested.currently_configuring")), 1),
1817
- d("p", pt, y((n = Je.value) == null ? void 0 : n.optionName), 1)
1840
+ d("p", ct, w(t(l)("menu.group.nested.currently_configuring")), 1),
1841
+ d("p", pt, w((n = Je.value) == null ? void 0 : n.optionName), 1)
1818
1842
  ]),
1819
1843
  d("div", vt, [
1820
- d("p", gt, y(t(l)("menu.group.nested.subtitle")), 1),
1844
+ d("p", gt, w(t(l)("menu.group.nested.subtitle")), 1),
1821
1845
  o(ue, {
1822
1846
  "column-defs": $l.value,
1823
1847
  "page-size": We.value.length,
@@ -1839,8 +1863,8 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1839
1863
  "onUpdate:modelValue": a[19] || (a[19] = (n) => !n && Oe())
1840
1864
  }, {
1841
1865
  "side-sheet-header": m(() => [
1842
- le.value ? (c(), b("span", bt, y(t(l)("menu.common.labels.nested_group_override")), 1)) : w("", !0),
1843
- d("p", ft, y(t(l)("menu.group.update")), 1)
1866
+ le.value ? (c(), b("span", bt, w(t(l)("menu.common.labels.nested_group_override")), 1)) : x("", !0),
1867
+ d("p", ft, w(t(l)("menu.group.update")), 1)
1844
1868
  ]),
1845
1869
  "side-sheet-footer": m(() => [
1846
1870
  d("div", xt, [
@@ -1858,7 +1882,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1858
1882
  ])
1859
1883
  ]),
1860
1884
  default: m(() => {
1861
- var n, f;
1885
+ var n, _;
1862
1886
  return [
1863
1887
  d("div", yt, [
1864
1888
  o(Re, null, {
@@ -1926,10 +1950,10 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1926
1950
  class: "!gap-16",
1927
1951
  tag: "div",
1928
1952
  "helper-text": t(l)("menu.common.validation.default_items_tip", {
1929
- count: he.value.filter((E) => E.isDefault).length,
1953
+ count: ke.value.filter((E) => E.isDefault).length,
1930
1954
  max: ((n = M.value) == null ? void 0 : n.max) ?? 0
1931
1955
  }),
1932
- "model-value": he.value
1956
+ "model-value": ke.value
1933
1957
  }, {
1934
1958
  default: m(() => [
1935
1959
  o(pe, {
@@ -1940,8 +1964,8 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1940
1964
  d("div", wt, [
1941
1965
  o(ue, {
1942
1966
  "column-defs": Sl.value,
1943
- "page-size": Math.max(he.value.length, 1),
1944
- "row-data": he.value,
1967
+ "page-size": Math.max(ke.value.length, 1),
1968
+ "row-data": ke.value,
1945
1969
  "shrink-at": !1,
1946
1970
  "hide-footer": ""
1947
1971
  }, null, 8, ["column-defs", "page-size", "row-data"])
@@ -1953,37 +1977,37 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1953
1977
  ]),
1954
1978
  _: 1
1955
1979
  }, 8, ["helper-text", "model-value"]),
1956
- (c(!0), b(j, null, Y(((f = M.value) == null ? void 0 : f.issues) ?? [], (E, P) => (c(), k(Zl, {
1980
+ (c(!0), b(j, null, Y(((_ = M.value) == null ? void 0 : _.issues) ?? [], (E, P) => (c(), h(Zl, {
1957
1981
  key: `${E.code}-${P}`,
1958
1982
  state: "error",
1959
- text: t(_)(E)
1983
+ text: t(f)(E)
1960
1984
  }, null, 8, ["text"]))), 128))
1961
1985
  ])
1962
1986
  ];
1963
1987
  }),
1964
1988
  _: 1
1965
1989
  }, 8, ["model-value"]),
1966
- A.value && Be.value ? (c(), k(sa, {
1990
+ D.value && Be.value ? (c(), h(sa, {
1967
1991
  key: 11,
1968
1992
  sdk: g.sdk,
1969
1993
  onClose: Ve,
1970
- onCreated: Dl
1971
- }, null, 8, ["sdk"])) : w("", !0),
1972
- ((cl = i.value) == null ? void 0 : cl.mode) === "create" && !Be.value ? (c(), k(me, {
1994
+ onCreated: Al
1995
+ }, null, 8, ["sdk"])) : x("", !0),
1996
+ ((cl = r.value) == null ? void 0 : cl.mode) === "create" && !Be.value ? (c(), h(me, {
1973
1997
  key: 12,
1974
- modelValue: A.value,
1975
- "onUpdate:modelValue": a[23] || (a[23] = (n) => A.value = n),
1998
+ modelValue: D.value,
1999
+ "onUpdate:modelValue": a[23] || (a[23] = (n) => D.value = n),
1976
2000
  "is-container": t(v).FmForm,
1977
2001
  "is-container-props": { onValidationSuccess: rl },
1978
2002
  "max-width": 800
1979
2003
  }, {
1980
2004
  "side-sheet-header": m(() => [
1981
- d("p", ht, y(t(l)("menu.group.add")), 1)
2005
+ d("p", kt, w(t(l)("menu.group.add")), 1)
1982
2006
  ]),
1983
2007
  "side-sheet-footer": m(() => [
1984
2008
  d("div", Vt, [
1985
2009
  o(s, {
1986
- disabled: i.value.submit.state !== "allowed",
2010
+ disabled: r.value.submit.state !== "allowed",
1987
2011
  label: t(l)("menu.common.actions.add"),
1988
2012
  size: "lg",
1989
2013
  type: "submit"
@@ -1997,16 +2021,16 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
1997
2021
  ])
1998
2022
  ]),
1999
2023
  default: m(() => [
2000
- d("div", kt, [
2024
+ d("div", ht, [
2001
2025
  o(Re, null, {
2002
2026
  default: m(() => {
2003
2027
  var n;
2004
2028
  return [
2005
2029
  o(q, gl({
2006
2030
  autofocus: "",
2007
- "error-messages": we.value ? [t(_)(we.value)] : [],
2031
+ "error-messages": we.value ? [t(f)(we.value)] : [],
2008
2032
  label: t(l)("menu.common.labels.group_name"),
2009
- "model-value": i.value.name
2033
+ "model-value": r.value.name
2010
2034
  }, t(ae).field("name", p.value.setName)), {
2011
2035
  append: m(() => [
2012
2036
  o(ul, {
@@ -2015,11 +2039,11 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
2015
2039
  "z-index": 999
2016
2040
  }, {
2017
2041
  default: m(() => {
2018
- var f;
2042
+ var _;
2019
2043
  return [
2020
2044
  o(s, {
2021
2045
  "aria-label": t(l)("menu.group.translation.translate_name"),
2022
- disabled: ((f = i.value.translation) == null ? void 0 : f.state) !== "allowed",
2046
+ disabled: ((_ = r.value.translation) == null ? void 0 : _.state) !== "allowed",
2023
2047
  icon: "g_translate",
2024
2048
  variant: "tertiary",
2025
2049
  onClick: tl
@@ -2032,7 +2056,7 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
2032
2056
  _: 1
2033
2057
  }, 16, ["error-messages", "label", "model-value"]),
2034
2058
  o(de, {
2035
- "model-value": `${i.value.min} ${i.value.max}`
2059
+ "model-value": `${r.value.min} ${r.value.max}`
2036
2060
  }, {
2037
2061
  default: m(() => [
2038
2062
  o(Ke, null, {
@@ -2041,14 +2065,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
2041
2065
  class: "flex-1",
2042
2066
  label: t(l)("menu.common.labels.min_select"),
2043
2067
  min: 0,
2044
- "model-value": i.value.min,
2068
+ "model-value": r.value.min,
2045
2069
  "onUpdate:modelValue": p.value.setMin
2046
2070
  }, null, 8, ["label", "model-value", "onUpdate:modelValue"]),
2047
2071
  o(oe, {
2048
2072
  class: "flex-1",
2049
2073
  label: t(l)("menu.common.labels.max_select"),
2050
- min: i.value.min,
2051
- "model-value": i.value.max,
2074
+ min: r.value.min,
2075
+ "model-value": r.value.max,
2052
2076
  "onUpdate:modelValue": p.value.setMax
2053
2077
  }, null, 8, ["label", "min", "model-value", "onUpdate:modelValue"])
2054
2078
  ]),
@@ -2064,14 +2088,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
2064
2088
  o(Ge, {
2065
2089
  label: t(l)("menu.common.labels.stackable"),
2066
2090
  "label-placement": "right",
2067
- "model-value": i.value.stackable,
2091
+ "model-value": r.value.stackable,
2068
2092
  sublabel: t(l)("menu.common.labels.stackable_sublabel"),
2069
2093
  "onUpdate:modelValue": p.value.setStackable
2070
2094
  }, null, 8, ["label", "model-value", "sublabel", "onUpdate:modelValue"])
2071
2095
  ]),
2072
2096
  _: 1
2073
2097
  }, 8, ["label"]),
2074
- (n = i.value.tagging) != null && n.visible ? (c(), k(pe, {
2098
+ (n = r.value.tagging) != null && n.visible ? (c(), h(pe, {
2075
2099
  key: 0,
2076
2100
  "sub-title": t(l)("menu.group.form.tagging.subtitle"),
2077
2101
  title: t(l)("menu.group.form.tagging.title")
@@ -2079,13 +2103,13 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
2079
2103
  default: m(() => [
2080
2104
  o(t(bl), {
2081
2105
  entity: "group",
2082
- "model-value": i.value.customAttributes ?? {},
2083
- "value-options": el(i.value.attributeValueOptions),
2084
- "onUpdate:modelValue": a[20] || (a[20] = (f) => p.value.setCustomAttributes(f ?? null))
2106
+ "model-value": r.value.customAttributes ?? {},
2107
+ "value-options": el(r.value.attributeValueOptions),
2108
+ "onUpdate:modelValue": a[20] || (a[20] = (_) => p.value.setCustomAttributes(_ ?? null))
2085
2109
  }, null, 8, ["model-value", "value-options"])
2086
2110
  ]),
2087
2111
  _: 1
2088
- }, 8, ["sub-title", "title"])) : w("", !0)
2112
+ }, 8, ["sub-title", "title"])) : x("", !0)
2089
2113
  ];
2090
2114
  }),
2091
2115
  _: 1
@@ -2093,10 +2117,10 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
2093
2117
  o(de, {
2094
2118
  tag: "div",
2095
2119
  "helper-text": t(l)("menu.common.validation.default_items_tip", {
2096
- count: i.value.options.filter((n) => n.isDefault).length,
2097
- max: i.value.max
2120
+ count: r.value.options.filter((n) => n.isDefault).length,
2121
+ max: r.value.max
2098
2122
  }),
2099
- "model-value": i.value.options
2123
+ "model-value": r.value.options
2100
2124
  }, {
2101
2125
  default: m(() => [
2102
2126
  o(pe, {
@@ -2120,14 +2144,14 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
2120
2144
  d("div", Ct, [
2121
2145
  d("div", Ft, [
2122
2146
  o(ue, {
2123
- "column-defs": Il.value,
2124
- draggable: i.value.options.length > 1,
2125
- "page-size": Math.max(i.value.options.length, 1),
2126
- "row-data": [...i.value.options],
2147
+ "column-defs": zl.value,
2148
+ draggable: r.value.options.length > 1,
2149
+ "page-size": Math.max(r.value.options.length, 1),
2150
+ "row-data": [...r.value.options],
2127
2151
  "shrink-at": !1,
2128
2152
  "hide-footer": "",
2129
2153
  onDndChanged: a[22] || (a[22] = (n) => p.value.reorderOptions(
2130
- n.map((f) => f.id)
2154
+ n.map((_) => _.id)
2131
2155
  ))
2132
2156
  }, null, 8, ["column-defs", "draggable", "page-size", "row-data"])
2133
2157
  ])
@@ -2138,15 +2162,15 @@ const ba = { class: "option-translation-sheet-marker sr-only" }, fa = { class: "
2138
2162
  ]),
2139
2163
  _: 1
2140
2164
  }, 8, ["helper-text", "model-value"]),
2141
- (c(!0), b(j, null, Y(Qe.value, (n, f) => (c(), b("p", {
2142
- key: `${n.code}-${f}`,
2165
+ (c(!0), b(j, null, Y(Qe.value, (n, _) => (c(), b("p", {
2166
+ key: `${n.code}-${_}`,
2143
2167
  class: "fm-typo-en-body-sm-400 text-fm-color-status-error",
2144
2168
  role: "alert"
2145
- }, y(t(_)(n)), 1))), 128))
2169
+ }, w(t(f)(n)), 1))), 128))
2146
2170
  ])
2147
2171
  ]),
2148
2172
  _: 1
2149
- }, 8, ["modelValue", "is-container", "is-container-props"])) : w("", !0)
2173
+ }, 8, ["modelValue", "is-container", "is-container-props"])) : x("", !0)
2150
2174
  ];
2151
2175
  }),
2152
2176
  _: 3