@feedmepos/mf-menu 0.32.44 → 0.32.45

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 (80) hide show
  1. package/dist/{App-BXkiQoTM.js → App-CczmyQeJ.js} +1471 -1458
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BoSL4dm7.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BscsJpMV.js} +3 -3
  3. package/dist/{Catalog-CLFVLyor.js → Catalog-RU_6keJm.js} +6 -6
  4. package/dist/{Category-CNuVHuI3.js → Category-7Fg2kD0h.js} +79 -79
  5. package/dist/{Category-BdyouDU8.js → Category-CwEXbsDv.js} +4 -4
  6. package/dist/{CookingGuide-Bed7bUt1.js → CookingGuide-DFu5VStf.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CZDL2xJC.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CeNfLbfq.js} +1 -1
  8. package/dist/{Group-TUqCPmO3.js → Group-C6vQeBnj.js} +1 -1
  9. package/dist/{Group-D4UTsIxI.js → Group-l-YpAi6B.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-BJPT8flL.js → Group.vue_vue_type_script_setup_true_lang-1UdOBdv-.js} +165 -165
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D83liryu.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C309DrLU.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CRIRinHB.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C903fhuj.js} +6 -6
  13. package/dist/{Ingredient-CcxoeuDd.js → Ingredient-CHqDo-GY.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-58tyxdVh.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CXHHlrI0.js} +2 -2
  15. package/dist/{LinkProductSideSheet-DazOkwkd.js → LinkProductSideSheet-DY32g33Q.js} +3 -3
  16. package/dist/{MenuSetting-B3oLll4C.js → MenuSetting-DhbxlKuU.js} +5 -5
  17. package/dist/{PrintRoute-D878qPu8.js → PrintRoute-CToZ0ClG.js} +4 -4
  18. package/dist/{Product-DOC8y_mW.js → Product-Cpg32wpg.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-tZyBhWYT.js → Product.vue_vue_type_script_setup_true_lang-BC2KG1q4.js} +440 -438
  20. package/dist/{ProductInternalTools-9TgIc2bR.js → ProductInternalTools-wH9BN1NK.js} +5 -5
  21. package/dist/Products-CpINHaH6.js +291 -0
  22. package/dist/{Publish-BktK_PKq.js → Publish-CJS_836k.js} +3 -3
  23. package/dist/{Recipe-eA0xrGYk.js → Recipe-Cz7hivmM.js} +4 -4
  24. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-t8M7z09s.js → RuleView.vue_vue_type_script_setup_true_lang-CRLzqgQe.js} +207 -207
  25. package/dist/{Scheduler-CKSqPZLQ.js → Scheduler-QuWCnEJw.js} +3 -3
  26. package/dist/{ServingSequence-Ea20baNj.js → ServingSequence-CqK5Sjmq.js} +3 -3
  27. package/dist/{Setting-u6lX_Dzg.js → Setting-C3tKUfsm.js} +5 -5
  28. package/dist/{Subcategory-C6s7OMOb.js → Subcategory-DCtTOPUj.js} +99 -100
  29. package/dist/{Takeaway-lWxS9oWe.js → Takeaway-BnB1OFnK.js} +1 -1
  30. package/dist/{Takeaway-B9kr-Nf4.js → Takeaway-Fi8SAH2t.js} +4 -4
  31. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-oA0e9oI5.js → Takeaway.vue_vue_type_script_setup_true_lang-Cbz7Qt_g.js} +91 -91
  32. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-T40ChY7j.js → Thumbnail.vue_vue_type_script_setup_true_lang-CPM_muXB.js} +4 -4
  33. package/dist/TranslationFieldSection.vue_vue_type_script_setup_true_lang-BpL8UrFY.js +278 -0
  34. package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-DtkzQeq4.js +140 -0
  35. package/dist/TranslationViewChip.vue_vue_type_script_setup_true_lang-CHT7Xozn.js +60 -0
  36. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B1e3d-uX.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DoIgiwHh.js} +13 -13
  37. package/dist/{Unit-DkQlUg2l.js → Unit-5yE2-y9D.js} +2 -2
  38. package/dist/Variant-C7lIdRID.js +248 -0
  39. package/dist/{_id_-_oqk-OhC.js → _id_-08ykp97a.js} +9 -9
  40. package/dist/{app-CfCYl2pO.js → app-CA4g3v2n.js} +26 -26
  41. package/dist/{app-DIYHNWEw.js → app-DPovSnb_.js} +1 -1
  42. package/dist/app.js +1 -1
  43. package/dist/apps/mf-menu/src/components/translation/LanguageChip.vue.d.ts +18 -0
  44. package/dist/apps/mf-menu/src/components/translation/LanguageSelector.vue.d.ts +33 -0
  45. package/dist/apps/mf-menu/src/components/translation/LocaleIconBadge.vue.d.ts +29 -0
  46. package/dist/apps/mf-menu/src/components/translation/TranslationFieldRow.vue.d.ts +39 -0
  47. package/dist/apps/mf-menu/src/components/translation/TranslationViewChip.vue.d.ts +15 -0
  48. package/dist/apps/mf-menu/src/composable/translationLanguages.d.ts +16 -0
  49. package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -0
  50. package/dist/apps/mf-menu/src/utils/translation.d.ts +1 -1
  51. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/assets/{linked-status-AoXjo9FF.js → linked-status-WT6deoPw.js} +2 -2
  53. package/dist/assets/{menu-export-BHcaWhM3.js → menu-export-DxtFXMED.js} +2 -2
  54. package/dist/assets/{override-menu-B9xQcjuJ.js → override-menu-BJGRdWWE.js} +2 -2
  55. package/dist/assets/{validate-menu-D-ezd4W8.js → validate-menu-B_tmkHe7.js} +2 -2
  56. package/dist/{catalog-CvN9Wu8V.js → catalog-D7Jjqj3-.js} +1 -1
  57. package/dist/{catalogSetting-qS5Np22q.js → catalogSetting-Bg_zMUrV.js} +1 -1
  58. package/dist/{currency-Nxod6uwl.js → currency-DDxFMjAI.js} +1 -1
  59. package/dist/{dayjs.min-B1AjAGva.js → dayjs.min-BVOO8wJG.js} +1 -1
  60. package/dist/{index-Cq-czJjU.js → index-BlLRjkMF.js} +8 -7
  61. package/dist/{index-nKlYiotY.js → index-CG7GFWlC.js} +1 -1
  62. package/dist/index-Cq2MVpMv.js +472 -0
  63. package/dist/{index.vue_vue_type_script_setup_true_lang-YXKayPEp.js → index.vue_vue_type_script_setup_true_lang-C6IVvAua.js} +169 -168
  64. package/dist/{item-CUZSonzT.js → item-Bq6SCc7D.js} +3250 -3386
  65. package/dist/{jszip.min-BnkZQ6lD.js → jszip.min-1MrCGuHF.js} +2 -2
  66. package/dist/{menu-BP_ArXCI.js → menu-CKA9uouu.js} +1 -1
  67. package/dist/{menuV2-BGEYgQ8-.js → menuV2-DBkrmeha.js} +71 -71
  68. package/dist/{priceTier-B-Qa0xaO.js → priceTier-Cxr9IcVP.js} +1 -1
  69. package/dist/{rules-Dchd_ilF.js → rules-DFWR7a3m.js} +4 -4
  70. package/dist/{scheduler-DN7ZGLk8.js → scheduler-HKff8Ty2.js} +4 -4
  71. package/dist/{toExcel-jHmkDqcm.js → toExcel-DopYrxBW.js} +2 -2
  72. package/dist/{unit-DgL56pkI.js → unit-5G600HMJ.js} +2 -2
  73. package/package.json +1 -1
  74. package/dist/Products-DfUGnHmD.js +0 -1568
  75. package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-CcIGCUwk.js +0 -194
  76. package/dist/Variant-BF5r2WLL.js +0 -247
  77. package/dist/index-C0Zw1cSS.js +0 -545
  78. package/dist/translation-Cdap0IVg.js +0 -79
  79. /package/dist/apps/mf-menu/src/components/{TranslationBadge.vue.d.ts → translation/TranslationBadge.vue.d.ts} +0 -0
  80. /package/dist/apps/mf-menu/src/components/{TranslationFieldSection.vue.d.ts → translation/TranslationFieldSection.vue.d.ts} +0 -0
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as K, computed as i, h as u, ref as U, resolveComponent as b, createElementBlock as p, openBlock as d, createVNode as f, withCtx as g, createElementVNode as V, createCommentVNode as C, toDisplayString as j, unref as n, isRef as A, createBlock as D, Fragment as G, renderList as H } from "vue";
2
2
  import { useI18n as M } from "@feedmepos/mf-common";
3
3
  import { components as B, FmButtonColorThemeVariant as h, FmButtonVariant as I } from "@feedmepos/ui-library";
4
- import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-t8M7z09s.js";
5
- import { L as $ } from "./LinkProductSideSheet-DazOkwkd.js";
4
+ import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-CRLzqgQe.js";
5
+ import { L as $ } from "./LinkProductSideSheet-DY32g33Q.js";
6
6
  import { u as q } from "./search-BAPEUu1R.js";
7
- import { u as J, ap as Q } from "./index.vue_vue_type_script_setup_true_lang-YXKayPEp.js";
7
+ import { u as J, ap as Q } from "./index.vue_vue_type_script_setup_true_lang-C6IVvAua.js";
8
8
  const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }, Y = {
9
9
  key: 0,
10
10
  class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary"
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as se, computed as x, resolveComponent as _, createBlock as V, openBlock as p, createVNode as o, ref as G, createElementBlock as F, Fragment as K, renderSlot as be, unref as e, withCtx as g, createElementVNode as v, createCommentVNode as z, renderList as X, createTextVNode as xe, toDisplayString as N, markRaw as Ce, toRaw as ke, h as J, withModifiers as Q, normalizeClass as he } from "vue";
2
2
  import { useRouter as Fe } from "vue-router";
3
- import { u as pe, A as M, Q as fe, G as ge, D as re, B as Oe, I as le, M as ve, ad as ie, a4 as Me } from "./index.vue_vue_type_script_setup_true_lang-YXKayPEp.js";
3
+ import { u as pe, A as M, Q as fe, G as ge, D as re, B as Oe, I as le, M as ve, ad as ie, a4 as Me } from "./index.vue_vue_type_script_setup_true_lang-C6IVvAua.js";
4
4
  import { useI18n as ue, useCoreStore as _e } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as ye, components as ne, FmButtonVariant as W, FmButtonColorThemeVariant as Z, useDialog as Ve, useBreakpoints as De } from "@feedmepos/ui-library";
6
- import { _ as Se, R as ce } from "./app-CfCYl2pO.js";
6
+ import { _ as Se, R as ce } from "./app-CA4g3v2n.js";
7
7
  import { _ as Te } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
8
8
  import { _ as te } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
9
- import { _ as Ue } from "./RuleView.vue_vue_type_script_setup_true_lang-t8M7z09s.js";
10
- import { _ as me, a as we } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D83liryu.js";
9
+ import { _ as Ue } from "./RuleView.vue_vue_type_script_setup_true_lang-CRLzqgQe.js";
10
+ import { _ as me, a as we } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C309DrLU.js";
11
11
  import { c as Ee } from "./check-C9mY6LiX.js";
12
- import { C as B, a as P } from "./catalogSetting-qS5Np22q.js";
12
+ import { C as B, a as P } from "./catalogSetting-Bg_zMUrV.js";
13
13
  import { _ as Ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
14
- import { C as Ne } from "./catalog-CvN9Wu8V.js";
14
+ import { C as Ne } from "./catalog-D7Jjqj3-.js";
15
15
  const Re = /* @__PURE__ */ se({
16
16
  __name: "CatalogUsageTable",
17
17
  props: {
@@ -1,19 +1,19 @@
1
- import { defineComponent as S, ref as B, computed as C, h as m, withModifiers as E, getCurrentInstance as Y, resolveComponent as k, createElementBlock as f, openBlock as c, createElementVNode as s, createVNode as d, unref as a, withCtx as w, Fragment as Q, renderList as q, toDisplayString as V, createBlock as y, createCommentVNode as H } from "vue";
2
- import { useI18n as T } from "@feedmepos/mf-common";
3
- import { useDialog as N, useSnackbar as j, components as J, FmButtonVariant as L, useBreakpoints as W, FmButtonColorThemeVariant as X } from "@feedmepos/ui-library";
1
+ import { defineComponent as E, ref as $, computed as C, h as m, withModifiers as M, getCurrentInstance as Y, resolveComponent as x, createElementBlock as f, openBlock as c, createElementVNode as s, createVNode as u, unref as o, withCtx as k, Fragment as Q, renderList as q, toDisplayString as w, createBlock as y, createCommentVNode as H } from "vue";
2
+ import { useI18n as L } from "@feedmepos/mf-common";
3
+ import { useDialog as S, useSnackbar as T, components as J, FmButtonVariant as B, useBreakpoints as W, FmButtonColorThemeVariant as X } from "@feedmepos/ui-library";
4
4
  import { _ as Z } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { G as A, Q as D, M as ee, A as te, a4 as oe } from "./index.vue_vue_type_script_setup_true_lang-YXKayPEp.js";
5
+ import { G as N, Q as A, M as ee, A as te, a4 as oe } from "./index.vue_vue_type_script_setup_true_lang-C6IVvAua.js";
6
6
  import { _ as ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as ne } from "./app-CfCYl2pO.js";
7
+ import { _ as ne } from "./app-CA4g3v2n.js";
8
8
  import { c as le } from "./createForm-BoUQeZTd.js";
9
- import { a as se, A as I } from "./item-CUZSonzT.js";
10
- import { u as O, a as re } from "./menu-BP_ArXCI.js";
11
- import { g as ce } from "./translation-Cdap0IVg.js";
9
+ import { a as se, A as D } from "./item-Bq6SCc7D.js";
10
+ import { _ as re } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-CHT7Xozn.js";
11
+ import { u as R, a as ce } from "./menu-CKA9uouu.js";
12
12
  const ie = se, me = {
13
13
  key: 0
14
- }, de = {
15
- class: "flex justify-end items-center"
16
14
  }, ue = {
15
+ class: "flex justify-end items-center"
16
+ }, de = {
17
17
  class: "w-[320px]"
18
18
  }, pe = {
19
19
  key: 1,
@@ -28,17 +28,17 @@ const ie = se, me = {
28
28
  class: "fm-typo-en-body-lg-600"
29
29
  }, ve = {
30
30
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
31
- }, be = /* @__PURE__ */ S({
31
+ }, be = /* @__PURE__ */ E({
32
32
  __name: "CategoryTable",
33
- setup(R) {
34
- const u = N(), p = j(), h = A(p), _ = D(h), v = I({
35
- dialog: u,
33
+ setup(z) {
34
+ const d = S(), p = T(), h = N(p), _ = A(h), v = D({
35
+ dialog: d,
36
36
  menuLoader: _
37
37
  }), {
38
38
  categories: i
39
- } = O(), n = B(""), g = C(() => i.value.filter((e) => e.name.toLowerCase().includes(n.value.toLowerCase()))), {
39
+ } = R(), n = $(""), g = C(() => i.value.filter((e) => e.name.toLowerCase().includes(n.value.toLowerCase()))), {
40
40
  t: l
41
- } = T(), F = B([{
41
+ } = L(), V = $([{
42
42
  accessorKey: "name",
43
43
  header: () => l("menu.category.columns.title"),
44
44
  enableSorting: !1,
@@ -46,14 +46,14 @@ const ie = se, me = {
46
46
  width: "auto"
47
47
  },
48
48
  cell: (e) => {
49
- const o = e.row.original, r = e.getValue(), x = Object.keys(o.name_locale ?? {}).map((t) => ce(t));
49
+ const t = e.row.original, r = e.getValue();
50
50
  return m("div", {
51
51
  class: "flex items-center gap-8"
52
52
  }, [m("span", {
53
53
  class: "break-all"
54
- }, r), ...x.map((t) => m("div", {
55
- class: "rounded-lg border border-fm-color-primary text-fm-color-primary flex items-center justify-center fm-typo-en-body-sm-600 px-8"
56
- }, t))]);
54
+ }, r), t.name_locale ? m(re, {
55
+ nameLocale: t.name_locale ?? {}
56
+ }) : null]);
57
57
  }
58
58
  }, {
59
59
  accessorKey: "items",
@@ -61,9 +61,9 @@ const ie = se, me = {
61
61
  enableSorting: !1,
62
62
  size: 200,
63
63
  cell: (e) => {
64
- const o = e.row.original;
65
- return l(o.items.length > 1 ? "menu.common.labels.product_linked_plural" : "menu.common.labels.product_linked_singular", {
66
- count: o.items.length
64
+ const t = e.row.original;
65
+ return l(t.items.length > 1 ? "menu.common.labels.product_linked_plural" : "menu.common.labels.product_linked_singular", {
66
+ count: t.items.length
67
67
  });
68
68
  }
69
69
  }, {
@@ -75,16 +75,16 @@ const ie = se, me = {
75
75
  },
76
76
  header: "",
77
77
  cell: (e) => {
78
- const o = e.row.original;
78
+ const t = e.row.original;
79
79
  return m("div", {
80
80
  class: "flex justify-end"
81
81
  }, [m(J.FmButton, {
82
82
  icon: "delete",
83
- disabled: !o.id,
83
+ disabled: !t.id,
84
84
  variant: "tertiary",
85
85
  textColor: "neutral-gray-400",
86
- onClick: E(async () => {
87
- await b(o);
86
+ onClick: M(async () => {
87
+ await b(t);
88
88
  }, ["stop", "prevent"])
89
89
  })]);
90
90
  }
@@ -97,7 +97,7 @@ const ie = se, me = {
97
97
  });
98
98
  return;
99
99
  }
100
- u.open({
100
+ d.open({
101
101
  title: l("menu.category.dialog.remove.title"),
102
102
  message: l("menu.common.dialog.remove_confirmation", {
103
103
  name: e.name
@@ -105,7 +105,7 @@ const ie = se, me = {
105
105
  primaryActions: {
106
106
  text: "Remove",
107
107
  close: !0,
108
- variant: L.Destructive
108
+ variant: B.Destructive
109
109
  },
110
110
  secondaryActions: {
111
111
  text: "Cancel",
@@ -120,96 +120,96 @@ const ie = se, me = {
120
120
  }, e.name, !0);
121
121
  });
122
122
  }
123
- async function z(e) {
124
- const o = e.map((r) => r.id).filter((r) => !!r);
125
- await v.rearrange(o);
123
+ async function I(e) {
124
+ const t = e.map((r) => r.id).filter((r) => !!r);
125
+ await v.rearrange(t);
126
126
  }
127
- const U = Y();
128
- async function M(e) {
129
- le(U, ie, {
127
+ const O = Y();
128
+ async function F(e) {
129
+ le(O, ie, {
130
130
  initialValue: e
131
131
  });
132
132
  }
133
- const K = W(), P = C(() => K.breakpoints.value.xs);
134
- return (e, o) => {
135
- const r = k("FmSearch"), $ = k("FmTable"), x = k("FmButton");
136
- return P.value ? (c(), f("div", pe, [s("div", _e, [d(r, {
133
+ const U = W(), j = C(() => U.breakpoints.value.xs);
134
+ return (e, t) => {
135
+ const r = x("FmSearch"), K = x("FmTable"), P = x("FmButton");
136
+ return j.value ? (c(), f("div", pe, [s("div", _e, [u(r, {
137
137
  autofocus: "",
138
138
  modelValue: n.value,
139
- "onUpdate:modelValue": o[2] || (o[2] = (t) => n.value = t),
139
+ "onUpdate:modelValue": t[2] || (t[2] = (a) => n.value = a),
140
140
  class: "w-full",
141
- placeholder: a(l)("menu.common.labels.search_placeholder", {
141
+ placeholder: o(l)("menu.common.labels.search_placeholder", {
142
142
  type: "categories"
143
143
  })
144
- }, null, 8, ["modelValue", "placeholder"])]), s("div", ge, [(c(!0), f(Q, null, q(g.value, (t) => (c(), f("div", {
145
- key: t.id || "",
144
+ }, null, 8, ["modelValue", "placeholder"])]), s("div", ge, [(c(!0), f(Q, null, q(g.value, (a) => (c(), f("div", {
145
+ key: a.id || "",
146
146
  class: "flex flex-row py-12 px-16",
147
- onClick: (G) => M(t)
148
- }, [s("div", ye, [s("p", he, V(t.name), 1), s("p", ve, V(a(l)(t.items.length > 1 ? "menu.common.labels.product_linked_plural" : "menu.common.labels.product_linked_singular", {
149
- count: t.items.length
150
- })), 1)]), d(x, {
151
- "text-color": a(X).NeutralGray400,
152
- variant: a(L).Tertiary,
147
+ onClick: (G) => F(a)
148
+ }, [s("div", ye, [s("p", he, w(a.name), 1), s("p", ve, w(o(l)(a.items.length > 1 ? "menu.common.labels.product_linked_plural" : "menu.common.labels.product_linked_singular", {
149
+ count: a.items.length
150
+ })), 1)]), u(P, {
151
+ "text-color": o(X).NeutralGray400,
152
+ variant: o(B).Tertiary,
153
153
  "prepend-icon": "delete",
154
- disabled: !t.id,
155
- onClick: E((G) => b(t), ["stop"])
156
- }, null, 8, ["text-color", "variant", "disabled", "onClick"])], 8, fe))), 128))])])) : (c(), f("div", me, [s("div", de, [s("div", ue, [d(r, {
154
+ disabled: !a.id,
155
+ onClick: M((G) => b(a), ["stop"])
156
+ }, null, 8, ["text-color", "variant", "disabled", "onClick"])], 8, fe))), 128))])])) : (c(), f("div", me, [s("div", ue, [s("div", de, [u(r, {
157
157
  modelValue: n.value,
158
- "onUpdate:modelValue": o[0] || (o[0] = (t) => n.value = t),
158
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => n.value = a),
159
159
  autofocus: "",
160
160
  class: "mb-8",
161
- placeholder: a(l)("menu.common.labels.search_placeholder", {
162
- type: a(l)("menu.category.title")
161
+ placeholder: o(l)("menu.common.labels.search_placeholder", {
162
+ type: o(l)("menu.category.title")
163
163
  })
164
- }, null, 8, ["modelValue", "placeholder"])])]), d(ne, null, {
165
- default: w(() => [d($, {
166
- "column-defs": F.value,
164
+ }, null, 8, ["modelValue", "placeholder"])])]), u(ne, null, {
165
+ default: k(() => [u(K, {
166
+ "column-defs": V.value,
167
167
  draggable: !0,
168
- "page-size": a(i).length,
169
- "row-data": a(i),
168
+ "page-size": o(i).length,
169
+ "row-data": o(i),
170
170
  "search-value": n.value,
171
171
  "shrink-at": !1,
172
172
  "hide-footer": "",
173
173
  "pin-header-row": "",
174
- onDndChanged: z,
175
- onRowClick: o[1] || (o[1] = (t) => M(t.original))
174
+ onDndChanged: I,
175
+ onRowClick: t[1] || (t[1] = (a) => F(a.original))
176
176
  }, null, 8, ["column-defs", "page-size", "row-data", "search-value"])]),
177
177
  _: 1
178
178
  })]));
179
179
  };
180
180
  }
181
- }), xe = { class: "flex-1 flex justify-between gap-8 pl-8" }, ke = { class: "flex items-center" }, Ce = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, we = { class: "fm-typo-en-body-md-600 font-semibold" }, Ae = /* @__PURE__ */ S({
181
+ }), xe = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ce = { class: "flex items-center" }, ke = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, we = { class: "fm-typo-en-body-md-600 font-semibold" }, De = /* @__PURE__ */ E({
182
182
  __name: "Category",
183
- setup(R) {
184
- const u = N(), p = j(), h = A(p), _ = D(h), v = I({ dialog: u, menuLoader: _ }), { categories: i } = O(), { t: n } = T();
183
+ setup(z) {
184
+ const d = S(), p = T(), h = N(p), _ = A(h), v = D({ dialog: d, menuLoader: _ }), { categories: i } = R(), { t: n } = L();
185
185
  function g() {
186
186
  v.create();
187
187
  }
188
188
  const l = C(() => i.value.length);
189
- return re().resetOnMount(), (F, b) => (c(), y(ae, {
190
- heading: a(n)("menu.category.title")
189
+ return ce().resetOnMount(), (V, b) => (c(), y(ae, {
190
+ heading: o(n)("menu.category.title")
191
191
  }, {
192
- default: w(() => [
193
- a(i).length > 0 ? (c(), y(be, { key: 0 })) : (c(), y(a(oe), {
192
+ default: k(() => [
193
+ o(i).length > 0 ? (c(), y(be, { key: 0 })) : (c(), y(o(oe), {
194
194
  key: 1,
195
195
  action: {
196
- text: a(n)("menu.category.add"),
196
+ text: o(n)("menu.category.add"),
197
197
  callback: g
198
198
  },
199
- subtitle: a(n)("menu.category.empty.subtitle"),
200
- title: a(n)("menu.category.empty.title")
199
+ subtitle: o(n)("menu.category.empty.subtitle"),
200
+ title: o(n)("menu.category.empty.title")
201
201
  }, null, 8, ["action", "subtitle", "title"]))
202
202
  ]),
203
- "append-heading": w(() => [
203
+ "append-heading": k(() => [
204
204
  s("div", xe, [
205
- s("div", ke, [
206
- s("div", Ce, [
207
- s("p", we, V(l.value), 1)
205
+ s("div", Ce, [
206
+ s("div", ke, [
207
+ s("p", we, w(l.value), 1)
208
208
  ])
209
209
  ]),
210
- a(i).length > 0 ? (c(), y(Z, {
210
+ o(i).length > 0 ? (c(), y(Z, {
211
211
  key: 0,
212
- label: a(n)("menu.category.add"),
212
+ label: o(n)("menu.category.add"),
213
213
  "prepend-icon": "add",
214
214
  onClick: g
215
215
  }, null, 8, ["label"])) : H("", !0)
@@ -220,5 +220,5 @@ const ie = se, me = {
220
220
  }
221
221
  });
222
222
  export {
223
- Ae as default
223
+ De as default
224
224
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as V, computed as k, ref as C, resolveComponent as w, createElementBlock as g, openBlock as u, createElementVNode as i, createVNode as _, unref as a, withCtx as z, Fragment as A, renderList as K, toDisplayString as E, createBlock as S } from "vue";
2
2
  import { useI18n as M } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as L, useBreakpoints as P, useDialog as U } from "@feedmepos/ui-library";
4
- import { G as F, u as I, $ as Y, Q as T, M as j, A as q, a4 as G } from "./index.vue_vue_type_script_setup_true_lang-YXKayPEp.js";
5
- import { _ as Q } from "./app-CfCYl2pO.js";
6
- import { u as B } from "./menu-BP_ArXCI.js";
7
- import { A as R } from "./item-CUZSonzT.js";
4
+ import { G as F, u as I, $ as Y, Q as T, M as j, A as q, a4 as G } from "./index.vue_vue_type_script_setup_true_lang-C6IVvAua.js";
5
+ import { _ as Q } from "./app-CA4g3v2n.js";
6
+ import { u as B } from "./menu-CKA9uouu.js";
7
+ import { A as R } from "./item-Bq6SCc7D.js";
8
8
  const H = {
9
9
  key: 0
10
10
  }, J = {
@@ -2,12 +2,12 @@ import { defineComponent as le, ref as V, computed as F, resolveComponent as x,
2
2
  import { useI18n as se } from "@feedmepos/mf-common";
3
3
  import { components as de, useBreakpoints as be, useSnackbar as ye, useDialog as ke } from "@feedmepos/ui-library";
4
4
  import { _ as he } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as xe } from "./app-CfCYl2pO.js";
6
- import { I as ee, J as me, M as re, A as oe, u as Ce, Q as we, G as Fe, a4 as Ve } from "./index.vue_vue_type_script_setup_true_lang-YXKayPEp.js";
5
+ import { _ as xe } from "./app-CA4g3v2n.js";
6
+ import { I as ee, J as me, M as re, A as oe, u as Ce, Q as we, G as Fe, a4 as Ve } from "./index.vue_vue_type_script_setup_true_lang-C6IVvAua.js";
7
7
  import { d as Se } from "./vuedraggable-CK8z7qA8.js";
8
- import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-t8M7z09s.js";
8
+ import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-CRLzqgQe.js";
9
9
  import { u as pe } from "./discardConfirm-BHni0LNu.js";
10
- import { L as Ie } from "./LinkProductSideSheet-DazOkwkd.js";
10
+ import { L as Ie } from "./LinkProductSideSheet-DY32g33Q.js";
11
11
  import { _ as $e } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
12
12
  const Oe = { class: "flex items-center gap-8" }, Ee = { class: "grow" }, Ke = { class: "space-y-32" }, Le = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, Ne = { class: "px-16 py-8 w-[40%]" }, De = { class: "px-16 py-8 grow" }, Ge = { class: "px-16 py-8 w-[40%]" }, Me = { class: "px-16 py-8 grow" }, Ue = { class: "space-y-16" }, Be = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Te = { class: "flex gap-8 items-center justify-start" }, ze = /* @__PURE__ */ le({
13
13
  __name: "CookingGuideStepDialog",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as S, computed as o, createBlock as v, openBlock as t, unref as c, withCtx as g, renderSlot as B, ref as A, resolveComponent as I, createElementBlock as a, createElementVNode as m, createCommentVNode as b, Fragment as f, renderList as C, toDisplayString as d, withModifiers as F } from "vue";
2
2
  import { useI18n as V } from "@feedmepos/mf-common";
3
3
  import { _ as M } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
4
- import { u as D } from "./index.vue_vue_type_script_setup_true_lang-YXKayPEp.js";
4
+ import { u as D } from "./index.vue_vue_type_script_setup_true_lang-C6IVvAua.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({
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-BJPT8flL.js";
1
+ import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-1UdOBdv-.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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-BJPT8flL.js";
6
- import { B as b } from "./item-CUZSonzT.js";
7
- import { a as h } from "./menu-BP_ArXCI.js";
5
+ import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-1UdOBdv-.js";
6
+ import { B as b } from "./item-Bq6SCc7D.js";
7
+ import { a as h } from "./menu-CKA9uouu.js";
8
8
  const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, A = /* @__PURE__ */ m({
9
9
  __name: "Group",
10
10
  setup(B) {