@feedmepos/mf-menu 0.32.42-dev.3 → 0.32.43-dev
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-1oMjfIcc.js → App-CrjDDWL_.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-AIw0Zgzf.js → ApplyProduct.vue_vue_type_script_setup_true_lang-C9_vvfQ0.js} +3 -3
- package/dist/{Catalog-CvQo24ck.js → Catalog-B0smQVC5.js} +6 -6
- package/dist/{Category-C8bM8EwO.js → Category--CBhhHgr.js} +4 -4
- package/dist/{Category-DmIaxrrK.js → Category-CRnTrk7Z.js} +5 -5
- package/dist/{CookingGuide-CKEbyk4o.js → CookingGuide-pLzJqj05.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Ci4gwgnH.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BescRkpm.js} +1 -1
- package/dist/{Group-EnJDk54z.js → Group-BoVi0Rcg.js} +3 -3
- package/dist/{Group-CoYyRvcx.js → Group-h2MxylAR.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-tH2U82rV.js → Group.vue_vue_type_script_setup_true_lang-DoSZp0U5.js} +8 -8
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BDxjuWcY.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CBOntQef.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-gVXNoAaN.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DshK6DwV.js} +210 -210
- package/dist/{Ingredient-7PPPp7Yf.js → Ingredient-DjZmix9T.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DQPjpqtv.js → InventoryBinding.vue_vue_type_script_setup_true_lang-fSRrfMjQ.js} +2 -2
- package/dist/{LinkProductSideSheet-BS-MEIOG.js → LinkProductSideSheet-1CEGjcHq.js} +3 -3
- package/dist/{MenuSetting-BNVyT0oG.js → MenuSetting-umNE52d9.js} +5 -5
- package/dist/{PrintRoute-BMdk0zDv.js → PrintRoute-BnFG1IjW.js} +4 -4
- package/dist/{Product-DbIK7Eog.js → Product-B_FPUoEN.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-FnX_M8lJ.js → Product.vue_vue_type_script_setup_true_lang-Bs8eI9g5.js} +13 -13
- package/dist/{ProductInternalTools-BC8jWpQd.js → ProductInternalTools-Bp2gz3QJ.js} +5 -5
- package/dist/{Products-CPi2vuUO.js → Products-Ddtfvm7l.js} +34 -34
- package/dist/{Publish-BcxHXZ1J.js → Publish-C0W6ofjm.js} +3 -3
- package/dist/{Recipe-egyxyFfA.js → Recipe-BhnMIcc7.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CP1NjxzF.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-D9VL-PzK.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CPMCeAK9.js → RuleView.vue_vue_type_script_setup_true_lang-Bj4O3uSe.js} +2 -2
- package/dist/{Scheduler-Cb-IJtj8.js → Scheduler-BRwPYceV.js} +3 -3
- package/dist/{ServingSequence-B46n34xA.js → ServingSequence-MObSgHV2.js} +3 -3
- package/dist/{Setting-B_dZG5ZC.js → Setting-D7jNJPYo.js} +5 -5
- package/dist/{Subcategory-DbjLfXvf.js → Subcategory-D0i9wZms.js} +6 -6
- package/dist/{Takeaway-DNu6jYFC.js → Takeaway-B0rN8xm3.js} +1 -1
- package/dist/{Takeaway-D4axornr.js → Takeaway-DSZV63GV.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Dvm8Lfp3.js → Takeaway.vue_vue_type_script_setup_true_lang-jLe2HU1c.js} +6 -6
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BjPOOURv.js → Thumbnail.vue_vue_type_script_setup_true_lang-b_0rh_qC.js} +4 -4
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CXGsdChM.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CHTaPIEV.js} +68 -66
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C9eskCL4.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DKveCAMk.js} +13 -13
- package/dist/{Unit-jV5Bee8E.js → Unit-D8r8gc_c.js} +2 -2
- package/dist/{Variant-jGcgA-W8.js → Variant-x9Q2azsr.js} +4 -4
- package/dist/{_id_-CtvQ64EN.js → _id_-BwgaCrRc.js} +9 -9
- package/dist/{app-eq7TaFfk.js → app-D8DICtN-.js} +1 -1
- package/dist/{app-B6laFmet.js → app-ProVGxGi.js} +31 -31
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-Db18QnYH.js → linked-status-Ck-5QNWw.js} +2 -2
- package/dist/assets/{menu-export-24uzPEwW.js → menu-export-CCvx9iiX.js} +2 -2
- package/dist/assets/{override-menu-DreGPEa-.js → override-menu-y10fUcKT.js} +2 -2
- package/dist/assets/{validate-menu-BSFHH8O3.js → validate-menu-Dw-TOpPc.js} +2 -2
- package/dist/{catalog-CXcQ-QmP.js → catalog-Bzeh9lHl.js} +1 -1
- package/dist/{catalogSetting-DnUHD0I1.js → catalogSetting-WYVwRyqN.js} +1 -1
- package/dist/{currency-CwtLEvAZ.js → currency-CkevBlpn.js} +1 -1
- package/dist/{dayjs.min-BgQgGKeN.js → dayjs.min-DcCQ_MAV.js} +2 -2
- package/dist/{index-Cx1Nqii7.js → index-BIvW0NKj.js} +6 -6
- package/dist/index-r4bszgqF.js +545 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js → index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js} +5 -5
- package/dist/{item-CKRLnCIs.js → item-CDOMAerF.js} +2587 -2587
- package/dist/{jszip.min-DOHC0a7i.js → jszip.min-CaR1xyCC.js} +3 -3
- package/dist/{menu-BduvULfe.js → menu-vnpCb5nt.js} +1 -1
- package/dist/{menuV2-Da1zBhkS.js → menuV2-wfldXb10.js} +71 -71
- package/dist/packages/shared/src/helpers/actionButton.d.ts +2 -2
- package/dist/{priceTier-tObdSj6z.js → priceTier-BgYIRc-s.js} +1 -1
- package/dist/{rules-DD816lrT.js → rules-XWOGU9mA.js} +4 -4
- package/dist/{scheduler-CDhxmmVX.js → scheduler-B7oIfXlC.js} +4 -4
- package/dist/{toExcel-tz6MIiQY.js → toExcel-DMfq-sYZ.js} +2 -2
- package/dist/{translation-Cdap0IVg.js → translation-BCZ1Ruvv.js} +35 -21
- package/dist/{unit-NGl3h7Qh.js → unit-BicSjw1Q.js} +2 -2
- package/package.json +2 -2
- package/dist/index-D-Saeea8.js +0 -545
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as p, createElementBlock as u, openBlock as t, normalizeClass as f, unref as
|
|
1
|
+
import { defineComponent as p, createElementBlock as u, openBlock as t, normalizeClass as f, unref as c, toDisplayString as y, resolveComponent as s, createVNode as b, createBlock as d } from "vue";
|
|
2
2
|
const g = /* @__PURE__ */ p({
|
|
3
3
|
__name: "TranslationBadge",
|
|
4
4
|
props: {
|
|
5
5
|
label: {},
|
|
6
6
|
spacing: { default: "md" }
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const
|
|
10
|
-
return (e,
|
|
8
|
+
setup(l) {
|
|
9
|
+
const a = l.spacing === "sm" ? "mb-4" : "mb-8";
|
|
10
|
+
return (e, o) => (t(), u("p", {
|
|
11
11
|
class: f([
|
|
12
12
|
"fm-typo-en-body-sm-600 text-fm-color-typo-secondary border inline-block rounded-full px-8 py-4",
|
|
13
|
-
|
|
13
|
+
c(a)
|
|
14
14
|
])
|
|
15
15
|
}, y(e.label), 3));
|
|
16
16
|
}
|
|
17
|
-
}),
|
|
17
|
+
}), h = /* @__PURE__ */ p({
|
|
18
18
|
__name: "TranslationFieldSection",
|
|
19
19
|
props: {
|
|
20
20
|
label: {},
|
|
@@ -25,34 +25,36 @@ const g = /* @__PURE__ */ p({
|
|
|
25
25
|
readonly: { type: Boolean, default: !1 }
|
|
26
26
|
},
|
|
27
27
|
emits: ["update:modelValue"],
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
30
|
-
return (e,
|
|
31
|
-
const
|
|
28
|
+
setup(l, { emit: n }) {
|
|
29
|
+
const a = n;
|
|
30
|
+
return (e, o) => {
|
|
31
|
+
const m = s("FmTextField"), i = s("fm-textarea");
|
|
32
32
|
return t(), u("div", null, [
|
|
33
33
|
b(g, {
|
|
34
34
|
label: e.label,
|
|
35
35
|
spacing: e.spacing
|
|
36
36
|
}, null, 8, ["label", "spacing"]),
|
|
37
|
-
e.type === "text" ? (t(),
|
|
37
|
+
e.type === "text" ? (t(), d(m, {
|
|
38
38
|
key: 0,
|
|
39
39
|
"model-value": e.modelValue,
|
|
40
40
|
placeholder: e.placeholder,
|
|
41
41
|
readonly: e.readonly,
|
|
42
|
-
"onUpdate:modelValue":
|
|
43
|
-
}, null, 8, ["model-value", "placeholder", "readonly"])) : (t(),
|
|
42
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => a("update:modelValue", r))
|
|
43
|
+
}, null, 8, ["model-value", "placeholder", "readonly"])) : (t(), d(i, {
|
|
44
44
|
key: 1,
|
|
45
45
|
"model-value": e.modelValue,
|
|
46
46
|
placeholder: e.placeholder,
|
|
47
47
|
readonly: e.readonly,
|
|
48
|
-
"onUpdate:modelValue":
|
|
48
|
+
"onUpdate:modelValue": o[1] || (o[1] = (r) => a("update:modelValue", r))
|
|
49
49
|
}, null, 8, ["model-value", "placeholder", "readonly"]))
|
|
50
50
|
]);
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
function k(
|
|
55
|
-
|
|
54
|
+
function k(l) {
|
|
55
|
+
var a;
|
|
56
|
+
const n = ((a = l.split("-")[1]) == null ? void 0 : a.toLowerCase()) ?? "";
|
|
57
|
+
switch (l) {
|
|
56
58
|
case "en-US":
|
|
57
59
|
return "EN";
|
|
58
60
|
case "zh-CN":
|
|
@@ -63,16 +65,28 @@ function k(a) {
|
|
|
63
65
|
return "JP";
|
|
64
66
|
case "zh-Hant":
|
|
65
67
|
return "繁";
|
|
68
|
+
case "id-ID":
|
|
69
|
+
return "ID";
|
|
70
|
+
case "vi-VN":
|
|
71
|
+
return "VN";
|
|
72
|
+
case "ms-MY":
|
|
73
|
+
return "MY";
|
|
74
|
+
case "ph-PH":
|
|
75
|
+
return "PH";
|
|
76
|
+
case "ko-KR":
|
|
77
|
+
return "KR";
|
|
78
|
+
case "fr-MA":
|
|
79
|
+
return "FR";
|
|
66
80
|
default:
|
|
67
|
-
return
|
|
81
|
+
return n;
|
|
68
82
|
}
|
|
69
83
|
}
|
|
70
|
-
function v(
|
|
71
|
-
const
|
|
72
|
-
return (
|
|
84
|
+
function v(l, n) {
|
|
85
|
+
const a = c(n).find((e) => e.code === l);
|
|
86
|
+
return (a == null ? void 0 : a.name) || l;
|
|
73
87
|
}
|
|
74
88
|
export {
|
|
75
|
-
|
|
89
|
+
h as _,
|
|
76
90
|
v as a,
|
|
77
91
|
g as b,
|
|
78
92
|
k as g
|
|
@@ -1,12 +1,12 @@
|
|
|
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 y, 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 { a5 as B, a6 as te, a3 as P, G as k, O as $, B as j, A as E, a4 as ne, J as C, y as D, H as oe, u as ae } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a5 as B, a6 as te, a3 as P, G as k, O as $, B as j, A as E, a4 as ne, J as C, y as D, H as oe, u as ae } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
|
|
4
4
|
import { useI18n as L } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as I, 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
|
-
import "./menuV2-
|
|
9
|
+
import "./menuV2-wfldXb10.js";
|
|
10
10
|
import "./app-5fxKLAzS.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-menu",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.43-dev",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"vue3-lottie": "^3.3.0",
|
|
56
56
|
"vuedraggable": "^4.1.0",
|
|
57
57
|
"xlsx": "^0.18.5",
|
|
58
|
-
"@feedmepos/mf-common": "^1.29.
|
|
58
|
+
"@feedmepos/mf-common": "^1.29.21"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@rollup/plugin-commonjs": "^28.0.2",
|