@feedmepos/mf-menu 0.31.74 → 0.31.75-prod

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 (88) hide show
  1. package/dist/{App-B6Hn5Wwr.js → App-Cw2D3IXT.js} +528 -585
  2. package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-CFtcqy58.js +161 -0
  3. package/dist/BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-CnCoRLDg.js +74 -0
  4. package/dist/{Catalog-D-2hDU2I.js → Catalog-B5kAKdVW.js} +9 -9
  5. package/dist/{Category-hSOIgBkH.js → Category-CAd9BTRX.js} +8 -8
  6. package/dist/{Category-DjTbuAvE.js → Category-DKjU47aW.js} +5 -5
  7. package/dist/{CookingGuide-D7ruB7eP.js → CookingGuide-BN739JkB.js} +7 -7
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-mxVSGXAz.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-gii2CTYD.js} +3 -3
  9. package/dist/{Group-evJZbgZn.js → Group-DmII5Nwf.js} +4 -4
  10. package/dist/{Group-CjlhbhDV.js → Group-DnpVxZkN.js} +1 -1
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-DiKraPiw.js → Group.vue_vue_type_script_setup_true_lang-BEeCwmKt.js} +163 -163
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BYku8MAc.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DB5B3PLx.js} +90 -90
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DScxctPb.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BEISm7uc.js} +3046 -3046
  14. package/dist/{Ingredient-jNDx1pUw.js → Ingredient-CpuyDF4n.js} +30 -30
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CuM_k-C3.js → InventoryBinding.vue_vue_type_script_setup_true_lang-GHiwD8VV.js} +1112 -1112
  16. package/dist/{LinkProductSideSheet-CAPIdf6P.js → LinkProductSideSheet-DrSKOBLg.js} +129 -129
  17. package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-Bm_hSelC.js +69 -0
  18. package/dist/{MenuSetting-C2MDgy57.js → MenuSetting-BNuIUnjz.js} +138 -138
  19. package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js → PageLayout.vue_vue_type_script_setup_true_lang-vFqWGM6P.js} +8 -8
  20. package/dist/{PrintRoute-SmWbKr9Y.js → PrintRoute-Dl0oWYju.js} +6 -6
  21. package/dist/{Product-BCm49V9T.js → Product-IQBP1vvY.js} +1 -1
  22. package/dist/{Product.vue_vue_type_script_setup_true_lang-CTOjLqbF.js → Product.vue_vue_type_script_setup_true_lang-Bdss6VRj.js} +607 -607
  23. package/dist/{ProductInternalTools-DGsvvnIs.js → ProductInternalTools-Dkhbg1WE.js} +11 -11
  24. package/dist/{Products-D4qeSEfO.js → Products-Dcafs3Lk.js} +59 -59
  25. package/dist/{Publish-3A3EEQ9x.js → Publish-BTuO4AlR.js} +6 -6
  26. package/dist/{Recipe-CS7TZGA6.js → Recipe-Dx2ZkHsk.js} +6 -6
  27. package/dist/{Scheduler-BIwTUJMJ.js → Scheduler-Dh_0J2g9.js} +5 -5
  28. package/dist/{ServingSequence-C0N8wJfr.js → ServingSequence-DXhx9dcu.js} +5 -5
  29. package/dist/{Setting-fA6tvQK2.js → Setting-4x_w46t_.js} +5 -5
  30. package/dist/{Subcategory-BAFAmflQ.js → Subcategory-vztBpQnB.js} +6 -6
  31. package/dist/{Takeaway-D4aO8zzN.js → Takeaway-CDgIyUrN.js} +5 -5
  32. package/dist/{Takeaway-CLZouw1j.js → Takeaway-Dz5PxJk_.js} +1 -1
  33. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-1oN-i9bo.js → Takeaway.vue_vue_type_script_setup_true_lang-BMMXiDFL.js} +6 -6
  34. package/dist/{TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js → TextChip.vue_vue_type_script_setup_true_lang-BJMcI3U2.js} +5 -5
  35. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-Dwol_Lkd.js → Thumbnail.vue_vue_type_script_setup_true_lang-DJ8JMV28.js} +74 -74
  36. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-cTzWxjM4.js +5996 -0
  37. package/dist/{Unit-ByqUb4Po.js → Unit-z7OVmlSq.js} +4 -4
  38. package/dist/{Variant-BmqrUfen.js → Variant-CFRgvlXf.js} +5 -5
  39. package/dist/{_id_-RUWzOB0B.js → _id_-B9q3j4_m.js} +11 -11
  40. package/dist/{app-B1N2F0j8.js → app-CdsS_tMb.js} +1 -1
  41. package/dist/app-CkCBPor3.js +363 -0
  42. package/dist/{app-5fxKLAzS.js → app-CzXxFrl1.js} +447 -447
  43. package/dist/app.js +1 -1
  44. package/dist/apps/mf-menu/src/app.d.ts +0 -1
  45. package/dist/apps/mf-menu/src/components/feature/CategoryManager/CategoriesSelector.vue.d.ts +1 -1
  46. package/dist/apps/mf-menu/src/components/feature/MenuSelector.vue.d.ts +1 -1
  47. package/dist/apps/mf-menu/src/components/feature/SubcategoryManager/SubcategorySelector.vue.d.ts +1 -1
  48. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  49. package/dist/assets/linked-status-B8qYyYR6.js +13 -0
  50. package/dist/assets/override-menu-nmSTTTn7.js +13 -0
  51. package/dist/assets/validate-menu-CF1XZECU.js +13 -0
  52. package/dist/{catalog-CarmtheV.js → catalog-DBBEUpMo.js} +1 -1
  53. package/dist/{catalogSetting-BqrTpBP8.js → catalogSetting-DKvBjleU.js} +1 -1
  54. package/dist/{category-5R83ypNS.js → category-DILExwHL.js} +1 -1
  55. package/dist/{currency-CUl4r9rT.js → currency-B7Xm1xZJ.js} +1 -1
  56. package/dist/customAttributes-DrA0YC82.js +180 -0
  57. package/dist/{index-Ttqt4iFV.js → index-2lrKSO_O.js} +20 -20
  58. package/dist/{index-DlwLw-BQ.js → index-BoVEGKz7.js} +91 -91
  59. package/dist/{index-DAWSNP3G.js → index-Bu5LuO1j.js} +4 -4
  60. package/dist/{index-DUfYYdZ-.js → index-SNNvjtFa.js} +56 -56
  61. package/dist/{index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js → index.vue_vue_type_script_setup_true_lang-B1_JqsYF.js} +16 -16
  62. package/dist/{item-B0UPYxsB.js → item-BnOnvN8x.js} +3091 -3174
  63. package/dist/{iteration-CfmAZiOO.js → iteration-Csz_aSxy.js} +3 -3
  64. package/dist/{jszip.min-zROpry0S.js → jszip.min-B0T3I-lE.js} +329 -329
  65. package/dist/{menu-DAac726D.js → menu-3XEn1C9F.js} +6402 -6332
  66. package/dist/{menu-DpYo8dYR.js → menu-DzbYSPGP.js} +1 -1
  67. package/dist/{menuV2-DZj_FPqR.js → menuV2-cXg54GYW.js} +93 -93
  68. package/dist/mf-menu.css +1 -1
  69. package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +1 -1
  70. package/dist/{priceTier-BvDLl8v2.js → priceTier-DVd27LFd.js} +1 -1
  71. package/dist/{scheduler-pNUXG6En.js → scheduler-D8IgBrUX.js} +6 -6
  72. package/dist/{subcategory-DCDCQnAX.js → subcategory-BOpm3s8K.js} +2 -2
  73. package/dist/{toExcel-DqMa1Hn8.js → toExcel-BJM3fOB2.js} +2 -2
  74. package/dist/{unit-CuCXoWPG.js → unit-DF9d3piP.js} +151 -151
  75. package/dist/{vuedraggable-CK8z7qA8.js → vuedraggable-DnBIRDMr.js} +2 -2
  76. package/package.json +5 -5
  77. package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-CqGU3bJQ.js +0 -161
  78. package/dist/BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js +0 -74
  79. package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js +0 -69
  80. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CabQS55D.js +0 -6012
  81. package/dist/app-CHpw_EM1.js +0 -2101
  82. package/dist/apps/mf-menu/src/components/feature/RemyButton.vue.d.ts +0 -15
  83. package/dist/apps/mf-menu/src/components/feature/RemyDialog.vue.d.ts +0 -15
  84. package/dist/apps/mf-menu/src/helper/remy.d.ts +0 -5
  85. package/dist/assets/linked-status-CFdi7K3K.js +0 -13
  86. package/dist/assets/override-menu-CXOY8i3w.js +0 -13
  87. package/dist/assets/validate-menu-DLlrsx2f.js +0 -13
  88. package/dist/customAttributes-BkqKM_KW.js +0 -180
@@ -1,15 +1,15 @@
1
- import { defineComponent as y, resolveComponent as p, createBlock as f, openBlock as i, Teleport as E, createVNode as _, Transition as g, withCtx as h, createCommentVNode as L, withKeys as w, normalizeStyle as F, normalizeClass as d, createElementVNode as m, renderSlot as x, createElementBlock as T, toDisplayString as R, Fragment as A, renderList as v, computed as C, unref as I } from "vue";
2
- import { _ as k } from "./LinkProductSideSheet-CAPIdf6P.js";
1
+ import { defineComponent as y, resolveComponent as d, createBlock as f, openBlock as i, Teleport as E, createVNode as _, Transition as g, withCtx as h, createCommentVNode as L, withKeys as w, normalizeStyle as F, normalizeClass as p, createElementVNode as m, renderSlot as x, createElementBlock as T, toDisplayString as R, Fragment as A, renderList as v, computed as C, unref as I } from "vue";
2
+ import { _ as k } from "./LinkProductSideSheet-DrSKOBLg.js";
3
3
  import { useI18n as U } from "@feedmepos/mf-common";
4
4
  const N = {
5
- class: /* @__PURE__ */ d([
5
+ class: /* @__PURE__ */ p([
6
6
  "flex items-center",
7
7
  "px-24 pt-16 pb-8",
8
8
  "border-b border-fm-color-neutral-gray-100",
9
9
  "space-x-4"
10
10
  ])
11
11
  }, $ = { class: "fm-typo-en-title-sm-600 mr-auto" }, z = {
12
- class: /* @__PURE__ */ d(["flex flex-col", "flex-1 overflow-scroll", "w-full", "px-24"])
12
+ class: /* @__PURE__ */ p(["flex flex-col", "flex-1 overflow-scroll", "w-full", "px-24"])
13
13
  }, V = /* @__PURE__ */ y({
14
14
  __name: "FullScreenForm",
15
15
  props: {
@@ -21,42 +21,42 @@ const N = {
21
21
  },
22
22
  emits: ["onPrimary", "onCancel"],
23
23
  setup(t, { emit: e }) {
24
- const n = e, l = () => {
25
- n("onPrimary");
26
- }, c = () => {
27
- n("onCancel");
24
+ const r = e, c = () => {
25
+ r("onPrimary");
26
+ }, l = () => {
27
+ r("onCancel");
28
28
  };
29
- return (r, o) => {
30
- const a = p("fm-button"), s = p("fm-form");
29
+ return (n, o) => {
30
+ const a = d("fm-button"), s = d("fm-form");
31
31
  return i(), f(E, { to: "body" }, [
32
32
  _(g, { name: "fade" }, {
33
33
  default: h(() => [
34
- r.show ? (i(), f(s, {
34
+ t.show ? (i(), f(s, {
35
35
  key: 0,
36
36
  "blame-form-child-on-validation-failed": "",
37
- class: d(["fixed inset-0", "flex flex-col", "w-screen h-dvh", "bg-fm-color-neutral-white"]),
38
- style: F({ zIndex: r.zIndex }),
37
+ class: p(["fixed inset-0", "flex flex-col", "w-screen h-dvh", "bg-fm-color-neutral-white"]),
38
+ style: F({ zIndex: t.zIndex }),
39
39
  tabindex: "-1",
40
- onValidationSuccess: l,
41
- onKeyup: w(c, ["esc"])
40
+ onValidationSuccess: c,
41
+ onKeyup: w(l, ["esc"])
42
42
  }, {
43
43
  default: h(() => [
44
44
  m("div", N, [
45
- m("p", $, R(r.title), 1),
46
- x(r.$slots, "append-title", {}, void 0, !0),
47
- (i(!0), T(A, null, v(r.secondaryActions, (u) => (i(), f(a, {
45
+ m("p", $, R(t.title), 1),
46
+ x(n.$slots, "append-title", {}, void 0, !0),
47
+ (i(!0), T(A, null, v(t.secondaryActions, (u) => (i(), f(a, {
48
48
  label: u.label,
49
49
  variant: "tertiary",
50
50
  onClick: u.click
51
51
  }, null, 8, ["label", "onClick"]))), 256)),
52
52
  _(a, {
53
- label: r.primaryAction.label,
53
+ label: t.primaryAction.label,
54
54
  type: "submit",
55
55
  variant: "primary"
56
56
  }, null, 8, ["label"])
57
57
  ]),
58
58
  m("div", z, [
59
- x(r.$slots, "default", {}, void 0, !0)
59
+ x(n.$slots, "default", {}, void 0, !0)
60
60
  ])
61
61
  ]),
62
62
  _: 3
@@ -73,21 +73,21 @@ const N = {
73
73
  menuStore: {}
74
74
  },
75
75
  setup(t) {
76
- const e = t, n = C(() => {
77
- var r, o;
78
- return ((r = e.menuStore.currentCatalog) == null ? void 0 : r.priceTierRules) ?? ((o = e.menuStore.currentCatalog) == null ? void 0 : o.usePriceTiers) ?? [];
79
- }), l = C(() => {
80
- var r;
81
- return e.menuStore.isV4 && e.menuStore.currentCatalog && !e.menuStore.currentScheduler && ((r = n.value) == null ? void 0 : r.length) > 0;
82
- }), { t: c } = U();
83
- return (r, o) => {
76
+ const e = t, r = C(() => {
77
+ var n, o;
78
+ return ((n = e.menuStore.currentCatalog) == null ? void 0 : n.priceTierRules) ?? ((o = e.menuStore.currentCatalog) == null ? void 0 : o.usePriceTiers) ?? [];
79
+ }), c = C(() => {
80
+ var n;
81
+ return e.menuStore.isV4 && e.menuStore.currentCatalog && !e.menuStore.currentScheduler && ((n = r.value) == null ? void 0 : n.length) > 0;
82
+ }), { t: l } = U();
83
+ return (n, o) => {
84
84
  var s;
85
- const a = p("FmSnackbar");
86
- return l.value ? (i(), f(a, {
85
+ const a = d("FmSnackbar");
86
+ return c.value ? (i(), f(a, {
87
87
  key: 0,
88
88
  "z-index": 0,
89
89
  class: "!max-w-full",
90
- title: I(c)("menu.price_tier.price_group_description", { group: (s = n.value) == null ? void 0 : s.join(", ") })
90
+ title: I(l)("menu.price_tier.price_group_description", { group: (s = r.value) == null ? void 0 : s.join(", ") })
91
91
  }, null, 8, ["title"])) : L("", !0);
92
92
  };
93
93
  }
@@ -95,29 +95,29 @@ const N = {
95
95
  function P(t) {
96
96
  let e = t.trim();
97
97
  e = e.replace(B, S).replace(D, S), e = e.replace(j, "\0");
98
- let n = 0, l = e.length;
99
- for (; e.charAt(n) === "\0"; )
100
- n++;
101
- if (n === l)
98
+ let r = 0, c = e.length;
99
+ for (; e.charAt(r) === "\0"; )
100
+ r++;
101
+ if (r === c)
102
102
  return [];
103
- for (; e.charAt(l - 1) === "\0"; )
104
- l--;
105
- return e.slice(n, l).split(/\0/g);
103
+ for (; e.charAt(c - 1) === "\0"; )
104
+ c--;
105
+ return e.slice(r, c).split(/\0/g);
106
106
  }
107
107
  function K(t) {
108
108
  const e = P(t);
109
- for (let n = 0; n < e.length; n++) {
110
- const l = e[n], c = X.exec(l);
111
- if (c) {
112
- const r = c.index + (c[1] ?? c[2]).length;
113
- e.splice(n, 1, l.slice(0, r), l.slice(r));
109
+ for (let r = 0; r < e.length; r++) {
110
+ const c = e[r], l = X.exec(c);
111
+ if (l) {
112
+ const n = l.index + (l[1] ?? l[2]).length;
113
+ e.splice(r, 1, c.slice(0, n), c.slice(n));
114
114
  }
115
115
  }
116
116
  return e;
117
117
  }
118
118
  function Z(t, e) {
119
- const [n, l, c] = O(t, e), r = G(e == null ? void 0 : e.locale), o = H(e == null ? void 0 : e.locale), a = M(r, o);
120
- return n + l.map((s, u) => u === 0 ? a(s) : r(s)).join((e == null ? void 0 : e.delimiter) ?? " ") + c;
119
+ const [r, c, l] = O(t, e), n = G(e == null ? void 0 : e.locale), o = H(e == null ? void 0 : e.locale), a = M(n, o);
120
+ return r + c.map((s, u) => u === 0 ? a(s) : n(s)).join((e == null ? void 0 : e.delimiter) ?? " ") + l;
121
121
  }
122
122
  function G(t) {
123
123
  return t === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(t);
@@ -126,26 +126,26 @@ function H(t) {
126
126
  return t === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(t);
127
127
  }
128
128
  function M(t, e) {
129
- return (n) => `${e(n[0])}${t(n.slice(1))}`;
129
+ return (r) => `${e(r[0])}${t(r.slice(1))}`;
130
130
  }
131
131
  function O(t, e = {}) {
132
- const n = e.split ?? (e.separateNumbers ? K : P), l = e.prefixCharacters ?? b, c = e.suffixCharacters ?? b;
133
- let r = 0, o = t.length;
134
- for (; r < t.length; ) {
135
- const a = t.charAt(r);
136
- if (!l.includes(a))
132
+ const r = e.split ?? (e.separateNumbers ? K : P), c = e.prefixCharacters ?? b, l = e.suffixCharacters ?? b;
133
+ let n = 0, o = t.length;
134
+ for (; n < t.length; ) {
135
+ const a = t.charAt(n);
136
+ if (!c.includes(a))
137
137
  break;
138
- r++;
138
+ n++;
139
139
  }
140
- for (; o > r; ) {
140
+ for (; o > n; ) {
141
141
  const a = o - 1, s = t.charAt(a);
142
- if (!c.includes(s))
142
+ if (!l.includes(s))
143
143
  break;
144
144
  o = a;
145
145
  }
146
146
  return [
147
- t.slice(0, r),
148
- n(t.slice(r, o)),
147
+ t.slice(0, n),
148
+ r(t.slice(n, o)),
149
149
  t.slice(o)
150
150
  ];
151
151
  }