@feedmepos/mf-menu 0.32.17 → 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 (82) hide show
  1. package/dist/App-Cfl37TTw.js +152661 -0
  2. package/dist/{Catalog-ChlP8Cid.js → Catalog-Yxsb-D33.js} +47 -52
  3. package/dist/{Category-CHs96ibF.js → Category-0vJH8Ct0.js} +86 -92
  4. package/dist/{Category-B1tAJpNd.js → Category-qp0wI14I.js} +25 -26
  5. package/dist/{CookingGuide-mEvca-0v.js → CookingGuide-EpAr5F5U.js} +139 -143
  6. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bk26jQI7.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CkyD0sdI.js} +14 -16
  7. package/dist/{Group-Ye2IIY52.js → Group-B3W9iSbO.js} +5 -5
  8. package/dist/{Group-Co2Vf4Lw.js → Group-DLCh0fDU.js} +1 -1
  9. package/dist/{Group.vue_vue_type_script_setup_true_lang-BcxSbvJS.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-D1f8VG-n.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BFaAXp7r.js} +81 -88
  11. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Jv6iJlg9.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CxP8lDD0.js} +2502 -2508
  12. package/dist/{Ingredient-BgnW8sWo.js → Ingredient-CVLMr_YB.js} +102 -105
  13. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-8ziHcUiK.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CdTC5ykI.js} +1058 -1059
  14. package/dist/{MenuSetting-GEngjeC8.js → MenuSetting-Blpi1vSd.js} +58 -61
  15. package/dist/{PrintRoute-BSlUQT7g.js → PrintRoute-BS7PPPkE.js} +49 -52
  16. package/dist/{Product-DNg_BUuV.js → Product-DDeNKQ7u.js} +1 -1
  17. package/dist/{Product.vue_vue_type_script_setup_true_lang-Cehy2oy-.js → Product.vue_vue_type_script_setup_true_lang-rmv8m4_D.js} +286 -298
  18. package/dist/{ProductInternalTools-B5A67yxH.js → ProductInternalTools-CVuothk9.js} +45 -46
  19. package/dist/{Products-DCsxmTPB.js → Products-BIvsHKEt.js} +111 -116
  20. package/dist/{Publish-Cst0Ll6T.js → Publish-CDADU3Pp.js} +154 -159
  21. package/dist/{Recipe-DupS3SQT.js → Recipe-CMhW7e_z.js} +40 -43
  22. package/dist/{Scheduler-BcThU1M6.js → Scheduler-BpxunKBV.js} +7 -7
  23. package/dist/{ServingSequence-CT3THBH6.js → ServingSequence-BQVuYyAB.js} +54 -58
  24. package/dist/{Setting-Dxh8E3no.js → Setting-Dj0yyP37.js} +63 -66
  25. package/dist/{Subcategory-DhJEzofz.js → Subcategory-BH4DDZM4.js} +72 -76
  26. package/dist/{Takeaway-DSC7U4Jk.js → Takeaway-CGJBZ_sJ.js} +1 -1
  27. package/dist/{Takeaway-B8BSSKNj.js → Takeaway-DifOudVE.js} +20 -21
  28. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BLpiJlk2.js → Takeaway.vue_vue_type_script_setup_true_lang-D-R5_S5G.js} +59 -64
  29. package/dist/{Unit-joU7vZZu.js → Unit-DXDox2Ut.js} +8 -8
  30. package/dist/{Variant-D8YjRJ6N.js → Variant-DbJVwgm5.js} +75 -78
  31. package/dist/{_id_-Bd9uo1WW.js → _id_-RFYwWjbM.js} +34 -38
  32. package/dist/{app-BNrAos5Z.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/src/helper/import-export-utils.d.ts +1 -0
  36. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  37. package/dist/assets/{linked-status-DbjzbFTw.js → linked-status-CkmoJAm-.js} +2 -2
  38. package/dist/assets/{menu-export-D_oNY_wi.js → menu-export-DcINiK28.js} +3 -3
  39. package/dist/assets/{override-menu-CIU7U1_4.js → override-menu-PUKiu-df.js} +2 -2
  40. package/dist/assets/{validate-menu-kuOxuwG9.js → validate-menu-CcqiRhNT.js} +2 -2
  41. package/dist/{catalogSetting-BHgsBDTl.js → catalogSetting-Bf66H-j7.js} +1 -1
  42. package/dist/dayjs.min-DNPTnUFp.js +6 -0
  43. package/dist/{jszip.min-7SsHzD5O.js → jszip.min-CO2_Gf69.js} +545 -545
  44. package/dist/{menu-Cd4NbFVq.js → menu-Brxar171.js} +1 -1
  45. package/dist/mf-menu.css +1 -1
  46. package/dist/{scheduler-B6OokVIA.js → scheduler-CqdIiE8G.js} +56 -60
  47. package/dist/{toExcel-BZkbXlHv.js → toExcel-CRJIU0NC.js} +2 -2
  48. package/dist/{unit-D6QOkMoM.js → unit-wYPYkm33.js} +98 -105
  49. package/package.json +1 -1
  50. package/dist/App-BiSEuDkd.js +0 -13484
  51. package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-C_SjdLpO.js +0 -161
  52. package/dist/FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js +0 -26
  53. package/dist/LinkProductSideSheet-DFDYEUBh.js +0 -687
  54. package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js +0 -69
  55. package/dist/RuleView.vue_vue_type_script_setup_true_lang-BeesK2ym.js +0 -3285
  56. package/dist/TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js +0 -20
  57. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-C3qXnZlz.js +0 -399
  58. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CMe76XvZ.js +0 -6011
  59. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  60. package/dist/app-5fxKLAzS.js +0 -8163
  61. package/dist/app-nTzkERJW.js +0 -68
  62. package/dist/catalog-BO2nXwe5.js +0 -199
  63. package/dist/category-CuG3DsGL.js +0 -156
  64. package/dist/check-C9mY6LiX.js +0 -9
  65. package/dist/createComponentProgrammatically-Bt2rn1IQ.js +0 -11
  66. package/dist/currency-DxC5zyZB.js +0 -7
  67. package/dist/dayjs.min-BvFUSPWD.js +0 -6
  68. package/dist/discardConfirm-BHni0LNu.js +0 -28
  69. package/dist/index-B0nhvuxR.js +0 -273
  70. package/dist/index-C2zPvt64.js +0 -239
  71. package/dist/index-C36JQix-.js +0 -246
  72. package/dist/index-CisutoS9.js +0 -156
  73. package/dist/index.vue_vue_type_script_setup_true_lang-DCBYExNb.js +0 -109064
  74. package/dist/item-K01xd1Z0.js +0 -6868
  75. package/dist/menuV2-DKE-xanq.js +0 -1052
  76. package/dist/object-DVUNCr7w.js +0 -16
  77. package/dist/priceTier-Beavb91W.js +0 -87
  78. package/dist/search-BAPEUu1R.js +0 -15
  79. package/dist/string-DpfFixWH.js +0 -4
  80. package/dist/subcategory-DnslmmRD.js +0 -148
  81. package/dist/tooltip-B5BiPMx9.js +0 -32
  82. 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-DCBYExNb.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-BcxSbvJS.js";
6
- import { A as b } from "./item-K01xd1Z0.js";
7
- import { a as h } from "./menu-Cd4NbFVq.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-BcxSbvJS.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
  };