@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,13 +1,11 @@
1
- import { defineComponent as S, computed as o, createBlock as v, openBlock as t, unref as c, withCtx as g, renderSlot as B, ref as A, resolveComponent as I, createElementBlock as a, createElementVNode as m, createCommentVNode as b, Fragment as f, renderList as C, toDisplayString as d, withModifiers as F } from "vue";
1
+ import { defineComponent as S, computed as o, createBlock as v, openBlock as t, unref as c, withCtx as g, renderSlot as B, ref as I, resolveComponent as A, createElementBlock as a, createElementVNode as m, createCommentVNode as b, Fragment as y, renderList as C, toDisplayString as d, withModifiers as F } from "vue";
2
2
  import { useI18n as V } from "@feedmepos/mf-common";
3
- import { _ as M } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
4
- import { u as D } from "./index.vue_vue_type_script_setup_true_lang-CSGbbn37.js";
3
+ import { u as M, aI as D, a0 as f } from "./App-Cfl37TTw.js";
5
4
  import { useBreakpoints as E } from "@feedmepos/ui-library";
6
- import { _ as y } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
7
- const X = /* @__PURE__ */ S({
5
+ const R = /* @__PURE__ */ S({
8
6
  __name: "SchedulerSelector",
9
7
  setup(k) {
10
- const s = D(), { t: n } = V(), l = o({
8
+ const s = M(), { t: n } = V(), l = o({
11
9
  get: () => s.state.currentSchedulerId || "",
12
10
  set: (e) => s.selectScheduler(e)
13
11
  }), _ = o(() => [
@@ -20,7 +18,7 @@ const X = /* @__PURE__ */ S({
20
18
  var e;
21
19
  return ((e = _.value.find((r) => r.value === l.value)) == null ? void 0 : e.label) || n("menu.common.labels.summary");
22
20
  });
23
- return (e, r) => (t(), v(M, {
21
+ return (e, r) => (t(), v(D, {
24
22
  modelValue: l.value,
25
23
  "onUpdate:modelValue": r[0] || (r[0] = (u) => l.value = u),
26
24
  items: _.value,
@@ -40,14 +38,14 @@ const X = /* @__PURE__ */ S({
40
38
  }, U = { key: 0 }, q = {
41
39
  key: 1,
42
40
  class: "inline-block w-8"
43
- }, G = { key: 0 }, H = { key: 1 }, Y = /* @__PURE__ */ S({
41
+ }, G = { key: 0 }, H = { key: 1 }, W = /* @__PURE__ */ S({
44
42
  __name: "CustomAttributeChip",
45
43
  props: {
46
44
  customAttributes: {},
47
45
  ellipsis: { type: Boolean, default: !0 }
48
46
  },
49
47
  setup(k) {
50
- const s = k, { t: n } = V(), l = o(() => Object.values(s.customAttributes || {})), _ = E(), h = o(() => _.breakpoints.value.xs), e = o(() => s.ellipsis ? h.value ? 1 : 2 : 1 / 0), r = o(() => l.value.length <= e.value ? l.value : l.value.slice(0, e.value)), u = A(!0), $ = o(() => {
48
+ const s = k, { t: n } = V(), l = o(() => Object.values(s.customAttributes || {})), _ = E(), h = o(() => _.breakpoints.value.xs), e = o(() => s.ellipsis ? h.value ? 1 : 2 : 1 / 0), r = o(() => l.value.length <= e.value ? l.value : l.value.slice(0, e.value)), u = I(!0), $ = o(() => {
51
49
  if (u.value) {
52
50
  const i = r.value.join(", ");
53
51
  return i.length > 20 ? i.slice(0, 20) + "..." : i;
@@ -55,8 +53,8 @@ const X = /* @__PURE__ */ S({
55
53
  return l.value.join(", ");
56
54
  });
57
55
  return (j, i) => {
58
- const w = I("FmTooltip");
59
- return h.value ? (t(), a(f, { key: 1 }, [
56
+ const w = A("FmTooltip");
57
+ return h.value ? (t(), a(y, { key: 1 }, [
60
58
  l.value.length > 0 ? (t(), a("p", z, [
61
59
  m("span", null, d(c(n)("menu.product.table.columns.tagging")) + ": ", 1),
62
60
  m("span", null, d($.value), 1),
@@ -80,7 +78,7 @@ const X = /* @__PURE__ */ S({
80
78
  m("div", N, [
81
79
  m("p", O, d(c(n)("menu.product.table.tagging.all")), 1),
82
80
  m("div", T, [
83
- (t(!0), a(f, null, C(Object.entries(s.customAttributes || {}), ([p, x]) => (t(), v(y, {
81
+ (t(!0), a(y, null, C(Object.entries(s.customAttributes || {}), ([p, x]) => (t(), v(f, {
84
82
  key: x,
85
83
  label: `${p}: ${x}`,
86
84
  variant: "neutral"
@@ -90,12 +88,12 @@ const X = /* @__PURE__ */ S({
90
88
  ]),
91
89
  default: g(() => [
92
90
  m("div", L, [
93
- (t(!0), a(f, null, C(r.value, (p) => (t(), v(y, {
91
+ (t(!0), a(y, null, C(r.value, (p) => (t(), v(f, {
94
92
  key: p,
95
93
  label: p,
96
94
  variant: "neutral"
97
95
  }, null, 8, ["label"]))), 128)),
98
- l.value.length > e.value ? (t(), v(y, {
96
+ l.value.length > e.value ? (t(), v(f, {
99
97
  key: 0,
100
98
  label: "...",
101
99
  variant: "neutral"
@@ -108,6 +106,6 @@ const X = /* @__PURE__ */ S({
108
106
  }
109
107
  });
110
108
  export {
111
- Y as _,
112
- X as a
109
+ W as _,
110
+ R as a
113
111
  };
@@ -2,10 +2,10 @@ import { defineComponent as m, ref as p, createBlock as i, openBlock as d, unref
2
2
  import { useI18n as _ } from "@feedmepos/mf-common";
3
3
  import { _ as f } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
4
4
  import { _ as g } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
5
- import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-CJ_QkBFJ.js";
6
- import { A as b } from "./item-WEDSI-Pw.js";
7
- import { a as h } from "./menu-Bv2G2XDC.js";
8
- const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, j = /* @__PURE__ */ m({
5
+ import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-Bzy_hXDv.js";
6
+ import { K as b } from "./App-Cfl37TTw.js";
7
+ import { a as h } from "./menu-Brxar171.js";
8
+ const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, A = /* @__PURE__ */ m({
9
9
  __name: "Group",
10
10
  setup(N) {
11
11
  const o = p(0), { t: r } = _();
@@ -44,5 +44,5 @@ const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "fle
44
44
  }
45
45
  });
46
46
  export {
47
- j as default
47
+ A as default
48
48
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-CJ_QkBFJ.js";
1
+ import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-Bzy_hXDv.js";
2
2
  export {
3
3
  f as default
4
4
  };