@feedmepos/mf-menu 0.31.31-beta.1 → 0.31.31-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 (101) hide show
  1. package/dist/{App-1TX8v7ZA.js → App-Cvgz2kQV.js} +22 -24
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CR7QrFUG.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Bq84uuiq.js} +22 -22
  3. package/dist/{Catalog-DWClc58s.js → Catalog-Ye-KpQ31.js} +74 -75
  4. package/dist/{Category-BqKFvFam.js → Category-BPChBqVR.js} +60 -60
  5. package/dist/{Category-IYMtMoT-.js → Category-CHcxix2b.js} +28 -28
  6. package/dist/{CookingGuide-BayJ6zj4.js → CookingGuide-DgygBSoB.js} +101 -103
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Ceq86b3d.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-ClV6LD2-.js} +1 -1
  8. package/dist/{Group-LqSX7ue6.js → Group-223G1Edd.js} +1 -1
  9. package/dist/{Group-RujTPTns.js → Group-B7EU1xmY.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-Dj9ZmkYe.js → Group.vue_vue_type_script_setup_true_lang-CAZuyOPy.js} +137 -138
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D5GWkh3G.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CdjRWC9z.js} +13 -13
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C4IrA3es.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BRQm-UTk.js} +5067 -5049
  13. package/dist/{Ingredient-_tc8llr1.js → Ingredient-Dl1Z5Qt2.js} +64 -65
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DLFDf-VZ.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CxuQTH0k.js} +1061 -1063
  15. package/dist/{LinkProductSideSheet-C6rF-G1v.js → LinkProductSideSheet-Y-Z9_9Kp.js} +12 -14
  16. package/dist/{MenuSetting-xDHeeROY.js → MenuSetting-Be44fmVj.js} +26 -27
  17. package/dist/{PrintRoute-B_TFMn5e.js → PrintRoute-BURAEZ6X.js} +15 -17
  18. package/dist/{Product-DdEEqrtc.js → Product-DSlVHbgr.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-zcistmwh.js → Product.vue_vue_type_script_setup_true_lang-DtYarO0L.js} +256 -257
  20. package/dist/{ProductInternalTools-BcC7BF6W.js → ProductInternalTools-gW57aUAO.js} +45 -45
  21. package/dist/{Products-Cu0cJshV.js → Products-Czr-70M8.js} +72 -74
  22. package/dist/{Publish-Bm3Xiks1.js → Publish-XCowNW_z.js} +32 -34
  23. package/dist/{Recipe-DWK-luIZ.js → Recipe-6oNz21AB.js} +63 -65
  24. package/dist/{Scheduler-Cb1TeBhW.js → Scheduler-UYFuFk5E.js} +19 -19
  25. package/dist/{ServingSequence-evSIET_8.js → ServingSequence-w66ujU4D.js} +34 -34
  26. package/dist/{Setting-Cn3kwC9F.js → Setting-Dgn3lOx7.js} +53 -54
  27. package/dist/{Subcategory-q4m4qHsU.js → Subcategory-lnzuxCCH.js} +34 -34
  28. package/dist/{Takeaway-ClepHYGu.js → Takeaway-C5Up5Odr.js} +14 -14
  29. package/dist/{Takeaway-D-rdUZuh.js → Takeaway-DP1GJUPF.js} +1 -1
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-y9Yxstu2.js → Takeaway.vue_vue_type_script_setup_true_lang-B45keXn7.js} +40 -41
  31. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BSeLfoOA.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-yEIxG4F2.js} +1108 -1109
  32. package/dist/{Unit-IM8Naj82.js → Unit-Bt8aRidX.js} +12 -12
  33. package/dist/{Variant-fzGvwaMo.js → Variant-DXoOAa9M.js} +16 -16
  34. package/dist/{_id_-BsKNG9Qv.js → _id_-D9tvinax.js} +22 -22
  35. package/dist/{app-BzQRUMTK.js → app-Cnlv4rmj.js} +3 -3
  36. package/dist/{app-CoVUUCa_.js → app-DiizQWjo.js} +24 -24
  37. package/dist/app.js +1 -1
  38. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +88 -16
  39. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +44 -8
  40. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +360 -184
  41. package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +80 -28
  42. package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +44 -8
  43. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +216 -148
  44. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +216 -148
  45. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/category.d.ts +4 -4
  46. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +218 -150
  47. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +142 -82
  48. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +108 -74
  49. package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/OptionTable.vue.d.ts +80 -28
  50. package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/UpdateForm.vue.d.ts +44 -8
  51. package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +176 -32
  52. package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +324 -222
  53. package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +108 -74
  54. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +1374 -1040
  55. package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +216 -148
  56. package/dist/apps/mf-menu/src/helper/import-export.d.ts +1374 -1040
  57. package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +108 -74
  58. package/dist/apps/mf-menu/src/helper/menu.d.ts +1523 -1155
  59. package/dist/apps/mf-menu/src/manager/menu/category.d.ts +4 -4
  60. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +1374 -1040
  61. package/dist/apps/mf-menu/src/manager/menu/subcategory.d.ts +4 -4
  62. package/dist/apps/mf-menu/src/stores/manager/item.d.ts +324 -222
  63. package/dist/apps/mf-menu/src/stores/manager/recipe.d.ts +12 -12
  64. package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +142 -82
  65. package/dist/apps/mf-menu/src/stores/manager/sku.d.ts +60 -60
  66. package/dist/apps/mf-menu/src/stores/manager/takeaway.d.ts +6 -6
  67. package/dist/apps/mf-menu/src/stores/manager/unit.d.ts +12 -12
  68. package/dist/apps/mf-menu/src/stores/menu.d.ts +1375 -1041
  69. package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +216 -148
  70. package/dist/apps/mf-menu/src/views/CookingGuide/CookingGuideDialog.vue.d.ts +4 -4
  71. package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +352 -132
  72. package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +84 -32
  73. package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +84 -32
  74. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  75. package/dist/assets/linked-status-D7AwcSC5.js +24 -0
  76. package/dist/assets/override-menu-Y9T4wxEn.js +24 -0
  77. package/dist/assets/validate-menu-DiAW2jY1.js +24 -0
  78. package/dist/{catalog-CaXceaA2.js → catalog-DUSCax4J.js} +1 -1
  79. package/dist/{catalogSetting-BGvckFdh.js → catalogSetting-18FJ5pkA.js} +1 -1
  80. package/dist/{category-u5eo_Vjd.js → category-B9XvlPFy.js} +3 -5
  81. package/dist/currency-Sno8fZYc.js +7 -0
  82. package/dist/{dayjs.min-Bsr3tJCn.js → dayjs.min-BsfKOrNo.js} +1 -1
  83. package/dist/{index-tRQb7RN_.js → index-BDpkSKDX.js} +1 -1
  84. package/dist/{index-Bbx4iZ6n.js → index-Eomwf2OO.js} +27 -27
  85. package/dist/{index-DSAG0yWh.js → index-ltyOwsRO.js} +20 -22
  86. package/dist/{item-BAqzKh4O.js → item-5Kkzf_eF.js} +1069 -1071
  87. package/dist/{jszip.min-BKJtvCjM.js → jszip.min-CRfpGjN8.js} +545 -545
  88. package/dist/menu-Btcr0nsk.js +108040 -0
  89. package/dist/{menu-CDrsBjmr.js → menu-DYs_VNfB.js} +9 -11
  90. package/dist/mf-menu.css +1 -1
  91. package/dist/{priceTier-DfbHonGe.js → priceTier-DvUjWwCM.js} +4 -4
  92. package/dist/{scheduler-DTWaBudB.js → scheduler-C76blUlS.js} +11 -13
  93. package/dist/{subcategory-D-R5r1Tr.js → subcategory-C44qN5Vk.js} +133 -135
  94. package/dist/{toExcel-84VTtSA7.js → toExcel--vNjpF-b.js} +2 -2
  95. package/dist/{unit-B4zscxzo.js → unit-C4ghZU8x.js} +23 -24
  96. package/package.json +5 -5
  97. package/dist/assets/linked-status-eQqjvOq_.js +0 -24
  98. package/dist/assets/override-menu-C8NTBJgN.js +0 -24
  99. package/dist/assets/validate-menu-Dn-OO7Ed.js +0 -24
  100. package/dist/currency-BPHwez-E.js +0 -7
  101. package/dist/menu-CsIzrBEr.js +0 -74044
@@ -1,10 +1,10 @@
1
- import { defineComponent as P, useModel as O, computed as V, resolveComponent as m, createBlock as C, openBlock as c, unref as e, ref as I, watch as j, onMounted as H, createElementBlock as S, Fragment as h, renderSlot as J, createVNode as i, withCtx as s, createElementVNode as x, renderList as K, createCommentVNode as w, toDisplayString as F, createTextVNode as Q } from "vue";
1
+ import { defineComponent as P, useModel as H, computed as V, resolveComponent as m, createBlock as C, openBlock as c, unref as e, ref as I, watch as O, onMounted as j, createElementBlock as S, Fragment as h, renderSlot as J, createVNode as i, withCtx as s, createElementVNode as x, renderList as K, createCommentVNode as w, toDisplayString as F, createTextVNode as Q } from "vue";
2
2
  import { useI18n as T } from "@feedmepos/mf-common";
3
- import { u as R } from "./priceTier-DfbHonGe.js";
3
+ import { u as R } from "./priceTier-DvUjWwCM.js";
4
4
  import { useDialog as W, components as X, FmButtonVariant as Y, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
5
- import { L as Z } from "./LinkProductSideSheet-C6rF-G1v.js";
5
+ import { L as Z } from "./LinkProductSideSheet-Y-Z9_9Kp.js";
6
6
  import { c as z } from "./check-C9mY6LiX.js";
7
- import { u as ee, D as B, ag as le } from "./menu-CsIzrBEr.js";
7
+ import { u as ee, H as B, ak as le } from "./menu-Btcr0nsk.js";
8
8
  import { c as oe } from "./string-DpfFixWH.js";
9
9
  const fe = /* @__PURE__ */ P({
10
10
  __name: "LinkPriceTier",
@@ -14,7 +14,7 @@ const fe = /* @__PURE__ */ P({
14
14
  },
15
15
  emits: ["update:modelValue"],
16
16
  setup(b) {
17
- const { t: g } = T(), n = O(b, "modelValue"), _ = R(), a = V(() => _.priceTiers.value.map((d) => ({
17
+ const { t: g } = T(), n = H(b, "modelValue"), _ = R(), a = V(() => _.priceTiers.value.map((d) => ({
18
18
  label: d.key,
19
19
  value: d.key
20
20
  })));
@@ -54,7 +54,7 @@ const fe = /* @__PURE__ */ P({
54
54
  includeItems: null
55
55
  }
56
56
  );
57
- j(
57
+ O(
58
58
  () => r.value,
59
59
  (o) => {
60
60
  o && (l.value = n.modelValue ? B(n.modelValue) : {
@@ -75,13 +75,13 @@ const fe = /* @__PURE__ */ P({
75
75
  0
76
76
  /* ALL */
77
77
  );
78
- function D(o) {
78
+ function N(o) {
79
79
  f.value = o, l.value = {
80
80
  ...l.value,
81
81
  includeItems: o === 0 ? null : []
82
82
  };
83
83
  }
84
- const N = V(() => [
84
+ const U = V(() => [
85
85
  {
86
86
  label: a("menu.markup.dialog.options.all"),
87
87
  value: 0
@@ -93,10 +93,10 @@ const fe = /* @__PURE__ */ P({
93
93
  /* CUSTOM */
94
94
  }
95
95
  ]);
96
- async function U() {
96
+ async function D() {
97
97
  d("update:model-value", l.value), p(!1);
98
98
  }
99
- return H(() => {
99
+ return j(() => {
100
100
  f.value = l.value && l.value.includeItems === null ? 0 : 1;
101
101
  }), (o, u) => {
102
102
  const $ = m("fm-icon"), q = m("fm-stepper-field"), E = m("fm-radio"), A = m("fm-radio-group"), y = m("fm-button"), G = m("fm-dialog");
@@ -107,7 +107,7 @@ const fe = /* @__PURE__ */ P({
107
107
  "onUpdate:modelValue": u[3] || (u[3] = (v) => r.value = v),
108
108
  "is-component": e(X).FmForm,
109
109
  "is-component-props": {
110
- onValidationSuccess: U
110
+ onValidationSuccess: D
111
111
  }
112
112
  }, {
113
113
  "dialog-header": s(() => [
@@ -154,12 +154,12 @@ const fe = /* @__PURE__ */ P({
154
154
  modelValue: f.value,
155
155
  "onUpdate:modelValue": [
156
156
  u[1] || (u[1] = (t) => f.value = t),
157
- D
157
+ N
158
158
  ],
159
159
  class: "space-y-8"
160
160
  }, {
161
161
  default: s(() => [
162
- (c(!0), S(h, null, K(N.value, (t) => (c(), C(E, {
162
+ (c(!0), S(h, null, K(U.value, (t) => (c(), C(E, {
163
163
  key: t.value,
164
164
  label: t.label,
165
165
  value: t.value