@feedmepos/mf-menu 0.32.63 → 0.32.64
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-BBbO4JIS.js → App-W8bH6kiT.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CbxSzHxq.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DvHmwIP2.js} +7 -7
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-7WuKnUmN.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-2nFIpZv4.js} +3 -3
- package/dist/{Catalog-BmegfFgh.js → Catalog-pywklogh.js} +6 -6
- package/dist/{Category-Ddyf3rse.js → Category-CLs58F_F.js} +4 -4
- package/dist/{Category-C7Ue-fUU.js → Category-UMDcymDA.js} +4 -4
- package/dist/{CookingGuide-CLgt2sOm.js → CookingGuide-Cefv83hr.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-COeFm_ww.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-C9CvjWEO.js} +1 -1
- package/dist/{Group-CRKR1Ykj.js → Group-CfxNpgp7.js} +1 -1
- package/dist/{Group-CYPqL4lj.js → Group-Ujeo9noG.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-NuuNUptx.js → Group.vue_vue_type_script_setup_true_lang-C-eZ5PGS.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B3C6VTGC.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-qTEz4XWJ.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-VtcRq2HL.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Kf10i_T2.js} +6 -6
- package/dist/{Ingredient-DRf6aqJJ.js → Ingredient-CsHbFizZ.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-Bybxf9pl.js → InventoryBinding.vue_vue_type_script_setup_true_lang-NKoRT-LI.js} +2 -2
- package/dist/{LinkProductSideSheet-HDmjKJSh.js → LinkProductSideSheet-B-Trz4a6.js} +4 -4
- package/dist/{MenuSetting-BGbL4Z6H.js → MenuSetting-BNWjJAp4.js} +7 -7
- package/dist/{OrderPacing-DF_HE2Cg.js → OrderPacing-DhKmymC7.js} +5 -5
- package/dist/{PrintRoute-CnXWRLaD.js → PrintRoute-DaIY94Ts.js} +5 -5
- package/dist/{Product-Iyo2jhYY.js → Product-SBeMVZBU.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-HVRVPZqe.js → Product.vue_vue_type_script_setup_true_lang-CDoJwAFZ.js} +13 -13
- package/dist/{ProductInternalTools-BInH19jg.js → ProductInternalTools-BAHMukHo.js} +6 -6
- package/dist/{Products-BIhb7G8B.js → Products-CvUK4ngP.js} +70 -70
- package/dist/{Publish-CKmI_Dm1.js → Publish-BqI8LP_Y.js} +4 -4
- package/dist/{Recipe-BoVvW9JJ.js → Recipe--LCvPofA.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-wMFM8TLf.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DaqG3ZEC.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-BxYsaZfB.js → RuleView.vue_vue_type_script_setup_true_lang-DsCNLIVd.js} +3 -3
- package/dist/{Scheduler-QZtG4Vyg.js → Scheduler-BkXNha9_.js} +3 -3
- package/dist/{ServingSequence-BsCeJ9tY.js → ServingSequence-DvF8yZTp.js} +3 -3
- package/dist/{Setting-C4zVAUUs.js → Setting-dfdQhacG.js} +5 -5
- package/dist/{Subcategory-Cqj_0Zcf.js → Subcategory-DoiEnCY-.js} +6 -6
- package/dist/{Takeaway-Bg_Ulvvu.js → Takeaway-CfTKoZgq.js} +1 -1
- package/dist/{Takeaway-hlLosEp5.js → Takeaway-Pyol2JIm.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-VokixlT7.js → Takeaway.vue_vue_type_script_setup_true_lang-A2Uz3Vx5.js} +10 -10
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-Cqt2GuoP.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-BAMLQtFW.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-D-gqJRTs.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-Bx6Dfb9q.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BgfluI5H.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Bex1NCnU.js} +14 -14
- package/dist/{Unit-DcXSwJZn.js → Unit-ODy76xeS.js} +2 -2
- package/dist/{Variant-B0gnJndI.js → Variant-BFUqQyub.js} +3 -3
- package/dist/{_id_-Do06Eogr.js → _id_-DQO6Zi8b.js} +9 -9
- package/dist/{app-CoLRt3Jh.js → app-BNF3d7ks.js} +1 -1
- package/dist/{app-b2SIk1B-.js → app-BNqI06Lw.js} +37 -37
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +0 -5
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +6 -3
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ProductImageField.vue.d.ts +6 -6
- package/dist/assets/{override-menu-BU4SgNGf.js → linked-status-OJYsf1K1.js} +4 -4
- package/dist/assets/{menu-export-CTANUT4c.js → menu-export-oSHHIKfH.js} +34 -34
- package/dist/assets/{linked-status-D83s5iw2.js → override-menu-BCrsilnp.js} +4 -4
- package/dist/assets/{validate-menu-C5Oth47D.js → validate-menu-CoDW8e4r.js} +3 -3
- package/dist/{catalog-D7j4_Q_e.js → catalog-BiUOGVhu.js} +1 -1
- package/dist/{catalogSetting-g3y-LVDw.js → catalogSetting-Dt03eB79.js} +1 -1
- package/dist/{currency-tR7w0ukg.js → currency-I2Plgz6g.js} +1 -1
- package/dist/{dayjs.min-D1MKpV8B.js → dayjs.min-CVgq1MI5.js} +2 -2
- package/dist/{discardConfirm-BaKm8467.js → discardConfirm-CU5H7XLz.js} +1 -1
- package/dist/{index-LnI6_0IZ.js → index-D79td5bo.js} +6 -6
- package/dist/{index-CQkYxKQd.js → index-OUaL4kl7.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-P7O7STU9.js → index.vue_vue_type_script_setup_true_lang-BJ5dPd5h.js} +3233 -3223
- package/dist/{item-43Eu4ZXr.js → item-BPryyFAB.js} +2107 -2130
- package/dist/{jszip.min-B_t4VNZS.js → jszip.min-D3CS7h7J.js} +384 -384
- package/dist/{linkProducts-8GEwo-Eo.js → linkProducts-ClCfYWFx.js} +4 -4
- package/dist/{memberPricing-DNqHrCnd.js → memberPricing-CLr-Y_7e.js} +1 -1
- package/dist/{menu-CjpQrL-3.js → menu-gBc-za7C.js} +1 -1
- package/dist/{menuV2-CiFcZLoW.js → menuV2-D7O1K9Ej.js} +3 -3
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-DXKwdyi5.js → order_pacing-DVn2Kb9a.js} +5 -5
- package/dist/{priceTier-BVEITapN.js → priceTier-33L1xIZW.js} +1 -1
- package/dist/{rules-BEYt9OD5.js → rules-C7ujXDzl.js} +3 -3
- package/dist/{scheduler-7EG7twK8.js → scheduler-Dzj2Ed1a.js} +5 -5
- package/dist/{toExcel-VC6zCquB.js → toExcel-CGOr53pl.js} +2 -2
- package/dist/{unit-C2SwnTZh.js → unit-CfREeFuX.js} +3 -3
- package/package.json +1 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ref as F, computed as h, defineComponent as G, resolveComponent as B, createBlock as I, openBlock as m, withCtx as $, createElementVNode as b, createVNode as d, unref as r, createElementBlock as w, Fragment as de, renderList as Se, createCommentVNode as M, normalizeClass as me, toDisplayString as E, withModifiers as fe, mergeModels as lt, useModel as at, renderSlot as ye, watch as ie, createTextVNode as ot, watchEffect as rt, nextTick as Me, resolveDynamicComponent as nt, onMounted as st, h as U, isRef as Le, normalizeStyle as ht } from "vue";
|
|
2
|
-
import { l as be } from "./discardConfirm-
|
|
3
|
-
import { u as Ie, o as we, a as ce, d as Ue, I as xt, Q as Ct, _ as _e } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { l as be } from "./discardConfirm-CU5H7XLz.js";
|
|
3
|
+
import { u as Ie, o as we, a as ce, d as Ue, I as xt, Q as Ct, _ as _e } from "./index.vue_vue_type_script_setup_true_lang-BJ5dPd5h.js";
|
|
4
4
|
import { useI18n as $e, useCoreStore as ze, useCustomAttributes as wt } from "@feedmepos/mf-common";
|
|
5
|
-
import { u as Ve } from "./menu-
|
|
6
|
-
import { L as qe } from "./LinkProductSideSheet-
|
|
7
|
-
import { _ as We } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as Ne, a as He } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as kt } from "./linkProducts-
|
|
10
|
-
import { f as St, o as Vt, a as Ft, m as It } from "./menuV2-
|
|
11
|
-
import { w as ut, aq as $t, ar as Re, as as Tt, B as Pt, N as At, H as Rt, at as Qe } from "./item-
|
|
5
|
+
import { u as Ve } from "./menu-gBc-za7C.js";
|
|
6
|
+
import { L as qe } from "./LinkProductSideSheet-B-Trz4a6.js";
|
|
7
|
+
import { _ as We } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DaqG3ZEC.js";
|
|
8
|
+
import { _ as Ne, a as He } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-C9CvjWEO.js";
|
|
9
|
+
import { u as kt } from "./linkProducts-ClCfYWFx.js";
|
|
10
|
+
import { f as St, o as Vt, a as Ft, m as It } from "./menuV2-D7O1K9Ej.js";
|
|
11
|
+
import { w as ut, aq as $t, ar as Re, as as Tt, B as Pt, N as At, H as Rt, at as Qe } from "./item-BPryyFAB.js";
|
|
12
12
|
import { b as Ye, H as Mt } from "./app-5fxKLAzS.js";
|
|
13
13
|
import { useBreakpoints as it, components as ee, useDialog as Ut, FmButtonColorThemeVariant as W, FmButtonVariant as X } from "@feedmepos/ui-library";
|
|
14
14
|
import { a as Oe, F as Nt } from "./index-CD_omf3p.js";
|
|
15
|
-
import { _ as De, d as Ot, e as zt } from "./app-
|
|
15
|
+
import { _ as De, d as Ot, e as zt } from "./app-BNqI06Lw.js";
|
|
16
16
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
17
|
-
import { _ as Dt } from "./index-
|
|
18
|
-
import { r as Bt, _ as Kt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { _ as Dt } from "./index-D79td5bo.js";
|
|
18
|
+
import { r as Bt, _ as Kt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Kf10i_T2.js";
|
|
19
19
|
import { _ as Ze } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
20
20
|
import { c as jt } from "./check-C9mY6LiX.js";
|
|
21
|
-
import { f as Et } from "./currency-
|
|
21
|
+
import { f as Et } from "./currency-I2Plgz6g.js";
|
|
22
22
|
import { w as Gt } from "./tooltip-B5BiPMx9.js";
|
|
23
23
|
function Lt(C, l, c = C) {
|
|
24
24
|
const n = F(!0), o = h(() => {
|
|
@@ -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-D3CS7h7J.js";
|
|
3
|
+
import { l as D } from "./discardConfirm-CU5H7XLz.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-BJ5dPd5h.js";
|
|
7
7
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as pe, a as ge } from "./menu-
|
|
9
|
-
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { aj as he, ak as ye, al as be, am as ve, an as _e } from "./item-
|
|
8
|
+
import { u as pe, a as ge } from "./menu-gBc-za7C.js";
|
|
9
|
+
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-CDoJwAFZ.js";
|
|
10
|
+
import { aj as he, ak as ye, al as be, am as ve, an as _e } from "./item-BPryyFAB.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,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as B, computed as _, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as f, createElementVNode as d, toDisplayString 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 V, A as
|
|
7
|
-
import { u as
|
|
1
|
+
import { defineComponent as B, computed as _, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as f, createElementVNode as d, toDisplayString as K, createVNode as u, createCommentVNode as w, createElementBlock as P, Fragment as U } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-CVgq1MI5.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-D3CS7h7J.js";
|
|
4
|
+
import { l as z } from "./discardConfirm-CU5H7XLz.js";
|
|
5
|
+
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Kf10i_T2.js";
|
|
6
|
+
import { h as V, A as R } from "./app-BNqI06Lw.js";
|
|
7
|
+
import { u as Z, b as Q, a as j, e as q, F as X, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-BJ5dPd5h.js";
|
|
8
8
|
import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
|
|
9
|
-
import { useDialog as te, useDialogChild as pe, useSnackbar as
|
|
9
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as oe, useBreakpoints as fe, FmButtonVariant as I, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
10
10
|
import { _ as D } 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 J } from "./LinkProductSideSheet-
|
|
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-
|
|
13
|
+
import { u as ge, a as be } from "./menu-gBc-za7C.js";
|
|
14
|
+
import { w as ye } from "./item-BPryyFAB.js";
|
|
15
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-CDoJwAFZ.js";
|
|
16
|
+
import { L as J } from "./LinkProductSideSheet-B-Trz4a6.js";
|
|
17
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Bex1NCnU.js";
|
|
18
|
+
import { u as Se } from "./linkProducts-ClCfYWFx.js";
|
|
19
|
+
import { m as he } from "./toExcel-CGOr53pl.js";
|
|
20
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: {
|
|
@@ -24,8 +24,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
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
|
|
27
|
+
setup(A) {
|
|
28
|
+
const o = A, p = _(() => o.message.replace("[[value]]", o.value)), k = W(""), n = 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, {
|
|
@@ -34,7 +34,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
34
34
|
}, {
|
|
35
35
|
default: f(() => [
|
|
36
36
|
d("div", Me, [
|
|
37
|
-
d("div", null,
|
|
37
|
+
d("div", null, K(v.description), 1),
|
|
38
38
|
d("div", { innerHTML: p.value }, null, 8, Ce),
|
|
39
39
|
d("div", null, [
|
|
40
40
|
u(M, {
|
|
@@ -52,7 +52,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
52
52
|
u(g, {
|
|
53
53
|
label: "Cancel",
|
|
54
54
|
variant: "secondary",
|
|
55
|
-
onClick: r[2] || (r[2] = (c) => e(
|
|
55
|
+
onClick: r[2] || (r[2] = (c) => e(n).close())
|
|
56
56
|
}),
|
|
57
57
|
u(g, {
|
|
58
58
|
label: "Confirm",
|
|
@@ -67,8 +67,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
67
67
|
}
|
|
68
68
|
}), $e = /* @__PURE__ */ B({
|
|
69
69
|
__name: "Migrate",
|
|
70
|
-
setup(
|
|
71
|
-
const
|
|
70
|
+
setup(A) {
|
|
71
|
+
const o = Z(), p = ee(), { isRestaurantLevelMenu: k } = p, n = oe(), { minor: h } = Q(n), v = W(!1), r = te();
|
|
72
72
|
async function M() {
|
|
73
73
|
g.value || v.value || r.open({
|
|
74
74
|
title: "Migrate to new version",
|
|
@@ -80,13 +80,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
80
80
|
}).onPrimary(async () => {
|
|
81
81
|
r.close(), await h(
|
|
82
82
|
async () => {
|
|
83
|
-
await
|
|
83
|
+
await o.migrate(), setTimeout(() => {
|
|
84
84
|
window.location.reload();
|
|
85
85
|
}, 2e3);
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
isLoading: v,
|
|
89
|
-
customId:
|
|
89
|
+
customId: o.state.menu._id,
|
|
90
90
|
message: "Migrating menu",
|
|
91
91
|
successMessage: "Migration completed"
|
|
92
92
|
}
|
|
@@ -99,12 +99,12 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
99
99
|
return null;
|
|
100
100
|
const c = p.restaurants.value;
|
|
101
101
|
if (!c.length) return "Required at least one restaurant to migrate";
|
|
102
|
-
const b = c.filter((y) => !y.posVersion || !
|
|
103
|
-
return b.length ? `Upgrade POS to V${
|
|
102
|
+
const b = c.filter((y) => !y.posVersion || !j.Pos.canUse({ feature: q.F_FEATURE.enum.menuV4, posVersion: y.posVersion }));
|
|
103
|
+
return b.length ? `Upgrade POS to V${j.Pos.minVersionToUse(q.F_FEATURE.enum.menuV4)} to use new menu: ${b.map((y) => y.profile.name).join(", ")}` : null;
|
|
104
104
|
});
|
|
105
105
|
return (x, c) => {
|
|
106
106
|
const b = F("FmSnackbar");
|
|
107
|
-
return !e(k) && !g.value && e(
|
|
107
|
+
return !e(k) && !g.value && e(o).version !== e(X).enum.v4 ? (l(), m(b, {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "!max-w-full",
|
|
110
110
|
title: "New version of menu is out now!",
|
|
@@ -116,29 +116,29 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
116
116
|
})) : w("", !0);
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
}), Ve = "/assets/menu-export-
|
|
119
|
+
}), Ve = "/assets/menu-export-oSHHIKfH.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" }, De = { class: "flex gap-8" }, et = /* @__PURE__ */ B({
|
|
120
120
|
__name: "Products",
|
|
121
|
-
setup(
|
|
122
|
-
const { t:
|
|
123
|
-
...ue.menuV4ToV3(ce(
|
|
124
|
-
_id:
|
|
125
|
-
_rev:
|
|
121
|
+
setup(A) {
|
|
122
|
+
const { t: o } = de(), p = ee(), k = Q(oe()), n = Z(), h = _(() => n.rules.item), v = ye(), r = _(() => !n.state.currentSchedulerId), { selectedCategories: M } = ge(), g = _(() => ({
|
|
123
|
+
...ue.menuV4ToV3(ce(n.state.menu)),
|
|
124
|
+
_id: n.state.menu._id,
|
|
125
|
+
_rev: n.state.menu._rev
|
|
126
126
|
})), x = _(() => {
|
|
127
|
-
const i =
|
|
128
|
-
return
|
|
127
|
+
const i = z.flatten(M.value.map((t) => t.items));
|
|
128
|
+
return z.uniqBy(i, (t) => t._id).length;
|
|
129
129
|
});
|
|
130
130
|
async function c(i, t) {
|
|
131
131
|
const a = new re();
|
|
132
132
|
for (let $ = 0; $ < i.length; $++)
|
|
133
133
|
a.file(`${t[$]}.xlsx`, i[$]);
|
|
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
|
-
if (await
|
|
141
|
-
const i =
|
|
140
|
+
if (await n.readMenu(), n.version === X.enum.v4) {
|
|
141
|
+
const i = n.state.menu, t = T().format("DD-MM-YYYY_HH-mm"), a = [
|
|
142
142
|
`menu_${t}`,
|
|
143
143
|
`addonGroup_${t}`,
|
|
144
144
|
`itemLinkedAddon_${t}`,
|
|
@@ -148,12 +148,12 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
148
148
|
JSON.stringify({
|
|
149
149
|
menu: i,
|
|
150
150
|
attributeSettings: p.itemAttributeSettings.value,
|
|
151
|
-
localizationKeys:
|
|
151
|
+
localizationKeys: n.state.featureFlags.supportedLocales
|
|
152
152
|
})
|
|
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,
|
|
@@ -162,45 +162,45 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
|
-
{ successMessage: "Menu exported", customId:
|
|
165
|
+
{ successMessage: "Menu exported", customId: n.state.menu._id }
|
|
166
166
|
);
|
|
167
167
|
}
|
|
168
168
|
const {
|
|
169
|
-
menuItems:
|
|
169
|
+
menuItems: E,
|
|
170
170
|
categories: C,
|
|
171
171
|
linkItemRules: y,
|
|
172
|
-
handleSubmit:
|
|
173
|
-
catalogManager:
|
|
174
|
-
schedulerManager:
|
|
175
|
-
} = Se(!1),
|
|
172
|
+
handleSubmit: Y,
|
|
173
|
+
catalogManager: N,
|
|
174
|
+
schedulerManager: H
|
|
175
|
+
} = Se(!1), ne = fe(), ae = _(() => ne.breakpoints.value.xs), se = _(() => {
|
|
176
176
|
var a;
|
|
177
177
|
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
178
178
|
action: V.Action.manage,
|
|
179
179
|
subject: V.Subject.Business.menu_menuManagement
|
|
180
180
|
};
|
|
181
|
-
return
|
|
181
|
+
return R([t], i).granted;
|
|
182
182
|
}), L = _(() => {
|
|
183
183
|
var a;
|
|
184
184
|
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
185
185
|
action: V.Action.manage,
|
|
186
186
|
subject: V.Subject.Business.menu_importExport
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return R([t], i).granted;
|
|
189
189
|
});
|
|
190
190
|
return be().resetOnMount(), (i, t) => {
|
|
191
191
|
const a = F("fm-button");
|
|
192
192
|
return l(), m(ve, {
|
|
193
|
-
heading: e(
|
|
193
|
+
heading: e(o)("menu.products.title")
|
|
194
194
|
}, {
|
|
195
195
|
default: f(() => [
|
|
196
196
|
u($e),
|
|
197
197
|
u(ke)
|
|
198
198
|
]),
|
|
199
199
|
"append-heading": f(() => [
|
|
200
|
-
d("div",
|
|
201
|
-
d("div",
|
|
202
|
-
d("div",
|
|
203
|
-
d("p", Ie,
|
|
200
|
+
d("div", Ae, [
|
|
201
|
+
d("div", Ee, [
|
|
202
|
+
d("div", Te, [
|
|
203
|
+
d("p", Ie, K(x.value), 1)
|
|
204
204
|
])
|
|
205
205
|
]),
|
|
206
206
|
d("div", De, [
|
|
@@ -209,11 +209,11 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
209
209
|
u(_e, null, {
|
|
210
210
|
default: f(() => [
|
|
211
211
|
u(O, {
|
|
212
|
-
label: e(
|
|
212
|
+
label: e(o)("menu.products.actions.export"),
|
|
213
213
|
onClick: b
|
|
214
214
|
}, null, 8, ["label"]),
|
|
215
215
|
u(O, {
|
|
216
|
-
label: e(
|
|
216
|
+
label: e(o)("menu.products.actions.import"),
|
|
217
217
|
onClick: s
|
|
218
218
|
}, null, 8, ["label", "onClick"])
|
|
219
219
|
]),
|
|
@@ -221,11 +221,11 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
221
221
|
}, 1024)
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
224
|
-
})) : (l(), P(
|
|
224
|
+
})) : (l(), P(U, { key: 0 }, [
|
|
225
225
|
se.value ? (l(), m(xe, { key: 0 }, {
|
|
226
226
|
default: f(({ trigger: s }) => [
|
|
227
227
|
u(a, {
|
|
228
|
-
label: e(
|
|
228
|
+
label: e(o)("menu.tree_editor.title"),
|
|
229
229
|
"bg-color": e(S).NeutralGray100,
|
|
230
230
|
"text-color": e(S).TypoSecondary,
|
|
231
231
|
variant: e(I).Primary,
|
|
@@ -239,7 +239,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
239
239
|
"bg-color": e(S).NeutralGray100,
|
|
240
240
|
"text-color": e(S).TypoSecondary,
|
|
241
241
|
variant: e(I).Primary,
|
|
242
|
-
label: e(
|
|
242
|
+
label: e(o)("menu.products.actions.export"),
|
|
243
243
|
onClick: b
|
|
244
244
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
|
|
245
245
|
L.value ? (l(), m(G, { key: 2 }, {
|
|
@@ -248,33 +248,33 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
248
248
|
"bg-color": e(S).NeutralGray100,
|
|
249
249
|
"text-color": e(S).TypoSecondary,
|
|
250
250
|
variant: e(I).Primary,
|
|
251
|
-
label: e(
|
|
251
|
+
label: e(o)("menu.products.actions.import"),
|
|
252
252
|
onClick: s
|
|
253
253
|
}, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
|
|
254
254
|
]),
|
|
255
255
|
_: 1
|
|
256
256
|
})) : w("", !0)
|
|
257
257
|
], 64)),
|
|
258
|
-
x.value > 0 ? (l(), P(
|
|
258
|
+
x.value > 0 ? (l(), P(U, { key: 2 }, [
|
|
259
259
|
h.value.create ? (l(), m(D, {
|
|
260
260
|
key: 0,
|
|
261
|
-
label: e(
|
|
261
|
+
label: e(o)("menu.products.actions.add"),
|
|
262
262
|
"prepend-icon": "add",
|
|
263
263
|
onClick: t[0] || (t[0] = (s) => e(v).create(null))
|
|
264
264
|
}, null, 8, ["label"])) : r.value ? (l(), m(J, {
|
|
265
265
|
key: 1,
|
|
266
|
-
"categorized-items": e(
|
|
267
|
-
"initial-value": e(
|
|
266
|
+
"categorized-items": e(N).linkableItems.value,
|
|
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
|
-
onSubmit: e(
|
|
273
|
+
onSubmit: e(Y)
|
|
274
274
|
}, {
|
|
275
275
|
default: f(({ trigger: s }) => [
|
|
276
276
|
u(D, {
|
|
277
|
-
label: e(
|
|
277
|
+
label: e(o)("menu.products.actions.link"),
|
|
278
278
|
"prepend-icon": "link",
|
|
279
279
|
onClick: s
|
|
280
280
|
}, null, 8, ["label", "onClick"])
|
|
@@ -282,18 +282,18 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
282
282
|
_: 1
|
|
283
283
|
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(J, {
|
|
284
284
|
key: 2,
|
|
285
|
-
"categorized-items": e(
|
|
286
|
-
"initial-value": e(
|
|
285
|
+
"categorized-items": e(H).linkableItems.value,
|
|
286
|
+
"initial-value": e(H).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
|
-
onSubmit: e(
|
|
292
|
+
onSubmit: e(Y)
|
|
293
293
|
}, {
|
|
294
294
|
default: f(({ trigger: s }) => [
|
|
295
295
|
u(D, {
|
|
296
|
-
label: e(
|
|
296
|
+
label: e(o)("menu.products.actions.apply_scheduler"),
|
|
297
297
|
onClick: s
|
|
298
298
|
}, null, 8, ["label", "onClick"])
|
|
299
299
|
]),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as J, ref as M, computed as A, 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 E, 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 z } from "./dayjs.min-
|
|
2
|
+
import { D as z } from "./dayjs.min-CVgq1MI5.js";
|
|
3
3
|
import { useRouter as Ee } from "vue-router";
|
|
4
4
|
import { O as ze, b as Le } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { a as je, e as Ke, b as Ce, M as Ye, _ as we, N as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { a as je, e as Ke, b as Ce, M as Ye, _ as we, N as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-BJ5dPd5h.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 qe, useProxiedModel as Ge, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as Je } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as We } from "./app-
|
|
9
|
+
import { _ as We } from "./app-BNqI06Lw.js";
|
|
10
10
|
import { a as Qe, w as Xe } from "./tooltip-B5BiPMx9.js";
|
|
11
|
-
import { u as Fe, l as Ze } from "./discardConfirm-
|
|
11
|
+
import { u as Fe, l as Ze } from "./discardConfirm-CU5H7XLz.js";
|
|
12
12
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
function Me(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-BNqI06Lw.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-BJ5dPd5h.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-NKoRT-LI.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-CU5H7XLz.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-CfREeFuX.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-DsCNLIVd.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 bt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Tn, k as bt } from "./index.vue_vue_type_script_setup_true_lang-BJ5dPd5h.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-CU5H7XLz.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_68446763-1ae5-4b0a-ab6b-49facfe19267", 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_68446763-1ae5-4b0a-ab6b-49facfe19267", 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.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-zzez732dna-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin", SYSTEMD_EXEC_PID: "1673", ACTIONS_ORCHESTRATION_ID: "29d66a3b-94ab-43df-985a-4328670e5fe5.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: "20260810.271.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_68446763-1ae5-4b0a-ab6b-49facfe19267", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12483", 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.12/x64", GITHUB_RUN_ID: "32147622358", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapi.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a7d5028e704b4f1b86df60c12c78c0b15f6c3481", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/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_472ef78e-07ab-4fba-a5a8-6bf01b5fb08d", INVOCATION_ID: "be00f078cb9649f7b00c10c32e1604c2", 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: "180", GITHUB_TRIGGERING_ACTOR: "heiseshandian", 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 1000114262", 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.64", 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: "a7d5028e704b4f1b86df60c12c78c0b15f6c3481", 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: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_68446763-1ae5-4b0a-ab6b-49facfe19267", 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_68446763-1ae5-4b0a-ab6b-49facfe19267", 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_68446763-1ae5-4b0a-ab6b-49facfe19267", 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_68446763-1ae5-4b0a-ab6b-49facfe19267", 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-BJ5dPd5h.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-BNqI06Lw.js";
|
|
7
|
+
import { d as le, _ as se, u as re, c as ue } from "./scheduler-Dzj2Ed1a.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-BJ5dPd5h.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-BNqI06Lw.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-BNF3d7ks.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-BJ5dPd5h.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-DsCNLIVd.js";
|
|
7
|
+
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-qTEz4XWJ.js";
|
|
8
|
+
import { C as f, a as x } from "./catalogSetting-Dt03eB79.js";
|
|
9
|
+
import { C as Ce } from "./catalog-BiUOGVhu.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-BJ5dPd5h.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-BNqI06Lw.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-CU5H7XLz.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-C7ujXDzl.js";
|
|
12
|
+
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-Bx6Dfb9q.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-gBc-za7C.js";
|
|
17
17
|
const be = {
|
|
18
18
|
class: "fm-typo-en-title-md-600"
|
|
19
19
|
}, he = {
|