@feedmepos/mf-menu 0.32.66-dev.4 → 0.32.66

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 (69) hide show
  1. package/dist/{App-DdmEswyc.js → App-CLFnWEv5.js} +8 -8
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-ChxM7qYy.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CVlLKIvY.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-bZiXME9Z.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-CifmNu2u.js} +3 -3
  4. package/dist/{Catalog-GcX5VX2M.js → Catalog-BC3jLsPs.js} +6 -6
  5. package/dist/{Category-BwH-wVv2.js → Category-Bmwlq6nL.js} +4 -4
  6. package/dist/{Category-B2Kv3yJp.js → Category-DMkvEdKc.js} +4 -4
  7. package/dist/{CookingGuide-CWDprGu6.js → CookingGuide-qy0LTm-D.js} +5 -5
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CmACeNnV.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-JiZiBeEH.js} +1 -1
  9. package/dist/{Group-YNbaHa27.js → Group-BPwmyZZp.js} +1 -1
  10. package/dist/{Group-BavmrRXD.js → Group-D0Xv55no.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-9rGR3rec.js → Group.vue_vue_type_script_setup_true_lang-D8nAO7h0.js} +7 -7
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D12xx6Vd.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CjEnnnQj.js} +5 -5
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-NAKJ0sFP.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DMzqbxts.js} +7 -7
  14. package/dist/{Ingredient-DHjSUUIP.js → Ingredient-BqaX4rlX.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-U5AkGUri.js → InventoryBinding.vue_vue_type_script_setup_true_lang-sKJRkcCq.js} +2 -2
  16. package/dist/{LinkProductSideSheet-BkNMJOiZ.js → LinkProductSideSheet-C6R0KLzF.js} +4 -4
  17. package/dist/{MenuSetting-Bm4O6MZ6.js → MenuSetting-BedGpIZE.js} +7 -7
  18. package/dist/{OrderPacing-DliNofLl.js → OrderPacing-C7i8LWNy.js} +5 -5
  19. package/dist/{PrintRoute-1Py1_tzI.js → PrintRoute-CIuQv57y.js} +5 -5
  20. package/dist/{Product-D3kyQmwQ.js → Product-DRcYcCoB.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-D-heQeQu.js → Product.vue_vue_type_script_setup_true_lang-C1jETJyk.js} +14 -14
  22. package/dist/{ProductInternalTools-87_B55Fr.js → ProductInternalTools-BKZ3Z3o8.js} +7 -7
  23. package/dist/{Products-B-J389Ks.js → Products-BOz9WFoU.js} +56 -56
  24. package/dist/{Publish-BlYboQl0.js → Publish-COiwVeUS.js} +4 -4
  25. package/dist/{Recipe-qb3ZdJGw.js → Recipe-DNFAMy0c.js} +5 -5
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CXqE4HLg.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-B8P0xkMT.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CODY5qdL.js → RuleView.vue_vue_type_script_setup_true_lang-DxpvosGG.js} +462 -462
  28. package/dist/{Scheduler-CeM3y0Ha.js → Scheduler-DFc4fCB9.js} +3 -3
  29. package/dist/{ServingSequence-BCzXUO9n.js → ServingSequence-DjIUv0-b.js} +3 -3
  30. package/dist/{Setting-sy6vMuPB.js → Setting-DnTMpvqy.js} +5 -5
  31. package/dist/{Subcategory-BZti9kYo.js → Subcategory-B3HfpruL.js} +6 -6
  32. package/dist/{Takeaway-C9puqL8n.js → Takeaway-CCJDLPwz.js} +4 -4
  33. package/dist/{Takeaway-D5JlmD6u.js → Takeaway-DYoO1ATi.js} +1 -1
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-j8d0lXOL.js → Takeaway.vue_vue_type_script_setup_true_lang-B8RUqBww.js} +5 -5
  35. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-DX_DRNF2.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-D1gjP1Yk.js} +1 -1
  36. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DesC2w1k.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-Cixm7NMC.js} +2 -2
  37. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CmuuSoGs.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CNs2BM3V.js} +15 -15
  38. package/dist/{Unit-Cc42yyN6.js → Unit-DTswZFER.js} +2 -2
  39. package/dist/{Variant-D19fCBB3.js → Variant-hqEsHL1u.js} +3 -3
  40. package/dist/{_id_-B9MKg_D-.js → _id_-CGEwOGPW.js} +10 -10
  41. package/dist/{app-kMpCkgGC.js → app-Bl1kXtqs.js} +1 -1
  42. package/dist/{app-BN0HgwNB.js → app-Da1XriaA.js} +32 -32
  43. package/dist/app.js +1 -1
  44. package/dist/assets/{linked-status-CfzY6n0e.js → linked-status-BvskCt3K.js} +2 -2
  45. package/dist/assets/{menu-export-CALDQ8k1.js → menu-export-Do1iuDTl.js} +3 -3
  46. package/dist/assets/{override-menu-CmqrughS.js → override-menu-6Z3zlZar.js} +2 -2
  47. package/dist/assets/{validate-menu-BgjAdwUE.js → validate-menu-B5dZxzSc.js} +2 -2
  48. package/dist/{catalog-BuKsorK6.js → catalog-UnHoIEYX.js} +1 -1
  49. package/dist/{catalogSetting-B5EtNHwb.js → catalogSetting-DNkG_w_s.js} +1 -1
  50. package/dist/{currency-BTbX6PWL.js → currency-DI_9wOEf.js} +1 -1
  51. package/dist/{dayjs.min-KeFRLajb.js → dayjs.min-B1nGfqJL.js} +2 -2
  52. package/dist/{discardConfirm-zfX1nuye.js → discardConfirm-C65bh13g.js} +1 -1
  53. package/dist/{index-DTakcRjO.js → index-CJoXwoxN.js} +5 -5
  54. package/dist/{index-DDJHOjwR.js → index-Uv8d5BUd.js} +1 -1
  55. package/dist/{index-DfoDRA0k.js → index-rj_-6l1M.js} +6 -6
  56. package/dist/{index.vue_vue_type_script_setup_true_lang-DybNA4Np.js → index.vue_vue_type_script_setup_true_lang-BRtju05_.js} +467 -467
  57. package/dist/{item-jpOmJGLW.js → item-Cl-8exj2.js} +20 -20
  58. package/dist/{jszip.min-DyvQ41lT.js → jszip.min-5yjRwCyp.js} +167 -167
  59. package/dist/{linkProducts-DFJMpL5n.js → linkProducts-CimT6rLW.js} +4 -4
  60. package/dist/{memberPricing-BZgeIGmU.js → memberPricing-CZwLOzMR.js} +1 -1
  61. package/dist/{menu-BupVgTY-.js → menu-C4c62Xvw.js} +1 -1
  62. package/dist/{menuV2-B9-ODrLW.js → menuV2-BxVmtfZ3.js} +96 -96
  63. package/dist/{order_pacing-Dfey1efO.js → order_pacing-C0bYumFm.js} +5 -5
  64. package/dist/{priceTier-eGLFeyfY.js → priceTier-C08rb71L.js} +1 -1
  65. package/dist/{rules-BS6BLc8X.js → rules-DEd-yB4f.js} +3 -3
  66. package/dist/{scheduler-3BGOjjCO.js → scheduler-B_-N10Gf.js} +5 -5
  67. package/dist/{toExcel-BmTqFf7v.js → toExcel-Ca_J-aHT.js} +2 -2
  68. package/dist/{unit-D2oVUlp4.js → unit-CDMOEbey.js} +3 -3
  69. package/package.json +1 -1
@@ -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-DyvQ41lT.js";
3
- import { l as D } from "./discardConfirm-zfX1nuye.js";
2
+ import { J as O, F as ne } from "./jszip.min-5yjRwCyp.js";
3
+ import { l as D } from "./discardConfirm-C65bh13g.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-DybNA4Np.js";
6
+ import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-BRtju05_.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-BupVgTY-.js";
9
- import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-D-heQeQu.js";
10
- import { ae as he, af as ye, ag as be, ah as ve, ai as _e } from "./item-jpOmJGLW.js";
8
+ import { u as ge, a as pe } from "./menu-C4c62Xvw.js";
9
+ import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-C1jETJyk.js";
10
+ import { ae as he, af as ye, ag as be, ah as ve, ai as _e } from "./item-Cl-8exj2.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"
@@ -152,7 +152,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
152
152
  };
153
153
  }
154
154
  });
155
- var Je = { firebase: { storageBucket: "image.feedmedev.cc" } };
155
+ var Je = { firebase: { storageBucket: "image.feedme.cc" } };
156
156
  const He = {
157
157
  key: 0,
158
158
  class: "h-screen"
@@ -1,22 +1,22 @@
1
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 U, Fragment as z } from "vue";
2
- import { D as T } from "./dayjs.min-KeFRLajb.js";
3
- import { J as re, F as ie } from "./jszip.min-DyvQ41lT.js";
4
- import { l as R } from "./discardConfirm-zfX1nuye.js";
5
- import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-NAKJ0sFP.js";
6
- import { h as V, A as j } from "./app-BN0HgwNB.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-DybNA4Np.js";
2
+ import { D as E } from "./dayjs.min-B1nGfqJL.js";
3
+ import { J as re, F as ie } from "./jszip.min-5yjRwCyp.js";
4
+ import { l as R } from "./discardConfirm-C65bh13g.js";
5
+ import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DMzqbxts.js";
6
+ import { h as V, A as j } from "./app-Da1XriaA.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-BRtju05_.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";
9
+ import { useDialog as te, useDialogChild as pe, useSnackbar as oe, useBreakpoints as fe, FmButtonVariant as D, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
10
10
  import { _ as I } 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-BupVgTY-.js";
14
- import { w as ye } from "./item-jpOmJGLW.js";
15
- import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-D-heQeQu.js";
16
- import { L as J } from "./LinkProductSideSheet-BkNMJOiZ.js";
17
- import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CmuuSoGs.js";
18
- import { u as Se } from "./linkProducts-DFJMpL5n.js";
19
- import { m as he } from "./toExcel-BmTqFf7v.js";
13
+ import { u as ge, a as be } from "./menu-C4c62Xvw.js";
14
+ import { w as ye } from "./item-Cl-8exj2.js";
15
+ import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-C1jETJyk.js";
16
+ import { L as J } from "./LinkProductSideSheet-C6R0KLzF.js";
17
+ import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CNs2BM3V.js";
18
+ import { u as Se } from "./linkProducts-CimT6rLW.js";
19
+ import { m as he } from "./toExcel-Ca_J-aHT.js";
20
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: {
@@ -24,8 +24,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
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();
27
+ setup(T) {
28
+ const o = T, p = _(() => o.message.replace("[[value]]", o.value)), k = W(""), n = te(), { emitAction: h } = pe();
29
29
  return (v, r) => {
30
30
  const M = F("FmTextField"), g = F("FmButton"), x = F("FmForm");
31
31
  return l(), m(x, {
@@ -52,7 +52,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
52
52
  u(g, {
53
53
  label: "Cancel",
54
54
  variant: "secondary",
55
- onClick: r[2] || (r[2] = (c) => e(o).close())
55
+ onClick: r[2] || (r[2] = (c) => e(n).close())
56
56
  }),
57
57
  u(g, {
58
58
  label: "Confirm",
@@ -67,8 +67,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
67
67
  }
68
68
  }), $e = /* @__PURE__ */ B({
69
69
  __name: "Migrate",
70
- setup(A) {
71
- const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = Q(o), v = W(!1), r = te();
70
+ setup(T) {
71
+ const o = K(), p = ee(), { isRestaurantLevelMenu: k } = p, n = oe(), { minor: h } = Q(n), v = W(!1), r = te();
72
72
  async function M() {
73
73
  g.value || v.value || r.open({
74
74
  title: "Migrate to new version",
@@ -80,13 +80,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
80
80
  }).onPrimary(async () => {
81
81
  r.close(), await h(
82
82
  async () => {
83
- await n.migrate(), setTimeout(() => {
83
+ await o.migrate(), setTimeout(() => {
84
84
  window.location.reload();
85
85
  }, 2e3);
86
86
  },
87
87
  {
88
88
  isLoading: v,
89
- customId: n.state.menu._id,
89
+ customId: o.state.menu._id,
90
90
  message: "Migrating menu",
91
91
  successMessage: "Migration completed"
92
92
  }
@@ -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) && !g.value && e(n).version !== e(X).enum.v4 ? (l(), m(b, {
107
+ return !e(k) && !g.value && e(o).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,13 +116,13 @@ 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-CALDQ8k1.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-Do1iuDTl.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" }, De = { class: "fm-typo-en-body-md-600 font-semibold" }, Ie = { class: "flex gap-8" }, et = /* @__PURE__ */ B({
120
120
  __name: "Products",
121
- setup(A) {
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
- ...ue.menuV4ToV3(ce(o.state.menu)),
124
- _id: o.state.menu._id,
125
- _rev: o.state.menu._rev
121
+ setup(T) {
122
+ const { t: o } = de(), p = ee(), k = Q(oe()), n = K(), h = _(() => n.rules.item), v = ye(), r = _(() => !n.state.currentSchedulerId), { selectedCategories: M } = ge(), g = _(() => ({
123
+ ...ue.menuV4ToV3(ce(n.state.menu)),
124
+ _id: n.state.menu._id,
125
+ _rev: n.state.menu._rev
126
126
  })), x = _(() => {
127
127
  const i = R.flatten(M.value.map((t) => t.items));
128
128
  return R.uniqBy(i, (t) => t._id).length;
@@ -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
- if (await o.readMenu(), o.version === X.enum.v4) {
141
- const i = o.state.menu, t = T().format("DD-MM-YYYY_HH-mm"), a = [
140
+ if (await n.readMenu(), n.version === X.enum.v4) {
141
+ const i = n.state.menu, t = E().format("DD-MM-YYYY_HH-mm"), a = [
142
142
  `menu_${t}`,
143
143
  `addonGroup_${t}`,
144
144
  `itemLinkedAddon_${t}`,
@@ -148,12 +148,12 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
148
148
  JSON.stringify({
149
149
  menu: i,
150
150
  attributeSettings: p.itemAttributeSettings.value,
151
- localizationKeys: o.state.featureFlags.supportedLocales
151
+ localizationKeys: n.state.featureFlags.supportedLocales
152
152
  })
153
153
  );
154
154
  await c(s, a);
155
155
  } else {
156
- const i = he(g.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,
@@ -162,17 +162,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
162
162
  });
163
163
  }
164
164
  },
165
- { successMessage: "Menu exported", customId: o.state.menu._id }
165
+ { successMessage: "Menu exported", customId: n.state.menu._id }
166
166
  );
167
167
  }
168
168
  const {
169
- menuItems: E,
169
+ menuItems: A,
170
170
  categories: C,
171
171
  linkItemRules: y,
172
172
  handleSubmit: Y,
173
- catalogManager: L,
174
- schedulerManager: N
175
- } = Se(!1), oe = fe(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
173
+ catalogManager: N,
174
+ schedulerManager: L
175
+ } = Se(!1), ne = fe(), ae = _(() => ne.breakpoints.value.xs), se = _(() => {
176
176
  var a;
177
177
  const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
178
178
  action: V.Action.manage,
@@ -190,16 +190,16 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
190
190
  return be().resetOnMount(), (i, t) => {
191
191
  const a = F("fm-button");
192
192
  return l(), m(ve, {
193
- heading: e(n)("menu.products.title")
193
+ heading: e(o)("menu.products.title")
194
194
  }, {
195
195
  default: f(() => [
196
196
  u($e),
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", De, Z(x.value), 1)
204
204
  ])
205
205
  ]),
@@ -209,11 +209,11 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
209
209
  u(_e, null, {
210
210
  default: f(() => [
211
211
  u(O, {
212
- label: e(n)("menu.products.actions.export"),
212
+ label: e(o)("menu.products.actions.export"),
213
213
  onClick: b
214
214
  }, null, 8, ["label"]),
215
215
  u(O, {
216
- label: e(n)("menu.products.actions.import"),
216
+ label: e(o)("menu.products.actions.import"),
217
217
  onClick: s
218
218
  }, null, 8, ["label", "onClick"])
219
219
  ]),
@@ -225,7 +225,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
225
225
  se.value ? (l(), m(xe, { key: 0 }, {
226
226
  default: f(({ trigger: s }) => [
227
227
  u(a, {
228
- label: e(n)("menu.tree_editor.title"),
228
+ label: e(o)("menu.tree_editor.title"),
229
229
  "bg-color": e(S).NeutralGray100,
230
230
  "text-color": e(S).TypoSecondary,
231
231
  variant: e(D).Primary,
@@ -239,7 +239,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
239
239
  "bg-color": e(S).NeutralGray100,
240
240
  "text-color": e(S).TypoSecondary,
241
241
  variant: e(D).Primary,
242
- label: e(n)("menu.products.actions.export"),
242
+ label: e(o)("menu.products.actions.export"),
243
243
  onClick: b
244
244
  }, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
245
245
  P.value ? (l(), m(G, { key: 2 }, {
@@ -248,7 +248,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
248
248
  "bg-color": e(S).NeutralGray100,
249
249
  "text-color": e(S).TypoSecondary,
250
250
  variant: e(D).Primary,
251
- label: e(n)("menu.products.actions.import"),
251
+ label: e(o)("menu.products.actions.import"),
252
252
  onClick: s
253
253
  }, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
254
254
  ]),
@@ -258,15 +258,15 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
258
258
  x.value > 0 ? (l(), U(z, { key: 2 }, [
259
259
  h.value.create ? (l(), m(I, {
260
260
  key: 0,
261
- label: e(n)("menu.products.actions.add"),
261
+ label: e(o)("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(L).linkableItems.value,
267
- "initial-value": e(L).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,
@@ -274,7 +274,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
274
274
  }, {
275
275
  default: f(({ trigger: s }) => [
276
276
  u(I, {
277
- label: e(n)("menu.products.actions.link"),
277
+ label: e(o)("menu.products.actions.link"),
278
278
  "prepend-icon": "link",
279
279
  onClick: s
280
280
  }, null, 8, ["label", "onClick"])
@@ -282,10 +282,10 @@ 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(N).linkableItems.value,
286
- "initial-value": e(N).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,
@@ -293,7 +293,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
293
293
  }, {
294
294
  default: f(({ trigger: s }) => [
295
295
  u(I, {
296
- label: e(n)("menu.products.actions.apply_scheduler"),
296
+ label: e(o)("menu.products.actions.apply_scheduler"),
297
297
  onClick: s
298
298
  }, null, 8, ["label", "onClick"])
299
299
  ]),
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as J, ref as F, computed as D, onMounted as ge, resolveComponent as N, createElementBlock as P, openBlock as k, createVNode as _, createElementVNode as v, toDisplayString as L, unref as p, Fragment as Y, renderList as W, createBlock as G, watch as Ie, withCtx as z, h as T, normalizeClass as _e, createCommentVNode as Q, createTextVNode as Ve, mergeProps as Ke, normalizeStyle as Ye, renderSlot as Ge, withModifiers as le, onUnmounted as qe } from "vue";
2
- import { D as j } from "./dayjs.min-KeFRLajb.js";
2
+ import { D as j } from "./dayjs.min-B1nGfqJL.js";
3
3
  import { useRouter as He } from "vue-router";
4
4
  import { O as Je, b as We } from "./app-5fxKLAzS.js";
5
- import { a as Qe, e as Xe, b as Ne, M as Ze, _ as $e, N as E, u as De, d as Fe, F as et } from "./index.vue_vue_type_script_setup_true_lang-DybNA4Np.js";
5
+ import { a as Qe, e as Xe, b as Ne, M as Ze, _ as $e, N as E, u as De, d as Fe, F as et } from "./index.vue_vue_type_script_setup_true_lang-BRtju05_.js";
6
6
  import { useI18n as X, useCoreStore as ye, RestaurantSelector as Ae } from "@feedmepos/mf-common";
7
7
  import { useSnackbar as Ce, useDialogChild as tt, useProxiedModel as at, useDialog as Re, components as te, FmButtonVariant as Me } from "@feedmepos/ui-library";
8
8
  import { _ as lt } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
9
- import { _ as st } from "./app-BN0HgwNB.js";
9
+ import { _ as st } from "./app-Da1XriaA.js";
10
10
  import { a as nt, w as ot } from "./tooltip-B5BiPMx9.js";
11
- import { u as Oe, l as ut } from "./discardConfirm-zfX1nuye.js";
11
+ import { u as Oe, l as ut } from "./discardConfirm-C65bh13g.js";
12
12
  import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  function Be(S) {
14
14
  return S ? j(S).format("DD/MM/YY HH:mm") : "-";
@@ -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 $, 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-BN0HgwNB.js";
6
- import { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-DybNA4Np.js";
5
+ import { _ as le } from "./app-Da1XriaA.js";
6
+ import { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-BRtju05_.js";
7
7
  import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
8
8
  import { defineStore as ce } from "pinia";
9
- import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-U5AkGUri.js";
10
- import { u as me, l as de } from "./discardConfirm-zfX1nuye.js";
9
+ import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-sKJRkcCq.js";
10
+ import { u as me, l as de } from "./discardConfirm-C65bh13g.js";
11
11
  import { c as pe } from "./check-C9mY6LiX.js";
12
- import "./unit-D2oVUlp4.js";
12
+ import "./unit-CDMOEbey.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-CODY5qdL.js";
4
+ import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-DxpvosGG.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 = {