@feedmepos/mf-menu 0.32.27 → 0.32.28
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-B36N5P4X.js → App-BlcUDeo2.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DWDQWBFh.js → ApplyProduct.vue_vue_type_script_setup_true_lang-R7J1LE2s.js} +3 -3
- package/dist/{Catalog-DRqpVRqy.js → Catalog-P4qC8Lhe.js} +6 -6
- package/dist/{Category-BrWLRe4T.js → Category-BtZV6wiB.js} +6 -6
- package/dist/{Category-BCoosxFt.js → Category-Cooj51Ez.js} +4 -4
- package/dist/{CookingGuide-BWYctv-S.js → CookingGuide-QtsRAHd6.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-COrzalWL.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DdoN5vmc.js} +1 -1
- package/dist/{Group-Bxz_gAHK.js → Group-CCywie69.js} +1 -1
- package/dist/{Group-CnWMpe4b.js → Group-CUYgyIPq.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CcPwTo2m.js → Group.vue_vue_type_script_setup_true_lang-DqEXk2Re.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DUgjgs1x.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C5GsxMvl.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-71KtJodZ.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-yxyEtGAP.js} +6 -6
- package/dist/{Ingredient-75nroBww.js → Ingredient-Nc5zT4Gj.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DaTaaDSr.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BIQo4aI5.js} +2 -2
- package/dist/{LinkProductSideSheet-CP6qQ3ou.js → LinkProductSideSheet-2AFi6azl.js} +3 -3
- package/dist/{MenuSetting-DTXelG7x.js → MenuSetting-BaqHKwim.js} +5 -5
- package/dist/{PrintRoute-BwRBGrG7.js → PrintRoute-B1s8eGTJ.js} +4 -4
- package/dist/{Product-mBaEaQR5.js → Product-fTuVlqZm.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CtxYtHF7.js → Product.vue_vue_type_script_setup_true_lang-CkRhLhUk.js} +12 -12
- package/dist/{ProductInternalTools-hFpy9Xv2.js → ProductInternalTools-DBxG_GrG.js} +5 -5
- package/dist/{Products-D3tO7LkO.js → Products-BHXE_ZPZ.js} +37 -37
- package/dist/{Publish-DQO4cW22.js → Publish-qjjPACRs.js} +3 -3
- package/dist/{Recipe-DK98EprX.js → Recipe-DsBpxpvb.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-wQlHR1pF.js → RuleView.vue_vue_type_script_setup_true_lang-iOWkeKh_.js} +2 -2
- package/dist/{Scheduler-PoRLbR26.js → Scheduler-DDlRC5tB.js} +3 -3
- package/dist/{ServingSequence-Dqdw94a0.js → ServingSequence-BH4WjmTJ.js} +3 -3
- package/dist/{Setting-COP2WHnR.js → Setting-8wyn41ch.js} +5 -5
- package/dist/{Subcategory-Cq9adGcj.js → Subcategory-DZsjkEvC.js} +4 -4
- package/dist/{Takeaway-CYyB3US-.js → Takeaway-BI7fQoSc.js} +4 -4
- package/dist/{Takeaway-B4QkEZGu.js → Takeaway-DXBvSQFx.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-MNfAUXMz.js → Takeaway.vue_vue_type_script_setup_true_lang-DUbBRoDk.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BoGfQqIv.js → Thumbnail.vue_vue_type_script_setup_true_lang-DCyH8vjZ.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DDx8fXhO.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CiNkRyST.js} +15 -15
- package/dist/{Unit-CQl8-Ap5.js → Unit-DwWO4TyX.js} +2 -2
- package/dist/{Variant-BkYQe34t.js → Variant-DZSoI-cE.js} +3 -3
- package/dist/{_id_-C-fApLDg.js → _id_-ClJ7SHo_.js} +9 -9
- package/dist/{app-C063NXnU.js → app-Bh6LVU9L.js} +26 -26
- package/dist/{app-BGAKoOMu.js → app-TSk3ND0r.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-CuYV7Q_X.js → linked-status-CRatj879.js} +2 -2
- package/dist/assets/{menu-export-Bynlrmlt.js → menu-export-CqvwSaXO.js} +2 -2
- package/dist/assets/{override-menu-9J_AyXZP.js → override-menu-Cm0sXIF0.js} +2 -2
- package/dist/assets/{validate-menu-b0H55Atn.js → validate-menu-DiVFKnBL.js} +2 -2
- package/dist/{catalog-DLN9y1si.js → catalog-DZdIHjVM.js} +1 -1
- package/dist/{catalogSetting-PUquD2Yf.js → catalogSetting-Zy1tUZ17.js} +1 -1
- package/dist/{category-BnBbDpQF.js → category-C1FthNrA.js} +1 -1
- package/dist/{currency-Cp4FlRQb.js → currency-B5Qbey7d.js} +1 -1
- package/dist/{dayjs.min-DrbQzYCc.js → dayjs.min-B8rUGf24.js} +1 -1
- package/dist/{index-B_FS2Tu5.js → index-190cTcX3.js} +4 -4
- package/dist/{index-CTu0b5ov.js → index-Biru77b7.js} +3 -3
- package/dist/{index-rqeTkd4w.js → index-Bw3KlaRr.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CYSLhkHv.js → index.vue_vue_type_script_setup_true_lang-MeH7nJqW.js} +4 -4
- package/dist/{item-DLNAs2O1.js → item-DHYFdr0F.js} +15 -15
- package/dist/{jszip.min-CBuuDjEu.js → jszip.min-DM4_34Dp.js} +2 -2
- package/dist/{menu-R51lV76L.js → menu-Cism8Z4S.js} +1 -1
- package/dist/{menuV2-BJsVUAn7.js → menuV2-CYZOYZ3h.js} +66 -66
- package/dist/{priceTier-KbwlOwh3.js → priceTier-CuRrxRkB.js} +1 -1
- package/dist/{scheduler-CLbO9ttD.js → scheduler-CKuNWae0.js} +4 -4
- package/dist/{subcategory-lfUv0P14.js → subcategory-D7wFXe4g.js} +2 -2
- package/dist/{toExcel-CTR1eE7R.js → toExcel-J5ydeaO1.js} +2 -2
- package/dist/{unit-B75GGYMA.js → unit-DRdGblv6.js} +2 -2
- package/package.json +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as E, computed as g, ref 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, A as Z, D as ae, I as re, J as U, K as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as E, computed as g, ref as q, resolveComponent as M, createBlock as y, openBlock as m, unref as e, withCtx as c, createElementVNode as i, toDisplayString as j, createVNode as o, createCommentVNode as G, createElementBlock as A, Fragment as P } from "vue";
|
|
2
|
+
import { D as F } from "./dayjs.min-B8rUGf24.js";
|
|
3
|
+
import { J as oe, F as ne } from "./jszip.min-DM4_34Dp.js";
|
|
4
|
+
import { u as J, G as W, B as R, H, A as Z, D as ae, I as re, J as U, K as se } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.js";
|
|
5
|
+
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-yxyEtGAP.js";
|
|
6
6
|
import { useCoreStore as K, useI18n as le } from "@feedmepos/mf-common";
|
|
7
|
-
import { useDialog as
|
|
7
|
+
import { useDialog as X, useDialogChild as ue, useSnackbar as Q, 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 z } 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 fe } from "./menu-
|
|
12
|
-
import { u as _e } from "./item-
|
|
13
|
-
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
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 fe } from "./menu-Cism8Z4S.js";
|
|
12
|
+
import { u as _e } from "./item-DHYFdr0F.js";
|
|
13
|
+
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-CkRhLhUk.js";
|
|
14
|
+
import { L as O } from "./LinkProductSideSheet-2AFi6azl.js";
|
|
15
|
+
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CiNkRyST.js";
|
|
16
|
+
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DCyH8vjZ.js";
|
|
17
|
+
import { m as ye } from "./toExcel-J5ydeaO1.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: {},
|
|
@@ -23,7 +23,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
23
23
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
24
24
|
},
|
|
25
25
|
setup(C) {
|
|
26
|
-
const t = C,
|
|
26
|
+
const t = C, h = g(() => t.message.replace("[[value]]", t.value)), k = q(""), r = X(), { emitAction: x } = ue();
|
|
27
27
|
return (d, s) => {
|
|
28
28
|
const p = M("FmTextField"), f = M("FmButton"), _ = M("FmForm");
|
|
29
29
|
return m(), y(_, {
|
|
@@ -32,8 +32,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
32
32
|
}, {
|
|
33
33
|
default: c(() => [
|
|
34
34
|
i("div", ke, [
|
|
35
|
-
i("div", null,
|
|
36
|
-
i("div", { innerHTML:
|
|
35
|
+
i("div", null, j(d.description), 1),
|
|
36
|
+
i("div", { innerHTML: h.value }, null, 8, xe),
|
|
37
37
|
i("div", null, [
|
|
38
38
|
o(p, {
|
|
39
39
|
modelValue: k.value,
|
|
@@ -46,7 +46,7 @@ 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",
|
|
49
|
+
i("div", Se, [
|
|
50
50
|
o(f, {
|
|
51
51
|
label: "Cancel",
|
|
52
52
|
variant: "secondary",
|
|
@@ -66,11 +66,11 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
66
66
|
}), Me = /* @__PURE__ */ E({
|
|
67
67
|
__name: "Migrate",
|
|
68
68
|
setup(C) {
|
|
69
|
-
const t = J(),
|
|
69
|
+
const t = J(), h = K(), k = Q(), { minor: r } = W(k), x = q(!1), d = X();
|
|
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,7 +92,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
const p = g(() => {
|
|
95
|
-
const f =
|
|
95
|
+
const f = h.restaurants.value;
|
|
96
96
|
if (!f.length) return "Required at least one restaurant to migrate";
|
|
97
97
|
const _ = f.filter((b) => !b.posVersion || !R.Pos.canUse({ feature: H.F_FEATURE.enum.menuV4, posVersion: b.posVersion }));
|
|
98
98
|
return _.length ? `Upgrade POS to V${R.Pos.minVersionToUse(H.F_FEATURE.enum.menuV4)} to use new menu: ${_.map((b) => b.profile.name).join(", ")}` : null;
|
|
@@ -111,10 +111,10 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
111
111
|
})) : G("", !0);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}), we = "/assets/menu-export-
|
|
114
|
+
}), we = "/assets/menu-export-CqvwSaXO.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
116
|
setup(C) {
|
|
117
|
-
const { t } = le(),
|
|
117
|
+
const { t } = le(), h = K(), k = W(Q()), r = J(), x = g(() => r.rules.item), d = _e(), s = g(() => !r.state.currentSchedulerId), { selectedCategories: p } = pe(), f = g(() => ({
|
|
118
118
|
...ae.menuV4ToV3(re(r.state.menu)),
|
|
119
119
|
_id: r.state.menu._id,
|
|
120
120
|
_rev: r.state.menu._rev
|
|
@@ -141,7 +141,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
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);
|
|
@@ -163,8 +163,8 @@ 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: Y,
|
|
167
|
+
schedulerManager: B
|
|
168
168
|
} = be(!1), ee = ce(), te = g(() => ee.breakpoints.value.xs);
|
|
169
169
|
return fe().resetOnMount(), (u, n) => {
|
|
170
170
|
const v = M("fm-button");
|
|
@@ -179,7 +179,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
179
179
|
i("div", Ce, [
|
|
180
180
|
i("div", Fe, [
|
|
181
181
|
i("div", $e, [
|
|
182
|
-
i("p", Ve,
|
|
182
|
+
i("p", Ve, j(_.value), 1)
|
|
183
183
|
])
|
|
184
184
|
]),
|
|
185
185
|
i("div", Ee, [
|
|
@@ -205,8 +205,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
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,8 +214,8 @@ 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
|
|
@@ -223,8 +223,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
223
223
|
o(L, 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
|
|
@@ -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(Y).linkableItems.value,
|
|
245
|
+
"initial-value": e(Y).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(B).linkableItems.value,
|
|
264
|
+
"initial-value": e(B).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 W, ref as P, computed as N, onMounted as ie, resolveComponent as U, createElementBlock as M, openBlock as C, createVNode as p, createElementVNode as d, toDisplayString as z, unref as i, Fragment as H, renderList as q, createBlock as j, watch as de, withCtx as E, normalizeClass as re, createCommentVNode as X, createTextVNode as me, mergeProps as Ve, normalizeStyle as Ie, renderSlot as Pe, withModifiers as te, h as R, onUnmounted as Me } from "vue";
|
|
2
|
-
import { D as L } from "./dayjs.min-
|
|
2
|
+
import { D as L } from "./dayjs.min-B8rUGf24.js";
|
|
3
3
|
import { useRouter as $e } from "vue-router";
|
|
4
4
|
import { O as Ue, b as Ae } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { B as Be, H as De, G as he, ad as Te, A as G, u as _e, I as pe, J as Re, a5 as Oe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as Be, H as De, G as he, ad as Te, A as G, u as _e, I as pe, J as Re, a5 as Oe } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as Ne, RestaurantSelector as Ee } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as ce, useDialogChild as Le, useProxiedModel as ze, useDialog as be, FmButtonVariant as fe, components as Q } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as He } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Je } from "./app-
|
|
9
|
+
import { _ as Je } from "./app-Bh6LVU9L.js";
|
|
10
10
|
import { a as Ye, w as Ke } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as ge } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as ye } 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, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-Bh6LVU9L.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, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.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-BIQo4aI5.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-DRdGblv6.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-MeH7nJqW.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_90e526d0-7cc4-49b8-a4f3-e9d904417a59", 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_90e526d0-7cc4-49b8-a4f3-e9d904417a59", 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: "1855", ACTIONS_ORCHESTRATION_ID: "f1d0757f-e029-4c42-8b08-220c9970bf56.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: "20260329.72.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:13011", 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.8/x64", GITHUB_RUN_ID: "24178943266", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapi.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "361f2fdbeeb2ad604b20412a2dd52fcf8e9b0c65", 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_7bbbc89b-c3b8-4c20-a97b-dd47715f51dd", INVOCATION_ID: "39fff70790d54732875b344867e5032a", 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: "150", 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 1000059049", 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.28", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "361f2fdbeeb2ad604b20412a2dd52fcf8e9b0c65", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", 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_90e526d0-7cc4-49b8-a4f3-e9d904417a59", 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_90e526d0-7cc4-49b8-a4f3-e9d904417a59", 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_90e526d0-7cc4-49b8-a4f3-e9d904417a59", 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, a5 as J } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { A as c, Q as W, u as Q, G, a5 as J } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.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-Bh6LVU9L.js";
|
|
7
|
+
import { d as oe, _ as le, u as se, c as re } from "./scheduler-CKuNWae0.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, a5 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, a5 as de } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.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-Bh6LVU9L.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-TSk3ND0r.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-MeH7nJqW.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-iOWkeKh_.js";
|
|
7
|
+
import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C5GsxMvl.js";
|
|
8
|
+
import { C as _, a as x } from "./catalogSetting-Zy1tUZ17.js";
|
|
9
|
+
import { C as xe } from "./catalog-DZdIHjVM.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,16 +2,16 @@ import { defineComponent as L, ref as w, watch as W, resolveComponent as y, crea
|
|
|
2
2
|
import { useI18n as B } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as O, components as j, useDialog as Y, FmButtonVariant as z, useBreakpoints as ae, FmButtonColorThemeVariant as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { G as D, u as N, Q as A, M as K, A as G, a5 as le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { G as D, u as N, Q as A, M as K, A as G, a5 as le } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.js";
|
|
6
6
|
import { _ as se } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { _ as re } from "./app-
|
|
7
|
+
import { _ as re } from "./app-Bh6LVU9L.js";
|
|
8
8
|
import { c as ie } from "./createForm-BoUQeZTd.js";
|
|
9
9
|
import { u as ce } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as I } from "./object-DVUNCr7w.js";
|
|
11
11
|
import { r as ue } from "./rules-CIWTZQfh.js";
|
|
12
12
|
import { c as de } from "./check-C9mY6LiX.js";
|
|
13
|
-
import { u as q } from "./subcategory-
|
|
14
|
-
import { a as me } from "./menu-
|
|
13
|
+
import { u as q } from "./subcategory-D7wFXe4g.js";
|
|
14
|
+
import { a as me } from "./menu-Cism8Z4S.js";
|
|
15
15
|
const pe = {
|
|
16
16
|
class: "fm-typo-en-title-md-600"
|
|
17
17
|
}, _e = {
|
|
@@ -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-MeH7nJqW.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-DUbBRoDk.js";
|
|
8
|
+
import { T as S, l as L } from "./index-190cTcX3.js";
|
|
9
|
+
import { a as O } from "./menu-Cism8Z4S.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 h, watch as ne, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as I, withModifiers as Q } from "vue";
|
|
2
|
-
import { G as H, u as J, Q as W, M as N, A as z, I as L, B as se, ap as q, a5 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 L, B as se, ap as q, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.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 A, components as de, useBreakpoints as ue } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as me } from "./app-
|
|
6
|
-
import { a as ye, l as ee, T as pe } from "./index-
|
|
5
|
+
import { _ as me } from "./app-Bh6LVU9L.js";
|
|
6
|
+
import { a as ye, l as ee, T as pe } from "./index-190cTcX3.js";
|
|
7
7
|
import { u as fe } from "./search-BAPEUu1R.js";
|
|
8
|
-
import { f as F } from "./currency-
|
|
8
|
+
import { f as F } from "./currency-B5Qbey7d.js";
|
|
9
9
|
import { defineStore as _e } from "pinia";
|
|
10
|
-
import { C as ke } from "./catalog-
|
|
10
|
+
import { C as ke } from "./catalog-DZdIHjVM.js";
|
|
11
11
|
import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
12
12
|
function we(T, M, l, m) {
|
|
13
13
|
var y, v, w, g;
|
|
@@ -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, am 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, am as Y, u as y, a as G } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.js";
|
|
3
|
+
import { u as S } from "./menuV2-CYZOYZ3h.js";
|
|
4
|
+
import { C as v, h as N } from "./catalog-DZdIHjVM.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-2AFi6azl.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,33 +1,33 @@
|
|
|
1
1
|
import { computed as D, shallowRef as jt, ref as H, watch as we, nextTick as tt, getCurrentInstance as Sn, onMounted as Re, defineComponent as ie, resolveComponent as j, createElementBlock as Z, openBlock as P, createBlock as X, normalizeClass as fe, createElementVNode as L, createVNode as h, unref as n, withCtx as B, toDisplayString as ge, mergeModels as Wt, useModel as qt, createCommentVNode as J, resolveDirective as Ht, withDirectives as pt, createTextVNode as Fn, renderSlot as Me, h as be, Fragment as Oe, renderList as Ae, vShow as Xt, withModifiers as qe, createSlots as On, onBeforeUnmount as Ot, watchEffect as Dn, onUnmounted as Vn, normalizeStyle as dt, mergeProps as $n, normalizeProps as Pn, guardReactiveProps as Un, Teleport as Mn, Transition as Rn, withKeys as An } from "vue";
|
|
2
|
-
import { g as Nn, o as Ln, f as Gn, a as Kn, b as Jt, n as Qt, I as Bn, S as zn, _ as Dt, C as Yn, c as Zt, d as Et, e as en, h as jn, m as Wn, F as qn, M as tn, i as Hn, r as Xn, j as nn, k as At, l as on, p as Jn, P as Qn, q as Zn, s as rn, u as eo, T as Be } from "./item-
|
|
3
|
-
import { _ as to, T as no } from "./app-
|
|
4
|
-
import { B as ye, M as he, A as oe, G as nt, N as oo, O as ro, P as ao, u as ft, Q as Vt, R as lo, D as Ne, T as io, I as pe, U as so, J as Ie, V as vt, W as an, X as uo, Y as co, Z as mo, $ as bt, a0 as Nt, a1 as po, a2 as fo } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { g as Nn, o as Ln, f as Gn, a as Kn, b as Jt, n as Qt, I as Bn, S as zn, _ as Dt, C as Yn, c as Zt, d as Et, e as en, h as jn, m as Wn, F as qn, M as tn, i as Hn, r as Xn, j as nn, k as At, l as on, p as Jn, P as Qn, q as Zn, s as rn, u as eo, T as Be } from "./item-DHYFdr0F.js";
|
|
3
|
+
import { _ as to, T as no } from "./app-Bh6LVU9L.js";
|
|
4
|
+
import { B as ye, M as he, A as oe, G as nt, N as oo, O as ro, P as ao, u as ft, Q as Vt, R as lo, D as Ne, T as io, I as pe, U as so, J as Ie, V as vt, W as an, X as uo, Y as co, Z as mo, $ as bt, a0 as Nt, a1 as po, a2 as fo } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.js";
|
|
5
5
|
import { useI18n as me, useCoreStore as ot, CustomAttributesForm as ln } from "@feedmepos/mf-common";
|
|
6
6
|
import { useDialog as Le, useDialogChild as $t, useSnackbar as Ge, FmButtonColorThemeVariant as Fe, components as ke, FmButtonVariant as We, useBreakpoints as go } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as Pt } from "./discardConfirm-BHni0LNu.js";
|
|
8
8
|
import { defineStore as vo } from "pinia";
|
|
9
|
-
import { _ as De, a as bo } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as ue, g as sn, m as _o } from "./menuV2-
|
|
9
|
+
import { _ as De, a as bo } from "./RuleView.vue_vue_type_script_setup_true_lang-iOWkeKh_.js";
|
|
10
|
+
import { u as ue, g as sn, m as _o } from "./menuV2-CYZOYZ3h.js";
|
|
11
11
|
import { s as Tt, _ as yo } from "./index-CisutoS9.js";
|
|
12
12
|
import { useAppStore as un, RemyButton as dn } from "@feedmepos/mf-remy-panel";
|
|
13
13
|
import { _ as Ue } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
14
|
-
import { _ as Lt } from "./category-
|
|
15
|
-
import { _ as ho, a as wo, u as Co } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { _ as Lt } from "./category-C1FthNrA.js";
|
|
15
|
+
import { _ as ho, a as wo, u as Co } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DCyH8vjZ.js";
|
|
16
16
|
import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
import { _ as cn } from "./tooltip-B5BiPMx9.js";
|
|
18
|
-
import { _ as He, T as ko, l as Io } from "./index-
|
|
19
|
-
import { L as xt } from "./LinkProductSideSheet-
|
|
18
|
+
import { _ as He, T as ko, l as Io } from "./index-190cTcX3.js";
|
|
19
|
+
import { L as xt } from "./LinkProductSideSheet-2AFi6azl.js";
|
|
20
20
|
import { u as Eo } from "./search-BAPEUu1R.js";
|
|
21
21
|
import { c as Ut } from "./check-C9mY6LiX.js";
|
|
22
|
-
import { f as et } from "./currency-
|
|
22
|
+
import { f as et } from "./currency-B5Qbey7d.js";
|
|
23
23
|
import { c as To } from "./string-DpfFixWH.js";
|
|
24
24
|
import { useInventoryStore as xo, InventoryBindingSummary as So } from "@feedmepos/mf-inventory-portal";
|
|
25
|
-
import { u as Fo } from "./priceTier-
|
|
25
|
+
import { u as Fo } from "./priceTier-CuRrxRkB.js";
|
|
26
26
|
import { d as Mt } from "./vuedraggable-CK8z7qA8.js";
|
|
27
|
-
import { _ as Oo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
27
|
+
import { _ as Oo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-R7J1LE2s.js";
|
|
28
28
|
import "./app-5fxKLAzS.js";
|
|
29
29
|
/* empty css */
|
|
30
|
-
import { i as Do, t as Rt, w as Vo, a as mn, b as pn, n as $o, c as Po, r as Uo, _ as Mo } from "./index-
|
|
30
|
+
import { i as Do, t as Rt, w as Vo, a as mn, b as pn, n as $o, c as Po, r as Uo, _ as Mo } from "./index-Bw3KlaRr.js";
|
|
31
31
|
import { c as ct } from "./object-DVUNCr7w.js";
|
|
32
32
|
import { _ as Ro } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
33
33
|
import { _ as Gt } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|
|
@@ -1374,9 +1374,9 @@ const Pr = /* @__PURE__ */ ie({
|
|
|
1374
1374
|
if (S) {
|
|
1375
1375
|
const ee = (re = O.row.getParentRow()) == null ? void 0 : re.original;
|
|
1376
1376
|
if (!ee) return;
|
|
1377
|
-
l(ee._id, K.combinationKey ?? "", "name", Q
|
|
1377
|
+
l(ee._id, K.combinationKey ?? "", "name", Q || null);
|
|
1378
1378
|
} else
|
|
1379
|
-
y(K._id, "name", Q
|
|
1379
|
+
y(K._id, "name", Q || null);
|
|
1380
1380
|
},
|
|
1381
1381
|
class: "min-w-[300px]"
|
|
1382
1382
|
}, {
|
|
@@ -2,9 +2,9 @@ import { defineComponent as L, computed as d, ref as g, h as k, withModifiers as
|
|
|
2
2
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as K, components as R, useBreakpoints as D, FmButtonVariant as G } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { G as q, u as A, a5 as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { G as q, u as A, a5 as H } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.js";
|
|
6
6
|
import { _ as J } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { u as O, U as P } from "./unit-
|
|
7
|
+
import { u as O, U as P } from "./unit-DRdGblv6.js";
|
|
8
8
|
const Q = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "h-[600px]"
|
|
@@ -2,9 +2,9 @@ import { getCurrentInstance as U, defineComponent as $, computed as g, onMounted
|
|
|
2
2
|
import { useI18n as N } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as Y, useSnackbar as D, FmButtonVariant as M, components as Q, useBreakpoints as q } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as H } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as J } from "./app-
|
|
6
|
-
import { G as K, u as P, Q as j, M as W, A as X, a5 as Z } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { V as S } from "./index-
|
|
5
|
+
import { _ as J } from "./app-Bh6LVU9L.js";
|
|
6
|
+
import { G as K, u as P, Q as j, M as W, A as X, a5 as Z } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.js";
|
|
7
|
+
import { V as S } from "./index-Biru77b7.js";
|
|
8
8
|
import { _ as ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
9
9
|
import { u as te } from "./search-BAPEUu1R.js";
|
|
10
10
|
import { defineStore as ne } from "pinia";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as F, computed as d, ref as p, watch as A, onMounted as H, resolveComponent as m, createElementBlock as K, openBlock as b, Fragment as Q, createVNode as n, withCtx as u, createElementVNode as i, toDisplayString as M, unref as e, createBlock as D } from "vue";
|
|
2
|
-
import { D as W } from "./dayjs.min-
|
|
2
|
+
import { D as W } from "./dayjs.min-B8rUGf24.js";
|
|
3
3
|
import { useRoute as j, useRouter as J } from "vue-router";
|
|
4
|
-
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { G as ee, u as te, D as ae, I as oe, Q as ne } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-yxyEtGAP.js";
|
|
5
|
+
import { G as ee, u as te, D as ae, I as oe, Q as ne } from "./index.vue_vue_type_script_setup_true_lang-MeH7nJqW.js";
|
|
6
6
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as se } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as R } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
|
-
import { L as V } from "./LinkProductSideSheet-
|
|
9
|
+
import { L as V } from "./LinkProductSideSheet-2AFi6azl.js";
|
|
10
10
|
import { _ as ue } from "./index-CisutoS9.js";
|
|
11
11
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
12
|
-
import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { a as me } from "./menu-
|
|
14
|
-
import { m as ce } from "./toExcel-
|
|
15
|
-
import { _ as de, u as pe, c as _e } from "./scheduler-
|
|
16
|
-
import { R as r } from "./app-
|
|
12
|
+
import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DCyH8vjZ.js";
|
|
13
|
+
import { a as me } from "./menu-Cism8Z4S.js";
|
|
14
|
+
import { m as ce } from "./toExcel-J5ydeaO1.js";
|
|
15
|
+
import { _ as de, u as pe, c as _e } from "./scheduler-CKuNWae0.js";
|
|
16
|
+
import { R as r } from "./app-Bh6LVU9L.js";
|
|
17
17
|
const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class: "flex ml-auto space-x-8" }, be = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */ F({
|
|
18
18
|
__name: "[id]",
|
|
19
19
|
setup(ke) {
|