@feedmepos/mf-menu 0.32.17-prod → 0.32.18-dev.1

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 (81) hide show
  1. package/dist/App-Cfl37TTw.js +152661 -0
  2. package/dist/{Catalog-B02NvTIp.js → Catalog-Yxsb-D33.js} +47 -52
  3. package/dist/{Category-Ci6XGCQE.js → Category-0vJH8Ct0.js} +86 -92
  4. package/dist/{Category-COGQxaeR.js → Category-qp0wI14I.js} +25 -26
  5. package/dist/{CookingGuide-BWyPV6ad.js → CookingGuide-EpAr5F5U.js} +139 -143
  6. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DkCAw-nl.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CkyD0sdI.js} +14 -16
  7. package/dist/{Group-DRporusW.js → Group-B3W9iSbO.js} +5 -5
  8. package/dist/{Group-D_eyMiHS.js → Group-DLCh0fDU.js} +1 -1
  9. package/dist/{Group.vue_vue_type_script_setup_true_lang-CJ_QkBFJ.js → Group.vue_vue_type_script_setup_true_lang-Bzy_hXDv.js} +176 -186
  10. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DAMFUDli.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BFaAXp7r.js} +81 -88
  11. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BFDGNXtA.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CxP8lDD0.js} +230 -237
  12. package/dist/{Ingredient-CCOAtq6x.js → Ingredient-CVLMr_YB.js} +102 -105
  13. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-w9G4LRB7.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CdTC5ykI.js} +1058 -1059
  14. package/dist/{MenuSetting-C-t8hg1m.js → MenuSetting-Blpi1vSd.js} +58 -61
  15. package/dist/{PrintRoute-C2TWkEwm.js → PrintRoute-BS7PPPkE.js} +49 -52
  16. package/dist/{Product-CvDDiB1Q.js → Product-DDeNKQ7u.js} +1 -1
  17. package/dist/{Product.vue_vue_type_script_setup_true_lang-COmQsVeB.js → Product.vue_vue_type_script_setup_true_lang-rmv8m4_D.js} +286 -298
  18. package/dist/{ProductInternalTools-zA3vMBzV.js → ProductInternalTools-CVuothk9.js} +45 -46
  19. package/dist/{Products-DlxGLmkD.js → Products-BIvsHKEt.js} +71 -75
  20. package/dist/{Publish-qnmEJJ7J.js → Publish-CDADU3Pp.js} +154 -159
  21. package/dist/{Recipe-KARGNDXh.js → Recipe-CMhW7e_z.js} +40 -43
  22. package/dist/{Scheduler-Bo-Hv4fw.js → Scheduler-BpxunKBV.js} +7 -7
  23. package/dist/{ServingSequence-CbTYSCvC.js → ServingSequence-BQVuYyAB.js} +54 -58
  24. package/dist/{Setting-7FtAEnGE.js → Setting-Dj0yyP37.js} +63 -66
  25. package/dist/{Subcategory-DtUkoShD.js → Subcategory-BH4DDZM4.js} +72 -76
  26. package/dist/{Takeaway-BhTFixal.js → Takeaway-CGJBZ_sJ.js} +1 -1
  27. package/dist/{Takeaway-Gr9GCre8.js → Takeaway-DifOudVE.js} +20 -21
  28. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-OwmHTwdG.js → Takeaway.vue_vue_type_script_setup_true_lang-D-R5_S5G.js} +59 -64
  29. package/dist/{Unit-Dn_3GaCR.js → Unit-DXDox2Ut.js} +8 -8
  30. package/dist/{Variant-CwQ7f-ii.js → Variant-DbJVwgm5.js} +75 -78
  31. package/dist/{_id_-jxkngK66.js → _id_-RFYwWjbM.js} +34 -38
  32. package/dist/{app-DTr3CMpl.js → app-Z0KWH9-d.js} +74 -335
  33. package/dist/app.js +4 -5
  34. package/dist/apps/mf-menu/src/app.d.ts +1 -2
  35. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  36. package/dist/assets/{linked-status-DKTsXZ56.js → linked-status-CkmoJAm-.js} +2 -2
  37. package/dist/assets/{menu-export-D47qne53.js → menu-export-DcINiK28.js} +2 -2
  38. package/dist/assets/{override-menu-CUL3ygMK.js → override-menu-PUKiu-df.js} +2 -2
  39. package/dist/assets/{validate-menu-8wWvKEyO.js → validate-menu-CcqiRhNT.js} +2 -2
  40. package/dist/{catalogSetting-DziPWl8O.js → catalogSetting-Bf66H-j7.js} +1 -1
  41. package/dist/dayjs.min-DNPTnUFp.js +6 -0
  42. package/dist/{jszip.min-DiZSWmVy.js → jszip.min-CO2_Gf69.js} +245 -245
  43. package/dist/{menu-Bv2G2XDC.js → menu-Brxar171.js} +1 -1
  44. package/dist/mf-menu.css +1 -1
  45. package/dist/{scheduler-C15D-Ptm.js → scheduler-CqdIiE8G.js} +56 -60
  46. package/dist/{toExcel-CqpUcIAd.js → toExcel-CRJIU0NC.js} +2 -2
  47. package/dist/{unit-Cby_WUJC.js → unit-wYPYkm33.js} +98 -105
  48. package/package.json +1 -1
  49. package/dist/App-BLdG3yG_.js +0 -13484
  50. package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-BG5DdrV6.js +0 -161
  51. package/dist/FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js +0 -26
  52. package/dist/LinkProductSideSheet-CnGdSkv6.js +0 -687
  53. package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js +0 -69
  54. package/dist/RuleView.vue_vue_type_script_setup_true_lang-U6qSmI1-.js +0 -3285
  55. package/dist/TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js +0 -20
  56. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-BtKnlI5c.js +0 -399
  57. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cp1E7qhU.js +0 -6016
  58. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  59. package/dist/app-5fxKLAzS.js +0 -8163
  60. package/dist/app-Dew0eGCF.js +0 -68
  61. package/dist/catalog-K52JHxqj.js +0 -199
  62. package/dist/category-YEpzAad_.js +0 -156
  63. package/dist/check-C9mY6LiX.js +0 -9
  64. package/dist/createComponentProgrammatically-Bt2rn1IQ.js +0 -11
  65. package/dist/currency-OxLDRHHy.js +0 -7
  66. package/dist/dayjs.min-Dwou9E9z.js +0 -6
  67. package/dist/discardConfirm-BHni0LNu.js +0 -28
  68. package/dist/index-BCDII2vQ.js +0 -273
  69. package/dist/index-BcUg07mo.js +0 -246
  70. package/dist/index-CisutoS9.js +0 -156
  71. package/dist/index-elG5LP03.js +0 -239
  72. package/dist/index.vue_vue_type_script_setup_true_lang-CSGbbn37.js +0 -109064
  73. package/dist/item-WEDSI-Pw.js +0 -6873
  74. package/dist/menuV2-Qbwwp3h5.js +0 -1052
  75. package/dist/object-DVUNCr7w.js +0 -16
  76. package/dist/priceTier-gEMtbmDv.js +0 -87
  77. package/dist/search-BAPEUu1R.js +0 -15
  78. package/dist/string-DpfFixWH.js +0 -4
  79. package/dist/subcategory-BF1n3a2C.js +0 -148
  80. package/dist/tooltip-B5BiPMx9.js +0 -32
  81. package/dist/vuedraggable-CK8z7qA8.js +0 -1728
@@ -1,25 +1,21 @@
1
- import { defineComponent as F, computed as d, ref as p, watch as A, onMounted as H, resolveComponent as m, createElementBlock as K, openBlock as b, Fragment as Q, createVNode as n, withCtx as u, createElementVNode as i, toDisplayString as M, unref as e, createBlock as D } from "vue";
2
- import { D as W } from "./dayjs.min-Dwou9E9z.js";
3
- import { useRoute as j, useRouter as J } from "vue-router";
4
- import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BFDGNXtA.js";
5
- import { G as ee, u as te, D as ae, I as oe, Q as ne } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
6
- import { useI18n as le } from "@feedmepos/mf-common";
7
- import { useSnackbar as se } from "@feedmepos/ui-library";
8
- import { _ as R } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
- import { L as V } from "./LinkProductSideSheet-CnGdSkv6.js";
10
- import { _ as ue } from "./index-CisutoS9.js";
11
- import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
12
- import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-BtKnlI5c.js";
13
- import { a as me } from "./menu-Bv2G2XDC.js";
14
- import { m as ce } from "./toExcel-CqpUcIAd.js";
15
- import { _ as de, u as pe, c as _e } from "./scheduler-C15D-Ptm.js";
16
- import { R as r } from "./app-DTr3CMpl.js";
17
- const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class: "flex ml-auto space-x-8" }, be = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */ F({
1
+ import { defineComponent as F, computed as d, ref as _, watch as A, onMounted as H, resolveComponent as m, createElementBlock as K, openBlock as b, Fragment as W, createVNode as n, withCtx as u, createElementVNode as i, toDisplayString as M, unref as e, createBlock as R } from "vue";
2
+ import { D as j } from "./dayjs.min-DNPTnUFp.js";
3
+ import { useRoute as J, useRouter as Q } from "vue-router";
4
+ import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CxP8lDD0.js";
5
+ import { a as ee, u as te, R as r, l as ae, c as oe, o as ne, ab as le, L as D, d as se } from "./App-Cfl37TTw.js";
6
+ import { useI18n as ue } from "@feedmepos/mf-common";
7
+ import { useSnackbar as re } from "@feedmepos/ui-library";
8
+ import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
+ import { _ as ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
10
+ import { a as me } from "./menu-Brxar171.js";
11
+ import { m as ce } from "./toExcel-CRJIU0NC.js";
12
+ import { _ as de, u as _e, c as pe } from "./scheduler-CqdIiE8G.js";
13
+ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class: "flex ml-auto space-x-8" }, be = { class: "flex-1 flex flex-col overflow-hidden" }, Ve = /* @__PURE__ */ F({
18
14
  __name: "[id]",
19
15
  setup(ke) {
20
- const E = j(), _ = J(), k = ee(se()), L = ne(k), a = te(), { t: l } = le(), O = d(() => a.categorizedRawMenuItems), f = d(() => !a.state.currentSchedulerId), G = p();
16
+ const E = J(), p = Q(), k = ee(re()), L = se(k), a = te(), { t: l } = ue(), O = d(() => a.categorizedRawMenuItems), f = d(() => !a.state.currentSchedulerId), G = _();
21
17
  async function z(o) {
22
- const t = o._id ? pe(o) : _e(o);
18
+ const t = o._id ? _e(o) : pe(o);
23
19
  await L.updateMenu(t, o.name);
24
20
  }
25
21
  const h = d(() => [
@@ -43,13 +39,13 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
43
39
  label: l("menu.catalog.edit.tabs.setting"),
44
40
  value: r.EDIT_CATALOG_SETTING
45
41
  }
46
- ]), c = p(h.value[0].value);
42
+ ]), c = _(h.value[0].value);
47
43
  A(c, (o) => {
48
- _.replace({
44
+ p.replace({
49
45
  name: o
50
46
  });
51
47
  }), H(() => {
52
- _.currentRoute.value.name !== r.EDIT_CATALOG && (c.value = _.currentRoute.value.name);
48
+ p.currentRoute.value.name !== r.EDIT_CATALOG && (c.value = p.currentRoute.value.name);
53
49
  }), A(
54
50
  () => a.state.menu._id,
55
51
  (o) => {
@@ -66,7 +62,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
66
62
  await k.minor(
67
63
  async () => {
68
64
  await a.readMenu();
69
- const o = await ce($.value), t = `menu_${W().format("DD-MM-YYYY_HH-mm")}`;
65
+ const o = await ce($.value), t = `menu_${j().format("DD-MM-YYYY_HH-mm")}`;
70
66
  await Z(o, `${t}.xlsx`, {
71
67
  bookType: "xlsx",
72
68
  bookSST: !1,
@@ -76,18 +72,18 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
76
72
  { successMessage: "Menu exported", customId: a.state.menu._id }
77
73
  );
78
74
  }
79
- const v = p(!1), g = p(!1), {
75
+ const v = _(!1), g = _(!1), {
80
76
  menuItems: x,
81
77
  categories: S,
82
78
  linkItemRules: T,
83
79
  handleSubmit: y,
84
80
  catalogManager: C,
85
- schedulerManager: I
86
- } = ie(!1);
81
+ schedulerManager: w
82
+ } = ne(!1);
87
83
  return me().resetOnUnmount(), (o, t) => {
88
- var w;
84
+ var I;
89
85
  const Y = m("fm-bottom-sheet"), N = m("fm-button"), P = m("router-link"), q = m("fm-tabs"), B = m("router-view");
90
- return b(), K(Q, null, [
86
+ return b(), K(W, null, [
91
87
  n(de, {
92
88
  ref_key: "schedulerDialogRef",
93
89
  ref: G,
@@ -121,8 +117,8 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
121
117
  ]),
122
118
  _: 1
123
119
  }, 8, ["modelValue"]),
124
- n(re, {
125
- heading: ((w = e(a).currentCatalog) == null ? void 0 : w.name) ?? "Main",
120
+ n(ie, {
121
+ heading: ((I = e(a).currentCatalog) == null ? void 0 : I.name) ?? "Main",
126
122
  class: "flex flex-col max-h-[calc(100vh-56px)] overflow-hidden"
127
123
  }, {
128
124
  "prepend-heading": u(() => [
@@ -142,7 +138,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
142
138
  ]),
143
139
  "append-heading": u(() => [
144
140
  i("div", ge, [
145
- f.value ? (b(), D(V, {
141
+ f.value ? (b(), R(D, {
146
142
  key: 0,
147
143
  "categorized-items": e(C).linkableItems.value,
148
144
  "initial-value": e(C).currentItems.value,
@@ -154,17 +150,17 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
154
150
  onSubmit: e(y)
155
151
  }, {
156
152
  default: u(({ trigger: s }) => [
157
- n(R, {
153
+ n(V, {
158
154
  label: e(l)("menu.catalog.edit.link_product"),
159
155
  "prepend-icon": "link",
160
156
  onClick: s
161
157
  }, null, 8, ["label", "onClick"])
162
158
  ]),
163
159
  _: 1
164
- }, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (b(), D(V, {
160
+ }, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (b(), R(D, {
165
161
  key: 1,
166
- "categorized-items": e(I).linkableItems.value,
167
- "initial-value": e(I).currentItems.value,
162
+ "categorized-items": e(w).linkableItems.value,
163
+ "initial-value": e(w).currentItems.value,
168
164
  "show-variant": !1,
169
165
  "menu-items": e(x),
170
166
  categories: e(S),
@@ -173,7 +169,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
173
169
  onSubmit: e(y)
174
170
  }, {
175
171
  default: u(({ trigger: s }) => [
176
- n(R, {
172
+ n(V, {
177
173
  label: e(l)("menu.catalog.edit.apply_scheduler"),
178
174
  onClick: s
179
175
  }, null, 8, ["label", "onClick"])
@@ -190,7 +186,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
190
186
  class: "mb-7 xs:mb-0 xs:px-32"
191
187
  }, null, 8, ["modelValue", "items"]),
192
188
  i("div", be, [
193
- n(ue, { "menu-store": e(a) }, null, 8, ["menu-store"]),
189
+ n(le, { "menu-store": e(a) }, null, 8, ["menu-store"]),
194
190
  n(B)
195
191
  ])
196
192
  ]),
@@ -201,5 +197,5 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
201
197
  }
202
198
  });
203
199
  export {
204
- Ge as default
200
+ Ve as default
205
201
  };