@feedmepos/mf-menu 0.31.67-prod → 0.31.68-prod
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-BZ-1lY6F.js → App-CI--QrVG.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CbTUz8iR.js → ApplyProduct.vue_vue_type_script_setup_true_lang-fG_BJMQJ.js} +3 -3
- package/dist/{Catalog-C7DXO6Fc.js → Catalog-BMPz4HgZ.js} +6 -6
- package/dist/{Category-CLmPBPLq.js → Category-CXoXOkqP.js} +4 -4
- package/dist/{Category-FtSeFzMI.js → Category-DwIcXBXO.js} +6 -6
- package/dist/{CookingGuide-CqdtzE_a.js → CookingGuide-CgBbTKGz.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Qo5DDmWl.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CvPRLahQ.js} +1 -1
- package/dist/{Group-1yDxCqvq.js → Group-DdWKntFD.js} +3 -3
- package/dist/{Group-CrsRDipx.js → Group-FT5kjJpF.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DAiHbuYd.js → Group.vue_vue_type_script_setup_true_lang-kypU8KME.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-dFwRB-_v.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C7nVEyP0.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CwJM22EQ.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-B0knYCDR.js} +7 -7
- package/dist/{Ingredient-CEChS5Ff.js → Ingredient-BGxrfK_P.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DTjlsqr7.js → InventoryBinding.vue_vue_type_script_setup_true_lang-QKmtShaF.js} +2 -2
- package/dist/{LinkProductSideSheet-C3SCYF7r.js → LinkProductSideSheet-D3N9WMt-.js} +3 -3
- package/dist/{MenuSetting-dNoCFvc8.js → MenuSetting-fCW7yn9L.js} +5 -5
- package/dist/{PrintRoute-CW3xLyxn.js → PrintRoute-C8WpVMCg.js} +4 -4
- package/dist/{Product-C2aLJbaN.js → Product-CesK0Jb_.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-_70bTbou.js → Product.vue_vue_type_script_setup_true_lang-CL7p1L26.js} +13 -13
- package/dist/{ProductInternalTools-B6v4buBO.js → ProductInternalTools-Dvc4yvoP.js} +5 -5
- package/dist/{Products-CIpzNuqE.js → Products-y63EZezp.js} +11 -11
- package/dist/{Publish-dcfNCGJN.js → Publish-CXAFN9nH.js} +78 -77
- package/dist/{Recipe-D6zqxtw7.js → Recipe-I6KXcYS5.js} +4 -4
- package/dist/{Scheduler-BeF0X3ut.js → Scheduler-CUxGoAYV.js} +3 -3
- package/dist/{ServingSequence-bciSoyU0.js → ServingSequence-CsUY7XGL.js} +3 -3
- package/dist/{Setting-BOw2Jxcu.js → Setting-DTIndhgh.js} +5 -5
- package/dist/{Subcategory-DcwxOnVJ.js → Subcategory-DS7AB3OH.js} +4 -4
- package/dist/{Takeaway-Bw-c7CEZ.js → Takeaway-D2InRA7G.js} +1 -1
- package/dist/{Takeaway-BYhYJ4Gu.js → Takeaway-DriZgLXL.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-TIbvLKEz.js → Takeaway.vue_vue_type_script_setup_true_lang-BvRQJjRj.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BflW1Nxw.js → Thumbnail.vue_vue_type_script_setup_true_lang-CaA4nQjq.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BYWD3xZ1.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BVDbtq9o.js} +14 -14
- package/dist/{Unit-DoJEBmGl.js → Unit-Bex-a7lb.js} +2 -2
- package/dist/{Variant-LWdV75Cy.js → Variant-BzVsT2jm.js} +3 -3
- package/dist/{_id_-Bzm60el0.js → _id_-Dl5bCv02.js} +10 -10
- package/dist/{app-DdZ05cHa.js → app-B50mNq4C.js} +26 -26
- package/dist/{app-ZuBVPTpe.js → app-EO3mkzdW.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-D8_kl_R-.js → linked-status-CXB_01B1.js} +2 -2
- package/dist/assets/{override-menu-DWekzz3L.js → override-menu-CgijweKW.js} +2 -2
- package/dist/assets/{validate-menu-mYcHo6nS.js → validate-menu-CdAJ-JHM.js} +2 -2
- package/dist/{catalog-D1jECnrN.js → catalog-BHir10AP.js} +1 -1
- package/dist/{catalogSetting-CHB9QKfV.js → catalogSetting-Cl0DxvXL.js} +1 -1
- package/dist/{category-4P_Uw9xy.js → category-BHYLTJJC.js} +1 -1
- package/dist/{currency-CqUpSDLu.js → currency-B98FhcGK.js} +1 -1
- package/dist/{customAttributes-CwHcnsuN.js → customAttributes-ogWxq4Tm.js} +1 -1
- package/dist/{dayjs.min-BZ_Sns_Q.js → dayjs.min-B-U1bqfv.js} +1 -1
- package/dist/{index-BbTaOoC_.js → index-B8Gn-X1l.js} +1 -1
- package/dist/{index-DG9nBEK_.js → index-C2cz9wGc.js} +4 -4
- package/dist/{index-DryKu40j.js → index-CTTVuqw7.js} +3 -3
- package/dist/{index-Cjw6xpGI.js → index-ClJpoaAA.js} +1 -1
- package/dist/{item-D341EYE_.js → item-BZMS-TO_.js} +16 -16
- package/dist/{jszip.min-BTszB-oF.js → jszip.min-CNLRuEMk.js} +245 -245
- package/dist/{menu-D9Yd8DVH.js → menu-BCVYl65c.js} +1 -1
- package/dist/{menu-C86Xn-9_.js → menu-lVDeJ_wR.js} +4 -4
- package/dist/{menuV2-nMFvrA1G.js → menuV2-aTjHrm3W.js} +82 -82
- package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +5 -0
- package/dist/packages/shared/src/composable/search.d.ts +1 -1
- package/dist/{priceTier-e-ik7BkB.js → priceTier-Ck2eQXnO.js} +1 -1
- package/dist/{scheduler-GN8-R-kn.js → scheduler-Bl99ja7r.js} +4 -4
- package/dist/{subcategory-D6g5QRp6.js → subcategory-CAFBSz0j.js} +2 -2
- package/dist/{toExcel-MWLP_jB_.js → toExcel-B5Ixpgtd.js} +2 -2
- package/dist/{unit-BkO1onKW.js → unit-DmdOuyXm.js} +2 -2
- package/package.json +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as G, ref as V, computed as R, onMounted as re, resolveComponent as w, createElementBlock as U, openBlock as y, createVNode as
|
|
2
|
-
import { D as ae } from "./dayjs.min-
|
|
1
|
+
import { defineComponent as G, ref as V, computed as R, onMounted as re, resolveComponent as w, createElementBlock as U, openBlock as y, createVNode as i, createElementVNode as o, toDisplayString as A, unref as r, Fragment as O, renderList as W, createBlock as T, withCtx as L, createCommentVNode as ce, withModifiers as z, h as Y } from "vue";
|
|
2
|
+
import { D as ae } from "./dayjs.min-B-U1bqfv.js";
|
|
3
3
|
import { useRouter as de } from "vue-router";
|
|
4
4
|
import { O as me, b as pe } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { B as ge, e as be, G as te, a7 as
|
|
5
|
+
import { B as ge, e as be, G as te, a7 as fe, H as Z, I as ve, u as _e, A as he } from "./menu-lVDeJ_wR.js";
|
|
6
6
|
import { useI18n as J, useCoreStore as ye, RestaurantSelector as Ce } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as le, useDialogChild as ke, useDialog as we, components as ee } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as xe } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Ve } from "./app-
|
|
9
|
+
import { _ as Ve } from "./app-B50mNq4C.js";
|
|
10
10
|
import { c as Se } from "./iteration-BoeoXAHD.js";
|
|
11
11
|
import { a as Fe, w as Ie, p as Ae } from "./tooltip-CQW9YRO5.js";
|
|
12
12
|
import { u as Me } from "./discardConfirm-BHni0LNu.js";
|
|
@@ -15,22 +15,22 @@ function se(S) {
|
|
|
15
15
|
return S ? ae(S).format("DD/MM/YY HH:mm") : "-";
|
|
16
16
|
}
|
|
17
17
|
function Re(S, F, l) {
|
|
18
|
-
const c = (u,
|
|
19
|
-
var
|
|
20
|
-
return u === void 0 && !
|
|
18
|
+
const c = (u, v = !1) => {
|
|
19
|
+
var f;
|
|
20
|
+
return u === void 0 && !v ? "-" : ((f = l.find((x) => x.value === (u || null))) == null ? void 0 : f.label) || "-";
|
|
21
21
|
};
|
|
22
22
|
return S.map((u) => {
|
|
23
23
|
var t;
|
|
24
|
-
const
|
|
24
|
+
const v = (t = F.find(({ _id: d }) => d === u._id)) == null ? void 0 : t.posVersion, f = !!v && !!ge.Pos.canUse({ feature: be.F_FEATURE.enum.taxAndServiceChargeV4, posVersion: v }), x = c(u.catalogId);
|
|
25
25
|
return {
|
|
26
26
|
...u,
|
|
27
27
|
_default: x,
|
|
28
28
|
_posTakeaway: u.takeawayCatalog ? c(u.takeawayCatalog) : x,
|
|
29
29
|
_additionalCatalogs: (u.additionalCatalogs || []).map((d) => c(d)),
|
|
30
30
|
_lastUpdate: se(u.updatedAt),
|
|
31
|
-
_pickup:
|
|
32
|
-
_canUsePickup:
|
|
33
|
-
_posVersion:
|
|
31
|
+
_pickup: f ? c(u.pickupCatalog, !0) : "-",
|
|
32
|
+
_canUsePickup: f,
|
|
33
|
+
_posVersion: v || "-"
|
|
34
34
|
};
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -46,12 +46,12 @@ const De = {
|
|
|
46
46
|
restaurant: {}
|
|
47
47
|
},
|
|
48
48
|
setup(S) {
|
|
49
|
-
const F = S, l = le(), { custom: c } = te(l), u = V(!1),
|
|
50
|
-
async function
|
|
49
|
+
const F = S, l = le(), { custom: c } = te(l), u = V(!1), v = V(null);
|
|
50
|
+
async function f() {
|
|
51
51
|
await c(
|
|
52
52
|
async () => {
|
|
53
53
|
var m;
|
|
54
|
-
|
|
54
|
+
v.value = await fe.readMenuById(((m = F.restaurant.revertConfig) == null ? void 0 : m._id) || "");
|
|
55
55
|
},
|
|
56
56
|
{ isLoading: u }
|
|
57
57
|
);
|
|
@@ -60,7 +60,7 @@ const De = {
|
|
|
60
60
|
var m;
|
|
61
61
|
return [
|
|
62
62
|
{ label: "Main", value: null },
|
|
63
|
-
...(((m =
|
|
63
|
+
...(((m = v.value) == null ? void 0 : m.modules.catalog) || []).map((C) => ({
|
|
64
64
|
label: C.name,
|
|
65
65
|
value: C._id
|
|
66
66
|
}))
|
|
@@ -83,7 +83,7 @@ const De = {
|
|
|
83
83
|
{ label: t("menu.revert.labels.restaurant"), value: F.restaurant.name },
|
|
84
84
|
{
|
|
85
85
|
label: t("menu.revert.labels.revert_to"),
|
|
86
|
-
value: se((_ =
|
|
86
|
+
value: se((_ = v.value) == null ? void 0 : _.updatedAt)
|
|
87
87
|
},
|
|
88
88
|
{ label: t("menu.revert.labels.default"), value: C._default },
|
|
89
89
|
{ label: t("menu.revert.labels.pos_takeaway"), value: C._posTakeaway },
|
|
@@ -94,16 +94,16 @@ const De = {
|
|
|
94
94
|
}
|
|
95
95
|
];
|
|
96
96
|
});
|
|
97
|
-
re(async () =>
|
|
97
|
+
re(async () => f());
|
|
98
98
|
const { emitData: D } = ke();
|
|
99
99
|
return (m, C) => {
|
|
100
100
|
const _ = w("FmCircularProgress");
|
|
101
101
|
return u.value ? (y(), U("div", De, [
|
|
102
|
-
|
|
102
|
+
i(_, { size: "lg" })
|
|
103
103
|
])) : (y(), U("div", Pe, [
|
|
104
104
|
o("div", Ue, A(r(t)("menu.revert.description", { name: F.restaurant.name })), 1),
|
|
105
105
|
o("div", Le, [
|
|
106
|
-
(y(!0), U(O, null, W(d.value, (P) => (y(),
|
|
106
|
+
(y(!0), U(O, null, W(d.value, (P) => (y(), T(Fe, {
|
|
107
107
|
key: P.label,
|
|
108
108
|
name: P.label,
|
|
109
109
|
value: P.value || "--"
|
|
@@ -112,7 +112,7 @@ const De = {
|
|
|
112
112
|
]));
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
}), Ee = { class: "fm-typo-en-title-md-600" }, Oe = { class: "mt-40" },
|
|
115
|
+
}), Ee = { class: "fm-typo-en-title-md-600" }, Oe = { class: "mt-40" }, Te = { class: "fm-typo-en-title-sm-600" }, Ne = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mt-4 mb-8" }, ze = { class: "flex gap-8 items-center justify-start" }, He = /* @__PURE__ */ G({
|
|
116
116
|
__name: "UpdateCatalogDialog",
|
|
117
117
|
props: {
|
|
118
118
|
catalogs: {
|
|
@@ -127,8 +127,8 @@ const De = {
|
|
|
127
127
|
show: C,
|
|
128
128
|
hide: _
|
|
129
129
|
});
|
|
130
|
-
const
|
|
131
|
-
function
|
|
130
|
+
const v = l;
|
|
131
|
+
function f() {
|
|
132
132
|
return {
|
|
133
133
|
restaurantId: "",
|
|
134
134
|
catalogId: void 0,
|
|
@@ -155,25 +155,25 @@ const De = {
|
|
|
155
155
|
label: h.name,
|
|
156
156
|
value: h._id
|
|
157
157
|
}))
|
|
158
|
-
]), d = V(
|
|
158
|
+
]), d = V(f()), D = V(!1), m = V(void 0);
|
|
159
159
|
function C(h) {
|
|
160
|
-
m.value = h ? Z(h) :
|
|
160
|
+
m.value = h ? Z(h) : f(), d.value = Z(m.value), D.value = !0;
|
|
161
161
|
}
|
|
162
162
|
function _() {
|
|
163
163
|
D.value = !1;
|
|
164
164
|
}
|
|
165
165
|
const P = Me(
|
|
166
|
-
() => !
|
|
166
|
+
() => !ve.isEqual(m.value, d.value),
|
|
167
167
|
() => {
|
|
168
168
|
_();
|
|
169
169
|
}
|
|
170
170
|
);
|
|
171
171
|
function M() {
|
|
172
|
-
_(),
|
|
172
|
+
_(), v("onComplete", d.value);
|
|
173
173
|
}
|
|
174
174
|
return (h, g) => {
|
|
175
|
-
const B = w("FmSelect"),
|
|
176
|
-
return y(),
|
|
175
|
+
const B = w("FmSelect"), N = w("FmCheckbox"), $ = w("FmButton"), E = w("FmSideSheet");
|
|
176
|
+
return y(), T(E, {
|
|
177
177
|
modelValue: D.value,
|
|
178
178
|
"onUpdate:modelValue": g[5] || (g[5] = (b) => D.value = b),
|
|
179
179
|
"max-width": 560,
|
|
@@ -184,13 +184,13 @@ const De = {
|
|
|
184
184
|
]),
|
|
185
185
|
"side-sheet-footer": L(() => [
|
|
186
186
|
o("div", ze, [
|
|
187
|
-
|
|
187
|
+
i($, {
|
|
188
188
|
label: r(c)("menu.publish.update_catalog_dialog.actions.update"),
|
|
189
189
|
size: "lg",
|
|
190
190
|
variant: "primary",
|
|
191
191
|
onClick: g[4] || (g[4] = () => M())
|
|
192
192
|
}, null, 8, ["label"]),
|
|
193
|
-
|
|
193
|
+
i($, {
|
|
194
194
|
label: r(c)("menu.publish.update_catalog_dialog.actions.cancel"),
|
|
195
195
|
size: "lg",
|
|
196
196
|
variant: "tertiary",
|
|
@@ -199,33 +199,33 @@ const De = {
|
|
|
199
199
|
])
|
|
200
200
|
]),
|
|
201
201
|
default: L(() => [
|
|
202
|
-
|
|
202
|
+
i(B, {
|
|
203
203
|
modelValue: d.value.catalogId,
|
|
204
204
|
"onUpdate:modelValue": g[0] || (g[0] = (b) => d.value.catalogId = b),
|
|
205
205
|
items: x.value,
|
|
206
206
|
class: "mb-24",
|
|
207
207
|
label: r(c)("menu.publish.update_catalog_dialog.sections.default.label")
|
|
208
208
|
}, null, 8, ["modelValue", "items", "label"]),
|
|
209
|
-
|
|
209
|
+
i(B, {
|
|
210
210
|
modelValue: d.value.takeawayCatalog,
|
|
211
211
|
"onUpdate:modelValue": g[1] || (g[1] = (b) => d.value.takeawayCatalog = b),
|
|
212
212
|
items: t.value,
|
|
213
213
|
class: "mb-24",
|
|
214
214
|
label: r(c)("menu.publish.update_catalog_dialog.sections.pos_takeaway.label")
|
|
215
215
|
}, null, 8, ["modelValue", "items", "label"]),
|
|
216
|
-
|
|
216
|
+
i(B, {
|
|
217
217
|
modelValue: d.value.pickupCatalog,
|
|
218
218
|
"onUpdate:modelValue": g[2] || (g[2] = (b) => d.value.pickupCatalog = b),
|
|
219
219
|
items: t.value,
|
|
220
220
|
label: r(c)("menu.publish.update_catalog_dialog.sections.pickup.label")
|
|
221
221
|
}, null, 8, ["modelValue", "items", "label"]),
|
|
222
222
|
o("div", Oe, [
|
|
223
|
-
o("div",
|
|
224
|
-
o("div",
|
|
223
|
+
o("div", Te, A(r(c)("menu.publish.update_catalog_dialog.sections.additional.title")), 1),
|
|
224
|
+
o("div", Ne, A(r(c)("menu.publish.update_catalog_dialog.sections.additional.subtitle")), 1),
|
|
225
225
|
(y(!0), U(O, null, W(S.catalogs, (b) => (y(), U("div", {
|
|
226
226
|
key: b._id
|
|
227
227
|
}, [
|
|
228
|
-
|
|
228
|
+
i(N, {
|
|
229
229
|
modelValue: d.value.additionalCatalogs,
|
|
230
230
|
"onUpdate:modelValue": g[3] || (g[3] = (k) => d.value.additionalCatalogs = k),
|
|
231
231
|
label: b.name,
|
|
@@ -277,11 +277,11 @@ const De = {
|
|
|
277
277
|
row: e
|
|
278
278
|
}) => {
|
|
279
279
|
const a = e.status === "latest";
|
|
280
|
-
return
|
|
280
|
+
return i(xe, {
|
|
281
281
|
label: l(a ? "menu.publish.table.status.latest" : "menu.publish.table.status.outdated"),
|
|
282
282
|
variant: a ? "success" : "warning"
|
|
283
283
|
}, null);
|
|
284
|
-
}, u = V({}),
|
|
284
|
+
}, u = V({}), v = [{
|
|
285
285
|
accessorKey: "name",
|
|
286
286
|
header: () => l("menu.publish.table.columns.restaurant"),
|
|
287
287
|
cell: (e) => e.getValue(),
|
|
@@ -313,7 +313,7 @@ const De = {
|
|
|
313
313
|
accessorKey: "status",
|
|
314
314
|
header: () => l("menu.common.labels.status"),
|
|
315
315
|
enableSorting: !1,
|
|
316
|
-
cell: (e) =>
|
|
316
|
+
cell: (e) => i(c, {
|
|
317
317
|
row: e.row.original
|
|
318
318
|
}, null)
|
|
319
319
|
}, {
|
|
@@ -344,7 +344,7 @@ const De = {
|
|
|
344
344
|
meta: {
|
|
345
345
|
width: "150px"
|
|
346
346
|
}
|
|
347
|
-
}],
|
|
347
|
+
}], f = V(""), x = V(), t = _e(), d = we(), D = R(() => t.version !== he.F_MENU_VERSION.enum.v3);
|
|
348
348
|
async function m(e) {
|
|
349
349
|
e.revertConfig && d.open({
|
|
350
350
|
title: "Revert menu",
|
|
@@ -394,7 +394,7 @@ const De = {
|
|
|
394
394
|
const a = g(e);
|
|
395
395
|
(s = x.value) == null || s.show(a);
|
|
396
396
|
}
|
|
397
|
-
const
|
|
397
|
+
const N = le(), $ = te(N);
|
|
398
398
|
async function E(e) {
|
|
399
399
|
var s;
|
|
400
400
|
const a = (s = k.value.find((p) => p._id === e.restaurantId)) == null ? void 0 : s.name;
|
|
@@ -405,7 +405,7 @@ const De = {
|
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
407
|
const b = V(null), k = R(() => {
|
|
408
|
-
const e =
|
|
408
|
+
const e = f.value.toLowerCase(), a = t.state.menu.updatedAt;
|
|
409
409
|
return t.state.restaurants.filter((s) => {
|
|
410
410
|
var p;
|
|
411
411
|
return !b.value || ((p = b.value) == null ? void 0 : p.includes(s._id));
|
|
@@ -455,15 +455,15 @@ const De = {
|
|
|
455
455
|
successMessage: `Published to ${e.length} restaurant${e.length > 1 ? "s" : ""}`
|
|
456
456
|
});
|
|
457
457
|
}
|
|
458
|
-
async function
|
|
458
|
+
async function ie() {
|
|
459
459
|
await $.minor(async () => await t.readRestaurants(), {
|
|
460
460
|
customId: t.state.menu._id
|
|
461
461
|
});
|
|
462
462
|
}
|
|
463
463
|
async function Q() {
|
|
464
464
|
if (M.value) return;
|
|
465
|
-
const e = Object.keys(u.value).
|
|
466
|
-
k.value.length === t.state.restaurants.length && (e.length === 0 || e.length === k.value.length) ? t.state.restaurants.length > q ? (t.publishAllMenu(),
|
|
465
|
+
const e = Object.keys(u.value).filter((p) => u.value[p]), a = e.length === 0 || e.length === k.value.length ? k.value : k.value.filter((p) => e.includes(p._id));
|
|
466
|
+
k.value.length === t.state.restaurants.length && (e.length === 0 || e.length === k.value.length) ? t.state.restaurants.length > q ? (t.publishAllMenu(), N.open({
|
|
467
467
|
type: "info",
|
|
468
468
|
title: "Publish menu request sent"
|
|
469
469
|
})) : await $.minor(async () => await t.publishAllMenu(), {
|
|
@@ -471,49 +471,50 @@ const De = {
|
|
|
471
471
|
}) : await ne(a);
|
|
472
472
|
}
|
|
473
473
|
return (e, a) => {
|
|
474
|
-
const s = w("FmChip"), p = w("FmSpacer"), I = w("FmButton"), K = w("FmSearch"), X = w("FmTable"), j = w("FmListItem"),
|
|
474
|
+
const s = w("FmChip"), p = w("FmSpacer"), I = w("FmButton"), K = w("FmSearch"), X = w("FmTable"), j = w("FmListItem"), ue = w("FmList");
|
|
475
475
|
return y(), U(O, null, [o("div", Ke, [o("div", je, [o("div", Ye, [o("div", qe, A(r(l)("menu.publish.title")), 1), a[8] || (a[8] = o("div", {
|
|
476
476
|
class: "hidden xs:block fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
|
477
|
-
}, null, -1))]),
|
|
477
|
+
}, null, -1))]), i(s, {
|
|
478
478
|
label: C.value,
|
|
479
479
|
class: "xs:hidden text-fm-color-primary bg-fm-color-system-warning-100"
|
|
480
|
-
}, null, 8, ["label"]),
|
|
480
|
+
}, null, 8, ["label"]), i(p), o("div", Ge, [i(I, {
|
|
481
481
|
disabled: M.value,
|
|
482
482
|
label: r(l)("menu.publish.actions.refresh"),
|
|
483
483
|
variant: "secondary",
|
|
484
|
-
onClick: a[0] || (a[0] = () =>
|
|
485
|
-
}, null, 8, ["disabled", "label"])]), o("div", We, [
|
|
484
|
+
onClick: a[0] || (a[0] = () => ie())
|
|
485
|
+
}, null, 8, ["disabled", "label"])]), o("div", We, [i(I, {
|
|
486
486
|
disabled: M.value,
|
|
487
487
|
icon: "ios_share",
|
|
488
488
|
label: r(l)("menu.publish.actions.publish_all"),
|
|
489
489
|
variant: "primary",
|
|
490
490
|
onClick: a[1] || (a[1] = () => Q())
|
|
491
|
-
}, null, 8, ["disabled", "label"])])]), o("div", Je, [
|
|
491
|
+
}, null, 8, ["disabled", "label"])])]), o("div", Je, [i(r(Ce), {
|
|
492
492
|
multiple: "",
|
|
493
493
|
modelValue: b.value,
|
|
494
|
-
"onUpdate:modelValue": a[3] || (a[3] = (
|
|
494
|
+
"onUpdate:modelValue": a[3] || (a[3] = (n) => b.value = n)
|
|
495
495
|
}, {
|
|
496
|
-
"append-right": L(() => [
|
|
496
|
+
"append-right": L(() => [i(r(pe), {
|
|
497
497
|
modelValue: H.value,
|
|
498
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
498
|
+
"onUpdate:modelValue": a[2] || (a[2] = (n) => H.value = n),
|
|
499
499
|
attributes: oe
|
|
500
500
|
}, null, 8, ["modelValue"])]),
|
|
501
501
|
_: 1
|
|
502
|
-
}, 8, ["modelValue"]),
|
|
503
|
-
modelValue:
|
|
504
|
-
"onUpdate:modelValue": a[4] || (a[4] = (
|
|
502
|
+
}, 8, ["modelValue"]), i(K, {
|
|
503
|
+
modelValue: f.value,
|
|
504
|
+
"onUpdate:modelValue": a[4] || (a[4] = (n) => f.value = n),
|
|
505
505
|
autofocus: "",
|
|
506
506
|
class: "w-[320px] xs:w-full",
|
|
507
507
|
placeholder: r(l)("menu.publish.table.search.placeholder")
|
|
508
508
|
}, null, 8, ["modelValue", "placeholder"])]), k.value.length > 0 ? (y(), U(O, {
|
|
509
509
|
key: 0
|
|
510
|
-
}, [
|
|
510
|
+
}, [i(Ve, {
|
|
511
511
|
class: "xs:hidden block"
|
|
512
512
|
}, {
|
|
513
|
-
default: L(() => [
|
|
513
|
+
default: L(() => [i(X, {
|
|
514
514
|
modelValue: u.value,
|
|
515
|
-
"onUpdate:modelValue": a[5] || (a[5] = (
|
|
516
|
-
"
|
|
515
|
+
"onUpdate:modelValue": a[5] || (a[5] = (n) => u.value = n),
|
|
516
|
+
"get-row-id": (n) => n._id,
|
|
517
|
+
"column-defs": v,
|
|
517
518
|
loading: M.value,
|
|
518
519
|
"page-size": k.value.length,
|
|
519
520
|
"row-data": k.value,
|
|
@@ -522,39 +523,39 @@ const De = {
|
|
|
522
523
|
selection: "multiple",
|
|
523
524
|
"hide-footer": "",
|
|
524
525
|
"pin-header-row": "",
|
|
525
|
-
onRowClick: a[6] || (a[6] = (
|
|
526
|
-
}, null, 8, ["modelValue", "loading", "page-size", "row-data"])]),
|
|
526
|
+
onRowClick: a[6] || (a[6] = (n) => B(n.original))
|
|
527
|
+
}, null, 8, ["modelValue", "get-row-id", "loading", "page-size", "row-data"])]),
|
|
527
528
|
_: 1
|
|
528
|
-
}),
|
|
529
|
+
}), i(ue, {
|
|
529
530
|
class: "flex-col flex-1 min-h-0 overflow-auto xs:flex hidden w-full pb-64",
|
|
530
531
|
separator: ""
|
|
531
532
|
}, {
|
|
532
|
-
default: L(() => [(y(!0), U(O, null, W(k.value, (
|
|
533
|
-
key:
|
|
534
|
-
label:
|
|
533
|
+
default: L(() => [(y(!0), U(O, null, W(k.value, (n) => (y(), T(j, {
|
|
534
|
+
key: n._id,
|
|
535
|
+
label: n.name,
|
|
535
536
|
style: {
|
|
536
537
|
padding: "12px 0 !important"
|
|
537
538
|
},
|
|
538
|
-
onClick: () => B(
|
|
539
|
+
onClick: () => B(n)
|
|
539
540
|
}, {
|
|
540
|
-
default: L(() => [o("div", Qe, [o("div", Xe, [o("div", Ze, A(_(
|
|
541
|
-
row:
|
|
542
|
-
}, null, 8, ["row"])]), o("div", ea, [o("div", aa, A(
|
|
541
|
+
default: L(() => [o("div", Qe, [o("div", Xe, [o("div", Ze, A(_(n.updatedAt)), 1), i(c, {
|
|
542
|
+
row: n
|
|
543
|
+
}, null, 8, ["row"])]), o("div", ea, [o("div", aa, A(n.name), 1), o("div", ta, [o("div", null, "Default: " + A(n.catalog.default), 1), o("div", null, "POS takeaway: " + A(n.catalog.takeaway), 1), o("div", null, "Pickup: " + A(n.catalog.pickup), 1)])])]), o("div", la, [D.value && n.revertConfig ? (y(), T(I, {
|
|
543
544
|
key: 0,
|
|
544
545
|
disabled: M.value,
|
|
545
546
|
icon: "undo",
|
|
546
547
|
variant: "tertiary",
|
|
547
|
-
onClick: z(() => m(
|
|
548
|
-
}, null, 8, ["disabled", "onClick"])) : ce("", !0),
|
|
548
|
+
onClick: z(() => m(n), ["stop"])
|
|
549
|
+
}, null, 8, ["disabled", "onClick"])) : ce("", !0), i(I, {
|
|
549
550
|
disabled: M.value,
|
|
550
551
|
icon: "ios_share",
|
|
551
552
|
variant: "tertiary",
|
|
552
|
-
onClick: z(() => E(g(
|
|
553
|
+
onClick: z(() => E(g(n)), ["stop"])
|
|
553
554
|
}, null, 8, ["disabled", "onClick"])])]),
|
|
554
555
|
_: 2
|
|
555
556
|
}, 1032, ["label", "onClick"]))), 128))]),
|
|
556
557
|
_: 1
|
|
557
|
-
})], 64)) : (y(),
|
|
558
|
+
})], 64)) : (y(), T(r($e), {
|
|
558
559
|
key: 1,
|
|
559
560
|
title: r(l)("menu.publish.empty.title"),
|
|
560
561
|
subtitle: r(l)("menu.publish.empty.subtitle"),
|
|
@@ -567,13 +568,13 @@ const De = {
|
|
|
567
568
|
});
|
|
568
569
|
}
|
|
569
570
|
}
|
|
570
|
-
}, null, 8, ["title", "subtitle", "action"]))]), o("div", sa, [
|
|
571
|
+
}, null, 8, ["title", "subtitle", "action"]))]), o("div", sa, [i(I, {
|
|
571
572
|
disabled: M.value,
|
|
572
573
|
icon: "ios_share",
|
|
573
574
|
label: r(l)("menu.publish.actions.publish_all"),
|
|
574
575
|
variant: "fab",
|
|
575
576
|
onClick: a[7] || (a[7] = () => Q())
|
|
576
|
-
}, null, 8, ["disabled", "label"])]),
|
|
577
|
+
}, null, 8, ["disabled", "label"])]), i(He, {
|
|
577
578
|
ref_key: "updateCatalogDialogRef",
|
|
578
579
|
ref: x,
|
|
579
580
|
catalogs: P.value,
|
|
@@ -2,15 +2,15 @@ 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 { O as q, G as $, H as ie, D as P, I as se, e as Y, J as I, A as T, u as H } from "./menu-
|
|
5
|
+
import { _ as le } from "./app-B50mNq4C.js";
|
|
6
|
+
import { O as q, G as $, H as ie, D as P, I as se, e as Y, J as I, A as T, u as H } from "./menu-lVDeJ_wR.js";
|
|
7
7
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
8
8
|
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
9
9
|
import { defineStore as ue } from "pinia";
|
|
10
|
-
import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-QKmtShaF.js";
|
|
11
11
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
13
|
-
import "./unit-
|
|
13
|
+
import "./unit-DmdOuyXm.js";
|
|
14
14
|
import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
15
15
|
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({
|
|
16
16
|
__name: "Form",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as N, computed as y, h as c, withModifiers as U, ref as V, resolveComponent as _, createBlock as k, openBlock as d, unref as m, withCtx as h, createElementBlock as D, createVNode as f, Fragment as H, createElementVNode as l, renderList as T, toDisplayString as S, createCommentVNode as I } from "vue";
|
|
2
|
-
import { A as i, O as W, u as G, G as Q } from "./menu-
|
|
2
|
+
import { A as i, O as W, u as G, G as Q } from "./menu-lVDeJ_wR.js";
|
|
3
3
|
import { useI18n as J } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as X, useDialog as Z, useSnackbar as ee } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as te } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { _ as ne } from "./app-
|
|
7
|
-
import { d as ae, _ as oe, u as se, c as le } from "./scheduler-
|
|
6
|
+
import { _ as ne } from "./app-B50mNq4C.js";
|
|
7
|
+
import { d as ae, _ as oe, u as se, c as le } from "./scheduler-Bl99ja7r.js";
|
|
8
8
|
import { _ as re } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
9
9
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
10
10
|
const ce = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as J, ref as L, computed as O, 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 Q, renderList as ue } from "vue";
|
|
2
2
|
import { useRouter as ce } from "vue-router";
|
|
3
|
-
import { H, u as W, G as X, O as Z, J as I, A as S } from "./menu-
|
|
3
|
+
import { H, u as W, G as X, O as Z, J as I, A as S } from "./menu-lVDeJ_wR.js";
|
|
4
4
|
import { useI18n as ee, ItemSelector as de, useCoreStore as me } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ne, components as Y, useDialog as pe, FmButtonVariant as A, useBreakpoints as _e } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as fe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
7
|
-
import { _ as ge, R as ve } from "./app-
|
|
7
|
+
import { _ as ge, R as ve } from "./app-B50mNq4C.js";
|
|
8
8
|
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
9
9
|
import { c as ye } from "./check-C9mY6LiX.js";
|
|
10
10
|
import { _ as be } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
11
|
import { u as ke } from "./search-BAPEUu1R.js";
|
|
12
|
-
import { u as xe } from "./app-
|
|
12
|
+
import { u as xe } from "./app-EO3mkzdW.js";
|
|
13
13
|
import { c as Se } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
14
14
|
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__ */ J({
|
|
15
15
|
__name: "Form",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as oe, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as z, 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, O as de, B as pe, H as w } from "./menu-
|
|
2
|
+
import { u as me, G as ce, A as f, O as de, B as pe, H as w } from "./menu-lVDeJ_wR.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
|
-
import { _ as ye, a as E } from "./customAttributes-
|
|
6
|
-
import { _ as H, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { C as _, a as x } from "./catalogSetting-
|
|
8
|
-
import { C as xe } from "./catalog-
|
|
5
|
+
import { _ as ye, a as E } from "./customAttributes-ogWxq4Tm.js";
|
|
6
|
+
import { _ as H, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C7nVEyP0.js";
|
|
7
|
+
import { C as _, a as x } from "./catalogSetting-Cl0DxvXL.js";
|
|
8
|
+
import { C as xe } from "./catalog-BHir10AP.js";
|
|
9
9
|
const Ce = {
|
|
10
10
|
class: /* @__PURE__ */ z(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
11
11
|
}, Oe = {
|
|
@@ -2,17 +2,17 @@ import { defineComponent as L, ref as w, watch as W, resolveComponent as y, crea
|
|
|
2
2
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as B, 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, O as A, J as K, A as G } from "./menu-
|
|
5
|
+
import { G as D, u as N, O as A, J as K, A as G } from "./menu-lVDeJ_wR.js";
|
|
6
6
|
import { _ as le } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { _ as se } from "./app-
|
|
7
|
+
import { _ as se } from "./app-B50mNq4C.js";
|
|
8
8
|
import { c as re } from "./createForm-BoUQeZTd.js";
|
|
9
9
|
import { u as ie } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as I } from "./object-DVUNCr7w.js";
|
|
11
11
|
import { r as ce } from "./rules-CIWTZQfh.js";
|
|
12
12
|
import { c as ue } from "./check-C9mY6LiX.js";
|
|
13
|
-
import { u as q } from "./subcategory-
|
|
13
|
+
import { u as q } from "./subcategory-CAFBSz0j.js";
|
|
14
14
|
import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
15
|
-
import { a as me } from "./menu-
|
|
15
|
+
import { a as me } from "./menu-BCVYl65c.js";
|
|
16
16
|
const pe = {
|
|
17
17
|
class: "fm-typo-en-title-md-600"
|
|
18
18
|
}, _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, O as w, J as E, A as M } from "./menu-
|
|
2
|
+
import { G as x, u as v, O as w, J as E, A as M } from "./menu-lVDeJ_wR.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 O, l as S } from "./index-
|
|
9
|
-
import { a as L } from "./menu-
|
|
7
|
+
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-BvRQJjRj.js";
|
|
8
|
+
import { T as O, l as S } from "./index-C2cz9wGc.js";
|
|
9
|
+
import { a as L } from "./menu-BCVYl65c.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,14 +1,14 @@
|
|
|
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 B, withModifiers as H } from "vue";
|
|
2
|
-
import { G as q, u as Q, O as W, J as N, A as z, H as L, B as se, am as J } from "./menu-
|
|
2
|
+
import { G as q, u as Q, O as W, J as N, A as z, H as L, B as se, am as J } from "./menu-lVDeJ_wR.js";
|
|
3
3
|
import { useI18n as X, useCoreStore as re } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as le, useSnackbar as Z, FmButtonVariant as A, components as ce, useBreakpoints as de } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ue } from "./app-
|
|
5
|
+
import { _ as ue } from "./app-B50mNq4C.js";
|
|
6
6
|
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
7
|
-
import { a as ye, l as ee, T as pe } from "./index-
|
|
7
|
+
import { a as ye, l as ee, T as pe } from "./index-C2cz9wGc.js";
|
|
8
8
|
import { u as fe } from "./search-BAPEUu1R.js";
|
|
9
|
-
import { f as F } from "./currency-
|
|
9
|
+
import { f as F } from "./currency-B98FhcGK.js";
|
|
10
10
|
import { defineStore as _e } from "pinia";
|
|
11
|
-
import { C as ke } from "./catalog-
|
|
11
|
+
import { C as ke } from "./catalog-BHir10AP.js";
|
|
12
12
|
import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
function we(T, U, l, m) {
|
|
14
14
|
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 O, createVNode as K, normalizeStyle as $, withCtx as B, createBlock as U, createCommentVNode as j } from "vue";
|
|
2
|
-
import { A as h, J as E, G as R, O as C, ag as Y, u as y, c as G } from "./menu-
|
|
3
|
-
import { u as S } from "./menuV2-
|
|
4
|
-
import { C as v, h as N } from "./catalog-
|
|
2
|
+
import { A as h, J as E, G as R, O as C, ag as Y, u as y, c as G } from "./menu-lVDeJ_wR.js";
|
|
3
|
+
import { u as S } from "./menuV2-aTjHrm3W.js";
|
|
4
|
+
import { C as v, h as N } from "./catalog-BHir10AP.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-D3N9WMt-.js";
|
|
7
7
|
import { useI18n as J } 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,30 +1,30 @@
|
|
|
1
1
|
import { computed as D, shallowRef as Wt, ref as q, watch as ye, nextTick as nt, getCurrentInstance as xn, onMounted as Ae, defineComponent as ae, resolveComponent as W, createElementBlock as J, openBlock as $, createBlock as H, normalizeClass as fe, createElementVNode as A, createVNode as C, unref as o, withCtx as B, toDisplayString as ge, mergeModels as qt, useModel as Ht, createCommentVNode as X, resolveDirective as Xt, withDirectives as ft, createTextVNode as Sn, renderSlot as Me, h as ve, Fragment as Oe, renderList as Ne, vShow as Jt, withModifiers as He, createSlots as Fn, onBeforeUnmount as Ot, watchEffect as On, onUnmounted as Dn, normalizeStyle as ct, mergeProps as Vn, normalizeProps as $n, guardReactiveProps as Pn, Teleport as Un, Transition as Rn, withKeys as Mn } from "vue";
|
|
2
|
-
import { g as An, o as Nn, f as Ln, a as Gn, n as Qt, _ as Zt, I as Kn, S as Bn, b as Dt, C as zn, R as We, c as en, d as Et, e as tn, h as Yn, m as jn, F as Wn, M as nn, j as qn, r as Hn, k as on, l as Nt, p as rn, q as Xn, P as Jn, s as Qn, t as an, u as Zn, T as Be } from "./item-
|
|
3
|
-
import { _ as eo, T as to } from "./app-
|
|
4
|
-
import { B as be, J as _e, A as te, G as ot, K as no, M as oo, N as ro, O as Vt, P as ao, D as Le, Q as lo, H as me, R as io, T as $t, I as ke, U as vt, V as so, W as uo, X as bt, Y as Lt, Z as co, u as ln, $ as mo } from "./menu-
|
|
2
|
+
import { g as An, o as Nn, f as Ln, a as Gn, n as Qt, _ as Zt, I as Kn, S as Bn, b as Dt, C as zn, R as We, c as en, d as Et, e as tn, h as Yn, m as jn, F as Wn, M as nn, j as qn, r as Hn, k as on, l as Nt, p as rn, q as Xn, P as Jn, s as Qn, t as an, u as Zn, T as Be } from "./item-BZMS-TO_.js";
|
|
3
|
+
import { _ as eo, T as to } from "./app-B50mNq4C.js";
|
|
4
|
+
import { B as be, J as _e, A as te, G as ot, K as no, M as oo, N as ro, O as Vt, P as ao, D as Le, Q as lo, H as me, R as io, T as $t, I as ke, U as vt, V as so, W as uo, X as bt, Y as Lt, Z as co, u as ln, $ as mo } from "./menu-lVDeJ_wR.js";
|
|
5
5
|
import { useI18n as ce, useCoreStore as rt, CustomAttributesForm as sn } from "@feedmepos/mf-common";
|
|
6
6
|
import { useDialog as Ge, useDialogChild as Pt, useSnackbar as Re, FmButtonColorThemeVariant as Fe, components as Ie, FmButtonVariant as qe, useBreakpoints as po } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as Ut } from "./discardConfirm-BHni0LNu.js";
|
|
8
8
|
import { defineStore as fo } from "pinia";
|
|
9
|
-
import { _ as De, a as Ue, b as go } from "./customAttributes-
|
|
10
|
-
import { u as se, g as un, m as vo } from "./menuV2-
|
|
11
|
-
import { s as Tt, _ as bo } from "./index-
|
|
12
|
-
import { _ as Gt } from "./category-
|
|
13
|
-
import { _ as _o, a as yo, u as ho } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { _ as Ze, L as xt } from "./LinkProductSideSheet-
|
|
9
|
+
import { _ as De, a as Ue, b as go } from "./customAttributes-ogWxq4Tm.js";
|
|
10
|
+
import { u as se, g as un, m as vo } from "./menuV2-aTjHrm3W.js";
|
|
11
|
+
import { s as Tt, _ as bo } from "./index-B8Gn-X1l.js";
|
|
12
|
+
import { _ as Gt } from "./category-BHYLTJJC.js";
|
|
13
|
+
import { _ as _o, a as yo, u as ho } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CaA4nQjq.js";
|
|
14
|
+
import { _ as Ze, L as xt } from "./LinkProductSideSheet-D3N9WMt-.js";
|
|
15
15
|
import { _ as dn } from "./tooltip-CQW9YRO5.js";
|
|
16
|
-
import { _ as Xe, T as wo, l as Co } from "./index-
|
|
16
|
+
import { _ as Xe, T as wo, l as Co } from "./index-C2cz9wGc.js";
|
|
17
17
|
import { u as Io } from "./search-BAPEUu1R.js";
|
|
18
18
|
import { c as Rt } from "./check-C9mY6LiX.js";
|
|
19
|
-
import { f as tt } from "./currency-
|
|
19
|
+
import { f as tt } from "./currency-B98FhcGK.js";
|
|
20
20
|
import { c as ko } from "./string-DpfFixWH.js";
|
|
21
21
|
import { useInventoryStore as Eo, InventoryBindingSummary as To } from "@feedmepos/mf-inventory-portal";
|
|
22
|
-
import { u as xo } from "./priceTier-
|
|
22
|
+
import { u as xo } from "./priceTier-Ck2eQXnO.js";
|
|
23
23
|
import { d as Mt } from "./vuedraggable-CK8z7qA8.js";
|
|
24
|
-
import { _ as So } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
24
|
+
import { _ as So } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-fG_BJMQJ.js";
|
|
25
25
|
import "./app-5fxKLAzS.js";
|
|
26
26
|
/* empty css */
|
|
27
|
-
import { i as Fo, t as At, w as Oo, a as cn, b as mn, n as Do, c as Vo, r as $o, _ as Po } from "./index-
|
|
27
|
+
import { i as Fo, t as At, w as Oo, a as cn, b as mn, n as Do, c as Vo, r as $o, _ as Po } from "./index-ClJpoaAA.js";
|
|
28
28
|
import { c as mt } from "./object-DVUNCr7w.js";
|
|
29
29
|
import { _ as Uo } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
30
30
|
import { _ as Kt } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|