@feedmepos/mf-menu 0.31.35-beta.1 → 0.31.36-beta
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-BkDEqZHN.js → App-Cui-XStB.js} +30 -53
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-YeaxfcJN.js → ApplyProduct.vue_vue_type_script_setup_true_lang-cUYW6sW5.js} +2 -2
- package/dist/{Catalog-6pOytZU3.js → Catalog-MktLa55D.js} +68 -68
- package/dist/{Category-PtVyxTJZ.js → Category-C-s_lW3M.js} +14 -14
- package/dist/{Category-CXk98gto.js → Category-CEMqueNk.js} +29 -29
- package/dist/{CookingGuide-Cy8w8cd9.js → CookingGuide-eWdk6mho.js} +65 -65
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bxn29Ylq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CcKt1abw.js} +1 -1
- package/dist/{Group-D_fipwz6.js → Group-Bg2Ylu9p.js} +1 -1
- package/dist/{Group-DmNtEt9J.js → Group-VircdSF_.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-C8W8uPvN.js → Group.vue_vue_type_script_setup_true_lang-CyW8Gh6c.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DfgXJWUw.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-yQjS-X1R.js} +4 -4
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-KFWive_R.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-26ogJPxR.js} +7 -7
- package/dist/{Ingredient-BbGs11gS.js → Ingredient-CegrU_cQ.js} +23 -23
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-fNVMd9PS.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CzhbZPKE.js} +2 -2
- package/dist/{LinkProductSideSheet-CIUQw7oo.js → LinkProductSideSheet-BJlrPykg.js} +24 -24
- package/dist/{MenuSetting-BXSAAPma.js → MenuSetting-D70NMQWp.js} +20 -20
- package/dist/{PrintRoute-Bb25Wqx5.js → PrintRoute-bAS3UL9d.js} +18 -18
- package/dist/{Product-qNa1EPNM.js → Product-Cu2f-ZSs.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DI0d2huN.js → Product.vue_vue_type_script_setup_true_lang-CYfDGs7M.js} +65 -65
- package/dist/{ProductInternalTools-CyiAzThW.js → ProductInternalTools-6X6XUdH6.js} +16 -16
- package/dist/{Products-oCEkdzLE.js → Products-DYgr_65I.js} +11 -11
- package/dist/{Publish-CWGdR3nh.js → Publish-DhdYNYH2.js} +3 -3
- package/dist/{Recipe-DWlzfgXY.js → Recipe-Bb5gqrsE.js} +13 -13
- package/dist/{Scheduler-BGhRV9Yi.js → Scheduler-Tk0cPXz4.js} +7 -7
- package/dist/{ServingSequence-Dj6eZp3x.js → ServingSequence-DUghx8CU.js} +24 -24
- package/dist/{Setting-Di_Rn61o.js → Setting-DIl9WhmE.js} +11 -11
- package/dist/{Subcategory-CGinXMy8.js → Subcategory-C8Igjkze.js} +10 -10
- package/dist/{Takeaway-C1KdbLMw.js → Takeaway-ZfBLSZMG.js} +1 -1
- package/dist/{Takeaway-BSWrXSGI.js → Takeaway-xHGsoah-.js} +9 -9
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-wONUlNNM.js → Takeaway.vue_vue_type_script_setup_true_lang-DItRiL8J.js} +11 -11
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-_pWcSpCk.js → Thumbnail.vue_vue_type_script_setup_true_lang-Dmk-5eGV.js} +7 -7
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ncoMfO1b.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-OJ0A70lo.js} +13 -13
- package/dist/{Unit-B71wMP-S.js → Unit-CfmYi7kG.js} +13 -13
- package/dist/{Variant-B14TfXg7.js → Variant-D6hyic1A.js} +14 -14
- package/dist/{_id_-CjlhUxyd.js → _id_-DT2EQjcY.js} +32 -32
- package/dist/{app-C0_ZxHle.js → app-Do8sOqMh.js} +362 -367
- package/dist/{app-NhsMLypF.js → app-jvyTuOVi.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +1 -1
- package/dist/apps/mf-menu/src/router/shared.d.ts +1 -3
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-DaKKqv0U.js → linked-status-DQ161R27.js} +2 -2
- package/dist/assets/{override-menu-BzQzJzDM.js → override-menu-VGwIGccm.js} +2 -2
- package/dist/assets/{validate-menu-DH8daaxV.js → validate-menu-Dx9kwuMh.js} +2 -2
- package/dist/{catalog-DDA5CEEW.js → catalog-BL6h_DDN.js} +1 -1
- package/dist/{catalogSetting-B2UCaWJL.js → catalogSetting-DEabwfXZ.js} +1 -1
- package/dist/{category-B29E8Z6Z.js → category-CKujA-NM.js} +5 -5
- package/dist/{currency-D8F5PN67.js → currency-BFai41BQ.js} +1 -1
- package/dist/{dayjs.min-C5O_Xdlu.js → dayjs.min-B5ost3s4.js} +1 -1
- package/dist/{index-Chaiecso.js → index-D70F0uL_.js} +14 -14
- package/dist/{index-DzWK9GfE.js → index-D9PdlnOv.js} +14 -14
- package/dist/{index-D6qeYZH_.js → index-nSRvCNb9.js} +1 -1
- package/dist/{item-CRYbpxtN.js → item-DqdhjOW8.js} +15 -15
- package/dist/{jszip.min-CEFKmniH.js → jszip.min-_LmXapMc.js} +2 -2
- package/dist/{menu-CyVBU_ww.js → menu-Cj3d6im1.js} +9 -9
- package/dist/{menu-Bi0HvP-T.js → menu-S1W5eNCT.js} +1 -1
- package/dist/{menuV2-DUplflZy.js → menuV2-K6oaeFE4.js} +70 -70
- package/dist/{priceTier-BKUDkpVL.js → priceTier-Cnci8Hf5.js} +1 -1
- package/dist/{scheduler-BQnvljfv.js → scheduler-D7qY3sLN.js} +30 -30
- package/dist/{subcategory-DI_tttwh.js → subcategory-CHsH67ID.js} +6 -6
- package/dist/{toExcel-Cld55eZa.js → toExcel-DhVG55bK.js} +2 -2
- package/dist/{unit-DCXUBn-h.js → unit-C3zaQSoS.js} +6 -6
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineStore as J } from "pinia";
|
|
2
2
|
import { defineComponent as O, computed as U, ref as h, watch as T, resolveComponent as V, createBlock as W, openBlock as F, withCtx as w, createVNode as m, createElementVNode as f, normalizeClass as Q, createElementBlock as A, toDisplayString as M, unref as l, Fragment as q, renderSlot as X, renderList as Z, getCurrentInstance as ee } from "vue";
|
|
3
|
-
import { a6 as
|
|
3
|
+
import { a6 as B, a7 as te, a4 as P, H as k, O as $, D as I, B as E, a5 as ne, J as C, G as D, I as ae, u as oe } from "./menu-Cj3d6im1.js";
|
|
4
4
|
import { useI18n as L } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as j, components as le, useDialog as ue, FmButtonVariant as ie } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as se } from "./discardConfirm-BHni0LNu.js";
|
|
7
7
|
import { c as re } from "./check-C9mY6LiX.js";
|
|
8
8
|
import "./vuedraggable-CK8z7qA8.js";
|
|
9
9
|
import "./LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js";
|
|
10
|
-
import "./menuV2-
|
|
10
|
+
import "./menuV2-K6oaeFE4.js";
|
|
11
11
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
12
12
|
const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
13
13
|
__name: "NumberPrecisionInput",
|
|
@@ -21,7 +21,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
21
21
|
},
|
|
22
22
|
emits: ["update:modelValue"],
|
|
23
23
|
setup(y, { emit: g }) {
|
|
24
|
-
const t = y, n = g, c = U(() =>
|
|
24
|
+
const t = y, n = g, c = U(() => B(t.step ?? 1).precision), d = h(t.modelValue.toString());
|
|
25
25
|
T([() => d.value], ([e]) => {
|
|
26
26
|
e === "-" || e === "." ? n("update:modelValue", 0) : n("update:modelValue", +e);
|
|
27
27
|
});
|
|
@@ -32,7 +32,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
32
32
|
return;
|
|
33
33
|
const i = e.currentTarget, o = +`${i.value}${e.key}`;
|
|
34
34
|
if (isFinite(o)) {
|
|
35
|
-
|
|
35
|
+
B(o).precision > c.value && e.preventDefault();
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
38
|
i.value.length === 0 && (e.key === "-" || e.key === ".") || e.preventDefault();
|
|
@@ -97,7 +97,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
97
97
|
unit: n.unitName
|
|
98
98
|
}));
|
|
99
99
|
function b(o) {
|
|
100
|
-
e("conversion",
|
|
100
|
+
e("conversion", P(o, n.precision));
|
|
101
101
|
}
|
|
102
102
|
function e(o, a) {
|
|
103
103
|
const p = k(n.modelValue);
|
|
@@ -172,7 +172,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
172
172
|
id: (/* @__PURE__ */ new Date()).toISOString(),
|
|
173
173
|
name: "",
|
|
174
174
|
abbrev: "",
|
|
175
|
-
conversion:
|
|
175
|
+
conversion: P(0, e.value.precision)
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
178
|
function s(u) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-menu",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.36-beta",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vue3-lottie": "^3.3.0",
|
|
54
54
|
"vuedraggable": "^4.1.0",
|
|
55
55
|
"xlsx": "^0.18.5",
|
|
56
|
-
"@feedmepos/mf-common": "^1.27.
|
|
56
|
+
"@feedmepos/mf-common": "^1.27.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@rollup/plugin-commonjs": "^28.0.2",
|