@feedmepos/mf-menu 0.31.71-alpha.1 → 0.31.72
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-C1efkJzL.js → App-CvauiBxh.js} +1441 -2545
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BHDnLuRy.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BK9XcgvQ.js} +3 -3
- package/dist/{Catalog-BJjTCl9l.js → Catalog-CBdU6H-7.js} +26 -26
- package/dist/{Category-C35HseX2.js → Category-BFO9_FCp.js} +35 -35
- package/dist/{Category-CxrTHk1Y.js → Category-DkKEXvEF.js} +22 -22
- package/dist/{CookingGuide-BwEQicZ8.js → CookingGuide-E34vwLgw.js} +113 -113
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DhiJEKXO.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DlnAxQwE.js} +1 -1
- package/dist/{Group-2MAzdN5P.js → Group-Bcc1Z7D-.js} +1 -1
- package/dist/{Group-C_AO4FGn.js → Group-CpSycfFA.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DjEPQI2w.js → Group.vue_vue_type_script_setup_true_lang-CWIHfDqh.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cttg3YhQ.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B8tJzkEO.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-8pgeYhp4.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BGWmkL9R.js} +21 -22
- package/dist/{Ingredient-CL_5yWPs.js → Ingredient-0Cg2IcHV.js} +23 -23
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-Di42poKp.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Dztd7mAs.js} +2 -2
- package/dist/{LinkProductSideSheet-Buso155W.js → LinkProductSideSheet-CiRZO3uN.js} +3 -3
- package/dist/{MenuSetting-CnREg4Yu.js → MenuSetting-Bv4sWdlj.js} +31 -31
- package/dist/{PrintRoute-C9sWURzn.js → PrintRoute-DP-fjMrF.js} +26 -26
- package/dist/{Product-BLRDuiIG.js → Product-DgZcdRkv.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BpKLqY3j.js → Product.vue_vue_type_script_setup_true_lang-CpthNypU.js} +71 -71
- package/dist/{ProductInternalTools-Cn2WRqm6.js → ProductInternalTools-CLmYNGLn.js} +16 -16
- package/dist/{Products-BQBfz9A8.js → Products-KrRu9cnx.js} +11 -11
- package/dist/{Publish-DMQ9O69V.js → Publish-C9Wi7dG1.js} +56 -57
- package/dist/{Recipe-CXEZt0zY.js → Recipe-BPdgYfvy.js} +13 -13
- package/dist/{Scheduler-hJTrqBhn.js → Scheduler-C9LCR2Oj.js} +16 -16
- package/dist/{ServingSequence-CctiqLbz.js → ServingSequence-D-OBo-oY.js} +20 -20
- package/dist/{Setting-BrKRjfTn.js → Setting-qITT89Lg.js} +20 -20
- package/dist/{Subcategory-K0jGgZtU.js → Subcategory-kl6ncKqB.js} +19 -19
- package/dist/{Takeaway-o5KBa5oX.js → Takeaway-BOxto2HZ.js} +1 -1
- package/dist/{Takeaway-DiJwhBwl.js → Takeaway-D9GOXVdh.js} +10 -10
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BpgD3grk.js → Takeaway.vue_vue_type_script_setup_true_lang-CbhZLN-r.js} +20 -20
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BCejAD3E.js → Thumbnail.vue_vue_type_script_setup_true_lang-CH9jzjP0.js} +20 -20
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CMZfeg2n.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C0NgcFQK.js} +15 -16
- package/dist/{Unit-BAy6O7xD.js → Unit-Dr0n8Nl-.js} +13 -13
- package/dist/{Variant-BtXJASw_.js → Variant-BVvjuGqK.js} +15 -15
- package/dist/{_id_-HD8T1NGg.js → _id_-DqqSN5Lt.js} +14 -14
- package/dist/{app-C7AqPK-c.js → app-B3_2cau3.js} +1 -1
- package/dist/{app-Bp1A4ItJ.js → app-DJ-rQRBU.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +72 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +218 -0
- package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
- package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +52 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +110 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +81 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +55 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/OptionTable.vue.d.ts +52 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/UpdateForm.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +144 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +165 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +55 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +375 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/tree.d.ts +18 -18
- package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +81 -0
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +55 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +430 -0
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +375 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +375 -0
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +165 -0
- package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +81 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +375 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +220 -0
- package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +52 -0
- package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +52 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-qkReSi42.js +13 -0
- package/dist/assets/override-menu-Dyv1SsFk.js +13 -0
- package/dist/assets/validate-menu-DpF5os-S.js +13 -0
- package/dist/{catalog-XPyE5k4t.js → catalog-DeBJkQdk.js} +1 -1
- package/dist/{catalogSetting-C-A9fWEC.js → catalogSetting-CkZSHD-W.js} +1 -1
- package/dist/{category-DXZrXFYj.js → category-CJKIi291.js} +5 -5
- package/dist/{currency-D939gSij.js → currency-NcUCHGGN.js} +1 -1
- package/dist/{customAttributes-bw8OCoHr.js → customAttributes-Cf1e7I1m.js} +1 -1
- package/dist/{index-BU5aiCzu.js → index-B7ZCIQp2.js} +13 -13
- package/dist/{index-CPb1lDPU.js → index-BaeTP7Ku.js} +1 -1
- package/dist/{index-B4t_Uzk7.js → index-DQqxmq0e.js} +26 -26
- package/dist/{index-Cq9qqaCC.js → index-EBL2mPva.js} +1 -1
- package/dist/{item-D4uNJyVR.js → item-BsvsZcce.js} +16 -16
- package/dist/iteration-CxQwvFbX.js +27 -0
- package/dist/{jszip.min-15VIwqfl.js → jszip.min-DoZyvEEd.js} +353 -353
- package/dist/{menu-CPLvXPJu.js → menu-Dlsf52hs.js} +27998 -27430
- package/dist/{menu-BSAn1m0K.js → menu-zMO5M1Ur.js} +1 -1
- package/dist/{menuV2-DZpI5Elt.js → menuV2-Ss7NpjF_.js} +48 -48
- package/dist/mf-menu.css +1 -1
- package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +1 -1
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +1 -1
- package/dist/{priceTier-Bs5Ve98k.js → priceTier-Dhh2TKAL.js} +1 -1
- package/dist/{scheduler-BKwB9GfG.js → scheduler-CA9RiMAg.js} +20 -20
- package/dist/{subcategory-DJW1_br9.js → subcategory-tJjY3seO.js} +6 -6
- package/dist/{toExcel-C_lOM1fZ.js → toExcel-C6zcyUsq.js} +2 -2
- package/dist/{unit-ioVHtQya.js → unit-D4M4cm2W.js} +9 -9
- package/package.json +3 -3
- package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +0 -19
- package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +0 -11
- package/dist/assets/linked-status-DmzniV97.js +0 -13
- package/dist/assets/override-menu-CdzhzFFi.js +0 -13
- package/dist/assets/validate-menu-BSL_Zd2w.js +0 -13
- package/dist/dayjs.min-C3Ch6D78.js +0 -6
- package/dist/iteration-BoeoXAHD.js +0 -23
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { defineComponent as ae, ref as w, computed as V, resolveComponent as x, createBlock as Y, openBlock as k, unref as i, withCtx as p, createElementVNode as a, createVNode as l, createElementBlock as I, toDisplayString as S, Fragment as
|
|
1
|
+
import { defineComponent as ae, ref as w, computed as V, resolveComponent as x, createBlock as Y, openBlock as k, unref as i, withCtx as p, createElementVNode as a, createVNode as l, createElementBlock as I, toDisplayString as S, Fragment as M, renderList as H, withModifiers as le, createCommentVNode as ce, createTextVNode as fe, h as R } from "vue";
|
|
2
2
|
import { useI18n as se } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as ue, useSnackbar as be, useDialog as ye } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ke } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as he } from "./app-
|
|
6
|
-
import { H as ee, I as me, J as re,
|
|
5
|
+
import { _ as he } from "./app-DJ-rQRBU.js";
|
|
6
|
+
import { H as ee, I as me, J as re, z as oe, u as xe, O as Ce, D as we } from "./menu-Dlsf52hs.js";
|
|
7
7
|
import { d as Fe } from "./vuedraggable-CK8z7qA8.js";
|
|
8
|
-
import { _ as Z } from "./customAttributes-
|
|
8
|
+
import { _ as Z } from "./customAttributes-Cf1e7I1m.js";
|
|
9
9
|
import { u as pe } from "./discardConfirm-BHni0LNu.js";
|
|
10
|
-
import { L as Ve } from "./LinkProductSideSheet-
|
|
10
|
+
import { L as Ve } from "./LinkProductSideSheet-CiRZO3uN.js";
|
|
11
11
|
import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
12
12
|
import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
13
|
-
const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = { class: "space-y-32" }, Ke = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" },
|
|
13
|
+
const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = { class: "space-y-32" }, Ke = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, De = { class: "px-16 py-8 w-[40%]" }, Le = { class: "px-16 py-8 grow" }, Ne = { class: "px-16 py-8 w-[40%]" }, Ue = { class: "px-16 py-8 grow" }, Ge = { class: "space-y-16" }, Te = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, ze = { class: "flex gap-8 items-center justify-start" }, Be = /* @__PURE__ */ ae({
|
|
14
14
|
__name: "CookingGuideStepDialog",
|
|
15
15
|
emits: ["onComplete"],
|
|
16
|
-
setup(
|
|
16
|
+
setup(L, { expose: g, emit: J }) {
|
|
17
17
|
const { t: u } = se();
|
|
18
18
|
g({
|
|
19
19
|
show: d,
|
|
20
20
|
hide: $
|
|
21
21
|
});
|
|
22
|
-
const
|
|
23
|
-
function
|
|
22
|
+
const N = J;
|
|
23
|
+
function D() {
|
|
24
24
|
return {
|
|
25
25
|
id: "",
|
|
26
26
|
variables: {},
|
|
27
27
|
instruction: ""
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
const C = w(!1),
|
|
30
|
+
const C = w(!1), G = w(!1), E = w(void 0);
|
|
31
31
|
function d(v) {
|
|
32
|
-
|
|
32
|
+
G.value = !!v, E.value = v ? ee(v) : D(), m.value = ee(E.value), F.value = Object.entries(m.value.variables).map(
|
|
33
33
|
([t, f]) => ({ key: t, value: f })
|
|
34
34
|
), C.value = !0;
|
|
35
35
|
}
|
|
36
36
|
function $() {
|
|
37
37
|
C.value = !1;
|
|
38
38
|
}
|
|
39
|
-
const m = w(
|
|
39
|
+
const m = w(D()), F = w([]);
|
|
40
40
|
function X() {
|
|
41
41
|
F.value.push({ key: "", value: "" });
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function A(v) {
|
|
44
44
|
F.value.splice(v, 1);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function U(v) {
|
|
47
47
|
const t = document.activeElement;
|
|
48
48
|
if (t && t.tagName === "TEXTAREA") {
|
|
49
49
|
const f = t.selectionStart, _ = t.selectionEnd, P = m.value.instruction, W = P.substring(0, f) + `{{${v}}}` + P.substring(_);
|
|
@@ -66,7 +66,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
66
66
|
label: t
|
|
67
67
|
}), v),
|
|
68
68
|
[]
|
|
69
|
-
)), n = V(() =>
|
|
69
|
+
)), n = V(() => G.value ? u("menu.cooking_guide.step_dialog.update.title") : u("menu.cooking_guide.step_dialog.add.title")), s = V(() => G.value ? u("menu.cooking_guide.step_dialog.update.action") : u("menu.cooking_guide.step_dialog.add.action"));
|
|
70
70
|
w();
|
|
71
71
|
const K = pe(
|
|
72
72
|
() => !me.isEqual(
|
|
@@ -81,7 +81,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
83
|
function T() {
|
|
84
|
-
$(),
|
|
84
|
+
$(), N("onComplete", {
|
|
85
85
|
...m.value,
|
|
86
86
|
variables: F.value.reduce((v, { key: t, value: f }) => ({ ...v, [t]: f }), {})
|
|
87
87
|
});
|
|
@@ -90,7 +90,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
90
90
|
const f = x("FmButton"), _ = x("FmTextField"), P = x("FmChip"), W = x("FmTextarea"), q = x("FmSideSheet");
|
|
91
91
|
return k(), Y(q, {
|
|
92
92
|
modelValue: C.value,
|
|
93
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
93
|
+
"onUpdate:modelValue": t[1] || (t[1] = (z) => C.value = z),
|
|
94
94
|
closeButton: !1,
|
|
95
95
|
header: n.value,
|
|
96
96
|
"max-width": 560,
|
|
@@ -114,7 +114,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
114
114
|
])
|
|
115
115
|
]),
|
|
116
116
|
"side-sheet-footer": p(() => [
|
|
117
|
-
a("div",
|
|
117
|
+
a("div", ze, [
|
|
118
118
|
l(f, {
|
|
119
119
|
label: s.value,
|
|
120
120
|
size: "lg",
|
|
@@ -147,29 +147,29 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
147
147
|
default: p(() => [
|
|
148
148
|
a("div", null, [
|
|
149
149
|
a("div", Ke, [
|
|
150
|
-
a("div",
|
|
151
|
-
a("div",
|
|
150
|
+
a("div", De, S(i(u)("menu.cooking_guide.step_dialog.sections.variables.columns.key")), 1),
|
|
151
|
+
a("div", Le, S(i(u)("menu.cooking_guide.step_dialog.sections.variables.columns.value")), 1)
|
|
152
152
|
]),
|
|
153
|
-
(k(!0), I(
|
|
154
|
-
key:
|
|
153
|
+
(k(!0), I(M, null, H(F.value, (z, B) => (k(), I("div", {
|
|
154
|
+
key: B,
|
|
155
155
|
class: "flex items-center border-b border-b-fm-color-neutral-gray-100"
|
|
156
156
|
}, [
|
|
157
|
-
a("div",
|
|
157
|
+
a("div", Ne, [
|
|
158
158
|
l(_, {
|
|
159
|
-
modelValue: F.value[
|
|
160
|
-
"onUpdate:modelValue": (O) => F.value[
|
|
159
|
+
modelValue: F.value[B].key,
|
|
160
|
+
"onUpdate:modelValue": (O) => F.value[B].key = O,
|
|
161
161
|
rules: [
|
|
162
162
|
(O) => !!O || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.required"),
|
|
163
163
|
(O) => !O || /^[a-z]+$/.test(O) || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.lowercase"),
|
|
164
|
-
(O) => !O || F.value.findIndex((de) => de.key === O) ===
|
|
164
|
+
(O) => !O || F.value.findIndex((de) => de.key === O) === B || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.duplicate")
|
|
165
165
|
],
|
|
166
166
|
placeholder: i(u)("menu.cooking_guide.step_dialog.sections.variables.placeholders.key")
|
|
167
167
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rules", "placeholder"])
|
|
168
168
|
]),
|
|
169
|
-
a("div",
|
|
169
|
+
a("div", Ue, [
|
|
170
170
|
l(_, {
|
|
171
|
-
modelValue: F.value[
|
|
172
|
-
"onUpdate:modelValue": (O) => F.value[
|
|
171
|
+
modelValue: F.value[B].value,
|
|
172
|
+
"onUpdate:modelValue": (O) => F.value[B].value = O,
|
|
173
173
|
rules: [
|
|
174
174
|
(O) => !!O || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.required")
|
|
175
175
|
],
|
|
@@ -180,7 +180,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
180
180
|
icon: "delete",
|
|
181
181
|
variant: "tertiary",
|
|
182
182
|
"text-color": "neutral-gray-400",
|
|
183
|
-
onClick: () =>
|
|
183
|
+
onClick: () => A(B)
|
|
184
184
|
}, null, 8, ["onClick"])
|
|
185
185
|
]))), 128))
|
|
186
186
|
])
|
|
@@ -191,18 +191,18 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
191
191
|
title: i(u)("menu.cooking_guide.step_dialog.sections.instruction.title")
|
|
192
192
|
}, {
|
|
193
193
|
default: p(() => [
|
|
194
|
-
a("div",
|
|
194
|
+
a("div", Ge, [
|
|
195
195
|
a("div", Te, [
|
|
196
|
-
(k(!0), I(
|
|
197
|
-
key:
|
|
198
|
-
label:
|
|
196
|
+
(k(!0), I(M, null, H(h.value, (z) => (k(), Y(P, {
|
|
197
|
+
key: z.label,
|
|
198
|
+
label: z.label,
|
|
199
199
|
class: "text-fm-color-primary bg-fm-color-system-warning-100",
|
|
200
|
-
onMousedown: le(() =>
|
|
200
|
+
onMousedown: le(() => U(z.label), ["prevent"])
|
|
201
201
|
}, null, 8, ["label", "onMousedown"]))), 128))
|
|
202
202
|
]),
|
|
203
203
|
l(W, {
|
|
204
204
|
modelValue: m.value.instruction,
|
|
205
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
205
|
+
"onUpdate:modelValue": t[0] || (t[0] = (z) => m.value.instruction = z),
|
|
206
206
|
ref: "textareaRef"
|
|
207
207
|
}, null, 8, ["modelValue"])
|
|
208
208
|
])
|
|
@@ -215,43 +215,43 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
215
215
|
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]);
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
|
-
}),
|
|
218
|
+
}), Me = { class: "w-[700px]" }, Re = { class: "flex bg-fm-color-neutral-gray-100" }, Ae = { class: "px-16 py-8 grow" }, Pe = { class: "px-16 py-8 w-[200px]" }, qe = { class: "px-16 py-8 w-[200px]" }, je = { class: "px-16 py-8 grow" }, Ye = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, He = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, Je = /* @__PURE__ */ ae({
|
|
219
219
|
__name: "CookingGuideStepOverrideDialog",
|
|
220
220
|
emits: ["onComplete"],
|
|
221
|
-
setup(
|
|
221
|
+
setup(L, { expose: g, emit: J }) {
|
|
222
222
|
const { t: u } = se();
|
|
223
223
|
g({
|
|
224
224
|
show: d,
|
|
225
225
|
hide: $
|
|
226
226
|
});
|
|
227
|
-
const
|
|
228
|
-
function
|
|
227
|
+
const N = J;
|
|
228
|
+
function D() {
|
|
229
229
|
return {
|
|
230
230
|
productId: "",
|
|
231
231
|
overrides: []
|
|
232
232
|
};
|
|
233
233
|
}
|
|
234
|
-
const C = w(!1),
|
|
234
|
+
const C = w(!1), G = w(""), E = w([]);
|
|
235
235
|
function d(h) {
|
|
236
|
-
|
|
236
|
+
G.value = h.itemName, E.value = h.steps, m.value = h.bindings ? ee(h.bindings) : D(), C.value = !0;
|
|
237
237
|
}
|
|
238
238
|
function $() {
|
|
239
239
|
C.value = !1;
|
|
240
240
|
}
|
|
241
|
-
const m = w(
|
|
241
|
+
const m = w(D()), F = V(() => m.value.overrides.reduce((h, n) => (h[n.id] = n, h), {}));
|
|
242
242
|
function X(h, n) {
|
|
243
243
|
var s;
|
|
244
244
|
return ((s = F.value[h]) == null ? void 0 : s.variables[n]) ?? "";
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function A(h, n, s) {
|
|
247
247
|
const K = m.value.overrides.findIndex((T) => T.id === h);
|
|
248
248
|
s ? K < 0 ? m.value.overrides.push({
|
|
249
249
|
id: h,
|
|
250
250
|
variables: { [n]: s }
|
|
251
251
|
}) : m.value.overrides[K].variables[n] = s : K >= 0 && (delete m.value.overrides[K].variables[n], Object.keys(m.value.overrides[K].variables).length || m.value.overrides.splice(K, 1));
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
$(),
|
|
253
|
+
function U() {
|
|
254
|
+
$(), N("onComplete", m.value);
|
|
255
255
|
}
|
|
256
256
|
return (h, n) => {
|
|
257
257
|
const s = x("FmTextField"), K = x("FmSpacer"), T = x("FmButton"), v = x("FmDialog");
|
|
@@ -279,33 +279,33 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
279
279
|
label: i(u)("menu.cooking_guide.step_override_dialog.actions.save"),
|
|
280
280
|
size: "md",
|
|
281
281
|
variant: "primary",
|
|
282
|
-
onClick:
|
|
282
|
+
onClick: U
|
|
283
283
|
}, null, 8, ["label"])
|
|
284
284
|
]),
|
|
285
285
|
default: p(() => [
|
|
286
|
-
a("div",
|
|
287
|
-
a("div",
|
|
288
|
-
a("div",
|
|
286
|
+
a("div", Me, [
|
|
287
|
+
a("div", Re, [
|
|
288
|
+
a("div", Ae, S(i(u)("menu.cooking_guide.step_override_dialog.columns.instructions")), 1),
|
|
289
289
|
a("div", Pe, S(i(u)("menu.cooking_guide.step_override_dialog.columns.variables")), 1),
|
|
290
290
|
a("div", qe, S(i(u)("menu.cooking_guide.step_override_dialog.columns.value")), 1)
|
|
291
291
|
]),
|
|
292
|
-
(k(!0), I(
|
|
292
|
+
(k(!0), I(M, null, H(E.value, (t) => (k(), I("div", {
|
|
293
293
|
key: t.id,
|
|
294
294
|
class: "flex border-t-2"
|
|
295
295
|
}, [
|
|
296
296
|
a("div", je, S(t.instruction), 1),
|
|
297
297
|
a("div", Ye, [
|
|
298
|
-
(k(!0), I(
|
|
298
|
+
(k(!0), I(M, null, H(t.variables, (f, _) => (k(), I("div", {
|
|
299
299
|
key: _,
|
|
300
300
|
class: "py-8 w-full text-ellipsis overflow-hidden whitespace-nowrap"
|
|
301
301
|
}, S(_), 1))), 128))
|
|
302
302
|
]),
|
|
303
303
|
a("div", He, [
|
|
304
|
-
(k(!0), I(
|
|
304
|
+
(k(!0), I(M, null, H(t.variables, (f, _) => (k(), I("div", { key: _ }, [
|
|
305
305
|
l(s, {
|
|
306
306
|
"model-value": X(t.id, _.toString()),
|
|
307
307
|
placeholder: f,
|
|
308
|
-
"onUpdate:modelValue": (P) =>
|
|
308
|
+
"onUpdate:modelValue": (P) => A(t.id, _.toString(), P)
|
|
309
309
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])
|
|
310
310
|
]))), 128))
|
|
311
311
|
])
|
|
@@ -329,13 +329,13 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
329
329
|
}
|
|
330
330
|
},
|
|
331
331
|
emits: ["onSave"],
|
|
332
|
-
setup(
|
|
333
|
-
const u =
|
|
332
|
+
setup(L, { expose: g, emit: J }) {
|
|
333
|
+
const u = L;
|
|
334
334
|
g({
|
|
335
|
-
showModal:
|
|
335
|
+
showModal: G,
|
|
336
336
|
hideModal: E
|
|
337
337
|
});
|
|
338
|
-
function
|
|
338
|
+
function N() {
|
|
339
339
|
return {
|
|
340
340
|
_id: "",
|
|
341
341
|
name: "",
|
|
@@ -343,14 +343,14 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
343
343
|
steps: []
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
|
-
const
|
|
347
|
-
function
|
|
348
|
-
C.value = e ? ee(e) :
|
|
346
|
+
const D = w(!1), C = w(void 0);
|
|
347
|
+
function G(e) {
|
|
348
|
+
C.value = e ? ee(e) : N(), d.value = ee(C.value), D.value = !0;
|
|
349
349
|
}
|
|
350
350
|
function E() {
|
|
351
|
-
|
|
351
|
+
D.value = !1;
|
|
352
352
|
}
|
|
353
|
-
const d = w(
|
|
353
|
+
const d = w(N()), $ = w();
|
|
354
354
|
function m() {
|
|
355
355
|
var e;
|
|
356
356
|
(e = $.value) == null || e.show();
|
|
@@ -362,7 +362,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
362
362
|
function X(e) {
|
|
363
363
|
d.value.steps.splice(e, 1);
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function A(e) {
|
|
366
366
|
if (!e.id)
|
|
367
367
|
d.value.steps.push({ ...e, id: (/* @__PURE__ */ new Date()).toISOString() });
|
|
368
368
|
else {
|
|
@@ -370,7 +370,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
370
370
|
o >= 0 && d.value.steps.splice(o, 1, e);
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function U(e) {
|
|
374
374
|
d.value = {
|
|
375
375
|
...d.value,
|
|
376
376
|
bindings: e
|
|
@@ -405,7 +405,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
405
405
|
},
|
|
406
406
|
[]
|
|
407
407
|
);
|
|
408
|
-
|
|
408
|
+
U(b);
|
|
409
409
|
}
|
|
410
410
|
const s = w();
|
|
411
411
|
function K(e) {
|
|
@@ -421,7 +421,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
421
421
|
...c,
|
|
422
422
|
overrides: c.productId === e && c.combinationKey == o ? b : c.overrides
|
|
423
423
|
}));
|
|
424
|
-
|
|
424
|
+
U(r);
|
|
425
425
|
}
|
|
426
426
|
function v(e) {
|
|
427
427
|
const o = d.value.bindings.findIndex(
|
|
@@ -434,7 +434,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
434
434
|
const b = e[o.productId] ?? [];
|
|
435
435
|
return o.combinationKey ? e[o.productId] = [...b, o.combinationKey] : e[o.productId] = [], e;
|
|
436
436
|
}, {})
|
|
437
|
-
), q = w(""),
|
|
437
|
+
), q = w(""), z = V(() => u.categorizedItems.reduce((e, o) => {
|
|
438
438
|
var b, r;
|
|
439
439
|
for (const c of o.items)
|
|
440
440
|
(b = c.variant) != null && b.variantGroupIds.length && ((r = c.variant) == null ? void 0 : r.variantGroupIds.length) > 0 ? e = [
|
|
@@ -455,17 +455,17 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
455
455
|
itemName: c.name
|
|
456
456
|
});
|
|
457
457
|
return e;
|
|
458
|
-
}, [])),
|
|
458
|
+
}, [])), B = V(() => z.value.filter((e) => {
|
|
459
459
|
const o = W.value[e.itemId];
|
|
460
460
|
return !!o && (!e.combinationKey || o.includes(e.combinationKey));
|
|
461
461
|
})), O = V(() => {
|
|
462
462
|
const e = q.value.toLowerCase();
|
|
463
|
-
return e ?
|
|
463
|
+
return e ? B.value.filter(
|
|
464
464
|
(o) => {
|
|
465
465
|
var b;
|
|
466
466
|
return ((b = o.itemCode) == null ? void 0 : b.toLowerCase().includes(e)) || o.itemName.toLowerCase().includes(e) || o.categoryName.toLowerCase().includes(e);
|
|
467
467
|
}
|
|
468
|
-
) :
|
|
468
|
+
) : B.value;
|
|
469
469
|
}), de = V(() => O.value.reduce(
|
|
470
470
|
(e, o) => {
|
|
471
471
|
const b = e.findIndex((r) => r.id === o.categoryId);
|
|
@@ -484,7 +484,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
484
484
|
const _e = pe(
|
|
485
485
|
() => !me.isEqual(C.value, d.value),
|
|
486
486
|
() => {
|
|
487
|
-
|
|
487
|
+
D.value = !1;
|
|
488
488
|
}
|
|
489
489
|
);
|
|
490
490
|
function ve() {
|
|
@@ -492,10 +492,10 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
492
492
|
}
|
|
493
493
|
return (e, o) => {
|
|
494
494
|
const b = x("FmTextField"), r = x("FmButton"), c = x("FmCardSection"), Q = x("FmCard"), te = x("FmSpacer"), ne = x("FmSearch"), ie = x("FmSideSheet");
|
|
495
|
-
return k(), I(
|
|
495
|
+
return k(), I(M, null, [
|
|
496
496
|
l(ie, {
|
|
497
|
-
modelValue:
|
|
498
|
-
"onUpdate:modelValue": o[4] || (o[4] = (y) =>
|
|
497
|
+
modelValue: D.value,
|
|
498
|
+
"onUpdate:modelValue": o[4] || (o[4] = (y) => D.value = y),
|
|
499
499
|
header: f.value,
|
|
500
500
|
"max-width": 560,
|
|
501
501
|
"is-container": i(ue).FmForm,
|
|
@@ -600,14 +600,14 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
600
600
|
]),
|
|
601
601
|
_: 1
|
|
602
602
|
}, 8, ["title"]),
|
|
603
|
-
|
|
603
|
+
L.canApplyItems ? (k(), Y(Z, {
|
|
604
604
|
key: 0,
|
|
605
605
|
title: i(t)("menu.cooking_guide.dialog.sections.apply_product.title")
|
|
606
606
|
}, {
|
|
607
607
|
"append-title": p(() => [
|
|
608
608
|
l(te),
|
|
609
609
|
l(Ve, {
|
|
610
|
-
"categorized-items":
|
|
610
|
+
"categorized-items": L.categorizedItems,
|
|
611
611
|
"initial-value": d.value.bindings.map((y) => ({
|
|
612
612
|
_id: y.productId,
|
|
613
613
|
combinationKey: y.combinationKey
|
|
@@ -643,11 +643,11 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
643
643
|
}, null, 8, ["modelValue", "placeholder"])
|
|
644
644
|
])
|
|
645
645
|
]),
|
|
646
|
-
(k(!0), I(
|
|
646
|
+
(k(!0), I(M, null, H(de.value, (y) => (k(), I("div", {
|
|
647
647
|
key: y.id || ""
|
|
648
648
|
}, [
|
|
649
649
|
a("div", no, S(y.name), 1),
|
|
650
|
-
(k(!0), I(
|
|
650
|
+
(k(!0), I(M, null, H(y.items, (j) => (k(), I("div", {
|
|
651
651
|
key: j.itemId,
|
|
652
652
|
class: "flex items-center"
|
|
653
653
|
}, [
|
|
@@ -675,10 +675,10 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
675
675
|
]),
|
|
676
676
|
_: 1
|
|
677
677
|
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]),
|
|
678
|
-
l(
|
|
678
|
+
l(Be, {
|
|
679
679
|
ref_key: "cookingGuideStepDialogRef",
|
|
680
680
|
ref: $,
|
|
681
|
-
onOnComplete:
|
|
681
|
+
onOnComplete: A
|
|
682
682
|
}, null, 512),
|
|
683
683
|
l(Je, {
|
|
684
684
|
ref_key: "cookingGuideStepOverrideDialogRef",
|
|
@@ -689,25 +689,25 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
689
689
|
};
|
|
690
690
|
}
|
|
691
691
|
});
|
|
692
|
-
function ro(
|
|
692
|
+
function ro(L) {
|
|
693
693
|
return {
|
|
694
694
|
module: oe.F_MENU_MODULE_V4_KEY.enum.cookingGuide,
|
|
695
695
|
operation: re.F_OPERATION_TYPE.create,
|
|
696
|
-
data: oe.FdoMenuCookingGuide.parse(
|
|
696
|
+
data: oe.FdoMenuCookingGuide.parse(L)
|
|
697
697
|
};
|
|
698
698
|
}
|
|
699
|
-
function co(
|
|
699
|
+
function co(L) {
|
|
700
700
|
return {
|
|
701
701
|
module: oe.F_MENU_MODULE_V4_KEY.enum.cookingGuide,
|
|
702
702
|
operation: re.F_OPERATION_TYPE.update,
|
|
703
|
-
data: oe.FdoMenuCookingGuide.parse(
|
|
703
|
+
data: oe.FdoMenuCookingGuide.parse(L)
|
|
704
704
|
};
|
|
705
705
|
}
|
|
706
|
-
function mo(
|
|
706
|
+
function mo(L) {
|
|
707
707
|
return {
|
|
708
708
|
module: oe.F_MENU_MODULE_V4_KEY.enum.cookingGuide,
|
|
709
709
|
operation: re.F_OPERATION_TYPE.delete,
|
|
710
|
-
data:
|
|
710
|
+
data: L._id
|
|
711
711
|
};
|
|
712
712
|
}
|
|
713
713
|
const po = {
|
|
@@ -724,7 +724,7 @@ const po = {
|
|
|
724
724
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
725
725
|
}, Eo = /* @__PURE__ */ ae({
|
|
726
726
|
__name: "CookingGuide",
|
|
727
|
-
setup(
|
|
727
|
+
setup(L) {
|
|
728
728
|
const {
|
|
729
729
|
t: g
|
|
730
730
|
} = se(), J = V(() => [{
|
|
@@ -761,39 +761,39 @@ const po = {
|
|
|
761
761
|
headerContentClass: "-mx-16"
|
|
762
762
|
},
|
|
763
763
|
enableSorting: !1,
|
|
764
|
-
cell: (n) =>
|
|
764
|
+
cell: (n) => R("div", {
|
|
765
765
|
class: "flex justify-end"
|
|
766
|
-
}, [
|
|
766
|
+
}, [R(ue.FmButton, {
|
|
767
767
|
icon: "delete",
|
|
768
768
|
textColor: "neutral-gray-400",
|
|
769
769
|
variant: "tertiary",
|
|
770
770
|
onClick: le(() => {
|
|
771
|
-
|
|
771
|
+
A(n.row.original);
|
|
772
772
|
}, ["stop", "prevent"])
|
|
773
773
|
})])
|
|
774
|
-
}]), u = xe(),
|
|
774
|
+
}]), u = xe(), N = V(() => E.checkMenuIsLoading()), D = V(() => u.categorizedItems), C = V(() => u.state.menu.modules.cookingGuide), G = V(() => C.value.length > 0), E = Ce(we(be())), d = w();
|
|
775
775
|
function $() {
|
|
776
776
|
var n;
|
|
777
|
-
|
|
777
|
+
N.value || (n = d.value) == null || n.showModal();
|
|
778
778
|
}
|
|
779
779
|
function m(n) {
|
|
780
780
|
var s;
|
|
781
|
-
|
|
781
|
+
N.value || (s = d.value) == null || s.showModal(n);
|
|
782
782
|
}
|
|
783
783
|
async function F(n) {
|
|
784
784
|
const s = n._id ? co(n) : ro(n);
|
|
785
785
|
await E.updateMenu(s, n.name);
|
|
786
786
|
}
|
|
787
787
|
const X = ye();
|
|
788
|
-
async function
|
|
789
|
-
let s = [
|
|
788
|
+
async function A(n) {
|
|
789
|
+
let s = [R("span", g("menu.cooking_guide.dialogs.remove.message.prefix")), R("span", {
|
|
790
790
|
class: "fm-typo-en-body-lg-600"
|
|
791
|
-
}, n.name),
|
|
792
|
-
n.bindings.length && (s = [
|
|
791
|
+
}, n.name), R("span", "?")];
|
|
792
|
+
n.bindings.length && (s = [R("span", g("menu.cooking_guide.dialogs.remove.message.products_using")), R("span", {
|
|
793
793
|
class: "fm-typo-en-body-lg-600"
|
|
794
|
-
}, n.bindings.length),
|
|
794
|
+
}, n.bindings.length), R("span", g("menu.cooking_guide.dialogs.remove.message.products_count")), ...s]), X.open({
|
|
795
795
|
title: g("menu.cooking_guide.dialogs.remove.title"),
|
|
796
|
-
contentComponent:
|
|
796
|
+
contentComponent: R("div", s),
|
|
797
797
|
primaryActions: {
|
|
798
798
|
text: g("menu.cooking_guide.actions.remove"),
|
|
799
799
|
close: !0,
|
|
@@ -807,8 +807,8 @@ const po = {
|
|
|
807
807
|
await E.updateMenu(mo(n), n.name, !0);
|
|
808
808
|
});
|
|
809
809
|
}
|
|
810
|
-
const
|
|
811
|
-
const n =
|
|
810
|
+
const U = w(""), h = V(() => {
|
|
811
|
+
const n = U.value.toLowerCase();
|
|
812
812
|
return n ? C.value.filter((s) => s.name.toLowerCase().includes(n)) : C.value;
|
|
813
813
|
});
|
|
814
814
|
return (n, s) => {
|
|
@@ -816,19 +816,19 @@ const po = {
|
|
|
816
816
|
return k(), Y(Ie, {
|
|
817
817
|
heading: i(g)("menu.cooking_guide.title")
|
|
818
818
|
}, {
|
|
819
|
-
"append-heading": p(() => [a("div", po, [
|
|
819
|
+
"append-heading": p(() => [a("div", po, [G.value ? (k(), Y(ke, {
|
|
820
820
|
key: 0,
|
|
821
|
-
disabled:
|
|
821
|
+
disabled: N.value,
|
|
822
822
|
icon: "add",
|
|
823
823
|
label: i(g)("menu.cooking_guide.actions.add"),
|
|
824
824
|
variant: "primary",
|
|
825
825
|
onClick: s[0] || (s[0] = () => $())
|
|
826
826
|
}, null, 8, ["disabled", "label"])) : ce("", !0)])]),
|
|
827
|
-
default: p(() => [
|
|
827
|
+
default: p(() => [G.value ? (k(), I(M, {
|
|
828
828
|
key: 1
|
|
829
829
|
}, [a("div", go, [l(K, {
|
|
830
|
-
modelValue:
|
|
831
|
-
"onUpdate:modelValue": s[1] || (s[1] = (_) =>
|
|
830
|
+
modelValue: U.value,
|
|
831
|
+
"onUpdate:modelValue": s[1] || (s[1] = (_) => U.value = _),
|
|
832
832
|
autofocus: "",
|
|
833
833
|
class: "my-8 w-[320px] xs:w-full xs:px-16",
|
|
834
834
|
placeholder: i(g)("menu.cooking_guide.table.search.placeholder")
|
|
@@ -837,10 +837,10 @@ const po = {
|
|
|
837
837
|
}, {
|
|
838
838
|
default: p(() => [l(T, {
|
|
839
839
|
"column-defs": J.value,
|
|
840
|
-
loading:
|
|
840
|
+
loading: N.value,
|
|
841
841
|
"page-size": C.value.length,
|
|
842
842
|
"row-data": C.value,
|
|
843
|
-
"search-value":
|
|
843
|
+
"search-value": U.value,
|
|
844
844
|
shrinkAt: !1,
|
|
845
845
|
"hide-footer": "",
|
|
846
846
|
"pin-header-row": "",
|
|
@@ -851,7 +851,7 @@ const po = {
|
|
|
851
851
|
class: "w-full px-16 xs:block hidden flex-1 min-h-0 overflow-scroll pb-64",
|
|
852
852
|
separator: ""
|
|
853
853
|
}, {
|
|
854
|
-
default: p(() => [(k(!0), I(
|
|
854
|
+
default: p(() => [(k(!0), I(M, null, H(h.value, (_) => (k(), Y(t, {
|
|
855
855
|
key: _._id,
|
|
856
856
|
label: _.name,
|
|
857
857
|
style: {
|
|
@@ -864,11 +864,11 @@ const po = {
|
|
|
864
864
|
})), 1), a("div", bo, S(i(g)("menu.cooking_guide.table.columns.steps", {
|
|
865
865
|
count: _.steps.length
|
|
866
866
|
})), 1)])]), l(v, {
|
|
867
|
-
disabled:
|
|
867
|
+
disabled: N.value,
|
|
868
868
|
icon: "delete",
|
|
869
869
|
variant: "tertiary",
|
|
870
870
|
"text-color": "neutral-gray-400",
|
|
871
|
-
onClick: le(() =>
|
|
871
|
+
onClick: le(() => A(_), ["stop"])
|
|
872
872
|
}, null, 8, ["disabled", "onClick"])]),
|
|
873
873
|
_: 2
|
|
874
874
|
}, 1032, ["label", "onClick"]))), 128))]),
|
|
@@ -884,7 +884,7 @@ const po = {
|
|
|
884
884
|
}, null, 8, ["action", "subtitle", "title"])), l(uo, {
|
|
885
885
|
ref_key: "cookingGuideDialogRef",
|
|
886
886
|
ref: d,
|
|
887
|
-
"categorized-items":
|
|
887
|
+
"categorized-items": D.value,
|
|
888
888
|
onOnSave: F
|
|
889
889
|
}, null, 8, ["categorized-items"])]),
|
|
890
890
|
_: 1
|
|
@@ -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 "./menu-
|
|
4
|
+
import { u as D } from "./menu-Dlsf52hs.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 { A as b } from "./item-
|
|
7
|
-
import { a as h } from "./menu-
|
|
5
|
+
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-CWIHfDqh.js";
|
|
6
|
+
import { A as b } from "./item-BsvsZcce.js";
|
|
7
|
+
import { a as h } from "./menu-zMO5M1Ur.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" }, j = /* @__PURE__ */ m({
|
|
9
9
|
__name: "Group",
|
|
10
10
|
setup(N) {
|