@feedmepos/mf-menu 0.31.73 → 0.31.74-prod

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 (63) hide show
  1. package/dist/{App-C9BJVGXE.js → App-DKFVrmzA.js} +8 -8
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-D5ZzRvQv.js → ApplyProduct.vue_vue_type_script_setup_true_lang-D6qN4dWP.js} +3 -3
  3. package/dist/{Catalog--QgvDSuo.js → Catalog-B6cvdXoy.js} +6 -6
  4. package/dist/{Category-oTrXvIjH.js → Category-CjcgEtuS.js} +6 -6
  5. package/dist/{Category-nx2UEJ-W.js → Category-DbOCZhQx.js} +4 -4
  6. package/dist/{CookingGuide-BwBvwfQh.js → CookingGuide-BrwuASu9.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-C2sGhPv3.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BI8QrSoM.js} +1 -1
  8. package/dist/{Group-i-0yKTGl.js → Group-D-xlM5mT.js} +1 -1
  9. package/dist/{Group-CDZenzP_.js → Group-DwOPGe3F.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-BPzuT1Vb.js → Group.vue_vue_type_script_setup_true_lang-kHFtUM-A.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B7Ec95lc.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BQWEGUbR.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CA1541eR.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CeWdgFZV.js} +7 -7
  13. package/dist/{Ingredient-DxllB9CA.js → Ingredient-BIrFccPS.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-D70_L5Si.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DubMXJSF.js} +2 -2
  15. package/dist/{LinkProductSideSheet-B5Di8NBz.js → LinkProductSideSheet-CGNRIbk0.js} +3 -3
  16. package/dist/{MenuSetting-DNeQl0Ix.js → MenuSetting-CcQM0qxD.js} +5 -5
  17. package/dist/{PrintRoute-BDpqZ5NG.js → PrintRoute-BBdT1Fvf.js} +4 -4
  18. package/dist/{Product-l0NtL-4b.js → Product-B6AhXuta.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-BGurqd5j.js → Product.vue_vue_type_script_setup_true_lang-wHeEsFCO.js} +13 -13
  20. package/dist/{ProductInternalTools-BX3wloTv.js → ProductInternalTools-CkIl7w1j.js} +6 -6
  21. package/dist/{Products-BnSzKAnH.js → Products-BQwStC_J.js} +11 -11
  22. package/dist/{Publish-FteASYtL.js → Publish-BJpSk8tj.js} +3 -3
  23. package/dist/{Recipe-B0Rtfsr1.js → Recipe-Da584atM.js} +4 -4
  24. package/dist/{Scheduler-B6H7c0ys.js → Scheduler-BK-3dy63.js} +3 -3
  25. package/dist/{ServingSequence-CNM2jHUA.js → ServingSequence-DX-Xsqrs.js} +3 -3
  26. package/dist/{Setting-CRd5MJU8.js → Setting-BO6KlCiD.js} +5 -5
  27. package/dist/{Subcategory-WiWFVaSW.js → Subcategory-BFWzZXTq.js} +4 -4
  28. package/dist/{Takeaway-Dz3W_LuO.js → Takeaway-B6EhfWWv.js} +4 -4
  29. package/dist/{Takeaway-D4QFumZG.js → Takeaway-nSwmdeew.js} +1 -1
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-z81IGPlP.js → Takeaway.vue_vue_type_script_setup_true_lang-CRg_vtJj.js} +5 -5
  31. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-Cd0HrXWO.js → Thumbnail.vue_vue_type_script_setup_true_lang-to89SsS8.js} +4 -4
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CEh7j-rN.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CPADNo0u.js} +170 -169
  33. package/dist/{Unit-Bj-W5RXm.js → Unit-D45miph9.js} +2 -2
  34. package/dist/{Variant-BFn2aZeF.js → Variant-BMckPcZE.js} +3 -3
  35. package/dist/{_id_-AT7jxwVE.js → _id_-Chg3rh0i.js} +10 -10
  36. package/dist/{app-Dd_KnIqm.js → app-BhkMN89c.js} +1 -1
  37. package/dist/{app-DNxrzHiq.js → app-DXpiSNDk.js} +26 -26
  38. package/dist/app.js +1 -1
  39. package/dist/assets/{linked-status-Be2uepOA.js → linked-status-BbFyZ98S.js} +5 -5
  40. package/dist/assets/{override-menu-BNzx1e7q.js → override-menu-p1Anp9-n.js} +5 -5
  41. package/dist/assets/{validate-menu-1m_f_apm.js → validate-menu-DWiol3Uq.js} +2 -2
  42. package/dist/{catalog-V8dAzNBn.js → catalog-D1PTHjee.js} +1 -1
  43. package/dist/{catalogSetting-BC5IqMYN.js → catalogSetting-B6nQbEKo.js} +1 -1
  44. package/dist/{category-CGuw37sm.js → category-s2eHZV0g.js} +1 -1
  45. package/dist/{currency-DoEQzitl.js → currency-DmUfez-G.js} +1 -1
  46. package/dist/{customAttributes-DY9pRcZS.js → customAttributes-D0IFnWGp.js} +1 -1
  47. package/dist/{index-mYGDBSp_.js → index-B-5HYbWg.js} +1 -1
  48. package/dist/{index-CM4lBQ4G.js → index-DelzAThG.js} +1 -1
  49. package/dist/{index-VYtnXWAq.js → index-N9mNTV7H.js} +3 -3
  50. package/dist/{index-Bq48jgnb.js → index-yFm1Um5G.js} +4 -4
  51. package/dist/{item-D2a5PW0Z.js → item-TZSzqRUC.js} +491 -490
  52. package/dist/{iteration-wWK05uZ1.js → iteration-UjVraMEw.js} +1 -1
  53. package/dist/{jszip.min-DTbH9ENd.js → jszip.min-D5H0YOOo.js} +353 -353
  54. package/dist/{menu-C3-r6tS_.js → menu-CvTrCvxx.js} +6 -6
  55. package/dist/{menu-DNF8Rgvf.js → menu-Dxwl84Zc.js} +1 -1
  56. package/dist/{menuV2-MHU8jzzp.js → menuV2-CKO1LP5G.js} +28 -28
  57. package/dist/mf-menu.css +1 -1
  58. package/dist/{priceTier-BvAoerIZ.js → priceTier-CiZXjpab.js} +1 -1
  59. package/dist/{scheduler-CmTQ9EiI.js → scheduler-BiPxYx1r.js} +4 -4
  60. package/dist/{subcategory-BIk6KNy_.js → subcategory-DKAvAKoR.js} +2 -2
  61. package/dist/{toExcel-DGXNf3fi.js → toExcel-_S6Emsos.js} +2 -2
  62. package/dist/{unit-zFDBsOyu.js → unit-DsG5V1hZ.js} +2 -2
  63. package/package.json +1 -1
@@ -1,32 +1,32 @@
1
1
  import { defineStore as mo } from "pinia";
2
- import { createElementBlock as ae, openBlock as x, createElementVNode as B, defineComponent as ve, resolveComponent as K, createBlock as J, createVNode as R, toDisplayString as Ee, Fragment as Ve, renderList as rt, h as Fe, ref as ie, computed as z, watch as Le, unref as y, renderSlot as Ce, withCtx as W, createCommentVNode as se, Transition as ha, normalizeClass as Ke, resolveDynamicComponent as yn, withDirectives as Xt, vShow as kn, mergeProps as po, withModifiers as Sn, createTextVNode as Bn, getCurrentInstance as an, inject as ga, shallowRef as va, onMounted as $t, onUnmounted as _a, Text as ba, resolveDirective as fo, markRaw as ya, render as Wn, mergeModels as wa, useModel as Ea, nextTick as ho, onBeforeUnmount as ka, normalizeProps as Sa, guardReactiveProps as Oa, normalizeStyle as Ra } from "vue";
3
- import { J as ze, z as q, ag as Ca, ai as Aa, X as Ia, H as be, B as Je, A as Ge, T as go, u as Me, I as at, D as St, O as Ot, P as Ta, Q as Ma, R as Da, U as Fn, aa as Fa, M as Na, K as Si } from "./menu-C3-r6tS_.js";
2
+ import { createElementBlock as re, openBlock as x, createElementVNode as B, defineComponent as ve, resolveComponent as K, createBlock as J, createVNode as O, toDisplayString as Ee, Fragment as Ve, renderList as rt, h as Fe, ref as ie, computed as z, watch as Le, unref as y, renderSlot as Ce, withCtx as W, createCommentVNode as se, Transition as ha, normalizeClass as Ke, resolveDynamicComponent as yn, withDirectives as Xt, vShow as kn, mergeProps as po, withModifiers as Sn, createTextVNode as Bn, getCurrentInstance as an, inject as ga, shallowRef as va, onMounted as $t, onUnmounted as _a, Text as ba, resolveDirective as fo, markRaw as ya, render as Wn, mergeModels as wa, useModel as Ea, nextTick as ho, onBeforeUnmount as ka, normalizeProps as Sa, guardReactiveProps as Ra, normalizeStyle as Oa } from "vue";
3
+ import { J as ze, z as q, ag as Ca, ai as Aa, X as Ia, H as be, B as Je, A as Ge, T as go, u as Me, I as at, D as St, O as Rt, P as Ta, Q as Ma, R as Da, U as Fn, aa as Fa, M as Na, K as Si } from "./menu-CvTrCvxx.js";
4
4
  import { useI18n as Se, useCoreStore as rn, CustomAttributesForm as vo } from "@feedmepos/mf-common";
5
- import { useDialog as lt, useSnackbar as Qe, components as Be, FmButtonColorThemeVariant as ft, FmButtonVariant as Rt, useBreakpoints as _o, useDialogChild as bo } from "@feedmepos/ui-library";
6
- import { C as ht } from "./catalog-V8dAzNBn.js";
5
+ import { useDialog as lt, useSnackbar as Qe, components as Be, FmButtonColorThemeVariant as ft, FmButtonVariant as Ot, useBreakpoints as _o, useDialogChild as bo } from "@feedmepos/ui-library";
6
+ import { C as ht } from "./catalog-D1PTHjee.js";
7
7
  import { c as Pa } from "./createComponentProgrammatically-Bt2rn1IQ.js";
8
- import { a as Oi, p as La, _ as yo } from "./tooltip-CQW9YRO5.js";
9
- import { _ as Ct, L as xa } from "./LinkProductSideSheet-B5Di8NBz.js";
10
- import { _ as ut, a as bt, b as Ua } from "./customAttributes-DY9pRcZS.js";
11
- import { s as Hn, F as Va, _ as za } from "./index-CM4lBQ4G.js";
12
- import { I as $a, a as Ga } from "./app-DNxrzHiq.js";
13
- import { u as Ba } from "./app-Dd_KnIqm.js";
14
- import { g as wo, b as Wa, c as Ha, a as ja, m as Ka } from "./menuV2-MHU8jzzp.js";
15
- import { u as Ya } from "./subcategory-BIk6KNy_.js";
8
+ import { a as Ri, p as La, _ as yo } from "./tooltip-CQW9YRO5.js";
9
+ import { _ as Ct, L as xa } from "./LinkProductSideSheet-CGNRIbk0.js";
10
+ import { _ as ut, a as bt, b as Ua } from "./customAttributes-D0IFnWGp.js";
11
+ import { s as Hn, F as Va, _ as za } from "./index-DelzAThG.js";
12
+ import { I as $a, a as Ga } from "./app-DXpiSNDk.js";
13
+ import { u as Ba } from "./app-BhkMN89c.js";
14
+ import { g as wo, b as Wa, c as Ha, a as ja, m as Ka } from "./menuV2-CKO1LP5G.js";
15
+ import { u as Ya } from "./subcategory-DKAvAKoR.js";
16
16
  import "@vue/devtools-api";
17
- import { u as Xa } from "./category-CGuw37sm.js";
17
+ import { u as Xa } from "./category-s2eHZV0g.js";
18
18
  import { u as ui } from "./discardConfirm-BHni0LNu.js";
19
- import { _ as Ft, l as jn, T as qa } from "./index-Bq48jgnb.js";
19
+ import { _ as Ft, l as jn, T as qa } from "./index-yFm1Um5G.js";
20
20
  import { useInventoryStore as Eo, InventoryBindingForm as Ja, InventoryBindingSummary as Za } from "@feedmepos/mf-inventory-portal";
21
21
  import { c as sn } from "./check-C9mY6LiX.js";
22
22
  import { c as Qa } from "./object-DVUNCr7w.js";
23
- import { f as Gt } from "./currency-DoEQzitl.js";
24
- import { u as ko } from "./priceTier-BvAoerIZ.js";
23
+ import { f as Gt } from "./currency-DmUfez-G.js";
24
+ import { u as ko } from "./priceTier-CiZXjpab.js";
25
25
  import { u as er } from "./search-BAPEUu1R.js";
26
26
  import { c as tr } from "./string-DpfFixWH.js";
27
27
  import { d as So } from "./vuedraggable-CK8z7qA8.js";
28
- import { _ as nr } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-D5ZzRvQv.js";
29
- import { V as Ri } from "./index-VYtnXWAq.js";
28
+ import { _ as nr } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-D6qN4dWP.js";
29
+ import { V as Oi } from "./index-N9mNTV7H.js";
30
30
  class vn {
31
31
  constructor(t, n, i, a) {
32
32
  this.scheduler = t, this.menuStore = n, this.updateMenu = i, this.dialog = a;
@@ -237,7 +237,7 @@ class vn {
237
237
  })).filter((a) => a.items.length > 0);
238
238
  }
239
239
  }
240
- function On(e, t) {
240
+ function Rn(e, t) {
241
241
  for (const n of t) {
242
242
  const i = e.find((a) => a._id === n._id);
243
243
  if (i != null && i.isDynamicAddon || n.isDynamicAddon) return q.F_ADDON_GROUP_TYPE.enum.DYNAMIC;
@@ -297,7 +297,7 @@ function ci(e) {
297
297
  items: t
298
298
  };
299
299
  }
300
- function Oo(e) {
300
+ function Ro(e) {
301
301
  const t = ci(e), n = (o) => ["product", "item", "addonGroup", "group"].some((r) => o._id.startsWith(r)), i = t.items.filter((o) => n(o)), a = t.items.filter((o) => !n(o)).map((o) => ({
302
302
  ...Je.generator.initMenuV4Item(),
303
303
  ...o,
@@ -316,7 +316,7 @@ function Oo(e) {
316
316
  linkItems: a
317
317
  };
318
318
  }
319
- class Ro {
319
+ class Oo {
320
320
  constructor(t, n, i) {
321
321
  this.menuStore = t, this.updateMenu = n, this.dialog = i;
322
322
  }
@@ -391,7 +391,7 @@ class Ro {
391
391
  name: go(Me().variants, ((T = b == null ? void 0 : b.variant) == null ? void 0 : T.variantGroupIds) || [])[p.combinationKey]
392
392
  } : b, S = (w = o.find((k) => k._id === s._id)) == null ? void 0 : w.items.find((k) => k._id === p._id && k.combinationKey === p.combinationKey), v = !n && !p.combinationKey, h = (U = u.find(
393
393
  (k) => k._id == p._id && k.combinationKey == p.combinationKey
394
- )) == null ? void 0 : U.price, E = p.name ?? (S == null ? void 0 : S.name) ?? (_ == null ? void 0 : _.name) ?? "", O = {
394
+ )) == null ? void 0 : U.price, E = p.name ?? (S == null ? void 0 : S.name) ?? (_ == null ? void 0 : _.name) ?? "", R = {
395
395
  ...p,
396
396
  name: E,
397
397
  code: _ == null ? void 0 : _.code,
@@ -402,8 +402,8 @@ class Ro {
402
402
  fallbackOrder: _ == null ? void 0 : _.orderFrom,
403
403
  priceTiers: p.priceTiers
404
404
  };
405
- return [...c, O];
406
- }, []), d = On(a, s.items);
405
+ return [...c, R];
406
+ }, []), d = Rn(a, s.items);
407
407
  return {
408
408
  ...s,
409
409
  type: d,
@@ -430,7 +430,7 @@ class Ro {
430
430
  ...s,
431
431
  items: (s.items ?? []).map((u) => ({ ...u, _id: "" }))
432
432
  }, r), {}));
433
- const a = Oo(n), o = {
433
+ const a = Ro(n), o = {
434
434
  module: q.F_MENU_MODULE_V4_KEY.enum.group,
435
435
  operation: ze.F_OPERATION_TYPE.create,
436
436
  data: {
@@ -521,7 +521,7 @@ function ar(e, t) {
521
521
  }
522
522
  const rr = {};
523
523
  function sr(e, t) {
524
- return x(), ae("div", null, t[0] || (t[0] = [
524
+ return x(), re("div", null, t[0] || (t[0] = [
525
525
  B("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
526
526
  ]));
527
527
  }
@@ -542,7 +542,7 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
542
542
  title: t.title,
543
543
  contentComponent: Fe("div", { class: "space-y-4" }, [
544
544
  ...t.items.map(
545
- (a) => Fe(Oi, {
545
+ (a) => Fe(Ri, {
546
546
  name: a.name,
547
547
  value: a.value || "--"
548
548
  })
@@ -552,10 +552,10 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
552
552
  }
553
553
  return (a, o) => {
554
554
  const r = K("FmButton");
555
- return t.variant === "full" ? (x(), ae("div", ur, [
555
+ return t.variant === "full" ? (x(), re("div", ur, [
556
556
  B("div", cr, Ee(a.title), 1),
557
- R(lr),
558
- (x(!0), ae(Ve, null, rt(a.items, (l) => (x(), J(Oi, {
557
+ O(lr),
558
+ (x(!0), re(Ve, null, rt(a.items, (l) => (x(), J(Ri, {
559
559
  key: l.name,
560
560
  name: l.name,
561
561
  value: l.value || "--"
@@ -619,14 +619,14 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
619
619
  }
620
620
  ), (c, p) => {
621
621
  const b = K("FmSelect");
622
- return x(), ae("div", dr, [
622
+ return x(), re("div", dr, [
623
623
  B("div", mr, [
624
624
  B("div", pr, Ee(y(a)("menu.catalog_scheduler.title")), 1),
625
625
  B("div", fr, Ee(y(a)("menu.catalog_scheduler.subtitle")), 1)
626
626
  ]),
627
627
  B("div", hr, [
628
628
  B("div", gr, [
629
- R(b, {
629
+ O(b, {
630
630
  label: y(a)("menu.common.labels.catalog"),
631
631
  items: l.value,
632
632
  modelValue: r.value,
@@ -634,7 +634,7 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
634
634
  }, null, 8, ["label", "items", "modelValue"])
635
635
  ]),
636
636
  B("div", vr, [
637
- R(b, {
637
+ O(b, {
638
638
  label: y(a)("menu.common.labels.scheduler"),
639
639
  items: m.value,
640
640
  modelValue: s.value,
@@ -670,16 +670,16 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
670
670
  B("div", br, [
671
671
  B("div", yr, [
672
672
  B("p", wr, Ee(i.title), 1),
673
- i.description ? (x(), ae("p", Er, Ee(i.description), 1)) : se("", !0)
673
+ i.description ? (x(), re("p", Er, Ee(i.description), 1)) : se("", !0)
674
674
  ]),
675
- R(o, {
675
+ O(o, {
676
676
  "model-value": i.toggle,
677
677
  "onUpdate:modelValue": a[0] || (a[0] = (l) => n("update:toggle", l))
678
678
  }, null, 8, ["model-value"])
679
679
  ]),
680
- R(ha, { name: "expand" }, {
680
+ O(ha, { name: "expand" }, {
681
681
  default: W(() => [
682
- i.toggle ? (x(), ae("div", kr, [
682
+ i.toggle ? (x(), re("div", kr, [
683
683
  Ce(i.$slots, "default", {}, void 0, !0)
684
684
  ])) : se("", !0)
685
685
  ]),
@@ -691,9 +691,9 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
691
691
  };
692
692
  }
693
693
  }), Tt = /* @__PURE__ */ Ct(Sr, [["__scopeId", "data-v-e920f110"]]);
694
- var Or = { remy: "https://remy-dev.feedmeapi.com/v1" };
694
+ var Rr = { remy: "https://remy.feedmeapi.com/v1" };
695
695
  let We;
696
- function Rr(e) {
696
+ function Or(e) {
697
697
  const t = Ba(), n = $a(e), i = z(() => {
698
698
  var s, u, m;
699
699
  return ((m = (u = (s = t.publicSetting) == null ? void 0 : s.aiSettings) == null ? void 0 : u.remy) == null ? void 0 : m.enable) || !1;
@@ -716,9 +716,9 @@ function Rr(e) {
716
716
  };
717
717
  }
718
718
  function Sm(e) {
719
- We = Rr({
719
+ We = Or({
720
720
  token: e,
721
- url: Or.remy
721
+ url: Rr.remy
722
722
  });
723
723
  }
724
724
  const Cr = mo("menu-edit-state", {
@@ -751,7 +751,7 @@ async function Ir(e, t = "image.jpg", n = "image/jpeg") {
751
751
  });
752
752
  return i ? new File([i.blob], t, { type: n }) : null;
753
753
  }
754
- async function Om(e, t, n = {}) {
754
+ async function Rm(e, t, n = {}) {
755
755
  return La({
756
756
  items: e,
757
757
  processor: (i) => t(i.url, i.filename),
@@ -760,7 +760,7 @@ async function Om(e, t, n = {}) {
760
760
  }
761
761
  const Tr = {}, Mr = { class: "pl-32" };
762
762
  function Dr(e, t) {
763
- return x(), ae("div", Mr, [
763
+ return x(), re("div", Mr, [
764
764
  Ce(e.$slots, "default")
765
765
  ]);
766
766
  }
@@ -825,9 +825,9 @@ const Fr = /* @__PURE__ */ Ct(Tr, [["render", Dr]]), Nr = { class: "flex flex-co
825
825
  return t({
826
826
  hideMenu: u
827
827
  }), (b, _) => {
828
- const S = K("FmIcon"), v = K("FmField"), h = K("FmMenuItem"), E = K("FmMenu"), O = K("FmFormGroup"), A = K("FmChipGroup");
829
- return x(), ae("div", Nr, [
830
- R(O, {
828
+ const S = K("FmIcon"), v = K("FmField"), h = K("FmMenuItem"), E = K("FmMenu"), R = K("FmFormGroup"), A = K("FmChipGroup");
829
+ return x(), re("div", Nr, [
830
+ O(R, {
831
831
  "model-value": b.modelValue,
832
832
  disabled: b.disabled,
833
833
  focused: d.value,
@@ -836,7 +836,7 @@ const Fr = /* @__PURE__ */ Ct(Tr, [["render", Dr]]), Nr = { class: "flex flex-co
836
836
  rules: b.rules
837
837
  }, {
838
838
  default: W(({ invalid: T }) => [
839
- R(E, {
839
+ O(E, {
840
840
  disabled: b.disabled,
841
841
  ref_key: "fmMenuRef",
842
842
  ref: o,
@@ -844,13 +844,13 @@ const Fr = /* @__PURE__ */ Ct(Tr, [["render", Dr]]), Nr = { class: "flex flex-co
844
844
  onMenuChanged: _[0] || (_[0] = (w) => d.value = w)
845
845
  }, {
846
846
  "menu-button": W(() => [
847
- R(v, {
847
+ O(v, {
848
848
  class: Ke(b.disabled ? "cursor-not-allowed" : "cursor-pointer"),
849
849
  focused: d.value,
850
850
  invalid: T
851
851
  }, {
852
852
  append: W(() => [
853
- R(S, {
853
+ O(S, {
854
854
  color: b.disabled ? "#C7C7CC" : "black",
855
855
  name: d.value ? "expand_less" : "expand_more",
856
856
  size: "md"
@@ -868,7 +868,7 @@ const Fr = /* @__PURE__ */ Ct(Tr, [["render", Dr]]), Nr = { class: "flex flex-co
868
868
  ]),
869
869
  default: W(() => [
870
870
  B("div", Pr, [
871
- (x(!0), ae(Ve, null, rt(b.items, (w) => (x(), J(h, {
871
+ (x(!0), re(Ve, null, rt(b.items, (w) => (x(), J(h, {
872
872
  key: w.value,
873
873
  disabled: w.disabled,
874
874
  "has-checkbox": !0,
@@ -884,8 +884,8 @@ const Fr = /* @__PURE__ */ Ct(Tr, [["render", Dr]]), Nr = { class: "flex flex-co
884
884
  ]),
885
885
  _: 3
886
886
  }, 8, ["model-value", "disabled", "focused", "helper-state", "helper-text", "rules"]),
887
- b.shouldShowChips && r.value.length > 0 ? (x(), ae("div", Lr, [
888
- R(A, {
887
+ b.shouldShowChips && r.value.length > 0 ? (x(), re("div", Lr, [
888
+ O(A, {
889
889
  disabled: b.disabled,
890
890
  items: r.value.map((T) => ({ label: T.label })),
891
891
  removable: "",
@@ -1018,11 +1018,11 @@ function Kn(e, t, n) {
1018
1018
  }, u;
1019
1019
  }
1020
1020
  Kn.debounce = Kn;
1021
- var Yn = Kn, oe = function() {
1022
- return oe = Object.assign || function(e) {
1021
+ var Yn = Kn, ae = function() {
1022
+ return ae = Object.assign || function(e) {
1023
1023
  for (var t, n = 1, i = arguments.length; n < i; n++) for (var a in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]);
1024
1024
  return e;
1025
- }, oe.apply(this, arguments);
1025
+ }, ae.apply(this, arguments);
1026
1026
  };
1027
1027
  /*! *****************************************************************************
1028
1028
  Copyright (c) Microsoft Corporation.
@@ -1162,7 +1162,7 @@ var Pn = et("vue-handler-wrapper"), Do = { name: "HandlerWrapper", components: {
1162
1162
  } }, emits: ["leave", "enter", "drag", "drag-end"] };
1163
1163
  Do.render = function(e, t, n, i, a, o) {
1164
1164
  var r = K("DraggableElement");
1165
- return x(), J("div", { class: o.classes.root }, [R(r, { class: o.classes.draggable, onDrag: t[1] || (t[1] = function(l) {
1165
+ return x(), J("div", { class: o.classes.root }, [O(r, { class: o.classes.draggable, onDrag: t[1] || (t[1] = function(l) {
1166
1166
  return e.$emit("drag", l);
1167
1167
  }), onDragEnd: t[2] || (t[2] = function(l) {
1168
1168
  return e.$emit("drag-end");
@@ -1217,11 +1217,11 @@ function Qt(e, t) {
1217
1217
  function it(e, t) {
1218
1218
  return { left: e.left - t.left, top: e.top - t.top, width: e.width + t.left + t.right, height: e.height + t.top + t.bottom };
1219
1219
  }
1220
- function Rn(e) {
1220
+ function On(e) {
1221
1221
  return { left: -e.left, top: -e.top };
1222
1222
  }
1223
1223
  function He(e, t) {
1224
- return oe(oe({}, e), { left: e.left + t.left, top: e.top + t.top });
1224
+ return ae(ae({}, e), { left: e.left + t.left, top: e.top + t.top });
1225
1225
  }
1226
1226
  function qe(e, t, n, i) {
1227
1227
  if (t !== 1) {
@@ -1266,13 +1266,13 @@ function Cn(e, t) {
1266
1266
  function Ue(e, t, n) {
1267
1267
  n === void 0 && (n = !1);
1268
1268
  var i = Ht(e, t);
1269
- return He(e, n ? Rn(i) : i);
1269
+ return He(e, n ? On(i) : i);
1270
1270
  }
1271
1271
  function qn(e) {
1272
1272
  return { width: e.right !== void 0 && e.left !== void 0 ? e.right - e.left : 1 / 0, height: e.bottom !== void 0 && e.top !== void 0 ? e.bottom - e.top : 1 / 0 };
1273
1273
  }
1274
1274
  function Yr(e, t) {
1275
- return oe(oe({}, e), { minWidth: Math.min(t.width, e.minWidth), minHeight: Math.min(t.height, e.minHeight), maxWidth: Math.min(t.width, e.maxWidth), maxHeight: Math.min(t.height, e.maxHeight) });
1275
+ return ae(ae({}, e), { minWidth: Math.min(t.width, e.minWidth), minHeight: Math.min(t.height, e.minHeight), maxWidth: Math.min(t.width, e.maxWidth), maxHeight: Math.min(t.height, e.maxHeight) });
1276
1276
  }
1277
1277
  function Lo(e, t, n) {
1278
1278
  n === void 0 && (n = !0);
@@ -1313,13 +1313,13 @@ function Jn(e) {
1313
1313
  function Xr(e) {
1314
1314
  var t = e.coordinates, n = e.transform, i = e.imageSize, a = e.sizeRestrictions, o = e.positionRestrictions, r = e.aspectRatio, l = e.visibleArea, s = function(m, d) {
1315
1315
  return Jn({ coordinates: m, positionRestrictions: o, event: new di({ left: d.left - m.left, top: d.top - m.top }) });
1316
- }, u = oe({}, t);
1316
+ }, u = ae({}, t);
1317
1317
  return (Array.isArray(n) ? n : [n]).forEach(function(m) {
1318
1318
  var d = {};
1319
1319
  De((d = typeof m == "function" ? m({ coordinates: u, imageSize: i, visibleArea: l }) : m).width) && De(d.height) || (u = function(c, p) {
1320
- var b = oe(oe(oe({}, c), gt({ width: p.width, height: p.height, sizeRestrictions: a, aspectRatio: r })), { left: 0, top: 0 });
1320
+ var b = ae(ae(ae({}, c), gt({ width: p.width, height: p.height, sizeRestrictions: a, aspectRatio: r })), { left: 0, top: 0 });
1321
1321
  return s(b, { left: c.left, top: c.top });
1322
- }(u, oe(oe({}, u), d))), De(d.left) && De(d.top) || (u = s(u, oe(oe({}, u), d)));
1322
+ }(u, ae(ae({}, u), d))), De(d.left) && De(d.top) || (u = s(u, ae(ae({}, u), d)));
1323
1323
  }), u;
1324
1324
  }
1325
1325
  function qr(e) {
@@ -1328,8 +1328,8 @@ function qr(e) {
1328
1328
  e.aspectRatio;
1329
1329
  var o = e.stencilSize, r = e.sizeRestrictions, l = e.positionRestrictions;
1330
1330
  e.stencilReference;
1331
- var s, u, m, d = oe({}, i), c = oe({}, a), p = oe({}, o);
1332
- s = pe(p), u = pe(d), m === void 0 && (m = 1e-3), (s === 0 || u === 0 ? Math.abs(u - s) < m : Math.abs(u / s) < 1 + m && Math.abs(u / s) > 1 - m) || (d = oe(oe({}, d), gt({ sizeRestrictions: r, width: d.width, height: d.height, aspectRatio: { minimum: pe(p), maximum: pe(p) } })));
1331
+ var s, u, m, d = ae({}, i), c = ae({}, a), p = ae({}, o);
1332
+ s = pe(p), u = pe(d), m === void 0 && (m = 1e-3), (s === 0 || u === 0 ? Math.abs(u - s) < m : Math.abs(u / s) < 1 + m && Math.abs(u / s) > 1 - m) || (d = ae(ae({}, d), gt({ sizeRestrictions: r, width: d.width, height: d.height, aspectRatio: { minimum: pe(p), maximum: pe(p) } })));
1333
1333
  var b = Cn(c = qe(c, d.width * n.width / (c.width * p.width)), t({ visibleArea: c, type: "resize" }));
1334
1334
  return b !== 1 && (c = qe(c, b), d = qe(d, b)), c = Ue(c = He(c, Bt(xe(d), xe(c))), t({ visibleArea: c, type: "move" })), { coordinates: d = Ue(d, An(st(c), l)), visibleArea: c };
1335
1335
  }
@@ -1338,7 +1338,7 @@ function Jr(e) {
1338
1338
  e.aspectRatio, e.stencilSize, e.sizeRestrictions;
1339
1339
  var r = e.positionRestrictions;
1340
1340
  e.stencilReference;
1341
- var l = oe({}, a), s = oe({}, o);
1341
+ var l = ae({}, a), s = ae({}, o);
1342
1342
  if (a && o && t.type !== "manipulateImage") {
1343
1343
  var u = { width: 0, height: 0 };
1344
1344
  s.width, i.width, pe(i) > pe(l) ? (u.height = 0.8 * i.height, u.width = u.height * pe(l)) : (u.width = 0.8 * i.width, u.height = u.width * pe(l));
@@ -1348,10 +1348,10 @@ function Jr(e) {
1348
1348
  return { coordinates: l, visibleArea: s };
1349
1349
  }
1350
1350
  function Zr(e) {
1351
- var t = e.event, n = e.coordinates, i = e.visibleArea, a = e.getAreaRestrictions, o = oe({}, i), r = oe({}, n);
1351
+ var t = e.event, n = e.coordinates, i = e.visibleArea, a = e.getAreaRestrictions, o = ae({}, i), r = ae({}, n);
1352
1352
  if (t.type === "setCoordinates") {
1353
1353
  var l = Math.max(0, r.width - o.width), s = Math.max(0, r.height - o.height);
1354
- l > s ? o = qe(o, Math.min(r.width / o.width, Wt(o, a({ visibleArea: o, type: "resize" })))) : s > l && (o = qe(o, Math.min(r.height / o.height, Wt(o, a({ visibleArea: o, type: "resize" }))))), o = Ue(o = He(o, Rn(Ht(r, st(o)))), a({ visibleArea: o, type: "move" }));
1354
+ l > s ? o = qe(o, Math.min(r.width / o.width, Wt(o, a({ visibleArea: o, type: "resize" })))) : s > l && (o = qe(o, Math.min(r.height / o.height, Wt(o, a({ visibleArea: o, type: "resize" }))))), o = Ue(o = He(o, On(Ht(r, st(o)))), a({ visibleArea: o, type: "move" }));
1355
1355
  }
1356
1356
  return { visibleArea: o, coordinates: r };
1357
1357
  }
@@ -1361,7 +1361,7 @@ function Qr(e) {
1361
1361
  }
1362
1362
  function es(e) {
1363
1363
  var t = e.imageSize, n = e.visibleArea, i = e.aspectRatio, a = e.sizeRestrictions, o = n || t, r = Math.min(i.maximum || 1 / 0, Math.max(i.minimum || 0, pe(o))), l = o.width < o.height ? { width: 0.8 * o.width, height: 0.8 * o.width / r } : { height: 0.8 * o.height, width: 0.8 * o.height * r };
1364
- return gt(oe(oe({}, l), { aspectRatio: i, sizeRestrictions: a }));
1364
+ return gt(ae(ae({}, l), { aspectRatio: i, sizeRestrictions: a }));
1365
1365
  }
1366
1366
  function ts(e) {
1367
1367
  var t, n, i = e.imageSize, a = e.visibleArea, o = e.boundaries, r = e.aspectRatio, l = e.sizeRestrictions, s = e.stencilSize, u = a || i;
@@ -1370,7 +1370,7 @@ function ts(e) {
1370
1370
  function ns(e) {
1371
1371
  var t = e.getAreaRestrictions, n = e.coordinates, i = e.imageSize, a = pe(e.boundaries);
1372
1372
  if (n) {
1373
- var o = { height: Math.max(n.height, i.height), width: Math.max(n.width, i.width) }, r = No({ width: pe(o) > a ? o.width : o.height * a, height: pe(o) > a ? o.width / a : o.height }, qn(t())), l = { left: n.left + n.width / 2 - r.width / 2, top: n.top + n.height / 2 - r.height / 2, width: r.width, height: r.height }, s = Qt(n, st(oe({ left: 0, top: 0 }, i))), u = {};
1373
+ var o = { height: Math.max(n.height, i.height), width: Math.max(n.width, i.width) }, r = No({ width: pe(o) > a ? o.width : o.height * a, height: pe(o) > a ? o.width / a : o.height }, qn(t())), l = { left: n.left + n.width / 2 - r.width / 2, top: n.top + n.height / 2 - r.height / 2, width: r.width, height: r.height }, s = Qt(n, st(ae({ left: 0, top: 0 }, i))), u = {};
1374
1374
  return !s.left && !s.right && l.width <= i.width && (u.left = 0, u.right = i.width), !s.top && !s.bottom && l.height <= i.height && (u.top = 0, u.bottom = i.height), Ue(l, u);
1375
1375
  }
1376
1376
  var m = pe(i);
@@ -1380,19 +1380,19 @@ function dn(e, t) {
1380
1380
  return Lo(e, st(t));
1381
1381
  }
1382
1382
  function is(e) {
1383
- var t = e.event, n = e.coordinates, i = e.visibleArea, a = e.sizeRestrictions, o = e.getAreaRestrictions, r = e.positionRestrictions, l = e.adjustStencil, s = t.scale, u = t.move, m = oe({}, i), d = oe({}, n), c = 1, p = 1, b = s.factor && Math.abs(s.factor - 1) > 1e-3;
1383
+ var t = e.event, n = e.coordinates, i = e.visibleArea, a = e.sizeRestrictions, o = e.getAreaRestrictions, r = e.positionRestrictions, l = e.adjustStencil, s = t.scale, u = t.move, m = ae({}, i), d = ae({}, n), c = 1, p = 1, b = s.factor && Math.abs(s.factor - 1) > 1e-3;
1384
1384
  m = He(m, { left: u.left || 0, top: u.top || 0 });
1385
1385
  var _ = { stencil: { minimum: Math.max(a.minWidth ? a.minWidth / d.width : 0, a.minHeight ? a.minHeight / d.height : 0), maximum: Math.min(a.maxWidth ? a.maxWidth / d.width : 1 / 0, a.maxHeight ? a.maxHeight / d.height : 1 / 0, Wt(d, r)) }, area: { maximum: Wt(m, o({ visibleArea: m, type: "resize" })) } };
1386
1386
  s.factor && b && (s.factor < 1 ? (p = Math.max(s.factor, _.stencil.minimum)) > 1 && (p = 1) : s.factor > 1 && (p = Math.min(s.factor, Math.min(_.area.maximum, _.stencil.maximum))) < 1 && (p = 1)), p && (m = qe(m, p, s.center));
1387
1387
  var S = n.left - i.left, v = i.width + i.left - (n.width + n.left), h = n.top - i.top, E = i.height + i.top - (n.height + n.top);
1388
- return m = Ue(m = He(m, Ht(m, { left: r.left !== void 0 ? r.left - S * p : void 0, top: r.top !== void 0 ? r.top - h * p : void 0, bottom: r.bottom !== void 0 ? r.bottom + E * p : void 0, right: r.right !== void 0 ? r.right + v * p : void 0 })), o({ visibleArea: m, type: "move" })), d.width = d.width * p, d.height = d.height * p, d.left = m.left + S * p, d.top = m.top + h * p, d = Ue(d, An(st(m), r)), s.factor && b && l && (s.factor > 1 ? c = Math.min(_.area.maximum, s.factor) / p : s.factor < 1 && (c = Math.max(d.height / m.height, d.width / m.width, s.factor / p)), c !== 1 && (m = He(m = Ue(m = qe(m, c, s.factor > 1 ? s.center : xe(d)), o({ visibleArea: m, type: "move" })), Rn(Ht(d, st(m)))))), { coordinates: d, visibleArea: m };
1388
+ return m = Ue(m = He(m, Ht(m, { left: r.left !== void 0 ? r.left - S * p : void 0, top: r.top !== void 0 ? r.top - h * p : void 0, bottom: r.bottom !== void 0 ? r.bottom + E * p : void 0, right: r.right !== void 0 ? r.right + v * p : void 0 })), o({ visibleArea: m, type: "move" })), d.width = d.width * p, d.height = d.height * p, d.left = m.left + S * p, d.top = m.top + h * p, d = Ue(d, An(st(m), r)), s.factor && b && l && (s.factor > 1 ? c = Math.min(_.area.maximum, s.factor) / p : s.factor < 1 && (c = Math.max(d.height / m.height, d.width / m.width, s.factor / p)), c !== 1 && (m = He(m = Ue(m = qe(m, c, s.factor > 1 ? s.center : xe(d)), o({ visibleArea: m, type: "move" })), On(Ht(d, st(m)))))), { coordinates: d, visibleArea: m };
1389
1389
  }
1390
1390
  function os(e) {
1391
- var t = e.aspectRatio, n = e.getAreaRestrictions, i = e.coordinates, a = e.visibleArea, o = e.sizeRestrictions, r = e.positionRestrictions, l = e.imageSize, s = e.previousImageSize, u = e.angle, m = oe({}, i), d = oe({}, a), c = kt(xe(oe({ left: 0, top: 0 }, s)), u);
1392
- return (m = oe(oe({}, gt({ sizeRestrictions: o, aspectRatio: t, width: m.width, height: m.height })), kt(xe(m), u))).left -= c.left - l.width / 2 + m.width / 2, m.top -= c.top - l.height / 2 + m.height / 2, d = qe(d, Cn(d, n({ visibleArea: d, type: "resize" }))), { coordinates: m = Ue(m, r), visibleArea: d = Ue(d = He(d, Bt(xe(m), xe(i))), n({ visibleArea: d, type: "move" })) };
1391
+ var t = e.aspectRatio, n = e.getAreaRestrictions, i = e.coordinates, a = e.visibleArea, o = e.sizeRestrictions, r = e.positionRestrictions, l = e.imageSize, s = e.previousImageSize, u = e.angle, m = ae({}, i), d = ae({}, a), c = kt(xe(ae({ left: 0, top: 0 }, s)), u);
1392
+ return (m = ae(ae({}, gt({ sizeRestrictions: o, aspectRatio: t, width: m.width, height: m.height })), kt(xe(m), u))).left -= c.left - l.width / 2 + m.width / 2, m.top -= c.top - l.height / 2 + m.height / 2, d = qe(d, Cn(d, n({ visibleArea: d, type: "resize" }))), { coordinates: m = Ue(m, r), visibleArea: d = Ue(d = He(d, Bt(xe(m), xe(i))), n({ visibleArea: d, type: "move" })) };
1393
1393
  }
1394
1394
  function as(e) {
1395
- var t = e.flip, n = e.previousFlip, i = e.rotate, a = e.getAreaRestrictions, o = e.coordinates, r = e.visibleArea, l = e.imageSize, s = oe({}, o), u = oe({}, r), m = n.horizontal !== t.horizontal, d = n.vertical !== t.vertical;
1395
+ var t = e.flip, n = e.previousFlip, i = e.rotate, a = e.getAreaRestrictions, o = e.coordinates, r = e.visibleArea, l = e.imageSize, s = ae({}, o), u = ae({}, r), m = n.horizontal !== t.horizontal, d = n.vertical !== t.vertical;
1396
1396
  if (m || d) {
1397
1397
  var c = kt({ left: l.width / 2, top: l.height / 2 }, -i), p = kt(xe(s), -i), b = kt({ left: m ? c.left - (p.left - c.left) : p.left, top: d ? c.top - (p.top - c.top) : p.top }, i);
1398
1398
  s = He(s, Bt(b, xe(s))), p = kt(xe(u), -i), u = Ue(u = He(u, Bt(b = kt({ left: m ? c.left - (p.left - c.left) : p.left, top: d ? c.top - (p.top - c.top) : p.top }, i), xe(u))), a({ visibleArea: u, type: "move" }));
@@ -1400,7 +1400,7 @@ function as(e) {
1400
1400
  return { coordinates: s, visibleArea: u };
1401
1401
  }
1402
1402
  function Li(e) {
1403
- var t = e.directions, n = e.coordinates, i = e.positionRestrictions, a = i === void 0 ? {} : i, o = e.sizeRestrictions, r = e.preserveRatio, l = e.compensate, s = oe({}, t), u = it(n, s).width, m = it(n, s).height;
1403
+ var t = e.directions, n = e.coordinates, i = e.positionRestrictions, a = i === void 0 ? {} : i, o = e.sizeRestrictions, r = e.preserveRatio, l = e.compensate, s = ae({}, t), u = it(n, s).width, m = it(n, s).height;
1404
1404
  u < 0 && (s.left < 0 && s.right < 0 ? (s.left = -(n.width - o.minWidth) / (s.left / s.right), s.right = -(n.width - o.minWidth) / (s.right / s.left)) : s.left < 0 ? s.left = -(n.width - o.minWidth) : s.right < 0 && (s.right = -(n.width - o.minWidth))), m < 0 && (s.top < 0 && s.bottom < 0 ? (s.top = -(n.height - o.minHeight) / (s.top / s.bottom), s.bottom = -(n.height - o.minHeight) / (s.bottom / s.top)) : s.top < 0 ? s.top = -(n.height - o.minHeight) : s.bottom < 0 && (s.bottom = -(n.height - o.minHeight)));
1405
1405
  var d = Qt(it(n, s), a);
1406
1406
  l && (d.left && d.left > 0 && d.right === 0 ? (s.right += d.left, s.left -= d.left) : d.right && d.right > 0 && d.left === 0 && (s.left += d.right, s.right -= d.right), d.top && d.top > 0 && d.bottom === 0 ? (s.bottom += d.top, s.top -= d.top) : d.bottom && d.bottom > 0 && d.top === 0 && (s.top += d.bottom, s.bottom -= d.bottom), d = Qt(it(n, s), a));
@@ -1450,7 +1450,7 @@ var rs = et("vue-simple-handler"), ss = et("vue-simple-handler-wrapper"), pi = {
1450
1450
  pi.render = function(e, t, n, i, a, o) {
1451
1451
  var r = K("HandlerWrapper");
1452
1452
  return x(), J(r, { class: o.classes.wrapper, "vertical-position": n.verticalPosition, "horizontal-position": n.horizontalPosition, disabled: n.disabled, onDrag: o.onDrag, onDragEnd: o.onDragEnd, onEnter: o.onEnter, onLeave: o.onLeave }, { default: W(function() {
1453
- return [R("div", { class: o.classes.default }, null, 2)];
1453
+ return [O("div", { class: o.classes.default }, null, 2)];
1454
1454
  }), _: 1 }, 8, ["class", "vertical-position", "horizontal-position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
1455
1455
  };
1456
1456
  var ls = et("vue-simple-line"), us = et("vue-simple-line-wrapper"), fi = { name: "SimpleLine", components: { LineWrapper: Fo }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, position: { type: String }, disabled: { type: Boolean, default: !1 } }, data: function() {
@@ -1469,7 +1469,7 @@ var ls = et("vue-simple-line"), us = et("vue-simple-line-wrapper"), fi = { name:
1469
1469
  fi.render = function(e, t, n, i, a, o) {
1470
1470
  var r = K("LineWrapper");
1471
1471
  return x(), J(r, { class: o.classes.wrapper, position: n.position, disabled: n.disabled, onDrag: o.onDrag, onDragEnd: o.onDragEnd, onEnter: o.onEnter, onLeave: o.onLeave }, { default: W(function() {
1472
- return [R("div", { class: o.classes.root }, null, 2)];
1472
+ return [O("div", { class: o.classes.root }, null, 2)];
1473
1473
  }), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
1474
1474
  };
1475
1475
  var xn = et("vue-bounding-box"), cs = ["east", "west", null], ds = ["south", "north", null], xo = { name: "BoundingBox", props: { width: { type: Number }, height: { type: Number }, transitions: { type: Object }, handlers: { type: Object, default: function() {
@@ -1534,7 +1534,7 @@ var xn = et("vue-bounding-box"), cs = ["east", "west", null], ds = ["south", "no
1534
1534
  t === "west" ? l.left -= o : t === "east" && (l.right += o), n === "north" ? l.top -= r : n === "south" && (l.bottom += r), !n && t ? i = "width" : n && !t && (i = "height"), this.resizable && this.$emit("resize", new $r(l, { allowedDirections: { left: t === "west" || !t, right: t === "east" || !t, bottom: n === "south" || !n, top: n === "north" || !n }, preserveAspectRatio: e.nativeEvent && e.nativeEvent.shiftKey, respectDirection: i }));
1535
1535
  } }, emits: ["resize", "resize-end"] };
1536
1536
  xo.render = function(e, t, n, i, a, o) {
1537
- return x(), J("div", { ref: "box", class: o.classes.root, style: o.style }, [Ce(e.$slots, "default"), R("div", null, [(x(!0), J(Ve, null, rt(o.lineNodes, function(r) {
1537
+ return x(), J("div", { ref: "box", class: o.classes.root, style: o.style }, [Ce(e.$slots, "default"), O("div", null, [(x(!0), J(Ve, null, rt(o.lineNodes, function(r) {
1538
1538
  return x(), J(yn(r.component), { key: r.name, "default-class": r.class, "hover-class": r.hoverClass, "wrapper-class": r.wrapperClass, position: r.name, disabled: r.disabled, onDrag: function(l) {
1539
1539
  return o.onHandlerDrag(l, r.horizontalDirection, r.verticalDirection);
1540
1540
  }, onDragEnd: t[1] || (t[1] = function(l) {
@@ -1794,7 +1794,7 @@ var pn = et("vue-preview"), $o = { props: { coordinates: { type: Object }, trans
1794
1794
  e && e.complete && this.refreshImage(), this.refresh();
1795
1795
  } } };
1796
1796
  $o.render = function(e, t, n, i, a, o) {
1797
- return x(), J("div", { ref: "root", class: o.classes.root, style: o.style }, [R("div", { ref: "wrapper", class: o.classes.wrapper, style: o.wrapperStyle }, [Xt(R("img", { ref: "image", src: n.image && n.image.src, class: o.classes.image, style: o.imageStyle }, null, 14, ["src"]), [[kn, n.image && n.image.src]])], 6)], 6);
1797
+ return x(), J("div", { ref: "root", class: o.classes.root, style: o.style }, [O("div", { ref: "wrapper", class: o.classes.wrapper, style: o.wrapperStyle }, [Xt(O("img", { ref: "image", src: n.image && n.image.src, class: o.classes.image, style: o.imageStyle }, null, 14, ["src"]), [[kn, n.image && n.image.src]])], 6)], 6);
1798
1798
  };
1799
1799
  var Go = { components: { Preview: $o }, inheritAttrs: !1 };
1800
1800
  Go.render = function(e, t, n, i, a, o) {
@@ -1833,9 +1833,9 @@ var Vn = et("vue-rectangle-stencil"), Bo = { name: "RectangleStencil", component
1833
1833
  } }, emits: ["resize", "resize-end", "move", "move-end"] };
1834
1834
  Bo.render = function(e, t, n, i, a, o) {
1835
1835
  var r = K("stencil-preview"), l = K("draggable-area"), s = K("bounding-box");
1836
- return x(), J("div", { class: o.classes.stencil, style: o.style }, [R(s, { width: n.stencilCoordinates.width, height: n.stencilCoordinates.height, transitions: n.transitions, class: o.classes.boundingBox, handlers: n.handlers, "handlers-component": n.handlersComponent, "handlers-classes": n.handlersClasses, "handlers-wrappers-classes": n.handlersWrappersClasses, lines: n.lines, "lines-component": n.linesComponent, "lines-classes": n.linesClasses, "lines-wrappers-classes": n.linesWrappersClasses, resizable: n.resizable, onResize: o.onResize, onResizeEnd: o.onResizeEnd }, { default: W(function() {
1837
- return [R(l, { movable: n.movable, onMove: o.onMove, onMoveEnd: o.onMoveEnd }, { default: W(function() {
1838
- return [R(r, { image: n.image, coordinates: n.coordinates, width: n.stencilCoordinates.width, height: n.stencilCoordinates.height, class: o.classes.preview, transitions: n.transitions }, null, 8, ["image", "coordinates", "width", "height", "class", "transitions"])];
1836
+ return x(), J("div", { class: o.classes.stencil, style: o.style }, [O(s, { width: n.stencilCoordinates.width, height: n.stencilCoordinates.height, transitions: n.transitions, class: o.classes.boundingBox, handlers: n.handlers, "handlers-component": n.handlersComponent, "handlers-classes": n.handlersClasses, "handlers-wrappers-classes": n.handlersWrappersClasses, lines: n.lines, "lines-component": n.linesComponent, "lines-classes": n.linesClasses, "lines-wrappers-classes": n.linesWrappersClasses, resizable: n.resizable, onResize: o.onResize, onResizeEnd: o.onResizeEnd }, { default: W(function() {
1837
+ return [O(l, { movable: n.movable, onMove: o.onMove, onMoveEnd: o.onMoveEnd }, { default: W(function() {
1838
+ return [O(r, { image: n.image, coordinates: n.coordinates, width: n.stencilCoordinates.width, height: n.stencilCoordinates.height, class: o.classes.preview, transitions: n.transitions }, null, 8, ["image", "coordinates", "width", "height", "class", "transitions"])];
1839
1839
  }), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
1840
1840
  }), _: 1 }, 8, ["width", "height", "transitions", "class", "handlers", "handlers-component", "handlers-classes", "handlers-wrappers-classes", "lines", "lines-component", "lines-classes", "lines-wrappers-classes", "resizable", "onResize", "onResizeEnd"])], 6);
1841
1841
  };
@@ -1850,9 +1850,9 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
1850
1850
  } }, roundResult: { type: Boolean, default: !0 }, defaultSize: { type: [Function, Object] }, defaultPosition: { type: [Function, Object] }, defaultVisibleArea: { type: [Function, Object] }, defaultTransforms: { type: [Function, Object] }, defaultBoundaries: { type: [Function, String], validator: function(e) {
1851
1851
  return !(typeof e == "string" && e !== "fill" && e !== "fit");
1852
1852
  } }, priority: { type: String, default: "coordinates" }, stencilSize: { type: [Object, Function] }, resizeImage: { type: [Boolean, Object], default: !0 }, moveImage: { type: [Boolean, Object], default: !0 }, autoZoomAlgorithm: { type: Function }, resizeAlgorithm: { type: Function, default: function(e) {
1853
- var t = e.event, n = e.coordinates, i = e.aspectRatio, a = e.positionRestrictions, o = e.sizeRestrictions, r = oe(oe({}, n), { right: n.left + n.width, bottom: n.top + n.height }), l = t.params || {}, s = oe({}, t.directions), u = l.allowedDirections || { left: !0, right: !0, bottom: !0, top: !0 };
1854
- o.widthFrozen && (s.left = 0, s.right = 0), o.heightFrozen && (s.top = 0, s.bottom = 0), ot.forEach(function(O) {
1855
- u[O] || (s[O] = 0);
1853
+ var t = e.event, n = e.coordinates, i = e.aspectRatio, a = e.positionRestrictions, o = e.sizeRestrictions, r = ae(ae({}, n), { right: n.left + n.width, bottom: n.top + n.height }), l = t.params || {}, s = ae({}, t.directions), u = l.allowedDirections || { left: !0, right: !0, bottom: !0, top: !0 };
1854
+ o.widthFrozen && (s.left = 0, s.right = 0), o.heightFrozen && (s.top = 0, s.bottom = 0), ot.forEach(function(R) {
1855
+ u[R] || (s[R] = 0);
1856
1856
  });
1857
1857
  var m = it(r, s = Li({ coordinates: r, directions: s, sizeRestrictions: o, positionRestrictions: a })).width, d = it(r, s).height, c = l.preserveRatio ? pe(r) : Ln(m / d, i);
1858
1858
  if (c) {
@@ -1872,19 +1872,19 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
1872
1872
  }
1873
1873
  s = Li({ directions: s, coordinates: r, sizeRestrictions: o, positionRestrictions: a, preserveRatio: !0, compensate: l.compensate });
1874
1874
  }
1875
- return m = it(r, s).width, d = it(r, s).height, (c = l.preserveRatio ? pe(r) : Ln(m / d, i)) && Math.abs(c - m / d) > 1e-3 && ot.forEach(function(O) {
1876
- u[O] || (s[O] = 0);
1875
+ return m = it(r, s).width, d = it(r, s).height, (c = l.preserveRatio ? pe(r) : Ln(m / d, i)) && Math.abs(c - m / d) > 1e-3 && ot.forEach(function(R) {
1876
+ u[R] || (s[R] = 0);
1877
1877
  }), Jn({ event: new di({ left: -s.left, top: -s.top }), coordinates: { width: n.width + s.right + s.left, height: n.height + s.top + s.bottom, left: n.left, top: n.top }, positionRestrictions: a });
1878
1878
  } }, moveAlgorithm: { type: Function, default: Jn }, initStretcher: { type: Function, default: function(e) {
1879
1879
  var t = e.stretcher, n = e.imageSize, i = pe(n);
1880
1880
  t.style.width = n.width + "px", t.style.height = t.clientWidth / i + "px", t.style.width = t.clientWidth + "px";
1881
1881
  } }, fitCoordinates: { type: Function, default: function(e) {
1882
- var t = e.visibleArea, n = e.coordinates, i = e.aspectRatio, a = e.sizeRestrictions, o = e.positionRestrictions, r = oe(oe({}, n), gt({ width: n.width, height: n.height, aspectRatio: i, sizeRestrictions: { maxWidth: t.width, maxHeight: t.height, minHeight: Math.min(t.height, a.minHeight), minWidth: Math.min(t.width, a.minWidth) } }));
1882
+ var t = e.visibleArea, n = e.coordinates, i = e.aspectRatio, a = e.sizeRestrictions, o = e.positionRestrictions, r = ae(ae({}, n), gt({ width: n.width, height: n.height, aspectRatio: i, sizeRestrictions: { maxWidth: t.width, maxHeight: t.height, minHeight: Math.min(t.height, a.minHeight), minWidth: Math.min(t.width, a.minWidth) } }));
1883
1883
  return r = Ue(r = He(r, Bt(xe(n), xe(r))), An(st(t), o));
1884
1884
  } }, fitVisibleArea: { type: Function, default: function(e) {
1885
- var t = e.visibleArea, n = e.boundaries, i = e.getAreaRestrictions, a = e.coordinates, o = oe({}, t);
1885
+ var t = e.visibleArea, n = e.boundaries, i = e.getAreaRestrictions, a = e.coordinates, o = ae({}, t);
1886
1886
  o.height = o.width / pe(n), o.top += (t.height - o.height) / 2, (a.height - o.height > 0 || a.width - o.width > 0) && (o = qe(o, Math.max(a.height / o.height, a.width / o.width)));
1887
- var r = Rn(Ht(a, st(o = qe(o, Cn(o, i({ visibleArea: o, type: "resize" }))))));
1887
+ var r = On(Ht(a, st(o = qe(o, Cn(o, i({ visibleArea: o, type: "resize" }))))));
1888
1888
  return o.width < a.width && (r.left = 0), o.height < a.height && (r.top = 0), o = Ue(o = He(o, r), i({ visibleArea: o, type: "move" }));
1889
1889
  } }, areaRestrictionsAlgorithm: { type: Function, default: function(e) {
1890
1890
  var t = e.visibleArea, n = e.boundaries, i = e.imageSize, a = e.imageRestriction, o = e.type, r = {};
@@ -1920,7 +1920,7 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
1920
1920
  if (this.boundaries.width && this.boundaries.height && this.imageSize.width && this.imageSize.height) {
1921
1921
  var e = this.sizeRestrictionsAlgorithm({ imageSize: this.imageSize, minWidth: De(this.minWidth) ? 0 : cn(this.minWidth), minHeight: De(this.minHeight) ? 0 : cn(this.minHeight), maxWidth: De(this.maxWidth) ? 1 / 0 : cn(this.maxWidth), maxHeight: De(this.maxHeight) ? 1 / 0 : cn(this.maxHeight) });
1922
1922
  if (e = function(i) {
1923
- var a = i.areaRestrictions, o = i.sizeRestrictions, r = i.boundaries, l = i.positionRestrictions, s = oe(oe({}, o), { minWidth: o.minWidth !== void 0 ? o.minWidth : 0, minHeight: o.minHeight !== void 0 ? o.minHeight : 0, maxWidth: o.maxWidth !== void 0 ? o.maxWidth : 1 / 0, maxHeight: o.maxHeight !== void 0 ? o.maxHeight : 1 / 0 });
1923
+ var a = i.areaRestrictions, o = i.sizeRestrictions, r = i.boundaries, l = i.positionRestrictions, s = ae(ae({}, o), { minWidth: o.minWidth !== void 0 ? o.minWidth : 0, minHeight: o.minHeight !== void 0 ? o.minHeight : 0, maxWidth: o.maxWidth !== void 0 ? o.maxWidth : 1 / 0, maxHeight: o.maxHeight !== void 0 ? o.maxHeight : 1 / 0 });
1924
1924
  l.left !== void 0 && l.right !== void 0 && (s.maxWidth = Math.min(s.maxWidth, l.right - l.left)), l.bottom !== void 0 && l.top !== void 0 && (s.maxHeight = Math.min(s.maxHeight, l.bottom - l.top));
1925
1925
  var u = qn(a), m = No(r, u);
1926
1926
  return u.width < 1 / 0 && (!s.maxWidth || s.maxWidth > m.width) && (s.maxWidth = Math.min(s.maxWidth, m.width)), u.height < 1 / 0 && (!s.maxHeight || s.maxHeight > m.height) && (s.maxHeight = Math.min(s.maxHeight, m.height)), s.minWidth > s.maxWidth && (s.minWidth = s.maxWidth, s.widthFrozen = !0), s.minHeight > s.maxHeight && (s.minHeight = s.maxHeight, s.heightFrozen = !0), s;
@@ -2027,15 +2027,15 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
2027
2027
  }, normalizeEvent: function(e) {
2028
2028
  return function(t) {
2029
2029
  var n = t.event, i = t.visibleArea, a = t.coefficient;
2030
- if (n.type === "manipulateImage") return oe(oe({}, n), { move: { left: n.move && n.move.left ? a * n.move.left : 0, top: n.move && n.move.top ? a * n.move.top : 0 }, scale: { factor: n.scale && n.scale.factor ? n.scale.factor : 1, center: n.scale && n.scale.center ? { left: n.scale.center.left * a + i.left, top: n.scale.center.top * a + i.top } : null } });
2030
+ if (n.type === "manipulateImage") return ae(ae({}, n), { move: { left: n.move && n.move.left ? a * n.move.left : 0, top: n.move && n.move.top ? a * n.move.top : 0 }, scale: { factor: n.scale && n.scale.factor ? n.scale.factor : 1, center: n.scale && n.scale.center ? { left: n.scale.center.left * a + i.left, top: n.scale.center.top * a + i.top } : null } });
2031
2031
  if (n.type === "resize") {
2032
- var o = oe(oe({}, n), { directions: oe({}, n.directions) });
2032
+ var o = ae(ae({}, n), { directions: ae({}, n.directions) });
2033
2033
  return ot.forEach(function(l) {
2034
2034
  o.directions[l] *= a;
2035
2035
  }), o;
2036
2036
  }
2037
2037
  if (n.type === "move") {
2038
- var r = oe(oe({}, n), { directions: oe({}, n.directions) });
2038
+ var r = ae(ae({}, n), { directions: ae({}, n.directions) });
2039
2039
  return jr.forEach(function(l) {
2040
2040
  r.directions[l] *= a;
2041
2041
  }), r;
@@ -2047,7 +2047,7 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
2047
2047
  var e = this.$refs.canvas, t = this.$refs.image, n = this.imageTransforms.rotate !== 0 || this.imageTransforms.flip.horizontal || this.imageTransforms.flip.vertical ? function(l, s, u) {
2048
2048
  var m = u.rotate, d = u.flip, c = { width: s.naturalWidth, height: s.naturalHeight }, p = Po(c, m), b = l.getContext("2d");
2049
2049
  l.height = p.height, l.width = p.width, b.save();
2050
- var _ = kt(xe(oe({ left: 0, top: 0 }, c)), m);
2050
+ var _ = kt(xe(ae({ left: 0, top: 0 }, c)), m);
2051
2051
  return b.translate(-(_.left - p.width / 2), -(_.top - p.height / 2)), b.rotate(m * Math.PI / 180), b.translate(d.horizontal ? c.width : 0, d.vertical ? c.height : 0), b.scale(d.horizontal ? -1 : 1, d.vertical ? -1 : 1), b.drawImage(s, 0, 0, c.width, c.height), b.restore(), l;
2052
2052
  }(this.$refs.sourceCanvas, t, this.imageTransforms) : t, i = me({ minWidth: 0, minHeight: 0, maxWidth: 1 / 0, maxHeight: 1 / 0, maxArea: this.maxCanvasSize, imageSmoothingEnabled: !0, imageSmoothingQuality: "high", fillColor: "transparent" }, this.canvas), a = function(l) {
2053
2053
  return l.find(function(s) {
@@ -2113,7 +2113,7 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
2113
2113
  return this.appliedImageTransforms = me(me({}, this.defaultImageTransforms), {}, { flip: me({}, this.defaultImageTransforms.flip) }), this.updateBoundaries().then(function() {
2114
2114
  e.priority !== "visible-area" && (e.visibleArea = null, e.resetCoordinates());
2115
2115
  var t, n, i, a, o, r, l = e.defaultVisibleArea || ns;
2116
- e.visibleArea = Vt(l) ? l({ imageSize: e.imageSize, boundaries: e.boundaries, coordinates: e.priority !== "visible-area" ? e.coordinates : null, getAreaRestrictions: e.getAreaRestrictions, stencilSize: e.getStencilSize() }) : e.defaultVisibleArea, e.visibleArea = (t = { visibleArea: e.visibleArea, boundaries: e.boundaries, getAreaRestrictions: e.getAreaRestrictions }, n = t.visibleArea, i = t.boundaries, a = t.getAreaRestrictions, o = oe({}, n), r = pe(i), o.width / o.height !== r && (o.height = o.width / r), Ue(o, a({ visibleArea: o, type: "move" }))), e.priority === "visible-area" ? e.resetCoordinates() : e.coordinates = e.fitCoordinates({ visibleArea: e.visibleArea, coordinates: e.coordinates, aspectRatio: e.getAspectRatio(), positionRestrictions: e.positionRestrictions, sizeRestrictions: e.sizeRestrictions }), e.runAutoZoom("resetVisibleArea");
2116
+ e.visibleArea = Vt(l) ? l({ imageSize: e.imageSize, boundaries: e.boundaries, coordinates: e.priority !== "visible-area" ? e.coordinates : null, getAreaRestrictions: e.getAreaRestrictions, stencilSize: e.getStencilSize() }) : e.defaultVisibleArea, e.visibleArea = (t = { visibleArea: e.visibleArea, boundaries: e.boundaries, getAreaRestrictions: e.getAreaRestrictions }, n = t.visibleArea, i = t.boundaries, a = t.getAreaRestrictions, o = ae({}, n), r = pe(i), o.width / o.height !== r && (o.height = o.width / r), Ue(o, a({ visibleArea: o, type: "move" }))), e.priority === "visible-area" ? e.resetCoordinates() : e.coordinates = e.fitCoordinates({ visibleArea: e.visibleArea, coordinates: e.coordinates, aspectRatio: e.getAspectRatio(), positionRestrictions: e.positionRestrictions, sizeRestrictions: e.sizeRestrictions }), e.runAutoZoom("resetVisibleArea");
2117
2117
  }).catch(function() {
2118
2118
  e.visibleArea = null;
2119
2119
  });
@@ -2266,9 +2266,9 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
2266
2266
  }
2267
2267
  } }, emits: ["change", "error", "ready"] }, gs = { key: 0, ref: "canvas", style: { display: "none" } }, vs = { key: 1, ref: "sourceCanvas", style: { display: "none" } };
2268
2268
  Wo.render = function(e, t, n, i, a, o) {
2269
- return x(), J("div", { ref: "cropper", class: o.classes.cropper }, [R("div", { ref: "stretcher", class: o.classes.stretcher }, null, 2), R("div", { class: o.classes.boundaries, style: o.boundariesStyle }, [(x(), J(yn(n.backgroundWrapperComponent), { class: o.classes.cropperWrapper, "wheel-resize": o.settings.resizeImage.wheel, "touch-resize": o.settings.resizeImage.touch, "touch-move": o.settings.moveImage.touch, "mouse-move": o.settings.moveImage.mouse, onMove: o.onManipulateImage, onResize: o.onManipulateImage }, { default: W(function() {
2270
- return [R("div", { class: o.classes.background, style: o.boundariesStyle }, null, 6), R("div", { class: o.classes.imageWrapper }, [R("img", { ref: "image", crossorigin: a.imageAttributes.crossOrigin, src: a.imageAttributes.src, class: o.classes.image, style: o.imageStyle, onMousedown: t[1] || (t[1] = Sn(function() {
2271
- }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), R("div", { class: o.classes.foreground, style: o.boundariesStyle }, null, 6), Xt((x(), J(yn(n.stencilComponent), po({ ref: "stencil", image: o.image, coordinates: a.coordinates, "stencil-coordinates": o.stencilCoordinates, transitions: o.transitionsOptions }, n.stencilProps, { onResize: o.onResize, onResizeEnd: o.onResizeEnd, onMove: o.onMove, onMoveEnd: o.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[kn, a.imageLoaded]]), n.canvas ? (x(), J("canvas", gs, null, 512)) : se("", !0), n.canvas ? (x(), J("canvas", vs, null, 512)) : se("", !0)];
2269
+ return x(), J("div", { ref: "cropper", class: o.classes.cropper }, [O("div", { ref: "stretcher", class: o.classes.stretcher }, null, 2), O("div", { class: o.classes.boundaries, style: o.boundariesStyle }, [(x(), J(yn(n.backgroundWrapperComponent), { class: o.classes.cropperWrapper, "wheel-resize": o.settings.resizeImage.wheel, "touch-resize": o.settings.resizeImage.touch, "touch-move": o.settings.moveImage.touch, "mouse-move": o.settings.moveImage.mouse, onMove: o.onManipulateImage, onResize: o.onManipulateImage }, { default: W(function() {
2270
+ return [O("div", { class: o.classes.background, style: o.boundariesStyle }, null, 6), O("div", { class: o.classes.imageWrapper }, [O("img", { ref: "image", crossorigin: a.imageAttributes.crossOrigin, src: a.imageAttributes.src, class: o.classes.image, style: o.imageStyle, onMousedown: t[1] || (t[1] = Sn(function() {
2271
+ }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), O("div", { class: o.classes.foreground, style: o.boundariesStyle }, null, 6), Xt((x(), J(yn(n.stencilComponent), po({ ref: "stencil", image: o.image, coordinates: a.coordinates, "stencil-coordinates": o.stencilCoordinates, transitions: o.transitionsOptions }, n.stencilProps, { onResize: o.onResize, onResizeEnd: o.onResizeEnd, onMove: o.onMove, onMoveEnd: o.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[kn, a.imageLoaded]]), n.canvas ? (x(), J("canvas", gs, null, 512)) : se("", !0), n.canvas ? (x(), J("canvas", vs, null, 512)) : se("", !0)];
2272
2272
  }), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
2273
2273
  };
2274
2274
  function _s(e, t) {
@@ -2299,9 +2299,9 @@ const ys = {
2299
2299
  ])
2300
2300
  }, Ss = {
2301
2301
  class: /* @__PURE__ */ Ke(["absolute inset-0", "h-full w-full", "rounded-md overflow-hidden"])
2302
- }, Os = {
2302
+ }, Rs = {
2303
2303
  class: /* @__PURE__ */ Ke(["relative z-0", "w-full h-full", "overflow-hidden"])
2304
- }, Rs = { class: "fm-typo-en-body-lg-600 pb-4" }, Cs = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, As = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Is = /* @__PURE__ */ ve({
2304
+ }, Os = { class: "fm-typo-en-body-lg-600 pb-4" }, Cs = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, As = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Is = /* @__PURE__ */ ve({
2305
2305
  __name: "ImageDropField",
2306
2306
  props: {
2307
2307
  modelValue: {}
@@ -2336,15 +2336,15 @@ const ys = {
2336
2336
  }
2337
2337
  return (c, p) => {
2338
2338
  const b = K("fm-icon"), _ = K("fm-drop-field");
2339
- return r.value || o.value ? (x(), ae("div", ys, [
2339
+ return r.value || o.value ? (x(), re("div", ys, [
2340
2340
  B("p", ws, [
2341
2341
  Bn(Ee(y(i)("menu.common.labels.product_image")) + " ", 1),
2342
2342
  B("span", Es, Ee(y(i)("menu.common.labels.optional")), 1)
2343
2343
  ]),
2344
2344
  B("div", ks, [
2345
2345
  B("div", Ss, [
2346
- B("div", Os, [
2347
- R(y(Wo), {
2346
+ B("div", Rs, [
2347
+ O(y(Wo), {
2348
2348
  class: "cropper h-[150px] w-[200px]",
2349
2349
  src: r.value || o.value,
2350
2350
  "stencil-props": {
@@ -2369,7 +2369,7 @@ const ys = {
2369
2369
  type: "button",
2370
2370
  onClick: d
2371
2371
  }, [
2372
- R(b, { name: "close" })
2372
+ O(b, { name: "close" })
2373
2373
  ])
2374
2374
  ])
2375
2375
  ])
@@ -2380,7 +2380,7 @@ const ys = {
2380
2380
  onFileUpload: u
2381
2381
  }, {
2382
2382
  label: W(() => [
2383
- B("p", Rs, [
2383
+ B("p", Os, [
2384
2384
  Bn(Ee(y(i)("menu.common.labels.product_image")) + " ", 1),
2385
2385
  B("span", Cs, Ee(y(i)("menu.common.labels.optional")), 1)
2386
2386
  ])
@@ -2470,8 +2470,8 @@ const ys = {
2470
2470
  });
2471
2471
  return (u, m) => {
2472
2472
  const d = K("fm-select");
2473
- return x(), ae("div", null, [
2474
- R(d, {
2473
+ return x(), re("div", null, [
2474
+ O(d, {
2475
2475
  disabled: e.disable,
2476
2476
  items: r.value,
2477
2477
  label: e.label ?? y(i)("menu.common.labels.order_from"),
@@ -2491,7 +2491,7 @@ const ys = {
2491
2491
  fill: "none"
2492
2492
  };
2493
2493
  function Ms(e, t) {
2494
- return x(), ae("svg", Ts, t[0] || (t[0] = [
2494
+ return x(), re("svg", Ts, t[0] || (t[0] = [
2495
2495
  B("path", {
2496
2496
  fill: "#1C1C1E",
2497
2497
  d: "M7.6 7.6c.57-.658.9-2.1.9-2.1s.314 1.374.857 2c.572.66 2.143 1 2.143 1s-1.57.198-2.143.857C8.814 9.984 8.5 11.5 8.5 11.5s-.18-1.311-.75-1.91C7.149 8.962 5.5 8.5 5.5 8.5s1.5-.207 2.1-.9M12.2 12.2C13.342 10.885 14 8 14 8s.627 2.747 1.714 4C16.86 13.32 20 14 20 14s-3.141.395-4.286 1.714C14.627 16.967 14 20 14 20s-.358-2.622-1.5-3.818C11.298 14.922 8 14 8 14s2.998-.415 4.2-1.8"
@@ -2512,7 +2512,7 @@ const Ds = { render: Ms }, Fs = {
2512
2512
  fill: "none"
2513
2513
  };
2514
2514
  function Ns(e, t) {
2515
- return x(), ae("svg", Fs, t[0] || (t[0] = [
2515
+ return x(), re("svg", Fs, t[0] || (t[0] = [
2516
2516
  B("g", {
2517
2517
  stroke: "#1C1C1E",
2518
2518
  "stroke-linecap": "round",
@@ -2532,7 +2532,7 @@ const Ps = { render: Ns }, Ho = /* @__PURE__ */ ve({
2532
2532
  setup(e) {
2533
2533
  return (t, n) => {
2534
2534
  var i;
2535
- return (i = y(We)) != null && i.enable.value ? (x(), ae("button", {
2535
+ return (i = y(We)) != null && i.enable.value ? (x(), re("button", {
2536
2536
  key: 0,
2537
2537
  class: Ke([!t.pureStyling && "bg-fm-color-neutral-gray-100 rounded-lg p-[6px]"]),
2538
2538
  type: "button",
@@ -2559,7 +2559,7 @@ const zs = Object.prototype.hasOwnProperty;
2559
2559
  function Ze(e, t) {
2560
2560
  return zs.call(e, t);
2561
2561
  }
2562
- const Te = Array.isArray, Oe = (e) => typeof e == "function", ee = (e) => typeof e == "string", Re = (e) => typeof e == "boolean", he = (e) => e !== null && typeof e == "object", $s = (e) => he(e) && Oe(e.then) && Oe(e.catch), jo = Object.prototype.toString, gi = (e) => jo.call(e), fe = (e) => gi(e) === "[object Object]", Gs = (e) => e == null ? "" : Te(e) || fe(e) && e.toString === jo ? JSON.stringify(e, null, 2) : String(e);
2562
+ const Te = Array.isArray, Re = (e) => typeof e == "function", ee = (e) => typeof e == "string", Oe = (e) => typeof e == "boolean", he = (e) => e !== null && typeof e == "object", $s = (e) => he(e) && Re(e.then) && Re(e.catch), jo = Object.prototype.toString, gi = (e) => jo.call(e), fe = (e) => gi(e) === "[object Object]", Gs = (e) => e == null ? "" : Te(e) || fe(e) && e.toString === jo ? JSON.stringify(e, null, 2) : String(e);
2563
2563
  function vi(e, t = "") {
2564
2564
  return e.reduce((n, i, a) => a === 0 ? n + i : n + t + i, "");
2565
2565
  }
@@ -2621,7 +2621,7 @@ function qs(e) {
2621
2621
  function E() {
2622
2622
  return r(n + o) && o++, o++, t[n + o];
2623
2623
  }
2624
- function O() {
2624
+ function R() {
2625
2625
  n = 0, i = 1, a = 1, o = 0;
2626
2626
  }
2627
2627
  function A(w = 0) {
@@ -2643,7 +2643,7 @@ function qs(e) {
2643
2643
  currentPeek: v,
2644
2644
  next: h,
2645
2645
  peek: E,
2646
- reset: O,
2646
+ reset: R,
2647
2647
  resetPeek: A,
2648
2648
  skipToPeek: T
2649
2649
  };
@@ -2718,7 +2718,7 @@ function Qs(e, t = {}) {
2718
2718
  const Y = v(f.currentPeek());
2719
2719
  return f.resetPeek(), Y;
2720
2720
  }
2721
- function O(f, g) {
2721
+ function R(f, g) {
2722
2722
  const { currentType: L } = g;
2723
2723
  if (L !== 2)
2724
2724
  return !1;
@@ -2878,14 +2878,14 @@ function Qs(e, t = {}) {
2878
2878
  case "'":
2879
2879
  return f.next(), `\\${g}`;
2880
2880
  case "u":
2881
- return re(f, g, 4);
2881
+ return oe(f, g, 4);
2882
2882
  case "U":
2883
- return re(f, g, 6);
2883
+ return oe(f, g, 6);
2884
2884
  default:
2885
2885
  return d(_e.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, g), "";
2886
2886
  }
2887
2887
  }
2888
- function re(f, g, L) {
2888
+ function oe(f, g, L) {
2889
2889
  b(f, g);
2890
2890
  let Y = "";
2891
2891
  for (let X = 0; X < L; X++) {
@@ -2957,7 +2957,7 @@ function Qs(e, t = {}) {
2957
2957
  return d(_e.UNTERMINATED_CLOSING_BRACE, o(), 0), g.braceNest = 0, wt(f, g);
2958
2958
  if (X = E(f, g))
2959
2959
  return L = c(g, 4, Z(f)), S(f), L;
2960
- if (ce = O(f, g))
2960
+ if (ce = R(f, g))
2961
2961
  return L = c(g, 5, te(f)), S(f), L;
2962
2962
  if (F = A(f, g))
2963
2963
  return L = c(g, 6, Q(f)), S(f), L;
@@ -3060,9 +3060,9 @@ function nl(e, t, n) {
3060
3060
  }
3061
3061
  function il(e = {}) {
3062
3062
  const t = e.location !== !1, { onError: n } = e;
3063
- function i(v, h, E, O, ...A) {
3063
+ function i(v, h, E, R, ...A) {
3064
3064
  const T = v.currentPosition();
3065
- if (T.offset += O, T.column += O, n) {
3065
+ if (T.offset += R, T.column += R, n) {
3066
3066
  const w = t ? Qn(E, T) : null, U = Tn(h, w, {
3067
3067
  domain: el,
3068
3068
  args: A
@@ -3071,31 +3071,31 @@ function il(e = {}) {
3071
3071
  }
3072
3072
  }
3073
3073
  function a(v, h, E) {
3074
- const O = { type: v };
3075
- return t && (O.start = h, O.end = h, O.loc = { start: E, end: E }), O;
3074
+ const R = { type: v };
3075
+ return t && (R.start = h, R.end = h, R.loc = { start: E, end: E }), R;
3076
3076
  }
3077
- function o(v, h, E, O) {
3077
+ function o(v, h, E, R) {
3078
3078
  t && (v.end = h, v.loc && (v.loc.end = E));
3079
3079
  }
3080
3080
  function r(v, h) {
3081
- const E = v.context(), O = a(3, E.offset, E.startLoc);
3082
- return O.value = h, o(O, v.currentOffset(), v.currentPosition()), O;
3081
+ const E = v.context(), R = a(3, E.offset, E.startLoc);
3082
+ return R.value = h, o(R, v.currentOffset(), v.currentPosition()), R;
3083
3083
  }
3084
3084
  function l(v, h) {
3085
- const E = v.context(), { lastOffset: O, lastStartLoc: A } = E, T = a(5, O, A);
3085
+ const E = v.context(), { lastOffset: R, lastStartLoc: A } = E, T = a(5, R, A);
3086
3086
  return T.index = parseInt(h, 10), v.nextToken(), o(T, v.currentOffset(), v.currentPosition()), T;
3087
3087
  }
3088
3088
  function s(v, h) {
3089
- const E = v.context(), { lastOffset: O, lastStartLoc: A } = E, T = a(4, O, A);
3089
+ const E = v.context(), { lastOffset: R, lastStartLoc: A } = E, T = a(4, R, A);
3090
3090
  return T.key = h, v.nextToken(), o(T, v.currentOffset(), v.currentPosition()), T;
3091
3091
  }
3092
3092
  function u(v, h) {
3093
- const E = v.context(), { lastOffset: O, lastStartLoc: A } = E, T = a(9, O, A);
3093
+ const E = v.context(), { lastOffset: R, lastStartLoc: A } = E, T = a(9, R, A);
3094
3094
  return T.value = h.replace(tl, nl), v.nextToken(), o(T, v.currentOffset(), v.currentPosition()), T;
3095
3095
  }
3096
3096
  function m(v) {
3097
- const h = v.nextToken(), E = v.context(), { lastOffset: O, lastStartLoc: A } = E, T = a(8, O, A);
3098
- return h.type !== 11 ? (i(v, _e.UNEXPECTED_EMPTY_LINKED_MODIFIER, E.lastStartLoc, 0), T.value = "", o(T, O, A), {
3097
+ const h = v.nextToken(), E = v.context(), { lastOffset: R, lastStartLoc: A } = E, T = a(8, R, A);
3098
+ return h.type !== 11 ? (i(v, _e.UNEXPECTED_EMPTY_LINKED_MODIFIER, E.lastStartLoc, 0), T.value = "", o(T, R, A), {
3099
3099
  nextConsumeToken: h,
3100
3100
  node: T
3101
3101
  }) : (h.value == null && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, nt(h)), T.value = h.value || "", o(T, v.currentOffset(), v.currentPosition()), {
@@ -3103,34 +3103,34 @@ function il(e = {}) {
3103
3103
  });
3104
3104
  }
3105
3105
  function d(v, h) {
3106
- const E = v.context(), O = a(7, E.offset, E.startLoc);
3107
- return O.value = h, o(O, v.currentOffset(), v.currentPosition()), O;
3106
+ const E = v.context(), R = a(7, E.offset, E.startLoc);
3107
+ return R.value = h, o(R, v.currentOffset(), v.currentPosition()), R;
3108
3108
  }
3109
3109
  function c(v) {
3110
3110
  const h = v.context(), E = a(6, h.offset, h.startLoc);
3111
- let O = v.nextToken();
3112
- if (O.type === 8) {
3111
+ let R = v.nextToken();
3112
+ if (R.type === 8) {
3113
3113
  const A = m(v);
3114
- E.modifier = A.node, O = A.nextConsumeToken || v.nextToken();
3114
+ E.modifier = A.node, R = A.nextConsumeToken || v.nextToken();
3115
3115
  }
3116
- switch (O.type !== 9 && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(O)), O = v.nextToken(), O.type === 2 && (O = v.nextToken()), O.type) {
3116
+ switch (R.type !== 9 && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(R)), R = v.nextToken(), R.type === 2 && (R = v.nextToken()), R.type) {
3117
3117
  case 10:
3118
- O.value == null && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(O)), E.key = d(v, O.value || "");
3118
+ R.value == null && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(R)), E.key = d(v, R.value || "");
3119
3119
  break;
3120
3120
  case 4:
3121
- O.value == null && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(O)), E.key = s(v, O.value || "");
3121
+ R.value == null && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(R)), E.key = s(v, R.value || "");
3122
3122
  break;
3123
3123
  case 5:
3124
- O.value == null && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(O)), E.key = l(v, O.value || "");
3124
+ R.value == null && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(R)), E.key = l(v, R.value || "");
3125
3125
  break;
3126
3126
  case 6:
3127
- O.value == null && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(O)), E.key = u(v, O.value || "");
3127
+ R.value == null && i(v, _e.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, nt(R)), E.key = u(v, R.value || "");
3128
3128
  break;
3129
3129
  default: {
3130
3130
  i(v, _e.UNEXPECTED_EMPTY_LINKED_KEY, h.lastStartLoc, 0);
3131
3131
  const A = v.context(), T = a(7, A.offset, A.startLoc);
3132
3132
  return T.value = "", o(T, A.offset, A.startLoc), E.key = T, o(E, A.offset, A.startLoc), {
3133
- nextConsumeToken: O,
3133
+ nextConsumeToken: R,
3134
3134
  node: E
3135
3135
  };
3136
3136
  }
@@ -3140,7 +3140,7 @@ function il(e = {}) {
3140
3140
  };
3141
3141
  }
3142
3142
  function p(v) {
3143
- const h = v.context(), E = h.currentType === 1 ? v.currentOffset() : h.offset, O = h.currentType === 1 ? h.endLoc : h.startLoc, A = a(2, E, O);
3143
+ const h = v.context(), E = h.currentType === 1 ? v.currentOffset() : h.offset, R = h.currentType === 1 ? h.endLoc : h.startLoc, A = a(2, E, R);
3144
3144
  A.items = [];
3145
3145
  let T = null;
3146
3146
  do {
@@ -3168,11 +3168,11 @@ function il(e = {}) {
3168
3168
  const w = h.currentType === 1 ? h.lastOffset : v.currentOffset(), U = h.currentType === 1 ? h.lastEndLoc : v.currentPosition();
3169
3169
  return o(A, w, U), A;
3170
3170
  }
3171
- function b(v, h, E, O) {
3171
+ function b(v, h, E, R) {
3172
3172
  const A = v.context();
3173
- let T = O.items.length === 0;
3173
+ let T = R.items.length === 0;
3174
3174
  const w = a(1, h, E);
3175
- w.cases = [], w.cases.push(O);
3175
+ w.cases = [], w.cases.push(R);
3176
3176
  do {
3177
3177
  const U = p(v);
3178
3178
  T || (T = U.items.length === 0), w.cases.push(U);
@@ -3180,12 +3180,12 @@ function il(e = {}) {
3180
3180
  return T && i(v, _e.MUST_HAVE_MESSAGES_IN_PLURAL, E, 0), o(w, v.currentOffset(), v.currentPosition()), w;
3181
3181
  }
3182
3182
  function _(v) {
3183
- const h = v.context(), { offset: E, startLoc: O } = h, A = p(v);
3184
- return h.currentType === 13 ? A : b(v, E, O, A);
3183
+ const h = v.context(), { offset: E, startLoc: R } = h, A = p(v);
3184
+ return h.currentType === 13 ? A : b(v, E, R, A);
3185
3185
  }
3186
3186
  function S(v) {
3187
- const h = Qs(v, Pe({}, e)), E = h.context(), O = a(0, E.offset, E.startLoc);
3188
- return t && O.loc && (O.loc.source = v), O.body = _(h), e.onCacheKey && (O.cacheKey = e.onCacheKey(v)), E.currentType !== 13 && i(h, _e.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, v[E.offset] || ""), o(O, h.currentOffset(), h.currentPosition()), O;
3187
+ const h = Qs(v, Pe({}, e)), E = h.context(), R = a(0, E.offset, E.startLoc);
3188
+ return t && R.loc && (R.loc.source = v), R.body = _(h), e.onCacheKey && (R.cacheKey = e.onCacheKey(v)), E.currentType !== 13 && i(h, _e.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, v[E.offset] || ""), o(R, h.currentOffset(), h.currentPosition()), R;
3189
3189
  }
3190
3190
  return { parse: S };
3191
3191
  }
@@ -3556,13 +3556,13 @@ function ei(e, t) {
3556
3556
  throw new Error(`unhandled node on format message part: ${n}`);
3557
3557
  }
3558
3558
  }
3559
- const Ol = ["t", "type"];
3559
+ const Rl = ["t", "type"];
3560
3560
  function bi(e) {
3561
- return At(e, Ol);
3561
+ return At(e, Rl);
3562
3562
  }
3563
- const Rl = ["v", "value"];
3563
+ const Ol = ["v", "value"];
3564
3564
  function hn(e, t) {
3565
- const n = At(e, Rl);
3565
+ const n = At(e, Ol);
3566
3566
  if (n)
3567
3567
  return n;
3568
3568
  throw en(t);
@@ -3607,7 +3607,7 @@ function Dl(e, t = {}) {
3607
3607
  // @__NO_SIDE_EFFECTS__
3608
3608
  function Fl(e, t) {
3609
3609
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && ee(e)) {
3610
- Re(t.warnHtmlMessage) && t.warnHtmlMessage;
3610
+ Oe(t.warnHtmlMessage) && t.warnHtmlMessage;
3611
3611
  const i = (t.onCacheKey || Ml)(e), a = gn[i];
3612
3612
  if (a)
3613
3613
  return a;
@@ -3661,7 +3661,7 @@ let $n;
3661
3661
  function Hi(e) {
3662
3662
  if (ee(e))
3663
3663
  return e;
3664
- if (Oe(e)) {
3664
+ if (Re(e)) {
3665
3665
  if (e.resolvedOnce && $n != null)
3666
3666
  return $n;
3667
3667
  if (e.constructor.name === "Function") {
@@ -3696,7 +3696,7 @@ function Ko(e, t, n) {
3696
3696
  }
3697
3697
  function ji(e, t, n) {
3698
3698
  let i = !0;
3699
- for (let a = 0; a < t.length && Re(i); a++) {
3699
+ for (let a = 0; a < t.length && Oe(i); a++) {
3700
3700
  const o = t[a];
3701
3701
  ee(o) && (i = zl(e, t[a], n));
3702
3702
  }
@@ -4000,7 +4000,7 @@ function Xl(e, t) {
4000
4000
  let a = e, o = 0;
4001
4001
  for (; o < i; ) {
4002
4002
  const r = a[n[o]];
4003
- if (r === void 0 || Oe(a))
4003
+ if (r === void 0 || Re(a))
4004
4004
  return null;
4005
4005
  a = r, o++;
4006
4006
  }
@@ -4036,7 +4036,7 @@ const qi = (e) => {
4036
4036
  }, iu = () => Zo;
4037
4037
  let Ji = 0;
4038
4038
  function ou(e = {}) {
4039
- const t = Oe(e.onWarn) ? e.onWarn : Bs, n = ee(e.version) ? e.version : ql, i = ee(e.locale) || Oe(e.locale) ? e.locale : En, a = Oe(i) ? En : i, o = Te(e.fallbackLocale) || fe(e.fallbackLocale) || ee(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, r = fe(e.messages) ? e.messages : Gn(a), l = fe(e.datetimeFormats) ? e.datetimeFormats : Gn(a), s = fe(e.numberFormats) ? e.numberFormats : Gn(a), u = Pe(ye(), e.modifiers, Jl()), m = e.pluralRules || ye(), d = Oe(e.missing) ? e.missing : null, c = Re(e.missingWarn) || wn(e.missingWarn) ? e.missingWarn : !0, p = Re(e.fallbackWarn) || wn(e.fallbackWarn) ? e.fallbackWarn : !0, b = !!e.fallbackFormat, _ = !!e.unresolving, S = Oe(e.postTranslation) ? e.postTranslation : null, v = fe(e.processor) ? e.processor : null, h = Re(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter, O = Oe(e.messageCompiler) ? e.messageCompiler : Yo, A = Oe(e.messageResolver) ? e.messageResolver : Xo || Yl, T = Oe(e.localeFallbacker) ? e.localeFallbacker : qo || Vl, w = he(e.fallbackContext) ? e.fallbackContext : void 0, U = e, k = he(U.__datetimeFormatters) ? U.__datetimeFormatters : /* @__PURE__ */ new Map(), I = he(U.__numberFormatters) ? U.__numberFormatters : /* @__PURE__ */ new Map(), N = he(U.__meta) ? U.__meta : {};
4039
+ const t = Re(e.onWarn) ? e.onWarn : Bs, n = ee(e.version) ? e.version : ql, i = ee(e.locale) || Re(e.locale) ? e.locale : En, a = Re(i) ? En : i, o = Te(e.fallbackLocale) || fe(e.fallbackLocale) || ee(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, r = fe(e.messages) ? e.messages : Gn(a), l = fe(e.datetimeFormats) ? e.datetimeFormats : Gn(a), s = fe(e.numberFormats) ? e.numberFormats : Gn(a), u = Pe(ye(), e.modifiers, Jl()), m = e.pluralRules || ye(), d = Re(e.missing) ? e.missing : null, c = Oe(e.missingWarn) || wn(e.missingWarn) ? e.missingWarn : !0, p = Oe(e.fallbackWarn) || wn(e.fallbackWarn) ? e.fallbackWarn : !0, b = !!e.fallbackFormat, _ = !!e.unresolving, S = Re(e.postTranslation) ? e.postTranslation : null, v = fe(e.processor) ? e.processor : null, h = Oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter, R = Re(e.messageCompiler) ? e.messageCompiler : Yo, A = Re(e.messageResolver) ? e.messageResolver : Xo || Yl, T = Re(e.localeFallbacker) ? e.localeFallbacker : qo || Vl, w = he(e.fallbackContext) ? e.fallbackContext : void 0, U = e, k = he(U.__datetimeFormatters) ? U.__datetimeFormatters : /* @__PURE__ */ new Map(), I = he(U.__numberFormatters) ? U.__numberFormatters : /* @__PURE__ */ new Map(), N = he(U.__meta) ? U.__meta : {};
4040
4040
  Ji++;
4041
4041
  const M = {
4042
4042
  version: n,
@@ -4055,7 +4055,7 @@ function ou(e = {}) {
4055
4055
  processor: v,
4056
4056
  warnHtmlMessage: h,
4057
4057
  escapeParameter: E,
4058
- messageCompiler: O,
4058
+ messageCompiler: R,
4059
4059
  messageResolver: A,
4060
4060
  localeFallbacker: T,
4061
4061
  fallbackContext: w,
@@ -4090,8 +4090,8 @@ function ru(e, t) {
4090
4090
  return !1;
4091
4091
  }
4092
4092
  function Zi(e, ...t) {
4093
- const { datetimeFormats: n, unresolving: i, fallbackLocale: a, onWarn: o, localeFallbacker: r } = e, { __datetimeFormatters: l } = e, [s, u, m, d] = ti(...t), c = Re(m.missingWarn) ? m.missingWarn : e.missingWarn;
4094
- Re(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn;
4093
+ const { datetimeFormats: n, unresolving: i, fallbackLocale: a, onWarn: o, localeFallbacker: r } = e, { __datetimeFormatters: l } = e, [s, u, m, d] = ti(...t), c = Oe(m.missingWarn) ? m.missingWarn : e.missingWarn;
4094
+ Oe(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn;
4095
4095
  const p = !!m.part, b = yi(e, m), _ = r(
4096
4096
  e,
4097
4097
  // eslint-disable-line @typescript-eslint/no-explicit-any
@@ -4106,10 +4106,10 @@ function Zi(e, ...t) {
4106
4106
  wi(e, s, v, c, E);
4107
4107
  if (!fe(h) || !ee(v))
4108
4108
  return i ? Mn : s;
4109
- let O = `${v}__${s}`;
4110
- In(d) || (O = `${O}__${JSON.stringify(d)}`);
4111
- let A = l.get(O);
4112
- return A || (A = new Intl.DateTimeFormat(v, Pe({}, h, d)), l.set(O, A)), p ? A.formatToParts(u) : A.format(u);
4109
+ let R = `${v}__${s}`;
4110
+ In(d) || (R = `${R}__${JSON.stringify(d)}`);
4111
+ let A = l.get(R);
4112
+ return A || (A = new Intl.DateTimeFormat(v, Pe({}, h, d)), l.set(R, A)), p ? A.formatToParts(u) : A.format(u);
4113
4113
  }
4114
4114
  const Qo = [
4115
4115
  "localeMatcher",
@@ -4167,8 +4167,8 @@ function Qi(e, t, n) {
4167
4167
  }
4168
4168
  }
4169
4169
  function eo(e, ...t) {
4170
- const { numberFormats: n, unresolving: i, fallbackLocale: a, onWarn: o, localeFallbacker: r } = e, { __numberFormatters: l } = e, [s, u, m, d] = ni(...t), c = Re(m.missingWarn) ? m.missingWarn : e.missingWarn;
4171
- Re(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn;
4170
+ const { numberFormats: n, unresolving: i, fallbackLocale: a, onWarn: o, localeFallbacker: r } = e, { __numberFormatters: l } = e, [s, u, m, d] = ni(...t), c = Oe(m.missingWarn) ? m.missingWarn : e.missingWarn;
4171
+ Oe(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn;
4172
4172
  const p = !!m.part, b = yi(e, m), _ = r(
4173
4173
  e,
4174
4174
  // eslint-disable-line @typescript-eslint/no-explicit-any
@@ -4183,10 +4183,10 @@ function eo(e, ...t) {
4183
4183
  wi(e, s, v, c, E);
4184
4184
  if (!fe(h) || !ee(v))
4185
4185
  return i ? Mn : s;
4186
- let O = `${v}__${s}`;
4187
- In(d) || (O = `${O}__${JSON.stringify(d)}`);
4188
- let A = l.get(O);
4189
- return A || (A = new Intl.NumberFormat(v, Pe({}, h, d)), l.set(O, A)), p ? A.formatToParts(u) : A.format(u);
4186
+ let R = `${v}__${s}`;
4187
+ In(d) || (R = `${R}__${JSON.stringify(d)}`);
4188
+ let A = l.get(R);
4189
+ return A || (A = new Intl.NumberFormat(v, Pe({}, h, d)), l.set(R, A)), p ? A.formatToParts(u) : A.format(u);
4190
4190
  }
4191
4191
  const ea = [
4192
4192
  "localeMatcher",
@@ -4239,21 +4239,21 @@ function pu(e, t) {
4239
4239
  t.count || (t.count = e), t.n || (t.n = e);
4240
4240
  }
4241
4241
  function fu(e = {}) {
4242
- const t = e.locale, n = mu(e), i = he(e.pluralRules) && ee(t) && Oe(e.pluralRules[t]) ? e.pluralRules[t] : no, a = he(e.pluralRules) && ee(t) && Oe(e.pluralRules[t]) ? no : void 0, o = (v) => v[i(n, v.length, a)], r = e.list || [], l = (v) => r[v], s = e.named || ye();
4242
+ const t = e.locale, n = mu(e), i = he(e.pluralRules) && ee(t) && Re(e.pluralRules[t]) ? e.pluralRules[t] : no, a = he(e.pluralRules) && ee(t) && Re(e.pluralRules[t]) ? no : void 0, o = (v) => v[i(n, v.length, a)], r = e.list || [], l = (v) => r[v], s = e.named || ye();
4243
4243
  Ne(e.pluralIndex) && pu(n, s);
4244
4244
  const u = (v) => s[v];
4245
4245
  function m(v, h) {
4246
- const E = Oe(e.messages) ? e.messages(v, !!h) : he(e.messages) ? e.messages[v] : !1;
4246
+ const E = Re(e.messages) ? e.messages(v, !!h) : he(e.messages) ? e.messages[v] : !1;
4247
4247
  return E || (e.parent ? e.parent.message(v) : lu);
4248
4248
  }
4249
- const d = (v) => e.modifiers ? e.modifiers[v] : su, c = fe(e.processor) && Oe(e.processor.normalize) ? e.processor.normalize : cu, p = fe(e.processor) && Oe(e.processor.interpolate) ? e.processor.interpolate : du, b = fe(e.processor) && ee(e.processor.type) ? e.processor.type : uu, S = {
4249
+ const d = (v) => e.modifiers ? e.modifiers[v] : su, c = fe(e.processor) && Re(e.processor.normalize) ? e.processor.normalize : cu, p = fe(e.processor) && Re(e.processor.interpolate) ? e.processor.interpolate : du, b = fe(e.processor) && ee(e.processor.type) ? e.processor.type : uu, S = {
4250
4250
  list: l,
4251
4251
  named: u,
4252
4252
  plural: o,
4253
4253
  linked: (v, ...h) => {
4254
- const [E, O] = h;
4254
+ const [E, R] = h;
4255
4255
  let A = "text", T = "";
4256
- h.length === 1 ? he(E) ? (T = E.modifier || T, A = E.type || A) : ee(E) && (T = E || T) : h.length === 2 && (ee(E) && (T = E || T), ee(O) && (A = O || A));
4256
+ h.length === 1 ? he(E) ? (T = E.modifier || T, A = E.type || A) : ee(E) && (T = E || T) : h.length === 2 && (ee(E) && (T = E || T), ee(R) && (A = R || A));
4257
4257
  const w = m(v, !0)(S), U = (
4258
4258
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
4259
4259
  A === "vnode" && Te(w) && T ? w[0] : w
@@ -4268,30 +4268,30 @@ function fu(e = {}) {
4268
4268
  };
4269
4269
  return S;
4270
4270
  }
4271
- const io = () => "", Ye = (e) => Oe(e);
4271
+ const io = () => "", Ye = (e) => Re(e);
4272
4272
  function oo(e, ...t) {
4273
- const { fallbackFormat: n, postTranslation: i, unresolving: a, messageCompiler: o, fallbackLocale: r, messages: l } = e, [s, u] = ii(...t), m = Re(u.missingWarn) ? u.missingWarn : e.missingWarn, d = Re(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, c = Re(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, p = !!u.resolvedMessage, b = ee(u.default) || Re(u.default) ? Re(u.default) ? o ? s : () => s : u.default : n ? o ? s : () => s : null, _ = n || b != null && (ee(b) || Oe(b)), S = yi(e, u);
4273
+ const { fallbackFormat: n, postTranslation: i, unresolving: a, messageCompiler: o, fallbackLocale: r, messages: l } = e, [s, u] = ii(...t), m = Oe(u.missingWarn) ? u.missingWarn : e.missingWarn, d = Oe(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, c = Oe(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, p = !!u.resolvedMessage, b = ee(u.default) || Oe(u.default) ? Oe(u.default) ? o ? s : () => s : u.default : n ? o ? s : () => s : null, _ = n || b != null && (ee(b) || Re(b)), S = yi(e, u);
4274
4274
  c && hu(u);
4275
4275
  let [v, h, E] = p ? [
4276
4276
  s,
4277
4277
  S,
4278
4278
  l[S] || ye()
4279
- ] : ta(e, s, S, r, d, m), O = v, A = s;
4280
- if (!p && !(ee(O) || Kt(O) || Ye(O)) && _ && (O = b, A = O), !p && (!(ee(O) || Kt(O) || Ye(O)) || !ee(h)))
4279
+ ] : ta(e, s, S, r, d, m), R = v, A = s;
4280
+ if (!p && !(ee(R) || Kt(R) || Ye(R)) && _ && (R = b, A = R), !p && (!(ee(R) || Kt(R) || Ye(R)) || !ee(h)))
4281
4281
  return a ? Mn : s;
4282
4282
  let T = !1;
4283
4283
  const w = () => {
4284
4284
  T = !0;
4285
- }, U = Ye(O) ? O : na(e, s, h, O, A, w);
4285
+ }, U = Ye(R) ? R : na(e, s, h, R, A, w);
4286
4286
  if (T)
4287
- return O;
4287
+ return R;
4288
4288
  const k = _u(e, h, E, u), I = fu(k), N = gu(e, U, I), M = i ? i(N, s) : N;
4289
4289
  if (__INTLIFY_PROD_DEVTOOLS__) {
4290
4290
  const P = {
4291
4291
  timestamp: Date.now(),
4292
- key: ee(s) ? s : Ye(O) ? O.key : "",
4293
- locale: h || (Ye(O) ? O.locale : ""),
4294
- format: ee(O) ? O : Ye(O) ? O.source : "",
4292
+ key: ee(s) ? s : Ye(R) ? R.key : "",
4293
+ locale: h || (Ye(R) ? R.locale : ""),
4294
+ format: ee(R) ? R : Ye(R) ? R.source : "",
4295
4295
  message: M
4296
4296
  };
4297
4297
  P.meta = Pe({}, e.__meta, /* @__PURE__ */ nu() || {}), Ll(P);
@@ -4386,7 +4386,7 @@ function _u(e, t, n, i) {
4386
4386
  return e.processor && (c.processor = e.processor), i.list && (c.list = i.list), i.named && (c.named = i.named), Ne(i.plural) && (c.pluralIndex = i.plural), c;
4387
4387
  }
4388
4388
  hl();
4389
- var bu = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1837", npm_package_dependencies__feedmepos_ui_library: "1.8.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260111.209.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13065", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "21055296068", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "25ba549f05572e155fe37a89a891038ef33492e7", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_fb6b44cf-bd73-4030-bcaa-b2dac31163b2", INVOCATION_ID: "59889484835243f0baf779154f1add47", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "486", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000039193", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.59", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.73", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "25ba549f05572e155fe37a89a891038ef33492e7", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_12.5.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", npm_package_dependencies__feedmepos_menu: "1.7.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
4389
+ var bu = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2c36db47-cc3f-42cf-9b0a-90cd24c61e18", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_2c36db47-cc3f-42cf-9b0a-90cd24c61e18", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1775", npm_package_dependencies__feedmepos_ui_library: "1.8.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260111.209.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13374", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "21088492601", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "bf03e8546a08d71c277ba4cbeeb8d27062f9581e", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_a1a6092f-b823-4252-8fdc-d0eedec5a8ef", INVOCATION_ID: "6c319b46f55e4074941ad660963c3bc2", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "124", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000039669", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.59", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.74-prod", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "bf03e8546a08d71c277ba4cbeeb8d27062f9581e", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_2c36db47-cc3f-42cf-9b0a-90cd24c61e18", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_2c36db47-cc3f-42cf-9b0a-90cd24c61e18", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_12.5.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_2c36db47-cc3f-42cf-9b0a-90cd24c61e18", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
4390
4390
  const yu = "10.0.5";
4391
4391
  function wu() {
4392
4392
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Dt().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Dt().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Dt().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Dt().__INTLIFY_PROD_DEVTOOLS__ = !1);
@@ -4471,21 +4471,21 @@ function ku(e, t, n) {
4471
4471
  }
4472
4472
  }
4473
4473
  function ao(e) {
4474
- return R(ba, null, e, 0);
4474
+ return O(ba, null, e, 0);
4475
4475
  }
4476
4476
  const ro = "__INTLIFY_META__", so = () => [], Su = () => !1;
4477
4477
  let lo = 0;
4478
4478
  function uo(e) {
4479
4479
  return (t, n, i, a) => e(n, i, an() || void 0, a);
4480
4480
  }
4481
- const Ou = /* @__NO_SIDE_EFFECTS__ */ () => {
4481
+ const Ru = /* @__NO_SIDE_EFFECTS__ */ () => {
4482
4482
  const e = an();
4483
4483
  let t = null;
4484
4484
  return e && (t = aa(e)[ro]) ? { [ro]: t } : null;
4485
4485
  };
4486
- function Ru(e = {}) {
4486
+ function Ou(e = {}) {
4487
4487
  const { __root: t, __injectWithOption: n } = e, i = t === void 0, a = e.flatJson, o = Ui ? ie : va;
4488
- let r = Re(e.inheritLocale) ? e.inheritLocale : !0;
4488
+ let r = Oe(e.inheritLocale) ? e.inheritLocale : !0;
4489
4489
  const l = o(
4490
4490
  // prettier-ignore
4491
4491
  t && r ? t.locale.value : ee(e.locale) ? e.locale : En
@@ -4493,7 +4493,7 @@ function Ru(e = {}) {
4493
4493
  // prettier-ignore
4494
4494
  t && r ? t.fallbackLocale.value : ee(e.fallbackLocale) || Te(e.fallbackLocale) || fe(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
4495
4495
  ), u = o(oa(l.value, e)), m = o(fe(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), d = o(fe(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
4496
- let c = t ? t.missingWarn : Re(e.missingWarn) || wn(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : Re(e.fallbackWarn) || wn(e.fallbackWarn) ? e.fallbackWarn : !0, b = t ? t.fallbackRoot : Re(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, S = Oe(e.missing) ? e.missing : null, v = Oe(e.missing) ? uo(e.missing) : null, h = Oe(e.postTranslation) ? e.postTranslation : null, E = t ? t.warnHtmlMessage : Re(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter;
4496
+ let c = t ? t.missingWarn : Oe(e.missingWarn) || wn(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : Oe(e.fallbackWarn) || wn(e.fallbackWarn) ? e.fallbackWarn : !0, b = t ? t.fallbackRoot : Oe(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, S = Re(e.missing) ? e.missing : null, v = Re(e.missing) ? uo(e.missing) : null, h = Re(e.postTranslation) ? e.postTranslation : null, E = t ? t.warnHtmlMessage : Oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, R = !!e.escapeParameter;
4497
4497
  const A = t ? t.modifiers : fe(e.modifiers) ? e.modifiers : {};
4498
4498
  let T = e.pluralRules || t && t.pluralRules, w;
4499
4499
  w = (() => {
@@ -4512,7 +4512,7 @@ function Ru(e = {}) {
4512
4512
  unresolving: !0,
4513
4513
  postTranslation: h === null ? void 0 : h,
4514
4514
  warnHtmlMessage: E,
4515
- escapeParameter: O,
4515
+ escapeParameter: R,
4516
4516
  messageResolver: e.messageResolver,
4517
4517
  messageCompiler: e.messageCompiler,
4518
4518
  __meta: { framework: "vue" }
@@ -4542,7 +4542,7 @@ function Ru(e = {}) {
4542
4542
  }
4543
4543
  }), M = z(() => u.value), P = /* @__PURE__ */ z(() => m.value), V = /* @__PURE__ */ z(() => d.value);
4544
4544
  function D() {
4545
- return Oe(h) ? h : null;
4545
+ return Re(h) ? h : null;
4546
4546
  }
4547
4547
  function C(F) {
4548
4548
  h = F, w.postTranslation = F;
@@ -4587,7 +4587,7 @@ function Ru(e = {}) {
4587
4587
  return de((j) => Reflect.apply(eo, null, [j, ...F]), () => ni(...F), "number format", (j) => Reflect.apply(j.n, j, [...F]), () => Yi, (j) => ee(j));
4588
4588
  }
4589
4589
  function te(F) {
4590
- return F.map((j) => ee(j) || Ne(j) || Re(j) ? ao(String(j)) : j);
4590
+ return F.map((j) => ee(j) || Ne(j) || Oe(j) ? ao(String(j)) : j);
4591
4591
  }
4592
4592
  const Q = {
4593
4593
  normalize: te,
@@ -4606,7 +4606,7 @@ function Ru(e = {}) {
4606
4606
  return ge;
4607
4607
  }, () => ii(...F), "translate", (j) => j[oi](...F), (j) => [ao(j)], (j) => Te(j));
4608
4608
  }
4609
- function re(...F) {
4609
+ function oe(...F) {
4610
4610
  return de((j) => Reflect.apply(eo, null, [j, ...F]), () => ni(...F), "number format", (j) => j[ri](...F), so, (j) => ee(j) || Te(j));
4611
4611
  }
4612
4612
  function Ae(...F) {
@@ -4621,7 +4621,7 @@ function Ru(e = {}) {
4621
4621
  return !1;
4622
4622
  const ge = ee(j) ? j : l.value, ke = ct(ge), tt = w.messageResolver(ke, F);
4623
4623
  return Kt(tt) || Ye(tt) || ee(tt);
4624
- }, () => [F], "translate exists", (ge) => Reflect.apply(ge.te, ge, [F, j]), Su, (ge) => Re(ge));
4624
+ }, () => [F], "translate exists", (ge) => Reflect.apply(ge.te, ge, [F, j]), Su, (ge) => Oe(ge));
4625
4625
  }
4626
4626
  function qt(F) {
4627
4627
  let j = null;
@@ -4736,10 +4736,10 @@ function Ru(e = {}) {
4736
4736
  E = F, w.warnHtmlMessage = F;
4737
4737
  },
4738
4738
  get escapeParameter() {
4739
- return O;
4739
+ return R;
4740
4740
  },
4741
4741
  set escapeParameter(F) {
4742
- O = F, w.escapeParameter = F;
4742
+ R = F, w.escapeParameter = F;
4743
4743
  },
4744
4744
  t: we,
4745
4745
  getLocaleMessage: ct,
@@ -4751,7 +4751,7 @@ function Ru(e = {}) {
4751
4751
  setMissingHandler: ue,
4752
4752
  [Eu]: je
4753
4753
  };
4754
- return ce.datetimeFormats = P, ce.numberFormats = V, ce.rt = G, ce.te = Lt, ce.tm = yt, ce.d = H, ce.n = Z, ce.getDateTimeFormat = xt, ce.setDateTimeFormat = f, ce.mergeDateTimeFormat = g, ce.getNumberFormat = L, ce.setNumberFormat = Y, ce.mergeNumberFormat = X, ce[ia] = n, ce[oi] = le, ce[ai] = Ae, ce[ri] = re, ce;
4754
+ return ce.datetimeFormats = P, ce.numberFormats = V, ce.rt = G, ce.te = Lt, ce.tm = yt, ce.d = H, ce.n = Z, ce.getDateTimeFormat = xt, ce.setDateTimeFormat = f, ce.mergeDateTimeFormat = g, ce.getNumberFormat = L, ce.setNumberFormat = Y, ce.mergeNumberFormat = X, ce[ia] = n, ce[oi] = le, ce[ai] = Ae, ce[ri] = oe, ce;
4755
4755
  }
4756
4756
  const Ei = {
4757
4757
  tag: {
@@ -4849,7 +4849,7 @@ function Dn(e = {}) {
4849
4849
  let l = r.__getInstance(t);
4850
4850
  if (l == null) {
4851
4851
  const s = Pe({}, e);
4852
- "__i18n" in a && (s.__i18n = a.__i18n), i && (s.__root = i), l = Ru(s), r.__composerExtend && (l[si] = r.__composerExtend(l)), Pu(r, t, l), r.__setInstance(t, l);
4852
+ "__i18n" in a && (s.__i18n = a.__i18n), i && (s.__root = i), l = Ou(s), r.__composerExtend && (l[si] = r.__composerExtend(l)), Pu(r, t, l), r.__setInstance(t, l);
4853
4853
  }
4854
4854
  return l;
4855
4855
  }
@@ -4920,17 +4920,17 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
4920
4920
  },
4921
4921
  emits: ["update:modelValue"],
4922
4922
  setup(e, { emit: t }) {
4923
- const n = e, i = t, a = lt(), o = Qe(), r = St(o), l = Ot(r), { t: s } = Dn(), u = ie(null), m = ie([]), d = Ya({
4923
+ const n = e, i = t, a = lt(), o = Qe(), r = St(o), l = Rt(r), { t: s } = Dn(), u = ie(null), m = ie([]), d = Ya({
4924
4924
  dialog: a,
4925
4925
  menuLoader: l,
4926
4926
  isLocalOnly: n.isLocalOnly
4927
4927
  }), c = (h, E) => {
4928
- h ? m.value = [...m.value, E] : m.value = m.value.filter((O) => O.value !== E.value), i(
4928
+ h ? m.value = [...m.value, E] : m.value = m.value.filter((R) => R.value !== E.value), i(
4929
4929
  "update:modelValue",
4930
- m.value.map((O) => O.value)
4930
+ m.value.map((R) => R.value)
4931
4931
  );
4932
4932
  }, p = (h) => {
4933
- m.value = m.value.filter((E, O) => O !== h), i(
4933
+ m.value = m.value.filter((E, R) => R !== h), i(
4934
4934
  "update:modelValue",
4935
4935
  m.value.map((E) => E.value)
4936
4936
  );
@@ -4948,9 +4948,9 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
4948
4948
  },
4949
4949
  { immediate: !0 }
4950
4950
  ), (h, E) => {
4951
- const O = K("FmIcon"), A = K("FmField"), T = K("FmMenuItem"), w = K("FmMenu"), U = K("FmFormGroup"), k = K("FmChipGroup");
4952
- return x(), ae("div", Lu, [
4953
- R(U, {
4951
+ const R = K("FmIcon"), A = K("FmField"), T = K("FmMenuItem"), w = K("FmMenu"), U = K("FmFormGroup"), k = K("FmChipGroup");
4952
+ return x(), re("div", Lu, [
4953
+ O(U, {
4954
4954
  "model-value": h.modelValue,
4955
4955
  disabled: h.disabled,
4956
4956
  focused: v.value,
@@ -4959,7 +4959,7 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
4959
4959
  rules: h.rules
4960
4960
  }, {
4961
4961
  default: W(({ invalid: I }) => [
4962
- R(w, {
4962
+ O(w, {
4963
4963
  disabled: h.disabled,
4964
4964
  ref_key: "fmMenuRef",
4965
4965
  ref: u,
@@ -4967,13 +4967,13 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
4967
4967
  onMenuChanged: E[1] || (E[1] = (N) => v.value = N)
4968
4968
  }, {
4969
4969
  "menu-button": W(() => [
4970
- R(A, {
4970
+ O(A, {
4971
4971
  class: Ke(h.disabled ? "cursor-not-allowed" : "cursor-pointer"),
4972
4972
  focused: v.value,
4973
4973
  invalid: I
4974
4974
  }, {
4975
4975
  append: W(() => [
4976
- R(O, {
4976
+ O(R, {
4977
4977
  color: h.disabled ? "#C7C7CC" : "black",
4978
4978
  name: v.value ? "expand_less" : "expand_more",
4979
4979
  size: "md"
@@ -4991,7 +4991,7 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
4991
4991
  ]),
4992
4992
  default: W(() => [
4993
4993
  B("div", xu, [
4994
- (x(!0), ae(Ve, null, rt(h.items, (N) => (x(), J(T, {
4994
+ (x(!0), re(Ve, null, rt(h.items, (N) => (x(), J(T, {
4995
4995
  key: N.value,
4996
4996
  disabled: N.disabled,
4997
4997
  "has-checkbox": !0,
@@ -5004,7 +5004,7 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
5004
5004
  type: "button",
5005
5005
  onClick: E[0] || (E[0] = (N) => b())
5006
5006
  }, [
5007
- R(O, {
5007
+ O(R, {
5008
5008
  color: "primary",
5009
5009
  name: "add",
5010
5010
  size: "md"
@@ -5018,8 +5018,8 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
5018
5018
  ]),
5019
5019
  _: 1
5020
5020
  }, 8, ["model-value", "disabled", "focused", "helper-state", "helper-text", "rules"]),
5021
- m.value.length > 0 ? (x(), ae("div", Vu, [
5022
- R(k, {
5021
+ m.value.length > 0 ? (x(), re("div", Vu, [
5022
+ O(k, {
5023
5023
  disabled: h.disabled,
5024
5024
  items: m.value.map((I) => ({ label: I.label })),
5025
5025
  removable: "",
@@ -5084,12 +5084,12 @@ const tc = /* @__PURE__ */ ve({
5084
5084
  setup(e, {
5085
5085
  emit: t
5086
5086
  }) {
5087
- const n = e, i = Me(), a = rn(), o = lt(), r = Qe(), l = St(r), s = Ot(l), u = Xa({
5087
+ const n = e, i = Me(), a = rn(), o = lt(), r = Qe(), l = St(r), s = Rt(l), u = Xa({
5088
5088
  dialog: o,
5089
5089
  menuLoader: s
5090
5090
  }), {
5091
5091
  checkMenuIsLoading: m
5092
- } = Ot(St(Qe())), d = t, c = z(() => i.rules.item), p = z(() => i.categorizedItems), b = z(() => {
5092
+ } = Rt(St(Qe())), d = t, c = z(() => i.rules.item), p = z(() => i.categorizedItems), b = z(() => {
5093
5093
  const D = p.value.map((C) => ({
5094
5094
  label: C.name,
5095
5095
  value: C.id
@@ -5113,10 +5113,10 @@ const tc = /* @__PURE__ */ ve({
5113
5113
  }
5114
5114
  d("update:form", "category", C._id), d("update:form", "additionalCategories", $);
5115
5115
  }
5116
- }), O = ie(), A = ({
5116
+ }), R = ie(), A = ({
5117
5117
  multiple: D = !0
5118
- } = {}) => n.isAddon ? null : R(Ur, {
5119
- ref: O,
5118
+ } = {}) => n.isAddon ? null : O(Ur, {
5119
+ ref: R,
5120
5120
  disabled: !c.value.category || n.isAddon || m(),
5121
5121
  items: b.value,
5122
5122
  modelValue: E.value,
@@ -5124,18 +5124,18 @@ const tc = /* @__PURE__ */ ve({
5124
5124
  placeholder: V("menu.product.form.detail.category.placeholder"),
5125
5125
  multiple: D
5126
5126
  }, {
5127
- "append-menu": () => R("button", {
5127
+ "append-menu": () => O("button", {
5128
5128
  class: "flex items-center py-8 px-16 space-x-8",
5129
5129
  type: "button",
5130
5130
  onClick: () => {
5131
5131
  var C;
5132
- (C = O.value) == null || C.hideMenu(), u.create();
5132
+ (C = R.value) == null || C.hideMenu(), u.create();
5133
5133
  }
5134
- }, [R(Be.FmIcon, {
5134
+ }, [O(Be.FmIcon, {
5135
5135
  color: "primary",
5136
5136
  name: "add",
5137
5137
  size: "md"
5138
- }, null), R("p", {
5138
+ }, null), O("p", {
5139
5139
  class: "fm-typo-en-body-lg-600 text-fm-color-primary"
5140
5140
  }, [V("menu.product.form.detail.category.add_new")])])
5141
5141
  });
@@ -5197,12 +5197,12 @@ const tc = /* @__PURE__ */ ve({
5197
5197
  }, {
5198
5198
  default: W(() => {
5199
5199
  var Q, le;
5200
- return [B("div", Gu, [B("div", Bu, [B("div", Wu, [B("div", Hu, [R($, {
5200
+ return [B("div", Gu, [B("div", Bu, [B("div", Wu, [B("div", Hu, [O($, {
5201
5201
  "model-value": D.form.code,
5202
5202
  placeholder: ((Q = D.fallback) == null ? void 0 : Q.code) || y(V)("menu.product.form.detail.fields.code.placeholder"),
5203
5203
  label: y(V)("menu.product.form.detail.fields.code.label"),
5204
- "onUpdate:modelValue": C[0] || (C[0] = (re) => d("update:form", "code", y(la)(re, D.isOverride)))
5205
- }, null, 8, ["model-value", "placeholder", "label"])]), B("div", ju, [R($, {
5204
+ "onUpdate:modelValue": C[0] || (C[0] = (oe) => d("update:form", "code", y(la)(oe, D.isOverride)))
5205
+ }, null, 8, ["model-value", "placeholder", "label"])]), B("div", ju, [O($, {
5206
5206
  id: "product-name",
5207
5207
  disabled: !c.value.name,
5208
5208
  "helper-text": T.value > 0 ? y(V)("menu.product.form.detail.fields.name.duplicate_warning", {
@@ -5210,56 +5210,56 @@ const tc = /* @__PURE__ */ ve({
5210
5210
  }) : void 0,
5211
5211
  "model-value": D.form.name,
5212
5212
  placeholder: (le = D.fallback) == null ? void 0 : le.name,
5213
- rules: c.value.name ? [(re) => !!re || y(V)("menu.product.form.detail.fields.name.required")] : void 0,
5213
+ rules: c.value.name ? [(oe) => !!oe || y(V)("menu.product.form.detail.fields.name.required")] : void 0,
5214
5214
  "label-mark": "required",
5215
5215
  autofocus: "",
5216
5216
  label: y(V)("menu.product.form.detail.fields.name.label"),
5217
- "onUpdate:modelValue": C[1] || (C[1] = (re) => d("update:form", "name", re))
5218
- }, null, 8, ["disabled", "helper-text", "model-value", "placeholder", "rules", "label"])])]), B("div", Ku, [R(ue, {
5217
+ "onUpdate:modelValue": C[1] || (C[1] = (oe) => d("update:form", "name", oe))
5218
+ }, null, 8, ["disabled", "helper-text", "model-value", "placeholder", "rules", "label"])])]), B("div", Ku, [O(ue, {
5219
5219
  disabled: !c.value.description,
5220
5220
  "model-value": D.form.description || void 0,
5221
5221
  placeholder: y(V)("menu.product.form.detail.fields.description.placeholder"),
5222
- "onUpdate:modelValue": C[2] || (C[2] = (re) => d("update:form", "description", re.trim())),
5222
+ "onUpdate:modelValue": C[2] || (C[2] = (oe) => d("update:form", "description", oe.trim())),
5223
5223
  class: "description"
5224
5224
  }, {
5225
5225
  label: W(() => [B("p", Yu, [Bn(Ee(y(V)("menu.product.form.detail.fields.description.label")) + " ", 1), B("span", Xu, Ee(y(V)("menu.product.form.detail.fields.description.optional")), 1)])]),
5226
5226
  _: 1
5227
- }, 8, ["disabled", "model-value", "placeholder"]), Xt(R(Ho, {
5227
+ }, 8, ["disabled", "model-value", "placeholder"]), Xt(O(Ho, {
5228
5228
  class: "absolute top-32 right-4 cursor-pointer",
5229
5229
  onClick: I
5230
- }, null, 512), [[ne, y(yo)("Suggest description")]])])]), R(Is, {
5230
+ }, null, 512), [[ne, y(yo)("Suggest description")]])])]), O(Is, {
5231
5231
  disabled: !c.value.thumbnail,
5232
5232
  "model-value": D.thumbnail,
5233
- "onUpdate:modelValue": C[3] || (C[3] = (re) => d("update:thumbnail", re)),
5234
- "onReset:modelValue": C[4] || (C[4] = (re) => d("reset:thumbnail"))
5235
- }, null, 8, ["disabled", "model-value"])]), R(bt, {
5233
+ "onUpdate:modelValue": C[3] || (C[3] = (oe) => d("update:thumbnail", oe)),
5234
+ "onReset:modelValue": C[4] || (C[4] = (oe) => d("reset:thumbnail"))
5235
+ }, null, 8, ["disabled", "model-value"])]), O(bt, {
5236
5236
  label: y(i).isV4 ? y(V)("menu.product.form.detail.category.label") : y(V)("menu.product.form.detail.category.label_singular")
5237
5237
  }, {
5238
5238
  default: W(() => [_.value ? (x(), J(H, {
5239
5239
  key: 0,
5240
5240
  disabled: !c.value.category,
5241
5241
  "model-value": w.value,
5242
- "onUpdate:modelValue": C[5] || (C[5] = (re) => U(re))
5242
+ "onUpdate:modelValue": C[5] || (C[5] = (oe) => U(oe))
5243
5243
  }, {
5244
- default: W(() => [B("div", qu, [B("div", Ju, [R(de, {
5244
+ default: W(() => [B("div", qu, [B("div", Ju, [O(de, {
5245
5245
  disabled: S.value || !c.value.category,
5246
5246
  value: Mt.PRODUCT,
5247
5247
  label: y(V)("menu.product.form.detail.category.options.product.label"),
5248
5248
  sublabel: y(V)("menu.product.form.detail.category.options.product.sublabel")
5249
- }, null, 8, ["disabled", "value", "label", "sublabel"]), R(Fr, null, {
5249
+ }, null, 8, ["disabled", "value", "label", "sublabel"]), O(Fr, null, {
5250
5250
  default: W(() => [y(i).isV4 ? (x(), J(A, {
5251
5251
  key: 0
5252
5252
  })) : se("", !0)]),
5253
5253
  _: 1
5254
- })]), S.value ? (x(), ae("div", Zu, [R(we, {
5254
+ })]), S.value ? (x(), re("div", Zu, [O(we, {
5255
5255
  title: y(V)("menu.product.form.detail.category.add_first"),
5256
5256
  variant: "info"
5257
- }, null, 8, ["title"]), R(G, {
5257
+ }, null, 8, ["title"]), O(G, {
5258
5258
  label: y(V)("menu.common.actions.add"),
5259
5259
  "prepend-icon": "add",
5260
5260
  variant: "secondary",
5261
5261
  onClick: y(u).create
5262
- }, null, 8, ["label", "onClick"])])) : se("", !0), R(de, {
5262
+ }, null, 8, ["label", "onClick"])])) : se("", !0), O(de, {
5263
5263
  value: Mt.ADD_ON,
5264
5264
  label: y(V)("menu.product.form.detail.category.options.addon.label"),
5265
5265
  sublabel: y(V)("menu.product.form.detail.category.options.addon.sublabel")
@@ -5268,10 +5268,10 @@ const tc = /* @__PURE__ */ ve({
5268
5268
  }, 8, ["disabled", "model-value"])) : se("", !0), y(i).isV4 ? se("", !0) : (x(), J(Z, {
5269
5269
  key: 1,
5270
5270
  "model-value": D.form.category,
5271
- rules: [(re) => !re && !D.isOverride ? "Category is required" : !0],
5272
- "onUpdate:modelValue": C[6] || (C[6] = (re) => d("update:form", "category", re))
5271
+ rules: [(oe) => !oe && !D.isOverride ? "Category is required" : !0],
5272
+ "onUpdate:modelValue": C[6] || (C[6] = (oe) => d("update:form", "category", oe))
5273
5273
  }, {
5274
- default: W(() => [R(A, {
5274
+ default: W(() => [O(A, {
5275
5275
  multiple: !1
5276
5276
  })]),
5277
5277
  _: 1
@@ -5281,35 +5281,36 @@ const tc = /* @__PURE__ */ ve({
5281
5281
  key: 0,
5282
5282
  label: y(V)("menu.product.form.detail.path.label")
5283
5283
  }, {
5284
- default: W(() => [B("div", Qu, [R($u, {
5284
+ default: W(() => [B("div", Qu, [O($u, {
5285
5285
  modelValue: P.value,
5286
- "onUpdate:modelValue": C[7] || (C[7] = (re) => P.value = re),
5286
+ "onUpdate:modelValue": C[7] || (C[7] = (oe) => P.value = oe),
5287
5287
  items: M.value,
5288
5288
  placeholder: y(V)("menu.product.form.detail.path.placeholder"),
5289
5289
  disabled: !c.value.category,
5290
5290
  "is-local-only": !1
5291
5291
  }, null, 8, ["modelValue", "items", "placeholder", "disabled"])])]),
5292
5292
  _: 1
5293
- }, 8, ["label"])) : se("", !0), B("div", ec, [R(te, {
5293
+ }, 8, ["label"])) : se("", !0), B("div", ec, [O(te, {
5294
5294
  label: "Shelf Life (mins)",
5295
- "model-value": D.form.shelfLife
5296
- }, null, 8, ["model-value"])]), R(hi, {
5295
+ "model-value": D.form.shelfLife ?? null,
5296
+ "onUpdate:modelValue": C[8] || (C[8] = (oe) => oe && d("update:form", "shelfLife", oe))
5297
+ }, null, 8, ["model-value"])]), O(hi, {
5297
5298
  disabled: !c.value.orderFrom,
5298
5299
  "model-value": D.form.orderFrom,
5299
5300
  "order-from-none": c.value.orderFromNone,
5300
5301
  required: c.value.orderFrom,
5301
5302
  "default-label": y(V)("menu.product.form.detail.order_from.default"),
5302
5303
  label: y(V)("menu.product.form.detail.order_from.label"),
5303
- "onUpdate:modelValue": C[8] || (C[8] = (re) => re && d("update:form", "orderFrom", re))
5304
+ "onUpdate:modelValue": C[9] || (C[9] = (oe) => oe && d("update:form", "orderFrom", oe))
5304
5305
  }, null, 8, ["disabled", "model-value", "order-from-none", "required", "default-label", "label"])];
5305
5306
  }),
5306
5307
  _: 1
5307
5308
  }, 8, ["title"]);
5308
5309
  };
5309
5310
  }
5310
- }), nc = /* @__PURE__ */ Ct(tc, [["__scopeId", "data-v-35a1af31"]]), ic = {}, oc = { class: "overflow-x-auto" }, ac = { class: "xs:w-[600px]" };
5311
+ }), nc = /* @__PURE__ */ Ct(tc, [["__scopeId", "data-v-f0d4faa5"]]), ic = {}, oc = { class: "overflow-x-auto" }, ac = { class: "xs:w-[600px]" };
5311
5312
  function rc(e, t) {
5312
- return x(), ae("div", oc, [
5313
+ return x(), re("div", oc, [
5313
5314
  B("div", ac, [
5314
5315
  Ce(e.$slots, "default")
5315
5316
  ])
@@ -5366,7 +5367,7 @@ const ua = /* @__PURE__ */ Ct(ic, [["render", rc]]), sc = /* @__PURE__ */ ve({
5366
5367
  }
5367
5368
  }), lc = {}, uc = { class: "flex gap-16" };
5368
5369
  function cc(e, t) {
5369
- return x(), ae("div", uc, [
5370
+ return x(), re("div", uc, [
5370
5371
  Ce(e.$slots, "default")
5371
5372
  ]);
5372
5373
  }
@@ -5404,9 +5405,9 @@ const dc = /* @__PURE__ */ Ct(lc, [["render", cc]]), mc = { class: "fm-typo-en-t
5404
5405
  const { t: d } = Se(), c = Eo();
5405
5406
  return (p, b) => {
5406
5407
  const _ = K("fm-text-field"), S = K("fm-card"), v = K("fm-button"), h = K("fm-side-sheet");
5407
- return x(), ae(Ve, null, [
5408
+ return x(), re(Ve, null, [
5408
5409
  Ce(p.$slots, "default", { trigger: o }),
5409
- R(h, {
5410
+ O(h, {
5410
5411
  id: "inventory-form",
5411
5412
  modelValue: a.value,
5412
5413
  "onUpdate:modelValue": b[2] || (b[2] = (E) => a.value = E),
@@ -5424,13 +5425,13 @@ const dc = /* @__PURE__ */ Ct(lc, [["render", cc]]), mc = { class: "fm-typo-en-t
5424
5425
  ]),
5425
5426
  "side-sheet-footer": W(() => [
5426
5427
  B("div", fc, [
5427
- R(v, {
5428
+ O(v, {
5428
5429
  label: y(d)("menu.common.actions.add"),
5429
5430
  size: "lg",
5430
5431
  type: "submit",
5431
5432
  variant: "primary"
5432
5433
  }, null, 8, ["label"]),
5433
- R(v, {
5434
+ O(v, {
5434
5435
  label: y(d)("menu.common.actions.cancel"),
5435
5436
  size: "lg",
5436
5437
  variant: "tertiary",
@@ -5440,17 +5441,17 @@ const dc = /* @__PURE__ */ Ct(lc, [["render", cc]]), mc = { class: "fm-typo-en-t
5440
5441
  ]),
5441
5442
  default: W(() => [
5442
5443
  B("div", pc, [
5443
- R(_, {
5444
+ O(_, {
5444
5445
  "model-value": p.name,
5445
5446
  disabled: "",
5446
5447
  label: y(d)("menu.inventory.form.product_name")
5447
5448
  }, null, 8, ["model-value", "label"]),
5448
- R(S, {
5449
+ O(S, {
5449
5450
  class: "p-16 space-y-24",
5450
5451
  variant: "outlined"
5451
5452
  }, {
5452
5453
  default: W(() => [
5453
- R(y(Ja), {
5454
+ O(y(Ja), {
5454
5455
  modelValue: r.value,
5455
5456
  "onUpdate:modelValue": b[0] || (b[0] = (E) => r.value = E)
5456
5457
  }, null, 8, ["modelValue"])
@@ -5483,7 +5484,7 @@ function gc() {
5483
5484
  l = c;
5484
5485
  }, m = (c) => {
5485
5486
  s = c;
5486
- }, d = R(o, {
5487
+ }, d = O(o, {
5487
5488
  ...i,
5488
5489
  // close event from the component
5489
5490
  "onUpdate:show": (c) => {
@@ -5538,7 +5539,7 @@ const ca = /* @__PURE__ */ ve({
5538
5539
  cell: (r) => {
5539
5540
  var u, m;
5540
5541
  const l = (u = n.fallback) == null ? void 0 : u[r.row.original.key], s = l ? Gt(l) : void 0;
5541
- return R(Ft, {
5542
+ return O(Ft, {
5542
5543
  required: !1,
5543
5544
  nullable: !0,
5544
5545
  min: n.allowNegativePrice ? void 0 : 0,
@@ -5551,7 +5552,7 @@ const ca = /* @__PURE__ */ ve({
5551
5552
  }];
5552
5553
  return (r, l) => {
5553
5554
  const s = K("FmTable");
5554
- return x(), ae("div", null, [R(s, {
5555
+ return x(), re("div", null, [O(s, {
5555
5556
  "column-defs": o,
5556
5557
  "row-data": r.priceTiers,
5557
5558
  "page-size": r.priceTiers.length,
@@ -5598,13 +5599,13 @@ const ca = /* @__PURE__ */ ve({
5598
5599
  ]),
5599
5600
  "side-sheet-footer": W(() => [
5600
5601
  B("div", bc, [
5601
- R(S, {
5602
+ O(S, {
5602
5603
  label: l.value,
5603
5604
  size: "lg",
5604
5605
  type: "submit",
5605
5606
  variant: "primary"
5606
5607
  }, null, 8, ["label"]),
5607
- R(S, {
5608
+ O(S, {
5608
5609
  label: y(n)("common.cancel"),
5609
5610
  size: "lg",
5610
5611
  variant: "tertiary",
@@ -5614,12 +5615,12 @@ const ca = /* @__PURE__ */ ve({
5614
5615
  ]),
5615
5616
  default: W(() => [
5616
5617
  B("div", _c, [
5617
- R(bt, {
5618
+ O(bt, {
5618
5619
  label: y(n)("menu.price_tier.price_group"),
5619
5620
  description: y(n)("menu.price_tier.description")
5620
5621
  }, {
5621
5622
  append: W(() => [
5622
- R(_, {
5623
+ O(_, {
5623
5624
  class: "min-w-fit",
5624
5625
  label: y(n)("menu.price_tier.add_price_group"),
5625
5626
  icon: "add",
@@ -5628,7 +5629,7 @@ const ca = /* @__PURE__ */ ve({
5628
5629
  }, null, 8, ["label", "onClick"])
5629
5630
  ]),
5630
5631
  default: W(() => [
5631
- R(ca, {
5632
+ O(ca, {
5632
5633
  "price-tiers": y(u).priceTiers.value,
5633
5634
  "model-value": m.value,
5634
5635
  fallback: p.fallback,
@@ -5676,7 +5677,7 @@ const ca = /* @__PURE__ */ ve({
5676
5677
  placement: "top"
5677
5678
  }, {
5678
5679
  default: W(() => [
5679
- R(m, {
5680
+ O(m, {
5680
5681
  icon: "price_change",
5681
5682
  variant: "tertiary",
5682
5683
  "text-color": y(ft).NeutralGray400,
@@ -5697,7 +5698,7 @@ const ca = /* @__PURE__ */ ve({
5697
5698
  class: "xs:overflow-x-scroll"
5698
5699
  }, Sc = {
5699
5700
  class: "xs:min-w-[640px]"
5700
- }, Oc = /* @__PURE__ */ ve({
5701
+ }, Rc = /* @__PURE__ */ ve({
5701
5702
  __name: "OptionTable",
5702
5703
  props: {
5703
5704
  config: {},
@@ -5734,7 +5735,7 @@ const ca = /* @__PURE__ */ ve({
5734
5735
  }), S = z(() => !0), v = (G) => G ? Gt(G, !1) : "", h = (G) => {
5735
5736
  var H;
5736
5737
  return G == null ? "" : (H = Ma()[G]) == null ? void 0 : H.label;
5737
- }, E = z(() => Object.values(b.value)), O = ie({}), {
5738
+ }, E = z(() => Object.values(b.value)), R = ie({}), {
5738
5739
  t: A
5739
5740
  } = Se(), T = ie([{
5740
5741
  accessorKey: "isDefault",
@@ -5746,18 +5747,18 @@ const ca = /* @__PURE__ */ ve({
5746
5747
  if ((le = (Q = G.row.original) == null ? void 0 : Q.items) != null && le.length)
5747
5748
  return null;
5748
5749
  const H = G.row.depth > 0, Z = G.row.original, te = !_(Z.combinationKey).isDefault || Z.orderFrom === q.F_ORDER_FROM.enum.NONE, ne = !!G.getValue();
5749
- return R(Be.FmCheckbox, {
5750
+ return O(Be.FmCheckbox, {
5750
5751
  value: "default",
5751
5752
  modelValue: ne,
5752
5753
  disabled: te,
5753
- "onUpdate:modelValue": (re) => {
5754
+ "onUpdate:modelValue": (oe) => {
5754
5755
  var Ae;
5755
5756
  if (H) {
5756
5757
  const je = (Ae = G.row.getParentRow()) == null ? void 0 : Ae.original;
5757
5758
  if (!je) return;
5758
- I(je._id, Z.combinationKey ?? "", "isDefault", re);
5759
+ I(je._id, Z.combinationKey ?? "", "isDefault", oe);
5759
5760
  } else
5760
- k(Z._id, "isDefault", re);
5761
+ k(Z._id, "isDefault", oe);
5761
5762
  }
5762
5763
  }, null);
5763
5764
  }
@@ -5768,12 +5769,12 @@ const ca = /* @__PURE__ */ ve({
5768
5769
  size: 100,
5769
5770
  cell: (G) => {
5770
5771
  const H = G.getValue();
5771
- return R(Be.FmTooltip, {
5772
+ return O(Be.FmTooltip, {
5772
5773
  class: "flex",
5773
5774
  content: H,
5774
5775
  zIndex: 110
5775
5776
  }, {
5776
- default: () => [R("div", {
5777
+ default: () => [O("div", {
5777
5778
  class: "break-all max-w-[100px]"
5778
5779
  }, [H])]
5779
5780
  });
@@ -5790,9 +5791,9 @@ const ca = /* @__PURE__ */ ve({
5790
5791
  disabled: te,
5791
5792
  rules: Q ? void 0 : [(le) => le.length > 0 || A("menu.group.option.product_title_required")],
5792
5793
  "onUpdate:modelValue": (le) => {
5793
- var re;
5794
+ var oe;
5794
5795
  if (ne) {
5795
- const Ae = (re = G.row.getParentRow()) == null ? void 0 : re.original;
5796
+ const Ae = (oe = G.row.getParentRow()) == null ? void 0 : oe.original;
5796
5797
  if (!Ae) return;
5797
5798
  I(Ae._id, Z.combinationKey ?? "", "name", le);
5798
5799
  } else
@@ -5801,8 +5802,8 @@ const ca = /* @__PURE__ */ ve({
5801
5802
  class: "min-w-[300px]"
5802
5803
  }, {
5803
5804
  append: () => {
5804
- var le, re;
5805
- return (re = (le = G.row.original) == null ? void 0 : le.items) != null && re.length ? Fe(Be.FmIcon, {
5805
+ var le, oe;
5806
+ return (oe = (le = G.row.original) == null ? void 0 : le.items) != null && oe.length ? Fe(Be.FmIcon, {
5806
5807
  name: "keyboard_arrow_up",
5807
5808
  onClick: G.row.getToggleExpandedHandler(),
5808
5809
  class: ["cursor-pointer", "transition-transform", G.row.getIsExpanded() ? "transform rotate-180" : ""],
@@ -5831,9 +5832,9 @@ const ca = /* @__PURE__ */ ve({
5831
5832
  nullable: !!ne,
5832
5833
  min: S.value ? void 0 : 0,
5833
5834
  "onUpdate:modelValue": (le) => {
5834
- var re;
5835
+ var oe;
5835
5836
  if (Q) {
5836
- const Ae = (re = G.row.getParentRow()) == null ? void 0 : re.original;
5837
+ const Ae = (oe = G.row.getParentRow()) == null ? void 0 : oe.original;
5837
5838
  if (!Ae) return;
5838
5839
  I(
5839
5840
  Ae._id,
@@ -5865,10 +5866,10 @@ const ca = /* @__PURE__ */ ve({
5865
5866
  "onUpdate:modelValue": (Q) => {
5866
5867
  var le;
5867
5868
  if (ne) {
5868
- const re = (le = G.row.getParentRow()) == null ? void 0 : le.original;
5869
- if (!re) return;
5869
+ const oe = (le = G.row.getParentRow()) == null ? void 0 : le.original;
5870
+ if (!oe) return;
5870
5871
  I(
5871
- re._id,
5872
+ oe._id,
5872
5873
  Z.combinationKey ?? "",
5873
5874
  // @ts-ignore
5874
5875
  "orderFrom",
@@ -5891,9 +5892,9 @@ const ca = /* @__PURE__ */ ve({
5891
5892
  size: 80,
5892
5893
  cell: (G) => {
5893
5894
  const H = G.row.original, Z = H.orderFrom === q.F_ORDER_FROM.enum.NONE, te = G.row.depth > 0;
5894
- return R("div", {
5895
+ return O("div", {
5895
5896
  class: "flex items-center justify-end"
5896
- }, [_(null).priceTier && R(da, {
5897
+ }, [_(null).priceTier && O(da, {
5897
5898
  priceTiers: H.priceTiers,
5898
5899
  disabled: Z,
5899
5900
  "onUpdate:priceTiers": (ne) => {
@@ -5911,7 +5912,7 @@ const ca = /* @__PURE__ */ ve({
5911
5912
  } else
5912
5913
  k(H._id, "priceTiers", ne);
5913
5914
  }
5914
- }, null), _(H.combinationKey).inventory && R(li, {
5915
+ }, null), _(H.combinationKey).inventory && O(li, {
5915
5916
  title: "Inventory",
5916
5917
  initialValue: H.inventoryBindings ?? [],
5917
5918
  name: H.name ?? H.fallbackName ?? "",
@@ -5934,14 +5935,14 @@ const ca = /* @__PURE__ */ ve({
5934
5935
  }, {
5935
5936
  default: ({
5936
5937
  trigger: ne
5937
- }) => R(K("fm-tooltip"), {
5938
+ }) => O(K("fm-tooltip"), {
5938
5939
  content: "Inventory",
5939
5940
  zIndex: 110
5940
5941
  }, {
5941
5942
  default: () => {
5942
5943
  var Q;
5943
- return [R(K("fm-button"), {
5944
- variant: Rt.Tertiary,
5944
+ return [O(K("fm-button"), {
5945
+ variant: Ot.Tertiary,
5945
5946
  disabled: Z,
5946
5947
  prependIcon: "inventory_2",
5947
5948
  overwriteIconOutline: (Q = H.inventoryBindings) != null && Q.length ? "filled" : "outline",
@@ -5950,8 +5951,8 @@ const ca = /* @__PURE__ */ ve({
5950
5951
  }, null)];
5951
5952
  }
5952
5953
  })
5953
- }), _(H.combinationKey).link && R(K("fm-button"), {
5954
- variant: Rt.Tertiary,
5954
+ }), _(H.combinationKey).link && O(K("fm-button"), {
5955
+ variant: Ot.Tertiary,
5955
5956
  prependIcon: "delete",
5956
5957
  textColor: ft.NeutralGray400,
5957
5958
  disabled: te,
@@ -6000,8 +6001,8 @@ const ca = /* @__PURE__ */ ve({
6000
6001
  });
6001
6002
  }
6002
6003
  function I(G, H, Z, te) {
6003
- var re, Ae;
6004
- const ne = be(n.group), Q = (re = ne.items[G].items) == null ? void 0 : re.findIndex((je) => je.combinationKey === H);
6004
+ var oe, Ae;
6005
+ const ne = be(n.group), Q = (oe = ne.items[G].items) == null ? void 0 : oe.findIndex((je) => je.combinationKey === H);
6005
6006
  if (!sn.isSet(Q)) return;
6006
6007
  let le = (Ae = ne.items[G].items) == null ? void 0 : Ae[Q];
6007
6008
  le && (le = {
@@ -6037,11 +6038,11 @@ const ca = /* @__PURE__ */ ve({
6037
6038
  const ne = V.value[te._id];
6038
6039
  if (!ne || !ne.variant || ((le = ne.variant.variantCombinations) == null ? void 0 : le.length) === 0)
6039
6040
  return;
6040
- (ne.variant.variantCombinations || []).forEach((re) => {
6041
- const Ae = `${re._id}:${re.combinationKey}`, je = !Z.has(Ae);
6041
+ (ne.variant.variantCombinations || []).forEach((oe) => {
6042
+ const Ae = `${oe._id}:${oe.combinationKey}`, je = !Z.has(Ae);
6042
6043
  H.push({
6043
- _id: re._id,
6044
- combinationKey: re.combinationKey,
6044
+ _id: oe._id,
6045
+ combinationKey: oe.combinationKey,
6045
6046
  orderFrom: je ? q.F_ORDER_FROM.enum.NONE : q.F_ORDER_FROM.enum.ALL
6046
6047
  });
6047
6048
  });
@@ -6079,9 +6080,9 @@ const ca = /* @__PURE__ */ ve({
6079
6080
  title: y(A)("menu.group.option.title"),
6080
6081
  "sub-title": G.config.link() && u.value ? y(A)("menu.group.option.subtitle") : ""
6081
6082
  }, {
6082
- "append-title": W(() => [G.config.link() ? (x(), ae(Ve, {
6083
+ "append-title": W(() => [G.config.link() ? (x(), re(Ve, {
6083
6084
  key: 0
6084
- }, [u.value ? (x(), ae("div", wc, [R(xa, {
6085
+ }, [u.value ? (x(), re("div", wc, [O(xa, {
6085
6086
  "categorized-items": G.categorizedItems,
6086
6087
  "initial-value": d.value,
6087
6088
  "show-variant": G.config.bindToVariant,
@@ -6093,7 +6094,7 @@ const ca = /* @__PURE__ */ ve({
6093
6094
  }, {
6094
6095
  default: W(({
6095
6096
  trigger: ne
6096
- }) => [R(Z, {
6097
+ }) => [O(Z, {
6097
6098
  "text-color": y(ft).ColorPrimary,
6098
6099
  "border-color": y(ft).ColorPrimary,
6099
6100
  variant: "secondary",
@@ -6102,7 +6103,7 @@ const ca = /* @__PURE__ */ ve({
6102
6103
  onClick: ne
6103
6104
  }, null, 8, ["text-color", "border-color", "label", "onClick"])]),
6104
6105
  _: 1
6105
- }, 8, ["categorized-items", "initial-value", "show-variant", "title"])])) : (x(), ae("div", Ec, [R(Z, {
6106
+ }, 8, ["categorized-items", "initial-value", "show-variant", "title"])])) : (x(), re("div", Ec, [O(Z, {
6106
6107
  "text-color": y(ft).ColorPrimary,
6107
6108
  "border-color": y(ft).ColorPrimary,
6108
6109
  variant: "secondary",
@@ -6110,18 +6111,18 @@ const ca = /* @__PURE__ */ ve({
6110
6111
  "prepend-icon": "add",
6111
6112
  onClick: U
6112
6113
  }, null, 8, ["text-color", "border-color", "label"])]))], 64)) : se("", !0)]),
6113
- default: W(() => [B("div", kc, [B("div", Sc, [R(te, {
6114
+ default: W(() => [B("div", kc, [B("div", Sc, [O(te, {
6114
6115
  "column-defs": T.value,
6115
6116
  "column-visibility": w.value,
6116
6117
  draggable: !we.value && _(null).name,
6117
- "expanded-state": l.value ? {} : O.value,
6118
+ "expanded-state": l.value ? {} : R.value,
6118
6119
  "get-sub-row": $,
6119
6120
  "page-size": 999,
6120
6121
  "row-data": E.value,
6121
6122
  "search-value": y(c),
6122
6123
  "shrink-at": !1,
6123
6124
  "hide-footer": "",
6124
- "onUpdate:expandedState": H[1] || (H[1] = (ne) => O.value = ne),
6125
+ "onUpdate:expandedState": H[1] || (H[1] = (ne) => R.value = ne),
6125
6126
  onDndChanged: H[2] || (H[2] = (ne) => ue(ne)),
6126
6127
  "onUpdate:dragging": H[3] || (H[3] = (ne) => l.value = ne)
6127
6128
  }, null, 8, ["column-defs", "column-visibility", "draggable", "expanded-state", "row-data", "search-value"])])])]),
@@ -6130,7 +6131,7 @@ const ca = /* @__PURE__ */ ve({
6130
6131
  };
6131
6132
  }
6132
6133
  });
6133
- function Rc(e) {
6134
+ function Oc(e) {
6134
6135
  const { t } = Se();
6135
6136
  function n(r) {
6136
6137
  let l = 0;
@@ -6195,7 +6196,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6195
6196
  emits: ["update:group", "submit:group", "status:show"],
6196
6197
  setup(e, { expose: t, emit: n }) {
6197
6198
  let i = e;
6198
- const a = n, o = Me(), r = rn(), l = lt(), s = Qe(), u = Ot(St(s)), { countDefaultItems: m, validateGroupItems: d, minMaxValidationRules: c } = Rc(
6199
+ const a = n, o = Me(), r = rn(), l = lt(), s = Qe(), u = Rt(St(s)), { countDefaultItems: m, validateGroupItems: d, minMaxValidationRules: c } = Oc(
6199
6200
  () => i.group
6200
6201
  ), p = ie(!1), b = ie(!1), _ = (C) => {
6201
6202
  sn.isBoolean(C) ? b.value = C : b.value = !b.value;
@@ -6213,12 +6214,12 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6213
6214
  value: q.F_ADDON_GROUP_TYPE.enum.DYNAMIC
6214
6215
  }
6215
6216
  ]);
6216
- function O(C) {
6217
+ function R(C) {
6217
6218
  a("update:group", C);
6218
6219
  }
6219
6220
  function A(C) {
6220
6221
  function $() {
6221
- O({
6222
+ R({
6222
6223
  ...i.group,
6223
6224
  items: {},
6224
6225
  type: C
@@ -6238,7 +6239,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6238
6239
  }).onPrimary($) : $();
6239
6240
  }
6240
6241
  function T(C) {
6241
- return new Ro(o, u.updateMenu, l).mapGroups(
6242
+ return new Oo(o, u.updateMenu, l).mapGroups(
6242
6243
  [C],
6243
6244
  S.value.isOverride
6244
6245
  )[0];
@@ -6252,7 +6253,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6252
6253
  async function I() {
6253
6254
  var C;
6254
6255
  if (i.action === "add") {
6255
- const { group: $, linkItems: ue } = Oo(i.group), de = {
6256
+ const { group: $, linkItems: ue } = Ro(i.group), de = {
6256
6257
  module: q.F_MENU_MODULE_V4_KEY.enum.group,
6257
6258
  operation: ze.F_OPERATION_TYPE.create,
6258
6259
  data: $,
@@ -6298,7 +6299,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6298
6299
  typeof we == "string" && we && !((ue = C[de]) != null && ue.includes(we)) && (C[de] = [...C[de] || [], we]);
6299
6300
  }), C;
6300
6301
  }), P = (C) => {
6301
- i.group && O({
6302
+ i.group && R({
6302
6303
  ...i.group,
6303
6304
  customAttributes: C
6304
6305
  });
@@ -6315,9 +6316,9 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6315
6316
  const { t: D } = Se();
6316
6317
  return (C, $) => {
6317
6318
  const ue = K("fm-text-field"), de = K("fm-stepper-field"), we = K("FmFormGroup"), G = K("fm-radio"), H = K("fm-radio-group"), Z = K("fm-switch"), te = K("fm-button"), ne = K("fm-side-sheet");
6318
- return x(), ae(Ve, null, [
6319
+ return x(), re(Ve, null, [
6319
6320
  Ce(C.$slots, "default", { trigger: _ }),
6320
- R(ne, {
6321
+ O(ne, {
6321
6322
  id: "group-form",
6322
6323
  modelValue: b.value,
6323
6324
  "onUpdate:modelValue": $[8] || ($[8] = (Q) => b.value = Q),
@@ -6334,14 +6335,14 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6334
6335
  ]),
6335
6336
  "side-sheet-footer": W(() => [
6336
6337
  B("div", Ic, [
6337
- R(te, {
6338
+ O(te, {
6338
6339
  label: y(tr)(k.value),
6339
6340
  loading: p.value,
6340
6341
  size: "lg",
6341
6342
  type: "submit",
6342
6343
  variant: "primary"
6343
6344
  }, null, 8, ["label", "loading"]),
6344
- R(te, {
6345
+ O(te, {
6345
6346
  label: y(D)("menu.common.actions.cancel"),
6346
6347
  size: "lg",
6347
6348
  variant: "tertiary",
@@ -6350,12 +6351,12 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6350
6351
  ])
6351
6352
  ]),
6352
6353
  default: W(() => [
6353
- C.group ? (x(), ae("div", Ac, [
6354
+ C.group ? (x(), re("div", Ac, [
6354
6355
  Ce(C.$slots, "variant-section"),
6355
- R(Ua, null, {
6356
+ O(Ua, null, {
6356
6357
  default: W(() => [
6357
6358
  B("div", null, [
6358
- R(ue, {
6359
+ O(ue, {
6359
6360
  modelValue: C.group.name,
6360
6361
  "onUpdate:modelValue": $[0] || ($[0] = (Q) => C.group.name = Q),
6361
6362
  disabled: h("name"),
@@ -6364,14 +6365,14 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6364
6365
  label: y(D)("menu.common.labels.group_name")
6365
6366
  }, null, 8, ["modelValue", "disabled", "rules", "label"])
6366
6367
  ]),
6367
- R(we, {
6368
+ O(we, {
6368
6369
  "model-value": C.group.min + " " + C.group.max,
6369
6370
  rules: y(c)
6370
6371
  }, {
6371
6372
  default: W(() => [
6372
- R(dc, null, {
6373
+ O(dc, null, {
6373
6374
  default: W(() => [
6374
- R(de, {
6375
+ O(de, {
6375
6376
  modelValue: C.group.min,
6376
6377
  "onUpdate:modelValue": $[1] || ($[1] = (Q) => C.group.min = Q),
6377
6378
  disabled: h("min"),
@@ -6379,7 +6380,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6379
6380
  class: "flex-1",
6380
6381
  label: y(D)("menu.common.labels.min_select")
6381
6382
  }, null, 8, ["modelValue", "disabled", "label"]),
6382
- R(de, {
6383
+ O(de, {
6383
6384
  modelValue: C.group.max,
6384
6385
  "onUpdate:modelValue": $[2] || ($[2] = (Q) => C.group.max = Q),
6385
6386
  disabled: h("max"),
@@ -6398,13 +6399,13 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6398
6399
  label: y(D)("menu.common.labels.group_type")
6399
6400
  }, {
6400
6401
  default: W(() => [
6401
- R(H, {
6402
+ O(H, {
6402
6403
  disabled: h("type"),
6403
6404
  "model-value": C.group.type,
6404
6405
  "onUpdate:modelValue": $[3] || ($[3] = (Q) => A(Q))
6405
6406
  }, {
6406
6407
  default: W(() => [
6407
- (x(!0), ae(Ve, null, rt(E.value, (Q) => (x(), J(G, {
6408
+ (x(!0), re(Ve, null, rt(E.value, (Q) => (x(), J(G, {
6408
6409
  key: Q.value,
6409
6410
  label: y(D)(`menu.group.types.${Q.label.toLowerCase()}`),
6410
6411
  value: Q.value
@@ -6415,11 +6416,11 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6415
6416
  ]),
6416
6417
  _: 1
6417
6418
  }, 8, ["label"])) : se("", !0),
6418
- R(bt, {
6419
+ O(bt, {
6419
6420
  label: y(D)("menu.common.labels.configuration")
6420
6421
  }, {
6421
6422
  default: W(() => [
6422
- R(Z, {
6423
+ O(Z, {
6423
6424
  modelValue: C.group.stackable,
6424
6425
  "onUpdate:modelValue": $[4] || ($[4] = (Q) => C.group.stackable = Q),
6425
6426
  disabled: h("stackable"),
@@ -6436,7 +6437,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6436
6437
  "sub-title": y(D)("menu.group.form.tagging.subtitle")
6437
6438
  }, {
6438
6439
  default: W(() => [
6439
- R(y(vo), {
6440
+ O(y(vo), {
6440
6441
  entity: "group",
6441
6442
  "model-value": C.group.customAttributes || {},
6442
6443
  "onUpdate:modelValue": P,
@@ -6448,7 +6449,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6448
6449
  ]),
6449
6450
  _: 1
6450
6451
  }),
6451
- R(we, {
6452
+ O(we, {
6452
6453
  tag: "div",
6453
6454
  modelValue: C.group,
6454
6455
  rules: [y(d)],
@@ -6458,13 +6459,13 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6458
6459
  })
6459
6460
  }, {
6460
6461
  default: W(() => [
6461
- R(Oc, {
6462
+ O(Rc, {
6462
6463
  "allow-refund-inventory": C.allowRefundInventory ?? !1,
6463
6464
  "categorized-items": C.categorizedItems,
6464
6465
  config: S.value,
6465
6466
  group: C.group,
6466
- "onUpdate:group": $[5] || ($[5] = (Q) => O(Q)),
6467
- "onUpdate:unmapGroup": $[6] || ($[6] = (Q) => O(T(Q)))
6467
+ "onUpdate:group": $[5] || ($[5] = (Q) => R(Q)),
6468
+ "onUpdate:unmapGroup": $[6] || ($[6] = (Q) => R(T(Q)))
6468
6469
  }, null, 8, ["allow-refund-inventory", "categorized-items", "config", "group"])
6469
6470
  ]),
6470
6471
  _: 1
@@ -6485,8 +6486,8 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6485
6486
  },
6486
6487
  emits: ["update:combinations"],
6487
6488
  setup(e, { expose: t, emit: n }) {
6488
- var O, A;
6489
- const i = e, a = n, o = Me(), r = lt(), l = Ot(St(Qe())), s = ie([]), u = ie(i.combinations[0].combinationKey || ""), m = z(
6489
+ var R, A;
6490
+ const i = e, a = n, o = Me(), r = lt(), l = Rt(St(Qe())), s = ie([]), u = ie(i.combinations[0].combinationKey || ""), m = z(
6490
6491
  () => s.value.findIndex((T) => T.combinationKey == u.value)
6491
6492
  ), d = z(
6492
6493
  () => i.combinations.map((T) => ({
@@ -6516,7 +6517,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6516
6517
  };
6517
6518
  })
6518
6519
  };
6519
- return new Ro(o, l.updateMenu, r).mapGroups([I], !0)[0];
6520
+ return new Oo(o, l.updateMenu, r).mapGroups([I], !0)[0];
6520
6521
  });
6521
6522
  function p(T) {
6522
6523
  var I, N;
@@ -6573,7 +6574,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6573
6574
  );
6574
6575
  const h = ie();
6575
6576
  t({
6576
- show: (O = h.value) == null ? void 0 : O.show,
6577
+ show: (R = h.value) == null ? void 0 : R.show,
6577
6578
  trigger: (A = h.value) == null ? void 0 : A.trigger
6578
6579
  });
6579
6580
  const { t: E } = Se();
@@ -6604,21 +6605,21 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6604
6605
  default: W(() => [
6605
6606
  B("p", Tc, Ee(y(E)("menu.group.option.variant")), 1),
6606
6607
  B("div", Mc, [
6607
- R(U, {
6608
+ O(U, {
6608
6609
  modelValue: u.value,
6609
6610
  "onUpdate:modelValue": w[0] || (w[0] = (N) => u.value = N),
6610
6611
  items: d.value,
6611
6612
  class: "flex-1"
6612
6613
  }, null, 8, ["modelValue", "items"]),
6613
6614
  B("div", Dc, [
6614
- R(k, {
6615
- variant: y(Rt).Tertiary,
6615
+ O(k, {
6616
+ variant: y(Ot).Tertiary,
6616
6617
  "prepend-icon": "keyboard_arrow_left",
6617
6618
  size: "lg",
6618
6619
  onClick: w[1] || (w[1] = (N) => b("left"))
6619
6620
  }, null, 8, ["variant"]),
6620
- R(k, {
6621
- variant: y(Rt).Tertiary,
6621
+ O(k, {
6622
+ variant: y(Ot).Tertiary,
6622
6623
  "prepend-icon": "keyboard_arrow_right",
6623
6624
  size: "lg",
6624
6625
  onClick: w[2] || (w[2] = (N) => b("right"))
@@ -6651,7 +6652,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6651
6652
  }
6652
6653
  const u = z(() => s(l.value).reduce((S, v) => (S[v._id] = {
6653
6654
  name: v.name,
6654
- type: On(o.items, v.items)
6655
+ type: Rn(o.items, v.items)
6655
6656
  }, S), {})), m = z(() => [
6656
6657
  ...Object.entries(u.value).map(([S, { name: v, type: h }]) => ({
6657
6658
  label: `${v} ${r.value.type ? `(${Hn(h)})` : ""}`.trim(),
@@ -6659,11 +6660,11 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6659
6660
  }))
6660
6661
  ]), d = z(() => !!o.state.currentCatalogId || !!o.state.currentSchedulerId);
6661
6662
  z(() => {
6662
- const S = !o.state.currentSchedulerId, v = o.rules.group.type, h = o.version == q.F_MENU_VERSION.enum.v3, E = o.rules.item.orderFromActiveOnly, O = o.rules.item.bindToVariant;
6663
+ const S = !o.state.currentSchedulerId, v = o.rules.group.type, h = o.version == q.F_MENU_VERSION.enum.v3, E = o.rules.item.orderFromActiveOnly, R = o.rules.item.bindToVariant;
6663
6664
  return function(T) {
6664
6665
  return {
6665
6666
  isDefault: (w) => !d.value && !w,
6666
- link: (w) => !d.value && (!w || O),
6667
+ link: (w) => !d.value && (!w || R),
6667
6668
  name: (w) => !d.value && !w,
6668
6669
  type: v && !T._id && !d.value,
6669
6670
  price: T.type != q.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
@@ -6673,7 +6674,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6673
6674
  orderFrom: (w) => S ? h ? T.type == q.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? d.value : !!d.value == !w : d.value : !1,
6674
6675
  orderFromActiveOnly: E,
6675
6676
  showOrderFrom: S ? h ? d.value ? !0 : T.type == q.F_ADDON_GROUP_TYPE.enum.PRODUCT : d.value : !1,
6676
- bindToVariant: O,
6677
+ bindToVariant: R,
6677
6678
  isOverride: d.value,
6678
6679
  isItemGroup: !1,
6679
6680
  isV4: !h
@@ -6690,10 +6691,10 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6690
6691
  i(c.value), a("primary"), n.close();
6691
6692
  };
6692
6693
  return (S, v) => {
6693
- const h = K("FmSearch"), E = K("FmCheckbox"), O = K("FmButton");
6694
- return m.value.length > 0 ? (x(), ae("div", Lc, [
6694
+ const h = K("FmSearch"), E = K("FmCheckbox"), R = K("FmButton");
6695
+ return m.value.length > 0 ? (x(), re("div", Lc, [
6695
6696
  B("div", null, [
6696
- R(h, {
6697
+ O(h, {
6697
6698
  autofocus: "",
6698
6699
  modelValue: p.value,
6699
6700
  "onUpdate:modelValue": v[0] || (v[0] = (A) => p.value = A),
@@ -6702,10 +6703,10 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6702
6703
  ]),
6703
6704
  B("div", xc, [
6704
6705
  B("div", null, [
6705
- (x(!0), ae(Ve, null, rt(m.value, (A) => (x(), ae("div", {
6706
+ (x(!0), re(Ve, null, rt(m.value, (A) => (x(), re("div", {
6706
6707
  key: A.value
6707
6708
  }, [
6708
- Xt(R(E, {
6709
+ Xt(O(E, {
6709
6710
  modelValue: c.value,
6710
6711
  "onUpdate:modelValue": [
6711
6712
  v[1] || (v[1] = (T) => c.value = T),
@@ -6720,9 +6721,9 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6720
6721
  ])
6721
6722
  ]),
6722
6723
  B("div", Uc, [
6723
- R(y(co), null, {
6724
+ O(y(co), null, {
6724
6725
  default: W(({ trigger: A }) => [
6725
- R(O, {
6726
+ O(R, {
6726
6727
  label: y(b)("menu.common.actions.add_group"),
6727
6728
  variant: "tertiary",
6728
6729
  "text-color": "primary",
@@ -6732,25 +6733,25 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6732
6733
  _: 1
6733
6734
  }),
6734
6735
  B("div", Vc, [
6735
- R(O, {
6736
+ O(R, {
6736
6737
  label: y(b)("menu.common.actions.cancel"),
6737
6738
  variant: "tertiary",
6738
6739
  onClick: v[3] || (v[3] = (A) => y(n).close())
6739
6740
  }, null, 8, ["label"]),
6740
- R(O, {
6741
+ O(R, {
6741
6742
  label: y(b)("menu.common.actions.confirm"),
6742
6743
  onClick: v[4] || (v[4] = (A) => _())
6743
6744
  }, null, 8, ["label"])
6744
6745
  ])
6745
6746
  ])
6746
- ])) : (x(), ae("div", zc, [
6747
+ ])) : (x(), re("div", zc, [
6747
6748
  B("div", $c, [
6748
6749
  B("p", Gc, Ee(y(b)("menu.common.empty.no_group.title")), 1),
6749
6750
  B("p", Bc, Ee(y(b)("menu.common.empty.no_group.subtitle")), 1)
6750
6751
  ]),
6751
- R(y(co), null, {
6752
+ O(y(co), null, {
6752
6753
  default: W(({ trigger: A }) => [
6753
- R(O, {
6754
+ O(R, {
6754
6755
  label: y(b)("menu.common.actions.add_group"),
6755
6756
  icon: "add",
6756
6757
  onClick: (T) => A()
@@ -6821,7 +6822,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6821
6822
  }
6822
6823
  const S = z(() => b(d.value).reduce((M, P) => (M[P._id] = {
6823
6824
  name: P.name,
6824
- type: On(a.items, P.items)
6825
+ type: Rn(a.items, P.items)
6825
6826
  }, M), {})), v = z(() => [...Object.entries(S.value).map(([M, {
6826
6827
  name: P,
6827
6828
  type: V
@@ -6853,20 +6854,20 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6853
6854
  size: 200,
6854
6855
  cell: (M) => {
6855
6856
  const P = M.row.original._id, D = _(P).join(", ");
6856
- return R(Be.FmTooltip, {
6857
+ return O(Be.FmTooltip, {
6857
6858
  "z-index": 51,
6858
6859
  class: "flex",
6859
6860
  variant: "rich",
6860
6861
  placement: "top"
6861
6862
  }, {
6862
- default: () => R("div", {
6863
+ default: () => O("div", {
6863
6864
  class: "line-clamp-2 break-all"
6864
6865
  }, [D]),
6865
- content: () => R("div", {
6866
+ content: () => O("div", {
6866
6867
  class: "py-12 px-16 space-y-12"
6867
- }, [R("p", {
6868
+ }, [O("p", {
6868
6869
  class: "fm-typo-en-body-md-600 text-fm-color-neutral-gray-600"
6869
- }, [l("menu.group.list.columns.products")]), R("div", {
6870
+ }, [l("menu.group.list.columns.products")]), O("div", {
6870
6871
  class: "flex flex-wrap gap-8"
6871
6872
  }, [D])])
6872
6873
  });
@@ -6909,7 +6910,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
6909
6910
  }]), E = z(() => ({
6910
6911
  type: a.version !== q.F_MENU_VERSION.enum.v4
6911
6912
  }));
6912
- function O() {
6913
+ function R() {
6913
6914
  r.open({
6914
6915
  title: l("menu.product.form.group.add"),
6915
6916
  contentComponent: Wc,
@@ -7003,14 +7004,14 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7003
7004
  title: y(l)("menu.product.form.group.title"),
7004
7005
  "sub-title": y(l)("menu.product.form.group.subtitle")
7005
7006
  }, {
7006
- "append-title": W(() => [R(V, {
7007
+ "append-title": W(() => [O(V, {
7007
7008
  class: "flex-shrink-0",
7008
7009
  label: y(l)("menu.product.form.group.add"),
7009
7010
  "prepend-icon": "add",
7010
7011
  variant: "secondary",
7011
- onClick: O
7012
+ onClick: R
7012
7013
  }, null, 8, ["label"])]),
7013
- default: W(() => [R(ua, null, {
7014
+ default: W(() => [O(ua, null, {
7014
7015
  default: W(() => {
7015
7016
  var C;
7016
7017
  return [((C = p.value) == null ? void 0 : C.length) > 0 ? (x(), J(D, {
@@ -7075,10 +7076,10 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7075
7076
  return s(i.form.inventoryBindings || [], ((_ = i.form.variant) == null ? void 0 : _.variantCombinations) || [], u.value, o.variants);
7076
7077
  });
7077
7078
  function d(_, S) {
7078
- var O, A;
7079
+ var R, A;
7079
7080
  let v = at.clone(i.form);
7080
7081
  const h = v.variant;
7081
- if ((((O = h == null ? void 0 : h.variantCombinations) == null ? void 0 : O.length) ?? 0) > 0 && h) {
7082
+ if ((((R = h == null ? void 0 : h.variantCombinations) == null ? void 0 : R.length) ?? 0) > 0 && h) {
7082
7083
  const T = h.variantCombinations.findIndex((U) => U.combinationKey === _);
7083
7084
  if (T < 0) return;
7084
7085
  const w = at.clone(h.variantCombinations);
@@ -7126,9 +7127,9 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7126
7127
  enableSorting: !1,
7127
7128
  cell: (_) => {
7128
7129
  const S = _.row.original;
7129
- return l.value ? R("div", {
7130
+ return l.value ? O("div", {
7130
7131
  class: "flex items-center justify-end"
7131
- }, [R(li, {
7132
+ }, [O(li, {
7132
7133
  name: S.name,
7133
7134
  initialValue: S.bindings ?? [],
7134
7135
  title: n("menu.inventory.dialog.title", {
@@ -7140,8 +7141,8 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7140
7141
  }, {
7141
7142
  default: ({
7142
7143
  trigger: v
7143
- }) => R(K("fm-button"), {
7144
- variant: Rt.Tertiary,
7144
+ }) => O(K("fm-button"), {
7145
+ variant: Ot.Tertiary,
7145
7146
  prependIcon: "edit",
7146
7147
  textColor: ft.NeutralGray400,
7147
7148
  onClick: v
@@ -7163,7 +7164,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7163
7164
  title: y(n)("menu.inventory.title"),
7164
7165
  subTitle: y(n)("menu.inventory.subtitle")
7165
7166
  }, {
7166
- default: W(() => [B("div", jc, [B("div", Kc, [(x(!0), ae(Ve, null, rt(m.value, (v) => (x(), J(y(li), {
7167
+ default: W(() => [B("div", jc, [B("div", Kc, [(x(!0), re(Ve, null, rt(m.value, (v) => (x(), J(y(li), {
7167
7168
  key: v._id,
7168
7169
  ref_for: !0,
7169
7170
  ref_key: "inventoryManagerForms",
@@ -7177,7 +7178,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7177
7178
  "onUpdate:inventory": (h) => {
7178
7179
  d(v._id, h);
7179
7180
  }
7180
- }, null, 8, ["title", "name", "bindingKey", "initialValue", "onUpdate:inventory"]))), 128)), R(y(Za), {
7181
+ }, null, 8, ["title", "name", "bindingKey", "initialValue", "onUpdate:inventory"]))), 128)), O(y(Za), {
7181
7182
  "row-data": m.value,
7182
7183
  onRowClick: p
7183
7184
  }, null, 8, ["row-data"])])])]),
@@ -7209,8 +7210,8 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7209
7210
  emits: ["update:form"],
7210
7211
  setup(e, { emit: t }) {
7211
7212
  const n = e, i = rn(), a = Me(), o = ko(), { t: r } = Se(), l = t, s = z(() => a.rules.item), u = z(() => {
7212
- var O, A;
7213
- const h = n.isOverride ? ((O = n.fallback) == null ? void 0 : O.unit) ?? ((A = n.fallback) == null ? void 0 : A.perXUnit) : void 0, E = n.form.unit ?? n.form.perXUnit ?? h;
7213
+ var R, A;
7214
+ const h = n.isOverride ? ((R = n.fallback) == null ? void 0 : R.unit) ?? ((A = n.fallback) == null ? void 0 : A.perXUnit) : void 0, E = n.form.unit ?? n.form.perXUnit ?? h;
7214
7215
  return E != null;
7215
7216
  }), m = (h) => {
7216
7217
  l("update:form", "unit", h ? "" : void 0), l("update:form", "perXUnit", h ? 0 : void 0);
@@ -7232,8 +7233,8 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7232
7233
  }
7233
7234
  function b(h) {
7234
7235
  if (!h && n.form.perXUnit) {
7235
- const [E, O] = n.form.perXUnit.toString().split(".");
7236
- if (O && O.length > 4) {
7236
+ const [E, R] = n.form.perXUnit.toString().split(".");
7237
+ if (R && R.length > 4) {
7237
7238
  const T = (typeof n.form.perXUnit == "string" ? parseFloat(n.form.perXUnit) : n.form.perXUnit).toFixed(4);
7238
7239
  l("update:form", "perXUnit", parseFloat(T));
7239
7240
  }
@@ -7241,7 +7242,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7241
7242
  }
7242
7243
  const _ = ie(!1);
7243
7244
  async function S() {
7244
- var E, O, A, T, w, U, k;
7245
+ var E, R, A, T, w, U, k;
7245
7246
  if (!(n.form.name || "")) {
7246
7247
  const I = document.getElementById("product-name");
7247
7248
  if (I) {
@@ -7264,7 +7265,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7264
7265
  We,
7265
7266
  {
7266
7267
  name: n.form.name || "",
7267
- lat: (A = (O = (E = i.currentRestaurant) == null ? void 0 : E.value) == null ? void 0 : O.profile.address.coordinates) == null ? void 0 : A[1],
7268
+ lat: (A = (R = (E = i.currentRestaurant) == null ? void 0 : E.value) == null ? void 0 : R.profile.address.coordinates) == null ? void 0 : A[1],
7268
7269
  lon: (U = (w = (T = i.currentRestaurant) == null ? void 0 : T.value) == null ? void 0 : w.profile.address.coordinates) == null ? void 0 : U[0]
7269
7270
  },
7270
7271
  !0
@@ -7278,7 +7279,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7278
7279
  return ((h = a.currentCatalog) == null ? void 0 : h.priceTierRules) ?? ((E = a.currentCatalog) == null ? void 0 : E.usePriceTiers) ?? [];
7279
7280
  });
7280
7281
  return (h, E) => {
7281
- const O = K("fm-select"), A = K("FmButton"), T = K("fm-checkbox"), w = K("fm-text-field"), U = fo("tooltip");
7282
+ const R = K("fm-select"), A = K("FmButton"), T = K("fm-checkbox"), w = K("fm-text-field"), U = fo("tooltip");
7282
7283
  return x(), J(ut, {
7283
7284
  title: y(r)("menu.product.form.price.title")
7284
7285
  }, {
@@ -7286,7 +7287,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7286
7287
  var k;
7287
7288
  return [
7288
7289
  B("div", Xc, [
7289
- R(Ft, {
7290
+ O(Ft, {
7290
7291
  disable: v.value.length > 0 && y(a).currentCatalog && !y(a).currentScheduler,
7291
7292
  min: 0,
7292
7293
  "model-value": h.form.price || null,
@@ -7300,7 +7301,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7300
7301
  "onUpdate:modelValue": E[0] || (E[0] = (I) => I && l("update:form", "price", I))
7301
7302
  }, {
7302
7303
  append: W(() => [
7303
- Xt(R(Ho, {
7304
+ Xt(O(Ho, {
7304
7305
  "pure-styling": "",
7305
7306
  onClick: S
7306
7307
  }, null, 512), [
@@ -7309,7 +7310,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7309
7310
  ]),
7310
7311
  _: 1
7311
7312
  }, 8, ["disable", "model-value", "placeholder", "rules", "label"]),
7312
- R(O, {
7313
+ O(R, {
7313
7314
  disabled: !s.value.tax || !d.value.systemCode,
7314
7315
  items: d.value.countryTaxOptions,
7315
7316
  label: d.value.systemCode ? y(r)("menu.product.form.price.fields.tax.label_with_code", {
@@ -7328,7 +7329,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7328
7329
  description: y(r)("menu.price_tier.description")
7329
7330
  }, {
7330
7331
  append: W(() => [
7331
- R(A, {
7332
+ O(A, {
7332
7333
  label: y(r)("menu.price_tier.add_price_group"),
7333
7334
  icon: "add",
7334
7335
  variant: "secondary",
@@ -7349,14 +7350,14 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7349
7350
  }),
7350
7351
  _: 1
7351
7352
  }, 8, ["label", "description"])) : se("", !0),
7352
- R(bt, {
7353
+ O(bt, {
7353
7354
  label: y(r)("menu.product.form.price.settings.title")
7354
7355
  }, {
7355
7356
  default: W(() => {
7356
7357
  var I, N, M;
7357
7358
  return [
7358
7359
  B("div", qc, [
7359
- R(T, {
7360
+ O(T, {
7360
7361
  disabled: !s.value.openPrice || h.isAddon,
7361
7362
  "model-value": h.form.openPrice ?? ((I = h.fallback) == null ? void 0 : I.openPrice) ?? !1,
7362
7363
  value: h.form.openPrice,
@@ -7365,7 +7366,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7365
7366
  "onUpdate:modelValue": E[3] || (E[3] = (P) => l("update:form", "openPrice", P))
7366
7367
  }, null, 8, ["disabled", "model-value", "value", "label", "sublabel"]),
7367
7368
  B("div", Jc, [
7368
- R(T, {
7369
+ O(T, {
7369
7370
  disabled: !s.value.unit || h.isAddon,
7370
7371
  "model-value": u.value,
7371
7372
  value: u.value,
@@ -7373,10 +7374,10 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7373
7374
  sublabel: y(r)("menu.product.form.price.settings.sell_by_unit.sublabel"),
7374
7375
  "onUpdate:modelValue": m
7375
7376
  }, null, 8, ["disabled", "model-value", "value", "label", "sublabel"]),
7376
- u.value ? (x(), ae("div", Zc, [
7377
+ u.value ? (x(), re("div", Zc, [
7377
7378
  B("p", Qc, Ee(y(r)("menu.product.form.price.settings.sell_by_unit.per_unit.label")), 1),
7378
7379
  B("div", ed, [
7379
- R(w, {
7380
+ O(w, {
7380
7381
  disabled: !s.value.unit,
7381
7382
  "model-value": h.form.perXUnit || ((N = h.fallback) == null ? void 0 : N.perXUnit) || null,
7382
7383
  rules: [
@@ -7391,7 +7392,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7391
7392
  }, null, 8, ["disabled", "model-value", "rules", "placeholder"])
7392
7393
  ]),
7393
7394
  B("div", td, [
7394
- R(w, {
7395
+ O(w, {
7395
7396
  disabled: !s.value.unit,
7396
7397
  "model-value": h.form.unit || ((M = h.fallback) == null ? void 0 : M.unit) || null,
7397
7398
  rules: [
@@ -7403,16 +7404,16 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7403
7404
  ])
7404
7405
  ])) : se("", !0)
7405
7406
  ]),
7406
- s.value.costing ? (x(), ae("div", nd, [
7407
- R(T, {
7407
+ s.value.costing ? (x(), re("div", nd, [
7408
+ O(T, {
7408
7409
  "model-value": !!h.form.costing,
7409
7410
  value: !!h.form.costing,
7410
7411
  label: y(r)("menu.product.form.price.settings.track_costing.label"),
7411
7412
  "onUpdate:modelValue": E[5] || (E[5] = (P) => l("update:form", "costing", P ? y(Ge.Dinero).zero().toObject() : void 0))
7412
7413
  }, null, 8, ["model-value", "value", "label"]),
7413
- h.form.costing ? (x(), ae("div", id, [
7414
+ h.form.costing ? (x(), re("div", id, [
7414
7415
  B("div", od, [
7415
- R(Ft, {
7416
+ O(Ft, {
7416
7417
  class: "w-full",
7417
7418
  min: 0,
7418
7419
  "model-value": h.form.costing || null,
@@ -7423,8 +7424,8 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7423
7424
  ])
7424
7425
  ])) : se("", !0)
7425
7426
  ])) : se("", !0),
7426
- s.value.minPrice ? (x(), ae("div", ad, [
7427
- R(T, {
7427
+ s.value.minPrice ? (x(), re("div", ad, [
7428
+ O(T, {
7428
7429
  disabled: !s.value.minPrice || h.isAddon,
7429
7430
  "model-value": !!h.form.minPrice,
7430
7431
  value: !!h.form.minPrice,
@@ -7463,7 +7464,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7463
7464
  applyProduct: { type: Boolean }
7464
7465
  },
7465
7466
  setup(e) {
7466
- const { t } = Se(), n = e, i = Ot(St(Qe())), a = z(
7467
+ const { t } = Se(), n = e, i = Rt(St(Qe())), a = z(
7467
7468
  () => n.initialValue ? t("menu.print_dept.update") : t("menu.print_dept.add")
7468
7469
  ), o = z(
7469
7470
  () => n.initialValue ? t("menu.common.actions.update") : t("menu.common.actions.add")
@@ -7505,9 +7506,9 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7505
7506
  }
7506
7507
  ), (d, c) => {
7507
7508
  const p = K("fm-text-field"), b = K("fm-button"), _ = K("fm-side-sheet");
7508
- return x(), ae(Ve, null, [
7509
+ return x(), re(Ve, null, [
7509
7510
  Ce(d.$slots, "default", { trigger: u }),
7510
- R(_, {
7511
+ O(_, {
7511
7512
  id: "variant-form",
7512
7513
  modelValue: s.value,
7513
7514
  "onUpdate:modelValue": c[3] || (c[3] = (S) => s.value = S),
@@ -7524,14 +7525,14 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7524
7525
  ]),
7525
7526
  "side-sheet-footer": W(() => [
7526
7527
  B("div", dd, [
7527
- R(b, {
7528
+ O(b, {
7528
7529
  label: o.value,
7529
7530
  loading: l.value,
7530
7531
  size: "lg",
7531
7532
  type: "submit",
7532
7533
  variant: "primary"
7533
7534
  }, null, 8, ["label", "loading"]),
7534
- R(b, {
7535
+ O(b, {
7535
7536
  label: y(t)("menu.common.actions.cancel"),
7536
7537
  size: "lg",
7537
7538
  variant: "tertiary",
@@ -7541,7 +7542,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7541
7542
  ]),
7542
7543
  default: W(() => [
7543
7544
  B("div", cd, [
7544
- R(p, {
7545
+ O(p, {
7545
7546
  modelValue: r.value.name,
7546
7547
  "onUpdate:modelValue": c[0] || (c[0] = (S) => r.value.name = S),
7547
7548
  rules: [
@@ -7621,8 +7622,8 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7621
7622
  });
7622
7623
  }
7623
7624
  function _(v, h) {
7624
- var O, A;
7625
- let E = [...((A = (O = n.form) == null ? void 0 : O.print) == null ? void 0 : A.department) ?? []];
7625
+ var R, A;
7626
+ let E = [...((A = (R = n.form) == null ? void 0 : R.print) == null ? void 0 : A.department) ?? []];
7626
7627
  h && !E.includes(v) ? E = [...E, v] : h || (E = E.filter((T) => T !== v)), o("update:form", "print", {
7627
7628
  ...r(),
7628
7629
  ...n.form.print,
@@ -7645,7 +7646,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7645
7646
  () => s.value.length,
7646
7647
  () => _(s.value[s.value.length - 1]._id, !0)
7647
7648
  ), (v, h) => {
7648
- const E = K("fm-switch"), O = K("fm-radio"), A = K("fm-radio-group"), T = K("fm-button"), w = K("fm-checkbox");
7649
+ const E = K("fm-switch"), R = K("fm-radio"), A = K("fm-radio-group"), T = K("fm-button"), w = K("fm-checkbox");
7649
7650
  return x(), J(ut, {
7650
7651
  title: y(a)("menu.product.form.print.title")
7651
7652
  }, {
@@ -7659,7 +7660,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7659
7660
  default: W(() => {
7660
7661
  var k;
7661
7662
  return [
7662
- R(E, {
7663
+ O(E, {
7663
7664
  "model-value": !((k = v.form.print) != null && k.toRoot),
7664
7665
  label: y(a)("menu.product.form.print.config.group_parent.label"),
7665
7666
  "label-placement": "right",
@@ -7670,14 +7671,14 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7670
7671
  }),
7671
7672
  _: 1
7672
7673
  }, 8, ["label"])) : se("", !0),
7673
- R(A, {
7674
+ O(A, {
7674
7675
  label: y(a)("menu.product.form.print.kds.label"),
7675
7676
  "model-value": ((U = v.form.print) == null ? void 0 : U.sequential) ?? !1,
7676
7677
  "onUpdate:modelValue": h[1] || (h[1] = (k) => p(k))
7677
7678
  }, {
7678
7679
  default: W(() => [
7679
7680
  B("div", fd, [
7680
- (x(!0), ae(Ve, null, rt(S.value, (k, I) => (x(), J(O, {
7681
+ (x(!0), re(Ve, null, rt(S.value, (k, I) => (x(), J(R, {
7681
7682
  key: I,
7682
7683
  label: k.label,
7683
7684
  sublabel: k.description,
@@ -7687,7 +7688,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7687
7688
  ]),
7688
7689
  _: 1
7689
7690
  }, 8, ["label", "model-value"]),
7690
- R(bt, {
7691
+ O(bt, {
7691
7692
  label: y(a)("menu.product.form.print.routes.label")
7692
7693
  }, {
7693
7694
  default: W(() => [
@@ -7714,7 +7715,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7714
7715
  }, ["stop"]))
7715
7716
  }, null, 8, ["disabled"])) : se("", !0)
7716
7717
  ]),
7717
- R(w, {
7718
+ O(w, {
7718
7719
  id: k,
7719
7720
  "data-checked": (P = (M = n.form.print) == null ? void 0 : M.department) == null ? void 0 : P.includes(k),
7720
7721
  label: d.value[k],
@@ -7728,11 +7729,11 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
7728
7729
  }),
7729
7730
  _: 1
7730
7731
  }, 8, ["item-key", "model-value"])) : se("", !0),
7731
- R(y(pd), { "apply-product": !1 }, {
7732
+ O(y(pd), { "apply-product": !1 }, {
7732
7733
  default: W(({ trigger: k }) => [
7733
7734
  B("div", vd, [
7734
- R(T, {
7735
- variant: y(Rt).Secondary,
7735
+ O(T, {
7736
+ variant: y(Ot).Secondary,
7736
7737
  label: y(a)("menu.product.form.print.routes.add"),
7737
7738
  "prepend-icon": "add",
7738
7739
  onClick: k
@@ -7817,7 +7818,7 @@ const yd = /* @__PURE__ */ ve({
7817
7818
  setup(e, {
7818
7819
  emit: t
7819
7820
  }) {
7820
- const n = e, i = Me(), a = z(() => i.rules.item), o = Ot(St(Qe())), {
7821
+ const n = e, i = Me(), a = z(() => i.rules.item), o = Rt(St(Qe())), {
7821
7822
  t: r
7822
7823
  } = Se(), l = t, {
7823
7824
  hasVariant: s,
@@ -7886,7 +7887,7 @@ const yd = /* @__PURE__ */ ve({
7886
7887
  title: y(r)("menu.product.form.takeaway.title"),
7887
7888
  "sub-title": y(r)("menu.product.form.takeaway.subtitle")
7888
7889
  }, {
7889
- default: W(() => [R(b, {
7890
+ default: W(() => [O(b, {
7890
7891
  columnDefs: d.value,
7891
7892
  "page-size": y(u).length,
7892
7893
  "row-data": y(u),
@@ -7899,10 +7900,10 @@ const yd = /* @__PURE__ */ ve({
7899
7900
  }), wd = {
7900
7901
  key: 0,
7901
7902
  class: "flex flex-col space-y-16 h-[440px]"
7902
- }, Ed = { class: "flex-1 flex-shrink space-y-8 min-h-0 overflow-y-scroll p-8" }, kd = { class: "flex justify-between pb-16" }, Sd = { class: "flex gap-8" }, Od = {
7903
+ }, Ed = { class: "flex-1 flex-shrink space-y-8 min-h-0 overflow-y-scroll p-8" }, kd = { class: "flex justify-between pb-16" }, Sd = { class: "flex gap-8" }, Rd = {
7903
7904
  key: 1,
7904
7905
  class: "flex flex-col items-center space-y-16"
7905
- }, Rd = { class: "flex flex-col items-center space-y-4 w-full" }, Cd = { class: "fm-typo-en-title-sm-600" }, Ad = { class: "text-fm-color-typo-secondary" }, Id = /* @__PURE__ */ ve({
7906
+ }, Od = { class: "flex flex-col items-center space-y-4 w-full" }, Cd = { class: "fm-typo-en-title-sm-600" }, Ad = { class: "text-fm-color-typo-secondary" }, Id = /* @__PURE__ */ ve({
7906
7907
  __name: "SelectVariantDialog",
7907
7908
  props: {
7908
7909
  selectedVariants: {}
@@ -7917,9 +7918,9 @@ const yd = /* @__PURE__ */ ve({
7917
7918
  };
7918
7919
  return (d, c) => {
7919
7920
  const p = K("FmSearch"), b = K("FmCheckbox"), _ = K("FmButton");
7920
- return l.value.length > 0 ? (x(), ae("div", wd, [
7921
+ return l.value.length > 0 ? (x(), re("div", wd, [
7921
7922
  B("div", null, [
7922
- R(p, {
7923
+ O(p, {
7923
7924
  autofocus: "",
7924
7925
  modelValue: u.value,
7925
7926
  "onUpdate:modelValue": c[0] || (c[0] = (S) => u.value = S),
@@ -7928,10 +7929,10 @@ const yd = /* @__PURE__ */ ve({
7928
7929
  ]),
7929
7930
  B("div", Ed, [
7930
7931
  B("div", null, [
7931
- (x(!0), ae(Ve, null, rt(l.value, (S) => (x(), ae("div", {
7932
+ (x(!0), re(Ve, null, rt(l.value, (S) => (x(), re("div", {
7932
7933
  key: S.value
7933
7934
  }, [
7934
- Xt(R(b, {
7935
+ Xt(O(b, {
7935
7936
  modelValue: s.value,
7936
7937
  "onUpdate:modelValue": [
7937
7938
  c[1] || (c[1] = (v) => s.value = v),
@@ -7946,7 +7947,7 @@ const yd = /* @__PURE__ */ ve({
7946
7947
  ])
7947
7948
  ]),
7948
7949
  B("div", kd, [
7949
- R(y(Ri), null, {
7950
+ O(y(Oi), null, {
7950
7951
  default: W(({ trigger: S }) => [
7951
7952
  y(a).rules.item.variant ? (x(), J(_, {
7952
7953
  key: 0,
@@ -7959,25 +7960,25 @@ const yd = /* @__PURE__ */ ve({
7959
7960
  _: 1
7960
7961
  }),
7961
7962
  B("div", Sd, [
7962
- R(_, {
7963
+ O(_, {
7963
7964
  label: y(o)("menu.common.actions.cancel"),
7964
7965
  variant: "tertiary",
7965
7966
  onClick: c[3] || (c[3] = (S) => y(t).close())
7966
7967
  }, null, 8, ["label"]),
7967
- R(_, {
7968
+ O(_, {
7968
7969
  label: y(o)("menu.common.actions.confirm"),
7969
7970
  onClick: c[4] || (c[4] = (S) => m())
7970
7971
  }, null, 8, ["label"])
7971
7972
  ])
7972
7973
  ])
7973
- ])) : (x(), ae("div", Od, [
7974
- B("div", Rd, [
7974
+ ])) : (x(), re("div", Rd, [
7975
+ B("div", Od, [
7975
7976
  B("p", Cd, Ee(y(o)("menu.common.empty.no_variant.title")), 1),
7976
7977
  B("p", Ad, Ee(y(o)("menu.common.empty.no_variant.subtitle")), 1)
7977
7978
  ]),
7978
- R(y(Ri), null, {
7979
+ O(y(Oi), null, {
7979
7980
  default: W(({ trigger: S }) => [
7980
- R(_, {
7981
+ O(_, {
7981
7982
  label: y(o)("menu.variant.add"),
7982
7983
  icon: "add",
7983
7984
  onClick: (v) => S()
@@ -8132,7 +8133,7 @@ const yd = /* @__PURE__ */ ve({
8132
8133
  }
8133
8134
  c("replace:form", a.initDynamicGroupItem(M));
8134
8135
  }
8135
- async function O(k, I, N) {
8136
+ async function R(k, I, N) {
8136
8137
  const M = at.clone(n.form);
8137
8138
  M.variant.variantCombinations[k][I] = N, p([{
8138
8139
  key: "variant",
@@ -8154,11 +8155,11 @@ const yd = /* @__PURE__ */ ve({
8154
8155
  cell: (k) => {
8155
8156
  var V, D;
8156
8157
  const I = k.getValue(), P = ((V = k.row.original.fallback) == null ? void 0 : V.code) ?? n.form.code ?? ((D = n.fallback) == null ? void 0 : D.code);
8157
- return R(Be.FmTextField, {
8158
+ return O(Be.FmTextField, {
8158
8159
  modelValue: I,
8159
8160
  placeholder: P || l("menu.product.form.variant.placeholders.no_code"),
8160
8161
  "onUpdate:model-value": (C) => {
8161
- O(k.row.index, "code", la(C, !0));
8162
+ R(k.row.index, "code", la(C, !0));
8162
8163
  }
8163
8164
  }, null);
8164
8165
  }
@@ -8169,14 +8170,14 @@ const yd = /* @__PURE__ */ ve({
8169
8170
  cell: (k) => {
8170
8171
  var P, V;
8171
8172
  const I = k.getValue(), M = (P = k.row.original.fallback) == null ? void 0 : P.orderFrom;
8172
- return R(hi, {
8173
+ return O(hi, {
8173
8174
  modelValue: I,
8174
8175
  fallback: n.form.orderFrom ?? M ?? ((V = n.fallback) == null ? void 0 : V.orderFrom),
8175
8176
  disable: !s.value.orderFrom,
8176
8177
  required: s.value.orderFrom && s.value.orderFromActiveOnly,
8177
8178
  editActiveOnly: s.value.orderFromActiveOnly || !1,
8178
8179
  "onUpdate:model-value": (D) => {
8179
- O(k.row.index, "orderFrom", D);
8180
+ R(k.row.index, "orderFrom", D);
8180
8181
  },
8181
8182
  label: "",
8182
8183
  defaultLabel: "Follow general"
@@ -8190,22 +8191,22 @@ const yd = /* @__PURE__ */ ve({
8190
8191
  cell: (k) => {
8191
8192
  var V, D, C;
8192
8193
  const I = k.getValue(), N = k.row.original, P = ((V = N.fallback) == null ? void 0 : V.price) ?? n.form.price ?? ((D = n.fallback) == null ? void 0 : D.price);
8193
- return R("div", {
8194
+ return O("div", {
8194
8195
  class: "flex items-center gap-8"
8195
- }, [R(Ft, {
8196
+ }, [O(Ft, {
8196
8197
  disable: A.value.length > 0 && i.currentCatalog && !i.currentScheduler,
8197
8198
  placeholder: P ? Gt(P) : void 0,
8198
8199
  modelValue: I,
8199
8200
  min: 0,
8200
8201
  "onUpdate:model-value": ($) => {
8201
- O(k.row.index, "price", $);
8202
+ R(k.row.index, "price", $);
8202
8203
  },
8203
8204
  nullable: !0,
8204
8205
  showCurrency: !1
8205
- }, null), i.isV4 && !n.isOverride && R(da, {
8206
+ }, null), i.isV4 && !n.isOverride && O(da, {
8206
8207
  "price-tiers": N.priceTiers,
8207
8208
  fallback: (C = N.fallback) == null ? void 0 : C.priceTiers,
8208
- "onUpdate:price-tiers": ($) => O(k.row.index, "priceTiers", $)
8209
+ "onUpdate:price-tiers": ($) => R(k.row.index, "priceTiers", $)
8209
8210
  }, null)]);
8210
8211
  }
8211
8212
  }, {
@@ -8215,12 +8216,12 @@ const yd = /* @__PURE__ */ ve({
8215
8216
  cell: (k) => {
8216
8217
  var V, D, C;
8217
8218
  const I = k.getValue(), N = k.row.original, P = ((V = N.fallback) == null ? void 0 : V.minPrice) ?? n.form.minPrice ?? ((D = n.fallback) == null ? void 0 : D.minPrice);
8218
- return R(Ft, {
8219
+ return O(Ft, {
8219
8220
  placeholder: P ? Gt(P) : void 0,
8220
8221
  modelValue: I,
8221
8222
  max: Ge.Dinero.fromFdoDinero(N.price ?? ((C = N.fallback) == null ? void 0 : C.price) ?? Ge.Dinero.zero().toObject()).toUnit(),
8222
8223
  "onUpdate:model-value": ($) => {
8223
- O(k.row.index, "minPrice", $);
8224
+ R(k.row.index, "minPrice", $);
8224
8225
  },
8225
8226
  nullable: !0,
8226
8227
  showCurrency: !1
@@ -8249,13 +8250,13 @@ const yd = /* @__PURE__ */ ve({
8249
8250
  }, null, 8, ["label"])) : se("", !0)]),
8250
8251
  default: W(() => {
8251
8252
  var D;
8252
- return [B("div", Td, [R(P, {
8253
+ return [B("div", Td, [O(P, {
8253
8254
  "model-value": (D = k.form.variant) == null ? void 0 : D.variantGroupIds,
8254
8255
  rules: [U]
8255
8256
  }, {
8256
8257
  default: W(() => {
8257
8258
  var C;
8258
- return [R(y(So), {
8259
+ return [O(y(So), {
8259
8260
  "model-value": ((C = k.form.variant) == null ? void 0 : C.variantGroupIds) ?? [],
8260
8261
  class: "space-y-16",
8261
8262
  group: "variants",
@@ -8267,11 +8268,11 @@ const yd = /* @__PURE__ */ ve({
8267
8268
  element: $
8268
8269
  }) => {
8269
8270
  var ue;
8270
- return [B("div", Md, [R(N, {
8271
- variant: y(Rt).Tertiary,
8271
+ return [B("div", Md, [O(N, {
8272
+ variant: y(Ot).Tertiary,
8272
8273
  class: "handle",
8273
8274
  "prepend-icon": "drag_handle"
8274
- }, null, 8, ["variant"]), B("div", Dd, [B("p", Fd, Ee((ue = d.value[$]) == null ? void 0 : ue.name), 1), R(M, {
8275
+ }, null, 8, ["variant"]), B("div", Dd, [B("p", Fd, Ee((ue = d.value[$]) == null ? void 0 : ue.name), 1), O(M, {
8275
8276
  class: "cursor-pointer",
8276
8277
  name: "close",
8277
8278
  onClick: Sn((de) => {
@@ -8284,7 +8285,7 @@ const yd = /* @__PURE__ */ ve({
8284
8285
  }, 8, ["model-value"])];
8285
8286
  }),
8286
8287
  _: 1
8287
- }, 8, ["model-value", "rules"]), R(ua, null, {
8288
+ }, 8, ["model-value", "rules"]), O(ua, null, {
8288
8289
  default: W(() => [h.value.length ? (x(), J(V, {
8289
8290
  key: 0,
8290
8291
  class: "w-full",
@@ -8393,7 +8394,7 @@ const yd = /* @__PURE__ */ ve({
8393
8394
  [f]: g
8394
8395
  };
8395
8396
  };
8396
- async function O() {
8397
+ async function R() {
8397
8398
  var f, g;
8398
8399
  c.value = p.value._id && A.value ? (await Ka(
8399
8400
  a.mergedMenu,
@@ -8574,7 +8575,7 @@ const yd = /* @__PURE__ */ ve({
8574
8575
  Le(() => {
8575
8576
  var f;
8576
8577
  return (f = p.value.price) == null ? void 0 : f.amount;
8577
- }, O, { deep: !0 }), Le(
8578
+ }, R, { deep: !0 }), Le(
8578
8579
  () => m.value,
8579
8580
  (f) => {
8580
8581
  f && (p.value = n.initialForm ? be(n.initialForm) : {
@@ -8584,7 +8585,7 @@ const yd = /* @__PURE__ */ ve({
8584
8585
  }
8585
8586
  ), $t(() => {
8586
8587
  var f, g;
8587
- O();
8588
+ R();
8588
8589
  try {
8589
8590
  We.startSession({
8590
8591
  userId: ((f = o.sessionUser.value) == null ? void 0 : f.id) || "",
@@ -8614,7 +8615,7 @@ const yd = /* @__PURE__ */ ve({
8614
8615
  function le() {
8615
8616
  Q.isUpdatingItem = !1, a.selectCatalog(Q.storedCatalogId), a.selectScheduler(Q.storedSchedulerId);
8616
8617
  }
8617
- function re() {
8618
+ function oe() {
8618
8619
  A.value && [
8619
8620
  [N.value, M],
8620
8621
  [V.value, D]
@@ -8626,11 +8627,11 @@ const yd = /* @__PURE__ */ ve({
8626
8627
  d(), le();
8627
8628
  }
8628
8629
  const { isAtMost: je } = _o(), Lt = ie(null), qt = Ga(Lt);
8629
- return (f, g) => (x(), ae(Ve, null, [
8630
- Ce(f.$slots, "trigger", Sa(Oa({
8630
+ return (f, g) => (x(), re(Ve, null, [
8631
+ Ce(f.$slots, "trigger", Sa(Ra({
8631
8632
  trigger: d
8632
8633
  }))),
8633
- R(Va, {
8634
+ O(Va, {
8634
8635
  title: l.value,
8635
8636
  show: m.value,
8636
8637
  "primary-action": {
@@ -8642,7 +8643,7 @@ const yd = /* @__PURE__ */ ve({
8642
8643
  click: Ae
8643
8644
  }
8644
8645
  ],
8645
- onOnPrimary: re,
8646
+ onOnPrimary: oe,
8646
8647
  onOnCancel: Ae
8647
8648
  }, {
8648
8649
  "append-title": W(() => [
@@ -8659,7 +8660,7 @@ const yd = /* @__PURE__ */ ve({
8659
8660
  y(je)("sm") ? se("", !0) : (x(), J(Ci, {
8660
8661
  key: 0,
8661
8662
  class: "fixed",
8662
- style: Ra({
8663
+ style: Oa({
8663
8664
  top: "85px",
8664
8665
  left: y(qt).right + "px"
8665
8666
  }),
@@ -8678,8 +8679,8 @@ const yd = /* @__PURE__ */ ve({
8678
8679
  "linked-status": b.value,
8679
8680
  "onUpdate:catalogAndScheduler": S
8680
8681
  }, null, 8, ["linked-status"])) : se("", !0),
8681
- R(za, { "menu-store": y(a) }, null, 8, ["menu-store"]),
8682
- R(Tt, {
8682
+ O(za, { "menu-store": y(a) }, null, 8, ["menu-store"]),
8683
+ O(Tt, {
8683
8684
  toggle: N.value,
8684
8685
  "onUpdate:toggle": [
8685
8686
  g[1] || (g[1] = (X) => N.value = X),
@@ -8690,7 +8691,7 @@ const yd = /* @__PURE__ */ ve({
8690
8691
  title: y(r)("menu.product.form.sections.general.title")
8691
8692
  }, {
8692
8693
  default: W(() => [
8693
- R(nc, {
8694
+ O(nc, {
8694
8695
  fallback: c.value,
8695
8696
  form: p.value,
8696
8697
  "is-addon": T.value,
@@ -8704,14 +8705,14 @@ const yd = /* @__PURE__ */ ve({
8704
8705
  ]),
8705
8706
  _: 1
8706
8707
  }, 8, ["toggle", "disabled", "description", "title"]),
8707
- A.value ? se("", !0) : (x(), ae("div", Ld)),
8708
+ A.value ? se("", !0) : (x(), re("div", Ld)),
8708
8709
  w.value ? (x(), J(ut, {
8709
8710
  key: 2,
8710
8711
  title: y(r)("menu.product.form.sections.tagging.title"),
8711
8712
  "sub-title": y(r)("menu.product.form.sections.tagging.subtitle")
8712
8713
  }, {
8713
8714
  default: W(() => [
8714
- R(y(vo), {
8715
+ O(y(vo), {
8715
8716
  entity: "item",
8716
8717
  "model-value": p.value.customAttributes || {},
8717
8718
  "onUpdate:modelValue": g[3] || (g[3] = (X) => E("customAttributes", X)),
@@ -8720,8 +8721,8 @@ const yd = /* @__PURE__ */ ve({
8720
8721
  ]),
8721
8722
  _: 1
8722
8723
  }, 8, ["title", "sub-title"])) : se("", !0),
8723
- w.value ? (x(), ae("div", xd)) : se("", !0),
8724
- R(Tt, {
8724
+ w.value ? (x(), re("div", xd)) : se("", !0),
8725
+ O(Tt, {
8725
8726
  toggle: V.value,
8726
8727
  "onUpdate:toggle": [
8727
8728
  g[4] || (g[4] = (X) => V.value = X),
@@ -8732,7 +8733,7 @@ const yd = /* @__PURE__ */ ve({
8732
8733
  title: y(r)("menu.product.form.sections.price.title")
8733
8734
  }, {
8734
8735
  default: W(() => [
8735
- R(ld, {
8736
+ O(ld, {
8736
8737
  fallback: c.value,
8737
8738
  form: p.value,
8738
8739
  "is-addon": T.value,
@@ -8742,7 +8743,7 @@ const yd = /* @__PURE__ */ ve({
8742
8743
  ]),
8743
8744
  _: 1
8744
8745
  }, 8, ["toggle", "disabled", "description", "title"]),
8745
- s.value.print && !A.value ? (x(), ae("div", Ud)) : se("", !0),
8746
+ s.value.print && !A.value ? (x(), re("div", Ud)) : se("", !0),
8746
8747
  s.value.print ? (x(), J(Tt, {
8747
8748
  key: 5,
8748
8749
  toggle: H.value,
@@ -8755,7 +8756,7 @@ const yd = /* @__PURE__ */ ve({
8755
8756
  title: "Update print"
8756
8757
  }, {
8757
8758
  default: W(() => [
8758
- R(_d, {
8759
+ O(_d, {
8759
8760
  fallback: c.value,
8760
8761
  form: p.value,
8761
8762
  "full-combinations": v.value,
@@ -8767,8 +8768,8 @@ const yd = /* @__PURE__ */ ve({
8767
8768
  ]),
8768
8769
  _: 1
8769
8770
  }, 8, ["toggle"])) : se("", !0),
8770
- A.value ? se("", !0) : (x(), ae("div", Vd)),
8771
- R(Tt, {
8771
+ A.value ? se("", !0) : (x(), re("div", Vd)),
8772
+ O(Tt, {
8772
8773
  toggle: C.value,
8773
8774
  "onUpdate:toggle": [
8774
8775
  g[10] || (g[10] = (X) => C.value = X),
@@ -8779,7 +8780,7 @@ const yd = /* @__PURE__ */ ve({
8779
8780
  title: y(r)("menu.product.form.sections.variant.title")
8780
8781
  }, {
8781
8782
  default: W(() => [
8782
- R(Nd, {
8783
+ O(Nd, {
8783
8784
  fallback: c.value,
8784
8785
  form: p.value,
8785
8786
  "full-combinations": v.value,
@@ -8791,7 +8792,7 @@ const yd = /* @__PURE__ */ ve({
8791
8792
  ]),
8792
8793
  _: 1
8793
8794
  }, 8, ["toggle", "disabled", "description", "title"]),
8794
- s.value.group && !A.value ? (x(), ae("div", zd)) : se("", !0),
8795
+ s.value.group && !A.value ? (x(), re("div", zd)) : se("", !0),
8795
8796
  s.value.group ? (x(), J(Tt, {
8796
8797
  key: 8,
8797
8798
  toggle: te.value,
@@ -8804,7 +8805,7 @@ const yd = /* @__PURE__ */ ve({
8804
8805
  title: "Update group"
8805
8806
  }, {
8806
8807
  default: W(() => [
8807
- R(Hc, {
8808
+ O(Hc, {
8808
8809
  fallback: c.value,
8809
8810
  form: p.value,
8810
8811
  "full-combinations": v.value,
@@ -8816,7 +8817,7 @@ const yd = /* @__PURE__ */ ve({
8816
8817
  ]),
8817
8818
  _: 1
8818
8819
  }, 8, ["toggle", "disabled"])) : se("", !0),
8819
- s.value.inventory && !A.value ? (x(), ae("div", $d)) : se("", !0),
8820
+ s.value.inventory && !A.value ? (x(), re("div", $d)) : se("", !0),
8820
8821
  s.value.inventory ? (x(), J(Tt, {
8821
8822
  key: 10,
8822
8823
  toggle: ue.value,
@@ -8829,7 +8830,7 @@ const yd = /* @__PURE__ */ ve({
8829
8830
  title: y(r)("menu.product.form.sections.inventory.title")
8830
8831
  }, {
8831
8832
  default: W(() => [
8832
- R(Yc, {
8833
+ O(Yc, {
8833
8834
  fallback: c.value,
8834
8835
  form: p.value,
8835
8836
  "full-combinations": v.value,
@@ -8841,7 +8842,7 @@ const yd = /* @__PURE__ */ ve({
8841
8842
  ]),
8842
8843
  _: 1
8843
8844
  }, 8, ["toggle", "disabled", "description", "title"])) : se("", !0),
8844
- s.value.takeaway(p.value.category ?? ((L = c.value) == null ? void 0 : L.category)) && !A.value ? (x(), ae("div", Gd)) : se("", !0),
8845
+ s.value.takeaway(p.value.category ?? ((L = c.value) == null ? void 0 : L.category)) && !A.value ? (x(), re("div", Gd)) : se("", !0),
8845
8846
  s.value.takeaway(p.value.category ?? ((Y = c.value) == null ? void 0 : Y.category)) ? (x(), J(Tt, {
8846
8847
  key: 12,
8847
8848
  toggle: we.value,
@@ -8854,7 +8855,7 @@ const yd = /* @__PURE__ */ ve({
8854
8855
  title: y(r)("menu.product.form.sections.takeaway.title")
8855
8856
  }, {
8856
8857
  default: W(() => [
8857
- R(yd, {
8858
+ O(yd, {
8858
8859
  fallback: c.value,
8859
8860
  form: p.value,
8860
8861
  "full-combinations": v.value,
@@ -8880,7 +8881,7 @@ function pa(e, t) {
8880
8881
  var o, r, l, s;
8881
8882
  const n = (o = t.groups) == null ? void 0 : o.reduce((u, m) => {
8882
8883
  const d = e.groups.find((p) => p._id === m._id);
8883
- return On(e.items, d.items) === q.F_ADDON_GROUP_TYPE.enum.DYNAMIC && u.push(d), u;
8884
+ return Rn(e.items, d.items) === q.F_ADDON_GROUP_TYPE.enum.DYNAMIC && u.push(d), u;
8884
8885
  }, []);
8885
8886
  if (!(n != null && n.length)) return t;
8886
8887
  const i = n.map((u) => u._id);
@@ -8974,7 +8975,7 @@ function Kd(e, t) {
8974
8975
  };
8975
8976
  }
8976
8977
  const ki = mo("item-manager", () => {
8977
- const e = Me(), t = Qe(), n = lt(), i = St(t), a = Ot(i), o = an(), { t: r } = Se(), l = (w) => {
8978
+ const e = Me(), t = Qe(), n = lt(), i = St(t), a = Rt(i), o = an(), { t: r } = Se(), l = (w) => {
8978
8979
  if (!o) throw new Error("No current instance found");
8979
8980
  const { container: U } = Pa(Wd, o, {
8980
8981
  ...w,
@@ -9153,7 +9154,7 @@ const ki = mo("item-manager", () => {
9153
9154
  e.currentScheduler ? await _(w) : await S(w)
9154
9155
  );
9155
9156
  }
9156
- function O(w) {
9157
+ function R(w) {
9157
9158
  const { updateMenu: U } = a, k = w.length > 1 ? `${w.length} products` : w[0].name;
9158
9159
  n.open({
9159
9160
  title: r("menu.common.dialog.remove.product.title"),
@@ -9161,7 +9162,7 @@ const ki = mo("item-manager", () => {
9161
9162
  primaryActions: {
9162
9163
  text: r("menu.common.actions.remove"),
9163
9164
  close: !0,
9164
- variant: Rt.Destructive
9165
+ variant: Ot.Destructive
9165
9166
  },
9166
9167
  secondaryActions: {
9167
9168
  text: r("menu.common.actions.cancel"),
@@ -9196,7 +9197,7 @@ const ki = mo("item-manager", () => {
9196
9197
  e,
9197
9198
  a.updateMenu,
9198
9199
  n
9199
- ).unlinkProduct(w.map((U) => U._id)) : O(w);
9200
+ ).unlinkProduct(w.map((U) => U._id)) : R(w);
9200
9201
  }
9201
9202
  async function T(w) {
9202
9203
  const { updateMenu: U } = a;
@@ -9223,7 +9224,7 @@ export {
9223
9224
  Ur as C,
9224
9225
  dc as F,
9225
9226
  Fr as I,
9226
- Ro as M,
9227
+ Oo as M,
9227
9228
  pd as P,
9228
9229
  We as R,
9229
9230
  $u as S,
@@ -9236,10 +9237,10 @@ export {
9236
9237
  ci as e,
9237
9238
  Wo as f,
9238
9239
  Hd as g,
9239
- Rc as h,
9240
+ Oc as h,
9240
9241
  Sm as i,
9241
- Oo as j,
9242
- On as k,
9242
+ Ro as j,
9243
+ Rn as k,
9243
9244
  pa as l,
9244
9245
  Co as m,
9245
9246
  la as n,
@@ -9250,7 +9251,7 @@ export {
9250
9251
  bd as s,
9251
9252
  gc as t,
9252
9253
  ki as u,
9253
- Om as v,
9254
+ Rm as v,
9254
9255
  Ar as w,
9255
9256
  vn as x,
9256
9257
  ma as y