@feedmepos/mf-menu 0.31.73 → 0.31.74
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-C9BJVGXE.js → App-B6Hn5Wwr.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-D5ZzRvQv.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CqGU3bJQ.js} +3 -3
- package/dist/{Catalog--QgvDSuo.js → Catalog-D-2hDU2I.js} +6 -6
- package/dist/{Category-nx2UEJ-W.js → Category-DjTbuAvE.js} +4 -4
- package/dist/{Category-oTrXvIjH.js → Category-hSOIgBkH.js} +6 -6
- package/dist/{CookingGuide-BwBvwfQh.js → CookingGuide-D7ruB7eP.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-C2sGhPv3.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-mxVSGXAz.js} +1 -1
- package/dist/{Group-i-0yKTGl.js → Group-CjlhbhDV.js} +1 -1
- package/dist/{Group-CDZenzP_.js → Group-evJZbgZn.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BPzuT1Vb.js → Group.vue_vue_type_script_setup_true_lang-DiKraPiw.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B7Ec95lc.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BYku8MAc.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CA1541eR.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DScxctPb.js} +7 -7
- package/dist/{Ingredient-DxllB9CA.js → Ingredient-jNDx1pUw.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-D70_L5Si.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CuM_k-C3.js} +2 -2
- package/dist/{LinkProductSideSheet-B5Di8NBz.js → LinkProductSideSheet-CAPIdf6P.js} +3 -3
- package/dist/{MenuSetting-DNeQl0Ix.js → MenuSetting-C2MDgy57.js} +5 -5
- package/dist/{PrintRoute-BDpqZ5NG.js → PrintRoute-SmWbKr9Y.js} +4 -4
- package/dist/{Product-l0NtL-4b.js → Product-BCm49V9T.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BGurqd5j.js → Product.vue_vue_type_script_setup_true_lang-CTOjLqbF.js} +13 -13
- package/dist/{ProductInternalTools-BX3wloTv.js → ProductInternalTools-DGsvvnIs.js} +5 -5
- package/dist/{Products-BnSzKAnH.js → Products-D4qeSEfO.js} +11 -11
- package/dist/{Publish-FteASYtL.js → Publish-3A3EEQ9x.js} +3 -3
- package/dist/{Recipe-B0Rtfsr1.js → Recipe-CS7TZGA6.js} +4 -4
- package/dist/{Scheduler-B6H7c0ys.js → Scheduler-BIwTUJMJ.js} +3 -3
- package/dist/{ServingSequence-CNM2jHUA.js → ServingSequence-C0N8wJfr.js} +3 -3
- package/dist/{Setting-CRd5MJU8.js → Setting-fA6tvQK2.js} +5 -5
- package/dist/{Subcategory-WiWFVaSW.js → Subcategory-BAFAmflQ.js} +4 -4
- package/dist/{Takeaway-D4QFumZG.js → Takeaway-CLZouw1j.js} +1 -1
- package/dist/{Takeaway-Dz3W_LuO.js → Takeaway-D4aO8zzN.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-z81IGPlP.js → Takeaway.vue_vue_type_script_setup_true_lang-1oN-i9bo.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-Cd0HrXWO.js → Thumbnail.vue_vue_type_script_setup_true_lang-Dwol_Lkd.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CEh7j-rN.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CabQS55D.js} +169 -168
- package/dist/{Unit-Bj-W5RXm.js → Unit-ByqUb4Po.js} +2 -2
- package/dist/{Variant-BFn2aZeF.js → Variant-BmqrUfen.js} +3 -3
- package/dist/{_id_-AT7jxwVE.js → _id_-RUWzOB0B.js} +10 -10
- package/dist/{app-Dd_KnIqm.js → app-B1N2F0j8.js} +1 -1
- package/dist/{app-DNxrzHiq.js → app-CHpw_EM1.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-Be2uepOA.js → linked-status-CFdi7K3K.js} +2 -2
- package/dist/assets/{override-menu-BNzx1e7q.js → override-menu-CXOY8i3w.js} +2 -2
- package/dist/assets/{validate-menu-1m_f_apm.js → validate-menu-DLlrsx2f.js} +2 -2
- package/dist/{catalog-V8dAzNBn.js → catalog-CarmtheV.js} +1 -1
- package/dist/{catalogSetting-BC5IqMYN.js → catalogSetting-BqrTpBP8.js} +1 -1
- package/dist/{category-CGuw37sm.js → category-5R83ypNS.js} +1 -1
- package/dist/{currency-DoEQzitl.js → currency-CUl4r9rT.js} +1 -1
- package/dist/{customAttributes-DY9pRcZS.js → customAttributes-BkqKM_KW.js} +1 -1
- package/dist/{index-VYtnXWAq.js → index-DAWSNP3G.js} +3 -3
- package/dist/{index-CM4lBQ4G.js → index-DUfYYdZ-.js} +1 -1
- package/dist/{index-Bq48jgnb.js → index-DlwLw-BQ.js} +4 -4
- package/dist/{index-mYGDBSp_.js → index-Ttqt4iFV.js} +1 -1
- package/dist/{item-D2a5PW0Z.js → item-B0UPYxsB.js} +134 -133
- package/dist/{iteration-wWK05uZ1.js → iteration-CfmAZiOO.js} +1 -1
- package/dist/{jszip.min-DTbH9ENd.js → jszip.min-zROpry0S.js} +353 -353
- package/dist/{menu-C3-r6tS_.js → menu-DAac726D.js} +4 -4
- package/dist/{menu-DNF8Rgvf.js → menu-DpYo8dYR.js} +1 -1
- package/dist/{menuV2-MHU8jzzp.js → menuV2-DZj_FPqR.js} +135 -135
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-BvAoerIZ.js → priceTier-BvDLl8v2.js} +1 -1
- package/dist/{scheduler-CmTQ9EiI.js → scheduler-pNUXG6En.js} +4 -4
- package/dist/{subcategory-BIk6KNy_.js → subcategory-DCDCQnAX.js} +2 -2
- package/dist/{toExcel-DGXNf3fi.js → toExcel-DqMa1Hn8.js} +2 -2
- package/dist/{unit-zFDBsOyu.js → unit-CuCXoWPG.js} +2 -2
- package/package.json +1 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineStore as mo } from "pinia";
|
|
2
|
-
import { createElementBlock as
|
|
3
|
-
import { J as ze, z as q, ag as Ca, ai as Aa, X as Ia, H as be, B as Je, A as Ge, T as go, u as Me, I as at, D as St, O as Ot, P as Ta, Q as Ma, R as Da, U as Fn, aa as Fa, M as Na, K as Si } from "./menu-
|
|
2
|
+
import { createElementBlock as re, openBlock as x, createElementVNode as B, defineComponent as ve, resolveComponent as K, createBlock as J, createVNode as R, toDisplayString as Ee, Fragment as Ve, renderList as rt, h as Fe, ref as ie, computed as z, watch as Le, unref as y, renderSlot as Ce, withCtx as W, createCommentVNode as se, Transition as ha, normalizeClass as Ke, resolveDynamicComponent as yn, withDirectives as Xt, vShow as kn, mergeProps as po, withModifiers as Sn, createTextVNode as Bn, getCurrentInstance as an, inject as ga, shallowRef as va, onMounted as $t, onUnmounted as _a, Text as ba, resolveDirective as fo, markRaw as ya, render as Wn, mergeModels as wa, useModel as Ea, nextTick as ho, onBeforeUnmount as ka, normalizeProps as Sa, guardReactiveProps as Oa, normalizeStyle as Ra } from "vue";
|
|
3
|
+
import { J as ze, z as q, ag as Ca, ai as Aa, X as Ia, H as be, B as Je, A as Ge, T as go, u as Me, I as at, D as St, O as Ot, P as Ta, Q as Ma, R as Da, U as Fn, aa as Fa, M as Na, K as Si } from "./menu-DAac726D.js";
|
|
4
4
|
import { useI18n as Se, useCoreStore as rn, CustomAttributesForm as vo } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as lt, useSnackbar as Qe, components as Be, FmButtonColorThemeVariant as ft, FmButtonVariant as Rt, useBreakpoints as _o, useDialogChild as bo } from "@feedmepos/ui-library";
|
|
6
|
-
import { C as ht } from "./catalog-
|
|
6
|
+
import { C as ht } from "./catalog-CarmtheV.js";
|
|
7
7
|
import { c as Pa } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
8
8
|
import { a as Oi, p as La, _ as yo } from "./tooltip-CQW9YRO5.js";
|
|
9
|
-
import { _ as Ct, L as xa } from "./LinkProductSideSheet-
|
|
10
|
-
import { _ as ut, a as bt, b as Ua } from "./customAttributes-
|
|
11
|
-
import { s as Hn, F as Va, _ as za } from "./index-
|
|
12
|
-
import { I as $a, a as Ga } from "./app-
|
|
13
|
-
import { u as Ba } from "./app-
|
|
14
|
-
import { g as wo, b as Wa, c as Ha, a as ja, m as Ka } from "./menuV2-
|
|
15
|
-
import { u as Ya } from "./subcategory-
|
|
9
|
+
import { _ as Ct, L as xa } from "./LinkProductSideSheet-CAPIdf6P.js";
|
|
10
|
+
import { _ as ut, a as bt, b as Ua } from "./customAttributes-BkqKM_KW.js";
|
|
11
|
+
import { s as Hn, F as Va, _ as za } from "./index-DUfYYdZ-.js";
|
|
12
|
+
import { I as $a, a as Ga } from "./app-CHpw_EM1.js";
|
|
13
|
+
import { u as Ba } from "./app-B1N2F0j8.js";
|
|
14
|
+
import { g as wo, b as Wa, c as Ha, a as ja, m as Ka } from "./menuV2-DZj_FPqR.js";
|
|
15
|
+
import { u as Ya } from "./subcategory-DCDCQnAX.js";
|
|
16
16
|
import "@vue/devtools-api";
|
|
17
|
-
import { u as Xa } from "./category-
|
|
17
|
+
import { u as Xa } from "./category-5R83ypNS.js";
|
|
18
18
|
import { u as ui } from "./discardConfirm-BHni0LNu.js";
|
|
19
|
-
import { _ as Ft, l as jn, T as qa } from "./index-
|
|
19
|
+
import { _ as Ft, l as jn, T as qa } from "./index-DlwLw-BQ.js";
|
|
20
20
|
import { useInventoryStore as Eo, InventoryBindingForm as Ja, InventoryBindingSummary as Za } from "@feedmepos/mf-inventory-portal";
|
|
21
21
|
import { c as sn } from "./check-C9mY6LiX.js";
|
|
22
22
|
import { c as Qa } from "./object-DVUNCr7w.js";
|
|
23
|
-
import { f as Gt } from "./currency-
|
|
24
|
-
import { u as ko } from "./priceTier-
|
|
23
|
+
import { f as Gt } from "./currency-CUl4r9rT.js";
|
|
24
|
+
import { u as ko } from "./priceTier-BvDLl8v2.js";
|
|
25
25
|
import { u as er } from "./search-BAPEUu1R.js";
|
|
26
26
|
import { c as tr } from "./string-DpfFixWH.js";
|
|
27
27
|
import { d as So } from "./vuedraggable-CK8z7qA8.js";
|
|
28
|
-
import { _ as nr } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
29
|
-
import { V as Ri } from "./index-
|
|
28
|
+
import { _ as nr } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CqGU3bJQ.js";
|
|
29
|
+
import { V as Ri } from "./index-DAWSNP3G.js";
|
|
30
30
|
class vn {
|
|
31
31
|
constructor(t, n, i, a) {
|
|
32
32
|
this.scheduler = t, this.menuStore = n, this.updateMenu = i, this.dialog = a;
|
|
@@ -521,7 +521,7 @@ function ar(e, t) {
|
|
|
521
521
|
}
|
|
522
522
|
const rr = {};
|
|
523
523
|
function sr(e, t) {
|
|
524
|
-
return x(),
|
|
524
|
+
return x(), re("div", null, t[0] || (t[0] = [
|
|
525
525
|
B("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
|
|
526
526
|
]));
|
|
527
527
|
}
|
|
@@ -552,10 +552,10 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
|
|
|
552
552
|
}
|
|
553
553
|
return (a, o) => {
|
|
554
554
|
const r = K("FmButton");
|
|
555
|
-
return t.variant === "full" ? (x(),
|
|
555
|
+
return t.variant === "full" ? (x(), re("div", ur, [
|
|
556
556
|
B("div", cr, Ee(a.title), 1),
|
|
557
557
|
R(lr),
|
|
558
|
-
(x(!0),
|
|
558
|
+
(x(!0), re(Ve, null, rt(a.items, (l) => (x(), J(Oi, {
|
|
559
559
|
key: l.name,
|
|
560
560
|
name: l.name,
|
|
561
561
|
value: l.value || "--"
|
|
@@ -619,7 +619,7 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
|
|
|
619
619
|
}
|
|
620
620
|
), (c, p) => {
|
|
621
621
|
const b = K("FmSelect");
|
|
622
|
-
return x(),
|
|
622
|
+
return x(), re("div", dr, [
|
|
623
623
|
B("div", mr, [
|
|
624
624
|
B("div", pr, Ee(y(a)("menu.catalog_scheduler.title")), 1),
|
|
625
625
|
B("div", fr, Ee(y(a)("menu.catalog_scheduler.subtitle")), 1)
|
|
@@ -670,7 +670,7 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
|
|
|
670
670
|
B("div", br, [
|
|
671
671
|
B("div", yr, [
|
|
672
672
|
B("p", wr, Ee(i.title), 1),
|
|
673
|
-
i.description ? (x(),
|
|
673
|
+
i.description ? (x(), re("p", Er, Ee(i.description), 1)) : se("", !0)
|
|
674
674
|
]),
|
|
675
675
|
R(o, {
|
|
676
676
|
"model-value": i.toggle,
|
|
@@ -679,7 +679,7 @@ const lr = /* @__PURE__ */ Ct(rr, [["render", sr]]), ur = {
|
|
|
679
679
|
]),
|
|
680
680
|
R(ha, { name: "expand" }, {
|
|
681
681
|
default: W(() => [
|
|
682
|
-
i.toggle ? (x(),
|
|
682
|
+
i.toggle ? (x(), re("div", kr, [
|
|
683
683
|
Ce(i.$slots, "default", {}, void 0, !0)
|
|
684
684
|
])) : se("", !0)
|
|
685
685
|
]),
|
|
@@ -760,7 +760,7 @@ async function Om(e, t, n = {}) {
|
|
|
760
760
|
}
|
|
761
761
|
const Tr = {}, Mr = { class: "pl-32" };
|
|
762
762
|
function Dr(e, t) {
|
|
763
|
-
return x(),
|
|
763
|
+
return x(), re("div", Mr, [
|
|
764
764
|
Ce(e.$slots, "default")
|
|
765
765
|
]);
|
|
766
766
|
}
|
|
@@ -826,7 +826,7 @@ const Fr = /* @__PURE__ */ Ct(Tr, [["render", Dr]]), Nr = { class: "flex flex-co
|
|
|
826
826
|
hideMenu: u
|
|
827
827
|
}), (b, _) => {
|
|
828
828
|
const S = K("FmIcon"), v = K("FmField"), h = K("FmMenuItem"), E = K("FmMenu"), O = K("FmFormGroup"), A = K("FmChipGroup");
|
|
829
|
-
return x(),
|
|
829
|
+
return x(), re("div", Nr, [
|
|
830
830
|
R(O, {
|
|
831
831
|
"model-value": b.modelValue,
|
|
832
832
|
disabled: b.disabled,
|
|
@@ -868,7 +868,7 @@ const Fr = /* @__PURE__ */ Ct(Tr, [["render", Dr]]), Nr = { class: "flex flex-co
|
|
|
868
868
|
]),
|
|
869
869
|
default: W(() => [
|
|
870
870
|
B("div", Pr, [
|
|
871
|
-
(x(!0),
|
|
871
|
+
(x(!0), re(Ve, null, rt(b.items, (w) => (x(), J(h, {
|
|
872
872
|
key: w.value,
|
|
873
873
|
disabled: w.disabled,
|
|
874
874
|
"has-checkbox": !0,
|
|
@@ -884,7 +884,7 @@ const Fr = /* @__PURE__ */ Ct(Tr, [["render", Dr]]), Nr = { class: "flex flex-co
|
|
|
884
884
|
]),
|
|
885
885
|
_: 3
|
|
886
886
|
}, 8, ["model-value", "disabled", "focused", "helper-state", "helper-text", "rules"]),
|
|
887
|
-
b.shouldShowChips && r.value.length > 0 ? (x(),
|
|
887
|
+
b.shouldShowChips && r.value.length > 0 ? (x(), re("div", Lr, [
|
|
888
888
|
R(A, {
|
|
889
889
|
disabled: b.disabled,
|
|
890
890
|
items: r.value.map((T) => ({ label: T.label })),
|
|
@@ -1018,11 +1018,11 @@ function Kn(e, t, n) {
|
|
|
1018
1018
|
}, u;
|
|
1019
1019
|
}
|
|
1020
1020
|
Kn.debounce = Kn;
|
|
1021
|
-
var Yn = Kn,
|
|
1022
|
-
return
|
|
1021
|
+
var Yn = Kn, ae = function() {
|
|
1022
|
+
return ae = Object.assign || function(e) {
|
|
1023
1023
|
for (var t, n = 1, i = arguments.length; n < i; n++) for (var a in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]);
|
|
1024
1024
|
return e;
|
|
1025
|
-
},
|
|
1025
|
+
}, ae.apply(this, arguments);
|
|
1026
1026
|
};
|
|
1027
1027
|
/*! *****************************************************************************
|
|
1028
1028
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1221,7 +1221,7 @@ function Rn(e) {
|
|
|
1221
1221
|
return { left: -e.left, top: -e.top };
|
|
1222
1222
|
}
|
|
1223
1223
|
function He(e, t) {
|
|
1224
|
-
return
|
|
1224
|
+
return ae(ae({}, e), { left: e.left + t.left, top: e.top + t.top });
|
|
1225
1225
|
}
|
|
1226
1226
|
function qe(e, t, n, i) {
|
|
1227
1227
|
if (t !== 1) {
|
|
@@ -1272,7 +1272,7 @@ function qn(e) {
|
|
|
1272
1272
|
return { width: e.right !== void 0 && e.left !== void 0 ? e.right - e.left : 1 / 0, height: e.bottom !== void 0 && e.top !== void 0 ? e.bottom - e.top : 1 / 0 };
|
|
1273
1273
|
}
|
|
1274
1274
|
function Yr(e, t) {
|
|
1275
|
-
return
|
|
1275
|
+
return ae(ae({}, e), { minWidth: Math.min(t.width, e.minWidth), minHeight: Math.min(t.height, e.minHeight), maxWidth: Math.min(t.width, e.maxWidth), maxHeight: Math.min(t.height, e.maxHeight) });
|
|
1276
1276
|
}
|
|
1277
1277
|
function Lo(e, t, n) {
|
|
1278
1278
|
n === void 0 && (n = !0);
|
|
@@ -1313,13 +1313,13 @@ function Jn(e) {
|
|
|
1313
1313
|
function Xr(e) {
|
|
1314
1314
|
var t = e.coordinates, n = e.transform, i = e.imageSize, a = e.sizeRestrictions, o = e.positionRestrictions, r = e.aspectRatio, l = e.visibleArea, s = function(m, d) {
|
|
1315
1315
|
return Jn({ coordinates: m, positionRestrictions: o, event: new di({ left: d.left - m.left, top: d.top - m.top }) });
|
|
1316
|
-
}, u =
|
|
1316
|
+
}, u = ae({}, t);
|
|
1317
1317
|
return (Array.isArray(n) ? n : [n]).forEach(function(m) {
|
|
1318
1318
|
var d = {};
|
|
1319
1319
|
De((d = typeof m == "function" ? m({ coordinates: u, imageSize: i, visibleArea: l }) : m).width) && De(d.height) || (u = function(c, p) {
|
|
1320
|
-
var b =
|
|
1320
|
+
var b = ae(ae(ae({}, c), gt({ width: p.width, height: p.height, sizeRestrictions: a, aspectRatio: r })), { left: 0, top: 0 });
|
|
1321
1321
|
return s(b, { left: c.left, top: c.top });
|
|
1322
|
-
}(u,
|
|
1322
|
+
}(u, ae(ae({}, u), d))), De(d.left) && De(d.top) || (u = s(u, ae(ae({}, u), d)));
|
|
1323
1323
|
}), u;
|
|
1324
1324
|
}
|
|
1325
1325
|
function qr(e) {
|
|
@@ -1328,8 +1328,8 @@ function qr(e) {
|
|
|
1328
1328
|
e.aspectRatio;
|
|
1329
1329
|
var o = e.stencilSize, r = e.sizeRestrictions, l = e.positionRestrictions;
|
|
1330
1330
|
e.stencilReference;
|
|
1331
|
-
var s, u, m, d =
|
|
1332
|
-
s = pe(p), u = pe(d), m === void 0 && (m = 1e-3), (s === 0 || u === 0 ? Math.abs(u - s) < m : Math.abs(u / s) < 1 + m && Math.abs(u / s) > 1 - m) || (d =
|
|
1331
|
+
var s, u, m, d = ae({}, i), c = ae({}, a), p = ae({}, o);
|
|
1332
|
+
s = pe(p), u = pe(d), m === void 0 && (m = 1e-3), (s === 0 || u === 0 ? Math.abs(u - s) < m : Math.abs(u / s) < 1 + m && Math.abs(u / s) > 1 - m) || (d = ae(ae({}, d), gt({ sizeRestrictions: r, width: d.width, height: d.height, aspectRatio: { minimum: pe(p), maximum: pe(p) } })));
|
|
1333
1333
|
var b = Cn(c = qe(c, d.width * n.width / (c.width * p.width)), t({ visibleArea: c, type: "resize" }));
|
|
1334
1334
|
return b !== 1 && (c = qe(c, b), d = qe(d, b)), c = Ue(c = He(c, Bt(xe(d), xe(c))), t({ visibleArea: c, type: "move" })), { coordinates: d = Ue(d, An(st(c), l)), visibleArea: c };
|
|
1335
1335
|
}
|
|
@@ -1338,7 +1338,7 @@ function Jr(e) {
|
|
|
1338
1338
|
e.aspectRatio, e.stencilSize, e.sizeRestrictions;
|
|
1339
1339
|
var r = e.positionRestrictions;
|
|
1340
1340
|
e.stencilReference;
|
|
1341
|
-
var l =
|
|
1341
|
+
var l = ae({}, a), s = ae({}, o);
|
|
1342
1342
|
if (a && o && t.type !== "manipulateImage") {
|
|
1343
1343
|
var u = { width: 0, height: 0 };
|
|
1344
1344
|
s.width, i.width, pe(i) > pe(l) ? (u.height = 0.8 * i.height, u.width = u.height * pe(l)) : (u.width = 0.8 * i.width, u.height = u.width * pe(l));
|
|
@@ -1348,7 +1348,7 @@ function Jr(e) {
|
|
|
1348
1348
|
return { coordinates: l, visibleArea: s };
|
|
1349
1349
|
}
|
|
1350
1350
|
function Zr(e) {
|
|
1351
|
-
var t = e.event, n = e.coordinates, i = e.visibleArea, a = e.getAreaRestrictions, o =
|
|
1351
|
+
var t = e.event, n = e.coordinates, i = e.visibleArea, a = e.getAreaRestrictions, o = ae({}, i), r = ae({}, n);
|
|
1352
1352
|
if (t.type === "setCoordinates") {
|
|
1353
1353
|
var l = Math.max(0, r.width - o.width), s = Math.max(0, r.height - o.height);
|
|
1354
1354
|
l > s ? o = qe(o, Math.min(r.width / o.width, Wt(o, a({ visibleArea: o, type: "resize" })))) : s > l && (o = qe(o, Math.min(r.height / o.height, Wt(o, a({ visibleArea: o, type: "resize" }))))), o = Ue(o = He(o, Rn(Ht(r, st(o)))), a({ visibleArea: o, type: "move" }));
|
|
@@ -1361,7 +1361,7 @@ function Qr(e) {
|
|
|
1361
1361
|
}
|
|
1362
1362
|
function es(e) {
|
|
1363
1363
|
var t = e.imageSize, n = e.visibleArea, i = e.aspectRatio, a = e.sizeRestrictions, o = n || t, r = Math.min(i.maximum || 1 / 0, Math.max(i.minimum || 0, pe(o))), l = o.width < o.height ? { width: 0.8 * o.width, height: 0.8 * o.width / r } : { height: 0.8 * o.height, width: 0.8 * o.height * r };
|
|
1364
|
-
return gt(
|
|
1364
|
+
return gt(ae(ae({}, l), { aspectRatio: i, sizeRestrictions: a }));
|
|
1365
1365
|
}
|
|
1366
1366
|
function ts(e) {
|
|
1367
1367
|
var t, n, i = e.imageSize, a = e.visibleArea, o = e.boundaries, r = e.aspectRatio, l = e.sizeRestrictions, s = e.stencilSize, u = a || i;
|
|
@@ -1370,7 +1370,7 @@ function ts(e) {
|
|
|
1370
1370
|
function ns(e) {
|
|
1371
1371
|
var t = e.getAreaRestrictions, n = e.coordinates, i = e.imageSize, a = pe(e.boundaries);
|
|
1372
1372
|
if (n) {
|
|
1373
|
-
var o = { height: Math.max(n.height, i.height), width: Math.max(n.width, i.width) }, r = No({ width: pe(o) > a ? o.width : o.height * a, height: pe(o) > a ? o.width / a : o.height }, qn(t())), l = { left: n.left + n.width / 2 - r.width / 2, top: n.top + n.height / 2 - r.height / 2, width: r.width, height: r.height }, s = Qt(n, st(
|
|
1373
|
+
var o = { height: Math.max(n.height, i.height), width: Math.max(n.width, i.width) }, r = No({ width: pe(o) > a ? o.width : o.height * a, height: pe(o) > a ? o.width / a : o.height }, qn(t())), l = { left: n.left + n.width / 2 - r.width / 2, top: n.top + n.height / 2 - r.height / 2, width: r.width, height: r.height }, s = Qt(n, st(ae({ left: 0, top: 0 }, i))), u = {};
|
|
1374
1374
|
return !s.left && !s.right && l.width <= i.width && (u.left = 0, u.right = i.width), !s.top && !s.bottom && l.height <= i.height && (u.top = 0, u.bottom = i.height), Ue(l, u);
|
|
1375
1375
|
}
|
|
1376
1376
|
var m = pe(i);
|
|
@@ -1380,7 +1380,7 @@ function dn(e, t) {
|
|
|
1380
1380
|
return Lo(e, st(t));
|
|
1381
1381
|
}
|
|
1382
1382
|
function is(e) {
|
|
1383
|
-
var t = e.event, n = e.coordinates, i = e.visibleArea, a = e.sizeRestrictions, o = e.getAreaRestrictions, r = e.positionRestrictions, l = e.adjustStencil, s = t.scale, u = t.move, m =
|
|
1383
|
+
var t = e.event, n = e.coordinates, i = e.visibleArea, a = e.sizeRestrictions, o = e.getAreaRestrictions, r = e.positionRestrictions, l = e.adjustStencil, s = t.scale, u = t.move, m = ae({}, i), d = ae({}, n), c = 1, p = 1, b = s.factor && Math.abs(s.factor - 1) > 1e-3;
|
|
1384
1384
|
m = He(m, { left: u.left || 0, top: u.top || 0 });
|
|
1385
1385
|
var _ = { stencil: { minimum: Math.max(a.minWidth ? a.minWidth / d.width : 0, a.minHeight ? a.minHeight / d.height : 0), maximum: Math.min(a.maxWidth ? a.maxWidth / d.width : 1 / 0, a.maxHeight ? a.maxHeight / d.height : 1 / 0, Wt(d, r)) }, area: { maximum: Wt(m, o({ visibleArea: m, type: "resize" })) } };
|
|
1386
1386
|
s.factor && b && (s.factor < 1 ? (p = Math.max(s.factor, _.stencil.minimum)) > 1 && (p = 1) : s.factor > 1 && (p = Math.min(s.factor, Math.min(_.area.maximum, _.stencil.maximum))) < 1 && (p = 1)), p && (m = qe(m, p, s.center));
|
|
@@ -1388,11 +1388,11 @@ function is(e) {
|
|
|
1388
1388
|
return m = Ue(m = He(m, Ht(m, { left: r.left !== void 0 ? r.left - S * p : void 0, top: r.top !== void 0 ? r.top - h * p : void 0, bottom: r.bottom !== void 0 ? r.bottom + E * p : void 0, right: r.right !== void 0 ? r.right + v * p : void 0 })), o({ visibleArea: m, type: "move" })), d.width = d.width * p, d.height = d.height * p, d.left = m.left + S * p, d.top = m.top + h * p, d = Ue(d, An(st(m), r)), s.factor && b && l && (s.factor > 1 ? c = Math.min(_.area.maximum, s.factor) / p : s.factor < 1 && (c = Math.max(d.height / m.height, d.width / m.width, s.factor / p)), c !== 1 && (m = He(m = Ue(m = qe(m, c, s.factor > 1 ? s.center : xe(d)), o({ visibleArea: m, type: "move" })), Rn(Ht(d, st(m)))))), { coordinates: d, visibleArea: m };
|
|
1389
1389
|
}
|
|
1390
1390
|
function os(e) {
|
|
1391
|
-
var t = e.aspectRatio, n = e.getAreaRestrictions, i = e.coordinates, a = e.visibleArea, o = e.sizeRestrictions, r = e.positionRestrictions, l = e.imageSize, s = e.previousImageSize, u = e.angle, m =
|
|
1392
|
-
return (m =
|
|
1391
|
+
var t = e.aspectRatio, n = e.getAreaRestrictions, i = e.coordinates, a = e.visibleArea, o = e.sizeRestrictions, r = e.positionRestrictions, l = e.imageSize, s = e.previousImageSize, u = e.angle, m = ae({}, i), d = ae({}, a), c = kt(xe(ae({ left: 0, top: 0 }, s)), u);
|
|
1392
|
+
return (m = ae(ae({}, gt({ sizeRestrictions: o, aspectRatio: t, width: m.width, height: m.height })), kt(xe(m), u))).left -= c.left - l.width / 2 + m.width / 2, m.top -= c.top - l.height / 2 + m.height / 2, d = qe(d, Cn(d, n({ visibleArea: d, type: "resize" }))), { coordinates: m = Ue(m, r), visibleArea: d = Ue(d = He(d, Bt(xe(m), xe(i))), n({ visibleArea: d, type: "move" })) };
|
|
1393
1393
|
}
|
|
1394
1394
|
function as(e) {
|
|
1395
|
-
var t = e.flip, n = e.previousFlip, i = e.rotate, a = e.getAreaRestrictions, o = e.coordinates, r = e.visibleArea, l = e.imageSize, s =
|
|
1395
|
+
var t = e.flip, n = e.previousFlip, i = e.rotate, a = e.getAreaRestrictions, o = e.coordinates, r = e.visibleArea, l = e.imageSize, s = ae({}, o), u = ae({}, r), m = n.horizontal !== t.horizontal, d = n.vertical !== t.vertical;
|
|
1396
1396
|
if (m || d) {
|
|
1397
1397
|
var c = kt({ left: l.width / 2, top: l.height / 2 }, -i), p = kt(xe(s), -i), b = kt({ left: m ? c.left - (p.left - c.left) : p.left, top: d ? c.top - (p.top - c.top) : p.top }, i);
|
|
1398
1398
|
s = He(s, Bt(b, xe(s))), p = kt(xe(u), -i), u = Ue(u = He(u, Bt(b = kt({ left: m ? c.left - (p.left - c.left) : p.left, top: d ? c.top - (p.top - c.top) : p.top }, i), xe(u))), a({ visibleArea: u, type: "move" }));
|
|
@@ -1400,7 +1400,7 @@ function as(e) {
|
|
|
1400
1400
|
return { coordinates: s, visibleArea: u };
|
|
1401
1401
|
}
|
|
1402
1402
|
function Li(e) {
|
|
1403
|
-
var t = e.directions, n = e.coordinates, i = e.positionRestrictions, a = i === void 0 ? {} : i, o = e.sizeRestrictions, r = e.preserveRatio, l = e.compensate, s =
|
|
1403
|
+
var t = e.directions, n = e.coordinates, i = e.positionRestrictions, a = i === void 0 ? {} : i, o = e.sizeRestrictions, r = e.preserveRatio, l = e.compensate, s = ae({}, t), u = it(n, s).width, m = it(n, s).height;
|
|
1404
1404
|
u < 0 && (s.left < 0 && s.right < 0 ? (s.left = -(n.width - o.minWidth) / (s.left / s.right), s.right = -(n.width - o.minWidth) / (s.right / s.left)) : s.left < 0 ? s.left = -(n.width - o.minWidth) : s.right < 0 && (s.right = -(n.width - o.minWidth))), m < 0 && (s.top < 0 && s.bottom < 0 ? (s.top = -(n.height - o.minHeight) / (s.top / s.bottom), s.bottom = -(n.height - o.minHeight) / (s.bottom / s.top)) : s.top < 0 ? s.top = -(n.height - o.minHeight) : s.bottom < 0 && (s.bottom = -(n.height - o.minHeight)));
|
|
1405
1405
|
var d = Qt(it(n, s), a);
|
|
1406
1406
|
l && (d.left && d.left > 0 && d.right === 0 ? (s.right += d.left, s.left -= d.left) : d.right && d.right > 0 && d.left === 0 && (s.left += d.right, s.right -= d.right), d.top && d.top > 0 && d.bottom === 0 ? (s.bottom += d.top, s.top -= d.top) : d.bottom && d.bottom > 0 && d.top === 0 && (s.top += d.bottom, s.bottom -= d.bottom), d = Qt(it(n, s), a));
|
|
@@ -1850,7 +1850,7 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
|
|
|
1850
1850
|
} }, roundResult: { type: Boolean, default: !0 }, defaultSize: { type: [Function, Object] }, defaultPosition: { type: [Function, Object] }, defaultVisibleArea: { type: [Function, Object] }, defaultTransforms: { type: [Function, Object] }, defaultBoundaries: { type: [Function, String], validator: function(e) {
|
|
1851
1851
|
return !(typeof e == "string" && e !== "fill" && e !== "fit");
|
|
1852
1852
|
} }, priority: { type: String, default: "coordinates" }, stencilSize: { type: [Object, Function] }, resizeImage: { type: [Boolean, Object], default: !0 }, moveImage: { type: [Boolean, Object], default: !0 }, autoZoomAlgorithm: { type: Function }, resizeAlgorithm: { type: Function, default: function(e) {
|
|
1853
|
-
var t = e.event, n = e.coordinates, i = e.aspectRatio, a = e.positionRestrictions, o = e.sizeRestrictions, r =
|
|
1853
|
+
var t = e.event, n = e.coordinates, i = e.aspectRatio, a = e.positionRestrictions, o = e.sizeRestrictions, r = ae(ae({}, n), { right: n.left + n.width, bottom: n.top + n.height }), l = t.params || {}, s = ae({}, t.directions), u = l.allowedDirections || { left: !0, right: !0, bottom: !0, top: !0 };
|
|
1854
1854
|
o.widthFrozen && (s.left = 0, s.right = 0), o.heightFrozen && (s.top = 0, s.bottom = 0), ot.forEach(function(O) {
|
|
1855
1855
|
u[O] || (s[O] = 0);
|
|
1856
1856
|
});
|
|
@@ -1879,10 +1879,10 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
|
|
|
1879
1879
|
var t = e.stretcher, n = e.imageSize, i = pe(n);
|
|
1880
1880
|
t.style.width = n.width + "px", t.style.height = t.clientWidth / i + "px", t.style.width = t.clientWidth + "px";
|
|
1881
1881
|
} }, fitCoordinates: { type: Function, default: function(e) {
|
|
1882
|
-
var t = e.visibleArea, n = e.coordinates, i = e.aspectRatio, a = e.sizeRestrictions, o = e.positionRestrictions, r =
|
|
1882
|
+
var t = e.visibleArea, n = e.coordinates, i = e.aspectRatio, a = e.sizeRestrictions, o = e.positionRestrictions, r = ae(ae({}, n), gt({ width: n.width, height: n.height, aspectRatio: i, sizeRestrictions: { maxWidth: t.width, maxHeight: t.height, minHeight: Math.min(t.height, a.minHeight), minWidth: Math.min(t.width, a.minWidth) } }));
|
|
1883
1883
|
return r = Ue(r = He(r, Bt(xe(n), xe(r))), An(st(t), o));
|
|
1884
1884
|
} }, fitVisibleArea: { type: Function, default: function(e) {
|
|
1885
|
-
var t = e.visibleArea, n = e.boundaries, i = e.getAreaRestrictions, a = e.coordinates, o =
|
|
1885
|
+
var t = e.visibleArea, n = e.boundaries, i = e.getAreaRestrictions, a = e.coordinates, o = ae({}, t);
|
|
1886
1886
|
o.height = o.width / pe(n), o.top += (t.height - o.height) / 2, (a.height - o.height > 0 || a.width - o.width > 0) && (o = qe(o, Math.max(a.height / o.height, a.width / o.width)));
|
|
1887
1887
|
var r = Rn(Ht(a, st(o = qe(o, Cn(o, i({ visibleArea: o, type: "resize" }))))));
|
|
1888
1888
|
return o.width < a.width && (r.left = 0), o.height < a.height && (r.top = 0), o = Ue(o = He(o, r), i({ visibleArea: o, type: "move" }));
|
|
@@ -1920,7 +1920,7 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
|
|
|
1920
1920
|
if (this.boundaries.width && this.boundaries.height && this.imageSize.width && this.imageSize.height) {
|
|
1921
1921
|
var e = this.sizeRestrictionsAlgorithm({ imageSize: this.imageSize, minWidth: De(this.minWidth) ? 0 : cn(this.minWidth), minHeight: De(this.minHeight) ? 0 : cn(this.minHeight), maxWidth: De(this.maxWidth) ? 1 / 0 : cn(this.maxWidth), maxHeight: De(this.maxHeight) ? 1 / 0 : cn(this.maxHeight) });
|
|
1922
1922
|
if (e = function(i) {
|
|
1923
|
-
var a = i.areaRestrictions, o = i.sizeRestrictions, r = i.boundaries, l = i.positionRestrictions, s =
|
|
1923
|
+
var a = i.areaRestrictions, o = i.sizeRestrictions, r = i.boundaries, l = i.positionRestrictions, s = ae(ae({}, o), { minWidth: o.minWidth !== void 0 ? o.minWidth : 0, minHeight: o.minHeight !== void 0 ? o.minHeight : 0, maxWidth: o.maxWidth !== void 0 ? o.maxWidth : 1 / 0, maxHeight: o.maxHeight !== void 0 ? o.maxHeight : 1 / 0 });
|
|
1924
1924
|
l.left !== void 0 && l.right !== void 0 && (s.maxWidth = Math.min(s.maxWidth, l.right - l.left)), l.bottom !== void 0 && l.top !== void 0 && (s.maxHeight = Math.min(s.maxHeight, l.bottom - l.top));
|
|
1925
1925
|
var u = qn(a), m = No(r, u);
|
|
1926
1926
|
return u.width < 1 / 0 && (!s.maxWidth || s.maxWidth > m.width) && (s.maxWidth = Math.min(s.maxWidth, m.width)), u.height < 1 / 0 && (!s.maxHeight || s.maxHeight > m.height) && (s.maxHeight = Math.min(s.maxHeight, m.height)), s.minWidth > s.maxWidth && (s.minWidth = s.maxWidth, s.widthFrozen = !0), s.minHeight > s.maxHeight && (s.minHeight = s.maxHeight, s.heightFrozen = !0), s;
|
|
@@ -2027,15 +2027,15 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
|
|
|
2027
2027
|
}, normalizeEvent: function(e) {
|
|
2028
2028
|
return function(t) {
|
|
2029
2029
|
var n = t.event, i = t.visibleArea, a = t.coefficient;
|
|
2030
|
-
if (n.type === "manipulateImage") return
|
|
2030
|
+
if (n.type === "manipulateImage") return ae(ae({}, n), { move: { left: n.move && n.move.left ? a * n.move.left : 0, top: n.move && n.move.top ? a * n.move.top : 0 }, scale: { factor: n.scale && n.scale.factor ? n.scale.factor : 1, center: n.scale && n.scale.center ? { left: n.scale.center.left * a + i.left, top: n.scale.center.top * a + i.top } : null } });
|
|
2031
2031
|
if (n.type === "resize") {
|
|
2032
|
-
var o =
|
|
2032
|
+
var o = ae(ae({}, n), { directions: ae({}, n.directions) });
|
|
2033
2033
|
return ot.forEach(function(l) {
|
|
2034
2034
|
o.directions[l] *= a;
|
|
2035
2035
|
}), o;
|
|
2036
2036
|
}
|
|
2037
2037
|
if (n.type === "move") {
|
|
2038
|
-
var r =
|
|
2038
|
+
var r = ae(ae({}, n), { directions: ae({}, n.directions) });
|
|
2039
2039
|
return jr.forEach(function(l) {
|
|
2040
2040
|
r.directions[l] *= a;
|
|
2041
2041
|
}), r;
|
|
@@ -2047,7 +2047,7 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
|
|
|
2047
2047
|
var e = this.$refs.canvas, t = this.$refs.image, n = this.imageTransforms.rotate !== 0 || this.imageTransforms.flip.horizontal || this.imageTransforms.flip.vertical ? function(l, s, u) {
|
|
2048
2048
|
var m = u.rotate, d = u.flip, c = { width: s.naturalWidth, height: s.naturalHeight }, p = Po(c, m), b = l.getContext("2d");
|
|
2049
2049
|
l.height = p.height, l.width = p.width, b.save();
|
|
2050
|
-
var _ = kt(xe(
|
|
2050
|
+
var _ = kt(xe(ae({ left: 0, top: 0 }, c)), m);
|
|
2051
2051
|
return b.translate(-(_.left - p.width / 2), -(_.top - p.height / 2)), b.rotate(m * Math.PI / 180), b.translate(d.horizontal ? c.width : 0, d.vertical ? c.height : 0), b.scale(d.horizontal ? -1 : 1, d.vertical ? -1 : 1), b.drawImage(s, 0, 0, c.width, c.height), b.restore(), l;
|
|
2052
2052
|
}(this.$refs.sourceCanvas, t, this.imageTransforms) : t, i = me({ minWidth: 0, minHeight: 0, maxWidth: 1 / 0, maxHeight: 1 / 0, maxArea: this.maxCanvasSize, imageSmoothingEnabled: !0, imageSmoothingQuality: "high", fillColor: "transparent" }, this.canvas), a = function(l) {
|
|
2053
2053
|
return l.find(function(s) {
|
|
@@ -2113,7 +2113,7 @@ var hs = ["transitions"], mt = et("vue-advanced-cropper"), Wo = { name: "Cropper
|
|
|
2113
2113
|
return this.appliedImageTransforms = me(me({}, this.defaultImageTransforms), {}, { flip: me({}, this.defaultImageTransforms.flip) }), this.updateBoundaries().then(function() {
|
|
2114
2114
|
e.priority !== "visible-area" && (e.visibleArea = null, e.resetCoordinates());
|
|
2115
2115
|
var t, n, i, a, o, r, l = e.defaultVisibleArea || ns;
|
|
2116
|
-
e.visibleArea = Vt(l) ? l({ imageSize: e.imageSize, boundaries: e.boundaries, coordinates: e.priority !== "visible-area" ? e.coordinates : null, getAreaRestrictions: e.getAreaRestrictions, stencilSize: e.getStencilSize() }) : e.defaultVisibleArea, e.visibleArea = (t = { visibleArea: e.visibleArea, boundaries: e.boundaries, getAreaRestrictions: e.getAreaRestrictions }, n = t.visibleArea, i = t.boundaries, a = t.getAreaRestrictions, o =
|
|
2116
|
+
e.visibleArea = Vt(l) ? l({ imageSize: e.imageSize, boundaries: e.boundaries, coordinates: e.priority !== "visible-area" ? e.coordinates : null, getAreaRestrictions: e.getAreaRestrictions, stencilSize: e.getStencilSize() }) : e.defaultVisibleArea, e.visibleArea = (t = { visibleArea: e.visibleArea, boundaries: e.boundaries, getAreaRestrictions: e.getAreaRestrictions }, n = t.visibleArea, i = t.boundaries, a = t.getAreaRestrictions, o = ae({}, n), r = pe(i), o.width / o.height !== r && (o.height = o.width / r), Ue(o, a({ visibleArea: o, type: "move" }))), e.priority === "visible-area" ? e.resetCoordinates() : e.coordinates = e.fitCoordinates({ visibleArea: e.visibleArea, coordinates: e.coordinates, aspectRatio: e.getAspectRatio(), positionRestrictions: e.positionRestrictions, sizeRestrictions: e.sizeRestrictions }), e.runAutoZoom("resetVisibleArea");
|
|
2117
2117
|
}).catch(function() {
|
|
2118
2118
|
e.visibleArea = null;
|
|
2119
2119
|
});
|
|
@@ -2336,7 +2336,7 @@ const ys = {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
return (c, p) => {
|
|
2338
2338
|
const b = K("fm-icon"), _ = K("fm-drop-field");
|
|
2339
|
-
return r.value || o.value ? (x(),
|
|
2339
|
+
return r.value || o.value ? (x(), re("div", ys, [
|
|
2340
2340
|
B("p", ws, [
|
|
2341
2341
|
Bn(Ee(y(i)("menu.common.labels.product_image")) + " ", 1),
|
|
2342
2342
|
B("span", Es, Ee(y(i)("menu.common.labels.optional")), 1)
|
|
@@ -2470,7 +2470,7 @@ const ys = {
|
|
|
2470
2470
|
});
|
|
2471
2471
|
return (u, m) => {
|
|
2472
2472
|
const d = K("fm-select");
|
|
2473
|
-
return x(),
|
|
2473
|
+
return x(), re("div", null, [
|
|
2474
2474
|
R(d, {
|
|
2475
2475
|
disabled: e.disable,
|
|
2476
2476
|
items: r.value,
|
|
@@ -2491,7 +2491,7 @@ const ys = {
|
|
|
2491
2491
|
fill: "none"
|
|
2492
2492
|
};
|
|
2493
2493
|
function Ms(e, t) {
|
|
2494
|
-
return x(),
|
|
2494
|
+
return x(), re("svg", Ts, t[0] || (t[0] = [
|
|
2495
2495
|
B("path", {
|
|
2496
2496
|
fill: "#1C1C1E",
|
|
2497
2497
|
d: "M7.6 7.6c.57-.658.9-2.1.9-2.1s.314 1.374.857 2c.572.66 2.143 1 2.143 1s-1.57.198-2.143.857C8.814 9.984 8.5 11.5 8.5 11.5s-.18-1.311-.75-1.91C7.149 8.962 5.5 8.5 5.5 8.5s1.5-.207 2.1-.9M12.2 12.2C13.342 10.885 14 8 14 8s.627 2.747 1.714 4C16.86 13.32 20 14 20 14s-3.141.395-4.286 1.714C14.627 16.967 14 20 14 20s-.358-2.622-1.5-3.818C11.298 14.922 8 14 8 14s2.998-.415 4.2-1.8"
|
|
@@ -2512,7 +2512,7 @@ const Ds = { render: Ms }, Fs = {
|
|
|
2512
2512
|
fill: "none"
|
|
2513
2513
|
};
|
|
2514
2514
|
function Ns(e, t) {
|
|
2515
|
-
return x(),
|
|
2515
|
+
return x(), re("svg", Fs, t[0] || (t[0] = [
|
|
2516
2516
|
B("g", {
|
|
2517
2517
|
stroke: "#1C1C1E",
|
|
2518
2518
|
"stroke-linecap": "round",
|
|
@@ -2532,7 +2532,7 @@ const Ps = { render: Ns }, Ho = /* @__PURE__ */ ve({
|
|
|
2532
2532
|
setup(e) {
|
|
2533
2533
|
return (t, n) => {
|
|
2534
2534
|
var i;
|
|
2535
|
-
return (i = y(We)) != null && i.enable.value ? (x(),
|
|
2535
|
+
return (i = y(We)) != null && i.enable.value ? (x(), re("button", {
|
|
2536
2536
|
key: 0,
|
|
2537
2537
|
class: Ke([!t.pureStyling && "bg-fm-color-neutral-gray-100 rounded-lg p-[6px]"]),
|
|
2538
2538
|
type: "button",
|
|
@@ -2878,14 +2878,14 @@ function Qs(e, t = {}) {
|
|
|
2878
2878
|
case "'":
|
|
2879
2879
|
return f.next(), `\\${g}`;
|
|
2880
2880
|
case "u":
|
|
2881
|
-
return
|
|
2881
|
+
return oe(f, g, 4);
|
|
2882
2882
|
case "U":
|
|
2883
|
-
return
|
|
2883
|
+
return oe(f, g, 6);
|
|
2884
2884
|
default:
|
|
2885
2885
|
return d(_e.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, g), "";
|
|
2886
2886
|
}
|
|
2887
2887
|
}
|
|
2888
|
-
function
|
|
2888
|
+
function oe(f, g, L) {
|
|
2889
2889
|
b(f, g);
|
|
2890
2890
|
let Y = "";
|
|
2891
2891
|
for (let X = 0; X < L; X++) {
|
|
@@ -4386,7 +4386,7 @@ function _u(e, t, n, i) {
|
|
|
4386
4386
|
return e.processor && (c.processor = e.processor), i.list && (c.list = i.list), i.named && (c.named = i.named), Ne(i.plural) && (c.pluralIndex = i.plural), c;
|
|
4387
4387
|
}
|
|
4388
4388
|
hl();
|
|
4389
|
-
var bu = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1837", npm_package_dependencies__feedmepos_ui_library: "1.8.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260111.209.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13065", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "21055296068", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "25ba549f05572e155fe37a89a891038ef33492e7", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_fb6b44cf-bd73-4030-bcaa-b2dac31163b2", INVOCATION_ID: "59889484835243f0baf779154f1add47", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "486", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000039193", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.59", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.73", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "25ba549f05572e155fe37a89a891038ef33492e7", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_12.5.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", npm_package_dependencies__feedmepos_menu: "1.7.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ecbdd127-4ef6-4cdb-8ed8-38a72d364d61", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
4389
|
+
var bu = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_75ccd8c5-6802-4638-a29c-680f08af3e95", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_75ccd8c5-6802-4638-a29c-680f08af3e95", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1768", npm_package_dependencies__feedmepos_ui_library: "1.8.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260111.209.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12881", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "21057021374", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "98eabefc54577f6940c8b1dc37f2aed5c343c80d", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_f8d5a837-cacf-4e25-9e76-337316c99c91", INVOCATION_ID: "f09e2397b8b1418ea7433c008628fb8a", 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: "487", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000039225", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.59", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.74", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "98eabefc54577f6940c8b1dc37f2aed5c343c80d", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_75ccd8c5-6802-4638-a29c-680f08af3e95", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_75ccd8c5-6802-4638-a29c-680f08af3e95", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_12.5.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", npm_package_dependencies__feedmepos_menu: "1.7.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_75ccd8c5-6802-4638-a29c-680f08af3e95", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
4390
4390
|
const yu = "10.0.5";
|
|
4391
4391
|
function wu() {
|
|
4392
4392
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Dt().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Dt().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Dt().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Dt().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -4606,7 +4606,7 @@ function Ru(e = {}) {
|
|
|
4606
4606
|
return ge;
|
|
4607
4607
|
}, () => ii(...F), "translate", (j) => j[oi](...F), (j) => [ao(j)], (j) => Te(j));
|
|
4608
4608
|
}
|
|
4609
|
-
function
|
|
4609
|
+
function oe(...F) {
|
|
4610
4610
|
return de((j) => Reflect.apply(eo, null, [j, ...F]), () => ni(...F), "number format", (j) => j[ri](...F), so, (j) => ee(j) || Te(j));
|
|
4611
4611
|
}
|
|
4612
4612
|
function Ae(...F) {
|
|
@@ -4751,7 +4751,7 @@ function Ru(e = {}) {
|
|
|
4751
4751
|
setMissingHandler: ue,
|
|
4752
4752
|
[Eu]: je
|
|
4753
4753
|
};
|
|
4754
|
-
return ce.datetimeFormats = P, ce.numberFormats = V, ce.rt = G, ce.te = Lt, ce.tm = yt, ce.d = H, ce.n = Z, ce.getDateTimeFormat = xt, ce.setDateTimeFormat = f, ce.mergeDateTimeFormat = g, ce.getNumberFormat = L, ce.setNumberFormat = Y, ce.mergeNumberFormat = X, ce[ia] = n, ce[oi] = le, ce[ai] = Ae, ce[ri] =
|
|
4754
|
+
return ce.datetimeFormats = P, ce.numberFormats = V, ce.rt = G, ce.te = Lt, ce.tm = yt, ce.d = H, ce.n = Z, ce.getDateTimeFormat = xt, ce.setDateTimeFormat = f, ce.mergeDateTimeFormat = g, ce.getNumberFormat = L, ce.setNumberFormat = Y, ce.mergeNumberFormat = X, ce[ia] = n, ce[oi] = le, ce[ai] = Ae, ce[ri] = oe, ce;
|
|
4755
4755
|
}
|
|
4756
4756
|
const Ei = {
|
|
4757
4757
|
tag: {
|
|
@@ -4949,7 +4949,7 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
|
|
|
4949
4949
|
{ immediate: !0 }
|
|
4950
4950
|
), (h, E) => {
|
|
4951
4951
|
const O = K("FmIcon"), A = K("FmField"), T = K("FmMenuItem"), w = K("FmMenu"), U = K("FmFormGroup"), k = K("FmChipGroup");
|
|
4952
|
-
return x(),
|
|
4952
|
+
return x(), re("div", Lu, [
|
|
4953
4953
|
R(U, {
|
|
4954
4954
|
"model-value": h.modelValue,
|
|
4955
4955
|
disabled: h.disabled,
|
|
@@ -4991,7 +4991,7 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
|
|
|
4991
4991
|
]),
|
|
4992
4992
|
default: W(() => [
|
|
4993
4993
|
B("div", xu, [
|
|
4994
|
-
(x(!0),
|
|
4994
|
+
(x(!0), re(Ve, null, rt(h.items, (N) => (x(), J(T, {
|
|
4995
4995
|
key: N.value,
|
|
4996
4996
|
disabled: N.disabled,
|
|
4997
4997
|
"has-checkbox": !0,
|
|
@@ -5018,7 +5018,7 @@ const Lu = { class: "flex flex-col gap-4" }, xu = { class: "fm-select__menu__wra
|
|
|
5018
5018
|
]),
|
|
5019
5019
|
_: 1
|
|
5020
5020
|
}, 8, ["model-value", "disabled", "focused", "helper-state", "helper-text", "rules"]),
|
|
5021
|
-
m.value.length > 0 ? (x(),
|
|
5021
|
+
m.value.length > 0 ? (x(), re("div", Vu, [
|
|
5022
5022
|
R(k, {
|
|
5023
5023
|
disabled: h.disabled,
|
|
5024
5024
|
items: m.value.map((I) => ({ label: I.label })),
|
|
@@ -5201,7 +5201,7 @@ const tc = /* @__PURE__ */ ve({
|
|
|
5201
5201
|
"model-value": D.form.code,
|
|
5202
5202
|
placeholder: ((Q = D.fallback) == null ? void 0 : Q.code) || y(V)("menu.product.form.detail.fields.code.placeholder"),
|
|
5203
5203
|
label: y(V)("menu.product.form.detail.fields.code.label"),
|
|
5204
|
-
"onUpdate:modelValue": C[0] || (C[0] = (
|
|
5204
|
+
"onUpdate:modelValue": C[0] || (C[0] = (oe) => d("update:form", "code", y(la)(oe, D.isOverride)))
|
|
5205
5205
|
}, null, 8, ["model-value", "placeholder", "label"])]), B("div", ju, [R($, {
|
|
5206
5206
|
id: "product-name",
|
|
5207
5207
|
disabled: !c.value.name,
|
|
@@ -5210,16 +5210,16 @@ const tc = /* @__PURE__ */ ve({
|
|
|
5210
5210
|
}) : void 0,
|
|
5211
5211
|
"model-value": D.form.name,
|
|
5212
5212
|
placeholder: (le = D.fallback) == null ? void 0 : le.name,
|
|
5213
|
-
rules: c.value.name ? [(
|
|
5213
|
+
rules: c.value.name ? [(oe) => !!oe || y(V)("menu.product.form.detail.fields.name.required")] : void 0,
|
|
5214
5214
|
"label-mark": "required",
|
|
5215
5215
|
autofocus: "",
|
|
5216
5216
|
label: y(V)("menu.product.form.detail.fields.name.label"),
|
|
5217
|
-
"onUpdate:modelValue": C[1] || (C[1] = (
|
|
5217
|
+
"onUpdate:modelValue": C[1] || (C[1] = (oe) => d("update:form", "name", oe))
|
|
5218
5218
|
}, null, 8, ["disabled", "helper-text", "model-value", "placeholder", "rules", "label"])])]), B("div", Ku, [R(ue, {
|
|
5219
5219
|
disabled: !c.value.description,
|
|
5220
5220
|
"model-value": D.form.description || void 0,
|
|
5221
5221
|
placeholder: y(V)("menu.product.form.detail.fields.description.placeholder"),
|
|
5222
|
-
"onUpdate:modelValue": C[2] || (C[2] = (
|
|
5222
|
+
"onUpdate:modelValue": C[2] || (C[2] = (oe) => d("update:form", "description", oe.trim())),
|
|
5223
5223
|
class: "description"
|
|
5224
5224
|
}, {
|
|
5225
5225
|
label: W(() => [B("p", Yu, [Bn(Ee(y(V)("menu.product.form.detail.fields.description.label")) + " ", 1), B("span", Xu, Ee(y(V)("menu.product.form.detail.fields.description.optional")), 1)])]),
|
|
@@ -5230,8 +5230,8 @@ const tc = /* @__PURE__ */ ve({
|
|
|
5230
5230
|
}, null, 512), [[ne, y(yo)("Suggest description")]])])]), R(Is, {
|
|
5231
5231
|
disabled: !c.value.thumbnail,
|
|
5232
5232
|
"model-value": D.thumbnail,
|
|
5233
|
-
"onUpdate:modelValue": C[3] || (C[3] = (
|
|
5234
|
-
"onReset:modelValue": C[4] || (C[4] = (
|
|
5233
|
+
"onUpdate:modelValue": C[3] || (C[3] = (oe) => d("update:thumbnail", oe)),
|
|
5234
|
+
"onReset:modelValue": C[4] || (C[4] = (oe) => d("reset:thumbnail"))
|
|
5235
5235
|
}, null, 8, ["disabled", "model-value"])]), R(bt, {
|
|
5236
5236
|
label: y(i).isV4 ? y(V)("menu.product.form.detail.category.label") : y(V)("menu.product.form.detail.category.label_singular")
|
|
5237
5237
|
}, {
|
|
@@ -5239,7 +5239,7 @@ const tc = /* @__PURE__ */ ve({
|
|
|
5239
5239
|
key: 0,
|
|
5240
5240
|
disabled: !c.value.category,
|
|
5241
5241
|
"model-value": w.value,
|
|
5242
|
-
"onUpdate:modelValue": C[5] || (C[5] = (
|
|
5242
|
+
"onUpdate:modelValue": C[5] || (C[5] = (oe) => U(oe))
|
|
5243
5243
|
}, {
|
|
5244
5244
|
default: W(() => [B("div", qu, [B("div", Ju, [R(de, {
|
|
5245
5245
|
disabled: S.value || !c.value.category,
|
|
@@ -5251,7 +5251,7 @@ const tc = /* @__PURE__ */ ve({
|
|
|
5251
5251
|
key: 0
|
|
5252
5252
|
})) : se("", !0)]),
|
|
5253
5253
|
_: 1
|
|
5254
|
-
})]), S.value ? (x(),
|
|
5254
|
+
})]), S.value ? (x(), re("div", Zu, [R(we, {
|
|
5255
5255
|
title: y(V)("menu.product.form.detail.category.add_first"),
|
|
5256
5256
|
variant: "info"
|
|
5257
5257
|
}, null, 8, ["title"]), R(G, {
|
|
@@ -5268,8 +5268,8 @@ const tc = /* @__PURE__ */ ve({
|
|
|
5268
5268
|
}, 8, ["disabled", "model-value"])) : se("", !0), y(i).isV4 ? se("", !0) : (x(), J(Z, {
|
|
5269
5269
|
key: 1,
|
|
5270
5270
|
"model-value": D.form.category,
|
|
5271
|
-
rules: [(
|
|
5272
|
-
"onUpdate:modelValue": C[6] || (C[6] = (
|
|
5271
|
+
rules: [(oe) => !oe && !D.isOverride ? "Category is required" : !0],
|
|
5272
|
+
"onUpdate:modelValue": C[6] || (C[6] = (oe) => d("update:form", "category", oe))
|
|
5273
5273
|
}, {
|
|
5274
5274
|
default: W(() => [R(A, {
|
|
5275
5275
|
multiple: !1
|
|
@@ -5283,7 +5283,7 @@ const tc = /* @__PURE__ */ ve({
|
|
|
5283
5283
|
}, {
|
|
5284
5284
|
default: W(() => [B("div", Qu, [R($u, {
|
|
5285
5285
|
modelValue: P.value,
|
|
5286
|
-
"onUpdate:modelValue": C[7] || (C[7] = (
|
|
5286
|
+
"onUpdate:modelValue": C[7] || (C[7] = (oe) => P.value = oe),
|
|
5287
5287
|
items: M.value,
|
|
5288
5288
|
placeholder: y(V)("menu.product.form.detail.path.placeholder"),
|
|
5289
5289
|
disabled: !c.value.category,
|
|
@@ -5292,7 +5292,8 @@ const tc = /* @__PURE__ */ ve({
|
|
|
5292
5292
|
_: 1
|
|
5293
5293
|
}, 8, ["label"])) : se("", !0), B("div", ec, [R(te, {
|
|
5294
5294
|
label: "Shelf Life (mins)",
|
|
5295
|
-
"model-value": D.form.shelfLife
|
|
5295
|
+
"model-value": D.form.shelfLife ?? null,
|
|
5296
|
+
"onUpdate:modelValue": C[8] || (C[8] = (oe) => oe && d("update:form", "shelfLife", oe))
|
|
5296
5297
|
}, null, 8, ["model-value"])]), R(hi, {
|
|
5297
5298
|
disabled: !c.value.orderFrom,
|
|
5298
5299
|
"model-value": D.form.orderFrom,
|
|
@@ -5300,16 +5301,16 @@ const tc = /* @__PURE__ */ ve({
|
|
|
5300
5301
|
required: c.value.orderFrom,
|
|
5301
5302
|
"default-label": y(V)("menu.product.form.detail.order_from.default"),
|
|
5302
5303
|
label: y(V)("menu.product.form.detail.order_from.label"),
|
|
5303
|
-
"onUpdate:modelValue": C[
|
|
5304
|
+
"onUpdate:modelValue": C[9] || (C[9] = (oe) => oe && d("update:form", "orderFrom", oe))
|
|
5304
5305
|
}, null, 8, ["disabled", "model-value", "order-from-none", "required", "default-label", "label"])];
|
|
5305
5306
|
}),
|
|
5306
5307
|
_: 1
|
|
5307
5308
|
}, 8, ["title"]);
|
|
5308
5309
|
};
|
|
5309
5310
|
}
|
|
5310
|
-
}), nc = /* @__PURE__ */ Ct(tc, [["__scopeId", "data-v-
|
|
5311
|
+
}), nc = /* @__PURE__ */ Ct(tc, [["__scopeId", "data-v-f0d4faa5"]]), ic = {}, oc = { class: "overflow-x-auto" }, ac = { class: "xs:w-[600px]" };
|
|
5311
5312
|
function rc(e, t) {
|
|
5312
|
-
return x(),
|
|
5313
|
+
return x(), re("div", oc, [
|
|
5313
5314
|
B("div", ac, [
|
|
5314
5315
|
Ce(e.$slots, "default")
|
|
5315
5316
|
])
|
|
@@ -5366,7 +5367,7 @@ const ua = /* @__PURE__ */ Ct(ic, [["render", rc]]), sc = /* @__PURE__ */ ve({
|
|
|
5366
5367
|
}
|
|
5367
5368
|
}), lc = {}, uc = { class: "flex gap-16" };
|
|
5368
5369
|
function cc(e, t) {
|
|
5369
|
-
return x(),
|
|
5370
|
+
return x(), re("div", uc, [
|
|
5370
5371
|
Ce(e.$slots, "default")
|
|
5371
5372
|
]);
|
|
5372
5373
|
}
|
|
@@ -5404,7 +5405,7 @@ const dc = /* @__PURE__ */ Ct(lc, [["render", cc]]), mc = { class: "fm-typo-en-t
|
|
|
5404
5405
|
const { t: d } = Se(), c = Eo();
|
|
5405
5406
|
return (p, b) => {
|
|
5406
5407
|
const _ = K("fm-text-field"), S = K("fm-card"), v = K("fm-button"), h = K("fm-side-sheet");
|
|
5407
|
-
return x(),
|
|
5408
|
+
return x(), re(Ve, null, [
|
|
5408
5409
|
Ce(p.$slots, "default", { trigger: o }),
|
|
5409
5410
|
R(h, {
|
|
5410
5411
|
id: "inventory-form",
|
|
@@ -5551,7 +5552,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5551
5552
|
}];
|
|
5552
5553
|
return (r, l) => {
|
|
5553
5554
|
const s = K("FmTable");
|
|
5554
|
-
return x(),
|
|
5555
|
+
return x(), re("div", null, [R(s, {
|
|
5555
5556
|
"column-defs": o,
|
|
5556
5557
|
"row-data": r.priceTiers,
|
|
5557
5558
|
"page-size": r.priceTiers.length,
|
|
@@ -5750,14 +5751,14 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5750
5751
|
value: "default",
|
|
5751
5752
|
modelValue: ne,
|
|
5752
5753
|
disabled: te,
|
|
5753
|
-
"onUpdate:modelValue": (
|
|
5754
|
+
"onUpdate:modelValue": (oe) => {
|
|
5754
5755
|
var Ae;
|
|
5755
5756
|
if (H) {
|
|
5756
5757
|
const je = (Ae = G.row.getParentRow()) == null ? void 0 : Ae.original;
|
|
5757
5758
|
if (!je) return;
|
|
5758
|
-
I(je._id, Z.combinationKey ?? "", "isDefault",
|
|
5759
|
+
I(je._id, Z.combinationKey ?? "", "isDefault", oe);
|
|
5759
5760
|
} else
|
|
5760
|
-
k(Z._id, "isDefault",
|
|
5761
|
+
k(Z._id, "isDefault", oe);
|
|
5761
5762
|
}
|
|
5762
5763
|
}, null);
|
|
5763
5764
|
}
|
|
@@ -5790,9 +5791,9 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5790
5791
|
disabled: te,
|
|
5791
5792
|
rules: Q ? void 0 : [(le) => le.length > 0 || A("menu.group.option.product_title_required")],
|
|
5792
5793
|
"onUpdate:modelValue": (le) => {
|
|
5793
|
-
var
|
|
5794
|
+
var oe;
|
|
5794
5795
|
if (ne) {
|
|
5795
|
-
const Ae = (
|
|
5796
|
+
const Ae = (oe = G.row.getParentRow()) == null ? void 0 : oe.original;
|
|
5796
5797
|
if (!Ae) return;
|
|
5797
5798
|
I(Ae._id, Z.combinationKey ?? "", "name", le);
|
|
5798
5799
|
} else
|
|
@@ -5801,8 +5802,8 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5801
5802
|
class: "min-w-[300px]"
|
|
5802
5803
|
}, {
|
|
5803
5804
|
append: () => {
|
|
5804
|
-
var le,
|
|
5805
|
-
return (
|
|
5805
|
+
var le, oe;
|
|
5806
|
+
return (oe = (le = G.row.original) == null ? void 0 : le.items) != null && oe.length ? Fe(Be.FmIcon, {
|
|
5806
5807
|
name: "keyboard_arrow_up",
|
|
5807
5808
|
onClick: G.row.getToggleExpandedHandler(),
|
|
5808
5809
|
class: ["cursor-pointer", "transition-transform", G.row.getIsExpanded() ? "transform rotate-180" : ""],
|
|
@@ -5831,9 +5832,9 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5831
5832
|
nullable: !!ne,
|
|
5832
5833
|
min: S.value ? void 0 : 0,
|
|
5833
5834
|
"onUpdate:modelValue": (le) => {
|
|
5834
|
-
var
|
|
5835
|
+
var oe;
|
|
5835
5836
|
if (Q) {
|
|
5836
|
-
const Ae = (
|
|
5837
|
+
const Ae = (oe = G.row.getParentRow()) == null ? void 0 : oe.original;
|
|
5837
5838
|
if (!Ae) return;
|
|
5838
5839
|
I(
|
|
5839
5840
|
Ae._id,
|
|
@@ -5865,10 +5866,10 @@ const ca = /* @__PURE__ */ ve({
|
|
|
5865
5866
|
"onUpdate:modelValue": (Q) => {
|
|
5866
5867
|
var le;
|
|
5867
5868
|
if (ne) {
|
|
5868
|
-
const
|
|
5869
|
-
if (!
|
|
5869
|
+
const oe = (le = G.row.getParentRow()) == null ? void 0 : le.original;
|
|
5870
|
+
if (!oe) return;
|
|
5870
5871
|
I(
|
|
5871
|
-
|
|
5872
|
+
oe._id,
|
|
5872
5873
|
Z.combinationKey ?? "",
|
|
5873
5874
|
// @ts-ignore
|
|
5874
5875
|
"orderFrom",
|
|
@@ -6000,8 +6001,8 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6000
6001
|
});
|
|
6001
6002
|
}
|
|
6002
6003
|
function I(G, H, Z, te) {
|
|
6003
|
-
var
|
|
6004
|
-
const ne = be(n.group), Q = (
|
|
6004
|
+
var oe, Ae;
|
|
6005
|
+
const ne = be(n.group), Q = (oe = ne.items[G].items) == null ? void 0 : oe.findIndex((je) => je.combinationKey === H);
|
|
6005
6006
|
if (!sn.isSet(Q)) return;
|
|
6006
6007
|
let le = (Ae = ne.items[G].items) == null ? void 0 : Ae[Q];
|
|
6007
6008
|
le && (le = {
|
|
@@ -6037,11 +6038,11 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6037
6038
|
const ne = V.value[te._id];
|
|
6038
6039
|
if (!ne || !ne.variant || ((le = ne.variant.variantCombinations) == null ? void 0 : le.length) === 0)
|
|
6039
6040
|
return;
|
|
6040
|
-
(ne.variant.variantCombinations || []).forEach((
|
|
6041
|
-
const Ae = `${
|
|
6041
|
+
(ne.variant.variantCombinations || []).forEach((oe) => {
|
|
6042
|
+
const Ae = `${oe._id}:${oe.combinationKey}`, je = !Z.has(Ae);
|
|
6042
6043
|
H.push({
|
|
6043
|
-
_id:
|
|
6044
|
-
combinationKey:
|
|
6044
|
+
_id: oe._id,
|
|
6045
|
+
combinationKey: oe.combinationKey,
|
|
6045
6046
|
orderFrom: je ? q.F_ORDER_FROM.enum.NONE : q.F_ORDER_FROM.enum.ALL
|
|
6046
6047
|
});
|
|
6047
6048
|
});
|
|
@@ -6079,9 +6080,9 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6079
6080
|
title: y(A)("menu.group.option.title"),
|
|
6080
6081
|
"sub-title": G.config.link() && u.value ? y(A)("menu.group.option.subtitle") : ""
|
|
6081
6082
|
}, {
|
|
6082
|
-
"append-title": W(() => [G.config.link() ? (x(),
|
|
6083
|
+
"append-title": W(() => [G.config.link() ? (x(), re(Ve, {
|
|
6083
6084
|
key: 0
|
|
6084
|
-
}, [u.value ? (x(),
|
|
6085
|
+
}, [u.value ? (x(), re("div", wc, [R(xa, {
|
|
6085
6086
|
"categorized-items": G.categorizedItems,
|
|
6086
6087
|
"initial-value": d.value,
|
|
6087
6088
|
"show-variant": G.config.bindToVariant,
|
|
@@ -6102,7 +6103,7 @@ const ca = /* @__PURE__ */ ve({
|
|
|
6102
6103
|
onClick: ne
|
|
6103
6104
|
}, null, 8, ["text-color", "border-color", "label", "onClick"])]),
|
|
6104
6105
|
_: 1
|
|
6105
|
-
}, 8, ["categorized-items", "initial-value", "show-variant", "title"])])) : (x(),
|
|
6106
|
+
}, 8, ["categorized-items", "initial-value", "show-variant", "title"])])) : (x(), re("div", Ec, [R(Z, {
|
|
6106
6107
|
"text-color": y(ft).ColorPrimary,
|
|
6107
6108
|
"border-color": y(ft).ColorPrimary,
|
|
6108
6109
|
variant: "secondary",
|
|
@@ -6315,7 +6316,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
6315
6316
|
const { t: D } = Se();
|
|
6316
6317
|
return (C, $) => {
|
|
6317
6318
|
const ue = K("fm-text-field"), de = K("fm-stepper-field"), we = K("FmFormGroup"), G = K("fm-radio"), H = K("fm-radio-group"), Z = K("fm-switch"), te = K("fm-button"), ne = K("fm-side-sheet");
|
|
6318
|
-
return x(),
|
|
6319
|
+
return x(), re(Ve, null, [
|
|
6319
6320
|
Ce(C.$slots, "default", { trigger: _ }),
|
|
6320
6321
|
R(ne, {
|
|
6321
6322
|
id: "group-form",
|
|
@@ -6350,7 +6351,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
6350
6351
|
])
|
|
6351
6352
|
]),
|
|
6352
6353
|
default: W(() => [
|
|
6353
|
-
C.group ? (x(),
|
|
6354
|
+
C.group ? (x(), re("div", Ac, [
|
|
6354
6355
|
Ce(C.$slots, "variant-section"),
|
|
6355
6356
|
R(Ua, null, {
|
|
6356
6357
|
default: W(() => [
|
|
@@ -6404,7 +6405,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
6404
6405
|
"onUpdate:modelValue": $[3] || ($[3] = (Q) => A(Q))
|
|
6405
6406
|
}, {
|
|
6406
6407
|
default: W(() => [
|
|
6407
|
-
(x(!0),
|
|
6408
|
+
(x(!0), re(Ve, null, rt(E.value, (Q) => (x(), J(G, {
|
|
6408
6409
|
key: Q.value,
|
|
6409
6410
|
label: y(D)(`menu.group.types.${Q.label.toLowerCase()}`),
|
|
6410
6411
|
value: Q.value
|
|
@@ -6691,7 +6692,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
6691
6692
|
};
|
|
6692
6693
|
return (S, v) => {
|
|
6693
6694
|
const h = K("FmSearch"), E = K("FmCheckbox"), O = K("FmButton");
|
|
6694
|
-
return m.value.length > 0 ? (x(),
|
|
6695
|
+
return m.value.length > 0 ? (x(), re("div", Lc, [
|
|
6695
6696
|
B("div", null, [
|
|
6696
6697
|
R(h, {
|
|
6697
6698
|
autofocus: "",
|
|
@@ -6702,7 +6703,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
6702
6703
|
]),
|
|
6703
6704
|
B("div", xc, [
|
|
6704
6705
|
B("div", null, [
|
|
6705
|
-
(x(!0),
|
|
6706
|
+
(x(!0), re(Ve, null, rt(m.value, (A) => (x(), re("div", {
|
|
6706
6707
|
key: A.value
|
|
6707
6708
|
}, [
|
|
6708
6709
|
Xt(R(E, {
|
|
@@ -6743,7 +6744,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
6743
6744
|
}, null, 8, ["label"])
|
|
6744
6745
|
])
|
|
6745
6746
|
])
|
|
6746
|
-
])) : (x(),
|
|
6747
|
+
])) : (x(), re("div", zc, [
|
|
6747
6748
|
B("div", $c, [
|
|
6748
6749
|
B("p", Gc, Ee(y(b)("menu.common.empty.no_group.title")), 1),
|
|
6749
6750
|
B("p", Bc, Ee(y(b)("menu.common.empty.no_group.subtitle")), 1)
|
|
@@ -7163,7 +7164,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
7163
7164
|
title: y(n)("menu.inventory.title"),
|
|
7164
7165
|
subTitle: y(n)("menu.inventory.subtitle")
|
|
7165
7166
|
}, {
|
|
7166
|
-
default: W(() => [B("div", jc, [B("div", Kc, [(x(!0),
|
|
7167
|
+
default: W(() => [B("div", jc, [B("div", Kc, [(x(!0), re(Ve, null, rt(m.value, (v) => (x(), J(y(li), {
|
|
7167
7168
|
key: v._id,
|
|
7168
7169
|
ref_for: !0,
|
|
7169
7170
|
ref_key: "inventoryManagerForms",
|
|
@@ -7373,7 +7374,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
7373
7374
|
sublabel: y(r)("menu.product.form.price.settings.sell_by_unit.sublabel"),
|
|
7374
7375
|
"onUpdate:modelValue": m
|
|
7375
7376
|
}, null, 8, ["disabled", "model-value", "value", "label", "sublabel"]),
|
|
7376
|
-
u.value ? (x(),
|
|
7377
|
+
u.value ? (x(), re("div", Zc, [
|
|
7377
7378
|
B("p", Qc, Ee(y(r)("menu.product.form.price.settings.sell_by_unit.per_unit.label")), 1),
|
|
7378
7379
|
B("div", ed, [
|
|
7379
7380
|
R(w, {
|
|
@@ -7403,14 +7404,14 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
7403
7404
|
])
|
|
7404
7405
|
])) : se("", !0)
|
|
7405
7406
|
]),
|
|
7406
|
-
s.value.costing ? (x(),
|
|
7407
|
+
s.value.costing ? (x(), re("div", nd, [
|
|
7407
7408
|
R(T, {
|
|
7408
7409
|
"model-value": !!h.form.costing,
|
|
7409
7410
|
value: !!h.form.costing,
|
|
7410
7411
|
label: y(r)("menu.product.form.price.settings.track_costing.label"),
|
|
7411
7412
|
"onUpdate:modelValue": E[5] || (E[5] = (P) => l("update:form", "costing", P ? y(Ge.Dinero).zero().toObject() : void 0))
|
|
7412
7413
|
}, null, 8, ["model-value", "value", "label"]),
|
|
7413
|
-
h.form.costing ? (x(),
|
|
7414
|
+
h.form.costing ? (x(), re("div", id, [
|
|
7414
7415
|
B("div", od, [
|
|
7415
7416
|
R(Ft, {
|
|
7416
7417
|
class: "w-full",
|
|
@@ -7423,7 +7424,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
7423
7424
|
])
|
|
7424
7425
|
])) : se("", !0)
|
|
7425
7426
|
])) : se("", !0),
|
|
7426
|
-
s.value.minPrice ? (x(),
|
|
7427
|
+
s.value.minPrice ? (x(), re("div", ad, [
|
|
7427
7428
|
R(T, {
|
|
7428
7429
|
disabled: !s.value.minPrice || h.isAddon,
|
|
7429
7430
|
"model-value": !!h.form.minPrice,
|
|
@@ -7505,7 +7506,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
7505
7506
|
}
|
|
7506
7507
|
), (d, c) => {
|
|
7507
7508
|
const p = K("fm-text-field"), b = K("fm-button"), _ = K("fm-side-sheet");
|
|
7508
|
-
return x(),
|
|
7509
|
+
return x(), re(Ve, null, [
|
|
7509
7510
|
Ce(d.$slots, "default", { trigger: u }),
|
|
7510
7511
|
R(_, {
|
|
7511
7512
|
id: "variant-form",
|
|
@@ -7677,7 +7678,7 @@ const Cc = { class: "fm-typo-en-title-md-600" }, Ac = {
|
|
|
7677
7678
|
}, {
|
|
7678
7679
|
default: W(() => [
|
|
7679
7680
|
B("div", fd, [
|
|
7680
|
-
(x(!0),
|
|
7681
|
+
(x(!0), re(Ve, null, rt(S.value, (k, I) => (x(), J(O, {
|
|
7681
7682
|
key: I,
|
|
7682
7683
|
label: k.label,
|
|
7683
7684
|
sublabel: k.description,
|
|
@@ -7917,7 +7918,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
7917
7918
|
};
|
|
7918
7919
|
return (d, c) => {
|
|
7919
7920
|
const p = K("FmSearch"), b = K("FmCheckbox"), _ = K("FmButton");
|
|
7920
|
-
return l.value.length > 0 ? (x(),
|
|
7921
|
+
return l.value.length > 0 ? (x(), re("div", wd, [
|
|
7921
7922
|
B("div", null, [
|
|
7922
7923
|
R(p, {
|
|
7923
7924
|
autofocus: "",
|
|
@@ -7928,7 +7929,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
7928
7929
|
]),
|
|
7929
7930
|
B("div", Ed, [
|
|
7930
7931
|
B("div", null, [
|
|
7931
|
-
(x(!0),
|
|
7932
|
+
(x(!0), re(Ve, null, rt(l.value, (S) => (x(), re("div", {
|
|
7932
7933
|
key: S.value
|
|
7933
7934
|
}, [
|
|
7934
7935
|
Xt(R(b, {
|
|
@@ -7970,7 +7971,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
7970
7971
|
}, null, 8, ["label"])
|
|
7971
7972
|
])
|
|
7972
7973
|
])
|
|
7973
|
-
])) : (x(),
|
|
7974
|
+
])) : (x(), re("div", Od, [
|
|
7974
7975
|
B("div", Rd, [
|
|
7975
7976
|
B("p", Cd, Ee(y(o)("menu.common.empty.no_variant.title")), 1),
|
|
7976
7977
|
B("p", Ad, Ee(y(o)("menu.common.empty.no_variant.subtitle")), 1)
|
|
@@ -8614,7 +8615,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8614
8615
|
function le() {
|
|
8615
8616
|
Q.isUpdatingItem = !1, a.selectCatalog(Q.storedCatalogId), a.selectScheduler(Q.storedSchedulerId);
|
|
8616
8617
|
}
|
|
8617
|
-
function
|
|
8618
|
+
function oe() {
|
|
8618
8619
|
A.value && [
|
|
8619
8620
|
[N.value, M],
|
|
8620
8621
|
[V.value, D]
|
|
@@ -8626,7 +8627,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8626
8627
|
d(), le();
|
|
8627
8628
|
}
|
|
8628
8629
|
const { isAtMost: je } = _o(), Lt = ie(null), qt = Ga(Lt);
|
|
8629
|
-
return (f, g) => (x(),
|
|
8630
|
+
return (f, g) => (x(), re(Ve, null, [
|
|
8630
8631
|
Ce(f.$slots, "trigger", Sa(Oa({
|
|
8631
8632
|
trigger: d
|
|
8632
8633
|
}))),
|
|
@@ -8642,7 +8643,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8642
8643
|
click: Ae
|
|
8643
8644
|
}
|
|
8644
8645
|
],
|
|
8645
|
-
onOnPrimary:
|
|
8646
|
+
onOnPrimary: oe,
|
|
8646
8647
|
onOnCancel: Ae
|
|
8647
8648
|
}, {
|
|
8648
8649
|
"append-title": W(() => [
|
|
@@ -8704,7 +8705,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8704
8705
|
]),
|
|
8705
8706
|
_: 1
|
|
8706
8707
|
}, 8, ["toggle", "disabled", "description", "title"]),
|
|
8707
|
-
A.value ? se("", !0) : (x(),
|
|
8708
|
+
A.value ? se("", !0) : (x(), re("div", Ld)),
|
|
8708
8709
|
w.value ? (x(), J(ut, {
|
|
8709
8710
|
key: 2,
|
|
8710
8711
|
title: y(r)("menu.product.form.sections.tagging.title"),
|
|
@@ -8720,7 +8721,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8720
8721
|
]),
|
|
8721
8722
|
_: 1
|
|
8722
8723
|
}, 8, ["title", "sub-title"])) : se("", !0),
|
|
8723
|
-
w.value ? (x(),
|
|
8724
|
+
w.value ? (x(), re("div", xd)) : se("", !0),
|
|
8724
8725
|
R(Tt, {
|
|
8725
8726
|
toggle: V.value,
|
|
8726
8727
|
"onUpdate:toggle": [
|
|
@@ -8742,7 +8743,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8742
8743
|
]),
|
|
8743
8744
|
_: 1
|
|
8744
8745
|
}, 8, ["toggle", "disabled", "description", "title"]),
|
|
8745
|
-
s.value.print && !A.value ? (x(),
|
|
8746
|
+
s.value.print && !A.value ? (x(), re("div", Ud)) : se("", !0),
|
|
8746
8747
|
s.value.print ? (x(), J(Tt, {
|
|
8747
8748
|
key: 5,
|
|
8748
8749
|
toggle: H.value,
|
|
@@ -8767,7 +8768,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8767
8768
|
]),
|
|
8768
8769
|
_: 1
|
|
8769
8770
|
}, 8, ["toggle"])) : se("", !0),
|
|
8770
|
-
A.value ? se("", !0) : (x(),
|
|
8771
|
+
A.value ? se("", !0) : (x(), re("div", Vd)),
|
|
8771
8772
|
R(Tt, {
|
|
8772
8773
|
toggle: C.value,
|
|
8773
8774
|
"onUpdate:toggle": [
|
|
@@ -8791,7 +8792,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8791
8792
|
]),
|
|
8792
8793
|
_: 1
|
|
8793
8794
|
}, 8, ["toggle", "disabled", "description", "title"]),
|
|
8794
|
-
s.value.group && !A.value ? (x(),
|
|
8795
|
+
s.value.group && !A.value ? (x(), re("div", zd)) : se("", !0),
|
|
8795
8796
|
s.value.group ? (x(), J(Tt, {
|
|
8796
8797
|
key: 8,
|
|
8797
8798
|
toggle: te.value,
|
|
@@ -8816,7 +8817,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8816
8817
|
]),
|
|
8817
8818
|
_: 1
|
|
8818
8819
|
}, 8, ["toggle", "disabled"])) : se("", !0),
|
|
8819
|
-
s.value.inventory && !A.value ? (x(),
|
|
8820
|
+
s.value.inventory && !A.value ? (x(), re("div", $d)) : se("", !0),
|
|
8820
8821
|
s.value.inventory ? (x(), J(Tt, {
|
|
8821
8822
|
key: 10,
|
|
8822
8823
|
toggle: ue.value,
|
|
@@ -8841,7 +8842,7 @@ const yd = /* @__PURE__ */ ve({
|
|
|
8841
8842
|
]),
|
|
8842
8843
|
_: 1
|
|
8843
8844
|
}, 8, ["toggle", "disabled", "description", "title"])) : se("", !0),
|
|
8844
|
-
s.value.takeaway(p.value.category ?? ((L = c.value) == null ? void 0 : L.category)) && !A.value ? (x(),
|
|
8845
|
+
s.value.takeaway(p.value.category ?? ((L = c.value) == null ? void 0 : L.category)) && !A.value ? (x(), re("div", Gd)) : se("", !0),
|
|
8845
8846
|
s.value.takeaway(p.value.category ?? ((Y = c.value) == null ? void 0 : Y.category)) ? (x(), J(Tt, {
|
|
8846
8847
|
key: 12,
|
|
8847
8848
|
toggle: we.value,
|