@feedmepos/mf-menu 0.32.60-dev.1 → 0.32.61-dev.1
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-21Fh45As.js → App-BlPyUGB_.js} +1455 -1330
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-l0PLyvfS.js → ApplyProduct.vue_vue_type_script_setup_true_lang-B4PAatkS.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-D9F_qZUW.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DwANkY0s.js} +2 -2
- package/dist/{Catalog-BNFBfeVl.js → Catalog-B5MZeM6K.js} +6 -6
- package/dist/{Category-KedP0bLk.js → Category-CI_NWg74.js} +4 -4
- package/dist/{Category-D46Zh0U2.js → Category-D9KrU2k8.js} +4 -4
- package/dist/{CookingGuide-L_yCYzVo.js → CookingGuide-Cf1CHQ-X.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CWnwBGb4.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CCHkXBZD.js} +1 -1
- package/dist/{Group-BnogWBW3.js → Group-CWi-0hkW.js} +3 -3
- package/dist/{Group-C6f8CbIA.js → Group-CuZ7PCKT.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-0YR_ZV8F.js → Group.vue_vue_type_script_setup_true_lang-BfMyMQ_H.js} +6 -6
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CXjapKCh.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-1ghoDbrV.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CFjS_1Ws.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BEkD_xvB.js} +2696 -2696
- package/dist/{Ingredient-fTfAFfrQ.js → Ingredient-rn2OM-W7.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BUZjQ6V4.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BMBNdxYT.js} +2 -2
- package/dist/{LinkProductSideSheet-CQRvO3h0.js → LinkProductSideSheet-BAVjkhSM.js} +3 -3
- package/dist/{MenuSetting-Dh8ZUdTV.js → MenuSetting-B76zY-2b.js} +6 -6
- package/dist/{OrderPacing-BAyNtquU.js → OrderPacing-CJfw_U60.js} +5 -5
- package/dist/{PrintRoute-Cwjj0Yjh.js → PrintRoute-CDcbOaGr.js} +4 -4
- package/dist/{Product-DyPD27o5.js → Product-8RzjWAbu.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-D8VJf6ck.js → Product.vue_vue_type_script_setup_true_lang-CI7XYUGZ.js} +12 -12
- package/dist/{ProductInternalTools-CjtfIem0.js → ProductInternalTools-wpawK_Db.js} +5 -5
- package/dist/Products-B8vYu4il.js +312 -0
- package/dist/{Publish-B-d-HDdC.js → Publish-C5FqsnW3.js} +3 -3
- package/dist/{Recipe-B6XhSSjL.js → Recipe-CJKji-0v.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-B5NNOtuC.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Dv69QGDe.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-C7MR2OwK.js → RuleView.vue_vue_type_script_setup_true_lang-CnEkf8GW.js} +531 -531
- package/dist/{Scheduler-aTMeXc1J.js → Scheduler-Bp_4ZoUj.js} +3 -3
- package/dist/{ServingSequence-u10_LImJ.js → ServingSequence-DchLB7W1.js} +55 -54
- package/dist/{Setting-mqRO9M3A.js → Setting-DpAnRneC.js} +5 -5
- package/dist/{Subcategory-Dws247zO.js → Subcategory-Bp_U6b_a.js} +5 -5
- package/dist/{Takeaway-l6t2P0CM.js → Takeaway-C6Yvjf9C.js} +1 -1
- package/dist/{Takeaway-xrF-l_5-.js → Takeaway-eBz0avMT.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CTGqjfPL.js → Takeaway.vue_vue_type_script_setup_true_lang-s7cuAP0v.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-ny91N8sC.js → Thumbnail.vue_vue_type_script_setup_true_lang-DBYG98Xu.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-D2i3w3vg.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-BFwvDgDG.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-YLRlDi4-.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BVxnZnzd.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D5YGS6OF.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mEghCiPA.js} +13 -13
- package/dist/{Unit-CWgfilET.js → Unit-B6bKPZIQ.js} +2 -2
- package/dist/{Variant-Bz1KfxAa.js → Variant-CJdpBl1K.js} +3 -3
- package/dist/{_id_-L2rFq9_N.js → _id_-Cf17CNOX.js} +9 -9
- package/dist/{app-B-k_3Xub.js → app-BoMWSx89.js} +33 -33
- package/dist/{app-CHE3ax6p.js → app-w1kUpkW5.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/index.d.ts +1 -0
- package/dist/apps/mf-menu/src/components/MenuHeaderContext.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/MenuRestaurantSelector.vue.d.ts +29 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BJ87x0uc.js → linked-status-BqJWUcVj.js} +2 -2
- package/dist/assets/menu-export-Dnxo90z1.js +186 -0
- package/dist/assets/{override-menu-Bbcn8K2b.js → override-menu-CYXqVELM.js} +2 -2
- package/dist/assets/{validate-menu-DV2Q2SYz.js → validate-menu-C8UamASu.js} +2 -2
- package/dist/{catalog-DaO8QBSU.js → catalog-DBmh4WAG.js} +1 -1
- package/dist/{catalogSetting-Bks6N0Pq.js → catalogSetting-DU1xmy0f.js} +1 -1
- package/dist/{currency-BVqmQ8Pm.js → currency-kg9-zbPt.js} +1 -1
- package/dist/{dayjs.min-C5JlG2KX.js → dayjs.min-sFCfvj7o.js} +2 -2
- package/dist/{index-CCO0ZsOp.js → index-Dsfx6bUc.js} +5 -5
- package/dist/{index-B__5-vsM.js → index-y8EZTw6Z.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-DsMFmYGf.js → index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js} +49975 -39440
- package/dist/{item-DBtmeIW9.js → item-COrHMvzn.js} +17 -17
- package/dist/{jszip.min-BIg_yHC8.js → jszip.min-DUDMau14.js} +153 -153
- package/dist/{memberPricing-C0qx6TEN.js → memberPricing-CeRIT6MO.js} +1 -1
- package/dist/{menu-DzWUnx8X.js → menu-CHgRB67k.js} +1 -1
- package/dist/{menuV2-COSJ__9Q.js → menuV2-BD8ZEaQH.js} +110 -106
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-C8jdjM6u.js → order_pacing-D1AnXxBm.js} +5 -5
- package/dist/{priceTier-BP2_Mn24.js → priceTier-CoMN4KMU.js} +1 -1
- package/dist/{rules-4DOmc5Ho.js → rules-DMR9hBYD.js} +3 -3
- package/dist/{scheduler-Dn9jQp6E.js → scheduler-CKoiMRzw.js} +4 -4
- package/dist/{toExcel-CXdU7vZw.js → toExcel-CwIaZ36w.js} +2 -2
- package/dist/{unit-UV-cxB98.js → unit-CQPZOeGq.js} +2 -2
- package/package.json +3 -3
- package/dist/Products-B4zwJdTK.js +0 -312
- package/dist/assets/menu-export-JPnS6OhL.js +0 -186
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as W, computed as y, h as p, withModifiers as I, ref as M, resolveComponent as h, createBlock as k, openBlock as c, unref as i, withCtx as _, createElementBlock as F, createVNode as f, Fragment as z, createElementVNode as s, renderList as H, toDisplayString as x, createCommentVNode as q } from "vue";
|
|
2
|
-
import { a6 as d, a7 as Y, P as Q, u as G, B as J, a5 as X } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a6 as d, a7 as Y, P as Q, u as G, B as J, a5 as X } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
3
3
|
import { useI18n as Z } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as ee, useDialog as te, useSnackbar as ne } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { _ as oe } from "./app-
|
|
7
|
-
import { d as le, _ as se, u as re, c as ue } from "./scheduler-
|
|
6
|
+
import { _ as oe } from "./app-BoMWSx89.js";
|
|
7
|
+
import { d as le, _ as se, u as re, c as ue } from "./scheduler-CKoiMRzw.js";
|
|
8
8
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
9
9
|
const ie = {
|
|
10
10
|
class: "flex flex-1 justify-end"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as H, ref as
|
|
1
|
+
import { defineComponent as H, ref as E, computed as M, resolveComponent as y, createElementBlock as g, openBlock as d, Fragment as S, renderSlot as ae, createVNode as l, unref as t, withCtx as m, 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 { G as J, u as W, B as X, P as Z, J as
|
|
3
|
+
import { G as J, u as W, B as X, P as Z, J as I, K as L, a5 as de, y as me } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.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
|
|
7
|
+
import { _ as he, R as ye } from "./app-BoMWSx89.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-w1kUpkW5.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__ */ H({
|
|
14
14
|
__name: "Form",
|
|
@@ -17,24 +17,24 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
17
17
|
initialValue: {}
|
|
18
18
|
},
|
|
19
19
|
emits: ["submitted"],
|
|
20
|
-
setup(Y, { expose: k, emit:
|
|
21
|
-
const { t: r } = ee(), p = Y,
|
|
20
|
+
setup(Y, { expose: k, emit: P }) {
|
|
21
|
+
const { t: r } = ee(), p = Y, R = P, s = E(
|
|
22
22
|
p.initialValue ? J(p.initialValue) : {
|
|
23
23
|
_id: "",
|
|
24
24
|
name: "",
|
|
25
25
|
position: 0,
|
|
26
26
|
items: []
|
|
27
27
|
}
|
|
28
|
-
), C = W(), i = ne(),
|
|
28
|
+
), C = W(), i = ne(), B = X(i), q = Z(B), c = E(!1), u = E(!1), f = (_) => {
|
|
29
29
|
be.isBoolean(_) ? u.value = _ : u.value = !u.value;
|
|
30
|
-
}, w =
|
|
31
|
-
async function
|
|
30
|
+
}, w = M(() => p.action === "add" ? r("menu.serving_sequence.add") : r("menu.serving_sequence.update"));
|
|
31
|
+
async function O() {
|
|
32
32
|
try {
|
|
33
33
|
if (p.action === "add")
|
|
34
34
|
await q.updateMenu(
|
|
35
35
|
{
|
|
36
|
-
module:
|
|
37
|
-
operation:
|
|
36
|
+
module: L.enum.serveSequence,
|
|
37
|
+
operation: I.F_OPERATION_TYPE.create,
|
|
38
38
|
data: {
|
|
39
39
|
...s.value,
|
|
40
40
|
position: C.serveSequence.length
|
|
@@ -45,8 +45,8 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
45
45
|
else if (p.action === "update")
|
|
46
46
|
await q.updateMenu(
|
|
47
47
|
{
|
|
48
|
-
module:
|
|
49
|
-
operation:
|
|
48
|
+
module: L.enum.serveSequence,
|
|
49
|
+
operation: I.F_OPERATION_TYPE.update,
|
|
50
50
|
data: s.value
|
|
51
51
|
},
|
|
52
52
|
s.value.name
|
|
@@ -54,26 +54,26 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
54
54
|
else
|
|
55
55
|
throw new Error("Invalid action");
|
|
56
56
|
} finally {
|
|
57
|
-
u.value = !1,
|
|
57
|
+
u.value = !1, R("submitted");
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
k({
|
|
61
61
|
trigger: f,
|
|
62
62
|
show: u
|
|
63
63
|
});
|
|
64
|
-
function
|
|
64
|
+
function N(_) {
|
|
65
65
|
return _.reduce((a, v) => {
|
|
66
|
-
const
|
|
66
|
+
const h = {
|
|
67
67
|
_id: v._id,
|
|
68
68
|
combinationKey: v.combinationKey,
|
|
69
69
|
orderFrom: v.orderFrom
|
|
70
70
|
};
|
|
71
|
-
return a[v._id] = [...a[
|
|
71
|
+
return a[v._id] = [...a[h._id] ?? [], h], a;
|
|
72
72
|
}, {});
|
|
73
73
|
}
|
|
74
|
-
const
|
|
74
|
+
const $ = M(() => N(J(s.value.items)));
|
|
75
75
|
return (_, a) => {
|
|
76
|
-
const v =
|
|
76
|
+
const v = y("fm-text-field"), h = y("fm-button"), e = y("fm-side-sheet");
|
|
77
77
|
return d(), g(S, null, [
|
|
78
78
|
ae(_.$slots, "default", { trigger: f }),
|
|
79
79
|
l(e, {
|
|
@@ -82,7 +82,7 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
82
82
|
"onUpdate:modelValue": a[3] || (a[3] = (n) => u.value = n),
|
|
83
83
|
"is-container": t(K).FmForm,
|
|
84
84
|
"is-container-props": {
|
|
85
|
-
onValidationSuccess:
|
|
85
|
+
onValidationSuccess: O,
|
|
86
86
|
blameFormChildOnValidationFailed: !0
|
|
87
87
|
},
|
|
88
88
|
"max-width": 560
|
|
@@ -92,14 +92,14 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
92
92
|
]),
|
|
93
93
|
"side-sheet-footer": m(() => [
|
|
94
94
|
b("div", Ve, [
|
|
95
|
-
l(
|
|
95
|
+
l(h, {
|
|
96
96
|
label: t(r)(p.action === "add" ? "menu.serving_sequence.add" : "menu.serving_sequence.update"),
|
|
97
97
|
loading: c.value,
|
|
98
98
|
size: "lg",
|
|
99
99
|
type: "submit",
|
|
100
100
|
variant: "primary"
|
|
101
101
|
}, null, 8, ["label", "loading"]),
|
|
102
|
-
l(
|
|
102
|
+
l(h, {
|
|
103
103
|
label: t(r)("menu.common.actions.cancel"),
|
|
104
104
|
size: "lg",
|
|
105
105
|
variant: "tertiary",
|
|
@@ -123,7 +123,7 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
123
123
|
}, null, 8, ["modelValue", "rules", "label", "placeholder"]),
|
|
124
124
|
l(t(pe), {
|
|
125
125
|
"categorized-items": t(C).categorizedItems,
|
|
126
|
-
data:
|
|
126
|
+
data: $.value,
|
|
127
127
|
class: "flex-1",
|
|
128
128
|
"select-variant": "",
|
|
129
129
|
"show-variant": "",
|
|
@@ -144,45 +144,46 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
144
144
|
}, Ie = {
|
|
145
145
|
key: 1,
|
|
146
146
|
class: /* @__PURE__ */ Q(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100", "pb-64"])
|
|
147
|
-
},
|
|
147
|
+
}, Le = ["onClick"], Pe = {
|
|
148
148
|
class: "flex-1 space-y-4"
|
|
149
|
-
},
|
|
149
|
+
}, Re = {
|
|
150
150
|
class: "fm-typo-en-body-lg-600"
|
|
151
|
-
},
|
|
151
|
+
}, Be = {
|
|
152
152
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
153
153
|
}, He = /* @__PURE__ */ H({
|
|
154
154
|
__name: "ServingSequence",
|
|
155
155
|
setup(Y) {
|
|
156
156
|
const {
|
|
157
157
|
searchKey: k,
|
|
158
|
-
filter:
|
|
159
|
-
} = xe(), r = W(), p = ne(),
|
|
158
|
+
filter: P
|
|
159
|
+
} = xe(), r = W(), p = ne(), R = X(p), s = Z(R), C = _e(), i = fe(), B = Se(), q = ce(), {
|
|
160
160
|
t: c
|
|
161
161
|
} = ee(), u = (e) => {
|
|
162
162
|
e && e !== me.enum.v4 && q.push({
|
|
163
|
-
name:
|
|
163
|
+
name: ye.CATALOG
|
|
164
164
|
});
|
|
165
165
|
};
|
|
166
166
|
oe(() => {
|
|
167
167
|
var e;
|
|
168
168
|
u((e = i.currentBusiness.value) == null ? void 0 : e.menuVersion);
|
|
169
|
-
}),
|
|
169
|
+
}), D(() => {
|
|
170
170
|
var e;
|
|
171
171
|
return (e = i.currentBusiness.value) == null ? void 0 : e.menuVersion;
|
|
172
172
|
}, (e) => {
|
|
173
173
|
u(e);
|
|
174
|
-
}),
|
|
175
|
-
e &&
|
|
176
|
-
}),
|
|
177
|
-
e && e._id !== (n == null ? void 0 : n._id) && await r.readRestaurants();
|
|
178
|
-
}), E(() => i.currentRestaurant.value, async (e, n) => {
|
|
179
|
-
e && e._id !== (n == null ? void 0 : n._id) && await r.readMenu();
|
|
174
|
+
}), D(() => i.sessionUser.value, (e) => {
|
|
175
|
+
e && B.getPublicSetting();
|
|
176
|
+
}), D(() => i.currentBusiness.value, async (e, n) => {
|
|
177
|
+
e && e._id !== (n == null ? void 0 : n._id) && (i.isRestaurantLevelMenu.value || await r.readRestaurants());
|
|
180
178
|
}), se(() => {
|
|
181
|
-
i.restaurants.value.length &&
|
|
179
|
+
if (i.restaurants.value.length && !i.currentRestaurant.value) {
|
|
180
|
+
const e = i.restaurants.value.find((n) => n.managable);
|
|
181
|
+
e && i.changeRestaurant(e);
|
|
182
|
+
}
|
|
182
183
|
});
|
|
183
|
-
const f =
|
|
184
|
+
const f = M(() => r.serveSequence.filter(({
|
|
184
185
|
name: e
|
|
185
|
-
}) =>
|
|
186
|
+
}) => P([e])) ?? []);
|
|
186
187
|
function w(e) {
|
|
187
188
|
C.open({
|
|
188
189
|
title: "Delete sequence",
|
|
@@ -198,13 +199,13 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
198
199
|
}
|
|
199
200
|
}).onPrimary(async () => {
|
|
200
201
|
await s.updateMenu({
|
|
201
|
-
module:
|
|
202
|
-
operation:
|
|
202
|
+
module: L.enum.serveSequence,
|
|
203
|
+
operation: I.F_OPERATION_TYPE.delete,
|
|
203
204
|
data: e._id
|
|
204
205
|
}, e.name, !0);
|
|
205
206
|
});
|
|
206
207
|
}
|
|
207
|
-
const
|
|
208
|
+
const O = ({
|
|
208
209
|
servingSequence: e
|
|
209
210
|
}) => T(K.FmButton, {
|
|
210
211
|
prependIcon: "delete",
|
|
@@ -214,14 +215,14 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
214
215
|
n.stopPropagation(), w(e);
|
|
215
216
|
}
|
|
216
217
|
});
|
|
217
|
-
async function
|
|
218
|
+
async function N(e) {
|
|
218
219
|
await s.updateMenu({
|
|
219
|
-
module:
|
|
220
|
-
operation:
|
|
220
|
+
module: L.enum.serveSequence,
|
|
221
|
+
operation: I.F_OPERATION_TYPE.rearrange,
|
|
221
222
|
data: e.map((n) => n._id)
|
|
222
223
|
}, "sequences");
|
|
223
224
|
}
|
|
224
|
-
const
|
|
225
|
+
const $ = E([{
|
|
225
226
|
accessorKey: "name",
|
|
226
227
|
header: () => c("menu.serving_sequence.columns.name"),
|
|
227
228
|
enableSorting: !1,
|
|
@@ -265,9 +266,9 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
265
266
|
(F = (V = x.component) == null ? void 0 : V.exposed) == null || F.trigger();
|
|
266
267
|
}
|
|
267
268
|
re(() => r.selectCatalog(null));
|
|
268
|
-
const v = ve(),
|
|
269
|
+
const v = ve(), h = M(() => v.breakpoints.value.xs);
|
|
269
270
|
return (e, n) => {
|
|
270
|
-
const x =
|
|
271
|
+
const x = y("FmSpacer"), V = y("fm-button"), F = y("fm-search"), te = y("fm-table");
|
|
271
272
|
return d(), j(ke, {
|
|
272
273
|
class: "max-h-full",
|
|
273
274
|
heading: t(c)("menu.serving_sequence.title")
|
|
@@ -299,19 +300,19 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
299
300
|
type: "sequences"
|
|
300
301
|
}),
|
|
301
302
|
class: "w-[320px] xs:w-full xs:px-16"
|
|
302
|
-
}, null, 8, ["modelValue", "placeholder"])]),
|
|
303
|
+
}, null, 8, ["modelValue", "placeholder"])]), h.value ? (d(), g("div", Ie, [(d(!0), g(S, null, ue(f.value, (o) => (d(), g("div", {
|
|
303
304
|
key: o._id,
|
|
304
305
|
class: Q(["py-12 px-16", "flex items-center space-x-8"]),
|
|
305
306
|
onClick: (Oe) => a(o)
|
|
306
|
-
}, [b("div",
|
|
307
|
+
}, [b("div", Pe, [b("p", Re, U(o.name), 1), b("p", Be, U(t(c)("menu.common.labels.products_linked", {
|
|
307
308
|
count: o.items.length
|
|
308
|
-
})), 1)]), l(
|
|
309
|
+
})), 1)]), l(O, {
|
|
309
310
|
servingSequence: o
|
|
310
|
-
}, null, 8, ["servingSequence"])], 8,
|
|
311
|
+
}, null, 8, ["servingSequence"])], 8, Le))), 128))])) : (d(), j(he, {
|
|
311
312
|
key: 0
|
|
312
313
|
}, {
|
|
313
314
|
default: m(() => [l(te, {
|
|
314
|
-
"column-defs":
|
|
315
|
+
"column-defs": $.value,
|
|
315
316
|
loading: t(s).checkMenuIsLoading(),
|
|
316
317
|
"page-size": f.value.length,
|
|
317
318
|
"row-data": f.value,
|
|
@@ -321,7 +322,7 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
321
322
|
draggable: "",
|
|
322
323
|
"hide-footer": "",
|
|
323
324
|
"pin-header-row": "",
|
|
324
|
-
onDndChanged: n[1] || (n[1] = (o) =>
|
|
325
|
+
onDndChanged: n[1] || (n[1] = (o) => N(o)),
|
|
325
326
|
onRowClick: n[2] || (n[2] = (o) => a(o.original))
|
|
326
327
|
}, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
|
|
327
328
|
_: 1
|
|
@@ -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 P, createTextVNode as re, toDisplayString as T } from "vue";
|
|
2
|
-
import { u as me, B as ce, y as de, P as pe, z as ve, U as k, G as A } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, B as ce, y as de, P as pe, z as ve, U as k, G as A } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.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 $, FmButtonColorThemeVariant as R, components as ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as F } 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-CnEkf8GW.js";
|
|
7
|
+
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-1ghoDbrV.js";
|
|
8
|
+
import { C as f, a as x } from "./catalogSetting-DU1xmy0f.js";
|
|
9
|
+
import { C as Ce } from "./catalog-DBmh4WAG.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 P } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as R, 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 j, u as J, P as K, J as Z, K as ee, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as j, u as J, P as K, J as Z, K as ee, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.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-BoMWSx89.js";
|
|
8
8
|
import { c as de } from "./createForm-BoUQeZTd.js";
|
|
9
9
|
import { u as pe } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as G } from "./object-DVUNCr7w.js";
|
|
11
|
-
import { r as fe, u as ae } from "./rules-
|
|
12
|
-
import { _ as _e } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { r as fe, u as ae } from "./rules-DMR9hBYD.js";
|
|
12
|
+
import { _ as _e } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-BVxnZnzd.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-CHgRB67k.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, P as x, J as E, K as M } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { B as v, u as w, P as x, J as E, K as M } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.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-BVmHMvKD.js";
|
|
7
|
-
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { T as S, l as B } from "./index-
|
|
9
|
-
import { a as L } from "./menu-
|
|
7
|
+
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-s7cuAP0v.js";
|
|
8
|
+
import { T as S, l as B } from "./index-Dsfx6bUc.js";
|
|
9
|
+
import { a as L } from "./menu-CHgRB67k.js";
|
|
10
10
|
const O = { class: "flex-1 flex justify-between gap-8 pl-8" }, U = { class: "flex items-center" }, F = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, P = { class: "fm-typo-en-body-md-600 font-semibold" }, G = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
12
|
setup(D) {
|
|
@@ -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 G, toDisplayString as B, withModifiers as q } from "vue";
|
|
2
|
-
import { B as H, u as Q, P as W, J as F, K as A, G as R, z as se, aw as J, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { B as H, u as Q, P as W, J as F, K as A, G as R, z as se, aw as J, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.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-BoMWSx89.js";
|
|
6
|
+
import { a as ye, l as ee, T as pe } from "./index-Dsfx6bUc.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-kg9-zbPt.js";
|
|
10
10
|
import { defineStore as ke } from "pinia";
|
|
11
|
-
import { C as ve } from "./catalog-
|
|
11
|
+
import { C as ve } from "./catalog-DBmh4WAG.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,9 +1,9 @@
|
|
|
1
1
|
import { computed as d, defineComponent as U, ref as N, resolveComponent as F, createElementBlock as T, openBlock as M, normalizeClass as y, createVNode as j, normalizeStyle as K, withCtx as J, createBlock as z, createCommentVNode as q } from "vue";
|
|
2
|
-
import { y as x, J as I, K as v, B as R, U as Y, P, as as D, u as E, c as G } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as C } from "./menuV2-
|
|
4
|
-
import { C as S, h as k } from "./catalog-
|
|
2
|
+
import { y as x, J as I, K as v, B as R, U as Y, P, as as D, u as E, c as G } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
3
|
+
import { u as C } from "./menuV2-BD8ZEaQH.js";
|
|
4
|
+
import { C as S, h as k } from "./catalog-DBmh4WAG.js";
|
|
5
5
|
import { useSnackbar as O, useDialog as B } from "@feedmepos/ui-library";
|
|
6
|
-
import { a as A } from "./LinkProductSideSheet-
|
|
6
|
+
import { a as A } from "./LinkProductSideSheet-BAVjkhSM.js";
|
|
7
7
|
import { useI18n as H } from "@feedmepos/mf-common";
|
|
8
8
|
function Q() {
|
|
9
9
|
const t = C(), o = d(() => t.categorizedRawMenuItems.filter((u) => u.items.length > 0)), i = d(() => {
|
|
@@ -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-BJLNbe5R.js";
|
|
5
5
|
const C = /* @__PURE__ */ v({
|
|
6
6
|
__name: "LocaleIconBadge",
|
|
7
7
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { H as S } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { H as S } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
3
3
|
import { useI18n as q } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as H } from "./discardConfirm-BHni0LNu.js";
|
|
5
|
-
import { _ as G, a as J, b as K, c as M } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as G, a as J, b as K, c as M } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-BFwvDgDG.js";
|
|
6
6
|
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 = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "space-y-8"
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { ref as ne, computed as D, getCurrentInstance as hn, render as wn, defineComponent as me, resolveComponent as H, createElementBlock as Q, openBlock as V, createBlock as oe, normalizeClass as ke, createElementVNode as L, createVNode as u, unref as e, withCtx as z, toDisplayString as be, createCommentVNode as Z, onMounted as Qe, resolveDirective as en, Fragment as Ee, renderList as Ae, createTextVNode as kn, withDirectives as lt, renderSlot as ze, h as Ce, watch as Pe, nextTick as bt, vShow as tn, withModifiers as Je, createSlots as Cn, onBeforeUnmount as Rt, watchEffect as In, onUnmounted as Tn, normalizeStyle as ft, mergeProps as xn, normalizeProps as Sn, guardReactiveProps as En, mergeModels as Fn, useModel as $n, Teleport as Vn, Transition as Pn, withKeys as Dn } from "vue";
|
|
2
|
-
import { g as On, o as Un, _ as Mn, a as An, f as Rn, b as Nn, c as nn, n as $t, I as Ln, S as Gn, d as Nt, e as Bn, C as Kn, h as Lt, i as Gt, j as Bt, k as on, l as Vt, m as an, p as zn, q as jn, F as Yn, M as rn, r as qn, s as Wn, t as ln, v as Ht, w as sn, x as Hn, y as Xn, P as Qn, z as Jn, A as un, u as Zn, B as eo, T as We, D as to } from "./item-
|
|
3
|
-
import { a as no, b as oo, d as ao, _ as ro, T as lo } from "./app-
|
|
4
|
-
import { z as Te, J as Se, K as Ie, M as io, N as so, O as uo, B as it, u as yt, P as Kt, Q as co, y as et, R as he, A as Ye, T as mo, U as pt, G as we, V as po, H as $e, W as wt, X as dn, Y as fo, Z as go, $ as vo, a0 as kt, a1 as Xt, a2 as bo, a3 as yo } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { g as On, o as Un, _ as Mn, a as An, f as Rn, b as Nn, c as nn, n as $t, I as Ln, S as Gn, d as Nt, e as Bn, C as Kn, h as Lt, i as Gt, j as Bt, k as on, l as Vt, m as an, p as zn, q as jn, F as Yn, M as rn, r as qn, s as Wn, t as ln, v as Ht, w as sn, x as Hn, y as Xn, P as Qn, z as Jn, A as un, u as Zn, B as eo, T as We, D as to } from "./item-COrHMvzn.js";
|
|
3
|
+
import { a as no, b as oo, d as ao, _ as ro, T as lo } from "./app-BoMWSx89.js";
|
|
4
|
+
import { z as Te, J as Se, K as Ie, M as io, N as so, O as uo, B as it, u as yt, P as Kt, Q as co, y as et, R as he, A as Ye, T as mo, U as pt, G as we, V as po, H as $e, W as wt, X as dn, Y as fo, Z as go, $ as vo, a0 as kt, a1 as Xt, a2 as bo, a3 as yo } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
5
5
|
import { useI18n as ye, useCoreStore as st, CustomAttributesForm as cn } from "@feedmepos/mf-common";
|
|
6
6
|
import { useDialog as qe, useDialogChild as zt, useSnackbar as Ge, FmButtonColorThemeVariant as Ue, components as xe, FmButtonVariant as Me, useBreakpoints as _o } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as jt } from "./discardConfirm-BHni0LNu.js";
|
|
8
8
|
import { defineStore as ho } from "pinia";
|
|
9
|
-
import { _ as De, a as wo } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as ge, g as mn, m as ko } from "./menuV2-
|
|
9
|
+
import { _ as De, a as wo } from "./RuleView.vue_vue_type_script_setup_true_lang-CnEkf8GW.js";
|
|
10
|
+
import { u as ge, g as mn, m as ko } from "./menuV2-BD8ZEaQH.js";
|
|
11
11
|
import { s as Pt, _ as Co } from "./index-CisutoS9.js";
|
|
12
12
|
import { useAppStore as pn, RemyButton as fn } from "@feedmepos/mf-remy-panel";
|
|
13
13
|
import { _ as Le } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
14
14
|
import { c as Io } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
15
|
-
import { _ as To, a as xo, u as So } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
15
|
+
import { _ as To, a as xo, u as So } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DBYG98Xu.js";
|
|
16
16
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
import { _ as Dt } from "./tooltip-B5BiPMx9.js";
|
|
18
18
|
import { g as ut } from "./translation-fNx6yEpy.js";
|
|
19
|
-
import { _ as Ze, T as Eo, l as Fo } from "./index-
|
|
20
|
-
import { L as Ot } from "./LinkProductSideSheet-
|
|
19
|
+
import { _ as Ze, T as Eo, l as Fo } from "./index-Dsfx6bUc.js";
|
|
20
|
+
import { L as Ot } from "./LinkProductSideSheet-BAVjkhSM.js";
|
|
21
21
|
import { u as $o } from "./search-BAPEUu1R.js";
|
|
22
22
|
import { c as Yt } from "./check-C9mY6LiX.js";
|
|
23
|
-
import { f as je } from "./currency-
|
|
24
|
-
import { u as qt } from "./memberPricing-
|
|
23
|
+
import { f as je } from "./currency-kg9-zbPt.js";
|
|
24
|
+
import { u as qt } from "./memberPricing-CeRIT6MO.js";
|
|
25
25
|
import { c as Vo } from "./string-DpfFixWH.js";
|
|
26
26
|
import { useInventoryStore as Po, InventoryBindingSummary as Do } from "@feedmepos/mf-inventory-portal";
|
|
27
|
-
import { u as Oo } from "./priceTier-
|
|
27
|
+
import { u as Oo } from "./priceTier-CoMN4KMU.js";
|
|
28
28
|
import { d as Wt } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
29
|
-
import { _ as Uo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
29
|
+
import { _ as Uo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-B4PAatkS.js";
|
|
30
30
|
import "./app-5fxKLAzS.js";
|
|
31
31
|
/* empty css */
|
|
32
32
|
import { c as gt } from "./object-DVUNCr7w.js";
|
|
33
33
|
import { _ as Mo } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
34
34
|
import { _ as Qt } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|
|
35
|
-
import { _ as Ao } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-
|
|
35
|
+
import { _ as Ao } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Dv69QGDe.js";
|
|
36
36
|
var tt = /* @__PURE__ */ ((i) => (i.PRIMARY = "primary", i.PLAIN = "plain", i))(tt || {}), Re = /* @__PURE__ */ ((i) => (i.CATEGORY = "view_list", i.ITEM = "fastfood", i.VARIANT = "lunch_dining", i.GROUP = "database", i.FOLDER = "folder", i))(Re || {});
|
|
37
37
|
function Ct(i, a) {
|
|
38
38
|
return i <= 0 ? null : { label: a };
|
|
@@ -2,9 +2,9 @@ import { defineComponent as L, computed as d, ref as g, h as k, withModifiers as
|
|
|
2
2
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as K, components as R, useBreakpoints as D, FmButtonVariant as I } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as q } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { B as A, u as G, a5 as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as A, u as G, a5 as H } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
6
6
|
import { _ as J } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { u as O, U as P } from "./unit-
|
|
7
|
+
import { u as O, U as P } from "./unit-CQPZOeGq.js";
|
|
8
8
|
const Q = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "h-[600px]"
|
|
@@ -2,9 +2,9 @@ import { getCurrentInstance as A, defineComponent as T, computed as b, onMounted
|
|
|
2
2
|
import { useI18n as K } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as G, useSnackbar as N, FmButtonVariant as L, components as J, useBreakpoints as q } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as H } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as Q } from "./app-
|
|
6
|
-
import { B as P, u as D, P as O, J as W, K as X, a5 as Z } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { V as E } from "./index-
|
|
5
|
+
import { _ as Q } from "./app-BoMWSx89.js";
|
|
6
|
+
import { B as P, u as D, P as O, J as W, K as X, a5 as Z } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
7
|
+
import { V as E } from "./index-y8EZTw6Z.js";
|
|
8
8
|
import { _ as ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
9
9
|
import { _ as ae } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
10
10
|
import { u as oe } from "./search-BAPEUu1R.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as F, computed as d, ref as p, watch as A, onMounted as H, resolveComponent as m, createElementBlock as K, openBlock as b, Fragment as W, createVNode as n, withCtx as u, createElementVNode as i, toDisplayString as M, unref as e, createBlock as R } from "vue";
|
|
2
|
-
import { D as j } from "./dayjs.min-
|
|
2
|
+
import { D as j } from "./dayjs.min-sFCfvj7o.js";
|
|
3
3
|
import { useRoute as J, useRouter as Q } from "vue-router";
|
|
4
|
-
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { B as ee, u as te, A as ae, G as oe, P as ne } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BEkD_xvB.js";
|
|
5
|
+
import { B as ee, u as te, A as ae, G as oe, P as ne } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
6
6
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as se } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
|
-
import { L as V } from "./LinkProductSideSheet-
|
|
9
|
+
import { L as V } from "./LinkProductSideSheet-BAVjkhSM.js";
|
|
10
10
|
import { _ as ue } from "./index-CisutoS9.js";
|
|
11
11
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
|
-
import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { a as me } from "./menu-
|
|
14
|
-
import { m as ce } from "./toExcel-
|
|
15
|
-
import { _ as de, u as pe, c as _e } from "./scheduler-
|
|
16
|
-
import { R as r } from "./app-
|
|
12
|
+
import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DBYG98Xu.js";
|
|
13
|
+
import { a as me } from "./menu-CHgRB67k.js";
|
|
14
|
+
import { m as ce } from "./toExcel-CwIaZ36w.js";
|
|
15
|
+
import { _ as de, u as pe, c as _e } from "./scheduler-CKoiMRzw.js";
|
|
16
|
+
import { R as r } from "./app-BoMWSx89.js";
|
|
17
17
|
const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class: "flex ml-auto space-x-8" }, be = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */ F({
|
|
18
18
|
__name: "[id]",
|
|
19
19
|
setup(ke) {
|