@feedmepos/mf-menu 0.32.7-dev → 0.32.8-dev
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-DCkQc7e4.js → App-B5S9byVJ.js} +5456 -4621
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-uzmq3vwy.js → ApplyProduct.vue_vue_type_script_setup_true_lang-bSXFWpq_.js} +3 -3
- package/dist/{Catalog-CUPoRid3.js → Catalog-CTfF5FmI.js} +52 -52
- package/dist/{Category-BkvhZ57Y.js → Category-BntCVeoT.js} +57 -57
- package/dist/{Category-Cdw0ikhP.js → Category-Z3bphlCX.js} +26 -26
- package/dist/{CookingGuide-BZ-4oULM.js → CookingGuide-CoPo2Alx.js} +127 -127
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CJvVFWdR.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DJ3sb3XV.js} +1 -1
- package/dist/{Group-Cec83DWm.js → Group-B7rZfFlT.js} +3 -3
- package/dist/{Group-C1FaXdUb.js → Group-CblWJOl1.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-2_lLBdX2.js → Group.vue_vue_type_script_setup_true_lang-wX7yqw0Z.js} +33 -33
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BEDyKWhK.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DW1gBCBA.js} +27 -27
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BteTvMnx.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CcQBD0I8.js} +7 -7
- package/dist/{Ingredient-DulL8h2B.js → Ingredient-Bn-jeNeI.js} +46 -46
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DoBx7Dal.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DbGNFA3D.js} +2 -2
- package/dist/{LinkProductSideSheet-Br2eE8pC.js → LinkProductSideSheet-BjcQDT4U.js} +61 -61
- package/dist/{MenuSetting-DxW4LCW4.js → MenuSetting-BT5YSMgK.js} +14 -14
- package/dist/{PrintRoute-Da6Zkx-0.js → PrintRoute-B0j0eqNM.js} +34 -34
- package/dist/{Product-Cs76t18_.js → Product-BOMprFhc.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-C6SOu4Vv.js → Product.vue_vue_type_script_setup_true_lang-q9xFzQ0v.js} +142 -142
- package/dist/{ProductInternalTools-DPbeRvTM.js → ProductInternalTools-O5d2jMAH.js} +39 -39
- package/dist/{Products--7dGfuuT.js → Products-BnMrK40x.js} +15 -15
- package/dist/{Publish-COmZtiyX.js → Publish-dTP5mQS3.js} +26 -26
- package/dist/{Recipe-BaN_1zrP.js → Recipe-DnftcZPO.js} +26 -26
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DputprQj.js → RuleView.vue_vue_type_script_setup_true_lang-DSfiVSBV.js} +2 -2
- package/dist/{Scheduler-BSUpIAaK.js → Scheduler-DRLaQK_V.js} +22 -22
- package/dist/{ServingSequence-dXBb7e5d.js → ServingSequence-CPIyJ7T8.js} +39 -39
- package/dist/{Setting-CalEQW0n.js → Setting-CLtISC4c.js} +22 -22
- package/dist/{Subcategory-zPHtX7Vc.js → Subcategory-b0bXCYYY.js} +32 -32
- package/dist/{Takeaway-CRDj2Bpe.js → Takeaway-CCIKDCoF.js} +12 -12
- package/dist/{Takeaway-CcnmeTmu.js → Takeaway-h9uUxFJd.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Cj7vyOaP.js → Takeaway.vue_vue_type_script_setup_true_lang-BOG_W-2a.js} +26 -26
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-B0552qsN.js → Thumbnail.vue_vue_type_script_setup_true_lang-D4KcX3XQ.js} +26 -26
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B3EByLES.js +6016 -0
- package/dist/{Unit-C7-Oj5S3.js → Unit-B0kiwrN6.js} +13 -13
- package/dist/{Variant-CYiMkE0q.js → Variant-CJSk0kTW.js} +18 -18
- package/dist/{_id_-D75ZcNlf.js → _id_-108G3lsv.js} +22 -22
- package/dist/{app-DzVMOviz.js → app-BTn28hDr.js} +1 -1
- package/dist/{app-BhLVpUSl.js → app-CPJH5bgs.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/stores/menu.d.ts +4 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BoIPm5hC.js → linked-status-Bp5piT25.js} +2 -2
- package/dist/assets/{override-menu-DfTrwWpR.js → override-menu-D47qVZAi.js} +2 -2
- package/dist/assets/{validate-menu-BhWvQ3T9.js → validate-menu-YuXYm9iE.js} +2 -2
- package/dist/{catalog-CudNSsIP.js → catalog-CpFTifAS.js} +1 -1
- package/dist/{catalogSetting-BVHO9tK3.js → catalogSetting-DjGqI2Vf.js} +1 -1
- package/dist/{category-BQpgz1lk.js → category-DaRWiQd8.js} +5 -5
- package/dist/{currency-BfS7H2KE.js → currency-DbURufyM.js} +1 -1
- package/dist/{index-aaoziUNI.js → index-C6AkIinM.js} +1 -1
- package/dist/{index-DmGJvREM.js → index-D67GKEzf.js} +1 -1
- package/dist/{index-DuLXS699.js → index-kjRAsH_h.js} +38 -38
- package/dist/{index-BHdPJta4.js → index-pJtym1c6.js} +21 -21
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dje9kp-F.js → index.vue_vue_type_script_setup_true_lang-BvohjQ00.js} +438 -428
- package/dist/item-2WoPAnNJ.js +6838 -0
- package/dist/{iteration-CaliNodx.js → iteration-BGItxpWj.js} +1 -1
- package/dist/{jszip.min-DXbkmgRD.js → jszip.min-D8NeBCPG.js} +2 -2
- package/dist/{menu-D-lUEuvX.js → menu-DVdMR0zo.js} +1 -1
- package/dist/{menuV2-D-6O36DO.js → menuV2-CcBdUc80.js} +41 -41
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-DKnYaOA9.js → priceTier-CTfRyTuS.js} +1 -1
- package/dist/{scheduler-DEwfbYPL.js → scheduler-DOMDX4d7.js} +20 -20
- package/dist/{subcategory-CQKklgcd.js → subcategory-NsslZ1my.js} +6 -6
- package/dist/{toExcel-CRwL-QqF.js → toExcel-Bdne-Dw_.js} +2 -2
- package/dist/{unit-BzM1rmN7.js → unit-DKyvdauo.js} +29 -29
- package/package.json +1 -1
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BwnyIDNH.js +0 -6038
- package/dist/item-BtKW0wdj.js +0 -7685
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { defineComponent as le, ref as w, computed as V, resolveComponent as x, createBlock as Y, openBlock as k, unref as i, withCtx as p, createElementVNode as l, createVNode as a, createElementBlock as I, toDisplayString as S, Fragment as
|
|
1
|
+
import { defineComponent as le, ref as w, computed as V, resolveComponent as x, createBlock as Y, openBlock as k, unref as i, withCtx as p, createElementVNode as l, createVNode as a, createElementBlock as I, 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 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 {
|
|
5
|
+
import { _ as he } from "./app-CPJH5bgs.js";
|
|
6
|
+
import { I as ee, J as me, K as re, A as oe, u as xe, P as Ce, G as we, a3 as Fe } from "./index.vue_vue_type_script_setup_true_lang-BvohjQ00.js";
|
|
7
7
|
import { d as Ve } 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-DSfiVSBV.js";
|
|
9
9
|
import { u as pe } from "./discardConfirm-BHni0LNu.js";
|
|
10
|
-
import { L as Se } from "./LinkProductSideSheet-
|
|
10
|
+
import { L as Se } from "./LinkProductSideSheet-BjcQDT4U.js";
|
|
11
11
|
import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
12
|
-
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" },
|
|
12
|
+
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" }, Le = { class: "px-16 py-8 w-[40%]" }, Ne = { class: "px-16 py-8 grow" }, De = { class: "px-16 py-8 w-[40%]" }, Ge = { class: "px-16 py-8 grow" }, Ue = { class: "space-y-16" }, Te = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Be = { class: "flex gap-8 items-center justify-start" }, Me = /* @__PURE__ */ le({
|
|
13
13
|
__name: "CookingGuideStepDialog",
|
|
14
14
|
emits: ["onComplete"],
|
|
15
|
-
setup(
|
|
15
|
+
setup(N, { expose: g, emit: X }) {
|
|
16
16
|
const { t: u } = se();
|
|
17
17
|
g({
|
|
18
18
|
show: d,
|
|
19
19
|
hide: $
|
|
20
20
|
});
|
|
21
|
-
const
|
|
22
|
-
function
|
|
21
|
+
const D = X;
|
|
22
|
+
function L() {
|
|
23
23
|
return {
|
|
24
24
|
id: "",
|
|
25
25
|
variables: {},
|
|
26
26
|
instruction: ""
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
const C = w(!1),
|
|
29
|
+
const C = w(!1), U = w(!1), E = w(void 0);
|
|
30
30
|
function d(v) {
|
|
31
|
-
|
|
31
|
+
U.value = !!v, E.value = v ? ee(v) : L(), m.value = ee(E.value), F.value = Object.entries(m.value.variables).map(
|
|
32
32
|
([t, f]) => ({ key: t, value: f })
|
|
33
33
|
), C.value = !0;
|
|
34
34
|
}
|
|
35
35
|
function $() {
|
|
36
36
|
C.value = !1;
|
|
37
37
|
}
|
|
38
|
-
const m = w(
|
|
39
|
-
function
|
|
38
|
+
const m = w(L()), F = w([]);
|
|
39
|
+
function H() {
|
|
40
40
|
F.value.push({ key: "", value: "" });
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function R(v) {
|
|
43
43
|
F.value.splice(v, 1);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function G(v) {
|
|
46
46
|
const t = document.activeElement;
|
|
47
47
|
if (t && t.tagName === "TEXTAREA") {
|
|
48
48
|
const f = t.selectionStart, _ = t.selectionEnd, P = m.value.instruction, W = P.substring(0, f) + `{{${v}}}` + P.substring(_);
|
|
@@ -65,7 +65,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
65
65
|
label: t
|
|
66
66
|
}), v),
|
|
67
67
|
[]
|
|
68
|
-
)), n = V(() =>
|
|
68
|
+
)), n = V(() => U.value ? u("menu.cooking_guide.step_dialog.update.title") : u("menu.cooking_guide.step_dialog.add.title")), s = V(() => U.value ? u("menu.cooking_guide.step_dialog.update.action") : u("menu.cooking_guide.step_dialog.add.action"));
|
|
69
69
|
w();
|
|
70
70
|
const K = pe(
|
|
71
71
|
() => !me.isEqual(
|
|
@@ -80,7 +80,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
80
80
|
}
|
|
81
81
|
);
|
|
82
82
|
function T() {
|
|
83
|
-
$(),
|
|
83
|
+
$(), D("onComplete", {
|
|
84
84
|
...m.value,
|
|
85
85
|
variables: F.value.reduce((v, { key: t, value: f }) => ({ ...v, [t]: f }), {})
|
|
86
86
|
});
|
|
@@ -89,7 +89,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
89
89
|
const f = x("FmButton"), _ = x("FmTextField"), P = x("FmChip"), W = x("FmTextarea"), q = x("FmSideSheet");
|
|
90
90
|
return k(), Y(q, {
|
|
91
91
|
modelValue: C.value,
|
|
92
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
92
|
+
"onUpdate:modelValue": t[1] || (t[1] = (B) => C.value = B),
|
|
93
93
|
closeButton: !1,
|
|
94
94
|
header: n.value,
|
|
95
95
|
"max-width": 560,
|
|
@@ -113,7 +113,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
113
113
|
])
|
|
114
114
|
]),
|
|
115
115
|
"side-sheet-footer": p(() => [
|
|
116
|
-
l("div",
|
|
116
|
+
l("div", Be, [
|
|
117
117
|
a(f, {
|
|
118
118
|
label: s.value,
|
|
119
119
|
size: "lg",
|
|
@@ -140,35 +140,35 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
140
140
|
variant: "secondary",
|
|
141
141
|
"text-color": "primary",
|
|
142
142
|
"border-color": "primary",
|
|
143
|
-
onClick:
|
|
143
|
+
onClick: H
|
|
144
144
|
}, null, 8, ["label"])
|
|
145
145
|
]),
|
|
146
146
|
default: p(() => [
|
|
147
147
|
l("div", null, [
|
|
148
148
|
l("div", Ke, [
|
|
149
|
-
l("div",
|
|
150
|
-
l("div",
|
|
149
|
+
l("div", Le, S(i(u)("menu.cooking_guide.step_dialog.sections.variables.columns.key")), 1),
|
|
150
|
+
l("div", Ne, S(i(u)("menu.cooking_guide.step_dialog.sections.variables.columns.value")), 1)
|
|
151
151
|
]),
|
|
152
|
-
(k(!0), I(
|
|
153
|
-
key:
|
|
152
|
+
(k(!0), I(z, null, J(F.value, (B, M) => (k(), I("div", {
|
|
153
|
+
key: M,
|
|
154
154
|
class: "flex items-center border-b border-b-fm-color-neutral-gray-100"
|
|
155
155
|
}, [
|
|
156
|
-
l("div",
|
|
156
|
+
l("div", De, [
|
|
157
157
|
a(_, {
|
|
158
|
-
modelValue: F.value[
|
|
159
|
-
"onUpdate:modelValue": (O) => F.value[
|
|
158
|
+
modelValue: F.value[M].key,
|
|
159
|
+
"onUpdate:modelValue": (O) => F.value[M].key = O,
|
|
160
160
|
rules: [
|
|
161
161
|
(O) => !!O || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.required"),
|
|
162
162
|
(O) => !O || /^[a-z]+$/.test(O) || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.lowercase"),
|
|
163
|
-
(O) => !O || F.value.findIndex((de) => de.key === O) ===
|
|
163
|
+
(O) => !O || F.value.findIndex((de) => de.key === O) === M || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.duplicate")
|
|
164
164
|
],
|
|
165
165
|
placeholder: i(u)("menu.cooking_guide.step_dialog.sections.variables.placeholders.key")
|
|
166
166
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rules", "placeholder"])
|
|
167
167
|
]),
|
|
168
|
-
l("div",
|
|
168
|
+
l("div", Ge, [
|
|
169
169
|
a(_, {
|
|
170
|
-
modelValue: F.value[
|
|
171
|
-
"onUpdate:modelValue": (O) => F.value[
|
|
170
|
+
modelValue: F.value[M].value,
|
|
171
|
+
"onUpdate:modelValue": (O) => F.value[M].value = O,
|
|
172
172
|
rules: [
|
|
173
173
|
(O) => !!O || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.required")
|
|
174
174
|
],
|
|
@@ -179,7 +179,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
179
179
|
icon: "delete",
|
|
180
180
|
variant: "tertiary",
|
|
181
181
|
"text-color": "neutral-gray-400",
|
|
182
|
-
onClick: () =>
|
|
182
|
+
onClick: () => R(M)
|
|
183
183
|
}, null, 8, ["onClick"])
|
|
184
184
|
]))), 128))
|
|
185
185
|
])
|
|
@@ -190,18 +190,18 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
190
190
|
title: i(u)("menu.cooking_guide.step_dialog.sections.instruction.title")
|
|
191
191
|
}, {
|
|
192
192
|
default: p(() => [
|
|
193
|
-
l("div",
|
|
193
|
+
l("div", Ue, [
|
|
194
194
|
l("div", Te, [
|
|
195
|
-
(k(!0), I(
|
|
196
|
-
key:
|
|
197
|
-
label:
|
|
195
|
+
(k(!0), I(z, null, J(h.value, (B) => (k(), Y(P, {
|
|
196
|
+
key: B.label,
|
|
197
|
+
label: B.label,
|
|
198
198
|
class: "text-fm-color-primary bg-fm-color-system-warning-100",
|
|
199
|
-
onMousedown: ae(() =>
|
|
199
|
+
onMousedown: ae(() => G(B.label), ["prevent"])
|
|
200
200
|
}, null, 8, ["label", "onMousedown"]))), 128))
|
|
201
201
|
]),
|
|
202
202
|
a(W, {
|
|
203
203
|
modelValue: m.value.instruction,
|
|
204
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
204
|
+
"onUpdate:modelValue": t[0] || (t[0] = (B) => m.value.instruction = B),
|
|
205
205
|
ref: "textareaRef"
|
|
206
206
|
}, null, 8, ["modelValue"])
|
|
207
207
|
])
|
|
@@ -214,43 +214,43 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
214
214
|
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
}),
|
|
217
|
+
}), ze = { class: "w-[700px]" }, Ae = { class: "flex bg-fm-color-neutral-gray-100" }, Re = { 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" }, 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(N, { expose: g, emit: X }) {
|
|
221
221
|
const { t: u } = se();
|
|
222
222
|
g({
|
|
223
223
|
show: d,
|
|
224
224
|
hide: $
|
|
225
225
|
});
|
|
226
|
-
const
|
|
227
|
-
function
|
|
226
|
+
const D = X;
|
|
227
|
+
function L() {
|
|
228
228
|
return {
|
|
229
229
|
productId: "",
|
|
230
230
|
overrides: []
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
|
-
const C = w(!1),
|
|
233
|
+
const C = w(!1), U = w(""), E = w([]);
|
|
234
234
|
function d(h) {
|
|
235
|
-
|
|
235
|
+
U.value = h.itemName, E.value = h.steps, m.value = h.bindings ? ee(h.bindings) : L(), C.value = !0;
|
|
236
236
|
}
|
|
237
237
|
function $() {
|
|
238
238
|
C.value = !1;
|
|
239
239
|
}
|
|
240
|
-
const m = w(
|
|
241
|
-
function
|
|
240
|
+
const m = w(L()), F = V(() => m.value.overrides.reduce((h, n) => (h[n.id] = n, h), {}));
|
|
241
|
+
function H(h, n) {
|
|
242
242
|
var s;
|
|
243
243
|
return ((s = F.value[h]) == null ? void 0 : s.variables[n]) ?? "";
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function R(h, n, s) {
|
|
246
246
|
const K = m.value.overrides.findIndex((T) => T.id === h);
|
|
247
247
|
s ? K < 0 ? m.value.overrides.push({
|
|
248
248
|
id: h,
|
|
249
249
|
variables: { [n]: s }
|
|
250
250
|
}) : 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));
|
|
251
251
|
}
|
|
252
|
-
function
|
|
253
|
-
$(),
|
|
252
|
+
function G() {
|
|
253
|
+
$(), D("onComplete", m.value);
|
|
254
254
|
}
|
|
255
255
|
return (h, n) => {
|
|
256
256
|
const s = x("FmTextField"), K = x("FmSpacer"), T = x("FmButton"), v = x("FmDialog");
|
|
@@ -278,33 +278,33 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
278
278
|
label: i(u)("menu.cooking_guide.step_override_dialog.actions.save"),
|
|
279
279
|
size: "md",
|
|
280
280
|
variant: "primary",
|
|
281
|
-
onClick:
|
|
281
|
+
onClick: G
|
|
282
282
|
}, null, 8, ["label"])
|
|
283
283
|
]),
|
|
284
284
|
default: p(() => [
|
|
285
|
-
l("div",
|
|
286
|
-
l("div",
|
|
287
|
-
l("div",
|
|
285
|
+
l("div", ze, [
|
|
286
|
+
l("div", Ae, [
|
|
287
|
+
l("div", Re, S(i(u)("menu.cooking_guide.step_override_dialog.columns.instructions")), 1),
|
|
288
288
|
l("div", Pe, S(i(u)("menu.cooking_guide.step_override_dialog.columns.variables")), 1),
|
|
289
289
|
l("div", qe, S(i(u)("menu.cooking_guide.step_override_dialog.columns.value")), 1)
|
|
290
290
|
]),
|
|
291
|
-
(k(!0), I(
|
|
291
|
+
(k(!0), I(z, null, J(E.value, (t) => (k(), I("div", {
|
|
292
292
|
key: t.id,
|
|
293
293
|
class: "flex border-t-2"
|
|
294
294
|
}, [
|
|
295
295
|
l("div", je, S(t.instruction), 1),
|
|
296
296
|
l("div", Ye, [
|
|
297
|
-
(k(!0), I(
|
|
297
|
+
(k(!0), I(z, null, J(t.variables, (f, _) => (k(), I("div", {
|
|
298
298
|
key: _,
|
|
299
299
|
class: "py-8 w-full text-ellipsis overflow-hidden whitespace-nowrap"
|
|
300
300
|
}, S(_), 1))), 128))
|
|
301
301
|
]),
|
|
302
|
-
l("div",
|
|
303
|
-
(k(!0), I(
|
|
302
|
+
l("div", Je, [
|
|
303
|
+
(k(!0), I(z, null, J(t.variables, (f, _) => (k(), I("div", { key: _ }, [
|
|
304
304
|
a(s, {
|
|
305
|
-
"model-value":
|
|
305
|
+
"model-value": H(t.id, _.toString()),
|
|
306
306
|
placeholder: f,
|
|
307
|
-
"onUpdate:modelValue": (P) =>
|
|
307
|
+
"onUpdate:modelValue": (P) => R(t.id, _.toString(), P)
|
|
308
308
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])
|
|
309
309
|
]))), 128))
|
|
310
310
|
])
|
|
@@ -315,7 +315,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
315
315
|
}, 8, ["modelValue"]);
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
}),
|
|
318
|
+
}), He = { class: "fm-typo-en-title-md-600" }, Qe = { class: "space-y-24" }, We = { class: "flex items-center" }, Ze = { class: "flex-1" }, eo = { class: "flex items-center gap-8" }, oo = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, to = { class: "flex-1" }, no = { class: "bg-fm-color-neutral-gray-100 px-16 py-8" }, io = { class: "px-16 py-8 flex-1 flex gap-4 overflow-auto min-w-0" }, ao = { class: "fm-typo-en-body-md-500" }, lo = { class: "px-16 py-8 flex gap-8" }, so = { class: "flex gap-8 items-center justify-start" }, uo = /* @__PURE__ */ le({
|
|
319
319
|
__name: "CookingGuideDialog",
|
|
320
320
|
props: {
|
|
321
321
|
categorizedItems: {
|
|
@@ -328,13 +328,13 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
328
328
|
}
|
|
329
329
|
},
|
|
330
330
|
emits: ["onSave"],
|
|
331
|
-
setup(
|
|
332
|
-
const u =
|
|
331
|
+
setup(N, { expose: g, emit: X }) {
|
|
332
|
+
const u = N;
|
|
333
333
|
g({
|
|
334
|
-
showModal:
|
|
334
|
+
showModal: U,
|
|
335
335
|
hideModal: E
|
|
336
336
|
});
|
|
337
|
-
function
|
|
337
|
+
function D() {
|
|
338
338
|
return {
|
|
339
339
|
_id: "",
|
|
340
340
|
name: "",
|
|
@@ -342,14 +342,14 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
342
342
|
steps: []
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
const
|
|
346
|
-
function
|
|
347
|
-
C.value = e ? ee(e) :
|
|
345
|
+
const L = w(!1), C = w(void 0);
|
|
346
|
+
function U(e) {
|
|
347
|
+
C.value = e ? ee(e) : D(), d.value = ee(C.value), L.value = !0;
|
|
348
348
|
}
|
|
349
349
|
function E() {
|
|
350
|
-
|
|
350
|
+
L.value = !1;
|
|
351
351
|
}
|
|
352
|
-
const d = w(
|
|
352
|
+
const d = w(D()), $ = w();
|
|
353
353
|
function m() {
|
|
354
354
|
var e;
|
|
355
355
|
(e = $.value) == null || e.show();
|
|
@@ -358,10 +358,10 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
358
358
|
var o;
|
|
359
359
|
(o = $.value) == null || o.show(e);
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function H(e) {
|
|
362
362
|
d.value.steps.splice(e, 1);
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function R(e) {
|
|
365
365
|
if (!e.id)
|
|
366
366
|
d.value.steps.push({ ...e, id: (/* @__PURE__ */ new Date()).toISOString() });
|
|
367
367
|
else {
|
|
@@ -369,7 +369,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
369
369
|
o >= 0 && d.value.steps.splice(o, 1, e);
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function G(e) {
|
|
373
373
|
d.value = {
|
|
374
374
|
...d.value,
|
|
375
375
|
bindings: e
|
|
@@ -404,7 +404,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
404
404
|
},
|
|
405
405
|
[]
|
|
406
406
|
);
|
|
407
|
-
|
|
407
|
+
G(b);
|
|
408
408
|
}
|
|
409
409
|
const s = w();
|
|
410
410
|
function K(e) {
|
|
@@ -420,7 +420,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
420
420
|
...c,
|
|
421
421
|
overrides: c.productId === e && c.combinationKey == o ? b : c.overrides
|
|
422
422
|
}));
|
|
423
|
-
|
|
423
|
+
G(r);
|
|
424
424
|
}
|
|
425
425
|
function v(e) {
|
|
426
426
|
const o = d.value.bindings.findIndex(
|
|
@@ -433,7 +433,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
433
433
|
const b = e[o.productId] ?? [];
|
|
434
434
|
return o.combinationKey ? e[o.productId] = [...b, o.combinationKey] : e[o.productId] = [], e;
|
|
435
435
|
}, {})
|
|
436
|
-
), q = w(""),
|
|
436
|
+
), q = w(""), B = V(() => u.categorizedItems.reduce((e, o) => {
|
|
437
437
|
var b, r;
|
|
438
438
|
for (const c of o.items)
|
|
439
439
|
(b = c.variant) != null && b.variantGroupIds.length && ((r = c.variant) == null ? void 0 : r.variantGroupIds.length) > 0 ? e = [
|
|
@@ -454,17 +454,17 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
454
454
|
itemName: c.name
|
|
455
455
|
});
|
|
456
456
|
return e;
|
|
457
|
-
}, [])),
|
|
457
|
+
}, [])), M = V(() => B.value.filter((e) => {
|
|
458
458
|
const o = W.value[e.itemId];
|
|
459
459
|
return !!o && (!e.combinationKey || o.includes(e.combinationKey));
|
|
460
460
|
})), O = V(() => {
|
|
461
461
|
const e = q.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
|
}), de = V(() => O.value.reduce(
|
|
469
469
|
(e, o) => {
|
|
470
470
|
const b = e.findIndex((r) => r.id === o.categoryId);
|
|
@@ -478,12 +478,12 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
478
478
|
}, e;
|
|
479
479
|
},
|
|
480
480
|
[]
|
|
481
|
-
)), ge =
|
|
481
|
+
)), ge = X;
|
|
482
482
|
w();
|
|
483
483
|
const _e = pe(
|
|
484
484
|
() => !me.isEqual(C.value, d.value),
|
|
485
485
|
() => {
|
|
486
|
-
|
|
486
|
+
L.value = !1;
|
|
487
487
|
}
|
|
488
488
|
);
|
|
489
489
|
function ve() {
|
|
@@ -491,10 +491,10 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
491
491
|
}
|
|
492
492
|
return (e, o) => {
|
|
493
493
|
const b = x("FmTextField"), r = x("FmButton"), c = x("FmCardSection"), Q = x("FmCard"), te = x("FmSpacer"), ne = x("FmSearch"), ie = x("FmSideSheet");
|
|
494
|
-
return k(), I(
|
|
494
|
+
return k(), I(z, null, [
|
|
495
495
|
a(ie, {
|
|
496
|
-
modelValue:
|
|
497
|
-
"onUpdate:modelValue": o[4] || (o[4] = (y) =>
|
|
496
|
+
modelValue: L.value,
|
|
497
|
+
"onUpdate:modelValue": o[4] || (o[4] = (y) => L.value = y),
|
|
498
498
|
header: f.value,
|
|
499
499
|
"max-width": 560,
|
|
500
500
|
"is-container": i(ue).FmForm,
|
|
@@ -506,7 +506,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
506
506
|
"onOn:clickedAway": i(_e)
|
|
507
507
|
}, {
|
|
508
508
|
"side-sheet-header": p(() => [
|
|
509
|
-
l("span",
|
|
509
|
+
l("span", He, S(f.value), 1)
|
|
510
510
|
]),
|
|
511
511
|
"side-sheet-footer": p(() => [
|
|
512
512
|
l("div", so, [
|
|
@@ -588,7 +588,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
588
588
|
a(r, {
|
|
589
589
|
icon: "delete",
|
|
590
590
|
variant: "tertiary",
|
|
591
|
-
onClick: ae(() =>
|
|
591
|
+
onClick: ae(() => H(j), ["stop"])
|
|
592
592
|
}, null, 8, ["onClick"])
|
|
593
593
|
]),
|
|
594
594
|
_: 2
|
|
@@ -599,14 +599,14 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
}, 8, ["title"]),
|
|
602
|
-
|
|
602
|
+
N.canApplyItems ? (k(), Y(Z, {
|
|
603
603
|
key: 0,
|
|
604
604
|
title: i(t)("menu.cooking_guide.dialog.sections.apply_product.title")
|
|
605
605
|
}, {
|
|
606
606
|
"append-title": p(() => [
|
|
607
607
|
a(te),
|
|
608
608
|
a(Se, {
|
|
609
|
-
"categorized-items":
|
|
609
|
+
"categorized-items": N.categorizedItems,
|
|
610
610
|
"initial-value": d.value.bindings.map((y) => ({
|
|
611
611
|
_id: y.productId,
|
|
612
612
|
combinationKey: y.combinationKey
|
|
@@ -642,11 +642,11 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
642
642
|
}, null, 8, ["modelValue", "placeholder"])
|
|
643
643
|
])
|
|
644
644
|
]),
|
|
645
|
-
(k(!0), I(
|
|
645
|
+
(k(!0), I(z, null, J(de.value, (y) => (k(), I("div", {
|
|
646
646
|
key: y.id || ""
|
|
647
647
|
}, [
|
|
648
648
|
l("div", no, S(y.name), 1),
|
|
649
|
-
(k(!0), I(
|
|
649
|
+
(k(!0), I(z, null, J(y.items, (j) => (k(), I("div", {
|
|
650
650
|
key: j.itemId,
|
|
651
651
|
class: "flex items-center"
|
|
652
652
|
}, [
|
|
@@ -674,12 +674,12 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
674
674
|
]),
|
|
675
675
|
_: 1
|
|
676
676
|
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]),
|
|
677
|
-
a(
|
|
677
|
+
a(Me, {
|
|
678
678
|
ref_key: "cookingGuideStepDialogRef",
|
|
679
679
|
ref: $,
|
|
680
|
-
onOnComplete:
|
|
680
|
+
onOnComplete: R
|
|
681
681
|
}, null, 512),
|
|
682
|
-
a(
|
|
682
|
+
a(Xe, {
|
|
683
683
|
ref_key: "cookingGuideStepOverrideDialogRef",
|
|
684
684
|
ref: s,
|
|
685
685
|
onOnComplete: T
|
|
@@ -688,25 +688,25 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
690
|
});
|
|
691
|
-
function ro(
|
|
691
|
+
function ro(N) {
|
|
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(N)
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
|
-
function co(
|
|
698
|
+
function co(N) {
|
|
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(N)
|
|
703
703
|
};
|
|
704
704
|
}
|
|
705
|
-
function mo(
|
|
705
|
+
function mo(N) {
|
|
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: N._id
|
|
710
710
|
};
|
|
711
711
|
}
|
|
712
712
|
const po = {
|
|
@@ -723,10 +723,10 @@ const po = {
|
|
|
723
723
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
724
724
|
}, Oo = /* @__PURE__ */ le({
|
|
725
725
|
__name: "CookingGuide",
|
|
726
|
-
setup(
|
|
726
|
+
setup(N) {
|
|
727
727
|
const {
|
|
728
728
|
t: g
|
|
729
|
-
} = se(),
|
|
729
|
+
} = se(), X = V(() => [{
|
|
730
730
|
accessorKey: "name",
|
|
731
731
|
header: () => g("menu.cooking_guide.table.columns.name"),
|
|
732
732
|
cell: (n) => n.getValue(),
|
|
@@ -760,39 +760,39 @@ const po = {
|
|
|
760
760
|
headerContentClass: "-mx-16"
|
|
761
761
|
},
|
|
762
762
|
enableSorting: !1,
|
|
763
|
-
cell: (n) =>
|
|
763
|
+
cell: (n) => A("div", {
|
|
764
764
|
class: "flex justify-end"
|
|
765
|
-
}, [
|
|
765
|
+
}, [A(ue.FmButton, {
|
|
766
766
|
icon: "delete",
|
|
767
767
|
textColor: "neutral-gray-400",
|
|
768
768
|
variant: "tertiary",
|
|
769
769
|
onClick: ae(() => {
|
|
770
|
-
|
|
770
|
+
R(n.row.original);
|
|
771
771
|
}, ["stop", "prevent"])
|
|
772
772
|
})])
|
|
773
|
-
}]), u = xe(),
|
|
773
|
+
}]), u = xe(), D = V(() => E.checkMenuIsLoading()), L = V(() => u.categorizedItems), C = V(() => u.state.menu.modules.cookingGuide), U = V(() => C.value.length > 0), E = Ce(we(be())), d = w();
|
|
774
774
|
function $() {
|
|
775
775
|
var n;
|
|
776
|
-
|
|
776
|
+
D.value || (n = d.value) == null || n.showModal();
|
|
777
777
|
}
|
|
778
778
|
function m(n) {
|
|
779
779
|
var s;
|
|
780
|
-
|
|
780
|
+
D.value || (s = d.value) == null || s.showModal(n);
|
|
781
781
|
}
|
|
782
782
|
async function F(n) {
|
|
783
783
|
const s = n._id ? co(n) : ro(n);
|
|
784
784
|
await E.updateMenu(s, n.name);
|
|
785
785
|
}
|
|
786
|
-
const
|
|
787
|
-
async function
|
|
788
|
-
let s = [
|
|
786
|
+
const H = ye();
|
|
787
|
+
async function R(n) {
|
|
788
|
+
let s = [A("span", g("menu.cooking_guide.dialogs.remove.message.prefix")), A("span", {
|
|
789
789
|
class: "fm-typo-en-body-lg-600"
|
|
790
|
-
}, n.name),
|
|
791
|
-
n.bindings.length && (s = [
|
|
790
|
+
}, n.name), A("span", "?")];
|
|
791
|
+
n.bindings.length && (s = [A("span", g("menu.cooking_guide.dialogs.remove.message.products_using")), A("span", {
|
|
792
792
|
class: "fm-typo-en-body-lg-600"
|
|
793
|
-
}, n.bindings.length),
|
|
793
|
+
}, n.bindings.length), A("span", g("menu.cooking_guide.dialogs.remove.message.products_count")), ...s]), H.open({
|
|
794
794
|
title: g("menu.cooking_guide.dialogs.remove.title"),
|
|
795
|
-
contentComponent:
|
|
795
|
+
contentComponent: A("div", s),
|
|
796
796
|
primaryActions: {
|
|
797
797
|
text: g("menu.cooking_guide.actions.remove"),
|
|
798
798
|
close: !0,
|
|
@@ -806,8 +806,8 @@ const po = {
|
|
|
806
806
|
await E.updateMenu(mo(n), n.name, !0);
|
|
807
807
|
});
|
|
808
808
|
}
|
|
809
|
-
const
|
|
810
|
-
const n =
|
|
809
|
+
const G = w(""), h = V(() => {
|
|
810
|
+
const n = G.value.toLowerCase();
|
|
811
811
|
return n ? C.value.filter((s) => s.name.toLowerCase().includes(n)) : C.value;
|
|
812
812
|
});
|
|
813
813
|
return (n, s) => {
|
|
@@ -815,19 +815,19 @@ const po = {
|
|
|
815
815
|
return k(), Y(Ie, {
|
|
816
816
|
heading: i(g)("menu.cooking_guide.title")
|
|
817
817
|
}, {
|
|
818
|
-
"append-heading": p(() => [l("div", po, [
|
|
818
|
+
"append-heading": p(() => [l("div", po, [U.value ? (k(), Y(ke, {
|
|
819
819
|
key: 0,
|
|
820
|
-
disabled:
|
|
820
|
+
disabled: D.value,
|
|
821
821
|
icon: "add",
|
|
822
822
|
label: i(g)("menu.cooking_guide.actions.add"),
|
|
823
823
|
variant: "primary",
|
|
824
824
|
onClick: s[0] || (s[0] = () => $())
|
|
825
825
|
}, null, 8, ["disabled", "label"])) : ce("", !0)])]),
|
|
826
|
-
default: p(() => [
|
|
826
|
+
default: p(() => [U.value ? (k(), I(z, {
|
|
827
827
|
key: 1
|
|
828
828
|
}, [l("div", go, [a(K, {
|
|
829
|
-
modelValue:
|
|
830
|
-
"onUpdate:modelValue": s[1] || (s[1] = (_) =>
|
|
829
|
+
modelValue: G.value,
|
|
830
|
+
"onUpdate:modelValue": s[1] || (s[1] = (_) => G.value = _),
|
|
831
831
|
autofocus: "",
|
|
832
832
|
class: "my-8 w-[320px] xs:w-full xs:px-16",
|
|
833
833
|
placeholder: i(g)("menu.cooking_guide.table.search.placeholder")
|
|
@@ -835,11 +835,11 @@ const po = {
|
|
|
835
835
|
class: "xs:hidden block"
|
|
836
836
|
}, {
|
|
837
837
|
default: p(() => [a(T, {
|
|
838
|
-
"column-defs":
|
|
839
|
-
loading:
|
|
838
|
+
"column-defs": X.value,
|
|
839
|
+
loading: D.value,
|
|
840
840
|
"page-size": C.value.length,
|
|
841
841
|
"row-data": C.value,
|
|
842
|
-
"search-value":
|
|
842
|
+
"search-value": G.value,
|
|
843
843
|
shrinkAt: !1,
|
|
844
844
|
"hide-footer": "",
|
|
845
845
|
"pin-header-row": "",
|
|
@@ -850,7 +850,7 @@ const po = {
|
|
|
850
850
|
class: "w-full px-16 xs:block hidden flex-1 min-h-0 overflow-scroll pb-64",
|
|
851
851
|
separator: ""
|
|
852
852
|
}, {
|
|
853
|
-
default: p(() => [(k(!0), I(
|
|
853
|
+
default: p(() => [(k(!0), I(z, null, J(h.value, (_) => (k(), Y(t, {
|
|
854
854
|
key: _._id,
|
|
855
855
|
label: _.name,
|
|
856
856
|
style: {
|
|
@@ -863,11 +863,11 @@ const po = {
|
|
|
863
863
|
})), 1), l("div", bo, S(i(g)("menu.cooking_guide.table.columns.steps", {
|
|
864
864
|
count: _.steps.length
|
|
865
865
|
})), 1)])]), a(v, {
|
|
866
|
-
disabled:
|
|
866
|
+
disabled: D.value,
|
|
867
867
|
icon: "delete",
|
|
868
868
|
variant: "tertiary",
|
|
869
869
|
"text-color": "neutral-gray-400",
|
|
870
|
-
onClick: ae(() =>
|
|
870
|
+
onClick: ae(() => R(_), ["stop"])
|
|
871
871
|
}, null, 8, ["disabled", "onClick"])]),
|
|
872
872
|
_: 2
|
|
873
873
|
}, 1032, ["label", "onClick"]))), 128))]),
|
|
@@ -883,7 +883,7 @@ const po = {
|
|
|
883
883
|
}, null, 8, ["action", "subtitle", "title"])), a(uo, {
|
|
884
884
|
ref_key: "cookingGuideDialogRef",
|
|
885
885
|
ref: d,
|
|
886
|
-
"categorized-items":
|
|
886
|
+
"categorized-items": L.value,
|
|
887
887
|
onOnSave: F
|
|
888
888
|
}, null, 8, ["categorized-items"])]),
|
|
889
889
|
_: 1
|