@feedmepos/mf-menu 0.32.63-dev.1 → 0.32.63-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/{App-DhfTGlgM.js → App-C1a1LT6q.js} +6 -6
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C5-8qdJK.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CRZjxBH8.js} +3 -3
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CXm-0H18.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DsicZfqa.js} +3 -3
  4. package/dist/{Catalog-WuZJfM6l.js → Catalog-CFH82IzQ.js} +22 -22
  5. package/dist/{Category-BeIo7XWY.js → Category-Bmq8Dyqn.js} +4 -4
  6. package/dist/{Category-D-cQQCPS.js → Category-DcHgLPzL.js} +4 -4
  7. package/dist/{CookingGuide-B-yvD9ZA.js → CookingGuide-g7cIlLFa.js} +29 -29
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-2_yzXoa4.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DGMoRxxQ.js} +1 -1
  9. package/dist/{Group-13i5igrS.js → Group-CFxq6Jwg.js} +3 -3
  10. package/dist/{Group-CY8lUzQG.js → Group-DQ4S03dQ.js} +1 -1
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-DZhxy0tb.js → Group.vue_vue_type_script_setup_true_lang-Criwjsgq.js} +7 -7
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CWqv-oUd.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-nnzPpKcA.js} +19 -19
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DTs4Vpdi.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CanCWSih.js} +4209 -4209
  14. package/dist/{Ingredient-vrUOW6gk.js → Ingredient-BUWk8yVD.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-xcVjRjqD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DBMUbP3d.js} +2 -2
  16. package/dist/{LinkProductSideSheet-DMbJG6wf.js → LinkProductSideSheet-D_ewAtdl.js} +4 -4
  17. package/dist/{MenuSetting-Di2xwm00.js → MenuSetting-DgaIhn51.js} +7 -7
  18. package/dist/{OrderPacing-CCe-IcGO.js → OrderPacing-CUHfN9Hy.js} +7 -7
  19. package/dist/{PrintRoute-CcfObcHY.js → PrintRoute-CFxcyI3r.js} +10 -10
  20. package/dist/{Product-ChUVnMgG.js → Product-ChWP4DlN.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-C9Qp50hL.js → Product.vue_vue_type_script_setup_true_lang-Df0hOAaW.js} +58 -58
  22. package/dist/{ProductInternalTools-D9HXhgo5.js → ProductInternalTools--PMoNgk2.js} +14 -14
  23. package/dist/{Products-Bly2ktEC.js → Products-D3yOg_rD.js} +52 -52
  24. package/dist/{Publish-C8ubb8Qf.js → Publish-C5pI3ARw.js} +107 -107
  25. package/dist/{Recipe-BpMRLsyO.js → Recipe-ClV7xDMI.js} +5 -5
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BD5OCDRn.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BWZJOF7c.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-Ba3djmX1.js → RuleView.vue_vue_type_script_setup_true_lang-_lhdiLQO.js} +362 -362
  28. package/dist/{Scheduler-CiB4b2Fn.js → Scheduler-B4gXNQFu.js} +17 -17
  29. package/dist/{ServingSequence-BlcyW-dv.js → ServingSequence-DQ9LvurM.js} +3 -3
  30. package/dist/{Setting-DqkL6YYU.js → Setting-D659-DYQ.js} +5 -5
  31. package/dist/{Subcategory-B4Jg_wtT.js → Subcategory-CldSh8My.js} +10 -10
  32. package/dist/{Takeaway-5rFPYYNA.js → Takeaway-B5MvIP-7.js} +4 -4
  33. package/dist/{Takeaway-5G3f7jWT.js → Takeaway-za5OSOvm.js} +1 -1
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CVsOhg_E.js → Takeaway.vue_vue_type_script_setup_true_lang-BhoK4wib.js} +7 -7
  35. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CPqxA6JD.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-Bl3WgQNK.js} +1 -1
  36. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-yrNuTD-3.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DkWRL-y_.js} +2 -2
  37. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Tox1yfD-.js +5858 -0
  38. package/dist/{Unit-CAkdmQLg.js → Unit-CMEF528D.js} +2 -2
  39. package/dist/{Variant-BbLQqbAK.js → Variant-37cAL8NO.js} +6 -6
  40. package/dist/{_id_-Dzacr40I.js → _id_-c4e1Ngjk.js} +12 -12
  41. package/dist/{app-Deov1985.js → app-Cb9EXiAF.js} +1 -1
  42. package/dist/{app-4yWs09Fr.js → app-Dafn3Z5r.js} +102 -102
  43. package/dist/app.js +1 -1
  44. package/dist/apps/mf-menu/src/api/media.d.ts +10 -3
  45. package/dist/apps/mf-menu/src/app.d.ts +60 -10
  46. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +67 -21
  47. package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ManageImageDrawer.vue.d.ts +15 -1
  48. package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ProductImageField.vue.d.ts +16 -1
  49. package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/RegenerateImageDialog.vue.d.ts +10 -0
  50. package/dist/apps/mf-menu/src/helper/menuImport.d.ts +22 -0
  51. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/assets/{override-menu-cBe2aMY6.js → linked-status-Cy7U6MR7.js} +4 -4
  53. package/dist/assets/{menu-export-Dcw5a_dN.js → menu-export-MsUq-m6i.js} +3 -3
  54. package/dist/assets/{linked-status-B2WLhKkV.js → override-menu-C21YmN7u.js} +4 -4
  55. package/dist/assets/{validate-menu-BM-5GK85.js → validate-menu-DO2qd1Ls.js} +4 -4
  56. package/dist/{catalog-DKygS2Cs.js → catalog-CZzcvExG.js} +1 -1
  57. package/dist/{catalogSetting-Bn2TplvM.js → catalogSetting-3iBsVbtC.js} +1 -1
  58. package/dist/{currency-DXgNHtK8.js → currency-C3o78W2S.js} +1 -1
  59. package/dist/dayjs.min-rFrrfcXf.js +7 -0
  60. package/dist/{discardConfirm-DZwzKO-Q.js → discardConfirm-DsprInGX.js} +1 -1
  61. package/dist/{index-K-MBqJJo.js → index-CD_omf3p.js} +1 -1
  62. package/dist/{index-BEocaqRK.js → index-CyeAgLyq.js} +6 -6
  63. package/dist/{index-B48KLyqg.js → index-DSIKxrZZ.js} +5 -5
  64. package/dist/{index.vue_vue_type_script_setup_true_lang-Nl505vPi.js → index.vue_vue_type_script_setup_true_lang-DKab6bV3.js} +8148 -8084
  65. package/dist/{item-Da3ArD-G.js → item-BbwU7bUM.js} +4432 -4192
  66. package/dist/{jszip.min-Cc2eR4Cq.js → jszip.min-B8gSnxra.js} +52 -52
  67. package/dist/{linkProducts-GNuUxFEE.js → linkProducts-DqErRFMk.js} +6 -6
  68. package/dist/{memberPricing-T-jr7tn1.js → memberPricing-BwmMrsfo.js} +1 -1
  69. package/dist/{menu-DSDRAil-.js → menu-umI9Z6Bd.js} +1 -1
  70. package/dist/{menuV2-fTlJdjxi.js → menuV2-Btcob7OV.js} +81 -81
  71. package/dist/mf-menu.css +1 -1
  72. package/dist/{order_pacing-Dgo1fySS.js → order_pacing-ByU4f3cV.js} +5 -5
  73. package/dist/{priceTier-aT_gIfrN.js → priceTier-vHrePqH1.js} +1 -1
  74. package/dist/{rules-Cx2hkV20.js → rules-B4FvBggj.js} +3 -3
  75. package/dist/{scheduler-Bd-q7yF8.js → scheduler-1ZBJNxij.js} +28 -28
  76. package/dist/{toExcel-qfjR83qT.js → toExcel-C8Nsh1v6.js} +2 -2
  77. package/dist/{unit-n1T9grbM.js → unit-RNGe0YzY.js} +24 -24
  78. package/package.json +1 -1
  79. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-T71R68sq.js +0 -5836
  80. package/dist/dayjs.min-DpX65tgj.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-Nl505vPi.js";
6
- import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-4yWs09Fr.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-DKab6bV3.js";
6
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-Dafn3Z5r.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-T71R68sq.js";
10
+ import { _ as _sfc_main$7 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Tox1yfD-.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-Da3ArD-G.js";
13
- import { u as useAppStore } from "./app-Deov1985.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-BbwU7bUM.js";
13
+ import { u as useAppStore } from "./app-Cb9EXiAF.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-BlcyW-dv.js")
13546
+ component: () => import("./ServingSequence-DQ9LvurM.js")
13547
13547
  });
13548
13548
  }
13549
13549
  ), watch(
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as K, computed as i, h as u, ref as U, resolveComponent as b, createElementBlock as p, openBlock as d, createVNode as f, withCtx as g, createElementVNode as V, createCommentVNode as C, toDisplayString as j, unref as n, isRef as A, createBlock as D, Fragment as G, renderList as H } from "vue";
2
2
  import { useI18n as M } from "@feedmepos/mf-common";
3
3
  import { components as B, FmButtonColorThemeVariant as h, FmButtonVariant as I } from "@feedmepos/ui-library";
4
- import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-Ba3djmX1.js";
5
- import { L as $ } from "./LinkProductSideSheet-DMbJG6wf.js";
4
+ import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-_lhdiLQO.js";
5
+ import { L as $ } from "./LinkProductSideSheet-D_ewAtdl.js";
6
6
  import { u as q } from "./search-BAPEUu1R.js";
7
- import { u as J, af as Q } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.js";
7
+ import { u as J, ai as Q } from "./index.vue_vue_type_script_setup_true_lang-DKab6bV3.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-DZwzKO-Q.js";
2
+ import { l as _, u as D } from "./discardConfirm-DsprInGX.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-C5-8qdJK.js";
5
+ import { _ as A } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CRZjxBH8.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-Nl505vPi.js";
7
+ import { u as I } from "./index.vue_vue_type_script_setup_true_lang-DKab6bV3.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
- 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 L, markRaw as Ce, toRaw as he, h as J, withModifiers as Q, normalizeClass as Fe } from "vue";
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, L as ie, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.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-DKab6bV3.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-4yWs09Fr.js";
6
+ import { _ as Ue, R as ce } from "./app-Dafn3Z5r.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-Ba3djmX1.js";
10
- import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CWqv-oUd.js";
11
- import { c as Le } from "./check-C9mY6LiX.js";
12
- import { C as P, a as R } from "./catalogSetting-Bn2TplvM.js";
13
- import { _ as $e } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
14
- import { C as Ee } from "./catalog-DKygS2Cs.js";
9
+ import { _ as De } from "./RuleView.vue_vue_type_script_setup_true_lang-_lhdiLQO.js";
10
+ import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-nnzPpKcA.js";
11
+ import { c as $e } from "./check-C9mY6LiX.js";
12
+ import { C as P, a as R } from "./catalogSetting-3iBsVbtC.js";
13
+ import { _ as Le } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
14
+ import { C as Ee } from "./catalog-CZzcvExG.js";
15
15
  const Ie = /* @__PURE__ */ se({
16
16
  __name: "CatalogUsageTable",
17
17
  props: {
@@ -23,7 +23,7 @@ const Ie = /* @__PURE__ */ se({
23
23
  } = ue(), S = x(() => M.catalog.restaurants.length === 0 ? [{
24
24
  name: "--",
25
25
  usage: []
26
- }] : M.catalog.restaurants), $ = [{
26
+ }] : M.catalog.restaurants), L = [{
27
27
  accessorKey: "name",
28
28
  header: () => o("div", {
29
29
  class: "flex flex-col"
@@ -68,7 +68,7 @@ const Ie = /* @__PURE__ */ se({
68
68
  return (y, k) => {
69
69
  const A = _("FmTable");
70
70
  return p(), V(A, {
71
- "column-defs": $,
71
+ "column-defs": L,
72
72
  "row-data": S.value,
73
73
  "page-size": S.value.length,
74
74
  virtual: !0,
@@ -83,8 +83,8 @@ const Ie = /* @__PURE__ */ se({
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
- const d = j(!1), S = j(!1), $ = (c, u) => {
87
- Le.isBoolean(c) ? d.value = c : d.value = !d.value, d.value && (r.value = P.fromCatalog(
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(
88
88
  u ?? re.generator.initMenuV4Catalog(),
89
89
  y.value
90
90
  ));
@@ -141,10 +141,10 @@ const Ie = /* @__PURE__ */ se({
141
141
  }
142
142
  }
143
143
  const { t: i } = ue();
144
- return M({ trigger: $ }), (c, u) => {
144
+ return M({ trigger: L }), (c, u) => {
145
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");
146
146
  return p(), F(G, null, [
147
- xe(c.$slots, "default", { trigger: $ }),
147
+ xe(c.$slots, "default", { trigger: L }),
148
148
  o(B, {
149
149
  modelValue: d.value,
150
150
  "onUpdate:modelValue": u[8] || (u[8] = (t) => d.value = t),
@@ -317,12 +317,12 @@ const Ie = /* @__PURE__ */ se({
317
317
  v("div", je, [
318
318
  o(l, { class: "text-fm-color-typo-info bg-fm-color-system-info-100 font-semibold" }, {
319
319
  default: g(() => [
320
- ke(L(e(i)("menu.catalog.form.markup.percentage", { value: t.percentage })), 1)
320
+ ke($(e(i)("menu.catalog.form.markup.percentage", { value: t.percentage })), 1)
321
321
  ]),
322
322
  _: 2
323
323
  }, 1024),
324
- v("p", Ge, L(e(i)("menu.catalog.form.markup.config", { number: b + 1 })), 1),
325
- v("p", Ke, L(t.includeItems ? e(i)("menu.catalog.form.markup.products", {
324
+ v("p", Ge, $(e(i)("menu.catalog.form.markup.config", { number: b + 1 })), 1),
325
+ v("p", Ke, $(t.includeItems ? e(i)("menu.catalog.form.markup.products", {
326
326
  count: t.includeItems.length
327
327
  }) : e(i)("menu.catalog.form.markup.all_items")), 1)
328
328
  ]),
@@ -386,7 +386,7 @@ const Ie = /* @__PURE__ */ se({
386
386
  }, oe = "main", Ca = /* @__PURE__ */ se({
387
387
  __name: "Catalog",
388
388
  setup(ee) {
389
- const M = ye(), d = pe(), S = be(), $ = ge(S), y = Te(), k = fe($), A = Oe(), {
389
+ const M = ye(), d = pe(), S = be(), L = ge(S), y = Te(), k = fe(L), A = Oe(), {
390
390
  t: m
391
391
  } = ue(), r = x(() => {
392
392
  const s = {};
@@ -569,7 +569,7 @@ const Ie = /* @__PURE__ */ se({
569
569
  }]), D = we(), I = x(() => D.breakpoints.value.xs);
570
570
  return (s, a) => {
571
571
  const l = _("fm-button"), O = _("FmSearch"), B = _("FmTable"), t = _("FmButton"), b = _("fm-side-sheet");
572
- return p(), V($e, {
572
+ return p(), V(Le, {
573
573
  heading: e(m)("menu.catalog.title")
574
574
  }, {
575
575
  "append-heading": g(() => [H.value.length > 0 ? (p(), V(e(de), {
@@ -622,7 +622,7 @@ const Ie = /* @__PURE__ */ se({
622
622
  key: n.id,
623
623
  class: "flex flex-row py-12 px-16 items-center",
624
624
  onClick: (h) => c(n.id)
625
- }, [v("div", aa, [v("p", la, " Tax calculation: " + L(n.taxMode), 1), v("p", ta, " Auto link product: " + L(n.autoLink), 1), v("p", oa, L(n.name), 1)]), v("div", na, [o(t, {
625
+ }, [v("div", aa, [v("p", la, " Tax calculation: " + $(n.taxMode), 1), v("p", ta, " Auto link product: " + $(n.autoLink), 1), v("p", oa, $(n.name), 1)]), v("div", na, [o(t, {
626
626
  "text-color": e(Z).NeutralGray400,
627
627
  variant: e(W).Tertiary,
628
628
  "prepend-icon": "file_copy",
@@ -658,7 +658,7 @@ const Ie = /* @__PURE__ */ se({
658
658
  "max-width": 1e3,
659
659
  "dismiss-away": ""
660
660
  }, {
661
- "side-sheet-header": g(() => [v("p", sa, L(e(m)("menu.catalog.usage.title")), 1)]),
661
+ "side-sheet-header": g(() => [v("p", sa, $(e(m)("menu.catalog.usage.title")), 1)]),
662
662
  default: g(() => [E.value ? (p(), F("div", ua, [(p(!0), F(G, null, X(q.value, (n, h) => (p(), V(Ie, {
663
663
  key: h,
664
664
  catalog: n
@@ -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, u as Y, s as j, i as T, g as q, h as A, _ as R } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.js";
5
- import { _ as G } from "./app-4yWs09Fr.js";
6
- import { u as B } from "./menu-DSDRAil-.js";
7
- import { ao as H } from "./item-Da3ArD-G.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-DKab6bV3.js";
5
+ import { _ as G } from "./app-Dafn3Z5r.js";
6
+ import { u as B } from "./menu-umI9Z6Bd.js";
7
+ import { ao as H } from "./item-BbwU7bUM.js";
8
8
  const J = {
9
9
  key: 0
10
10
  }, Q = {
@@ -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-Nl505vPi.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-DKab6bV3.js";
6
6
  import { _ as ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
7
- import { _ as ne } from "./app-4yWs09Fr.js";
7
+ import { _ as ne } from "./app-Dafn3Z5r.js";
8
8
  import { c as le } from "./createForm-BoUQeZTd.js";
9
- import { A as se, ao as R } from "./item-Da3ArD-G.js";
9
+ import { A as se, ao as R } from "./item-BbwU7bUM.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-DSDRAil-.js";
11
+ import { u as z, a as ce } from "./menu-umI9Z6Bd.js";
12
12
  const ie = se, me = {
13
13
  key: 0
14
14
  }, ue = {
@@ -2,17 +2,17 @@ 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-4yWs09Fr.js";
6
- import { d as ee, g as de, h as re, C as me, u as we, i as Ve, b as Fe, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.js";
7
- import { u as pe, l as ge } from "./discardConfirm-DZwzKO-Q.js";
5
+ import { _ as Ce } from "./app-Dafn3Z5r.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-DKab6bV3.js";
7
+ import { u as pe, l as ge } from "./discardConfirm-DsprInGX.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-Ba3djmX1.js";
10
- import { L as Ie } from "./LinkProductSideSheet-DMbJG6wf.js";
9
+ import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-_lhdiLQO.js";
10
+ import { L as Ie } from "./LinkProductSideSheet-D_ewAtdl.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%]" }, 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({
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",
14
14
  emits: ["onComplete"],
15
- setup(T, { expose: _, emit: J }) {
15
+ setup(G, { 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, G = c.value.instruction, $ = G.substring(0, f) + `{{${v}}}` + G.substring(N);
48
+ const f = t.selectionStart, N = t.selectionEnd, T = c.value.instruction, $ = T.substring(0, f) + `{{${v}}}` + T.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"), G = x("FmChip"), $ = x("FmTextarea"), Y = x("FmSideSheet");
89
+ const f = x("FmButton"), N = x("FmTextField"), T = 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", Te, S(n(r)("menu.cooking_guide.step_dialog.sections.variables.columns.value")), 1)
150
+ a("div", Ge, S(n(r)("menu.cooking_guide.step_dialog.sections.variables.columns.value")), 1)
151
151
  ]),
152
152
  (g(!0), K(M, null, H(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", Ge, [
156
+ a("div", Te, [
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(G, {
195
+ (g(!0), K(M, null, H(k.value, (z) => (g(), U(T, {
196
196
  key: z.label,
197
197
  label: z.label,
198
198
  class: "text-fm-color-primary bg-fm-color-system-warning-100",
@@ -217,7 +217,7 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
217
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({
218
218
  __name: "CookingGuideStepOverrideDialog",
219
219
  emits: ["onComplete"],
220
- setup(T, { expose: _, emit: J }) {
220
+ setup(G, { expose: _, emit: J }) {
221
221
  const { t: r } = le();
222
222
  _({
223
223
  show: s,
@@ -304,7 +304,7 @@ const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = {
304
304
  l(L, {
305
305
  "model-value": q(t.id, N.toString()),
306
306
  placeholder: f,
307
- "onUpdate:modelValue": (G) => Q(t.id, N.toString(), G)
307
+ "onUpdate:modelValue": (T) => Q(t.id, N.toString(), T)
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(T, { expose: _, emit: J }) {
332
- const r = T;
331
+ setup(G, { expose: _, emit: J }) {
332
+ const r = G;
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")), G = 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")), T = 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;
@@ -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
- T.canApplyItems ? (g(), U(Z, {
602
+ G.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": T.categorizedItems,
609
+ "categorized-items": G.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: G.value
635
+ count: T.value
636
636
  })), 1),
637
637
  a("div", io, [
638
638
  l(te, {
@@ -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(T) {
691
+ function mo(G) {
692
692
  return {
693
693
  module: re.enum.cookingGuide,
694
694
  operation: de.F_OPERATION_TYPE.create,
695
- data: me.parse(T)
695
+ data: me.parse(G)
696
696
  };
697
697
  }
698
- function po(T) {
698
+ function po(G) {
699
699
  return {
700
700
  module: re.enum.cookingGuide,
701
701
  operation: de.F_OPERATION_TYPE.update,
702
- data: me.parse(T)
702
+ data: me.parse(G)
703
703
  };
704
704
  }
705
- function go(T) {
705
+ function go(G) {
706
706
  return {
707
707
  module: re.enum.cookingGuide,
708
708
  operation: de.F_OPERATION_TYPE.delete,
709
- data: T._id
709
+ data: G._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(T) {
726
+ setup(G) {
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"), G = x("FmList");
814
+ const v = x("FmSearch"), t = x("FmTable"), f = x("FmButton"), N = x("FmListItem"), T = x("FmList");
815
815
  return g(), U(Oe, {
816
816
  heading: n(_)("menu.cooking_guide.title")
817
817
  }, {
@@ -831,7 +831,7 @@ 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(G, {
834
+ }, null, 8, ["modelValue", "placeholder"])]), r.value ? (g(), U(T, {
835
835
  key: 1,
836
836
  class: "w-full px-16 flex-1 min-h-0 overflow-scroll pb-64",
837
837
  separator: ""
@@ -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-Nl505vPi.js";
4
+ import { u as D } from "./index.vue_vue_type_script_setup_true_lang-DKab6bV3.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({
@@ -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-DZhxy0tb.js";
6
- import { ap as b } from "./item-Da3ArD-G.js";
7
- import { a as h } from "./menu-DSDRAil-.js";
5
+ import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-Criwjsgq.js";
6
+ import { ap as b } from "./item-BbwU7bUM.js";
7
+ import { a as h } from "./menu-umI9Z6Bd.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,4 +1,4 @@
1
- import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-DZhxy0tb.js";
1
+ import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-Criwjsgq.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,19 +1,19 @@
1
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-DZwzKO-Q.js";
2
+ import { l as ee } from "./discardConfirm-DsprInGX.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-Nl505vPi.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-DKab6bV3.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-2_yzXoa4.js";
9
- import { _ as tt } from "./app-4yWs09Fr.js";
8
+ import { _ as Ze, a as et } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-DGMoRxxQ.js";
9
+ import { _ as tt } from "./app-Dafn3Z5r.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-CXm-0H18.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-Da3ArD-G.js";
12
+ import { _ as rt } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-DsicZfqa.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-BbwU7bUM.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-DKygS2Cs.js";
16
+ import { C as vt } from "./catalog-CZzcvExG.js";
17
17
  const gt = /* @__PURE__ */ oe({
18
18
  __name: "ResponsiveContextMenu",
19
19
  props: {
@@ -1,14 +1,14 @@
1
- import { defineComponent as N, useModel as K, computed as B, resolveComponent as d, createBlock as I, openBlock as b, ref as L, watch as W, withCtx as f, createElementBlock as F, createElementVNode as U, Fragment as q, renderList as X, 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";
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-aT_gIfrN.js";
4
+ import { u as D } from "./priceTier-vHrePqH1.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 Y, e as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-Ba3djmX1.js";
8
- import { L as R } from "./catalogSetting-Bn2TplvM.js";
9
- import { L as de } from "./LinkProductSideSheet-DMbJG6wf.js";
10
- import { c as H } from "./check-C9mY6LiX.js";
11
- import { u as pe, d as J, U as ce } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.js";
7
+ import { m as G, f as X, e as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-_lhdiLQO.js";
8
+ import { L as R } from "./catalogSetting-3iBsVbtC.js";
9
+ import { L as de } from "./LinkProductSideSheet-D_ewAtdl.js";
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-DKab6bV3.js";
12
12
  import { c as ve } from "./string-DpfFixWH.js";
13
13
  const _e = /* @__PURE__ */ N({
14
14
  __name: "LinkPriceTier",
@@ -18,7 +18,7 @@ const _e = /* @__PURE__ */ N({
18
18
  },
19
19
  emits: ["update:modelValue"],
20
20
  setup(T) {
21
- const { t: k } = z(), r = K(T, "modelValue"), o = D(), a = B(() => o.priceTiers.value.map((y) => ({
21
+ const { t: k } = z(), r = J(T, "modelValue"), o = D(), a = B(() => o.priceTiers.value.map((y) => ({
22
22
  label: y.key,
23
23
  value: y.key
24
24
  })));
@@ -48,7 +48,7 @@ const _e = /* @__PURE__ */ N({
48
48
  var V;
49
49
  const {
50
50
  t: k
51
- } = z(), r = K(T, "modelValue"), o = L((V = r.value) == null ? void 0 : V.map((l) => {
51
+ } = z(), r = J(T, "modelValue"), o = L((V = r.value) == null ? void 0 : V.map((l) => {
52
52
  var p, c;
53
53
  return {
54
54
  ...l,
@@ -58,14 +58,14 @@ const _e = /* @__PURE__ */ N({
58
58
  }
59
59
  };
60
60
  }));
61
- W(o, (l) => {
61
+ K(o, (l) => {
62
62
  r.value = l == null ? void 0 : l.map((p) => {
63
63
  var c, n;
64
64
  return {
65
65
  priceTier: p.priceTier,
66
66
  restaurantRule: {
67
- restaurantAttributes: Y((c = p.restaurantRule) == null ? void 0 : c.restaurantAttributes),
68
- restaurantCustomAttributes: Y((n = p.restaurantRule) == null ? void 0 : n.restaurantCustomAttributes)
67
+ restaurantAttributes: X((c = p.restaurantRule) == null ? void 0 : c.restaurantAttributes),
68
+ restaurantCustomAttributes: X((n = p.restaurantRule) == null ? void 0 : n.restaurantCustomAttributes)
69
69
  }
70
70
  };
71
71
  });
@@ -102,7 +102,7 @@ const _e = /* @__PURE__ */ N({
102
102
  return (l, p) => {
103
103
  const c = d("FmSelect"), n = d("fm-button"), v = d("FmCard"), E = d("FmButton");
104
104
  return b(), I(me, null, {
105
- default: f(() => [(b(!0), F(q, null, X(o.value, (M, S) => (b(), I(v, {
105
+ default: f(() => [(b(!0), F(q, null, W(o.value, (M, S) => (b(), I(v, {
106
106
  key: S,
107
107
  class: "p-16 space-y-16",
108
108
  variant: "outlined"
@@ -241,17 +241,17 @@ const _e = /* @__PURE__ */ N({
241
241
  const r = T, o = pe();
242
242
  ne();
243
243
  const { t: a } = z(), y = k, g = B(() => r.action === "add" ? a("menu.markup.dialog.title.add") : a("menu.markup.dialog.title.update")), i = L(!1), s = (n) => {
244
- H.isBoolean(n) ? i.value = n : i.value = !i.value;
244
+ Y.isBoolean(n) ? i.value = n : i.value = !i.value;
245
245
  }, t = L(
246
- r.modelValue ? J(r.modelValue) : {
246
+ r.modelValue ? H(r.modelValue) : {
247
247
  percentage: 0,
248
248
  includeItems: null
249
249
  }
250
250
  );
251
- W(
251
+ K(
252
252
  () => i.value,
253
253
  (n) => {
254
- n && (t.value = r.modelValue ? J(r.modelValue) : {
254
+ n && (t.value = r.modelValue ? H(r.modelValue) : {
255
255
  percentage: 0,
256
256
  includeItems: null
257
257
  });
@@ -333,7 +333,7 @@ const _e = /* @__PURE__ */ N({
333
333
  max: 100,
334
334
  min: 0,
335
335
  rules: [
336
- (m) => e(H).isSet(m) && m >= 0 || e(a)("menu.markup.dialog.fields.percentage.required")
336
+ (m) => e(Y).isSet(m) && m >= 0 || e(a)("menu.markup.dialog.fields.percentage.required")
337
337
  ],
338
338
  label: e(a)("menu.markup.dialog.fields.percentage.label"),
339
339
  placeholder: e(a)("menu.markup.dialog.fields.percentage.placeholder")
@@ -353,7 +353,7 @@ const _e = /* @__PURE__ */ N({
353
353
  class: "space-y-8"
354
354
  }, {
355
355
  default: f(() => [
356
- (b(!0), F(q, null, X(p.value, (m) => (b(), I(S, {
356
+ (b(!0), F(q, null, W(p.value, (m) => (b(), I(S, {
357
357
  key: m.value,
358
358
  label: m.label,
359
359
  value: m.value