@feedmepos/mf-menu 0.32.63-dev.1 → 0.32.63-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 (80) hide show
  1. package/dist/{App-DhfTGlgM.js → App-C1a1LT6q.js} +6 -6
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C5-8qdJK.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CRZjxBH8.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CXm-0H18.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DsicZfqa.js} +3 -3
  4. package/dist/{Catalog-WuZJfM6l.js → Catalog-CFH82IzQ.js} +22 -22
  5. package/dist/{Category-BeIo7XWY.js → Category-Bmq8Dyqn.js} +4 -4
  6. package/dist/{Category-D-cQQCPS.js → Category-DcHgLPzL.js} +4 -4
  7. package/dist/{CookingGuide-B-yvD9ZA.js → CookingGuide-g7cIlLFa.js} +29 -29
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-2_yzXoa4.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DGMoRxxQ.js} +1 -1
  9. package/dist/{Group-13i5igrS.js → Group-CFxq6Jwg.js} +3 -3
  10. package/dist/{Group-CY8lUzQG.js → Group-DQ4S03dQ.js} +1 -1
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-DZhxy0tb.js → Group.vue_vue_type_script_setup_true_lang-Criwjsgq.js} +7 -7
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CWqv-oUd.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-nnzPpKcA.js} +19 -19
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DTs4Vpdi.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CanCWSih.js} +4209 -4209
  14. package/dist/{Ingredient-vrUOW6gk.js → Ingredient-BUWk8yVD.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-xcVjRjqD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DBMUbP3d.js} +2 -2
  16. package/dist/{LinkProductSideSheet-DMbJG6wf.js → LinkProductSideSheet-D_ewAtdl.js} +4 -4
  17. package/dist/{MenuSetting-Di2xwm00.js → MenuSetting-DgaIhn51.js} +7 -7
  18. package/dist/{OrderPacing-CCe-IcGO.js → OrderPacing-CUHfN9Hy.js} +7 -7
  19. package/dist/{PrintRoute-CcfObcHY.js → PrintRoute-CFxcyI3r.js} +10 -10
  20. package/dist/{Product-ChUVnMgG.js → Product-ChWP4DlN.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-C9Qp50hL.js → Product.vue_vue_type_script_setup_true_lang-Df0hOAaW.js} +58 -58
  22. package/dist/{ProductInternalTools-D9HXhgo5.js → ProductInternalTools--PMoNgk2.js} +14 -14
  23. package/dist/{Products-Bly2ktEC.js → Products-D3yOg_rD.js} +52 -52
  24. package/dist/{Publish-C8ubb8Qf.js → Publish-C5pI3ARw.js} +107 -107
  25. package/dist/{Recipe-BpMRLsyO.js → Recipe-ClV7xDMI.js} +5 -5
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BD5OCDRn.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BWZJOF7c.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-Ba3djmX1.js → RuleView.vue_vue_type_script_setup_true_lang-_lhdiLQO.js} +362 -362
  28. package/dist/{Scheduler-CiB4b2Fn.js → Scheduler-B4gXNQFu.js} +17 -17
  29. package/dist/{ServingSequence-BlcyW-dv.js → ServingSequence-DQ9LvurM.js} +3 -3
  30. package/dist/{Setting-DqkL6YYU.js → Setting-D659-DYQ.js} +5 -5
  31. package/dist/{Subcategory-B4Jg_wtT.js → Subcategory-CldSh8My.js} +10 -10
  32. package/dist/{Takeaway-5rFPYYNA.js → Takeaway-B5MvIP-7.js} +4 -4
  33. package/dist/{Takeaway-5G3f7jWT.js → Takeaway-za5OSOvm.js} +1 -1
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CVsOhg_E.js → Takeaway.vue_vue_type_script_setup_true_lang-BhoK4wib.js} +7 -7
  35. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CPqxA6JD.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-Bl3WgQNK.js} +1 -1
  36. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-yrNuTD-3.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DkWRL-y_.js} +2 -2
  37. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Tox1yfD-.js +5858 -0
  38. package/dist/{Unit-CAkdmQLg.js → Unit-CMEF528D.js} +2 -2
  39. package/dist/{Variant-BbLQqbAK.js → Variant-37cAL8NO.js} +6 -6
  40. package/dist/{_id_-Dzacr40I.js → _id_-c4e1Ngjk.js} +12 -12
  41. package/dist/{app-Deov1985.js → app-Cb9EXiAF.js} +1 -1
  42. package/dist/{app-4yWs09Fr.js → app-Dafn3Z5r.js} +102 -102
  43. package/dist/app.js +1 -1
  44. package/dist/apps/mf-menu/src/api/media.d.ts +10 -3
  45. package/dist/apps/mf-menu/src/app.d.ts +60 -10
  46. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +67 -21
  47. package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ManageImageDrawer.vue.d.ts +15 -1
  48. package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ProductImageField.vue.d.ts +16 -1
  49. package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/RegenerateImageDialog.vue.d.ts +10 -0
  50. package/dist/apps/mf-menu/src/helper/menuImport.d.ts +22 -0
  51. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/assets/{override-menu-cBe2aMY6.js → linked-status-Cy7U6MR7.js} +4 -4
  53. package/dist/assets/{menu-export-Dcw5a_dN.js → menu-export-MsUq-m6i.js} +3 -3
  54. package/dist/assets/{linked-status-B2WLhKkV.js → override-menu-C21YmN7u.js} +4 -4
  55. package/dist/assets/{validate-menu-BM-5GK85.js → validate-menu-DO2qd1Ls.js} +4 -4
  56. package/dist/{catalog-DKygS2Cs.js → catalog-CZzcvExG.js} +1 -1
  57. package/dist/{catalogSetting-Bn2TplvM.js → catalogSetting-3iBsVbtC.js} +1 -1
  58. package/dist/{currency-DXgNHtK8.js → currency-C3o78W2S.js} +1 -1
  59. package/dist/dayjs.min-rFrrfcXf.js +7 -0
  60. package/dist/{discardConfirm-DZwzKO-Q.js → discardConfirm-DsprInGX.js} +1 -1
  61. package/dist/{index-K-MBqJJo.js → index-CD_omf3p.js} +1 -1
  62. package/dist/{index-BEocaqRK.js → index-CyeAgLyq.js} +6 -6
  63. package/dist/{index-B48KLyqg.js → index-DSIKxrZZ.js} +5 -5
  64. package/dist/{index.vue_vue_type_script_setup_true_lang-Nl505vPi.js → index.vue_vue_type_script_setup_true_lang-DKab6bV3.js} +8148 -8084
  65. package/dist/{item-Da3ArD-G.js → item-BbwU7bUM.js} +4432 -4192
  66. package/dist/{jszip.min-Cc2eR4Cq.js → jszip.min-B8gSnxra.js} +52 -52
  67. package/dist/{linkProducts-GNuUxFEE.js → linkProducts-DqErRFMk.js} +6 -6
  68. package/dist/{memberPricing-T-jr7tn1.js → memberPricing-BwmMrsfo.js} +1 -1
  69. package/dist/{menu-DSDRAil-.js → menu-umI9Z6Bd.js} +1 -1
  70. package/dist/{menuV2-fTlJdjxi.js → menuV2-Btcob7OV.js} +81 -81
  71. package/dist/mf-menu.css +1 -1
  72. package/dist/{order_pacing-Dgo1fySS.js → order_pacing-ByU4f3cV.js} +5 -5
  73. package/dist/{priceTier-aT_gIfrN.js → priceTier-vHrePqH1.js} +1 -1
  74. package/dist/{rules-Cx2hkV20.js → rules-B4FvBggj.js} +3 -3
  75. package/dist/{scheduler-Bd-q7yF8.js → scheduler-1ZBJNxij.js} +28 -28
  76. package/dist/{toExcel-qfjR83qT.js → toExcel-C8Nsh1v6.js} +2 -2
  77. package/dist/{unit-n1T9grbM.js → unit-RNGe0YzY.js} +24 -24
  78. package/package.json +1 -1
  79. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-T71R68sq.js +0 -5836
  80. package/dist/dayjs.min-DpX65tgj.js +0 -7
@@ -1,13 +1,13 @@
1
- import { defineComponent as Z, ref as v, computed as $, resolveComponent as q, 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-Cc2eR4Cq.js";
3
- import { l as D } from "./discardConfirm-DZwzKO-Q.js";
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-B8gSnxra.js";
3
+ import { l as D } from "./discardConfirm-DsprInGX.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, q as me } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.js";
6
+ import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-DKab6bV3.js";
7
7
  import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
8
- import { u as pe, a as ge } from "./menu-DSDRAil-.js";
9
- import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-C9Qp50hL.js";
10
- import { aj as he, ak as ye, al as be, am as ve, an as _e } from "./item-Da3ArD-G.js";
8
+ import { u as pe, a as ge } from "./menu-umI9Z6Bd.js";
9
+ import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-Df0hOAaW.js";
10
+ import { aj as he, ak as ye, al as be, am as ve, an as _e } from "./item-BbwU7bUM.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"
@@ -29,7 +29,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
29
29
  }, Oe = {
30
30
  key: 1,
31
31
  class: "flex-1 overflow-y-auto p-16"
32
- }, De = { class: "space-y-12" }, Ve = { class: "fm-typo-en-body-sm font-medium break-all" }, Ze = { class: "flex" }, qe = { class: "w-64 h-64 bg-gray-100 rounded-md overflow-hidden" }, We = ["src", "alt"], Ge = /* @__PURE__ */ Z({
32
+ }, De = { class: "space-y-12" }, Ve = { class: "fm-typo-en-body-sm font-medium break-all" }, Ze = { class: "flex" }, We = { class: "w-64 h-64 bg-gray-100 rounded-md overflow-hidden" }, qe = ["src", "alt"], Ge = /* @__PURE__ */ Z({
33
33
  __name: "ImageUpdatePreview",
34
34
  props: {
35
35
  matchedImages: {},
@@ -45,7 +45,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
45
45
  F("update", u.matchedImages);
46
46
  }
47
47
  return (w, l) => {
48
- const x = q("fm-button");
48
+ const x = W("fm-button");
49
49
  return r(), c("div", we, [
50
50
  s("div", xe, [
51
51
  l[2] || (l[2] = s("h2", { class: "fm-typo-en-headline-sm font-semibold" }, "Update Product Images", -1)),
@@ -135,12 +135,12 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
135
135
  }, [
136
136
  s("div", Ve, U(m.filename), 1),
137
137
  s("div", Ze, [
138
- s("div", qe, [
138
+ s("div", We, [
139
139
  s("img", {
140
140
  src: m.imageUrl,
141
141
  alt: m.filename,
142
142
  class: "w-full h-full object-cover"
143
- }, null, 8, We)
143
+ }, null, 8, qe)
144
144
  ])
145
145
  ])
146
146
  ]))), 128))
@@ -169,7 +169,7 @@ const He = {
169
169
  filename: a
170
170
  });
171
171
  }
172
- async function W(e, a = "images.zip") {
172
+ async function q(e, a = "images.zip") {
173
173
  const o = new O();
174
174
  e.forEach(({ blob: d, filename: n }) => {
175
175
  d && o.file(n, d);
@@ -216,7 +216,7 @@ const He = {
216
216
  })).filter((n) => n !== null);
217
217
  if (a.value = "Creating ZIP file...", d.length > 0) {
218
218
  const n = `images_${(/* @__PURE__ */ new Date()).toISOString().slice(0, 10)}.zip`;
219
- await W(d, n);
219
+ await q(d, n);
220
220
  } else
221
221
  throw new Error("Failed to fetch any images");
222
222
  },
@@ -355,7 +355,7 @@ const He = {
355
355
  a.value = "";
356
356
  }
357
357
  return ge().resetOnMount(), (e, a) => {
358
- const o = q("fm-button");
358
+ const o = W("fm-button");
359
359
  return r(), c(P, null, [
360
360
  _.value ? (r(), c("div", He, [
361
361
  I(Ge, {
@@ -1,23 +1,23 @@
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 C, createElementBlock as U, Fragment as z } from "vue";
2
- import { D as T } from "./dayjs.min-DpX65tgj.js";
3
- import { J as re, F as ie } from "./jszip.min-Cc2eR4Cq.js";
4
- import { l as R } from "./discardConfirm-DZwzKO-Q.js";
5
- import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DTs4Vpdi.js";
6
- import { h as V, A as j } from "./app-4yWs09Fr.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-Nl505vPi.js";
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 z } from "vue";
2
+ import { D as T } from "./dayjs.min-rFrrfcXf.js";
3
+ import { J as re, F as ie } from "./jszip.min-B8gSnxra.js";
4
+ import { l as R } from "./discardConfirm-DsprInGX.js";
5
+ import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CanCWSih.js";
6
+ import { h as V, A as j } from "./app-Dafn3Z5r.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-DKab6bV3.js";
8
8
  import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
9
- import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as D, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
10
- import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
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";
11
11
  import { _ as _e, a as O } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
12
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-DSDRAil-.js";
14
- import { w as ye } from "./item-Da3ArD-G.js";
15
- import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-C9Qp50hL.js";
16
- import { L as J } from "./LinkProductSideSheet-DMbJG6wf.js";
17
- import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-T71R68sq.js";
18
- import { u as Se } from "./linkProducts-GNuUxFEE.js";
19
- import { m as he } from "./toExcel-qfjR83qT.js";
20
- const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
13
+ import { u as ge, a as be } from "./menu-umI9Z6Bd.js";
14
+ import { w as ye } from "./item-BbwU7bUM.js";
15
+ import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-Df0hOAaW.js";
16
+ import { L as J } from "./LinkProductSideSheet-D_ewAtdl.js";
17
+ import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Tox1yfD-.js";
18
+ import { u as Se } from "./linkProducts-DqErRFMk.js";
19
+ import { m as he } from "./toExcel-C8Nsh1v6.js";
20
+ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
21
21
  __name: "ConfirmActionDialog",
22
22
  props: {
23
23
  description: {},
@@ -35,7 +35,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
35
35
  default: f(() => [
36
36
  d("div", Me, [
37
37
  d("div", null, Z(v.description), 1),
38
- d("div", { innerHTML: p.value }, null, 8, we),
38
+ d("div", { innerHTML: p.value }, null, 8, Ce),
39
39
  d("div", null, [
40
40
  u(M, {
41
41
  modelValue: k.value,
@@ -48,7 +48,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
48
48
  rules: [(c) => c === v.value || "Value does not match"]
49
49
  }, null, 8, ["modelValue", "placeholder", "rules"])
50
50
  ]),
51
- d("div", Ce, [
51
+ d("div", we, [
52
52
  u(g, {
53
53
  label: "Cancel",
54
54
  variant: "secondary",
@@ -94,8 +94,8 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
94
94
  });
95
95
  }
96
96
  const g = _(() => {
97
- var w;
98
- if (((w = p.sessionUser.value) == null ? void 0 : w.role.isAdmin) === !0)
97
+ var C;
98
+ if (((C = p.sessionUser.value) == null ? void 0 : C.role.isAdmin) === !0)
99
99
  return null;
100
100
  const c = p.restaurants.value;
101
101
  if (!c.length) return "Required at least one restaurant to migrate";
@@ -113,10 +113,10 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
113
113
  action: "Migrate",
114
114
  "z-index": 0,
115
115
  onOnAction: M
116
- })) : C("", !0);
116
+ })) : w("", !0);
117
117
  };
118
118
  }
119
- }), Ve = "/assets/menu-export-Dcw5a_dN.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" }, De = { class: "fm-typo-en-body-md-600 font-semibold" }, Ie = { class: "flex gap-8" }, et = /* @__PURE__ */ B({
119
+ }), Ve = "/assets/menu-export-MsUq-m6i.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({
120
120
  __name: "Products",
121
121
  setup(A) {
122
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 = _(() => ({
@@ -167,11 +167,11 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
167
167
  }
168
168
  const {
169
169
  menuItems: E,
170
- categories: w,
170
+ categories: C,
171
171
  linkItemRules: y,
172
- handleSubmit: N,
173
- catalogManager: Y,
174
- schedulerManager: L
172
+ handleSubmit: Y,
173
+ catalogManager: N,
174
+ schedulerManager: U
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" }, we = ["innerHTML"], Ce = { class: "fle
179
179
  subject: V.Subject.Business.menu_menuManagement
180
180
  };
181
181
  return j([t], i).granted;
182
- }), P = _(() => {
182
+ }), L = _(() => {
183
183
  var a;
184
184
  const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
185
185
  action: V.Action.manage,
@@ -200,10 +200,10 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
200
200
  d("div", Ae, [
201
201
  d("div", Ee, [
202
202
  d("div", Te, [
203
- d("p", De, Z(x.value), 1)
203
+ d("p", Ie, Z(x.value), 1)
204
204
  ])
205
205
  ]),
206
- d("div", Ie, [
206
+ d("div", De, [
207
207
  ae.value ? (l(), m(G, { key: 1 }, {
208
208
  default: f(({ trigger: s }) => [
209
209
  u(_e, null, {
@@ -221,59 +221,59 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
221
221
  }, 1024)
222
222
  ]),
223
223
  _: 1
224
- })) : (l(), U(z, { key: 0 }, [
224
+ })) : (l(), P(z, { key: 0 }, [
225
225
  se.value ? (l(), m(xe, { key: 0 }, {
226
226
  default: f(({ trigger: s }) => [
227
227
  u(a, {
228
228
  label: e(n)("menu.tree_editor.title"),
229
229
  "bg-color": e(S).NeutralGray100,
230
230
  "text-color": e(S).TypoSecondary,
231
- variant: e(D).Primary,
231
+ variant: e(I).Primary,
232
232
  onClick: s
233
233
  }, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
234
234
  ]),
235
235
  _: 1
236
- })) : C("", !0),
237
- P.value ? (l(), m(a, {
236
+ })) : w("", !0),
237
+ L.value ? (l(), m(a, {
238
238
  key: 1,
239
239
  "bg-color": e(S).NeutralGray100,
240
240
  "text-color": e(S).TypoSecondary,
241
- variant: e(D).Primary,
241
+ variant: e(I).Primary,
242
242
  label: e(n)("menu.products.actions.export"),
243
243
  onClick: b
244
- }, null, 8, ["bg-color", "text-color", "variant", "label"])) : C("", !0),
245
- P.value ? (l(), m(G, { key: 2 }, {
244
+ }, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
245
+ L.value ? (l(), m(G, { key: 2 }, {
246
246
  default: f(({ trigger: s }) => [
247
247
  u(a, {
248
248
  "bg-color": e(S).NeutralGray100,
249
249
  "text-color": e(S).TypoSecondary,
250
- variant: e(D).Primary,
250
+ variant: e(I).Primary,
251
251
  label: e(n)("menu.products.actions.import"),
252
252
  onClick: s
253
253
  }, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
254
254
  ]),
255
255
  _: 1
256
- })) : C("", !0)
256
+ })) : w("", !0)
257
257
  ], 64)),
258
- x.value > 0 ? (l(), U(z, { key: 2 }, [
259
- h.value.create ? (l(), m(I, {
258
+ x.value > 0 ? (l(), P(z, { key: 2 }, [
259
+ h.value.create ? (l(), m(D, {
260
260
  key: 0,
261
261
  label: e(n)("menu.products.actions.add"),
262
262
  "prepend-icon": "add",
263
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(Y).linkableItems.value,
267
- "initial-value": e(Y).currentItems.value,
266
+ "categorized-items": e(N).linkableItems.value,
267
+ "initial-value": e(N).currentItems.value,
268
268
  "show-variant": !1,
269
269
  "menu-items": e(E),
270
- categories: e(w),
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(I, {
276
+ u(D, {
277
277
  label: e(n)("menu.products.actions.link"),
278
278
  "prepend-icon": "link",
279
279
  onClick: s
@@ -282,24 +282,24 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { 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(L).linkableItems.value,
286
- "initial-value": e(L).currentItems.value,
285
+ "categorized-items": e(U).linkableItems.value,
286
+ "initial-value": e(U).currentItems.value,
287
287
  "show-variant": !1,
288
288
  "menu-items": e(E),
289
- categories: e(w),
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(I, {
295
+ u(D, {
296
296
  label: e(n)("menu.products.actions.apply_scheduler"),
297
297
  onClick: s
298
298
  }, null, 8, ["label", "onClick"])
299
299
  ]),
300
300
  _: 1
301
301
  }, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"]))
302
- ], 64)) : C("", !0)
302
+ ], 64)) : w("", !0)
303
303
  ])
304
304
  ])
305
305
  ]),