@feedmepos/mf-menu 0.32.51-dev → 0.32.52-dev

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 (76) hide show
  1. package/dist/{App-DJ_boY0P.js → App-COGal-TD.js} +497 -506
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BVafiq6l.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DzisSpvQ.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CruH5AF9.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-eqJDqaPZ.js} +2 -2
  4. package/dist/{Catalog-C_7GyzOz.js → Catalog-BJ8-NdAC.js} +7 -7
  5. package/dist/{Category-B8c8AO0C.js → Category-BkU2y10v.js} +5 -5
  6. package/dist/{Category-CJRttg5g.js → Category-CFaPOouQ.js} +4 -4
  7. package/dist/{CookingGuide-B-oXAful.js → CookingGuide-BDDCmfeL.js} +5 -5
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DwwMOoQx.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BcJYQo_p.js} +1 -1
  9. package/dist/{Group-iHKwYfVS.js → Group-DBrJ4Rin.js} +1 -1
  10. package/dist/{Group-DZrcYfeC.js → Group-Sk7Qd6G3.js} +4 -4
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-UrT9_Dv_.js → Group.vue_vue_type_script_setup_true_lang-BWpIG76a.js} +7 -7
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BljvPVAz.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DzeAE7Oj.js} +5 -5
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Cu2_U6gg.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DWScWkMg.js} +10 -10
  14. package/dist/{Ingredient-EEsIgWLG.js → Ingredient-CA0qoRc1.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-B_ItCbTf.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BzLcfi4f.js} +2 -2
  16. package/dist/{LinkProductSideSheet-DwVODI1U.js → LinkProductSideSheet-TTj7qiWm.js} +3 -3
  17. package/dist/{MenuSetting-CP7Vx_cV.js → MenuSetting-DwfE7v0B.js} +9 -9
  18. package/dist/{OrderPacing-Dej0Cp3E.js → OrderPacing-cT1Vs3OD.js} +6 -6
  19. package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-BFxSjqqP.js → PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js} +2 -2
  20. package/dist/{PrintRoute-DOJJ82mH.js → PrintRoute-D8pc6M31.js} +5 -5
  21. package/dist/{Product-BpH2gXii.js → Product-CW1oQzS-.js} +1 -1
  22. package/dist/{Product.vue_vue_type_script_setup_true_lang-BhOdWTlM.js → Product.vue_vue_type_script_setup_true_lang-lqXctN9S.js} +12 -12
  23. package/dist/{ProductInternalTools-CjoC9z79.js → ProductInternalTools-DAIu8IhO.js} +6 -6
  24. package/dist/Products-nVL6Qsuw.js +312 -0
  25. package/dist/{Publish-D-xjezFx.js → Publish-DHEzIG_J.js} +533 -528
  26. package/dist/{Recipe-Dv38pLls.js → Recipe-BLcLaekI.js} +5 -5
  27. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CJwwJ87D.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BCHurASV.js} +1 -1
  28. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-a6W_3fVO.js → RuleView.vue_vue_type_script_setup_true_lang-Dwi3pOl9.js} +2 -2
  29. package/dist/{Scheduler-DEgUjACU.js → Scheduler-C4e5hO7Z.js} +4 -4
  30. package/dist/{ServingSequence-C-XRskmz.js → ServingSequence-C12Ny_nR.js} +4 -4
  31. package/dist/{Setting-C4zIGhS4.js → Setting-BscTehhJ.js} +5 -5
  32. package/dist/{Subcategory-0e7ZQXZl.js → Subcategory-C5FGoPot.js} +6 -6
  33. package/dist/{Takeaway-BR6Jm6tq.js → Takeaway-CDSKNUhc.js} +1 -1
  34. package/dist/{Takeaway-Bk9u-h1u.js → Takeaway-Dr6WQVE1.js} +5 -5
  35. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DXCVV-UI.js → Takeaway.vue_vue_type_script_setup_true_lang-C6eREsQp.js} +5 -5
  36. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BZRHb8G7.js → Thumbnail.vue_vue_type_script_setup_true_lang-CkETUziX.js} +4 -4
  37. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-BrhjUvFq.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CcD-TGhd.js} +1 -1
  38. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-BKD-EAO3.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DccUYmCx.js} +2 -2
  39. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ch5KY_XM.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1ov0odP.js} +937 -940
  40. package/dist/{Unit-BdV3zkYP.js → Unit-U3pz6pPm.js} +3 -3
  41. package/dist/{Variant-CtcqyPKe.js → Variant-D-nC4Dy6.js} +26 -30
  42. package/dist/{_id_-Fo7FbggZ.js → _id_-DHI7NeZ5.js} +10 -10
  43. package/dist/{app-BirB2oNz.js → app-Brq8nN4D.js} +1 -1
  44. package/dist/{app-DtMGo-8a.js → app-dIGG83GF.js} +185 -185
  45. package/dist/app.js +1 -1
  46. package/dist/apps/mf-menu/src/app.d.ts +7 -0
  47. package/dist/apps/mf-menu/src/components/member_price/MemberPriceToolTip.vue.d.ts +2 -0
  48. package/dist/apps/mf-menu/src/manager/menu/memberPricing.d.ts +4 -1
  49. package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -1
  50. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/assets/{linked-status-B6SJq-v-.js → linked-status-C-sgTOx9.js} +2 -2
  52. package/dist/assets/{menu-export-CwiCpw67.js → menu-export-Nt98HUsd.js} +4 -4
  53. package/dist/assets/{override-menu-Fx3w0bSY.js → override-menu-Ako9Ghu_.js} +2 -2
  54. package/dist/assets/{validate-menu-BGTp-oO7.js → validate-menu-CVJ4sdGa.js} +2 -2
  55. package/dist/{catalog-DtioUeQr.js → catalog-BDfp-HKs.js} +1 -1
  56. package/dist/{catalogSetting-BRAVGHiH.js → catalogSetting-BjZWlJux.js} +1 -1
  57. package/dist/{currency-Dntgj8R7.js → currency-BMM0v_C-.js} +1 -1
  58. package/dist/{dayjs.min-CwKTySXQ.js → dayjs.min-qRo56ggi.js} +2 -2
  59. package/dist/{index-vHMVgpgg.js → index-Dnr_KMtS.js} +25 -25
  60. package/dist/{index-b5UraR94.js → index-DwsAtSPy.js} +4 -4
  61. package/dist/{index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js → index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js} +4638 -4642
  62. package/dist/{item-CAdH9ZRb.js → item-hYgXuH-R.js} +1178 -1177
  63. package/dist/{jszip.min-q5-4AKN4.js → jszip.min-BqsNpcIL.js} +3 -3
  64. package/dist/memberPricing-CXI5GqbJ.js +107 -0
  65. package/dist/{menu-CSDflKWK.js → menu-Okh_Q4gK.js} +1 -1
  66. package/dist/{menuV2-Cf_zeTsx.js → menuV2-DbTc7yw0.js} +36 -36
  67. package/dist/mf-menu.css +1 -1
  68. package/dist/{order_pacing-gM1ob6dp.js → order_pacing-CBkQIrp3.js} +5 -5
  69. package/dist/{priceTier-qp7ZHYG1.js → priceTier-BxWXhfDh.js} +1 -1
  70. package/dist/{rules-Bvgey7qo.js → rules-CsoPQCO5.js} +3 -3
  71. package/dist/{scheduler-CLvNHt4g.js → scheduler-BfvHQAuo.js} +4 -4
  72. package/dist/{toExcel-CDs_GgCA.js → toExcel-DZMykkCy.js} +2 -2
  73. package/dist/{unit-CR4GvsD0.js → unit-ro6UkV3c.js} +2 -2
  74. package/package.json +1 -1
  75. package/dist/Products-BaH1UUlM.js +0 -309
  76. package/dist/memberPricing-BK7Y-pUK.js +0 -89
@@ -2,9 +2,9 @@ import { defineComponent as L, computed as d, ref as g, h as k, withModifiers as
2
2
  import { useI18n as E } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as K, components as R, useBreakpoints as D, FmButtonVariant as I } from "@feedmepos/ui-library";
4
4
  import { _ as q } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { B as A, u as G, a5 as H } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
6
- import { _ as J } from "./PageLayout.vue_vue_type_script_setup_true_lang-BFxSjqqP.js";
7
- import { u as O, U as P } from "./unit-CR4GvsD0.js";
5
+ import { B as A, u as G, a5 as H } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
6
+ import { _ as J } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
7
+ import { u as O, U as P } from "./unit-ro6UkV3c.js";
8
8
  const Q = {
9
9
  key: 0,
10
10
  class: "h-[600px]"
@@ -1,11 +1,11 @@
1
- import { getCurrentInstance as A, defineComponent as T, computed as b, onMounted as U, h as u, resolveComponent as w, createBlock as j, openBlock as p, unref as o, withCtx as _, createElementBlock as g, Fragment as M, createElementVNode as i, createVNode as c, isRef as z, normalizeClass as F, renderList as R, toDisplayString as S, withModifiers as B, createCommentVNode as Y } from "vue";
1
+ import { getCurrentInstance as A, defineComponent as T, computed as b, onMounted as U, h as d, resolveComponent as w, createBlock as j, openBlock as p, unref as o, withCtx as _, createElementBlock as g, Fragment as M, createElementVNode as i, createVNode as c, isRef as z, normalizeClass as F, renderList as R, toDisplayString as S, withModifiers as B, createCommentVNode as Y } from "vue";
2
2
  import { useI18n as K } from "@feedmepos/mf-common";
3
3
  import { useDialog as G, useSnackbar as N, FmButtonVariant as L, components as J, useBreakpoints as q } from "@feedmepos/ui-library";
4
4
  import { _ as H } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as Q } from "./app-DtMGo-8a.js";
6
- import { B as P, u as D, P as O, J as W, K as X, a5 as Z } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
7
- import { V as E } from "./index-b5UraR94.js";
8
- import { _ as ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-BFxSjqqP.js";
5
+ import { _ as Q } from "./app-dIGG83GF.js";
6
+ import { B as P, u as D, P as O, J as W, K as X, a5 as Z } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
7
+ import { V as E } from "./index-DwsAtSPy.js";
8
+ import { _ as ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
9
9
  import { _ as ae } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
10
10
  import { u as oe } from "./search-BAPEUu1R.js";
11
11
  import { defineStore as ne } from "pinia";
@@ -23,7 +23,7 @@ const se = ne("variant-manager", () => {
23
23
  );
24
24
  (a = (h = V.component) == null ? void 0 : h.exposed) == null || a.trigger();
25
25
  };
26
- async function d(r) {
26
+ async function u(r) {
27
27
  k({
28
28
  initialValue: r
29
29
  });
@@ -55,7 +55,7 @@ const se = ne("variant-manager", () => {
55
55
  }
56
56
  return {
57
57
  deleteVariant: y,
58
- updateVariant: d
58
+ updateVariant: u
59
59
  };
60
60
  }), re = {
61
61
  key: 0,
@@ -66,9 +66,9 @@ const se = ne("variant-manager", () => {
66
66
  class: "w-[320px]"
67
67
  }, me = {
68
68
  class: "px-16 py-8"
69
- }, de = {
69
+ }, ue = {
70
70
  class: /* @__PURE__ */ F(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100", "pb-64"])
71
- }, ue = ["onClick"], pe = {
71
+ }, de = ["onClick"], pe = {
72
72
  class: "flex-1 space-y-4"
73
73
  }, fe = {
74
74
  class: "fm-typo-en-body-lg-600"
@@ -96,7 +96,7 @@ const se = ne("variant-manager", () => {
96
96
  }))
97
97
  }))), {
98
98
  filter: k,
99
- searchKey: d
99
+ searchKey: u
100
100
  } = oe(), y = b(() => m.value.filter((a) => {
101
101
  var e;
102
102
  return k([a.name, ...((e = a.options) == null ? void 0 : e.map((s) => s.name)) ?? []]);
@@ -109,11 +109,11 @@ const se = ne("variant-manager", () => {
109
109
  enableSorting: !1,
110
110
  cell: (a) => {
111
111
  const e = a.row.original, s = a.getValue();
112
- return u("div", {
112
+ return d("div", {
113
113
  class: "flex items-center gap-8"
114
- }, [u("span", {
114
+ }, [d("span", {
115
115
  class: "break-all"
116
- }, s), e.name_locale ? u(ae, {
116
+ }, s), e.name_locale ? d(ae, {
117
117
  nameLocale: e.name_locale ?? {}
118
118
  }) : null]);
119
119
  }
@@ -124,11 +124,11 @@ const se = ne("variant-manager", () => {
124
124
  enableSorting: !1,
125
125
  cell: (a) => {
126
126
  const e = a.getValue() ?? [], s = e.some((l) => Object.keys(l.name_locale ?? {}).length > 0), C = Array.from(new Set(e.flatMap((l) => Object.keys(l.name_locale ?? {})))).map((l) => le(l));
127
- return u("div", {
127
+ return d("div", {
128
128
  class: "flex items-center gap-8"
129
- }, [u("span", {
129
+ }, [d("span", {
130
130
  class: "break-all"
131
- }, e == null ? void 0 : e.map((l) => l.name).join(", ")), ...s ? C.map((l) => u("div", {
131
+ }, e == null ? void 0 : e.map((l) => l.name).join(", ")), ...s ? C.map((l) => d("div", {
132
132
  class: "rounded-lg border border-fm-color-primary text-fm-color-primary flex items-center justify-center fm-typo-en-body-sm-600 px-8"
133
133
  }, l)) : []]);
134
134
  }
@@ -147,9 +147,9 @@ const se = ne("variant-manager", () => {
147
147
  cellClass: "pl-16",
148
148
  headerContentClass: "-mx-16"
149
149
  },
150
- cell: (a) => u("div", {
150
+ cell: (a) => d("div", {
151
151
  class: "w-full flex justify-end items-center"
152
- }, [u(J.FmButton, {
152
+ }, [d(J.FmButton, {
153
153
  prependIcon: "delete",
154
154
  variant: L.Tertiary,
155
155
  textColor: "neutral-gray-400",
@@ -182,12 +182,10 @@ const se = ne("variant-manager", () => {
182
182
  key: 1
183
183
  }, [i("div", me, [c(s, {
184
184
  autofocus: "",
185
- modelValue: o(d),
186
- "onUpdate:modelValue": e[2] || (e[2] = (n) => z(d) ? d.value = n : null),
187
- placeholder: o(t)("menu.common.labels.search_placeholder", {
188
- type: "variants"
189
- })
190
- }, null, 8, ["modelValue", "placeholder"])]), i("div", de, [(p(!0), g(M, null, R(y.value, (n) => (p(), g("div", {
185
+ modelValue: o(u),
186
+ "onUpdate:modelValue": e[2] || (e[2] = (n) => z(u) ? u.value = n : null),
187
+ placeholder: o(t)("menu.common.labels.search_variants")
188
+ }, null, 8, ["modelValue", "placeholder"])]), i("div", ue, [(p(!0), g(M, null, R(y.value, (n) => (p(), g("div", {
191
189
  key: n._id,
192
190
  class: F(["py-12 px-16", "flex space-x-8", "items-center", "cursor-pointer"]),
193
191
  onClick: () => o(f).updateVariant(n)
@@ -200,13 +198,11 @@ const se = ne("variant-manager", () => {
200
198
  "prepend-icon": "delete",
201
199
  "text-color": "neutral-gray-400",
202
200
  onClick: B(() => o(f).deleteVariant(n), ["stop"])
203
- }, null, 8, ["variant", "onClick"])], 8, ue))), 128))])], 64)) : (p(), g("div", re, [i("div", ie, [i("div", ce, [c(s, {
201
+ }, null, 8, ["variant", "onClick"])], 8, de))), 128))])], 64)) : (p(), g("div", re, [i("div", ie, [i("div", ce, [c(s, {
204
202
  autofocus: "",
205
- modelValue: o(d),
206
- "onUpdate:modelValue": e[0] || (e[0] = (n) => z(d) ? d.value = n : null),
207
- placeholder: o(t)("menu.common.labels.search_placeholder", {
208
- type: "variants"
209
- })
203
+ modelValue: o(u),
204
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => z(u) ? u.value = n : null),
205
+ placeholder: o(t)("menu.common.labels.search_variants")
210
206
  }, null, 8, ["modelValue", "placeholder"])])]), c(Q, null, {
211
207
  default: _(() => [c(C, {
212
208
  "column-defs": r.value,
@@ -1,19 +1,19 @@
1
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 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-CwKTySXQ.js";
2
+ import { D as j } from "./dayjs.min-qRo56ggi.js";
3
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-Cu2_U6gg.js";
5
- import { B as ee, u as te, A as ae, G as oe, P as ne } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
4
+ import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DWScWkMg.js";
5
+ import { B as ee, u as te, A as ae, G as oe, P as ne } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
6
6
  import { useI18n as le } from "@feedmepos/mf-common";
7
7
  import { useSnackbar as se } from "@feedmepos/ui-library";
8
8
  import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
- import { L as V } from "./LinkProductSideSheet-DwVODI1U.js";
9
+ import { L as V } from "./LinkProductSideSheet-TTj7qiWm.js";
10
10
  import { _ as ue } from "./index-CisutoS9.js";
11
- import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BFxSjqqP.js";
12
- import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-BZRHb8G7.js";
13
- import { a as me } from "./menu-CSDflKWK.js";
14
- import { m as ce } from "./toExcel-CDs_GgCA.js";
15
- import { _ as de, u as pe, c as _e } from "./scheduler-CLvNHt4g.js";
16
- import { R as r } from "./app-DtMGo-8a.js";
11
+ import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
12
+ import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CkETUziX.js";
13
+ import { a as me } from "./menu-Okh_Q4gK.js";
14
+ import { m as ce } from "./toExcel-DZMykkCy.js";
15
+ import { _ as de, u as pe, c as _e } from "./scheduler-BfvHQAuo.js";
16
+ import { R as r } from "./app-dIGG83GF.js";
17
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({
18
18
  __name: "[id]",
19
19
  setup(ke) {
@@ -1,5 +1,5 @@
1
1
  import { defineStore as r } from "pinia";
2
- import { ae as a, af as s, ag as l } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
2
+ import { ae as a, af as s, ag as l } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
3
3
  const u = {
4
4
  async read() {
5
5
  return a(await s().get("/public-setting"));