@feedmepos/mf-menu 0.31.18-prod → 0.31.19-beta

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-CA9Sl2_e.js → App-y2Q2D6AO.js} +2400 -1296
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DXC06G_p.js → ApplyProduct.vue_vue_type_script_setup_true_lang-XV96dt6h.js} +2 -2
  3. package/dist/{Catalog-DO0Z3SSz.js → Catalog-Di-YSP-w.js} +5 -5
  4. package/dist/{Category-B1kXrXpy.js → Category-BzydRf7k.js} +21 -21
  5. package/dist/{Category-DTh_5WI5.js → Category-CAccN9m6.js} +8 -8
  6. package/dist/{CookingGuide-eHhSbisd.js → CookingGuide-BQcVxx1R.js} +66 -66
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DKGEMS0s.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BjUqhzCZ.js} +1 -1
  8. package/dist/{Group-Bd61FXOa.js → Group-B8TuooWf.js} +3 -3
  9. package/dist/{Group-Dh5RNyxf.js → Group-CAV74Npz.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-p3ZeU8Ad.js → Group.vue_vue_type_script_setup_true_lang-ClnFek9W.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CuR3HOn4.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DsC5e95X.js} +3 -3
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BjwTTR43.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DV0-XcfW.js} +3078 -3074
  13. package/dist/{Ingredient-BLfFgX0g.js → Ingredient-DMLmjp-1.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-C2f4oQV_.js → InventoryBinding.vue_vue_type_script_setup_true_lang-C0tjGp89.js} +2 -2
  15. package/dist/{LinkProductSideSheet-DPIxXikN.js → LinkProductSideSheet-DIvOzMB8.js} +1 -1
  16. package/dist/{MenuSetting-UVUYswl1.js → MenuSetting-C5sIpDMN.js} +16 -16
  17. package/dist/{PrintRoute-B4WpCa5j.js → PrintRoute-NHoHTnMc.js} +26 -26
  18. package/dist/{Product-DMqUEuUP.js → Product-C2SOvPy4.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-DvqDdaNh.js → Product.vue_vue_type_script_setup_true_lang-BEHnUKcc.js} +62 -59
  20. package/dist/{ProductInternalTools-BjQILwqA.js → ProductInternalTools-eXFZoo1G.js} +14 -14
  21. package/dist/{Products-BR612MbF.js → Products-3J5DcGEc.js} +15 -15
  22. package/dist/{Publish-HQprte7i.js → Publish-BdWd54a5.js} +32 -32
  23. package/dist/{Recipe-CW8DpUib.js → Recipe-DrNJifKH.js} +9 -9
  24. package/dist/{Scheduler-jwxuWWBc.js → Scheduler-OLKgjhjM.js} +3 -3
  25. package/dist/{ServingSequence-DILOiy8d.js → ServingSequence-DZ-eaRkW.js} +25 -25
  26. package/dist/{Setting-DtHcu5eE.js → Setting-t5Edfa6F.js} +10 -10
  27. package/dist/{Subcategory-BuBhmpHK.js → Subcategory-B1BeXahn.js} +18 -18
  28. package/dist/{Takeaway-CFH-2jGX.js → Takeaway-CS31a0G6.js} +1 -1
  29. package/dist/{Takeaway-Dadg_p4p.js → Takeaway-q69U7AjK.js} +10 -10
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Ccm340Do.js → Takeaway.vue_vue_type_script_setup_true_lang-CNheVEqy.js} +17 -17
  31. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BO_RY7Nb.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-0kXXOsyC.js} +356 -352
  32. package/dist/{Unit-BhC7HKdj.js → Unit-R0fBKDBQ.js} +8 -8
  33. package/dist/{Variant-op1jI8lu.js → Variant-DdIfbckf.js} +8 -8
  34. package/dist/{_id_-C8aH00wO.js → _id_-Cpxz3UoN.js} +17 -17
  35. package/dist/{app-CgdrcHjA.js → app-CMGlnsG5.js} +24 -24
  36. package/dist/{app-DTuhoxK_.js → app-DRorRq_c.js} +1 -1
  37. package/dist/app.js +1 -1
  38. package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +19 -0
  39. package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
  40. package/dist/apps/mf-menu/src/helper/menu.d.ts +1 -1
  41. package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +11 -0
  42. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/assets/linked-status-CdVNB55V.js +24 -0
  44. package/dist/assets/override-menu-CjvOi-J-.js +24 -0
  45. package/dist/assets/validate-menu-BU_-Jge5.js +24 -0
  46. package/dist/{catalog-C_ivwYaQ.js → catalog-BXSv7rZo.js} +1 -1
  47. package/dist/{catalogSetting-DZueIrzX.js → catalogSetting-DhXLcwI_.js} +1 -1
  48. package/dist/{category-B3iKQFQ-.js → category-LHZTSH3_.js} +1 -1
  49. package/dist/{currency-CA5FQbXi.js → currency-C05JOYSJ.js} +1 -1
  50. package/dist/{dayjs.min-B5JdMy-O.js → dayjs.min-OqJAuW-9.js} +1 -1
  51. package/dist/{index-g0Su2v11.js → index-BgrBG_Iz.js} +11 -11
  52. package/dist/{index-jZfKRlag.js → index-CxytOxGX.js} +1 -1
  53. package/dist/{index-BFdAL_N3.js → index-kz099Vvw.js} +6 -6
  54. package/dist/{item-SVoStXDW.js → item-vz-nrIWG.js} +694 -691
  55. package/dist/{jszip.min-DYjqumCW.js → jszip.min-C2aY4t8L.js} +2 -2
  56. package/dist/menu-CAVt_lFp.js +107896 -0
  57. package/dist/{menu-CTQtotYO.js → menu-DJkyk-fC.js} +1 -1
  58. package/dist/mf-menu.css +1 -1
  59. package/dist/{priceTier-D7hqwCP7.js → priceTier-xvRS9QN2.js} +1 -1
  60. package/dist/{scheduler-sOWjTP9q.js → scheduler-Du42t5zf.js} +3 -3
  61. package/dist/{subcategory-DzOnwchb.js → subcategory-CqKHknsQ.js} +219 -219
  62. package/dist/{toExcel-CXiBEHW2.js → toExcel-BvBlj-X5.js} +2 -2
  63. package/dist/{unit-CejxJLsQ.js → unit-DENherye.js} +1 -1
  64. package/package.json +3 -2
  65. package/dist/assets/linked-status-DjuegQzl.js +0 -24
  66. package/dist/assets/override-menu-SwLrxhgz.js +0 -24
  67. package/dist/assets/validate-menu-kf0hkaus.js +0 -24
  68. package/dist/menu-GZ7mL7Mu.js +0 -132202
@@ -1,14 +1,14 @@
1
- import { getCurrentInstance as te, defineComponent as oe, computed as h, watch as ne, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as B, withModifiers as H } from "vue";
2
- import { B as q, u as Q, O as W, J as z, G as N, H as L, z as se, ar as J } from "./menu-GZ7mL7Mu.js";
1
+ import { getCurrentInstance as te, defineComponent as oe, computed as h, watch as ne, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as I, withModifiers as H } from "vue";
2
+ import { D as q, u as Q, O as W, J as N, G as z, H as L, A as se, ar as J } from "./menu-CAVt_lFp.js";
3
3
  import { useI18n as X, useCoreStore as re } from "@feedmepos/mf-common";
4
4
  import { useDialog as le, useSnackbar as Z, FmButtonVariant as A, components as ce, useBreakpoints as de } from "@feedmepos/ui-library";
5
- import { _ as ue } from "./app-CgdrcHjA.js";
5
+ import { _ as ue } from "./app-CMGlnsG5.js";
6
6
  import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
7
- import { a as ye, l as ee, T as pe } from "./index-BFdAL_N3.js";
7
+ import { a as ye, l as ee, T as pe } from "./index-kz099Vvw.js";
8
8
  import { u as fe } from "./search-BAPEUu1R.js";
9
- import { f as F } from "./currency-CA5FQbXi.js";
9
+ import { f as F } from "./currency-C05JOYSJ.js";
10
10
  import { defineStore as _e } from "pinia";
11
- import { C as ke } from "./catalog-C_ivwYaQ.js";
11
+ import { C as ke } from "./catalog-BXSv7rZo.js";
12
12
  import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
13
13
  function we(T, U, l, m) {
14
14
  var y, v, w, g;
@@ -79,8 +79,8 @@ const ge = _e("takeaway-manager", () => {
79
79
  "onUpdate:takeaway": async (d) => {
80
80
  await m.updateMenu(
81
81
  {
82
- module: N.F_MENU_MODULE_V4_KEY.enum.takeaway,
83
- operation: z.F_OPERATION_TYPE.update,
82
+ module: z.F_MENU_MODULE_V4_KEY.enum.takeaway,
83
+ operation: N.F_OPERATION_TYPE.update,
84
84
  data: d,
85
85
  link: ee(d.usedBy || [])
86
86
  },
@@ -108,8 +108,8 @@ const ge = _e("takeaway-manager", () => {
108
108
  }).onPrimary(async () => {
109
109
  await m.updateMenu(
110
110
  {
111
- module: N.F_MENU_MODULE_V4_KEY.enum.takeaway,
112
- operation: z.F_OPERATION_TYPE.delete,
111
+ module: z.F_MENU_MODULE_V4_KEY.enum.takeaway,
112
+ operation: N.F_OPERATION_TYPE.delete,
113
113
  data: a._id
114
114
  },
115
115
  a.name,
@@ -140,7 +140,7 @@ const ge = _e("takeaway-manager", () => {
140
140
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
141
141
  }, Ke = {
142
142
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
143
- }, Be = {
143
+ }, Ie = {
144
144
  key: 1,
145
145
  class: "xs:pt-24"
146
146
  }, je = /* @__PURE__ */ oe({
@@ -227,7 +227,7 @@ const ge = _e("takeaway-manager", () => {
227
227
  }) : null])
228
228
  }]), M = de(), b = h(() => M.breakpoints.value.xs);
229
229
  return (o, s) => {
230
- const p = S("fm-search"), x = S("fm-table"), I = S("fm-button");
230
+ const p = S("fm-search"), x = S("fm-table"), B = S("fm-button");
231
231
  return g.value.length ? (_(), C(O, {
232
232
  key: 0
233
233
  }, [b.value ? (_(), C(O, {
@@ -244,7 +244,7 @@ const ge = _e("takeaway-manager", () => {
244
244
  onClick: () => {
245
245
  f.value.edit && t(m).updateTakeaway(n);
246
246
  }
247
- }, [k("div", Ue, [k("p", Me, B(n.name), 1), k("p", Ee, B(`${t(J)(t(l).categorizedItems, n.usedBy).flatMap((E) => E.items).length ?? 0} items linked`), 1), k("p", Ke, " Price: " + B(w.value.symbol) + B(t(F)(n.price, !1)), 1)]), f.value.delete ? (_(), G(I, {
247
+ }, [k("div", Ue, [k("p", Me, I(n.name), 1), k("p", Ee, I(`${t(J)(t(l).categorizedItems, n.usedBy).flatMap((E) => E.items).length ?? 0} items linked`), 1), k("p", Ke, " Price: " + I(w.value.symbol) + I(t(F)(n.price, !1)), 1)]), f.value.delete ? (_(), G(B, {
248
248
  key: 0,
249
249
  variant: t(A).Tertiary,
250
250
  "text-color": "neutral-gray-400",
@@ -271,7 +271,7 @@ const ge = _e("takeaway-manager", () => {
271
271
  })
272
272
  }, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
273
273
  _: 1
274
- })]))], 64)) : (_(), C("div", Be, [V(t(me), {
274
+ })]))], 64)) : (_(), C("div", Ie, [V(t(me), {
275
275
  subtitle: t(e)("menu.takeaway.empty.subtitle"),
276
276
  title: t(e)("menu.takeaway.empty.title")
277
277
  }, {
@@ -281,15 +281,15 @@ const ge = _e("takeaway-manager", () => {
281
281
  action: "add",
282
282
  "apply-product": "",
283
283
  "onUpdate:takeaway": s[3] || (s[3] = (n) => t(y).updateMenu({
284
- module: t(N.F_MENU_MODULE_V4_KEY).enum.takeaway,
285
- operation: t(z.F_OPERATION_TYPE).create,
284
+ module: t(z.F_MENU_MODULE_V4_KEY).enum.takeaway,
285
+ operation: t(N.F_OPERATION_TYPE).create,
286
286
  data: n,
287
287
  link: t(ee)(n.usedBy || [])
288
288
  }, n.name))
289
289
  }, {
290
290
  default: P(({
291
291
  trigger: n
292
- }) => [V(I, {
292
+ }) => [V(B, {
293
293
  "prepend-icon": "add",
294
294
  label: t(e)("menu.takeaway.empty.action"),
295
295
  onClick: H(n, ["stop"])