@feedmepos/mf-menu 0.32.45 → 0.32.46-dev.3
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-CczmyQeJ.js → App-npeQTqd2.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BscsJpMV.js → ApplyProduct.vue_vue_type_script_setup_true_lang--prlJD_G.js} +3 -3
- package/dist/{Catalog-RU_6keJm.js → Catalog-jPzJ-CrL.js} +44 -44
- package/dist/{Category-CwEXbsDv.js → Category-B7pQ08QL.js} +24 -24
- package/dist/{Category-7Fg2kD0h.js → Category-BWZpgiNC.js} +19 -19
- package/dist/{CookingGuide-DFu5VStf.js → CookingGuide-BFEE1EJc.js} +105 -105
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CeNfLbfq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-D69zZiPR.js} +1 -1
- package/dist/{Group-C6vQeBnj.js → Group-DvZUfjSC.js} +1 -1
- package/dist/{Group-l-YpAi6B.js → Group-M4tXSj5P.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-1UdOBdv-.js → Group.vue_vue_type_script_setup_true_lang-DeVE8KLf.js} +19 -19
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C309DrLU.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-pbZw9da3.js} +30 -30
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C903fhuj.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Byzowjkm.js} +3105 -3104
- package/dist/{Ingredient-CHqDo-GY.js → Ingredient-BdHJVta5.js} +20 -20
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CXHHlrI0.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BSwR_wpJ.js} +2 -2
- package/dist/{LinkProductSideSheet-DY32g33Q.js → LinkProductSideSheet-B03Oabpv.js} +45 -45
- package/dist/{MenuSetting-DhbxlKuU.js → MenuSetting-DTWJOTMd.js} +47 -47
- package/dist/{PrintRoute-CToZ0ClG.js → PrintRoute-CPux5kB3.js} +39 -39
- package/dist/{Product-Cpg32wpg.js → Product-laMGJ8d-.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BC2KG1q4.js → Product.vue_vue_type_script_setup_true_lang-41pkSI-X.js} +93 -93
- package/dist/{ProductInternalTools-wH9BN1NK.js → ProductInternalTools-zNNMVjtn.js} +66 -66
- package/dist/Products-BwKBLOcx.js +307 -0
- package/dist/{Publish-CJS_836k.js → Publish-DVWIjGI_.js} +29 -29
- package/dist/{Recipe-Cz7hivmM.js → Recipe-DfDGxruI.js} +24 -24
- package/dist/RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Dqec903W.js +144 -0
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CRLzqgQe.js → RuleView.vue_vue_type_script_setup_true_lang-COsEN8g1.js} +176 -176
- package/dist/{Scheduler-QuWCnEJw.js → Scheduler-Cai-wMn7.js} +11 -11
- package/dist/{ServingSequence-CqK5Sjmq.js → ServingSequence-Do-C3Sn4.js} +44 -44
- package/dist/{Setting-C3tKUfsm.js → Setting-DSjLtPBJ.js} +17 -17
- package/dist/{Subcategory-DCtTOPUj.js → Subcategory-DSeuxOGy.js} +54 -54
- package/dist/{Takeaway-BnB1OFnK.js → Takeaway-C1srIF8q.js} +1 -1
- package/dist/{Takeaway-Fi8SAH2t.js → Takeaway-DwSbGolk.js} +13 -13
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Cbz7Qt_g.js → Takeaway.vue_vue_type_script_setup_true_lang-Bx8gpmLd.js} +33 -33
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CPM_muXB.js → Thumbnail.vue_vue_type_script_setup_true_lang-DDjpVFJj.js} +27 -27
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-BpL8UrFY.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-Cd4RGHXf.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DtkzQeq4.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-Bwo49sg8.js} +5 -5
- package/dist/{TranslationViewChip.vue_vue_type_script_setup_true_lang-CHT7Xozn.js → TranslationViewChip.vue_vue_type_script_setup_true_lang-COt8eJR8.js} +1 -1
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BG9vXVnJ.js +5767 -0
- package/dist/{Unit-5yE2-y9D.js → Unit-CLIdovqU.js} +8 -8
- package/dist/{Variant-C7lIdRID.js → Variant-CbX_HaWr.js} +14 -14
- package/dist/{_id_-08ykp97a.js → _id_-CF6hSxMn.js} +28 -28
- package/dist/{app-DPovSnb_.js → app-DXWLC6wZ.js} +1 -1
- package/dist/app-jYjowude.js +2286 -0
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/index.d.ts +1 -1
- package/dist/apps/mf-menu/src/api/menu.d.ts +14 -5
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-WT6deoPw.js → linked-status-Dz4kVy3U.js} +5 -5
- package/dist/assets/{menu-export-DxtFXMED.js → menu-export-Bjrlg38p.js} +2 -2
- package/dist/assets/{override-menu-BJGRdWWE.js → override-menu-h6635NTp.js} +5 -5
- package/dist/assets/{validate-menu-B_tmkHe7.js → validate-menu-ILBC_n35.js} +2 -2
- package/dist/{catalog-D7Jjqj3-.js → catalog-ByziW0k0.js} +1 -1
- package/dist/{catalogSetting-Bg_zMUrV.js → catalogSetting-DFtnnh_u.js} +1 -1
- package/dist/{currency-DDxFMjAI.js → currency-Dow_7SjH.js} +1 -1
- package/dist/dayjs.min-J4d4ye_W.js +7 -0
- package/dist/{index-BlLRjkMF.js → index-Bx_mNoGq.js} +31 -31
- package/dist/{index-Cq2MVpMv.js → index-Cud1HVR_.js} +30 -30
- package/dist/{index.vue_vue_type_script_setup_true_lang-C6IVvAua.js → index.vue_vue_type_script_setup_true_lang-BBIM8-iI.js} +6958 -6901
- package/dist/{item-Bq6SCc7D.js → item-CFhsU4ZX.js} +16 -16
- package/dist/{jszip.min-1MrCGuHF.js → jszip.min-C6M7_p-M.js} +7 -6
- package/dist/{menu-CKA9uouu.js → menu-ByysjB4i.js} +1 -1
- package/dist/{menuV2-DBkrmeha.js → menuV2-Clp-zydr.js} +164 -164
- package/dist/{priceTier-Cxr9IcVP.js → priceTier-DMPEyXYB.js} +1 -1
- package/dist/{rules-DFWR7a3m.js → rules-D7jis1av.js} +12 -12
- package/dist/{scheduler-HKff8Ty2.js → scheduler-Cdam4laD.js} +29 -29
- package/dist/{toExcel-DopYrxBW.js → toExcel-B2mXomTF.js} +2 -2
- package/dist/{unit-5G600HMJ.js → unit-BWhsHi2q.js} +35 -35
- package/package.json +1 -1
- package/dist/Products-CpINHaH6.js +0 -291
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DoIgiwHh.js +0 -6130
- package/dist/app-CA4g3v2n.js +0 -363
- package/dist/dayjs.min-BVOO8wJG.js +0 -6
- package/dist/index-CG7GFWlC.js +0 -246
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as le, ref as V, computed as F, resolveComponent as x, createBlock as T, openBlock as g, unref as n, withCtx as p, createElementVNode as a, createVNode as l, createElementBlock as E, toDisplayString as S, Fragment as z, renderList as
|
|
1
|
+
import { defineComponent as le, ref as V, computed as F, resolveComponent as x, createBlock as T, openBlock as g, unref as n, withCtx as p, createElementVNode as a, createVNode as l, createElementBlock as E, toDisplayString as S, Fragment as z, renderList as J, withModifiers as ae, createCommentVNode as ce, createTextVNode as fe, h as A } from "vue";
|
|
2
2
|
import { useI18n as se } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as de, useBreakpoints as be, useSnackbar as ye, useDialog as ke } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as he } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as xe } from "./app-
|
|
6
|
-
import {
|
|
5
|
+
import { _ as xe } from "./app-jYjowude.js";
|
|
6
|
+
import { G as ee, H as me, J as re, y as oe, u as Ce, O as we, B as Fe, a2 as Ve } from "./index.vue_vue_type_script_setup_true_lang-BBIM8-iI.js";
|
|
7
7
|
import { d as Se } from "./vuedraggable-CK8z7qA8.js";
|
|
8
|
-
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-COsEN8g1.js";
|
|
9
9
|
import { u as pe } from "./discardConfirm-BHni0LNu.js";
|
|
10
|
-
import { L as
|
|
11
|
-
import { _ as
|
|
12
|
-
const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = { class: "space-y-32" }, Le = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, Ne = { class: "px-16 py-8 w-[40%]" }, De = { class: "px-16 py-8 grow" },
|
|
10
|
+
import { L as $e } from "./LinkProductSideSheet-B03Oabpv.js";
|
|
11
|
+
import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
12
|
+
const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = { class: "space-y-32" }, Le = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, Ne = { class: "px-16 py-8 w-[40%]" }, De = { class: "px-16 py-8 grow" }, Be = { class: "px-16 py-8 w-[40%]" }, Ge = { class: "px-16 py-8 grow" }, Ue = { class: "space-y-16" }, Me = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Te = { class: "flex gap-8 items-center justify-start" }, ze = /* @__PURE__ */ le({
|
|
13
13
|
__name: "CookingGuideStepDialog",
|
|
14
14
|
emits: ["onComplete"],
|
|
15
|
-
setup(
|
|
15
|
+
setup(B, { expose: _, emit: X }) {
|
|
16
16
|
const { t: r } = se();
|
|
17
17
|
_({
|
|
18
18
|
show: s,
|
|
@@ -26,9 +26,9 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
26
26
|
instruction: ""
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
const C = V(!1),
|
|
29
|
+
const C = V(!1), R = V(!1), I = V(void 0);
|
|
30
30
|
function s(v) {
|
|
31
|
-
|
|
31
|
+
R.value = !!v, I.value = v ? ee(v) : D(), c.value = ee(I.value), w.value = Object.entries(c.value.variables).map(
|
|
32
32
|
([t, f]) => ({ key: t, value: f })
|
|
33
33
|
), C.value = !0;
|
|
34
34
|
}
|
|
@@ -39,16 +39,16 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
39
39
|
function q() {
|
|
40
40
|
w.value.push({ key: "", value: "" });
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Q(v) {
|
|
43
43
|
w.value.splice(v, 1);
|
|
44
44
|
}
|
|
45
45
|
function j(v) {
|
|
46
46
|
const t = document.activeElement;
|
|
47
47
|
if (t && t.tagName === "TEXTAREA") {
|
|
48
|
-
const f = t.selectionStart, L = t.selectionEnd,
|
|
48
|
+
const f = t.selectionStart, L = t.selectionEnd, G = c.value.instruction, $ = G.substring(0, f) + `{{${v}}}` + G.substring(L);
|
|
49
49
|
c.value = {
|
|
50
50
|
...c.value,
|
|
51
|
-
instruction:
|
|
51
|
+
instruction: $
|
|
52
52
|
}, setTimeout(() => {
|
|
53
53
|
t.focus();
|
|
54
54
|
const Y = f + `{{${v}}}`.length;
|
|
@@ -65,7 +65,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
65
65
|
label: t
|
|
66
66
|
}), v),
|
|
67
67
|
[]
|
|
68
|
-
)), h = F(() =>
|
|
68
|
+
)), h = F(() => R.value ? r("menu.cooking_guide.step_dialog.update.title") : r("menu.cooking_guide.step_dialog.add.title")), K = F(() => R.value ? r("menu.cooking_guide.step_dialog.update.action") : r("menu.cooking_guide.step_dialog.add.action"));
|
|
69
69
|
V();
|
|
70
70
|
const i = pe(
|
|
71
71
|
() => !me.isEqual(
|
|
@@ -73,7 +73,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
73
73
|
...c.value,
|
|
74
74
|
variables: w.value.reduce((v, { key: t, value: f }) => ({ ...v, [t]: f }), {})
|
|
75
75
|
},
|
|
76
|
-
|
|
76
|
+
I.value
|
|
77
77
|
),
|
|
78
78
|
() => {
|
|
79
79
|
C.value = !1;
|
|
@@ -86,7 +86,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
return (v, t) => {
|
|
89
|
-
const f = x("FmButton"), L = x("FmTextField"),
|
|
89
|
+
const f = x("FmButton"), L = x("FmTextField"), G = x("FmChip"), $ = x("FmTextarea"), Y = x("FmSideSheet");
|
|
90
90
|
return g(), T(Y, {
|
|
91
91
|
modelValue: C.value,
|
|
92
92
|
"onUpdate:modelValue": t[1] || (t[1] = (U) => C.value = U),
|
|
@@ -149,26 +149,26 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
149
149
|
a("div", Ne, S(n(r)("menu.cooking_guide.step_dialog.sections.variables.columns.key")), 1),
|
|
150
150
|
a("div", De, S(n(r)("menu.cooking_guide.step_dialog.sections.variables.columns.value")), 1)
|
|
151
151
|
]),
|
|
152
|
-
(g(!0), E(z, null,
|
|
153
|
-
key:
|
|
152
|
+
(g(!0), E(z, null, J(w.value, (U, M) => (g(), E("div", {
|
|
153
|
+
key: M,
|
|
154
154
|
class: "flex items-center border-b border-b-fm-color-neutral-gray-100"
|
|
155
155
|
}, [
|
|
156
|
-
a("div",
|
|
156
|
+
a("div", Be, [
|
|
157
157
|
l(L, {
|
|
158
|
-
modelValue: w.value[
|
|
159
|
-
"onUpdate:modelValue": (N) => w.value[
|
|
158
|
+
modelValue: w.value[M].key,
|
|
159
|
+
"onUpdate:modelValue": (N) => w.value[M].key = N,
|
|
160
160
|
rules: [
|
|
161
161
|
(N) => !!N || n(r)("menu.cooking_guide.step_dialog.sections.variables.validation.required"),
|
|
162
162
|
(N) => !N || /^[a-z]+$/.test(N) || n(r)("menu.cooking_guide.step_dialog.sections.variables.validation.lowercase"),
|
|
163
|
-
(N) => !N || w.value.findIndex((ue) => ue.key === N) ===
|
|
163
|
+
(N) => !N || w.value.findIndex((ue) => ue.key === N) === M || n(r)("menu.cooking_guide.step_dialog.sections.variables.validation.duplicate")
|
|
164
164
|
],
|
|
165
165
|
placeholder: n(r)("menu.cooking_guide.step_dialog.sections.variables.placeholders.key")
|
|
166
166
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rules", "placeholder"])
|
|
167
167
|
]),
|
|
168
|
-
a("div",
|
|
168
|
+
a("div", Ge, [
|
|
169
169
|
l(L, {
|
|
170
|
-
modelValue: w.value[
|
|
171
|
-
"onUpdate:modelValue": (N) => w.value[
|
|
170
|
+
modelValue: w.value[M].value,
|
|
171
|
+
"onUpdate:modelValue": (N) => w.value[M].value = N,
|
|
172
172
|
rules: [
|
|
173
173
|
(N) => !!N || n(r)("menu.cooking_guide.step_dialog.sections.variables.validation.required")
|
|
174
174
|
],
|
|
@@ -179,7 +179,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
179
179
|
icon: "delete",
|
|
180
180
|
variant: "tertiary",
|
|
181
181
|
"text-color": "neutral-gray-400",
|
|
182
|
-
onClick: () =>
|
|
182
|
+
onClick: () => Q(M)
|
|
183
183
|
}, null, 8, ["onClick"])
|
|
184
184
|
]))), 128))
|
|
185
185
|
])
|
|
@@ -191,15 +191,15 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
191
191
|
}, {
|
|
192
192
|
default: p(() => [
|
|
193
193
|
a("div", Ue, [
|
|
194
|
-
a("div",
|
|
195
|
-
(g(!0), E(z, null,
|
|
194
|
+
a("div", Me, [
|
|
195
|
+
(g(!0), E(z, null, J(k.value, (U) => (g(), T(G, {
|
|
196
196
|
key: U.label,
|
|
197
197
|
label: U.label,
|
|
198
198
|
class: "text-fm-color-primary bg-fm-color-system-warning-100",
|
|
199
199
|
onMousedown: ae(() => j(U.label), ["prevent"])
|
|
200
200
|
}, null, 8, ["label", "onMousedown"]))), 128))
|
|
201
201
|
]),
|
|
202
|
-
l(
|
|
202
|
+
l($, {
|
|
203
203
|
modelValue: c.value.instruction,
|
|
204
204
|
"onUpdate:modelValue": t[0] || (t[0] = (U) => c.value.instruction = U),
|
|
205
205
|
ref: "textareaRef"
|
|
@@ -214,10 +214,10 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
214
214
|
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
}),
|
|
217
|
+
}), Re = { class: "w-[700px]" }, Ae = { class: "flex bg-fm-color-neutral-gray-100" }, Pe = { class: "px-16 py-8 grow" }, qe = { class: "px-16 py-8 w-[200px]" }, je = { class: "px-16 py-8 w-[200px]" }, Ye = { class: "px-16 py-8 grow" }, He = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, Je = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, Xe = /* @__PURE__ */ le({
|
|
218
218
|
__name: "CookingGuideStepOverrideDialog",
|
|
219
219
|
emits: ["onComplete"],
|
|
220
|
-
setup(
|
|
220
|
+
setup(B, { expose: _, emit: X }) {
|
|
221
221
|
const { t: r } = se();
|
|
222
222
|
_({
|
|
223
223
|
show: s,
|
|
@@ -230,9 +230,9 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
230
230
|
overrides: []
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
|
-
const C = V(!1),
|
|
233
|
+
const C = V(!1), R = V(""), I = V([]);
|
|
234
234
|
function s(k) {
|
|
235
|
-
|
|
235
|
+
R.value = k.itemName, I.value = k.steps, c.value = k.bindings ? ee(k.bindings) : D(), C.value = !0;
|
|
236
236
|
}
|
|
237
237
|
function O() {
|
|
238
238
|
C.value = !1;
|
|
@@ -242,7 +242,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
242
242
|
var K;
|
|
243
243
|
return ((K = w.value[k]) == null ? void 0 : K.variables[h]) ?? "";
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Q(k, h, K) {
|
|
246
246
|
const i = c.value.overrides.findIndex((u) => u.id === k);
|
|
247
247
|
K ? i < 0 ? c.value.overrides.push({
|
|
248
248
|
id: k,
|
|
@@ -282,29 +282,29 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
282
282
|
}, null, 8, ["label"])
|
|
283
283
|
]),
|
|
284
284
|
default: p(() => [
|
|
285
|
-
a("div",
|
|
286
|
-
a("div",
|
|
285
|
+
a("div", Re, [
|
|
286
|
+
a("div", Ae, [
|
|
287
287
|
a("div", Pe, S(n(r)("menu.cooking_guide.step_override_dialog.columns.instructions")), 1),
|
|
288
288
|
a("div", qe, S(n(r)("menu.cooking_guide.step_override_dialog.columns.variables")), 1),
|
|
289
289
|
a("div", je, S(n(r)("menu.cooking_guide.step_override_dialog.columns.value")), 1)
|
|
290
290
|
]),
|
|
291
|
-
(g(!0), E(z, null,
|
|
291
|
+
(g(!0), E(z, null, J(I.value, (t) => (g(), E("div", {
|
|
292
292
|
key: t.id,
|
|
293
293
|
class: "flex border-t-2"
|
|
294
294
|
}, [
|
|
295
295
|
a("div", Ye, S(t.instruction), 1),
|
|
296
|
-
a("div",
|
|
297
|
-
(g(!0), E(z, null,
|
|
296
|
+
a("div", He, [
|
|
297
|
+
(g(!0), E(z, null, J(t.variables, (f, L) => (g(), E("div", {
|
|
298
298
|
key: L,
|
|
299
299
|
class: "py-8 w-full text-ellipsis overflow-hidden whitespace-nowrap"
|
|
300
300
|
}, S(L), 1))), 128))
|
|
301
301
|
]),
|
|
302
|
-
a("div",
|
|
303
|
-
(g(!0), E(z, null,
|
|
302
|
+
a("div", Je, [
|
|
303
|
+
(g(!0), E(z, null, J(t.variables, (f, L) => (g(), E("div", { key: L }, [
|
|
304
304
|
l(K, {
|
|
305
305
|
"model-value": q(t.id, L.toString()),
|
|
306
306
|
placeholder: f,
|
|
307
|
-
"onUpdate:modelValue": (
|
|
307
|
+
"onUpdate:modelValue": (G) => Q(t.id, L.toString(), G)
|
|
308
308
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])
|
|
309
309
|
]))), 128))
|
|
310
310
|
])
|
|
@@ -315,7 +315,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
315
315
|
}, 8, ["modelValue"]);
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
}),
|
|
318
|
+
}), Qe = { class: "fm-typo-en-title-md-600" }, We = { class: "space-y-24" }, Ze = { class: "flex items-center" }, eo = { class: "flex-1" }, oo = { class: "flex items-center gap-8" }, to = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, no = { class: "flex-1" }, io = { class: "bg-fm-color-neutral-gray-100 px-16 py-8" }, ao = { class: "px-16 py-8 flex-1 flex gap-4 overflow-auto min-w-0" }, lo = { class: "fm-typo-en-body-md-500" }, so = { class: "px-16 py-8 flex gap-8" }, uo = { class: "flex gap-8 items-center justify-start" }, ro = /* @__PURE__ */ le({
|
|
319
319
|
__name: "CookingGuideDialog",
|
|
320
320
|
props: {
|
|
321
321
|
categorizedItems: {
|
|
@@ -328,11 +328,11 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
328
328
|
}
|
|
329
329
|
},
|
|
330
330
|
emits: ["onSave"],
|
|
331
|
-
setup(
|
|
332
|
-
const r =
|
|
331
|
+
setup(B, { expose: _, emit: X }) {
|
|
332
|
+
const r = B;
|
|
333
333
|
_({
|
|
334
|
-
showModal:
|
|
335
|
-
hideModal:
|
|
334
|
+
showModal: R,
|
|
335
|
+
hideModal: I
|
|
336
336
|
});
|
|
337
337
|
function P() {
|
|
338
338
|
return {
|
|
@@ -343,10 +343,10 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
345
|
const D = V(!1), C = V(void 0);
|
|
346
|
-
function
|
|
346
|
+
function R(e) {
|
|
347
347
|
C.value = e ? ee(e) : P(), s.value = ee(C.value), D.value = !0;
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function I() {
|
|
350
350
|
D.value = !1;
|
|
351
351
|
}
|
|
352
352
|
const s = V(P()), O = V();
|
|
@@ -361,7 +361,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
361
361
|
function q(e) {
|
|
362
362
|
s.value.steps.splice(e, 1);
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Q(e) {
|
|
365
365
|
if (!e.id)
|
|
366
366
|
s.value.steps.push({ ...e, id: (/* @__PURE__ */ new Date()).toISOString() });
|
|
367
367
|
else {
|
|
@@ -428,7 +428,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
428
428
|
);
|
|
429
429
|
o >= 0 && s.value.bindings.splice(o, 1);
|
|
430
430
|
}
|
|
431
|
-
const { t } = se(), f = F(() => s.value._id ? t("menu.cooking_guide.dialog.update.title") : t("menu.cooking_guide.dialog.add.title")), L = F(() => s.value._id ? t("menu.cooking_guide.dialog.update.action") : t("menu.cooking_guide.dialog.add.action")),
|
|
431
|
+
const { t } = se(), f = F(() => s.value._id ? t("menu.cooking_guide.dialog.update.title") : t("menu.cooking_guide.dialog.add.title")), L = F(() => s.value._id ? t("menu.cooking_guide.dialog.update.action") : t("menu.cooking_guide.dialog.add.action")), G = F(() => s.value.bindings.length), $ = F(
|
|
432
432
|
() => s.value.bindings.reduce((e, o) => {
|
|
433
433
|
const b = e[o.productId] ?? [];
|
|
434
434
|
return o.combinationKey ? e[o.productId] = [...b, o.combinationKey] : e[o.productId] = [], e;
|
|
@@ -454,17 +454,17 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
454
454
|
itemName: m.name
|
|
455
455
|
});
|
|
456
456
|
return e;
|
|
457
|
-
}, [])),
|
|
458
|
-
const o =
|
|
457
|
+
}, [])), M = F(() => U.value.filter((e) => {
|
|
458
|
+
const o = $.value[e.itemId];
|
|
459
459
|
return !!o && (!e.combinationKey || o.includes(e.combinationKey));
|
|
460
460
|
})), N = F(() => {
|
|
461
461
|
const e = Y.value.toLowerCase();
|
|
462
|
-
return e ?
|
|
462
|
+
return e ? M.value.filter(
|
|
463
463
|
(o) => {
|
|
464
464
|
var b;
|
|
465
465
|
return ((b = o.itemCode) == null ? void 0 : b.toLowerCase().includes(e)) || o.itemName.toLowerCase().includes(e) || o.categoryName.toLowerCase().includes(e);
|
|
466
466
|
}
|
|
467
|
-
) :
|
|
467
|
+
) : M.value;
|
|
468
468
|
}), ue = F(() => N.value.reduce(
|
|
469
469
|
(e, o) => {
|
|
470
470
|
const b = e.findIndex((d) => d.id === o.categoryId);
|
|
@@ -487,7 +487,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
487
487
|
}
|
|
488
488
|
);
|
|
489
489
|
function ve() {
|
|
490
|
-
|
|
490
|
+
I(), ge("onSave", s.value);
|
|
491
491
|
}
|
|
492
492
|
return (e, o) => {
|
|
493
493
|
const b = x("FmTextField"), d = x("FmButton"), m = x("FmCardSection"), W = x("FmCard"), te = x("FmSpacer"), ne = x("FmSearch"), ie = x("FmSideSheet");
|
|
@@ -506,7 +506,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
506
506
|
"onOn:clickedAway": n(_e)
|
|
507
507
|
}, {
|
|
508
508
|
"side-sheet-header": p(() => [
|
|
509
|
-
a("span",
|
|
509
|
+
a("span", Qe, S(f.value), 1)
|
|
510
510
|
]),
|
|
511
511
|
"side-sheet-footer": p(() => [
|
|
512
512
|
a("div", uo, [
|
|
@@ -520,7 +520,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
520
520
|
variant: "tertiary",
|
|
521
521
|
label: n(t)("menu.cooking_guide.dialog.actions.cancel"),
|
|
522
522
|
size: "lg",
|
|
523
|
-
onClick:
|
|
523
|
+
onClick: I
|
|
524
524
|
}, null, 8, ["label"])
|
|
525
525
|
])
|
|
526
526
|
]),
|
|
@@ -563,7 +563,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
563
563
|
handle: ".handle",
|
|
564
564
|
"item-key": "id"
|
|
565
565
|
}, {
|
|
566
|
-
item: p(({ element: y, index:
|
|
566
|
+
item: p(({ element: y, index: H }) => [
|
|
567
567
|
l(W, {
|
|
568
568
|
variant: "outlined",
|
|
569
569
|
class: "rounded-md mb-16 items-center",
|
|
@@ -588,7 +588,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
588
588
|
l(d, {
|
|
589
589
|
icon: "delete",
|
|
590
590
|
variant: "tertiary",
|
|
591
|
-
onClick: ae(() => q(
|
|
591
|
+
onClick: ae(() => q(H), ["stop"])
|
|
592
592
|
}, null, 8, ["onClick"])
|
|
593
593
|
]),
|
|
594
594
|
_: 2
|
|
@@ -599,14 +599,14 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
}, 8, ["title"]),
|
|
602
|
-
|
|
602
|
+
B.canApplyItems ? (g(), T(Z, {
|
|
603
603
|
key: 0,
|
|
604
604
|
title: n(t)("menu.cooking_guide.dialog.sections.apply_product.title")
|
|
605
605
|
}, {
|
|
606
606
|
"append-title": p(() => [
|
|
607
607
|
l(te),
|
|
608
|
-
l(
|
|
609
|
-
"categorized-items":
|
|
608
|
+
l($e, {
|
|
609
|
+
"categorized-items": B.categorizedItems,
|
|
610
610
|
"initial-value": s.value.bindings.map((y) => ({
|
|
611
611
|
_id: y.productId,
|
|
612
612
|
combinationKey: y.combinationKey
|
|
@@ -632,7 +632,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
632
632
|
default: p(() => [
|
|
633
633
|
a("div", oo, [
|
|
634
634
|
a("div", to, S(n(t)("menu.cooking_guide.dialog.sections.apply_product.products_linked", {
|
|
635
|
-
count:
|
|
635
|
+
count: G.value
|
|
636
636
|
})), 1),
|
|
637
637
|
a("div", no, [
|
|
638
638
|
l(ne, {
|
|
@@ -642,27 +642,27 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
642
642
|
}, null, 8, ["modelValue", "placeholder"])
|
|
643
643
|
])
|
|
644
644
|
]),
|
|
645
|
-
(g(!0), E(z, null,
|
|
645
|
+
(g(!0), E(z, null, J(ue.value, (y) => (g(), E("div", {
|
|
646
646
|
key: y.id || ""
|
|
647
647
|
}, [
|
|
648
648
|
a("div", io, S(y.name), 1),
|
|
649
|
-
(g(!0), E(z, null,
|
|
650
|
-
key:
|
|
649
|
+
(g(!0), E(z, null, J(y.items, (H) => (g(), E("div", {
|
|
650
|
+
key: H.itemId,
|
|
651
651
|
class: "flex items-center"
|
|
652
652
|
}, [
|
|
653
653
|
a("div", ao, [
|
|
654
|
-
a("span", lo, S((
|
|
654
|
+
a("span", lo, S((H.itemCode ? `${H.itemCode} ` : "") + H.itemName), 1)
|
|
655
655
|
]),
|
|
656
656
|
a("div", so, [
|
|
657
657
|
l(d, {
|
|
658
658
|
icon: "edit",
|
|
659
659
|
variant: "tertiary",
|
|
660
|
-
onClick: () => i(
|
|
660
|
+
onClick: () => i(H)
|
|
661
661
|
}, null, 8, ["onClick"]),
|
|
662
662
|
l(d, {
|
|
663
663
|
icon: "delete",
|
|
664
664
|
variant: "tertiary",
|
|
665
|
-
onClick: () => v(
|
|
665
|
+
onClick: () => v(H)
|
|
666
666
|
}, null, 8, ["onClick"])
|
|
667
667
|
])
|
|
668
668
|
]))), 128))
|
|
@@ -677,7 +677,7 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
677
677
|
l(ze, {
|
|
678
678
|
ref_key: "cookingGuideStepDialogRef",
|
|
679
679
|
ref: O,
|
|
680
|
-
onOnComplete:
|
|
680
|
+
onOnComplete: Q
|
|
681
681
|
}, null, 512),
|
|
682
682
|
l(Xe, {
|
|
683
683
|
ref_key: "cookingGuideStepOverrideDialogRef",
|
|
@@ -688,25 +688,25 @@ const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = {
|
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
690
|
});
|
|
691
|
-
function co(
|
|
691
|
+
function co(B) {
|
|
692
692
|
return {
|
|
693
693
|
module: oe.F_MENU_MODULE_V4_KEY.enum.cookingGuide,
|
|
694
694
|
operation: re.F_OPERATION_TYPE.create,
|
|
695
|
-
data: oe.FdoMenuCookingGuide.parse(
|
|
695
|
+
data: oe.FdoMenuCookingGuide.parse(B)
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
|
-
function mo(
|
|
698
|
+
function mo(B) {
|
|
699
699
|
return {
|
|
700
700
|
module: oe.F_MENU_MODULE_V4_KEY.enum.cookingGuide,
|
|
701
701
|
operation: re.F_OPERATION_TYPE.update,
|
|
702
|
-
data: oe.FdoMenuCookingGuide.parse(
|
|
702
|
+
data: oe.FdoMenuCookingGuide.parse(B)
|
|
703
703
|
};
|
|
704
704
|
}
|
|
705
|
-
function po(
|
|
705
|
+
function po(B) {
|
|
706
706
|
return {
|
|
707
707
|
module: oe.F_MENU_MODULE_V4_KEY.enum.cookingGuide,
|
|
708
708
|
operation: re.F_OPERATION_TYPE.delete,
|
|
709
|
-
data:
|
|
709
|
+
data: B._id
|
|
710
710
|
};
|
|
711
711
|
}
|
|
712
712
|
const go = {
|
|
@@ -723,7 +723,7 @@ const go = {
|
|
|
723
723
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
724
724
|
}, Eo = /* @__PURE__ */ le({
|
|
725
725
|
__name: "CookingGuide",
|
|
726
|
-
setup(
|
|
726
|
+
setup(B) {
|
|
727
727
|
const {
|
|
728
728
|
t: _
|
|
729
729
|
} = se(), X = be(), r = F(() => X.breakpoints.value.xs), P = F(() => [{
|
|
@@ -760,9 +760,9 @@ const go = {
|
|
|
760
760
|
headerContentClass: "-mx-16"
|
|
761
761
|
},
|
|
762
762
|
enableSorting: !1,
|
|
763
|
-
cell: (i) =>
|
|
763
|
+
cell: (i) => A("div", {
|
|
764
764
|
class: "flex justify-end"
|
|
765
|
-
}, [
|
|
765
|
+
}, [A(de.FmButton, {
|
|
766
766
|
icon: "delete",
|
|
767
767
|
textColor: "neutral-gray-400",
|
|
768
768
|
variant: "tertiary",
|
|
@@ -770,7 +770,7 @@ const go = {
|
|
|
770
770
|
k(i.row.original);
|
|
771
771
|
}, ["stop", "prevent"])
|
|
772
772
|
})])
|
|
773
|
-
}]), D = Ce(), C = F(() => O.checkMenuIsLoading()),
|
|
773
|
+
}]), D = Ce(), C = F(() => O.checkMenuIsLoading()), R = F(() => D.categorizedItems), I = F(() => D.state.menu.modules.cookingGuide), s = F(() => I.value.length > 0), O = we(Fe(ye())), c = V();
|
|
774
774
|
function w() {
|
|
775
775
|
var i;
|
|
776
776
|
C.value || (i = c.value) == null || i.showModal();
|
|
@@ -779,20 +779,20 @@ const go = {
|
|
|
779
779
|
var u;
|
|
780
780
|
C.value || (u = c.value) == null || u.showModal(i);
|
|
781
781
|
}
|
|
782
|
-
async function
|
|
782
|
+
async function Q(i) {
|
|
783
783
|
const u = i._id ? mo(i) : co(i);
|
|
784
784
|
await O.updateMenu(u, i.name);
|
|
785
785
|
}
|
|
786
786
|
const j = ke();
|
|
787
787
|
async function k(i) {
|
|
788
|
-
let u = [
|
|
788
|
+
let u = [A("span", _("menu.cooking_guide.dialogs.remove.message.prefix")), A("span", {
|
|
789
789
|
class: "fm-typo-en-body-lg-600"
|
|
790
|
-
}, i.name),
|
|
791
|
-
i.bindings.length && (u = [
|
|
790
|
+
}, i.name), A("span", "?")];
|
|
791
|
+
i.bindings.length && (u = [A("span", _("menu.cooking_guide.dialogs.remove.message.products_using")), A("span", {
|
|
792
792
|
class: "fm-typo-en-body-lg-600"
|
|
793
|
-
}, i.bindings.length),
|
|
793
|
+
}, i.bindings.length), A("span", _("menu.cooking_guide.dialogs.remove.message.products_count")), ...u]), j.open({
|
|
794
794
|
title: _("menu.cooking_guide.dialogs.remove.title"),
|
|
795
|
-
contentComponent:
|
|
795
|
+
contentComponent: A("div", u),
|
|
796
796
|
primaryActions: {
|
|
797
797
|
text: _("menu.cooking_guide.actions.remove"),
|
|
798
798
|
close: !0,
|
|
@@ -808,11 +808,11 @@ const go = {
|
|
|
808
808
|
}
|
|
809
809
|
const h = V(""), K = F(() => {
|
|
810
810
|
const i = h.value.toLowerCase();
|
|
811
|
-
return i ?
|
|
811
|
+
return i ? I.value.filter((u) => u.name.toLowerCase().includes(i)) : I.value;
|
|
812
812
|
});
|
|
813
813
|
return (i, u) => {
|
|
814
|
-
const v = x("FmSearch"), t = x("FmTable"), f = x("FmButton"), L = x("FmListItem"),
|
|
815
|
-
return g(), T(
|
|
814
|
+
const v = x("FmSearch"), t = x("FmTable"), f = x("FmButton"), L = x("FmListItem"), G = x("FmList");
|
|
815
|
+
return g(), T(Ie, {
|
|
816
816
|
heading: n(_)("menu.cooking_guide.title")
|
|
817
817
|
}, {
|
|
818
818
|
"append-heading": p(() => [a("div", go, [s.value ? (g(), T(he, {
|
|
@@ -827,33 +827,33 @@ const go = {
|
|
|
827
827
|
key: 1
|
|
828
828
|
}, [a("div", _o, [l(v, {
|
|
829
829
|
modelValue: h.value,
|
|
830
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
830
|
+
"onUpdate:modelValue": u[1] || (u[1] = ($) => h.value = $),
|
|
831
831
|
autofocus: "",
|
|
832
832
|
class: "my-8 w-[320px] xs:w-full xs:px-16",
|
|
833
833
|
placeholder: n(_)("menu.cooking_guide.table.search.placeholder")
|
|
834
|
-
}, null, 8, ["modelValue", "placeholder"])]), r.value ? (g(), T(
|
|
834
|
+
}, null, 8, ["modelValue", "placeholder"])]), r.value ? (g(), T(G, {
|
|
835
835
|
key: 1,
|
|
836
836
|
class: "w-full px-16 flex-1 min-h-0 overflow-scroll pb-64",
|
|
837
837
|
separator: ""
|
|
838
838
|
}, {
|
|
839
|
-
default: p(() => [(g(!0), E(z, null,
|
|
840
|
-
key:
|
|
841
|
-
label:
|
|
839
|
+
default: p(() => [(g(!0), E(z, null, J(K.value, ($) => (g(), T(L, {
|
|
840
|
+
key: $._id,
|
|
841
|
+
label: $.name,
|
|
842
842
|
style: {
|
|
843
843
|
padding: "12px 0 !important"
|
|
844
844
|
},
|
|
845
|
-
onClick: () => q(
|
|
845
|
+
onClick: () => q($)
|
|
846
846
|
}, {
|
|
847
|
-
default: p(() => [a("div", vo, [a("div", fo, S(
|
|
848
|
-
count:
|
|
847
|
+
default: p(() => [a("div", vo, [a("div", fo, S($.name), 1), a("div", null, [a("div", bo, S(n(_)("menu.cooking_guide.table.mobile.products_linked", {
|
|
848
|
+
count: $.bindings.length
|
|
849
849
|
})), 1), a("div", yo, S(n(_)("menu.cooking_guide.table.columns.steps", {
|
|
850
|
-
count:
|
|
850
|
+
count: $.steps.length
|
|
851
851
|
})), 1)])]), l(f, {
|
|
852
852
|
disabled: C.value,
|
|
853
853
|
icon: "delete",
|
|
854
854
|
variant: "tertiary",
|
|
855
855
|
"text-color": "neutral-gray-400",
|
|
856
|
-
onClick: ae(() => k(
|
|
856
|
+
onClick: ae(() => k($), ["stop"])
|
|
857
857
|
}, null, 8, ["disabled", "onClick"])]),
|
|
858
858
|
_: 2
|
|
859
859
|
}, 1032, ["label", "onClick"]))), 128))]),
|
|
@@ -864,13 +864,13 @@ const go = {
|
|
|
864
864
|
default: p(() => [l(t, {
|
|
865
865
|
"column-defs": P.value,
|
|
866
866
|
loading: C.value,
|
|
867
|
-
"page-size":
|
|
868
|
-
"row-data":
|
|
867
|
+
"page-size": I.value.length,
|
|
868
|
+
"row-data": I.value,
|
|
869
869
|
"search-value": h.value,
|
|
870
870
|
shrinkAt: !1,
|
|
871
871
|
"hide-footer": "",
|
|
872
872
|
"pin-header-row": "",
|
|
873
|
-
onRowClick: u[2] || (u[2] = (
|
|
873
|
+
onRowClick: u[2] || (u[2] = ($) => q($.original))
|
|
874
874
|
}, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
|
|
875
875
|
_: 1
|
|
876
876
|
}))], 64)) : (g(), T(n(Ve), {
|
|
@@ -884,8 +884,8 @@ const go = {
|
|
|
884
884
|
}, null, 8, ["action", "subtitle", "title"])), l(ro, {
|
|
885
885
|
ref_key: "cookingGuideDialogRef",
|
|
886
886
|
ref: c,
|
|
887
|
-
"categorized-items":
|
|
888
|
-
onOnSave:
|
|
887
|
+
"categorized-items": R.value,
|
|
888
|
+
onOnSave: Q
|
|
889
889
|
}, null, 8, ["categorized-items"])]),
|
|
890
890
|
_: 1
|
|
891
891
|
}, 8, ["heading"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as S, computed as o, createBlock as v, openBlock as t, unref as c, withCtx as g, renderSlot as B, ref as A, resolveComponent as I, createElementBlock as a, createElementVNode as m, createCommentVNode as b, Fragment as f, renderList as C, toDisplayString as d, withModifiers as F } from "vue";
|
|
2
2
|
import { useI18n as V } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as M } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|
|
4
|
-
import { u as D } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as D } from "./index.vue_vue_type_script_setup_true_lang-BBIM8-iI.js";
|
|
5
5
|
import { useBreakpoints as E } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as y } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
7
7
|
const X = /* @__PURE__ */ S({
|
|
@@ -2,9 +2,9 @@ import { defineComponent as m, ref as p, createBlock as i, openBlock as d, unref
|
|
|
2
2
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as f } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
4
4
|
import { _ as g } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
5
|
-
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { B as b } from "./item-
|
|
7
|
-
import { a as h } from "./menu-
|
|
5
|
+
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-DeVE8KLf.js";
|
|
6
|
+
import { B as b } from "./item-CFhsU4ZX.js";
|
|
7
|
+
import { a as h } from "./menu-ByysjB4i.js";
|
|
8
8
|
const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, A = /* @__PURE__ */ m({
|
|
9
9
|
__name: "Group",
|
|
10
10
|
setup(B) {
|