@feedmepos/mf-menu 0.32.38 → 0.32.39
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-CONXGagS.js → App-Dg5GweBn.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DS_gQ7_2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DliryTNe.js} +3 -3
- package/dist/{Catalog-DqGqLNN2.js → Catalog-Cb66nkUU.js} +6 -6
- package/dist/{Category-Brn_eOxZ.js → Category-CPFnvBBy.js} +4 -4
- package/dist/{Category-DlvKgR7e.js → Category-Cfd8CPSx.js} +4 -4
- package/dist/{CookingGuide-DvsYJxXb.js → CookingGuide-DSHWh9Gt.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CoAJkdZX.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DaCFX7KY.js} +1 -1
- package/dist/{Group-CeOonB-B.js → Group-CULwhVe7.js} +3 -3
- package/dist/{Group-BTdbQ303.js → Group-DMmXyHKE.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-WW3jF2A7.js → Group.vue_vue_type_script_setup_true_lang-BPXbprJG.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Btb2BTqb.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-7y3GRcrl.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DLswQZTA.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BrMdia8X.js} +6 -6
- package/dist/{Ingredient-DNVMZVrz.js → Ingredient-BTeAgBic.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BBjjgCDV.js → InventoryBinding.vue_vue_type_script_setup_true_lang-B373qMOc.js} +2 -2
- package/dist/{LinkProductSideSheet-1ZQVQTG_.js → LinkProductSideSheet-BQC5B7VR.js} +3 -3
- package/dist/{MenuSetting-CTCx0oeP.js → MenuSetting-QrTjKewy.js} +5 -5
- package/dist/{PrintRoute-CZcDiXfi.js → PrintRoute-Cw_fjZuS.js} +4 -4
- package/dist/{Product-XtB1aNsr.js → Product-TfZZCFxL.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-vf14Uzzm.js → Product.vue_vue_type_script_setup_true_lang-Cf02oa8B.js} +12 -12
- package/dist/{ProductInternalTools-DY1Np_PQ.js → ProductInternalTools--2ISZa9C.js} +5 -5
- package/dist/{Products-DQorirQ3.js → Products-CU17YbjY.js} +58 -58
- package/dist/{Publish-Bv6Yiafq.js → Publish-C92_8tJc.js} +3 -3
- package/dist/{Recipe-BDjd8TQg.js → Recipe-rN_AUIzI.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DLMPV1-F.js → RuleView.vue_vue_type_script_setup_true_lang-Be33vMlU.js} +2 -2
- package/dist/{Scheduler-XTwUJH8U.js → Scheduler-udXY9Nxw.js} +3 -3
- package/dist/{ServingSequence-BujAc7xS.js → ServingSequence-lqstj5IH.js} +3 -3
- package/dist/{Setting-BUovlSPt.js → Setting-C8hhG68F.js} +5 -5
- package/dist/{Subcategory-BWZdguIR.js → Subcategory-BSAn0r8r.js} +5 -5
- package/dist/{Takeaway-CGGaO_dh.js → Takeaway-BNXBkxY3.js} +4 -4
- package/dist/{Takeaway-Doy30uHo.js → Takeaway-_ZUqMNYd.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Iy2ZwQf_.js → Takeaway.vue_vue_type_script_setup_true_lang-DpIu-F5W.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CY9TyaLG.js → Thumbnail.vue_vue_type_script_setup_true_lang-D7Rx1dQ0.js} +4 -4
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DiGAs3Gd.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-C9byidEd.js} +1 -1
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CZq5WTEG.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-blAi_T2i.js} +1507 -1505
- package/dist/{Unit-Bl0DBmQ3.js → Unit-Cb5D0Twk.js} +2 -2
- package/dist/{Variant-DgUxTOkz.js → Variant-CFwv2HLG.js} +3 -3
- package/dist/{_id_-BqediDNk.js → _id_-DfRWmsAf.js} +9 -9
- package/dist/{app-DAPQhgfg.js → app-CEN10-4D.js} +1 -1
- package/dist/{app-BVB_5Ks2.js → app-H7J5uHZg.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-CupfG8qX.js → linked-status-D22Wz7QM.js} +2 -2
- package/dist/assets/{menu-export-CL6U9A01.js → menu-export-B_zRmLzS.js} +2 -2
- package/dist/assets/{override-menu-K_rFGpIx.js → override-menu-96YpbKTz.js} +2 -2
- package/dist/assets/{validate-menu-Dr7DxB6L.js → validate-menu-D4jvSNmz.js} +2 -2
- package/dist/{catalog-8-hugI0j.js → catalog-CTuBk61t.js} +1 -1
- package/dist/{catalogSetting-BWa1ZTnY.js → catalogSetting-DKVNY3JC.js} +1 -1
- package/dist/{currency-B59CBSWJ.js → currency--QAX2jgM.js} +1 -1
- package/dist/{dayjs.min-D1xLv5bP.js → dayjs.min-Dyhv-966.js} +1 -1
- package/dist/{index-wA29dyse.js → index-CCM6nQtW.js} +1 -1
- package/dist/{index-DIXBx1sl.js → index-IWdfpOvK.js} +5 -5
- package/dist/{index-ChzxrjXq.js → index-ulGt0shB.js} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-CZJpW7cW.js → index.vue_vue_type_script_setup_true_lang-90aRfAsI.js} +83 -83
- package/dist/{item-Fu9YmyOy.js → item-CKij6BhH.js} +1818 -1815
- package/dist/{jszip.min-qs5Z6KRL.js → jszip.min-C-AOVv_w.js} +383 -383
- package/dist/{menu-CoqhBDql.js → menu-CX5qZa4q.js} +1 -1
- package/dist/{menuV2-CnCDR__p.js → menuV2-CgfWTiZp.js} +78 -78
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-BvG_RNTn.js → priceTier-CKw6yKzC.js} +1 -1
- package/dist/{rules-Av0lxCL-.js → rules-CoyaaNMj.js} +3 -3
- package/dist/{scheduler-CrvDOlmc.js → scheduler-CbytS4GA.js} +4 -4
- package/dist/{toExcel-CnzBt_4W.js → toExcel-1Ir0pgiS.js} +2 -2
- package/dist/{unit-h28_cadr.js → unit-DQOMjCVi.js} +2 -2
- package/package.json +1 -1
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { defineComponent as E, computed as g, ref as j, resolveComponent as M, createBlock as y, openBlock as m, unref as e, withCtx as c, createElementVNode as i, toDisplayString as q, createVNode as o, createCommentVNode as G, createElementBlock as
|
|
2
|
-
import { D as F } from "./dayjs.min-
|
|
3
|
-
import { J as oe, F as ne } from "./jszip.min-
|
|
4
|
-
import { u as J, G as W, B as R, H as
|
|
5
|
-
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as E, computed as g, ref as j, resolveComponent as M, createBlock as y, openBlock as m, unref as e, withCtx as c, createElementVNode as i, toDisplayString as q, createVNode as o, createCommentVNode as G, createElementBlock as A, Fragment as P } from "vue";
|
|
2
|
+
import { D as F } from "./dayjs.min-Dyhv-966.js";
|
|
3
|
+
import { J as oe, F as ne } from "./jszip.min-C-AOVv_w.js";
|
|
4
|
+
import { u as J, G as W, B as R, H as z, A as Z, D as ae, I as re, J as H, K as se } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
5
|
+
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BrMdia8X.js";
|
|
6
6
|
import { useCoreStore as K, useI18n as le } from "@feedmepos/mf-common";
|
|
7
|
-
import { useDialog as Q, useDialogChild as ue, useSnackbar as X, useBreakpoints as ce, FmButtonVariant as $, FmButtonColorThemeVariant as
|
|
7
|
+
import { useDialog as Q, useDialogChild as ue, useSnackbar as X, useBreakpoints as ce, FmButtonVariant as $, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
9
|
import { _ as me, a as L } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
10
10
|
import { _ as de } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
|
-
import { u as pe, a as
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { L as O } from "./LinkProductSideSheet-
|
|
15
|
-
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { m as ye } from "./toExcel-
|
|
18
|
-
const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"],
|
|
11
|
+
import { u as pe, a as _e } from "./menu-CX5qZa4q.js";
|
|
12
|
+
import { u as fe } from "./item-CKij6BhH.js";
|
|
13
|
+
import { _ as U, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-Cf02oa8B.js";
|
|
14
|
+
import { L as O } from "./LinkProductSideSheet-BQC5B7VR.js";
|
|
15
|
+
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-blAi_T2i.js";
|
|
16
|
+
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-D7Rx1dQ0.js";
|
|
17
|
+
import { m as ye } from "./toExcel-1Ir0pgiS.js";
|
|
18
|
+
const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "flex justify-end gap-8" }, he = /* @__PURE__ */ E({
|
|
19
19
|
__name: "ConfirmActionDialog",
|
|
20
20
|
props: {
|
|
21
21
|
description: {},
|
|
22
22
|
value: {},
|
|
23
23
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const t =
|
|
25
|
+
setup(C) {
|
|
26
|
+
const t = C, h = g(() => t.message.replace("[[value]]", t.value)), k = j(""), r = Q(), { emitAction: x } = ue();
|
|
27
27
|
return (d, s) => {
|
|
28
|
-
const p = M("FmTextField"),
|
|
29
|
-
return m(), y(
|
|
28
|
+
const p = M("FmTextField"), _ = M("FmButton"), f = M("FmForm");
|
|
29
|
+
return m(), y(f, {
|
|
30
30
|
"on-validation-success": () => e(x)("primary"),
|
|
31
31
|
"blame-form-child-on-validation-failed": ""
|
|
32
32
|
}, {
|
|
33
33
|
default: c(() => [
|
|
34
34
|
i("div", ke, [
|
|
35
35
|
i("div", null, q(d.description), 1),
|
|
36
|
-
i("div", { innerHTML:
|
|
36
|
+
i("div", { innerHTML: h.value }, null, 8, xe),
|
|
37
37
|
i("div", null, [
|
|
38
38
|
o(p, {
|
|
39
39
|
modelValue: k.value,
|
|
@@ -46,13 +46,13 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
46
46
|
rules: [(l) => l === d.value || "Value does not match"]
|
|
47
47
|
}, null, 8, ["modelValue", "placeholder", "rules"])
|
|
48
48
|
]),
|
|
49
|
-
i("div",
|
|
50
|
-
o(
|
|
49
|
+
i("div", Se, [
|
|
50
|
+
o(_, {
|
|
51
51
|
label: "Cancel",
|
|
52
52
|
variant: "secondary",
|
|
53
53
|
onClick: s[2] || (s[2] = (l) => e(r).close())
|
|
54
54
|
}),
|
|
55
|
-
o(
|
|
55
|
+
o(_, {
|
|
56
56
|
label: "Confirm",
|
|
57
57
|
type: "submit"
|
|
58
58
|
})
|
|
@@ -65,12 +65,12 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
65
65
|
}
|
|
66
66
|
}), Me = /* @__PURE__ */ E({
|
|
67
67
|
__name: "Migrate",
|
|
68
|
-
setup(
|
|
69
|
-
const t = J(),
|
|
68
|
+
setup(C) {
|
|
69
|
+
const t = J(), h = K(), k = X(), { minor: r } = W(k), x = j(!1), d = Q();
|
|
70
70
|
async function s() {
|
|
71
71
|
p.value || x.value || d.open({
|
|
72
72
|
title: "Migrate to new version",
|
|
73
|
-
contentComponent:
|
|
73
|
+
contentComponent: he,
|
|
74
74
|
contentComponentProps: {
|
|
75
75
|
value: "MIGRATE",
|
|
76
76
|
description: "Do you want to migrate to new version? Once migrate it will unable to revert to the older version."
|
|
@@ -92,12 +92,12 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
const p = g(() => {
|
|
95
|
-
const
|
|
96
|
-
if (!
|
|
97
|
-
const
|
|
98
|
-
return
|
|
95
|
+
const _ = h.restaurants.value;
|
|
96
|
+
if (!_.length) return "Required at least one restaurant to migrate";
|
|
97
|
+
const f = _.filter((b) => !b.posVersion || !R.Pos.canUse({ feature: z.F_FEATURE.enum.menuV4, posVersion: b.posVersion }));
|
|
98
|
+
return f.length ? `Upgrade POS to V${R.Pos.minVersionToUse(z.F_FEATURE.enum.menuV4)} to use new menu: ${f.map((b) => b.profile.name).join(", ")}` : null;
|
|
99
99
|
});
|
|
100
|
-
return g(() => p.value ? p.value : "Migrate your menu to new version to enjoy more features. Content of new menu will remain the same as current."), (
|
|
100
|
+
return g(() => p.value ? p.value : "Migrate your menu to new version to enjoy more features. Content of new menu will remain the same as current."), (_, f) => {
|
|
101
101
|
const l = M("FmSnackbar");
|
|
102
102
|
return !p.value && e(t).version !== e(Z.F_MENU_VERSION).enum.v4 ? (m(), y(l, {
|
|
103
103
|
key: 0,
|
|
@@ -111,21 +111,21 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
111
111
|
})) : G("", !0);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}),
|
|
114
|
+
}), we = "/assets/menu-export-B_zRmLzS.js", Ce = { class: "flex-1 flex justify-between gap-8 pl-8" }, Fe = { class: "flex items-center" }, $e = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ve = { class: "fm-typo-en-body-md-600 font-semibold" }, Ee = { class: "flex gap-8" }, Je = /* @__PURE__ */ E({
|
|
115
115
|
__name: "Products",
|
|
116
|
-
setup(
|
|
117
|
-
const { t } = le(),
|
|
116
|
+
setup(C) {
|
|
117
|
+
const { t } = le(), h = K(), k = W(X()), r = J(), x = g(() => r.rules.item), d = fe(), s = g(() => !r.state.currentSchedulerId), { selectedCategories: p } = pe(), _ = g(() => ({
|
|
118
118
|
...ae.menuV4ToV3(re(r.state.menu)),
|
|
119
119
|
_id: r.state.menu._id,
|
|
120
120
|
_rev: r.state.menu._rev
|
|
121
|
-
})),
|
|
121
|
+
})), f = g(() => {
|
|
122
122
|
const u = H.flatten(p.value.map((n) => n.items));
|
|
123
123
|
return H.uniqBy(u, (n) => n._id).length;
|
|
124
124
|
});
|
|
125
125
|
async function l(u, n) {
|
|
126
126
|
const v = new oe();
|
|
127
|
-
for (let
|
|
128
|
-
v.file(`${n[
|
|
127
|
+
for (let w = 0; w < u.length; w++)
|
|
128
|
+
v.file(`${n[w]}.xlsx`, u[w]);
|
|
129
129
|
const a = await v.generateAsync({ type: "blob" });
|
|
130
130
|
ne.saveAs(a, `books_${F().format("DD-MM-YYYY_HH-mm")}.zip`);
|
|
131
131
|
}
|
|
@@ -138,15 +138,15 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
138
138
|
`addonGroup_${n}`,
|
|
139
139
|
`itemLinkedAddon_${n}`
|
|
140
140
|
], a = await se(
|
|
141
|
-
|
|
141
|
+
we,
|
|
142
142
|
JSON.stringify({
|
|
143
143
|
menu: u,
|
|
144
|
-
attributeSettings:
|
|
144
|
+
attributeSettings: h.itemAttributeSettings.value
|
|
145
145
|
})
|
|
146
146
|
);
|
|
147
147
|
await l(a, v);
|
|
148
148
|
} else {
|
|
149
|
-
const u = ye(
|
|
149
|
+
const u = ye(_.value), n = `menu_${F().format("DD-MM-YYYY_HH-mm")}`;
|
|
150
150
|
await ie(u, `${n}.xlsx`, {
|
|
151
151
|
bookType: "xlsx",
|
|
152
152
|
bookSST: !0,
|
|
@@ -163,10 +163,10 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
163
163
|
categories: I,
|
|
164
164
|
linkItemRules: D,
|
|
165
165
|
handleSubmit: N,
|
|
166
|
-
catalogManager:
|
|
167
|
-
schedulerManager:
|
|
166
|
+
catalogManager: B,
|
|
167
|
+
schedulerManager: Y
|
|
168
168
|
} = be(!1), ee = ce(), te = g(() => ee.breakpoints.value.xs);
|
|
169
|
-
return
|
|
169
|
+
return _e().resetOnMount(), (u, n) => {
|
|
170
170
|
const v = M("fm-button");
|
|
171
171
|
return m(), y(de, {
|
|
172
172
|
heading: e(t)("menu.products.title")
|
|
@@ -176,14 +176,14 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
176
176
|
o(ve)
|
|
177
177
|
]),
|
|
178
178
|
"append-heading": c(() => [
|
|
179
|
-
i("div",
|
|
179
|
+
i("div", Ce, [
|
|
180
180
|
i("div", Fe, [
|
|
181
181
|
i("div", $e, [
|
|
182
|
-
i("p", Ve, q(
|
|
182
|
+
i("p", Ve, q(f.value), 1)
|
|
183
183
|
])
|
|
184
184
|
]),
|
|
185
185
|
i("div", Ee, [
|
|
186
|
-
te.value ? (m(), y(
|
|
186
|
+
te.value ? (m(), y(U, { key: 1 }, {
|
|
187
187
|
default: c(({ trigger: a }) => [
|
|
188
188
|
o(me, null, {
|
|
189
189
|
default: c(() => [
|
|
@@ -200,13 +200,13 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
200
200
|
}, 1024)
|
|
201
201
|
]),
|
|
202
202
|
_: 1
|
|
203
|
-
})) : (m(),
|
|
203
|
+
})) : (m(), A(P, { key: 0 }, [
|
|
204
204
|
o(ge, null, {
|
|
205
205
|
default: c(({ trigger: a }) => [
|
|
206
206
|
o(v, {
|
|
207
207
|
label: e(t)("menu.tree_editor.title"),
|
|
208
|
-
"bg-color": e(
|
|
209
|
-
"text-color": e(
|
|
208
|
+
"bg-color": e(S).NeutralGray100,
|
|
209
|
+
"text-color": e(S).TypoSecondary,
|
|
210
210
|
variant: e($).Primary,
|
|
211
211
|
onClick: a
|
|
212
212
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
@@ -214,17 +214,17 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
214
214
|
_: 1
|
|
215
215
|
}),
|
|
216
216
|
o(v, {
|
|
217
|
-
"bg-color": e(
|
|
218
|
-
"text-color": e(
|
|
217
|
+
"bg-color": e(S).NeutralGray100,
|
|
218
|
+
"text-color": e(S).TypoSecondary,
|
|
219
219
|
variant: e($).Primary,
|
|
220
220
|
label: e(t)("menu.products.actions.export"),
|
|
221
221
|
onClick: b
|
|
222
222
|
}, null, 8, ["bg-color", "text-color", "variant", "label"]),
|
|
223
|
-
o(
|
|
223
|
+
o(U, null, {
|
|
224
224
|
default: c(({ trigger: a }) => [
|
|
225
225
|
o(v, {
|
|
226
|
-
"bg-color": e(
|
|
227
|
-
"text-color": e(
|
|
226
|
+
"bg-color": e(S).NeutralGray100,
|
|
227
|
+
"text-color": e(S).TypoSecondary,
|
|
228
228
|
variant: e($).Primary,
|
|
229
229
|
label: e(t)("menu.products.actions.import"),
|
|
230
230
|
onClick: a
|
|
@@ -233,7 +233,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
233
233
|
_: 1
|
|
234
234
|
})
|
|
235
235
|
], 64)),
|
|
236
|
-
|
|
236
|
+
f.value > 0 ? (m(), A(P, { key: 2 }, [
|
|
237
237
|
x.value.create ? (m(), y(V, {
|
|
238
238
|
key: 0,
|
|
239
239
|
label: e(t)("menu.products.actions.add"),
|
|
@@ -241,8 +241,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
241
241
|
onClick: n[0] || (n[0] = (a) => e(d).create(null))
|
|
242
242
|
}, null, 8, ["label"])) : s.value ? (m(), y(O, {
|
|
243
243
|
key: 1,
|
|
244
|
-
"categorized-items": e(
|
|
245
|
-
"initial-value": e(
|
|
244
|
+
"categorized-items": e(B).linkableItems.value,
|
|
245
|
+
"initial-value": e(B).currentItems.value,
|
|
246
246
|
"show-variant": !1,
|
|
247
247
|
"menu-items": e(T),
|
|
248
248
|
categories: e(I),
|
|
@@ -260,8 +260,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
260
260
|
_: 1
|
|
261
261
|
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(O, {
|
|
262
262
|
key: 2,
|
|
263
|
-
"categorized-items": e(
|
|
264
|
-
"initial-value": e(
|
|
263
|
+
"categorized-items": e(Y).linkableItems.value,
|
|
264
|
+
"initial-value": e(Y).currentItems.value,
|
|
265
265
|
"show-variant": !1,
|
|
266
266
|
"menu-items": e(T),
|
|
267
267
|
categories: e(I),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as G, ref as M, computed as R, onMounted as ie, resolveComponent as $, createElementBlock as V, openBlock as y, createVNode as h, createElementVNode as f, toDisplayString as L, unref as p, Fragment as j, renderList as Q, createBlock as Y, watch as de, withCtx as E, h as T, normalizeClass as re, createCommentVNode as X, createTextVNode as me, mergeProps as $e, normalizeStyle as Ae, renderSlot as Ue, withModifiers as te, onUnmounted as Be } from "vue";
|
|
2
|
-
import { D as z } from "./dayjs.min-
|
|
2
|
+
import { D as z } from "./dayjs.min-Dyhv-966.js";
|
|
3
3
|
import { useRouter as De } from "vue-router";
|
|
4
4
|
import { O as Oe, b as Te } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { B as Ne, H as Re, G as ve, ac as Ee, a4 as be, A as q, u as _e, I as pe, J as Le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as Ne, H as Re, G as ve, ac as Ee, a4 as be, A as q, u as _e, I as pe, J as Le } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as ge, RestaurantSelector as ye } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as ce, useDialogChild as ze, useProxiedModel as je, useDialog as ke, FmButtonVariant as fe, components as W } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as He } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Ce } from "./app-
|
|
9
|
+
import { _ as Ce } from "./app-H7J5uHZg.js";
|
|
10
10
|
import { a as Ye, w as Je } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as we } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as w, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as U } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as A, components as j, useDialog as ne, FmButtonVariant as G, 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 { Q as q, G as $, I as ie, D as P, J as se, H as Y, M as O, A as T, u as H, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-H7J5uHZg.js";
|
|
6
|
+
import { Q as q, G as $, I as ie, D as P, J as se, H as Y, M as O, A as T, u as H, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
8
8
|
import { defineStore as ue } from "pinia";
|
|
9
|
-
import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-B373qMOc.js";
|
|
10
10
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-DQOMjCVi.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",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as ie, createElementBlock as Y, openBlock as x, normali
|
|
|
2
2
|
import { x as xn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
3
|
import { useCoreStore as Dt, useI18n as Ge, useCustomAttributes as Bt, EMPTY_RULE as Yn, isEmptyMongoQuery as jn, isEmptyRule as Xn } from "@feedmepos/mf-common";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { u as Tn, J as xt, A as bt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Tn, J as xt, A as bt } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
6
6
|
import { FmButtonVariant as Fe, components as qn } from "@feedmepos/ui-library";
|
|
7
7
|
const Jn = /* @__PURE__ */ ie({
|
|
8
8
|
__name: "FormColumn",
|
|
@@ -1891,7 +1891,7 @@ function Vo(e, t, n, r) {
|
|
|
1891
1891
|
return e.processor && (E.processor = e.processor), r.list && (E.list = r.list), r.named && (E.named = r.named), ee(r.plural) && (E.pluralIndex = r.plural), E;
|
|
1892
1892
|
}
|
|
1893
1893
|
wr();
|
|
1894
|
-
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
1894
|
+
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ebc794b2-8688-4a89-8a36-efd5fe7dab70", 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_ebc794b2-8688-4a89-8a36-efd5fe7dab70", 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", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", 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.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", 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: "1872", ACTIONS_ORCHESTRATION_ID: "6633702b-ff34-48da-960c-eb06cfa1ad4c.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: "20260413.86.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:14700", 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.9/x64", GITHUB_RUN_ID: "25096694911", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapi.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a4e779c87763f699b37724b8cd0a5cc602f25407", 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_937457dc-5a4a-4537-a85a-d8f60215519e", INVOCATION_ID: "4dcb6b778d5a49c4b8c1a08c3c9a6e7d", 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: "161", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000064473", 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.39", 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: "a4e779c87763f699b37724b8cd0a5cc602f25407", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ebc794b2-8688-4a89-8a36-efd5fe7dab70", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ebc794b2-8688-4a89-8a36-efd5fe7dab70", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", 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_ebc794b2-8688-4a89-8a36-efd5fe7dab70", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
1895
1895
|
const Ho = "10.0.5";
|
|
1896
1896
|
function Go() {
|
|
1897
1897
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (he().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (he().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (he().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (he().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as N, computed as y, h as p, withModifiers as U, ref as V, resolveComponent as _, createBlock as k, openBlock as i, unref as d, withCtx as h, createElementBlock as D, createVNode as f, Fragment as H, createElementVNode as s, renderList as T, toDisplayString as S, createCommentVNode as I } from "vue";
|
|
2
|
-
import { A as c, Q as W, u as Q, G, a4 as J } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { A as c, Q as W, u as Q, G, a4 as J } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
3
3
|
import { useI18n as X } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as Z, useDialog as ee, useSnackbar as te } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { _ as ae } from "./app-
|
|
7
|
-
import { d as oe, _ as le, u as se, c as re } from "./scheduler-
|
|
6
|
+
import { _ as ae } from "./app-H7J5uHZg.js";
|
|
7
|
+
import { d as oe, _ as le, u as se, c as re } from "./scheduler-CbytS4GA.js";
|
|
8
8
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
9
9
|
const ce = {
|
|
10
10
|
class: "flex flex-1 justify-end"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as H, ref as I, computed as L, resolveComponent as h, createElementBlock as g, openBlock as d, Fragment as x, renderSlot as ae, createVNode as l, unref as t, withCtx as m, createElementVNode as y, toDisplayString as z, onBeforeMount as oe, watch as F, watchEffect as se, h as $, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as J, renderList as ue } from "vue";
|
|
2
2
|
import { useRouter as ce } from "vue-router";
|
|
3
|
-
import { I as Q, u as W, G as X, Q as Z, M as O, A as S, a4 as de } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { I as Q, u as W, G as X, Q as Z, M as O, A as S, a4 as de } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
4
4
|
import { useI18n as ee, ItemSelector as me, useCoreStore as pe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ne, components as Y, useDialog as _e, FmButtonVariant as A, useBreakpoints as fe } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as ge } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
7
|
-
import { _ as ve, R as he } from "./app-
|
|
7
|
+
import { _ as ve, R as he } from "./app-H7J5uHZg.js";
|
|
8
8
|
import { c as ye } from "./check-C9mY6LiX.js";
|
|
9
9
|
import { _ as be } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
10
10
|
import { u as ke } from "./search-BAPEUu1R.js";
|
|
11
|
-
import { u as xe } from "./app-
|
|
11
|
+
import { u as xe } from "./app-CEN10-4D.js";
|
|
12
12
|
import { c as Se } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex flex-col h-full" }, Ee = { class: "flex gap-8 items-center justify-start" }, Ve = /* @__PURE__ */ H({
|
|
14
14
|
__name: "Form",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as H, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as k, unref as e, Fragment as D, renderList as B, createTextVNode as re, toDisplayString as N } from "vue";
|
|
2
|
-
import { u as me, G as ce, A as f, Q as de, B as pe, I as w } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, G as ce, A as f, Q as de, B as pe, I as w } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
3
3
|
import { useCoreStore as ve, useI18n as ge } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as fe, useDialog as _e, FmButtonVariant as $, FmButtonColorThemeVariant as P, components as be } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as E } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
6
|
-
import { _ as ye } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { C as _, a as x } from "./catalogSetting-
|
|
9
|
-
import { C as xe } from "./catalog-
|
|
6
|
+
import { _ as ye } from "./RuleView.vue_vue_type_script_setup_true_lang-Be33vMlU.js";
|
|
7
|
+
import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-7y3GRcrl.js";
|
|
8
|
+
import { C as _, a as x } from "./catalogSetting-DKVNY3JC.js";
|
|
9
|
+
import { C as xe } from "./catalog-CTuBk61t.js";
|
|
10
10
|
const Ce = {
|
|
11
11
|
class: /* @__PURE__ */ H(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
12
12
|
}, Oe = {
|
|
@@ -2,17 +2,17 @@ import { defineComponent as I, ref as h, computed as k, watch as ae, resolveComp
|
|
|
2
2
|
import { useI18n as z } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as R, components as H, useDialog as W, FmButtonVariant as J, useBreakpoints as le, FmButtonColorThemeVariant as se } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ie } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { G as P, u as Y, Q as K, M as X, A as Z, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { G as P, u as Y, Q as K, M as X, A as Z, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
6
6
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { _ as ue } from "./app-
|
|
7
|
+
import { _ as ue } from "./app-H7J5uHZg.js";
|
|
8
8
|
import { c as me } from "./createForm-BoUQeZTd.js";
|
|
9
9
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as q } from "./object-DVUNCr7w.js";
|
|
11
|
-
import { r as pe, u as ee } from "./rules-
|
|
12
|
-
import { _ as _e } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { r as pe, u as ee } from "./rules-CoyaaNMj.js";
|
|
12
|
+
import { _ as _e } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-C9byidEd.js";
|
|
13
13
|
import { c as fe } from "./check-C9mY6LiX.js";
|
|
14
14
|
import { g as A } from "./translation-BeqjfyEb.js";
|
|
15
|
-
import { a as ve } from "./menu-
|
|
15
|
+
import { a as ve } from "./menu-CX5qZa4q.js";
|
|
16
16
|
const ge = {
|
|
17
17
|
class: "fm-typo-en-title-md-600"
|
|
18
18
|
}, ye = {
|
|
@@ -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 { G as x, u as v, Q as w, M as E, A as M } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { G as x, u as v, Q as w, M as E, A as M } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
3
3
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as V } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
6
|
import { _ as C } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.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-DpIu-F5W.js";
|
|
8
|
+
import { T as S, l as L } from "./index-IWdfpOvK.js";
|
|
9
|
+
import { a as O } from "./menu-CX5qZa4q.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" }, A = { class: "fm-typo-en-body-md-600 font-semibold" }, z = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
12
|
setup(D) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { getCurrentInstance as te, defineComponent as oe, computed as x, watch as ne, h as E, resolveComponent as O, createElementBlock as C, openBlock as _, Fragment as P, normalizeClass as Y, createElementVNode as k, createVNode as V, unref as n, isRef as j, withCtx as F, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as S, withModifiers as Q } from "vue";
|
|
2
|
-
import { G as H, u as J, Q as W, M as N, A as z, I as A, B as se, ap as q, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { G as H, u as J, Q as W, M as N, A as z, I as A, B as se, ap as q, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.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 D, components as de, useBreakpoints as me } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ue } from "./app-
|
|
6
|
-
import { a as pe, l as ee, T as ye } from "./index-
|
|
5
|
+
import { _ as ue } from "./app-H7J5uHZg.js";
|
|
6
|
+
import { a as pe, l as ee, T as ye } from "./index-IWdfpOvK.js";
|
|
7
7
|
import { u as fe } from "./search-BAPEUu1R.js";
|
|
8
|
-
import { f as L } from "./currency
|
|
8
|
+
import { f as L } from "./currency--QAX2jgM.js";
|
|
9
9
|
import { defineStore as _e } from "pinia";
|
|
10
|
-
import { C as ke } from "./catalog-
|
|
10
|
+
import { C as ke } from "./catalog-CTuBk61t.js";
|
|
11
11
|
import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
12
12
|
import { g as we } from "./translation-BeqjfyEb.js";
|
|
13
13
|
function ge(T, M, l, p) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { computed as d, defineComponent as x, ref as F, resolveComponent as b, createElementBlock as L, openBlock as w, normalizeClass as R, createVNode as K, normalizeStyle as $, withCtx as B, createBlock as U, createCommentVNode as j } from "vue";
|
|
2
|
-
import { A as h, M as E, G as C, Q as O, al as Y, u as y, a as G } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as S } from "./menuV2-
|
|
4
|
-
import { C as v, h as N } from "./catalog-
|
|
2
|
+
import { A as h, M as E, G as C, Q as O, al as Y, u as y, a as G } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
3
|
+
import { u as S } from "./menuV2-CgfWTiZp.js";
|
|
4
|
+
import { C as v, h as N } from "./catalog-CTuBk61t.js";
|
|
5
5
|
import { useSnackbar as P, useDialog as z } from "@feedmepos/ui-library";
|
|
6
|
-
import { a as T } from "./LinkProductSideSheet-
|
|
6
|
+
import { a as T } from "./LinkProductSideSheet-BQC5B7VR.js";
|
|
7
7
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
8
8
|
function q() {
|
|
9
9
|
const t = S(), o = d(() => t.categorizedRawMenuItems.filter((u) => u.items.length > 0)), i = d(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as J, ref as w, watch as G, computed as j, unref as t, resolveComponent as f, createBlock as E, openBlock as d, withCtx as _, createElementVNode as e, toDisplayString as c, createElementBlock as m, createCommentVNode as F, Fragment as g, renderList as b, createVNode as r } from "vue";
|
|
2
|
-
import { J as B } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as B } from "./index.vue_vue_type_script_setup_true_lang-90aRfAsI.js";
|
|
3
3
|
import { useI18n as H, useLocale as K } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as P } from "./discardConfirm-BHni0LNu.js";
|
|
5
5
|
import { g as x, a as D, _ as Q, b as R } from "./translation-BeqjfyEb.js";
|