@feedmepos/mf-menu 0.31.18-beta.2 → 0.31.19-beta

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 (68) hide show
  1. package/dist/{App-wD-LIfUS.js → App-y2Q2D6AO.js} +2399 -1295
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C2io-Yr_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-XV96dt6h.js} +2 -2
  3. package/dist/{Catalog-pfPNhMN0.js → Catalog-Di-YSP-w.js} +5 -5
  4. package/dist/{Category-6EUsyHXB.js → Category-BzydRf7k.js} +21 -21
  5. package/dist/{Category-Icdsr_AU.js → Category-CAccN9m6.js} +8 -8
  6. package/dist/{CookingGuide-CFds6Opd.js → CookingGuide-BQcVxx1R.js} +66 -66
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BU3i3VMn.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BjUqhzCZ.js} +1 -1
  8. package/dist/{Group-BA9WRoXf.js → Group-B8TuooWf.js} +3 -3
  9. package/dist/{Group-DuSiLXZl.js → Group-CAV74Npz.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-CXvvPtM6.js → Group.vue_vue_type_script_setup_true_lang-ClnFek9W.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D7jLCWar.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DsC5e95X.js} +3 -3
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BCSlWsDm.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DV0-XcfW.js} +6 -6
  13. package/dist/{Ingredient-B9XmeoFV.js → Ingredient-DMLmjp-1.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-B52WWwa4.js → InventoryBinding.vue_vue_type_script_setup_true_lang-C0tjGp89.js} +1052 -1052
  15. package/dist/{LinkProductSideSheet-BJZvpQEy.js → LinkProductSideSheet-DIvOzMB8.js} +1 -1
  16. package/dist/{MenuSetting-gsQC_4aO.js → MenuSetting-C5sIpDMN.js} +16 -16
  17. package/dist/{PrintRoute-Bn6gXl3V.js → PrintRoute-NHoHTnMc.js} +26 -26
  18. package/dist/{Product-8udrIlYQ.js → Product-C2SOvPy4.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-K198-KBy.js → Product.vue_vue_type_script_setup_true_lang-BEHnUKcc.js} +62 -59
  20. package/dist/{ProductInternalTools-DMFn25Xf.js → ProductInternalTools-eXFZoo1G.js} +13 -13
  21. package/dist/{Products-DKsKL3Er.js → Products-3J5DcGEc.js} +15 -15
  22. package/dist/{Publish-MvehUY1y.js → Publish-BdWd54a5.js} +32 -32
  23. package/dist/{Recipe-DxcMoQb8.js → Recipe-DrNJifKH.js} +9 -9
  24. package/dist/{Scheduler-DlXh4oWl.js → Scheduler-OLKgjhjM.js} +3 -3
  25. package/dist/{ServingSequence-Bjf6DT_I.js → ServingSequence-DZ-eaRkW.js} +25 -25
  26. package/dist/{Setting-BLEQlMI7.js → Setting-t5Edfa6F.js} +10 -10
  27. package/dist/{Subcategory-CcV6Tayf.js → Subcategory-B1BeXahn.js} +18 -18
  28. package/dist/{Takeaway-iFKg3t6Z.js → Takeaway-CS31a0G6.js} +1 -1
  29. package/dist/{Takeaway-cWErnYdQ.js → Takeaway-q69U7AjK.js} +10 -10
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-_QHNZNZR.js → Takeaway.vue_vue_type_script_setup_true_lang-CNheVEqy.js} +17 -17
  31. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D0EmIu2f.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-0kXXOsyC.js} +355 -351
  32. package/dist/{Unit-D3AGc0lx.js → Unit-R0fBKDBQ.js} +8 -8
  33. package/dist/{Variant-Dw8htKCh.js → Variant-DdIfbckf.js} +8 -8
  34. package/dist/{_id_-DDpt5en8.js → _id_-Cpxz3UoN.js} +17 -17
  35. package/dist/{app-C_yYtrEa.js → app-CMGlnsG5.js} +24 -24
  36. package/dist/{app-DHp-gdZ8.js → app-DRorRq_c.js} +1 -1
  37. package/dist/app.js +1 -1
  38. package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +19 -0
  39. package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
  40. package/dist/apps/mf-menu/src/helper/menu.d.ts +1 -1
  41. package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +11 -0
  42. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/assets/linked-status-CdVNB55V.js +24 -0
  44. package/dist/assets/override-menu-CjvOi-J-.js +24 -0
  45. package/dist/assets/validate-menu-BU_-Jge5.js +24 -0
  46. package/dist/{catalog-BLev4g5s.js → catalog-BXSv7rZo.js} +1 -1
  47. package/dist/{catalogSetting-DLHG77b8.js → catalogSetting-DhXLcwI_.js} +1 -1
  48. package/dist/{category-BWZrKqKo.js → category-LHZTSH3_.js} +1 -1
  49. package/dist/{currency-Dk3SWVD4.js → currency-C05JOYSJ.js} +1 -1
  50. package/dist/{dayjs.min-g6rj0y7-.js → dayjs.min-OqJAuW-9.js} +1 -1
  51. package/dist/{index-CkDuC6ew.js → index-BgrBG_Iz.js} +11 -11
  52. package/dist/{index-B6J6I9qW.js → index-CxytOxGX.js} +1 -1
  53. package/dist/{index-BkQvec9d.js → index-kz099Vvw.js} +6 -6
  54. package/dist/{item-07EOcOyN.js → item-vz-nrIWG.js} +381 -378
  55. package/dist/{jszip.min-BVEWRpo1.js → jszip.min-C2aY4t8L.js} +2 -2
  56. package/dist/menu-CAVt_lFp.js +107896 -0
  57. package/dist/{menu-DFbClu32.js → menu-DJkyk-fC.js} +1 -1
  58. package/dist/mf-menu.css +1 -1
  59. package/dist/{priceTier-DUEDzFST.js → priceTier-xvRS9QN2.js} +1 -1
  60. package/dist/{scheduler-CvMZKf1V.js → scheduler-Du42t5zf.js} +3 -3
  61. package/dist/{subcategory-votbn_EI.js → subcategory-CqKHknsQ.js} +241 -241
  62. package/dist/{toExcel-BppcWu3P.js → toExcel-BvBlj-X5.js} +2 -2
  63. package/dist/{unit-CDrhaOj7.js → unit-DENherye.js} +1 -1
  64. package/package.json +3 -2
  65. package/dist/assets/linked-status-D2akZi_5.js +0 -24
  66. package/dist/assets/override-menu-68FsNgLU.js +0 -24
  67. package/dist/assets/validate-menu-CAFkPK87.js +0 -24
  68. package/dist/menu-7RxvJsxy.js +0 -132202
@@ -1,11 +1,11 @@
1
- import { defineComponent as j, ref as A, computed as V, onMounted as ne, resolveComponent as C, createElementBlock as D, openBlock as h, createVNode as n, createElementVNode as o, toDisplayString as F, unref as u, Fragment as P, renderList as Y, createBlock as B, withCtx as U, createCommentVNode as se, withModifiers as K, h as T } from "vue";
2
- import { D as Q } from "./dayjs.min-g6rj0y7-.js";
1
+ import { defineComponent as j, ref as A, computed as V, onMounted as ne, resolveComponent as C, createElementBlock as D, openBlock as h, createVNode as n, createElementVNode as o, toDisplayString as F, unref as u, Fragment as P, renderList as Y, createBlock as E, withCtx as U, createCommentVNode as se, withModifiers as K, h as T } from "vue";
2
+ import { D as Q } from "./dayjs.min-OqJAuW-9.js";
3
3
  import { useRouter as ue } from "vue-router";
4
- import { z as ie, D as re, B as X, a8 as ce, H as W, I as de, u as me, G as pe } from "./menu-7RxvJsxy.js";
4
+ import { A as ie, e as re, D as X, a8 as ce, H as W, I as de, u as me, G as pe } from "./menu-CAVt_lFp.js";
5
5
  import { useI18n as q, useCoreStore as ve, RestaurantSelector as ge } from "@feedmepos/mf-common";
6
6
  import { useSnackbar as Z, useDialogChild as fe, useDialog as be, components as J } from "@feedmepos/ui-library";
7
7
  import { _ as _e } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
8
- import { _ as he } from "./app-C_yYtrEa.js";
8
+ import { _ as he } from "./app-CMGlnsG5.js";
9
9
  import { a as ye, w as Ce } from "./tooltip-B5BiPMx9.js";
10
10
  import { u as ke } from "./discardConfirm-BHni0LNu.js";
11
11
  import { _ as we } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
@@ -101,7 +101,7 @@ const Ve = {
101
101
  ])) : (h(), D("div", Fe, [
102
102
  o("div", Se, F(u(p)("menu.revert.description", { name: x.restaurant.name })), 1),
103
103
  o("div", Ie, [
104
- (h(!0), D(P, null, Y(t.value, (S) => (h(), B(ye, {
104
+ (h(!0), D(P, null, Y(t.value, (S) => (h(), E(ye, {
105
105
  key: S.label,
106
106
  name: S.label,
107
107
  value: S.value || "--"
@@ -166,12 +166,12 @@ const Ve = {
166
166
  k();
167
167
  }
168
168
  );
169
- function E() {
169
+ function B() {
170
170
  k(), m("onComplete", t.value);
171
171
  }
172
172
  return (v, g) => {
173
- const $ = C("FmSelect"), z = C("FmCheckbox"), R = C("FmButton"), L = C("FmSideSheet");
174
- return h(), B(L, {
173
+ const $ = C("FmSelect"), N = C("FmCheckbox"), R = C("FmButton"), L = C("FmSideSheet");
174
+ return h(), E(L, {
175
175
  modelValue: M.value,
176
176
  "onUpdate:modelValue": g[5] || (g[5] = (f) => M.value = f),
177
177
  "max-width": 560,
@@ -186,7 +186,7 @@ const Ve = {
186
186
  label: u(r)("menu.publish.update_catalog_dialog.actions.update"),
187
187
  size: "lg",
188
188
  variant: "primary",
189
- onClick: g[4] || (g[4] = () => E())
189
+ onClick: g[4] || (g[4] = () => B())
190
190
  }, null, 8, ["label"]),
191
191
  n(R, {
192
192
  label: u(r)("menu.publish.update_catalog_dialog.actions.cancel"),
@@ -223,7 +223,7 @@ const Ve = {
223
223
  (h(!0), D(P, null, Y(w.catalogs, (f) => (h(), D("div", {
224
224
  key: f._id
225
225
  }, [
226
- n(z, {
226
+ n(N, {
227
227
  modelValue: t.value.additionalCatalogs,
228
228
  "onUpdate:modelValue": g[3] || (g[3] = (I) => t.value.additionalCatalogs = I),
229
229
  label: f.name,
@@ -238,15 +238,15 @@ const Ve = {
238
238
  }
239
239
  }), Pe = {
240
240
  class: "flex flex-col p-24 bg-fm-color-neutral-white min-h-[calc(100dvh-56px)] xs:max-h-[calc(100dvh-56px)]"
241
- }, Be = {
242
- class: "flex items-center xs:mb-8 mb-24"
243
241
  }, Ee = {
242
+ class: "flex items-center xs:mb-8 mb-24"
243
+ }, Be = {
244
244
  class: "mr-8"
245
- }, ze = {
246
- class: "fm-typo-en-title-md-600"
247
245
  }, Ne = {
248
- class: "xs:hidden"
246
+ class: "fm-typo-en-title-md-600"
249
247
  }, Oe = {
248
+ class: "xs:hidden"
249
+ }, ze = {
250
250
  class: "pb-8 flex justify-between xs:flex-col gap-8"
251
251
  }, Ke = {
252
252
  class: "grow flex flex-col gap-4"
@@ -372,10 +372,10 @@ const Ve = {
372
372
  function S(e) {
373
373
  return e ? Q(e).format("DD/MM/YYYY hh:mmA") : "";
374
374
  }
375
- const E = V(() => t.state.menu.modules.catalog), v = V(() => R.queue.value.some((e) => e.id === t.state.menu._id));
375
+ const B = V(() => t.state.menu.modules.catalog), v = V(() => R.queue.value.some((e) => e.id === t.state.menu._id));
376
376
  function g(e) {
377
377
  var a;
378
- return e ? ((a = E.value.find((d) => d._id === e)) == null ? void 0 : a.name) ?? l("menu.publish.labels.catalog.invalid") : l("menu.publish.labels.catalog.main");
378
+ return e ? ((a = B.value.find((d) => d._id === e)) == null ? void 0 : a.name) ?? l("menu.publish.labels.catalog.invalid") : l("menu.publish.labels.catalog.main");
379
379
  }
380
380
  function $(e) {
381
381
  return {
@@ -386,7 +386,7 @@ const Ve = {
386
386
  additionalCatalogs: e.additionalCatalogs
387
387
  };
388
388
  }
389
- function z(e) {
389
+ function N(e) {
390
390
  var d;
391
391
  const a = $(e);
392
392
  (d = p.value) == null || d.show(a);
@@ -394,7 +394,7 @@ const Ve = {
394
394
  const R = X(Z());
395
395
  async function L(e) {
396
396
  var d;
397
- const a = (d = I.value.find((N) => N._id === e.restaurantId)) == null ? void 0 : d.name;
397
+ const a = (d = I.value.find((O) => O._id === e.restaurantId)) == null ? void 0 : d.name;
398
398
  await R.minor(async () => await t.publishMenu(e), {
399
399
  customId: t.state.menu._id,
400
400
  message: `Publishing menu for ${a}`,
@@ -432,24 +432,24 @@ const Ve = {
432
432
  }
433
433
  }
434
434
  return (e, a) => {
435
- const d = C("FmChip"), N = C("FmSpacer"), O = C("FmButton"), G = C("FmSearch"), te = C("FmTable"), le = C("FmListItem"), oe = C("FmList");
436
- return h(), D(P, null, [o("div", Pe, [o("div", Be, [o("div", Ee, [o("div", ze, F(u(l)("menu.publish.title")), 1), a[7] || (a[7] = o("div", {
435
+ const d = C("FmChip"), O = C("FmSpacer"), z = C("FmButton"), G = C("FmSearch"), te = C("FmTable"), le = C("FmListItem"), oe = C("FmList");
436
+ return h(), D(P, null, [o("div", Pe, [o("div", Ee, [o("div", Be, [o("div", Ne, F(u(l)("menu.publish.title")), 1), a[7] || (a[7] = o("div", {
437
437
  class: "hidden xs:block fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
438
438
  }, null, -1))]), n(d, {
439
439
  label: k.value,
440
440
  class: "xs:hidden text-fm-color-primary bg-fm-color-system-warning-100"
441
- }, null, 8, ["label"]), n(N), o("div", Ne, [n(O, {
441
+ }, null, 8, ["label"]), n(O), o("div", Oe, [n(z, {
442
442
  disabled: v.value,
443
443
  icon: "ios_share",
444
444
  label: u(l)("menu.publish.actions.publish_all"),
445
445
  variant: "primary",
446
446
  onClick: a[0] || (a[0] = () => H())
447
- }, null, 8, ["disabled", "label"])])]), o("div", Oe, [n(u(ge), {
447
+ }, null, 8, ["disabled", "label"])])]), o("div", ze, [n(u(ge), {
448
448
  multiple: "",
449
449
  modelValue: f.value,
450
450
  "onUpdate:modelValue": a[2] || (a[2] = (s) => f.value = s)
451
451
  }, {
452
- "append-right": U(() => [n(N, {
452
+ "append-right": U(() => [n(O, {
453
453
  class: "xs:hidden"
454
454
  }), n(G, {
455
455
  modelValue: b.value,
@@ -482,30 +482,30 @@ const Ve = {
482
482
  selection: "multiple",
483
483
  "hide-footer": "",
484
484
  "pin-header-row": "",
485
- onRowClick: a[5] || (a[5] = (s) => z(s.original))
485
+ onRowClick: a[5] || (a[5] = (s) => N(s.original))
486
486
  }, null, 8, ["modelValue", "loading", "page-size", "row-data", "search-value"])]),
487
487
  _: 1
488
488
  }), n(oe, {
489
489
  class: "flex-col flex-1 min-h-0 overflow-auto xs:flex hidden w-full pb-64",
490
490
  separator: ""
491
491
  }, {
492
- default: U(() => [(h(!0), D(P, null, Y(ae.value, (s) => (h(), B(le, {
492
+ default: U(() => [(h(!0), D(P, null, Y(ae.value, (s) => (h(), E(le, {
493
493
  key: s._id,
494
494
  label: s.name,
495
495
  style: {
496
496
  padding: "12px 0 !important"
497
497
  },
498
- onClick: () => z(s)
498
+ onClick: () => N(s)
499
499
  }, {
500
500
  default: U(() => [o("div", Ke, [o("div", Te, [o("div", je, F(S(s.updatedAt)), 1), n(i, {
501
501
  row: s
502
- }, null, 8, ["row"])]), o("div", Ye, [o("div", qe, F(s.name), 1), o("div", He, [o("div", null, "Default: " + F(s.catalog.default), 1), o("div", null, "POS takeaway: " + F(s.catalog.takeaway), 1), o("div", null, "Pickup: " + F(s.catalog.pickup), 1)])])]), o("div", Ge, [c.value && s.revertConfig ? (h(), B(O, {
502
+ }, null, 8, ["row"])]), o("div", Ye, [o("div", qe, F(s.name), 1), o("div", He, [o("div", null, "Default: " + F(s.catalog.default), 1), o("div", null, "POS takeaway: " + F(s.catalog.takeaway), 1), o("div", null, "Pickup: " + F(s.catalog.pickup), 1)])])]), o("div", Ge, [c.value && s.revertConfig ? (h(), E(z, {
503
503
  key: 0,
504
504
  disabled: v.value,
505
505
  icon: "undo",
506
506
  variant: "tertiary",
507
507
  onClick: K(() => _(s), ["stop"])
508
- }, null, 8, ["disabled", "onClick"])) : se("", !0), n(O, {
508
+ }, null, 8, ["disabled", "onClick"])) : se("", !0), n(z, {
509
509
  disabled: v.value,
510
510
  icon: "ios_share",
511
511
  variant: "tertiary",
@@ -514,7 +514,7 @@ const Ve = {
514
514
  _: 2
515
515
  }, 1032, ["label", "onClick"]))), 128))]),
516
516
  _: 1
517
- })], 64)) : (h(), B(u(we), {
517
+ })], 64)) : (h(), E(u(we), {
518
518
  key: 1,
519
519
  title: u(l)("menu.publish.empty.title"),
520
520
  subtitle: u(l)("menu.publish.empty.subtitle"),
@@ -527,7 +527,7 @@ const Ve = {
527
527
  });
528
528
  }
529
529
  }
530
- }, null, 8, ["title", "subtitle", "action"]))]), o("div", We, [n(O, {
530
+ }, null, 8, ["title", "subtitle", "action"]))]), o("div", We, [n(z, {
531
531
  disabled: v.value,
532
532
  icon: "ios_share",
533
533
  label: u(l)("menu.publish.actions.publish_all"),
@@ -536,7 +536,7 @@ const Ve = {
536
536
  }, null, 8, ["disabled", "label"])]), n(Le, {
537
537
  ref_key: "updateCatalogDialogRef",
538
538
  ref: p,
539
- catalogs: E.value,
539
+ catalogs: B.value,
540
540
  onOnComplete: L
541
541
  }, null, 8, ["catalogs"])], 64);
542
542
  };
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as z, computed as h, ref as w, reactive as Q, watch as W, resolveComponent as V, createElementBlock as F, openBlock as g, Fragment as C, renderSlot as X, createVNode as d, unref as e, withCtx as x, createElementVNode as r, toDisplayString as S, getCurrentInstance as Z, h as D, withModifiers as L, createBlock as O, createCommentVNode as ee, normalizeClass as K, renderList as te } from "vue";
2
2
  import { useI18n as U } from "@feedmepos/mf-common";
3
- import { useSnackbar as A, components as j, useDialog as ne, FmButtonVariant as G, useBreakpoints as oe } from "@feedmepos/ui-library";
3
+ import { useSnackbar as $, components as j, useDialog as ne, FmButtonVariant as G, useBreakpoints as oe } from "@feedmepos/ui-library";
4
4
  import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as le } from "./app-C_yYtrEa.js";
6
- import { O as q, B as $, H as ie, A as P, I as se, D as B, J as I, G as T, u as H } from "./menu-7RxvJsxy.js";
5
+ import { _ as le } from "./app-CMGlnsG5.js";
6
+ import { O as q, D as A, H as ie, B as P, I as se, e as B, J as I, G as T, u as H } from "./menu-CAVt_lFp.js";
7
7
  import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
8
8
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
9
9
  import { defineStore as ue } from "pinia";
10
- import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-B52WWwa4.js";
10
+ import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-C0tjGp89.js";
11
11
  import { u as de } from "./discardConfirm-BHni0LNu.js";
12
12
  import { c as pe } from "./check-C9mY6LiX.js";
13
- import "./unit-CDrhaOj7.js";
13
+ import "./unit-DENherye.js";
14
14
  import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
15
15
  const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
16
16
  __name: "Form",
@@ -19,7 +19,7 @@ const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40"
19
19
  invalidSkuAndRecipe: {}
20
20
  },
21
21
  setup(R, { expose: c }) {
22
- const { t: u } = U(), p = R, f = q($(A())), b = h(() => p.initialValue ? u("menu.recipe.update") : u("menu.recipe.add")), _ = h(
22
+ const { t: u } = U(), p = R, f = q(A($())), b = h(() => p.initialValue ? u("menu.recipe.update") : u("menu.recipe.add")), _ = h(
23
23
  () => p.initialValue ? u("menu.common.actions.update") : u("menu.common.actions.add")
24
24
  ), v = w(!1), a = w(!1), k = (t) => {
25
25
  pe.isBoolean(t) ? a.value = t : a.value = !a.value;
@@ -143,7 +143,7 @@ const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40"
143
143
  };
144
144
  }
145
145
  }), he = be, Ve = ue("recipe-manager", () => {
146
- const R = ne(), c = A(), u = $(c), p = q(u), f = H(), b = Z(), { t: _ } = U(), v = (o) => {
146
+ const R = ne(), c = $(), u = A(c), p = q(u), f = H(), b = Z(), { t: _ } = U(), v = (o) => {
147
147
  var l, t;
148
148
  const { vNode: y } = fe(
149
149
  he,
@@ -226,8 +226,8 @@ const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40"
226
226
  setup(R) {
227
227
  const {
228
228
  t: c
229
- } = U(), u = A();
230
- $(u);
229
+ } = U(), u = $();
230
+ A(u);
231
231
  const p = H(), f = Ve(), b = h(() => p.recipes), _ = h(() => b.value.filter((y) => `${y.name}`.toLowerCase().includes(v.value.toLowerCase()))), v = w(""), a = w([{
232
232
  accessorKey: "name",
233
233
  header: () => c("menu.recipe.table.columns.name"),
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as N, computed as y, h as c, withModifiers as U, ref as V, resolveComponent as _, createBlock as k, openBlock as d, unref as m, withCtx as h, createElementBlock as D, createVNode as f, Fragment as H, createElementVNode as l, renderList as T, toDisplayString as S, createCommentVNode as I } from "vue";
2
- import { G as i, O as W, u as G, B as Q } from "./menu-7RxvJsxy.js";
2
+ import { G as i, O as W, u as G, D as Q } from "./menu-CAVt_lFp.js";
3
3
  import { useI18n as J } from "@feedmepos/mf-common";
4
4
  import { components as X, useDialog as Z, useSnackbar as ee } from "@feedmepos/ui-library";
5
5
  import { _ as te } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
6
- import { _ as ne } from "./app-C_yYtrEa.js";
7
- import { d as ae, _ as oe, u as se, c as le } from "./scheduler-CvMZKf1V.js";
6
+ import { _ as ne } from "./app-CMGlnsG5.js";
7
+ import { d as ae, _ as oe, u as se, c as le } from "./scheduler-Du42t5zf.js";
8
8
  import { _ as re } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
9
9
  import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
10
10
  const ce = {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as J, ref as L, computed as O, resolveComponent as h, createElementBlock as g, openBlock as d, Fragment as x, renderSlot as ae, createVNode as l, unref as t, withCtx as m, createElementVNode as y, toDisplayString as A, onBeforeMount as oe, watch as F, watchEffect as se, h as $, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as Q, renderList as ue } from "vue";
2
2
  import { useRouter as ce } from "vue-router";
3
- import { H, u as W, B as X, O as Z, J as I, G as S } from "./menu-7RxvJsxy.js";
3
+ import { H, u as W, D as X, O as Z, J as I, G as S } from "./menu-CAVt_lFp.js";
4
4
  import { useI18n as ee, ItemSelector as de, useCoreStore as me } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as ne, components as Y, useDialog as pe, FmButtonVariant as T, useBreakpoints as _e } from "@feedmepos/ui-library";
6
6
  import { _ as fe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
7
- import { _ as ge, R as ve } from "./app-C_yYtrEa.js";
7
+ import { _ as ge, R as ve } from "./app-CMGlnsG5.js";
8
8
  import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
9
9
  import { c as ye } from "./check-C9mY6LiX.js";
10
10
  import { _ as be } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
11
11
  import { u as ke } from "./search-BAPEUu1R.js";
12
- import { u as xe } from "./app-DHp-gdZ8.js";
12
+ import { u as xe } from "./app-DRorRq_c.js";
13
13
  import { c as Se } from "./createComponentProgrammatically-Bt2rn1IQ.js";
14
14
  const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex flex-col h-full" }, Ee = { class: "flex gap-8 items-center justify-start" }, Ve = /* @__PURE__ */ J({
15
15
  __name: "Form",
@@ -18,18 +18,18 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
18
18
  initialValue: {}
19
19
  },
20
20
  emits: ["submitted"],
21
- setup(K, { expose: b, emit: N }) {
22
- const { t: r } = ee(), p = K, R = N, s = L(
21
+ setup(K, { expose: b, emit: D }) {
22
+ const { t: r } = ee(), p = K, N = D, s = L(
23
23
  p.initialValue ? H(p.initialValue) : {
24
24
  _id: "",
25
25
  name: "",
26
26
  position: 0,
27
27
  items: []
28
28
  }
29
- ), C = W(), i = ne(), B = X(i), q = Z(B), c = L(!1), u = L(!1), _ = (f) => {
29
+ ), C = W(), i = ne(), R = X(i), q = Z(R), c = L(!1), u = L(!1), _ = (f) => {
30
30
  ye.isBoolean(f) ? u.value = f : u.value = !u.value;
31
31
  }, E = O(() => p.action === "add" ? r("menu.serving_sequence.add") : r("menu.serving_sequence.update"));
32
- async function D() {
32
+ async function P() {
33
33
  try {
34
34
  if (p.action === "add")
35
35
  await q.updateMenu(
@@ -55,17 +55,17 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
55
55
  else
56
56
  throw new Error("Invalid action");
57
57
  } finally {
58
- u.value = !1, R("submitted");
58
+ u.value = !1, N("submitted");
59
59
  }
60
60
  }
61
61
  b({
62
62
  trigger: _,
63
63
  show: u
64
64
  });
65
- function P(f) {
65
+ function U(f) {
66
66
  return f.reduce((a, v) => (a[v._id] = [...a[v._id] ?? [], v], a), {});
67
67
  }
68
- const U = O(() => P(H(s.value.items)));
68
+ const B = O(() => U(H(s.value.items)));
69
69
  return (f, a) => {
70
70
  const v = h("fm-text-field"), V = h("fm-button"), e = h("fm-side-sheet");
71
71
  return d(), g(x, null, [
@@ -76,7 +76,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
76
76
  "onUpdate:modelValue": a[3] || (a[3] = (n) => u.value = n),
77
77
  "is-container": t(Y).FmForm,
78
78
  "is-container-props": {
79
- onValidationSuccess: D,
79
+ onValidationSuccess: P,
80
80
  blameFormChildOnValidationFailed: !0
81
81
  },
82
82
  "max-width": 560
@@ -117,7 +117,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
117
117
  }, null, 8, ["modelValue", "rules", "label", "placeholder"]),
118
118
  l(t(de), {
119
119
  "categorized-items": t(C).categorizedItems,
120
- data: U.value,
120
+ data: B.value,
121
121
  class: "flex-1",
122
122
  "select-variant": "",
123
123
  "show-variant": "",
@@ -142,15 +142,15 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
142
142
  class: "flex-1 space-y-4"
143
143
  }, Ie = {
144
144
  class: "fm-typo-en-body-lg-600"
145
- }, Ne = {
145
+ }, De = {
146
146
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
147
147
  }, Je = /* @__PURE__ */ J({
148
148
  __name: "ServingSequence",
149
149
  setup(K) {
150
150
  const {
151
151
  searchKey: b,
152
- filter: N
153
- } = ke(), r = W(), p = ne(), R = X(p), s = Z(R), C = pe(), i = me(), B = xe(), q = ce(), {
152
+ filter: D
153
+ } = ke(), r = W(), p = ne(), N = X(p), s = Z(N), C = pe(), i = me(), R = xe(), q = ce(), {
154
154
  t: c
155
155
  } = ee(), u = (e) => {
156
156
  e && e !== S.F_MENU_VERSION.enum.v4 && q.push({
@@ -166,7 +166,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
166
166
  }, (e) => {
167
167
  u(e);
168
168
  }), F(() => i.sessionUser.value, (e) => {
169
- e && B.getPublicSetting();
169
+ e && R.getPublicSetting();
170
170
  }), F(() => i.currentBusiness.value, async (e, n) => {
171
171
  e && e._id !== (n == null ? void 0 : n._id) && await r.readRestaurants();
172
172
  }), F(() => i.currentRestaurant.value, async (e, n) => {
@@ -176,7 +176,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
176
176
  });
177
177
  const _ = O(() => r.serveSequence.filter(({
178
178
  name: e
179
- }) => N([e])) ?? []);
179
+ }) => D([e])) ?? []);
180
180
  function E(e) {
181
181
  C.open({
182
182
  title: "Delete sequence",
@@ -198,7 +198,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
198
198
  }, e.name, !0);
199
199
  });
200
200
  }
201
- const D = ({
201
+ const P = ({
202
202
  servingSequence: e
203
203
  }) => $(Y.FmButton, {
204
204
  prependIcon: "delete",
@@ -208,14 +208,14 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
208
208
  n.stopPropagation(), E(e);
209
209
  }
210
210
  });
211
- async function P(e) {
211
+ async function U(e) {
212
212
  await s.updateMenu({
213
213
  module: S.F_MENU_MODULE_V4_KEY.enum.serveSequence,
214
214
  operation: I.F_OPERATION_TYPE.rearrange,
215
215
  data: e.map((n) => n._id)
216
216
  }, "sequences");
217
217
  }
218
- const U = L([{
218
+ const B = L([{
219
219
  accessorKey: "name",
220
220
  header: () => c("menu.serving_sequence.columns.name"),
221
221
  enableSorting: !1,
@@ -296,16 +296,16 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
296
296
  }, null, 8, ["modelValue", "placeholder"])]), V.value ? (d(), g("div", Fe, [(d(!0), g(x, null, ue(_.value, (o) => (d(), g("div", {
297
297
  key: o._id,
298
298
  class: Q(["py-12 px-16", "flex items-center space-x-8"]),
299
- onClick: (Re) => a(o)
300
- }, [y("div", Oe, [y("p", Ie, A(o.name), 1), y("p", Ne, A(t(c)("menu.common.labels.products_linked", {
299
+ onClick: (Ne) => a(o)
300
+ }, [y("div", Oe, [y("p", Ie, A(o.name), 1), y("p", De, A(t(c)("menu.common.labels.products_linked", {
301
301
  count: o.items.length
302
- })), 1)]), l(D, {
302
+ })), 1)]), l(P, {
303
303
  servingSequence: o
304
304
  }, null, 8, ["servingSequence"])], 8, Le))), 128))])) : (d(), j(ge, {
305
305
  key: 0
306
306
  }, {
307
307
  default: m(() => [l(te, {
308
- "column-defs": U.value,
308
+ "column-defs": B.value,
309
309
  loading: t(s).checkMenuIsLoading(),
310
310
  "page-size": _.value.length,
311
311
  "row-data": _.value,
@@ -315,7 +315,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
315
315
  draggable: "",
316
316
  "hide-footer": "",
317
317
  "pin-header-row": "",
318
- onDndChanged: n[1] || (n[1] = (o) => P(o)),
318
+ onDndChanged: n[1] || (n[1] = (o) => U(o)),
319
319
  onRowClick: n[2] || (n[2] = (o) => a(o.original))
320
320
  }, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
321
321
  _: 1
@@ -1,12 +1,12 @@
1
- import { defineComponent as ue, computed as p, ref as P, watch as ie, watchEffect as re, resolveComponent as m, createElementBlock as M, openBlock as r, normalizeClass as J, createVNode as s, withCtx as c, createElementVNode as g, createBlock as v, createCommentVNode as f, unref as e, Fragment as $, renderList as z, createTextVNode as me, toDisplayString as N } from "vue";
2
- import { u as ce, B as de, O as pe, G as _, z as ve, H as w } from "./menu-7RxvJsxy.js";
1
+ import { defineComponent as ue, computed as p, ref as P, watch as ie, watchEffect as re, resolveComponent as m, createElementBlock as M, openBlock as r, normalizeClass as J, createVNode as s, withCtx as c, createElementVNode as g, createBlock as v, createCommentVNode as f, unref as e, Fragment as $, renderList as H, createTextVNode as me, toDisplayString as N } from "vue";
2
+ import { u as ce, D as de, O as pe, G as _, A as ve, H as w } from "./menu-CAVt_lFp.js";
3
3
  import { useCoreStore as ge, useI18n as fe } from "@feedmepos/mf-common";
4
- import { useSnackbar as _e, useDialog as be, FmButtonVariant as H, FmButtonColorThemeVariant as j, components as ye } from "@feedmepos/ui-library";
4
+ import { useSnackbar as _e, useDialog as be, FmButtonVariant as z, FmButtonColorThemeVariant as j, components as ye } from "@feedmepos/ui-library";
5
5
  import { _ as E } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
6
6
  import { _ as ke } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
7
- import { _ as q, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D7jLCWar.js";
8
- import { C as b, a as x } from "./catalogSetting-DLHG77b8.js";
9
- import { C as G } from "./catalog-BLev4g5s.js";
7
+ import { _ as q, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DsC5e95X.js";
8
+ import { C as b, a as x } from "./catalogSetting-DhXLcwI_.js";
9
+ import { C as G } from "./catalog-BXSv7rZo.js";
10
10
  const Ce = {
11
11
  class: /* @__PURE__ */ J(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16"])
12
12
  }, Oe = {
@@ -139,7 +139,7 @@ const Ce = {
139
139
  sublabel: e(o)("menu.setting.tax.modes.manual.sublabel")
140
140
  }, null, 8, ["value", "label", "sublabel"])]),
141
141
  _: 1
142
- }, 8, ["model-value"]), l.value.taxSetting.mode === e(x).MANUAL ? (r(), M("div", Se, [(r(!0), M($, null, z(V.value, (a) => (r(), v(ae, {
142
+ }, 8, ["model-value"]), l.value.taxSetting.mode === e(x).MANUAL ? (r(), M("div", Se, [(r(!0), M($, null, H(V.value, (a) => (r(), v(ae, {
143
143
  key: a.systemCode,
144
144
  "model-value": a.inclusive,
145
145
  value: !0,
@@ -197,13 +197,13 @@ const Ce = {
197
197
  }) => [s(R, {
198
198
  "text-color": e(j).ColorPrimary,
199
199
  "border-color": e(j).ColorPrimary,
200
- variant: e(H).Secondary,
200
+ variant: e(z).Secondary,
201
201
  label: "Add markup configuration",
202
202
  "prepend-icon": "add",
203
203
  onClick: a
204
204
  }, null, 8, ["text-color", "border-color", "variant", "onClick"])]),
205
205
  _: 1
206
- }, 8, ["categories", "items"]), (r(!0), M($, null, z(l.value.markupOptions, (a, k) => (r(), v(q, {
206
+ }, 8, ["categories", "items"]), (r(!0), M($, null, H(l.value.markupOptions, (a, k) => (r(), v(q, {
207
207
  key: k,
208
208
  categories: e(u).categories,
209
209
  items: e(u).items,
@@ -229,7 +229,7 @@ const Ce = {
229
229
  })), 1), g("p", Re, N(a.includeItems ? e(o)("menu.setting.markup.products.linked", {
230
230
  count: a.includeItems.length
231
231
  }) : e(o)("menu.setting.markup.products.all")), 1)]), s(R, {
232
- variant: e(H).Tertiary,
232
+ variant: e(z).Tertiary,
233
233
  "prepend-icon": "delete",
234
234
  onClick: (Te) => te(k)
235
235
  }, null, 8, ["variant", "onClick"])])]),
@@ -1,25 +1,25 @@
1
- import { defineComponent as B, ref as w, watch as W, resolveComponent as y, createElementBlock as V, openBlock as p, Fragment as P, renderSlot as X, createVNode as m, unref as t, withCtx as h, createElementVNode as s, toDisplayString as L, computed as F, h as A, withModifiers as R, getCurrentInstance as Z, renderList as ee, createBlock as S, createCommentVNode as te } from "vue";
2
- import { useI18n as O } from "@feedmepos/mf-common";
3
- import { useSnackbar as T, components as j, useDialog as Y, FmButtonVariant as z, useBreakpoints as ae, FmButtonColorThemeVariant as oe } from "@feedmepos/ui-library";
1
+ import { defineComponent as L, ref as w, watch as W, resolveComponent as y, createElementBlock as V, openBlock as p, Fragment as P, renderSlot as X, createVNode as m, unref as t, withCtx as h, createElementVNode as s, toDisplayString as O, computed as F, h as A, withModifiers as R, getCurrentInstance as Z, renderList as ee, createBlock as S, createCommentVNode as te } from "vue";
2
+ import { useI18n as T } from "@feedmepos/mf-common";
3
+ import { useSnackbar as B, components as j, useDialog as Y, FmButtonVariant as z, useBreakpoints as ae, FmButtonColorThemeVariant as oe } from "@feedmepos/ui-library";
4
4
  import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { B as D, u as N, O as U, J as K, G } from "./menu-7RxvJsxy.js";
5
+ import { D, u as N, O as U, J as K, G } from "./menu-CAVt_lFp.js";
6
6
  import { _ as le } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as se } from "./app-C_yYtrEa.js";
7
+ import { _ as se } from "./app-CMGlnsG5.js";
8
8
  import { c as re } from "./createForm-BoUQeZTd.js";
9
9
  import { u as ie } from "./discardConfirm-BHni0LNu.js";
10
10
  import { c as I } from "./object-DVUNCr7w.js";
11
11
  import { r as ce } from "./rules-CIWTZQfh.js";
12
12
  import { c as ue } from "./check-C9mY6LiX.js";
13
- import { a as q } from "./subcategory-votbn_EI.js";
13
+ import { a as q } from "./subcategory-CqKHknsQ.js";
14
14
  import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
15
- import { a as me } from "./menu-DFbClu32.js";
15
+ import { a as me } from "./menu-DJkyk-fC.js";
16
16
  const pe = {
17
17
  class: "fm-typo-en-title-md-600"
18
18
  }, _e = {
19
19
  class: "flex flex-col gap-32 h-full min-h-0 py-16"
20
20
  }, fe = {
21
21
  class: "flex gap-8 items-center justify-start"
22
- }, ge = /* @__PURE__ */ B({
22
+ }, ge = /* @__PURE__ */ L({
23
23
  __name: "Form",
24
24
  props: {
25
25
  initialValue: {}
@@ -27,9 +27,9 @@ const pe = {
27
27
  setup($, {
28
28
  expose: f
29
29
  }) {
30
- const _ = $, x = T(), g = D(x), k = U(g), d = N(), {
30
+ const _ = $, x = B(), g = D(x), k = U(g), d = N(), {
31
31
  t: a
32
- } = O(), v = w(!1), e = w(!1), b = (r) => {
32
+ } = T(), v = w(!1), e = w(!1), b = (r) => {
33
33
  ue.isBoolean(r) ? e.value = r : e.value = !e.value;
34
34
  }, n = w(I(_.initialValue)), M = ie(() => n.value.name !== _.initialValue.name, () => {
35
35
  e.value = !1;
@@ -69,7 +69,7 @@ const pe = {
69
69
  "max-width": 560,
70
70
  "onOn:clickedAway": t(M)
71
71
  }, {
72
- "side-sheet-header": h(() => [s("p", pe, L(t(a)("menu.subcategory.title")), 1)]),
72
+ "side-sheet-header": h(() => [s("p", pe, O(t(a)("menu.subcategory.title")), 1)]),
73
73
  "side-sheet-footer": h(() => [s("div", fe, [m(o, {
74
74
  label: t(a)("menu.common.actions.update"),
75
75
  loading: v.value,
@@ -111,15 +111,15 @@ const pe = {
111
111
  class: "flex-1 space-y-4"
112
112
  }, Fe = {
113
113
  class: "fm-typo-en-body-lg-600"
114
- }, Se = /* @__PURE__ */ B({
114
+ }, Se = /* @__PURE__ */ L({
115
115
  __name: "SubcategoryTable",
116
116
  setup($) {
117
- const f = Y(), _ = T(), x = D(_), g = U(x), k = q({
117
+ const f = Y(), _ = B(), x = D(_), g = U(x), k = q({
118
118
  dialog: f,
119
119
  menuLoader: g
120
120
  }), d = F(() => N().subcategories), a = w(""), v = F(() => d.value.filter((o) => o.name.toLowerCase().includes(a.value.toLowerCase()))), {
121
121
  t: e
122
- } = O(), b = w([{
122
+ } = T(), b = w([{
123
123
  accessorKey: "name",
124
124
  header: () => e("menu.subcategory.columns.title"),
125
125
  enableSorting: !1,
@@ -204,7 +204,7 @@ const pe = {
204
204
  key: i._id || "",
205
205
  class: "flex flex-row py-12 px-16",
206
206
  onClick: (Q) => r(i)
207
- }, [s("div", we, [s("p", Fe, L(i.name), 1)]), m(H, {
207
+ }, [s("div", we, [s("p", Fe, O(i.name), 1)]), m(H, {
208
208
  "text-color": t(oe).NeutralGray400,
209
209
  variant: t(z).Tertiary,
210
210
  "prepend-icon": "delete",
@@ -235,10 +235,10 @@ const pe = {
235
235
  })]));
236
236
  };
237
237
  }
238
- }), $e = { class: "flex-1 flex justify-between gap-8 pl-8" }, Me = { class: "flex items-center" }, Ee = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Be = { class: "fm-typo-en-body-md-600 font-semibold" }, qe = /* @__PURE__ */ B({
238
+ }), $e = { class: "flex-1 flex justify-between gap-8 pl-8" }, Me = { class: "flex items-center" }, Ee = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Le = { class: "fm-typo-en-body-md-600 font-semibold" }, qe = /* @__PURE__ */ L({
239
239
  __name: "Subcategory",
240
240
  setup($) {
241
- const f = Y(), _ = T(), x = D(_), g = U(x), k = q({ dialog: f, menuLoader: g }), d = F(() => N().subcategories), { t: a } = O();
241
+ const f = Y(), _ = B(), x = D(_), g = U(x), k = q({ dialog: f, menuLoader: g }), d = F(() => N().subcategories), { t: a } = T();
242
242
  function v() {
243
243
  k.create();
244
244
  }
@@ -261,7 +261,7 @@ const pe = {
261
261
  s("div", $e, [
262
262
  s("div", Me, [
263
263
  s("div", Ee, [
264
- s("p", Be, L(e.value), 1)
264
+ s("p", Le, O(e.value), 1)
265
265
  ])
266
266
  ]),
267
267
  d.value.length > 0 ? (p(), S(ne, {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Takeaway.vue_vue_type_script_setup_true_lang-_QHNZNZR.js";
1
+ import { _ as f } from "./Takeaway.vue_vue_type_script_setup_true_lang-CNheVEqy.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as f, computed as y, ref as k, createBlock as i, openBlock as d, unref as a, withCtx as s, createElementVNode as t, toDisplayString as b, createCommentVNode as g, createVNode as m } from "vue";
2
- import { B as x, u as v, O as w, J as E, G as M } from "./menu-7RxvJsxy.js";
2
+ import { D as x, u as v, O as w, J as E, G as M } from "./menu-CAVt_lFp.js";
3
3
  import { useI18n as T } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as V } from "@feedmepos/ui-library";
5
5
  import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
6
6
  import { _ as C } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-_QHNZNZR.js";
8
- import { T as O, l as S } from "./index-BkQvec9d.js";
9
- import { a as B } from "./menu-DFbClu32.js";
10
- const L = { class: "flex-1 flex justify-between gap-8 pl-8" }, U = { class: "flex items-center" }, F = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, D = { class: "fm-typo-en-body-md-600 font-semibold" }, z = /* @__PURE__ */ f({
7
+ import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-CNheVEqy.js";
8
+ import { T as O, l as S } from "./index-kz099Vvw.js";
9
+ import { a as L } from "./menu-DJkyk-fC.js";
10
+ const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "flex items-center" }, D = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, F = { class: "fm-typo-en-body-md-600 font-semibold" }, z = /* @__PURE__ */ f({
11
11
  __name: "Takeaway",
12
12
  setup(I) {
13
13
  const u = V(), l = x(u), p = v(), c = w(l), _ = y(() => p.rules.item.bindToVariant), n = k(0), { t: r } = T();
14
- return B().resetOnMount(), (P, o) => (d(), i(C, {
14
+ return L().resetOnMount(), (P, o) => (d(), i(C, {
15
15
  heading: a(r)("menu.takeaway.title")
16
16
  }, {
17
17
  default: s(() => [
@@ -20,10 +20,10 @@ const L = { class: "flex-1 flex justify-between gap-8 pl-8" }, U = { class: "fle
20
20
  })
21
21
  ]),
22
22
  "append-heading": s(() => [
23
- t("div", L, [
24
- t("div", U, [
25
- t("div", F, [
26
- t("p", D, b(n.value), 1)
23
+ t("div", U, [
24
+ t("div", B, [
25
+ t("div", D, [
26
+ t("p", F, b(n.value), 1)
27
27
  ])
28
28
  ]),
29
29
  t("div", null, [