@feedmepos/mf-menu 0.32.55-dev.2 → 0.32.55
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-CUxpN61P.js → App-D9i97kPC.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Cnb9i7hd.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BxhzKypm.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-C2F7HXQL.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-kPOpOatz.js} +2 -2
- package/dist/{Catalog-C6PTas37.js → Catalog-DFJXgNsO.js} +6 -6
- package/dist/{Category-BNP9UuQs.js → Category-DcN5huA8.js} +4 -4
- package/dist/{Category-CbVKsY9x.js → Category-FaheENIM.js} +4 -4
- package/dist/{CookingGuide-CrhTTXaK.js → CookingGuide-w9A6JMSR.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BnjQt4mF.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BGCVlZ7J.js} +1 -1
- package/dist/{Group-D-bkPYRH.js → Group-DdqHR86E.js} +1 -1
- package/dist/{Group-Cs8zwohX.js → Group-Dy8HcG_Y.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-FW7kAQKd.js → Group.vue_vue_type_script_setup_true_lang-Dvq7j79a.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BUIjOdVJ.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BBcE09pP.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C5yY5Dkx.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DbIKyjW3.js} +7 -7
- package/dist/{Ingredient-BOQ6oSge.js → Ingredient-gj1v3spC.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-D7CTjrQX.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DV-RjIZv.js} +2 -2
- package/dist/{LinkProductSideSheet-qCLknU3I.js → LinkProductSideSheet-Bwt2W9XG.js} +3 -3
- package/dist/{MenuSetting-Bk1IjwAf.js → MenuSetting-CRCDO92S.js} +6 -6
- package/dist/{OrderPacing-nrhOzwqC.js → OrderPacing-D0FFFm3T.js} +5 -5
- package/dist/{PrintRoute-BM1lD7vb.js → PrintRoute-Cgcxblv_.js} +4 -4
- package/dist/{Product-Bkr0EUvR.js → Product-Nti0T9iE.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-AzTv_E2s.js → Product.vue_vue_type_script_setup_true_lang-DyWLMrUC.js} +12 -12
- package/dist/{ProductInternalTools-vFBqmIwi.js → ProductInternalTools-oOMZV7kK.js} +6 -6
- package/dist/{Products-BngkeA_d.js → Products-9elHDYp6.js} +57 -57
- package/dist/{Publish-BDR0p0C7.js → Publish-Bi33tD6L.js} +3 -3
- package/dist/{Recipe-BU6DqVBj.js → Recipe-BSysXC_H.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BOobVOwv.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BqsEM8Kj.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CFpe4Iir.js → RuleView.vue_vue_type_script_setup_true_lang-Cxl5Mvc1.js} +2 -2
- package/dist/{Scheduler-BdrdzqH-.js → Scheduler-CmXIA0tH.js} +3 -3
- package/dist/{ServingSequence-BBUhxb1a.js → ServingSequence-CPVOcSSM.js} +3 -3
- package/dist/{Setting-4WA4XJ3E.js → Setting-BQPHY7B-.js} +5 -5
- package/dist/{Subcategory-WET--Di_.js → Subcategory-DQAT58lU.js} +5 -5
- package/dist/{Takeaway-CTqJRcps.js → Takeaway-DOi4Xogf.js} +1 -1
- package/dist/{Takeaway-BN8uzwh3.js → Takeaway-DtyEbDDB.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BvAXnVNf.js → Takeaway.vue_vue_type_script_setup_true_lang-CNccXS8u.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CvfB2iZM.js → Thumbnail.vue_vue_type_script_setup_true_lang-D9VV1s1E.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-DtLnmZ8B.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-Cpg0cCuJ.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CPd-Zjws.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CGXXpcYQ.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CXJT2-tC.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dl-6UT3T.js} +14 -14
- package/dist/{Unit-BuuxETQO.js → Unit-BVGd9vOo.js} +2 -2
- package/dist/{Variant-BxxvGlMT.js → Variant-wgsEnYNH.js} +3 -3
- package/dist/{_id_-AZAVb9x_.js → _id_-XLbzesLX.js} +9 -9
- package/dist/{app-BdJnGBwv.js → app-DBDi3v7O.js} +32 -32
- package/dist/{app-BrbwUqdU.js → app-DXZuPEOd.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-B-Rl1diH.js → linked-status-BELOy4Ju.js} +2 -2
- package/dist/assets/{menu-export-Dd4iJoCx.js → menu-export-BemM1bWH.js} +2 -2
- package/dist/assets/{override-menu-DdjEA-4p.js → override-menu-BiwqdooM.js} +2 -2
- package/dist/assets/{validate-menu-D3A5C308.js → validate-menu-mNalZZpy.js} +2 -2
- package/dist/{catalog-3xncYAFx.js → catalog-Beh91hfF.js} +1 -1
- package/dist/{catalogSetting-DwgGp-Q4.js → catalogSetting-CvotY0sm.js} +1 -1
- package/dist/{currency-CzUDPPUv.js → currency-DWU0Lz6M.js} +1 -1
- package/dist/{dayjs.min-Bdj5ZtP1.js → dayjs.min-b9_NYDqQ.js} +2 -2
- package/dist/{index-CvWzypxM.js → index-B2zWt4Ih.js} +5 -5
- package/dist/{index-C2JiJ3sF.js → index-ZpjMtEkL.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-lnHttflC.js → index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js} +6 -6
- package/dist/{item-DGe5pdOK.js → item-DtR73Afo.js} +18 -18
- package/dist/{jszip.min-BkjnmqkP.js → jszip.min-DgMmizjt.js} +175 -175
- package/dist/{memberPricing-8Rn67mUQ.js → memberPricing-RVw5I6LL.js} +1 -1
- package/dist/{menu-CPMmBzMw.js → menu-CaFnkDPh.js} +1 -1
- package/dist/{menuV2-BAWKdUqF.js → menuV2-CphaxHaj.js} +48 -48
- package/dist/{order_pacing-Bf1bv6x3.js → order_pacing-CUyiMmGB.js} +5 -5
- package/dist/{priceTier-Er6JH5X4.js → priceTier-CGLpjMw4.js} +1 -1
- package/dist/{rules-DwvGpoGj.js → rules-3d19nDAK.js} +3 -3
- package/dist/{scheduler-B3PokqlS.js → scheduler-CyPQu2Jd.js} +4 -4
- package/dist/{toExcel-BlwgaARe.js → toExcel-Dbqi_aWn.js} +2 -2
- package/dist/{unit-DNF8MsPj.js → unit-CidyefuC.js} +2 -2
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as G, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as O, createBlock as oe, withCtx as R } from "vue";
|
|
2
|
-
import { J as A, F as ne } from "./jszip.min-
|
|
3
|
-
import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as A, F as ne } from "./jszip.min-DgMmizjt.js";
|
|
3
|
+
import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
4
4
|
import { useI18n as ue } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as ge, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { u as fe, a as he } from "./menu-
|
|
8
|
-
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { D as be, E as ve, G as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-CaFnkDPh.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-DyWLMrUC.js";
|
|
9
|
+
import { D as be, E as ve, G as _e } from "./item-DtR73Afo.js";
|
|
10
10
|
const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "h-full flex flex-col"
|
|
@@ -151,7 +151,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
|
-
var He = { firebase: { storageBucket: "image.
|
|
154
|
+
var He = { firebase: { storageBucket: "image.feedme.cc" } };
|
|
155
155
|
const Je = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "h-screen"
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as E } from "./dayjs.min-
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { u as K, B as Q, z as
|
|
5
|
-
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as $, A as q } from "./app-
|
|
1
|
+
import { defineComponent as B, computed as _, ref as J, resolveComponent as w, createBlock as m, openBlock as l, unref as e, withCtx as p, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as C, createElementBlock as U, Fragment as H } from "vue";
|
|
2
|
+
import { D as E } from "./dayjs.min-b9_NYDqQ.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-DgMmizjt.js";
|
|
4
|
+
import { u as K, B as Q, z as L, D as j, y as X, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
5
|
+
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DbIKyjW3.js";
|
|
6
|
+
import { h as $, A as q } from "./app-DBDi3v7O.js";
|
|
7
7
|
import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
|
|
8
|
-
import { useDialog as te, useDialogChild as pe, useSnackbar as
|
|
9
|
-
import { _ as
|
|
8
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as T, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
9
|
+
import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
10
10
|
import { _ as fe, a as G } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
11
11
|
import { _ as ge } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
|
-
import { u as ve, a as be } from "./menu-
|
|
13
|
-
import { u as ye } from "./item-
|
|
14
|
-
import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { L as
|
|
16
|
-
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { m as he } from "./toExcel-
|
|
19
|
-
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */
|
|
12
|
+
import { u as ve, a as be } from "./menu-CaFnkDPh.js";
|
|
13
|
+
import { u as ye } from "./item-DtR73Afo.js";
|
|
14
|
+
import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-DyWLMrUC.js";
|
|
15
|
+
import { L as W } from "./LinkProductSideSheet-Bwt2W9XG.js";
|
|
16
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dl-6UT3T.js";
|
|
17
|
+
import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-D9VV1s1E.js";
|
|
18
|
+
import { m as he } from "./toExcel-Dbqi_aWn.js";
|
|
19
|
+
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
|
|
20
20
|
__name: "ConfirmActionDialog",
|
|
21
21
|
props: {
|
|
22
22
|
description: {},
|
|
@@ -24,7 +24,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
24
24
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
25
25
|
},
|
|
26
26
|
setup(V) {
|
|
27
|
-
const
|
|
27
|
+
const n = V, f = _(() => n.message.replace("[[value]]", n.value)), y = J(""), o = te(), { emitAction: k } = pe();
|
|
28
28
|
return (g, i) => {
|
|
29
29
|
const x = w("FmTextField"), S = w("FmButton"), v = w("FmForm");
|
|
30
30
|
return l(), m(v, {
|
|
@@ -51,7 +51,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
51
51
|
u(S, {
|
|
52
52
|
label: "Cancel",
|
|
53
53
|
variant: "secondary",
|
|
54
|
-
onClick: i[2] || (i[2] = (c) => e(
|
|
54
|
+
onClick: i[2] || (i[2] = (c) => e(o).close())
|
|
55
55
|
}),
|
|
56
56
|
u(S, {
|
|
57
57
|
label: "Confirm",
|
|
@@ -64,10 +64,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
64
64
|
}, 8, ["on-validation-success"]);
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
}), $e = /* @__PURE__ */
|
|
67
|
+
}), $e = /* @__PURE__ */ B({
|
|
68
68
|
__name: "Migrate",
|
|
69
69
|
setup(V) {
|
|
70
|
-
const
|
|
70
|
+
const n = K(), f = ee(), y = ne(), { minor: o } = Q(y), k = J(!1), g = te();
|
|
71
71
|
async function i() {
|
|
72
72
|
x.value || k.value || g.open({
|
|
73
73
|
title: "Migrate to new version",
|
|
@@ -77,15 +77,15 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
77
77
|
description: "Do you want to migrate to new version? Once migrate it will unable to revert to the older version."
|
|
78
78
|
}
|
|
79
79
|
}).onPrimary(async () => {
|
|
80
|
-
g.close(), await
|
|
80
|
+
g.close(), await o(
|
|
81
81
|
async () => {
|
|
82
|
-
await
|
|
82
|
+
await n.migrate(), setTimeout(() => {
|
|
83
83
|
window.location.reload();
|
|
84
84
|
}, 2e3);
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
isLoading: k,
|
|
88
|
-
customId:
|
|
88
|
+
customId: n.state.menu._id,
|
|
89
89
|
message: "Migrating menu",
|
|
90
90
|
successMessage: "Migration completed"
|
|
91
91
|
}
|
|
@@ -98,12 +98,12 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
98
98
|
return null;
|
|
99
99
|
const v = f.restaurants.value;
|
|
100
100
|
if (!v.length) return "Required at least one restaurant to migrate";
|
|
101
|
-
const c = v.filter((b) => !b.posVersion || !
|
|
102
|
-
return c.length ? `Upgrade POS to V${
|
|
101
|
+
const c = v.filter((b) => !b.posVersion || !L.Pos.canUse({ feature: j.F_FEATURE.enum.menuV4, posVersion: b.posVersion }));
|
|
102
|
+
return c.length ? `Upgrade POS to V${L.Pos.minVersionToUse(j.F_FEATURE.enum.menuV4)} to use new menu: ${c.map((b) => b.profile.name).join(", ")}` : null;
|
|
103
103
|
});
|
|
104
104
|
return (S, v) => {
|
|
105
105
|
const c = w("FmSnackbar");
|
|
106
|
-
return !x.value && e(
|
|
106
|
+
return !x.value && e(n).version !== e(X).enum.v4 ? (l(), m(c, {
|
|
107
107
|
key: 0,
|
|
108
108
|
class: "!max-w-full",
|
|
109
109
|
title: "New version of menu is out now!",
|
|
@@ -115,13 +115,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
115
115
|
})) : C("", !0);
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
}), Ve = "/assets/menu-export-
|
|
118
|
+
}), Ve = "/assets/menu-export-BemM1bWH.js", Ae = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ee = { class: "flex items-center" }, Te = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ie = { class: "fm-typo-en-body-md-600 font-semibold" }, Be = { class: "flex gap-8" }, Xe = /* @__PURE__ */ B({
|
|
119
119
|
__name: "Products",
|
|
120
120
|
setup(V) {
|
|
121
|
-
const { t:
|
|
122
|
-
...le.menuV4ToV3(ue(
|
|
123
|
-
_id:
|
|
124
|
-
_rev:
|
|
121
|
+
const { t: n } = de(), f = ee(), y = Q(ne()), o = K(), k = _(() => o.rules.item), g = ye(), i = _(() => !o.state.currentSchedulerId), { selectedCategories: x } = ve(), S = _(() => ({
|
|
122
|
+
...le.menuV4ToV3(ue(o.state.menu)),
|
|
123
|
+
_id: o.state.menu._id,
|
|
124
|
+
_rev: o.state.menu._rev
|
|
125
125
|
})), v = _(() => {
|
|
126
126
|
const r = R.flatten(x.value.map((t) => t.items));
|
|
127
127
|
return R.uniqBy(r, (t) => t._id).length;
|
|
@@ -136,8 +136,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
136
136
|
async function A() {
|
|
137
137
|
await y.minor(
|
|
138
138
|
async () => {
|
|
139
|
-
if (await
|
|
140
|
-
const r =
|
|
139
|
+
if (await o.readMenu(), o.version === X.enum.v4) {
|
|
140
|
+
const r = o.state.menu, t = E().format("DD-MM-YYYY_HH-mm"), a = [
|
|
141
141
|
`menu_${t}`,
|
|
142
142
|
`addonGroup_${t}`,
|
|
143
143
|
`itemLinkedAddon_${t}`,
|
|
@@ -147,7 +147,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
147
147
|
JSON.stringify({
|
|
148
148
|
menu: r,
|
|
149
149
|
attributeSettings: f.itemAttributeSettings.value,
|
|
150
|
-
localizationKeys:
|
|
150
|
+
localizationKeys: o.state.featureFlags.supportedLocales
|
|
151
151
|
})
|
|
152
152
|
);
|
|
153
153
|
await c(s, a);
|
|
@@ -161,17 +161,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
|
-
{ successMessage: "Menu exported", customId:
|
|
164
|
+
{ successMessage: "Menu exported", customId: o.state.menu._id }
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
const {
|
|
168
168
|
menuItems: M,
|
|
169
169
|
categories: b,
|
|
170
|
-
linkItemRules:
|
|
170
|
+
linkItemRules: D,
|
|
171
171
|
handleSubmit: Y,
|
|
172
172
|
catalogManager: N,
|
|
173
173
|
schedulerManager: z
|
|
174
|
-
} = Se(!1),
|
|
174
|
+
} = Se(!1), oe = _e(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
|
|
175
175
|
var a;
|
|
176
176
|
const r = ((a = f.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
177
177
|
action: $.Action.manage,
|
|
@@ -189,7 +189,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
189
189
|
return be().resetOnMount(), (r, t) => {
|
|
190
190
|
const a = w("fm-button");
|
|
191
191
|
return l(), m(ge, {
|
|
192
|
-
heading: e(
|
|
192
|
+
heading: e(n)("menu.products.title")
|
|
193
193
|
}, {
|
|
194
194
|
default: p(() => [
|
|
195
195
|
u($e),
|
|
@@ -199,20 +199,20 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
199
199
|
d("div", Ae, [
|
|
200
200
|
d("div", Ee, [
|
|
201
201
|
d("div", Te, [
|
|
202
|
-
d("p",
|
|
202
|
+
d("p", Ie, Z(v.value), 1)
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
|
-
d("div",
|
|
205
|
+
d("div", Be, [
|
|
206
206
|
ae.value ? (l(), m(O, { key: 1 }, {
|
|
207
207
|
default: p(({ trigger: s }) => [
|
|
208
208
|
u(fe, null, {
|
|
209
209
|
default: p(() => [
|
|
210
210
|
u(G, {
|
|
211
|
-
label: e(
|
|
211
|
+
label: e(n)("menu.products.actions.export"),
|
|
212
212
|
onClick: A
|
|
213
213
|
}, null, 8, ["label"]),
|
|
214
214
|
u(G, {
|
|
215
|
-
label: e(
|
|
215
|
+
label: e(n)("menu.products.actions.import"),
|
|
216
216
|
onClick: s
|
|
217
217
|
}, null, 8, ["label", "onClick"])
|
|
218
218
|
]),
|
|
@@ -220,11 +220,11 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
220
220
|
}, 1024)
|
|
221
221
|
]),
|
|
222
222
|
_: 1
|
|
223
|
-
})) : (l(), U(
|
|
223
|
+
})) : (l(), U(H, { key: 0 }, [
|
|
224
224
|
se.value ? (l(), m(xe, { key: 0 }, {
|
|
225
225
|
default: p(({ trigger: s }) => [
|
|
226
226
|
u(a, {
|
|
227
|
-
label: e(
|
|
227
|
+
label: e(n)("menu.tree_editor.title"),
|
|
228
228
|
"bg-color": e(h).NeutralGray100,
|
|
229
229
|
"text-color": e(h).TypoSecondary,
|
|
230
230
|
variant: e(T).Primary,
|
|
@@ -238,7 +238,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
238
238
|
"bg-color": e(h).NeutralGray100,
|
|
239
239
|
"text-color": e(h).TypoSecondary,
|
|
240
240
|
variant: e(T).Primary,
|
|
241
|
-
label: e(
|
|
241
|
+
label: e(n)("menu.products.actions.export"),
|
|
242
242
|
onClick: A
|
|
243
243
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : C("", !0),
|
|
244
244
|
P.value ? (l(), m(O, { key: 2 }, {
|
|
@@ -247,52 +247,52 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
247
247
|
"bg-color": e(h).NeutralGray100,
|
|
248
248
|
"text-color": e(h).TypoSecondary,
|
|
249
249
|
variant: e(T).Primary,
|
|
250
|
-
label: e(
|
|
250
|
+
label: e(n)("menu.products.actions.import"),
|
|
251
251
|
onClick: s
|
|
252
252
|
}, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
|
|
253
253
|
]),
|
|
254
254
|
_: 1
|
|
255
255
|
})) : C("", !0)
|
|
256
256
|
], 64)),
|
|
257
|
-
v.value > 0 ? (l(), U(
|
|
258
|
-
k.value.create ? (l(), m(
|
|
257
|
+
v.value > 0 ? (l(), U(H, { key: 2 }, [
|
|
258
|
+
k.value.create ? (l(), m(I, {
|
|
259
259
|
key: 0,
|
|
260
|
-
label: e(
|
|
260
|
+
label: e(n)("menu.products.actions.add"),
|
|
261
261
|
"prepend-icon": "add",
|
|
262
262
|
onClick: t[0] || (t[0] = (s) => e(g).create(null))
|
|
263
|
-
}, null, 8, ["label"])) : i.value ? (l(), m(
|
|
263
|
+
}, null, 8, ["label"])) : i.value ? (l(), m(W, {
|
|
264
264
|
key: 1,
|
|
265
265
|
"categorized-items": e(N).linkableItems.value,
|
|
266
266
|
"initial-value": e(N).currentItems.value,
|
|
267
267
|
"show-variant": !1,
|
|
268
268
|
"menu-items": e(M),
|
|
269
269
|
categories: e(b),
|
|
270
|
-
"link-item-rules": e(
|
|
270
|
+
"link-item-rules": e(D),
|
|
271
271
|
"no-scheduler": i.value,
|
|
272
272
|
onSubmit: e(Y)
|
|
273
273
|
}, {
|
|
274
274
|
default: p(({ trigger: s }) => [
|
|
275
|
-
u(
|
|
276
|
-
label: e(
|
|
275
|
+
u(I, {
|
|
276
|
+
label: e(n)("menu.products.actions.link"),
|
|
277
277
|
"prepend-icon": "link",
|
|
278
278
|
onClick: s
|
|
279
279
|
}, null, 8, ["label", "onClick"])
|
|
280
280
|
]),
|
|
281
281
|
_: 1
|
|
282
|
-
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(
|
|
282
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(W, {
|
|
283
283
|
key: 2,
|
|
284
284
|
"categorized-items": e(z).linkableItems.value,
|
|
285
285
|
"initial-value": e(z).currentItems.value,
|
|
286
286
|
"show-variant": !1,
|
|
287
287
|
"menu-items": e(M),
|
|
288
288
|
categories: e(b),
|
|
289
|
-
"link-item-rules": e(
|
|
289
|
+
"link-item-rules": e(D),
|
|
290
290
|
"no-scheduler": i.value,
|
|
291
291
|
onSubmit: e(Y)
|
|
292
292
|
}, {
|
|
293
293
|
default: p(({ trigger: s }) => [
|
|
294
|
-
u(
|
|
295
|
-
label: e(
|
|
294
|
+
u(I, {
|
|
295
|
+
label: e(n)("menu.products.actions.apply_scheduler"),
|
|
296
296
|
onClick: s
|
|
297
297
|
}, null, 8, ["label", "onClick"])
|
|
298
298
|
]),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as J, ref as P, computed as D, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as T, unref as c, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as z, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Ue, normalizeStyle as Oe, renderSlot as Be, withModifiers as le, onUnmounted as Te } from "vue";
|
|
2
|
-
import { D as E } from "./dayjs.min-
|
|
2
|
+
import { D as E } from "./dayjs.min-b9_NYDqQ.js";
|
|
3
3
|
import { useRouter as ze } from "vue-router";
|
|
4
4
|
import { O as Ee, b as Le } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as he, RestaurantSelector as Ve } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as fe, useDialogChild as Ge, useProxiedModel as Je, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as We } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Qe } from "./app-
|
|
9
|
+
import { _ as Qe } from "./app-DBDi3v7O.js";
|
|
10
10
|
import { a as Xe, w as Ze } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as Fe } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as E, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as P, components as G, useDialog as ne, FmButtonVariant as K, useBreakpoints as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as le } from "./app-
|
|
6
|
-
import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-DBDi3v7O.js";
|
|
6
|
+
import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
8
|
import { defineStore as ue } from "pinia";
|
|
9
|
-
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-DV-RjIZv.js";
|
|
10
10
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-CidyefuC.js";
|
|
13
13
|
import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
14
14
|
const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
|
|
15
15
|
__name: "Form",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as D, ref as R, resolveComponent as u, createElementBlock as E, openBlock as P, Fragment as B, createElementVNode as d, createVNode as l, normalizeClass as A, withCtx as i, toDisplayString as g, unref as o, h as I } from "vue";
|
|
2
2
|
import { useI18n as T, useCustomAttributes as K, useCoreStore as N } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as U } from "@feedmepos/ui-library";
|
|
4
|
-
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-Cxl5Mvc1.js";
|
|
5
5
|
const j = {
|
|
6
6
|
class: /* @__PURE__ */ A(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
|
|
7
7
|
}, O = {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as ie, createElementBlock as Y, openBlock as x, normali
|
|
|
2
2
|
import { x as xn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
3
|
import { useCoreStore as Dt, useI18n as Ge, useCustomAttributes as Bt, EMPTY_RULE as Yn, isEmptyMongoQuery as jn, isEmptyRule as Xn } from "@feedmepos/mf-common";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { u as Tn, H as xt, U as bt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Tn, H as xt, U as bt } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
6
6
|
import { FmButtonVariant as Fe, components as qn } from "@feedmepos/ui-library";
|
|
7
7
|
const Jn = /* @__PURE__ */ ie({
|
|
8
8
|
__name: "FormColumn",
|
|
@@ -1891,7 +1891,7 @@ function Vo(e, t, n, r) {
|
|
|
1891
1891
|
return e.processor && (E.processor = e.processor), r.list && (E.list = r.list), r.named && (E.named = r.named), ee(r.plural) && (E.pluralIndex = r.plural), E;
|
|
1892
1892
|
}
|
|
1893
1893
|
wr();
|
|
1894
|
-
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
1894
|
+
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_43051151-a48d-4810-872b-dc39a6b34576", DOTNET_NOLOGO: "1", USER: "runner", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v18.20.8 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_43051151-a48d-4810-872b-dc39a6b34576", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.6.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin", SYSTEMD_EXEC_PID: "1848", ACTIONS_ORCHESTRATION_ID: "eadab9a1-d5df-4d70-aba2-34492f148e19.publish.deploy.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260628.225.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13449", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "28774941541", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapi.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7bbc9c1d6acbd578cf917ff71c6e8f21642875db", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.4/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_438e0425-ae5a-46a8-8e16-f4e42102711c", INVOCATION_ID: "a8f4a972c9dc46329dcbbefe5c1a4396", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "173", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000084738", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.55", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "7bbc9c1d6acbd578cf917ff71c6e8f21642875db", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_43051151-a48d-4810-872b-dc39a6b34576", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_43051151-a48d-4810-872b-dc39a6b34576", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_43051151-a48d-4810-872b-dc39a6b34576", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
1895
1895
|
const Ho = "10.0.5";
|
|
1896
1896
|
function Go() {
|
|
1897
1897
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (he().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (he().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (he().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (he().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as W, computed as y, h as p, withModifiers as I, ref as M, resolveComponent as h, createBlock as k, openBlock as c, unref as i, withCtx as _, createElementBlock as F, createVNode as f, Fragment as z, createElementVNode as s, renderList as H, toDisplayString as x, createCommentVNode as q } from "vue";
|
|
2
|
-
import { a6 as d, a7 as Y, P as Q, u as G, B as J, a5 as X } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a6 as d, a7 as Y, P as Q, u as G, B as J, a5 as X } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
3
3
|
import { useI18n as Z } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as ee, useDialog as te, useSnackbar as ne } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { _ as oe } from "./app-
|
|
7
|
-
import { d as le, _ as se, u as re, c as ue } from "./scheduler-
|
|
6
|
+
import { _ as oe } from "./app-DBDi3v7O.js";
|
|
7
|
+
import { d as le, _ as se, u as re, c as ue } from "./scheduler-CyPQu2Jd.js";
|
|
8
8
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
9
9
|
const ie = {
|
|
10
10
|
class: "flex flex-1 justify-end"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as H, ref as M, computed as I, resolveComponent as h, createElementBlock as g, openBlock as d, Fragment as S, renderSlot as ae, createVNode as l, unref as t, withCtx as m, createElementVNode as b, toDisplayString as U, onBeforeMount as oe, watch as E, watchEffect as se, h as T, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as Q, renderList as ue } from "vue";
|
|
2
2
|
import { useRouter as ce } from "vue-router";
|
|
3
|
-
import { G as J, u as W, B as X, P as Z, J as P, K as R, a5 as de, y as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { G as J, u as W, B as X, P as Z, J as P, K as R, a5 as de, y as me } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
4
4
|
import { useI18n as ee, ItemSelector as pe, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ne, components as K, useDialog as _e, FmButtonVariant as z, useBreakpoints as ve } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as ge } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
7
|
-
import { _ as ye, R as he } from "./app-
|
|
7
|
+
import { _ as ye, R as he } from "./app-DBDi3v7O.js";
|
|
8
8
|
import { c as be } from "./check-C9mY6LiX.js";
|
|
9
9
|
import { _ as ke } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
10
10
|
import { u as xe } from "./search-BAPEUu1R.js";
|
|
11
|
-
import { u as Se } from "./app-
|
|
11
|
+
import { u as Se } from "./app-DXZuPEOd.js";
|
|
12
12
|
import { c as Ce } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex flex-col h-full" }, Ve = { class: "flex gap-8 items-center justify-start" }, Fe = /* @__PURE__ */ H({
|
|
14
14
|
__name: "Form",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as M, openBlock as r, normalizeClass as H, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as y, unref as e, Fragment as D, renderList as P, createTextVNode as re, toDisplayString as T } from "vue";
|
|
2
|
-
import { u as me, B as ce, y as de, P as pe, z as ve, U as k, G as A } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, B as ce, y as de, P as pe, z as ve, U as k, G as A } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
3
3
|
import { useCoreStore as ge, useI18n as fe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as _e, useDialog as be, FmButtonVariant as $, FmButtonColorThemeVariant as R, components as ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as F } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
6
|
-
import { _ as ke } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { C as f, a as x } from "./catalogSetting-
|
|
9
|
-
import { C as Ce } from "./catalog-
|
|
6
|
+
import { _ as ke } from "./RuleView.vue_vue_type_script_setup_true_lang-Cxl5Mvc1.js";
|
|
7
|
+
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BBcE09pP.js";
|
|
8
|
+
import { C as f, a as x } from "./catalogSetting-CvotY0sm.js";
|
|
9
|
+
import { C as Ce } from "./catalog-Beh91hfF.js";
|
|
10
10
|
const Oe = {
|
|
11
11
|
class: /* @__PURE__ */ H(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
12
12
|
}, Se = {
|
|
@@ -2,18 +2,18 @@ import { defineComponent as A, ref as x, computed as V, watch as te, resolveComp
|
|
|
2
2
|
import { useI18n as P } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as R, components as W, useDialog as X, FmButtonVariant as q, useBreakpoints as se, FmButtonColorThemeVariant as ie } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as re } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { B as j, u as J, P as K, J as Z, K as ee, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as j, u as J, P as K, J as Z, K as ee, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
6
6
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { _ as me } from "./app-
|
|
7
|
+
import { _ as me } from "./app-DBDi3v7O.js";
|
|
8
8
|
import { c as de } from "./createForm-BoUQeZTd.js";
|
|
9
9
|
import { u as pe } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as G } from "./object-DVUNCr7w.js";
|
|
11
|
-
import { r as fe, u as ae } from "./rules-
|
|
12
|
-
import { _ as _e } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { r as fe, u as ae } from "./rules-3d19nDAK.js";
|
|
12
|
+
import { _ as _e } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-CGXXpcYQ.js";
|
|
13
13
|
import { c as ve } from "./check-C9mY6LiX.js";
|
|
14
14
|
import { g as H } from "./translation-fNx6yEpy.js";
|
|
15
15
|
import { _ as ge } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
16
|
-
import { a as ye } from "./menu-
|
|
16
|
+
import { a as ye } from "./menu-CaFnkDPh.js";
|
|
17
17
|
const be = {
|
|
18
18
|
class: "fm-typo-en-title-md-600"
|
|
19
19
|
}, he = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as f, computed as y, ref as k, createBlock as i, openBlock as d, unref as a, withCtx as s, createElementVNode as t, toDisplayString as b, createCommentVNode as g, createVNode as m } from "vue";
|
|
2
|
-
import { B as v, u as w, P as x, J as E, K as M } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { B as v, u as w, P as x, J as E, K as M } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
3
3
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as V } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
6
|
import { _ as C } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { T as S, l as B } from "./index-
|
|
9
|
-
import { a as L } from "./menu-
|
|
7
|
+
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-CNccXS8u.js";
|
|
8
|
+
import { T as S, l as B } from "./index-B2zWt4Ih.js";
|
|
9
|
+
import { a as L } from "./menu-CaFnkDPh.js";
|
|
10
10
|
const O = { class: "flex-1 flex justify-between gap-8 pl-8" }, U = { class: "flex items-center" }, F = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, P = { class: "fm-typo-en-body-md-600 font-semibold" }, G = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
12
|
setup(D) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { getCurrentInstance as te, defineComponent as ne, computed as C, watch as oe, h as S, resolveComponent as E, createElementBlock as V, openBlock as w, Fragment as L, normalizeClass as D, createElementVNode as g, createVNode as I, unref as i, isRef as $, withCtx as O, renderList as ie, createBlock as j, createCommentVNode as G, toDisplayString as B, withModifiers as q } from "vue";
|
|
2
|
-
import { B as H, u as Q, P as W, J as F, K as A, G as R, z as se, aw as J, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { B as H, u as Q, P as W, J as F, K as A, G as R, z as se, aw as J, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
3
3
|
import { useI18n as X, useCoreStore as le } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as ce, useSnackbar as Z, FmButtonVariant as N, components as de, useBreakpoints as ue } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as me } from "./app-
|
|
6
|
-
import { a as ye, l as ee, T as pe } from "./index-
|
|
5
|
+
import { _ as me } from "./app-DBDi3v7O.js";
|
|
6
|
+
import { a as ye, l as ee, T as pe } from "./index-B2zWt4Ih.js";
|
|
7
7
|
import { _ as fe } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
8
8
|
import { u as _e } from "./search-BAPEUu1R.js";
|
|
9
|
-
import { f as z } from "./currency-
|
|
9
|
+
import { f as z } from "./currency-DWU0Lz6M.js";
|
|
10
10
|
import { defineStore as ke } from "pinia";
|
|
11
|
-
import { C as ve } from "./catalog-
|
|
11
|
+
import { C as ve } from "./catalog-Beh91hfF.js";
|
|
12
12
|
import { c as we } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
function ge(b, _, l, u) {
|
|
14
14
|
var y, p, k;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { computed as d, defineComponent as U, ref as N, resolveComponent as F, createElementBlock as T, openBlock as M, normalizeClass as y, createVNode as j, normalizeStyle as K, withCtx as J, createBlock as z, createCommentVNode as q } from "vue";
|
|
2
|
-
import { y as x, J as I, K as v, B as R, U as Y, P, as as D, u as E, c as G } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as C } from "./menuV2-
|
|
4
|
-
import { C as S, h as k } from "./catalog-
|
|
2
|
+
import { y as x, J as I, K as v, B as R, U as Y, P, as as D, u as E, c as G } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
3
|
+
import { u as C } from "./menuV2-CphaxHaj.js";
|
|
4
|
+
import { C as S, h as k } from "./catalog-Beh91hfF.js";
|
|
5
5
|
import { useSnackbar as O, useDialog as B } from "@feedmepos/ui-library";
|
|
6
|
-
import { a as A } from "./LinkProductSideSheet-
|
|
6
|
+
import { a as A } from "./LinkProductSideSheet-Bwt2W9XG.js";
|
|
7
7
|
import { useI18n as H } from "@feedmepos/mf-common";
|
|
8
8
|
function Q() {
|
|
9
9
|
const t = C(), o = d(() => t.categorizedRawMenuItems.filter((u) => u.items.length > 0)), i = d(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, createElementBlock as d, openBlock as a, normalizeClass as b, toDisplayString as y, unref as u, resolveComponent as i, createVNode as _, createElementVNode as c, computed as h, createBlock as g, createCommentVNode as w, Fragment as k, renderList as x, withCtx as F } from "vue";
|
|
2
2
|
import { useI18n as S } from "@feedmepos/mf-common";
|
|
3
3
|
import { g as I, a as L } from "./translation-fNx6yEpy.js";
|
|
4
|
-
import { u as N } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as N } from "./index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js";
|
|
5
5
|
const C = /* @__PURE__ */ v({
|
|
6
6
|
__name: "LocaleIconBadge",
|
|
7
7
|
props: {
|