@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.
- package/dist/{App-CrQBq4gc.js → App-1TX8v7ZA.js} +10 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-D00UOSsK.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CR7QrFUG.js} +12 -12
- package/dist/{Catalog-D4m8x_f2.js → Catalog-DWClc58s.js} +75 -74
- package/dist/{Category-sQll5ITQ.js → Category-BqKFvFam.js} +60 -60
- package/dist/{Category-Ql1kDDH-.js → Category-IYMtMoT-.js} +28 -28
- package/dist/{CookingGuide-CSutufcu.js → CookingGuide-BayJ6zj4.js} +103 -101
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BqhYFXNG.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Ceq86b3d.js} +1 -1
- package/dist/{Group-CnBE6CiB.js → Group-LqSX7ue6.js} +1 -1
- package/dist/{Group-YqVh5hC0.js → Group-RujTPTns.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-D9TSH4sS.js → Group.vue_vue_type_script_setup_true_lang-Dj9ZmkYe.js} +138 -137
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CqriuXVC.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D5GWkh3G.js} +16 -16
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CaIU0RsG.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C4IrA3es.js} +4616 -4610
- package/dist/{Ingredient-MhLxJzAU.js → Ingredient-_tc8llr1.js} +65 -64
- 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
- package/dist/{LinkProductSideSheet-D7vYZbFy.js → LinkProductSideSheet-C6rF-G1v.js} +14 -12
- package/dist/{MenuSetting-n0me5wY8.js → MenuSetting-xDHeeROY.js} +27 -26
- package/dist/{PrintRoute-CudZZYbe.js → PrintRoute-B_TFMn5e.js} +17 -15
- package/dist/{Product-DPZQgWET.js → Product-DdEEqrtc.js} +1 -1
- 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
- package/dist/{ProductInternalTools-DgANHliV.js → ProductInternalTools-BcC7BF6W.js} +45 -45
- package/dist/{Products-Ez4R3jKW.js → Products-Cu0cJshV.js} +74 -72
- package/dist/{Publish-B4DEPe1I.js → Publish-Bm3Xiks1.js} +34 -32
- package/dist/{Recipe-Cripr-gY.js → Recipe-DWK-luIZ.js} +65 -63
- package/dist/{Scheduler-C-OV9d7d.js → Scheduler-Cb1TeBhW.js} +19 -19
- package/dist/{ServingSequence-DAumDXP1.js → ServingSequence-evSIET_8.js} +34 -34
- package/dist/{Setting-ByaHpIAN.js → Setting-Cn3kwC9F.js} +54 -53
- package/dist/{Subcategory-ro2aGt2H.js → Subcategory-q4m4qHsU.js} +34 -34
- package/dist/{Takeaway-CJb0ayDC.js → Takeaway-ClepHYGu.js} +14 -14
- package/dist/{Takeaway-AEg_0gKg.js → Takeaway-D-rdUZuh.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Cjj4bxoL.js → Takeaway.vue_vue_type_script_setup_true_lang-y9Yxstu2.js} +41 -40
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Drf4n4rj.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BSeLfoOA.js} +1108 -1106
- package/dist/{Unit-1wzUBplb.js → Unit-IM8Naj82.js} +12 -12
- package/dist/{Variant-Dnz2v5u0.js → Variant-fzGvwaMo.js} +16 -16
- package/dist/{_id_-C3rBZ6zL.js → _id_-BsKNG9Qv.js} +22 -22
- package/dist/{app-sDPxNF11.js → app-BzQRUMTK.js} +3 -3
- package/dist/{app-CLY6CoaV.js → app-CoVUUCa_.js} +24 -24
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BZ4FSJ_Z.js → linked-status-eQqjvOq_.js} +2 -2
- package/dist/assets/{override-menu-C-fWJdVd.js → override-menu-C8NTBJgN.js} +2 -2
- package/dist/assets/{validate-menu-BDEM_Odz.js → validate-menu-Dn-OO7Ed.js} +2 -2
- package/dist/{catalog-bkFntZNz.js → catalog-CaXceaA2.js} +1 -1
- package/dist/{catalogSetting-zrKwGJ_C.js → catalogSetting-BGvckFdh.js} +1 -1
- package/dist/{category-BuPYaEsy.js → category-u5eo_Vjd.js} +5 -3
- package/dist/currency-BPHwez-E.js +7 -0
- package/dist/{dayjs.min-CR2NIyKn.js → dayjs.min-Bsr3tJCn.js} +1 -1
- package/dist/{index-BNORpjos.js → index-Bbx4iZ6n.js} +27 -27
- package/dist/{index-Dp_vLFQp.js → index-DSAG0yWh.js} +22 -20
- package/dist/{index-D20u0bCl.js → index-tRQb7RN_.js} +1 -1
- package/dist/{item-D4DcBt7N.js → item-BAqzKh4O.js} +801 -799
- package/dist/{jszip.min-CRJ61J9H.js → jszip.min-BKJtvCjM.js} +353 -353
- package/dist/{menu-Dw-Hpy07.js → menu-CDrsBjmr.js} +11 -9
- package/dist/menu-CsIzrBEr.js +74044 -0
- package/dist/packages/shared/src/permission/posPermission.d.ts +6 -0
- package/dist/{priceTier-EDLTGEjz.js → priceTier-DfbHonGe.js} +4 -4
- package/dist/{scheduler-CpPn2BlK.js → scheduler-DTWaBudB.js} +13 -11
- package/dist/{subcategory-B_W6vbM8.js → subcategory-D-R5r1Tr.js} +86 -84
- package/dist/{toExcel-D02OlDJu.js → toExcel-84VTtSA7.js} +2 -2
- package/dist/{unit-fro9wz1K.js → unit-B4zscxzo.js} +24 -23
- package/package.json +1 -1
- package/dist/currency-BISImIgX.js +0 -7
- package/dist/menu-ibc-yXVt.js +0 -107745
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as P, useModel as
|
|
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-
|
|
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-
|
|
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,
|
|
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 =
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
96
|
+
async function U() {
|
|
97
97
|
d("update:model-value", l.value), p(!1);
|
|
98
98
|
}
|
|
99
|
-
return
|
|
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"),
|
|
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(
|
|
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:
|
|
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(
|
|
153
|
+
i(A, {
|
|
154
154
|
modelValue: f.value,
|
|
155
155
|
"onUpdate:modelValue": [
|
|
156
156
|
u[1] || (u[1] = (t) => f.value = t),
|
|
157
|
-
|
|
157
|
+
D
|
|
158
158
|
],
|
|
159
159
|
class: "space-y-8"
|
|
160
160
|
}, {
|
|
161
161
|
default: s(() => [
|
|
162
|
-
(c(!0), S(h, null, K(
|
|
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
|