@feedmepos/mf-menu 0.31.33-beta.8 → 0.31.33-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-BAMi-a9P.js → App-Ckk1s5Yi.js} +20 -20
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BWgnvXjy.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BgCJJKVy.js} +2 -2
- package/dist/{Catalog-DiPY42vz.js → Catalog-CjVIJjh6.js} +6 -6
- package/dist/{Category-B9jnFDvG.js → Category-BAD0RzNU.js} +4 -4
- package/dist/{Category-ClrACB2e.js → Category-CEheZjjx.js} +5 -5
- package/dist/{CookingGuide-1553FWRH.js → CookingGuide-kaK5dxiM.js} +3 -3
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DWNx15iJ.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bd4IBeSK.js} +1 -1
- package/dist/{Group-l_-qZSyF.js → Group-Bl0YTPgr.js} +1 -1
- package/dist/{Group-DLahX8qi.js → Group-Bvk50gsC.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-PNpEgEGB.js → Group.vue_vue_type_script_setup_true_lang-C9quQw7f.js} +38 -36
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DoVyIdTN.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cf1_4Srx.js} +11 -8
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DSspLK4i.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-oUoUXguS.js} +316 -316
- package/dist/{Ingredient-SsBtwYjB.js → Ingredient-CY15AYC2.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DqnVkfjW.js → InventoryBinding.vue_vue_type_script_setup_true_lang-C_ZH0ga3.js} +1052 -1052
- package/dist/LinkProductSideSheet-CCW73uQb.js +297 -0
- package/dist/{MenuSetting-D28a3uD4.js → MenuSetting-DCIebynX.js} +4 -4
- package/dist/{PrintRoute-BdlT0DDr.js → PrintRoute-DkksjGj8.js} +3 -3
- package/dist/{Product-s5Q4wV8i.js → Product-DQ8dRTJW.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-C6iDgQEU.js → Product.vue_vue_type_script_setup_true_lang-B61A77iy.js} +19 -16
- package/dist/{ProductInternalTools-DjSkvzw2.js → ProductInternalTools-BtAJLyib.js} +6 -6
- package/dist/{Products-B3tF_gCa.js → Products-KtdrJG8K.js} +11 -11
- package/dist/{Publish-G4bwUpme.js → Publish-D3uc61V1.js} +3 -3
- package/dist/{Recipe-BxgHUzb5.js → Recipe-BLzezqGH.js} +4 -4
- package/dist/{Scheduler-DJSKWS-9.js → Scheduler-BLn2Uy9H.js} +3 -3
- package/dist/{ServingSequence-_cmuGKlV.js → ServingSequence-BtCpa6km.js} +3 -3
- package/dist/{Setting-Dx7ycxAn.js → Setting-zO16rQvb.js} +5 -5
- package/dist/{Subcategory-25AzJQYt.js → Subcategory-BmNMReGL.js} +4 -4
- package/dist/{Takeaway-Bmm9d5PO.js → Takeaway-DIf1hfIp.js} +1 -1
- package/dist/{Takeaway-CcFK-Y2z.js → Takeaway-Dt0oedp_.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Bl5OAG3c.js → Takeaway.vue_vue_type_script_setup_true_lang-CnB08FG9.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-B3-ypwE7.js → Thumbnail.vue_vue_type_script_setup_true_lang-Cox2bpkp.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D2gzS8Q_.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-IYC4KukD.js} +15 -15
- package/dist/{Unit-Cs1EOuyg.js → Unit-COwjhka0.js} +2 -2
- package/dist/{Variant-BTCkw4RC.js → Variant-BY1OZuk8.js} +3 -3
- package/dist/{_id_-C9b2WHzy.js → _id_-CNE0nt2C.js} +10 -10
- package/dist/{app-BhI1mPRh.js → app-BYTfYZ_L.js} +1 -1
- package/dist/{app-CU2frfPB.js → app-d86JiqNI.js} +24 -24
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-r8YcmOs7.js → linked-status-ClGks19H.js} +2 -2
- package/dist/assets/{override-menu-CDLCS1zK.js → override-menu-DDzUoiJB.js} +2 -2
- package/dist/assets/{validate-menu-B-FxrVmM.js → validate-menu-CvdVVGBq.js} +8 -8
- package/dist/{catalog-BudDGPc1.js → catalog-D5llyR6I.js} +1 -1
- package/dist/{catalogSetting-Bk1QEBg5.js → catalogSetting-C5DEsGFp.js} +1 -1
- package/dist/{category-UDpJb7Yh.js → category-D_nwrQ4v.js} +1 -1
- package/dist/{currency-BQIQArxm.js → currency-Bs7DX91b.js} +1 -1
- package/dist/{dayjs.min-D0EjAkx4.js → dayjs.min-CQ8q2Qks.js} +1 -1
- package/dist/{index-B_V5s58T.js → index-BImqd4SS.js} +1 -1
- package/dist/{index-DRuDRGm-.js → index-D7yR1j9C.js} +49 -47
- package/dist/{index-CirrSmpA.js → index-DSbd1qYp.js} +3 -3
- package/dist/{index-Dy-u7imh.js → index-QioLRJ5c.js} +3 -3
- package/dist/{item-C45Oe5Un.js → item-DJvTdIna.js} +16 -16
- package/dist/{jszip.min-BR_8QNuk.js → jszip.min-jJP0SQy6.js} +246 -246
- package/dist/{menu-DTlhFcnq.js → menu-BHr0A_kn.js} +145 -145
- package/dist/{menu-D52oU1sw.js → menu-CvdQTq54.js} +1 -1
- package/dist/{menuV2-DQtEtGVV.js → menuV2-C3Ade0y6.js} +41 -41
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-CDyccedV.js → priceTier-BAw2NlRW.js} +1 -1
- package/dist/{scheduler-DHjrtU8G.js → scheduler-DuUrXPi7.js} +3 -3
- package/dist/{subcategory-0ajMWsb2.js → subcategory-C5Ok0bI2.js} +2 -2
- package/dist/{toExcel-BNKDwOzQ.js → toExcel-wKTHcPda.js} +2 -2
- package/dist/{unit-CBe6cpyB.js → unit-D78XXPbI.js} +3 -3
- package/package.json +2 -2
- package/dist/LinkProductSideSheet-CncbzDh3.js +0 -335
- package/dist/apps/mf-menu/src/composable/customAttributes.d.ts +0 -96
- /package/dist/{LinkProductSideSheet.vue_vue_type_style_index_0_scoped_7d7fe73f_lang-DvG3mOom.js → LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js} +0 -0
- /package/dist/{apps/mf-menu/src/components → packages/shared/src/components/info}/CustomAttributeChip.vue.d.ts +0 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { defineComponent as q, createElementBlock as b, openBlock as c, createElementVNode as u, renderSlot as U, createCommentVNode as w, toDisplayString as B, ref as R, computed as S, watch as D, resolveComponent as A, Fragment as O, createVNode as n, unref as l, withCtx as v, createBlock as N, renderList as de } from "vue";
|
|
2
|
+
import { H as V, Q as ce, u as pe, G as fe, I as j } from "./menu-BHr0A_kn.js";
|
|
3
|
+
import { N as Q, b as T, x as P } from "./LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js";
|
|
4
|
+
import { useI18n as ve, isEmptyRule as C, useCustomAttributes as G, useCoreStore as be, ItemSelector as _e, EMPTY_RULE as F, isEmptyMongoQuery as H } from "@feedmepos/mf-common";
|
|
5
|
+
import { components as ye, FmButtonVariant as Y } from "@feedmepos/ui-library";
|
|
6
|
+
import { u as he } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
+
import { u as ke } from "./menuV2-C3Ade0y6.js";
|
|
8
|
+
import { c as Re } from "./check-C9mY6LiX.js";
|
|
9
|
+
const Ae = (r, p) => {
|
|
10
|
+
const s = r.__vccOpts || r;
|
|
11
|
+
for (const [g, i] of p)
|
|
12
|
+
s[g] = i;
|
|
13
|
+
return s;
|
|
14
|
+
}, ge = { class: "space-y-8" }, Ie = { class: "flex items-center justify-between" }, Se = { class: "space-y-8" }, Ve = { class: "fm-typo-en-body-lg-600" }, Ce = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
17
|
+
}, $ = /* @__PURE__ */ q({
|
|
18
|
+
__name: "FormItem",
|
|
19
|
+
props: {
|
|
20
|
+
label: {},
|
|
21
|
+
description: {}
|
|
22
|
+
},
|
|
23
|
+
setup(r) {
|
|
24
|
+
return (p, s) => (c(), b("div", ge, [
|
|
25
|
+
u("div", Ie, [
|
|
26
|
+
u("div", Se, [
|
|
27
|
+
u("p", Ve, B(p.label), 1),
|
|
28
|
+
p.description ? (c(), b("p", Ce, B(p.description), 1)) : w("", !0)
|
|
29
|
+
]),
|
|
30
|
+
U(p.$slots, "append")
|
|
31
|
+
]),
|
|
32
|
+
U(p.$slots, "default")
|
|
33
|
+
]));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
var m = /* @__PURE__ */ ((r) => (r[r.Normal = 0] = "Normal", r[r.Rules = 1] = "Rules", r))(m || {});
|
|
37
|
+
const Fe = { class: "fm-typo-en-title-md-600 mr-auto" }, we = {
|
|
38
|
+
key: 1,
|
|
39
|
+
class: "flex items-center gap-12"
|
|
40
|
+
}, Be = { class: "flex items-center gap-8" }, Ee = { class: "text-neutral-600 fm-typo-body-sm" }, Oe = { class: "grid md:grid-cols-3 gap-16" }, Ne = { class: "md:col-span-2 space-y-16" }, $e = { class: "flex justify-end" }, Ue = { class: "flex gap-8 items-center justify-start" }, Le = /* @__PURE__ */ q({
|
|
41
|
+
__name: "LinkProductSideSheet",
|
|
42
|
+
props: {
|
|
43
|
+
initialValue: { default: () => [] },
|
|
44
|
+
linkItemRules: {},
|
|
45
|
+
menuItems: {},
|
|
46
|
+
noScheduler: { type: Boolean },
|
|
47
|
+
isLocalOnly: { type: Boolean, default: !1 },
|
|
48
|
+
categorizedItems: { default: () => [] },
|
|
49
|
+
selectVariant: { type: Boolean, default: !1 },
|
|
50
|
+
showVariant: { type: Boolean, default: !1 },
|
|
51
|
+
showAddon: { type: Boolean, default: !0 },
|
|
52
|
+
title: { default: void 0 },
|
|
53
|
+
useCloseBtn: { type: Boolean }
|
|
54
|
+
},
|
|
55
|
+
emits: ["submit"],
|
|
56
|
+
setup(r, { emit: p }) {
|
|
57
|
+
const s = r, g = p, { t: i } = ve(), _ = R(m.Normal);
|
|
58
|
+
function J(t) {
|
|
59
|
+
_.value = t;
|
|
60
|
+
}
|
|
61
|
+
const f = R(!1), L = (t) => {
|
|
62
|
+
Re.isBoolean(t) ? f.value = t : f.value = !f.value;
|
|
63
|
+
};
|
|
64
|
+
function E(t) {
|
|
65
|
+
return t.reduce((e, a) => (e[a._id] = [...e[a._id] ?? [], a], e), {});
|
|
66
|
+
}
|
|
67
|
+
const K = s.initialValue, h = R(E(V(K))), M = S(() => Object.values(h.value).flatMap((t) => t)), k = R(
|
|
68
|
+
V(s.linkItemRules)
|
|
69
|
+
), o = R();
|
|
70
|
+
function x() {
|
|
71
|
+
var t;
|
|
72
|
+
return (t = k.value) == null ? void 0 : t.map((e) => ({
|
|
73
|
+
...e,
|
|
74
|
+
restaurantAttributes: H(e.restaurantAttributes) ? F : P.build(e.restaurantAttributes),
|
|
75
|
+
itemAttributes: H(e.itemAttributes) ? F : P.build(e.itemAttributes)
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
o.value = x(), D(
|
|
79
|
+
o,
|
|
80
|
+
(t) => {
|
|
81
|
+
k.value = t == null ? void 0 : t.map((e) => ({
|
|
82
|
+
...e,
|
|
83
|
+
restaurantAttributes: C(e.restaurantAttributes) ? null : Q.build(e.restaurantAttributes),
|
|
84
|
+
itemAttributes: C(e.itemAttributes) ? null : Q.build(e.itemAttributes)
|
|
85
|
+
}));
|
|
86
|
+
},
|
|
87
|
+
{ deep: !0 }
|
|
88
|
+
);
|
|
89
|
+
const W = he(
|
|
90
|
+
() => !j.isEqual(E(s.initialValue), h.value) || !j.isEqual(s.linkItemRules, k.value),
|
|
91
|
+
() => {
|
|
92
|
+
f.value = !1;
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
function X() {
|
|
96
|
+
_.value === m.Rules ? g("submit", {
|
|
97
|
+
mode: m.Rules,
|
|
98
|
+
linkItemRules: k.value || []
|
|
99
|
+
}) : g("submit", {
|
|
100
|
+
mode: m.Normal,
|
|
101
|
+
items: M.value
|
|
102
|
+
}), f.value = !1;
|
|
103
|
+
}
|
|
104
|
+
D(
|
|
105
|
+
() => f.value,
|
|
106
|
+
() => {
|
|
107
|
+
h.value = E(V(s.initialValue)), k.value = V(s.linkItemRules), o.value = x(), _.value = s.noScheduler && s.linkItemRules && s.linkItemRules.length > 0 ? m.Rules : m.Normal;
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
const Z = S(() => {
|
|
111
|
+
const t = ce();
|
|
112
|
+
return Object.values(t).sort((e, a) => a.sortingIndex - e.sortingIndex).map((e) => ({ label: e.label, value: e.value }));
|
|
113
|
+
}), { attributes: ee } = G({
|
|
114
|
+
valueSource: be().restaurants,
|
|
115
|
+
entity: "restaurant"
|
|
116
|
+
}), te = S(() => s.menuItems || []), { attributes: le } = G({
|
|
117
|
+
valueSource: te,
|
|
118
|
+
entity: "item"
|
|
119
|
+
});
|
|
120
|
+
function ae() {
|
|
121
|
+
const t = [
|
|
122
|
+
...o.value || [],
|
|
123
|
+
{
|
|
124
|
+
orderFrom: fe.F_ORDER_FROM.enum.ALL,
|
|
125
|
+
restaurantAttributes: null,
|
|
126
|
+
itemAttributes: null
|
|
127
|
+
}
|
|
128
|
+
];
|
|
129
|
+
o.value = t;
|
|
130
|
+
}
|
|
131
|
+
function se(t) {
|
|
132
|
+
if (!o.value) return;
|
|
133
|
+
const e = [...o.value];
|
|
134
|
+
e.splice(t, 1), o.value = e.length ? e : [];
|
|
135
|
+
}
|
|
136
|
+
function oe(t, e) {
|
|
137
|
+
if (!o.value) return;
|
|
138
|
+
const a = [...o.value];
|
|
139
|
+
C(e) ? a[t].restaurantAttributes = null : a[t].restaurantAttributes = e, o.value = a;
|
|
140
|
+
}
|
|
141
|
+
function ne(t, e) {
|
|
142
|
+
if (!o.value) return;
|
|
143
|
+
const a = [...o.value];
|
|
144
|
+
C(e) ? a[t].itemAttributes = null : a[t].itemAttributes = e, o.value = a;
|
|
145
|
+
}
|
|
146
|
+
const z = S(() => {
|
|
147
|
+
const t = s.isLocalOnly ? ke() : pe();
|
|
148
|
+
return s.noScheduler && t.currentCatalog;
|
|
149
|
+
});
|
|
150
|
+
return (t, e) => {
|
|
151
|
+
const a = A("fm-button"), ue = A("fm-switch"), re = A("FmSelect"), ie = A("FmCard"), me = A("fm-side-sheet");
|
|
152
|
+
return c(), b(O, null, [
|
|
153
|
+
U(t.$slots, "default", { trigger: L }, void 0, !0),
|
|
154
|
+
n(me, {
|
|
155
|
+
id: "group-form",
|
|
156
|
+
modelValue: f.value,
|
|
157
|
+
"onUpdate:modelValue": e[3] || (e[3] = (d) => f.value = d),
|
|
158
|
+
"close-button": t.useCloseBtn,
|
|
159
|
+
"is-container": l(ye).FmForm,
|
|
160
|
+
"is-container-props": {
|
|
161
|
+
onValidationSuccess: X,
|
|
162
|
+
blameFormChildOnValidationFailed: !0
|
|
163
|
+
},
|
|
164
|
+
"max-width": 760,
|
|
165
|
+
"onOn:clickedAway": l(W)
|
|
166
|
+
}, {
|
|
167
|
+
"side-sheet-header": v(() => [
|
|
168
|
+
t.useCloseBtn ? w("", !0) : (c(), N(a, {
|
|
169
|
+
key: 0,
|
|
170
|
+
variant: l(Y).Tertiary,
|
|
171
|
+
class: "cursor-pointer mr-4",
|
|
172
|
+
"prepend-icon": "arrow_back",
|
|
173
|
+
onClick: L
|
|
174
|
+
}, null, 8, ["variant"])),
|
|
175
|
+
u("p", Fe, B(t.title || l(i)("menu.link_product.title")), 1),
|
|
176
|
+
z.value ? (c(), b("div", we, [
|
|
177
|
+
u("div", Be, [
|
|
178
|
+
n(ue, {
|
|
179
|
+
label: l(i)("menu.link_product.rules.section_title"),
|
|
180
|
+
"model-value": _.value === l(m).Rules,
|
|
181
|
+
"onUpdate:modelValue": e[0] || (e[0] = (d) => J(d ? l(m).Rules : l(m).Normal))
|
|
182
|
+
}, null, 8, ["label", "model-value"])
|
|
183
|
+
])
|
|
184
|
+
])) : w("", !0)
|
|
185
|
+
]),
|
|
186
|
+
"side-sheet-footer": v(() => [
|
|
187
|
+
u("div", Ue, [
|
|
188
|
+
n(a, {
|
|
189
|
+
label: l(i)("menu.common.actions.confirm"),
|
|
190
|
+
size: "lg",
|
|
191
|
+
type: "submit",
|
|
192
|
+
variant: "primary"
|
|
193
|
+
}, null, 8, ["label"]),
|
|
194
|
+
n(a, {
|
|
195
|
+
label: l(i)("menu.common.actions.cancel"),
|
|
196
|
+
size: "lg",
|
|
197
|
+
variant: "tertiary",
|
|
198
|
+
onClick: e[2] || (e[2] = () => f.value = !1)
|
|
199
|
+
}, null, 8, ["label"])
|
|
200
|
+
])
|
|
201
|
+
]),
|
|
202
|
+
default: v(() => [
|
|
203
|
+
(c(), b("div", {
|
|
204
|
+
class: "py-8 px-8 overflow-y-auto space-y-24",
|
|
205
|
+
key: _.value
|
|
206
|
+
}, [
|
|
207
|
+
_.value === l(m).Normal ? (c(), N(l(_e), {
|
|
208
|
+
key: 0,
|
|
209
|
+
"auto-focus-search": !0,
|
|
210
|
+
"categorized-items": t.categorizedItems,
|
|
211
|
+
data: h.value,
|
|
212
|
+
"select-variant": t.selectVariant,
|
|
213
|
+
"selected-items": M.value,
|
|
214
|
+
"show-variant": t.showVariant,
|
|
215
|
+
"show-addon": t.showAddon,
|
|
216
|
+
"onUpdate:data": e[1] || (e[1] = (d) => h.value = d)
|
|
217
|
+
}, null, 8, ["categorized-items", "data", "select-variant", "selected-items", "show-variant", "show-addon"])) : z.value ? (c(), b(O, { key: 1 }, [
|
|
218
|
+
u("p", Ee, B(l(i)("menu.link_product.rules.hint")), 1),
|
|
219
|
+
(c(!0), b(O, null, de(o.value, (d, I) => (c(), N(ie, {
|
|
220
|
+
key: I,
|
|
221
|
+
class: "p-16 space-y-16",
|
|
222
|
+
variant: "outlined"
|
|
223
|
+
}, {
|
|
224
|
+
default: v(() => [
|
|
225
|
+
u("div", Oe, [
|
|
226
|
+
u("div", null, [
|
|
227
|
+
n($, {
|
|
228
|
+
label: l(i)("menu.link_product.rules.order_from")
|
|
229
|
+
}, {
|
|
230
|
+
default: v(() => [
|
|
231
|
+
n(re, {
|
|
232
|
+
items: Z.value,
|
|
233
|
+
"model-value": d.orderFrom,
|
|
234
|
+
"onUpdate:modelValue": (y) => d.orderFrom = y
|
|
235
|
+
}, null, 8, ["items", "model-value", "onUpdate:modelValue"])
|
|
236
|
+
]),
|
|
237
|
+
_: 2
|
|
238
|
+
}, 1032, ["label"])
|
|
239
|
+
]),
|
|
240
|
+
u("div", Ne, [
|
|
241
|
+
n($, {
|
|
242
|
+
label: l(i)("menu.link_product.rules.restaurant_filter")
|
|
243
|
+
}, {
|
|
244
|
+
default: v(() => [
|
|
245
|
+
n(l(T), {
|
|
246
|
+
attributes: l(ee),
|
|
247
|
+
"model-value": d.restaurantAttributes || l(F),
|
|
248
|
+
"onUpdate:modelValue": (y) => oe(I, y)
|
|
249
|
+
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
|
|
250
|
+
]),
|
|
251
|
+
_: 2
|
|
252
|
+
}, 1032, ["label"]),
|
|
253
|
+
n($, {
|
|
254
|
+
label: l(i)("menu.link_product.rules.item_filter")
|
|
255
|
+
}, {
|
|
256
|
+
default: v(() => [
|
|
257
|
+
n(l(T), {
|
|
258
|
+
attributes: l(le),
|
|
259
|
+
"model-value": d.itemAttributes || l(F),
|
|
260
|
+
"onUpdate:modelValue": (y) => ne(I, y)
|
|
261
|
+
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
|
|
262
|
+
]),
|
|
263
|
+
_: 2
|
|
264
|
+
}, 1032, ["label"])
|
|
265
|
+
])
|
|
266
|
+
]),
|
|
267
|
+
u("div", $e, [
|
|
268
|
+
n(a, {
|
|
269
|
+
variant: l(Y).Tertiary,
|
|
270
|
+
"prepend-icon": "delete",
|
|
271
|
+
onClick: (y) => se(I)
|
|
272
|
+
}, null, 8, ["variant", "onClick"])
|
|
273
|
+
])
|
|
274
|
+
]),
|
|
275
|
+
_: 2
|
|
276
|
+
}, 1024))), 128)),
|
|
277
|
+
u("div", null, [
|
|
278
|
+
n(a, {
|
|
279
|
+
label: l(i)("menu.link_product.rules.add_rule"),
|
|
280
|
+
onClick: ae
|
|
281
|
+
}, null, 8, ["label"])
|
|
282
|
+
])
|
|
283
|
+
], 64)) : w("", !0)
|
|
284
|
+
]))
|
|
285
|
+
]),
|
|
286
|
+
_: 1
|
|
287
|
+
}, 8, ["modelValue", "close-button", "is-container", "is-container-props", "onOn:clickedAway"])
|
|
288
|
+
], 64);
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
}), Ge = /* @__PURE__ */ Ae(Le, [["__scopeId", "data-v-97fa9d58"]]);
|
|
292
|
+
export {
|
|
293
|
+
Ge as L,
|
|
294
|
+
Ae as _,
|
|
295
|
+
$ as a,
|
|
296
|
+
m as b
|
|
297
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as G, computed as T, ref as F, watch as H, createVNode as n, resolveComponent as c, createBlock as V, openBlock as d, unref as e, withCtx as p, createElementVNode as _, createElementBlock as k, createCommentVNode as y, Fragment as K, renderList as q, toDisplayString as U } from "vue";
|
|
2
|
-
import { u as J, D as Q, A as R, H as A } from "./menu-
|
|
2
|
+
import { u as J, D as Q, A as R, H as A } from "./menu-BHr0A_kn.js";
|
|
3
3
|
import { useI18n as W, useCoreStore as X } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as Y, components as Z, FmButtonVariant as ee, FmButtonColorThemeVariant as te } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as M } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
6
|
-
import { _ as le } from "./app-
|
|
6
|
+
import { _ as le } from "./app-d86JiqNI.js";
|
|
7
7
|
import { _ as ne } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
8
|
-
import { C as b, a as m } from "./catalogSetting-
|
|
9
|
-
import { u as oe } from "./priceTier-
|
|
8
|
+
import { C as b, a as m } from "./catalogSetting-C5DEsGFp.js";
|
|
9
|
+
import { u as oe } from "./priceTier-BAw2NlRW.js";
|
|
10
10
|
const ae = {
|
|
11
11
|
class: "py-16"
|
|
12
12
|
}, se = {
|
|
@@ -2,11 +2,11 @@ import { defineComponent as H, ref as T, computed as f, resolveComponent as g, c
|
|
|
2
2
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as W, useSnackbar as te, useDialog 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 { _ as ae } from "./app-
|
|
6
|
-
import { H as j, I as le, J as Y, G as C, u as re, O as se, D as ie } from "./menu-
|
|
5
|
+
import { _ as ae } from "./app-d86JiqNI.js";
|
|
6
|
+
import { H as j, I as le, J as Y, G as C, u as re, O as se, D as ie } from "./menu-BHr0A_kn.js";
|
|
7
7
|
import { _ as G } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
8
8
|
import { u as ue } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
-
import { L as de } from "./LinkProductSideSheet-
|
|
9
|
+
import { L as de } from "./LinkProductSideSheet-CCW73uQb.js";
|
|
10
10
|
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
11
11
|
import { _ as me } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
12
12
|
const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, fe = { class: "space-y-16" }, ve = { class: "flex items-center gap-8" }, ye = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "flex-1" }, he = { class: "grow overflow-y-auto" }, be = { class: "text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 px-16 py-8 border-b border-b-fm-color-neutral-gray-200" }, xe = { class: "px-16 py-8 flex-1" }, ke = { class: "py-8" }, Fe = { class: "flex gap-8 items-center justify-start" }, Ie = /* @__PURE__ */ H({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { ref as I, computed as h, defineComponent as N, resolveComponent as z, createBlock as $, openBlock as m, withCtx as P, createElementVNode as g, createVNode as d, unref as a, createElementBlock as C, Fragment as de, renderList as ke, createCommentVNode as R, normalizeClass as me, toDisplayString as K, withModifiers as ve, mergeModels as Ze, useModel as Je, renderSlot as _e, watch as ie, createTextVNode as Xe, watchEffect as et, nextTick as Pe, resolveDynamicComponent as tt, onMounted as lt, h as G, isRef as Be, normalizeStyle as ft } from "vue";
|
|
2
|
-
import { u as Fe, Q as xe, A as ce, H as Ae, I as ge, U as gt, aa as bt, ab as _t, ac as Te, ad as yt, P as ht, ae as je } from "./menu-
|
|
3
|
-
import { useI18n as Ve, useCoreStore as Me } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as we } from "./menu-
|
|
2
|
+
import { u as Fe, Q as xe, A as ce, H as Ae, I as ge, U as gt, aa as bt, ab as _t, ac as Te, ad as yt, P as ht, ae as je } from "./menu-BHr0A_kn.js";
|
|
3
|
+
import { useI18n as Ve, useCoreStore as Me, useCustomAttributes as xt } from "@feedmepos/mf-common";
|
|
4
|
+
import { u as we } from "./menu-CvdQTq54.js";
|
|
5
5
|
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
6
|
-
import {
|
|
7
|
-
import { r as Ct, _ as Ge } from "./index-
|
|
8
|
-
import { _ as Re, a as Le } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { f as wt, o as St, a as Ft, m as Vt } from "./menuV2-
|
|
11
|
-
import { u as at, C as It } from "./item-
|
|
12
|
-
import { b as qe, H as $t } from "./LinkProductSideSheet.
|
|
6
|
+
import { L as Ee } from "./LinkProductSideSheet-CCW73uQb.js";
|
|
7
|
+
import { r as Ct, _ as Ge } from "./index-D7yR1j9C.js";
|
|
8
|
+
import { _ as Re, a as Le } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bd4IBeSK.js";
|
|
9
|
+
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-Cox2bpkp.js";
|
|
10
|
+
import { f as wt, o as St, a as Ft, m as Vt } from "./menuV2-C3Ade0y6.js";
|
|
11
|
+
import { u as at, C as It } from "./item-DJvTdIna.js";
|
|
12
|
+
import { b as qe, H as $t } from "./LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js";
|
|
13
13
|
import { useBreakpoints as ot, components as le, useDialog as Tt, FmButtonColorThemeVariant as L, FmButtonVariant as te } from "@feedmepos/ui-library";
|
|
14
|
-
import { F as Pt } from "./index-
|
|
15
|
-
import { _ as Oe, u as At } from "./app-
|
|
14
|
+
import { F as Pt } from "./index-BImqd4SS.js";
|
|
15
|
+
import { _ as Oe, u as At } from "./app-d86JiqNI.js";
|
|
16
16
|
import { _ as Ce } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
17
|
-
import { _ as Rt } from "./index-
|
|
18
|
-
import { r as Ut, _ as Mt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { _ as Rt } from "./index-DSbd1qYp.js";
|
|
18
|
+
import { r as Ut, _ as Mt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-oUoUXguS.js";
|
|
19
19
|
import { c as Ot } from "./check-C9mY6LiX.js";
|
|
20
|
-
import { f as zt } from "./currency-
|
|
20
|
+
import { f as zt } from "./currency-Bs7DX91b.js";
|
|
21
21
|
import { w as Dt } from "./tooltip-B5BiPMx9.js";
|
|
22
22
|
function Kt(k, e) {
|
|
23
23
|
const r = I(!0), i = h(() => {
|
|
@@ -859,7 +859,10 @@ const Qe = /* @__PURE__ */ N({
|
|
|
859
859
|
attributes: D,
|
|
860
860
|
filterRule: O,
|
|
861
861
|
mongoQuery: W
|
|
862
|
-
} = xt(
|
|
862
|
+
} = xt({
|
|
863
|
+
valueSource: q,
|
|
864
|
+
entity: "item"
|
|
865
|
+
}), J = I(""), se = Ct(J, 300), H = h(() => {
|
|
863
866
|
const o = (c) => {
|
|
864
867
|
var x;
|
|
865
868
|
return !se.value || !se.value.trim() ? !0 : [c.code, c.name, De(c), ...Te(M.value, c), (x = xe()[c.orderFrom]) == null ? void 0 : x.label, Object.values(c.customAttributes ?? {}).join(" ")].join(" ").toLowerCase().includes(se.value.toLowerCase());
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as W, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as R, createBlock as oe, withCtx as A } from "vue";
|
|
2
|
-
import { J as O, F as ne } from "./jszip.min-
|
|
3
|
-
import { D as le, u as ie, I as D, a0 as re, $ as ce, K as de, M as me, N as ue } from "./menu-
|
|
2
|
+
import { J as O, F as ne } from "./jszip.min-jJP0SQy6.js";
|
|
3
|
+
import { D as le, u as ie, I as D, a0 as re, $ as ce, K as de, M as me, N as ue } from "./menu-BHr0A_kn.js";
|
|
4
4
|
import { useI18n as ge } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as pe, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as fe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { u as he, a as ye } from "./menu-
|
|
8
|
-
import { a as be } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { v as ve, w as _e } from "./item-
|
|
7
|
+
import { u as he, a as ye } from "./menu-CvdQTq54.js";
|
|
8
|
+
import { a as be } from "./Product.vue_vue_type_script_setup_true_lang-B61A77iy.js";
|
|
9
|
+
import { v as ve, w as _e } from "./item-DJvTdIna.js";
|
|
10
10
|
const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "h-full flex flex-col"
|
|
@@ -151,7 +151,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
|
-
var Je = { firebase: { storageBucket: "image.
|
|
154
|
+
var Je = { firebase: { storageBucket: "image.feedme.cc" } };
|
|
155
155
|
const He = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "h-screen"
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as Y, computed as v, ref as q, resolveComponent as w, createBlock as y, openBlock as p, unref as e, withCtx as d, createElementVNode as u, toDisplayString as G, createVNode as o, createCommentVNode as O, createElementBlock as H, Fragment as N } from "vue";
|
|
2
|
-
import { D as S } from "./dayjs.min-
|
|
3
|
-
import { M as te, w as oe } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { J as ne, F as ae } from "./jszip.min-
|
|
5
|
-
import { u as j, D as J, A as B, e as P, G as Z, B as re, H as A, I as R } from "./menu-
|
|
2
|
+
import { D as S } from "./dayjs.min-CQ8q2Qks.js";
|
|
3
|
+
import { M as te, w as oe } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-oUoUXguS.js";
|
|
4
|
+
import { J as ne, F as ae } from "./jszip.min-jJP0SQy6.js";
|
|
5
|
+
import { u as j, D as J, A as B, e as P, G as Z, B as re, H as A, I as R } from "./menu-BHr0A_kn.js";
|
|
6
6
|
import { useCoreStore as se, useI18n as ie } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as K, useDialogChild as le, useSnackbar as Q, useBreakpoints as ue, FmButtonVariant as $, FmButtonColorThemeVariant as x } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
9
|
import { _ as me, a as z } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
10
10
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
|
-
import { u as de, a as pe } from "./menu-
|
|
12
|
-
import { u as fe } from "./item-
|
|
13
|
-
import { _ as L, a as _e } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { L as U } from "./LinkProductSideSheet-
|
|
15
|
-
import { _ as ve } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as ge } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { m as be } from "./toExcel-
|
|
11
|
+
import { u as de, a as pe } from "./menu-CvdQTq54.js";
|
|
12
|
+
import { u as fe } from "./item-DJvTdIna.js";
|
|
13
|
+
import { _ as L, a as _e } from "./Product.vue_vue_type_script_setup_true_lang-B61A77iy.js";
|
|
14
|
+
import { L as U } from "./LinkProductSideSheet-CCW73uQb.js";
|
|
15
|
+
import { _ as ve } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-IYC4KukD.js";
|
|
16
|
+
import { u as ge } from "./Thumbnail.vue_vue_type_script_setup_true_lang-Cox2bpkp.js";
|
|
17
|
+
import { m as be } from "./toExcel-wKTHcPda.js";
|
|
18
18
|
const ye = { class: "space-y-24 mb-24" }, ke = ["innerHTML"], xe = { class: "flex justify-end gap-8" }, Me = /* @__PURE__ */ Y({
|
|
19
19
|
__name: "ConfirmActionDialog",
|
|
20
20
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as K, ref as I, computed as S, onMounted as ne, resolveComponent as C, createElementBlock as R, openBlock as h, createVNode as n, createElementVNode as o, toDisplayString as F, unref as i, Fragment as E, renderList as j, createBlock as O, withCtx as L, createCommentVNode as ue, withModifiers as N, h as H } from "vue";
|
|
2
|
-
import { D as X } from "./dayjs.min-
|
|
2
|
+
import { D as X } from "./dayjs.min-CQ8q2Qks.js";
|
|
3
3
|
import { useRouter as ie } from "vue-router";
|
|
4
|
-
import { A as re, e as ce, D as Z, a8 as de, H as J, I as me, u as pe, G as ge, a0 as ve } from "./menu-
|
|
4
|
+
import { A as re, e as ce, D as Z, a8 as de, H as J, I as me, u as pe, G as ge, a0 as ve } from "./menu-BHr0A_kn.js";
|
|
5
5
|
import { useI18n as Y, useCoreStore as be, RestaurantSelector as fe } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as ee, useDialogChild as _e, useDialog as he, components as Q } from "@feedmepos/ui-library";
|
|
7
7
|
import { _ as ye } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
8
|
-
import { _ as Ce } from "./app-
|
|
8
|
+
import { _ as Ce } from "./app-d86JiqNI.js";
|
|
9
9
|
import { a as ke, w as we } from "./tooltip-B5BiPMx9.js";
|
|
10
10
|
import { u as xe } from "./discardConfirm-BHni0LNu.js";
|
|
11
11
|
import { _ as Ve } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
@@ -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 $, 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, D as A, H as ie, B as P, I as se, e as B, J as I, G as T, u as H } from "./menu-
|
|
5
|
+
import { _ as le } from "./app-d86JiqNI.js";
|
|
6
|
+
import { O as q, D as A, H as ie, B as P, I as se, e as B, J as I, G as T, u as H } from "./menu-BHr0A_kn.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 Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-C_ZH0ga3.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-D78XXPbI.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 { G as i, O as W, u as G, D as Q } from "./menu-
|
|
2
|
+
import { G as i, O as W, u as G, D as Q } from "./menu-BHr0A_kn.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-d86JiqNI.js";
|
|
7
|
+
import { d as ae, _ as oe, u as se, c as le } from "./scheduler-DuUrXPi7.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 A, 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, D as X, O as Z, J as I, G as S } from "./menu-
|
|
3
|
+
import { H, u as W, D as X, O as Z, J as I, G as S } from "./menu-BHr0A_kn.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 T, 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-d86JiqNI.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-BYTfYZ_L.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,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as z, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as k, unref as e, Fragment as L, renderList as B, createTextVNode as re, toDisplayString as N } from "vue";
|
|
2
|
-
import { u as me, D as ce, G as f, O as de, A as pe, H as w } from "./menu-
|
|
2
|
+
import { u as me, D as ce, G as f, O as de, A as pe, H as w } from "./menu-BHr0A_kn.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 { a as E } from "./LinkProductSideSheet-
|
|
5
|
+
import { a as E } from "./LinkProductSideSheet-CCW73uQb.js";
|
|
6
6
|
import { _ as ye } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
7
|
-
import { _ as H, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { C as _, a as x } from "./catalogSetting-
|
|
9
|
-
import { C as xe } from "./catalog-
|
|
7
|
+
import { _ as H, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cf1_4Srx.js";
|
|
8
|
+
import { C as _, a as x } from "./catalogSetting-C5DEsGFp.js";
|
|
9
|
+
import { C as xe } from "./catalog-D5llyR6I.js";
|
|
10
10
|
const Ce = {
|
|
11
11
|
class: /* @__PURE__ */ z(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
12
12
|
}, 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 { D, u as N, O as U, J as K, G } from "./menu-
|
|
5
|
+
import { D, u as N, O as U, J as K, G } from "./menu-BHr0A_kn.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-d86JiqNI.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-C5Ok0bI2.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-CvdQTq54.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 { D as x, u as v, O as w, J as E, G as M } from "./menu-
|
|
2
|
+
import { D as x, u as v, O as w, J as E, G as M } from "./menu-BHr0A_kn.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-CnB08FG9.js";
|
|
8
|
+
import { T as O, l as S } from "./index-DSbd1qYp.js";
|
|
9
|
+
import { a as L } from "./menu-CvdQTq54.js";
|
|
10
10
|
const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "flex items-center" }, D = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, F = { class: "fm-typo-en-body-md-600 font-semibold" }, z = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
12
|
setup(I) {
|
|
@@ -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 I, withModifiers as H } from "vue";
|
|
2
|
-
import { D as q, u as Q, O as W, J as N, G as z, H as L, A as se, an as J } from "./menu-
|
|
2
|
+
import { D as q, u as Q, O as W, J as N, G as z, H as L, A as se, an as J } from "./menu-BHr0A_kn.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-d86JiqNI.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-DSbd1qYp.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-Bs7DX91b.js";
|
|
10
10
|
import { defineStore as _e } from "pinia";
|
|
11
|
-
import { C as ke } from "./catalog-
|
|
11
|
+
import { C as ke } from "./catalog-D5llyR6I.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 i, defineComponent as D, ref as y, resolveComponent as P, createElementBlock as k, openBlock as v, normalizeClass as w, createVNode as z, normalizeStyle as A, withCtx as V, createBlock as b, createCommentVNode as K } from "vue";
|
|
2
|
-
import { G as p, J as M, D as R, O as S, ah as U, u as N, c as x } from "./menu-
|
|
3
|
-
import { u as C } from "./menuV2-
|
|
4
|
-
import { C as I, h as $ } from "./catalog-
|
|
2
|
+
import { G as p, J as M, D as R, O as S, ah as U, u as N, c as x } from "./menu-BHr0A_kn.js";
|
|
3
|
+
import { u as C } from "./menuV2-C3Ade0y6.js";
|
|
4
|
+
import { C as I, h as $ } from "./catalog-D5llyR6I.js";
|
|
5
5
|
import { useSnackbar as F, useDialog as T } from "@feedmepos/ui-library";
|
|
6
|
-
import { b as L } from "./LinkProductSideSheet-
|
|
6
|
+
import { b as L } from "./LinkProductSideSheet-CCW73uQb.js";
|
|
7
7
|
import { useI18n as B } from "@feedmepos/mf-common";
|
|
8
8
|
function j() {
|
|
9
9
|
const t = C(), s = i(() => t.categorizedRawMenuItems.filter((u) => u.items.length > 0)), d = i(() => {
|