@feedmepos/mf-menu 0.32.66 → 0.32.68
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-CLFnWEv5.js → App-C_wzmb6P.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CVlLKIvY.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DJ-Yyl-y.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CifmNu2u.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DHTKM2Rk.js} +3 -3
- package/dist/{Catalog-BC3jLsPs.js → Catalog-Brdx3vwv.js} +6 -6
- package/dist/{Category-Bmwlq6nL.js → Category-Clan4Fwx.js} +22 -22
- package/dist/{Category-DMkvEdKc.js → Category-Kr7zDqaR.js} +8 -8
- package/dist/{CookingGuide-qy0LTm-D.js → CookingGuide-D8K1T0Wk.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-JiZiBeEH.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DDAz6tmK.js} +1 -1
- package/dist/{Group-BPwmyZZp.js → Group-DkEH1W-l.js} +1 -1
- package/dist/{Group-D0Xv55no.js → Group-DyOCkcWz.js} +8 -8
- package/dist/{Group.vue_vue_type_script_setup_true_lang-D8nAO7h0.js → Group.vue_vue_type_script_setup_true_lang-CMvaZV7r.js} +20 -20
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CjEnnnQj.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D0dxZUHg.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DMzqbxts.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BCKgLffo.js} +7 -7
- package/dist/{Ingredient-BqaX4rlX.js → Ingredient-ele1Xkxq.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-sKJRkcCq.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Cd5pXFbz.js} +2 -2
- package/dist/{LinkProductSideSheet-C6R0KLzF.js → LinkProductSideSheet-BpRT3ZyK.js} +4 -4
- package/dist/{MenuSetting-BedGpIZE.js → MenuSetting-DlRwd2RR.js} +7 -7
- package/dist/{OrderPacing-C7i8LWNy.js → OrderPacing-bAAj3I9B.js} +5 -5
- package/dist/{PrintRoute-CIuQv57y.js → PrintRoute-DeiR2NvQ.js} +5 -5
- package/dist/{Product-DRcYcCoB.js → Product-VcKOCdv9.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-C1jETJyk.js → Product.vue_vue_type_script_setup_true_lang-Bz5Rr6Oo.js} +14 -14
- package/dist/{ProductInternalTools-BKZ3Z3o8.js → ProductInternalTools-BnMKscNT.js} +7 -7
- package/dist/{Products-BOz9WFoU.js → Products-DFyBBzjn.js} +59 -59
- package/dist/Publish-hJOLwfsE.js +1565 -0
- package/dist/{Recipe-DNFAMy0c.js → Recipe-DFeTDvuk.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-B8P0xkMT.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BX-hs3g7.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DxpvosGG.js → RuleView.vue_vue_type_script_setup_true_lang-D7TpK5fD.js} +636 -636
- package/dist/{Scheduler-DFc4fCB9.js → Scheduler-CacvSBtZ.js} +78 -72
- package/dist/{ServingSequence-DjIUv0-b.js → ServingSequence-Dg0-u71Y.js} +3 -3
- package/dist/{Setting-DnTMpvqy.js → Setting-BBVrC3ML.js} +5 -5
- package/dist/{Subcategory-B3HfpruL.js → Subcategory-RhioZvac.js} +6 -6
- package/dist/{Takeaway-CCJDLPwz.js → Takeaway-C_Yocsm8.js} +4 -4
- package/dist/{Takeaway-DYoO1ATi.js → Takeaway-DyIJ2dAt.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-B8RUqBww.js → Takeaway.vue_vue_type_script_setup_true_lang-iIM7kEEk.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-D1gjP1Yk.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CyhcbrTQ.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-Cixm7NMC.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DQelKdQf.js} +2 -2
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BN7PkI9l.js +5865 -0
- package/dist/{Unit-DTswZFER.js → Unit-bu2YYoAr.js} +2 -2
- package/dist/{Variant-hqEsHL1u.js → Variant-D4HSAKaA.js} +3 -3
- package/dist/{_id_-CGEwOGPW.js → _id_-TNWD2yHG.js} +10 -10
- package/dist/{app-Bl1kXtqs.js → app-BwvStTgj.js} +1 -1
- package/dist/{app-Da1XriaA.js → app-D8hc9pO3.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/publish.d.ts +2 -2
- package/dist/apps/mf-menu/src/helper/overrideForm.d.ts +17 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BvskCt3K.js → linked-status-D3zBIZmV.js} +3 -3
- package/dist/assets/{menu-export-Do1iuDTl.js → menu-export-DKP_2V0H.js} +3 -3
- package/dist/assets/{override-menu-6Z3zlZar.js → override-menu-C_m4eXlt.js} +3 -3
- package/dist/assets/{validate-menu-B5dZxzSc.js → validate-menu-DF53PcFi.js} +2 -2
- package/dist/{catalog-UnHoIEYX.js → catalog-sB0wljWA.js} +1 -1
- package/dist/{catalogSetting-DNkG_w_s.js → catalogSetting-DnRDwn_7.js} +1 -1
- package/dist/{currency-DI_9wOEf.js → currency-CJMH7GL8.js} +1 -1
- package/dist/{dayjs.min-B1nGfqJL.js → dayjs.min-BPMljI-8.js} +2 -2
- package/dist/{discardConfirm-C65bh13g.js → discardConfirm-DVc_4r3v.js} +1 -1
- package/dist/{index-CJoXwoxN.js → index-BuyOfZQk.js} +5 -5
- package/dist/{index-Uv8d5BUd.js → index-C3-Fsu9G.js} +1 -1
- package/dist/{index-rj_-6l1M.js → index-D02xcA-8.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-BRtju05_.js → index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js} +4563 -4563
- package/dist/{item-Cl-8exj2.js → item-4qAhCGxc.js} +2956 -2943
- package/dist/{jszip.min-5yjRwCyp.js → jszip.min-C7GdBMKl.js} +167 -167
- package/dist/{linkProducts-CimT6rLW.js → linkProducts-Xj0pwao2.js} +4 -4
- package/dist/{memberPricing-CZwLOzMR.js → memberPricing-DrnYW8GA.js} +1 -1
- package/dist/{menu-C4c62Xvw.js → menu-AX8l-jmp.js} +1 -1
- package/dist/{menuV2-BxVmtfZ3.js → menuV2-DyTvIOlq.js} +33 -33
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-C0bYumFm.js → order_pacing-0tZW1wH_.js} +5 -5
- package/dist/{priceTier-C08rb71L.js → priceTier-C3S0kEKr.js} +1 -1
- package/dist/{rules-DEd-yB4f.js → rules-BrCS7pk7.js} +3 -3
- package/dist/scheduler-Dgi_Z-de.js +519 -0
- package/dist/{toExcel-Ca_J-aHT.js → toExcel-BmRSTeYh.js} +2 -2
- package/dist/{unit-CDMOEbey.js → unit-fWmA4WXX.js} +3 -3
- package/package.json +3 -3
- package/dist/Publish-COiwVeUS.js +0 -1532
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CNs2BM3V.js +0 -5861
- package/dist/scheduler-B_-N10Gf.js +0 -515
|
@@ -1,33 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { z as d, A as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { components as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { d as
|
|
8
|
-
import { _ as
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as Q, computed as y, h as f, withModifiers as M, ref as O, resolveComponent as h, createBlock as b, openBlock as c, unref as i, withCtx as _, createElementBlock as F, createVNode as p, Fragment as q, createElementVNode as s, renderList as G, toDisplayString as k, createCommentVNode as A } from "vue";
|
|
2
|
+
import { z as d, A as J, i as X, u as Z, b as ee, _ as te } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
3
|
+
import { useI18n as ne, useAppLocale as ae, formatTimeOfDay as P } from "@feedmepos/mf-common";
|
|
4
|
+
import { components as oe, useDialog as le, useSnackbar as se } from "@feedmepos/ui-library";
|
|
5
|
+
import { _ as re } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
+
import { _ as ue } from "./app-D8hc9pO3.js";
|
|
7
|
+
import { d as ce, _ as ie, u as de, c as me } from "./scheduler-Dgi_Z-de.js";
|
|
8
|
+
import { _ as fe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
9
|
+
const pe = {
|
|
10
10
|
class: "flex flex-1 justify-end"
|
|
11
|
-
},
|
|
11
|
+
}, ye = {
|
|
12
12
|
class: "flex justify-end items-center"
|
|
13
|
-
},
|
|
13
|
+
}, he = {
|
|
14
14
|
class: "w-[320px] xs:w-full"
|
|
15
|
-
},
|
|
15
|
+
}, _e = {
|
|
16
16
|
class: "grow space-y-4"
|
|
17
|
-
},
|
|
17
|
+
}, ge = {
|
|
18
18
|
class: "fm-typo-en-body-lg-600"
|
|
19
|
-
},
|
|
19
|
+
}, ve = {
|
|
20
20
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
21
|
-
},
|
|
21
|
+
}, be = {
|
|
22
22
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
23
|
-
},
|
|
23
|
+
}, ke = {
|
|
24
24
|
key: 0
|
|
25
|
-
},
|
|
25
|
+
}, Ve = /* @__PURE__ */ Q({
|
|
26
26
|
__name: "Scheduler",
|
|
27
|
-
setup(
|
|
27
|
+
setup(xe) {
|
|
28
28
|
const {
|
|
29
29
|
t: a
|
|
30
|
-
} =
|
|
30
|
+
} = ne(), {
|
|
31
|
+
locale: L
|
|
32
|
+
} = ae();
|
|
33
|
+
function D(e) {
|
|
34
|
+
return `${P(e.start, L.value)} - ${P(e.end, L.value)}`;
|
|
35
|
+
}
|
|
36
|
+
const B = y(() => [{
|
|
31
37
|
accessorKey: "name",
|
|
32
38
|
header: () => a("menu.scheduler.table.columns.name"),
|
|
33
39
|
cell: (e) => e.getValue(),
|
|
@@ -40,7 +46,7 @@ const ie = {
|
|
|
40
46
|
repeat: t,
|
|
41
47
|
weekDay: l
|
|
42
48
|
} = e.row.original;
|
|
43
|
-
return
|
|
49
|
+
return j(t, l);
|
|
44
50
|
},
|
|
45
51
|
enableSorting: !1
|
|
46
52
|
}, {
|
|
@@ -48,9 +54,9 @@ const ie = {
|
|
|
48
54
|
header: () => a("menu.scheduler.table.columns.period"),
|
|
49
55
|
cell: (e) => {
|
|
50
56
|
const t = e.getValue();
|
|
51
|
-
return
|
|
57
|
+
return f("div", {
|
|
52
58
|
class: ""
|
|
53
|
-
}, t && t.length > 0 ? t.map((l) =>
|
|
59
|
+
}, t && t.length > 0 ? t.map((l) => f("div", D(l))) : a("menu.common.labels.all_day"));
|
|
54
60
|
},
|
|
55
61
|
enableSorting: !1
|
|
56
62
|
}, {
|
|
@@ -68,14 +74,14 @@ const ie = {
|
|
|
68
74
|
header: "",
|
|
69
75
|
size: 52,
|
|
70
76
|
enableSorting: !1,
|
|
71
|
-
cell: (e) =>
|
|
77
|
+
cell: (e) => f("div", {
|
|
72
78
|
class: "flex justify-end"
|
|
73
|
-
}, [
|
|
79
|
+
}, [f(oe.FmIcon, {
|
|
74
80
|
name: "delete",
|
|
75
81
|
outline: !0,
|
|
76
82
|
color: "neutral-gray-400",
|
|
77
|
-
onClick:
|
|
78
|
-
|
|
83
|
+
onClick: M(() => {
|
|
84
|
+
z(e.row.original);
|
|
79
85
|
}, ["stop", "prevent"])
|
|
80
86
|
})])
|
|
81
87
|
}]), r = {
|
|
@@ -86,9 +92,9 @@ const ie = {
|
|
|
86
92
|
[d.enum.friday]: "Friday",
|
|
87
93
|
[d.enum.saturday]: "Saturday",
|
|
88
94
|
[d.enum.sunday]: "Sunday"
|
|
89
|
-
},
|
|
90
|
-
function
|
|
91
|
-
if (e ===
|
|
95
|
+
}, K = Object.keys(r).slice(0, 5), T = Object.keys(r).slice(5);
|
|
96
|
+
function j(e, t) {
|
|
97
|
+
if (e === J.enum.daily || t.length === Object.keys(r).length)
|
|
92
98
|
return "Daily";
|
|
93
99
|
const l = Object.keys(r), {
|
|
94
100
|
includes: o,
|
|
@@ -97,32 +103,32 @@ const ie = {
|
|
|
97
103
|
includes: [],
|
|
98
104
|
excludes: []
|
|
99
105
|
});
|
|
100
|
-
return v.length === 1 ? `Daily except ${r[v[0]]}` :
|
|
106
|
+
return v.length === 1 ? `Daily except ${r[v[0]]}` : R(o, K) ? "Weekdays" : R(o, T) ? "Weekends" : o.every((u, n) => {
|
|
101
107
|
if (n === 0) return !0;
|
|
102
|
-
const
|
|
103
|
-
return o[n - 1] === l[
|
|
108
|
+
const C = l.findIndex((Y) => Y === u);
|
|
109
|
+
return o[n - 1] === l[C - 1];
|
|
104
110
|
}) ? o.length === 1 ? r[o[0]] : `${r[o[0]]} to ${r[o[o.length - 1]]}` : o.map((u) => r[u]).join(", ");
|
|
105
111
|
}
|
|
106
|
-
function
|
|
112
|
+
function R(e, t) {
|
|
107
113
|
return e.length !== t.length ? !1 : e.every((l, o) => l === t[o]);
|
|
108
114
|
}
|
|
109
|
-
const
|
|
110
|
-
function
|
|
115
|
+
const x = O();
|
|
116
|
+
function V() {
|
|
111
117
|
var e;
|
|
112
|
-
|
|
118
|
+
w.value || (e = x.value) == null || e.show();
|
|
113
119
|
}
|
|
114
|
-
function
|
|
120
|
+
function $(e) {
|
|
115
121
|
var t;
|
|
116
|
-
|
|
122
|
+
w.value || (t = x.value) == null || t.show(e);
|
|
117
123
|
}
|
|
118
|
-
const
|
|
119
|
-
function
|
|
120
|
-
let t = [
|
|
124
|
+
const N = le();
|
|
125
|
+
function z(e) {
|
|
126
|
+
let t = [f("span", a("menu.scheduler.dialogs.remove.message", {
|
|
121
127
|
name: e.name
|
|
122
128
|
}))];
|
|
123
|
-
|
|
129
|
+
N.open({
|
|
124
130
|
title: a("menu.scheduler.dialogs.remove.title"),
|
|
125
|
-
contentComponent:
|
|
131
|
+
contentComponent: f("div", t),
|
|
126
132
|
primaryActions: {
|
|
127
133
|
text: a("menu.common.actions.remove"),
|
|
128
134
|
close: !0,
|
|
@@ -133,86 +139,86 @@ const ie = {
|
|
|
133
139
|
close: !0
|
|
134
140
|
}
|
|
135
141
|
}).onPrimary(async () => {
|
|
136
|
-
await
|
|
142
|
+
await S.updateMenu(ce(e), e.name, !0);
|
|
137
143
|
});
|
|
138
144
|
}
|
|
139
|
-
async function
|
|
140
|
-
const t = e._id ?
|
|
141
|
-
await
|
|
145
|
+
async function U(e) {
|
|
146
|
+
const t = e._id ? de(e) : me(e);
|
|
147
|
+
await S.updateMenu(t, e.name);
|
|
142
148
|
}
|
|
143
|
-
const
|
|
149
|
+
const E = Z(), W = y(() => E.categorizedRawMenuItems), m = y(() => E.state.menu.modules.scheduler), S = X(ee(se())), w = y(() => S.checkMenuIsLoading()), g = O(""), H = y(() => {
|
|
144
150
|
const e = g.value.toLowerCase();
|
|
145
151
|
return e ? m.value.filter((t) => t.name.toLowerCase().includes(e)) : m.value;
|
|
146
152
|
});
|
|
147
153
|
return (e, t) => {
|
|
148
|
-
const l = h("FmSearch"), o = h("FmTable"), v = h("FmButton"),
|
|
149
|
-
return c(),
|
|
154
|
+
const l = h("FmSearch"), o = h("FmTable"), v = h("FmButton"), I = h("FmListItem"), u = h("FmList");
|
|
155
|
+
return c(), b(fe, {
|
|
150
156
|
heading: i(a)("menu.scheduler.title")
|
|
151
157
|
}, {
|
|
152
|
-
"append-heading": _(() => [s("div",
|
|
158
|
+
"append-heading": _(() => [s("div", pe, [m.value.length > 0 ? (c(), b(re, {
|
|
153
159
|
key: 0,
|
|
154
|
-
disabled:
|
|
160
|
+
disabled: w.value,
|
|
155
161
|
icon: "add",
|
|
156
162
|
label: i(a)("menu.scheduler.empty.action"),
|
|
157
163
|
variant: "primary",
|
|
158
|
-
onClick:
|
|
159
|
-
}, null, 8, ["disabled", "label"])) :
|
|
160
|
-
default: _(() => [m.value.length === 0 ? (c(),
|
|
164
|
+
onClick: V
|
|
165
|
+
}, null, 8, ["disabled", "label"])) : A("", !0)])]),
|
|
166
|
+
default: _(() => [m.value.length === 0 ? (c(), b(i(te), {
|
|
161
167
|
key: 0,
|
|
162
168
|
action: {
|
|
163
169
|
text: i(a)("menu.scheduler.empty.action"),
|
|
164
|
-
callback:
|
|
170
|
+
callback: V
|
|
165
171
|
},
|
|
166
172
|
subtitle: i(a)("menu.scheduler.empty.subtitle"),
|
|
167
173
|
title: i(a)("menu.scheduler.empty.title")
|
|
168
|
-
}, null, 8, ["action", "subtitle", "title"])) : (c(), F(
|
|
174
|
+
}, null, 8, ["action", "subtitle", "title"])) : (c(), F(q, {
|
|
169
175
|
key: 1
|
|
170
|
-
}, [s("div",
|
|
176
|
+
}, [s("div", ye, [s("div", he, [p(l, {
|
|
171
177
|
modelValue: g.value,
|
|
172
178
|
"onUpdate:modelValue": t[0] || (t[0] = (n) => g.value = n),
|
|
173
179
|
autofocus: "",
|
|
174
180
|
class: "mb-8 xs:px-16 xs:mt-8",
|
|
175
181
|
placeholder: i(a)("menu.scheduler.table.search.placeholder")
|
|
176
|
-
}, null, 8, ["modelValue", "placeholder"])])]),
|
|
182
|
+
}, null, 8, ["modelValue", "placeholder"])])]), p(ue, {
|
|
177
183
|
class: "xs:hidden block"
|
|
178
184
|
}, {
|
|
179
|
-
default: _(() => [
|
|
180
|
-
"column-defs":
|
|
185
|
+
default: _(() => [p(o, {
|
|
186
|
+
"column-defs": B.value,
|
|
181
187
|
"page-size": m.value.length,
|
|
182
188
|
"row-data": m.value,
|
|
183
189
|
"search-value": g.value,
|
|
184
190
|
shrinkAt: !1,
|
|
185
191
|
"hide-footer": "",
|
|
186
192
|
"pin-header-row": "",
|
|
187
|
-
onRowClick: t[1] || (t[1] = (n) =>
|
|
193
|
+
onRowClick: t[1] || (t[1] = (n) => $(n.original))
|
|
188
194
|
}, null, 8, ["column-defs", "page-size", "row-data", "search-value"])]),
|
|
189
195
|
_: 1
|
|
190
|
-
}),
|
|
196
|
+
}), p(u, {
|
|
191
197
|
class: "flex-col flex-1 min-h-0 overflow-auto xs:flex hidden w-full px-16 pb-64",
|
|
192
198
|
separator: ""
|
|
193
199
|
}, {
|
|
194
|
-
default: _(() => [(c(!0), F(
|
|
200
|
+
default: _(() => [(c(!0), F(q, null, G(H.value, (n) => (c(), b(I, {
|
|
195
201
|
key: n._id,
|
|
196
202
|
label: n.name,
|
|
197
203
|
style: {
|
|
198
204
|
padding: "12px 0 !important"
|
|
199
205
|
},
|
|
200
|
-
onClick: () =>
|
|
206
|
+
onClick: () => $(n)
|
|
201
207
|
}, {
|
|
202
|
-
default: _(() => [s("div",
|
|
208
|
+
default: _(() => [s("div", _e, [s("div", ge, k(n.name), 1), s("div", null, [s("div", ve, k(Object.keys(n.items).length) + " product(s) linked ", 1), s("div", be, [s("div", null, " Repeat: " + k(j(n.repeat, n.weekDay)), 1), n.timePeriod.length > 0 ? (c(), F("span", ke, "Period: ")) : A("", !0), s("span", null, k(n.timePeriod.map((C) => D(C)).join(", ")), 1)])])]), p(v, {
|
|
203
209
|
icon: "delete",
|
|
204
210
|
variant: "tertiary",
|
|
205
211
|
"text-color": "neutral-gray-400",
|
|
206
|
-
onClick:
|
|
212
|
+
onClick: M(() => z(n), ["stop"])
|
|
207
213
|
}, null, 8, ["onClick"])]),
|
|
208
214
|
_: 2
|
|
209
215
|
}, 1032, ["label", "onClick"]))), 128))]),
|
|
210
216
|
_: 1
|
|
211
|
-
})], 64)),
|
|
217
|
+
})], 64)), p(ie, {
|
|
212
218
|
ref_key: "schedulerDialogRef",
|
|
213
|
-
ref:
|
|
214
|
-
"categorized-items":
|
|
215
|
-
onOnComplete:
|
|
219
|
+
ref: x,
|
|
220
|
+
"categorized-items": W.value,
|
|
221
|
+
onOnComplete: U
|
|
216
222
|
}, null, 8, ["categorized-items"])]),
|
|
217
223
|
_: 1
|
|
218
224
|
}, 8, ["heading"]);
|
|
@@ -220,5 +226,5 @@ const ie = {
|
|
|
220
226
|
}
|
|
221
227
|
});
|
|
222
228
|
export {
|
|
223
|
-
|
|
229
|
+
Ve as default
|
|
224
230
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as J, ref as F, computed as E, resolveComponent as y, createElementBlock as h, openBlock as m, Fragment as x, renderSlot as ae, createVNode as l, unref as t, withCtx as f, createElementVNode as b, toDisplayString as U, onBeforeMount as oe, watch as D, watchEffect as se, h as T, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as Q, renderList as ue } from "vue";
|
|
2
2
|
import { useRouter as ce } from "vue-router";
|
|
3
|
-
import { d as H, u as W, b as X, i as Z, g as I, h as M, _ as de, F as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { d as H, u as W, b as X, i as Z, g as I, h as M, _ as de, F as me } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
4
4
|
import { useI18n as ee, ItemSelector as pe, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ne, components as K, useDialog as _e, FmButtonVariant as z, useBreakpoints as ve } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as ge } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
7
|
-
import { _ as he, R as ye } from "./app-
|
|
7
|
+
import { _ as he, R as ye } from "./app-D8hc9pO3.js";
|
|
8
8
|
import { c as be } from "./check-C9mY6LiX.js";
|
|
9
9
|
import { _ as ke } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
10
10
|
import { u as xe } from "./search-BAPEUu1R.js";
|
|
11
|
-
import { u as Se } from "./app-
|
|
11
|
+
import { u as Se } from "./app-BwvStTgj.js";
|
|
12
12
|
import { c as Ce } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex flex-col h-full" }, Ve = { class: "flex gap-8 items-center justify-start" }, Fe = /* @__PURE__ */ J({
|
|
14
14
|
__name: "Form",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as M, openBlock as r, normalizeClass as H, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as y, unref as e, Fragment as D, renderList as $, createTextVNode as re, toDisplayString as F } from "vue";
|
|
2
|
-
import { u as me, b as ce, F as de, i as pe, a as ve, k, d as T } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, b as ce, F as de, i as pe, a as ve, k, d as T } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
3
3
|
import { useCoreStore as ge, useI18n as fe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as _e, useDialog as be, FmButtonVariant as P, FmButtonColorThemeVariant as R, components as ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as A } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
6
|
-
import { _ as ke } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { C as f, a as x } from "./catalogSetting-
|
|
9
|
-
import { C as Ce } from "./catalog-
|
|
6
|
+
import { _ as ke } from "./RuleView.vue_vue_type_script_setup_true_lang-D7TpK5fD.js";
|
|
7
|
+
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D0dxZUHg.js";
|
|
8
|
+
import { C as f, a as x } from "./catalogSetting-DnRDwn_7.js";
|
|
9
|
+
import { C as Ce } from "./catalog-sB0wljWA.js";
|
|
10
10
|
const Oe = {
|
|
11
11
|
class: /* @__PURE__ */ H(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
12
12
|
}, Se = {
|
|
@@ -2,18 +2,18 @@ import { defineComponent as A, ref as x, computed as V, watch as te, resolveComp
|
|
|
2
2
|
import { useI18n as R } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as j, components as W, useDialog as X, FmButtonVariant as q, useBreakpoints as se, FmButtonColorThemeVariant as ie } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as re } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { b as P, i as Y, u as J, g as Z, h as ee, _ as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { b as P, i as Y, u as J, g as Z, h as ee, _ as ce } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
6
6
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { _ as me } from "./app-
|
|
7
|
+
import { _ as me } from "./app-D8hc9pO3.js";
|
|
8
8
|
import { c as de } from "./createForm-BoUQeZTd.js";
|
|
9
|
-
import { u as pe } from "./discardConfirm-
|
|
9
|
+
import { u as pe } from "./discardConfirm-DVc_4r3v.js";
|
|
10
10
|
import { c as G } from "./object-DVUNCr7w.js";
|
|
11
|
-
import { r as _e, u as ae } from "./rules-
|
|
12
|
-
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { r as _e, u as ae } from "./rules-BrCS7pk7.js";
|
|
12
|
+
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DQelKdQf.js";
|
|
13
13
|
import { c as ve } from "./check-C9mY6LiX.js";
|
|
14
14
|
import { g as H } from "./translation-fNx6yEpy.js";
|
|
15
15
|
import { _ as ge } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
16
|
-
import { a as ye } from "./menu-
|
|
16
|
+
import { a as ye } from "./menu-AX8l-jmp.js";
|
|
17
17
|
const be = {
|
|
18
18
|
class: "fm-typo-en-title-md-600"
|
|
19
19
|
}, he = {
|
|
@@ -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 { b as v, u as w, i as x, g as E, h as M } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { b as v, u as w, i as x, g as E, h as M } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
3
3
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as h } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as V } 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-BVmHMvKD.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-iIM7kEEk.js";
|
|
8
|
+
import { T as S, l as L } from "./index-D02xcA-8.js";
|
|
9
|
+
import { a as O } from "./menu-AX8l-jmp.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" }, D = { class: "fm-typo-en-body-md-600 font-semibold" }, H = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
12
|
setup(I) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { getCurrentInstance as te, defineComponent as ne, computed as C, watch as oe, h as S, resolveComponent as E, createElementBlock as V, openBlock as w, Fragment as L, normalizeClass as D, createElementVNode as g, createVNode as I, unref as i, isRef as $, withCtx as O, renderList as ie, createBlock as j, createCommentVNode as q, toDisplayString as B, withModifiers as G } from "vue";
|
|
2
|
-
import { b as J, i as Q, u as W, g as F, h as A, d as R, a as se, ap as H, _ as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { b as J, i as Q, u as W, g as F, h as A, d as R, a as se, ap as H, _ as re } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.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 N, 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-D8hc9pO3.js";
|
|
6
|
+
import { a as ye, l as ee, T as pe } from "./index-D02xcA-8.js";
|
|
7
7
|
import { _ as fe } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
8
8
|
import { u as _e } from "./search-BAPEUu1R.js";
|
|
9
|
-
import { f as z } from "./currency-
|
|
9
|
+
import { f as z } from "./currency-CJMH7GL8.js";
|
|
10
10
|
import { defineStore as ke } from "pinia";
|
|
11
|
-
import { C as ve } from "./catalog-
|
|
11
|
+
import { C as ve } from "./catalog-sB0wljWA.js";
|
|
12
12
|
import { c as we } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
function ge(b, _, l, u) {
|
|
14
14
|
var y, p, k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, createElementBlock as d, openBlock as a, normalizeClass as b, toDisplayString as y, unref as u, resolveComponent as i, createVNode as _, createElementVNode as c, computed as h, createBlock as g, createCommentVNode as w, Fragment as k, renderList as x, withCtx as F } from "vue";
|
|
2
2
|
import { useI18n as S } from "@feedmepos/mf-common";
|
|
3
3
|
import { g as I, a as L } from "./translation-fNx6yEpy.js";
|
|
4
|
-
import { u as N } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as N } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
5
5
|
const C = /* @__PURE__ */ v({
|
|
6
6
|
__name: "LocaleIconBadge",
|
|
7
7
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as z, ref as p, watch as L, computed as k, resolveComponent as v, createBlock as w, openBlock as f, unref as n, withCtx as _, createElementVNode as i, createVNode as r, toDisplayString as h, createElementBlock as x, createCommentVNode as F, Fragment as I, renderList as A } from "vue";
|
|
2
|
-
import { l as S, u as q } from "./discardConfirm-
|
|
2
|
+
import { l as S, u as q } from "./discardConfirm-DVc_4r3v.js";
|
|
3
3
|
import { useI18n as G } from "@feedmepos/mf-common";
|
|
4
|
-
import { _ as H, a as J, b as K, c as M } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as H, a as J, b as K, c as M } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-CyhcbrTQ.js";
|
|
5
5
|
const P = { class: "fm-typo-en-title-md-600" }, Q = { class: "pt-8 space-y-24" }, R = { class: "flex flex-col gap-16 border p-16 rounded-lg" }, W = { class: "flex items-center gap-16" }, X = { class: "fm-typo-en-body-lg-600" }, Y = { class: "flex flex-col gap-32 pl-32" }, Z = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "space-y-8"
|