@feedmepos/mf-menu 0.22.0-beta.8 → 0.23.0-beta.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 (56) hide show
  1. package/dist/{App-BJgFHkkr.js → App-DgqJaIaV.js} +3 -3
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CPx9qxeC.js → ApplyProduct.vue_vue_type_script_setup_true_lang-D5pEKRgG.js} +2 -2
  3. package/dist/{Catalog-CEMjjshB.js → Catalog-BwV3UchF.js} +7 -6
  4. package/dist/{Category-ikKioO_q.js → Category-DcSmvfro.js} +7 -7
  5. package/dist/{CookingGuide-CW8AHaZg.js → CookingGuide-B8xK3xRF.js} +4 -4
  6. package/dist/{FormSection.vue_vue_type_script_setup_true_lang-B74sI8Fn.js → FormSection.vue_vue_type_script_setup_true_lang-DHYgEplG.js} +2 -2
  7. package/dist/{Group-NMjmYIHU.js → Group-CAbpSnlb.js} +3 -3
  8. package/dist/{Group-DRG21q3-.js → Group-Cy52SSXP.js} +1 -1
  9. package/dist/{Group.vue_vue_type_script_setup_true_lang-DF7_kqP5.js → Group.vue_vue_type_script_setup_true_lang-Beo8Th5f.js} +101 -99
  10. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CdQNScQ3.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DsxISIdA.js} +2 -2
  11. package/dist/{Ingredient-C75VBnEa.js → Ingredient-DSTXsmXJ.js} +4 -4
  12. package/dist/{PrintRoute-SSJAU-5O.js → PrintRoute-DQ5SyADl.js} +4 -4
  13. package/dist/{Product-DC2Arj5X.js → Product-BQ9RrvDr.js} +1 -1
  14. package/dist/Product.vue_vue_type_script_setup_true_lang-3uxltSF6.js +8850 -0
  15. package/dist/{Products-gIPwI1zi.js → Products-DsTgi8RM.js} +8 -8
  16. package/dist/{Publish-BbtGTKbC.js → Publish-CCcsZ-CU.js} +4 -4
  17. package/dist/{Recipe-DovJUTmL.js → Recipe-BROR8ItO.js} +5 -5
  18. package/dist/{Scheduler-DotvgoV6.js → Scheduler-CoHunGz_.js} +3 -3
  19. package/dist/{SchedulerSelector.vue_vue_type_script_setup_true_lang-CsYhxkCM.js → SchedulerSelector.vue_vue_type_script_setup_true_lang-Bs8JqSsG.js} +9 -6
  20. package/dist/{ServingSequence-DjA8Qvsk.js → ServingSequence-DIun5FEq.js} +3 -3
  21. package/dist/{Setting-joZbH8D5.js → Setting-CoaUcwVg.js} +1 -1
  22. package/dist/{Setting.vue_vue_type_script_setup_true_lang-DGgmLSee.js → Setting.vue_vue_type_script_setup_true_lang-fdRzaGKs.js} +4 -4
  23. package/dist/{Takeaway-216SSyR4.js → Takeaway-CzXQewK3.js} +1 -1
  24. package/dist/{Takeaway-KeuKDB7d.js → Takeaway-Ok5x63rY.js} +4 -4
  25. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DDxPzUDN.js → Takeaway.vue_vue_type_script_setup_true_lang-DVBe5SnH.js} +5 -5
  26. package/dist/{TaxSetting-D2TV7K0j.js → TaxSetting-BszefVn9.js} +4 -4
  27. package/dist/TextChip.vue_vue_type_script_setup_true_lang-DoCbhCON.js +17 -0
  28. package/dist/{Unit-BD_ptOup.js → Unit-qmittnQS.js} +2 -2
  29. package/dist/{Variant-DYW_OPch.js → Variant-ClcNsd87.js} +3 -3
  30. package/dist/{_id_-BfC0A0dO.js → _id_-BTKsVHSp.js} +7 -7
  31. package/dist/{app-Be8AXz7G.js → app-BrkDo28O.js} +49 -29
  32. package/dist/{app-Dv3CDcwd.js → app-jKGYw3av.js} +1 -1
  33. package/dist/app.js +1 -1
  34. package/dist/assets/linked-status-B-c8Ru8o.js +24 -0
  35. package/dist/assets/validate-menu-3CF9dfdw.js +24 -0
  36. package/dist/{catalog-DxaXi6qP.js → catalog-CfeFZ6Bg.js} +1 -1
  37. package/dist/{catalog-B1d0_D3z.js → catalog-D_yVeBK1.js} +2690 -2690
  38. package/dist/{category-dhbUy1QK.js → category-AhwRnYN8.js} +1 -1
  39. package/dist/{currency-niEyXGYS.js → currency-CwapN0iQ.js} +1 -1
  40. package/dist/{index-ChRNtUSj.js → index-BVixRscL.js} +2 -2
  41. package/dist/{index-BS-j9S9g.js → index-R5gNv0ol.js} +4 -4
  42. package/dist/{item-oYu6pRxj.js → item-D4Y0W-Jn.js} +1747 -1675
  43. package/dist/{lodash-CvPxGpZ1.js → lodash-eGXiFeOh.js} +1 -1
  44. package/dist/{menu-zT_RrjwK.js → menu-1XKsZi5i.js} +1 -1
  45. package/dist/menu-TgKv3zcW.js +118290 -0
  46. package/dist/{remy-6obqkM4C.js → remy-Jw0qv3my.js} +2 -2
  47. package/dist/{scheduler-m7Fngm6u.js → scheduler-ChHpXzYk.js} +4 -4
  48. package/dist/{takeaway-B9OcSPon.js → takeaway-DP3Zt0gm.js} +5 -5
  49. package/dist/{toExcel-5qrtdARg.js → toExcel-CMwNSaii.js} +2 -2
  50. package/dist/{unit-ZwzwikPA.js → unit-B0D2_p6Z.js} +2 -2
  51. package/package.json +3 -3
  52. package/dist/Product.vue_vue_type_script_setup_true_lang-CKibNnxD.js +0 -849
  53. package/dist/TextChip.vue_vue_type_script_setup_true_lang-CNp85hoQ.js +0 -17
  54. package/dist/assets/linked-status-CIcWBsRu.js +0 -24
  55. package/dist/assets/validate-menu-BhZ6NXC2.js +0 -24
  56. package/dist/menu-x2xkVIob.js +0 -95196
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, ref, watchEffect, computed, watch, openBlock, createElementBlock, normalizeStyle, onBeforeUnmount, createBlock, unref, onMounted, resolveComponent, withDirectives, createElementVNode, createVNode, vShow, Fragment, createCommentVNode, normalizeClass } from "vue";
2
2
  import { FeedMeAuth, useCoreStore } from "@feedmepos/mf-common";
3
- import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as registerVersion, L as Logger, a as getExperimentalSetting, i as isMobileCordova, b as isReactNative, _ as _isFirebaseServerApp, d as _registerComponent, C as Component, e as _getProvider, f as getDefaultEmulatorHost, h as getApp, j as isBrowserExtension, S as SDK_VERSION, k as getModularInstance, E as ErrorFactory, l as createSubscribe, m as deepEqual, n as LogLevel, o as getUA, F as FirebaseError, p as base64Decode, q as isIE, s as querystring, t as isEmpty, u as getApps, v as initializeApp, w as getStorage, x as useMenuStore, y as coreDart, z as menu } from "./menu-x2xkVIob.js";
4
- import { R as Remy, i as init } from "./remy-6obqkM4C.js";
3
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as registerVersion, L as Logger, a as getExperimentalSetting, i as isMobileCordova, b as isReactNative, _ as _isFirebaseServerApp, d as _registerComponent, C as Component, e as _getProvider, f as getDefaultEmulatorHost, h as getApp, j as isBrowserExtension, S as SDK_VERSION, k as getModularInstance, E as ErrorFactory, l as createSubscribe, m as deepEqual, n as LogLevel, o as getUA, F as FirebaseError, p as base64Decode, q as isIE, s as querystring, t as isEmpty, u as getApps, v as initializeApp, w as getStorage, x as useMenuStore, y as coreDart, z as menu } from "./menu-TgKv3zcW.js";
4
+ import { R as Remy, i as init } from "./remy-Jw0qv3my.js";
5
5
  import { FmButtonColorThemeVariant, FmButtonVariant } from "@feedmepos/ui-library";
6
6
  import { _ as _export_sfc$1 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { u as useAppStore } from "./app-Dv3CDcwd.js";
7
+ import { u as useAppStore } from "./app-jKGYw3av.js";
8
8
  const v = "4.8.0", meta = {
9
9
  g: "LottieFiles AE ",
10
10
  a: "",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as K, computed as i, h as u, ref as U, resolveComponent as b, openBlock as d, createElementBlock as p, createVNode as v, withCtx as g, createElementVNode as V, createBlock as j, unref as n, createCommentVNode as C, toDisplayString as A, isRef as D, Fragment as G, renderList as H } from "vue";
2
- import { x as M, ab as O } from "./menu-x2xkVIob.js";
2
+ import { x as M, ab as O } from "./menu-TgKv3zcW.js";
3
3
  import { u as $ } from "./createComponentProgrammatically-Npr1U60e.js";
4
4
  import { components as I, FmButtonVariant as B, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
5
- import { _ as q, L as J } from "./FormSection.vue_vue_type_script_setup_true_lang-B74sI8Fn.js";
5
+ import { _ as q, L as J } from "./FormSection.vue_vue_type_script_setup_true_lang-DHYgEplG.js";
6
6
  import { useI18n as Q } from "@feedmepos/mf-common";
7
7
  const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }, Y = {
8
8
  key: 0,
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as ue, ref as I, computed as $, resolveComponent as g, openBlock as m, createElementBlock as b, Fragment as V, renderSlot as ye, createVNode as u, unref as e, withCtx as p, createElementVNode as f, renderList as w, createBlock as F, createCommentVNode as z, createTextVNode as be, toDisplayString as k, h as q, withModifiers as Q, normalizeClass as ee } from "vue";
2
2
  import { useCoreStore as ce, useI18n as me } from "@feedmepos/mf-common";
3
- import { G as O, x as de, K as pe, A as fe, z as oe, B as xe, H as ae, J as ge, T as ne } from "./menu-x2xkVIob.js";
4
- import { C as ke } from "./catalog-DxaXi6qP.js";
3
+ import { G as O, x as de, K as pe, A as fe, z as oe, B as xe, H as ae, J as ge, T as ne } from "./menu-TgKv3zcW.js";
4
+ import { C as ke } from "./catalog-CfeFZ6Bg.js";
5
5
  import { useRouter as Ce } from "vue-router";
6
- import { _ as he, R as se } from "./app-Be8AXz7G.js";
6
+ import { _ as he, R as se } from "./app-BrkDo28O.js";
7
7
  import { _ as Oe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
8
8
  import { useSnackbar as _e, components as le, FmButtonColorThemeVariant as W, FmButtonVariant as G, useDialog as Fe, useBreakpoints as Me } from "@feedmepos/ui-library";
9
9
  import { c as De } from "./check-C9mY6LiX.js";
10
- import { C as R, a as L, _ as re } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CdQNScQ3.js";
11
- import { _ as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-B74sI8Fn.js";
10
+ import { C as R, a as L, _ as re } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DsxISIdA.js";
11
+ import { _ as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-DHYgEplG.js";
12
12
  import { _ as te } from "./FormItem.vue_vue_type_script_setup_true_lang-DKsxEK-8.js";
13
13
  import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
14
14
  const Ae = { class: "space-y-32" }, Te = {
@@ -549,7 +549,8 @@ const Ae = { class: "space-y-32" }, Te = {
549
549
  })), u(E, {
550
550
  modelValue: S.value,
551
551
  "onUpdate:modelValue": a[2] || (a[2] = (l) => S.value = l),
552
- "max-width": 560
552
+ "max-width": 560,
553
+ "dismiss-away": ""
553
554
  }, {
554
555
  "side-sheet-header": p(() => [f("p", je, k(e(d)("menu.catalog.usage.title")), 1)]),
555
556
  default: p(() => [f("div", He, [(m(!0), b(V, null, w(C.value, (l, n) => (m(), F(U, {
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as P, ref as w, computed as B, watch as re, resolveComponent as y, openBlock as h, createElementBlock as T, Fragment as Z, renderSlot as ie, createVNode as d, unref as e, withCtx as v, createElementVNode as a, toDisplayString as L, h as N, withModifiers as R, getCurrentInstance as ce, renderList as ue, createBlock as O, createCommentVNode as de } from "vue";
2
- import { u as j, a as me } from "./menu-zT_RrjwK.js";
2
+ import { u as j, a as me } from "./menu-1XKsZi5i.js";
3
3
  import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
4
- import { A as Y, x as fe, G as I, J as ee, K as G } from "./menu-x2xkVIob.js";
4
+ import { A as Y, x as fe, G as I, J as ee, K as G } from "./menu-TgKv3zcW.js";
5
5
  import { useSnackbar as q, components as K, useDialog as te, FmButtonVariant as Q, useBreakpoints as ge, FmButtonColorThemeVariant as _e } from "@feedmepos/ui-library";
6
- import { u as oe } from "./category-dhbUy1QK.js";
6
+ import { u as oe } from "./category-AhwRnYN8.js";
7
7
  import { c as ye } from "./createForm-TSiJzrqa.js";
8
8
  import { c as ve } from "./check-C9mY6LiX.js";
9
9
  import { c as W } from "./object-BN9wCbKv.js";
10
- import { u as he } from "./item-oYu6pRxj.js";
11
- import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-B74sI8Fn.js";
12
- import { u as be } from "./lodash-CvPxGpZ1.js";
10
+ import { u as he } from "./item-D4Y0W-Jn.js";
11
+ import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-DHYgEplG.js";
12
+ import { u as be } from "./lodash-eGXiFeOh.js";
13
13
  import { useI18n as J } from "@feedmepos/mf-common";
14
- import { _ as xe } from "./app-Be8AXz7G.js";
14
+ import { _ as xe } from "./app-BrkDo28O.js";
15
15
  import { _ as Ce } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
16
16
  import { _ as ke } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
17
17
  function we(p, f = "This field can't be empty.") {
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as ie, ref as w, computed as F, resolveComponent as x, openBlock as _, createBlock as P, unref as t, withCtx as m, createElementVNode as a, createVNode as l, toDisplayString as S, createElementBlock as I, Fragment as M, renderList as q, createTextVNode as fe, withModifiers as ue, createCommentVNode as ce, h as A } from "vue";
2
2
  import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
3
- import { H as Z, G as ee, J as de, x as ye, K as ke, A as he } from "./menu-x2xkVIob.js";
3
+ import { H as Z, G as ee, J as de, x as ye, K as ke, A as he } from "./menu-TgKv3zcW.js";
4
4
  import { components as re, useSnackbar as xe, useDialog as Ce } from "@feedmepos/ui-library";
5
5
  import { V as we } from "./vuedraggable-WU01qJgi.js";
6
6
  import { useI18n as le } from "@feedmepos/mf-common";
7
- import { u as me, l as pe } from "./lodash-CvPxGpZ1.js";
8
- import { _ as X, L as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-B74sI8Fn.js";
7
+ import { u as me, l as pe } from "./lodash-eGXiFeOh.js";
8
+ import { _ as X, L as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-DHYgEplG.js";
9
9
  import { _ as Fe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
10
10
  import { _ as Se } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
11
- import { _ as Ie } from "./app-Be8AXz7G.js";
11
+ import { _ as Ie } from "./app-BrkDo28O.js";
12
12
  const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = { class: "space-y-32" }, De = { 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" }, Ge = { class: "flex items-center border-b border-b-fm-color-neutral-gray-100" }, Ue = { class: "px-16 py-8 w-[40%]" }, Be = { class: "px-16 py-8 grow" }, Ee = { class: "space-y-16" }, ze = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Me = { class: "flex gap-8 items-center justify-start" }, Te = /* @__PURE__ */ ie({
13
13
  __name: "CookingGuideStepDialog",
14
14
  emits: ["onComplete"],
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as k, ref as B, computed as E, watch as O, resolveComponent as C, openBlock as n, createElementBlock as c, Fragment as T, renderSlot as d, createVNode as u, unref as l, withCtx as m, createBlock as j, createCommentVNode as b, createElementVNode as p, toDisplayString as y, normalizeClass as S } from "vue";
2
2
  import { components as L, FmButtonVariant as N } from "@feedmepos/ui-library";
3
3
  import { c as A } from "./check-C9mY6LiX.js";
4
- import { H as g } from "./menu-x2xkVIob.js";
4
+ import { H as g } from "./menu-TgKv3zcW.js";
5
5
  import { useI18n as P, ItemSelector as U } from "@feedmepos/mf-common";
6
- import { u as q, l as H } from "./lodash-CvPxGpZ1.js";
6
+ import { u as q, l as H } from "./lodash-eGXiFeOh.js";
7
7
  /* empty css */
8
8
  import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const x = { class: "fm-typo-en-title-md-600 mr-auto" }, G = { class: "flex gap-8 items-center justify-start" }, J = /* @__PURE__ */ k({
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as m, ref as p, openBlock as i, createBlock as d, unref as n, withCtx as a, createVNode as l, createElementVNode as e, toDisplayString as c, createCommentVNode as u } from "vue";
2
2
  import { _ } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
3
- import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-DF7_kqP5.js";
4
- import { a as g } from "./menu-zT_RrjwK.js";
3
+ import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-Beo8Th5f.js";
4
+ import { a as g } from "./menu-1XKsZi5i.js";
5
5
  import { _ as y } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
6
- import { A as b } from "./item-oYu6pRxj.js";
6
+ import { A as b } from "./item-D4Y0W-Jn.js";
7
7
  import { useI18n as h } from "@feedmepos/mf-common";
8
8
  const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, j = /* @__PURE__ */ m({
9
9
  __name: "Group",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-DF7_kqP5.js";
1
+ import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-Beo8Th5f.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,18 +1,18 @@
1
- import { defineComponent as W, ref as S, resolveComponent as C, openBlock as d, createElementBlock as G, Fragment as T, renderSlot as ke, createVNode as m, unref as o, withCtx as h, createElementVNode as p, toDisplayString as V, computed as g, createBlock as N, renderList as ne, normalizeClass as j, watch as Oe, mergeProps as we, createCommentVNode as E, createSlots as De, withModifiers as Ce, isRef as oe, h as Me, nextTick as xe } from "vue";
1
+ import { defineComponent as W, ref as S, resolveComponent as C, openBlock as d, createElementBlock as G, Fragment as T, renderSlot as he, createVNode as m, unref as o, withCtx as k, createElementVNode as p, toDisplayString as V, computed as b, createBlock as N, renderList as ne, normalizeClass as j, watch as Oe, mergeProps as we, createCommentVNode as E, createSlots as De, withModifiers as Ce, isRef as oe, h as Me, nextTick as xe } from "vue";
2
2
  import { _ as Ae } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
3
- import { _ as le } from "./SchedulerSelector.vue_vue_type_script_setup_true_lang-CsYhxkCM.js";
4
- import { x as ue, K as Ge, A as Fe, B as Ve, G as v, z as Ne, J as Pe } from "./menu-x2xkVIob.js";
5
- import { M as ae, S as Re, _ as Ue, A as Ee, e as Se, a as Te } from "./item-oYu6pRxj.js";
3
+ import { _ as le } from "./SchedulerSelector.vue_vue_type_script_setup_true_lang-Bs8JqSsG.js";
4
+ import { x as ue, K as Ge, A as Fe, B as Ve, G as v, z as Ne, J as Pe } from "./menu-TgKv3zcW.js";
5
+ import { M as ae, S as Re, _ as Ue, A as Ee, e as Se, a as Te } from "./item-D4Y0W-Jn.js";
6
6
  import { components as Ie, useBreakpoints as re, useSnackbar as $e, useDialog as Ye, FmButtonVariant as Le } from "@feedmepos/ui-library";
7
7
  import { u as ze } from "./createComponentProgrammatically-Npr1U60e.js";
8
- import { C as Ke } from "./catalog-DxaXi6qP.js";
9
- import { l as z, u as je } from "./lodash-CvPxGpZ1.js";
8
+ import { C as Ke } from "./catalog-CfeFZ6Bg.js";
9
+ import { l as z, u as je } from "./lodash-eGXiFeOh.js";
10
10
  import { c as Be } from "./check-C9mY6LiX.js";
11
- import { _ as qe } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CPx9qxeC.js";
11
+ import { _ as qe } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-D5pEKRgG.js";
12
12
  import { useI18n as se } from "@feedmepos/mf-common";
13
13
  import { V as He } from "./vuedraggable-WU01qJgi.js";
14
14
  import { _ as Je, a as Qe } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DPis3HVx.js";
15
- import { _ as We } from "./app-Be8AXz7G.js";
15
+ import { _ as We } from "./app-BrkDo28O.js";
16
16
  import { c as Xe } from "./object-BN9wCbKv.js";
17
17
  const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items-center justify-start" }, tt = /* @__PURE__ */ W({
18
18
  __name: "ApplyProductDialog",
@@ -24,19 +24,19 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
24
24
  },
25
25
  emits: ["apply:product"],
26
26
  setup(B, { emit: I }) {
27
- const l = B, M = I, { t: F } = se(), k = l.initialValue.map((r) => ({ _id: r })), O = S(z.clone(k)), R = je(
28
- () => !z.isEqual(O.value, k),
27
+ const l = B, M = I, { t: F } = se(), h = l.initialValue.map((s) => ({ _id: s })), O = S(z.clone(h)), R = je(
28
+ () => !z.isEqual(O.value, h),
29
29
  () => {
30
30
  f.value = !1;
31
31
  }
32
- ), f = S(!1), w = (r) => {
33
- Be.isBoolean(r) ? f.value = r : f.value = !f.value, f.value && (O.value = l.initialValue.map((c) => ({ _id: c })));
32
+ ), f = S(!1), w = (s) => {
33
+ Be.isBoolean(s) ? f.value = s : f.value = !f.value, f.value && (O.value = l.initialValue.map((c) => ({ _id: c })));
34
34
  }, x = ue();
35
- return (r, c) => {
36
- const K = C("fm-button"), s = C("fm-side-sheet");
35
+ return (s, c) => {
36
+ const K = C("fm-button"), r = C("fm-side-sheet");
37
37
  return d(), G(T, null, [
38
- ke(r.$slots, "default", { trigger: w }),
39
- m(s, {
38
+ he(s.$slots, "default", { trigger: w }),
39
+ m(r, {
40
40
  id: "group-form",
41
41
  modelValue: f.value,
42
42
  "onUpdate:modelValue": c[1] || (c[1] = ($) => f.value = $),
@@ -50,10 +50,10 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
50
50
  "max-width": 560,
51
51
  "onOn:clickedAway": o(R)
52
52
  }, {
53
- "side-sheet-header": h(() => [
54
- p("p", Ze, V(r.title), 1)
53
+ "side-sheet-header": k(() => [
54
+ p("p", Ze, V(s.title), 1)
55
55
  ]),
56
- "side-sheet-footer": h(() => [
56
+ "side-sheet-footer": k(() => [
57
57
  p("div", et, [
58
58
  m(K, {
59
59
  label: o(F)("common.save"),
@@ -69,12 +69,12 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
69
69
  })
70
70
  ])
71
71
  ]),
72
- default: h(() => [
72
+ default: k(() => [
73
73
  m(qe, {
74
74
  overrides: O.value,
75
75
  "onUpdate:overrides": c[0] || (c[0] = ($) => O.value = $),
76
76
  "categorized-items": o(x).categorizedItems,
77
- editable: r.editable,
77
+ editable: s.editable,
78
78
  "select-variant": !1,
79
79
  "show-variant": !1,
80
80
  title: "Product"
@@ -91,17 +91,17 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
91
91
  items: {}
92
92
  },
93
93
  setup(B) {
94
- const I = re(), l = g(() => I.breakpoints.value.xs);
94
+ const I = re(), l = b(() => I.breakpoints.value.xs);
95
95
  return (M, F) => {
96
- const k = C("FmButton"), O = C("FmMenuItem"), R = C("FmMenu");
96
+ const h = C("FmButton"), O = C("FmMenuItem"), R = C("FmMenu");
97
97
  return l.value ? (d(), N(Je, { key: 0 }, {
98
- default: h(() => [
99
- (d(!0), G(T, null, ne(M.items, ({ icon: f, label: w, disabled: x, itemClass: r, onClick: c }) => (d(), N(Qe, {
98
+ default: k(() => [
99
+ (d(!0), G(T, null, ne(M.items, ({ icon: f, label: w, disabled: x, itemClass: s, onClick: c }) => (d(), N(Qe, {
100
100
  key: w,
101
101
  icon: f,
102
102
  label: w,
103
103
  disabled: x,
104
- itemClass: r,
104
+ itemClass: s,
105
105
  onClick: () => {
106
106
  !x && (c == null || c());
107
107
  }
@@ -113,8 +113,8 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
113
113
  "stop-click-propagation": "",
114
114
  shift: !0
115
115
  }, {
116
- "menu-button": h(() => [
117
- m(k, {
116
+ "menu-button": k(() => [
117
+ m(h, {
118
118
  type: "button",
119
119
  variant: "tertiary",
120
120
  icon: "more_vert",
@@ -122,8 +122,8 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
122
122
  size: "md"
123
123
  })
124
124
  ]),
125
- default: h(() => [
126
- (d(!0), G(T, null, ne(M.items, ({ icon: f, label: w, disabled: x, itemClass: r, onClick: c }) => (d(), N(O, {
125
+ default: k(() => [
126
+ (d(!0), G(T, null, ne(M.items, ({ icon: f, label: w, disabled: x, itemClass: s, onClick: c }) => (d(), N(O, {
127
127
  key: w,
128
128
  disabled: x,
129
129
  onClick: () => {
@@ -131,9 +131,9 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
131
131
  },
132
132
  label: w
133
133
  }, {
134
- label: h(() => [
134
+ label: k(() => [
135
135
  p("span", {
136
- class: j(x ? "text-fm-color-typo-disabled" : r)
136
+ class: j(x ? "text-fm-color-typo-disabled" : s)
137
137
  }, V(w), 3)
138
138
  ]),
139
139
  _: 2
@@ -174,58 +174,60 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
174
174
  setup(B, {
175
175
  emit: I
176
176
  }) {
177
- const l = ue(), M = Ge(Fe($e())), F = Ye(), k = g(() => l.rules.group), O = g(() => new ae(l, M.updateMenu, F)), R = g(() => O.value.mapGroups(l.groups, !1)), {
177
+ const l = ue(), M = Ge(Fe($e())), F = Ye(), h = b(() => l.rules.group), O = b(() => new ae(l, M.updateMenu, F)), R = b(() => O.value.mapGroups(l.groups, !1)), {
178
178
  searchKey: f,
179
179
  filter: w
180
- } = ze(), x = S(!1), r = S(null), c = g(() => R.value.filter((t) => w([t.name, ...Object.values(t.items).flatMap((e) => `${e.code} ${e.name} ${Ve.Dinero.fromFdoDinero(e.price).toFormat()}`), t.type])).filter((t) => !r.value || t.type === r.value)), K = I;
180
+ } = ze(), x = S(!1), s = S(null), c = b(() => R.value.filter((t) => w([t.name, ...Object.values(t.items).flatMap((e) => `${e.code} ${e.name} ${Ve.Dinero.fromFdoDinero(e.price).toFormat()}`), t.type])).filter((t) => !s.value || t.type === s.value)), K = I;
181
181
  Oe(() => c.value.length, () => {
182
182
  K("update:count", c.value.length);
183
183
  }, {
184
184
  immediate: !0
185
185
  });
186
- const s = g(() => !!l.state.currentCatalogId || !!l.state.currentSchedulerId);
186
+ const r = b(() => !!l.state.currentCatalogId || !!l.state.currentSchedulerId);
187
187
  function $(t) {
188
188
  const e = !l.state.currentSchedulerId, a = l.rules.item.bindToVariant, i = l.rules.group.type, _ = l.version === v.F_MENU_VERSION.enum.v3, D = l.rules.item.orderFromActiveOnly;
189
189
  return {
190
- link: (b) => !s.value && (!b || a),
191
- name: (b) => !s.value && !b,
192
- type: i && !t._id && !s.value,
190
+ link: (y) => !r.value && (!y || a),
191
+ name: (y) => !r.value && !y,
192
+ isDefault: (y) => !r.value,
193
+ type: i && !t._id && !r.value,
193
194
  price: t.type !== v.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
194
- inventory: e ? _ ? !s.value && t.type === v.F_ADDON_GROUP_TYPE.enum.NORMAL : !s.value : !1,
195
- orderFrom: (b) => e ? _ ? t.type === v.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? s.value : !!s.value == !b : s.value : !1,
195
+ inventory: e ? _ ? !r.value && t.type === v.F_ADDON_GROUP_TYPE.enum.NORMAL : !r.value : !1,
196
+ orderFrom: (y) => e ? _ ? t.type === v.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? r.value : !!r.value == !y : r.value : !1,
196
197
  orderFromActiveOnly: D,
197
- showOrderFrom: e ? _ ? s.value ? !0 : t.type === v.F_ADDON_GROUP_TYPE.enum.PRODUCT : s.value : !1,
198
+ showOrderFrom: e ? _ ? r.value ? !0 : t.type === v.F_ADDON_GROUP_TYPE.enum.PRODUCT : r.value : !1,
198
199
  bindToVariant: a,
199
- isOverride: s.value,
200
+ isOverride: r.value,
200
201
  isItemGroup: !1,
201
202
  isV4: !_
202
203
  };
203
204
  }
204
- const ie = g(() => {
205
+ const ie = b(() => {
205
206
  const t = !l.state.currentSchedulerId, e = l.rules.group.type, a = l.version === v.F_MENU_VERSION.enum.v3, i = l.rules.item.orderFromActiveOnly, _ = l.rules.item.bindToVariant;
206
- return function(b) {
207
+ return function(y) {
207
208
  return {
208
- link: (A) => !s.value && (!A || _),
209
- name: (A) => !s.value && !A,
210
- type: e && !b._id && !s.value,
211
- price: b.type !== v.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
212
- inventory: t ? a ? !s.value && b.type === v.F_ADDON_GROUP_TYPE.enum.NORMAL : !s.value : !1,
213
- orderFrom: (A) => t ? a ? b.type === v.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? s.value : !!s.value == !A : s.value : !1,
209
+ link: (A) => !r.value && (!A || _),
210
+ name: (A) => !r.value && !A,
211
+ isDefault: (A) => !r.value,
212
+ type: e && !y._id && !r.value,
213
+ price: y.type !== v.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
214
+ inventory: t ? a ? !r.value && y.type === v.F_ADDON_GROUP_TYPE.enum.NORMAL : !r.value : !1,
215
+ orderFrom: (A) => t ? a ? y.type === v.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? r.value : !!r.value == !A : r.value : !1,
214
216
  orderFromActiveOnly: i,
215
- showOrderFrom: t ? a ? s.value ? !0 : b.type === v.F_ADDON_GROUP_TYPE.enum.PRODUCT : s.value : !1,
217
+ showOrderFrom: t ? a ? r.value ? !0 : y.type === v.F_ADDON_GROUP_TYPE.enum.PRODUCT : r.value : !1,
216
218
  bindToVariant: _,
217
- isOverride: s.value,
219
+ isOverride: r.value,
218
220
  isItemGroup: !1,
219
221
  isV4: !a
220
222
  };
221
223
  };
222
- }), me = g(() => ({
224
+ }), me = b(() => ({
223
225
  ...Ne.generator.initMenuV4Group(),
224
226
  type: l.version === v.F_MENU_VERSION.enum.v4 ? v.F_ADDON_GROUP_TYPE.enum.PRODUCT : v.F_ADDON_GROUP_TYPE.enum.NORMAL,
225
227
  items: {},
226
228
  position: l.groups.length - 1,
227
229
  itemsLinked: []
228
- })), q = g(() => ie.value(me.value).type);
230
+ })), q = b(() => ie.value(me.value).type);
229
231
  function X(t) {
230
232
  O.value.sortGroups(t);
231
233
  }
@@ -245,22 +247,22 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
245
247
  }
246
248
  }).onPrimary(() => O.value.duplicateGroup(t));
247
249
  }
248
- const H = g(() => l.currentCatalog), Y = g(() => l.currentScheduler), L = g(() => new Ke(H.value, l, M.updateMenu, F)), J = g(() => new Re(Y.value, l, M.updateMenu, F)), pe = (t) => {
250
+ const H = b(() => l.currentCatalog), Y = b(() => l.currentScheduler), L = b(() => new Ke(H.value, l, M.updateMenu, F)), J = b(() => new Re(Y.value, l, M.updateMenu, F)), pe = (t) => {
249
251
  let e = t;
250
- if (s.value) {
252
+ if (r.value) {
251
253
  let i = function(D) {
252
- const A = l.state.menu.modules.group.find((y) => y._id === D._id), Q = (D.items ?? []).reduce((y, P) => (y[P._id] = [...y[P._id] || [], P.combinationKey || ""], y), {}), he = (A.items ?? []).filter((y) => {
254
+ const A = l.state.menu.modules.group.find((g) => g._id === D._id), Q = (D.items ?? []).reduce((g, P) => (g[P._id] = [...g[P._id] || [], P.combinationKey || ""], g), {}), ke = (A.items ?? []).filter((g) => {
253
255
  var P;
254
- return !((P = Q[y._id]) != null && P.includes(y.combinationKey || ""));
255
- }).map((y) => ({
256
- _id: y._id,
257
- combinationKey: y.combinationKey,
258
- selection: y.selection
259
- })).filter((y) => !!l.mergedMenu.modules.item.find((P) => P._id === y._id));
256
+ return !((P = Q[g._id]) != null && P.includes(g.combinationKey || ""));
257
+ }).map((g) => ({
258
+ _id: g._id,
259
+ combinationKey: g.combinationKey,
260
+ selection: g.selection
261
+ })).filter((g) => !!l.mergedMenu.modules.item.find((P) => P._id === g._id));
260
262
  return {
261
263
  ...A,
262
- ...Object.fromEntries(Object.entries(D).filter(([, y]) => !!y)),
263
- items: [...D.items ?? [], ...he]
264
+ ...Object.fromEntries(Object.entries(D).filter(([, g]) => !!g)),
265
+ items: [...D.items ?? [], ...ke]
264
266
  };
265
267
  }, a;
266
268
  H.value ? Y.value ? a = L.value.getCatalogSchedulerGroup(t._id, Y.value._id) : a = L.value.getCatalogGroup(t._id) : a = J.value.getSchedulerGroup(t._id);
@@ -296,7 +298,7 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
296
298
  key: e._id,
297
299
  initialValue: e.itemsLinked,
298
300
  group: Se(e),
299
- editable: k.value.applyProduct,
301
+ editable: h.value.applyProduct,
300
302
  "onApply:product": async (a) => {
301
303
  await O.value.applyItems(e, a.map((i) => i._id));
302
304
  }
@@ -309,16 +311,16 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
309
311
  onClick: () => te(e)
310
312
  }, {
311
313
  label: n("menu.group.actions.apply_product"),
312
- disable: !k.value.applyProduct,
314
+ disable: !h.value.applyProduct,
313
315
  onClick: a
314
316
  }, {
315
317
  label: n("menu.group.actions.duplicate_action"),
316
- disabled: !k.value.create,
318
+ disabled: !h.value.create,
317
319
  onClick: () => ce(e)
318
320
  }, {
319
321
  label: n("menu.common.actions.delete"),
320
322
  itemClass: "text-fm-color-typo-error",
321
- disabled: !k.value.delete,
323
+ disabled: !h.value.delete,
322
324
  onClick: () => de(e)
323
325
  }];
324
326
  return m(nt, {
@@ -327,7 +329,7 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
327
329
  }, null);
328
330
  }
329
331
  });
330
- }, ve = g(() => [{
332
+ }, ve = b(() => [{
331
333
  accessorKey: "name",
332
334
  header: () => n("menu.group.list.columns.name"),
333
335
  enableSorting: !1
@@ -385,12 +387,12 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
385
387
  className: "flex justify-end w-full"
386
388
  });
387
389
  }
388
- }]), fe = g(() => ({
389
- itemsLinked: k.value.showAppliedProduct,
390
- type: k.value.type
390
+ }]), fe = b(() => ({
391
+ itemsLinked: h.value.showAppliedProduct,
392
+ type: h.value.type
391
393
  })), _e = async (t) => {
392
394
  const e = Te(t), a = e.group;
393
- if (s.value)
395
+ if (r.value)
394
396
  H.value ? (Y.value ? L.value.overrideCatalogSchedulerGroups([a], Y.value._id) : L.value.overrideCatalogGroups([a]), await L.value.update()) : (J.value.overrideSchedulerGroups([a]), await J.value.update());
395
397
  else {
396
398
  const i = {
@@ -412,11 +414,11 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
412
414
  function ye(t) {
413
415
  te(t.original);
414
416
  }
415
- const ge = re(), be = g(() => ge.breakpoints.value.xs), {
417
+ const ge = re(), be = b(() => ge.breakpoints.value.xs), {
416
418
  t: n
417
419
  } = se();
418
420
  return (t, e) => {
419
- const a = C("fm-button"), i = C("fm-chip"), _ = C("fm-menu-item"), D = C("fm-menu"), b = C("fm-search"), A = C("fm-table"), Q = C("fm-bottom-sheet");
421
+ const a = C("fm-button"), i = C("fm-chip"), _ = C("fm-menu-item"), D = C("fm-menu"), y = C("fm-search"), A = C("fm-table"), Q = C("fm-bottom-sheet");
420
422
  return d(), G(T, null, [U.value ? (d(), N(Ue, we({
421
423
  ref_key: "groupManagerFormRef",
422
424
  ref: ee,
@@ -432,10 +434,10 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
432
434
  title: o(n)("menu.group.empty.title")
433
435
  }, De({
434
436
  _: 2
435
- }, [k.value.create ? {
437
+ }, [h.value.create ? {
436
438
  name: "action",
437
- fn: h(() => [m(o(Ee), null, {
438
- default: h(({
439
+ fn: k(() => [m(o(Ee), null, {
440
+ default: k(({
439
441
  trigger: u
440
442
  }) => [m(a, {
441
443
  "prepend-icon": "add",
@@ -449,39 +451,39 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
449
451
  key: 2
450
452
  }, [be.value ? (d(), G(T, {
451
453
  key: 1
452
- }, [p("div", rt, [m(b, {
454
+ }, [p("div", rt, [m(y, {
453
455
  autofocus: "",
454
456
  modelValue: o(f),
455
457
  "onUpdate:modelValue": e[8] || (e[8] = (u) => oe(f) ? f.value = u : null),
456
458
  placeholder: o(n)("menu.group.search.placeholder")
457
459
  }, null, 8, ["modelValue", "placeholder"])]), e[15] || (e[15] = p("div", {
458
460
  class: "bg-fm-color-neutral-gray-100 w-full h-px rounded-md"
459
- }, null, -1)), p("div", st, [k.value.multiScheduler ? (d(), N(le, {
461
+ }, null, -1)), p("div", st, [h.value.multiScheduler ? (d(), N(le, {
460
462
  key: 0
461
463
  })) : E("", !0), q.value ? (d(), N(Q, {
462
464
  key: 1,
463
465
  modelValue: x.value,
464
466
  "onUpdate:modelValue": e[13] || (e[13] = (u) => x.value = u)
465
467
  }, {
466
- "bottom-sheet-button": h(() => [m(i, {
468
+ "bottom-sheet-button": k(() => [m(i, {
467
469
  label: o(n)("menu.group.type.title", {
468
- type: r.value ? o(z.capitalize)(r.value) : o(n)("menu.common.labels.all")
470
+ type: s.value ? o(z.capitalize)(s.value) : o(n)("menu.common.labels.all")
469
471
  }),
470
472
  class: "text-fm-color-typo-secondary",
471
473
  "right-icon": "keyboard_arrow_down"
472
474
  }, null, 8, ["label"])]),
473
- default: h(() => [p("div", null, [p("div", {
475
+ default: k(() => [p("div", null, [p("div", {
474
476
  class: "px-16 py-8",
475
- onClick: e[9] || (e[9] = (u) => r.value = null)
477
+ onClick: e[9] || (e[9] = (u) => s.value = null)
476
478
  }, V(o(n)("menu.group.type.all")), 1), p("div", {
477
479
  class: "px-16 py-8",
478
- onClick: e[10] || (e[10] = (u) => r.value = "NORMAL")
480
+ onClick: e[10] || (e[10] = (u) => s.value = "NORMAL")
479
481
  }, V(o(n)("menu.group.type.normal")), 1), p("div", {
480
482
  class: "px-16 py-8",
481
- onClick: e[11] || (e[11] = (u) => r.value = "PRODUCT")
483
+ onClick: e[11] || (e[11] = (u) => s.value = "PRODUCT")
482
484
  }, V(o(n)("menu.group.type.product")), 1), p("div", {
483
485
  class: "px-16 py-8",
484
- onClick: e[12] || (e[12] = (u) => r.value = "DYNAMIC")
486
+ onClick: e[12] || (e[12] = (u) => s.value = "DYNAMIC")
485
487
  }, V(o(n)("menu.group.type.dynamic")), 1)])]),
486
488
  _: 1
487
489
  }, 8, ["modelValue"])) : E("", !0)]), m(o(He), {
@@ -492,7 +494,7 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
492
494
  "item-key": "_id",
493
495
  "onUpdate:modelValue": e[14] || (e[14] = (u) => X(u))
494
496
  }, {
495
- item: h(({
497
+ item: k(({
496
498
  element: u
497
499
  }) => [(d(), G("div", {
498
500
  key: u._id,
@@ -503,43 +505,43 @@ const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items
503
505
  group: u
504
506
  }, null, 8, ["group"])])]))]),
505
507
  _: 1
506
- }, 8, ["model-value"])], 64)) : (d(), G("div", lt, [p("div", at, [k.value.multiScheduler ? (d(), N(le, {
508
+ }, 8, ["model-value"])], 64)) : (d(), G("div", lt, [p("div", at, [h.value.multiScheduler ? (d(), N(le, {
507
509
  key: 0
508
510
  })) : E("", !0), q.value ? (d(), N(D, {
509
511
  key: 1
510
512
  }, {
511
- "menu-button": h(() => [m(i, {
513
+ "menu-button": k(() => [m(i, {
512
514
  label: o(n)("menu.group.type.title", {
513
- type: r.value ? o(z.capitalize)(r.value) : o(n)("menu.common.labels.all")
515
+ type: s.value ? o(z.capitalize)(s.value) : o(n)("menu.common.labels.all")
514
516
  }),
515
517
  class: "text-fm-color-typo-secondary",
516
518
  "right-icon": "keyboard_arrow_down"
517
519
  }, null, 8, ["label"])]),
518
- default: h(() => [p("div", null, [m(_, {
520
+ default: k(() => [p("div", null, [m(_, {
519
521
  class: "px-16 py-8",
520
522
  label: o(n)("menu.group.type.all"),
521
- onClick: e[2] || (e[2] = (u) => r.value = null)
523
+ onClick: e[2] || (e[2] = (u) => s.value = null)
522
524
  }, null, 8, ["label"]), m(_, {
523
525
  class: "px-16 py-8",
524
526
  label: o(n)("menu.group.type.normal"),
525
- onClick: e[3] || (e[3] = (u) => r.value = "NORMAL")
527
+ onClick: e[3] || (e[3] = (u) => s.value = "NORMAL")
526
528
  }, null, 8, ["label"]), m(_, {
527
529
  class: "px-16 py-8",
528
530
  label: o(n)("menu.group.type.product"),
529
- onClick: e[4] || (e[4] = (u) => r.value = "PRODUCT")
531
+ onClick: e[4] || (e[4] = (u) => s.value = "PRODUCT")
530
532
  }, null, 8, ["label"]), m(_, {
531
533
  class: "px-16 py-8",
532
534
  label: o(n)("menu.group.type.dynamic"),
533
- onClick: e[5] || (e[5] = (u) => r.value = "DYNAMIC")
535
+ onClick: e[5] || (e[5] = (u) => s.value = "DYNAMIC")
534
536
  }, null, 8, ["label"])])]),
535
537
  _: 1
536
- })) : E("", !0), p("div", ut, [m(b, {
538
+ })) : E("", !0), p("div", ut, [m(y, {
537
539
  autofocus: "",
538
540
  modelValue: o(f),
539
541
  "onUpdate:modelValue": e[6] || (e[6] = (u) => oe(f) ? f.value = u : null),
540
542
  placeholder: o(n)("menu.group.search.placeholder")
541
543
  }, null, 8, ["modelValue", "placeholder"])])]), m(We, null, {
542
- default: h(() => [m(A, {
544
+ default: k(() => [m(A, {
543
545
  "column-defs": ve.value,
544
546
  "column-visibility": fe.value,
545
547
  loading: o(M).checkMenuIsLoading(),
@@ -1,9 +1,9 @@
1
- import { G as k, H as c, x as $, a0 as q } from "./menu-x2xkVIob.js";
1
+ import { G as k, H as c, x as $, a0 as q } from "./menu-TgKv3zcW.js";
2
2
  import { defineComponent as H, computed as V, ref as b, watch as j, onMounted as J, resolveComponent as s, openBlock as _, createElementBlock as y, Fragment as C, renderSlot as K, createVNode as i, unref as o, withCtx as d, createTextVNode as Q, toDisplayString as S, createElementVNode as O, renderList as W, createBlock as I, createCommentVNode as R } from "vue";
3
3
  import { c as h } from "./check-C9mY6LiX.js";
4
4
  import { c as X } from "./string-DpfFixWH.js";
5
5
  import { useDialog as Y, components as Z, FmButtonColorThemeVariant as L, FmButtonVariant as ee } from "@feedmepos/ui-library";
6
- import { L as ae } from "./FormSection.vue_vue_type_script_setup_true_lang-B74sI8Fn.js";
6
+ import { L as ae } from "./FormSection.vue_vue_type_script_setup_true_lang-DHYgEplG.js";
7
7
  import { useI18n as te } from "@feedmepos/mf-common";
8
8
  var le = /* @__PURE__ */ ((p) => (p.AUTO = "auto", p.MANUAL = "manual", p))(le || {});
9
9
  class T {