@feedmepos/mf-menu 0.32.24 → 0.32.25-dev

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 (62) hide show
  1. package/dist/{App-DSnfEKP0.js → App-oBJtlZZ-.js} +7 -7
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CmrKd7hy.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CFRqNwMm.js} +3 -3
  3. package/dist/{Catalog-DgTZGoPD.js → Catalog-X6QeStHF.js} +6 -6
  4. package/dist/{Category-CORCBe5S.js → Category-BHCqHC6_.js} +4 -4
  5. package/dist/{Category-BWXqwLZe.js → Category-CQ_F51om.js} +6 -6
  6. package/dist/{CookingGuide-DN2tiF_7.js → CookingGuide-DnSW4CJb.js} +5 -5
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Dud1-rTT.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-27kAtFHA.js} +1 -1
  8. package/dist/{Group-DskLYlV2.js → Group-C17RhtoU.js} +3 -3
  9. package/dist/{Group-C9-j8qq-.js → Group-CWqVRWu_.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-CJHsz_QT.js → Group.vue_vue_type_script_setup_true_lang-KgrTRiaw.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DOaa0cwH.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Bw9a1p80.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CBTPbo8A.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C8T16h_U.js} +1450 -1450
  13. package/dist/{Ingredient-B_MtyxuA.js → Ingredient-BqFjj0Xf.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-Bwq88xAr.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CW301d2i.js} +2 -2
  15. package/dist/{LinkProductSideSheet-0_E3O0k2.js → LinkProductSideSheet-BMSjNF-X.js} +3 -3
  16. package/dist/{MenuSetting-DpsCP1da.js → MenuSetting-BP_PDUER.js} +5 -5
  17. package/dist/{PrintRoute-JytMVzjM.js → PrintRoute-l4v-zJrc.js} +5 -5
  18. package/dist/{Product-DQlcPq4a.js → Product-puUjkbSq.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-C32pROSV.js → Product.vue_vue_type_script_setup_true_lang-Dp7a5bRf.js} +12 -12
  20. package/dist/{ProductInternalTools-tCksyrhU.js → ProductInternalTools-VKGI7Fzy.js} +6 -6
  21. package/dist/{Products-C9Mvsavs.js → Products-BP6XXI57.js} +29 -29
  22. package/dist/{Publish-7xXzR9dW.js → Publish-BDEbXjcu.js} +151 -153
  23. package/dist/{Recipe-C_8_ygtV.js → Recipe-IvNkA5o_.js} +4 -4
  24. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-BZaueXwO.js → RuleView.vue_vue_type_script_setup_true_lang-D24M0F3F.js} +366 -366
  25. package/dist/{Scheduler-BhnubSJG.js → Scheduler-BV-sG3U0.js} +3 -3
  26. package/dist/{ServingSequence-Cu3PZMIO.js → ServingSequence-Dy32GBOv.js} +3 -3
  27. package/dist/{Setting-o1XLUXzb.js → Setting-2hEKNRPz.js} +5 -5
  28. package/dist/{Subcategory-H2FJBF-v.js → Subcategory-CA11HBJX.js} +4 -4
  29. package/dist/{Takeaway-Cqdo-ciG.js → Takeaway-8W2PJMhc.js} +4 -4
  30. package/dist/{Takeaway-IYlIgoQr.js → Takeaway-ds24Rc3p.js} +1 -1
  31. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Cq-uGmRy.js → Takeaway.vue_vue_type_script_setup_true_lang-BSyiOhP3.js} +5 -5
  32. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-ClREfziP.js → Thumbnail.vue_vue_type_script_setup_true_lang-CXQa2QSR.js} +4 -4
  33. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dk94jk8y.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-rI6agknT.js} +14 -14
  34. package/dist/{Unit-BO8M_B8i.js → Unit-CFs9Bypt.js} +2 -2
  35. package/dist/{Variant-C8i2QmtF.js → Variant-BeBI3fwC.js} +3 -3
  36. package/dist/{_id_-C_YfMvGz.js → _id_-DEN0fizp.js} +9 -9
  37. package/dist/{app-BTDzDNv0.js → app-BkrpZ1F6.js} +1 -1
  38. package/dist/{app-Ct930pPt.js → app-DXTOSCE8.js} +26 -26
  39. package/dist/app.js +1 -1
  40. package/dist/assets/{linked-status-DN8Bqi3d.js → linked-status-DT4GsKB9.js} +2 -2
  41. package/dist/assets/{menu-export-BCDNyeXy.js → menu-export-DFMvZ9lh.js} +2 -2
  42. package/dist/assets/{override-menu-De1e5utt.js → override-menu-C-1OWgCr.js} +2 -2
  43. package/dist/assets/{validate-menu-BavPp8gW.js → validate-menu-C5aog612.js} +2 -2
  44. package/dist/{catalog-CvmvIFvf.js → catalog-ClDJiP0g.js} +1 -1
  45. package/dist/{catalogSetting-DGwK4uWQ.js → catalogSetting-DFOIszZw.js} +1 -1
  46. package/dist/{category-qgkINF-N.js → category-iVQCtSHT.js} +1 -1
  47. package/dist/{currency-B3YJexep.js → currency-BK-5iUrj.js} +1 -1
  48. package/dist/{dayjs.min-Dl6FX5bE.js → dayjs.min-BRGHPywQ.js} +1 -1
  49. package/dist/{index-BaNVEeD4.js → index-Bgxpsz4y.js} +3 -3
  50. package/dist/{index-BlMc4dvZ.js → index-CIrQEHaA.js} +1 -1
  51. package/dist/{index-CSwH6F9s.js → index-D3j5gcJd.js} +4 -4
  52. package/dist/{index.vue_vue_type_script_setup_true_lang-CySmbAYH.js → index.vue_vue_type_script_setup_true_lang-Bl5gVHZN.js} +6 -6
  53. package/dist/{item-CYMh8GsM.js → item-qo4jr-BY.js} +13 -13
  54. package/dist/{jszip.min-CQ2t89fU.js → jszip.min-CE-l7St7.js} +2 -2
  55. package/dist/{menu-BTK11L41.js → menu-Chjaib3T.js} +1 -1
  56. package/dist/{menuV2-CtcMwt16.js → menuV2-D5wN00Wx.js} +32 -32
  57. package/dist/{priceTier-sWJYFeK1.js → priceTier-B-jiVm5I.js} +1 -1
  58. package/dist/{scheduler-D0EDlsK-.js → scheduler-aFOgeFS0.js} +4 -4
  59. package/dist/{subcategory-BHbNd6Nk.js → subcategory-UKvVvM-z.js} +2 -2
  60. package/dist/{toExcel-C41euBvw.js → toExcel-BPzszwzN.js} +2 -2
  61. package/dist/{unit-BZ5H5WZ8.js → unit-DIRVLvnx.js} +2 -2
  62. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { defineComponent as W, ref as P, computed as N, onMounted as ie, resolveComponent as U, createElementBlock as M, openBlock as C, createVNode as p, createElementVNode as i, toDisplayString as z, unref as d, Fragment as H, renderList as q, createBlock as j, watch as de, withCtx as E, normalizeClass as re, createCommentVNode as X, createTextVNode as me, mergeProps as Ve, normalizeStyle as Ie, renderSlot as Pe, withModifiers as te, h as R, onUnmounted as Me } from "vue";
2
- import { D as L } from "./dayjs.min-Dl6FX5bE.js";
1
+ import { defineComponent as W, ref as P, computed as N, onMounted as ie, resolveComponent as U, createElementBlock as M, openBlock as C, createVNode as p, createElementVNode as d, toDisplayString as z, unref as i, Fragment as H, renderList as q, createBlock as j, watch as de, withCtx as E, normalizeClass as re, createCommentVNode as X, createTextVNode as me, mergeProps as Ve, normalizeStyle as Ie, renderSlot as Pe, withModifiers as te, h as R, onUnmounted as Me } from "vue";
2
+ import { D as L } from "./dayjs.min-BRGHPywQ.js";
3
3
  import { useRouter as $e } from "vue-router";
4
4
  import { O as Ue, b as Ae } from "./app-5fxKLAzS.js";
5
- import { B as Be, H as De, G as he, ad as Te, A as G, u as be, I as pe, J as Re, a5 as Oe } from "./index.vue_vue_type_script_setup_true_lang-CySmbAYH.js";
5
+ import { B as Be, H as De, G as he, ad as Te, A as G, u as _e, I as pe, J as Re, a5 as Oe } from "./index.vue_vue_type_script_setup_true_lang-Bl5gVHZN.js";
6
6
  import { useI18n as Z, useCoreStore as Ne, RestaurantSelector as Ee } from "@feedmepos/mf-common";
7
- import { useSnackbar as ce, useDialogChild as Le, useProxiedModel as ze, useDialog as _e, FmButtonVariant as fe, components as Q } from "@feedmepos/ui-library";
7
+ import { useSnackbar as ce, useDialogChild as Le, useProxiedModel as ze, useDialog as be, FmButtonVariant as fe, components as Q } from "@feedmepos/ui-library";
8
8
  import { _ as He } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
9
- import { _ as Je } from "./app-Ct930pPt.js";
9
+ import { _ as Je } from "./app-DXTOSCE8.js";
10
10
  import { a as Ye, w as Ke } from "./tooltip-B5BiPMx9.js";
11
11
  import { u as ge } from "./discardConfirm-BHni0LNu.js";
12
12
  import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -16,16 +16,16 @@ function ke(T) {
16
16
  function je(T, F, l) {
17
17
  const g = (n, x = !1) => {
18
18
  var u;
19
- return n === void 0 && !x ? "-" : ((u = l.find((_) => _.value === (n || null))) == null ? void 0 : u.label) || "-";
19
+ return n === void 0 && !x ? "-" : ((u = l.find((b) => b.value === (n || null))) == null ? void 0 : u.label) || "-";
20
20
  };
21
21
  return T.map((n) => {
22
22
  var e;
23
- const x = (e = F.find(({ _id: b }) => b === n._id)) == null ? void 0 : e.posVersion, u = !!x && !!Be.Pos.canUse({ feature: De.F_FEATURE.enum.taxAndServiceChargeV4, posVersion: x }), _ = g(n.catalogId);
23
+ const x = (e = F.find(({ _id: _ }) => _ === n._id)) == null ? void 0 : e.posVersion, u = !!x && !!Be.Pos.canUse({ feature: De.F_FEATURE.enum.taxAndServiceChargeV4, posVersion: x }), b = g(n.catalogId);
24
24
  return {
25
25
  ...n,
26
- _default: _,
27
- _posTakeaway: n.takeawayCatalog ? g(n.takeawayCatalog) : _,
28
- _additionalCatalogs: (n.additionalCatalogs || []).map((b) => g(b)),
26
+ _default: b,
27
+ _posTakeaway: n.takeawayCatalog ? g(n.takeawayCatalog) : b,
28
+ _additionalCatalogs: (n.additionalCatalogs || []).map((_) => g(_)),
29
29
  _lastUpdate: ke(n.updatedAt),
30
30
  _pickup: u ? g(n.pickupCatalog, !0) : "-",
31
31
  _canUsePickup: u,
@@ -55,7 +55,7 @@ const Ge = {
55
55
  { isLoading: n }
56
56
  );
57
57
  }
58
- const _ = N(() => {
58
+ const b = N(() => {
59
59
  var c;
60
60
  return [
61
61
  { label: "Main", value: null },
@@ -64,7 +64,7 @@ const Ge = {
64
64
  value: y._id
65
65
  }))
66
66
  ];
67
- }), { t: e } = Z(), b = N(() => {
67
+ }), { t: e } = Z(), _ = N(() => {
68
68
  var s;
69
69
  const c = F.restaurant.revertConfig;
70
70
  if (!c) return [];
@@ -76,7 +76,7 @@ const Ge = {
76
76
  }
77
77
  ],
78
78
  Ne().restaurants.value,
79
- _.value
79
+ b.value
80
80
  )[0];
81
81
  return [
82
82
  { label: e("menu.revert.labels.restaurant"), value: F.restaurant.name },
@@ -100,9 +100,9 @@ const Ge = {
100
100
  return n.value ? (C(), M("div", Ge, [
101
101
  p(s, { size: "lg" })
102
102
  ])) : (C(), M("div", qe, [
103
- i("div", We, z(d(e)("menu.revert.description", { name: F.restaurant.name })), 1),
104
- i("div", Qe, [
105
- (C(!0), M(H, null, q(b.value, (f) => (C(), j(Ye, {
103
+ d("div", We, z(i(e)("menu.revert.description", { name: F.restaurant.name })), 1),
104
+ d("div", Qe, [
105
+ (C(!0), M(H, null, q(_.value, (f) => (C(), j(Ye, {
106
106
  key: f.label,
107
107
  name: f.label,
108
108
  value: f.value || "--"
@@ -130,13 +130,13 @@ const Ge = {
130
130
  const l = T, g = F, n = P([]), x = N(() => l.restaurants.map((s) => ({
131
131
  label: s.name,
132
132
  value: s._id
133
- }))), u = P(""), _ = N(() => {
133
+ }))), u = P(""), b = N(() => {
134
134
  const s = Array.isArray(n.value) ? n.value : [], f = s.map((m) => x.value.find((A) => A.value === m)).filter((m) => m !== void 0);
135
135
  let o = [];
136
136
  return u.value ? (o = x.value.filter((m) => m.label.toLowerCase().includes(u.value.toLowerCase()) && !s.includes(m.value)), [...f, ...o]) : (o = x.value.filter((m) => !s.includes(m.value)), [...f, ...o]);
137
- }), e = N(() => n.value.length > 0 && n.value.length === _.value.length), b = N(() => n.value.filter((s) => _.value.some((f) => f.value === s))), a = () => {
138
- const s = n.value.filter((f) => !b.value.includes(f));
139
- e.value === !0 ? c(s) : c(_.value.map((f) => f.value));
137
+ }), e = N(() => n.value.length > 0 && n.value.length === b.value.length), _ = N(() => n.value.filter((s) => b.value.some((f) => f.value === s))), a = () => {
138
+ const s = n.value.filter((f) => !_.value.includes(f));
139
+ e.value === !0 ? c(s) : c(b.value.map((f) => f.value));
140
140
  }, c = (s) => {
141
141
  n.value = s;
142
142
  };
@@ -152,12 +152,12 @@ const Ge = {
152
152
  modelValue: n.value,
153
153
  "onUpdate:modelValue": f[1] || (f[1] = (B) => n.value = B),
154
154
  placeholder: "Select Restaurant",
155
- items: _.value,
155
+ items: b.value,
156
156
  multiselect: !0,
157
157
  "hide-chips": !0
158
158
  }, {
159
- default: E(() => [i("p", Ze, z(n.value.length === l.restaurants.length ? "All restaurants" : y(n.value).join(", ")), 1)]),
160
- "menu-wrapper": E(() => [i("div", et, [p(o, {
159
+ default: E(() => [d("p", Ze, z(n.value.length === l.restaurants.length ? "All restaurants" : y(n.value).join(", ")), 1)]),
160
+ "menu-wrapper": E(() => [d("div", et, [p(o, {
161
161
  class: "py-8",
162
162
  modelValue: u.value,
163
163
  "onUpdate:modelValue": f[0] || (f[0] = (B) => u.value = B),
@@ -169,7 +169,7 @@ const Ge = {
169
169
  value: "1",
170
170
  indeterminate: n.value.length > 0,
171
171
  "onUpdate:modelValue": a
172
- }, null, 8, ["model-value", "indeterminate"]), (C(!0), M(H, null, q(_.value, (B, Y) => (C(), M("div", {
172
+ }, null, 8, ["model-value", "indeterminate"]), (C(!0), M(H, null, q(b.value, (B, Y) => (C(), M("div", {
173
173
  key: Y
174
174
  }, [p(m, {
175
175
  "model-value": n.value,
@@ -202,34 +202,34 @@ const Ge = {
202
202
  F("menu.publish.scheduler.calender.day.thu"),
203
203
  F("menu.publish.scheduler.calender.day.fri"),
204
204
  F("menu.publish.scheduler.calender.day.sat")
205
- ], g = L(), n = (u, _) => typeof u == "function" ? u(..._) : u, x = (u, _) => {
206
- if (!_) return;
205
+ ], g = L(), n = (u, b) => typeof u == "function" ? u(...b) : u, x = (u, b) => {
206
+ if (!b) return;
207
207
  const e = {
208
208
  "fm-calendar__cell--selected": !1,
209
209
  "fm-calendar__cell--selected-start": !1,
210
210
  "fm-calendar__cell--selected-end": !1,
211
211
  "fm-calendar__cell--selected-between": !1
212
212
  };
213
- let b;
214
- if (typeof _ == "function") {
215
- const { status: a, className: c } = _(u);
216
- a && (e["fm-calendar__cell--selected"] = a.isSelected ?? !1, e["fm-calendar__cell--selected-start"] = a.isStart ?? !1, e["fm-calendar__cell--selected-end"] = a.isEnd ?? !1, e["fm-calendar__cell--selected-between"] = a.isBetween ?? !1), b = c ?? "";
213
+ let _;
214
+ if (typeof b == "function") {
215
+ const { status: a, className: c } = b(u);
216
+ a && (e["fm-calendar__cell--selected"] = a.isSelected ?? !1, e["fm-calendar__cell--selected-start"] = a.isStart ?? !1, e["fm-calendar__cell--selected-end"] = a.isEnd ?? !1, e["fm-calendar__cell--selected-between"] = a.isBetween ?? !1), _ = c ?? "";
217
217
  } else {
218
- const { status: a, className: c } = _;
219
- a && (e["fm-calendar__cell--selected"] = n(a.isSelected, [u]) ?? !1, e["fm-calendar__cell--selected-start"] = n(a.isStart, [u]) ?? !1, e["fm-calendar__cell--selected-end"] = n(a.isEnd, [u]) ?? !1, e["fm-calendar__cell--selected-between"] = n(a.isBetween, [u]) ?? !1), b = n(c, [u]) ?? "";
218
+ const { status: a, className: c } = b;
219
+ a && (e["fm-calendar__cell--selected"] = n(a.isSelected, [u]) ?? !1, e["fm-calendar__cell--selected-start"] = n(a.isStart, [u]) ?? !1, e["fm-calendar__cell--selected-end"] = n(a.isEnd, [u]) ?? !1, e["fm-calendar__cell--selected-between"] = n(a.isBetween, [u]) ?? !1), _ = n(c, [u]) ?? "";
220
220
  }
221
- return [e, b];
221
+ return [e, _];
222
222
  };
223
- return (u, _) => (C(), M("div", null, [
224
- i("div", at, [
223
+ return (u, b) => (C(), M("div", null, [
224
+ d("div", at, [
225
225
  (C(!0), M(H, null, q(l(), (e) => (C(), M("div", {
226
226
  key: e,
227
227
  class: re(["fm-calendar__cell", `fm-calendar__cell__${u.cellSize}`])
228
228
  }, z(e), 3))), 128))
229
229
  ]),
230
- i("div", null, [
231
- (C(!0), M(H, null, q(u.days, (e, b) => (C(), M("div", {
232
- key: b,
230
+ d("div", null, [
231
+ (C(!0), M(H, null, q(u.days, (e, _) => (C(), M("div", {
232
+ key: _,
233
233
  class: "fm-calendar__row fm-typo-en-body-md-400"
234
234
  }, [
235
235
  (C(!0), M(H, null, q(e, (a) => (C(), M("div", {
@@ -241,7 +241,7 @@ const Ge = {
241
241
  !a.isCurrentMonth && "fm-calendar__cell--not-current-month"
242
242
  ]])
243
243
  }, [
244
- a.date.isSame(d(g), "day") && a.isCurrentMonth ? (C(), M("div", nt)) : X("", !0),
244
+ a.date.isSame(i(g), "day") && a.isCurrentMonth ? (C(), M("div", nt)) : X("", !0),
245
245
  a.isCurrentMonth ? (C(), M("button", {
246
246
  key: 1,
247
247
  class: "fm-calendar__cell__button",
@@ -275,7 +275,7 @@ const Ge = {
275
275
  for (let f = 0; f <= y; f++)
276
276
  s.push(c.subtract(f, "year"));
277
277
  return s;
278
- }), _ = (a) => {
278
+ }), b = (a) => {
279
279
  const c = L(g.min).startOf("month"), y = L(g.max).startOf("month");
280
280
  return a.get("year") === c.get("year") ? a.startOf("month").isAfter(c) || a.get("month") === c.get("month") : a.get("year") === y.get("year") ? a.startOf("month").isBefore(y) || a.get("month") === y.get("month") : !0;
281
281
  }, e = (a) => {
@@ -290,7 +290,7 @@ const Ge = {
290
290
  }
291
291
  n("update:modelValue", a);
292
292
  };
293
- function b(a, c) {
293
+ function _(a, c) {
294
294
  if (!c)
295
295
  return !1;
296
296
  const y = a.el, s = y == null ? void 0 : y.parentElement;
@@ -305,15 +305,15 @@ const Ge = {
305
305
  onMenuChanged: c[0] || (c[0] = (o) => x.value = o)
306
306
  }, {
307
307
  "menu-button": E(() => [
308
- i("div", {
308
+ d("div", {
309
309
  class: re(["flex gap-4 h-24 items-center px-4 rounded-sm", x.value ? "text-fm-color-primary" : "hover:bg-fm-color-neutral-gray-100"])
310
310
  }, [
311
- i("div", ut, [
311
+ d("div", ut, [
312
312
  a.picker === "month" ? (C(), M(H, { key: 0 }, [
313
- me(z(a.modelValue.format(d(l)("menu.publish.scheduler.date.monthFormat"))), 1)
313
+ me(z(a.modelValue.format(i(l)("menu.publish.scheduler.date.monthFormat"))), 1)
314
314
  ], 64)) : X("", !0),
315
315
  a.picker === "year" ? (C(), M(H, { key: 1 }, [
316
- me(z(a.modelValue.format(d(l)("menu.publish.scheduler.date.yearFormat"))), 1)
316
+ me(z(a.modelValue.format(i(l)("menu.publish.scheduler.date.yearFormat"))), 1)
317
317
  ], 64)) : X("", !0)
318
318
  ]),
319
319
  p(y, {
@@ -324,31 +324,31 @@ const Ge = {
324
324
  ], 2)
325
325
  ]),
326
326
  default: E(() => [
327
- i("ul", rt, [
327
+ d("ul", rt, [
328
328
  a.picker === "month" ? (C(!0), M(H, { key: 0 }, q(Array.from(Array(12), (o, m) => a.modelValue.month(m)), (o) => (C(), M("li", {
329
- key: o.format(d(l)("menu.publish.scheduler.date.monthFormat")),
330
- onVnodeMounted: (m) => b(
329
+ key: o.format(i(l)("menu.publish.scheduler.date.monthFormat")),
330
+ onVnodeMounted: (m) => _(
331
331
  m,
332
- a.modelValue.format(d(l)("menu.publish.scheduler.date.monthFormat")) === o.format(d(l)("menu.publish.scheduler.date.monthFormat"))
332
+ a.modelValue.format(i(l)("menu.publish.scheduler.date.monthFormat")) === o.format(i(l)("menu.publish.scheduler.date.monthFormat"))
333
333
  )
334
334
  }, [
335
335
  p(s, {
336
- disabled: !_(o),
337
- "model-value": a.modelValue.format(d(l)("menu.publish.scheduler.date.monthFormat")) === o.format(d(l)("menu.publish.scheduler.date.monthFormat")),
338
- label: o.format(d(l)("menu.publish.scheduler.date.monthFormat")),
336
+ disabled: !b(o),
337
+ "model-value": a.modelValue.format(i(l)("menu.publish.scheduler.date.monthFormat")) === o.format(i(l)("menu.publish.scheduler.date.monthFormat")),
338
+ label: o.format(i(l)("menu.publish.scheduler.date.monthFormat")),
339
339
  "onUpdate:modelValue": (m) => n("update:modelValue", o)
340
340
  }, null, 8, ["disabled", "model-value", "label", "onUpdate:modelValue"])
341
341
  ], 8, it))), 128)) : X("", !0),
342
342
  a.picker === "year" ? (C(!0), M(H, { key: 1 }, q(u.value, (o) => (C(), M("li", {
343
- key: o.format(d(l)("menu.publish.scheduler.date.yearFormat")),
344
- onVnodeMounted: (m) => b(
343
+ key: o.format(i(l)("menu.publish.scheduler.date.yearFormat")),
344
+ onVnodeMounted: (m) => _(
345
345
  m,
346
- a.modelValue.format(d(l)("menu.publish.scheduler.date.yearFormat")) === o.format(d(l)("menu.publish.scheduler.date.yearFormat"))
346
+ a.modelValue.format(i(l)("menu.publish.scheduler.date.yearFormat")) === o.format(i(l)("menu.publish.scheduler.date.yearFormat"))
347
347
  )
348
348
  }, [
349
349
  p(s, {
350
- "model-value": a.modelValue.format(d(l)("menu.publish.scheduler.date.yearFormat")) === o.format(d(l)("menu.publish.scheduler.date.yearFormat")),
351
- label: o.format(d(l)("menu.publish.scheduler.date.yearFormat")),
350
+ "model-value": a.modelValue.format(i(l)("menu.publish.scheduler.date.yearFormat")) === o.format(i(l)("menu.publish.scheduler.date.yearFormat")),
351
+ label: o.format(i(l)("menu.publish.scheduler.date.yearFormat")),
352
352
  "onUpdate:modelValue": (m) => e(o)
353
353
  }, null, 8, ["model-value", "label", "onUpdate:modelValue"])
354
354
  ], 8, dt))), 128)) : X("", !0)
@@ -358,7 +358,7 @@ const Ge = {
358
358
  });
359
359
  };
360
360
  }
361
- }), ct = { class: "p-12 space-y-4 w-[552px]" }, mt = { class: "w-max" }, pt = { class: "flex space-x-24" }, ft = { class: "flex items-center py-8 space-x-16" }, vt = { class: "flex space-x-4" }, ht = { class: "flex items-center justify-end py-8 space-x-16" }, bt = { class: "flex space-x-4" }, _t = { class: "flex gap-8 items-center justify-end w-full" }, le = "YYYY-MM-DD", gt = /* @__PURE__ */ W({
361
+ }), ct = { class: "p-12 space-y-4 w-[552px]" }, mt = { class: "w-max" }, pt = { class: "flex space-x-24" }, ft = { class: "flex items-center py-8 space-x-16" }, vt = { class: "flex space-x-4" }, ht = { class: "flex items-center justify-end py-8 space-x-16" }, _t = { class: "flex space-x-4" }, bt = { class: "flex gap-8 items-center justify-end w-full" }, le = "YYYY-MM-DD", gt = /* @__PURE__ */ W({
362
362
  __name: "DateTimePicker",
363
363
  props: {
364
364
  modelValue: {},
@@ -382,20 +382,20 @@ const Ge = {
382
382
  minutes: new Date(x.value).getMinutes(),
383
383
  period: new Date(x.value).getHours() >= 12 ? "PM" : "AM"
384
384
  /* AM */
385
- }), _ = P(L(x.value, le)), e = P(!1);
386
- function b(k, w) {
385
+ }), b = P(L(x.value, le)), e = P(!1);
386
+ function _(k, w) {
387
387
  const [r, v, S] = k.split("-").map(Number), D = new Date(r, v - 1, S);
388
388
  let V = w.hours % 12;
389
389
  return w.period === "PM" && (V += 12), D.setHours(V), D.setMinutes(w.minutes), D.setSeconds(0), D.setMilliseconds(0), D;
390
390
  }
391
391
  const a = () => {
392
- x.value = _.value.format(le);
393
- const k = b(x.value, u.value);
392
+ x.value = b.value.format(le);
393
+ const k = _(x.value, u.value);
394
394
  n("update:schedulerTime", k.toISOString()), setTimeout(() => {
395
395
  e.value = !1;
396
396
  }, 0);
397
397
  }, c = () => {
398
- _.value = x.value ? L(x.value) : null, e.value = !1;
398
+ b.value = x.value ? L(x.value) : null, e.value = !1;
399
399
  }, y = (k) => {
400
400
  e.value = k, k || c();
401
401
  }, s = P(L().startOf("month")), f = P(L().startOf("month").add(1, "month")), o = (k, w) => {
@@ -410,7 +410,7 @@ const Ge = {
410
410
  }), S = S.add(1, "day");
411
411
  return D.length > 0 && w.push(D), w.length < 6 && w.push([]), w;
412
412
  }, Y = (k) => {
413
- _.value = k;
413
+ b.value = k;
414
414
  };
415
415
  return (k, w) => {
416
416
  const r = U("FmIcon"), v = U("FmTimeInput"), S = U("FmButton"), D = U("FmPopover");
@@ -421,17 +421,17 @@ const Ge = {
421
421
  onPopoverChanged: y
422
422
  }, {
423
423
  "popover-button": E(() => [
424
- i("div", Ve({
424
+ d("div", Ve({
425
425
  opened: e.value,
426
426
  showValidBorder: k.showValidBorder
427
427
  }, { class: "text-fm-color-primary" }), " Select Date & Time ", 16)
428
428
  ]),
429
429
  default: E(() => [
430
- i("div", ct, [
431
- i("div", mt, [
432
- i("div", pt, [
433
- i("div", null, [
434
- i("div", ft, [
430
+ d("div", ct, [
431
+ d("div", mt, [
432
+ d("div", pt, [
433
+ d("div", null, [
434
+ d("div", ft, [
435
435
  p(r, {
436
436
  outline: !1,
437
437
  class: "cursor-pointer select-none",
@@ -440,7 +440,7 @@ const Ge = {
440
440
  size: "md",
441
441
  onClick: w[0] || (w[0] = () => o("left", s.value.subtract(1, "month")))
442
442
  }),
443
- i("div", vt, [
443
+ d("div", vt, [
444
444
  p(ae, {
445
445
  max: k.max,
446
446
  min: k.min,
@@ -460,16 +460,16 @@ const Ge = {
460
460
  p(ve, {
461
461
  "day-cell-class": {
462
462
  status: {
463
- isSelected: (V) => V.isSame(_.value, "date")
463
+ isSelected: (V) => V.isSame(b.value, "date")
464
464
  }
465
465
  },
466
466
  days: m.value,
467
467
  "on-day-click": (V) => Y(V.date)
468
468
  }, null, 8, ["day-cell-class", "days", "on-day-click"])
469
469
  ]),
470
- i("div", null, [
471
- i("div", ht, [
472
- i("div", bt, [
470
+ d("div", null, [
471
+ d("div", ht, [
472
+ d("div", _t, [
473
473
  p(ae, {
474
474
  max: k.max,
475
475
  min: k.min,
@@ -497,7 +497,7 @@ const Ge = {
497
497
  p(ve, {
498
498
  "day-cell-class": {
499
499
  status: {
500
- isSelected: (V) => V.isSame(_.value, "date")
500
+ isSelected: (V) => V.isSame(b.value, "date")
501
501
  }
502
502
  },
503
503
  days: A.value,
@@ -515,16 +515,16 @@ const Ge = {
515
515
  },
516
516
  "onUpdate:modelValue": w[6] || (w[6] = (V) => u.value = V)
517
517
  }, null, 8, ["model-value"]),
518
- i("div", _t, [
518
+ d("div", bt, [
519
519
  p(S, {
520
- label: d(l)("common.cancel"),
520
+ label: i(l)("common.cancel"),
521
521
  size: "md",
522
522
  variant: "tertiary",
523
523
  onClick: c
524
524
  }, null, 8, ["label"]),
525
525
  p(S, {
526
- disabled: !_.value,
527
- label: d(l)("common.confirm"),
526
+ disabled: !b.value,
527
+ label: i(l)("common.confirm"),
528
528
  size: "md",
529
529
  variant: "primary",
530
530
  onClick: a
@@ -552,7 +552,7 @@ const Ge = {
552
552
  textAlign: "right"
553
553
  }));
554
554
  return (g, n) => (C(), M("div", yt, [
555
- i("div", {
555
+ d("div", {
556
556
  style: Ie(l.value)
557
557
  }, null, 4)
558
558
  ]));
@@ -580,7 +580,7 @@ const Ge = {
580
580
  }) {
581
581
  const {
582
582
  t: g
583
- } = Z(), n = ce(), x = _e(), u = T, _ = {
583
+ } = Z(), n = ce(), x = be(), u = T, b = {
584
584
  [G.F_PUBLISH_JOB_STATUS.Enum.PENDING]: {
585
585
  label: "Pending",
586
586
  textColor: "text-fm-color-neutral-gray-300",
@@ -601,11 +601,11 @@ const Ge = {
601
601
  textColor: "text-fm-color-system-error-300",
602
602
  backgroundColor: "#FF3B30"
603
603
  }
604
- }, e = be(), b = P(!1), a = (r) => {
605
- typeof r == "boolean" ? b.value = r : b.value = !b.value;
604
+ }, e = _e(), _ = P(!1), a = (r) => {
605
+ typeof r == "boolean" ? _.value = r : _.value = !_.value;
606
606
  };
607
607
  F({
608
- show: b,
608
+ show: _,
609
609
  trigger: a
610
610
  });
611
611
  const c = l, y = N(() => e.state.nextSchedulerPublish ?? {}), s = N(() => Object.entries(y.value).map(([v, S]) => {
@@ -697,11 +697,11 @@ const Ge = {
697
697
  }, [R("div", {
698
698
  class: "flex items-center gap-8"
699
699
  }, [R("p", {
700
- class: `fm-typo-en-body-md-400 ${_[v].textColor}`
701
- }, _[v].label), ...v === G.F_PUBLISH_JOB_STATUS.Enum.RUNNING ? [R("p", {
702
- class: `fm-typo-en-body-md-400 ${_[v].textColor}`
700
+ class: `fm-typo-en-body-md-400 ${b[v].textColor}`
701
+ }, b[v].label), ...v === G.F_PUBLISH_JOB_STATUS.Enum.RUNNING ? [R("p", {
702
+ class: `fm-typo-en-body-md-400 ${b[v].textColor}`
703
703
  }, `(${r.original.progress}/${r.original.total_restaurants})`)] : []]), R(Ct, {
704
- bgcolor: _[v].backgroundColor,
704
+ bgcolor: b[v].backgroundColor,
705
705
  completed: v === G.F_PUBLISH_JOB_STATUS.Enum.PENDING ? 0 : v === G.F_PUBLISH_JOB_STATUS.Enum.RUNNING ? Math.floor((r.original.progress ?? 0) / parseInt(r.original.total_restaurants) * 100) : (v === G.F_PUBLISH_JOB_STATUS.Enum.COMPLETED, 100)
706
706
  })]), R(Q.FmButton, {
707
707
  variant: "tertiary",
@@ -757,7 +757,7 @@ const Ge = {
757
757
  }), await e.getNextSchedulerPublish(), o.value = null, f.value = [], m.value = !1, B.value = null, m.value = null);
758
758
  });
759
759
  const k = ge(() => m.value !== null && m.value === !1, () => {
760
- b.value = !1, B.value = null, o.value = null, f.value = [], m.value = null;
760
+ _.value = !1, B.value = null, o.value = null, f.value = [], m.value = null;
761
761
  });
762
762
  function w(r) {
763
763
  return u.restaurants.filter((v) => r.includes(v._id)).map((v) => v.name);
@@ -767,29 +767,29 @@ const Ge = {
767
767
  return C(), M(H, null, [Pe(r.$slots, "default", {
768
768
  trigger: a
769
769
  }), p(V, {
770
- modelValue: b.value,
771
- "onUpdate:modelValue": v[1] || (v[1] = (O) => b.value = O),
770
+ modelValue: _.value,
771
+ "onUpdate:modelValue": v[1] || (v[1] = (O) => _.value = O),
772
772
  "close-button": !1,
773
773
  "max-width": 800,
774
- "onOn:clickedAway": d(k)
774
+ "onOn:clickedAway": i(k)
775
775
  }, {
776
- "side-sheet-header": E(() => [i("div", wt, [p(S, {
777
- variant: d(fe).Tertiary,
776
+ "side-sheet-header": E(() => [d("div", wt, [p(S, {
777
+ variant: i(fe).Tertiary,
778
778
  "prepend-icon": "arrow_back",
779
- onClick: te(d(k), ["stop"])
780
- }, null, 8, ["variant", "onClick"]), i("p", xt, z(d(g)("menu.publish.actions.publish_progress")), 1)])]),
781
- default: E(() => [i("div", null, [p(D, {
779
+ onClick: te(i(k), ["stop"])
780
+ }, null, 8, ["variant", "onClick"]), d("p", xt, z(i(g)("menu.publish.actions.publish_progress")), 1)])]),
781
+ default: E(() => [d("div", null, [p(D, {
782
782
  class: "pb-8",
783
783
  "row-data": [...s.value, B.value].filter(Boolean),
784
784
  "column-defs": A,
785
785
  "shrink-at": !1,
786
786
  pageSize: s.value.length + (B.value ? 1 : 0),
787
787
  "hide-footer": ""
788
- }, null, 8, ["row-data", "pageSize"]), d(e).state.featureFlags.schedulerPublish && !B.value ? (C(), j(S, {
788
+ }, null, 8, ["row-data", "pageSize"]), i(e).state.featureFlags.schedulerPublish && !B.value ? (C(), j(S, {
789
789
  key: 0,
790
- variant: d(fe).Plain,
790
+ variant: i(fe).Plain,
791
791
  "prepend-icon": "add",
792
- label: d(g)("menu.publish.actions.add_scheduler_publish"),
792
+ label: i(g)("menu.publish.actions.add_scheduler_publish"),
793
793
  onClick: v[0] || (v[0] = () => Y())
794
794
  }, null, 8, ["variant", "label"])) : X("", !0)])]),
795
795
  _: 1
@@ -821,7 +821,7 @@ const Ge = {
821
821
  additionalCatalogs: []
822
822
  };
823
823
  }
824
- const _ = N(() => [
824
+ const b = N(() => [
825
825
  {
826
826
  label: g("menu.publish.update_catalog_dialog.sections.default.use_default"),
827
827
  value: null
@@ -839,21 +839,21 @@ const Ge = {
839
839
  label: m.name,
840
840
  value: m._id
841
841
  }))
842
- ]), b = P(u()), a = P(!1), c = P(void 0);
842
+ ]), _ = P(u()), a = P(!1), c = P(void 0);
843
843
  function y(m) {
844
- c.value = m ? pe(m) : u(), b.value = pe(c.value), a.value = !0;
844
+ c.value = m ? pe(m) : u(), _.value = pe(c.value), a.value = !0;
845
845
  }
846
846
  function s() {
847
847
  a.value = !1;
848
848
  }
849
849
  const f = ge(
850
- () => !Re.isEqual(c.value, b.value),
850
+ () => !Re.isEqual(c.value, _.value),
851
851
  () => {
852
852
  s();
853
853
  }
854
854
  );
855
855
  function o() {
856
- s(), x("onComplete", b.value);
856
+ s(), x("onComplete", _.value);
857
857
  }
858
858
  return (m, A) => {
859
859
  const B = U("FmSelect"), Y = U("FmCheckbox"), k = U("FmButton"), w = U("FmSideSheet");
@@ -861,21 +861,21 @@ const Ge = {
861
861
  modelValue: a.value,
862
862
  "onUpdate:modelValue": A[5] || (A[5] = (r) => a.value = r),
863
863
  "max-width": 560,
864
- "onOn:clickedAway": d(f)
864
+ "onOn:clickedAway": i(f)
865
865
  }, {
866
866
  "side-sheet-header": E(() => [
867
- i("span", Ft, z(d(g)("menu.publish.update_catalog_dialog.title")), 1)
867
+ d("span", Ft, z(i(g)("menu.publish.update_catalog_dialog.title")), 1)
868
868
  ]),
869
869
  "side-sheet-footer": E(() => [
870
- i("div", Mt, [
870
+ d("div", Mt, [
871
871
  p(k, {
872
- label: d(g)("menu.publish.update_catalog_dialog.actions.update"),
872
+ label: i(g)("menu.publish.update_catalog_dialog.actions.update"),
873
873
  size: "lg",
874
874
  variant: "primary",
875
875
  onClick: A[4] || (A[4] = () => o())
876
876
  }, null, 8, ["label"]),
877
877
  p(k, {
878
- label: d(g)("menu.publish.update_catalog_dialog.actions.cancel"),
878
+ label: i(g)("menu.publish.update_catalog_dialog.actions.cancel"),
879
879
  size: "lg",
880
880
  variant: "tertiary",
881
881
  onClick: s
@@ -884,34 +884,34 @@ const Ge = {
884
884
  ]),
885
885
  default: E(() => [
886
886
  p(B, {
887
- modelValue: b.value.catalogId,
888
- "onUpdate:modelValue": A[0] || (A[0] = (r) => b.value.catalogId = r),
889
- items: _.value,
887
+ modelValue: _.value.catalogId,
888
+ "onUpdate:modelValue": A[0] || (A[0] = (r) => _.value.catalogId = r),
889
+ items: b.value,
890
890
  class: "mb-24",
891
- label: d(g)("menu.publish.update_catalog_dialog.sections.default.label")
891
+ label: i(g)("menu.publish.update_catalog_dialog.sections.default.label")
892
892
  }, null, 8, ["modelValue", "items", "label"]),
893
893
  p(B, {
894
- modelValue: b.value.takeawayCatalog,
895
- "onUpdate:modelValue": A[1] || (A[1] = (r) => b.value.takeawayCatalog = r),
894
+ modelValue: _.value.takeawayCatalog,
895
+ "onUpdate:modelValue": A[1] || (A[1] = (r) => _.value.takeawayCatalog = r),
896
896
  items: e.value,
897
897
  class: "mb-24",
898
- label: d(g)("menu.publish.update_catalog_dialog.sections.pos_takeaway.label")
898
+ label: i(g)("menu.publish.update_catalog_dialog.sections.pos_takeaway.label")
899
899
  }, null, 8, ["modelValue", "items", "label"]),
900
900
  p(B, {
901
- modelValue: b.value.pickupCatalog,
902
- "onUpdate:modelValue": A[2] || (A[2] = (r) => b.value.pickupCatalog = r),
901
+ modelValue: _.value.pickupCatalog,
902
+ "onUpdate:modelValue": A[2] || (A[2] = (r) => _.value.pickupCatalog = r),
903
903
  items: e.value,
904
- label: d(g)("menu.publish.update_catalog_dialog.sections.pickup.label")
904
+ label: i(g)("menu.publish.update_catalog_dialog.sections.pickup.label")
905
905
  }, null, 8, ["modelValue", "items", "label"]),
906
- i("div", Vt, [
907
- i("div", It, z(d(g)("menu.publish.update_catalog_dialog.sections.additional.title")), 1),
908
- i("div", Pt, z(d(g)("menu.publish.update_catalog_dialog.sections.additional.subtitle")), 1),
906
+ d("div", Vt, [
907
+ d("div", It, z(i(g)("menu.publish.update_catalog_dialog.sections.additional.title")), 1),
908
+ d("div", Pt, z(i(g)("menu.publish.update_catalog_dialog.sections.additional.subtitle")), 1),
909
909
  (C(!0), M(H, null, q(T.catalogs, (r) => (C(), M("div", {
910
910
  key: r._id
911
911
  }, [
912
912
  p(Y, {
913
- modelValue: b.value.additionalCatalogs,
914
- "onUpdate:modelValue": A[3] || (A[3] = (v) => b.value.additionalCatalogs = v),
913
+ modelValue: _.value.additionalCatalogs,
914
+ "onUpdate:modelValue": A[3] || (A[3] = (v) => _.value.additionalCatalogs = v),
915
915
  label: r.name,
916
916
  value: r._id
917
917
  }, null, 8, ["modelValue", "label", "value"])
@@ -1030,9 +1030,9 @@ const Ge = {
1030
1030
  meta: {
1031
1031
  width: "150px"
1032
1032
  }
1033
- }], u = P(""), _ = P(), e = be(), b = _e(), a = N(() => e.version !== G.F_MENU_VERSION.enum.v3);
1033
+ }], u = P(""), b = P(), e = _e(), _ = be(), a = N(() => e.version !== G.F_MENU_VERSION.enum.v3);
1034
1034
  async function c(t) {
1035
- t.revertConfig && b.open({
1035
+ t.revertConfig && _.open({
1036
1036
  title: "Revert menu",
1037
1037
  contentComponent: Xe,
1038
1038
  contentComponentProps: {
@@ -1078,7 +1078,7 @@ const Ge = {
1078
1078
  function B(t) {
1079
1079
  var $;
1080
1080
  const h = A(t);
1081
- ($ = _.value) == null || $.show(h);
1081
+ ($ = b.value) == null || $.show(h);
1082
1082
  }
1083
1083
  const Y = ce(), k = he(Y);
1084
1084
  async function w(t) {
@@ -1157,24 +1157,22 @@ const Ge = {
1157
1157
  O.value != null && (clearInterval(O.value), O.value = null);
1158
1158
  }), (t, h) => {
1159
1159
  const $ = U("FmChip"), K = U("FmSpacer"), J = U("FmButton"), ue = U("FmBadge"), we = U("FmSearch"), xe = U("FmTable"), Se = U("FmListItem"), Fe = U("FmList");
1160
- return C(), M(H, null, [i("div", Ut, [i("div", At, [i("div", Bt, [i("div", Dt, z(d(l)("menu.publish.title")), 1), h[9] || (h[9] = i("div", {
1161
- class: "hidden xs:block fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
1162
- }, null, -1))]), p($, {
1160
+ return C(), M(H, null, [d("div", Ut, [d("div", At, [d("div", Bt, [d("div", Dt, z(i(l)("menu.publish.title")), 1)]), p($, {
1163
1161
  label: y.value,
1164
1162
  class: "xs:hidden text-fm-color-primary bg-fm-color-system-warning-100"
1165
- }, null, 8, ["label"]), p(K), i("div", Tt, [p(J, {
1163
+ }, null, 8, ["label"]), p(K), d("div", Tt, [p(J, {
1166
1164
  disabled: o.value,
1167
- label: d(l)("menu.publish.actions.refresh"),
1165
+ label: i(l)("menu.publish.actions.refresh"),
1168
1166
  variant: "secondary",
1169
1167
  onClick: h[0] || (h[0] = () => Ce())
1170
- }, null, 8, ["disabled", "label"])]), i("div", Rt, [p(St, {
1168
+ }, null, 8, ["disabled", "label"])]), d("div", Rt, [p(St, {
1171
1169
  progress: V.value,
1172
1170
  restaurants: v.value,
1173
1171
  onPublishMenu: h[1] || (h[1] = (I) => se(I))
1174
1172
  }, {
1175
1173
  default: E(({
1176
1174
  trigger: I
1177
- }) => [d(e).runningPublishJob !== null ? (C(), j(ue, {
1175
+ }) => [i(e).runningPublishJob !== null ? (C(), j(ue, {
1178
1176
  key: 0,
1179
1177
  variant: "critical",
1180
1178
  value: 1
@@ -1182,7 +1180,7 @@ const Ge = {
1182
1180
  default: E(() => [p(J, {
1183
1181
  variant: "secondary",
1184
1182
  disabled: o.value,
1185
- label: d(l)("menu.publish.actions.publish_progress"),
1183
+ label: i(l)("menu.publish.actions.publish_progress"),
1186
1184
  onClick: I
1187
1185
  }, null, 8, ["disabled", "label", "onClick"])]),
1188
1186
  _: 2
@@ -1190,22 +1188,22 @@ const Ge = {
1190
1188
  key: 1,
1191
1189
  variant: "secondary",
1192
1190
  disabled: o.value,
1193
- label: d(l)("menu.publish.actions.publish_progress"),
1191
+ label: i(l)("menu.publish.actions.publish_progress"),
1194
1192
  onClick: I
1195
1193
  }, null, 8, ["disabled", "label", "onClick"]))]),
1196
1194
  _: 1
1197
- }, 8, ["progress", "restaurants"])]), i("div", Ot, [p(J, {
1195
+ }, 8, ["progress", "restaurants"])]), d("div", Ot, [p(J, {
1198
1196
  disabled: o.value,
1199
1197
  icon: "ios_share",
1200
- label: d(l)("menu.publish.actions.publish_all"),
1198
+ label: i(l)("menu.publish.actions.publish_all"),
1201
1199
  variant: "primary",
1202
1200
  onClick: h[2] || (h[2] = () => se())
1203
- }, null, 8, ["disabled", "label"])])]), i("div", Nt, [p(d(Ee), {
1201
+ }, null, 8, ["disabled", "label"])])]), d("div", Nt, [p(i(Ee), {
1204
1202
  multiple: "",
1205
1203
  modelValue: r.value,
1206
1204
  "onUpdate:modelValue": h[4] || (h[4] = (I) => r.value = I)
1207
1205
  }, {
1208
- "append-right": E(() => [p(d(Ae), {
1206
+ "append-right": E(() => [p(i(Ae), {
1209
1207
  modelValue: S.value,
1210
1208
  "onUpdate:modelValue": h[3] || (h[3] = (I) => S.value = I),
1211
1209
  attributes: D
@@ -1216,7 +1214,7 @@ const Ge = {
1216
1214
  "onUpdate:modelValue": h[5] || (h[5] = (I) => u.value = I),
1217
1215
  autofocus: "",
1218
1216
  class: "w-[320px] xs:w-full",
1219
- placeholder: d(l)("menu.publish.table.search.placeholder")
1217
+ placeholder: i(l)("menu.publish.table.search.placeholder")
1220
1218
  }, null, 8, ["modelValue", "placeholder"])]), v.value.length > 0 ? (C(), M(H, {
1221
1219
  key: 0
1222
1220
  }, [p(Je, {
@@ -1250,9 +1248,9 @@ const Ge = {
1250
1248
  },
1251
1249
  onClick: () => B(I)
1252
1250
  }, {
1253
- default: E(() => [i("div", Et, [i("div", Lt, [i("div", zt, z(s(I.updatedAt)), 1), p(g, {
1251
+ default: E(() => [d("div", Et, [d("div", Lt, [d("div", zt, z(s(I.updatedAt)), 1), p(g, {
1254
1252
  row: I
1255
- }, null, 8, ["row"])]), i("div", Ht, [i("div", Jt, z(I.name), 1), i("div", Yt, [i("div", null, "Default: " + z(I.catalog.default), 1), i("div", null, "POS takeaway: " + z(I.catalog.takeaway), 1), i("div", null, "Pickup: " + z(I.catalog.pickup), 1)])])]), i("div", Kt, [a.value && I.revertConfig ? (C(), j(J, {
1253
+ }, null, 8, ["row"])]), d("div", Ht, [d("div", Jt, z(I.name), 1), d("div", Yt, [d("div", null, "Default: " + z(I.catalog.default), 1), d("div", null, "POS takeaway: " + z(I.catalog.takeaway), 1), d("div", null, "Pickup: " + z(I.catalog.pickup), 1)])])]), d("div", Kt, [a.value && I.revertConfig ? (C(), j(J, {
1256
1254
  key: 0,
1257
1255
  disabled: o.value,
1258
1256
  icon: "undo",
@@ -1267,28 +1265,28 @@ const Ge = {
1267
1265
  _: 2
1268
1266
  }, 1032, ["label", "onClick"]))), 128))]),
1269
1267
  _: 1
1270
- })], 64)) : (C(), j(d(Oe), {
1268
+ })], 64)) : (C(), j(i(Oe), {
1271
1269
  key: 1,
1272
- title: d(l)("menu.publish.empty.title"),
1273
- subtitle: d(l)("menu.publish.empty.subtitle"),
1270
+ title: i(l)("menu.publish.empty.title"),
1271
+ subtitle: i(l)("menu.publish.empty.subtitle"),
1274
1272
  action: {
1275
- text: d(l)("menu.publish.empty.action"),
1273
+ text: i(l)("menu.publish.empty.action"),
1276
1274
  icon: "add",
1277
1275
  callback: () => {
1278
- d(F).push({
1276
+ i(F).push({
1279
1277
  name: "$settings-my-business"
1280
1278
  });
1281
1279
  }
1282
1280
  }
1283
- }, null, 8, ["title", "subtitle", "action"]))]), i("div", jt, [p(J, {
1281
+ }, null, 8, ["title", "subtitle", "action"]))]), d("div", jt, [p(J, {
1284
1282
  disabled: o.value,
1285
1283
  icon: "ios_share",
1286
- label: d(l)("menu.publish.actions.publish_all"),
1284
+ label: i(l)("menu.publish.actions.publish_all"),
1287
1285
  variant: "fab",
1288
1286
  onClick: h[8] || (h[8] = () => se())
1289
1287
  }, null, 8, ["disabled", "label"])]), p($t, {
1290
1288
  ref_key: "updateCatalogDialogRef",
1291
- ref: _,
1289
+ ref: b,
1292
1290
  catalogs: f.value,
1293
1291
  onOnComplete: w
1294
1292
  }, null, 8, ["catalogs"])], 64);