@feedmepos/mf-menu 0.32.66-dev.2 → 0.32.66-dev.3
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-D0YpNkYr.js → App-bCL9DMmd.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-YPM2sgEJ.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CnoYMg6T.js} +7 -7
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CAXhUciI.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-Ccw08-Uw.js} +3 -3
- package/dist/{Catalog-I3XpPLoT.js → Catalog-Ds6GYriM.js} +6 -6
- package/dist/{Category-CfCp_M4X.js → Category-CnFL0t4m.js} +4 -4
- package/dist/{Category-BTmqDRbK.js → Category-DY_XSrsn.js} +4 -4
- package/dist/{CookingGuide-BRHwTegP.js → CookingGuide-BTk8BaAd.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-ksv-RMn2.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BgI4r-xU.js} +1 -1
- package/dist/{Group-Bwj6UATr.js → Group-860k7lB8.js} +3 -3
- package/dist/{Group-BvrANEY8.js → Group-BSMIM376.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CYLH4YhA.js → Group.vue_vue_type_script_setup_true_lang-DWA-dDCM.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DWpeinru.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-dKJjPwe3.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DEvUaDcb.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-H2rtSZTK.js} +9 -8
- package/dist/{Ingredient-B8n9cRsp.js → Ingredient-BYDjOmNr.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-92V2JZvW.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Bdhyk7wJ.js} +2 -2
- package/dist/{LinkProductSideSheet-LF2pdsYn.js → LinkProductSideSheet-CQS8yW-C.js} +4 -4
- package/dist/{MenuSetting-DrObZATH.js → MenuSetting-BmK8AlkW.js} +7 -7
- package/dist/{OrderPacing-CIP1oshR.js → OrderPacing-TJ6ZYLYV.js} +5 -5
- package/dist/{PrintRoute-BUErmYxT.js → PrintRoute-CR9yyKNK.js} +5 -5
- package/dist/{Product-DBRc2y1I.js → Product-UVz9VsGm.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BvtMo0M4.js → Product.vue_vue_type_script_setup_true_lang-DaUlfmGn.js} +622 -610
- package/dist/{ProductInternalTools-CnYr5piv.js → ProductInternalTools-D-SOeCcO.js} +6 -6
- package/dist/{Products-DkqJELto.js → Products-DhNIR6E7.js} +57 -57
- package/dist/{Publish-C94D_B2o.js → Publish-CsjlWTjc.js} +4 -4
- package/dist/{Recipe-DxTc4llT.js → Recipe-uwZYJm_N.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BC59l-9q.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CF-r4vAJ.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-BpGitWig.js → RuleView.vue_vue_type_script_setup_true_lang-BfdS-xS1.js} +3 -3
- package/dist/{Scheduler-CtdYHGoQ.js → Scheduler-B1_i4bRR.js} +3 -3
- package/dist/{ServingSequence-Bx0Z7ob9.js → ServingSequence-B7TO7rNV.js} +3 -3
- package/dist/{Setting-BWKT6o_d.js → Setting-ByrEh4BA.js} +5 -5
- package/dist/{Subcategory-BckJmrDm.js → Subcategory-BWqzLw-d.js} +6 -6
- package/dist/{Takeaway-DULjBrov.js → Takeaway-BDtDA3Oz.js} +1 -1
- package/dist/{Takeaway-Dvt7GRhi.js → Takeaway-BJpHwTck.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BanPhJ_p.js → Takeaway.vue_vue_type_script_setup_true_lang-DaqAIPrd.js} +10 -10
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-BA1GwxTn.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-Ctua4piB.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-B45Qj3ka.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CaIv_N0Y.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mlqLqR9u.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BXJsNMO4.js} +15 -15
- package/dist/{Unit-C2rVtZXW.js → Unit-CztcKfU8.js} +2 -2
- package/dist/{Variant-C1aRShIB.js → Variant-DoKsw2Kp.js} +3 -3
- package/dist/{_id_-TNQRaQmS.js → _id_-Bm8i0F1E.js} +10 -10
- package/dist/{app-Cbzk6cOz.js → app-BGCDoU-0.js} +328 -328
- package/dist/{app-DwyLCetV.js → app-Du5OtlE9.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/media.d.ts +63 -10
- package/dist/apps/mf-menu/src/app.d.ts +120 -10
- package/dist/apps/mf-menu/src/components/feature/Fields/RangeSlider.vue.d.ts +62 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +95 -12
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ImageEditorDialog.vue.d.ts +56 -0
- package/dist/apps/mf-menu/src/composable/imageSource.d.ts +7 -0
- package/dist/apps/mf-menu/src/composable/imageVersion.d.ts +11 -0
- package/dist/apps/mf-menu/src/helper/itemOverrider.d.ts +10 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BY2u9ovw.js → linked-status-CGYWO8Yo.js} +4 -4
- package/dist/assets/{menu-export-BaTSKjZt.js → menu-export-D32WVYBV.js} +3 -3
- package/dist/assets/{override-menu-Ccftxk6t.js → override-menu-B2muNR2b.js} +4 -4
- package/dist/assets/{validate-menu-CLI_SnXI.js → validate-menu-DRc93ut_.js} +4 -4
- package/dist/{catalog-CVzF_mVG.js → catalog-B1szIMSS.js} +1 -1
- package/dist/{catalogSetting-C1g9ndFL.js → catalogSetting-D317tpwX.js} +1 -1
- package/dist/{currency-BMMqzZYC.js → currency-DDMkadDP.js} +1 -1
- package/dist/{dayjs.min-BozAuX2f.js → dayjs.min-BAfSpgzt.js} +2 -2
- package/dist/{discardConfirm-CFESnGLS.js → discardConfirm-ulS7oH8I.js} +1 -1
- package/dist/{index-BRt5TwuO.js → index-BNCGppNp.js} +6 -6
- package/dist/{index-CyomkF6Q.js → index-ClAWU743.js} +5 -5
- package/dist/{index-BNzLcju2.js → index-DVh6Gi2K.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CESDAztS.js → index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.js} +18409 -18281
- package/dist/{item-Bg78_1Z3.js → item-D3jvuhGD.js} +5058 -4584
- package/dist/{jszip.min-CfmqMq7-.js → jszip.min-t1qkoubE.js} +3 -3
- package/dist/{linkProducts-Dk-7vVTM.js → linkProducts-IK0-iQJR.js} +4 -4
- package/dist/{memberPricing-BeLPeWJc.js → memberPricing-DagiXBzk.js} +1 -1
- package/dist/{menu-Cn6vin1M.js → menu-B-BBAQKK.js} +1 -1
- package/dist/{menuV2-DMl-WMCG.js → menuV2-0X1EYaDt.js} +29 -29
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-SVJqBJun.js → order_pacing-Cz0wFd_o.js} +5 -5
- package/dist/{priceTier-BOIqyyMG.js → priceTier-DBzOsSgm.js} +1 -1
- package/dist/{rules-Bw94jp35.js → rules-C6WjUylO.js} +3 -3
- package/dist/{scheduler-BooRYOi1.js → scheduler-aKSniDdK.js} +5 -5
- package/dist/{toExcel-FAK9N74s.js → toExcel-SxxuXoXI.js} +2 -2
- package/dist/{unit-BiH3semx.js → unit-CltVM3dM.js} +3 -3
- package/package.json +1 -1
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ImageUploadDialog.vue.d.ts +0 -18
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as W, 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 R, createBlock as oe, withCtx as A } from "vue";
|
|
2
|
-
import { J as O, F as ne } from "./jszip.min-
|
|
3
|
-
import { l as D } from "./discardConfirm-
|
|
2
|
+
import { J as O, F as ne } from "./jszip.min-t1qkoubE.js";
|
|
3
|
+
import { l as D } from "./discardConfirm-ulS7oH8I.js";
|
|
4
4
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as ie, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
|
|
6
|
-
import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.js";
|
|
7
7
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as ge, a as pe } from "./menu-
|
|
9
|
-
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { ae as he, af as ye, ag as be, ah as ve, ai as _e } from "./item-
|
|
8
|
+
import { u as ge, a as pe } from "./menu-B-BBAQKK.js";
|
|
9
|
+
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-DaUlfmGn.js";
|
|
10
|
+
import { ae as he, af as ye, ag as be, ah as ve, ai as _e } from "./item-D3jvuhGD.js";
|
|
11
11
|
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 = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "h-full flex flex-col"
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { l as
|
|
5
|
-
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as
|
|
7
|
-
import { u as K, b as Q, a as H, e as q, F as X, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as B, computed as _, ref as J, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as f, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as U, Fragment as z } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-BAfSpgzt.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-t1qkoubE.js";
|
|
4
|
+
import { l as R } from "./discardConfirm-ulS7oH8I.js";
|
|
5
|
+
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-H2rtSZTK.js";
|
|
6
|
+
import { h as $, A as j } from "./app-BGCDoU-0.js";
|
|
7
|
+
import { u as K, b as Q, a as H, e as q, F as X, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.js";
|
|
8
8
|
import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
|
|
9
|
-
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as
|
|
10
|
-
import { _ as
|
|
9
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as D, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
10
|
+
import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
11
11
|
import { _ as _e, a as O } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
12
12
|
import { _ as ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
13
|
-
import { u as ge, a as be } from "./menu-
|
|
14
|
-
import { w as ye } from "./item-
|
|
15
|
-
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { L as
|
|
17
|
-
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { u as Se } from "./linkProducts-
|
|
19
|
-
import { m as he } from "./toExcel-
|
|
20
|
-
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */
|
|
13
|
+
import { u as ge, a as be } from "./menu-B-BBAQKK.js";
|
|
14
|
+
import { w as ye } from "./item-D3jvuhGD.js";
|
|
15
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-DaUlfmGn.js";
|
|
16
|
+
import { L as W } from "./LinkProductSideSheet-CQS8yW-C.js";
|
|
17
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BXJsNMO4.js";
|
|
18
|
+
import { u as Se } from "./linkProducts-IK0-iQJR.js";
|
|
19
|
+
import { m as he } from "./toExcel-SxxuXoXI.js";
|
|
20
|
+
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
|
|
21
21
|
__name: "ConfirmActionDialog",
|
|
22
22
|
props: {
|
|
23
23
|
description: {},
|
|
24
24
|
value: {},
|
|
25
25
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
26
26
|
},
|
|
27
|
-
setup(
|
|
28
|
-
const n =
|
|
27
|
+
setup(A) {
|
|
28
|
+
const n = A, p = _(() => n.message.replace("[[value]]", n.value)), k = J(""), o = te(), { emitAction: h } = pe();
|
|
29
29
|
return (v, r) => {
|
|
30
30
|
const M = F("FmTextField"), g = F("FmButton"), x = F("FmForm");
|
|
31
31
|
return l(), m(x, {
|
|
@@ -65,10 +65,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
65
65
|
}, 8, ["on-validation-success"]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
}),
|
|
68
|
+
}), Ve = /* @__PURE__ */ B({
|
|
69
69
|
__name: "Migrate",
|
|
70
|
-
setup(
|
|
71
|
-
const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = Q(o), v =
|
|
70
|
+
setup(A) {
|
|
71
|
+
const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = Q(o), v = J(!1), r = te();
|
|
72
72
|
async function M() {
|
|
73
73
|
g.value || v.value || r.open({
|
|
74
74
|
title: "Migrate to new version",
|
|
@@ -116,35 +116,35 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
116
116
|
})) : w("", !0);
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
}),
|
|
119
|
+
}), $e = "/assets/menu-export-D32WVYBV.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" }, De = { class: "fm-typo-en-body-md-600 font-semibold" }, Ie = { class: "flex gap-8" }, et = /* @__PURE__ */ B({
|
|
120
120
|
__name: "Products",
|
|
121
|
-
setup(
|
|
121
|
+
setup(A) {
|
|
122
122
|
const { t: n } = de(), p = ee(), k = Q(ne()), o = K(), h = _(() => o.rules.item), v = ye(), r = _(() => !o.state.currentSchedulerId), { selectedCategories: M } = ge(), g = _(() => ({
|
|
123
123
|
...ue.menuV4ToV3(ce(o.state.menu)),
|
|
124
124
|
_id: o.state.menu._id,
|
|
125
125
|
_rev: o.state.menu._rev
|
|
126
126
|
})), x = _(() => {
|
|
127
|
-
const i =
|
|
128
|
-
return
|
|
127
|
+
const i = R.flatten(M.value.map((t) => t.items));
|
|
128
|
+
return R.uniqBy(i, (t) => t._id).length;
|
|
129
129
|
});
|
|
130
130
|
async function c(i, t) {
|
|
131
131
|
const a = new re();
|
|
132
|
-
for (let
|
|
133
|
-
a.file(`${t[
|
|
132
|
+
for (let V = 0; V < i.length; V++)
|
|
133
|
+
a.file(`${t[V]}.xlsx`, i[V]);
|
|
134
134
|
const s = await a.generateAsync({ type: "blob" });
|
|
135
|
-
ie.saveAs(s, `books_${
|
|
135
|
+
ie.saveAs(s, `books_${T().format("DD-MM-YYYY_HH-mm")}.zip`);
|
|
136
136
|
}
|
|
137
137
|
async function b() {
|
|
138
138
|
await k.minor(
|
|
139
139
|
async () => {
|
|
140
140
|
if (await o.readMenu(), o.version === X.enum.v4) {
|
|
141
|
-
const i = o.state.menu, t =
|
|
141
|
+
const i = o.state.menu, t = T().format("DD-MM-YYYY_HH-mm"), a = [
|
|
142
142
|
`menu_${t}`,
|
|
143
143
|
`addonGroup_${t}`,
|
|
144
144
|
`itemLinkedAddon_${t}`,
|
|
145
145
|
`translationLocalization_${t}`
|
|
146
146
|
], s = await me(
|
|
147
|
-
|
|
147
|
+
$e,
|
|
148
148
|
JSON.stringify({
|
|
149
149
|
menu: i,
|
|
150
150
|
attributeSettings: p.itemAttributeSettings.value,
|
|
@@ -153,7 +153,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
153
153
|
);
|
|
154
154
|
await c(s, a);
|
|
155
155
|
} else {
|
|
156
|
-
const i = he(g.value), t = `menu_${
|
|
156
|
+
const i = he(g.value), t = `menu_${T().format("DD-MM-YYYY_HH-mm")}`;
|
|
157
157
|
await le(i, `${t}.xlsx`, {
|
|
158
158
|
bookType: "xlsx",
|
|
159
159
|
bookSST: !0,
|
|
@@ -166,7 +166,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
166
166
|
);
|
|
167
167
|
}
|
|
168
168
|
const {
|
|
169
|
-
menuItems:
|
|
169
|
+
menuItems: E,
|
|
170
170
|
categories: C,
|
|
171
171
|
linkItemRules: y,
|
|
172
172
|
handleSubmit: Y,
|
|
@@ -175,17 +175,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
175
175
|
} = Se(!1), oe = fe(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
|
|
176
176
|
var a;
|
|
177
177
|
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
178
|
-
action:
|
|
179
|
-
subject:
|
|
178
|
+
action: $.Action.manage,
|
|
179
|
+
subject: $.Subject.Business.menu_menuManagement
|
|
180
180
|
};
|
|
181
|
-
return
|
|
181
|
+
return j([t], i).granted;
|
|
182
182
|
}), P = _(() => {
|
|
183
183
|
var a;
|
|
184
184
|
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
185
|
-
action:
|
|
186
|
-
subject:
|
|
185
|
+
action: $.Action.manage,
|
|
186
|
+
subject: $.Subject.Business.menu_importExport
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return j([t], i).granted;
|
|
189
189
|
});
|
|
190
190
|
return be().resetOnMount(), (i, t) => {
|
|
191
191
|
const a = F("fm-button");
|
|
@@ -193,17 +193,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
193
193
|
heading: e(n)("menu.products.title")
|
|
194
194
|
}, {
|
|
195
195
|
default: f(() => [
|
|
196
|
-
u(
|
|
196
|
+
u(Ve),
|
|
197
197
|
u(ke)
|
|
198
198
|
]),
|
|
199
199
|
"append-heading": f(() => [
|
|
200
|
-
d("div",
|
|
201
|
-
d("div",
|
|
202
|
-
d("div",
|
|
203
|
-
d("p",
|
|
200
|
+
d("div", Ae, [
|
|
201
|
+
d("div", Ee, [
|
|
202
|
+
d("div", Te, [
|
|
203
|
+
d("p", De, Z(x.value), 1)
|
|
204
204
|
])
|
|
205
205
|
]),
|
|
206
|
-
d("div",
|
|
206
|
+
d("div", Ie, [
|
|
207
207
|
ae.value ? (l(), m(G, { key: 1 }, {
|
|
208
208
|
default: f(({ trigger: s }) => [
|
|
209
209
|
u(_e, null, {
|
|
@@ -221,14 +221,14 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
221
221
|
}, 1024)
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
224
|
-
})) : (l(), U(
|
|
224
|
+
})) : (l(), U(z, { key: 0 }, [
|
|
225
225
|
se.value ? (l(), m(xe, { key: 0 }, {
|
|
226
226
|
default: f(({ trigger: s }) => [
|
|
227
227
|
u(a, {
|
|
228
228
|
label: e(n)("menu.tree_editor.title"),
|
|
229
229
|
"bg-color": e(S).NeutralGray100,
|
|
230
230
|
"text-color": e(S).TypoSecondary,
|
|
231
|
-
variant: e(
|
|
231
|
+
variant: e(D).Primary,
|
|
232
232
|
onClick: s
|
|
233
233
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
234
234
|
]),
|
|
@@ -238,7 +238,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
238
238
|
key: 1,
|
|
239
239
|
"bg-color": e(S).NeutralGray100,
|
|
240
240
|
"text-color": e(S).TypoSecondary,
|
|
241
|
-
variant: e(
|
|
241
|
+
variant: e(D).Primary,
|
|
242
242
|
label: e(n)("menu.products.actions.export"),
|
|
243
243
|
onClick: b
|
|
244
244
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
|
|
@@ -247,7 +247,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
247
247
|
u(a, {
|
|
248
248
|
"bg-color": e(S).NeutralGray100,
|
|
249
249
|
"text-color": e(S).TypoSecondary,
|
|
250
|
-
variant: e(
|
|
250
|
+
variant: e(D).Primary,
|
|
251
251
|
label: e(n)("menu.products.actions.import"),
|
|
252
252
|
onClick: s
|
|
253
253
|
}, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
|
|
@@ -255,44 +255,44 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
255
255
|
_: 1
|
|
256
256
|
})) : w("", !0)
|
|
257
257
|
], 64)),
|
|
258
|
-
x.value > 0 ? (l(), U(
|
|
259
|
-
h.value.create ? (l(), m(
|
|
258
|
+
x.value > 0 ? (l(), U(z, { key: 2 }, [
|
|
259
|
+
h.value.create ? (l(), m(I, {
|
|
260
260
|
key: 0,
|
|
261
261
|
label: e(n)("menu.products.actions.add"),
|
|
262
262
|
"prepend-icon": "add",
|
|
263
263
|
onClick: t[0] || (t[0] = (s) => e(v).create(null))
|
|
264
|
-
}, null, 8, ["label"])) : r.value ? (l(), m(
|
|
264
|
+
}, null, 8, ["label"])) : r.value ? (l(), m(W, {
|
|
265
265
|
key: 1,
|
|
266
266
|
"categorized-items": e(N).linkableItems.value,
|
|
267
267
|
"initial-value": e(N).currentItems.value,
|
|
268
268
|
"show-variant": !1,
|
|
269
|
-
"menu-items": e(
|
|
269
|
+
"menu-items": e(E),
|
|
270
270
|
categories: e(C),
|
|
271
271
|
"link-item-rules": e(y),
|
|
272
272
|
"no-scheduler": r.value,
|
|
273
273
|
onSubmit: e(Y)
|
|
274
274
|
}, {
|
|
275
275
|
default: f(({ trigger: s }) => [
|
|
276
|
-
u(
|
|
276
|
+
u(I, {
|
|
277
277
|
label: e(n)("menu.products.actions.link"),
|
|
278
278
|
"prepend-icon": "link",
|
|
279
279
|
onClick: s
|
|
280
280
|
}, null, 8, ["label", "onClick"])
|
|
281
281
|
]),
|
|
282
282
|
_: 1
|
|
283
|
-
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(
|
|
283
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(W, {
|
|
284
284
|
key: 2,
|
|
285
285
|
"categorized-items": e(L).linkableItems.value,
|
|
286
286
|
"initial-value": e(L).currentItems.value,
|
|
287
287
|
"show-variant": !1,
|
|
288
|
-
"menu-items": e(
|
|
288
|
+
"menu-items": e(E),
|
|
289
289
|
categories: e(C),
|
|
290
290
|
"link-item-rules": e(y),
|
|
291
291
|
"no-scheduler": r.value,
|
|
292
292
|
onSubmit: e(Y)
|
|
293
293
|
}, {
|
|
294
294
|
default: f(({ trigger: s }) => [
|
|
295
|
-
u(
|
|
295
|
+
u(I, {
|
|
296
296
|
label: e(n)("menu.products.actions.apply_scheduler"),
|
|
297
297
|
onClick: s
|
|
298
298
|
}, null, 8, ["label", "onClick"])
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as J, ref as $, computed as N, onMounted as ce, resolveComponent as A, createElementBlock as F, openBlock as y, createVNode as v, createElementVNode as f, toDisplayString as T, unref as c, Fragment as L, renderList as W, createBlock as K, watch as Ce, withCtx as E, h as B, normalizeClass as de, createCommentVNode as Q, createTextVNode as _e, mergeProps as Oe, normalizeStyle as Be, renderSlot as Te, withModifiers as te, onUnmounted as Ee } from "vue";
|
|
2
|
-
import { D as z } from "./dayjs.min-
|
|
2
|
+
import { D as z } from "./dayjs.min-BAfSpgzt.js";
|
|
3
3
|
import { useRouter as ze } from "vue-router";
|
|
4
4
|
import { O as Le, b as je } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { a as Ke, e as Ye, b as we, M as He, _ as xe, N as G, u as Ve, d as ge, F as qe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { a as Ke, e as Ye, b as we, M as He, _ as xe, N as G, u as Ve, d as ge, F as qe } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.js";
|
|
6
6
|
import { useI18n as X, useCoreStore as me, RestaurantSelector as Se } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as pe, useDialogChild as Ge, useProxiedModel as Je, useDialog as Fe, components as Z, 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-BGCDoU-0.js";
|
|
10
10
|
import { a as Xe, w as Ze } from "./tooltip-B5BiPMx9.js";
|
|
11
|
-
import { u as Me, l as et } from "./discardConfirm-
|
|
11
|
+
import { u as Me, l as et } from "./discardConfirm-ulS7oH8I.js";
|
|
12
12
|
import { _ as Pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
function Ie(D) {
|
|
14
14
|
return D ? z(D).format("DD/MM/YY HH:mm") : "-";
|
|
@@ -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 $, 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 { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-BGCDoU-0.js";
|
|
6
|
+
import { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.js";
|
|
7
7
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
8
|
import { defineStore as ce } from "pinia";
|
|
9
|
-
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as me, l as de } from "./discardConfirm-
|
|
9
|
+
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-Bdhyk7wJ.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-ulS7oH8I.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-CltVM3dM.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-BfdS-xS1.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,9 +2,9 @@ import { defineComponent as ie, createElementBlock as j, openBlock as x, normali
|
|
|
2
2
|
import { x as xn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
3
|
import { useCoreStore as wt, useI18n as Ge, useCustomAttributes as xt, 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, k as vt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Tn, k as vt } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.js";
|
|
6
6
|
import { FmButtonVariant as he, components as qn } from "@feedmepos/ui-library";
|
|
7
|
-
import { l as Kt } from "./discardConfirm-
|
|
7
|
+
import { l as Kt } from "./discardConfirm-ulS7oH8I.js";
|
|
8
8
|
import "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
9
9
|
const Jn = /* @__PURE__ */ ie({
|
|
10
10
|
__name: "FormColumn",
|
|
@@ -1893,7 +1893,7 @@ function Vo(e, t, n, r) {
|
|
|
1893
1893
|
return e.processor && (p.processor = e.processor), r.list && (p.list = r.list), r.named && (p.named = r.named), ee(r.plural) && (p.pluralIndex = r.plural), p;
|
|
1894
1894
|
}
|
|
1895
1895
|
wr();
|
|
1896
|
-
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
1896
|
+
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c2f1740a-d307-4f6a-9c65-c039f11da4c5", 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_c2f1740a-d307-4f6a-9c65-c039f11da4c5", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.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-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", 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.7.0", 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-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1885", ACTIONS_ORCHESTRATION_ID: "fec249a1-b8de-48e5-96c4-2bc581a4d45b.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: "20260816.277.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_c2f1740a-d307-4f6a-9c65-c039f11da4c5", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13445", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/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-dev.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.13/x64", GITHUB_RUN_ID: "32861336210", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d1e3d6bcb29f0c3aa569d9b709ad5a7356d6cfb7", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.6/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.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_de5a571f-bdc0-4485-a499-e3dcbefe10c4", INVOCATION_ID: "7b9e39b7cd6646928fc0cb92ca138e9e", 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: "589", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2-dev.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000121828", 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.66-dev.3", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "d1e3d6bcb29f0c3aa569d9b709ad5a7356d6cfb7", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c2f1740a-d307-4f6a-9c65-c039f11da4c5", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", 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_c2f1740a-d307-4f6a-9c65-c039f11da4c5", 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", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_c2f1740a-d307-4f6a-9c65-c039f11da4c5", 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: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", 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: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_c2f1740a-d307-4f6a-9c65-c039f11da4c5", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
1897
1897
|
const Ho = "10.0.5";
|
|
1898
1898
|
function Go() {
|
|
1899
1899
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Te().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Te().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Te().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Te().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as W, computed as y, h as p, withModifiers as E, ref as I, resolveComponent as h, createBlock as k, openBlock as c, unref as i, withCtx as _, createElementBlock as F, createVNode as f, Fragment as M, createElementVNode as s, renderList as H, toDisplayString as x, createCommentVNode as q } from "vue";
|
|
2
|
-
import { z as d, A as Y, i as Q, u as G, b as J, _ as X } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { z as d, A as Y, i as Q, u as G, b as J, _ as X } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.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-BGCDoU-0.js";
|
|
7
|
+
import { d as le, _ as se, u as re, c as ue } from "./scheduler-aKSniDdK.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 J, ref as E, computed as M, resolveComponent as y, 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 D, 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 { d as H, u as W, b as X, i as Z, g as I, h as L, _ as de, F as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { d as H, u as W, b as X, i as Z, g as I, h as L, _ as de, F as me } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.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 he, R as ye } from "./app-
|
|
7
|
+
import { _ as he, R as ye } from "./app-BGCDoU-0.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-Du5OtlE9.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__ */ J({
|
|
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 $, createTextVNode as re, toDisplayString as F } from "vue";
|
|
2
|
-
import { u as me, b as ce, F as de, i as pe, a as ve, k, d as T } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, b as ce, F as de, i as pe, a as ve, k, d as T } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.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 P, FmButtonColorThemeVariant as R, components as ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as A } 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-BfdS-xS1.js";
|
|
7
|
+
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-dKJjPwe3.js";
|
|
8
|
+
import { C as f, a as x } from "./catalogSetting-D317tpwX.js";
|
|
9
|
+
import { C as Ce } from "./catalog-B1szIMSS.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 R } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as j, 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 P, i as Y, u as J, g as Z, h as ee, _ as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { b as P, i as Y, u as J, g as Z, h as ee, _ as ce } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.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-BGCDoU-0.js";
|
|
8
8
|
import { c as de } from "./createForm-BoUQeZTd.js";
|
|
9
|
-
import { u as pe } from "./discardConfirm-
|
|
9
|
+
import { u as pe } from "./discardConfirm-ulS7oH8I.js";
|
|
10
10
|
import { c as G } from "./object-DVUNCr7w.js";
|
|
11
|
-
import { r as _e, u as ae } from "./rules-
|
|
12
|
-
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { r as _e, u as ae } from "./rules-C6WjUylO.js";
|
|
12
|
+
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-CaIv_N0Y.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-B-BBAQKK.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, i as x, g as E, h as M } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { b as v, u as w, i as x, g as E, h as M } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.js";
|
|
3
3
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as h } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as V } 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 L } from "./index-
|
|
9
|
-
import { a as O } from "./menu-
|
|
7
|
+
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-DaqAIPrd.js";
|
|
8
|
+
import { T as S, l as L } from "./index-BNCGppNp.js";
|
|
9
|
+
import { a as O } from "./menu-B-BBAQKK.js";
|
|
10
10
|
const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "flex items-center" }, F = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, D = { class: "fm-typo-en-body-md-600 font-semibold" }, H = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
12
|
setup(I) {
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
|
2
|
-
import { b as J, i as Q, u as W, g as F, h as A, d as R, a as se,
|
|
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 q, toDisplayString as B, withModifiers as G } from "vue";
|
|
2
|
+
import { b as J, i as Q, u as W, g as F, h as A, d as R, a as se, ap as H, _ as re } from "./index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.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-BGCDoU-0.js";
|
|
6
|
+
import { a as ye, l as ee, T as pe } from "./index-BNCGppNp.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-DDMkadDP.js";
|
|
10
10
|
import { defineStore as ke } from "pinia";
|
|
11
|
-
import { C as ve } from "./catalog-
|
|
11
|
+
import { C as ve } from "./catalog-B1szIMSS.js";
|
|
12
12
|
import { c as we } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
function ge(b, _, l, u) {
|
|
14
14
|
var y, p, k;
|
|
@@ -254,7 +254,7 @@ const he = ke("takeaway-manager", () => {
|
|
|
254
254
|
class: "w-full",
|
|
255
255
|
autofocus: "",
|
|
256
256
|
modelValue: i(c),
|
|
257
|
-
"onUpdate:modelValue": o[2] || (o[2] = (r) =>
|
|
257
|
+
"onUpdate:modelValue": o[2] || (o[2] = (r) => $(c) ? c.value = r : null),
|
|
258
258
|
placeholder: i(s)("menu.takeaway.table.search.placeholder")
|
|
259
259
|
}, null, 8, ["modelValue", "placeholder"])]), g("div", Ie, [(w(!0), V(L, null, ie(a.value, (r) => (w(), V("div", {
|
|
260
260
|
key: r._id,
|
|
@@ -262,7 +262,7 @@ const he = ke("takeaway-manager", () => {
|
|
|
262
262
|
onClick: () => {
|
|
263
263
|
y.value.edit && i(u).updateTakeaway(r);
|
|
264
264
|
}
|
|
265
|
-
}, [g("div", Ue, [g("p", Ke, B(r.name), 1), g("p", Me, B(`${i(H)(i(l).categorizedItems, r.usedBy).flatMap((K) => K.items).length ?? 0} items linked`), 1), g("p", Be, " Price: " + B(m.value.symbol) + B(i(z)(r.price, !1)), 1)]), y.value.delete ? (w(),
|
|
265
|
+
}, [g("div", Ue, [g("p", Ke, B(r.name), 1), g("p", Me, B(`${i(H)(i(l).categorizedItems, r.usedBy).flatMap((K) => K.items).length ?? 0} items linked`), 1), g("p", Be, " Price: " + B(m.value.symbol) + B(i(z)(r.price, !1)), 1)]), y.value.delete ? (w(), j(P, {
|
|
266
266
|
key: 0,
|
|
267
267
|
variant: i(N).Tertiary,
|
|
268
268
|
"text-color": "neutral-gray-400",
|
|
@@ -271,7 +271,7 @@ const he = ke("takeaway-manager", () => {
|
|
|
271
271
|
}, null, 8, ["variant", "onClick"])) : q("", !0)], 8, Se))), 128))])], 64)) : (w(), V("div", xe, [g("div", Ce, [g("div", Te, [I(f, {
|
|
272
272
|
autofocus: "",
|
|
273
273
|
modelValue: i(c),
|
|
274
|
-
"onUpdate:modelValue": o[0] || (o[0] = (r) =>
|
|
274
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => $(c) ? c.value = r : null),
|
|
275
275
|
placeholder: i(s)("menu.takeaway.table.search.placeholder")
|
|
276
276
|
}, null, 8, ["modelValue", "placeholder"])])]), I(me, null, {
|
|
277
277
|
default: O(() => [I(T, {
|
|
@@ -293,7 +293,7 @@ const he = ke("takeaway-manager", () => {
|
|
|
293
293
|
subtitle: i(s)("menu.takeaway.empty.subtitle"),
|
|
294
294
|
title: i(s)("menu.takeaway.empty.title")
|
|
295
295
|
}, {
|
|
296
|
-
action: O(() => [y.value.create ? (w(),
|
|
296
|
+
action: O(() => [y.value.create ? (w(), j(i(pe), {
|
|
297
297
|
key: 0,
|
|
298
298
|
"bind-to-variant": e.value,
|
|
299
299
|
action: "add",
|
|
@@ -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-Cf2AKbC7.js";
|
|
5
5
|
const C = /* @__PURE__ */ v({
|
|
6
6
|
__name: "LocaleIconBadge",
|
|
7
7
|
props: {
|