@feedmepos/mf-menu 0.31.30-beta.1 → 0.31.31-beta.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 (62) hide show
  1. package/dist/{App-CrQBq4gc.js → App-1TX8v7ZA.js} +10 -8
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-D00UOSsK.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CR7QrFUG.js} +12 -12
  3. package/dist/{Catalog-D4m8x_f2.js → Catalog-DWClc58s.js} +75 -74
  4. package/dist/{Category-sQll5ITQ.js → Category-BqKFvFam.js} +60 -60
  5. package/dist/{Category-Ql1kDDH-.js → Category-IYMtMoT-.js} +28 -28
  6. package/dist/{CookingGuide-CSutufcu.js → CookingGuide-BayJ6zj4.js} +103 -101
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BqhYFXNG.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Ceq86b3d.js} +1 -1
  8. package/dist/{Group-CnBE6CiB.js → Group-LqSX7ue6.js} +1 -1
  9. package/dist/{Group-YqVh5hC0.js → Group-RujTPTns.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-D9TSH4sS.js → Group.vue_vue_type_script_setup_true_lang-Dj9ZmkYe.js} +138 -137
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CqriuXVC.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D5GWkh3G.js} +16 -16
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CaIU0RsG.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C4IrA3es.js} +4616 -4610
  13. package/dist/{Ingredient-MhLxJzAU.js → Ingredient-_tc8llr1.js} +65 -64
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CIbExsMI.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DLFDf-VZ.js} +14 -12
  15. package/dist/{LinkProductSideSheet-D7vYZbFy.js → LinkProductSideSheet-C6rF-G1v.js} +14 -12
  16. package/dist/{MenuSetting-n0me5wY8.js → MenuSetting-xDHeeROY.js} +27 -26
  17. package/dist/{PrintRoute-CudZZYbe.js → PrintRoute-B_TFMn5e.js} +17 -15
  18. package/dist/{Product-DPZQgWET.js → Product-DdEEqrtc.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-CdaeZy_o.js → Product.vue_vue_type_script_setup_true_lang-zcistmwh.js} +257 -256
  20. package/dist/{ProductInternalTools-DgANHliV.js → ProductInternalTools-BcC7BF6W.js} +45 -45
  21. package/dist/{Products-Ez4R3jKW.js → Products-Cu0cJshV.js} +74 -72
  22. package/dist/{Publish-B4DEPe1I.js → Publish-Bm3Xiks1.js} +34 -32
  23. package/dist/{Recipe-Cripr-gY.js → Recipe-DWK-luIZ.js} +65 -63
  24. package/dist/{Scheduler-C-OV9d7d.js → Scheduler-Cb1TeBhW.js} +19 -19
  25. package/dist/{ServingSequence-DAumDXP1.js → ServingSequence-evSIET_8.js} +34 -34
  26. package/dist/{Setting-ByaHpIAN.js → Setting-Cn3kwC9F.js} +54 -53
  27. package/dist/{Subcategory-ro2aGt2H.js → Subcategory-q4m4qHsU.js} +34 -34
  28. package/dist/{Takeaway-CJb0ayDC.js → Takeaway-ClepHYGu.js} +14 -14
  29. package/dist/{Takeaway-AEg_0gKg.js → Takeaway-D-rdUZuh.js} +1 -1
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Cjj4bxoL.js → Takeaway.vue_vue_type_script_setup_true_lang-y9Yxstu2.js} +41 -40
  31. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Drf4n4rj.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BSeLfoOA.js} +1108 -1106
  32. package/dist/{Unit-1wzUBplb.js → Unit-IM8Naj82.js} +12 -12
  33. package/dist/{Variant-Dnz2v5u0.js → Variant-fzGvwaMo.js} +16 -16
  34. package/dist/{_id_-C3rBZ6zL.js → _id_-BsKNG9Qv.js} +22 -22
  35. package/dist/{app-sDPxNF11.js → app-BzQRUMTK.js} +3 -3
  36. package/dist/{app-CLY6CoaV.js → app-CoVUUCa_.js} +24 -24
  37. package/dist/app.js +1 -1
  38. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  39. package/dist/assets/{linked-status-BZ4FSJ_Z.js → linked-status-eQqjvOq_.js} +2 -2
  40. package/dist/assets/{override-menu-C-fWJdVd.js → override-menu-C8NTBJgN.js} +2 -2
  41. package/dist/assets/{validate-menu-BDEM_Odz.js → validate-menu-Dn-OO7Ed.js} +2 -2
  42. package/dist/{catalog-bkFntZNz.js → catalog-CaXceaA2.js} +1 -1
  43. package/dist/{catalogSetting-zrKwGJ_C.js → catalogSetting-BGvckFdh.js} +1 -1
  44. package/dist/{category-BuPYaEsy.js → category-u5eo_Vjd.js} +5 -3
  45. package/dist/currency-BPHwez-E.js +7 -0
  46. package/dist/{dayjs.min-CR2NIyKn.js → dayjs.min-Bsr3tJCn.js} +1 -1
  47. package/dist/{index-BNORpjos.js → index-Bbx4iZ6n.js} +27 -27
  48. package/dist/{index-Dp_vLFQp.js → index-DSAG0yWh.js} +22 -20
  49. package/dist/{index-D20u0bCl.js → index-tRQb7RN_.js} +1 -1
  50. package/dist/{item-D4DcBt7N.js → item-BAqzKh4O.js} +801 -799
  51. package/dist/{jszip.min-CRJ61J9H.js → jszip.min-BKJtvCjM.js} +353 -353
  52. package/dist/{menu-Dw-Hpy07.js → menu-CDrsBjmr.js} +11 -9
  53. package/dist/menu-CsIzrBEr.js +74044 -0
  54. package/dist/packages/shared/src/permission/posPermission.d.ts +6 -0
  55. package/dist/{priceTier-EDLTGEjz.js → priceTier-DfbHonGe.js} +4 -4
  56. package/dist/{scheduler-CpPn2BlK.js → scheduler-DTWaBudB.js} +13 -11
  57. package/dist/{subcategory-B_W6vbM8.js → subcategory-D-R5r1Tr.js} +86 -84
  58. package/dist/{toExcel-D02OlDJu.js → toExcel-84VTtSA7.js} +2 -2
  59. package/dist/{unit-fro9wz1K.js → unit-B4zscxzo.js} +24 -23
  60. package/package.json +1 -1
  61. package/dist/currency-BISImIgX.js +0 -7
  62. package/dist/menu-ibc-yXVt.js +0 -107745
@@ -1,10 +1,10 @@
1
- import { defineComponent as P, useModel as G, computed as V, resolveComponent as m, createBlock as C, openBlock as c, unref as e, ref as I, watch as H, onMounted as O, 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 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";
2
2
  import { useI18n as T } from "@feedmepos/mf-common";
3
- import { u as R } from "./priceTier-EDLTGEjz.js";
3
+ import { u as R } from "./priceTier-DfbHonGe.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-D7vYZbFy.js";
5
+ import { L as Z } from "./LinkProductSideSheet-C6rF-G1v.js";
6
6
  import { c as z } from "./check-C9mY6LiX.js";
7
- import { u as ee, H as B, aj as le } from "./menu-ibc-yXVt.js";
7
+ import { u as ee, D as B, ag as le } from "./menu-CsIzrBEr.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 = G(b, "modelValue"), _ = R(), a = V(() => _.priceTiers.value.map((d) => ({
17
+ const { t: g } = T(), n = O(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
- H(
57
+ j(
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 N(o) {
78
+ function D(o) {
79
79
  f.value = o, l.value = {
80
80
  ...l.value,
81
81
  includeItems: o === 0 ? null : []
82
82
  };
83
83
  }
84
- const U = V(() => [
84
+ const N = V(() => [
85
85
  {
86
86
  label: a("menu.markup.dialog.options.all"),
87
87
  value: 0
@@ -93,21 +93,21 @@ const fe = /* @__PURE__ */ P({
93
93
  /* CUSTOM */
94
94
  }
95
95
  ]);
96
- async function D() {
96
+ async function U() {
97
97
  d("update:model-value", l.value), p(!1);
98
98
  }
99
- return O(() => {
99
+ return H(() => {
100
100
  f.value = l.value && l.value.includeItems === null ? 0 : 1;
101
101
  }), (o, u) => {
102
- const $ = m("fm-icon"), q = m("fm-stepper-field"), E = m("fm-radio"), j = m("fm-radio-group"), y = m("fm-button"), A = m("fm-dialog");
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");
103
103
  return c(), S(h, null, [
104
104
  J(o.$slots, "default", { trigger: p }),
105
- i(A, {
105
+ i(G, {
106
106
  modelValue: r.value,
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: D
110
+ onValidationSuccess: U
111
111
  }
112
112
  }, {
113
113
  "dialog-header": s(() => [
@@ -150,16 +150,16 @@ const fe = /* @__PURE__ */ P({
150
150
  _: 1
151
151
  }, 8, ["modelValue", "rules", "label", "placeholder"]),
152
152
  x("div", null, [
153
- i(j, {
153
+ i(A, {
154
154
  modelValue: f.value,
155
155
  "onUpdate:modelValue": [
156
156
  u[1] || (u[1] = (t) => f.value = t),
157
- N
157
+ D
158
158
  ],
159
159
  class: "space-y-8"
160
160
  }, {
161
161
  default: s(() => [
162
- (c(!0), S(h, null, K(U.value, (t) => (c(), C(E, {
162
+ (c(!0), S(h, null, K(N.value, (t) => (c(), C(E, {
163
163
  key: t.value,
164
164
  label: t.label,
165
165
  value: t.value