@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
@@ -1,4 +1,4 @@
1
- import { u as p, y as d, U as n, J as g, K as m, as as f } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
1
+ import { u as p, y as d, U as n, J as g, K as m, as as f } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
2
2
  import "@feedmepos/ui-library";
3
3
  class u {
4
4
  constructor(t, e, r, a) {
@@ -1,4 +1,4 @@
1
- import { U as u, G as s } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
1
+ import { U as u, G as s } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
2
2
  var n = /* @__PURE__ */ ((e) => (e.AUTO = "auto", e.MANUAL = "manual", e))(n || {}), m = /* @__PURE__ */ ((e) => (e[e.Normal = 0] = "Normal", e[e.Rules = 1] = "Rules", e))(m || {});
3
3
  class i {
4
4
  static fromCatalog(r, a) {
@@ -1,4 +1,4 @@
1
- import { z as e } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
1
+ import { z as e } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
2
2
  function n(r, o = !0) {
3
3
  return e.Dinero.fromFdoDinero(r).toFormat(o).replaceAll(" ", "");
4
4
  }
@@ -1,5 +1,5 @@
1
- import { g as r } from "./app-DtMGo-8a.js";
2
- import { at as a } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
1
+ import { g as r } from "./app-dIGG83GF.js";
2
+ import { at as a } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
3
3
  var o = a();
4
4
  const m = /* @__PURE__ */ r(o);
5
5
  export {
@@ -1,13 +1,13 @@
1
- import { z as $, K as Y, u as Z, G as Q, A as z, H as X } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
2
- import { defineComponent as j, ref as h, computed as _, watch as R, onMounted as ee, onBeforeUnmount as ae, resolveComponent as L, createBlock as H, openBlock as x, withModifiers as q, withCtx as k, renderSlot as P, createElementBlock as O, Fragment as K, createVNode as v, unref as i, createElementVNode as U, createCommentVNode as te, renderList as le, toDisplayString as I } from "vue";
1
+ import { z as $, K as Y, u as Z, G as Q, A as z, H as X } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
2
+ import { defineComponent as j, ref as h, computed as _, watch as R, onMounted as ee, onBeforeUnmount as ae, resolveComponent as L, createBlock as H, openBlock as x, withModifiers as q, withCtx as k, renderSlot as P, createElementBlock as O, Fragment as K, createVNode as v, unref as i, createElementVNode as M, createCommentVNode as te, renderList as le, toDisplayString as I } from "vue";
3
3
  import { useI18n as W } from "@feedmepos/mf-common";
4
4
  import { components as ne } from "@feedmepos/ui-library";
5
- import { _ as oe } from "./RuleView.vue_vue_type_script_setup_true_lang-a6W_3fVO.js";
5
+ import { _ as oe } from "./RuleView.vue_vue_type_script_setup_true_lang-Dwi3pOl9.js";
6
6
  import { u as ie } from "./discardConfirm-BHni0LNu.js";
7
- import { _ as re } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BVafiq6l.js";
8
- import { _ as ue } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-BKD-EAO3.js";
7
+ import { _ as re } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DzisSpvQ.js";
8
+ import { _ as ue } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DccUYmCx.js";
9
9
  import { c as se } from "./check-C9mY6LiX.js";
10
- import { f as me } from "./currency-Dntgj8R7.js";
10
+ import { f as me } from "./currency-BMM0v_C-.js";
11
11
  import { c as de } from "./string-DpfFixWH.js";
12
12
  import { g as A } from "./translation-fNx6yEpy.js";
13
13
  const pe = /* @__PURE__ */ j({
@@ -53,15 +53,15 @@ const pe = /* @__PURE__ */ j({
53
53
  },
54
54
  emits: ["update:model-value"],
55
55
  setup(B, { emit: g }) {
56
- const l = B, { t: o } = W(), m = h(!1), E = h(!1), r = h(), M = _(() => l.modelValue ? (E.value && !m.value && (m.value = !0), $.Dinero.fromFdoDinero(l.modelValue).toUnit().toFixed(2)) : "");
56
+ const l = B, { t: o } = W(), m = h(!1), E = h(!1), r = h(), N = _(() => l.modelValue ? (E.value && !m.value && (m.value = !0), $.Dinero.fromFdoDinero(l.modelValue).toUnit().toFixed(2)) : "");
57
57
  R(
58
58
  () => E.value,
59
59
  (e) => {
60
- var n, c, f, S, T;
61
- e ? (c = (n = r.value) == null ? void 0 : n.inputEl) == null || c.select() : (m.value = !1, (f = r.value) != null && f.inputEl && s((T = (S = r.value) == null ? void 0 : S.inputEl) == null ? void 0 : T.value));
60
+ var n, c, f, T, U;
61
+ e ? (c = (n = r.value) == null ? void 0 : n.inputEl) == null || c.select() : (m.value = !1, (f = r.value) != null && f.inputEl && s((U = (T = r.value) == null ? void 0 : T.inputEl) == null ? void 0 : U.value));
62
62
  }
63
63
  );
64
- const N = g, u = _(() => typeof l.required == "string" ? l.required : o("menu.common.validation.field_required", {
64
+ const S = g, u = _(() => typeof l.required == "string" ? l.required : o("menu.common.validation.field_required", {
65
65
  field: l.label ?? o("menu.currency.input.field")
66
66
  })), C = [
67
67
  (e) => l.required ? !!e || u.value : !0,
@@ -71,12 +71,12 @@ const pe = /* @__PURE__ */ j({
71
71
  ];
72
72
  function s(e) {
73
73
  if (typeof e != "number" && !e && l.nullable)
74
- N("update:model-value", void 0);
74
+ S("update:model-value", void 0);
75
75
  else {
76
76
  if (typeof e == "string" && e === "-")
77
77
  return;
78
78
  let n = parseFloat((e || "").toString());
79
- n = Number.isNaN(n) ? 0 : n, N("update:model-value", $.Dinero.fromNumber({ number: n }).toObject());
79
+ n = Number.isNaN(n) ? 0 : n, S("update:model-value", $.Dinero.fromNumber({ number: n }).toObject());
80
80
  }
81
81
  }
82
82
  const D = _(() => typeof l.min == "number" && l.min >= 0), F = (e) => {
@@ -107,7 +107,7 @@ const pe = /* @__PURE__ */ j({
107
107
  autofocus: l.autofocus,
108
108
  disabled: l.disable,
109
109
  label: e.label,
110
- "model-value": M.value,
110
+ "model-value": N.value,
111
111
  placeholder: l.placeholder,
112
112
  "prepend-icon": e.showCurrency ? "attach_money" : void 0,
113
113
  rules: C,
@@ -147,7 +147,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
147
147
  },
148
148
  emits: ["update:takeaway"],
149
149
  setup(B, { expose: g, emit: l }) {
150
- const { t: o } = W(), m = B, E = l, r = Z(), M = _(() => r.rules.takeaway), N = h(!1), u = h(!1), C = h(!1), s = h(void 0), D = (a) => {
150
+ const { t: o } = W(), m = B, E = l, r = Z(), N = _(() => r.rules.takeaway), S = h(!1), u = h(!1), C = h(!1), s = h(void 0), D = (a) => {
151
151
  se.isBoolean(a) ? u.value = a : u.value = !u.value;
152
152
  };
153
153
  function F() {
@@ -174,10 +174,10 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
174
174
  });
175
175
  }), a;
176
176
  });
177
- function S(a) {
177
+ function T(a) {
178
178
  s.value = a;
179
179
  }
180
- function T(a) {
180
+ function U(a) {
181
181
  e.value.name = a;
182
182
  }
183
183
  const J = ie(
@@ -227,13 +227,13 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
227
227
  "onOn:clickedAway": i(J)
228
228
  }, {
229
229
  "side-sheet-header": k(() => [
230
- U("p", ce, I(n.value), 1)
230
+ M("p", ce, I(n.value), 1)
231
231
  ]),
232
232
  "side-sheet-footer": k(() => [
233
- U("div", ye, [
233
+ M("div", ye, [
234
234
  v(w, {
235
235
  label: i(de)(i(o)(`menu.common.actions.${a.action}`)),
236
- loading: N.value,
236
+ loading: S.value,
237
237
  size: "lg",
238
238
  type: "submit",
239
239
  variant: "primary"
@@ -247,7 +247,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
247
247
  ])
248
248
  ]),
249
249
  default: k(() => [
250
- U("div", fe, [
250
+ M("div", fe, [
251
251
  v(oe, null, {
252
252
  default: k(() => {
253
253
  var b;
@@ -255,7 +255,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
255
255
  v(d, {
256
256
  modelValue: e.value.name,
257
257
  "onUpdate:modelValue": t[1] || (t[1] = (p) => e.value.name = p),
258
- disabled: !M.value.name,
258
+ disabled: !N.value.name,
259
259
  rules: [
260
260
  (p) => !!p || i(o)("menu.common.validation.required", {
261
261
  field: i(o)("menu.takeaway.columns.title").toLowerCase()
@@ -274,7 +274,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
274
274
  "z-index": 999
275
275
  }, {
276
276
  content: k(() => [
277
- U("div", ve, [
277
+ M("div", ve, [
278
278
  (x(!0), O(K, null, le(f.value, (p) => (x(), O("div", {
279
279
  key: p.locale
280
280
  }, I(p.name) + " (" + I(p.localeDisplay) + ") ", 1))), 128))
@@ -285,7 +285,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
285
285
  variant: "tertiary",
286
286
  icon: "g_translate",
287
287
  onClick: t[0] || (t[0] = (p) => C.value = !0),
288
- disabled: !c.value
288
+ disabled: !c.value || !N.value.name
289
289
  }, null, 8, ["disabled"])
290
290
  ]),
291
291
  _: 1
@@ -325,8 +325,8 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
325
325
  title: i(o)("menu.takeaway.title"),
326
326
  name: e.value.name,
327
327
  "name-locale": s.value,
328
- "onUpdate:name": T,
329
- "onUpdate:nameLocale": S
328
+ "onUpdate:name": U,
329
+ "onUpdate:nameLocale": T
330
330
  }, null, 8, ["modelValue", "title", "name", "name-locale"])
331
331
  ], 64);
332
332
  };
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as le, ref as f, computed as q, watch as J, resolveComponent as C, createBlock as I, openBlock as h, unref as s, withCtx as k, createElementVNode as p, createVNode as m, createElementBlock as O, createCommentVNode as T, normalizeClass as Q, toDisplayString as F, Fragment as M, renderList as H, renderSlot as se, createSlots as ie } from "vue";
2
- import { H as E, P as re, B as ue, G as D, A as W, J as X, K as Z } from "./index.vue_vue_type_script_setup_true_lang-CbJ4htzZ.js";
2
+ import { H as E, P as re, B as ue, G as D, A as W, J as X, K as Z } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
3
3
  import { d as de } from "./vuedraggable-CK8z7qA8.js";
4
4
  import { useI18n as te } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as ce, components as me } from "@feedmepos/ui-library";
6
6
  import { _ as ve } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
7
- import { _ as pe } from "./RuleView.vue_vue_type_script_setup_true_lang-a6W_3fVO.js";
7
+ import { _ as pe } from "./RuleView.vue_vue_type_script_setup_true_lang-Dwi3pOl9.js";
8
8
  import { u as oe } from "./discardConfirm-BHni0LNu.js";
9
- import { _ as fe } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BVafiq6l.js";
10
- import { _ as _e, a as ee, b as ae, c as ne } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-BrhjUvFq.js";
9
+ import { _ as fe } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DzisSpvQ.js";
10
+ import { _ as _e, a as ee, b as ae, c as ne } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-CcD-TGhd.js";
11
11
  import { c as he } from "./check-C9mY6LiX.js";
12
12
  const ge = { class: "fm-typo-en-title-md-600" }, ye = { class: "pt-8 space-y-24" }, Ve = { class: "flex flex-col gap-16 border p-16 rounded-lg" }, be = { class: "fm-typo-en-body-lg-600" }, xe = {
13
13
  key: 0,