@feedmepos/mf-menu 0.20.2 → 0.20.4
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/{ApplyProduct.vue_vue_type_script_setup_true_lang-Ds2qfY_X.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DwTwUBHZ.js} +2 -2
- package/dist/{ApplyProducts.vue_vue_type_script_setup_true_lang-BRepaPR3.js → ApplyProducts.vue_vue_type_script_setup_true_lang-BZG7Ya6Y.js} +2 -2
- package/dist/{Catalog-S5KDEWzG.js → Catalog-C5BXrhPP.js} +3 -3
- package/dist/{Category-DLaNEtA5.js → Category-CpTm1rg3.js} +6 -6
- package/dist/{CookingGuide-DSGZapxz.js → CookingGuide-Dpp9o1JY.js} +4 -4
- package/dist/{Group-CBMSkmwQ.js → Group-DJxPCFma.js} +1 -1
- package/dist/{Group-B0VQ-64x.js → Group-sr9GoXZa.js} +4 -4
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DKzrhXtM.js → Group.vue_vue_type_script_setup_true_lang-B7fTVzh9.js} +43 -43
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BV-FC8tM.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B64yEcae.js} +2 -2
- package/dist/{Ingredient-CnPQ0kiR.js → Ingredient-CI1qBsqE.js} +5 -5
- package/dist/{LinkProductSideSheet-A26Otbdm.js → LinkProductSideSheet-Drg8cNHU.js} +9 -9
- package/dist/{PrintRoute-BlJMdPP0.js → PrintRoute-C3sIwh5a.js} +3 -3
- package/dist/{Product-BvD813LL.js → Product-BXH8VQKX.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-D_oKtXbh.js → Product.vue_vue_type_script_setup_true_lang-DYP83xUs.js} +12 -12
- package/dist/{Products-B8Ok-bkN.js → Products-BWnHcHPG.js} +8 -8
- package/dist/{Publish-qBiJUQ4X.js → Publish-T_vCwIz0.js} +33 -33
- package/dist/{Recipe-CJxJJAUV.js → Recipe-DRXR_aqS.js} +34 -34
- package/dist/{Scheduler-DfAMwXCu.js → Scheduler-BsDC-IO7.js} +2 -2
- package/dist/{SchedulerSelector.vue_vue_type_script_setup_true_lang-CArE_Hua.js → SchedulerSelector.vue_vue_type_script_setup_true_lang-Cnoku5ln.js} +1 -1
- package/dist/ServingSequence-Dqx8sEIw.js +4 -0
- package/dist/{Setting-BbgJcWsN.js → Setting-voFN_-pX.js} +1 -1
- package/dist/{Setting.vue_vue_type_script_setup_true_lang-BbVEzNve.js → Setting.vue_vue_type_script_setup_true_lang-vO7KKEcE.js} +3 -3
- package/dist/{Takeaway-CMDFYeUw.js → Takeaway-BS3y1Co9.js} +1 -1
- package/dist/{Takeaway-wAXsZQN2.js → Takeaway-BZNKPAIO.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DSphRs_i.js → Takeaway.vue_vue_type_script_setup_true_lang-CGU-A2tn.js} +4 -4
- package/dist/{TaxSetting-C1XOTv-9.js → TaxSetting-Bg5GswMY.js} +4 -4
- package/dist/{Unit-BW3iqgp8.js → Unit-BIQGUWnn.js} +2 -2
- package/dist/{Variant-BJIxp9PJ.js → Variant-BsE3DliN.js} +2 -2
- package/dist/{_id_-B25OxuPV.js → _id_-nwzDvUSZ.js} +6 -6
- package/dist/{app-BFJlAowN.js → app-DPQYBZQl.js} +83471 -73090
- package/dist/app.js +2 -2
- package/dist/assets/linked-status-_dZBe-KP.js +24 -0
- package/dist/assets/validate-menu-DG5wVtaT.js +24 -0
- package/dist/{catalog-Do7RfIKm.js → catalog-CYZ0463N.js} +22549 -22547
- package/dist/{catalog-B-Z6lEFK.js → catalog-Ez6mUaCd.js} +1 -1
- package/dist/{category-DEWEor3m.js → category-1S2ifJD8.js} +14 -14
- package/dist/{currency-33gUke3q.js → currency-D4RRRzjV.js} +1 -1
- package/dist/index-AkLsIcs2.js +7392 -0
- package/dist/{index-BEdHzZvu.js → index-B4FPNVpj.js} +44 -44
- package/dist/{item-BooojPpg.js → item-AtZKXXux.js} +930 -930
- package/dist/{lodash-247YxYiQ.js → lodash-C05hYW_e.js} +439 -439
- package/dist/{menu-DCnWrgH7.js → menu-DXRd3wdK.js} +1 -1
- package/dist/{object-B2cP_UeG.js → object-D-ZNxSWx.js} +19 -19
- package/dist/{scheduler-0cChIv2I.js → scheduler-DnjnY3od.js} +4 -4
- package/dist/{takeaway-mwqVQ1ij.js → takeaway-yk6LDZ8E.js} +4 -4
- package/dist/{toExcel-Dha8Vf3u.js → toExcel-C_5sNbcQ.js} +237 -237
- package/dist/{unit-BgfdgXAu.js → unit-CIgHfClT.js} +3 -3
- package/dist/{vuedraggable-BEszc36M.js → vuedraggable-WU01qJgi.js} +110 -110
- package/package.json +1 -1
- package/dist/ServingSequence-DxDMeto7.js +0 -4
- package/dist/assets/linked-status-4i88AmvK.js +0 -24
- package/dist/assets/validate-menu-CTKwgXfw.js +0 -24
- package/dist/index-BXl09ebx.js +0 -21908
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as l, h as u, u as M } from "./app-
|
|
1
|
+
import { b as l, h as u, u as M } from "./app-DPQYBZQl.js";
|
|
2
2
|
import { useDialogChild as C } from "@feedmepos/ui-library";
|
|
3
3
|
import { defineComponent as V, watch as g, ref as f, resolveComponent as _, openBlock as A, createBlock as F, unref as s, withCtx as O, createVNode as P } from "vue";
|
|
4
4
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
@@ -11,29 +11,29 @@ const y = /* @__PURE__ */ V({
|
|
|
11
11
|
const r = n, { t } = E();
|
|
12
12
|
g(
|
|
13
13
|
() => r.initialValue,
|
|
14
|
-
(
|
|
15
|
-
i.value =
|
|
14
|
+
(c) => {
|
|
15
|
+
i.value = c ?? "";
|
|
16
16
|
}
|
|
17
17
|
);
|
|
18
18
|
const i = f(r.initialValue), { emitData: d, emitAction: p } = C();
|
|
19
19
|
return g(
|
|
20
20
|
i,
|
|
21
|
-
(
|
|
22
|
-
d(
|
|
21
|
+
(c) => {
|
|
22
|
+
d(c);
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
immediate: !0
|
|
26
26
|
}
|
|
27
|
-
), (
|
|
27
|
+
), (c, e) => {
|
|
28
28
|
const o = _("fm-text-field"), a = _("FmForm");
|
|
29
29
|
return A(), F(a, {
|
|
30
|
-
onValidationSuccess: e[1] || (e[1] = (
|
|
30
|
+
onValidationSuccess: e[1] || (e[1] = (m) => s(p)("primary"))
|
|
31
31
|
}, {
|
|
32
32
|
default: O(() => [
|
|
33
33
|
P(o, {
|
|
34
34
|
modelValue: i.value,
|
|
35
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
36
|
-
rules: [(
|
|
35
|
+
"onUpdate:modelValue": e[0] || (e[0] = (m) => i.value = m),
|
|
36
|
+
rules: [(m) => !!m || s(t)("menu.category.dialog.add.name.required")],
|
|
37
37
|
autofocus: "",
|
|
38
38
|
label: s(t)("menu.category.dialog.add.name.label"),
|
|
39
39
|
placeholder: s(t)("menu.category.dialog.add.name.placeholder")
|
|
@@ -43,7 +43,7 @@ const y = /* @__PURE__ */ V({
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
}),
|
|
46
|
+
}), x = ({
|
|
47
47
|
dialog: n,
|
|
48
48
|
menuLoader: r
|
|
49
49
|
}) => {
|
|
@@ -133,7 +133,7 @@ const y = /* @__PURE__ */ V({
|
|
|
133
133
|
), n.close();
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
-
async function
|
|
136
|
+
async function c(e) {
|
|
137
137
|
await r.updateMenu(
|
|
138
138
|
{
|
|
139
139
|
module: l.F_MENU_MODULE_V4_KEY.enum.category,
|
|
@@ -147,9 +147,9 @@ const y = /* @__PURE__ */ V({
|
|
|
147
147
|
create: i,
|
|
148
148
|
update: d,
|
|
149
149
|
deleteCategory: p,
|
|
150
|
-
rearrange:
|
|
150
|
+
rearrange: c
|
|
151
151
|
};
|
|
152
|
-
};
|
|
152
|
+
}, Y = x;
|
|
153
153
|
export {
|
|
154
|
-
|
|
154
|
+
Y as u
|
|
155
155
|
};
|