@feedmepos/mf-menu 0.32.66-dev.1 → 0.32.66-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 (72) hide show
  1. package/dist/{App-CI_iNcgK.js → App-D0YpNkYr.js} +6 -6
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CYxG4ihX.js → ApplyProduct.vue_vue_type_script_setup_true_lang-YPM2sgEJ.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-UllnR0h6.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-CAXhUciI.js} +3 -3
  4. package/dist/{Catalog-Bh2SAffq.js → Catalog-I3XpPLoT.js} +6 -6
  5. package/dist/{Category-DfTtG9CR.js → Category-BTmqDRbK.js} +4 -4
  6. package/dist/{Category-CVKnqszH.js → Category-CfCp_M4X.js} +4 -4
  7. package/dist/{CookingGuide-ya45J1Mt.js → CookingGuide-BRHwTegP.js} +5 -5
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-i6fzPFdp.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-ksv-RMn2.js} +1 -1
  9. package/dist/{Group-DLo3Tq5F.js → Group-BvrANEY8.js} +1 -1
  10. package/dist/{Group-d5ODb1qt.js → Group-Bwj6UATr.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-mJM1hfDS.js → Group.vue_vue_type_script_setup_true_lang-CYLH4YhA.js} +7 -7
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Ctw_g4uv.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DWpeinru.js} +5 -5
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-OzkvL_JP.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DEvUaDcb.js} +7 -7
  14. package/dist/{Ingredient-BT24CVH8.js → Ingredient-B8n9cRsp.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-Cd2xFodR.js → InventoryBinding.vue_vue_type_script_setup_true_lang-92V2JZvW.js} +2 -2
  16. package/dist/{LinkProductSideSheet-CAjxumsy.js → LinkProductSideSheet-LF2pdsYn.js} +4 -4
  17. package/dist/{MenuSetting-CrKps0Pr.js → MenuSetting-DrObZATH.js} +7 -7
  18. package/dist/{OrderPacing-DV8YhW4M.js → OrderPacing-CIP1oshR.js} +5 -5
  19. package/dist/{PrintRoute-N_c01sX7.js → PrintRoute-BUErmYxT.js} +5 -5
  20. package/dist/{Product-i45cWBne.js → Product-DBRc2y1I.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-SBnKF6Dc.js → Product.vue_vue_type_script_setup_true_lang-BvtMo0M4.js} +14 -14
  22. package/dist/{ProductInternalTools-C10beN3h.js → ProductInternalTools-CnYr5piv.js} +6 -6
  23. package/dist/{Products-Copz_NxK.js → Products-DkqJELto.js} +65 -65
  24. package/dist/{Publish-Dx9g-Iml.js → Publish-C94D_B2o.js} +446 -444
  25. package/dist/{Recipe-B0dhSxLY.js → Recipe-DxTc4llT.js} +5 -5
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BfTWVSgk.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BC59l-9q.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CGjp5ObO.js → RuleView.vue_vue_type_script_setup_true_lang-BpGitWig.js} +3 -3
  28. package/dist/{Scheduler-Bdy9DG0p.js → Scheduler-CtdYHGoQ.js} +3 -3
  29. package/dist/{ServingSequence-onP8TGmt.js → ServingSequence-Bx0Z7ob9.js} +3 -3
  30. package/dist/{Setting-h1N-6VJG.js → Setting-BWKT6o_d.js} +5 -5
  31. package/dist/{Subcategory-uRvIJSP2.js → Subcategory-BckJmrDm.js} +6 -6
  32. package/dist/{Takeaway-BVfssE0J.js → Takeaway-DULjBrov.js} +1 -1
  33. package/dist/{Takeaway-1LAZ7cjz.js → Takeaway-Dvt7GRhi.js} +4 -4
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DQy0jvn3.js → Takeaway.vue_vue_type_script_setup_true_lang-BanPhJ_p.js} +5 -5
  35. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CFfvrpnY.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-BA1GwxTn.js} +1 -1
  36. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DY_CAuFa.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-B45Qj3ka.js} +2 -2
  37. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BL_x8Upd.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mlqLqR9u.js} +15 -15
  38. package/dist/{Unit-Bdjbice8.js → Unit-C2rVtZXW.js} +2 -2
  39. package/dist/{Variant-D6lnVRhc.js → Variant-C1aRShIB.js} +3 -3
  40. package/dist/{_id_-_IoP91Df.js → _id_-TNQRaQmS.js} +10 -10
  41. package/dist/{app-CHa-DBPQ.js → app-Cbzk6cOz.js} +32 -32
  42. package/dist/{app-DuSxtjmC.js → app-DwyLCetV.js} +1 -1
  43. package/dist/app.js +1 -1
  44. package/dist/apps/mf-menu/src/api/menu.d.ts +3 -3
  45. package/dist/apps/mf-menu/src/stores/menu.d.ts +5 -4
  46. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  47. package/dist/assets/{linked-status-DBJxrh2U.js → linked-status-BY2u9ovw.js} +4 -4
  48. package/dist/assets/{menu-export-UgrjUnN2.js → menu-export-BaTSKjZt.js} +3 -3
  49. package/dist/assets/{override-menu-CIRYGinT.js → override-menu-Ccftxk6t.js} +4 -4
  50. package/dist/assets/{validate-menu-D8-_8UwY.js → validate-menu-CLI_SnXI.js} +4 -4
  51. package/dist/{catalog-C_rhdKvu.js → catalog-CVzF_mVG.js} +1 -1
  52. package/dist/{catalogSetting-SujM_d4-.js → catalogSetting-C1g9ndFL.js} +1 -1
  53. package/dist/{currency-CBsQulKD.js → currency-BMMqzZYC.js} +1 -1
  54. package/dist/{dayjs.min-CBi2aUyP.js → dayjs.min-BozAuX2f.js} +2 -2
  55. package/dist/{discardConfirm-BhV1iT_G.js → discardConfirm-CFESnGLS.js} +1 -1
  56. package/dist/{index-CtMD-H5N.js → index-BNzLcju2.js} +1 -1
  57. package/dist/{index-aXVdUVi9.js → index-BRt5TwuO.js} +6 -6
  58. package/dist/{index-D10URGOP.js → index-CyomkF6Q.js} +5 -5
  59. package/dist/{index.vue_vue_type_script_setup_true_lang-cI7uKVre.js → index.vue_vue_type_script_setup_true_lang-CESDAztS.js} +10559 -10562
  60. package/dist/{item-B7ovTnkT.js → item-Bg78_1Z3.js} +19 -19
  61. package/dist/{jszip.min-nm6XtoQ3.js → jszip.min-CfmqMq7-.js} +3 -3
  62. package/dist/{linkProducts-lOTzQqNK.js → linkProducts-Dk-7vVTM.js} +4 -4
  63. package/dist/{memberPricing-BYT32y4D.js → memberPricing-BeLPeWJc.js} +1 -1
  64. package/dist/{menu-6qHiTu0j.js → menu-Cn6vin1M.js} +1 -1
  65. package/dist/{menuV2-ILhcIRUD.js → menuV2-DMl-WMCG.js} +67 -67
  66. package/dist/{order_pacing-Bq09k_C7.js → order_pacing-SVJqBJun.js} +5 -5
  67. package/dist/{priceTier-BzuYYCqN.js → priceTier-BOIqyyMG.js} +1 -1
  68. package/dist/{rules-BrliKHcG.js → rules-Bw94jp35.js} +3 -3
  69. package/dist/{scheduler-6lSaa1nT.js → scheduler-BooRYOi1.js} +5 -5
  70. package/dist/{toExcel-C8QPvQuM.js → toExcel-FAK9N74s.js} +2 -2
  71. package/dist/{unit-s4XWrNN2.js → unit-BiH3semx.js} +3 -3
  72. package/package.json +2 -2
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as Z, ref as v, computed as $, resolveComponent as W, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as R, createBlock as oe, withCtx as A } from "vue";
2
- import { J as O, F as ne } from "./jszip.min-nm6XtoQ3.js";
3
- import { l as D } from "./discardConfirm-BhV1iT_G.js";
2
+ import { J as O, F as ne } from "./jszip.min-CfmqMq7-.js";
3
+ import { l as D } from "./discardConfirm-CFESnGLS.js";
4
4
  import { useI18n as le } from "@feedmepos/mf-common";
5
5
  import { FmButtonVariant as z, useSnackbar as V, useDialog as ie, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
6
- import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-cI7uKVre.js";
6
+ import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-CESDAztS.js";
7
7
  import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
8
- import { u as ge, a as pe } from "./menu-6qHiTu0j.js";
9
- import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-SBnKF6Dc.js";
10
- import { ae as he, af as ye, ag as be, ah as ve, ai as _e } from "./item-B7ovTnkT.js";
8
+ import { u as ge, a as pe } from "./menu-Cn6vin1M.js";
9
+ import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-BvtMo0M4.js";
10
+ import { ae as he, af as ye, ag as be, ah as ve, ai as _e } from "./item-Bg78_1Z3.js";
11
11
  const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
12
12
  key: 0,
13
13
  class: "h-full flex flex-col"
@@ -1,40 +1,40 @@
1
- import { defineComponent as B, computed as _, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as f, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as P, Fragment as j } from "vue";
2
- import { D as T } from "./dayjs.min-CBi2aUyP.js";
3
- import { J as re, F as ie } from "./jszip.min-nm6XtoQ3.js";
4
- import { l as z } from "./discardConfirm-BhV1iT_G.js";
5
- import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-OzkvL_JP.js";
6
- import { h as V, A as R } from "./app-CHa-DBPQ.js";
7
- import { u as K, b as Q, a as H, e as q, F as X, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-cI7uKVre.js";
1
+ import { defineComponent as D, computed as _, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as f, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as U, Fragment as j } from "vue";
2
+ import { D as E } from "./dayjs.min-BozAuX2f.js";
3
+ import { J as re, F as ie } from "./jszip.min-CfmqMq7-.js";
4
+ import { l as z } from "./discardConfirm-CFESnGLS.js";
5
+ import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DEvUaDcb.js";
6
+ import { h as V, A as R } from "./app-Cbzk6cOz.js";
7
+ import { u as K, b as Q, a as H, e as q, F as X, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-CESDAztS.js";
8
8
  import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
9
9
  import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as I, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
10
- import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
10
+ import { _ as B } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
11
11
  import { _ as _e, a as O } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
12
- import { _ as ge } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
13
- import { u as ve, a as be } from "./menu-6qHiTu0j.js";
14
- import { w as ye } from "./item-B7ovTnkT.js";
15
- import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-SBnKF6Dc.js";
16
- import { L as J } from "./LinkProductSideSheet-CAjxumsy.js";
17
- import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BL_x8Upd.js";
18
- import { u as Se } from "./linkProducts-lOTzQqNK.js";
19
- import { m as he } from "./toExcel-C8QPvQuM.js";
20
- const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
12
+ import { _ as ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
13
+ import { u as ge, a as be } from "./menu-Cn6vin1M.js";
14
+ import { w as ye } from "./item-Bg78_1Z3.js";
15
+ import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-BvtMo0M4.js";
16
+ import { L as J } from "./LinkProductSideSheet-LF2pdsYn.js";
17
+ import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mlqLqR9u.js";
18
+ import { u as Se } from "./linkProducts-Dk-7vVTM.js";
19
+ import { m as he } from "./toExcel-FAK9N74s.js";
20
+ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ D({
21
21
  __name: "ConfirmActionDialog",
22
22
  props: {
23
23
  description: {},
24
24
  value: {},
25
25
  message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
26
26
  },
27
- setup(A) {
28
- const n = A, p = _(() => n.message.replace("[[value]]", n.value)), k = W(""), o = te(), { emitAction: h } = pe();
29
- return (g, r) => {
30
- const M = F("FmTextField"), v = F("FmButton"), x = F("FmForm");
27
+ setup(T) {
28
+ const n = T, p = _(() => n.message.replace("[[value]]", n.value)), k = W(""), o = te(), { emitAction: h } = pe();
29
+ return (v, r) => {
30
+ const M = F("FmTextField"), g = F("FmButton"), x = F("FmForm");
31
31
  return l(), m(x, {
32
32
  "on-validation-success": () => e(h)("primary"),
33
33
  "blame-form-child-on-validation-failed": ""
34
34
  }, {
35
35
  default: f(() => [
36
36
  d("div", Me, [
37
- d("div", null, Z(g.description), 1),
37
+ d("div", null, Z(v.description), 1),
38
38
  d("div", { innerHTML: p.value }, null, 8, Ce),
39
39
  d("div", null, [
40
40
  u(M, {
@@ -44,17 +44,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
44
44
  r[1] || (r[1] = () => {
45
45
  })
46
46
  ],
47
- placeholder: g.value,
48
- rules: [(c) => c === g.value || "Value does not match"]
47
+ placeholder: v.value,
48
+ rules: [(c) => c === v.value || "Value does not match"]
49
49
  }, null, 8, ["modelValue", "placeholder", "rules"])
50
50
  ]),
51
51
  d("div", we, [
52
- u(v, {
52
+ u(g, {
53
53
  label: "Cancel",
54
54
  variant: "secondary",
55
55
  onClick: r[2] || (r[2] = (c) => e(o).close())
56
56
  }),
57
- u(v, {
57
+ u(g, {
58
58
  label: "Confirm",
59
59
  type: "submit"
60
60
  })
@@ -65,12 +65,12 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
65
65
  }, 8, ["on-validation-success"]);
66
66
  };
67
67
  }
68
- }), $e = /* @__PURE__ */ B({
68
+ }), $e = /* @__PURE__ */ D({
69
69
  __name: "Migrate",
70
- setup(A) {
71
- const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = Q(o), g = W(!1), r = te();
70
+ setup(T) {
71
+ const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = Q(o), v = W(!1), r = te();
72
72
  async function M() {
73
- v.value || g.value || r.open({
73
+ g.value || v.value || r.open({
74
74
  title: "Migrate to new version",
75
75
  contentComponent: Fe,
76
76
  contentComponentProps: {
@@ -85,7 +85,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
85
85
  }, 2e3);
86
86
  },
87
87
  {
88
- isLoading: g,
88
+ isLoading: v,
89
89
  customId: n.state.menu._id,
90
90
  message: "Migrating menu",
91
91
  successMessage: "Migration completed"
@@ -93,7 +93,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
93
93
  );
94
94
  });
95
95
  }
96
- const v = _(() => {
96
+ const g = _(() => {
97
97
  var C;
98
98
  if (((C = p.sessionUser.value) == null ? void 0 : C.role.isAdmin) === !0)
99
99
  return null;
@@ -104,7 +104,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
104
104
  });
105
105
  return (x, c) => {
106
106
  const b = F("FmSnackbar");
107
- return !e(k) && !v.value && e(n).version !== e(X).enum.v4 ? (l(), m(b, {
107
+ return !e(k) && !g.value && e(n).version !== e(X).enum.v4 ? (l(), m(b, {
108
108
  key: 0,
109
109
  class: "!max-w-full",
110
110
  title: "New version of menu is out now!",
@@ -116,10 +116,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
116
116
  })) : w("", !0);
117
117
  };
118
118
  }
119
- }), Ve = "/assets/menu-export-UgrjUnN2.js", Ae = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ee = { class: "flex items-center" }, Te = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ie = { class: "fm-typo-en-body-md-600 font-semibold" }, De = { class: "flex gap-8" }, et = /* @__PURE__ */ B({
119
+ }), Ve = "/assets/menu-export-BaTSKjZt.js", Te = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ae = { class: "flex items-center" }, Ee = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ie = { class: "fm-typo-en-body-md-600 font-semibold" }, Be = { class: "flex gap-8" }, et = /* @__PURE__ */ D({
120
120
  __name: "Products",
121
- setup(A) {
122
- const { t: n } = de(), p = ee(), k = Q(ne()), o = K(), h = _(() => o.rules.item), g = ye(), r = _(() => !o.state.currentSchedulerId), { selectedCategories: M } = ve(), v = _(() => ({
121
+ setup(T) {
122
+ const { t: n } = de(), p = ee(), k = Q(ne()), o = K(), h = _(() => o.rules.item), v = ye(), r = _(() => !o.state.currentSchedulerId), { selectedCategories: M } = ge(), g = _(() => ({
123
123
  ...ue.menuV4ToV3(ce(o.state.menu)),
124
124
  _id: o.state.menu._id,
125
125
  _rev: o.state.menu._rev
@@ -132,13 +132,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
132
132
  for (let $ = 0; $ < i.length; $++)
133
133
  a.file(`${t[$]}.xlsx`, i[$]);
134
134
  const s = await a.generateAsync({ type: "blob" });
135
- ie.saveAs(s, `books_${T().format("DD-MM-YYYY_HH-mm")}.zip`);
135
+ ie.saveAs(s, `books_${E().format("DD-MM-YYYY_HH-mm")}.zip`);
136
136
  }
137
137
  async function b() {
138
138
  await k.minor(
139
139
  async () => {
140
140
  if (await o.readMenu(), o.version === X.enum.v4) {
141
- const i = o.state.menu, t = T().format("DD-MM-YYYY_HH-mm"), a = [
141
+ const i = o.state.menu, t = E().format("DD-MM-YYYY_HH-mm"), a = [
142
142
  `menu_${t}`,
143
143
  `addonGroup_${t}`,
144
144
  `itemLinkedAddon_${t}`,
@@ -153,7 +153,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
153
153
  );
154
154
  await c(s, a);
155
155
  } else {
156
- const i = he(v.value), t = `menu_${T().format("DD-MM-YYYY_HH-mm")}`;
156
+ const i = he(g.value), t = `menu_${E().format("DD-MM-YYYY_HH-mm")}`;
157
157
  await le(i, `${t}.xlsx`, {
158
158
  bookType: "xlsx",
159
159
  bookSST: !0,
@@ -166,12 +166,12 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
166
166
  );
167
167
  }
168
168
  const {
169
- menuItems: E,
169
+ menuItems: A,
170
170
  categories: C,
171
171
  linkItemRules: y,
172
- handleSubmit: N,
173
- catalogManager: U,
174
- schedulerManager: Y
172
+ handleSubmit: Y,
173
+ catalogManager: N,
174
+ schedulerManager: L
175
175
  } = Se(!1), oe = fe(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
176
176
  var a;
177
177
  const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
@@ -179,7 +179,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
179
179
  subject: V.Subject.Business.menu_menuManagement
180
180
  };
181
181
  return R([t], i).granted;
182
- }), L = _(() => {
182
+ }), P = _(() => {
183
183
  var a;
184
184
  const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
185
185
  action: V.Action.manage,
@@ -189,7 +189,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
189
189
  });
190
190
  return be().resetOnMount(), (i, t) => {
191
191
  const a = F("fm-button");
192
- return l(), m(ge, {
192
+ return l(), m(ve, {
193
193
  heading: e(n)("menu.products.title")
194
194
  }, {
195
195
  default: f(() => [
@@ -197,13 +197,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
197
197
  u(ke)
198
198
  ]),
199
199
  "append-heading": f(() => [
200
- d("div", Ae, [
201
- d("div", Ee, [
202
- d("div", Te, [
200
+ d("div", Te, [
201
+ d("div", Ae, [
202
+ d("div", Ee, [
203
203
  d("p", Ie, Z(x.value), 1)
204
204
  ])
205
205
  ]),
206
- d("div", De, [
206
+ d("div", Be, [
207
207
  ae.value ? (l(), m(G, { key: 1 }, {
208
208
  default: f(({ trigger: s }) => [
209
209
  u(_e, null, {
@@ -221,7 +221,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
221
221
  }, 1024)
222
222
  ]),
223
223
  _: 1
224
- })) : (l(), P(j, { key: 0 }, [
224
+ })) : (l(), U(j, { key: 0 }, [
225
225
  se.value ? (l(), m(xe, { key: 0 }, {
226
226
  default: f(({ trigger: s }) => [
227
227
  u(a, {
@@ -234,7 +234,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
234
234
  ]),
235
235
  _: 1
236
236
  })) : w("", !0),
237
- L.value ? (l(), m(a, {
237
+ P.value ? (l(), m(a, {
238
238
  key: 1,
239
239
  "bg-color": e(S).NeutralGray100,
240
240
  "text-color": e(S).TypoSecondary,
@@ -242,7 +242,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
242
242
  label: e(n)("menu.products.actions.export"),
243
243
  onClick: b
244
244
  }, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
245
- L.value ? (l(), m(G, { key: 2 }, {
245
+ P.value ? (l(), m(G, { key: 2 }, {
246
246
  default: f(({ trigger: s }) => [
247
247
  u(a, {
248
248
  "bg-color": e(S).NeutralGray100,
@@ -255,25 +255,25 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
255
255
  _: 1
256
256
  })) : w("", !0)
257
257
  ], 64)),
258
- x.value > 0 ? (l(), P(j, { key: 2 }, [
259
- h.value.create ? (l(), m(D, {
258
+ x.value > 0 ? (l(), U(j, { key: 2 }, [
259
+ h.value.create ? (l(), m(B, {
260
260
  key: 0,
261
261
  label: e(n)("menu.products.actions.add"),
262
262
  "prepend-icon": "add",
263
- onClick: t[0] || (t[0] = (s) => e(g).create(null))
263
+ onClick: t[0] || (t[0] = (s) => e(v).create(null))
264
264
  }, null, 8, ["label"])) : r.value ? (l(), m(J, {
265
265
  key: 1,
266
- "categorized-items": e(U).linkableItems.value,
267
- "initial-value": e(U).currentItems.value,
266
+ "categorized-items": e(N).linkableItems.value,
267
+ "initial-value": e(N).currentItems.value,
268
268
  "show-variant": !1,
269
- "menu-items": e(E),
269
+ "menu-items": e(A),
270
270
  categories: e(C),
271
271
  "link-item-rules": e(y),
272
272
  "no-scheduler": r.value,
273
- onSubmit: e(N)
273
+ onSubmit: e(Y)
274
274
  }, {
275
275
  default: f(({ trigger: s }) => [
276
- u(D, {
276
+ u(B, {
277
277
  label: e(n)("menu.products.actions.link"),
278
278
  "prepend-icon": "link",
279
279
  onClick: s
@@ -282,17 +282,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
282
282
  _: 1
283
283
  }, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(J, {
284
284
  key: 2,
285
- "categorized-items": e(Y).linkableItems.value,
286
- "initial-value": e(Y).currentItems.value,
285
+ "categorized-items": e(L).linkableItems.value,
286
+ "initial-value": e(L).currentItems.value,
287
287
  "show-variant": !1,
288
- "menu-items": e(E),
288
+ "menu-items": e(A),
289
289
  categories: e(C),
290
290
  "link-item-rules": e(y),
291
291
  "no-scheduler": r.value,
292
- onSubmit: e(N)
292
+ onSubmit: e(Y)
293
293
  }, {
294
294
  default: f(({ trigger: s }) => [
295
- u(D, {
295
+ u(B, {
296
296
  label: e(n)("menu.products.actions.apply_scheduler"),
297
297
  onClick: s
298
298
  }, null, 8, ["label", "onClick"])