@feedmepos/mf-menu 0.32.71 → 0.32.72-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 (74) hide show
  1. package/dist/{App-Bay6p3xd.js → App-DpBAxq_x.js} +6 -6
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Je_NoQ3y.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BE34SL6B.js} +12 -12
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-DBjYkJhB.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-Cg4oaBql.js} +3 -3
  4. package/dist/{Catalog-DfWHNm4n.js → Catalog-BCKu3av3.js} +20 -20
  5. package/dist/{Category-51BrJsdv.js → Category-D8fstrW5.js} +4 -4
  6. package/dist/{Category-m45WrP7O.js → Category-DRyJ8Y9S.js} +4 -4
  7. package/dist/{CookingGuide-Dk-ibGYd.js → CookingGuide-BKTlBPm-.js} +46 -46
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CzpScELw.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BHqJGqLf.js} +1 -1
  9. package/dist/{Group-NUWfR17j.js → Group-DMLdJAIA.js} +1 -1
  10. package/dist/{Group-CZDoqPK7.js → Group-_vEUeyva.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-h8zygLBJ.js → Group.vue_vue_type_script_setup_true_lang-BEONKZuB.js} +7 -7
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Dq5jMv3_.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B2pS71Xq.js} +24 -24
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-EsQKUSJa.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BHNmNXw0.js} +7 -7
  14. package/dist/{Ingredient-CcnUyiM5.js → Ingredient-DeGrqMqN.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BwxZEDVT.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DFOcD2mw.js} +2 -2
  16. package/dist/{LinkProductSideSheet-ClMiajzX.js → LinkProductSideSheet-BZNe2r8t.js} +4 -4
  17. package/dist/{MenuSetting-Dw3lVHtp.js → MenuSetting-yb8w_Nwc.js} +7 -7
  18. package/dist/{OrderPacing-Dh8T7OKW.js → OrderPacing-DRApEr9x.js} +5 -5
  19. package/dist/{PrintRoute-BrSaSZI3.js → PrintRoute-DK3ZMajo.js} +10 -10
  20. package/dist/{Product-CQ7AuhbY.js → Product-CBhhhicD.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-Bw6l2IEC.js → Product.vue_vue_type_script_setup_true_lang-CPgECJwS.js} +14 -14
  22. package/dist/ProductInternalTools-D8j9hMuA.js +439 -0
  23. package/dist/{Products-CoL7S7-1.js → Products-Db0Ihn6p.js} +47 -47
  24. package/dist/{Publish-C_lOqrSX.js → Publish-BFBUjUWu.js} +4 -4
  25. package/dist/{Recipe-Ce8qXnG5.js → Recipe-B0r5vJz6.js} +5 -5
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DMB9bFg9.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-C8Jk7KEh.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-D9i9tMAj.js → RuleView.vue_vue_type_script_setup_true_lang-DPCcNBrm.js} +193 -193
  28. package/dist/{Scheduler-B2ZtWIPp.js → Scheduler-yOdnbwyV.js} +17 -17
  29. package/dist/{ServingSequence-BWZ1YpzI.js → ServingSequence-CEcYzZKq.js} +3 -3
  30. package/dist/{Setting-CdxNVi7G.js → Setting-CEwxLrwm.js} +5 -5
  31. package/dist/{Subcategory-Bn0O6i5t.js → Subcategory-b1NEH4Rt.js} +6 -6
  32. package/dist/{Takeaway-yE0GhL5I.js → Takeaway-BwGq2ti3.js} +4 -4
  33. package/dist/{Takeaway-luRkknPl.js → Takeaway-C4X3hjz2.js} +1 -1
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CnZTbF3e.js → Takeaway.vue_vue_type_script_setup_true_lang-Da28Vzx1.js} +5 -5
  35. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-B3N7_zfR.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-DIP7cNpd.js} +1 -1
  36. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-BLzzBcqV.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CCYzllV_.js} +2 -2
  37. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BvnoCeCw.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-e_pAe_Ob.js} +15 -15
  38. package/dist/{Unit-JPFtrbuS.js → Unit-DWGvi3C5.js} +2 -2
  39. package/dist/{Variant-BGJ-aKF1.js → Variant-2YYwBJmZ.js} +3 -3
  40. package/dist/{_id_-BUlkRwgU.js → _id_-3pf3YlPS.js} +10 -10
  41. package/dist/{app-2VeaJE9t.js → app-D1p44Rbf.js} +37 -37
  42. package/dist/{app-CMjz-bvL.js → app-D6CmNX90.js} +1 -1
  43. package/dist/app.js +1 -1
  44. package/dist/apps/mf-menu/src/app.d.ts +20 -0
  45. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +65 -16
  46. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  47. package/dist/assets/{linked-status-B9caUckb.js → linked-status-B_5fbldk.js} +4 -4
  48. package/dist/assets/{menu-export-DYfPYpgS.js → menu-export-Dje2CzXB.js} +3 -3
  49. package/dist/assets/{override-menu-uNjUqcak.js → override-menu-CpJc9-6f.js} +4 -4
  50. package/dist/assets/{validate-menu-BiXMOXpN.js → validate-menu-CpDDVAwU.js} +3 -3
  51. package/dist/{catalog--64fgdzd.js → catalog-Ds7c8bSK.js} +1 -1
  52. package/dist/{catalogSetting-CplTgRmk.js → catalogSetting-qbnlvX9R.js} +1 -1
  53. package/dist/{currency-CjYkQ4FL.js → currency-BQjK22_U.js} +1 -1
  54. package/dist/dayjs.min-BjENDBB5.js +7 -0
  55. package/dist/{discardConfirm-DOc0ieeO.js → discardConfirm-DhbS0wLN.js} +1 -1
  56. package/dist/{index-BrtZ42qx.js → index-BqB1Vagh.js} +6 -6
  57. package/dist/{index-CTA48kW2.js → index-C2rMjg4b.js} +1 -1
  58. package/dist/{index-Dw_Fw5ni.js → index-YU-FPKch.js} +5 -5
  59. package/dist/{index.vue_vue_type_script_setup_true_lang-BCZZq6zJ.js → index.vue_vue_type_script_setup_true_lang-DILo07iQ.js} +4420 -4414
  60. package/dist/{item-DL0lbXPC.js → item-CN-mYmn-.js} +1158 -1163
  61. package/dist/{jszip.min-CTn9qnAT.js → jszip.min-DdiexxWX.js} +3 -3
  62. package/dist/{linkProducts-DNPyRjOC.js → linkProducts-DSa1bP0Z.js} +4 -4
  63. package/dist/{memberPricing-ByMD7Sun.js → memberPricing-BLIgqSgU.js} +1 -1
  64. package/dist/{menu-C77otNXH.js → menu-kYSa55lO.js} +1 -1
  65. package/dist/{menuV2-Bi_EMfOM.js → menuV2-BJ-6TZDX.js} +24 -24
  66. package/dist/{order_pacing-29v64nh0.js → order_pacing-CeCi-pP3.js} +5 -5
  67. package/dist/{priceTier-BscL3YjX.js → priceTier-CsF1g5ie.js} +1 -1
  68. package/dist/{rules-BYL-otiB.js → rules-C3jtb0rM.js} +3 -3
  69. package/dist/{scheduler-Cqvnr0u1.js → scheduler-DZpjPLLc.js} +5 -5
  70. package/dist/{toExcel-421pbm-Z.js → toExcel-DI9BOlMc.js} +2 -2
  71. package/dist/{unit-DDtyAbV0.js → unit-DeNymCWc.js} +17 -17
  72. package/package.json +1 -1
  73. package/dist/ProductInternalTools-2rYX2GR0.js +0 -416
  74. package/dist/dayjs.min-DCMtwvjf.js +0 -7
@@ -2,15 +2,15 @@ var tt = Object.defineProperty;
2
2
  var At = (t, e, A) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: A }) : t[e] = A;
3
3
  var Te = (t, e, A) => At(t, typeof e != "symbol" ? e + "" : e, A);
4
4
  import { readonly, ref, defineComponent, watchEffect, computed, watch, createElementBlock, openBlock, normalizeStyle, onBeforeUnmount, createBlock, unref, resolveComponent, normalizeClass, createSlots, withCtx, createElementVNode, createVNode, toDisplayString, createCommentVNode, onUnmounted, onMounted, Fragment } from "vue";
5
- import { u as useMenuStore, c as coreDartExports, F as F_MENU_VERSION, a as coreExports, m as menuExports } from "./index.vue_vue_type_script_setup_true_lang-BCZZq6zJ.js";
6
- import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-2VeaJE9t.js";
5
+ import { u as useMenuStore, c as coreDartExports, F as F_MENU_VERSION, a as coreExports, m as menuExports } from "./index.vue_vue_type_script_setup_true_lang-DILo07iQ.js";
6
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-D1p44Rbf.js";
7
7
  import { installBusinessQueryStatePlugin, useCoreStore, RestaurantSelector, useI18n, FeedMeAuth, useLocale } from "@feedmepos/mf-common";
8
8
  import { useBreakpoints } from "@feedmepos/ui-library";
9
9
  import { createRouter, createWebHistory, useRouter } from "vue-router";
10
- import { _ as _sfc_main$7 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BvnoCeCw.js";
10
+ import { _ as _sfc_main$7 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-e_pAe_Ob.js";
11
11
  import { _ as _export_sfc$1 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- import { r as registerVersion, g as getApp, _ as _getProvider, a as getExperimentalSetting, b as getDefaultEmulatorHost, c as _isFirebaseServerApp, d as deepEqual, e as getModularInstance, f as getUA, E as ErrorFactory, i as isIE, h as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, j as isMobileCordova, k as isReactNative, l as base64Decode, L as Logger, m as LogLevel, n as isBrowserExtension, o as isCloudflareWorker, p as _registerComponent, C as Component, s as createSubscribe, t as getApps, u as initializeApp, v as getStorage } from "./item-DL0lbXPC.js";
13
- import { u as useAppStore } from "./app-CMjz-bvL.js";
12
+ import { r as registerVersion, g as getApp, _ as _getProvider, a as getExperimentalSetting, b as getDefaultEmulatorHost, c as _isFirebaseServerApp, d as deepEqual, e as getModularInstance, f as getUA, E as ErrorFactory, i as isIE, h as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, j as isMobileCordova, k as isReactNative, l as base64Decode, L as Logger, m as LogLevel, n as isBrowserExtension, o as isCloudflareWorker, p as _registerComponent, C as Component, s as createSubscribe, t as getApps, u as initializeApp, v as getStorage } from "./item-CN-mYmn-.js";
13
+ import { u as useAppStore } from "./app-D6CmNX90.js";
14
14
  var flagsmith$1 = { exports: {} }, flagsmith = flagsmith$1.exports, hasRequiredFlagsmith;
15
15
  function requireFlagsmith() {
16
16
  return hasRequiredFlagsmith || (hasRequiredFlagsmith = 1, function(t, e) {
@@ -13543,7 +13543,7 @@ const _hoisted_1 = {
13543
13543
  I && I === F_MENU_VERSION.enum.v4 && router.addRoute({
13544
13544
  path: "/serving-sequence",
13545
13545
  name: "serving-sequence",
13546
- component: () => import("./ServingSequence-BWZ1YpzI.js")
13546
+ component: () => import("./ServingSequence-CEcYzZKq.js")
13547
13547
  });
13548
13548
  }
13549
13549
  ), watch(
@@ -1,10 +1,10 @@
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
- import { useI18n as M } from "@feedmepos/mf-common";
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 q, createBlock as A, Fragment as D, renderList as G } from "vue";
2
+ import { useI18n as H } 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-D9i9tMAj.js";
5
- import { L as $ } from "./LinkProductSideSheet-ClMiajzX.js";
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-BCZZq6zJ.js";
4
+ import { _ as M } from "./RuleView.vue_vue_type_script_setup_true_lang-DPCcNBrm.js";
5
+ import { L as O } from "./LinkProductSideSheet-BZNe2r8t.js";
6
+ import { u as $ } from "./search-BAPEUu1R.js";
7
+ import { u as J, aq as Q } from "./index.vue_vue_type_script_setup_true_lang-DILo07iQ.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"
@@ -23,7 +23,7 @@ const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }
23
23
  },
24
24
  emits: ["update:overrides", "row-click"],
25
25
  setup(z, { emit: F }) {
26
- const s = z, _ = F, L = J(), { searchKey: m, filter: w } = q(), y = i(() => s.categorizedItems || L.categorizedItems), k = i(() => Q(y.value, s.overrides)), P = i(() => k.value.reduce((t, e) => {
26
+ const s = z, _ = F, L = J(), { searchKey: m, filter: w } = $(), y = i(() => s.categorizedItems || L.categorizedItems), k = i(() => Q(y.value, s.overrides)), P = i(() => k.value.reduce((t, e) => {
27
27
  if (w([e.name]))
28
28
  return t.push(e), t;
29
29
  const r = e.items.filter((a) => w([a.label]));
@@ -34,7 +34,7 @@ const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }
34
34
  const r = e ? (a = s.overrides) == null ? void 0 : a.filter((o) => !(o._id === t && o.combinationKey === e)) : (l = s.overrides) == null ? void 0 : l.filter((o) => o._id !== t);
35
35
  _("update:overrides", r ?? []);
36
36
  }
37
- const { t: c } = M(), E = i(
37
+ const { t: c } = H(), E = i(
38
38
  () => (t) => [
39
39
  {
40
40
  accessorKey: "label",
@@ -97,10 +97,10 @@ const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }
97
97
  return (t, e) => {
98
98
  const r = b("fm-button"), a = b("fm-search"), l = b("fm-table");
99
99
  return d(), p("div", W, [
100
- f(O, { title: t.title }, {
100
+ f(M, { title: t.title }, {
101
101
  "append-title": g(() => [
102
102
  V("div", null, [
103
- t.editable ? (d(), D($, {
103
+ t.editable ? (d(), A(O, {
104
104
  key: 0,
105
105
  "categorized-items": y.value,
106
106
  "initial-value": t.overrides,
@@ -128,7 +128,7 @@ const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }
128
128
  t.editable ? (d(), p("p", Y, j(n(c)("menu.common.labels.product_count", { count: T.value })), 1)) : C("", !0),
129
129
  f(a, {
130
130
  modelValue: n(m),
131
- "onUpdate:modelValue": e[1] || (e[1] = (o) => A(m) ? m.value = o : null),
131
+ "onUpdate:modelValue": e[1] || (e[1] = (o) => q(m) ? m.value = o : null),
132
132
  placeholder: n(c)("menu.common.labels.search_product"),
133
133
  class: "flex-1"
134
134
  }, null, 8, ["modelValue", "placeholder"])
@@ -136,7 +136,7 @@ const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }
136
136
  ]),
137
137
  _: 1
138
138
  }, 8, ["title"]),
139
- (d(!0), p(G, null, H(P.value, (o) => (d(), p("div", {
139
+ (d(!0), p(D, null, G(P.value, (o) => (d(), p("div", {
140
140
  key: o.id || "",
141
141
  class: "xs:overflow-x-scroll"
142
142
  }, [
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as C, ref as d, resolveComponent as f, createElementBlock as w, openBlock as z, Fragment as F, renderSlot as S, createVNode as l, unref as i, withCtx as r, createElementVNode as v, toDisplayString as B } from "vue";
2
- import { l as _, u as D } from "./discardConfirm-DOc0ieeO.js";
2
+ import { l as _, u as D } from "./discardConfirm-DhbS0wLN.js";
3
3
  import { useI18n as E } from "@feedmepos/mf-common";
4
4
  import { components as x } from "@feedmepos/ui-library";
5
- import { _ as A } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-Je_NoQ3y.js";
5
+ import { _ as A } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BE34SL6B.js";
6
6
  import { c as O } from "./check-C9mY6LiX.js";
7
- import { u as I } from "./index.vue_vue_type_script_setup_true_lang-BCZZq6zJ.js";
7
+ import { u as I } from "./index.vue_vue_type_script_setup_true_lang-DILo07iQ.js";
8
8
  const N = { class: "fm-typo-en-title-md-600" }, P = { class: "flex gap-8 items-center justify-start" }, J = /* @__PURE__ */ C({
9
9
  __name: "ApplyProductDialog",
10
10
  props: {
@@ -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 j, createElementBlock as F, Fragment as G, renderSlot as xe, unref as e, withCtx as g, createElementVNode as v, createCommentVNode as z, renderList as X, createTextVNode as ke, toDisplayString as $, markRaw as Ce, toRaw as he, h as J, withModifiers as Q, normalizeClass as Fe } from "vue";
2
2
  import { useRouter as Oe } from "vue-router";
3
- import { u as pe, F as Ve, i as fe, b as ge, m as re, a as Me, k as N, d as le, g as ve, h as _e, O as ie, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-BCZZq6zJ.js";
3
+ import { u as pe, F as Ve, i as fe, b as ge, m as re, a as Me, k as N, d as le, g as ve, h as _e, P as ie, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-DILo07iQ.js";
4
4
  import { useI18n as ue, useCoreStore as ye } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as be, components as ne, FmButtonVariant as W, FmButtonColorThemeVariant as Z, useDialog as Te, useBreakpoints as we } from "@feedmepos/ui-library";
6
- import { _ as Ue, R as ce } from "./app-2VeaJE9t.js";
6
+ import { _ as Ue, R as ce } from "./app-D1p44Rbf.js";
7
7
  import { _ as Ae } 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 De } from "./RuleView.vue_vue_type_script_setup_true_lang-D9i9tMAj.js";
10
- import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Dq5jMv3_.js";
9
+ import { _ as De } from "./RuleView.vue_vue_type_script_setup_true_lang-DPCcNBrm.js";
10
+ import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B2pS71Xq.js";
11
11
  import { c as $e } from "./check-C9mY6LiX.js";
12
- import { C as P, a as R } from "./catalogSetting-CplTgRmk.js";
12
+ import { C as B, a as R } from "./catalogSetting-qbnlvX9R.js";
13
13
  import { _ as Le } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
14
- import { C as Ee } from "./catalog--64fgdzd.js";
14
+ import { C as Ee } from "./catalog-Ds7c8bSK.js";
15
15
  const Ie = /* @__PURE__ */ se({
16
16
  __name: "CatalogUsageTable",
17
17
  props: {
@@ -77,19 +77,19 @@ const Ie = /* @__PURE__ */ se({
77
77
  }, null, 8, ["row-data", "page-size"]);
78
78
  };
79
79
  }
80
- }), Be = { class: "space-y-32" }, Pe = {
80
+ }), Pe = { class: "space-y-32" }, Be = {
81
81
  key: 0,
82
82
  class: "pl-32 space-x-8"
83
83
  }, Re = { class: "pl-[60px] space-y-16" }, ze = { class: "space-x-16 flex items-center" }, je = { class: "flex-1 space-y-4" }, Ge = { class: "fm-typo-en-body-lg-400" }, Ke = { class: "fm-typo-en-body-md-400" }, Ye = { class: "flex gap-8 items-center justify-start" }, He = /* @__PURE__ */ se({
84
84
  __name: "Form",
85
85
  setup(ee, { expose: M }) {
86
86
  const d = j(!1), S = j(!1), L = (c, u) => {
87
- $e.isBoolean(c) ? d.value = c : d.value = !d.value, d.value && (r.value = P.fromCatalog(
87
+ $e.isBoolean(c) ? d.value = c : d.value = !d.value, d.value && (r.value = B.fromCatalog(
88
88
  u ?? re.generator.initMenuV4Catalog(),
89
89
  y.value
90
90
  ));
91
91
  }, y = x(() => k.version === Ve.enum.v4), k = pe(), A = ye(), m = fe(ge(be())), r = j(
92
- P.fromCatalog(re.generator.initMenuV4Catalog(), y.value)
92
+ B.fromCatalog(re.generator.initMenuV4Catalog(), y.value)
93
93
  ), ae = x(() => k.catalogs.map((c) => c.name)), K = x({
94
94
  get: () => r.value.taxSetting,
95
95
  set: (c) => {
@@ -108,7 +108,7 @@ const Ie = /* @__PURE__ */ se({
108
108
  });
109
109
  });
110
110
  function E(c) {
111
- const u = r.value.taxSetting, f = u.mode === R.AUTO ? P.manualTax(Y.value) : le(u);
111
+ const u = r.value.taxSetting, f = u.mode === R.AUTO ? B.manualTax(Y.value) : le(u);
112
112
  f.inclusive ?? (f.inclusive = []);
113
113
  const C = f.inclusive.findIndex((U) => U.systemCode === c.systemCode);
114
114
  C < 0 ? f.inclusive.push(c) : f.inclusive.splice(C, 1, c), K.value = f;
@@ -125,7 +125,7 @@ const Ie = /* @__PURE__ */ se({
125
125
  S.value = !0;
126
126
  const c = {
127
127
  ...r.value,
128
- ...P.toCatalog(r.value)
128
+ ...B.toCatalog(r.value)
129
129
  };
130
130
  try {
131
131
  await m.updateMenu(
@@ -142,10 +142,10 @@ const Ie = /* @__PURE__ */ se({
142
142
  }
143
143
  const { t: i } = ue();
144
144
  return M({ trigger: L }), (c, u) => {
145
- const f = _("fm-text-field"), C = _("fm-radio"), U = _("fm-radio-group"), D = _("fm-checkbox"), I = _("fm-switch"), s = _("fm-select"), a = _("fm-button"), l = _("fm-chip"), O = _("fm-card"), B = _("fm-side-sheet");
145
+ const f = _("fm-text-field"), C = _("fm-radio"), U = _("fm-radio-group"), D = _("fm-checkbox"), I = _("fm-switch"), s = _("fm-select"), a = _("fm-button"), l = _("fm-chip"), O = _("fm-card"), P = _("fm-side-sheet");
146
146
  return p(), F(G, null, [
147
147
  xe(c.$slots, "default", { trigger: L }),
148
- o(B, {
148
+ o(P, {
149
149
  modelValue: d.value,
150
150
  "onUpdate:modelValue": u[8] || (u[8] = (t) => d.value = t),
151
151
  "is-container": e(ne).FmForm,
@@ -173,7 +173,7 @@ const Ie = /* @__PURE__ */ se({
173
173
  ])
174
174
  ]),
175
175
  default: g(() => [
176
- v("div", Be, [
176
+ v("div", Pe, [
177
177
  o(De, {
178
178
  title: e(i)("menu.catalog.detail")
179
179
  }, {
@@ -197,7 +197,7 @@ const Ie = /* @__PURE__ */ se({
197
197
  o(U, {
198
198
  "model-value": (t = r.value.taxSetting) == null ? void 0 : t.mode,
199
199
  "onUpdate:modelValue": u[1] || (u[1] = (n) => {
200
- n === e(R).AUTO ? K.value = e(P).autoTax() : K.value = e(P).manualTax(Y.value);
200
+ n === e(R).AUTO ? K.value = e(B).autoTax() : K.value = e(B).manualTax(Y.value);
201
201
  })
202
202
  }, {
203
203
  default: g(() => [
@@ -214,7 +214,7 @@ const Ie = /* @__PURE__ */ se({
214
214
  ]),
215
215
  _: 1
216
216
  }, 8, ["model-value"]),
217
- ((b = r.value.taxSetting) == null ? void 0 : b.mode) === e(R).MANUAL ? (p(), F("div", Pe, [
217
+ ((b = r.value.taxSetting) == null ? void 0 : b.mode) === e(R).MANUAL ? (p(), F("div", Be, [
218
218
  (p(!0), F(G, null, X(Y.value, (n) => (p(), V(D, {
219
219
  key: n.systemCode,
220
220
  "model-value": n.inclusive,
@@ -460,7 +460,7 @@ const Ie = /* @__PURE__ */ se({
460
460
  defaultOrderFrom: l.defaultOrderFrom
461
461
  }))].map((l) => {
462
462
  var t;
463
- const O = Y(((t = l.doc) == null ? void 0 : t._id) || null), B = l.doc ? Ee.getSellingItem(l.doc, ae.value) : d.state.menu.modules.item;
463
+ const O = Y(((t = l.doc) == null ? void 0 : t._id) || null), P = l.doc ? Ee.getSellingItem(l.doc, ae.value) : d.state.menu.modules.item;
464
464
  return {
465
465
  ...l,
466
466
  taxMode: l.taxes ? "Manual" : "Automatic",
@@ -468,7 +468,7 @@ const Ie = /* @__PURE__ */ se({
468
468
  restaurants: ie(O, {
469
469
  selector: "name"
470
470
  }),
471
- totalProducts: B.length,
471
+ totalProducts: P.length,
472
472
  disableDelete: l.disableDelete
473
473
  };
474
474
  });
@@ -568,7 +568,7 @@ const Ie = /* @__PURE__ */ se({
568
568
  }
569
569
  }]), D = we(), I = x(() => D.breakpoints.value.xs);
570
570
  return (s, a) => {
571
- const l = _("fm-button"), O = _("FmSearch"), B = _("FmTable"), t = _("FmButton"), b = _("fm-side-sheet");
571
+ const l = _("fm-button"), O = _("FmSearch"), P = _("FmTable"), t = _("FmButton"), b = _("fm-side-sheet");
572
572
  return p(), V(Le, {
573
573
  heading: e(m)("menu.catalog.title")
574
574
  }, {
@@ -641,7 +641,7 @@ const Ie = /* @__PURE__ */ se({
641
641
  type: e(m)("menu.catalog.title")
642
642
  })
643
643
  }, null, 8, ["modelValue", "placeholder"])])]), o(Ue, null, {
644
- default: g(() => [o(B, {
644
+ default: g(() => [o(P, {
645
645
  "column-defs": U.value,
646
646
  "row-data": i.value,
647
647
  "page-size": i.value.length,
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as E, 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 K, Fragment as P, renderList as U, toDisplayString as S, createBlock as V } from "vue";
2
2
  import { useI18n as L } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as M, useBreakpoints as $, useDialog as I } from "@feedmepos/ui-library";
4
- import { b as F, i as T, u as Y, s as j, g as q, h as A, _ as R } from "./index.vue_vue_type_script_setup_true_lang-BCZZq6zJ.js";
5
- import { _ as G } from "./app-2VeaJE9t.js";
6
- import { u as B } from "./menu-C77otNXH.js";
7
- import { ak as H } from "./item-DL0lbXPC.js";
4
+ import { b as F, i as T, u as Y, s as j, g as q, h as A, _ as R } from "./index.vue_vue_type_script_setup_true_lang-DILo07iQ.js";
5
+ import { _ as G } from "./app-D1p44Rbf.js";
6
+ import { u as B } from "./menu-kYSa55lO.js";
7
+ import { ak as H } from "./item-CN-mYmn-.js";
8
8
  const J = {
9
9
  key: 0
10
10
  }, Q = {
@@ -2,13 +2,13 @@ import { defineComponent as L, ref as $, computed as k, h as m, withModifiers as
2
2
  import { useI18n as E } from "@feedmepos/mf-common";
3
3
  import { useDialog as S, useSnackbar as T, components as Q, 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 { b as N, i as D, g as ee, h as te, _ as oe } from "./index.vue_vue_type_script_setup_true_lang-BCZZq6zJ.js";
5
+ import { b as N, i as D, g as ee, h as te, _ as oe } from "./index.vue_vue_type_script_setup_true_lang-DILo07iQ.js";
6
6
  import { _ as ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
7
- import { _ as ne } from "./app-2VeaJE9t.js";
7
+ import { _ as ne } from "./app-D1p44Rbf.js";
8
8
  import { c as le } from "./createForm-BoUQeZTd.js";
9
- import { A as se, ak as R } from "./item-DL0lbXPC.js";
9
+ import { A as se, ak as R } from "./item-CN-mYmn-.js";
10
10
  import { _ as re } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
11
- import { u as z, a as ce } from "./menu-C77otNXH.js";
11
+ import { u as z, a as ce } from "./menu-kYSa55lO.js";
12
12
  const ie = se, me = {
13
13
  key: 0
14
14
  }, ue = {
@@ -1,18 +1,18 @@
1
- import { defineComponent as ae, ref as F, computed as V, resolveComponent as x, createBlock as U, openBlock as g, unref as n, withCtx as p, createElementVNode as a, createVNode as l, createElementBlock as K, toDisplayString as S, Fragment as M, renderList as H, withModifiers as ie, createCommentVNode as ce, createTextVNode as be, h as A } from "vue";
1
+ import { defineComponent as ae, ref as F, computed as V, resolveComponent as x, createBlock as U, openBlock as g, unref as n, withCtx as p, createElementVNode as a, createVNode as l, createElementBlock as K, toDisplayString as S, Fragment as M, renderList as X, withModifiers as ie, createCommentVNode as ce, createTextVNode as be, h as A } from "vue";
2
2
  import { useI18n as le } from "@feedmepos/mf-common";
3
3
  import { components as ue, useBreakpoints as ye, useSnackbar as ke, useDialog as he } from "@feedmepos/ui-library";
4
4
  import { _ as xe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as Ce } from "./app-2VeaJE9t.js";
6
- import { d as ee, g as de, h as re, G as me, u as we, i as Ve, b as Fe, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-BCZZq6zJ.js";
7
- import { u as pe, l as ge } from "./discardConfirm-DOc0ieeO.js";
5
+ import { _ as Ce } from "./app-D1p44Rbf.js";
6
+ import { d as ee, g as de, h as re, H as me, u as we, i as Ve, b as Fe, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-DILo07iQ.js";
7
+ import { u as pe, l as ge } from "./discardConfirm-DhbS0wLN.js";
8
8
  import { d as $e } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
9
- import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-D9i9tMAj.js";
10
- import { L as Ie } from "./LinkProductSideSheet-ClMiajzX.js";
9
+ import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-DPCcNBrm.js";
10
+ import { L as Ie } from "./LinkProductSideSheet-BZNe2r8t.js";
11
11
  import { _ as Oe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
12
- const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = { class: "space-y-32" }, Be = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, De = { class: "px-16 py-8 w-[40%]" }, Ge = { class: "px-16 py-8 grow" }, Te = { class: "px-16 py-8 w-[40%]" }, ze = { class: "px-16 py-8 grow" }, Ee = { class: "space-y-16" }, Ue = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Me = { class: "flex gap-8 items-center justify-start" }, Re = /* @__PURE__ */ ae({
12
+ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = { class: "space-y-32" }, Be = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, De = { class: "px-16 py-8 w-[40%]" }, Te = { class: "px-16 py-8 grow" }, Ge = { class: "px-16 py-8 w-[40%]" }, ze = { class: "px-16 py-8 grow" }, Ee = { class: "space-y-16" }, Ue = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Me = { class: "flex gap-8 items-center justify-start" }, Re = /* @__PURE__ */ ae({
13
13
  __name: "CookingGuideStepDialog",
14
14
  emits: ["onComplete"],
15
- setup(G, { expose: _, emit: J }) {
15
+ setup(T, { expose: _, emit: J }) {
16
16
  const { t: r } = le();
17
17
  _({
18
18
  show: s,
@@ -45,7 +45,7 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
45
45
  function j(v) {
46
46
  const t = document.activeElement;
47
47
  if (t && t.tagName === "TEXTAREA") {
48
- const f = t.selectionStart, N = t.selectionEnd, T = c.value.instruction, $ = T.substring(0, f) + `{{${v}}}` + T.substring(N);
48
+ const f = t.selectionStart, N = t.selectionEnd, G = c.value.instruction, $ = G.substring(0, f) + `{{${v}}}` + G.substring(N);
49
49
  c.value = {
50
50
  ...c.value,
51
51
  instruction: $
@@ -86,7 +86,7 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
86
86
  });
87
87
  }
88
88
  return (v, t) => {
89
- const f = x("FmButton"), N = x("FmTextField"), T = x("FmChip"), $ = x("FmTextarea"), Y = x("FmSideSheet");
89
+ const f = x("FmButton"), N = x("FmTextField"), G = x("FmChip"), $ = x("FmTextarea"), Y = x("FmSideSheet");
90
90
  return g(), U(Y, {
91
91
  modelValue: C.value,
92
92
  "onUpdate:modelValue": t[1] || (t[1] = (z) => C.value = z),
@@ -147,13 +147,13 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
147
147
  a("div", null, [
148
148
  a("div", Be, [
149
149
  a("div", De, S(n(r)("menu.cooking_guide.step_dialog.sections.variables.columns.key")), 1),
150
- a("div", Ge, S(n(r)("menu.cooking_guide.step_dialog.sections.variables.columns.value")), 1)
150
+ a("div", Te, S(n(r)("menu.cooking_guide.step_dialog.sections.variables.columns.value")), 1)
151
151
  ]),
152
- (g(!0), K(M, null, H(w.value, (z, E) => (g(), K("div", {
152
+ (g(!0), K(M, null, X(w.value, (z, E) => (g(), K("div", {
153
153
  key: E,
154
154
  class: "flex items-center border-b border-b-fm-color-neutral-gray-100"
155
155
  }, [
156
- a("div", Te, [
156
+ a("div", Ge, [
157
157
  l(N, {
158
158
  modelValue: w.value[E].key,
159
159
  "onUpdate:modelValue": (B) => w.value[E].key = B,
@@ -192,7 +192,7 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
192
192
  default: p(() => [
193
193
  a("div", Ee, [
194
194
  a("div", Ue, [
195
- (g(!0), K(M, null, H(k.value, (z) => (g(), U(T, {
195
+ (g(!0), K(M, null, X(k.value, (z) => (g(), U(G, {
196
196
  key: z.label,
197
197
  label: z.label,
198
198
  class: "text-fm-color-primary bg-fm-color-system-warning-100",
@@ -214,10 +214,10 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
214
214
  }, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]);
215
215
  };
216
216
  }
217
- }), Ae = { class: "w-[700px]" }, Pe = { class: "flex bg-fm-color-neutral-gray-100" }, qe = { class: "px-16 py-8 grow" }, je = { class: "px-16 py-8 w-[200px]" }, Ye = { class: "px-16 py-8 w-[200px]" }, Xe = { class: "px-16 py-8 grow" }, He = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, Je = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, Qe = /* @__PURE__ */ ae({
217
+ }), Ae = { class: "w-[700px]" }, Pe = { class: "flex bg-fm-color-neutral-gray-100" }, qe = { class: "px-16 py-8 grow" }, je = { class: "px-16 py-8 w-[200px]" }, Ye = { class: "px-16 py-8 w-[200px]" }, He = { class: "px-16 py-8 grow" }, Xe = { 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__ */ ae({
218
218
  __name: "CookingGuideStepOverrideDialog",
219
219
  emits: ["onComplete"],
220
- setup(G, { expose: _, emit: J }) {
220
+ setup(T, { expose: _, emit: J }) {
221
221
  const { t: r } = le();
222
222
  _({
223
223
  show: s,
@@ -288,23 +288,23 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
288
288
  a("div", je, S(n(r)("menu.cooking_guide.step_override_dialog.columns.variables")), 1),
289
289
  a("div", Ye, S(n(r)("menu.cooking_guide.step_override_dialog.columns.value")), 1)
290
290
  ]),
291
- (g(!0), K(M, null, H(I.value, (t) => (g(), K("div", {
291
+ (g(!0), K(M, null, X(I.value, (t) => (g(), K("div", {
292
292
  key: t.id,
293
293
  class: "flex border-t-2"
294
294
  }, [
295
- a("div", Xe, S(t.instruction), 1),
296
- a("div", He, [
297
- (g(!0), K(M, null, H(t.variables, (f, N) => (g(), K("div", {
295
+ a("div", He, S(t.instruction), 1),
296
+ a("div", Xe, [
297
+ (g(!0), K(M, null, X(t.variables, (f, N) => (g(), K("div", {
298
298
  key: N,
299
299
  class: "py-8 w-full text-ellipsis overflow-hidden whitespace-nowrap"
300
300
  }, S(N), 1))), 128))
301
301
  ]),
302
302
  a("div", Je, [
303
- (g(!0), K(M, null, H(t.variables, (f, N) => (g(), K("div", { key: N }, [
303
+ (g(!0), K(M, null, X(t.variables, (f, N) => (g(), K("div", { key: N }, [
304
304
  l(L, {
305
305
  "model-value": q(t.id, N.toString()),
306
306
  placeholder: f,
307
- "onUpdate:modelValue": (T) => Q(t.id, N.toString(), T)
307
+ "onUpdate:modelValue": (G) => Q(t.id, N.toString(), G)
308
308
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])
309
309
  ]))), 128))
310
310
  ])
@@ -328,8 +328,8 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
328
328
  }
329
329
  },
330
330
  emits: ["onSave"],
331
- setup(G, { expose: _, emit: J }) {
332
- const r = G;
331
+ setup(T, { expose: _, emit: J }) {
332
+ const r = T;
333
333
  _({
334
334
  showModal: R,
335
335
  hideModal: I
@@ -428,7 +428,7 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
428
428
  );
429
429
  o >= 0 && s.value.bindings.splice(o, 1);
430
430
  }
431
- const { t } = le(), f = V(() => s.value._id ? t("menu.cooking_guide.dialog.update.title") : t("menu.cooking_guide.dialog.add.title")), N = V(() => s.value._id ? t("menu.cooking_guide.dialog.update.action") : t("menu.cooking_guide.dialog.add.action")), T = V(() => s.value.bindings.length), $ = V(
431
+ const { t } = le(), f = V(() => s.value._id ? t("menu.cooking_guide.dialog.update.title") : t("menu.cooking_guide.dialog.add.title")), N = V(() => s.value._id ? t("menu.cooking_guide.dialog.update.action") : t("menu.cooking_guide.dialog.add.action")), G = V(() => s.value.bindings.length), $ = V(
432
432
  () => s.value.bindings.reduce((e, o) => {
433
433
  const b = e[o.productId] ?? [];
434
434
  return o.combinationKey ? e[o.productId] = [...b, o.combinationKey] : e[o.productId] = [], e;
@@ -563,7 +563,7 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
563
563
  handle: ".handle",
564
564
  "item-key": "id"
565
565
  }, {
566
- item: p(({ element: y, index: X }) => [
566
+ item: p(({ element: y, index: H }) => [
567
567
  l(W, {
568
568
  variant: "outlined",
569
569
  class: "rounded-md mb-16 items-center",
@@ -588,7 +588,7 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
588
588
  l(d, {
589
589
  icon: "delete",
590
590
  variant: "tertiary",
591
- onClick: ie(() => q(X), ["stop"])
591
+ onClick: ie(() => q(H), ["stop"])
592
592
  }, null, 8, ["onClick"])
593
593
  ]),
594
594
  _: 2
@@ -599,14 +599,14 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
599
599
  ]),
600
600
  _: 1
601
601
  }, 8, ["title"]),
602
- G.canApplyItems ? (g(), U(Z, {
602
+ T.canApplyItems ? (g(), U(Z, {
603
603
  key: 0,
604
604
  title: n(t)("menu.cooking_guide.dialog.sections.apply_product.title")
605
605
  }, {
606
606
  "append-title": p(() => [
607
607
  l(oe),
608
608
  l(Ie, {
609
- "categorized-items": G.categorizedItems,
609
+ "categorized-items": T.categorizedItems,
610
610
  "initial-value": s.value.bindings.map((y) => ({
611
611
  _id: y.productId,
612
612
  combinationKey: y.combinationKey
@@ -632,7 +632,7 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
632
632
  default: p(() => [
633
633
  a("div", to, [
634
634
  a("div", no, S(n(t)("menu.cooking_guide.dialog.sections.apply_product.products_linked", {
635
- count: T.value
635
+ count: G.value
636
636
  })), 1),
637
637
  a("div", io, [
638
638
  l(te, {
@@ -642,27 +642,27 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
642
642
  }, null, 8, ["modelValue", "placeholder"])
643
643
  ])
644
644
  ]),
645
- (g(!0), K(M, null, H(se.value, (y) => (g(), K("div", {
645
+ (g(!0), K(M, null, X(se.value, (y) => (g(), K("div", {
646
646
  key: y.id || ""
647
647
  }, [
648
648
  a("div", ao, S(y.name), 1),
649
- (g(!0), K(M, null, H(y.items, (X) => (g(), K("div", {
650
- key: X.itemId,
649
+ (g(!0), K(M, null, X(y.items, (H) => (g(), K("div", {
650
+ key: H.itemId,
651
651
  class: "flex items-center"
652
652
  }, [
653
653
  a("div", lo, [
654
- a("span", so, S((X.itemCode ? `${X.itemCode} ` : "") + X.itemName), 1)
654
+ a("span", so, S((H.itemCode ? `${H.itemCode} ` : "") + H.itemName), 1)
655
655
  ]),
656
656
  a("div", uo, [
657
657
  l(d, {
658
658
  icon: "edit",
659
659
  variant: "tertiary",
660
- onClick: () => i(X)
660
+ onClick: () => i(H)
661
661
  }, null, 8, ["onClick"]),
662
662
  l(d, {
663
663
  icon: "delete",
664
664
  variant: "tertiary",
665
- onClick: () => v(X)
665
+ onClick: () => v(H)
666
666
  }, null, 8, ["onClick"])
667
667
  ])
668
668
  ]))), 128))
@@ -688,25 +688,25 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
688
688
  };
689
689
  }
690
690
  });
691
- function mo(G) {
691
+ function mo(T) {
692
692
  return {
693
693
  module: re.enum.cookingGuide,
694
694
  operation: de.F_OPERATION_TYPE.create,
695
- data: me.parse(G)
695
+ data: me.parse(T)
696
696
  };
697
697
  }
698
- function po(G) {
698
+ function po(T) {
699
699
  return {
700
700
  module: re.enum.cookingGuide,
701
701
  operation: de.F_OPERATION_TYPE.update,
702
- data: me.parse(G)
702
+ data: me.parse(T)
703
703
  };
704
704
  }
705
- function go(G) {
705
+ function go(T) {
706
706
  return {
707
707
  module: re.enum.cookingGuide,
708
708
  operation: de.F_OPERATION_TYPE.delete,
709
- data: G._id
709
+ data: T._id
710
710
  };
711
711
  }
712
712
  const _o = {
@@ -723,7 +723,7 @@ const _o = {
723
723
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
724
724
  }, Lo = /* @__PURE__ */ ae({
725
725
  __name: "CookingGuide",
726
- setup(G) {
726
+ setup(T) {
727
727
  const {
728
728
  t: _
729
729
  } = le(), J = ye(), r = V(() => J.breakpoints.value.xs), P = V(() => [{
@@ -811,7 +811,7 @@ const _o = {
811
811
  return i ? I.value.filter((u) => u.name.toLowerCase().includes(i)) : I.value;
812
812
  });
813
813
  return (i, u) => {
814
- const v = x("FmSearch"), t = x("FmTable"), f = x("FmButton"), N = x("FmListItem"), T = x("FmList");
814
+ const v = x("FmSearch"), t = x("FmTable"), f = x("FmButton"), N = x("FmListItem"), G = x("FmList");
815
815
  return g(), U(Oe, {
816
816
  heading: n(_)("menu.cooking_guide.title")
817
817
  }, {
@@ -831,12 +831,12 @@ const _o = {
831
831
  autofocus: "",
832
832
  class: "my-8 w-[320px] xs:w-full xs:px-16",
833
833
  placeholder: n(_)("menu.cooking_guide.table.search.placeholder")
834
- }, null, 8, ["modelValue", "placeholder"])]), r.value ? (g(), U(T, {
834
+ }, null, 8, ["modelValue", "placeholder"])]), r.value ? (g(), U(G, {
835
835
  key: 1,
836
836
  class: "w-full px-16 flex-1 min-h-0 overflow-scroll pb-64",
837
837
  separator: ""
838
838
  }, {
839
- default: p(() => [(g(!0), K(M, null, H(L.value, ($) => (g(), U(N, {
839
+ default: p(() => [(g(!0), K(M, null, X(L.value, ($) => (g(), U(N, {
840
840
  key: $._id,
841
841
  label: $.name,
842
842
  style: {
@@ -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-BCZZq6zJ.js";
4
+ import { u as D } from "./index.vue_vue_type_script_setup_true_lang-DILo07iQ.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-h8zygLBJ.js";
1
+ import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-BEONKZuB.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 l, 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-BVmHMvKD.js";
5
- import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-h8zygLBJ.js";
6
- import { al as b } from "./item-DL0lbXPC.js";
7
- import { a as h } from "./menu-C77otNXH.js";
5
+ import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-BEONKZuB.js";
6
+ import { al as b } from "./item-CN-mYmn-.js";
7
+ import { a as h } from "./menu-kYSa55lO.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(N) {
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as oe, computed as f, resolveComponent as F, createBlock as $, openBlock as m, withCtx as x, createElementBlock as y, Fragment as E, renderList as ne, createElementVNode as d, normalizeClass as Q, toDisplayString as A, createVNode as i, createCommentVNode as O, unref as u, ref as P, watch as De, h as Y, mergeProps as Re, createSlots as Te, withModifiers as Pe, isRef as q, nextTick as de } from "vue";
2
- import { l as ee } from "./discardConfirm-DOc0ieeO.js";
2
+ import { l as ee } from "./discardConfirm-DhbS0wLN.js";
3
3
  import { d as Ee } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
4
- import { u as ye, i as Le, b as Ue, F as te, j as w, m as je, _ as ze, a as Be, h as fe, g as Ke } from "./index.vue_vue_type_script_setup_true_lang-BCZZq6zJ.js";
4
+ import { u as ye, i as Le, b as Ue, F as te, j as w, m as je, _ as ze, a as Be, h as fe, g as Ke } from "./index.vue_vue_type_script_setup_true_lang-DILo07iQ.js";
5
5
  import { b as ve, H as Ye } from "./app-5fxKLAzS.js";
6
6
  import { useI18n as _e, useCoreStore as He, useCustomAttributes as qe } from "@feedmepos/mf-common";
7
7
  import { useBreakpoints as be, useSnackbar as Qe, useDialog as We, components as Je, FmButtonVariant as Xe } from "@feedmepos/ui-library";
8
- import { _ as Ze, a as et } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-CzpScELw.js";
9
- import { _ as tt } from "./app-2VeaJE9t.js";
8
+ import { _ as Ze, a as et } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-BHqJGqLf.js";
9
+ import { _ as tt } from "./app-D1p44Rbf.js";
10
10
  import { _ as nt, a as ot } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
11
11
  import { c as lt } from "./object-DVUNCr7w.js";
12
- import { _ as rt } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-DBjYkJhB.js";
13
- import { N as ge, ap as at, aq as ut, al as st, O as it, a5 as ct, a1 as mt, Q as pt } from "./item-DL0lbXPC.js";
12
+ import { _ as rt } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-Cg4oaBql.js";
13
+ import { N as ge, ap as at, aq as ut, al as st, O as it, a5 as ct, a1 as mt, Q as pt } from "./item-CN-mYmn-.js";
14
14
  import { _ as dt } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
15
15
  import { u as ft } from "./search-BAPEUu1R.js";
16
- import { C as vt } from "./catalog--64fgdzd.js";
16
+ import { C as vt } from "./catalog-Ds7c8bSK.js";
17
17
  const gt = /* @__PURE__ */ oe({
18
18
  __name: "ResponsiveContextMenu",
19
19
  props: {