@feedmepos/mf-menu 0.19.2 → 0.19.4
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/{ApplyProduct.vue_vue_type_script_setup_true_lang-W3ALTrsj.js → ApplyProduct.vue_vue_type_script_setup_true_lang-D5I3t4Pm.js} +2 -2
- package/dist/{ApplyProducts.vue_vue_type_script_setup_true_lang-TE9kAVkO.js → ApplyProducts.vue_vue_type_script_setup_true_lang-CMvf6CSo.js} +2 -2
- package/dist/{Catalog-BL63lK7R.js → Catalog-DrSJfj0K.js} +45 -45
- package/dist/{Category-sJPghhZ_.js → Category-KxWEoj0I.js} +6 -6
- package/dist/{CookingGuide-DAE7bgcU.js → CookingGuide-FyGgMq4P.js} +3 -3
- package/dist/{Group-BxNeMr8F.js → Group-CRSVns9a.js} +4 -4
- package/dist/{Group-DDxRUmm4.js → Group-RZKjVrQY.js} +1 -1
- package/dist/Group.vue_vue_type_script_setup_true_lang-DqibZsLT.js +559 -0
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B9CLSWLu.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-qFxjy-Pt.js} +2 -2
- package/dist/{Ingredient-ClwK8EGA.js → Ingredient-BL7MCtow.js} +4 -4
- package/dist/{LinkProductSideSheet-Dr54Si8e.js → LinkProductSideSheet-BDmtq8WR.js} +2 -2
- package/dist/{PrintRoute-N_fICtn8.js → PrintRoute-CIhp-7sw.js} +3 -3
- package/dist/{Product-BDwny0B3.js → Product-CmattcQj.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DCypQ1N4.js → Product.vue_vue_type_script_setup_true_lang-BVABDLxO.js} +11 -11
- package/dist/{Products-B9jzE3MQ.js → Products-DYldpJfP.js} +8 -8
- package/dist/{Publish-D8xPK5PZ.js → Publish-SRbEAtN4.js} +2 -2
- package/dist/{Recipe-CTrKvEiB.js → Recipe-BdajaxgI.js} +4 -4
- package/dist/{Scheduler-Bw4Wjlnx.js → Scheduler-6vKVn_NF.js} +2 -2
- package/dist/{SchedulerSelector.vue_vue_type_script_setup_true_lang-cU85Ebal.js → SchedulerSelector.vue_vue_type_script_setup_true_lang-7ssjYqkD.js} +1 -1
- package/dist/ServingSequence-Bwotq1_G.js +4 -0
- package/dist/{Setting-lrWK1aCr.js → Setting-D6XnUxNl.js} +1 -1
- package/dist/{Setting.vue_vue_type_script_setup_true_lang-BIKArP-6.js → Setting.vue_vue_type_script_setup_true_lang-DtFEaGGH.js} +5 -5
- package/dist/{Takeaway-C6ESjI6a.js → Takeaway-B9anZXwZ.js} +1 -1
- package/dist/{Takeaway-BliapyfQ.js → Takeaway-BikYvyEQ.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-_uYXHAgk.js → Takeaway.vue_vue_type_script_setup_true_lang-NFPBD6Fz.js} +4 -4
- package/dist/{TaxSetting-B_OVaxnK.js → TaxSetting-C9boVU5D.js} +4 -4
- package/dist/{Unit-BpPwsq-R.js → Unit-C4f45gYW.js} +2 -2
- package/dist/{Variant-DLnFjrKX.js → Variant-CB-X2fEM.js} +2 -2
- package/dist/{_id_-CpB9sDXs.js → _id_-BgQXTT0y.js} +6 -6
- package/dist/{app-DnjfTTyH.js → app-oYSs-pd6.js} +2366 -2366
- package/dist/app.js +2 -2
- package/dist/assets/{linked-status-DS5Y3Qmg.js → linked-status-yCeFxA9l.js} +8 -8
- package/dist/assets/{validate-menu-B5z7rBbO.js → validate-menu-B0r-AG5J.js} +8 -8
- package/dist/{catalog-B3zKEMGs.js → catalog-BowSAlAz.js} +7731 -7731
- package/dist/{catalog-DEU4EW82.js → catalog-DWTFJ-XO.js} +1 -1
- package/dist/{category-CBXUkjZW.js → category-WGLqnFd1.js} +1 -1
- package/dist/{currency-CyIMAuaF.js → currency-CsuG4LkN.js} +1 -1
- package/dist/{index-F3JoSMjg.js → index-DCYqVoB-.js} +3 -3
- package/dist/{index-C0KmJcH7.js → index-HilfxOC6.js} +467 -467
- package/dist/{item-BVtbX-DR.js → item-DM3R7WsF.js} +358 -358
- package/dist/{lodash-Dum3fDW4.js → lodash-CLxIdrX5.js} +1 -1
- package/dist/{menu-Bxe-VCgS.js → menu-C3eh7uuj.js} +1 -1
- package/dist/{object-BNFM25tr.js → object-DbjMvqC0.js} +1 -1
- package/dist/{scheduler-DPTNLoCR.js → scheduler-GyLH8lum.js} +4 -4
- package/dist/{takeaway-GxwSTX8A.js → takeaway-C3XibS8E.js} +4 -4
- package/dist/{toExcel-B35ESJnK.js → toExcel-D5ymc0w0.js} +2 -2
- package/dist/{unit-zvgjgaPU.js → unit-BLHl81L1.js} +2 -2
- package/package.json +3 -3
- package/dist/Group.vue_vue_type_script_setup_true_lang-D_YJ5tL_.js +0 -559
- package/dist/ServingSequence-CjrJ1oDe.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as U, computed as i, h as u, ref as K, resolveComponent as g, openBlock as d, createElementBlock as p, createVNode as v, withCtx as h, createElementVNode as V, createBlock as j, unref as n, createCommentVNode as C, toDisplayString as A, isRef as D, Fragment as G, renderList as H } from "vue";
|
|
2
|
-
import { u as M, n as O, U as $ } from "./app-
|
|
2
|
+
import { u as M, n as O, U as $ } from "./app-oYSs-pd6.js";
|
|
3
3
|
import { components as I, FmButtonVariant as B, FmButtonColorThemeVariant as b } from "@feedmepos/ui-library";
|
|
4
|
-
import { L as q } from "./LinkProductSideSheet-
|
|
4
|
+
import { L as q } from "./LinkProductSideSheet-BDmtq8WR.js";
|
|
5
5
|
import { _ as J } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
6
6
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
7
7
|
const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }, Y = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as T, ref as y, computed as k, resolveComponent as m, openBlock as p, createBlock as w, unref as G, withCtx as f, createElementVNode as s, createVNode as u, toDisplayString as g, createElementBlock as b, Fragment as F, renderList as B } from "vue";
|
|
2
|
-
import { d as V } from "./app-
|
|
2
|
+
import { d as V } from "./app-oYSs-pd6.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
|
-
import { u as H, l as J } from "./lodash-
|
|
5
|
+
import { u as H, l as J } from "./lodash-CLxIdrX5.js";
|
|
6
6
|
const M = { class: "flex items-center gap-8" }, Q = { class: "flex flex-col h-full" }, R = { class: "flex items-center gap-24 mb-16" }, W = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, X = { class: "flex-1" }, Y = { class: "grow overflow-y-auto py-16 space-y-24" }, Z = { class: "flex items-center" }, ee = { class: "ml-8 fm-card__title grow overflow-hidden text-nowrap text-ellipsis" }, te = { class: "ml-16" }, le = { class: "flex gap-8 items-center justify-start" }, ie = /* @__PURE__ */ T({
|
|
7
7
|
__name: "ApplyProducts",
|
|
8
8
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as ie, ref as I, computed as $, resolveComponent as g, openBlock as m, createElementBlock as b, Fragment as V, renderSlot as ye, createVNode as i, unref as e, withCtx as
|
|
1
|
+
import { defineComponent as ie, ref as I, computed as $, resolveComponent as g, openBlock as m, createElementBlock as b, Fragment as V, renderSlot as ye, createVNode as i, unref as e, withCtx as p, createElementVNode as f, renderList as w, createBlock as F, createCommentVNode as z, createTextVNode as be, toDisplayString as k, h as J, withModifiers as Q, normalizeClass as ee } from "vue";
|
|
2
2
|
import { useCoreStore as ce, useI18n as me } from "@feedmepos/mf-common";
|
|
3
|
-
import { b as O, u as de, i as pe, a as fe, m as oe, c as xe, g as ke, d as ae, h as ge, x as ne, _ as Ce, k as he, j as Oe, R as se } from "./app-
|
|
4
|
-
import { C as Fe } from "./catalog-
|
|
3
|
+
import { b as O, u as de, i as pe, a as fe, m as oe, c as xe, g as ke, d as ae, h as ge, x as ne, _ as Ce, k as he, j as Oe, R as se } from "./app-oYSs-pd6.js";
|
|
4
|
+
import { C as Fe } from "./catalog-DWTFJ-XO.js";
|
|
5
5
|
import { useRouter as Me } from "vue-router";
|
|
6
6
|
import { useSnackbar as _e, components as le, FmButtonColorThemeVariant as W, FmButtonVariant as G, useDialog as De, useBreakpoints as Ve } from "@feedmepos/ui-library";
|
|
7
|
-
import { C as R, a as L, _ as re } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { C as R, a as L, _ as re } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-qFxjy-Pt.js";
|
|
8
8
|
import { _ as Se } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
9
9
|
import { _ as te } from "./FormItem.vue_vue_type_script_setup_true_lang-DKsxEK-8.js";
|
|
10
10
|
const Ae = { class: "space-y-32" }, Ne = {
|
|
@@ -18,7 +18,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
18
18
|
s ?? oe.generator.initMenuV4Catalog(),
|
|
19
19
|
N.value
|
|
20
20
|
));
|
|
21
|
-
}, N = $(() => D.version === O.F_MENU_VERSION.enum.v4), D = de(), P = ce(),
|
|
21
|
+
}, N = $(() => D.version === O.F_MENU_VERSION.enum.v4), D = de(), P = ce(), d = pe(fe(_e())), r = I(
|
|
22
22
|
R.fromCatalog(oe.generator.initMenuV4Catalog(), N.value)
|
|
23
23
|
), Z = $(() => D.catalogs.map((c) => c.name)), S = $({
|
|
24
24
|
get: () => r.value.taxSetting,
|
|
@@ -58,7 +58,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
58
58
|
...R.toCatalog(r.value)
|
|
59
59
|
};
|
|
60
60
|
try {
|
|
61
|
-
await
|
|
61
|
+
await d.updateMenu(
|
|
62
62
|
{
|
|
63
63
|
module: O.F_MENU_MODULE_V4_KEY.enum.catalog,
|
|
64
64
|
operation: ge.F_OPERATION_TYPE.create,
|
|
@@ -86,7 +86,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
86
86
|
"max-width": 560,
|
|
87
87
|
"z-index": 80
|
|
88
88
|
}, {
|
|
89
|
-
"side-sheet-footer":
|
|
89
|
+
"side-sheet-footer": p(() => [
|
|
90
90
|
f("div", $e, [
|
|
91
91
|
i(M, {
|
|
92
92
|
loading: A.value,
|
|
@@ -103,12 +103,12 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
103
103
|
}, null, 8, ["label"])
|
|
104
104
|
])
|
|
105
105
|
]),
|
|
106
|
-
default:
|
|
106
|
+
default: p(() => [
|
|
107
107
|
f("div", Ae, [
|
|
108
108
|
i(Se, {
|
|
109
109
|
title: e(u)("menu.catalog.detail")
|
|
110
110
|
}, {
|
|
111
|
-
default:
|
|
111
|
+
default: p(() => [
|
|
112
112
|
i(t, {
|
|
113
113
|
modelValue: r.value.name,
|
|
114
114
|
"onUpdate:modelValue": s[0] || (s[0] = (n) => r.value.name = n),
|
|
@@ -122,7 +122,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
122
122
|
i(te, {
|
|
123
123
|
label: e(u)("menu.catalog.form.tax.title")
|
|
124
124
|
}, {
|
|
125
|
-
default:
|
|
125
|
+
default: p(() => {
|
|
126
126
|
var n, h;
|
|
127
127
|
return [
|
|
128
128
|
i(o, {
|
|
@@ -131,7 +131,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
131
131
|
y === e(L).AUTO ? S.value = e(R).autoTax() : S.value = e(R).manualTax(C.value);
|
|
132
132
|
})
|
|
133
133
|
}, {
|
|
134
|
-
default:
|
|
134
|
+
default: p(() => [
|
|
135
135
|
i(a, {
|
|
136
136
|
value: e(L).AUTO,
|
|
137
137
|
label: e(u)("menu.catalog.form.tax.auto.label"),
|
|
@@ -171,7 +171,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
171
171
|
key: 0,
|
|
172
172
|
label: e(u)("menu.catalog.form.link.title")
|
|
173
173
|
}, {
|
|
174
|
-
default:
|
|
174
|
+
default: p(() => [
|
|
175
175
|
i(x, {
|
|
176
176
|
"model-value": r.value.orderFrom && r.value.orderFrom !== e(O.F_ORDER_FROM).enum.NONE,
|
|
177
177
|
label: e(u)("menu.catalog.form.link.auto_link.label"),
|
|
@@ -202,7 +202,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
202
202
|
key: 1,
|
|
203
203
|
label: e(u)("menu.catalog.form.markup.title")
|
|
204
204
|
}, {
|
|
205
|
-
default:
|
|
205
|
+
default: p(() => [
|
|
206
206
|
i(x, {
|
|
207
207
|
"model-value": !!r.value.markupOptions,
|
|
208
208
|
label: e(u)("menu.catalog.form.markup.auto.label"),
|
|
@@ -217,7 +217,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
217
217
|
action: "add",
|
|
218
218
|
"onUpdate:modelValue": s[5] || (s[5] = (n) => n && (r.value.markupOptions = [...r.value.markupOptions ?? [], n]))
|
|
219
219
|
}, {
|
|
220
|
-
default:
|
|
220
|
+
default: p(({ trigger: n }) => [
|
|
221
221
|
i(M, {
|
|
222
222
|
"text-color": e(W).ColorPrimary,
|
|
223
223
|
"border-color": e(W).ColorPrimary,
|
|
@@ -237,18 +237,18 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
237
237
|
action: "update",
|
|
238
238
|
"onUpdate:modelValue": (y) => y && j(h, y)
|
|
239
239
|
}, {
|
|
240
|
-
default:
|
|
240
|
+
default: p(({ trigger: y }) => [
|
|
241
241
|
i(E, {
|
|
242
242
|
id: JSON.stringify(n),
|
|
243
243
|
class: "py-12 px-16 cursor-pointer",
|
|
244
244
|
variant: "outlined",
|
|
245
245
|
onClick: y
|
|
246
246
|
}, {
|
|
247
|
-
default:
|
|
247
|
+
default: p(() => [
|
|
248
248
|
f("div", Ue, [
|
|
249
249
|
f("div", Ee, [
|
|
250
250
|
i(U, { class: "text-fm-color-typo-info bg-fm-color-system-info-100 font-semibold" }, {
|
|
251
|
-
default:
|
|
251
|
+
default: p(() => [
|
|
252
252
|
be(k(e(u)("menu.catalog.form.markup.percentage", { value: n.percentage })), 1)
|
|
253
253
|
]),
|
|
254
254
|
_: 2
|
|
@@ -312,7 +312,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
312
312
|
__name: "Catalog",
|
|
313
313
|
setup(ve) {
|
|
314
314
|
const X = ce(), _ = de(), A = _e(), K = fe(A), N = De(), D = pe(K), P = Me(), {
|
|
315
|
-
t:
|
|
315
|
+
t: d
|
|
316
316
|
} = me();
|
|
317
317
|
function r(t, a) {
|
|
318
318
|
var T, M, U, E;
|
|
@@ -398,21 +398,21 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
398
398
|
const a = _.state.restaurants.filter((o) => [...o.additionalCatalogs, o.inHouseDelivery, ...o.linkedDeliveryCatalogs.map((v) => v.catalog), o.pickupCatalog, o.takeawayCatalog, o.catalogId].includes(t.id)).map((o) => o.name);
|
|
399
399
|
a.length > 0 ? A.open({
|
|
400
400
|
type: "error",
|
|
401
|
-
message:
|
|
401
|
+
message: d("menu.catalog.dialogs.remove.error", {
|
|
402
402
|
restaurants: a
|
|
403
403
|
})
|
|
404
404
|
}) : N.open({
|
|
405
|
-
title:
|
|
406
|
-
message:
|
|
405
|
+
title: d("menu.catalog.dialogs.remove.title"),
|
|
406
|
+
message: d("menu.catalog.dialogs.remove.message", {
|
|
407
407
|
name: t.name
|
|
408
408
|
}),
|
|
409
409
|
primaryActions: {
|
|
410
|
-
text:
|
|
410
|
+
text: d("menu.common.actions.remove"),
|
|
411
411
|
close: !0,
|
|
412
412
|
variant: G.Destructive
|
|
413
413
|
},
|
|
414
414
|
secondaryActions: {
|
|
415
|
-
text:
|
|
415
|
+
text: d("menu.common.actions.cancel"),
|
|
416
416
|
close: !0
|
|
417
417
|
}
|
|
418
418
|
}).onPrimary(async () => {
|
|
@@ -427,15 +427,15 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
427
427
|
}
|
|
428
428
|
const u = I([{
|
|
429
429
|
accessorKey: "name",
|
|
430
|
-
header: () =>
|
|
430
|
+
header: () => d("menu.catalog.table.columns.title"),
|
|
431
431
|
enableSorting: !1
|
|
432
432
|
}, {
|
|
433
433
|
accessorKey: "taxMode",
|
|
434
|
-
header: () =>
|
|
434
|
+
header: () => d("menu.catalog.table.columns.tax_calculation"),
|
|
435
435
|
enableSorting: !1
|
|
436
436
|
}, {
|
|
437
437
|
accessorKey: "autoLink",
|
|
438
|
-
header: () =>
|
|
438
|
+
header: () => d("menu.catalog.table.columns.auto_link"),
|
|
439
439
|
enableSorting: !1,
|
|
440
440
|
cell: (t) => {
|
|
441
441
|
const a = t.row.original;
|
|
@@ -477,38 +477,38 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
477
477
|
return (t, a) => {
|
|
478
478
|
const o = g("fm-button"), v = g("FmTable"), x = g("FmButton"), T = g("fm-card-header"), M = g("fm-card-section"), U = g("fm-card"), E = g("fm-side-sheet");
|
|
479
479
|
return m(), F(Ce, {
|
|
480
|
-
heading: "
|
|
480
|
+
heading: e(d)("menu.catalog.title")
|
|
481
481
|
}, {
|
|
482
|
-
"append-heading":
|
|
482
|
+
"append-heading": p(() => [C.value.length > 0 ? (m(), F(e(ue), {
|
|
483
483
|
key: 0,
|
|
484
484
|
ref_key: "createCatalogManagerFormRef",
|
|
485
485
|
ref: j
|
|
486
486
|
}, {
|
|
487
|
-
default:
|
|
487
|
+
default: p(({
|
|
488
488
|
trigger: l
|
|
489
489
|
}) => [f("div", {
|
|
490
490
|
class: ee([["xs:fixed xs:z-10 xs:bottom-[68px] xs:right-16"], "ml-auto xs:ml-0 flex flex-row gap-8"])
|
|
491
491
|
}, [i(o, {
|
|
492
|
-
label: e(
|
|
492
|
+
label: e(d)("menu.catalog.actions.view_usage"),
|
|
493
493
|
onClick: a[0] || (a[0] = (n) => S.value = !0),
|
|
494
494
|
variant: "secondary"
|
|
495
495
|
}, null, 8, ["label"]), i(o, {
|
|
496
|
-
label: e(
|
|
496
|
+
label: e(d)("menu.catalog.actions.add"),
|
|
497
497
|
"prepend-icon": "add",
|
|
498
498
|
onClick: l
|
|
499
499
|
}, null, 8, ["label", "onClick"])])]),
|
|
500
500
|
_: 1
|
|
501
501
|
}, 512)) : z("", !0)]),
|
|
502
|
-
default:
|
|
502
|
+
default: p(() => [C.value.length === 0 ? (m(), F(e(he), {
|
|
503
503
|
key: 0,
|
|
504
|
-
subtitle: e(
|
|
505
|
-
title: e(
|
|
504
|
+
subtitle: e(d)("menu.catalog.empty.subtitle"),
|
|
505
|
+
title: e(d)("menu.catalog.empty.title")
|
|
506
506
|
}, {
|
|
507
|
-
action:
|
|
508
|
-
default:
|
|
507
|
+
action: p(() => [i(e(ue), null, {
|
|
508
|
+
default: p(({
|
|
509
509
|
trigger: l
|
|
510
510
|
}) => [i(o, {
|
|
511
|
-
label: e(
|
|
511
|
+
label: e(d)("menu.catalog.actions.add"),
|
|
512
512
|
"prepend-icon": "add",
|
|
513
513
|
onClick: l
|
|
514
514
|
}, null, 8, ["label", "onClick"])]),
|
|
@@ -534,7 +534,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
534
534
|
}, null, 8, ["text-color", "variant", "onClick"])])], 8, Pe))), 128))])) : (m(), F(Oe, {
|
|
535
535
|
key: 0
|
|
536
536
|
}, {
|
|
537
|
-
default:
|
|
537
|
+
default: p(() => [i(v, {
|
|
538
538
|
"column-defs": u.value,
|
|
539
539
|
"row-data": C.value,
|
|
540
540
|
"page-size": C.value.length,
|
|
@@ -549,24 +549,24 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
549
549
|
"max-width": 560,
|
|
550
550
|
"z-index": 80
|
|
551
551
|
}, {
|
|
552
|
-
"side-sheet-header":
|
|
553
|
-
default:
|
|
552
|
+
"side-sheet-header": p(() => [f("p", je, k(e(d)("menu.catalog.usage.title")), 1)]),
|
|
553
|
+
default: p(() => [f("div", He, [(m(!0), b(V, null, w(C.value, (l, n) => (m(), F(U, {
|
|
554
554
|
key: n,
|
|
555
555
|
class: "relative",
|
|
556
556
|
variant: "outlined"
|
|
557
557
|
}, {
|
|
558
|
-
default:
|
|
559
|
-
subtitle: e(
|
|
558
|
+
default: p(() => [i(T, {
|
|
559
|
+
subtitle: e(d)("menu.catalog.usage.tax_calculation") + `: ${l.taxMode} (${l.totalProducts} ${e(d)("menu.catalog.usage.products", {
|
|
560
560
|
count: l.totalProducts
|
|
561
561
|
})})`,
|
|
562
562
|
title: l.name
|
|
563
563
|
}, null, 8, ["subtitle", "title"]), i(M, {
|
|
564
564
|
class: ee(["pt-8 space-y-12", "divide-y divide-fm-color-neutral-gray-100"])
|
|
565
565
|
}, {
|
|
566
|
-
default:
|
|
566
|
+
default: p(() => [(m(!0), b(V, null, w(l.restaurants, (h, y) => (m(), b("div", {
|
|
567
567
|
key: y,
|
|
568
568
|
class: ee(["flex xs:flex-col", "space-x-24 xs:space-x-0", "xs:space-y-24", "pt-12 first:pt-0"])
|
|
569
|
-
}, [f("div", qe, [f("p", Je, k(e(
|
|
569
|
+
}, [f("div", qe, [f("p", Je, k(e(d)("menu.catalog.usage.restaurant")), 1), f("p", Qe, k(h.name), 1)]), f("div", We, [f("p", Xe, k(e(d)("menu.catalog.usage.usage")), 1), (m(!0), b(V, null, w(h.usage, (B) => (m(), b("p", {
|
|
570
570
|
key: B,
|
|
571
571
|
class: "fm-typo-cn-body-lg-600"
|
|
572
572
|
}, k(B), 1))), 128))])]))), 128))]),
|
|
@@ -577,7 +577,7 @@ const Ae = { class: "space-y-32" }, Ne = {
|
|
|
577
577
|
_: 1
|
|
578
578
|
}, 8, ["modelValue"])], 64))]),
|
|
579
579
|
_: 1
|
|
580
|
-
});
|
|
580
|
+
}, 8, ["heading"]);
|
|
581
581
|
};
|
|
582
582
|
}
|
|
583
583
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as j, ref as w, computed as B, watch as re, resolveComponent as y, openBlock as h, createElementBlock as T, Fragment as Z, renderSlot as ie, createVNode as u, unref as e, withCtx as v, createElementVNode as o, toDisplayString as L, h as z, withModifiers as R, getCurrentInstance as ce, renderList as ue, createBlock as O, createCommentVNode as de } from "vue";
|
|
2
|
-
import { u as K, a as me } from "./menu-
|
|
3
|
-
import { a as Y, u as pe, b as A, g as fe, h as ee, i as q, j as ge, _ as _e, k as ye, f as ve } from "./app-
|
|
2
|
+
import { u as K, a as me } from "./menu-C3eh7uuj.js";
|
|
3
|
+
import { a as Y, u as pe, b as A, g as fe, h as ee, i as q, j as ge, _ as _e, k as ye, f as ve } from "./app-oYSs-pd6.js";
|
|
4
4
|
import { useSnackbar as G, components as P, useDialog as te, FmButtonVariant as Q, useBreakpoints as he, FmButtonColorThemeVariant as be } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as ae } from "./category-
|
|
5
|
+
import { u as ae } from "./category-WGLqnFd1.js";
|
|
6
6
|
import { c as xe } from "./createForm-DPAQWnoK.js";
|
|
7
|
-
import { c as W } from "./object-
|
|
8
|
-
import { u as Ce } from "./item-
|
|
7
|
+
import { c as W } from "./object-DbjMvqC0.js";
|
|
8
|
+
import { u as Ce } from "./item-DM3R7WsF.js";
|
|
9
9
|
import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
10
|
-
import { u as ke } from "./lodash-
|
|
10
|
+
import { u as ke } from "./lodash-CLxIdrX5.js";
|
|
11
11
|
import { useI18n as H } from "@feedmepos/mf-common";
|
|
12
12
|
function we(p, f = "This field can't be empty.") {
|
|
13
13
|
return p == null || Array.isArray(p) && p.length === 0 || typeof p == "string" && p.trim() === "" ? f : !0;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as le, ref as h, computed as w, resolveComponent as x, openBlock as g, createBlock as P, unref as t, withCtx as c, createElementVNode as a, createVNode as i, toDisplayString as V, createElementBlock as $, Fragment as z, renderList as q, createTextVNode as be, withModifiers as se, createCommentVNode as ce, h as R } from "vue";
|
|
2
|
-
import { d as Z, b as ee, h as ue, u as ye, i as ke, a as he, _ as xe, f as Ce, k as we, j as Ve } from "./app-
|
|
2
|
+
import { d as Z, b as ee, h as ue, u as ye, i as ke, a as he, _ as xe, f as Ce, k as we, j as Ve } from "./app-oYSs-pd6.js";
|
|
3
3
|
import { components as de, useSnackbar as Fe, useDialog as Se } from "@feedmepos/ui-library";
|
|
4
4
|
import { V as $e } from "./vuedraggable-WU01qJgi.js";
|
|
5
|
-
import { _ as Ie } from "./ApplyProducts.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as Ie } from "./ApplyProducts.vue_vue_type_script_setup_true_lang-CMvf6CSo.js";
|
|
6
6
|
import { useI18n as ie } from "@feedmepos/mf-common";
|
|
7
7
|
import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
8
|
-
import { u as me, l as pe } from "./lodash-
|
|
8
|
+
import { u as me, l as pe } from "./lodash-CLxIdrX5.js";
|
|
9
9
|
const Oe = { class: "flex items-center gap-8" }, De = { class: "grow" }, Ne = { class: "space-y-32" }, Le = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, Ue = { class: "px-16 py-8 w-[40%]" }, Ge = { class: "px-16 py-8 grow" }, Ke = { class: "flex items-center border-b border-b-fm-color-neutral-gray-100" }, Be = { class: "px-16 py-8 w-[40%]" }, Ee = { class: "px-16 py-8 grow" }, Me = { class: "space-y-16" }, ze = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Te = { class: "flex gap-8 items-center justify-start" }, Re = /* @__PURE__ */ le({
|
|
10
10
|
__name: "CookingGuideStepDialog",
|
|
11
11
|
emits: ["onComplete"],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as m, ref as c, openBlock as i, createBlock as d, unref as n, withCtx as a, createVNode as l, createElementVNode as e, toDisplayString as p, createCommentVNode as u } from "vue";
|
|
2
|
-
import { _ as f, f as _ } from "./app-
|
|
3
|
-
import { _ as g } from "./Group.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as y } from "./menu-
|
|
5
|
-
import { A as b } from "./item-
|
|
2
|
+
import { _ as f, f as _ } from "./app-oYSs-pd6.js";
|
|
3
|
+
import { _ as g } from "./Group.vue_vue_type_script_setup_true_lang-DqibZsLT.js";
|
|
4
|
+
import { a as y } from "./menu-C3eh7uuj.js";
|
|
5
|
+
import { A as b } from "./item-DM3R7WsF.js";
|
|
6
6
|
import { useI18n as h } from "@feedmepos/mf-common";
|
|
7
7
|
const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, S = /* @__PURE__ */ m({
|
|
8
8
|
__name: "Group",
|