@feedmepos/mf-menu 1.0.1-dev.2 → 1.0.1-dev.3

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 (58) hide show
  1. package/dist/{App-CdIN4s5n.js → App-DEoljb3M.js} +546 -533
  2. package/dist/{BindingTable.vue_vue_type_script_setup_true_lang-CoHlJwpz.js → BindingTable.vue_vue_type_script_setup_true_lang-DACfW6SY.js} +1 -1
  3. package/dist/{Catalog-DjAubC9s.js → Catalog-B6mXH-Ez.js} +4 -4
  4. package/dist/{CatalogBinding-5JNRTbyZ.js → CatalogBinding-CZbbxQCa.js} +3 -3
  5. package/dist/{CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js → CatalogEditTabs.vue_vue_type_script_setup_true_lang-CFjBkgkl.js} +3 -3
  6. package/dist/{CatalogEditor.vue_vue_type_script_setup_true_lang-CkF7O_V-.js → CatalogEditor.vue_vue_type_script_setup_true_lang-owNQUf8y.js} +6 -6
  7. package/dist/{CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js → CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-DJLjbLGK.js} +3 -3
  8. package/dist/{Category-COug7fz8.js → Category-B37n9Row.js} +2 -2
  9. package/dist/{Category-BbiN4hd7.js → Category-DHGrowud.js} +5 -5
  10. package/dist/{CategoryList.vue_vue_type_script_setup_true_lang-B_9aPMIN.js → CategoryList.vue_vue_type_script_setup_true_lang-_Ux8uXwn.js} +92 -91
  11. package/dist/{CookingGuide-Dg7kuF6l.js → CookingGuide-4i1KsBxo.js} +262 -256
  12. package/dist/{Group-BRpmTqyT.js → Group-DVB_G6lM.js} +5 -5
  13. package/dist/{Group-C-hwlkgJ.js → Group-N5_9GK2v.js} +2 -2
  14. package/dist/{GroupList.vue_vue_type_script_setup_true_lang-DowoJ3WM.js → GroupList.vue_vue_type_script_setup_true_lang-BDWyiP8J.js} +5 -5
  15. package/dist/{Ingredient-BQYnARdC.js → Ingredient-C-puVgJK.js} +3 -3
  16. package/dist/{LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js → LinkProductSideSheet.vue_vue_type_script_setup_true_lang-ChDd6vJd.js} +1 -1
  17. package/dist/{MenuSetting-DsdM2_OW.js → MenuSetting-QhU37DTL.js} +3 -3
  18. package/dist/{OrderPacing-5x2YH-_l.js → OrderPacing-COY_HJ8I.js} +96 -93
  19. package/dist/{OrderPacingFields.vue_vue_type_script_setup_true_lang-DVGJjpiM.js → OrderPacingFields.vue_vue_type_script_setup_true_lang-BAbojJnz.js} +1 -1
  20. package/dist/{Preview-AdgGTYlQ.js → Preview-DrbsRznu.js} +1 -1
  21. package/dist/{PriceTierNotice.vue_vue_type_script_setup_true_lang-vmxVZ2ya.js → PriceTierNotice.vue_vue_type_script_setup_true_lang-BTJwvrlT.js} +1 -1
  22. package/dist/{PrintRoute-COkCv4gf.js → PrintRoute-DVJAvYq-.js} +158 -152
  23. package/dist/{Product-BJFb_J4h.js → Product-ClT1oFVA.js} +4 -4
  24. package/dist/{ProductEditorHost.vue_vue_type_script_setup_true_lang-Tpp8MBYS.js → ProductEditorHost.vue_vue_type_script_setup_true_lang-B4qpB-yA.js} +2 -2
  25. package/dist/{ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-C25Pwqme.js → ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-BWZwFal7.js} +3 -3
  26. package/dist/{ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js → ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-yZSYrcYe.js} +1 -1
  27. package/dist/{ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-Dl4Zr5tx.js → ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-3SaYTgCI.js} +1181 -1174
  28. package/dist/ProductInternalTools-DRcfn5DE.js +2147 -0
  29. package/dist/{ProductInventoryDialog-C3ruRWU5.js → ProductInventoryDialog-i48yqlp_.js} +1 -1
  30. package/dist/{ProductInventoryDialog.vue_vue_type_script_setup_true_lang-MpdIixqI.js → ProductInventoryDialog.vue_vue_type_script_setup_true_lang-C7z4BHKp.js} +1 -1
  31. package/dist/{ProductList.vue_vue_type_script_setup_true_lang-9_ohgfqE.js → ProductList.vue_vue_type_script_setup_true_lang-DkIwQeby.js} +1990 -1967
  32. package/dist/{ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-Ctbz-8cd.js → ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-Dr0r1hYM.js} +1 -1
  33. package/dist/{Products-DMrjQFfu.js → Products-B4yaF9Y5.js} +3 -3
  34. package/dist/{Publish-f6g0dIao.js → Publish-D8pKpnju.js} +3 -3
  35. package/dist/{Recipe-p-wxadSN.js → Recipe-Cz4s5W4k.js} +3 -3
  36. package/dist/{Scheduler-CtebRafn.js → Scheduler-xE_rjFjJ.js} +3 -3
  37. package/dist/{ServingSequence-CEd4ywOQ.js → ServingSequence-BjD1Xn6Q.js} +103 -97
  38. package/dist/{Setting-bPKadRu-.js → Setting-BrD0NB_a.js} +6 -6
  39. package/dist/{Subcategory-DBCnIP0b.js → Subcategory-wbHw1iCU.js} +141 -129
  40. package/dist/{Takeaway-VBkdW1DM.js → Takeaway-CIqSThUQ.js} +5 -5
  41. package/dist/{Takeaway-GNRHR5kN.js → Takeaway-DM7weBPk.js} +2 -2
  42. package/dist/{TakeawayList.vue_vue_type_script_setup_true_lang-DvX3k0Jg.js → TakeawayList.vue_vue_type_script_setup_true_lang-HZP5jmAy.js} +117 -111
  43. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1qaEVUu.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CLeJxNfG.js} +6 -6
  44. package/dist/{Unit-DbGKIprZ.js → Unit-RHuHWCCg.js} +2 -2
  45. package/dist/{Variant-_edSAKif.js → Variant-MA-mdYxx.js} +114 -108
  46. package/dist/{_id_-BNVtBV3q.js → _id_-CO1c1eIn.js} +3 -3
  47. package/dist/{app-BlTv5xag.js → app-DnIyFwTs.js} +420 -406
  48. package/dist/app.js +1 -1
  49. package/dist/apps/mf-menu/src/router/shared.d.ts +33 -0
  50. package/dist/apps/mf-menu/src/sdk/import-export.d.ts +8 -2
  51. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/assets/{menu-compute-BzchkTYh.js → menu-compute-BYzYhsd6.js} +2 -2
  53. package/dist/assets/{validate-menu-CTV_cJNG.js → validate-menu-oaYEuMiz.js} +2 -2
  54. package/dist/mf-menu.css +1 -1
  55. package/dist/{provide-dbE6Qt1z.js → provide-UZbVvMqZ.js} +56729 -55678
  56. package/dist/{useActionFeedback-CdY_C_HX.js → useActionFeedback-CfPMryOm.js} +1 -1
  57. package/package.json +1 -1
  58. package/dist/ProductInternalTools-thlSvqbA.js +0 -2906
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as T, computed as c, h as a, resolveComponent as y, openBlock as w, createElementBlock as z, createElementVNode as V, toDisplayString as D, createVNode as f, unref as p, withDirectives as M } from "vue";
2
2
  import { useI18n as A } from "@feedmepos/mf-common";
3
3
  import { components as l, FmButtonVariant as g, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
4
- import { b as N } from "./provide-dbE6Qt1z.js";
4
+ import { b as N } from "./provide-UZbVvMqZ.js";
5
5
  const K = { class: "space-y-8" }, q = { class: "fm-typo-en-title-sm-600" }, j = /* @__PURE__ */ T({
6
6
  __name: "BindingTable",
7
7
  props: {
@@ -3,11 +3,11 @@ import { useRouter as se } from "vue-router";
3
3
  import { useI18n as W } from "@feedmepos/mf-common";
4
4
  import { components as E, useDialog as ne, FmButtonVariant as $ } from "@feedmepos/ui-library";
5
5
  import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
6
- import { R as B, _ as ue } from "./app-BlTv5xag.js";
6
+ import { R as B, _ as ue } from "./app-DnIyFwTs.js";
7
7
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
8
- import { _ as ie } from "./CatalogEditor.vue_vue_type_script_setup_true_lang-CkF7O_V-.js";
9
- import { b as H, u as de, a as me } from "./provide-dbE6Qt1z.js";
10
- import { u as pe } from "./useActionFeedback-CdY_C_HX.js";
8
+ import { _ as ie } from "./CatalogEditor.vue_vue_type_script_setup_true_lang-owNQUf8y.js";
9
+ import { b as H, u as de, a as me } from "./provide-UZbVvMqZ.js";
10
+ import { u as pe } from "./useActionFeedback-CfPMryOm.js";
11
11
  const ge = /* @__PURE__ */ P({
12
12
  __name: "CatalogUsage",
13
13
  props: {
@@ -2,10 +2,10 @@ import { defineComponent as N, computed as p, h as P, withModifiers as R, watch
2
2
  import { useI18n as ne } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as oe, useDialog as se, components as ie } from "@feedmepos/ui-library";
4
4
  import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
5
- import { _ as ue } from "./app-BlTv5xag.js";
5
+ import { _ as ue } from "./app-DnIyFwTs.js";
6
6
  import { _ as de } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
7
- import { u as ce } from "./useActionFeedback-CdY_C_HX.js";
8
- import { b as me, u as re, a as ge } from "./provide-dbE6Qt1z.js";
7
+ import { u as ce } from "./useActionFeedback-CfPMryOm.js";
8
+ import { b as me, u as re, a as ge } from "./provide-UZbVvMqZ.js";
9
9
  const be = { class: "fm-typo-en-body-md-400 mb-16 text-fm-color-typo-secondary" }, fe = { class: "flex grow flex-col gap-4" }, pe = { class: "fm-typo-en-body-lg-600" }, ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _e = { class: "fm-typo-en-title-md-600" }, ye = {
10
10
  key: 1,
11
11
  class: "text-fm-color-typo-secondary",
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as k, ref as I, computed as O, resolveComponent as C, openBlock as p, createElementBlock as T, Fragment as L, withDirectives as R, createVNode as A, unref as g } from "vue";
2
2
  import { useRoute as h, useRouter as w } from "vue-router";
3
3
  import { useI18n as D } from "@feedmepos/mf-common";
4
- import { _ as G } from "./PriceTierNotice.vue_vue_type_script_setup_true_lang-vmxVZ2ya.js";
5
- import { R as u } from "./app-BlTv5xag.js";
6
- import { a as S } from "./provide-dbE6Qt1z.js";
4
+ import { _ as G } from "./PriceTierNotice.vue_vue_type_script_setup_true_lang-BTJwvrlT.js";
5
+ import { R as u } from "./app-DnIyFwTs.js";
6
+ import { a as S } from "./provide-UZbVvMqZ.js";
7
7
  const K = /* @__PURE__ */ k({
8
8
  __name: "CatalogEditTabs",
9
9
  setup(M) {
@@ -5,12 +5,12 @@ import { components as T, FmButtonColorThemeVariant as F } from "@feedmepos/ui-l
5
5
  import { _ as ie } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
6
6
  import { _ as h } from "./FormItem.vue_vue_type_script_setup_true_lang-C2S6QCyR.js";
7
7
  import { _ as de } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
8
- import { _ as pe } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
9
- import { _ as ce } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js";
10
- import { _ as be } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js";
11
- import { b as ve, u as z } from "./provide-dbE6Qt1z.js";
12
- import { u as fe } from "./useActionFeedback-CdY_C_HX.js";
13
- import { R as ke } from "./app-BlTv5xag.js";
8
+ import { _ as pe } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-ChDd6vJd.js";
9
+ import { _ as ce } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-DJLjbLGK.js";
10
+ import { _ as be } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-CFjBkgkl.js";
11
+ import { b as ve, u as z } from "./provide-UZbVvMqZ.js";
12
+ import { u as fe } from "./useActionFeedback-CfPMryOm.js";
13
+ import { R as ke } from "./app-DnIyFwTs.js";
14
14
  const ge = {
15
15
  key: 1,
16
16
  role: "alert"
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as N, shallowRef as m, computed as M, ref as A, watch as E, onUnmounted as U, resolveComponent as z, openBlock as f, createElementBlock as O, Fragment as $, createElementVNode as j, normalizeClass as g, createBlock as R, unref as b, createCommentVNode as q, createVNode as x } from "vue";
2
2
  import { useI18n as D } from "@feedmepos/mf-common";
3
- import { _ as G } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
4
- import { u as H } from "./useActionFeedback-CdY_C_HX.js";
5
- import { b as J, u as K } from "./provide-dbE6Qt1z.js";
3
+ import { _ as G } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-ChDd6vJd.js";
4
+ import { u as H } from "./useActionFeedback-CfPMryOm.js";
5
+ import { b as J, u as K } from "./provide-UZbVvMqZ.js";
6
6
  const Z = /* @__PURE__ */ N({
7
7
  __name: "CatalogLinkProductAction",
8
8
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as o, openBlock as r, createBlock as n, unref as t } from "vue";
2
- import { _ as s } from "./CategoryList.vue_vue_type_script_setup_true_lang-B_9aPMIN.js";
3
- import { a } from "./provide-dbE6Qt1z.js";
2
+ import { _ as s } from "./CategoryList.vue_vue_type_script_setup_true_lang-_Ux8uXwn.js";
3
+ import { a } from "./provide-UZbVvMqZ.js";
4
4
  const d = /* @__PURE__ */ o({
5
5
  __name: "Category",
6
6
  setup(_) {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as l, computed as d, resolveComponent as p, openBlock as _, createBlock as f, unref as a, withCtx as e, createVNode as t } from "vue";
2
2
  import { useRoute as g, RouterLink as k } from "vue-router";
3
3
  import { useI18n as h } from "@feedmepos/mf-common";
4
- import { _ as v } from "./CategoryList.vue_vue_type_script_setup_true_lang-B_9aPMIN.js";
5
- import { _ as b } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js";
6
- import { R as C } from "./app-BlTv5xag.js";
7
- import { a as R, u as B } from "./provide-dbE6Qt1z.js";
8
- import { _ as w } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js";
4
+ import { _ as v } from "./CategoryList.vue_vue_type_script_setup_true_lang-_Ux8uXwn.js";
5
+ import { _ as b } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-DJLjbLGK.js";
6
+ import { R as C } from "./app-DnIyFwTs.js";
7
+ import { a as R, u as B } from "./provide-UZbVvMqZ.js";
8
+ import { _ as w } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-CFjBkgkl.js";
9
9
  const G = /* @__PURE__ */ l({
10
10
  __name: "Category",
11
11
  setup(x) {
@@ -1,17 +1,17 @@
1
- import { defineComponent as Re, computed as P, ref as X, watch as ee, onMounted as Ge, onUnmounted as Pe, openBlock as h, createElementBlock as ae, createElementVNode as b, createTextVNode as Le, toDisplayString as A, unref as o, isRef as he, createVNode as _, createBlock as V, createCommentVNode as q, withCtx as F, shallowRef as W, h as ve, withModifiers as Ue, resolveComponent as ne, renderSlot as ge, Fragment as We, normalizeClass as qe, withDirectives as He } from "vue";
1
+ import { defineComponent as Re, computed as P, ref as X, watch as ee, onMounted as Ge, onUnmounted as Pe, openBlock as h, createElementBlock as ae, createElementVNode as b, createTextVNode as Le, toDisplayString as A, unref as o, isRef as ye, createVNode as C, createBlock as V, createCommentVNode as q, withCtx as F, shallowRef as W, h as ge, withModifiers as Ue, resolveComponent as ne, renderSlot as pe, Fragment as We, normalizeClass as qe, withDirectives as He } from "vue";
2
2
  import { useI18n as Ee } from "@feedmepos/mf-common";
3
- import { components as te, useDialog as Je, FmButtonVariant as be } from "@feedmepos/ui-library";
3
+ import { components as te, useDialog as Je, FmButtonVariant as he } from "@feedmepos/ui-library";
4
4
  import { _ as Qe } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
5
- import { f as Xe } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js";
5
+ import { f as Xe } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-yZSYrcYe.js";
6
6
  import { useAppStore as Ye } from "@feedmepos/mf-remy-panel";
7
7
  import { _ as Ze } from "./ListCountTag.vue_vue_type_script_setup_true_lang-0bjk8Aly.js";
8
8
  import { _ as ea } from "./TranslationLanguageSelector.vue_vue_type_script_setup_true_lang-BJZ6VcrT.js";
9
9
  import { _ as Fe } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
10
10
  import { _ as aa } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
11
- import { _ as ta } from "./ProductEditorHost.vue_vue_type_script_setup_true_lang-Tpp8MBYS.js";
11
+ import { _ as ta } from "./ProductEditorHost.vue_vue_type_script_setup_true_lang-B4qpB-yA.js";
12
12
  import { _ as oa } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-B0j2PNih.js";
13
- import { u as la } from "./useActionFeedback-CdY_C_HX.js";
14
- import { b as na, u as sa } from "./provide-dbE6Qt1z.js";
13
+ import { u as la } from "./useActionFeedback-CfPMryOm.js";
14
+ import { b as na, u as sa } from "./provide-UZbVvMqZ.js";
15
15
  import { v as ra } from "./tableSemantics-C9WFO_I_.js";
16
16
  const ia = {
17
17
  key: 0,
@@ -24,8 +24,8 @@ const ia = {
24
24
  disabled: { type: Boolean }
25
25
  },
26
26
  emits: ["select", "clear", "encoding"],
27
- setup(pe, { emit: C }) {
28
- const t = pe, D = C, { t: U } = Ee(), B = Ye(), M = P(() => !!B.showRemy), u = X(t.thumbnailUrl);
27
+ setup(fe, { emit: k }) {
28
+ const t = fe, D = k, { t: U } = Ee(), B = Ye(), M = P(() => !!B.showRemy), u = X(t.thumbnailUrl);
29
29
  let E = null, p = 0, N = !1, m = !1, $ = !1, w = !1;
30
30
  function f(n) {
31
31
  w !== n && (w = n, D("encoding", n));
@@ -142,11 +142,11 @@ const ia = {
142
142
  ]),
143
143
  b("div", {
144
144
  class: "relative h-[150px] w-[200px] overflow-hidden rounded-md border-2 border-dashed border-fm-color-neutral-gray-300",
145
- onPointerdown: r[0] || (r[0] = (i) => he(m) ? m.value = !0 : m = !0),
146
- onWheel: r[1] || (r[1] = (i) => he(m) ? m.value = !0 : m = !0),
147
- onKeydown: r[2] || (r[2] = (i) => he(m) ? m.value = !0 : m = !0)
145
+ onPointerdown: r[0] || (r[0] = (i) => ye(m) ? m.value = !0 : m = !0),
146
+ onWheel: r[1] || (r[1] = (i) => ye(m) ? m.value = !0 : m = !0),
147
+ onKeydown: r[2] || (r[2] = (i) => ye(m) ? m.value = !0 : m = !0)
148
148
  }, [
149
- _(o(Xe), {
149
+ C(o(Xe), {
150
150
  class: "h-[150px] w-[200px]",
151
151
  src: u.value,
152
152
  "stencil-props": { handlers: {}, movable: !1, scalable: !1 },
@@ -155,7 +155,7 @@ const ia = {
155
155
  onChange: T,
156
156
  onError: H
157
157
  }, null, 8, ["src"]),
158
- _(o(te).FmButton, {
158
+ C(o(te).FmButton, {
159
159
  "aria-label": o(U)("menu.category.image.remove"),
160
160
  disabled: n.disabled,
161
161
  label: o(U)("menu.category.image.remove"),
@@ -216,14 +216,14 @@ const ia = {
216
216
  catalogPage: { type: Boolean, default: !1 },
217
217
  heading: { default: "" }
218
218
  },
219
- setup(pe) {
220
- const C = pe, { t } = Ee(), D = na(), U = Je(), { run: B } = la(), M = sa(C.sdk.category.list), u = P(
219
+ setup(fe) {
220
+ const k = fe, { t } = Ee(), D = na(), U = Je(), { run: B } = la(), M = sa(k.sdk.category.list), u = P(
221
221
  () => M.value.status === "ready" ? M.value.value : null
222
222
  ), E = P(() => {
223
223
  var e;
224
224
  return ((e = u.value) == null ? void 0 : e.query) ?? "";
225
225
  }), p = X(!1), N = X(0), m = X(!1), $ = X(""), w = W(
226
- C.sdk.category.editor()
226
+ k.sdk.category.editor()
227
227
  ), f = W(
228
228
  w.value.get()
229
229
  );
@@ -248,20 +248,20 @@ const ia = {
248
248
  }
249
249
  function j(e, a) {
250
250
  var s;
251
- c == null || c(), (s = n.value) == null || s.dispose(), n.value = C.sdk.item.editor(e, {
251
+ c == null || c(), (s = n.value) == null || s.dispose(), n.value = k.sdk.item.editor(e, {
252
252
  initialCategoryId: a
253
- }), r.value = n.value.get(), c = n.value.subscribe((k) => {
254
- r.value = k;
253
+ }), r.value = n.value.get(), c = n.value.subscribe((_) => {
254
+ r.value = _;
255
255
  });
256
256
  }
257
257
  function se() {
258
258
  var a, s;
259
259
  const e = (a = l.value) == null ? void 0 : a.categoryId;
260
- !e || ((s = l.value) == null ? void 0 : s.products.state) !== "allowed" || (y(), v = C.sdk.item.editorScope(), j(void 0, e), I.value = !0);
260
+ !e || ((s = l.value) == null ? void 0 : s.products.state) !== "allowed" || (y(), v = k.sdk.item.editorScope(), j(void 0, e), I.value = !0);
261
261
  }
262
262
  function oe(e) {
263
263
  var a;
264
- ((a = l.value) == null ? void 0 : a.products.state) === "allowed" && (y(), v = C.sdk.item.editorScope(), j(e.id), I.value = !0);
264
+ ((a = l.value) == null ? void 0 : a.products.state) === "allowed" && (y(), v = k.sdk.item.editorScope(), j(e.id), I.value = !0);
265
265
  }
266
266
  function Q(e) {
267
267
  var s;
@@ -293,8 +293,8 @@ const ia = {
293
293
  }), Y.value = !0;
294
294
  }
295
295
  function ie(e) {
296
- var k;
297
- const a = T.value, s = (k = K.value) == null ? void 0 : k.nameLocale;
296
+ var _;
297
+ const a = T.value, s = (_ = K.value) == null ? void 0 : _.nameLocale;
298
298
  if (!(!a || !s)) {
299
299
  for (const g of Object.keys(s))
300
300
  g in e || a.removeLocale(g);
@@ -309,48 +309,49 @@ const ia = {
309
309
  showLoading: !1
310
310
  })).kind === "success" && x(!1);
311
311
  }
312
- function we() {
312
+ function be() {
313
313
  x(!0);
314
314
  }
315
315
  function Ie(e) {
316
- e ? Y.value = !0 : we();
316
+ e ? Y.value = !0 : be();
317
317
  }
318
- function ke(e) {
319
- x(!0), z(), w.value.dispose(), w.value = C.sdk.category.editor(e), N.value++, m.value = !1, f.value = w.value.get(), z = w.value.subscribe((a) => {
318
+ function we(e) {
319
+ x(!0), z(), w.value.dispose(), w.value = k.sdk.category.editor(e), N.value++, m.value = !1, f.value = w.value.get(), z = w.value.subscribe((a) => {
320
320
  f.value = a;
321
321
  });
322
322
  }
323
- function _e() {
324
- ke(), p.value = !0;
323
+ function ke() {
324
+ we(), p.value = !0;
325
325
  }
326
326
  function Ve(e) {
327
- !e.id && !e.isSynthetic || (ke(e.isSynthetic ? null : e.id), p.value = !0);
327
+ !e.id && !e.isSynthetic || (we(e.isSynthetic ? null : e.id), p.value = !0);
328
328
  }
329
- function fe() {
329
+ function ue() {
330
330
  x(!0), p.value = !1;
331
331
  }
332
- function ye() {
332
+ function _e() {
333
333
  var e;
334
334
  if (!((e = l.value) != null && e.dirty)) {
335
- fe();
335
+ ue();
336
336
  return;
337
337
  }
338
338
  U.open({
339
+ zIndex: 101,
339
340
  title: t("menu.common.dialog.dismiss.title"),
340
341
  message: t("menu.common.dialog.dismiss.message"),
341
342
  primaryActions: {
342
343
  text: t("menu.common.dialog.dismiss.discard"),
343
344
  close: !0,
344
- variant: be.Destructive
345
+ variant: he.Destructive
345
346
  },
346
347
  secondaryActions: {
347
348
  text: t("menu.common.actions.cancel"),
348
349
  close: !0
349
350
  }
350
- }).onPrimary(fe);
351
+ }).onPrimary(ue);
351
352
  }
352
353
  function De(e) {
353
- e ? p.value = !0 : ye();
354
+ e ? p.value = !0 : _e();
354
355
  }
355
356
  ee(p, (e) => {
356
357
  e || x(!0);
@@ -360,9 +361,9 @@ const ia = {
360
361
  T.value && (e.status !== "ready" || e.value.translation.state !== "allowed") && x(!0);
361
362
  });
362
363
  async function Be() {
363
- var k, g, S;
364
+ var _, g, S;
364
365
  if (m.value) return;
365
- const e = (k = l.value) == null ? void 0 : k.mode, a = ((S = (g = l.value) == null ? void 0 : g.name) == null ? void 0 : S.trim()) ?? "";
366
+ const e = (_ = l.value) == null ? void 0 : _.mode, a = ((S = (g = l.value) == null ? void 0 : g.name) == null ? void 0 : S.trim()) ?? "";
366
367
  (await B(() => w.value.submit(), {
367
368
  successMessage: e === "update" ? t("menu.category.manager.dialog.update.success", { name: a }) : t("menu.category.manager.dialog.add.success", { name: a }),
368
369
  showLoading: () => {
@@ -372,7 +373,7 @@ const ia = {
372
373
  // The approved Storage 403 baseline closes Loading but leaves the image
373
374
  // preview and sheet open without a settled snackbar.
374
375
  silentFailureCodes: ["menu.category.image.upload_failed"]
375
- })).kind === "success" && fe();
376
+ })).kind === "success" && ue();
376
377
  }
377
378
  function Me(e) {
378
379
  e.remove.state !== "allowed" || !e.id || U.open({
@@ -383,14 +384,14 @@ const ia = {
383
384
  primaryActions: {
384
385
  text: t("menu.common.actions.remove"),
385
386
  close: !0,
386
- variant: be.Destructive
387
+ variant: he.Destructive
387
388
  },
388
389
  secondaryActions: {
389
390
  text: t("menu.common.actions.cancel"),
390
391
  close: !0
391
392
  }
392
393
  }).onPrimary(async () => {
393
- await B(() => C.sdk.category.remove(e.id), {
394
+ await B(() => k.sdk.category.remove(e.id), {
394
395
  successMessage: t("menu.category.dialog.remove.success", {
395
396
  name: e.name
396
397
  })
@@ -400,14 +401,14 @@ const ia = {
400
401
  const ze = P(() => {
401
402
  var e;
402
403
  return E.value || ((e = u.value) == null ? void 0 : e.reorder.state) !== "allowed" ? () => !1 : (a) => !a.isSynthetic;
403
- }), ue = W([]);
404
+ }), ce = W([]);
404
405
  ee(
405
406
  () => {
406
407
  var e;
407
408
  return (e = u.value) == null ? void 0 : e.rows;
408
409
  },
409
410
  (e) => {
410
- e && (ue.value = [...e]);
411
+ e && (ce.value = [...e]);
411
412
  },
412
413
  { immediate: !0 }
413
414
  );
@@ -416,13 +417,13 @@ const ia = {
416
417
  if (E.value || ((g = u.value) == null ? void 0 : g.reorder.state) !== "allowed") return;
417
418
  const a = e.map((d) => d.id).filter((d) => !!d);
418
419
  if (a.length === 0) return;
419
- const s = ue.value;
420
- (await B(() => C.sdk.category.reorder(a), {
420
+ const s = ce.value;
421
+ (await B(() => k.sdk.category.reorder(a), {
421
422
  successMessage: ((S = u.value) == null ? void 0 : S.reorderScope) === "catalog" ? t("menu.catalog.saved", { name: t("menu.category.entity") }) : t("menu.category.reorder.success")
422
- })).kind !== "success" && (ue.value = [...((O = u.value) == null ? void 0 : O.rows) ?? s]);
423
+ })).kind !== "success" && (ce.value = [...((O = u.value) == null ? void 0 : O.rows) ?? s]);
423
424
  }
424
425
  function je(e) {
425
- C.sdk.category.search(e);
426
+ k.sdk.category.search(e);
426
427
  }
427
428
  const Oe = P(() => [
428
429
  {
@@ -446,7 +447,7 @@ const ia = {
446
447
  // Catalog scope only changes membership/order. Categories remain master
447
448
  // entities, so the scoped table deliberately has no destructive action
448
449
  // column — the legacy editor renders just its two data columns there.
449
- ...C.catalogPage ? [] : [
450
+ ...k.catalogPage ? [] : [
450
451
  {
451
452
  id: "actions",
452
453
  size: 52,
@@ -454,8 +455,8 @@ const ia = {
454
455
  header: "",
455
456
  cell: (e) => {
456
457
  const a = e.row.original;
457
- return ve("div", { class: "flex justify-end" }, [
458
- ve(te.FmButton, {
458
+ return ge("div", { class: "flex justify-end" }, [
459
+ ge(te.FmButton, {
459
460
  icon: "delete",
460
461
  disabled: a.remove.state !== "allowed",
461
462
  variant: "tertiary",
@@ -470,32 +471,32 @@ const ia = {
470
471
  }
471
472
  }
472
473
  ]
473
- ]), ce = P(() => {
474
+ ]), de = P(() => {
474
475
  var s;
475
476
  const e = ((s = l.value) == null ? void 0 : s.productRows) ?? [], a = $.value.trim().toLocaleLowerCase();
476
477
  return a ? e.filter(
477
- (k) => k.name.toLocaleLowerCase().includes(a) || (k.code ?? "").toLocaleLowerCase().includes(a)
478
+ (_) => _.name.toLocaleLowerCase().includes(a) || (_.code ?? "").toLocaleLowerCase().includes(a)
478
479
  ) : e;
479
- }), de = W([]);
480
+ }), me = W([]);
480
481
  ee(
481
- ce,
482
+ de,
482
483
  (e) => {
483
- de.value = [...e];
484
+ me.value = [...e];
484
485
  },
485
486
  { immediate: !0 }
486
487
  );
487
488
  const Ae = P(() => {
488
489
  var e, a;
489
- return ce.value.length === 0 ? !1 : $.value || ((e = l.value) == null ? void 0 : e.products.state) !== "allowed" || ce.value.length < 2 ? () => !1 : (a = l.value) != null && a.synthetic ? () => !1 : () => !0;
490
+ return de.value.length === 0 ? !1 : $.value || ((e = l.value) == null ? void 0 : e.products.state) !== "allowed" || de.value.length < 2 ? () => !1 : (a = l.value) != null && a.synthetic ? () => !1 : () => !0;
490
491
  });
491
492
  async function Ne(e) {
492
493
  var g, S;
493
494
  const a = (g = l.value) == null ? void 0 : g.categoryId;
494
495
  if (!a || $.value || ((S = l.value) == null ? void 0 : S.products.state) !== "allowed")
495
496
  return;
496
- const s = de.value;
497
+ const s = me.value;
497
498
  (await B(
498
- () => C.sdk.item.reorderForCategory(
499
+ () => k.sdk.item.reorderForCategory(
499
500
  a,
500
501
  e.map((O) => O.id)
501
502
  ),
@@ -504,7 +505,7 @@ const ia = {
504
505
  count: e.length
505
506
  })
506
507
  }
507
- )).kind !== "success" && (de.value = [...ce.value ?? s]);
508
+ )).kind !== "success" && (me.value = [...de.value ?? s]);
508
509
  }
509
510
  const Ke = P(() => [
510
511
  {
@@ -522,10 +523,10 @@ const ia = {
522
523
  size: 52,
523
524
  meta: { cellClass: "pl-16", headerContentClass: "-mx-16" },
524
525
  header: "",
525
- cell: (e) => ve("div", { class: "flex justify-end" }, [
526
- ve(te.FmButton, {
526
+ cell: (e) => ge("div", { class: "flex justify-end" }, [
527
+ ge(te.FmButton, {
527
528
  icon: "edit",
528
- variant: be.Tertiary,
529
+ variant: he.Tertiary,
529
530
  textColor: "neutral-gray-400",
530
531
  "aria-label": t("menu.common.labels.a11y_labelled_name", {
531
532
  label: t("menu.common.actions.edit"),
@@ -540,21 +541,21 @@ const ia = {
540
541
  }
541
542
  ]);
542
543
  return Pe(() => {
543
- x(!0), y(), z(), w.value.dispose();
544
+ k.sdk.category.search(""), x(!0), y(), z(), w.value.dispose();
544
545
  }), (e, a) => {
545
- const s = ne("FmButton"), k = ne("FmCircularProgress"), g = ne("FmSearch"), S = ne("FmTable"), O = ne("FmSideSheet");
546
+ const s = ne("FmButton"), _ = ne("FmCircularProgress"), g = ne("FmSearch"), S = ne("FmTable"), O = ne("FmSideSheet");
546
547
  return h(), V(aa, {
547
548
  heading: e.catalogPage ? e.heading : o(t)("menu.category.title")
548
549
  }, {
549
550
  "prepend-heading": F(() => [
550
- ge(e.$slots, "prepend-heading")
551
+ pe(e.$slots, "prepend-heading")
551
552
  ]),
552
553
  "append-heading": F(() => {
553
554
  var d;
554
555
  return [
555
556
  e.catalogPage ? q("", !0) : (h(), ae("div", pa, [
556
557
  b("div", fa, [
557
- _(Ze, {
558
+ C(Ze, {
558
559
  value: ((d = u.value) == null ? void 0 : d.totalCount) ?? 0
559
560
  }, null, 8, ["value"])
560
561
  ]),
@@ -563,19 +564,19 @@ const ia = {
563
564
  disabled: u.value.create.state !== "allowed",
564
565
  label: o(t)("menu.category.add"),
565
566
  "prepend-icon": "add",
566
- onClick: _e
567
+ onClick: ke
567
568
  }, null, 8, ["disabled", "label"])) : q("", !0)
568
569
  ])),
569
570
  e.catalogPage ? (h(), ae("div", ya, [
570
- ge(e.$slots, "append-heading")
571
- ])) : ge(e.$slots, "append-heading", { key: 2 })
571
+ pe(e.$slots, "append-heading")
572
+ ])) : pe(e.$slots, "append-heading", { key: 2 })
572
573
  ];
573
574
  }),
574
575
  default: F(() => [
575
- ge(e.$slots, "navigation"),
576
- o(M).status === "error" ? (h(), ae("p", ha, A(o(D)(o(M).error.message)), 1)) : o(M).status === "unavailable" ? (h(), ae("p", ba, A(o(D)(o(M).reason)), 1)) : o(M).status === "loading" ? (h(), V(k, { key: 2 })) : u.value && u.value.rows.length === 0 && !E.value ? (h(), V(o(Qe), {
576
+ pe(e.$slots, "navigation"),
577
+ o(M).status === "error" ? (h(), ae("p", ha, A(o(D)(o(M).error.message)), 1)) : o(M).status === "unavailable" ? (h(), ae("p", ba, A(o(D)(o(M).reason)), 1)) : o(M).status === "loading" ? (h(), V(_, { key: 2 })) : u.value && u.value.rows.length === 0 && !E.value ? (h(), V(o(Qe), {
577
578
  key: 3,
578
- action: e.catalogPage ? void 0 : { text: o(t)("menu.category.add"), callback: _e },
579
+ action: e.catalogPage ? void 0 : { text: o(t)("menu.category.add"), callback: ke },
579
580
  subtitle: o(t)("menu.category.empty.subtitle"),
580
581
  title: o(t)("menu.category.empty.title")
581
582
  }, null, 8, ["action", "subtitle", "title"])) : u.value ? (h(), ae(We, { key: 4 }, [
@@ -583,7 +584,7 @@ const ia = {
583
584
  class: qe(["flex justify-end items-center", { "pt-16": e.catalogPage }])
584
585
  }, [
585
586
  b("div", wa, [
586
- _(g, {
587
+ C(g, {
587
588
  class: "mb-8",
588
589
  "model-value": E.value,
589
590
  placeholder: o(t)("menu.common.labels.search_placeholder", {
@@ -593,11 +594,11 @@ const ia = {
593
594
  }, null, 8, ["model-value", "placeholder"])
594
595
  ])
595
596
  ], 2),
596
- He(_(S, {
597
+ He(C(S, {
597
598
  "column-defs": Oe.value,
598
599
  draggable: ze.value,
599
600
  "page-size": u.value.rows.length,
600
- "row-data": ue.value,
601
+ "row-data": ce.value,
601
602
  "shrink-at": !1,
602
603
  "hide-footer": "",
603
604
  "pin-header-row": "",
@@ -607,13 +608,13 @@ const ia = {
607
608
  [o(ra), o(t)("menu.category.columns.title")]
608
609
  ])
609
610
  ], 64)) : q("", !0),
610
- _(O, {
611
+ C(O, {
611
612
  "model-value": p.value && !I.value,
612
613
  "is-container": o(te).FmForm,
613
614
  "is-container-props": { onValidationSuccess: Be },
614
615
  "max-width": 560,
615
616
  "z-index": 100,
616
- "onOn:clickedAway": ye,
617
+ "onOn:clickedAway": _e,
617
618
  "onUpdate:modelValue": De
618
619
  }, {
619
620
  "side-sheet-header": F(() => {
@@ -634,11 +635,11 @@ const ia = {
634
635
  type: "submit",
635
636
  variant: "primary"
636
637
  }, null, 8, ["disabled", "label"])) : q("", !0),
637
- _(s, {
638
+ C(s, {
638
639
  label: o(t)("menu.common.actions.cancel"),
639
640
  size: "lg",
640
641
  variant: "tertiary",
641
- onClick: ye
642
+ onClick: ue
642
643
  }, null, 8, ["label"])
643
644
  ])
644
645
  ];
@@ -647,24 +648,24 @@ const ia = {
647
648
  var d, R, le;
648
649
  return [
649
650
  b("div", _a, [
650
- _(Fe, {
651
+ C(Fe, {
651
652
  title: o(t)("menu.category.detail")
652
653
  }, {
653
654
  default: F(() => {
654
655
  var L, Z, Ce, xe;
655
656
  return [
656
- _(ea, {
657
+ C(ea, {
657
658
  "helper-state": (L = l.value) != null && L.nameIssue ? "error" : "none",
658
659
  "helper-text": (Z = l.value) != null && Z.nameIssue ? o(D)(l.value.nameIssue) : "",
659
660
  label: o(t)("menu.category.name"),
660
661
  readonly: (Ce = l.value) == null ? void 0 : Ce.synthetic,
661
662
  "model-value": ((xe = l.value) == null ? void 0 : xe.name) ?? "",
662
- "onUpdate:modelValue": a[1] || (a[1] = (me) => w.value.setName(me))
663
+ "onUpdate:modelValue": a[1] || (a[1] = (ve) => w.value.setName(ve))
663
664
  }, {
664
665
  append: F(() => {
665
- var me, Se;
666
+ var ve, Se;
666
667
  return [
667
- ((me = l.value) == null ? void 0 : me.translation.state) !== "hidden" ? (h(), V(s, {
668
+ ((ve = l.value) == null ? void 0 : ve.translation.state) !== "hidden" ? (h(), V(s, {
668
669
  key: 0,
669
670
  "aria-label": o(t)("menu.common.translation.translation_label"),
670
671
  disabled: ((Se = l.value) == null ? void 0 : Se.translation.state) !== "allowed",
@@ -690,7 +691,7 @@ const ia = {
690
691
  onClear: a[3] || (a[3] = (L) => w.value.clearImage()),
691
692
  onEncoding: a[4] || (a[4] = (L) => m.value = L)
692
693
  }, null, 8, ["thumbnail-url", "change", "disabled"])) : q("", !0),
693
- _(Fe, {
694
+ C(Fe, {
694
695
  class: "flex-1 min-h-0",
695
696
  shrinkable: !0,
696
697
  title: o(t)("menu.category.products.title")
@@ -698,7 +699,7 @@ const ia = {
698
699
  "append-title": F(() => {
699
700
  var L;
700
701
  return [
701
- _(s, {
702
+ C(s, {
702
703
  "border-color": "primary",
703
704
  disabled: ((L = l.value) == null ? void 0 : L.products.state) !== "allowed",
704
705
  label: o(t)("menu.category.products.add"),
@@ -717,7 +718,7 @@ const ia = {
717
718
  count: ((L = l.value) == null ? void 0 : L.productRows.length) ?? 0
718
719
  })), 1),
719
720
  b("div", Sa, [
720
- _(g, {
721
+ C(g, {
721
722
  modelValue: $.value,
722
723
  "onUpdate:modelValue": a[5] || (a[5] = (Z) => $.value = Z),
723
724
  placeholder: o(t)("menu.common.actions.search")
@@ -725,12 +726,12 @@ const ia = {
725
726
  ])
726
727
  ]),
727
728
  b("div", La, [
728
- _(S, {
729
+ C(S, {
729
730
  "column-defs": Ke.value,
730
731
  draggable: Ae.value,
731
732
  "hide-footer": "",
732
733
  "pin-header-row": "",
733
- "row-data": de.value,
734
+ "row-data": me.value,
734
735
  "shrink-at": !1,
735
736
  onDndChanged: Ne,
736
737
  onRowClick: a[6] || (a[6] = (Z) => oe(Z.original))
@@ -745,7 +746,7 @@ const ia = {
745
746
  }),
746
747
  _: 1
747
748
  }, 8, ["model-value", "is-container", "is-container-props"]),
748
- _(ta, {
749
+ C(ta, {
749
750
  open: I.value,
750
751
  "onUpdate:open": a[7] || (a[7] = (d) => I.value = d),
751
752
  sdk: e.sdk,
@@ -768,7 +769,7 @@ const ia = {
768
769
  entity: o(t)("menu.category.entity")
769
770
  }),
770
771
  "z-index": 200,
771
- onDiscard: we,
772
+ onDiscard: be,
772
773
  onSave: $e,
773
774
  "onUpdate:modelValue": Ie,
774
775
  "onUpdate:name": a[8] || (a[8] = (d) => {