@feedmepos/mf-menu 0.32.17 → 0.32.18-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/App-Cfl37TTw.js +152661 -0
  2. package/dist/{Catalog-ChlP8Cid.js → Catalog-Yxsb-D33.js} +47 -52
  3. package/dist/{Category-CHs96ibF.js → Category-0vJH8Ct0.js} +86 -92
  4. package/dist/{Category-B1tAJpNd.js → Category-qp0wI14I.js} +25 -26
  5. package/dist/{CookingGuide-mEvca-0v.js → CookingGuide-EpAr5F5U.js} +139 -143
  6. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bk26jQI7.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CkyD0sdI.js} +14 -16
  7. package/dist/{Group-Ye2IIY52.js → Group-B3W9iSbO.js} +5 -5
  8. package/dist/{Group-Co2Vf4Lw.js → Group-DLCh0fDU.js} +1 -1
  9. package/dist/{Group.vue_vue_type_script_setup_true_lang-BcxSbvJS.js → Group.vue_vue_type_script_setup_true_lang-Bzy_hXDv.js} +176 -186
  10. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D1f8VG-n.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BFaAXp7r.js} +81 -88
  11. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Jv6iJlg9.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CxP8lDD0.js} +2502 -2508
  12. package/dist/{Ingredient-BgnW8sWo.js → Ingredient-CVLMr_YB.js} +102 -105
  13. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-8ziHcUiK.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CdTC5ykI.js} +1058 -1059
  14. package/dist/{MenuSetting-GEngjeC8.js → MenuSetting-Blpi1vSd.js} +58 -61
  15. package/dist/{PrintRoute-BSlUQT7g.js → PrintRoute-BS7PPPkE.js} +49 -52
  16. package/dist/{Product-DNg_BUuV.js → Product-DDeNKQ7u.js} +1 -1
  17. package/dist/{Product.vue_vue_type_script_setup_true_lang-Cehy2oy-.js → Product.vue_vue_type_script_setup_true_lang-rmv8m4_D.js} +286 -298
  18. package/dist/{ProductInternalTools-B5A67yxH.js → ProductInternalTools-CVuothk9.js} +45 -46
  19. package/dist/{Products-DCsxmTPB.js → Products-BIvsHKEt.js} +111 -116
  20. package/dist/{Publish-Cst0Ll6T.js → Publish-CDADU3Pp.js} +154 -159
  21. package/dist/{Recipe-DupS3SQT.js → Recipe-CMhW7e_z.js} +40 -43
  22. package/dist/{Scheduler-BcThU1M6.js → Scheduler-BpxunKBV.js} +7 -7
  23. package/dist/{ServingSequence-CT3THBH6.js → ServingSequence-BQVuYyAB.js} +54 -58
  24. package/dist/{Setting-Dxh8E3no.js → Setting-Dj0yyP37.js} +63 -66
  25. package/dist/{Subcategory-DhJEzofz.js → Subcategory-BH4DDZM4.js} +72 -76
  26. package/dist/{Takeaway-DSC7U4Jk.js → Takeaway-CGJBZ_sJ.js} +1 -1
  27. package/dist/{Takeaway-B8BSSKNj.js → Takeaway-DifOudVE.js} +20 -21
  28. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BLpiJlk2.js → Takeaway.vue_vue_type_script_setup_true_lang-D-R5_S5G.js} +59 -64
  29. package/dist/{Unit-joU7vZZu.js → Unit-DXDox2Ut.js} +8 -8
  30. package/dist/{Variant-D8YjRJ6N.js → Variant-DbJVwgm5.js} +75 -78
  31. package/dist/{_id_-Bd9uo1WW.js → _id_-RFYwWjbM.js} +34 -38
  32. package/dist/{app-BNrAos5Z.js → app-Z0KWH9-d.js} +74 -335
  33. package/dist/app.js +4 -5
  34. package/dist/apps/mf-menu/src/app.d.ts +1 -2
  35. package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +1 -0
  36. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  37. package/dist/assets/{linked-status-DbjzbFTw.js → linked-status-CkmoJAm-.js} +2 -2
  38. package/dist/assets/{menu-export-D_oNY_wi.js → menu-export-DcINiK28.js} +3 -3
  39. package/dist/assets/{override-menu-CIU7U1_4.js → override-menu-PUKiu-df.js} +2 -2
  40. package/dist/assets/{validate-menu-kuOxuwG9.js → validate-menu-CcqiRhNT.js} +2 -2
  41. package/dist/{catalogSetting-BHgsBDTl.js → catalogSetting-Bf66H-j7.js} +1 -1
  42. package/dist/dayjs.min-DNPTnUFp.js +6 -0
  43. package/dist/{jszip.min-7SsHzD5O.js → jszip.min-CO2_Gf69.js} +545 -545
  44. package/dist/{menu-Cd4NbFVq.js → menu-Brxar171.js} +1 -1
  45. package/dist/mf-menu.css +1 -1
  46. package/dist/{scheduler-B6OokVIA.js → scheduler-CqdIiE8G.js} +56 -60
  47. package/dist/{toExcel-BZkbXlHv.js → toExcel-CRJIU0NC.js} +2 -2
  48. package/dist/{unit-D6QOkMoM.js → unit-wYPYkm33.js} +98 -105
  49. package/package.json +1 -1
  50. package/dist/App-BiSEuDkd.js +0 -13484
  51. package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-C_SjdLpO.js +0 -161
  52. package/dist/FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js +0 -26
  53. package/dist/LinkProductSideSheet-DFDYEUBh.js +0 -687
  54. package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js +0 -69
  55. package/dist/RuleView.vue_vue_type_script_setup_true_lang-BeesK2ym.js +0 -3285
  56. package/dist/TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js +0 -20
  57. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-C3qXnZlz.js +0 -399
  58. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CMe76XvZ.js +0 -6011
  59. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  60. package/dist/app-5fxKLAzS.js +0 -8163
  61. package/dist/app-nTzkERJW.js +0 -68
  62. package/dist/catalog-BO2nXwe5.js +0 -199
  63. package/dist/category-CuG3DsGL.js +0 -156
  64. package/dist/check-C9mY6LiX.js +0 -9
  65. package/dist/createComponentProgrammatically-Bt2rn1IQ.js +0 -11
  66. package/dist/currency-DxC5zyZB.js +0 -7
  67. package/dist/dayjs.min-BvFUSPWD.js +0 -6
  68. package/dist/discardConfirm-BHni0LNu.js +0 -28
  69. package/dist/index-B0nhvuxR.js +0 -273
  70. package/dist/index-C2zPvt64.js +0 -239
  71. package/dist/index-C36JQix-.js +0 -246
  72. package/dist/index-CisutoS9.js +0 -156
  73. package/dist/index.vue_vue_type_script_setup_true_lang-DCBYExNb.js +0 -109064
  74. package/dist/item-K01xd1Z0.js +0 -6868
  75. package/dist/menuV2-DKE-xanq.js +0 -1052
  76. package/dist/object-DVUNCr7w.js +0 -16
  77. package/dist/priceTier-Beavb91W.js +0 -87
  78. package/dist/search-BAPEUu1R.js +0 -15
  79. package/dist/string-DpfFixWH.js +0 -4
  80. package/dist/subcategory-DnslmmRD.js +0 -148
  81. package/dist/tooltip-B5BiPMx9.js +0 -32
  82. package/dist/vuedraggable-CK8z7qA8.js +0 -1728
@@ -1,24 +1,20 @@
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";
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 $, toDisplayString as S, Fragment as z, renderList as X, withModifiers as ae, 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-BNrAos5Z.js";
6
- import { I as ee, J as me, M as re, A as oe, u as xe, Q as Ce, G as we, a4 as Fe } from "./index.vue_vue_type_script_setup_true_lang-DCBYExNb.js";
7
- import { d as Ve } from "./vuedraggable-CK8z7qA8.js";
8
- import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-BeesK2ym.js";
9
- import { u as pe } from "./discardConfirm-BHni0LNu.js";
10
- import { L as Se } from "./LinkProductSideSheet-DFDYEUBh.js";
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" }, 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" }, Me = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Te = { class: "flex gap-8 items-center justify-start" }, Be = /* @__PURE__ */ le({
5
+ import { _ as he } from "./app-Z0KWH9-d.js";
6
+ import { c as ee, F as me, G as Z, n as pe, U as xe, L as Ce, m as re, e as oe, u as we, d as Fe, a as Ve, _ as Se } from "./App-Cfl37TTw.js";
7
+ import { _ as $e } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
8
+ const Ie = { 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%]" }, Ue = { class: "px-16 py-8 grow" }, Ge = { 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
9
  __name: "CookingGuideStepDialog",
14
10
  emits: ["onComplete"],
15
- setup(N, { expose: g, emit: Q }) {
11
+ setup(N, { expose: g, emit: H }) {
16
12
  const { t: u } = se();
17
13
  g({
18
14
  show: d,
19
- hide: $
15
+ hide: I
20
16
  });
21
- const D = Q;
17
+ const D = H;
22
18
  function L() {
23
19
  return {
24
20
  id: "",
@@ -26,23 +22,23 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
26
22
  instruction: ""
27
23
  };
28
24
  }
29
- const C = w(!1), U = w(!1), E = w(void 0);
25
+ const C = w(!1), G = w(!1), E = w(void 0);
30
26
  function d(v) {
31
- U.value = !!v, E.value = v ? ee(v) : L(), m.value = ee(E.value), F.value = Object.entries(m.value.variables).map(
27
+ G.value = !!v, E.value = v ? ee(v) : L(), m.value = ee(E.value), F.value = Object.entries(m.value.variables).map(
32
28
  ([t, f]) => ({ key: t, value: f })
33
29
  ), C.value = !0;
34
30
  }
35
- function $() {
31
+ function I() {
36
32
  C.value = !1;
37
33
  }
38
34
  const m = w(L()), F = w([]);
39
- function X() {
35
+ function J() {
40
36
  F.value.push({ key: "", value: "" });
41
37
  }
42
- function R(v) {
38
+ function A(v) {
43
39
  F.value.splice(v, 1);
44
40
  }
45
- function G(v) {
41
+ function U(v) {
46
42
  const t = document.activeElement;
47
43
  if (t && t.tagName === "TEXTAREA") {
48
44
  const f = t.selectionStart, _ = t.selectionEnd, P = m.value.instruction, W = P.substring(0, f) + `{{${v}}}` + P.substring(_);
@@ -65,10 +61,10 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
65
61
  label: t
66
62
  }), v),
67
63
  []
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"));
64
+ )), 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"));
69
65
  w();
70
- const K = pe(
71
- () => !me.isEqual(
66
+ const K = me(
67
+ () => !pe.isEqual(
72
68
  {
73
69
  ...m.value,
74
70
  variables: F.value.reduce((v, { key: t, value: f }) => ({ ...v, [t]: f }), {})
@@ -79,8 +75,8 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
79
75
  C.value = !1;
80
76
  }
81
77
  );
82
- function M() {
83
- $(), D("onComplete", {
78
+ function T() {
79
+ I(), D("onComplete", {
84
80
  ...m.value,
85
81
  variables: F.value.reduce((v, { key: t, value: f }) => ({ ...v, [t]: f }), {})
86
82
  });
@@ -89,31 +85,31 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
89
85
  const f = x("FmButton"), _ = x("FmTextField"), P = x("FmChip"), W = x("FmTextarea"), q = x("FmSideSheet");
90
86
  return k(), Y(q, {
91
87
  modelValue: C.value,
92
- "onUpdate:modelValue": t[1] || (t[1] = (T) => C.value = T),
88
+ "onUpdate:modelValue": t[1] || (t[1] = (B) => C.value = B),
93
89
  closeButton: !1,
94
90
  header: n.value,
95
91
  "max-width": 560,
96
92
  "is-container": i(ue).FmForm,
97
93
  "is-container-props": {
98
- onValidationSuccess: M,
94
+ onValidationSuccess: T,
99
95
  blameFormChildOnValidationFailed: !0,
100
96
  class: "flex flex-col h-full"
101
97
  },
102
98
  "onOn:clickedAway": i(K)
103
99
  }, {
104
100
  "side-sheet-header": p(() => [
105
- l("div", $e, [
101
+ l("div", Ie, [
106
102
  a(f, {
107
103
  icon: "arrow_back",
108
104
  variant: "tertiary",
109
105
  label: i(u)("menu.cooking_guide.step_dialog.actions.back"),
110
- onClick: $
106
+ onClick: I
111
107
  }, null, 8, ["label"]),
112
108
  l("div", Oe, S(n.value), 1)
113
109
  ])
114
110
  ]),
115
111
  "side-sheet-footer": p(() => [
116
- l("div", Te, [
112
+ l("div", Be, [
117
113
  a(f, {
118
114
  label: s.value,
119
115
  size: "lg",
@@ -124,7 +120,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
124
120
  label: i(u)("menu.cooking_guide.step_dialog.actions.cancel"),
125
121
  size: "lg",
126
122
  variant: "tertiary",
127
- onClick: $
123
+ onClick: I
128
124
  }, null, 8, ["label"])
129
125
  ])
130
126
  ]),
@@ -140,7 +136,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
140
136
  variant: "secondary",
141
137
  "text-color": "primary",
142
138
  "border-color": "primary",
143
- onClick: X
139
+ onClick: J
144
140
  }, null, 8, ["label"])
145
141
  ]),
146
142
  default: p(() => [
@@ -149,26 +145,26 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
149
145
  l("div", Le, S(i(u)("menu.cooking_guide.step_dialog.sections.variables.columns.key")), 1),
150
146
  l("div", Ne, S(i(u)("menu.cooking_guide.step_dialog.sections.variables.columns.value")), 1)
151
147
  ]),
152
- (k(!0), I(z, null, J(F.value, (T, B) => (k(), I("div", {
153
- key: B,
148
+ (k(!0), $(z, null, X(F.value, (B, M) => (k(), $("div", {
149
+ key: M,
154
150
  class: "flex items-center border-b border-b-fm-color-neutral-gray-100"
155
151
  }, [
156
152
  l("div", De, [
157
153
  a(_, {
158
- modelValue: F.value[B].key,
159
- "onUpdate:modelValue": (O) => F.value[B].key = O,
154
+ modelValue: F.value[M].key,
155
+ "onUpdate:modelValue": (O) => F.value[M].key = O,
160
156
  rules: [
161
157
  (O) => !!O || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.required"),
162
158
  (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) === B || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.duplicate")
159
+ (O) => !O || F.value.findIndex((de) => de.key === O) === M || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.duplicate")
164
160
  ],
165
161
  placeholder: i(u)("menu.cooking_guide.step_dialog.sections.variables.placeholders.key")
166
162
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rules", "placeholder"])
167
163
  ]),
168
- l("div", Ge, [
164
+ l("div", Ue, [
169
165
  a(_, {
170
- modelValue: F.value[B].value,
171
- "onUpdate:modelValue": (O) => F.value[B].value = O,
166
+ modelValue: F.value[M].value,
167
+ "onUpdate:modelValue": (O) => F.value[M].value = O,
172
168
  rules: [
173
169
  (O) => !!O || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.required")
174
170
  ],
@@ -179,7 +175,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
179
175
  icon: "delete",
180
176
  variant: "tertiary",
181
177
  "text-color": "neutral-gray-400",
182
- onClick: () => R(B)
178
+ onClick: () => A(M)
183
179
  }, null, 8, ["onClick"])
184
180
  ]))), 128))
185
181
  ])
@@ -190,18 +186,18 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
190
186
  title: i(u)("menu.cooking_guide.step_dialog.sections.instruction.title")
191
187
  }, {
192
188
  default: p(() => [
193
- l("div", Ue, [
194
- l("div", Me, [
195
- (k(!0), I(z, null, J(h.value, (T) => (k(), Y(P, {
196
- key: T.label,
197
- label: T.label,
189
+ l("div", Ge, [
190
+ l("div", Te, [
191
+ (k(!0), $(z, null, X(h.value, (B) => (k(), Y(P, {
192
+ key: B.label,
193
+ label: B.label,
198
194
  class: "text-fm-color-primary bg-fm-color-system-warning-100",
199
- onMousedown: ae(() => G(T.label), ["prevent"])
195
+ onMousedown: ae(() => U(B.label), ["prevent"])
200
196
  }, null, 8, ["label", "onMousedown"]))), 128))
201
197
  ]),
202
198
  a(W, {
203
199
  modelValue: m.value.instruction,
204
- "onUpdate:modelValue": t[0] || (t[0] = (T) => m.value.instruction = T),
200
+ "onUpdate:modelValue": t[0] || (t[0] = (B) => m.value.instruction = B),
205
201
  ref: "textareaRef"
206
202
  }, null, 8, ["modelValue"])
207
203
  ])
@@ -214,46 +210,46 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
214
210
  }, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]);
215
211
  };
216
212
  }
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" }, Qe = /* @__PURE__ */ le({
213
+ }), ze = { 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" }, Xe = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, He = /* @__PURE__ */ le({
218
214
  __name: "CookingGuideStepOverrideDialog",
219
215
  emits: ["onComplete"],
220
- setup(N, { expose: g, emit: Q }) {
216
+ setup(N, { expose: g, emit: H }) {
221
217
  const { t: u } = se();
222
218
  g({
223
219
  show: d,
224
- hide: $
220
+ hide: I
225
221
  });
226
- const D = Q;
222
+ const D = H;
227
223
  function L() {
228
224
  return {
229
225
  productId: "",
230
226
  overrides: []
231
227
  };
232
228
  }
233
- const C = w(!1), U = w(""), E = w([]);
229
+ const C = w(!1), G = w(""), E = w([]);
234
230
  function d(h) {
235
- U.value = h.itemName, E.value = h.steps, m.value = h.bindings ? ee(h.bindings) : L(), C.value = !0;
231
+ G.value = h.itemName, E.value = h.steps, m.value = h.bindings ? ee(h.bindings) : L(), C.value = !0;
236
232
  }
237
- function $() {
233
+ function I() {
238
234
  C.value = !1;
239
235
  }
240
236
  const m = w(L()), F = V(() => m.value.overrides.reduce((h, n) => (h[n.id] = n, h), {}));
241
- function X(h, n) {
237
+ function J(h, n) {
242
238
  var s;
243
239
  return ((s = F.value[h]) == null ? void 0 : s.variables[n]) ?? "";
244
240
  }
245
- function R(h, n, s) {
246
- const K = m.value.overrides.findIndex((M) => M.id === h);
241
+ function A(h, n, s) {
242
+ const K = m.value.overrides.findIndex((T) => T.id === h);
247
243
  s ? K < 0 ? m.value.overrides.push({
248
244
  id: h,
249
245
  variables: { [n]: s }
250
246
  }) : 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
247
  }
252
- function G() {
253
- $(), D("onComplete", m.value);
248
+ function U() {
249
+ I(), D("onComplete", m.value);
254
250
  }
255
251
  return (h, n) => {
256
- const s = x("FmTextField"), K = x("FmSpacer"), M = x("FmButton"), v = x("FmDialog");
252
+ const s = x("FmTextField"), K = x("FmSpacer"), T = x("FmButton"), v = x("FmDialog");
257
253
  return k(), Y(v, {
258
254
  modelValue: C.value,
259
255
  "onUpdate:modelValue": n[0] || (n[0] = (t) => C.value = t),
@@ -266,45 +262,45 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
266
262
  ]),
267
263
  "dialog-footer": p(() => [
268
264
  a(K),
269
- a(M, {
265
+ a(T, {
270
266
  class: "sm:w-full xs:w-full",
271
267
  label: i(u)("menu.cooking_guide.step_override_dialog.actions.cancel"),
272
268
  size: "md",
273
269
  variant: "tertiary",
274
- onClick: $
270
+ onClick: I
275
271
  }, null, 8, ["label"]),
276
- a(M, {
272
+ a(T, {
277
273
  class: "sm:w-full xs:w-full",
278
274
  label: i(u)("menu.cooking_guide.step_override_dialog.actions.save"),
279
275
  size: "md",
280
276
  variant: "primary",
281
- onClick: G
277
+ onClick: U
282
278
  }, null, 8, ["label"])
283
279
  ]),
284
280
  default: p(() => [
285
281
  l("div", ze, [
286
- l("div", Ae, [
287
- l("div", Re, S(i(u)("menu.cooking_guide.step_override_dialog.columns.instructions")), 1),
282
+ l("div", Re, [
283
+ l("div", Ae, S(i(u)("menu.cooking_guide.step_override_dialog.columns.instructions")), 1),
288
284
  l("div", Pe, S(i(u)("menu.cooking_guide.step_override_dialog.columns.variables")), 1),
289
285
  l("div", qe, S(i(u)("menu.cooking_guide.step_override_dialog.columns.value")), 1)
290
286
  ]),
291
- (k(!0), I(z, null, J(E.value, (t) => (k(), I("div", {
287
+ (k(!0), $(z, null, X(E.value, (t) => (k(), $("div", {
292
288
  key: t.id,
293
289
  class: "flex border-t-2"
294
290
  }, [
295
291
  l("div", je, S(t.instruction), 1),
296
292
  l("div", Ye, [
297
- (k(!0), I(z, null, J(t.variables, (f, _) => (k(), I("div", {
293
+ (k(!0), $(z, null, X(t.variables, (f, _) => (k(), $("div", {
298
294
  key: _,
299
295
  class: "py-8 w-full text-ellipsis overflow-hidden whitespace-nowrap"
300
296
  }, S(_), 1))), 128))
301
297
  ]),
302
- l("div", Je, [
303
- (k(!0), I(z, null, J(t.variables, (f, _) => (k(), I("div", { key: _ }, [
298
+ l("div", Xe, [
299
+ (k(!0), $(z, null, X(t.variables, (f, _) => (k(), $("div", { key: _ }, [
304
300
  a(s, {
305
- "model-value": X(t.id, _.toString()),
301
+ "model-value": J(t.id, _.toString()),
306
302
  placeholder: f,
307
- "onUpdate:modelValue": (P) => R(t.id, _.toString(), P)
303
+ "onUpdate:modelValue": (P) => A(t.id, _.toString(), P)
308
304
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])
309
305
  ]))), 128))
310
306
  ])
@@ -315,7 +311,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
315
311
  }, 8, ["modelValue"]);
316
312
  };
317
313
  }
318
- }), Xe = { class: "fm-typo-en-title-md-600" }, He = { 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({
314
+ }), Je = { 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
315
  __name: "CookingGuideDialog",
320
316
  props: {
321
317
  categorizedItems: {
@@ -328,10 +324,10 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
328
324
  }
329
325
  },
330
326
  emits: ["onSave"],
331
- setup(N, { expose: g, emit: Q }) {
327
+ setup(N, { expose: g, emit: H }) {
332
328
  const u = N;
333
329
  g({
334
- showModal: U,
330
+ showModal: G,
335
331
  hideModal: E
336
332
  });
337
333
  function D() {
@@ -343,25 +339,25 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
343
339
  };
344
340
  }
345
341
  const L = w(!1), C = w(void 0);
346
- function U(e) {
342
+ function G(e) {
347
343
  C.value = e ? ee(e) : D(), d.value = ee(C.value), L.value = !0;
348
344
  }
349
345
  function E() {
350
346
  L.value = !1;
351
347
  }
352
- const d = w(D()), $ = w();
348
+ const d = w(D()), I = w();
353
349
  function m() {
354
350
  var e;
355
- (e = $.value) == null || e.show();
351
+ (e = I.value) == null || e.show();
356
352
  }
357
353
  function F(e) {
358
354
  var o;
359
- (o = $.value) == null || o.show(e);
355
+ (o = I.value) == null || o.show(e);
360
356
  }
361
- function X(e) {
357
+ function J(e) {
362
358
  d.value.steps.splice(e, 1);
363
359
  }
364
- function R(e) {
360
+ function A(e) {
365
361
  if (!e.id)
366
362
  d.value.steps.push({ ...e, id: (/* @__PURE__ */ new Date()).toISOString() });
367
363
  else {
@@ -369,7 +365,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
369
365
  o >= 0 && d.value.steps.splice(o, 1, e);
370
366
  }
371
367
  }
372
- function G(e) {
368
+ function U(e) {
373
369
  d.value = {
374
370
  ...d.value,
375
371
  bindings: e
@@ -382,11 +378,11 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
382
378
  }
383
379
  function n({ items: e }) {
384
380
  const o = e.reduce((r, c) => (r[c._id] = r[c._id] ?? [], c.combinationKey && (r[c._id] = [...r[c._id], c.combinationKey]), r), {}), b = Object.entries(o).reduce(
385
- (r, [c, H]) => {
381
+ (r, [c, Q]) => {
386
382
  var te;
387
- return r = H.length > 0 ? [
383
+ return r = Q.length > 0 ? [
388
384
  ...r,
389
- ...H.map((ne) => {
385
+ ...Q.map((ne) => {
390
386
  var ie;
391
387
  return {
392
388
  productId: c,
@@ -404,7 +400,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
404
400
  },
405
401
  []
406
402
  );
407
- G(b);
403
+ U(b);
408
404
  }
409
405
  const s = w();
410
406
  function K(e) {
@@ -415,12 +411,12 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
415
411
  bindings: h(e.itemId, e.combinationKey)
416
412
  });
417
413
  }
418
- function M({ productId: e, combinationKey: o, overrides: b }) {
414
+ function T({ productId: e, combinationKey: o, overrides: b }) {
419
415
  const r = d.value.bindings.map((c) => ({
420
416
  ...c,
421
417
  overrides: c.productId === e && c.combinationKey == o ? b : c.overrides
422
418
  }));
423
- G(r);
419
+ U(r);
424
420
  }
425
421
  function v(e) {
426
422
  const o = d.value.bindings.findIndex(
@@ -433,18 +429,18 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
433
429
  const b = e[o.productId] ?? [];
434
430
  return o.combinationKey ? e[o.productId] = [...b, o.combinationKey] : e[o.productId] = [], e;
435
431
  }, {})
436
- ), q = w(""), T = V(() => u.categorizedItems.reduce((e, o) => {
432
+ ), q = w(""), B = V(() => u.categorizedItems.reduce((e, o) => {
437
433
  var b, r;
438
434
  for (const c of o.items)
439
435
  (b = c.variant) != null && b.variantGroupIds.length && ((r = c.variant) == null ? void 0 : r.variantGroupIds.length) > 0 ? e = [
440
436
  ...e,
441
- ...c.variant.variantCombinations.map((H) => ({
437
+ ...c.variant.variantCombinations.map((Q) => ({
442
438
  categoryId: o.id,
443
439
  categoryName: o.name,
444
440
  itemId: c._id,
445
441
  itemCode: c.code,
446
- itemName: `${c.name} - ${H.codeName}`,
447
- combinationKey: H.combinationKey
442
+ itemName: `${c.name} - ${Q.codeName}`,
443
+ combinationKey: Q.combinationKey
448
444
  }))
449
445
  ] : e.push({
450
446
  categoryId: o.id,
@@ -454,17 +450,17 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
454
450
  itemName: c.name
455
451
  });
456
452
  return e;
457
- }, [])), B = V(() => T.value.filter((e) => {
453
+ }, [])), M = V(() => B.value.filter((e) => {
458
454
  const o = W.value[e.itemId];
459
455
  return !!o && (!e.combinationKey || o.includes(e.combinationKey));
460
456
  })), O = V(() => {
461
457
  const e = q.value.toLowerCase();
462
- return e ? B.value.filter(
458
+ return e ? M.value.filter(
463
459
  (o) => {
464
460
  var b;
465
461
  return ((b = o.itemCode) == null ? void 0 : b.toLowerCase().includes(e)) || o.itemName.toLowerCase().includes(e) || o.categoryName.toLowerCase().includes(e);
466
462
  }
467
- ) : B.value;
463
+ ) : M.value;
468
464
  }), de = V(() => O.value.reduce(
469
465
  (e, o) => {
470
466
  const b = e.findIndex((r) => r.id === o.categoryId);
@@ -478,10 +474,10 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
478
474
  }, e;
479
475
  },
480
476
  []
481
- )), ge = Q;
477
+ )), ge = H;
482
478
  w();
483
- const _e = pe(
484
- () => !me.isEqual(C.value, d.value),
479
+ const _e = me(
480
+ () => !pe.isEqual(C.value, d.value),
485
481
  () => {
486
482
  L.value = !1;
487
483
  }
@@ -490,8 +486,8 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
490
486
  E(), ge("onSave", d.value);
491
487
  }
492
488
  return (e, o) => {
493
- const b = x("FmTextField"), r = x("FmButton"), c = x("FmCardSection"), H = x("FmCard"), te = x("FmSpacer"), ne = x("FmSearch"), ie = x("FmSideSheet");
494
- return k(), I(z, null, [
489
+ const b = x("FmTextField"), r = x("FmButton"), c = x("FmCardSection"), Q = x("FmCard"), te = x("FmSpacer"), ne = x("FmSearch"), ie = x("FmSideSheet");
490
+ return k(), $(z, null, [
495
491
  a(ie, {
496
492
  modelValue: L.value,
497
493
  "onUpdate:modelValue": o[4] || (o[4] = (y) => L.value = y),
@@ -506,7 +502,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
506
502
  "onOn:clickedAway": i(_e)
507
503
  }, {
508
504
  "side-sheet-header": p(() => [
509
- l("span", Xe, S(f.value), 1)
505
+ l("span", Je, S(f.value), 1)
510
506
  ]),
511
507
  "side-sheet-footer": p(() => [
512
508
  l("div", so, [
@@ -525,7 +521,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
525
521
  ])
526
522
  ]),
527
523
  default: p(() => [
528
- l("div", He, [
524
+ l("div", Qe, [
529
525
  a(Z, {
530
526
  title: i(t)("menu.cooking_guide.dialog.sections.guide_detail.title")
531
527
  }, {
@@ -557,14 +553,14 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
557
553
  }, null, 8, ["label"])
558
554
  ]),
559
555
  default: p(() => [
560
- a(i(Ve), {
556
+ a(i(xe), {
561
557
  modelValue: d.value.steps,
562
558
  "onUpdate:modelValue": o[1] || (o[1] = (y) => d.value.steps = y),
563
559
  handle: ".handle",
564
560
  "item-key": "id"
565
561
  }, {
566
562
  item: p(({ element: y, index: j }) => [
567
- a(H, {
563
+ a(Q, {
568
564
  variant: "outlined",
569
565
  class: "rounded-md mb-16 items-center",
570
566
  horizontal: "",
@@ -588,7 +584,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
588
584
  a(r, {
589
585
  icon: "delete",
590
586
  variant: "tertiary",
591
- onClick: ae(() => X(j), ["stop"])
587
+ onClick: ae(() => J(j), ["stop"])
592
588
  }, null, 8, ["onClick"])
593
589
  ]),
594
590
  _: 2
@@ -605,7 +601,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
605
601
  }, {
606
602
  "append-title": p(() => [
607
603
  a(te),
608
- a(Se, {
604
+ a(Ce, {
609
605
  "categorized-items": N.categorizedItems,
610
606
  "initial-value": d.value.bindings.map((y) => ({
611
607
  _id: y.productId,
@@ -642,11 +638,11 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
642
638
  }, null, 8, ["modelValue", "placeholder"])
643
639
  ])
644
640
  ]),
645
- (k(!0), I(z, null, J(de.value, (y) => (k(), I("div", {
641
+ (k(!0), $(z, null, X(de.value, (y) => (k(), $("div", {
646
642
  key: y.id || ""
647
643
  }, [
648
644
  l("div", no, S(y.name), 1),
649
- (k(!0), I(z, null, J(y.items, (j) => (k(), I("div", {
645
+ (k(!0), $(z, null, X(y.items, (j) => (k(), $("div", {
650
646
  key: j.itemId,
651
647
  class: "flex items-center"
652
648
  }, [
@@ -674,15 +670,15 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
674
670
  ]),
675
671
  _: 1
676
672
  }, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]),
677
- a(Be, {
673
+ a(Me, {
678
674
  ref_key: "cookingGuideStepDialogRef",
679
- ref: $,
680
- onOnComplete: R
675
+ ref: I,
676
+ onOnComplete: A
681
677
  }, null, 512),
682
- a(Qe, {
678
+ a(He, {
683
679
  ref_key: "cookingGuideStepOverrideDialogRef",
684
680
  ref: s,
685
- onOnComplete: M
681
+ onOnComplete: T
686
682
  }, null, 512)
687
683
  ], 64);
688
684
  };
@@ -721,12 +717,12 @@ const po = {
721
717
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
722
718
  }, bo = {
723
719
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
724
- }, Oo = /* @__PURE__ */ le({
720
+ }, Vo = /* @__PURE__ */ le({
725
721
  __name: "CookingGuide",
726
722
  setup(N) {
727
723
  const {
728
724
  t: g
729
- } = se(), Q = V(() => [{
725
+ } = se(), H = V(() => [{
730
726
  accessorKey: "name",
731
727
  header: () => g("menu.cooking_guide.table.columns.name"),
732
728
  cell: (n) => n.getValue(),
@@ -760,18 +756,18 @@ const po = {
760
756
  headerContentClass: "-mx-16"
761
757
  },
762
758
  enableSorting: !1,
763
- cell: (n) => A("div", {
759
+ cell: (n) => R("div", {
764
760
  class: "flex justify-end"
765
- }, [A(ue.FmButton, {
761
+ }, [R(ue.FmButton, {
766
762
  icon: "delete",
767
763
  textColor: "neutral-gray-400",
768
764
  variant: "tertiary",
769
765
  onClick: ae(() => {
770
- R(n.row.original);
766
+ A(n.row.original);
771
767
  }, ["stop", "prevent"])
772
768
  })])
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
- function $() {
769
+ }]), u = we(), D = V(() => E.checkMenuIsLoading()), L = V(() => u.categorizedItems), C = V(() => u.state.menu.modules.cookingGuide), G = V(() => C.value.length > 0), E = Fe(Ve(be())), d = w();
770
+ function I() {
775
771
  var n;
776
772
  D.value || (n = d.value) == null || n.showModal();
777
773
  }
@@ -783,16 +779,16 @@ const po = {
783
779
  const s = n._id ? co(n) : ro(n);
784
780
  await E.updateMenu(s, n.name);
785
781
  }
786
- const X = ye();
787
- async function R(n) {
788
- let s = [A("span", g("menu.cooking_guide.dialogs.remove.message.prefix")), A("span", {
782
+ const J = ye();
783
+ async function A(n) {
784
+ let s = [R("span", g("menu.cooking_guide.dialogs.remove.message.prefix")), R("span", {
789
785
  class: "fm-typo-en-body-lg-600"
790
- }, n.name), A("span", "?")];
791
- n.bindings.length && (s = [A("span", g("menu.cooking_guide.dialogs.remove.message.products_using")), A("span", {
786
+ }, n.name), R("span", "?")];
787
+ n.bindings.length && (s = [R("span", g("menu.cooking_guide.dialogs.remove.message.products_using")), R("span", {
792
788
  class: "fm-typo-en-body-lg-600"
793
- }, n.bindings.length), A("span", g("menu.cooking_guide.dialogs.remove.message.products_count")), ...s]), X.open({
789
+ }, n.bindings.length), R("span", g("menu.cooking_guide.dialogs.remove.message.products_count")), ...s]), J.open({
794
790
  title: g("menu.cooking_guide.dialogs.remove.title"),
795
- contentComponent: A("div", s),
791
+ contentComponent: R("div", s),
796
792
  primaryActions: {
797
793
  text: g("menu.cooking_guide.actions.remove"),
798
794
  close: !0,
@@ -806,40 +802,40 @@ const po = {
806
802
  await E.updateMenu(mo(n), n.name, !0);
807
803
  });
808
804
  }
809
- const G = w(""), h = V(() => {
810
- const n = G.value.toLowerCase();
805
+ const U = w(""), h = V(() => {
806
+ const n = U.value.toLowerCase();
811
807
  return n ? C.value.filter((s) => s.name.toLowerCase().includes(n)) : C.value;
812
808
  });
813
809
  return (n, s) => {
814
- const K = x("FmSearch"), M = x("FmTable"), v = x("FmButton"), t = x("FmListItem"), f = x("FmList");
815
- return k(), Y(Ie, {
810
+ const K = x("FmSearch"), T = x("FmTable"), v = x("FmButton"), t = x("FmListItem"), f = x("FmList");
811
+ return k(), Y($e, {
816
812
  heading: i(g)("menu.cooking_guide.title")
817
813
  }, {
818
- "append-heading": p(() => [l("div", po, [U.value ? (k(), Y(ke, {
814
+ "append-heading": p(() => [l("div", po, [G.value ? (k(), Y(ke, {
819
815
  key: 0,
820
816
  disabled: D.value,
821
817
  icon: "add",
822
818
  label: i(g)("menu.cooking_guide.actions.add"),
823
819
  variant: "primary",
824
- onClick: s[0] || (s[0] = () => $())
820
+ onClick: s[0] || (s[0] = () => I())
825
821
  }, null, 8, ["disabled", "label"])) : ce("", !0)])]),
826
- default: p(() => [U.value ? (k(), I(z, {
822
+ default: p(() => [G.value ? (k(), $(z, {
827
823
  key: 1
828
824
  }, [l("div", go, [a(K, {
829
- modelValue: G.value,
830
- "onUpdate:modelValue": s[1] || (s[1] = (_) => G.value = _),
825
+ modelValue: U.value,
826
+ "onUpdate:modelValue": s[1] || (s[1] = (_) => U.value = _),
831
827
  autofocus: "",
832
828
  class: "my-8 w-[320px] xs:w-full xs:px-16",
833
829
  placeholder: i(g)("menu.cooking_guide.table.search.placeholder")
834
830
  }, null, 8, ["modelValue", "placeholder"])]), a(he, {
835
831
  class: "xs:hidden block"
836
832
  }, {
837
- default: p(() => [a(M, {
838
- "column-defs": Q.value,
833
+ default: p(() => [a(T, {
834
+ "column-defs": H.value,
839
835
  loading: D.value,
840
836
  "page-size": C.value.length,
841
837
  "row-data": C.value,
842
- "search-value": G.value,
838
+ "search-value": U.value,
843
839
  shrinkAt: !1,
844
840
  "hide-footer": "",
845
841
  "pin-header-row": "",
@@ -850,7 +846,7 @@ const po = {
850
846
  class: "w-full px-16 xs:block hidden flex-1 min-h-0 overflow-scroll pb-64",
851
847
  separator: ""
852
848
  }, {
853
- default: p(() => [(k(!0), I(z, null, J(h.value, (_) => (k(), Y(t, {
849
+ default: p(() => [(k(!0), $(z, null, X(h.value, (_) => (k(), Y(t, {
854
850
  key: _._id,
855
851
  label: _.name,
856
852
  style: {
@@ -867,16 +863,16 @@ const po = {
867
863
  icon: "delete",
868
864
  variant: "tertiary",
869
865
  "text-color": "neutral-gray-400",
870
- onClick: ae(() => R(_), ["stop"])
866
+ onClick: ae(() => A(_), ["stop"])
871
867
  }, null, 8, ["disabled", "onClick"])]),
872
868
  _: 2
873
869
  }, 1032, ["label", "onClick"]))), 128))]),
874
870
  _: 1
875
- })], 64)) : (k(), Y(i(Fe), {
871
+ })], 64)) : (k(), Y(i(Se), {
876
872
  key: 0,
877
873
  action: {
878
874
  text: i(g)("menu.cooking_guide.empty.action"),
879
- callback: () => $()
875
+ callback: () => I()
880
876
  },
881
877
  subtitle: i(g)("menu.cooking_guide.empty.subtitle"),
882
878
  title: i(g)("menu.cooking_guide.empty.title")
@@ -892,5 +888,5 @@ const po = {
892
888
  }
893
889
  });
894
890
  export {
895
- Oo as default
891
+ Vo as default
896
892
  };