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

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 (83) hide show
  1. package/dist/{App-DhfTGlgM.js → App-DHxlR--3.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-6noIwjis.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-CMI2Nh0n.js} +3 -3
  4. package/dist/{Catalog-WuZJfM6l.js → Catalog-B-S0gygH.js} +22 -22
  5. package/dist/{Category-BeIo7XWY.js → Category-DGDddfLx.js} +4 -4
  6. package/dist/{Category-D-cQQCPS.js → Category-DOhNama9.js} +4 -4
  7. package/dist/{CookingGuide-B-yvD9ZA.js → CookingGuide-CUR57F4P.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-bIONGM6k.js} +1 -1
  9. package/dist/{Group-CY8lUzQG.js → Group-BsGJ0omP.js} +1 -1
  10. package/dist/{Group-13i5igrS.js → Group-z-0jQPCd.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-DZhxy0tb.js → Group.vue_vue_type_script_setup_true_lang-bBWkJ2Hx.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-BbqcH4sM.js} +19 -19
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DTs4Vpdi.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CVGilzd0.js} +4210 -4210
  14. package/dist/{Ingredient-vrUOW6gk.js → Ingredient-D38IVDXK.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-xcVjRjqD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CKmyz9CP.js} +2 -2
  16. package/dist/{LinkProductSideSheet-DMbJG6wf.js → LinkProductSideSheet-DsBA_o9g.js} +4 -4
  17. package/dist/{MenuSetting-Di2xwm00.js → MenuSetting-D-tln58o.js} +7 -7
  18. package/dist/{OrderPacing-CCe-IcGO.js → OrderPacing-BdCEHKD9.js} +7 -7
  19. package/dist/{PrintRoute-CcfObcHY.js → PrintRoute-DKFMqyeI.js} +10 -10
  20. package/dist/{Product-ChUVnMgG.js → Product-Dzo4ljes.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-C9Qp50hL.js → Product.vue_vue_type_script_setup_true_lang-BtE2aiwU.js} +58 -58
  22. package/dist/{ProductInternalTools-D9HXhgo5.js → ProductInternalTools-Z6XR4zko.js} +14 -14
  23. package/dist/{Products-Bly2ktEC.js → Products-CCo675Ee.js} +63 -63
  24. package/dist/{Publish-C8ubb8Qf.js → Publish-tixV8Of1.js} +107 -107
  25. package/dist/{Recipe-BpMRLsyO.js → Recipe-V9kzxmlf.js} +5 -5
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BD5OCDRn.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DBhAzVz3.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-Ba3djmX1.js → RuleView.vue_vue_type_script_setup_true_lang-D9DqmAVY.js} +3 -3
  28. package/dist/{Scheduler-CiB4b2Fn.js → Scheduler-0UpDGQKJ.js} +17 -17
  29. package/dist/{ServingSequence-BlcyW-dv.js → ServingSequence-CutiXht7.js} +3 -3
  30. package/dist/{Setting-DqkL6YYU.js → Setting-jyYmoDiq.js} +5 -5
  31. package/dist/{Subcategory-B4Jg_wtT.js → Subcategory-CQSKOLjU.js} +10 -10
  32. package/dist/{Takeaway-5G3f7jWT.js → Takeaway-CQ0m09TB.js} +1 -1
  33. package/dist/{Takeaway-5rFPYYNA.js → Takeaway-DeCthkOI.js} +4 -4
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CVsOhg_E.js → Takeaway.vue_vue_type_script_setup_true_lang-FHE6oQ0d.js} +7 -7
  35. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CPqxA6JD.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-D9Ga3fOj.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-Bz32rpvX.js} +2 -2
  37. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DCPGAyOm.js +5858 -0
  38. package/dist/{Unit-CAkdmQLg.js → Unit-_XiPfauV.js} +2 -2
  39. package/dist/{Variant-BbLQqbAK.js → Variant-DfdMywhn.js} +6 -6
  40. package/dist/{_id_-Dzacr40I.js → _id_-Yj5av4B4.js} +12 -12
  41. package/dist/{app-4yWs09Fr.js → app-BcGgfvbE.js} +102 -102
  42. package/dist/{app-Deov1985.js → app-CqdVluGs.js} +1 -1
  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 +33 -3
  48. package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ProductImageField.vue.d.ts +31 -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/src/manager/menu/itemOverrider.d.ts +17 -0
  52. package/dist/apps/mf-menu/src/stores/manager/item.d.ts +0 -1
  53. package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductDetail.vue.d.ts +9 -3
  54. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  55. package/dist/assets/{linked-status-B2WLhKkV.js → linked-status-DdDQXL8Y.js} +3 -3
  56. package/dist/assets/{menu-export-Dcw5a_dN.js → menu-export-CK5bJyLT.js} +4 -4
  57. package/dist/assets/{override-menu-cBe2aMY6.js → override-menu-CHL7Bynw.js} +3 -3
  58. package/dist/assets/{validate-menu-BM-5GK85.js → validate-menu-g2fslPcE.js} +2 -2
  59. package/dist/{catalog-DKygS2Cs.js → catalog-B_yk-l1-.js} +1 -1
  60. package/dist/{catalogSetting-Bn2TplvM.js → catalogSetting-Dl7uIiJm.js} +1 -1
  61. package/dist/{currency-DXgNHtK8.js → currency-BpjSDqef.js} +1 -1
  62. package/dist/dayjs.min-CVH5LqOA.js +7 -0
  63. package/dist/{discardConfirm-DZwzKO-Q.js → discardConfirm-fCmrAVO1.js} +1 -1
  64. package/dist/{index-K-MBqJJo.js → index-CD_omf3p.js} +1 -1
  65. package/dist/{index-B48KLyqg.js → index-Cru6sUb6.js} +5 -5
  66. package/dist/{index-BEocaqRK.js → index-LYc0WKDO.js} +6 -6
  67. package/dist/{index.vue_vue_type_script_setup_true_lang-Nl505vPi.js → index.vue_vue_type_script_setup_true_lang-qgDBinUn.js} +7932 -7868
  68. package/dist/{item-Da3ArD-G.js → item-EPxRgVm0.js} +4904 -4654
  69. package/dist/{jszip.min-Cc2eR4Cq.js → jszip.min-CNgWv4I3.js} +52 -52
  70. package/dist/{linkProducts-GNuUxFEE.js → linkProducts-DvQ0oP1V.js} +6 -6
  71. package/dist/{memberPricing-T-jr7tn1.js → memberPricing-deWSH2K0.js} +1 -1
  72. package/dist/{menu-DSDRAil-.js → menu-DKJ7olgK.js} +1 -1
  73. package/dist/{menuV2-fTlJdjxi.js → menuV2-CB3eZiiP.js} +318 -313
  74. package/dist/mf-menu.css +1 -1
  75. package/dist/{order_pacing-Dgo1fySS.js → order_pacing-DvP19Nxa.js} +5 -5
  76. package/dist/{priceTier-aT_gIfrN.js → priceTier-DyxDcoSh.js} +1 -1
  77. package/dist/{rules-Cx2hkV20.js → rules-GmuBnHtU.js} +3 -3
  78. package/dist/{scheduler-Bd-q7yF8.js → scheduler-BWAzMbPl.js} +28 -28
  79. package/dist/{toExcel-qfjR83qT.js → toExcel-BMOGsD6n.js} +2 -2
  80. package/dist/{unit-n1T9grbM.js → unit-BCREKGn9.js} +24 -24
  81. package/package.json +1 -1
  82. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-T71R68sq.js +0 -5836
  83. package/dist/dayjs.min-DpX65tgj.js +0 -7
@@ -1,16 +1,16 @@
1
- import { defineComponent as G, ref as P, computed as N, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as T, unref as c, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as E, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Ue, normalizeStyle as Oe, renderSlot as Be, withModifiers as le, onUnmounted as Te } from "vue";
2
- import { D as z } from "./dayjs.min-DpX65tgj.js";
1
+ import { defineComponent as J, ref as M, computed as A, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as T, unref as c, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as E, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Ue, normalizeStyle as Oe, renderSlot as Be, withModifiers as le, onUnmounted as Te } from "vue";
2
+ import { D as z } from "./dayjs.min-CVH5LqOA.js";
3
3
  import { useRouter as Ee } from "vue-router";
4
4
  import { O as ze, b as Le } from "./app-5fxKLAzS.js";
5
- import { a as je, e as Ke, b as Ce, J as Ye, _ as we, K as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.js";
5
+ import { a as je, e as Ke, b as Ce, M as Ye, _ as we, N as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.js";
6
6
  import { useI18n as Z, useCoreStore as he, RestaurantSelector as Ve } from "@feedmepos/mf-common";
7
- import { useSnackbar as fe, useDialogChild as qe, useProxiedModel as Je, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
8
- import { _ as Ge } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
9
- import { _ as We } from "./app-4yWs09Fr.js";
7
+ import { useSnackbar as fe, useDialogChild as qe, useProxiedModel as Ge, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
8
+ import { _ as Je } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
9
+ import { _ as We } from "./app-BcGgfvbE.js";
10
10
  import { a as Qe, w as Xe } from "./tooltip-B5BiPMx9.js";
11
- import { u as Fe, l as Ze } from "./discardConfirm-DZwzKO-Q.js";
11
+ import { u as Fe, l as Ze } from "./discardConfirm-fCmrAVO1.js";
12
12
  import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- function Pe(D) {
13
+ function Me(D) {
14
14
  return D ? z(D).format("DD/MM/YY HH:mm") : "-";
15
15
  }
16
16
  function et(D, x, l) {
@@ -26,7 +26,7 @@ function et(D, x, l) {
26
26
  _default: _,
27
27
  _posTakeaway: i.takeawayCatalog ? p(i.takeawayCatalog) : _,
28
28
  _additionalCatalogs: (i.additionalCatalogs || []).map((k) => p(k)),
29
- _lastUpdate: Pe(i.updatedAt),
29
+ _lastUpdate: Me(i.updatedAt),
30
30
  _pickup: h ? p(i.pickupCatalog, !0) : "-",
31
31
  _canUsePickup: h,
32
32
  _posVersion: g || "-"
@@ -39,13 +39,13 @@ const tt = {
39
39
  }, lt = {
40
40
  key: 1,
41
41
  class: "space-y-16"
42
- }, at = { class: "text-fm-color-typo-secondary" }, st = { class: "space-y-4" }, nt = /* @__PURE__ */ G({
42
+ }, at = { class: "text-fm-color-typo-secondary" }, st = { class: "space-y-4" }, nt = /* @__PURE__ */ J({
43
43
  __name: "RevertDialog",
44
44
  props: {
45
45
  restaurant: {}
46
46
  },
47
47
  setup(D) {
48
- const x = D, l = fe(), { custom: p } = Ce(l), i = P(!1), g = P(null);
48
+ const x = D, l = fe(), { custom: p } = Ce(l), i = M(!1), g = M(null);
49
49
  async function h() {
50
50
  await p(
51
51
  async () => {
@@ -55,7 +55,7 @@ const tt = {
55
55
  { isLoading: i }
56
56
  );
57
57
  }
58
- const _ = N(() => {
58
+ const _ = A(() => {
59
59
  var a;
60
60
  return [
61
61
  { label: "Main", value: null },
@@ -64,7 +64,7 @@ const tt = {
64
64
  value: n._id
65
65
  }))
66
66
  ];
67
- }), { t: e } = Z(), k = N(() => {
67
+ }), { t: e } = Z(), k = A(() => {
68
68
  var o;
69
69
  const a = x.restaurant.revertConfig;
70
70
  if (!a) return [];
@@ -82,7 +82,7 @@ const tt = {
82
82
  { label: e("menu.revert.labels.restaurant"), value: x.restaurant.name },
83
83
  {
84
84
  label: e("menu.revert.labels.revert_to"),
85
- value: Pe((o = g.value) == null ? void 0 : o.updatedAt)
85
+ value: Me((o = g.value) == null ? void 0 : o.updatedAt)
86
86
  },
87
87
  { label: e("menu.revert.labels.default"), value: n._default },
88
88
  { label: e("menu.revert.labels.pos_takeaway"), value: n._posTakeaway },
@@ -115,7 +115,7 @@ const tt = {
115
115
  class: "break-all fm-typo-en-body-lg-400 line-clamp-1"
116
116
  }, ut = {
117
117
  class: "flex flex-col"
118
- }, rt = /* @__PURE__ */ G({
118
+ }, rt = /* @__PURE__ */ J({
119
119
  __name: "PublishRestaurantSelector",
120
120
  props: {
121
121
  restaurants: {
@@ -127,14 +127,14 @@ const tt = {
127
127
  setup(D, {
128
128
  emit: x
129
129
  }) {
130
- const l = D, p = x, i = P([]), g = N(() => l.restaurants.map((o) => ({
130
+ const l = D, p = x, i = M([]), g = A(() => l.restaurants.map((o) => ({
131
131
  label: o.name,
132
132
  value: o._id
133
- }))), h = P(""), _ = N(() => {
133
+ }))), h = M(""), _ = A(() => {
134
134
  const o = Array.isArray(i.value) ? i.value : [], r = o.map((m) => g.value.find((R) => R.value === m)).filter((m) => m !== void 0);
135
135
  let d = [];
136
136
  return h.value ? (d = g.value.filter((m) => m.label.toLowerCase().includes(h.value.toLowerCase()) && !o.includes(m.value)), [...r, ...d]) : (d = g.value.filter((m) => !o.includes(m.value)), [...r, ...d]);
137
- }), e = N(() => i.value.length > 0 && i.value.length === _.value.length), k = N(() => i.value.filter((o) => _.value.some((r) => r.value === o))), s = () => {
137
+ }), e = A(() => i.value.length > 0 && i.value.length === _.value.length), k = A(() => i.value.filter((o) => _.value.some((r) => r.value === o))), s = () => {
138
138
  const o = i.value.filter((r) => !k.value.includes(r));
139
139
  e.value === !0 ? a(o) : a(_.value.map((r) => r.value));
140
140
  }, a = (o) => {
@@ -190,7 +190,7 @@ const tt = {
190
190
  }, mt = {
191
191
  key: 1,
192
192
  class: "text-fm-color-neutral-gray-200"
193
- }, pt = /* @__PURE__ */ G({
193
+ }, pt = /* @__PURE__ */ J({
194
194
  __name: "RestaurantPublishDetail",
195
195
  props: {
196
196
  restaurantPublishStatus: {
@@ -238,14 +238,14 @@ const tt = {
238
238
  class: "whitespace-nowrap"
239
239
  }, n);
240
240
  }
241
- }], g = P([]), h = N(() => Object.entries(l.statusMap).map(([a, n]) => ({
241
+ }], g = M([]), h = A(() => Object.entries(l.statusMap).map(([a, n]) => ({
242
242
  label: n.label,
243
243
  value: a
244
- }))), _ = P(null), e = N(() => Object.entries(l.restaurantPublishStatus).filter(([a, n]) => g.value.length === 0 ? !0 : g.value.includes(n.status)).filter(([a, n]) => !_.value || _.value.length === 0 ? !0 : _.value.includes(a)).map(([a, n]) => ({
244
+ }))), _ = M(null), e = A(() => Object.entries(l.restaurantPublishStatus).filter(([a, n]) => g.value.length === 0 ? !0 : g.value.includes(n.status)).filter(([a, n]) => !_.value || _.value.length === 0 ? !0 : _.value.includes(a)).map(([a, n]) => ({
245
245
  restaurantName: s(a),
246
246
  publishStatus: l.statusMap[n.status].label,
247
247
  publishedAt: n.publishedAt ? z(n.publishedAt).format("YYYY-MM-DD HH:mm:ss") : ""
248
- })).sort((a, n) => a.restaurantName.localeCompare(n.restaurantName))), k = N(() => {
248
+ })).sort((a, n) => a.restaurantName.localeCompare(n.restaurantName))), k = A(() => {
249
249
  var n, o;
250
250
  const a = {};
251
251
  for (const r of p.restaurants.value) {
@@ -295,7 +295,7 @@ const tt = {
295
295
  }), ht = { class: "fm-calendar__name-row fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, ft = ["id"], vt = {
296
296
  key: 0,
297
297
  class: "fm-calendar__cell__button--today"
298
- }, bt = ["onClick", "onMouseover"], _t = /* @__PURE__ */ G({
298
+ }, bt = ["onClick", "onMouseover"], _t = /* @__PURE__ */ J({
299
299
  __name: "FmCalendar",
300
300
  props: {
301
301
  days: {},
@@ -371,7 +371,7 @@ const tt = {
371
371
  }), ke = /* @__PURE__ */ Ie(_t, [["__scopeId", "data-v-47484312"]]), gt = { class: "fm-typo-en-body-md-600" }, yt = {
372
372
  id: "in-calendar-app",
373
373
  class: "h-[264px] overflow-y-auto w-[160px]"
374
- }, kt = ["onVnodeMounted"], Ct = ["onVnodeMounted"], se = /* @__PURE__ */ G({
374
+ }, kt = ["onVnodeMounted"], Ct = ["onVnodeMounted"], se = /* @__PURE__ */ J({
375
375
  __name: "FmDateRangeYearMonthPicker",
376
376
  props: {
377
377
  modelValue: {},
@@ -381,7 +381,7 @@ const tt = {
381
381
  },
382
382
  emits: ["update:modelValue"],
383
383
  setup(D, { emit: x }) {
384
- const { t: l } = Z(), p = D, i = x, g = P(!1), h = N(() => {
384
+ const { t: l } = Z(), p = D, i = x, g = M(!1), h = A(() => {
385
385
  const s = z(p.min).startOf("year"), a = z(p.max).startOf("year"), n = a.diff(s, "year"), o = [];
386
386
  for (let r = 0; r <= n; r++)
387
387
  o.push(a.subtract(r, "year"));
@@ -469,7 +469,7 @@ const tt = {
469
469
  });
470
470
  };
471
471
  }
472
- }), wt = { class: "p-12 space-y-4 w-[552px]" }, xt = { class: "w-max" }, Vt = { class: "flex space-x-24" }, St = { class: "flex items-center py-8 space-x-16" }, Ft = { class: "flex space-x-4" }, It = { class: "flex items-center justify-end py-8 space-x-16" }, Pt = { class: "flex space-x-4" }, Mt = { class: "flex gap-8 items-center justify-end w-full" }, ne = "YYYY-MM-DD", $t = /* @__PURE__ */ G({
472
+ }), wt = { class: "p-12 space-y-4 w-[552px]" }, xt = { class: "w-max" }, Vt = { class: "flex space-x-24" }, St = { class: "flex items-center py-8 space-x-16" }, Ft = { class: "flex space-x-4" }, It = { class: "flex items-center justify-end py-8 space-x-16" }, Mt = { class: "flex space-x-4" }, Pt = { class: "flex gap-8 items-center justify-end w-full" }, ne = "YYYY-MM-DD", $t = /* @__PURE__ */ J({
473
473
  __name: "DateTimePicker",
474
474
  props: {
475
475
  modelValue: {},
@@ -488,16 +488,16 @@ const tt = {
488
488
  },
489
489
  emits: ["update:schedulerTime"],
490
490
  setup(D, { emit: x }) {
491
- const { t: l } = Z(), p = D, i = x, g = Je(p, "modelValue"), h = P({
491
+ const { t: l } = Z(), p = D, i = x, g = Ge(p, "modelValue"), h = M({
492
492
  hours: new Date(g.value).getHours() % 12 || 12,
493
493
  minutes: new Date(g.value).getMinutes(),
494
494
  period: new Date(g.value).getHours() >= 12 ? "PM" : "AM"
495
495
  /* AM */
496
- }), _ = P(z(g.value, ne)), e = P(!1);
496
+ }), _ = M(z(g.value, ne)), e = M(!1);
497
497
  function k(V, u) {
498
- const [C, A, U] = V.split("-").map(Number), O = new Date(C, A - 1, U);
499
- let M = u.hours % 12;
500
- return u.period === "PM" && (M += 12), O.setHours(M), O.setMinutes(u.minutes), O.setSeconds(0), O.setMilliseconds(0), O;
498
+ const [C, N, U] = V.split("-").map(Number), O = new Date(C, N - 1, U);
499
+ let P = u.hours % 12;
500
+ return u.period === "PM" && (P += 12), O.setHours(P), O.setMinutes(u.minutes), O.setSeconds(0), O.setMilliseconds(0), O;
501
501
  }
502
502
  const s = () => {
503
503
  g.value = _.value.format(ne);
@@ -509,22 +509,22 @@ const tt = {
509
509
  _.value = g.value ? z(g.value) : null, e.value = !1;
510
510
  }, n = (V) => {
511
511
  e.value = V, V || a();
512
- }, o = P(z().startOf("month")), r = P(z().startOf("month").add(1, "month")), d = (V, u) => {
512
+ }, o = M(z().startOf("month")), r = M(z().startOf("month").add(1, "month")), d = (V, u) => {
513
513
  V === "left" ? (o.value = u, r.value = u.add(1, "month")) : V === "right" && (r.value = u, o.value = u.subtract(1, "month"));
514
- }, m = N(() => S(o.value)), R = N(() => S(o.value.add(1, "month"))), S = (V) => {
515
- const u = [], C = V.endOf("month"), A = V.month();
514
+ }, m = A(() => S(o.value)), R = A(() => S(o.value.add(1, "month"))), S = (V) => {
515
+ const u = [], C = V.endOf("month"), N = V.month();
516
516
  let U = V.startOf("week"), O = [];
517
517
  for (; U.isBefore(C.endOf("week")); )
518
518
  U.day() === 0 && O.length > 0 && (u.push(O), O = []), O.push({
519
519
  date: U,
520
- isCurrentMonth: U.month() === A
520
+ isCurrentMonth: U.month() === N
521
521
  }), U = U.add(1, "day");
522
522
  return O.length > 0 && u.push(O), u.length < 6 && u.push([]), u;
523
523
  }, H = (V) => {
524
524
  _.value = V;
525
525
  };
526
526
  return (V, u) => {
527
- const C = $("FmIcon"), A = $("FmTimeInput"), U = $("FmButton"), O = $("FmPopover");
527
+ const C = $("FmIcon"), N = $("FmTimeInput"), U = $("FmButton"), O = $("FmPopover");
528
528
  return y(), Y(O, {
529
529
  "show-popover": e.value,
530
530
  "z-index": p.zIndex,
@@ -557,43 +557,43 @@ const tt = {
557
557
  min: V.min,
558
558
  "model-value": o.value,
559
559
  picker: "month",
560
- "onUpdate:modelValue": u[1] || (u[1] = (M) => d("left", M))
560
+ "onUpdate:modelValue": u[1] || (u[1] = (P) => d("left", P))
561
561
  }, null, 8, ["max", "min", "model-value"]),
562
562
  b(se, {
563
563
  max: V.max,
564
564
  min: V.min,
565
565
  "model-value": o.value,
566
566
  picker: "year",
567
- "onUpdate:modelValue": u[2] || (u[2] = (M) => d("left", M))
567
+ "onUpdate:modelValue": u[2] || (u[2] = (P) => d("left", P))
568
568
  }, null, 8, ["max", "min", "model-value"])
569
569
  ])
570
570
  ]),
571
571
  b(ke, {
572
572
  "day-cell-class": {
573
573
  status: {
574
- isSelected: (M) => M.isSame(_.value, "date")
574
+ isSelected: (P) => P.isSame(_.value, "date")
575
575
  }
576
576
  },
577
577
  days: m.value,
578
- "on-day-click": (M) => H(M.date)
578
+ "on-day-click": (P) => H(P.date)
579
579
  }, null, 8, ["day-cell-class", "days", "on-day-click"])
580
580
  ]),
581
581
  f("div", null, [
582
582
  f("div", It, [
583
- f("div", Pt, [
583
+ f("div", Mt, [
584
584
  b(se, {
585
585
  max: V.max,
586
586
  min: V.min,
587
587
  "model-value": r.value,
588
588
  picker: "month",
589
- "onUpdate:modelValue": u[3] || (u[3] = (M) => d("right", M))
589
+ "onUpdate:modelValue": u[3] || (u[3] = (P) => d("right", P))
590
590
  }, null, 8, ["max", "min", "model-value"]),
591
591
  b(se, {
592
592
  max: V.max,
593
593
  min: V.min,
594
594
  "model-value": r.value,
595
595
  picker: "year",
596
- "onUpdate:modelValue": u[4] || (u[4] = (M) => d("right", M))
596
+ "onUpdate:modelValue": u[4] || (u[4] = (P) => d("right", P))
597
597
  }, null, 8, ["max", "min", "model-value"])
598
598
  ]),
599
599
  b(C, {
@@ -608,25 +608,25 @@ const tt = {
608
608
  b(ke, {
609
609
  "day-cell-class": {
610
610
  status: {
611
- isSelected: (M) => M.isSame(_.value, "date")
611
+ isSelected: (P) => P.isSame(_.value, "date")
612
612
  }
613
613
  },
614
614
  days: R.value,
615
- "on-day-click": (M) => H(M.date)
615
+ "on-day-click": (P) => H(P.date)
616
616
  }, null, 8, ["day-cell-class", "days", "on-day-click"])
617
617
  ])
618
618
  ])
619
619
  ]),
620
- b(A, {
620
+ b(N, {
621
621
  "model-value": h.value ?? {
622
622
  hours: 0,
623
623
  minutes: 0,
624
624
  period: "AM"
625
625
  /* AM */
626
626
  },
627
- "onUpdate:modelValue": u[6] || (u[6] = (M) => h.value = M)
627
+ "onUpdate:modelValue": u[6] || (u[6] = (P) => h.value = P)
628
628
  }, null, 8, ["model-value"]),
629
- f("div", Mt, [
629
+ f("div", Pt, [
630
630
  b(U, {
631
631
  label: c(l)("common.cancel"),
632
632
  size: "md",
@@ -647,14 +647,14 @@ const tt = {
647
647
  }, 8, ["show-popover", "z-index"]);
648
648
  };
649
649
  }
650
- }), At = { class: "container" }, Nt = /* @__PURE__ */ G({
650
+ }), Nt = { class: "container" }, At = /* @__PURE__ */ J({
651
651
  __name: "ProgressBar",
652
652
  props: {
653
653
  bgcolor: {},
654
654
  completed: {}
655
655
  },
656
656
  setup(D) {
657
- const x = D, l = N(() => ({
657
+ const x = D, l = A(() => ({
658
658
  height: "100%",
659
659
  width: `${x.completed ?? 0}%`,
660
660
  backgroundColor: x.bgcolor,
@@ -662,17 +662,17 @@ const tt = {
662
662
  borderRadius: "inherit",
663
663
  textAlign: "right"
664
664
  }));
665
- return (p, i) => (y(), F("div", At, [
665
+ return (p, i) => (y(), F("div", Nt, [
666
666
  f("div", {
667
667
  style: Oe(l.value)
668
668
  }, null, 4)
669
669
  ]));
670
670
  }
671
- }), Dt = /* @__PURE__ */ Ie(Nt, [["__scopeId", "data-v-709d7500"]]), Rt = {
671
+ }), Dt = /* @__PURE__ */ Ie(At, [["__scopeId", "data-v-709d7500"]]), Rt = {
672
672
  class: "flex items-center gap-24"
673
673
  }, Ut = {
674
674
  class: "fm-typo-en-title-md-600"
675
- }, Ot = /* @__PURE__ */ G({
675
+ }, Ot = /* @__PURE__ */ J({
676
676
  __name: "PublishProgressView",
677
677
  props: {
678
678
  progress: {
@@ -712,28 +712,28 @@ const tt = {
712
712
  textColor: "text-fm-color-system-error-300",
713
713
  backgroundColor: "#FF3B30"
714
714
  }
715
- }, e = xe(), k = P(!1), s = (u) => {
715
+ }, e = xe(), k = M(!1), s = (u) => {
716
716
  typeof u == "boolean" ? k.value = u : k.value = !k.value;
717
717
  };
718
718
  x({
719
719
  show: k,
720
720
  trigger: s
721
721
  });
722
- const a = l, n = N(() => e.state.nextSchedulerPublish ?? {}), o = N(() => Object.entries(n.value).map(([C, A]) => {
723
- var M;
724
- const U = e.runningPublishJob, O = Object.keys(A.restaurants || {}).length;
722
+ const a = l, n = A(() => e.state.nextSchedulerPublish ?? {}), o = A(() => Object.entries(n.value).map(([C, N]) => {
723
+ var P;
724
+ const U = e.runningPublishJob, O = Object.keys(N.restaurants || {}).length;
725
725
  return {
726
726
  date: C,
727
- publisher: ((M = A.owner) == null ? void 0 : M.name) ?? "Unknown",
727
+ publisher: ((P = N.owner) == null ? void 0 : P.name) ?? "Unknown",
728
728
  total_restaurants: p("menu.publish.scheduler_publish.table.row.restaurants", {
729
729
  total: O
730
730
  }),
731
- restaurantPublishStatus: A.restaurants || {},
732
- status: A.status,
731
+ restaurantPublishStatus: N.restaurants || {},
732
+ status: N.status,
733
733
  progress: U === C ? h.progress ?? 0 : 0
734
734
  // Only apply progress to the running job's row
735
735
  };
736
- })), r = P([]), d = P(null), m = P(null), R = [{
736
+ })), r = M([]), d = M(null), m = M(null), R = [{
737
737
  accessorKey: "date",
738
738
  header: p("menu.publish.scheduler_publish.table.columns.date"),
739
739
  cell: ({
@@ -742,10 +742,10 @@ const tt = {
742
742
  if (u.original.date === "new") {
743
743
  if (d.value !== null)
744
744
  return new Date(d.value).toLocaleString();
745
- const A = z(Date.now()).toISOString();
745
+ const N = z(Date.now()).toISOString();
746
746
  return B($t, {
747
747
  class: "flex h-full items-center",
748
- modelValue: A,
748
+ modelValue: N,
749
749
  "onUpdate:schedulerTime": (U) => {
750
750
  d.value = U;
751
751
  }
@@ -763,8 +763,8 @@ const tt = {
763
763
  row: u
764
764
  }) => u.original.date === "new" ? B(rt, {
765
765
  restaurants: h.restaurants,
766
- "onUpdate:modelValue": (A) => {
767
- r.value = A;
766
+ "onUpdate:modelValue": (N) => {
767
+ r.value = N;
768
768
  }
769
769
  }) : B("p", {}, u.original.total_restaurants)
770
770
  }, {
@@ -867,7 +867,7 @@ const tt = {
867
867
  me(async () => {
868
868
  await e.getNextSchedulerPublish();
869
869
  });
870
- const S = P(null);
870
+ const S = M(null);
871
871
  function H() {
872
872
  m.value = !1, S.value = {
873
873
  date: "new",
@@ -884,17 +884,17 @@ const tt = {
884
884
  k.value = !1, S.value = null, d.value = null, r.value = [], m.value = null;
885
885
  });
886
886
  return (u, C) => {
887
- const A = $("FmButton"), U = $("FmTable"), O = $("FmSideSheet");
887
+ const N = $("FmButton"), U = $("FmTable"), O = $("FmSideSheet");
888
888
  return y(), F(j, null, [Be(u.$slots, "default", {
889
889
  trigger: s
890
890
  }), b(O, {
891
891
  modelValue: k.value,
892
- "onUpdate:modelValue": C[1] || (C[1] = (M) => k.value = M),
892
+ "onUpdate:modelValue": C[1] || (C[1] = (P) => k.value = P),
893
893
  "close-button": !1,
894
894
  "max-width": 800,
895
895
  "onOn:clickedAway": c(V)
896
896
  }, {
897
- "side-sheet-header": E(() => [f("div", Rt, [b(A, {
897
+ "side-sheet-header": E(() => [f("div", Rt, [b(N, {
898
898
  variant: c(ye).Tertiary,
899
899
  "prepend-icon": "arrow_back",
900
900
  onClick: le(c(V), ["stop"])
@@ -906,7 +906,7 @@ const tt = {
906
906
  "shrink-at": !1,
907
907
  pageSize: o.value.length + (S.value ? 1 : 0),
908
908
  "hide-footer": ""
909
- }, null, 8, ["row-data", "pageSize"]), c(e).state.featureFlags.schedulerPublish && !S.value ? (y(), Y(A, {
909
+ }, null, 8, ["row-data", "pageSize"]), c(e).state.featureFlags.schedulerPublish && !S.value ? (y(), Y(N, {
910
910
  key: 0,
911
911
  variant: c(ye).Plain,
912
912
  "prepend-icon": "add",
@@ -917,7 +917,7 @@ const tt = {
917
917
  }, 8, ["modelValue", "onOn:clickedAway"])], 64);
918
918
  };
919
919
  }
920
- }), Bt = { class: "fm-typo-en-title-md-600" }, Tt = { class: "mt-40" }, Et = { class: "fm-typo-en-title-sm-600" }, zt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mt-4 mb-8" }, Lt = { class: "flex gap-8 items-center justify-start" }, jt = /* @__PURE__ */ G({
920
+ }), Bt = { class: "fm-typo-en-title-md-600" }, Tt = { class: "mt-40" }, Et = { class: "fm-typo-en-title-sm-600" }, zt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mt-4 mb-8" }, Lt = { class: "flex gap-8 items-center justify-start" }, jt = /* @__PURE__ */ J({
921
921
  __name: "UpdateCatalogDialog",
922
922
  props: {
923
923
  catalogs: {
@@ -942,7 +942,7 @@ const tt = {
942
942
  additionalCatalogs: []
943
943
  };
944
944
  }
945
- const _ = N(() => [
945
+ const _ = A(() => [
946
946
  {
947
947
  label: p("menu.publish.update_catalog_dialog.sections.default.use_default"),
948
948
  value: null
@@ -951,7 +951,7 @@ const tt = {
951
951
  label: m.name,
952
952
  value: m._id
953
953
  }))
954
- ]), e = N(() => [
954
+ ]), e = A(() => [
955
955
  {
956
956
  label: p("menu.publish.update_catalog_dialog.sections.default.use_default"),
957
957
  value: null
@@ -960,7 +960,7 @@ const tt = {
960
960
  label: m.name,
961
961
  value: m._id
962
962
  }))
963
- ]), k = P(h()), s = P(!1), a = P(void 0);
963
+ ]), k = M(h()), s = M(!1), a = M(void 0);
964
964
  function n(m) {
965
965
  a.value = m ? ge(m) : h(), k.value = ge(a.value), s.value = !0;
966
966
  }
@@ -1032,7 +1032,7 @@ const tt = {
1032
1032
  }, [
1033
1033
  b(H, {
1034
1034
  modelValue: k.value.additionalCatalogs,
1035
- "onUpdate:modelValue": R[3] || (R[3] = (A) => k.value.additionalCatalogs = A),
1035
+ "onUpdate:modelValue": R[3] || (R[3] = (N) => k.value.additionalCatalogs = N),
1036
1036
  label: C.name,
1037
1037
  value: C._id
1038
1038
  }, null, 8, ["modelValue", "label", "value"])
@@ -1051,10 +1051,10 @@ const tt = {
1051
1051
  class: "mr-8"
1052
1052
  }, qt = {
1053
1053
  class: "fm-typo-en-title-md-600"
1054
- }, Jt = {
1055
- class: "xs:hidden mr-16"
1056
1054
  }, Gt = {
1057
1055
  class: "xs:hidden mr-16"
1056
+ }, Jt = {
1057
+ class: "xs:hidden mr-16"
1058
1058
  }, Wt = {
1059
1059
  class: "xs:hidden"
1060
1060
  }, Qt = {
@@ -1075,7 +1075,7 @@ const tt = {
1075
1075
  class: "flex gap-8"
1076
1076
  }, nl = {
1077
1077
  class: "xs:block hidden fixed bottom-72 right-16"
1078
- }, _l = /* @__PURE__ */ G({
1078
+ }, _l = /* @__PURE__ */ J({
1079
1079
  __name: "Publish",
1080
1080
  setup(D) {
1081
1081
  const x = Ee(), {
@@ -1084,11 +1084,11 @@ const tt = {
1084
1084
  row: t
1085
1085
  }) => {
1086
1086
  const v = t.status === "latest";
1087
- return b(Ge, {
1087
+ return b(Je, {
1088
1088
  label: l(v ? "menu.publish.table.status.latest" : "menu.publish.table.status.outdated"),
1089
1089
  variant: v ? "success" : "warning"
1090
1090
  }, null);
1091
- }, i = P({}), g = [{
1091
+ }, i = M({}), g = [{
1092
1092
  accessorKey: "displayName",
1093
1093
  header: () => l("menu.publish.table.columns.restaurant"),
1094
1094
  cell: (t) => t.getValue(),
@@ -1151,7 +1151,7 @@ const tt = {
1151
1151
  meta: {
1152
1152
  width: "150px"
1153
1153
  }
1154
- }], h = P(""), _ = P(), e = xe(), k = he(), s = N(() => {
1154
+ }], h = M(""), _ = M(), e = xe(), k = he(), s = A(() => {
1155
1155
  var v;
1156
1156
  const t = /* @__PURE__ */ new Map();
1157
1157
  for (const w of k.restaurants.value)
@@ -1162,7 +1162,7 @@ const tt = {
1162
1162
  const w = s.value.get(t);
1163
1163
  return w ? `${v} (${w})` : v;
1164
1164
  }
1165
- const n = Se(), o = N(() => e.version !== He.enum.v3);
1165
+ const n = Se(), o = A(() => e.version !== He.enum.v3);
1166
1166
  async function r(t) {
1167
1167
  t.revertConfig && n.open({
1168
1168
  title: "Revert menu",
@@ -1179,7 +1179,7 @@ const tt = {
1179
1179
  close: !0
1180
1180
  }
1181
1181
  }).onPrimary(async () => {
1182
- await A.minor(async () => {
1182
+ await N.minor(async () => {
1183
1183
  await e.revertRestaurantMenu(t._id);
1184
1184
  }, {
1185
1185
  customId: t._id,
@@ -1187,13 +1187,13 @@ const tt = {
1187
1187
  });
1188
1188
  });
1189
1189
  }
1190
- const d = N(() => l("menu.publish.labels.main_version", {
1190
+ const d = A(() => l("menu.publish.labels.main_version", {
1191
1191
  version: m(e.state.menu.updatedAt)
1192
1192
  }));
1193
1193
  function m(t) {
1194
1194
  return t ? z(t).format("DD/MM/YYYY hh:mmA") : "";
1195
1195
  }
1196
- const R = N(() => e.state.menu.modules.catalog), S = N(() => A.queue.value.some((t) => t.id === e.state.menu._id));
1196
+ const R = A(() => e.state.menu.modules.catalog), S = A(() => N.queue.value.some((t) => t.id === e.state.menu._id));
1197
1197
  function H(t) {
1198
1198
  var v;
1199
1199
  return t ? ((v = R.value.find((w) => w._id === t)) == null ? void 0 : v.name) ?? l("menu.publish.labels.catalog.invalid") : l("menu.publish.labels.catalog.main");
@@ -1212,21 +1212,21 @@ const tt = {
1212
1212
  const v = V(t);
1213
1213
  (w = _.value) == null || w.show(v);
1214
1214
  }
1215
- const C = fe(), A = Ce(C);
1215
+ const C = fe(), N = Ce(C);
1216
1216
  async function U(t) {
1217
1217
  var w;
1218
- const v = (w = q.value.find((J) => J._id === t.restaurantId)) == null ? void 0 : w.name;
1219
- await A.minor(async () => await e.publishMenu(t), {
1218
+ const v = (w = q.value.find((G) => G._id === t.restaurantId)) == null ? void 0 : w.name;
1219
+ await N.minor(async () => await e.publishMenu(t), {
1220
1220
  customId: e.state.menu._id,
1221
1221
  message: `Publishing menu for ${v}`,
1222
1222
  successMessage: `Published to ${v}`
1223
1223
  });
1224
1224
  }
1225
- const O = P(null), M = N(() => l("menu.common.labels.status")), ve = N(() => l("menu.publish.table.status.latest")), be = N(() => l("menu.publish.table.status.outdated")), q = N(() => {
1225
+ const O = M(null), P = A(() => l("menu.common.labels.status")), ve = A(() => l("menu.publish.table.status.latest")), be = A(() => l("menu.publish.table.status.outdated")), q = A(() => {
1226
1226
  const t = h.value.toLowerCase(), v = e.state.menu.updatedAt;
1227
1227
  return e.state.restaurants.filter((w) => {
1228
- var J;
1229
- return !O.value || ((J = O.value) == null ? void 0 : J.includes(w._id));
1228
+ var G;
1229
+ return !O.value || ((G = O.value) == null ? void 0 : G.includes(w._id));
1230
1230
  }).map((w) => ({
1231
1231
  ...w,
1232
1232
  displayName: a(w._id, w.name),
@@ -1236,22 +1236,22 @@ const tt = {
1236
1236
  pickup: H(w.pickupCatalog)
1237
1237
  },
1238
1238
  status: v === w.updatedAt ? "latest" : "outdated",
1239
- [M.value]: v === w.updatedAt ? ve.value : be.value
1239
+ [P.value]: v === w.updatedAt ? ve.value : be.value
1240
1240
  })).filter((w) => ze(w, oe.value)).filter(({
1241
1241
  displayName: w,
1242
- catalog: J
1243
- }) => t ? w.toLowerCase().includes(t) || J.default.toLowerCase().includes(t) || J.takeaway.toLowerCase().includes(t) || J.pickup.toLowerCase().includes(t) : !0);
1244
- }), oe = P({
1242
+ catalog: G
1243
+ }) => t ? w.toLowerCase().includes(t) || G.default.toLowerCase().includes(t) || G.takeaway.toLowerCase().includes(t) || G.pickup.toLowerCase().includes(t) : !0);
1244
+ }), oe = M({
1245
1245
  logic: "AND",
1246
1246
  rules: []
1247
- }), Me = N(() => [{
1247
+ }), Pe = A(() => [{
1248
1248
  type: "string",
1249
- key: M.value,
1249
+ key: P.value,
1250
1250
  entity: "menu",
1251
1251
  values: [ve.value, be.value]
1252
- }]), ae = P(0), L = P(null), te = P(null), ue = P(null);
1252
+ }]), ae = M(0), L = M(null), te = M(null), ue = M(null);
1253
1253
  async function $e() {
1254
- await A.minor(async () => await e.readRestaurants(), {
1254
+ await N.minor(async () => await e.readRestaurants(), {
1255
1255
  customId: e.state.menu._id
1256
1256
  }), await e.getNextSchedulerPublish(), e.runningPublishJob !== null ? L.value === null && (L.value = setInterval(async () => {
1257
1257
  await ie();
@@ -1261,14 +1261,14 @@ const tt = {
1261
1261
  if (S.value) return;
1262
1262
  const v = Object.keys(i.value).filter((K) => i.value[K]), w = v.length === 0 || v.length === q.value.length ? q.value : q.value.filter((K) => v.includes(K._id));
1263
1263
  if (t ? t.restaurantIds.length === e.state.restaurants.length : q.value.length === e.state.restaurants.length && (v.length === 0 || v.length === q.value.length))
1264
- await A.minor(async () => {
1264
+ await N.minor(async () => {
1265
1265
  await e.publishAllMenu(t == null ? void 0 : t.schedulerTime);
1266
1266
  }, {
1267
1267
  successMessage: "Menu publish registered for all restaurants."
1268
1268
  }), te.value = !1;
1269
1269
  else {
1270
1270
  const K = (t == null ? void 0 : t.restaurantIds) || w.map((de) => de._id);
1271
- await A.minor(async () => {
1271
+ await N.minor(async () => {
1272
1272
  await e.publishMultipleMenu(K, t == null ? void 0 : t.schedulerTime, !1);
1273
1273
  }, {
1274
1274
  successMessage: `Menu publish registered for ${t != null && t.restaurantIds ? t.restaurantIds.length : w.length} restaurant(s).`
@@ -1290,16 +1290,16 @@ const tt = {
1290
1290
  }), Te(() => {
1291
1291
  L.value != null && (clearInterval(L.value), L.value = null);
1292
1292
  }), (t, v) => {
1293
- const w = $("FmChip"), J = $("FmSpacer"), K = $("FmButton"), de = $("FmBadge"), Ae = $("FmSearch"), Ne = $("FmTable"), De = $("FmListItem"), Re = $("FmList");
1293
+ const w = $("FmChip"), G = $("FmSpacer"), K = $("FmButton"), de = $("FmBadge"), Ne = $("FmSearch"), Ae = $("FmTable"), De = $("FmListItem"), Re = $("FmList");
1294
1294
  return y(), F(j, null, [f("div", Kt, [f("div", Yt, [f("div", Ht, [f("div", qt, T(c(l)("menu.publish.title")), 1)]), b(w, {
1295
1295
  label: d.value,
1296
1296
  class: "xs:hidden text-fm-color-primary bg-fm-color-system-warning-100"
1297
- }, null, 8, ["label"]), b(J), f("div", Jt, [b(K, {
1297
+ }, null, 8, ["label"]), b(G), f("div", Gt, [b(K, {
1298
1298
  disabled: S.value,
1299
1299
  label: c(l)("menu.publish.actions.refresh"),
1300
1300
  variant: "secondary",
1301
1301
  onClick: v[0] || (v[0] = () => $e())
1302
- }, null, 8, ["disabled", "label"])]), f("div", Gt, [b(Ot, {
1302
+ }, null, 8, ["disabled", "label"])]), f("div", Jt, [b(Ot, {
1303
1303
  progress: ae.value,
1304
1304
  restaurants: q.value,
1305
1305
  onPublishMenu: v[1] || (v[1] = (I) => re(I))
@@ -1340,10 +1340,10 @@ const tt = {
1340
1340
  "append-right": E(() => [b(c(Le), {
1341
1341
  modelValue: oe.value,
1342
1342
  "onUpdate:modelValue": v[3] || (v[3] = (I) => oe.value = I),
1343
- attributes: Me.value
1343
+ attributes: Pe.value
1344
1344
  }, null, 8, ["modelValue", "attributes"])]),
1345
1345
  _: 1
1346
- }, 8, ["modelValue"]), b(Ae, {
1346
+ }, 8, ["modelValue"]), b(Ne, {
1347
1347
  modelValue: h.value,
1348
1348
  "onUpdate:modelValue": v[5] || (v[5] = (I) => h.value = I),
1349
1349
  autofocus: "",
@@ -1354,7 +1354,7 @@ const tt = {
1354
1354
  }, [b(We, {
1355
1355
  class: "xs:hidden block"
1356
1356
  }, {
1357
- default: E(() => [b(Ne, {
1357
+ default: E(() => [b(Ae, {
1358
1358
  modelValue: i.value,
1359
1359
  "onUpdate:modelValue": v[6] || (v[6] = (I) => i.value = I),
1360
1360
  "get-row-id": (I) => I._id,