@feedmepos/mf-menu 0.32.61-dev.1 → 0.32.61-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 (68) hide show
  1. package/dist/{App-BlPyUGB_.js → App-DUt038mF.js} +5 -5
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B4PAatkS.js → ApplyProduct.vue_vue_type_script_setup_true_lang-8XZvSlHK.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-DwANkY0s.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DmdKxvs_.js} +2 -2
  4. package/dist/{Catalog-B5MZeM6K.js → Catalog-DdMwXA7l.js} +6 -6
  5. package/dist/{Category-CI_NWg74.js → Category-BKagB0Qu.js} +4 -4
  6. package/dist/{Category-D9KrU2k8.js → Category-cqGYih0q.js} +4 -4
  7. package/dist/{CookingGuide-Cf1CHQ-X.js → CookingGuide-EOLACWPf.js} +4 -4
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CCHkXBZD.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-HTrbh3tV.js} +1 -1
  9. package/dist/{Group-CWi-0hkW.js → Group-B7JXb7k7.js} +3 -3
  10. package/dist/{Group-CuZ7PCKT.js → Group-tr1rtesX.js} +1 -1
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-BfMyMQ_H.js → Group.vue_vue_type_script_setup_true_lang-CExX5fDG.js} +6 -6
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-1ghoDbrV.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-_g6dUTHu.js} +5 -5
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BEkD_xvB.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-k7CnGG7K.js} +7 -7
  14. package/dist/{Ingredient-rn2OM-W7.js → Ingredient-Bd82FJnE.js} +3 -3
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BMBNdxYT.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DWxCttOu.js} +2 -2
  16. package/dist/{LinkProductSideSheet-BAVjkhSM.js → LinkProductSideSheet-C1Is5snR.js} +3 -3
  17. package/dist/{MenuSetting-B76zY-2b.js → MenuSetting-DAGfRWb7.js} +6 -6
  18. package/dist/{OrderPacing-CJfw_U60.js → OrderPacing-zYRFIqzx.js} +5 -5
  19. package/dist/{PrintRoute-CDcbOaGr.js → PrintRoute-CX9NKEPF.js} +4 -4
  20. package/dist/{Product-8RzjWAbu.js → Product-CepWViSA.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-CI7XYUGZ.js → Product.vue_vue_type_script_setup_true_lang-DWwarm2J.js} +12 -12
  22. package/dist/{ProductInternalTools-wpawK_Db.js → ProductInternalTools-CkiPolTA.js} +5 -5
  23. package/dist/{Products-B8vYu4il.js → Products-BI7Xs8YJ.js} +54 -54
  24. package/dist/{Publish-C5FqsnW3.js → Publish-B06qAu0a.js} +3 -3
  25. package/dist/{Recipe-CJKji-0v.js → Recipe-B5RW-9g1.js} +4 -4
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Dv69QGDe.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DxDz2_gw.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CnEkf8GW.js → RuleView.vue_vue_type_script_setup_true_lang-nbLJkTJe.js} +192 -192
  28. package/dist/{Scheduler-Bp_4ZoUj.js → Scheduler-CZ1N34rG.js} +3 -3
  29. package/dist/{ServingSequence-DchLB7W1.js → ServingSequence-CK2arny7.js} +3 -3
  30. package/dist/{Setting-DpAnRneC.js → Setting-DBqGbCgy.js} +5 -5
  31. package/dist/{Subcategory-Bp_U6b_a.js → Subcategory-CCz_qMzk.js} +5 -5
  32. package/dist/{Takeaway-C6Yvjf9C.js → Takeaway-BWrzhPBX.js} +1 -1
  33. package/dist/{Takeaway-eBz0avMT.js → Takeaway-BuiSCftN.js} +4 -4
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-s7cuAP0v.js → Takeaway.vue_vue_type_script_setup_true_lang-vV2lhPWV.js} +5 -5
  35. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DBYG98Xu.js → Thumbnail.vue_vue_type_script_setup_true_lang-C-i4CHTB.js} +4 -4
  36. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-BFwvDgDG.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-DLJwnBIq.js} +1 -1
  37. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-BVxnZnzd.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DoREJPR8.js} +2 -2
  38. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mEghCiPA.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CRR0Ci1u.js} +13 -13
  39. package/dist/{Unit-B6bKPZIQ.js → Unit-CGIwmmMP.js} +2 -2
  40. package/dist/{Variant-CJdpBl1K.js → Variant-SsrpGySq.js} +3 -3
  41. package/dist/{_id_-Cf17CNOX.js → _id_-C-7ghnY0.js} +9 -9
  42. package/dist/{app-w1kUpkW5.js → app-DRqZMdCh.js} +1 -1
  43. package/dist/{app-BoMWSx89.js → app-q92Gn0OH.js} +32 -32
  44. package/dist/app.js +1 -1
  45. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  46. package/dist/assets/{linked-status-BqJWUcVj.js → linked-status-CRFHwqWc.js} +2 -2
  47. package/dist/assets/{menu-export-Dnxo90z1.js → menu-export-gQAO_Q6k.js} +3 -3
  48. package/dist/assets/{override-menu-CYXqVELM.js → override-menu-D5m_8es8.js} +2 -2
  49. package/dist/assets/{validate-menu-C8UamASu.js → validate-menu-BBVa2Trx.js} +2 -2
  50. package/dist/{catalog-DBmh4WAG.js → catalog-Bd88n8IK.js} +1 -1
  51. package/dist/{catalogSetting-DU1xmy0f.js → catalogSetting-LR4qvMEa.js} +1 -1
  52. package/dist/{currency-kg9-zbPt.js → currency-DhHENaZR.js} +1 -1
  53. package/dist/{dayjs.min-sFCfvj7o.js → dayjs.min-CZqypuw3.js} +2 -2
  54. package/dist/{index-y8EZTw6Z.js → index-DzSez1zL.js} +4 -4
  55. package/dist/{index-Dsfx6bUc.js → index-IauYgr3e.js} +5 -5
  56. package/dist/{index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js → index.vue_vue_type_script_setup_true_lang-C1hN9sPe.js} +274 -274
  57. package/dist/{item-COrHMvzn.js → item-CVS5ZVk6.js} +17 -17
  58. package/dist/{jszip.min-DUDMau14.js → jszip.min-DWTTYUlX.js} +3 -3
  59. package/dist/{memberPricing-CeRIT6MO.js → memberPricing-CfeMDF8p.js} +1 -1
  60. package/dist/{menu-CHgRB67k.js → menu-Dgc-vdR6.js} +1 -1
  61. package/dist/{menuV2-BD8ZEaQH.js → menuV2-CIfcjp73.js} +76 -76
  62. package/dist/{order_pacing-D1AnXxBm.js → order_pacing-SE9LBqpl.js} +5 -5
  63. package/dist/{priceTier-CoMN4KMU.js → priceTier-5Kktie2X.js} +1 -1
  64. package/dist/{rules-DMR9hBYD.js → rules-QaMigqy7.js} +3 -3
  65. package/dist/{scheduler-CKoiMRzw.js → scheduler-BkYvTBSI.js} +4 -4
  66. package/dist/{toExcel-CwIaZ36w.js → toExcel-CG4SySCx.js} +2 -2
  67. package/dist/{unit-CQPZOeGq.js → unit-mg1Fnb2d.js} +2 -2
  68. package/package.json +1 -1
@@ -1,21 +1,21 @@
1
- import { defineComponent as B, computed as f, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as _, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as P, Fragment as U } from "vue";
2
- import { D as T } from "./dayjs.min-sFCfvj7o.js";
3
- import { J as re, F as ie } from "./jszip.min-DUDMau14.js";
4
- import { u as K, B as Q, z as R, D as j, y as X, A as le, G as ue, H, I as ce } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
5
- import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BEkD_xvB.js";
6
- import { h as V, A as q } from "./app-BoMWSx89.js";
1
+ import { defineComponent as B, computed as f, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as _, createElementVNode as d, toDisplayString as Q, createVNode as u, createCommentVNode as w, createElementBlock as P, Fragment as U } from "vue";
2
+ import { D as T } from "./dayjs.min-CZqypuw3.js";
3
+ import { J as re, F as ie } from "./jszip.min-DWTTYUlX.js";
4
+ import { u as Z, B as K, z as R, D as j, y as X, A as le, G as ue, H, I as ce } from "./index.vue_vue_type_script_setup_true_lang-C1hN9sPe.js";
5
+ import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-k7CnGG7K.js";
6
+ import { h as V, A as O } from "./app-q92Gn0OH.js";
7
7
  import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
8
- import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as D, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
9
- import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
10
- import { _ as fe, a as G } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
11
- import { _ as ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
12
- import { u as ge, a as be } from "./menu-CHgRB67k.js";
13
- import { u as ye } from "./item-COrHMvzn.js";
14
- import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-CI7XYUGZ.js";
15
- import { L as J } from "./LinkProductSideSheet-BAVjkhSM.js";
16
- import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mEghCiPA.js";
17
- import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DBYG98Xu.js";
18
- import { m as he } from "./toExcel-CwIaZ36w.js";
8
+ import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as I, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
9
+ import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
10
+ import { _ as fe, a as q } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
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-Dgc-vdR6.js";
13
+ import { u as ye } from "./item-CVS5ZVk6.js";
14
+ import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-DWwarm2J.js";
15
+ import { L as J } from "./LinkProductSideSheet-C1Is5snR.js";
16
+ import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CRR0Ci1u.js";
17
+ import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-C-i4CHTB.js";
18
+ import { m as he } from "./toExcel-CG4SySCx.js";
19
19
  const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
20
20
  __name: "ConfirmActionDialog",
21
21
  props: {
@@ -25,15 +25,15 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
25
25
  },
26
26
  setup(A) {
27
27
  const n = A, p = f(() => n.message.replace("[[value]]", n.value)), k = W(""), o = te(), { emitAction: h } = pe();
28
- return (v, r) => {
29
- const M = F("FmTextField"), g = F("FmButton"), x = F("FmForm");
28
+ return (g, r) => {
29
+ const M = F("FmTextField"), v = F("FmButton"), x = F("FmForm");
30
30
  return l(), m(x, {
31
31
  "on-validation-success": () => e(h)("primary"),
32
32
  "blame-form-child-on-validation-failed": ""
33
33
  }, {
34
34
  default: _(() => [
35
35
  d("div", Me, [
36
- d("div", null, Z(v.description), 1),
36
+ d("div", null, Q(g.description), 1),
37
37
  d("div", { innerHTML: p.value }, null, 8, Ce),
38
38
  d("div", null, [
39
39
  u(M, {
@@ -43,17 +43,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
43
43
  r[1] || (r[1] = () => {
44
44
  })
45
45
  ],
46
- placeholder: v.value,
47
- rules: [(c) => c === v.value || "Value does not match"]
46
+ placeholder: g.value,
47
+ rules: [(c) => c === g.value || "Value does not match"]
48
48
  }, null, 8, ["modelValue", "placeholder", "rules"])
49
49
  ]),
50
50
  d("div", we, [
51
- u(g, {
51
+ u(v, {
52
52
  label: "Cancel",
53
53
  variant: "secondary",
54
54
  onClick: r[2] || (r[2] = (c) => e(o).close())
55
55
  }),
56
- u(g, {
56
+ u(v, {
57
57
  label: "Confirm",
58
58
  type: "submit"
59
59
  })
@@ -67,9 +67,9 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
67
67
  }), $e = /* @__PURE__ */ B({
68
68
  __name: "Migrate",
69
69
  setup(A) {
70
- const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = Q(o), v = W(!1), r = te();
70
+ const n = Z(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = K(o), g = W(!1), r = te();
71
71
  async function M() {
72
- g.value || v.value || r.open({
72
+ v.value || g.value || r.open({
73
73
  title: "Migrate to new version",
74
74
  contentComponent: Fe,
75
75
  contentComponentProps: {
@@ -84,7 +84,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
84
84
  }, 2e3);
85
85
  },
86
86
  {
87
- isLoading: v,
87
+ isLoading: g,
88
88
  customId: n.state.menu._id,
89
89
  message: "Migrating menu",
90
90
  successMessage: "Migration completed"
@@ -92,7 +92,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
92
92
  );
93
93
  });
94
94
  }
95
- const g = f(() => {
95
+ const v = f(() => {
96
96
  var C;
97
97
  if (((C = p.sessionUser.value) == null ? void 0 : C.role.isAdmin) === !0)
98
98
  return null;
@@ -103,7 +103,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
103
103
  });
104
104
  return (x, c) => {
105
105
  const b = F("FmSnackbar");
106
- return !e(k) && !g.value && e(n).version !== e(X).enum.v4 ? (l(), m(b, {
106
+ return !e(k) && !v.value && e(n).version !== e(X).enum.v4 ? (l(), m(b, {
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
  })) : w("", !0);
116
116
  };
117
117
  }
118
- }), Ve = "/assets/menu-export-Dnxo90z1.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__ */ B({
118
+ }), Ve = "/assets/menu-export-gQAO_Q6k.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" }, Xe = /* @__PURE__ */ B({
119
119
  __name: "Products",
120
120
  setup(A) {
121
- const { t: n } = de(), p = ee(), k = Q(ne()), o = K(), h = f(() => o.rules.item), v = ye(), r = f(() => !o.state.currentSchedulerId), { selectedCategories: M } = ge(), g = f(() => ({
121
+ const { t: n } = de(), p = ee(), k = K(ne()), o = Z(), h = f(() => o.rules.item), g = ye(), r = f(() => !o.state.currentSchedulerId), { selectedCategories: M } = ve(), v = f(() => ({
122
122
  ...le.menuV4ToV3(ue(o.state.menu)),
123
123
  _id: o.state.menu._id,
124
124
  _rev: o.state.menu._rev
@@ -152,7 +152,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
152
152
  );
153
153
  await c(s, a);
154
154
  } else {
155
- const i = he(g.value), t = `menu_${T().format("DD-MM-YYYY_HH-mm")}`;
155
+ const i = he(v.value), t = `menu_${T().format("DD-MM-YYYY_HH-mm")}`;
156
156
  await me(i, `${t}.xlsx`, {
157
157
  bookType: "xlsx",
158
158
  bookSST: !0,
@@ -169,26 +169,26 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
169
169
  categories: C,
170
170
  linkItemRules: y,
171
171
  handleSubmit: Y,
172
- catalogManager: z,
173
- schedulerManager: N
172
+ catalogManager: N,
173
+ schedulerManager: z
174
174
  } = Se(!1), oe = _e(), ae = f(() => oe.breakpoints.value.xs), se = f(() => {
175
175
  var a;
176
176
  const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
177
177
  action: V.Action.manage,
178
178
  subject: V.Subject.Business.menu_menuManagement
179
179
  };
180
- return q([t], i).granted;
180
+ return O([t], i).granted;
181
181
  }), L = f(() => {
182
182
  var a;
183
183
  const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
184
184
  action: V.Action.manage,
185
185
  subject: V.Subject.Business.menu_importExport
186
186
  };
187
- return q([t], i).granted;
187
+ return O([t], i).granted;
188
188
  });
189
189
  return be().resetOnMount(), (i, t) => {
190
190
  const a = F("fm-button");
191
- return l(), m(ve, {
191
+ return l(), m(ge, {
192
192
  heading: e(n)("menu.products.title")
193
193
  }, {
194
194
  default: _(() => [
@@ -199,19 +199,19 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
199
199
  d("div", Ae, [
200
200
  d("div", Ee, [
201
201
  d("div", Te, [
202
- d("p", De, Z(x.value), 1)
202
+ d("p", Ie, Q(x.value), 1)
203
203
  ])
204
204
  ]),
205
- d("div", Ie, [
206
- ae.value ? (l(), m(O, { key: 1 }, {
205
+ d("div", De, [
206
+ ae.value ? (l(), m(G, { key: 1 }, {
207
207
  default: _(({ trigger: s }) => [
208
208
  u(fe, null, {
209
209
  default: _(() => [
210
- u(G, {
210
+ u(q, {
211
211
  label: e(n)("menu.products.actions.export"),
212
212
  onClick: b
213
213
  }, null, 8, ["label"]),
214
- u(G, {
214
+ u(q, {
215
215
  label: e(n)("menu.products.actions.import"),
216
216
  onClick: s
217
217
  }, null, 8, ["label", "onClick"])
@@ -227,7 +227,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
227
227
  label: e(n)("menu.tree_editor.title"),
228
228
  "bg-color": e(S).NeutralGray100,
229
229
  "text-color": e(S).TypoSecondary,
230
- variant: e(D).Primary,
230
+ variant: e(I).Primary,
231
231
  onClick: s
232
232
  }, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
233
233
  ]),
@@ -237,16 +237,16 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
237
237
  key: 1,
238
238
  "bg-color": e(S).NeutralGray100,
239
239
  "text-color": e(S).TypoSecondary,
240
- variant: e(D).Primary,
240
+ variant: e(I).Primary,
241
241
  label: e(n)("menu.products.actions.export"),
242
242
  onClick: b
243
243
  }, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
244
- L.value ? (l(), m(O, { key: 2 }, {
244
+ L.value ? (l(), m(G, { key: 2 }, {
245
245
  default: _(({ trigger: s }) => [
246
246
  u(a, {
247
247
  "bg-color": e(S).NeutralGray100,
248
248
  "text-color": e(S).TypoSecondary,
249
- variant: e(D).Primary,
249
+ variant: e(I).Primary,
250
250
  label: e(n)("menu.products.actions.import"),
251
251
  onClick: s
252
252
  }, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
@@ -255,15 +255,15 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
255
255
  })) : w("", !0)
256
256
  ], 64)),
257
257
  x.value > 0 ? (l(), P(U, { key: 2 }, [
258
- h.value.create ? (l(), m(I, {
258
+ h.value.create ? (l(), m(D, {
259
259
  key: 0,
260
260
  label: e(n)("menu.products.actions.add"),
261
261
  "prepend-icon": "add",
262
- onClick: t[0] || (t[0] = (s) => e(v).create(null))
262
+ onClick: t[0] || (t[0] = (s) => e(g).create(null))
263
263
  }, null, 8, ["label"])) : r.value ? (l(), m(J, {
264
264
  key: 1,
265
- "categorized-items": e(z).linkableItems.value,
266
- "initial-value": e(z).currentItems.value,
265
+ "categorized-items": e(N).linkableItems.value,
266
+ "initial-value": e(N).currentItems.value,
267
267
  "show-variant": !1,
268
268
  "menu-items": e(E),
269
269
  categories: e(C),
@@ -272,7 +272,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
272
272
  onSubmit: e(Y)
273
273
  }, {
274
274
  default: _(({ trigger: s }) => [
275
- u(I, {
275
+ u(D, {
276
276
  label: e(n)("menu.products.actions.link"),
277
277
  "prepend-icon": "link",
278
278
  onClick: s
@@ -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(N).linkableItems.value,
285
- "initial-value": e(N).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(E),
288
288
  categories: e(C),
@@ -291,7 +291,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
291
291
  onSubmit: e(Y)
292
292
  }, {
293
293
  default: _(({ trigger: s }) => [
294
- u(I, {
294
+ u(D, {
295
295
  label: e(n)("menu.products.actions.apply_scheduler"),
296
296
  onClick: s
297
297
  }, null, 8, ["label", "onClick"])
@@ -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-sFCfvj7o.js";
2
+ import { D as E } from "./dayjs.min-CZqypuw3.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-BJLNbe5R.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-C1hN9sPe.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-BoMWSx89.js";
9
+ import { _ as Qe } from "./app-q92Gn0OH.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-BoMWSx89.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-BJLNbe5R.js";
5
+ import { _ as le } from "./app-q92Gn0OH.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-C1hN9sPe.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-BMBNdxYT.js";
9
+ import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-DWxCttOu.js";
10
10
  import { u as de } from "./discardConfirm-BHni0LNu.js";
11
11
  import { c as pe } from "./check-C9mY6LiX.js";
12
- import "./unit-CQPZOeGq.js";
12
+ import "./unit-mg1Fnb2d.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-CnEkf8GW.js";
4
+ import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-nbLJkTJe.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 = {