@feedmepos/mf-menu 0.32.64 → 0.32.66-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 (73) hide show
  1. package/dist/{App-W8bH6kiT.js → App-CI_iNcgK.js} +8 -8
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DvHmwIP2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CYxG4ihX.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-2nFIpZv4.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-UllnR0h6.js} +3 -3
  4. package/dist/{Catalog-pywklogh.js → Catalog-Bh2SAffq.js} +6 -6
  5. package/dist/{Category-UMDcymDA.js → Category-CVKnqszH.js} +14 -14
  6. package/dist/{Category-CLs58F_F.js → Category-DfTtG9CR.js} +8 -8
  7. package/dist/{CookingGuide-Cefv83hr.js → CookingGuide-ya45J1Mt.js} +5 -5
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-C9CvjWEO.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-i6fzPFdp.js} +1 -1
  9. package/dist/{Group-CfxNpgp7.js → Group-DLo3Tq5F.js} +1 -1
  10. package/dist/{Group-Ujeo9noG.js → Group-d5ODb1qt.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-C-eZ5PGS.js → Group.vue_vue_type_script_setup_true_lang-mJM1hfDS.js} +48 -48
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-qTEz4XWJ.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Ctw_g4uv.js} +5 -5
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Kf10i_T2.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-OzkvL_JP.js} +6376 -6365
  14. package/dist/{Ingredient-CsHbFizZ.js → Ingredient-BT24CVH8.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-NKoRT-LI.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Cd2xFodR.js} +2 -2
  16. package/dist/{LinkProductSideSheet-B-Trz4a6.js → LinkProductSideSheet-CAjxumsy.js} +4 -4
  17. package/dist/{MenuSetting-BNWjJAp4.js → MenuSetting-CrKps0Pr.js} +7 -7
  18. package/dist/{OrderPacing-DhKmymC7.js → OrderPacing-DV8YhW4M.js} +5 -5
  19. package/dist/{PrintRoute-DaIY94Ts.js → PrintRoute-N_c01sX7.js} +5 -5
  20. package/dist/{Product-SBeMVZBU.js → Product-i45cWBne.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-CDoJwAFZ.js → Product.vue_vue_type_script_setup_true_lang-SBnKF6Dc.js} +108 -108
  22. package/dist/{ProductInternalTools-BAHMukHo.js → ProductInternalTools-C10beN3h.js} +25 -25
  23. package/dist/{Products-CvUK4ngP.js → Products-Copz_NxK.js} +68 -68
  24. package/dist/{Publish-BqI8LP_Y.js → Publish-Dx9g-Iml.js} +4 -4
  25. package/dist/{Recipe--LCvPofA.js → Recipe-B0dhSxLY.js} +5 -5
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DaqG3ZEC.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BfTWVSgk.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DsCNLIVd.js → RuleView.vue_vue_type_script_setup_true_lang-CGjp5ObO.js} +595 -595
  28. package/dist/{Scheduler-BkXNha9_.js → Scheduler-Bdy9DG0p.js} +3 -3
  29. package/dist/{ServingSequence-DvF8yZTp.js → ServingSequence-onP8TGmt.js} +3 -3
  30. package/dist/{Setting-dfdQhacG.js → Setting-h1N-6VJG.js} +5 -5
  31. package/dist/{Subcategory-DoiEnCY-.js → Subcategory-uRvIJSP2.js} +6 -6
  32. package/dist/{Takeaway-Pyol2JIm.js → Takeaway-1LAZ7cjz.js} +4 -4
  33. package/dist/{Takeaway-CfTKoZgq.js → Takeaway-BVfssE0J.js} +1 -1
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-A2Uz3Vx5.js → Takeaway.vue_vue_type_script_setup_true_lang-DQy0jvn3.js} +5 -5
  35. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-BAMLQtFW.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CFfvrpnY.js} +1 -1
  36. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-Bx6Dfb9q.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DY_CAuFa.js} +2 -2
  37. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Bex1NCnU.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BL_x8Upd.js} +341 -340
  38. package/dist/{Unit-ODy76xeS.js → Unit-Bdjbice8.js} +2 -2
  39. package/dist/{Variant-BFUqQyub.js → Variant-D6lnVRhc.js} +3 -3
  40. package/dist/{_id_-DQO6Zi8b.js → _id_-_IoP91Df.js} +10 -10
  41. package/dist/{app-BNqI06Lw.js → app-CHa-DBPQ.js} +32 -32
  42. package/dist/{app-BNF3d7ks.js → app-DuSxtjmC.js} +1 -1
  43. package/dist/app.js +1 -1
  44. package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +4 -4
  45. package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +18 -0
  46. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  47. package/dist/assets/{override-menu-BCrsilnp.js → linked-status-DBJxrh2U.js} +4 -4
  48. package/dist/assets/{menu-export-oSHHIKfH.js → menu-export-UgrjUnN2.js} +39 -39
  49. package/dist/assets/{linked-status-OJYsf1K1.js → override-menu-CIRYGinT.js} +4 -4
  50. package/dist/assets/{validate-menu-CoDW8e4r.js → validate-menu-D8-_8UwY.js} +2 -2
  51. package/dist/{catalog-BiUOGVhu.js → catalog-C_rhdKvu.js} +1 -1
  52. package/dist/{catalogSetting-Dt03eB79.js → catalogSetting-SujM_d4-.js} +1 -1
  53. package/dist/{currency-I2Plgz6g.js → currency-CBsQulKD.js} +1 -1
  54. package/dist/{dayjs.min-CVgq1MI5.js → dayjs.min-CBi2aUyP.js} +2 -2
  55. package/dist/{discardConfirm-CU5H7XLz.js → discardConfirm-BhV1iT_G.js} +1 -1
  56. package/dist/index-CtMD-H5N.js +310 -0
  57. package/dist/{index-OUaL4kl7.js → index-D10URGOP.js} +5 -5
  58. package/dist/{index-D79td5bo.js → index-aXVdUVi9.js} +6 -6
  59. package/dist/{index.vue_vue_type_script_setup_true_lang-BJ5dPd5h.js → index.vue_vue_type_script_setup_true_lang-cI7uKVre.js} +462 -462
  60. package/dist/{item-BPryyFAB.js → item-B7ovTnkT.js} +1262 -1338
  61. package/dist/{jszip.min-D3CS7h7J.js → jszip.min-nm6XtoQ3.js} +167 -167
  62. package/dist/{linkProducts-ClCfYWFx.js → linkProducts-lOTzQqNK.js} +4 -4
  63. package/dist/{memberPricing-CLr-Y_7e.js → memberPricing-BYT32y4D.js} +1 -1
  64. package/dist/{menu-gBc-za7C.js → menu-6qHiTu0j.js} +1 -1
  65. package/dist/{menuV2-D7O1K9Ej.js → menuV2-ILhcIRUD.js} +67 -67
  66. package/dist/{order_pacing-DVn2Kb9a.js → order_pacing-Bq09k_C7.js} +5 -5
  67. package/dist/{priceTier-33L1xIZW.js → priceTier-BzuYYCqN.js} +1 -1
  68. package/dist/{rules-C7ujXDzl.js → rules-BrliKHcG.js} +3 -3
  69. package/dist/{scheduler-Dzj2Ed1a.js → scheduler-6lSaa1nT.js} +5 -5
  70. package/dist/{toExcel-CGOr53pl.js → toExcel-C8QPvQuM.js} +2 -2
  71. package/dist/{unit-CfREeFuX.js → unit-s4XWrNN2.js} +3 -3
  72. package/package.json +1 -1
  73. package/dist/index-CD_omf3p.js +0 -222
@@ -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-BJ5dPd5h.js";
6
- import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-BNqI06Lw.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-cI7uKVre.js";
6
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-CHa-DBPQ.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-Bex1NCnU.js";
10
+ import { _ as _sfc_main$7 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BL_x8Upd.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-BPryyFAB.js";
13
- import { u as useAppStore } from "./app-BNF3d7ks.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-B7ovTnkT.js";
13
+ import { u as useAppStore } from "./app-DuSxtjmC.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) {
@@ -13455,7 +13455,7 @@ registerAuth(
13455
13455
  "Browser"
13456
13456
  /* ClientPlatform.BROWSER */
13457
13457
  );
13458
- var define_appEndpoint_default = { firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" } };
13458
+ var define_appEndpoint_default = { firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "image.feedmedev.cc", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" } };
13459
13459
  async function initFirebase() {
13460
13460
  if (getApps().length) {
13461
13461
  console.warn("mf-menu:firebase already initialized by another app");
@@ -13488,7 +13488,7 @@ const _hoisted_1 = {
13488
13488
  async function m(I) {
13489
13489
  try {
13490
13490
  if (!S.value) {
13491
- const T = "6GhcttsJ9Rj9cTevcdrpin";
13491
+ const T = "MaGoXrEWuEJNpWgKTqseee";
13492
13492
  console.log(`Initialize feature flag with key *${T.slice(T.length - 4)}`), await p({ apiKey: T });
13493
13493
  }
13494
13494
  await f(I);
@@ -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-DvF8yZTp.js")
13546
+ component: () => import("./ServingSequence-onP8TGmt.js")
13547
13547
  });
13548
13548
  }
13549
13549
  ), watch(
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as j, computed as i, h as u, ref as K, resolveComponent as b, createElementBlock as p, openBlock as d, createVNode as f, withCtx as g, createElementVNode as V, createCommentVNode as C, toDisplayString as U, 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-DsCNLIVd.js";
5
- import { L as $ } from "./LinkProductSideSheet-B-Trz4a6.js";
4
+ import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-CGjp5ObO.js";
5
+ import { L as $ } from "./LinkProductSideSheet-CAjxumsy.js";
6
6
  import { u as q } from "./search-BAPEUu1R.js";
7
- import { u as J, aj as Q } from "./index.vue_vue_type_script_setup_true_lang-BJ5dPd5h.js";
7
+ import { u as J, aj as Q } from "./index.vue_vue_type_script_setup_true_lang-cI7uKVre.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,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-CU5H7XLz.js";
2
+ import { l as _, u as D } from "./discardConfirm-BhV1iT_G.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-DvHmwIP2.js";
5
+ import { _ as A } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CYxG4ihX.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-BJ5dPd5h.js";
7
+ import { u as I } from "./index.vue_vue_type_script_setup_true_lang-cI7uKVre.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-BJ5dPd5h.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, O as ie, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-cI7uKVre.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-BNqI06Lw.js";
6
+ import { _ as Ue, R as ce } from "./app-CHa-DBPQ.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-DsCNLIVd.js";
10
- import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-qTEz4XWJ.js";
9
+ import { _ as De } from "./RuleView.vue_vue_type_script_setup_true_lang-CGjp5ObO.js";
10
+ import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Ctw_g4uv.js";
11
11
  import { c as $e } from "./check-C9mY6LiX.js";
12
- import { C as P, a as R } from "./catalogSetting-Dt03eB79.js";
12
+ import { C as P, a as R } from "./catalogSetting-SujM_d4-.js";
13
13
  import { _ as Le } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
14
- import { C as Ee } from "./catalog-BiUOGVhu.js";
14
+ import { C as Ee } from "./catalog-C_rhdKvu.js";
15
15
  const Ie = /* @__PURE__ */ se({
16
16
  __name: "CatalogUsageTable",
17
17
  props: {
@@ -2,13 +2,13 @@ import { defineComponent as L, ref as $, computed as C, 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-BJ5dPd5h.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-cI7uKVre.js";
6
6
  import { _ as ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
7
- import { _ as ne } from "./app-BNqI06Lw.js";
7
+ import { _ as ne } from "./app-CHa-DBPQ.js";
8
8
  import { c as le } from "./createForm-BoUQeZTd.js";
9
- import { A as se, ao as R } from "./item-BPryyFAB.js";
9
+ import { A as se, aj as R } from "./item-B7ovTnkT.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-gBc-za7C.js";
11
+ import { u as j, a as ce } from "./menu-6qHiTu0j.js";
12
12
  const ie = se, me = {
13
13
  key: 0
14
14
  }, ue = {
@@ -30,13 +30,13 @@ const ie = se, me = {
30
30
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
31
31
  }, be = /* @__PURE__ */ L({
32
32
  __name: "CategoryTable",
33
- setup(A) {
33
+ setup(z) {
34
34
  const d = S(), p = T(), h = N(p), _ = D(h), v = R({
35
35
  dialog: d,
36
36
  menuLoader: _
37
37
  }), {
38
38
  categories: i
39
- } = z(), n = $(""), g = C(() => i.value.filter((e) => e.name.toLowerCase().includes(n.value.toLowerCase()))), {
39
+ } = j(), n = $(""), g = C(() => i.value.filter((e) => e.name.toLowerCase().includes(n.value.toLowerCase()))), {
40
40
  t: l
41
41
  } = E(), V = $([{
42
42
  accessorKey: "name",
@@ -120,20 +120,20 @@ const ie = se, me = {
120
120
  }, e.name, !0);
121
121
  });
122
122
  }
123
- async function I(e) {
123
+ async function A(e) {
124
124
  const t = e.map((r) => r.id).filter((r) => !!r);
125
125
  await v.rearrange(t);
126
126
  }
127
- const O = G();
127
+ const I = G();
128
128
  async function F(e) {
129
- le(O, ie, {
129
+ le(I, ie, {
130
130
  initialValue: e
131
131
  });
132
132
  }
133
- const U = W(), j = C(() => U.breakpoints.value.xs);
133
+ const O = W(), U = C(() => O.breakpoints.value.xs);
134
134
  return (e, t) => {
135
135
  const r = x("FmSearch"), K = x("FmTable"), P = x("FmButton");
136
- return j.value ? (c(), f("div", pe, [s("div", _e, [u(r, {
136
+ return U.value ? (c(), f("div", pe, [s("div", _e, [u(r, {
137
137
  autofocus: "",
138
138
  modelValue: n.value,
139
139
  "onUpdate:modelValue": t[2] || (t[2] = (a) => n.value = a),
@@ -171,7 +171,7 @@ const ie = se, me = {
171
171
  "shrink-at": !1,
172
172
  "hide-footer": "",
173
173
  "pin-header-row": "",
174
- onDndChanged: I,
174
+ onDndChanged: A,
175
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
@@ -180,8 +180,8 @@ const ie = se, me = {
180
180
  }
181
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" }, Re = /* @__PURE__ */ L({
182
182
  __name: "Category",
183
- setup(A) {
184
- const d = S(), p = T(), h = N(p), _ = D(h), v = R({ dialog: d, menuLoader: _ }), { categories: i } = z(), { t: n } = E();
183
+ setup(z) {
184
+ const d = S(), p = T(), h = N(p), _ = D(h), v = R({ dialog: d, menuLoader: _ }), { categories: i } = j(), { t: n } = E();
185
185
  function g() {
186
186
  v.create();
187
187
  }
@@ -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
- 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-BJ5dPd5h.js";
5
- import { _ as G } from "./app-BNqI06Lw.js";
6
- import { u as B } from "./menu-gBc-za7C.js";
7
- import { ao as H } from "./item-BPryyFAB.js";
3
+ import { useSnackbar as M, useBreakpoints as $, useDialog as j } from "@feedmepos/ui-library";
4
+ import { b as F, i as T, u as I, s as Y, g as q, h as A, _ as R } from "./index.vue_vue_type_script_setup_true_lang-cI7uKVre.js";
5
+ import { _ as G } from "./app-CHa-DBPQ.js";
6
+ import { u as B } from "./menu-6qHiTu0j.js";
7
+ import { aj as H } from "./item-B7ovTnkT.js";
8
8
  const J = {
9
9
  key: 0
10
10
  }, Q = {
@@ -27,7 +27,7 @@ const J = {
27
27
  }, ne = /* @__PURE__ */ E({
28
28
  __name: "CategoryTable",
29
29
  setup(D) {
30
- const f = M(), y = F(f), h = T(y), d = Y(), {
30
+ const f = M(), y = F(f), h = T(y), d = I(), {
31
31
  categories: v
32
32
  } = B(), b = k(() => {
33
33
  var r, t;
@@ -39,7 +39,7 @@ const J = {
39
39
  position: e.id ? ((p = l[e.id]) == null ? void 0 : p.position) ?? c + 1 : null
40
40
  };
41
41
  });
42
- return j(o, (e) => e.name);
42
+ return Y(o, (e) => e.name);
43
43
  }), n = C(""), m = k(() => b.value.filter((l) => l.name.toLowerCase().includes(n.value.toLowerCase()))), {
44
44
  t: s
45
45
  } = L(), x = C([{
@@ -129,7 +129,7 @@ const J = {
129
129
  }), me = /* @__PURE__ */ E({
130
130
  __name: "Category",
131
131
  setup(D) {
132
- const f = I(), y = M(), h = F(y), d = T(h), v = H({ dialog: f, menuLoader: d }), { categories: b } = B(), { t: n } = L();
132
+ const f = j(), y = M(), h = F(y), d = T(h), v = H({ dialog: f, menuLoader: d }), { categories: b } = B(), { t: n } = L();
133
133
  function m() {
134
134
  v.create();
135
135
  }
@@ -2,12 +2,12 @@ import { defineComponent as ae, ref as F, computed as V, resolveComponent as x,
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-BNqI06Lw.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-BJ5dPd5h.js";
7
- import { u as pe, l as ge } from "./discardConfirm-CU5H7XLz.js";
5
+ import { _ as Ce } from "./app-CHa-DBPQ.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-cI7uKVre.js";
7
+ import { u as pe, l as ge } from "./discardConfirm-BhV1iT_G.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-DsCNLIVd.js";
10
- import { L as Ie } from "./LinkProductSideSheet-B-Trz4a6.js";
9
+ import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-CGjp5ObO.js";
10
+ import { L as Ie } from "./LinkProductSideSheet-CAjxumsy.js";
11
11
  import { _ as Oe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
12
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({
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-BJ5dPd5h.js";
4
+ import { u as D } from "./index.vue_vue_type_script_setup_true_lang-cI7uKVre.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-C-eZ5PGS.js";
1
+ import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-mJM1hfDS.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-BVmHMvKD.js";
5
- import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-C-eZ5PGS.js";
6
- import { ap as b } from "./item-BPryyFAB.js";
7
- import { a as h } from "./menu-gBc-za7C.js";
5
+ import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-mJM1hfDS.js";
6
+ import { ak as b } from "./item-B7ovTnkT.js";
7
+ import { a as h } from "./menu-6qHiTu0j.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
- import { defineComponent as oe, computed as f, resolveComponent as F, createBlock as R, 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 N, unref as u, ref as P, watch as $e, h as Y, mergeProps as De, createSlots as Te, withModifiers as Pe, isRef as Q, nextTick as de } from "vue";
2
- import { l as ee } from "./discardConfirm-CU5H7XLz.js";
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-BhV1iT_G.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-BJ5dPd5h.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-cI7uKVre.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-C9CvjWEO.js";
9
- import { _ as tt } from "./app-BNqI06Lw.js";
8
+ import { _ as Ze, a as et } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-i6fzPFdp.js";
9
+ import { _ as tt } from "./app-CHa-DBPQ.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-2nFIpZv4.js";
13
- import { O as ge, au as at, av as ut, ap as st, Q as it, a6 as ct, a2 as mt, R as pt } from "./item-BPryyFAB.js";
12
+ import { _ as rt } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-UllnR0h6.js";
13
+ import { N as ge, ao as at, ap as ut, ak as st, O as it, a5 as ct, a1 as mt, Q as pt } from "./item-B7ovTnkT.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-BiUOGVhu.js";
16
+ import { C as vt } from "./catalog-C_rhdKvu.js";
17
17
  const gt = /* @__PURE__ */ oe({
18
18
  __name: "ResponsiveContextMenu",
19
19
  props: {
@@ -21,11 +21,11 @@ const gt = /* @__PURE__ */ oe({
21
21
  },
22
22
  setup(W) {
23
23
  const L = be(), a = f(() => L.breakpoints.value.xs);
24
- return (I, O) => {
24
+ return (I, N) => {
25
25
  const b = F("FmButton"), k = F("FmMenuItem"), v = F("FmMenu");
26
- return a.value ? (m(), R(nt, { key: 0 }, {
26
+ return a.value ? (m(), $(nt, { key: 0 }, {
27
27
  default: x(() => [
28
- (m(!0), y(E, null, ne(I.items, ({ icon: V, label: G, disabled: h, itemClass: U, onClick: S }) => (m(), R(ot, {
28
+ (m(!0), y(E, null, ne(I.items, ({ icon: V, label: G, disabled: h, itemClass: U, onClick: S }) => (m(), $(ot, {
29
29
  key: G,
30
30
  icon: V,
31
31
  label: G,
@@ -37,7 +37,7 @@ const gt = /* @__PURE__ */ oe({
37
37
  }, null, 8, ["icon", "label", "disabled", "itemClass", "onClick"]))), 128))
38
38
  ]),
39
39
  _: 1
40
- })) : (m(), R(v, {
40
+ })) : (m(), $(v, {
41
41
  key: 1,
42
42
  "stop-click-propagation": "",
43
43
  shift: !0
@@ -52,7 +52,7 @@ const gt = /* @__PURE__ */ oe({
52
52
  })
53
53
  ]),
54
54
  default: x(() => [
55
- (m(!0), y(E, null, ne(I.items, ({ icon: V, label: G, disabled: h, itemClass: U, onClick: S }) => (m(), R(k, {
55
+ (m(!0), y(E, null, ne(I.items, ({ icon: V, label: G, disabled: h, itemClass: U, onClick: S }) => (m(), $(k, {
56
56
  key: G,
57
57
  disabled: h,
58
58
  onClick: () => {
@@ -81,21 +81,21 @@ const gt = /* @__PURE__ */ oe({
81
81
  group: {}
82
82
  },
83
83
  setup(W) {
84
- const L = W, { t: a } = _e(), I = ye(), O = f(() => L.group.itemsLinked.map((b) => {
84
+ const L = W, { t: a } = _e(), I = ye(), N = f(() => L.group.itemsLinked.map((b) => {
85
85
  const k = I.state.menu.modules.item.find((v) => v._id === b);
86
86
  return (k == null ? void 0 : k.name) || b;
87
87
  }).filter(Boolean));
88
88
  return (b, k) => (m(), y("div", null, [
89
89
  d("div", null, A(u(a)("menu.group.dialogs.delete.message", { name: b.group.name })), 1),
90
- O.value.length > 0 ? (m(), y("div", yt, [
91
- d("div", _t, A(u(a)("menu.group.dialogs.delete.unlink_warning", { count: O.value.length })), 1),
90
+ N.value.length > 0 ? (m(), y("div", yt, [
91
+ d("div", _t, A(u(a)("menu.group.dialogs.delete.unlink_warning", { count: N.value.length })), 1),
92
92
  d("ul", bt, [
93
- (m(!0), y(E, null, ne(O.value, (v) => (m(), y("li", {
93
+ (m(!0), y(E, null, ne(N.value, (v) => (m(), y("li", {
94
94
  key: v,
95
95
  class: "text-sm"
96
96
  }, A(v), 1))), 128))
97
97
  ])
98
- ])) : N("", !0)
98
+ ])) : O("", !0)
99
99
  ]));
100
100
  }
101
101
  }), ht = {
@@ -123,10 +123,10 @@ const gt = /* @__PURE__ */ oe({
123
123
  class: "flex-1 space-y-4"
124
124
  }, It = {
125
125
  class: "fm-typo-en-body-lg-600"
126
- }, Ot = {
126
+ }, Nt = {
127
127
  key: 0,
128
128
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
129
- }, Nt = {
129
+ }, Ot = {
130
130
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
131
131
  }, Wt = /* @__PURE__ */ oe({
132
132
  __name: "Group",
@@ -134,12 +134,12 @@ const gt = /* @__PURE__ */ oe({
134
134
  setup(W, {
135
135
  emit: L
136
136
  }) {
137
- const a = ye(), I = He(), O = qe(), b = Le(Ue(O)), k = We(), v = f(() => a.rules.group), V = f(() => new ge(a, b.updateMenu, k)), G = f(() => V.value.mapGroups(a.groups, !1)), {
137
+ const a = ye(), I = He(), N = qe(), b = Le(Ue(N)), k = We(), v = f(() => a.rules.group), V = f(() => new ge(a, b.updateMenu, k)), G = f(() => V.value.mapGroups(a.groups, !1)), {
138
138
  searchKey: h,
139
139
  filter: U
140
140
  } = ft(), S = P(!1), _ = P(null), {
141
141
  attributes: le,
142
- filterRule: $,
142
+ filterRule: D,
143
143
  mongoQuery: re
144
144
  } = Qe({
145
145
  valueSource: G,
@@ -148,7 +148,7 @@ const gt = /* @__PURE__ */ oe({
148
148
  const t = (r) => U([r.name, ...Object.values(r.items).flatMap((o) => `${o.code} ${o.name ?? o.fallbackName} ${Be.Dinero.fromFdoDinero(o.price).toFormat()}`), r.type]), e = (r) => !r.customAttributes && !re.value ? !0 : Ye(r.customAttributes ?? {}, re.value);
149
149
  return G.value.filter((r) => t(r) && e(r)).filter((r) => !_.value || r.type === _.value);
150
150
  }), ke = L;
151
- $e(() => j.value.length, () => {
151
+ De(() => j.value.length, () => {
152
152
  ke("update:count", j.value.length);
153
153
  }, {
154
154
  immediate: !0
@@ -282,7 +282,7 @@ const gt = /* @__PURE__ */ oe({
282
282
  for (const s of r)
283
283
  if (ct(a.state.menu, t._id, s._id)) {
284
284
  const C = (o = a.state.menu.modules.item.find((p) => p._id === s._id)) == null ? void 0 : o.name;
285
- O.open({
285
+ N.open({
286
286
  type: "error",
287
287
  message: l("menu.product.form.group.circularError", {
288
288
  groupName: t.name,
@@ -437,27 +437,27 @@ const gt = /* @__PURE__ */ oe({
437
437
  };
438
438
  await b.updateMenu(s, o.name);
439
439
  }
440
- }, D = P(null), Fe = f(() => xe(D.value)), ce = P(null), me = async (t) => {
440
+ }, R = P(null), Fe = f(() => xe(R.value)), ce = P(null), me = async (t) => {
441
441
  var e;
442
- D.value = lt(t), await de(), (e = ce.value) == null || e.trigger(!0);
442
+ R.value = lt(t), await de(), (e = ce.value) == null || e.trigger(!0);
443
443
  };
444
444
  function Ve(t) {
445
445
  me(t.original);
446
446
  }
447
- const Ie = be(), Oe = f(() => Ie.breakpoints.value.xs), {
447
+ const Ie = be(), Ne = f(() => Ie.breakpoints.value.xs), {
448
448
  t: l
449
- } = _e(), Ne = f(() => {
449
+ } = _e(), Oe = f(() => {
450
450
  var t;
451
451
  return ((t = I.groupAttributeSettings) == null ? void 0 : t.value.length) > 0;
452
452
  }), K = P(!1), H = P(null);
453
- async function Re() {
453
+ async function $e() {
454
454
  K.value = !K.value, K.value && (await de(), H.value && H.value.toggleProperty(!0));
455
455
  }
456
456
  const pe = () => v.value.multiScheduler ? i(et, null, {
457
- append: () => Ne.value ? i("div", {
457
+ append: () => Oe.value ? i("div", {
458
458
  class: "pl-8 flex items-center justify-center border-l border-fm-color-neutral-gray-200",
459
459
  onClick: (t) => {
460
- t.stopPropagation(), Re();
460
+ t.stopPropagation(), $e();
461
461
  }
462
462
  }, [i(Je.FmIcon, {
463
463
  name: "filter_alt",
@@ -468,17 +468,17 @@ const gt = /* @__PURE__ */ oe({
468
468
  }) : null;
469
469
  return (t, e) => {
470
470
  const r = F("fm-button"), o = F("fm-chip"), s = F("fm-menu-item"), C = F("fm-menu"), p = F("fm-search"), M = F("fm-table"), T = F("fm-bottom-sheet");
471
- return m(), y(E, null, [D.value ? (m(), R(ut, De({
471
+ return m(), y(E, null, [R.value ? (m(), $(ut, Re({
472
472
  ref_key: "groupManagerFormRef",
473
473
  ref: ce,
474
- key: D.value._id
474
+ key: R.value._id
475
475
  }, Fe.value, {
476
476
  action: "update",
477
477
  title: u(l)("menu.group.dialogs.update.title"),
478
- group: D.value,
479
- "onUpdate:group": e[0] || (e[0] = (n) => D.value = n),
478
+ group: R.value,
479
+ "onUpdate:group": e[0] || (e[0] = (n) => R.value = n),
480
480
  "onSubmit:group": e[1] || (e[1] = (n) => Se(n))
481
- }), null, 16, ["title", "group"])) : N("", !0), G.value.length === 0 ? (m(), y("div", ht, [i(ze, {
481
+ }), null, 16, ["title", "group"])) : O("", !0), G.value.length === 0 ? (m(), y("div", ht, [i(ze, {
482
482
  subtitle: u(l)("menu.group.empty.subtitle"),
483
483
  title: u(l)("menu.group.empty.title")
484
484
  }, Te({
@@ -498,7 +498,7 @@ const gt = /* @__PURE__ */ oe({
498
498
  key: "0"
499
499
  } : void 0]), 1032, ["subtitle", "title"])])) : (m(), y(E, {
500
500
  key: 2
501
- }, [Oe.value ? (m(), y(E, {
501
+ }, [Ne.value ? (m(), y(E, {
502
502
  key: 1
503
503
  }, [d("div", At, [i(p, {
504
504
  autofocus: "",
@@ -507,7 +507,7 @@ const gt = /* @__PURE__ */ oe({
507
507
  placeholder: u(l)("menu.group.search.placeholder")
508
508
  }, null, 8, ["modelValue", "placeholder"])]), e[17] || (e[17] = d("div", {
509
509
  class: "bg-fm-color-neutral-gray-100 w-full h-px rounded-md"
510
- }, null, -1)), d("div", Gt, [i(pe), J.value ? (m(), R(T, {
510
+ }, null, -1)), d("div", Gt, [i(pe), J.value ? (m(), $(T, {
511
511
  key: 0,
512
512
  modelValue: S.value,
513
513
  "onUpdate:modelValue": e[14] || (e[14] = (n) => S.value = n)
@@ -533,13 +533,13 @@ const gt = /* @__PURE__ */ oe({
533
533
  onClick: e[13] || (e[13] = (n) => _.value = "DYNAMIC")
534
534
  }, A(u(l)("menu.group.type.dynamic")), 1)])]),
535
535
  _: 1
536
- }, 8, ["modelValue"])) : N("", !0)]), K.value ? (m(), y("div", St, [i(u(ve), {
536
+ }, 8, ["modelValue"])) : O("", !0)]), K.value ? (m(), y("div", St, [i(u(ve), {
537
537
  ref_key: "attributeFilterRef",
538
538
  ref: H,
539
539
  attributes: u(le),
540
- modelValue: u($),
541
- "onUpdate:modelValue": e[15] || (e[15] = (n) => Q($) ? $.value = n : null)
542
- }, null, 8, ["attributes", "modelValue"])])) : N("", !0), i(u(Ee), {
540
+ modelValue: u(D),
541
+ "onUpdate:modelValue": e[15] || (e[15] = (n) => Q(D) ? D.value = n : null)
542
+ }, null, 8, ["attributes", "modelValue"])])) : O("", !0), i(u(Ee), {
543
543
  class: q(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100", "pb-64"]),
544
544
  "model-value": j.value,
545
545
  group: "categories",
@@ -552,13 +552,13 @@ const gt = /* @__PURE__ */ oe({
552
552
  }) => [(m(), y("div", {
553
553
  key: n._id,
554
554
  class: q(["py-12 px-16", "flex space-x-16", "items-center"])
555
- }, [d("div", Ft, [d("div", Vt, [d("p", It, A(n.name), 1), d("div", null, [J.value ? (m(), y("p", Ot, A(u(ee.capitalize)(n.type)) + " type ", 1)) : N("", !0), d("p", Nt, A(u(l)("menu.group.list.products_linked", {
555
+ }, [d("div", Ft, [d("div", Vt, [d("p", It, A(n.name), 1), d("div", null, [J.value ? (m(), y("p", Nt, A(u(ee.capitalize)(n.type)) + " type ", 1)) : O("", !0), d("p", Ot, A(u(l)("menu.group.list.products_linked", {
556
556
  count: n.itemsLinked.length
557
557
  })), 1)])]), i(ie, {
558
558
  group: n
559
559
  }, null, 8, ["group"])])]))]),
560
560
  _: 1
561
- }, 8, ["model-value"])], 64)) : (m(), y("div", wt, [d("div", Ct, [i(pe), J.value ? (m(), R(C, {
561
+ }, 8, ["model-value"])], 64)) : (m(), y("div", wt, [d("div", Ct, [i(pe), J.value ? (m(), $(C, {
562
562
  key: 0
563
563
  }, {
564
564
  "menu-button": x(() => [i(o, {
@@ -586,7 +586,7 @@ const gt = /* @__PURE__ */ oe({
586
586
  onClick: e[5] || (e[5] = (n) => _.value = "DYNAMIC")
587
587
  }, null, 8, ["label"])])]),
588
588
  _: 1
589
- })) : N("", !0), d("div", xt, [i(p, {
589
+ })) : O("", !0), d("div", xt, [i(p, {
590
590
  autofocus: "",
591
591
  modelValue: u(h),
592
592
  "onUpdate:modelValue": e[6] || (e[6] = (n) => Q(h) ? h.value = n : null),
@@ -595,9 +595,9 @@ const gt = /* @__PURE__ */ oe({
595
595
  ref_key: "attributeFilterRef",
596
596
  ref: H,
597
597
  attributes: u(le),
598
- modelValue: u($),
599
- "onUpdate:modelValue": e[7] || (e[7] = (n) => Q($) ? $.value = n : null)
600
- }, null, 8, ["attributes", "modelValue"])])) : N("", !0), i(tt, null, {
598
+ modelValue: u(D),
599
+ "onUpdate:modelValue": e[7] || (e[7] = (n) => Q(D) ? D.value = n : null)
600
+ }, null, 8, ["attributes", "modelValue"])])) : O("", !0), i(tt, null, {
601
601
  default: x(() => [i(M, {
602
602
  "column-defs": Ae.value,
603
603
  "column-visibility": Ge.value,
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as N, useModel as J, computed as B, resolveComponent as d, createBlock as I, openBlock as b, ref as L, watch as K, withCtx as f, createElementBlock as F, createElementVNode as U, Fragment as q, renderList as W, createVNode as u, unref as e, createCommentVNode as $, withModifiers as Q, onMounted as te, renderSlot as le, toDisplayString as h, createTextVNode as ae } from "vue";
2
2
  import { useI18n as z, useCustomAttributes as ue, useCoreStore as re, isEmptyRule as oe, EMPTY_RULE as w } from "@feedmepos/mf-common";
3
3
  import { _ as x } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
4
- import { u as D } from "./priceTier-33L1xIZW.js";
4
+ import { u as D } from "./priceTier-BzuYYCqN.js";
5
5
  import { b as O } from "./app-5fxKLAzS.js";
6
6
  import { FmButtonVariant as Z, useDialog as ne, components as ie, FmButtonColorThemeVariant as j } from "@feedmepos/ui-library";
7
- import { m as G, f as X, e as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-DsCNLIVd.js";
8
- import { L as R } from "./catalogSetting-Dt03eB79.js";
9
- import { L as de } from "./LinkProductSideSheet-B-Trz4a6.js";
7
+ import { m as G, f as X, e as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-CGjp5ObO.js";
8
+ import { L as R } from "./catalogSetting-SujM_d4-.js";
9
+ import { L as de } from "./LinkProductSideSheet-CAjxumsy.js";
10
10
  import { c as Y } from "./check-C9mY6LiX.js";
11
- import { u as pe, d as H, X as ce } from "./index.vue_vue_type_script_setup_true_lang-BJ5dPd5h.js";
11
+ import { u as pe, d as H, X as ce } from "./index.vue_vue_type_script_setup_true_lang-cI7uKVre.js";
12
12
  import { c as ve } from "./string-DpfFixWH.js";
13
13
  const _e = /* @__PURE__ */ N({
14
14
  __name: "LinkPriceTier",