@feedmepos/mf-menu 0.32.56 → 0.32.57-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 (73) hide show
  1. package/dist/{App-BUePFRjb.js → App-CE5s0l9A.js} +5 -5
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-oPq3AcV2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DZ5sZWpU.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-r2W9cuVe.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-B0POr6JV.js} +2 -2
  4. package/dist/{Catalog-uo0vO8uy.js → Catalog-CY6RvjyS.js} +6 -6
  5. package/dist/{Category-CHN6aSPS.js → Category-BoVnd_-a.js} +10 -10
  6. package/dist/{Category-BvetZzck.js → Category-DIpJlX_N.js} +13 -13
  7. package/dist/{CookingGuide-DU8D0T0w.js → CookingGuide-CHzasZA9.js} +4 -4
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIxKLpe8.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIhsGYRl.js} +1 -1
  9. package/dist/{Group-Cd1OoALN.js → Group-CwBojMky.js} +1 -1
  10. package/dist/{Group-BFGFyGhC.js → Group-SUmVQxSU.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-Dyb9On55.js → Group.vue_vue_type_script_setup_true_lang-BBqXiV3r.js} +57 -58
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-XcNt0ZBv.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CcQdvzMy.js} +5 -5
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dw3IXPUL.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C8VMeXoW.js} +193 -190
  14. package/dist/{Ingredient-CXU04qIu.js → Ingredient-DmsJNTi3.js} +3 -3
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-q9DVgfMD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CZ3Ti5o-.js} +2 -2
  16. package/dist/{LinkProductSideSheet-CaFKMMSd.js → LinkProductSideSheet-D8Dvdhk0.js} +3 -3
  17. package/dist/{MenuSetting-EeJdFNfx.js → MenuSetting-CmFx4CKw.js} +6 -6
  18. package/dist/{OrderPacing-Db4P-2ea.js → OrderPacing-CFuteZjm.js} +5 -5
  19. package/dist/{PrintRoute-CSScKjFa.js → PrintRoute-CeHNsLcv.js} +4 -4
  20. package/dist/{Product-tvbYvK5u.js → Product-bJfbi1yz.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js → Product.vue_vue_type_script_setup_true_lang-kvqrUjei.js} +66 -66
  22. package/dist/{ProductInternalTools-D2rmgEby.js → ProductInternalTools-BkKbXFdG.js} +16 -16
  23. package/dist/{Products-WPvLY_wr.js → Products-Bv9gINb8.js} +24 -24
  24. package/dist/{Publish-BJ9rz75C.js → Publish-CSMkGRiV.js} +3 -3
  25. package/dist/{Recipe-BMRTd58L.js → Recipe-CDK1f07t.js} +4 -4
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BefgcG34.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-hYs_2e94.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DlzIboPc.js → RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js} +187 -187
  28. package/dist/{Scheduler-CHQ5YcBq.js → Scheduler-Ce6qK5xo.js} +3 -3
  29. package/dist/{ServingSequence-BtXSEzfn.js → ServingSequence-BSX_g50j.js} +3 -3
  30. package/dist/{Setting-BnXj1uTa.js → Setting-BNS9ggtX.js} +5 -5
  31. package/dist/{Subcategory-miGPIoku.js → Subcategory-62g1JEwl.js} +5 -5
  32. package/dist/{Takeaway-DtVvfRQy.js → Takeaway-DR0Ax44B.js} +1 -1
  33. package/dist/{Takeaway-zaChLDgt.js → Takeaway-f4VO0ZJ-.js} +4 -4
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BFnbiGsG.js → Takeaway.vue_vue_type_script_setup_true_lang-B3UE1p7X.js} +5 -5
  35. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CNYxe969.js → Thumbnail.vue_vue_type_script_setup_true_lang-CTw2lKns.js} +4 -4
  36. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-D4fWF46n.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-hd6JGri0.js} +1 -1
  37. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DLqeQRkH.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BRXHWG5s.js} +2 -2
  38. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ClDRf-88.js +5986 -0
  39. package/dist/{Unit-BaLVANd9.js → Unit-DnrLxe1V.js} +2 -2
  40. package/dist/{Variant-Bnb4SllS.js → Variant-DM2r3Of9.js} +3 -3
  41. package/dist/{_id_-btH88hnV.js → _id_-BhFeSJIu.js} +9 -9
  42. package/dist/{app-D1a9CqKF.js → app-CO3nuOc3.js} +1 -1
  43. package/dist/{app-BO16t-ps.js → app-DH7q5VuL.js} +32 -32
  44. package/dist/app.js +1 -1
  45. package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +2 -0
  46. package/dist/apps/mf-menu/src/manager/menu/circularLink.d.ts +3 -0
  47. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +1 -2
  48. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  49. package/dist/assets/{linked-status-zxrRiX3x.js → linked-status-BR-paOgW.js} +2 -2
  50. package/dist/assets/{menu-export-DXB8Py6r.js → menu-export-Dwpl4c_S.js} +4 -4
  51. package/dist/assets/{override-menu-CEIJGR_x.js → override-menu-BS1DhRTo.js} +2 -2
  52. package/dist/assets/{validate-menu-DN3P-OR7.js → validate-menu-B-YCNUDR.js} +2 -2
  53. package/dist/{catalog-COu1SO_p.js → catalog-DN1unMjl.js} +1 -1
  54. package/dist/{catalogSetting-D34fLwdB.js → catalogSetting-CI8dXYw5.js} +1 -1
  55. package/dist/{currency-DlfcFoj5.js → currency-BFqLFFOP.js} +1 -1
  56. package/dist/{dayjs.min-xM9KAjrx.js → dayjs.min-BXDB3ec6.js} +2 -2
  57. package/dist/{index-B5d_uvVc.js → index-CCKQLhW1.js} +4 -4
  58. package/dist/{index-ByEp1JD0.js → index-CYexEfd8.js} +5 -5
  59. package/dist/{index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js → index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js} +5 -5
  60. package/dist/{item-CtfWra_w.js → item-eua4dBDT.js} +516 -488
  61. package/dist/{jszip.min-CNLaYb3p.js → jszip.min-C10zcIsO.js} +3 -3
  62. package/dist/{memberPricing-DSqwOAgM.js → memberPricing-BlITNLhE.js} +1 -1
  63. package/dist/{menu-DUsES-YM.js → menu-C4vsCvFL.js} +1 -1
  64. package/dist/menuV2-DB-VttRA.js +1023 -0
  65. package/dist/{order_pacing-B5a8Fch-.js → order_pacing-CDQ6wUL_.js} +5 -5
  66. package/dist/{priceTier-bxvu4c84.js → priceTier-pJMZysfK.js} +1 -1
  67. package/dist/{rules-CTd3QZhN.js → rules-BScEYhiY.js} +3 -3
  68. package/dist/{scheduler-DIl9SPsA.js → scheduler-BTiyl-EY.js} +4 -4
  69. package/dist/{toExcel-CUAEPhEv.js → toExcel-CSdnEWqk.js} +2 -2
  70. package/dist/{unit-DThoovpF.js → unit-BcPS3VM3.js} +2 -2
  71. package/package.json +1 -1
  72. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DUxEgL0r.js +0 -5974
  73. package/dist/menuV2-BaY8Z_1c.js +0 -1055
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as Z, ref as v, computed as $, resolveComponent as G, 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 O, createBlock as oe, withCtx as R } from "vue";
2
- import { J as A, F as ne } from "./jszip.min-CNLaYb3p.js";
3
- import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
2
+ import { J as A, F as ne } from "./jszip.min-C10zcIsO.js";
3
+ import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
4
4
  import { useI18n as ue } from "@feedmepos/mf-common";
5
5
  import { FmButtonVariant as z, useSnackbar as V, useDialog as ge, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
6
6
  import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
7
- import { u as fe, a as he } from "./menu-DUsES-YM.js";
8
- import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js";
9
- import { D as be, E as ve, G as _e } from "./item-CtfWra_w.js";
7
+ import { u as fe, a as he } from "./menu-C4vsCvFL.js";
8
+ import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-kvqrUjei.js";
9
+ import { E as be, G as ve, H as _e } from "./item-eua4dBDT.js";
10
10
  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 = {
11
11
  key: 0,
12
12
  class: "h-full flex flex-col"
@@ -28,7 +28,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
28
28
  }, Ae = {
29
29
  key: 1,
30
30
  class: "flex-1 overflow-y-auto p-16"
31
- }, De = { class: "space-y-12" }, Ve = { class: "fm-typo-en-body-sm font-medium break-all" }, Ze = { class: "flex" }, Ge = { class: "w-64 h-64 bg-gray-100 rounded-8 overflow-hidden" }, We = ["src", "alt"], qe = /* @__PURE__ */ Z({
31
+ }, De = { class: "space-y-12" }, Ve = { class: "fm-typo-en-body-sm font-medium break-all" }, Ze = { class: "flex" }, Ge = { class: "w-64 h-64 bg-gray-100 rounded-8 overflow-hidden" }, He = ["src", "alt"], We = /* @__PURE__ */ Z({
32
32
  __name: "ImageUpdatePreview",
33
33
  props: {
34
34
  matchedImages: {},
@@ -139,7 +139,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
139
139
  src: m.imageUrl,
140
140
  alt: m.filename,
141
141
  class: "w-full h-full object-cover"
142
- }, null, 8, We)
142
+ }, null, 8, He)
143
143
  ])
144
144
  ])
145
145
  ]))), 128))
@@ -151,7 +151,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
151
151
  };
152
152
  }
153
153
  });
154
- var He = { firebase: { storageBucket: "image.feedmedev.cc" } };
154
+ var qe = { firebase: { storageBucket: "image.feedmedev.cc" } };
155
155
  const Je = {
156
156
  key: 0,
157
157
  class: "h-screen"
@@ -168,7 +168,7 @@ const Je = {
168
168
  filename: a
169
169
  });
170
170
  }
171
- async function W(e, a = "images.zip") {
171
+ async function H(e, a = "images.zip") {
172
172
  const o = new A();
173
173
  e.forEach(({ blob: d, filename: n }) => {
174
174
  d && o.file(n, d);
@@ -176,7 +176,7 @@ const Je = {
176
176
  const g = await o.generateAsync({ type: "blob" });
177
177
  ne.saveAs(g, a);
178
178
  }
179
- async function q() {
179
+ async function W() {
180
180
  const e = x.value.filter((a) => a.thumbnail);
181
181
  if (e.length === 0) {
182
182
  F.open({ type: "error", title: "No downloadable images found" });
@@ -215,7 +215,7 @@ const Je = {
215
215
  })).filter((n) => n !== null);
216
216
  if (a.value = "Creating ZIP file...", d.length > 0) {
217
217
  const n = `images_${(/* @__PURE__ */ new Date()).toISOString().slice(0, 10)}.zip`;
218
- await W(d, n);
218
+ await H(d, n);
219
219
  } else
220
220
  throw new Error("Failed to fetch any images");
221
221
  },
@@ -227,7 +227,7 @@ const Je = {
227
227
  );
228
228
  });
229
229
  }
230
- async function H(e) {
230
+ async function q(e) {
231
231
  const o = await new A().loadAsync(e), g = [];
232
232
  for (const [d, n] of Object.entries(o.files)) {
233
233
  if (n.dir || d.includes("__MACOSX/") || !N(d))
@@ -262,7 +262,7 @@ const Je = {
262
262
  const a = [];
263
263
  for (const t of e)
264
264
  if (t.type === "application/zip" || t.name.toLowerCase().endsWith(".zip")) {
265
- const i = await H(t);
265
+ const i = await q(t);
266
266
  a.push(...i);
267
267
  } else N(t.name) && a.push(t);
268
268
  const o = /* @__PURE__ */ new Map();
@@ -310,7 +310,7 @@ const Je = {
310
310
  const o = async (t) => {
311
311
  const i = ce(t.productId);
312
312
  let f = "";
313
- return t.newImage && (await de.update(i, t.newImage, He.firebase.storageBucket), f = me(i)), { productId: t.productId, newImageUrl: f };
313
+ return t.newImage && (await de.update(i, t.newImage, qe.firebase.storageBucket), f = me(i)), { productId: t.productId, newImageUrl: f };
314
314
  };
315
315
  a.value = `Starting upload of ${e.length} product images...`;
316
316
  const g = await ve({
@@ -357,7 +357,7 @@ const Je = {
357
357
  const o = G("fm-button");
358
358
  return r(), c(P, null, [
359
359
  _.value ? (r(), c("div", Je, [
360
- I(qe, {
360
+ I(We, {
361
361
  "matched-images": w.value,
362
362
  "unmatched-images": l.value,
363
363
  onCancel: te,
@@ -383,7 +383,7 @@ const Je = {
383
383
  "text-color": h(S).TypoSecondary,
384
384
  variant: h(z).Primary,
385
385
  label: "Download Images",
386
- onClick: q
386
+ onClick: W
387
387
  }, null, 8, ["bg-color", "text-color", "variant"]),
388
388
  I(o, {
389
389
  "bg-color": h(S).NeutralGray100,
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as I, computed as _, ref as W, resolveComponent as w, createBlock as m, openBlock as l, unref as e, withCtx as p, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as C, createElementBlock as U, Fragment as L } from "vue";
2
- import { D as E } from "./dayjs.min-xM9KAjrx.js";
3
- import { J as re, F as ie } from "./jszip.min-CNLaYb3p.js";
4
- import { u as K, B as X, z as j, D as H, y as Q, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
5
- import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Dw3IXPUL.js";
6
- import { h as $, A as q } from "./app-BO16t-ps.js";
2
+ import { D as E } from "./dayjs.min-BXDB3ec6.js";
3
+ import { J as re, F as ie } from "./jszip.min-C10zcIsO.js";
4
+ import { u as K, B as Q, z as j, D as H, y as X, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
5
+ import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-C8VMeXoW.js";
6
+ import { h as $, A as q } from "./app-DH7q5VuL.js";
7
7
  import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
8
8
  import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as T, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
9
9
  import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
10
10
  import { _ as fe, a as G } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
11
11
  import { _ as ge } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
12
- import { u as ve, a as be } from "./menu-DUsES-YM.js";
13
- import { u as ye } from "./item-CtfWra_w.js";
14
- import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js";
15
- import { L as J } from "./LinkProductSideSheet-CaFKMMSd.js";
16
- import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DUxEgL0r.js";
17
- import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CNYxe969.js";
18
- import { m as he } from "./toExcel-CUAEPhEv.js";
12
+ import { u as ve, a as be } from "./menu-C4vsCvFL.js";
13
+ import { u as ye } from "./item-eua4dBDT.js";
14
+ import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-kvqrUjei.js";
15
+ import { L as J } from "./LinkProductSideSheet-D8Dvdhk0.js";
16
+ import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ClDRf-88.js";
17
+ import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CTw2lKns.js";
18
+ import { m as he } from "./toExcel-CSdnEWqk.js";
19
19
  const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ I({
20
20
  __name: "ConfirmActionDialog",
21
21
  props: {
@@ -67,7 +67,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
67
67
  }), $e = /* @__PURE__ */ I({
68
68
  __name: "Migrate",
69
69
  setup(V) {
70
- const n = K(), f = ee(), y = ne(), { minor: o } = X(y), k = W(!1), g = te();
70
+ const n = K(), f = ee(), y = ne(), { minor: o } = Q(y), k = W(!1), g = te();
71
71
  async function i() {
72
72
  x.value || k.value || g.open({
73
73
  title: "Migrate to new version",
@@ -103,7 +103,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
103
103
  });
104
104
  return (S, v) => {
105
105
  const c = w("FmSnackbar");
106
- return !x.value && e(n).version !== e(Q).enum.v4 ? (l(), m(c, {
106
+ return !x.value && e(n).version !== e(X).enum.v4 ? (l(), m(c, {
107
107
  key: 0,
108
108
  class: "!max-w-full",
109
109
  title: "New version of menu is out now!",
@@ -115,10 +115,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
115
115
  })) : C("", !0);
116
116
  };
117
117
  }
118
- }), Ve = "/assets/menu-export-DXB8Py6r.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" }, Qe = /* @__PURE__ */ I({
118
+ }), Ve = "/assets/menu-export-Dwpl4c_S.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" }, Xe = /* @__PURE__ */ I({
119
119
  __name: "Products",
120
120
  setup(V) {
121
- const { t: n } = de(), f = ee(), y = X(ne()), o = K(), k = _(() => o.rules.item), g = ye(), i = _(() => !o.state.currentSchedulerId), { selectedCategories: x } = ve(), S = _(() => ({
121
+ const { t: n } = de(), f = ee(), y = Q(ne()), o = K(), k = _(() => o.rules.item), g = ye(), i = _(() => !o.state.currentSchedulerId), { selectedCategories: x } = ve(), S = _(() => ({
122
122
  ...le.menuV4ToV3(ue(o.state.menu)),
123
123
  _id: o.state.menu._id,
124
124
  _rev: o.state.menu._rev
@@ -136,7 +136,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
136
136
  async function A() {
137
137
  await y.minor(
138
138
  async () => {
139
- if (await o.readMenu(), o.version === Q.enum.v4) {
139
+ if (await o.readMenu(), o.version === X.enum.v4) {
140
140
  const r = o.state.menu, t = E().format("DD-MM-YYYY_HH-mm"), a = [
141
141
  `menu_${t}`,
142
142
  `addonGroup_${t}`,
@@ -170,7 +170,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
170
170
  linkItemRules: B,
171
171
  handleSubmit: Y,
172
172
  catalogManager: N,
173
- schedulerManager: P
173
+ schedulerManager: z
174
174
  } = Se(!1), oe = _e(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
175
175
  var a;
176
176
  const r = ((a = f.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
@@ -178,7 +178,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
178
178
  subject: $.Subject.Business.menu_menuManagement
179
179
  };
180
180
  return q([t], r).granted;
181
- }), z = _(() => {
181
+ }), P = _(() => {
182
182
  var a;
183
183
  const r = ((a = f.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
184
184
  action: $.Action.manage,
@@ -233,7 +233,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
233
233
  ]),
234
234
  _: 1
235
235
  })) : C("", !0),
236
- z.value ? (l(), m(a, {
236
+ P.value ? (l(), m(a, {
237
237
  key: 1,
238
238
  "bg-color": e(h).NeutralGray100,
239
239
  "text-color": e(h).TypoSecondary,
@@ -241,7 +241,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
241
241
  label: e(n)("menu.products.actions.export"),
242
242
  onClick: A
243
243
  }, null, 8, ["bg-color", "text-color", "variant", "label"])) : C("", !0),
244
- z.value ? (l(), m(O, { key: 2 }, {
244
+ P.value ? (l(), m(O, { key: 2 }, {
245
245
  default: p(({ trigger: s }) => [
246
246
  u(a, {
247
247
  "bg-color": e(h).NeutralGray100,
@@ -281,8 +281,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
281
281
  _: 1
282
282
  }, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(J, {
283
283
  key: 2,
284
- "categorized-items": e(P).linkableItems.value,
285
- "initial-value": e(P).currentItems.value,
284
+ "categorized-items": e(z).linkableItems.value,
285
+ "initial-value": e(z).currentItems.value,
286
286
  "show-variant": !1,
287
287
  "menu-items": e(M),
288
288
  categories: e(b),
@@ -308,5 +308,5 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
308
308
  }
309
309
  });
310
310
  export {
311
- Qe as default
311
+ Xe as default
312
312
  };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as J, ref as P, computed as D, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as T, unref as c, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as z, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Ue, normalizeStyle as Oe, renderSlot as Be, withModifiers as le, onUnmounted as Te } from "vue";
2
- import { D as E } from "./dayjs.min-xM9KAjrx.js";
2
+ import { D as E } from "./dayjs.min-BXDB3ec6.js";
3
3
  import { useRouter as ze } from "vue-router";
4
4
  import { O as Ee, b as Le } from "./app-5fxKLAzS.js";
5
- import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
5
+ import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
6
6
  import { useI18n as Z, useCoreStore as he, RestaurantSelector as Ve } from "@feedmepos/mf-common";
7
7
  import { useSnackbar as fe, useDialogChild as Ge, useProxiedModel as Je, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
8
8
  import { _ as We } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
9
- import { _ as Qe } from "./app-BO16t-ps.js";
9
+ import { _ as Qe } from "./app-DH7q5VuL.js";
10
10
  import { a as Xe, w as Ze } from "./tooltip-B5BiPMx9.js";
11
11
  import { u as Fe } from "./discardConfirm-BHni0LNu.js";
12
12
  import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as E, reactive as Q, watch as
2
2
  import { useI18n as M } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as P, components as G, useDialog as ne, FmButtonVariant as K, useBreakpoints as oe } from "@feedmepos/ui-library";
4
4
  import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as le } from "./app-BO16t-ps.js";
6
- import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
5
+ import { _ as le } from "./app-DH7q5VuL.js";
6
+ import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
7
7
  import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
8
8
  import { defineStore as ue } from "pinia";
9
- import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-q9DVgfMD.js";
9
+ import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-CZ3Ti5o-.js";
10
10
  import { u as de } from "./discardConfirm-BHni0LNu.js";
11
11
  import { c as pe } from "./check-C9mY6LiX.js";
12
- import "./unit-DThoovpF.js";
12
+ import "./unit-BcPS3VM3.js";
13
13
  import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
14
14
  const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
15
15
  __name: "Form",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as D, ref as R, resolveComponent as u, createElementBlock as E, openBlock as P, Fragment as B, createElementVNode as d, createVNode as l, normalizeClass as A, withCtx as i, toDisplayString as g, unref as o, h as I } from "vue";
2
2
  import { useI18n as T, useCustomAttributes as K, useCoreStore as N } from "@feedmepos/mf-common";
3
3
  import { components as U } from "@feedmepos/ui-library";
4
- import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-DlzIboPc.js";
4
+ import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js";
5
5
  const j = {
6
6
  class: /* @__PURE__ */ A(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
7
7
  }, O = {