@feedmepos/mf-menu 0.31.13-prod → 0.31.14-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.
- package/dist/{App-DzwIYXCC.js → App-B1vRSn4G.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DwjRVBt4.js → ApplyProduct.vue_vue_type_script_setup_true_lang-eDOuUKea.js} +2 -2
- package/dist/{Catalog-BvavQk6R.js → Catalog-DINSs8NF.js} +5 -5
- package/dist/{Category-CKOPnQAc.js → Category-Gf1b-9KQ.js} +5 -5
- package/dist/{Category-Cj02s0bD.js → Category-lYrlrBEY.js} +4 -4
- package/dist/{CookingGuide-CyEginT_.js → CookingGuide-xkK-57gr.js} +3 -3
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BpFu-GUR.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-T2yhTt-O.js} +1 -1
- package/dist/{Group-YFFFxGCq.js → Group-CLSjp-iO.js} +1 -1
- package/dist/{Group-plIUz6mQ.js → Group-VqLrp3Zi.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BHYcr3kC.js → Group.vue_vue_type_script_setup_true_lang-ubxvQqUr.js} +48 -48
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DzF0Sycs.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BlC1hJSV.js} +3 -3
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DlY_fspL.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-1SzMrwsu.js} +7 -7
- package/dist/{Ingredient-C_RIAZ8k.js → Ingredient-BJY2qss1.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CLSojPHv.js → InventoryBinding.vue_vue_type_script_setup_true_lang-X4CJx1MD.js} +2 -2
- package/dist/{LinkProductSideSheet-B5GODfkw.js → LinkProductSideSheet-BPqxOKFE.js} +1 -1
- package/dist/{MenuSetting-FywYOgmI.js → MenuSetting-DoH1hCL2.js} +4 -4
- package/dist/{PrintRoute-BO3-UkwS.js → PrintRoute-C_7hQlKF.js} +3 -3
- package/dist/{Product-BrlvooGG.js → Product-BY6rYNWs.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BNA1nx-k.js → Product.vue_vue_type_script_setup_true_lang-CPB_80UB.js} +11 -11
- package/dist/{Products-BPwLcwaE.js → Products-Bo0GLhqh.js} +511 -511
- package/dist/{Publish-CqP2L3H8.js → Publish-yx7N-Mpv.js} +3 -3
- package/dist/{Recipe-DO4yCnFG.js → Recipe-CrtkqI4g.js} +4 -4
- package/dist/{Scheduler-CkFIeXN3.js → Scheduler-BXWkFbPl.js} +3 -3
- package/dist/{ServingSequence-B_-BOp8C.js → ServingSequence-Ip13GxVP.js} +3 -3
- package/dist/{Setting-CY1-d04h.js → Setting-DWEhlh22.js} +4 -4
- package/dist/{Subcategory-H3rxT2CG.js → Subcategory-DjqfRJ4l.js} +4 -4
- package/dist/{Takeaway-C6Z2ScCk.js → Takeaway-C_NseTz5.js} +4 -4
- package/dist/{Takeaway-BJVacqXp.js → Takeaway-DCEN8U_L.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-vky_OjQ5.js → Takeaway.vue_vue_type_script_setup_true_lang-BM9GpET_.js} +5 -5
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BEsR-cqN.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D-FwzQwW.js} +1567 -1571
- package/dist/{Unit-CT9vH-Li.js → Unit-Dox7Xn2H.js} +2 -2
- package/dist/{Variant-DYxv7P2H.js → Variant-DyaoY_F4.js} +3 -3
- package/dist/{_id_-Dl-tTOCU.js → _id_-BkZNSeHB.js} +9 -9
- package/dist/{app-D349wgRv.js → app-Dt4HxTgk.js} +23 -23
- package/dist/{app-DXaQ2A8_.js → app-QF6YR_br.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/manager/menu/group.d.ts +2 -2
- package/dist/assets/{linked-status-DV0r63qX.js → linked-status-cHzQAg5J.js} +2 -2
- package/dist/assets/{override-menu-B1Il9Mtm.js → override-menu-C_imEkkD.js} +2 -2
- package/dist/assets/{validate-menu-u8H0BvHJ.js → validate-menu-BylCfbEQ.js} +2 -2
- package/dist/{catalog-Co0S8ONG.js → catalog-BBJLCMQs.js} +1 -1
- package/dist/{catalogSetting-BpL871DP.js → catalogSetting-BT3SGTnr.js} +1 -1
- package/dist/{category-pMoaKhVM.js → category-DHIAo9R_.js} +1 -1
- package/dist/{currency-CbR9kSDS.js → currency-CF2elIGc.js} +1 -1
- package/dist/{dayjs.min-Revise9-.js → dayjs.min-DTD3s98V.js} +1 -1
- package/dist/{index-CcgWvTsC.js → index-9ldMbFkz.js} +1 -1
- package/dist/{index-wErO3lhN.js → index-E-3k6_wI.js} +2 -2
- package/dist/{index-CiBy1MJE.js → index-tOyM3etE.js} +3 -3
- package/dist/{item-BZ-coUuR.js → item-DbD19dTs.js} +283 -282
- package/dist/{menu-DHMpoZLf.js → menu-D2bBcj5l.js} +1 -1
- package/dist/{menu-BhmpEsRJ.js → menu-Ds6C2AI_.js} +5 -5
- package/dist/{priceTier-DMoWzxYK.js → priceTier-Dey5MTGI.js} +1 -1
- package/dist/{scheduler-D7gjxSfM.js → scheduler-BzEqKDCE.js} +3 -3
- package/dist/{subcategory-R7C4OaTS.js → subcategory-korIzSgU.js} +46 -46
- package/dist/{toExcel-DiGrUwFp.js → toExcel-CLuJDFoU.js} +2 -2
- package/dist/{unit-B_lUkXXv.js → unit-BNIcNwgS.js} +1 -1
- package/package.json +1 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineStore as mo } from "pinia";
|
|
2
|
-
import { createElementBlock as re, openBlock as U, createElementVNode as
|
|
3
|
-
import { M as Ve, I as ee, X as Aa, ai as Oa, $ as Ia, J as ge, A as qe, V as go, u as Te, z as $e, K as ot, G as kt, Q as Ct, R as Ta, T as Ma, U as Da, W as Nn, ab as Na, O as Pa, N as ki } from "./menu-
|
|
2
|
+
import { createElementBlock as re, openBlock as U, createElementVNode as G, defineComponent as ve, resolveComponent as H, createBlock as Z, createVNode as A, toDisplayString as ye, Fragment as Ue, renderList as at, h as De, ref as te, computed as z, watch as Fe, unref as b, renderSlot as Re, withCtx as B, createCommentVNode as se, Transition as ha, resolveDynamicComponent as wn, withDirectives as Xt, vShow as kn, mergeProps as po, withModifiers as Cn, createTextVNode as Bn, normalizeClass as He, 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 Sa, normalizeProps as ka, guardReactiveProps as Ca, normalizeStyle as Ra } from "vue";
|
|
3
|
+
import { M as Ve, I as ee, X as Aa, ai as Oa, $ as Ia, J as ge, A as qe, V as go, u as Te, z as $e, K as ot, G as kt, Q as Ct, R as Ta, T as Ma, U as Da, W as Nn, ab as Na, O as Pa, N as ki } from "./menu-Ds6C2AI_.js";
|
|
4
4
|
import { useI18n as Se, useCoreStore as rn, CustomAttributesForm as vo } from "@feedmepos/mf-common";
|
|
5
|
-
import { useDialog as st, useSnackbar as Ze, components as
|
|
6
|
-
import { C as ft } from "./catalog-
|
|
5
|
+
import { useDialog as st, useSnackbar as Ze, components as Ge, FmButtonColorThemeVariant as pt, FmButtonVariant as Rt, useBreakpoints as _o, useDialogChild as bo } from "@feedmepos/ui-library";
|
|
6
|
+
import { C as ft } from "./catalog-BBJLCMQs.js";
|
|
7
7
|
import { c as Fa } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
8
8
|
import { a as Ci, _ as yo } from "./tooltip-B5BiPMx9.js";
|
|
9
|
-
import { _ as At, L as La } from "./LinkProductSideSheet-
|
|
9
|
+
import { _ as At, L as La } from "./LinkProductSideSheet-BPqxOKFE.js";
|
|
10
10
|
import { _ as lt, a as xa } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
11
|
-
import { s as Hn, F as Ua, _ as Va } from "./index-
|
|
12
|
-
import { I as za, u as $a } from "./app-
|
|
13
|
-
import { u as
|
|
14
|
-
import { a as
|
|
11
|
+
import { s as Hn, F as Ua, _ as Va } from "./index-9ldMbFkz.js";
|
|
12
|
+
import { I as za, u as $a } from "./app-Dt4HxTgk.js";
|
|
13
|
+
import { u as Ga } from "./app-QF6YR_br.js";
|
|
14
|
+
import { a as Ba, g as wo, d as Wa, c as Ha, b as ja, m as Ka } from "./subcategory-korIzSgU.js";
|
|
15
15
|
import { _ as _t } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
16
|
-
import { u as Ya } from "./category-
|
|
16
|
+
import { u as Ya } from "./category-DHIAo9R_.js";
|
|
17
17
|
import "@vue/devtools-api";
|
|
18
18
|
import { u as ui } from "./discardConfirm-BHni0LNu.js";
|
|
19
|
-
import { _ as Nt, l as jn, T as Xa } from "./index-
|
|
19
|
+
import { _ as Nt, l as jn, T as Xa } from "./index-tOyM3etE.js";
|
|
20
20
|
import { useInventoryStore as Eo, InventoryBindingForm as qa, InventoryBindingSummary as Ja } from "@feedmepos/mf-inventory-portal";
|
|
21
21
|
import { c as sn } from "./check-C9mY6LiX.js";
|
|
22
22
|
import { c as Za } from "./object-DVUNCr7w.js";
|
|
23
|
-
import { f as
|
|
24
|
-
import { u as So } from "./priceTier-
|
|
23
|
+
import { f as Gt } from "./currency-CF2elIGc.js";
|
|
24
|
+
import { u as So } from "./priceTier-Dey5MTGI.js";
|
|
25
25
|
import { u as Qa } from "./search-BAPEUu1R.js";
|
|
26
26
|
import { c as er } from "./string-DpfFixWH.js";
|
|
27
27
|
import { d as ko } from "./vuedraggable-CK8z7qA8.js";
|
|
28
|
-
import { _ as tr } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
29
|
-
import { V as Ri } from "./index-
|
|
28
|
+
import { _ as tr } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-eDOuUKea.js";
|
|
29
|
+
import { V as Ri } from "./index-E-3k6_wI.js";
|
|
30
30
|
class _n {
|
|
31
31
|
constructor(t, n, i, a) {
|
|
32
32
|
this.scheduler = t, this.menuStore = n, this.updateMenu = i, this.dialog = a;
|
|
@@ -493,11 +493,11 @@ class Ro {
|
|
|
493
493
|
return !!this.menuStore.state.currentCatalogId || !!this.menuStore.state.currentSchedulerId;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
function Ao(e
|
|
496
|
+
function Ao(e) {
|
|
497
497
|
if (!e)
|
|
498
498
|
return [];
|
|
499
|
-
const
|
|
500
|
-
return e.link(
|
|
499
|
+
const t = [];
|
|
500
|
+
return e.link() || (t.push("name"), t.push("min"), t.push("max"), t.push("stackable")), e.type || t.push("type"), t;
|
|
501
501
|
}
|
|
502
502
|
function ir(e, t) {
|
|
503
503
|
if (!e)
|
|
@@ -505,23 +505,24 @@ function ir(e, t) {
|
|
|
505
505
|
const n = ["code"];
|
|
506
506
|
return e.priceEdit || n.push("price"), e.isDefault(t) || n.push("isDefault"), e.name(t) || n.push("name"), e.orderFrom(t) || n.push("orderFrom"), n;
|
|
507
507
|
}
|
|
508
|
-
function or(e, t
|
|
509
|
-
const
|
|
510
|
-
|
|
511
|
-
n
|
|
512
|
-
)
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
508
|
+
function or(e, t) {
|
|
509
|
+
const n = ge(e);
|
|
510
|
+
return Ao(t).forEach((o) => {
|
|
511
|
+
delete n[o];
|
|
512
|
+
}), (n.items ?? []).forEach((o) => {
|
|
513
|
+
const r = o.combinationKey ?? null;
|
|
514
|
+
ir(
|
|
515
|
+
t,
|
|
516
|
+
r
|
|
517
|
+
).forEach((s) => {
|
|
518
|
+
o[s] !== void 0 && delete o[s];
|
|
518
519
|
});
|
|
519
|
-
}),
|
|
520
|
+
}), n;
|
|
520
521
|
}
|
|
521
522
|
const ar = {};
|
|
522
523
|
function rr(e, t) {
|
|
523
524
|
return U(), re("div", null, t[0] || (t[0] = [
|
|
524
|
-
|
|
525
|
+
G("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
|
|
525
526
|
]));
|
|
526
527
|
}
|
|
527
528
|
const sr = /* @__PURE__ */ At(ar, [["render", rr]]), lr = {
|
|
@@ -552,7 +553,7 @@ const sr = /* @__PURE__ */ At(ar, [["render", rr]]), lr = {
|
|
|
552
553
|
return (a, o) => {
|
|
553
554
|
const r = H("FmButton");
|
|
554
555
|
return t.variant === "full" ? (U(), re("div", lr, [
|
|
555
|
-
|
|
556
|
+
G("div", ur, ye(a.title), 1),
|
|
556
557
|
A(sr),
|
|
557
558
|
(U(!0), re(Ue, null, at(a.items, (l) => (U(), Z(Ci, {
|
|
558
559
|
key: l.name,
|
|
@@ -619,12 +620,12 @@ const sr = /* @__PURE__ */ At(ar, [["render", rr]]), lr = {
|
|
|
619
620
|
), (c, p) => {
|
|
620
621
|
const S = H("FmSelect");
|
|
621
622
|
return U(), re("div", cr, [
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
623
|
+
G("div", dr, [
|
|
624
|
+
G("div", mr, ye(b(a)("menu.catalog_scheduler.title")), 1),
|
|
625
|
+
G("div", pr, ye(b(a)("menu.catalog_scheduler.subtitle")), 1)
|
|
625
626
|
]),
|
|
626
|
-
|
|
627
|
-
|
|
627
|
+
G("div", fr, [
|
|
628
|
+
G("div", hr, [
|
|
628
629
|
A(S, {
|
|
629
630
|
label: b(a)("menu.common.labels.catalog"),
|
|
630
631
|
items: l.value,
|
|
@@ -632,7 +633,7 @@ const sr = /* @__PURE__ */ At(ar, [["render", rr]]), lr = {
|
|
|
632
633
|
"onUpdate:modelValue": p[0] || (p[0] = (_) => r.value = _)
|
|
633
634
|
}, null, 8, ["label", "items", "modelValue"])
|
|
634
635
|
]),
|
|
635
|
-
|
|
636
|
+
G("div", gr, [
|
|
636
637
|
A(S, {
|
|
637
638
|
label: b(a)("menu.common.labels.scheduler"),
|
|
638
639
|
items: m.value,
|
|
@@ -665,10 +666,10 @@ const sr = /* @__PURE__ */ At(ar, [["render", rr]]), lr = {
|
|
|
665
666
|
class: "p-16 space-y-24",
|
|
666
667
|
variant: "outlined"
|
|
667
668
|
}, {
|
|
668
|
-
default:
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
669
|
+
default: B(() => [
|
|
670
|
+
G("div", _r, [
|
|
671
|
+
G("div", br, [
|
|
672
|
+
G("p", yr, ye(i.title), 1),
|
|
672
673
|
i.description ? (U(), re("p", wr, ye(i.description), 1)) : se("", !0)
|
|
673
674
|
]),
|
|
674
675
|
A(o, {
|
|
@@ -677,7 +678,7 @@ const sr = /* @__PURE__ */ At(ar, [["render", rr]]), lr = {
|
|
|
677
678
|
}, null, 8, ["model-value"])
|
|
678
679
|
]),
|
|
679
680
|
A(ha, { name: "expand" }, {
|
|
680
|
-
default:
|
|
681
|
+
default: B(() => [
|
|
681
682
|
i.toggle ? (U(), re("div", Er, [
|
|
682
683
|
Re(i.$slots, "default", {}, void 0, !0)
|
|
683
684
|
])) : se("", !0)
|
|
@@ -691,9 +692,9 @@ const sr = /* @__PURE__ */ At(ar, [["render", rr]]), lr = {
|
|
|
691
692
|
}
|
|
692
693
|
}), Tt = /* @__PURE__ */ At(Sr, [["__scopeId", "data-v-e920f110"]]);
|
|
693
694
|
var kr = { remy: "https://remy.feedmeapi.com/v1" };
|
|
694
|
-
let
|
|
695
|
+
let Be;
|
|
695
696
|
function Cr(e) {
|
|
696
|
-
const t =
|
|
697
|
+
const t = Ga(), n = za(e), i = z(() => {
|
|
697
698
|
var s, u, m;
|
|
698
699
|
return ((m = (u = (s = t.publicSetting) == null ? void 0 : s.aiSettings) == null ? void 0 : u.remy) == null ? void 0 : m.enable) || !1;
|
|
699
700
|
}), a = te(!1);
|
|
@@ -715,7 +716,7 @@ function Cr(e) {
|
|
|
715
716
|
};
|
|
716
717
|
}
|
|
717
718
|
function bm(e) {
|
|
718
|
-
|
|
719
|
+
Be = Cr({
|
|
719
720
|
token: e,
|
|
720
721
|
url: kr.remy
|
|
721
722
|
});
|
|
@@ -1007,7 +1008,7 @@ Do.render = function(e, t, n, i, a, o) {
|
|
|
1007
1008
|
return e.$emit("leave");
|
|
1008
1009
|
}), onEnter: t[4] || (t[4] = function(l) {
|
|
1009
1010
|
return e.$emit("enter");
|
|
1010
|
-
}) }, { default:
|
|
1011
|
+
}) }, { default: B(function() {
|
|
1011
1012
|
return [Re(e.$slots, "default")];
|
|
1012
1013
|
}), _: 3 }, 8, ["class"])], 2);
|
|
1013
1014
|
};
|
|
@@ -1025,7 +1026,7 @@ No.render = function(e, t, n, i, a, o) {
|
|
|
1025
1026
|
return e.$emit("leave");
|
|
1026
1027
|
}), onEnter: t[4] || (t[4] = function(l) {
|
|
1027
1028
|
return e.$emit("enter");
|
|
1028
|
-
}) }, { default:
|
|
1029
|
+
}) }, { default: B(function() {
|
|
1029
1030
|
return [Re(e.$slots, "default")];
|
|
1030
1031
|
}), _: 3 }, 8, ["class"]);
|
|
1031
1032
|
};
|
|
@@ -1038,7 +1039,7 @@ function Ni(e, t, n) {
|
|
|
1038
1039
|
function rt(e) {
|
|
1039
1040
|
return { left: e.left, top: e.top, right: e.left + e.width, bottom: e.top + e.height };
|
|
1040
1041
|
}
|
|
1041
|
-
function
|
|
1042
|
+
function Bt(e, t) {
|
|
1042
1043
|
return { left: e.left - t.left, top: e.top - t.top };
|
|
1043
1044
|
}
|
|
1044
1045
|
function Le(e) {
|
|
@@ -1159,7 +1160,7 @@ function $r(e) {
|
|
|
1159
1160
|
}(u, ie(ie({}, u), d))), Me(d.left) && Me(d.top) || (u = s(u, ie(ie({}, u), d)));
|
|
1160
1161
|
}), u;
|
|
1161
1162
|
}
|
|
1162
|
-
function
|
|
1163
|
+
function Gr(e) {
|
|
1163
1164
|
e.event;
|
|
1164
1165
|
var t = e.getAreaRestrictions, n = e.boundaries, i = e.coordinates, a = e.visibleArea;
|
|
1165
1166
|
e.aspectRatio;
|
|
@@ -1168,9 +1169,9 @@ function Br(e) {
|
|
|
1168
1169
|
var s, u, m, d = ie({}, i), c = ie({}, a), p = ie({}, o);
|
|
1169
1170
|
s = me(p), u = me(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 = ie(ie({}, d), ht({ sizeRestrictions: r, width: d.width, height: d.height, aspectRatio: { minimum: me(p), maximum: me(p) } })));
|
|
1170
1171
|
var S = On(c = Xe(c, d.width * n.width / (c.width * p.width)), t({ visibleArea: c, type: "resize" }));
|
|
1171
|
-
return S !== 1 && (c = Xe(c, S), d = Xe(d, S)), c = xe(c = We(c,
|
|
1172
|
+
return S !== 1 && (c = Xe(c, S), d = Xe(d, S)), c = xe(c = We(c, Bt(Le(d), Le(c))), t({ visibleArea: c, type: "move" })), { coordinates: d = xe(d, In(rt(c), l)), visibleArea: c };
|
|
1172
1173
|
}
|
|
1173
|
-
function
|
|
1174
|
+
function Br(e) {
|
|
1174
1175
|
var t = e.event, n = e.getAreaRestrictions, i = e.boundaries, a = e.coordinates, o = e.visibleArea;
|
|
1175
1176
|
e.aspectRatio, e.stencilSize, e.sizeRestrictions;
|
|
1176
1177
|
var r = e.positionRestrictions;
|
|
@@ -1180,7 +1181,7 @@ function Gr(e) {
|
|
|
1180
1181
|
var u = { width: 0, height: 0 };
|
|
1181
1182
|
s.width, i.width, me(i) > me(l) ? (u.height = 0.8 * i.height, u.width = u.height * me(l)) : (u.width = 0.8 * i.width, u.height = u.width * me(l));
|
|
1182
1183
|
var m = On(s = Xe(s, l.width * i.width / (s.width * u.width)), n({ visibleArea: s, type: "resize" }));
|
|
1183
|
-
s = Xe(s, m), m !== 1 && (u.height /= m, u.width /= m), s = xe(s = We(s,
|
|
1184
|
+
s = Xe(s, m), m !== 1 && (u.height /= m, u.width /= m), s = xe(s = We(s, Bt(Le(l), Le(s))), n({ visibleArea: s, type: "move" })), l = xe(l, In(rt(s), r));
|
|
1184
1185
|
}
|
|
1185
1186
|
return { coordinates: l, visibleArea: s };
|
|
1186
1187
|
}
|
|
@@ -1226,13 +1227,13 @@ function Xr(e) {
|
|
|
1226
1227
|
}
|
|
1227
1228
|
function qr(e) {
|
|
1228
1229
|
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 = ie({}, i), d = ie({}, a), c = St(Le(ie({ left: 0, top: 0 }, s)), u);
|
|
1229
|
-
return (m = ie(ie({}, ht({ sizeRestrictions: o, aspectRatio: t, width: m.width, height: m.height })), St(Le(m), u))).left -= c.left - l.width / 2 + m.width / 2, m.top -= c.top - l.height / 2 + m.height / 2, d = Xe(d, On(d, n({ visibleArea: d, type: "resize" }))), { coordinates: m = xe(m, r), visibleArea: d = xe(d = We(d,
|
|
1230
|
+
return (m = ie(ie({}, ht({ sizeRestrictions: o, aspectRatio: t, width: m.width, height: m.height })), St(Le(m), u))).left -= c.left - l.width / 2 + m.width / 2, m.top -= c.top - l.height / 2 + m.height / 2, d = Xe(d, On(d, n({ visibleArea: d, type: "resize" }))), { coordinates: m = xe(m, r), visibleArea: d = xe(d = We(d, Bt(Le(m), Le(i))), n({ visibleArea: d, type: "move" })) };
|
|
1230
1231
|
}
|
|
1231
1232
|
function Jr(e) {
|
|
1232
1233
|
var t = e.flip, n = e.previousFlip, i = e.rotate, a = e.getAreaRestrictions, o = e.coordinates, r = e.visibleArea, l = e.imageSize, s = ie({}, o), u = ie({}, r), m = n.horizontal !== t.horizontal, d = n.vertical !== t.vertical;
|
|
1233
1234
|
if (m || d) {
|
|
1234
1235
|
var c = St({ left: l.width / 2, top: l.height / 2 }, -i), p = St(Le(s), -i), S = St({ left: m ? c.left - (p.left - c.left) : p.left, top: d ? c.top - (p.top - c.top) : p.top }, i);
|
|
1235
|
-
s = We(s,
|
|
1236
|
+
s = We(s, Bt(S, Le(s))), p = St(Le(u), -i), u = xe(u = We(u, Bt(S = St({ left: m ? c.left - (p.left - c.left) : p.left, top: d ? c.top - (p.top - c.top) : p.top }, i), Le(u))), a({ visibleArea: u, type: "move" }));
|
|
1236
1237
|
}
|
|
1237
1238
|
return { coordinates: s, visibleArea: u };
|
|
1238
1239
|
}
|
|
@@ -1286,7 +1287,7 @@ var Zr = Qe("vue-simple-handler"), Qr = Qe("vue-simple-handler-wrapper"), pi = {
|
|
|
1286
1287
|
} }, emits: ["drag", "drag-end"] };
|
|
1287
1288
|
pi.render = function(e, t, n, i, a, o) {
|
|
1288
1289
|
var r = H("HandlerWrapper");
|
|
1289
|
-
return U(), Z(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:
|
|
1290
|
+
return U(), Z(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: B(function() {
|
|
1290
1291
|
return [A("div", { class: o.classes.default }, null, 2)];
|
|
1291
1292
|
}), _: 1 }, 8, ["class", "vertical-position", "horizontal-position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
1292
1293
|
};
|
|
@@ -1305,7 +1306,7 @@ var es = Qe("vue-simple-line"), ts = Qe("vue-simple-line-wrapper"), fi = { name:
|
|
|
1305
1306
|
} }, emits: ["drag", "drag-end"] };
|
|
1306
1307
|
fi.render = function(e, t, n, i, a, o) {
|
|
1307
1308
|
var r = H("LineWrapper");
|
|
1308
|
-
return U(), Z(r, { class: o.classes.wrapper, position: n.position, disabled: n.disabled, onDrag: o.onDrag, onDragEnd: o.onDragEnd, onEnter: o.onEnter, onLeave: o.onLeave }, { default:
|
|
1309
|
+
return U(), Z(r, { class: o.classes.wrapper, position: n.position, disabled: n.disabled, onDrag: o.onDrag, onDragEnd: o.onDragEnd, onEnter: o.onEnter, onLeave: o.onLeave }, { default: B(function() {
|
|
1309
1310
|
return [A("div", { class: o.classes.root }, null, 2)];
|
|
1310
1311
|
}), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
1311
1312
|
};
|
|
@@ -1583,7 +1584,7 @@ Zn.render = function(e, t, n, i, a, o) {
|
|
|
1583
1584
|
return e.$emit("move", l);
|
|
1584
1585
|
}), onResize: t[2] || (t[2] = function(l) {
|
|
1585
1586
|
return e.$emit("resize", l);
|
|
1586
|
-
}) }, { default:
|
|
1587
|
+
}) }, { default: B(function() {
|
|
1587
1588
|
return [Re(e.$slots, "default")];
|
|
1588
1589
|
}), _: 3 }, 8, ["touch-move", "touch-resize", "mouse-move", "wheel-resize"]);
|
|
1589
1590
|
};
|
|
@@ -1633,12 +1634,12 @@ var fn = Qe("vue-preview"), $o = { props: { coordinates: { type: Object }, trans
|
|
|
1633
1634
|
$o.render = function(e, t, n, i, a, o) {
|
|
1634
1635
|
return U(), Z("div", { ref: "root", class: o.classes.root, style: o.style }, [A("div", { ref: "wrapper", class: o.classes.wrapper, style: o.wrapperStyle }, [Xt(A("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);
|
|
1635
1636
|
};
|
|
1636
|
-
var
|
|
1637
|
-
|
|
1637
|
+
var Go = { components: { Preview: $o }, inheritAttrs: !1 };
|
|
1638
|
+
Go.render = function(e, t, n, i, a, o) {
|
|
1638
1639
|
var r = H("preview");
|
|
1639
1640
|
return U(), Z(r, po(e.$attrs, { fill: !0 }), null, 16);
|
|
1640
1641
|
};
|
|
1641
|
-
var Vn = Qe("vue-rectangle-stencil"),
|
|
1642
|
+
var Vn = Qe("vue-rectangle-stencil"), Bo = { name: "RectangleStencil", components: { StencilPreview: Go, BoundingBox: xo, DraggableArea: Uo }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
|
|
1642
1643
|
return pi;
|
|
1643
1644
|
} }, lines: { type: Object }, linesComponent: { type: [Object, String], default: function() {
|
|
1644
1645
|
return fi;
|
|
@@ -1668,16 +1669,16 @@ var Vn = Qe("vue-rectangle-stencil"), Go = { name: "RectangleStencil", component
|
|
|
1668
1669
|
}, aspectRatios: function() {
|
|
1669
1670
|
return { minimum: this.aspectRatio || this.minAspectRatio, maximum: this.aspectRatio || this.maxAspectRatio };
|
|
1670
1671
|
} }, emits: ["resize", "resize-end", "move", "move-end"] };
|
|
1671
|
-
|
|
1672
|
+
Bo.render = function(e, t, n, i, a, o) {
|
|
1672
1673
|
var r = H("stencil-preview"), l = H("draggable-area"), s = H("bounding-box");
|
|
1673
|
-
return U(), Z("div", { class: o.classes.stencil, style: o.style }, [A(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:
|
|
1674
|
-
return [A(l, { movable: n.movable, onMove: o.onMove, onMoveEnd: o.onMoveEnd }, { default:
|
|
1674
|
+
return U(), Z("div", { class: o.classes.stencil, style: o.style }, [A(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: B(function() {
|
|
1675
|
+
return [A(l, { movable: n.movable, onMove: o.onMove, onMoveEnd: o.onMoveEnd }, { default: B(function() {
|
|
1675
1676
|
return [A(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"])];
|
|
1676
1677
|
}), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
|
|
1677
1678
|
}), _: 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);
|
|
1678
1679
|
};
|
|
1679
1680
|
var ss = ["transitions"], dt = Qe("vue-advanced-cropper"), Wo = { name: "Cropper", components: { BackgroundWrapper: Zn }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
|
|
1680
|
-
return
|
|
1681
|
+
return Bo;
|
|
1681
1682
|
} }, backgroundWrapperComponent: { type: [Object, String], default: function() {
|
|
1682
1683
|
return Zn;
|
|
1683
1684
|
} }, stencilProps: { type: Object, default: function() {
|
|
@@ -1717,7 +1718,7 @@ var ss = ["transitions"], dt = Qe("vue-advanced-cropper"), Wo = { name: "Cropper
|
|
|
1717
1718
|
t.style.width = n.width + "px", t.style.height = t.clientWidth / i + "px", t.style.width = t.clientWidth + "px";
|
|
1718
1719
|
} }, fitCoordinates: { type: Function, default: function(e) {
|
|
1719
1720
|
var t = e.visibleArea, n = e.coordinates, i = e.aspectRatio, a = e.sizeRestrictions, o = e.positionRestrictions, r = ie(ie({}, n), ht({ 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) } }));
|
|
1720
|
-
return r = xe(r = We(r,
|
|
1721
|
+
return r = xe(r = We(r, Bt(Le(n), Le(r))), In(rt(t), o));
|
|
1721
1722
|
} }, fitVisibleArea: { type: Function, default: function(e) {
|
|
1722
1723
|
var t = e.visibleArea, n = e.boundaries, i = e.getAreaRestrictions, a = e.coordinates, o = ie({}, t);
|
|
1723
1724
|
o.height = o.width / me(n), o.top += (t.height - o.height) / 2, (a.height - o.height > 0 || a.width - o.width > 0) && (o = Xe(o, Math.max(a.height / o.height, a.width / o.width)));
|
|
@@ -1855,7 +1856,7 @@ var ss = ["transitions"], dt = Qe("vue-advanced-cropper"), Wo = { name: "Cropper
|
|
|
1855
1856
|
}(de(de({}, this.getPublicProperties()), {}, { positionRestrictions: mn(this.positionRestrictions, this.visibleArea), coordinates: e })) : e;
|
|
1856
1857
|
}, processAutoZoom: function(e, t, n, i) {
|
|
1857
1858
|
var a = this.autoZoomAlgorithm;
|
|
1858
|
-
a || (a = this.stencilSize ?
|
|
1859
|
+
a || (a = this.stencilSize ? Gr : this.autoZoom ? Br : Wr);
|
|
1859
1860
|
var o = a({ event: { type: e, params: i }, visibleArea: t, coordinates: n, boundaries: this.boundaries, aspectRatio: this.getAspectRatio(), positionRestrictions: this.positionRestrictions, getAreaRestrictions: this.getAreaRestrictions, sizeRestrictions: this.sizeRestrictions, stencilSize: this.getStencilSize() });
|
|
1860
1861
|
return de(de({}, o), {}, { changed: !Ni(o.visibleArea, t) || !Ni(o.coordinates, n) });
|
|
1861
1862
|
}, runAutoZoom: function(e) {
|
|
@@ -2103,7 +2104,7 @@ var ss = ["transitions"], dt = Qe("vue-advanced-cropper"), Wo = { name: "Cropper
|
|
|
2103
2104
|
}
|
|
2104
2105
|
} }, emits: ["change", "error", "ready"] }, ls = { key: 0, ref: "canvas", style: { display: "none" } }, us = { key: 1, ref: "sourceCanvas", style: { display: "none" } };
|
|
2105
2106
|
Wo.render = function(e, t, n, i, a, o) {
|
|
2106
|
-
return U(), Z("div", { ref: "cropper", class: o.classes.cropper }, [A("div", { ref: "stretcher", class: o.classes.stretcher }, null, 2), A("div", { class: o.classes.boundaries, style: o.boundariesStyle }, [(U(), Z(wn(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:
|
|
2107
|
+
return U(), Z("div", { ref: "cropper", class: o.classes.cropper }, [A("div", { ref: "stretcher", class: o.classes.stretcher }, null, 2), A("div", { class: o.classes.boundaries, style: o.boundariesStyle }, [(U(), Z(wn(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: B(function() {
|
|
2107
2108
|
return [A("div", { class: o.classes.background, style: o.boundariesStyle }, null, 6), A("div", { class: o.classes.imageWrapper }, [A("img", { ref: "image", crossorigin: a.imageAttributes.crossOrigin, src: a.imageAttributes.src, class: o.classes.image, style: o.imageStyle, onMousedown: t[1] || (t[1] = Cn(function() {
|
|
2108
2109
|
}, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), A("div", { class: o.classes.foreground, style: o.boundariesStyle }, null, 6), Xt((U(), Z(wn(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 ? (U(), Z("canvas", ls, null, 512)) : se("", !0), n.canvas ? (U(), Z("canvas", us, null, 512)) : se("", !0)];
|
|
2109
2110
|
}), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
|
|
@@ -2174,13 +2175,13 @@ const ms = {
|
|
|
2174
2175
|
return (c, p) => {
|
|
2175
2176
|
const S = H("fm-icon"), _ = H("fm-drop-field");
|
|
2176
2177
|
return r.value || o.value ? (U(), re("div", ms, [
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2178
|
+
G("p", ps, [
|
|
2179
|
+
Bn(ye(b(i)("menu.common.labels.product_image")) + " ", 1),
|
|
2180
|
+
G("span", fs, ye(b(i)("menu.common.labels.optional")), 1)
|
|
2180
2181
|
]),
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2182
|
+
G("div", hs, [
|
|
2183
|
+
G("div", gs, [
|
|
2184
|
+
G("div", vs, [
|
|
2184
2185
|
A(b(Wo), {
|
|
2185
2186
|
class: "cropper h-[150px] w-[200px]",
|
|
2186
2187
|
src: r.value || o.value,
|
|
@@ -2197,7 +2198,7 @@ const ms = {
|
|
|
2197
2198
|
onChange: m
|
|
2198
2199
|
}, null, 8, ["src"])
|
|
2199
2200
|
]),
|
|
2200
|
-
|
|
2201
|
+
G("button", {
|
|
2201
2202
|
class: He([
|
|
2202
2203
|
"absolute top-12 right-12 z-10",
|
|
2203
2204
|
"w-24 h-24 rounded-[50%]",
|
|
@@ -2216,14 +2217,14 @@ const ms = {
|
|
|
2216
2217
|
"content-class": "h-[150px] w-[200px]",
|
|
2217
2218
|
onFileUpload: u
|
|
2218
2219
|
}, {
|
|
2219
|
-
label:
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2220
|
+
label: B(() => [
|
|
2221
|
+
G("p", _s, [
|
|
2222
|
+
Bn(ye(b(i)("menu.common.labels.product_image")) + " ", 1),
|
|
2223
|
+
G("span", bs, ye(b(i)("menu.common.labels.optional")), 1)
|
|
2223
2224
|
])
|
|
2224
2225
|
]),
|
|
2225
|
-
"accept-text":
|
|
2226
|
-
|
|
2226
|
+
"accept-text": B(() => [
|
|
2227
|
+
G("p", ys, ye(b(i)("menu.common.file.accepts")), 1)
|
|
2227
2228
|
]),
|
|
2228
2229
|
_: 1
|
|
2229
2230
|
}));
|
|
@@ -2329,11 +2330,11 @@ const ms = {
|
|
|
2329
2330
|
};
|
|
2330
2331
|
function Ss(e, t) {
|
|
2331
2332
|
return U(), re("svg", Es, t[0] || (t[0] = [
|
|
2332
|
-
|
|
2333
|
+
G("path", {
|
|
2333
2334
|
fill: "#1C1C1E",
|
|
2334
2335
|
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"
|
|
2335
2336
|
}, null, -1),
|
|
2336
|
-
|
|
2337
|
+
G("path", {
|
|
2337
2338
|
stroke: "#1C1C1E",
|
|
2338
2339
|
"stroke-linecap": "round",
|
|
2339
2340
|
"stroke-linejoin": "round",
|
|
@@ -2350,13 +2351,13 @@ const ks = { render: Ss }, Cs = {
|
|
|
2350
2351
|
};
|
|
2351
2352
|
function Rs(e, t) {
|
|
2352
2353
|
return U(), re("svg", Cs, t[0] || (t[0] = [
|
|
2353
|
-
|
|
2354
|
+
G("g", {
|
|
2354
2355
|
stroke: "#1C1C1E",
|
|
2355
2356
|
"stroke-linecap": "round",
|
|
2356
2357
|
"stroke-linejoin": "round",
|
|
2357
2358
|
"stroke-width": "1.5"
|
|
2358
2359
|
}, [
|
|
2359
|
-
|
|
2360
|
+
G("path", { 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" })
|
|
2360
2361
|
], -1)
|
|
2361
2362
|
]));
|
|
2362
2363
|
}
|
|
@@ -2369,14 +2370,14 @@ const As = { render: Rs }, Ho = /* @__PURE__ */ ve({
|
|
|
2369
2370
|
setup(e) {
|
|
2370
2371
|
return (t, n) => {
|
|
2371
2372
|
var i;
|
|
2372
|
-
return (i = b(
|
|
2373
|
+
return (i = b(Be)) != null && i.enable.value ? (U(), re("button", {
|
|
2373
2374
|
key: 0,
|
|
2374
2375
|
class: He([!t.pureStyling && "bg-fm-color-neutral-gray-100 rounded-lg p-[6px]"]),
|
|
2375
2376
|
type: "button",
|
|
2376
2377
|
onClick: n[0] || (n[0] = //@ts-ignore
|
|
2377
2378
|
(...a) => t.onClick && t.onClick(...a))
|
|
2378
2379
|
}, [
|
|
2379
|
-
b(
|
|
2380
|
+
b(Be).isDialogOpened.value ? (U(), Z(b(ks), { key: 1 })) : (U(), Z(b(As), { key: 0 }))
|
|
2380
2381
|
], 2)) : se("", !0);
|
|
2381
2382
|
};
|
|
2382
2383
|
}
|
|
@@ -2451,7 +2452,7 @@ function Us(e) {
|
|
|
2451
2452
|
}
|
|
2452
2453
|
const mt = " ", Vs = "\r", ze = `
|
|
2453
2454
|
`, zs = "\u2028", $s = "\u2029";
|
|
2454
|
-
function
|
|
2455
|
+
function Gs(e) {
|
|
2455
2456
|
const t = e;
|
|
2456
2457
|
let n = 0, i = 1, a = 1, o = 0;
|
|
2457
2458
|
const r = (w) => t[w] === Vs && t[w + 1] === ze, l = (w) => t[w] === ze, s = (w) => t[w] === $s, u = (w) => t[w] === zs, m = (w) => r(w) || l(w) || s(w) || u(w), d = () => n, c = () => i, p = () => a, S = () => o, _ = (w) => r(w) || s(w) || u(w) ? ze : t[w], y = () => _(n), g = () => _(n + o);
|
|
@@ -2488,9 +2489,9 @@ function Bs(e) {
|
|
|
2488
2489
|
skipToPeek: O
|
|
2489
2490
|
};
|
|
2490
2491
|
}
|
|
2491
|
-
const Et = void 0,
|
|
2492
|
+
const Et = void 0, Bs = ".", $i = "'", Ws = "tokenizer";
|
|
2492
2493
|
function Hs(e, t = {}) {
|
|
2493
|
-
const n = t.location !== !1, i =
|
|
2494
|
+
const n = t.location !== !1, i = Gs(e), a = () => i.index(), o = () => Ls(i.line(), i.column(), i.index()), r = o(), l = a(), s = {
|
|
2494
2495
|
currentType: 13,
|
|
2495
2496
|
offset: l,
|
|
2496
2497
|
startLoc: r,
|
|
@@ -3042,20 +3043,20 @@ function qs(e, t = {}) {
|
|
|
3042
3043
|
};
|
|
3043
3044
|
return { context: () => n, helper: (o) => (n.helpers.add(o), o) };
|
|
3044
3045
|
}
|
|
3045
|
-
function
|
|
3046
|
+
function Gi(e, t) {
|
|
3046
3047
|
for (let n = 0; n < e.length; n++)
|
|
3047
3048
|
_i(e[n], t);
|
|
3048
3049
|
}
|
|
3049
3050
|
function _i(e, t) {
|
|
3050
3051
|
switch (e.type) {
|
|
3051
3052
|
case 1:
|
|
3052
|
-
|
|
3053
|
+
Gi(e.cases, t), t.helper(
|
|
3053
3054
|
"plural"
|
|
3054
3055
|
/* HelperNameMap.PLURAL */
|
|
3055
3056
|
);
|
|
3056
3057
|
break;
|
|
3057
3058
|
case 2:
|
|
3058
|
-
|
|
3059
|
+
Gi(e.items, t);
|
|
3059
3060
|
break;
|
|
3060
3061
|
case 6: {
|
|
3061
3062
|
_i(e.key, t), t.helper(
|
|
@@ -3098,9 +3099,9 @@ function Js(e, t = {}) {
|
|
|
3098
3099
|
}
|
|
3099
3100
|
function Zs(e) {
|
|
3100
3101
|
const t = e.body;
|
|
3101
|
-
return t.type === 2 ?
|
|
3102
|
+
return t.type === 2 ? Bi(t) : t.cases.forEach((n) => Bi(n)), e;
|
|
3102
3103
|
}
|
|
3103
|
-
function
|
|
3104
|
+
function Bi(e) {
|
|
3104
3105
|
if (e.items.length === 1) {
|
|
3105
3106
|
const t = e.items[0];
|
|
3106
3107
|
(t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
|
|
@@ -3846,8 +3847,8 @@ function $l(e, t) {
|
|
|
3846
3847
|
}
|
|
3847
3848
|
return a;
|
|
3848
3849
|
}
|
|
3849
|
-
const
|
|
3850
|
-
function
|
|
3850
|
+
const Gl = "10.0.5", Dn = -1, Sn = "en-US", Yi = "", Xi = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
3851
|
+
function Bl() {
|
|
3851
3852
|
return {
|
|
3852
3853
|
upper: (e, t) => t === "text" && Q(e) ? e.toUpperCase() : t === "vnode" && fe(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
3853
3854
|
lower: (e, t) => t === "text" && Q(e) ? e.toLowerCase() : t === "vnode" && fe(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -3876,7 +3877,7 @@ const qi = (e) => {
|
|
|
3876
3877
|
}, Xl = () => Qo;
|
|
3877
3878
|
let Ji = 0;
|
|
3878
3879
|
function ql(e = {}) {
|
|
3879
|
-
const t = Ee(e.onWarn) ? e.onWarn : Fs, n = Q(e.version) ? e.version :
|
|
3880
|
+
const t = Ee(e.onWarn) ? e.onWarn : Fs, n = Q(e.version) ? e.version : Gl, i = Q(e.locale) || Ee(e.locale) ? e.locale : Sn, a = Ee(i) ? Sn : i, o = Ie(e.fallbackLocale) || pe(e.fallbackLocale) || Q(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, r = pe(e.messages) ? e.messages : Gn(a), l = pe(e.datetimeFormats) ? e.datetimeFormats : Gn(a), s = pe(e.numberFormats) ? e.numberFormats : Gn(a), u = Pe(be(), e.modifiers, Bl()), m = e.pluralRules || be(), d = Ee(e.missing) ? e.missing : null, c = Ce(e.missingWarn) || En(e.missingWarn) ? e.missingWarn : !0, p = Ce(e.fallbackWarn) || En(e.fallbackWarn) ? e.fallbackWarn : !0, S = !!e.fallbackFormat, _ = !!e.unresolving, y = Ee(e.postTranslation) ? e.postTranslation : null, g = pe(e.processor) ? e.processor : null, v = Ce(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter, R = Ee(e.messageCompiler) ? e.messageCompiler : Xo, M = Ee(e.messageResolver) ? e.messageResolver : qo || zl, O = Ee(e.localeFallbacker) ? e.localeFallbacker : Jo || Ml, w = fe(e.fallbackContext) ? e.fallbackContext : void 0, x = e, k = fe(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), I = fe(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), F = fe(x.__meta) ? x.__meta : {};
|
|
3880
3881
|
Ji++;
|
|
3881
3882
|
const N = {
|
|
3882
3883
|
version: n,
|
|
@@ -3904,7 +3905,7 @@ function ql(e = {}) {
|
|
|
3904
3905
|
};
|
|
3905
3906
|
return N.datetimeFormats = l, N.numberFormats = s, N.__datetimeFormatters = k, N.__numberFormatters = I, __INTLIFY_PROD_DEVTOOLS__ && Al(N, n, F), N;
|
|
3906
3907
|
}
|
|
3907
|
-
const
|
|
3908
|
+
const Gn = (e) => ({ [e]: be() });
|
|
3908
3909
|
function wi(e, t, n, i, a) {
|
|
3909
3910
|
const { missing: o, onWarn: r } = e;
|
|
3910
3911
|
if (o !== null) {
|
|
@@ -4226,7 +4227,7 @@ function cu(e, t, n, i) {
|
|
|
4226
4227
|
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;
|
|
4227
4228
|
}
|
|
4228
4229
|
sl();
|
|
4229
|
-
var du = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_921691ee-f406-4275-a3da-ee44508ec1d6", 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", 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_921691ee-f406-4275-a3da-ee44508ec1d6", 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-0.7.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-8.14.3", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", 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: "1742", npm_package_dependencies__feedmepos_ui_library: "1.7.0", 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", 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: "20250720.1.0", 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.0-rc.6", 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.11/x64", JOURNAL_STREAM: "9:10199", 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.5/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", GITHUB_RUN_ID: "16534876978", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "043aef2631d6a1b2407c53547d4ef6d538deb481", 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_9362e552-2581-481b-b30e-98cea405f873", INVOCATION_ID: "cacbc6c4bbe745ae814cf8e25b8706b6", 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: "60", GITHUB_TRIGGERING_ACTOR: "heiseshandian", 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", 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 1000008811", 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.19", 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_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.13-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_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_dependencies_lodash: "^4.17.21", GITHUB_SHA: "043aef2631d6a1b2407c53547d4ef6d538deb481", 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: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", 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_921691ee-f406-4275-a3da-ee44508ec1d6", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", 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_921691ee-f406-4275-a3da-ee44508ec1d6", 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", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", 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.5.26", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_921691ee-f406-4275-a3da-ee44508ec1d6", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
4230
|
+
var du = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_16970c4d-5672-4f0e-9ad8-28713b2f26b1", 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", 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_16970c4d-5672-4f0e-9ad8-28713b2f26b1", 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-0.7.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-8.14.3", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", 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: "1743", npm_package_dependencies__feedmepos_ui_library: "1.7.0", 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", 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: "20250728.1.0", 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.0-rc.6", 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.11/x64", JOURNAL_STREAM: "9:13193", 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.5/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", GITHUB_RUN_ID: "16641162819", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "fc8714720cd9eb32382e01c9a2cdd0824870c95a", 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_83542cc8-8c62-4ec3-9a39-a017e2c31d5b", INVOCATION_ID: "5b42db38fe2d4501b71bb647d24b9a1c", 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: "61", GITHUB_TRIGGERING_ACTOR: "heiseshandian", 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", 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 1000009623", 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.19", 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_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.14-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_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_dependencies_lodash: "^4.17.21", GITHUB_SHA: "fc8714720cd9eb32382e01c9a2cdd0824870c95a", 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: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", 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_16970c4d-5672-4f0e-9ad8-28713b2f26b1", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", 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_16970c4d-5672-4f0e-9ad8-28713b2f26b1", 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", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", 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.5.26", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_16970c4d-5672-4f0e-9ad8-28713b2f26b1", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
4230
4231
|
const mu = "10.0.5";
|
|
4231
4232
|
function pu() {
|
|
4232
4233
|
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);
|
|
@@ -4403,7 +4404,7 @@ function _u(e = {}) {
|
|
|
4403
4404
|
}
|
|
4404
4405
|
if (he !== "translate exists" && // for not `te` (e.g `t`)
|
|
4405
4406
|
Ne(Ut) && Ut === Dn || he === "translate exists" && !Ut) {
|
|
4406
|
-
const [fa,
|
|
4407
|
+
const [fa, Bd] = W();
|
|
4407
4408
|
return t && S ? we(t) : et(fa);
|
|
4408
4409
|
} else {
|
|
4409
4410
|
if (un(Ut))
|
|
@@ -4760,7 +4761,7 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
4760
4761
|
},
|
|
4761
4762
|
emits: ["update:modelValue"],
|
|
4762
4763
|
setup(e, { emit: t }) {
|
|
4763
|
-
const n = e, i = t, a = st(), o = Ze(), r = kt(o), l = Ct(r), { t: s } = ln(), u = te(null), m = te([]), d =
|
|
4764
|
+
const n = e, i = t, a = st(), o = Ze(), r = kt(o), l = Ct(r), { t: s } = ln(), u = te(null), m = te([]), d = Ba({
|
|
4764
4765
|
dialog: a,
|
|
4765
4766
|
menuLoader: l,
|
|
4766
4767
|
isLocalOnly: n.isLocalOnly
|
|
@@ -4798,7 +4799,7 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
4798
4799
|
"helper-text": v.helperText,
|
|
4799
4800
|
rules: v.rules
|
|
4800
4801
|
}, {
|
|
4801
|
-
default:
|
|
4802
|
+
default: B(({ invalid: I }) => [
|
|
4802
4803
|
A(w, {
|
|
4803
4804
|
disabled: v.disabled,
|
|
4804
4805
|
ref_key: "fmMenuRef",
|
|
@@ -4806,21 +4807,21 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
4806
4807
|
"close-on-click": !1,
|
|
4807
4808
|
onMenuChanged: E[1] || (E[1] = (F) => g.value = F)
|
|
4808
4809
|
}, {
|
|
4809
|
-
"menu-button":
|
|
4810
|
+
"menu-button": B(() => [
|
|
4810
4811
|
A(M, {
|
|
4811
4812
|
class: He(v.disabled ? "cursor-not-allowed" : "cursor-pointer"),
|
|
4812
4813
|
focused: g.value,
|
|
4813
4814
|
invalid: I
|
|
4814
4815
|
}, {
|
|
4815
|
-
append:
|
|
4816
|
+
append: B(() => [
|
|
4816
4817
|
A(R, {
|
|
4817
4818
|
color: v.disabled ? "#C7C7CC" : "black",
|
|
4818
4819
|
name: g.value ? "expand_less" : "expand_more",
|
|
4819
4820
|
size: "md"
|
|
4820
4821
|
}, null, 8, ["color", "name"])
|
|
4821
4822
|
]),
|
|
4822
|
-
default:
|
|
4823
|
-
|
|
4823
|
+
default: B(() => [
|
|
4824
|
+
G("div", {
|
|
4824
4825
|
class: He([[
|
|
4825
4826
|
v.disabled ? "text-fm-color-typo-disabled" : m.value.length > 0 ? "text-fm-color-typo-primary" : "text-fm-color-typo-tertiary"
|
|
4826
4827
|
], "break-all fm-typo-en-body-lg-400 line-clamp-1"])
|
|
@@ -4829,8 +4830,8 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
4829
4830
|
_: 2
|
|
4830
4831
|
}, 1032, ["class", "focused", "invalid"])
|
|
4831
4832
|
]),
|
|
4832
|
-
default:
|
|
4833
|
-
|
|
4833
|
+
default: B(() => [
|
|
4834
|
+
G("div", Iu, [
|
|
4834
4835
|
(U(!0), re(Ue, null, at(v.items, (F) => (U(), Z(O, {
|
|
4835
4836
|
key: F.value,
|
|
4836
4837
|
disabled: F.disabled,
|
|
@@ -4839,7 +4840,7 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
4839
4840
|
"model-value": m.value.some((N) => N.value === F.value),
|
|
4840
4841
|
"onUpdate:modelValue": (N) => c(N, F)
|
|
4841
4842
|
}, null, 8, ["disabled", "label", "model-value", "onUpdate:modelValue"]))), 128)),
|
|
4842
|
-
|
|
4843
|
+
G("button", {
|
|
4843
4844
|
class: "flex items-center py-8 px-16 space-x-8",
|
|
4844
4845
|
type: "button",
|
|
4845
4846
|
onClick: E[0] || (E[0] = (F) => S())
|
|
@@ -4849,7 +4850,7 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
4849
4850
|
name: "add",
|
|
4850
4851
|
size: "md"
|
|
4851
4852
|
}),
|
|
4852
|
-
|
|
4853
|
+
G("p", Tu, ye(b(s)("menu.product.form.detail.subcategory.add_new")), 1)
|
|
4853
4854
|
])
|
|
4854
4855
|
])
|
|
4855
4856
|
]),
|
|
@@ -4936,7 +4937,7 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
4936
4937
|
"helper-text": _.helperText,
|
|
4937
4938
|
rules: _.rules
|
|
4938
4939
|
}, {
|
|
4939
|
-
default:
|
|
4940
|
+
default: B(({ invalid: w }) => [
|
|
4940
4941
|
A(R, {
|
|
4941
4942
|
disabled: _.disabled,
|
|
4942
4943
|
ref_key: "fmMenuRef",
|
|
@@ -4944,21 +4945,21 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
4944
4945
|
"close-on-click": !1,
|
|
4945
4946
|
onMenuChanged: y[0] || (y[0] = (x) => c.value = x)
|
|
4946
4947
|
}, {
|
|
4947
|
-
"menu-button":
|
|
4948
|
+
"menu-button": B(() => [
|
|
4948
4949
|
A(v, {
|
|
4949
4950
|
class: He(_.disabled ? "cursor-not-allowed" : "cursor-pointer"),
|
|
4950
4951
|
focused: c.value,
|
|
4951
4952
|
invalid: w
|
|
4952
4953
|
}, {
|
|
4953
|
-
append:
|
|
4954
|
+
append: B(() => [
|
|
4954
4955
|
A(g, {
|
|
4955
4956
|
color: _.disabled ? "#C7C7CC" : "black",
|
|
4956
4957
|
name: c.value ? "expand_less" : "expand_more",
|
|
4957
4958
|
size: "md"
|
|
4958
4959
|
}, null, 8, ["color", "name"])
|
|
4959
4960
|
]),
|
|
4960
|
-
default:
|
|
4961
|
-
|
|
4961
|
+
default: B(() => [
|
|
4962
|
+
G("div", {
|
|
4962
4963
|
class: He([[
|
|
4963
4964
|
_.disabled ? "text-fm-color-typo-disabled" : p.value ? "text-fm-color-typo-primary" : "text-fm-color-typo-tertiary"
|
|
4964
4965
|
], "break-all fm-typo-en-body-lg-400 line-clamp-1"])
|
|
@@ -4967,8 +4968,8 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
4967
4968
|
_: 2
|
|
4968
4969
|
}, 1032, ["class", "focused", "invalid"])
|
|
4969
4970
|
]),
|
|
4970
|
-
default:
|
|
4971
|
-
|
|
4971
|
+
default: B(() => [
|
|
4972
|
+
G("div", Fu, [
|
|
4972
4973
|
(U(!0), re(Ue, null, at(_.items, (x) => (U(), Z(E, {
|
|
4973
4974
|
key: x.value,
|
|
4974
4975
|
disabled: x.disabled,
|
|
@@ -5002,9 +5003,9 @@ const Ou = { class: "flex flex-col gap-4" }, Iu = { class: "fm-select__menu__wra
|
|
|
5002
5003
|
class: "flex-1 flex flex-col gap-24"
|
|
5003
5004
|
}, $u = {
|
|
5004
5005
|
class: /* @__PURE__ */ He(["flex space-x-16", "xs:flex-col xs:space-x-0 xs:space-y-16"])
|
|
5005
|
-
}, Bu = {
|
|
5006
|
-
class: "w-[160px] xs:w-full"
|
|
5007
5006
|
}, Gu = {
|
|
5007
|
+
class: "w-[160px] xs:w-full"
|
|
5008
|
+
}, Bu = {
|
|
5008
5009
|
class: "flex-1"
|
|
5009
5010
|
}, Wu = {
|
|
5010
5011
|
class: "relative"
|
|
@@ -5089,7 +5090,7 @@ const Ju = /* @__PURE__ */ ve({
|
|
|
5089
5090
|
var T;
|
|
5090
5091
|
(T = R.value) == null || T.hideMenu(), u.create();
|
|
5091
5092
|
}
|
|
5092
|
-
}, [A(
|
|
5093
|
+
}, [A(Ge.FmIcon, {
|
|
5093
5094
|
color: "primary",
|
|
5094
5095
|
name: "add",
|
|
5095
5096
|
size: "md"
|
|
@@ -5126,8 +5127,8 @@ const Ju = /* @__PURE__ */ ve({
|
|
|
5126
5127
|
try {
|
|
5127
5128
|
k.value = !0, a.pushDataLayer({
|
|
5128
5129
|
event: "menu_catalog_item_general_remy_suggest_description"
|
|
5129
|
-
}),
|
|
5130
|
-
const j = await ((T =
|
|
5130
|
+
}), Be.toggleDialog(!0);
|
|
5131
|
+
const j = await ((T = Be.getItemDescription) == null ? void 0 : T.call(Be, {
|
|
5131
5132
|
name: n.form.name || ""
|
|
5132
5133
|
}, !0)), ue = (V = j == null ? void 0 : j.data) == null ? void 0 : V.value;
|
|
5133
5134
|
typeof ue == "string" && d("update:form", "description", ue);
|
|
@@ -5153,14 +5154,14 @@ const Ju = /* @__PURE__ */ ve({
|
|
|
5153
5154
|
return U(), Z(lt, {
|
|
5154
5155
|
title: b(C)("menu.product.form.detail.title")
|
|
5155
5156
|
}, {
|
|
5156
|
-
default:
|
|
5157
|
+
default: B(() => {
|
|
5157
5158
|
var ne, ae;
|
|
5158
|
-
return [
|
|
5159
|
+
return [G("div", Vu, [G("div", zu, [G("div", $u, [G("div", Gu, [A(j, {
|
|
5159
5160
|
"model-value": T.form.code,
|
|
5160
5161
|
placeholder: ((ne = T.fallback) == null ? void 0 : ne.code) || b(C)("menu.product.form.detail.fields.code.placeholder"),
|
|
5161
5162
|
label: b(C)("menu.product.form.detail.fields.code.label"),
|
|
5162
5163
|
"onUpdate:modelValue": V[0] || (V[0] = (oe) => d("update:form", "code", b(jo)(oe, T.isOverride)))
|
|
5163
|
-
}, null, 8, ["model-value", "placeholder", "label"])]),
|
|
5164
|
+
}, null, 8, ["model-value", "placeholder", "label"])]), G("div", Bu, [A(j, {
|
|
5164
5165
|
id: "product-name",
|
|
5165
5166
|
disabled: !c.value.name,
|
|
5166
5167
|
"helper-text": O.value > 0 ? b(C)("menu.product.form.detail.fields.name.duplicate_warning", {
|
|
@@ -5173,14 +5174,14 @@ const Ju = /* @__PURE__ */ ve({
|
|
|
5173
5174
|
autofocus: "",
|
|
5174
5175
|
label: b(C)("menu.product.form.detail.fields.name.label"),
|
|
5175
5176
|
"onUpdate:modelValue": V[1] || (V[1] = (oe) => d("update:form", "name", oe))
|
|
5176
|
-
}, null, 8, ["disabled", "helper-text", "model-value", "placeholder", "rules", "label"])])]),
|
|
5177
|
+
}, null, 8, ["disabled", "helper-text", "model-value", "placeholder", "rules", "label"])])]), G("div", Wu, [A(ue, {
|
|
5177
5178
|
disabled: !c.value.description,
|
|
5178
5179
|
"model-value": T.form.description || void 0,
|
|
5179
5180
|
placeholder: b(C)("menu.product.form.detail.fields.description.placeholder"),
|
|
5180
5181
|
"onUpdate:modelValue": V[2] || (V[2] = (oe) => d("update:form", "description", oe.trim())),
|
|
5181
5182
|
class: "description"
|
|
5182
5183
|
}, {
|
|
5183
|
-
label:
|
|
5184
|
+
label: B(() => [G("p", Hu, [Bn(ye(b(C)("menu.product.form.detail.fields.description.label")) + " ", 1), G("span", ju, ye(b(C)("menu.product.form.detail.fields.description.optional")), 1)])]),
|
|
5184
5185
|
_: 1
|
|
5185
5186
|
}, 8, ["disabled", "model-value", "placeholder"]), Xt(A(Ho, {
|
|
5186
5187
|
class: "absolute top-32 right-4 cursor-pointer",
|
|
@@ -5193,19 +5194,19 @@ const Ju = /* @__PURE__ */ ve({
|
|
|
5193
5194
|
}, null, 8, ["disabled", "model-value"])]), A(_t, {
|
|
5194
5195
|
label: b(C)("menu.product.form.detail.category.label")
|
|
5195
5196
|
}, {
|
|
5196
|
-
default:
|
|
5197
|
+
default: B(() => [_.value ? (U(), Z(K, {
|
|
5197
5198
|
key: 0,
|
|
5198
5199
|
disabled: !c.value.category,
|
|
5199
5200
|
"model-value": w.value,
|
|
5200
5201
|
"onUpdate:modelValue": V[5] || (V[5] = (oe) => x(oe))
|
|
5201
5202
|
}, {
|
|
5202
|
-
default:
|
|
5203
|
+
default: B(() => [G("div", Ku, [G("div", Yu, [A(ce, {
|
|
5203
5204
|
disabled: y.value || !c.value.category,
|
|
5204
5205
|
value: Mt.PRODUCT,
|
|
5205
5206
|
label: b(C)("menu.product.form.detail.category.options.product.label"),
|
|
5206
5207
|
sublabel: b(C)("menu.product.form.detail.category.options.product.sublabel")
|
|
5207
5208
|
}, null, 8, ["disabled", "value", "label", "sublabel"]), A(Tr, null, {
|
|
5208
|
-
default:
|
|
5209
|
+
default: B(() => [b(i).isV4 ? (U(), Z(M, {
|
|
5209
5210
|
key: 0
|
|
5210
5211
|
})) : se("", !0)]),
|
|
5211
5212
|
_: 1
|
|
@@ -5229,7 +5230,7 @@ const Ju = /* @__PURE__ */ ve({
|
|
|
5229
5230
|
"onUpdate:modelValue": V[6] || (V[6] = (oe) => T.form.category = oe),
|
|
5230
5231
|
rules: [(oe) => !oe && !T.isOverride ? "Category is required" : !0]
|
|
5231
5232
|
}, {
|
|
5232
|
-
default:
|
|
5233
|
+
default: B(() => [A(M)]),
|
|
5233
5234
|
_: 1
|
|
5234
5235
|
}, 8, ["modelValue", "rules"]))]),
|
|
5235
5236
|
_: 1
|
|
@@ -5237,7 +5238,7 @@ const Ju = /* @__PURE__ */ ve({
|
|
|
5237
5238
|
key: 0,
|
|
5238
5239
|
label: b(C)("menu.product.form.detail.path.label")
|
|
5239
5240
|
}, {
|
|
5240
|
-
default:
|
|
5241
|
+
default: B(() => [G("div", qu, [A(Nu, {
|
|
5241
5242
|
modelValue: D.value,
|
|
5242
5243
|
"onUpdate:modelValue": V[7] || (V[7] = (oe) => D.value = oe),
|
|
5243
5244
|
items: N.value,
|
|
@@ -5263,7 +5264,7 @@ const Ju = /* @__PURE__ */ ve({
|
|
|
5263
5264
|
}), Zu = /* @__PURE__ */ At(Ju, [["__scopeId", "data-v-3e6c0c15"]]), Qu = {}, ec = { class: "overflow-x-auto" }, tc = { class: "xs:w-[600px]" };
|
|
5264
5265
|
function nc(e, t) {
|
|
5265
5266
|
return U(), re("div", ec, [
|
|
5266
|
-
|
|
5267
|
+
G("div", tc, [
|
|
5267
5268
|
Re(e.$slots, "default")
|
|
5268
5269
|
])
|
|
5269
5270
|
]);
|
|
@@ -5311,7 +5312,7 @@ const ua = /* @__PURE__ */ At(Qu, [["render", nc]]), ic = /* @__PURE__ */ ve({
|
|
|
5311
5312
|
action: "add",
|
|
5312
5313
|
title: b(l)("menu.group.add")
|
|
5313
5314
|
}, {
|
|
5314
|
-
default:
|
|
5315
|
+
default: B(({ trigger: m }) => [
|
|
5315
5316
|
Re(s.$slots, "default", { trigger: m })
|
|
5316
5317
|
]),
|
|
5317
5318
|
_: 3
|
|
@@ -5364,7 +5365,7 @@ const sc = /* @__PURE__ */ At(oc, [["render", rc]]), lc = { class: "fm-typo-en-t
|
|
|
5364
5365
|
modelValue: a.value,
|
|
5365
5366
|
"onUpdate:modelValue": S[2] || (S[2] = (E) => a.value = E),
|
|
5366
5367
|
"close-button": !1,
|
|
5367
|
-
"is-container": b(
|
|
5368
|
+
"is-container": b(Ge).FmForm,
|
|
5368
5369
|
"is-container-props": {
|
|
5369
5370
|
onValidationSuccess: u,
|
|
5370
5371
|
blameFormChildOnValidationFailed: !0
|
|
@@ -5372,11 +5373,11 @@ const sc = /* @__PURE__ */ At(oc, [["render", rc]]), lc = { class: "fm-typo-en-t
|
|
|
5372
5373
|
"max-width": 560,
|
|
5373
5374
|
"onOn:clickedAway": b(s)
|
|
5374
5375
|
}, {
|
|
5375
|
-
"side-sheet-header":
|
|
5376
|
-
|
|
5376
|
+
"side-sheet-header": B(() => [
|
|
5377
|
+
G("p", lc, ye(p.title || b(d)("menu.inventory.form.title")), 1)
|
|
5377
5378
|
]),
|
|
5378
|
-
"side-sheet-footer":
|
|
5379
|
-
|
|
5379
|
+
"side-sheet-footer": B(() => [
|
|
5380
|
+
G("div", cc, [
|
|
5380
5381
|
A(g, {
|
|
5381
5382
|
label: b(d)("menu.common.actions.add"),
|
|
5382
5383
|
size: "lg",
|
|
@@ -5391,8 +5392,8 @@ const sc = /* @__PURE__ */ At(oc, [["render", rc]]), lc = { class: "fm-typo-en-t
|
|
|
5391
5392
|
}, null, 8, ["label"])
|
|
5392
5393
|
])
|
|
5393
5394
|
]),
|
|
5394
|
-
default:
|
|
5395
|
-
|
|
5395
|
+
default: B(() => [
|
|
5396
|
+
G("div", uc, [
|
|
5396
5397
|
A(_, {
|
|
5397
5398
|
"model-value": p.name,
|
|
5398
5399
|
disabled: "",
|
|
@@ -5402,7 +5403,7 @@ const sc = /* @__PURE__ */ At(oc, [["render", rc]]), lc = { class: "fm-typo-en-t
|
|
|
5402
5403
|
class: "p-16 space-y-24",
|
|
5403
5404
|
variant: "outlined"
|
|
5404
5405
|
}, {
|
|
5405
|
-
default:
|
|
5406
|
+
default: B(() => [
|
|
5406
5407
|
A(b(qa), {
|
|
5407
5408
|
modelValue: r.value,
|
|
5408
5409
|
"onUpdate:modelValue": S[0] || (S[0] = (E) => r.value = E)
|
|
@@ -5490,7 +5491,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5490
5491
|
accessorKey: "price",
|
|
5491
5492
|
cell: (r) => {
|
|
5492
5493
|
var u, m;
|
|
5493
|
-
const l = (u = n.fallback) == null ? void 0 : u[r.row.original.key], s = l ?
|
|
5494
|
+
const l = (u = n.fallback) == null ? void 0 : u[r.row.original.key], s = l ? Gt(l) : void 0;
|
|
5494
5495
|
return A(Nt, {
|
|
5495
5496
|
required: !1,
|
|
5496
5497
|
nullable: !0,
|
|
@@ -5538,7 +5539,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5538
5539
|
id: "business-form",
|
|
5539
5540
|
modelValue: a.value,
|
|
5540
5541
|
"onUpdate:modelValue": S[1] || (S[1] = (v) => a.value = v),
|
|
5541
|
-
"is-container": b(
|
|
5542
|
+
"is-container": b(Ge).FmForm,
|
|
5542
5543
|
"is-container-props": {
|
|
5543
5544
|
onValidationSuccess: c,
|
|
5544
5545
|
blameFormChildOnValidationFailed: !0
|
|
@@ -5546,11 +5547,11 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5546
5547
|
"max-width": 560,
|
|
5547
5548
|
"onOn:clickedAway": b(d)
|
|
5548
5549
|
}, {
|
|
5549
|
-
"side-sheet-header":
|
|
5550
|
-
|
|
5550
|
+
"side-sheet-header": B(() => [
|
|
5551
|
+
G("p", pc, ye(r.value), 1)
|
|
5551
5552
|
]),
|
|
5552
|
-
"side-sheet-footer":
|
|
5553
|
-
|
|
5553
|
+
"side-sheet-footer": B(() => [
|
|
5554
|
+
G("div", hc, [
|
|
5554
5555
|
A(y, {
|
|
5555
5556
|
label: l.value,
|
|
5556
5557
|
size: "lg",
|
|
@@ -5565,13 +5566,13 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5565
5566
|
}, null, 8, ["label"])
|
|
5566
5567
|
])
|
|
5567
5568
|
]),
|
|
5568
|
-
default:
|
|
5569
|
-
|
|
5569
|
+
default: B(() => [
|
|
5570
|
+
G("div", fc, [
|
|
5570
5571
|
A(_t, {
|
|
5571
5572
|
label: b(n)("menu.price_tier.price_group"),
|
|
5572
5573
|
description: b(n)("menu.price_tier.description")
|
|
5573
5574
|
}, {
|
|
5574
|
-
append:
|
|
5575
|
+
append: B(() => [
|
|
5575
5576
|
A(_, {
|
|
5576
5577
|
class: "min-w-fit",
|
|
5577
5578
|
label: b(n)("menu.price_tier.add_price_group"),
|
|
@@ -5580,7 +5581,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5580
5581
|
onClick: b(u).create
|
|
5581
5582
|
}, null, 8, ["label", "onClick"])
|
|
5582
5583
|
]),
|
|
5583
|
-
default:
|
|
5584
|
+
default: B(() => [
|
|
5584
5585
|
A(ca, {
|
|
5585
5586
|
"price-tiers": b(u).priceTiers.value,
|
|
5586
5587
|
"model-value": m.value,
|
|
@@ -5627,7 +5628,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5627
5628
|
"z-index": 999,
|
|
5628
5629
|
placement: "top"
|
|
5629
5630
|
}, {
|
|
5630
|
-
default:
|
|
5631
|
+
default: B(() => [
|
|
5631
5632
|
A(m, {
|
|
5632
5633
|
icon: "price_change",
|
|
5633
5634
|
variant: "tertiary",
|
|
@@ -5680,7 +5681,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5680
5681
|
link: n.config.link($),
|
|
5681
5682
|
name: n.config.name($),
|
|
5682
5683
|
orderFrom: n.config.orderFrom($)
|
|
5683
|
-
}), g = z(() => !0), v = ($) => $ ?
|
|
5684
|
+
}), g = z(() => !0), v = ($) => $ ? Gt($, !1) : "", E = ($) => {
|
|
5684
5685
|
var K;
|
|
5685
5686
|
return $ == null ? "" : (K = Ma()[$]) == null ? void 0 : K.label;
|
|
5686
5687
|
}, R = z(() => Object.values(_.value)), M = te({}), {
|
|
@@ -5695,7 +5696,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5695
5696
|
if ((ae = (ne = $.row.original) == null ? void 0 : ne.items) != null && ae.length)
|
|
5696
5697
|
return null;
|
|
5697
5698
|
const K = $.row.depth > 0, q = $.row.original, J = !!$.getValue();
|
|
5698
|
-
return A(
|
|
5699
|
+
return A(Ge.FmCheckbox, {
|
|
5699
5700
|
value: "default",
|
|
5700
5701
|
modelValue: J,
|
|
5701
5702
|
disabled: !y(q.combinationKey).isDefault,
|
|
@@ -5717,7 +5718,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5717
5718
|
size: 100,
|
|
5718
5719
|
cell: ($) => {
|
|
5719
5720
|
const K = $.getValue();
|
|
5720
|
-
return A(
|
|
5721
|
+
return A(Ge.FmTooltip, {
|
|
5721
5722
|
class: "flex",
|
|
5722
5723
|
content: K,
|
|
5723
5724
|
zIndex: 110
|
|
@@ -5733,7 +5734,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5733
5734
|
enableSorting: !1,
|
|
5734
5735
|
cell: ($) => {
|
|
5735
5736
|
const K = $.getValue(), q = $.row.original, J = $.row.depth > 0, ne = q.combinationKey ? wo(q.combinationKey, Te().variants) : null;
|
|
5736
|
-
return De("div", De(
|
|
5737
|
+
return De("div", De(Ge.FmTextField, {
|
|
5737
5738
|
modelValue: K,
|
|
5738
5739
|
placeholder: ne ?? "",
|
|
5739
5740
|
disabled: !y(q.combinationKey).name,
|
|
@@ -5751,7 +5752,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5751
5752
|
}, {
|
|
5752
5753
|
append: () => {
|
|
5753
5754
|
var ae, oe;
|
|
5754
|
-
return (oe = (ae = $.row.original) == null ? void 0 : ae.items) != null && oe.length ? De(
|
|
5755
|
+
return (oe = (ae = $.row.original) == null ? void 0 : ae.items) != null && oe.length ? De(Ge.FmIcon, {
|
|
5755
5756
|
name: "keyboard_arrow_up",
|
|
5756
5757
|
onClick: $.row.getToggleExpandedHandler(),
|
|
5757
5758
|
class: ["cursor-pointer", "transition-transform", $.row.getIsExpanded() ? "transform rotate-180" : ""],
|
|
@@ -5774,7 +5775,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5774
5775
|
const K = $.getValue(), q = $.row.original, J = q.fallbackPrice, ne = $.row.depth > 0;
|
|
5775
5776
|
return De(Nt, {
|
|
5776
5777
|
disable: !y(null).priceEdit,
|
|
5777
|
-
placeholder: J ?
|
|
5778
|
+
placeholder: J ? Gt(J) : void 0,
|
|
5778
5779
|
modelValue: K,
|
|
5779
5780
|
required: !J,
|
|
5780
5781
|
nullable: !!J,
|
|
@@ -6019,7 +6020,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6019
6020
|
return U(), Z(lt, {
|
|
6020
6021
|
title: b(O)("menu.group.option.title")
|
|
6021
6022
|
}, {
|
|
6022
|
-
"append-title":
|
|
6023
|
+
"append-title": B(() => [$.config.link() ? (U(), re(Ue, {
|
|
6023
6024
|
key: 0
|
|
6024
6025
|
}, [m.value ? (U(), re("div", vc, [A(La, {
|
|
6025
6026
|
"categorized-items": $.categorizedItems,
|
|
@@ -6029,7 +6030,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6029
6030
|
title: b(O)("menu.group.option.link_products"),
|
|
6030
6031
|
onSubmit: V
|
|
6031
6032
|
}, {
|
|
6032
|
-
default:
|
|
6033
|
+
default: B(({
|
|
6033
6034
|
trigger: ne
|
|
6034
6035
|
}) => [A(q, {
|
|
6035
6036
|
"text-color": b(pt).ColorPrimary,
|
|
@@ -6048,7 +6049,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6048
6049
|
"prepend-icon": "add",
|
|
6049
6050
|
onClick: k
|
|
6050
6051
|
}, null, 8, ["text-color", "border-color", "label"])]))], 64)) : se("", !0)]),
|
|
6051
|
-
default:
|
|
6052
|
+
default: B(() => [G("div", bc, [G("div", yc, [A(J, {
|
|
6052
6053
|
"column-defs": w.value,
|
|
6053
6054
|
"column-visibility": x.value,
|
|
6054
6055
|
draggable: !Ae.value && y(null).name,
|
|
@@ -6214,7 +6215,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6214
6215
|
id: "group-form",
|
|
6215
6216
|
modelValue: d.value,
|
|
6216
6217
|
"onUpdate:modelValue": T[8] || (T[8] = (J) => d.value = J),
|
|
6217
|
-
"is-container": b(
|
|
6218
|
+
"is-container": b(Ge).FmForm,
|
|
6218
6219
|
"is-container-props": {
|
|
6219
6220
|
onValidationSuccess: k,
|
|
6220
6221
|
blameFormChildOnValidationFailed: !0
|
|
@@ -6222,11 +6223,11 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6222
6223
|
"max-width": 720,
|
|
6223
6224
|
"onOn:clickedAway": b(w)
|
|
6224
6225
|
}, {
|
|
6225
|
-
"side-sheet-header":
|
|
6226
|
-
|
|
6226
|
+
"side-sheet-header": B(() => [
|
|
6227
|
+
G("p", Ec, ye(C.title), 1)
|
|
6227
6228
|
]),
|
|
6228
|
-
"side-sheet-footer":
|
|
6229
|
-
|
|
6229
|
+
"side-sheet-footer": B(() => [
|
|
6230
|
+
G("div", kc, [
|
|
6230
6231
|
A(K, {
|
|
6231
6232
|
label: b(er)(x.value),
|
|
6232
6233
|
loading: m.value,
|
|
@@ -6242,12 +6243,12 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6242
6243
|
}, null, 8, ["label"])
|
|
6243
6244
|
])
|
|
6244
6245
|
]),
|
|
6245
|
-
default:
|
|
6246
|
+
default: B(() => [
|
|
6246
6247
|
C.group ? (U(), re("div", Sc, [
|
|
6247
6248
|
Re(C.$slots, "variant-section"),
|
|
6248
6249
|
A(xa, null, {
|
|
6249
|
-
default:
|
|
6250
|
-
|
|
6250
|
+
default: B(() => [
|
|
6251
|
+
G("div", null, [
|
|
6251
6252
|
A(V, {
|
|
6252
6253
|
modelValue: C.group.name,
|
|
6253
6254
|
"onUpdate:modelValue": T[0] || (T[0] = (J) => C.group.name = J),
|
|
@@ -6265,9 +6266,9 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6265
6266
|
() => Number.isInteger(C.group.min) && Number.isInteger(C.group.max) && C.group.min <= C.group.max || b(D)("menu.common.validation.min_max")
|
|
6266
6267
|
]
|
|
6267
6268
|
}, {
|
|
6268
|
-
default:
|
|
6269
|
+
default: B(() => [
|
|
6269
6270
|
A(sc, null, {
|
|
6270
|
-
default:
|
|
6271
|
+
default: B(() => [
|
|
6271
6272
|
A(j, {
|
|
6272
6273
|
modelValue: C.group.min,
|
|
6273
6274
|
"onUpdate:modelValue": T[1] || (T[1] = (J) => C.group.min = J),
|
|
@@ -6294,13 +6295,13 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6294
6295
|
key: 0,
|
|
6295
6296
|
label: b(D)("menu.common.labels.group_type")
|
|
6296
6297
|
}, {
|
|
6297
|
-
default:
|
|
6298
|
+
default: B(() => [
|
|
6298
6299
|
A(Ae, {
|
|
6299
6300
|
disabled: _("type"),
|
|
6300
6301
|
"model-value": C.group.type,
|
|
6301
6302
|
"onUpdate:modelValue": T[3] || (T[3] = (J) => v(J))
|
|
6302
6303
|
}, {
|
|
6303
|
-
default:
|
|
6304
|
+
default: B(() => [
|
|
6304
6305
|
(U(!0), re(Ue, null, at(y.value, (J) => (U(), Z(ce, {
|
|
6305
6306
|
key: J.value,
|
|
6306
6307
|
label: b(D)(`menu.group.types.${J.label.toLowerCase()}`),
|
|
@@ -6315,7 +6316,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6315
6316
|
A(_t, {
|
|
6316
6317
|
label: b(D)("menu.common.labels.configuration")
|
|
6317
6318
|
}, {
|
|
6318
|
-
default:
|
|
6319
|
+
default: B(() => [
|
|
6319
6320
|
A($, {
|
|
6320
6321
|
modelValue: C.group.stackable,
|
|
6321
6322
|
"onUpdate:modelValue": T[4] || (T[4] = (J) => C.group.stackable = J),
|
|
@@ -6332,7 +6333,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6332
6333
|
title: b(D)("menu.group.form.tagging.title"),
|
|
6333
6334
|
"sub-title": b(D)("menu.group.form.tagging.subtitle")
|
|
6334
6335
|
}, {
|
|
6335
|
-
default:
|
|
6336
|
+
default: B(() => [
|
|
6336
6337
|
A(b(vo), {
|
|
6337
6338
|
entity: "group",
|
|
6338
6339
|
"model-value": C.group.customAttributes || {},
|
|
@@ -6354,7 +6355,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6354
6355
|
max: C.group.max
|
|
6355
6356
|
})
|
|
6356
6357
|
}, {
|
|
6357
|
-
default:
|
|
6358
|
+
default: B(() => [
|
|
6358
6359
|
A(wc, {
|
|
6359
6360
|
"allow-refund-inventory": C.allowRefundInventory ?? !1,
|
|
6360
6361
|
"categorized-items": C.categorizedItems,
|
|
@@ -6455,7 +6456,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6455
6456
|
return {
|
|
6456
6457
|
...w,
|
|
6457
6458
|
groups: (x = w.groups) == null ? void 0 : x.map((k) => ({
|
|
6458
|
-
...or(k, _()
|
|
6459
|
+
...or(k, _())
|
|
6459
6460
|
}))
|
|
6460
6461
|
};
|
|
6461
6462
|
});
|
|
@@ -6489,25 +6490,25 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6489
6490
|
"onSubmit:group": w[4] || (w[4] = (F) => y()),
|
|
6490
6491
|
"onStatus:show": w[5] || (w[5] = (F) => g.value = F)
|
|
6491
6492
|
}, {
|
|
6492
|
-
default:
|
|
6493
|
+
default: B(({ trigger: F }) => [
|
|
6493
6494
|
Re(O.$slots, "default", { trigger: F })
|
|
6494
6495
|
]),
|
|
6495
|
-
"variant-section":
|
|
6496
|
+
"variant-section": B(() => [
|
|
6496
6497
|
u.value ? (U(), Z(I, {
|
|
6497
6498
|
key: 0,
|
|
6498
6499
|
class: "p-16 bg-fm-color-neutral-gray-100 space-y-24",
|
|
6499
6500
|
variant: "outlined"
|
|
6500
6501
|
}, {
|
|
6501
|
-
default:
|
|
6502
|
-
|
|
6503
|
-
|
|
6502
|
+
default: B(() => [
|
|
6503
|
+
G("p", Cc, ye(b(E)("menu.group.option.variant")), 1),
|
|
6504
|
+
G("div", Rc, [
|
|
6504
6505
|
A(x, {
|
|
6505
6506
|
modelValue: u.value,
|
|
6506
6507
|
"onUpdate:modelValue": w[0] || (w[0] = (F) => u.value = F),
|
|
6507
6508
|
items: d.value,
|
|
6508
6509
|
class: "flex-1"
|
|
6509
6510
|
}, null, 8, ["modelValue", "items"]),
|
|
6510
|
-
|
|
6511
|
+
G("div", Ac, [
|
|
6511
6512
|
A(k, {
|
|
6512
6513
|
variant: b(Rt).Tertiary,
|
|
6513
6514
|
"prepend-icon": "keyboard_arrow_left",
|
|
@@ -6589,7 +6590,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6589
6590
|
return (y, g) => {
|
|
6590
6591
|
const v = H("FmSearch"), E = H("FmCheckbox"), R = H("FmButton");
|
|
6591
6592
|
return m.value.length > 0 ? (U(), re("div", Mc, [
|
|
6592
|
-
|
|
6593
|
+
G("div", null, [
|
|
6593
6594
|
A(v, {
|
|
6594
6595
|
autofocus: "",
|
|
6595
6596
|
modelValue: p.value,
|
|
@@ -6597,8 +6598,8 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6597
6598
|
placeholder: b(S)("menu.common.labels.search_groups")
|
|
6598
6599
|
}, null, 8, ["modelValue", "placeholder"])
|
|
6599
6600
|
]),
|
|
6600
|
-
|
|
6601
|
-
|
|
6601
|
+
G("div", Dc, [
|
|
6602
|
+
G("div", null, [
|
|
6602
6603
|
(U(!0), re(Ue, null, at(m.value, (M) => (U(), re("div", {
|
|
6603
6604
|
key: M.value
|
|
6604
6605
|
}, [
|
|
@@ -6616,9 +6617,9 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6616
6617
|
]))), 128))
|
|
6617
6618
|
])
|
|
6618
6619
|
]),
|
|
6619
|
-
|
|
6620
|
+
G("div", Nc, [
|
|
6620
6621
|
A(b(co), null, {
|
|
6621
|
-
default:
|
|
6622
|
+
default: B(({ trigger: M }) => [
|
|
6622
6623
|
A(R, {
|
|
6623
6624
|
label: b(S)("menu.common.actions.add_group"),
|
|
6624
6625
|
variant: "tertiary",
|
|
@@ -6628,7 +6629,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6628
6629
|
]),
|
|
6629
6630
|
_: 1
|
|
6630
6631
|
}),
|
|
6631
|
-
|
|
6632
|
+
G("div", Pc, [
|
|
6632
6633
|
A(R, {
|
|
6633
6634
|
label: b(S)("menu.common.actions.cancel"),
|
|
6634
6635
|
variant: "tertiary",
|
|
@@ -6641,12 +6642,12 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6641
6642
|
])
|
|
6642
6643
|
])
|
|
6643
6644
|
])) : (U(), re("div", Fc, [
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6645
|
+
G("div", Lc, [
|
|
6646
|
+
G("p", xc, ye(b(S)("menu.common.empty.no_group.title")), 1),
|
|
6647
|
+
G("p", Uc, ye(b(S)("menu.common.empty.no_group.subtitle")), 1)
|
|
6647
6648
|
]),
|
|
6648
6649
|
A(b(co), null, {
|
|
6649
|
-
default:
|
|
6650
|
+
default: B(({ trigger: M }) => [
|
|
6650
6651
|
A(R, {
|
|
6651
6652
|
label: b(S)("menu.common.actions.add_group"),
|
|
6652
6653
|
icon: "add",
|
|
@@ -6750,7 +6751,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6750
6751
|
size: 200,
|
|
6751
6752
|
cell: (N) => {
|
|
6752
6753
|
const D = N.row.original._id, T = _(D).join(", ");
|
|
6753
|
-
return A(
|
|
6754
|
+
return A(Ge.FmTooltip, {
|
|
6754
6755
|
"z-index": 51,
|
|
6755
6756
|
class: "flex",
|
|
6756
6757
|
variant: "rich",
|
|
@@ -6777,7 +6778,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6777
6778
|
const D = N.row.original._id;
|
|
6778
6779
|
return De("div", {
|
|
6779
6780
|
class: "flex justify-end"
|
|
6780
|
-
}, [De(
|
|
6781
|
+
}, [De(Ge.FmButton, {
|
|
6781
6782
|
icon: "delete",
|
|
6782
6783
|
variant: "tertiary",
|
|
6783
6784
|
textColor: "neutral-gray-400",
|
|
@@ -6794,7 +6795,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6794
6795
|
}, {
|
|
6795
6796
|
default: ({
|
|
6796
6797
|
trigger: C
|
|
6797
|
-
}) => De(
|
|
6798
|
+
}) => De(Ge.FmButton, {
|
|
6798
6799
|
icon: "edit",
|
|
6799
6800
|
variant: "tertiary",
|
|
6800
6801
|
disabled: !k(D),
|
|
@@ -6900,15 +6901,15 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6900
6901
|
title: b(l)("menu.product.form.group.title"),
|
|
6901
6902
|
"sub-title": b(l)("menu.product.form.group.subtitle")
|
|
6902
6903
|
}, {
|
|
6903
|
-
"append-title":
|
|
6904
|
+
"append-title": B(() => [A(C, {
|
|
6904
6905
|
class: "flex-shrink-0",
|
|
6905
6906
|
label: b(l)("menu.product.form.group.add"),
|
|
6906
6907
|
"prepend-icon": "add",
|
|
6907
6908
|
variant: "secondary",
|
|
6908
6909
|
onClick: R
|
|
6909
6910
|
}, null, 8, ["label"])]),
|
|
6910
|
-
default:
|
|
6911
|
-
default:
|
|
6911
|
+
default: B(() => [A(ua, null, {
|
|
6912
|
+
default: B(() => {
|
|
6912
6913
|
var V;
|
|
6913
6914
|
return [((V = p.value) == null ? void 0 : V.length) > 0 ? (U(), Z(T, {
|
|
6914
6915
|
key: 0,
|
|
@@ -6931,9 +6932,9 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6931
6932
|
}
|
|
6932
6933
|
}), $c = {
|
|
6933
6934
|
class: "xs:overflow-x-scroll"
|
|
6934
|
-
},
|
|
6935
|
+
}, Gc = {
|
|
6935
6936
|
class: "xs:min-w-[640px]"
|
|
6936
|
-
},
|
|
6937
|
+
}, Bc = /* @__PURE__ */ ve({
|
|
6937
6938
|
__name: "ProductInventory",
|
|
6938
6939
|
props: {
|
|
6939
6940
|
isOverride: {
|
|
@@ -7060,7 +7061,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7060
7061
|
title: b(n)("menu.inventory.title"),
|
|
7061
7062
|
subTitle: b(n)("menu.inventory.subtitle")
|
|
7062
7063
|
}, {
|
|
7063
|
-
default:
|
|
7064
|
+
default: B(() => [G("div", $c, [G("div", Gc, [(U(!0), re(Ue, null, at(m.value, (g) => (U(), Z(b(li), {
|
|
7064
7065
|
key: g._id,
|
|
7065
7066
|
ref_for: !0,
|
|
7066
7067
|
ref_key: "inventoryManagerForms",
|
|
@@ -7146,7 +7147,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7146
7147
|
}
|
|
7147
7148
|
if (!_.value)
|
|
7148
7149
|
try {
|
|
7149
|
-
_.value = !0, i.pushDataLayer({ event: "menu_catalog_item_price_remy_suggest_pricing" }),
|
|
7150
|
+
_.value = !0, i.pushDataLayer({ event: "menu_catalog_item_price_remy_suggest_pricing" }), Be.toggleDialog(!0), Be.registerOnSelect((I) => {
|
|
7150
7151
|
typeof I == "number" && l(
|
|
7151
7152
|
"update:form",
|
|
7152
7153
|
"price",
|
|
@@ -7154,8 +7155,8 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7154
7155
|
number: I
|
|
7155
7156
|
}).toObject()
|
|
7156
7157
|
);
|
|
7157
|
-
}), await ((k =
|
|
7158
|
-
|
|
7158
|
+
}), await ((k = Be.getItemPricing) == null ? void 0 : k.call(
|
|
7159
|
+
Be,
|
|
7159
7160
|
{
|
|
7160
7161
|
name: n.form.name || "",
|
|
7161
7162
|
lat: (M = (R = (E = i.currentRestaurant) == null ? void 0 : E.value) == null ? void 0 : R.profile.address.coordinates) == null ? void 0 : M[1],
|
|
@@ -7176,15 +7177,15 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7176
7177
|
return U(), Z(lt, {
|
|
7177
7178
|
title: b(r)("menu.product.form.price.title")
|
|
7178
7179
|
}, {
|
|
7179
|
-
default:
|
|
7180
|
+
default: B(() => {
|
|
7180
7181
|
var k;
|
|
7181
7182
|
return [
|
|
7182
|
-
|
|
7183
|
+
G("div", Wc, [
|
|
7183
7184
|
A(Nt, {
|
|
7184
7185
|
disable: g.value.length > 0 && b(a).currentCatalog && !b(a).currentScheduler,
|
|
7185
7186
|
min: 0,
|
|
7186
7187
|
"model-value": v.form.price || null,
|
|
7187
|
-
placeholder: (k = v.fallback) != null && k.price ? b(
|
|
7188
|
+
placeholder: (k = v.fallback) != null && k.price ? b(Gt)(v.fallback.price, !1) : void 0,
|
|
7188
7189
|
rules: [
|
|
7189
7190
|
s.value.price ? (I) => !!I || b(r)("menu.product.form.price.fields.selling_price.required") : void 0
|
|
7190
7191
|
].filter(b(sn).isSet),
|
|
@@ -7193,7 +7194,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7193
7194
|
"show-currency": "",
|
|
7194
7195
|
"onUpdate:modelValue": E[0] || (E[0] = (I) => I && l("update:form", "price", I))
|
|
7195
7196
|
}, {
|
|
7196
|
-
append:
|
|
7197
|
+
append: B(() => [
|
|
7197
7198
|
Xt(A(Ho, {
|
|
7198
7199
|
"pure-styling": "",
|
|
7199
7200
|
onClick: y
|
|
@@ -7221,7 +7222,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7221
7222
|
label: b(r)("menu.price_tier.price_group"),
|
|
7222
7223
|
description: b(r)("menu.price_tier.description")
|
|
7223
7224
|
}, {
|
|
7224
|
-
append:
|
|
7225
|
+
append: B(() => [
|
|
7225
7226
|
A(M, {
|
|
7226
7227
|
label: b(r)("menu.price_tier.add_price_group"),
|
|
7227
7228
|
icon: "add",
|
|
@@ -7229,7 +7230,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7229
7230
|
onClick: b(o).create
|
|
7230
7231
|
}, null, 8, ["label", "onClick"])
|
|
7231
7232
|
]),
|
|
7232
|
-
default:
|
|
7233
|
+
default: B(() => {
|
|
7233
7234
|
var I;
|
|
7234
7235
|
return [
|
|
7235
7236
|
v.isOverride ? se("", !0) : (U(), Z(ca, {
|
|
@@ -7246,10 +7247,10 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7246
7247
|
A(_t, {
|
|
7247
7248
|
label: b(r)("menu.product.form.price.settings.title")
|
|
7248
7249
|
}, {
|
|
7249
|
-
default:
|
|
7250
|
+
default: B(() => {
|
|
7250
7251
|
var I, F, N;
|
|
7251
7252
|
return [
|
|
7252
|
-
|
|
7253
|
+
G("div", Hc, [
|
|
7253
7254
|
A(O, {
|
|
7254
7255
|
disabled: !s.value.openPrice || v.isAddon,
|
|
7255
7256
|
"model-value": v.form.openPrice ?? ((I = v.fallback) == null ? void 0 : I.openPrice) ?? !1,
|
|
@@ -7258,7 +7259,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7258
7259
|
sublabel: b(r)("menu.product.form.price.settings.open_price.sublabel"),
|
|
7259
7260
|
"onUpdate:modelValue": E[3] || (E[3] = (D) => l("update:form", "openPrice", D))
|
|
7260
7261
|
}, null, 8, ["disabled", "model-value", "value", "label", "sublabel"]),
|
|
7261
|
-
|
|
7262
|
+
G("div", jc, [
|
|
7262
7263
|
A(O, {
|
|
7263
7264
|
disabled: !s.value.unit || v.isAddon,
|
|
7264
7265
|
"model-value": u.value,
|
|
@@ -7268,8 +7269,8 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7268
7269
|
"onUpdate:modelValue": m
|
|
7269
7270
|
}, null, 8, ["disabled", "model-value", "value", "label", "sublabel"]),
|
|
7270
7271
|
u.value ? (U(), re("div", Kc, [
|
|
7271
|
-
|
|
7272
|
-
|
|
7272
|
+
G("p", Yc, ye(b(r)("menu.product.form.price.settings.sell_by_unit.per_unit.label")), 1),
|
|
7273
|
+
G("div", Xc, [
|
|
7273
7274
|
A(w, {
|
|
7274
7275
|
disabled: !s.value.unit,
|
|
7275
7276
|
"model-value": v.form.perXUnit || ((F = v.fallback) == null ? void 0 : F.perXUnit) || null,
|
|
@@ -7284,7 +7285,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7284
7285
|
"onUpdate:modelValue": p
|
|
7285
7286
|
}, null, 8, ["disabled", "model-value", "rules", "placeholder"])
|
|
7286
7287
|
]),
|
|
7287
|
-
|
|
7288
|
+
G("div", qc, [
|
|
7288
7289
|
A(w, {
|
|
7289
7290
|
disabled: !s.value.unit,
|
|
7290
7291
|
"model-value": v.form.unit || ((N = v.fallback) == null ? void 0 : N.unit) || null,
|
|
@@ -7305,7 +7306,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7305
7306
|
"onUpdate:modelValue": E[5] || (E[5] = (D) => l("update:form", "costing", D ? b($e.Dinero).zero().toObject() : void 0))
|
|
7306
7307
|
}, null, 8, ["model-value", "value", "label"]),
|
|
7307
7308
|
v.form.costing ? (U(), re("div", Zc, [
|
|
7308
|
-
|
|
7309
|
+
G("div", Qc, [
|
|
7309
7310
|
A(Nt, {
|
|
7310
7311
|
class: "w-full",
|
|
7311
7312
|
min: 0,
|
|
@@ -7325,8 +7326,8 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7325
7326
|
label: b(r)("menu.product.form.price.settings.min_price.label"),
|
|
7326
7327
|
"onUpdate:modelValue": E[7] || (E[7] = (D) => l("update:form", "minPrice", D ? b($e.Dinero).zero().toObject() : void 0))
|
|
7327
7328
|
}, null, 8, ["disabled", "model-value", "value", "label"]),
|
|
7328
|
-
|
|
7329
|
-
|
|
7329
|
+
G("div", td, [
|
|
7330
|
+
G("div", nd, [
|
|
7330
7331
|
v.form.minPrice ? (U(), Z(Nt, {
|
|
7331
7332
|
key: 0,
|
|
7332
7333
|
max: b($e.Dinero).fromFdoDinero(v.form.price).toUnit(),
|
|
@@ -7405,7 +7406,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7405
7406
|
id: "variant-form",
|
|
7406
7407
|
modelValue: s.value,
|
|
7407
7408
|
"onUpdate:modelValue": c[3] || (c[3] = (y) => s.value = y),
|
|
7408
|
-
"is-container": b(
|
|
7409
|
+
"is-container": b(Ge).FmForm,
|
|
7409
7410
|
"is-container-props": {
|
|
7410
7411
|
onValidationSuccess: m,
|
|
7411
7412
|
blameFormChildOnValidationFailed: !0
|
|
@@ -7413,11 +7414,11 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7413
7414
|
"max-width": 560,
|
|
7414
7415
|
"dismiss-away": ""
|
|
7415
7416
|
}, {
|
|
7416
|
-
"side-sheet-header":
|
|
7417
|
-
|
|
7417
|
+
"side-sheet-header": B(() => [
|
|
7418
|
+
G("p", od, ye(a.value), 1)
|
|
7418
7419
|
]),
|
|
7419
|
-
"side-sheet-footer":
|
|
7420
|
-
|
|
7420
|
+
"side-sheet-footer": B(() => [
|
|
7421
|
+
G("div", rd, [
|
|
7421
7422
|
A(S, {
|
|
7422
7423
|
label: o.value,
|
|
7423
7424
|
loading: l.value,
|
|
@@ -7433,8 +7434,8 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7433
7434
|
}, null, 8, ["label"])
|
|
7434
7435
|
])
|
|
7435
7436
|
]),
|
|
7436
|
-
default:
|
|
7437
|
-
|
|
7437
|
+
default: B(() => [
|
|
7438
|
+
G("div", ad, [
|
|
7438
7439
|
A(p, {
|
|
7439
7440
|
modelValue: r.value.name,
|
|
7440
7441
|
"onUpdate:modelValue": c[0] || (c[0] = (y) => r.value.name = y),
|
|
@@ -7543,14 +7544,14 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7543
7544
|
return U(), Z(lt, {
|
|
7544
7545
|
title: b(a)("menu.product.form.print.title")
|
|
7545
7546
|
}, {
|
|
7546
|
-
default:
|
|
7547
|
+
default: B(() => {
|
|
7547
7548
|
var x;
|
|
7548
7549
|
return [
|
|
7549
7550
|
l.value.printConfig ? (U(), Z(_t, {
|
|
7550
7551
|
key: 0,
|
|
7551
7552
|
label: b(a)("menu.product.form.print.config.label")
|
|
7552
7553
|
}, {
|
|
7553
|
-
default:
|
|
7554
|
+
default: B(() => {
|
|
7554
7555
|
var k;
|
|
7555
7556
|
return [
|
|
7556
7557
|
A(E, {
|
|
@@ -7569,8 +7570,8 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7569
7570
|
"model-value": ((x = g.form.print) == null ? void 0 : x.sequential) ?? !1,
|
|
7570
7571
|
"onUpdate:modelValue": v[1] || (v[1] = (k) => p(k))
|
|
7571
7572
|
}, {
|
|
7572
|
-
default:
|
|
7573
|
-
|
|
7573
|
+
default: B(() => [
|
|
7574
|
+
G("div", ud, [
|
|
7574
7575
|
(U(!0), re(Ue, null, at(y.value, (k, I) => (U(), Z(R, {
|
|
7575
7576
|
key: I,
|
|
7576
7577
|
label: k.label,
|
|
@@ -7584,7 +7585,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7584
7585
|
A(_t, {
|
|
7585
7586
|
label: b(a)("menu.product.form.print.routes.label")
|
|
7586
7587
|
}, {
|
|
7587
|
-
default:
|
|
7588
|
+
default: B(() => [
|
|
7588
7589
|
m.value.length ? (U(), Z(b(ko), {
|
|
7589
7590
|
key: 0,
|
|
7590
7591
|
"item-key": (k) => k,
|
|
@@ -7593,11 +7594,11 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7593
7594
|
"onUpdate:modelValue": v[3] || (v[3] = (k) => S(k)),
|
|
7594
7595
|
class: "space-y-16"
|
|
7595
7596
|
}, {
|
|
7596
|
-
item:
|
|
7597
|
+
item: B(({ element: k }) => {
|
|
7597
7598
|
var I, F, N, D, C;
|
|
7598
7599
|
return [
|
|
7599
|
-
|
|
7600
|
-
|
|
7600
|
+
G("div", cd, [
|
|
7601
|
+
G("div", dd, [
|
|
7601
7602
|
u.value ? (U(), Z(O, {
|
|
7602
7603
|
key: 0,
|
|
7603
7604
|
disabled: !((F = (I = n.form.print) == null ? void 0 : I.department) != null && F.includes(k)),
|
|
@@ -7623,8 +7624,8 @@ const ca = /* @__PURE__ */ ve({
|
|
|
7623
7624
|
_: 1
|
|
7624
7625
|
}, 8, ["item-key", "model-value"])) : se("", !0),
|
|
7625
7626
|
A(b(ld), { "apply-product": !1 }, {
|
|
7626
|
-
default:
|
|
7627
|
-
|
|
7627
|
+
default: B(({ trigger: k }) => [
|
|
7628
|
+
G("div", md, [
|
|
7628
7629
|
A(O, {
|
|
7629
7630
|
variant: b(Rt).Secondary,
|
|
7630
7631
|
label: b(a)("menu.product.form.print.routes.add"),
|
|
@@ -7750,7 +7751,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
7750
7751
|
}, {
|
|
7751
7752
|
default: ({
|
|
7752
7753
|
trigger: _
|
|
7753
|
-
}) => De(
|
|
7754
|
+
}) => De(Ge.FmSelect, {
|
|
7754
7755
|
modelValue: p || null,
|
|
7755
7756
|
menuZIndex: 103,
|
|
7756
7757
|
items: m.value,
|
|
@@ -7763,7 +7764,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
7763
7764
|
class: "flex items-center py-8 px-16 space-x-8",
|
|
7764
7765
|
type: "button",
|
|
7765
7766
|
onClick: _
|
|
7766
|
-
}, [De(
|
|
7767
|
+
}, [De(Ge.FmIcon, {
|
|
7767
7768
|
name: "add",
|
|
7768
7769
|
size: "md",
|
|
7769
7770
|
color: "primary"
|
|
@@ -7780,7 +7781,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
7780
7781
|
title: b(r)("menu.product.form.takeaway.title"),
|
|
7781
7782
|
"sub-title": b(r)("menu.product.form.takeaway.subtitle")
|
|
7782
7783
|
}, {
|
|
7783
|
-
default:
|
|
7784
|
+
default: B(() => [A(S, {
|
|
7784
7785
|
columnDefs: d.value,
|
|
7785
7786
|
"page-size": b(u).length,
|
|
7786
7787
|
"row-data": b(u),
|
|
@@ -7812,7 +7813,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
7812
7813
|
return (d, c) => {
|
|
7813
7814
|
const p = H("FmSearch"), S = H("FmCheckbox"), _ = H("FmButton");
|
|
7814
7815
|
return l.value.length > 0 ? (U(), re("div", gd, [
|
|
7815
|
-
|
|
7816
|
+
G("div", null, [
|
|
7816
7817
|
A(p, {
|
|
7817
7818
|
autofocus: "",
|
|
7818
7819
|
modelValue: u.value,
|
|
@@ -7820,8 +7821,8 @@ const hd = /* @__PURE__ */ ve({
|
|
|
7820
7821
|
placeholder: b(o)("menu.common.labels.search_variants")
|
|
7821
7822
|
}, null, 8, ["modelValue", "placeholder"])
|
|
7822
7823
|
]),
|
|
7823
|
-
|
|
7824
|
-
|
|
7824
|
+
G("div", vd, [
|
|
7825
|
+
G("div", null, [
|
|
7825
7826
|
(U(!0), re(Ue, null, at(l.value, (y) => (U(), re("div", {
|
|
7826
7827
|
key: y.value
|
|
7827
7828
|
}, [
|
|
@@ -7839,9 +7840,9 @@ const hd = /* @__PURE__ */ ve({
|
|
|
7839
7840
|
]))), 128))
|
|
7840
7841
|
])
|
|
7841
7842
|
]),
|
|
7842
|
-
|
|
7843
|
+
G("div", _d, [
|
|
7843
7844
|
A(b(Ri), null, {
|
|
7844
|
-
default:
|
|
7845
|
+
default: B(({ trigger: y }) => [
|
|
7845
7846
|
b(a).rules.item.variant ? (U(), Z(_, {
|
|
7846
7847
|
key: 0,
|
|
7847
7848
|
label: b(o)("menu.common.actions.add_new_variant"),
|
|
@@ -7852,7 +7853,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
7852
7853
|
]),
|
|
7853
7854
|
_: 1
|
|
7854
7855
|
}),
|
|
7855
|
-
|
|
7856
|
+
G("div", bd, [
|
|
7856
7857
|
A(_, {
|
|
7857
7858
|
label: b(o)("menu.common.actions.cancel"),
|
|
7858
7859
|
variant: "tertiary",
|
|
@@ -7865,12 +7866,12 @@ const hd = /* @__PURE__ */ ve({
|
|
|
7865
7866
|
])
|
|
7866
7867
|
])
|
|
7867
7868
|
])) : (U(), re("div", yd, [
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7869
|
+
G("div", wd, [
|
|
7870
|
+
G("p", Ed, ye(b(o)("menu.common.empty.no_variant.title")), 1),
|
|
7871
|
+
G("p", Sd, ye(b(o)("menu.common.empty.no_variant.subtitle")), 1)
|
|
7871
7872
|
]),
|
|
7872
7873
|
A(b(Ri), null, {
|
|
7873
|
-
default:
|
|
7874
|
+
default: B(({ trigger: y }) => [
|
|
7874
7875
|
A(_, {
|
|
7875
7876
|
label: b(o)("menu.variant.add"),
|
|
7876
7877
|
icon: "add",
|
|
@@ -8048,7 +8049,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8048
8049
|
cell: (k) => {
|
|
8049
8050
|
var C, T;
|
|
8050
8051
|
const I = k.getValue(), D = ((C = k.row.original.fallback) == null ? void 0 : C.code) ?? n.form.code ?? ((T = n.fallback) == null ? void 0 : T.code);
|
|
8051
|
-
return A(
|
|
8052
|
+
return A(Ge.FmTextField, {
|
|
8052
8053
|
modelValue: I,
|
|
8053
8054
|
placeholder: D || l("menu.product.form.variant.placeholders.no_code"),
|
|
8054
8055
|
"onUpdate:model-value": (V) => {
|
|
@@ -8088,7 +8089,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8088
8089
|
class: "flex items-center gap-8"
|
|
8089
8090
|
}, [A(Nt, {
|
|
8090
8091
|
disable: M.value.length > 0 && i.currentCatalog && !i.currentScheduler,
|
|
8091
|
-
placeholder: D ?
|
|
8092
|
+
placeholder: D ? Gt(D) : void 0,
|
|
8092
8093
|
modelValue: I,
|
|
8093
8094
|
min: 0,
|
|
8094
8095
|
"onUpdate:model-value": (j) => {
|
|
@@ -8110,7 +8111,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8110
8111
|
var C, T, V;
|
|
8111
8112
|
const I = k.getValue(), F = k.row.original, D = ((C = F.fallback) == null ? void 0 : C.minPrice) ?? n.form.minPrice ?? ((T = n.fallback) == null ? void 0 : T.minPrice);
|
|
8112
8113
|
return A(Nt, {
|
|
8113
|
-
placeholder: D ?
|
|
8114
|
+
placeholder: D ? Gt(D) : void 0,
|
|
8114
8115
|
modelValue: I,
|
|
8115
8116
|
max: $e.Dinero.fromFdoDinero(F.price ?? ((V = F.fallback) == null ? void 0 : V.price) ?? $e.Dinero.zero().toObject()).toUnit(),
|
|
8116
8117
|
"onUpdate:model-value": (j) => {
|
|
@@ -8134,20 +8135,20 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8134
8135
|
title: b(l)("menu.product.form.variant.title"),
|
|
8135
8136
|
"sub-title": b(l)("menu.product.form.variant.subtitle")
|
|
8136
8137
|
}, {
|
|
8137
|
-
"append-title":
|
|
8138
|
+
"append-title": B(() => [b(i).rules.item.variant ? (U(), Z(F, {
|
|
8138
8139
|
key: 0,
|
|
8139
8140
|
label: b(l)("menu.product.form.variant.add"),
|
|
8140
8141
|
variant: "secondary",
|
|
8141
8142
|
"prepend-icon": "add",
|
|
8142
8143
|
onClick: _
|
|
8143
8144
|
}, null, 8, ["label"])) : se("", !0)]),
|
|
8144
|
-
default:
|
|
8145
|
+
default: B(() => {
|
|
8145
8146
|
var T;
|
|
8146
|
-
return [
|
|
8147
|
+
return [G("div", Cd, [A(D, {
|
|
8147
8148
|
"model-value": (T = k.form.variant) == null ? void 0 : T.variantGroupIds,
|
|
8148
8149
|
rules: [x]
|
|
8149
8150
|
}, {
|
|
8150
|
-
default:
|
|
8151
|
+
default: B(() => {
|
|
8151
8152
|
var V;
|
|
8152
8153
|
return [A(b(ko), {
|
|
8153
8154
|
"model-value": ((V = k.form.variant) == null ? void 0 : V.variantGroupIds) ?? [],
|
|
@@ -8157,15 +8158,15 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8157
8158
|
"item-key": "id",
|
|
8158
8159
|
"onUpdate:modelValue": g
|
|
8159
8160
|
}, {
|
|
8160
|
-
item:
|
|
8161
|
+
item: B(({
|
|
8161
8162
|
element: j
|
|
8162
8163
|
}) => {
|
|
8163
8164
|
var ue;
|
|
8164
|
-
return [
|
|
8165
|
+
return [G("div", Rd, [A(F, {
|
|
8165
8166
|
variant: b(Rt).Tertiary,
|
|
8166
8167
|
class: "handle",
|
|
8167
8168
|
"prepend-icon": "drag_handle"
|
|
8168
|
-
}, null, 8, ["variant"]),
|
|
8169
|
+
}, null, 8, ["variant"]), G("div", Ad, [G("p", Od, ye((ue = d.value[j]) == null ? void 0 : ue.name), 1), A(N, {
|
|
8169
8170
|
class: "cursor-pointer",
|
|
8170
8171
|
name: "close",
|
|
8171
8172
|
onClick: Cn((ce) => {
|
|
@@ -8179,7 +8180,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8179
8180
|
}),
|
|
8180
8181
|
_: 1
|
|
8181
8182
|
}, 8, ["model-value", "rules"]), A(ua, null, {
|
|
8182
|
-
default:
|
|
8183
|
+
default: B(() => [v.value.length ? (U(), Z(C, {
|
|
8183
8184
|
key: 0,
|
|
8184
8185
|
class: "w-full",
|
|
8185
8186
|
"column-defs": O.value,
|
|
@@ -8494,7 +8495,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8494
8495
|
var f, h;
|
|
8495
8496
|
R();
|
|
8496
8497
|
try {
|
|
8497
|
-
|
|
8498
|
+
Be.startSession({
|
|
8498
8499
|
userId: ((f = o.sessionUser.value) == null ? void 0 : f.id) || "",
|
|
8499
8500
|
businessId: (h = o.currentBusiness.value) == null ? void 0 : h.id,
|
|
8500
8501
|
input: p.value
|
|
@@ -8510,7 +8511,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8510
8511
|
}
|
|
8511
8512
|
}), Sa(() => {
|
|
8512
8513
|
try {
|
|
8513
|
-
|
|
8514
|
+
Be.closeSession();
|
|
8514
8515
|
} catch (f) {
|
|
8515
8516
|
console.log(f);
|
|
8516
8517
|
}
|
|
@@ -8553,7 +8554,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8553
8554
|
onOnPrimary: ke,
|
|
8554
8555
|
onOnCancel: je
|
|
8555
8556
|
}, {
|
|
8556
|
-
"append-title":
|
|
8557
|
+
"append-title": B(() => [
|
|
8557
8558
|
b(bt)("sm") ? (U(), Z(Ai, {
|
|
8558
8559
|
key: 0,
|
|
8559
8560
|
variant: "dialog",
|
|
@@ -8561,7 +8562,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8561
8562
|
items: I.value.items
|
|
8562
8563
|
}, null, 8, ["title", "items"])) : se("", !0)
|
|
8563
8564
|
]),
|
|
8564
|
-
default:
|
|
8565
|
+
default: B(() => {
|
|
8565
8566
|
var L, X;
|
|
8566
8567
|
return [
|
|
8567
8568
|
b(bt)("sm") ? se("", !0) : (U(), Z(Ai, {
|
|
@@ -8575,8 +8576,8 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8575
8576
|
title: I.value.title,
|
|
8576
8577
|
items: I.value.items
|
|
8577
8578
|
}, null, 8, ["style", "title", "items"])),
|
|
8578
|
-
|
|
8579
|
-
|
|
8579
|
+
G("div", Td, [
|
|
8580
|
+
G("div", {
|
|
8580
8581
|
ref_key: "formWrapper",
|
|
8581
8582
|
ref: Lt,
|
|
8582
8583
|
class: He(["flex-1 py-24 space-y-24", "xs:w-full"])
|
|
@@ -8597,7 +8598,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8597
8598
|
description: b(r)("menu.product.form.sections.general.description"),
|
|
8598
8599
|
title: b(r)("menu.product.form.sections.general.title")
|
|
8599
8600
|
}, {
|
|
8600
|
-
default:
|
|
8601
|
+
default: B(() => [
|
|
8601
8602
|
A(Zu, {
|
|
8602
8603
|
fallback: c.value,
|
|
8603
8604
|
form: p.value,
|
|
@@ -8618,7 +8619,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8618
8619
|
title: b(r)("menu.product.form.sections.tagging.title"),
|
|
8619
8620
|
"sub-title": b(r)("menu.product.form.sections.tagging.subtitle")
|
|
8620
8621
|
}, {
|
|
8621
|
-
default:
|
|
8622
|
+
default: B(() => [
|
|
8622
8623
|
A(b(vo), {
|
|
8623
8624
|
entity: "item",
|
|
8624
8625
|
"model-value": p.value.customAttributes || {},
|
|
@@ -8639,7 +8640,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8639
8640
|
description: b(r)("menu.product.form.sections.price.description"),
|
|
8640
8641
|
title: b(r)("menu.product.form.sections.price.title")
|
|
8641
8642
|
}, {
|
|
8642
|
-
default:
|
|
8643
|
+
default: B(() => [
|
|
8643
8644
|
A(id, {
|
|
8644
8645
|
fallback: c.value,
|
|
8645
8646
|
form: p.value,
|
|
@@ -8662,7 +8663,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8662
8663
|
disabled: "",
|
|
8663
8664
|
title: "Update print"
|
|
8664
8665
|
}, {
|
|
8665
|
-
default:
|
|
8666
|
+
default: B(() => [
|
|
8666
8667
|
A(pd, {
|
|
8667
8668
|
fallback: c.value,
|
|
8668
8669
|
form: p.value,
|
|
@@ -8686,7 +8687,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8686
8687
|
description: b(r)("menu.product.form.sections.variant.description"),
|
|
8687
8688
|
title: b(r)("menu.product.form.sections.variant.title")
|
|
8688
8689
|
}, {
|
|
8689
|
-
default:
|
|
8690
|
+
default: B(() => [
|
|
8690
8691
|
A(Id, {
|
|
8691
8692
|
fallback: c.value,
|
|
8692
8693
|
form: p.value,
|
|
@@ -8711,7 +8712,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8711
8712
|
description: "Use a different group setting",
|
|
8712
8713
|
title: "Update group"
|
|
8713
8714
|
}, {
|
|
8714
|
-
default:
|
|
8715
|
+
default: B(() => [
|
|
8715
8716
|
A(zc, {
|
|
8716
8717
|
fallback: c.value,
|
|
8717
8718
|
form: p.value,
|
|
@@ -8736,8 +8737,8 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8736
8737
|
description: b(r)("menu.product.form.sections.inventory.description"),
|
|
8737
8738
|
title: b(r)("menu.product.form.sections.inventory.title")
|
|
8738
8739
|
}, {
|
|
8739
|
-
default:
|
|
8740
|
-
A(
|
|
8740
|
+
default: B(() => [
|
|
8741
|
+
A(Bc, {
|
|
8741
8742
|
fallback: c.value,
|
|
8742
8743
|
form: p.value,
|
|
8743
8744
|
"full-combinations": g.value,
|
|
@@ -8761,7 +8762,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8761
8762
|
description: b(r)("menu.product.form.sections.takeaway.description"),
|
|
8762
8763
|
title: b(r)("menu.product.form.sections.takeaway.title")
|
|
8763
8764
|
}, {
|
|
8764
|
-
default:
|
|
8765
|
+
default: B(() => [
|
|
8765
8766
|
A(hd, {
|
|
8766
8767
|
fallback: c.value,
|
|
8767
8768
|
form: p.value,
|
|
@@ -8775,7 +8776,7 @@ const hd = /* @__PURE__ */ ve({
|
|
|
8775
8776
|
_: 1
|
|
8776
8777
|
}, 8, ["toggle", "disabled", "description", "title"])) : se("", !0)
|
|
8777
8778
|
], 512),
|
|
8778
|
-
h[21] || (h[21] =
|
|
8779
|
+
h[21] || (h[21] = G("div", { class: "w-[360px] xs:hidden sm:hidden" }, null, -1))
|
|
8779
8780
|
])
|
|
8780
8781
|
];
|
|
8781
8782
|
}),
|
|
@@ -8870,7 +8871,7 @@ function $d(e) {
|
|
|
8870
8871
|
const t = ge(e), n = (i = t.variant) == null ? void 0 : i.variantCombinations;
|
|
8871
8872
|
return delete t.variant, delete t.thumbnail, [t, ...n || []];
|
|
8872
8873
|
}
|
|
8873
|
-
function
|
|
8874
|
+
function Gd(e, t) {
|
|
8874
8875
|
var i;
|
|
8875
8876
|
return {
|
|
8876
8877
|
...t.find((a) => !a.combinationKey),
|
|
@@ -8906,7 +8907,7 @@ const Si = mo("item-manager", () => {
|
|
|
8906
8907
|
}
|
|
8907
8908
|
async function u(w, x, k) {
|
|
8908
8909
|
l({
|
|
8909
|
-
initialForm:
|
|
8910
|
+
initialForm: Gd(w, x || []),
|
|
8910
8911
|
action: "update",
|
|
8911
8912
|
"onSubmit:form": async (I) => {
|
|
8912
8913
|
I.inventoryBindings ?? (I.inventoryBindings = []), I.inventoryBindings.length === 0 && (I.inventoryBindings = null), await k(
|
|
@@ -9133,7 +9134,7 @@ export {
|
|
|
9133
9134
|
Tr as I,
|
|
9134
9135
|
Ro as M,
|
|
9135
9136
|
ld as P,
|
|
9136
|
-
|
|
9137
|
+
Be as R,
|
|
9137
9138
|
Nu as S,
|
|
9138
9139
|
Tt as T,
|
|
9139
9140
|
Ho as _,
|
|
@@ -9151,7 +9152,7 @@ export {
|
|
|
9151
9152
|
ua as l,
|
|
9152
9153
|
Ao as m,
|
|
9153
9154
|
jo as n,
|
|
9154
|
-
|
|
9155
|
+
Gd as o,
|
|
9155
9156
|
ca as p,
|
|
9156
9157
|
fd as q,
|
|
9157
9158
|
or as r,
|