@feedmepos/mf-menu 0.31.18-prod → 0.31.19-beta
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-CA9Sl2_e.js → App-y2Q2D6AO.js} +2400 -1296
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DXC06G_p.js → ApplyProduct.vue_vue_type_script_setup_true_lang-XV96dt6h.js} +2 -2
- package/dist/{Catalog-DO0Z3SSz.js → Catalog-Di-YSP-w.js} +5 -5
- package/dist/{Category-B1kXrXpy.js → Category-BzydRf7k.js} +21 -21
- package/dist/{Category-DTh_5WI5.js → Category-CAccN9m6.js} +8 -8
- package/dist/{CookingGuide-eHhSbisd.js → CookingGuide-BQcVxx1R.js} +66 -66
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DKGEMS0s.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BjUqhzCZ.js} +1 -1
- package/dist/{Group-Bd61FXOa.js → Group-B8TuooWf.js} +3 -3
- package/dist/{Group-Dh5RNyxf.js → Group-CAV74Npz.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-p3ZeU8Ad.js → Group.vue_vue_type_script_setup_true_lang-ClnFek9W.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CuR3HOn4.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DsC5e95X.js} +3 -3
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BjwTTR43.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DV0-XcfW.js} +3078 -3074
- package/dist/{Ingredient-BLfFgX0g.js → Ingredient-DMLmjp-1.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-C2f4oQV_.js → InventoryBinding.vue_vue_type_script_setup_true_lang-C0tjGp89.js} +2 -2
- package/dist/{LinkProductSideSheet-DPIxXikN.js → LinkProductSideSheet-DIvOzMB8.js} +1 -1
- package/dist/{MenuSetting-UVUYswl1.js → MenuSetting-C5sIpDMN.js} +16 -16
- package/dist/{PrintRoute-B4WpCa5j.js → PrintRoute-NHoHTnMc.js} +26 -26
- package/dist/{Product-DMqUEuUP.js → Product-C2SOvPy4.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DvqDdaNh.js → Product.vue_vue_type_script_setup_true_lang-BEHnUKcc.js} +62 -59
- package/dist/{ProductInternalTools-BjQILwqA.js → ProductInternalTools-eXFZoo1G.js} +14 -14
- package/dist/{Products-BR612MbF.js → Products-3J5DcGEc.js} +15 -15
- package/dist/{Publish-HQprte7i.js → Publish-BdWd54a5.js} +32 -32
- package/dist/{Recipe-CW8DpUib.js → Recipe-DrNJifKH.js} +9 -9
- package/dist/{Scheduler-jwxuWWBc.js → Scheduler-OLKgjhjM.js} +3 -3
- package/dist/{ServingSequence-DILOiy8d.js → ServingSequence-DZ-eaRkW.js} +25 -25
- package/dist/{Setting-DtHcu5eE.js → Setting-t5Edfa6F.js} +10 -10
- package/dist/{Subcategory-BuBhmpHK.js → Subcategory-B1BeXahn.js} +18 -18
- package/dist/{Takeaway-CFH-2jGX.js → Takeaway-CS31a0G6.js} +1 -1
- package/dist/{Takeaway-Dadg_p4p.js → Takeaway-q69U7AjK.js} +10 -10
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Ccm340Do.js → Takeaway.vue_vue_type_script_setup_true_lang-CNheVEqy.js} +17 -17
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BO_RY7Nb.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-0kXXOsyC.js} +356 -352
- package/dist/{Unit-BhC7HKdj.js → Unit-R0fBKDBQ.js} +8 -8
- package/dist/{Variant-op1jI8lu.js → Variant-DdIfbckf.js} +8 -8
- package/dist/{_id_-C8aH00wO.js → _id_-Cpxz3UoN.js} +17 -17
- package/dist/{app-CgdrcHjA.js → app-CMGlnsG5.js} +24 -24
- package/dist/{app-DTuhoxK_.js → app-DRorRq_c.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +19 -0
- package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
- package/dist/apps/mf-menu/src/helper/menu.d.ts +1 -1
- package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +11 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-CdVNB55V.js +24 -0
- package/dist/assets/override-menu-CjvOi-J-.js +24 -0
- package/dist/assets/validate-menu-BU_-Jge5.js +24 -0
- package/dist/{catalog-C_ivwYaQ.js → catalog-BXSv7rZo.js} +1 -1
- package/dist/{catalogSetting-DZueIrzX.js → catalogSetting-DhXLcwI_.js} +1 -1
- package/dist/{category-B3iKQFQ-.js → category-LHZTSH3_.js} +1 -1
- package/dist/{currency-CA5FQbXi.js → currency-C05JOYSJ.js} +1 -1
- package/dist/{dayjs.min-B5JdMy-O.js → dayjs.min-OqJAuW-9.js} +1 -1
- package/dist/{index-g0Su2v11.js → index-BgrBG_Iz.js} +11 -11
- package/dist/{index-jZfKRlag.js → index-CxytOxGX.js} +1 -1
- package/dist/{index-BFdAL_N3.js → index-kz099Vvw.js} +6 -6
- package/dist/{item-SVoStXDW.js → item-vz-nrIWG.js} +694 -691
- package/dist/{jszip.min-DYjqumCW.js → jszip.min-C2aY4t8L.js} +2 -2
- package/dist/menu-CAVt_lFp.js +107896 -0
- package/dist/{menu-CTQtotYO.js → menu-DJkyk-fC.js} +1 -1
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-D7hqwCP7.js → priceTier-xvRS9QN2.js} +1 -1
- package/dist/{scheduler-sOWjTP9q.js → scheduler-Du42t5zf.js} +3 -3
- package/dist/{subcategory-DzOnwchb.js → subcategory-CqKHknsQ.js} +219 -219
- package/dist/{toExcel-CXiBEHW2.js → toExcel-BvBlj-X5.js} +2 -2
- package/dist/{unit-CejxJLsQ.js → unit-DENherye.js} +1 -1
- package/package.json +3 -2
- package/dist/assets/linked-status-DjuegQzl.js +0 -24
- package/dist/assets/override-menu-SwLrxhgz.js +0 -24
- package/dist/assets/validate-menu-kf0hkaus.js +0 -24
- package/dist/menu-GZ7mL7Mu.js +0 -132202
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ref as V, computed as x, defineComponent as E, resolveComponent as B, createBlock as P, openBlock as v, withCtx as A, createElementVNode as g, createVNode as m, unref as n, createElementBlock as C, Fragment as ne, renderList as xe, createCommentVNode as
|
|
2
|
-
import { u as ke, Q as ye,
|
|
1
|
+
import { ref as V, computed as x, defineComponent as E, resolveComponent as B, createBlock as P, openBlock as v, withCtx as A, createElementVNode as g, createVNode as m, unref as n, createElementBlock as C, Fragment as ne, renderList as xe, createCommentVNode as D, normalizeClass as re, toDisplayString as j, withModifiers as ie, mergeModels as Qe, useModel as He, renderSlot as ve, watch as ae, createTextVNode as Ye, watchEffect as Ze, nextTick as $e, resolveDynamicComponent as Je, onMounted as Xe, h as q, normalizeStyle as vt } from "vue";
|
|
2
|
+
import { u as ke, Q as ye, A as oe, H as Te, I as me, U as ft, aa as gt, ab as bt, ac as Ie, ad as _t, P as yt, ae as Re } from "./menu-CAVt_lFp.js";
|
|
3
3
|
import { useI18n as Se, useCoreStore as Oe } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as Ce } from "./menu-
|
|
4
|
+
import { u as Ce } from "./menu-DJkyk-fC.js";
|
|
5
5
|
import { _ as pe } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
6
|
-
import { L as Be } from "./LinkProductSideSheet-
|
|
7
|
-
import { _ as Pe, h as je, a as ht, b as Ee } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { f as xt, o as Ct, b as wt, m as kt } from "./subcategory-
|
|
9
|
-
import { r as St, _ as Ft, a as Vt, u as It } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as et, C as $t } from "./item-
|
|
6
|
+
import { L as Be } from "./LinkProductSideSheet-DIvOzMB8.js";
|
|
7
|
+
import { _ as Pe, h as je, a as ht, b as Ee } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-BjUqhzCZ.js";
|
|
8
|
+
import { f as xt, o as Ct, b as wt, m as kt } from "./subcategory-CqKHknsQ.js";
|
|
9
|
+
import { r as St, _ as Ft, a as Vt, u as It } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DV0-XcfW.js";
|
|
10
|
+
import { u as et, C as $t } from "./item-vz-nrIWG.js";
|
|
11
11
|
import { useBreakpoints as tt, components as J, useDialog as Tt, FmButtonColorThemeVariant as Q, FmButtonVariant as Z } from "@feedmepos/ui-library";
|
|
12
|
-
import { F as Pt } from "./index-
|
|
13
|
-
import { _ as Ue, u as At } from "./app-
|
|
12
|
+
import { F as Pt } from "./index-CxytOxGX.js";
|
|
13
|
+
import { _ as Ue, u as At } from "./app-CMGlnsG5.js";
|
|
14
14
|
import { _ as he } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
15
|
-
import { _ as Ot } from "./index-
|
|
15
|
+
import { _ as Ot } from "./index-kz099Vvw.js";
|
|
16
16
|
import { _ as Ae } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DzQ8_6Bi.js";
|
|
17
17
|
import { c as Ut } from "./check-C9mY6LiX.js";
|
|
18
|
-
import { f as Mt } from "./currency-
|
|
19
|
-
import { w as
|
|
20
|
-
import { r as
|
|
18
|
+
import { f as Mt } from "./currency-C05JOYSJ.js";
|
|
19
|
+
import { w as Dt } from "./tooltip-B5BiPMx9.js";
|
|
20
|
+
import { r as zt } from "./index-Ce4v8o7D.js";
|
|
21
21
|
function Nt(w, a) {
|
|
22
22
|
const r = V(!0), u = x(() => {
|
|
23
23
|
var s, f;
|
|
@@ -49,8 +49,8 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
49
49
|
), f = x(() => s.value.filter(
|
|
50
50
|
(G) => G.label.toLowerCase().includes(y.value.toLowerCase())
|
|
51
51
|
)), { t: p } = Se(), b = x(() => {
|
|
52
|
-
var G, I,
|
|
53
|
-
return l.value.length === ((G = i.value) == null ? void 0 : G.length) ? p("menu.category.selector.all") : ((I = i.value) == null ? void 0 : I.length) === 1 ? i.value[0].name : `${(
|
|
52
|
+
var G, I, z;
|
|
53
|
+
return l.value.length === ((G = i.value) == null ? void 0 : G.length) ? p("menu.category.selector.all") : ((I = i.value) == null ? void 0 : I.length) === 1 ? i.value[0].name : `${(z = i.value) == null ? void 0 : z.length}`;
|
|
54
54
|
}), y = V(""), k = x({
|
|
55
55
|
get: () => o.value,
|
|
56
56
|
set: (G) => {
|
|
@@ -64,7 +64,7 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
64
64
|
r("toggleAttributeFilter");
|
|
65
65
|
}
|
|
66
66
|
return (G, I) => {
|
|
67
|
-
const
|
|
67
|
+
const z = B("FmIcon"), M = B("FmChip"), T = B("FmSearch"), $ = B("FmMenuItem"), N = B("FmMenu");
|
|
68
68
|
return v(), P(N, {
|
|
69
69
|
"close-on-click": !1,
|
|
70
70
|
width: 220
|
|
@@ -73,8 +73,8 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
73
73
|
g("div", Kt, [
|
|
74
74
|
m(M, null, {
|
|
75
75
|
default: A(() => [
|
|
76
|
-
b.value ? (v(), C("div", Rt, j(n(p)("menu.category.selector.title", { label: b.value })), 1)) :
|
|
77
|
-
m(
|
|
76
|
+
b.value ? (v(), C("div", Rt, j(n(p)("menu.category.selector.title", { label: b.value })), 1)) : D("", !0),
|
|
77
|
+
m(z, {
|
|
78
78
|
color: "neutral-gray-400",
|
|
79
79
|
name: "expand_more",
|
|
80
80
|
size: "sm"
|
|
@@ -84,7 +84,7 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
84
84
|
class: "pl-8 flex items-center justify-center border-l border-fm-color-neutral-gray-200",
|
|
85
85
|
onClick: ie(ce, ["stop"])
|
|
86
86
|
}, [
|
|
87
|
-
m(
|
|
87
|
+
m(z, {
|
|
88
88
|
name: "filter_alt",
|
|
89
89
|
outline: "",
|
|
90
90
|
color: "neutral-gray-400",
|
|
@@ -92,7 +92,7 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
92
92
|
onClick: I[0] || (I[0] = ie(() => {
|
|
93
93
|
}, ["prevent"]))
|
|
94
94
|
})
|
|
95
|
-
])) :
|
|
95
|
+
])) : D("", !0)
|
|
96
96
|
]),
|
|
97
97
|
_: 1
|
|
98
98
|
})
|
|
@@ -164,8 +164,8 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
164
164
|
onClick: b[0] || (b[0] = ie((k) => s.value = !s.value, ["stop", "prevent"]))
|
|
165
165
|
}, [
|
|
166
166
|
s.value ? (v(), C("span", Yt, j(n(r)("menu.product.table.category.expand", { count: p.categories.length - i.value })), 1)) : (v(), C("span", Zt, j(n(r)("menu.product.table.category.collapse")), 1))
|
|
167
|
-
])) :
|
|
168
|
-
])) :
|
|
167
|
+
])) : D("", !0)
|
|
168
|
+
])) : D("", !0)
|
|
169
169
|
], 64)) : (v(), P(y, {
|
|
170
170
|
key: 0,
|
|
171
171
|
class: "flex",
|
|
@@ -196,7 +196,7 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
196
196
|
key: 0,
|
|
197
197
|
label: "...",
|
|
198
198
|
variant: "neutral"
|
|
199
|
-
})) :
|
|
199
|
+
})) : D("", !0)
|
|
200
200
|
])
|
|
201
201
|
]),
|
|
202
202
|
_: 1
|
|
@@ -257,7 +257,7 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
257
257
|
g("p", ll, j(r.title), 1),
|
|
258
258
|
r.titleBadge !== void 0 ? (v(), C("div", al, [
|
|
259
259
|
g("p", ol, j(r.titleBadge), 1)
|
|
260
|
-
])) :
|
|
260
|
+
])) : D("", !0)
|
|
261
261
|
]),
|
|
262
262
|
m(Ue, null, {
|
|
263
263
|
default: A(() => [
|
|
@@ -612,7 +612,7 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
612
612
|
}, null, 8, ["alt", "src"]),
|
|
613
613
|
g("div", ml, [
|
|
614
614
|
g("p", pl, [
|
|
615
|
-
(f = r.value) != null && f.code ? (v(), C("span", vl, j((p = r.value) == null ? void 0 : p.code) + ", ", 1)) :
|
|
615
|
+
(f = r.value) != null && f.code ? (v(), C("span", vl, j((p = r.value) == null ? void 0 : p.code) + ", ", 1)) : D("", !0),
|
|
616
616
|
g("span", null, j((b = r.value) == null ? void 0 : b.name), 1)
|
|
617
617
|
]),
|
|
618
618
|
g("p", fl, "Base price: " + j(u.value), 1),
|
|
@@ -624,7 +624,7 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
624
624
|
"custom-attributes": (k = r.value) == null ? void 0 : k.customAttributes
|
|
625
625
|
}, null, 8, ["custom-attributes"])
|
|
626
626
|
])
|
|
627
|
-
])) :
|
|
627
|
+
])) : D("", !0)
|
|
628
628
|
])
|
|
629
629
|
]);
|
|
630
630
|
};
|
|
@@ -692,13 +692,13 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
692
692
|
"helper-text": "Quickly find products and view their prices across different catalogs and schedules.",
|
|
693
693
|
menu: n(r).state.menu
|
|
694
694
|
}, null, 8, ["modelValue", "menu"])
|
|
695
|
-
])) :
|
|
695
|
+
])) : D("", !0),
|
|
696
696
|
g("div", null, [
|
|
697
697
|
u.value ? (v(), P(hl, {
|
|
698
698
|
key: 0,
|
|
699
699
|
"item-id": u.value,
|
|
700
700
|
menu: n(r).state.menu
|
|
701
|
-
}, null, 8, ["item-id", "menu"])) :
|
|
701
|
+
}, null, 8, ["item-id", "menu"])) : D("", !0)
|
|
702
702
|
])
|
|
703
703
|
]));
|
|
704
704
|
}
|
|
@@ -728,7 +728,7 @@ const Kt = { class: "inline-flex items-center" }, Rt = {
|
|
|
728
728
|
r.value && a.value ? (v(), P(wl, {
|
|
729
729
|
key: 0,
|
|
730
730
|
"item-id": a.value
|
|
731
|
-
}, null, 8, ["item-id"])) :
|
|
731
|
+
}, null, 8, ["item-id"])) : D("", !0)
|
|
732
732
|
])
|
|
733
733
|
]),
|
|
734
734
|
_: 1
|
|
@@ -787,10 +787,10 @@ const We = /* @__PURE__ */ E({
|
|
|
787
787
|
key: 2
|
|
788
788
|
}, Ml = {
|
|
789
789
|
class: "flex space-x-8"
|
|
790
|
-
},
|
|
790
|
+
}, Dl = {
|
|
791
791
|
key: 1,
|
|
792
792
|
class: "pt-8 flex flex-col flex-1 overflow-hidden"
|
|
793
|
-
},
|
|
793
|
+
}, zl = {
|
|
794
794
|
class: "space-y-8 pb-8"
|
|
795
795
|
}, Nl = {
|
|
796
796
|
class: "w-full px-8"
|
|
@@ -858,7 +858,7 @@ const We = /* @__PURE__ */ E({
|
|
|
858
858
|
logic: "AND",
|
|
859
859
|
rules: []
|
|
860
860
|
});
|
|
861
|
-
function
|
|
861
|
+
function z(e) {
|
|
862
862
|
const t = L.value.map((d) => {
|
|
863
863
|
var h;
|
|
864
864
|
return (h = d.customAttributes) == null ? void 0 : h[e];
|
|
@@ -866,15 +866,15 @@ const We = /* @__PURE__ */ E({
|
|
|
866
866
|
return [...new Set(t)];
|
|
867
867
|
}
|
|
868
868
|
const M = x(() => i.itemAttributeSettings.value.map((e) => {
|
|
869
|
-
const t =
|
|
869
|
+
const t = z(e.key);
|
|
870
870
|
return {
|
|
871
871
|
...e,
|
|
872
872
|
values: t
|
|
873
873
|
};
|
|
874
|
-
})), T = V(""), $ =
|
|
874
|
+
})), T = V(""), $ = zt(T, 300), N = x(() => {
|
|
875
875
|
const e = (c) => {
|
|
876
876
|
var h;
|
|
877
|
-
return !$.value || !$.value.trim() ? !0 : [c.code, c.name,
|
|
877
|
+
return !$.value || !$.value.trim() ? !0 : [c.code, c.name, ze(c), ...Ie(U.value, c), (h = ye()[c.orderFrom]) == null ? void 0 : h.label, Object.values(c.customAttributes ?? {}).join(" ")].join(" ").toLowerCase().includes($.value.toLowerCase());
|
|
878
878
|
}, t = (c) => !c.customAttributes && !I.value.rules.length ? !0 : ht(c.customAttributes ?? {}, I.value);
|
|
879
879
|
return L.value.filter((c) => e(c) && t(c));
|
|
880
880
|
}), {
|
|
@@ -894,7 +894,10 @@ const We = /* @__PURE__ */ E({
|
|
|
894
894
|
}, ee("update:model-value", d));
|
|
895
895
|
}, Y = gt(() => u.originalValue, () => u.modelValue), R = me.debounce(O, 300), se = (e) => (t) => !!t || l("menu.product.table.validation.name_required", {
|
|
896
896
|
field: e
|
|
897
|
-
}), de = (e) => e >= 0 || l("menu.product.table.validation.price_min"), fe = [se("Name")], ge = () => [(e) => de(typeof e == "number" ? e : Number(e) ?? 0)], at = ye(), ot = x(() =>
|
|
897
|
+
}), de = (e) => e >= 0 || l("menu.product.table.validation.price_min"), fe = [se("Name")], ge = () => [(e) => de(typeof e == "number" ? e : Number(e) ?? 0)], at = ye(), ot = x(() => {
|
|
898
|
+
const e = o.isV4;
|
|
899
|
+
return ft.setCoreStore(i).taxSetting(e);
|
|
900
|
+
}), Me = x(() => [{
|
|
898
901
|
accessorKey: "thumbnail",
|
|
899
902
|
header: "",
|
|
900
903
|
size: 110,
|
|
@@ -1081,7 +1084,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1081
1084
|
},
|
|
1082
1085
|
header: () => q("div", {
|
|
1083
1086
|
class: "w-full px-4 flex justify-end"
|
|
1084
|
-
}, [
|
|
1087
|
+
}, [Dt(q(J.FmButton, {
|
|
1085
1088
|
variant: Z.Tertiary,
|
|
1086
1089
|
textColor: Q.NeutralGray400,
|
|
1087
1090
|
prependIcon: "edit",
|
|
@@ -1134,7 +1137,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1134
1137
|
const nt = () => {
|
|
1135
1138
|
ue.value = {};
|
|
1136
1139
|
};
|
|
1137
|
-
async function
|
|
1140
|
+
async function De() {
|
|
1138
1141
|
await $e();
|
|
1139
1142
|
const e = () => !!o.currentCatalog || !!o.state.currentSchedulerId, t = (d) => d === "" || d === null ? e() ? "" : null : d, c = Object.values(u.modelValue).filter((d) => {
|
|
1140
1143
|
const h = Object.values(u.originalValue).find((F) => F._id === d._id);
|
|
@@ -1188,7 +1191,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1188
1191
|
async function it(e) {
|
|
1189
1192
|
await f.update(e.original._id);
|
|
1190
1193
|
}
|
|
1191
|
-
function
|
|
1194
|
+
function ze(e) {
|
|
1192
1195
|
var _;
|
|
1193
1196
|
const t = e.price ?? // TODO: fix type error
|
|
1194
1197
|
// @ts-ignore
|
|
@@ -1219,7 +1222,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1219
1222
|
});
|
|
1220
1223
|
return (e, t) => {
|
|
1221
1224
|
const c = B("fm-search"), d = B("fm-button"), h = B("fm-table"), F = B("fm-form");
|
|
1222
|
-
return dt.value ? (v(), C("div",
|
|
1225
|
+
return dt.value ? (v(), C("div", Dl, [g("div", zl, [g("div", Nl, [m(c, {
|
|
1223
1226
|
"model-value": T.value,
|
|
1224
1227
|
"onUpdate:modelValue": t[5] || (t[5] = (_) => T.value = _),
|
|
1225
1228
|
autofocus: "",
|
|
@@ -1232,7 +1235,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1232
1235
|
attributes: M.value,
|
|
1233
1236
|
modelValue: I.value,
|
|
1234
1237
|
"onUpdate:modelValue": t[6] || (t[6] = (_) => I.value = _)
|
|
1235
|
-
}, null, 8, ["attributes", "modelValue"])])) :
|
|
1238
|
+
}, null, 8, ["attributes", "modelValue"])])) : D("", !0)]), L.value.length ? (v(), C("div", Bl, [(v(!0), C(ne, null, xe(N.value, (_) => {
|
|
1236
1239
|
var X;
|
|
1237
1240
|
return v(), C("div", {
|
|
1238
1241
|
key: _._id,
|
|
@@ -1244,7 +1247,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1244
1247
|
src: _.thumbnail
|
|
1245
1248
|
}, null, 8, ["alt", "src"]), g("div", Gl, [g("div", Ll, [g("p", Wl, j(_.name), 1), m(we, {
|
|
1246
1249
|
"order-from": _.orderFrom
|
|
1247
|
-
}, null, 8, ["order-from"])]), g("p", ql, j(
|
|
1250
|
+
}, null, 8, ["order-from"])]), g("p", ql, j(ze(_)), 1), g("p", Ql, j(n(l)("menu.product.table.columns.code")) + ": " + j(((X = Ve(_._id)) == null ? void 0 : X.code) || "--"), 1), g("p", Hl, [m(Le, {
|
|
1248
1251
|
categories: n(Ie)(n(U), _)
|
|
1249
1252
|
}, null, 8, ["categories"])]), m(Pe, {
|
|
1250
1253
|
"custom-attributes": _.customAttributes
|
|
@@ -1285,7 +1288,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1285
1288
|
key: 0,
|
|
1286
1289
|
"blame-form-child-on-validation-failed": "",
|
|
1287
1290
|
class: "flex flex-col flex-1 space-y-8 overflow-hidden",
|
|
1288
|
-
onValidationSuccess:
|
|
1291
|
+
onValidationSuccess: De
|
|
1289
1292
|
}, {
|
|
1290
1293
|
default: A(() => [g("div", Fl, [g("div", Vl, [ve(e.$slots, "filter")]), g("div", Il, [m(c, {
|
|
1291
1294
|
"model-value": T.value,
|
|
@@ -1298,7 +1301,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1298
1301
|
attributes: M.value,
|
|
1299
1302
|
modelValue: I.value,
|
|
1300
1303
|
"onUpdate:modelValue": t[1] || (t[1] = (_) => I.value = _)
|
|
1301
|
-
}, null, 8, ["attributes", "modelValue"])])) :
|
|
1304
|
+
}, null, 8, ["attributes", "modelValue"])])) : D("", !0), L.value.length ? (v(), C("div", Tl, [le.value.length && !S.value ? (v(), C("div", Pl, [g("p", Al, j(n(l)("menu.product.table.selection.count", {
|
|
1302
1305
|
count: le.value.length
|
|
1303
1306
|
})), 1), m(d, {
|
|
1304
1307
|
label: n(l)("menu.product.table.selection.actions.deselect_all"),
|
|
@@ -1313,7 +1316,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1313
1316
|
"prepend-icon": "delete",
|
|
1314
1317
|
variant: "secondary",
|
|
1315
1318
|
onClick: rt
|
|
1316
|
-
}, null, 8, ["border-color", "text-color", "label"])])) :
|
|
1319
|
+
}, null, 8, ["border-color", "text-color", "label"])])) : D("", !0), S.value ? (v(), C("div", Ol, [m(d, {
|
|
1317
1320
|
variant: n(Z).Tertiary,
|
|
1318
1321
|
label: n(l)("menu.product.table.bulk_edit.actions.reset_all"),
|
|
1319
1322
|
onClick: be
|
|
@@ -1327,7 +1330,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1327
1330
|
variant: n(Z).Secondary,
|
|
1328
1331
|
label: n(l)("menu.product.table.bulk_edit.actions.save"),
|
|
1329
1332
|
type: "submit"
|
|
1330
|
-
}, null, 8, ["borderColor", "textColor", "variant", "label"])])) :
|
|
1333
|
+
}, null, 8, ["borderColor", "textColor", "variant", "label"])])) : D("", !0), g("div", {
|
|
1331
1334
|
ref_key: "tableWrapper",
|
|
1332
1335
|
ref: Ne
|
|
1333
1336
|
}, [(v(), P(Je(S.value ? Pt : "div"), {
|
|
@@ -1346,7 +1349,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1346
1349
|
}],
|
|
1347
1350
|
class: "overflow-x-scroll",
|
|
1348
1351
|
style: vt(pt.value),
|
|
1349
|
-
onOnPrimary:
|
|
1352
|
+
onOnPrimary: De,
|
|
1350
1353
|
onOnCancel: Fe
|
|
1351
1354
|
}, {
|
|
1352
1355
|
default: A(() => [m(h, {
|
|
@@ -1423,7 +1426,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1423
1426
|
}), k = V({}), L = V({}), ee = async () => {
|
|
1424
1427
|
var N, U;
|
|
1425
1428
|
b.value = !0;
|
|
1426
|
-
const
|
|
1429
|
+
const z = !!y.value, M = me.flatten(H.value.map((K) => K.items)), T = z && p.value ? await kt(
|
|
1427
1430
|
a.mergedMenu,
|
|
1428
1431
|
M,
|
|
1429
1432
|
a.state.menu,
|
|
@@ -1436,18 +1439,18 @@ const We = /* @__PURE__ */ E({
|
|
|
1436
1439
|
return K[O._id] = {
|
|
1437
1440
|
_id: O._id,
|
|
1438
1441
|
name: O.name,
|
|
1439
|
-
code:
|
|
1442
|
+
code: z ? R == null ? void 0 : R.code : O == null ? void 0 : O.code,
|
|
1440
1443
|
category: O.category,
|
|
1441
1444
|
additionalCategories: O.additionalCategories,
|
|
1442
|
-
price:
|
|
1443
|
-
orderFrom:
|
|
1444
|
-
taxes:
|
|
1445
|
+
price: z && s.value.editPrice ? R == null ? void 0 : R.price : O.price,
|
|
1446
|
+
orderFrom: z ? R == null ? void 0 : R.orderFrom : O.orderFrom,
|
|
1447
|
+
taxes: z ? null : O.taxes,
|
|
1445
1448
|
thumbnail: O.thumbnail,
|
|
1446
1449
|
fallbackPrice: (de = T == null ? void 0 : T[Y]) == null ? void 0 : de.price,
|
|
1447
|
-
fallbackName:
|
|
1450
|
+
fallbackName: z ? O.name : void 0,
|
|
1448
1451
|
fallbackCode: (fe = T == null ? void 0 : T[Y]) == null ? void 0 : fe.code,
|
|
1449
1452
|
fallbackOrder: (ge = T == null ? void 0 : T[Y]) == null ? void 0 : ge.orderFrom,
|
|
1450
|
-
fallbackTaxes:
|
|
1453
|
+
fallbackTaxes: z ? O.taxes : null
|
|
1451
1454
|
}, K;
|
|
1452
1455
|
}, {});
|
|
1453
1456
|
k.value = $, L.value = { ...$ }, b.value = !1;
|
|
@@ -1464,7 +1467,7 @@ const We = /* @__PURE__ */ E({
|
|
|
1464
1467
|
const G = () => {
|
|
1465
1468
|
H.value && ee();
|
|
1466
1469
|
}, { t: I } = Se();
|
|
1467
|
-
return (
|
|
1470
|
+
return (z, M) => {
|
|
1468
1471
|
const T = B("fm-button");
|
|
1469
1472
|
return n(S).length ? (v(), C("div", Xl, [
|
|
1470
1473
|
g("div", ea, [
|
|
@@ -1482,16 +1485,16 @@ const We = /* @__PURE__ */ E({
|
|
|
1482
1485
|
}, {
|
|
1483
1486
|
filter: A(() => [
|
|
1484
1487
|
m(Ge, { onToggleAttributeFilter: te }),
|
|
1485
|
-
s.value.multiScheduler ? (v(), P(Ee, { key: 0 })) :
|
|
1488
|
+
s.value.multiScheduler ? (v(), P(Ee, { key: 0 })) : D("", !0)
|
|
1486
1489
|
]),
|
|
1487
1490
|
_: 1
|
|
1488
|
-
}, 8, ["is-calculating", "model-value", "original-value"])) :
|
|
1491
|
+
}, 8, ["is-calculating", "model-value", "original-value"])) : D("", !0)
|
|
1489
1492
|
])
|
|
1490
1493
|
])
|
|
1491
1494
|
])) : (v(), C("div", la, [
|
|
1492
1495
|
g("div", aa, [
|
|
1493
1496
|
m(Ge),
|
|
1494
|
-
s.value.multiScheduler ? (v(), P(Ee, { key: 0 })) :
|
|
1497
|
+
s.value.multiScheduler ? (v(), P(Ee, { key: 0 })) : D("", !0)
|
|
1495
1498
|
]),
|
|
1496
1499
|
r.value.create ? (v(), P(pe, {
|
|
1497
1500
|
key: 0,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as Z, ref as v, computed as $, resolveComponent as W, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as
|
|
2
|
-
import { J as O, F as ne } from "./jszip.min-
|
|
3
|
-
import {
|
|
1
|
+
import { defineComponent as Z, ref as v, computed as $, resolveComponent as W, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as R, createBlock as oe, withCtx as A } from "vue";
|
|
2
|
+
import { J as O, F as ne } from "./jszip.min-C2aY4t8L.js";
|
|
3
|
+
import { D as le, u as ie, I as D, a0 as re, K as ce, M as de, N as me } from "./menu-CAVt_lFp.js";
|
|
4
4
|
import { useI18n as ue } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as ge, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { u as fe, a as he } from "./menu-
|
|
8
|
-
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { t as be, v as ve, w as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-DJkyk-fC.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-BEHnUKcc.js";
|
|
9
|
+
import { t as be, v as ve, w as _e } from "./item-vz-nrIWG.js";
|
|
10
10
|
const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "h-full flex flex-col"
|
|
@@ -19,7 +19,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
19
19
|
}, Se = { class: "space-y-12" }, $e = { class: "fm-typo-en-body-sm font-medium" }, ze = { class: "flex" }, Pe = { class: "w-64 h-64 bg-gray-100 rounded-8 overflow-hidden flex items-center justify-center" }, Le = ["src", "alt"], Ne = {
|
|
20
20
|
key: 1,
|
|
21
21
|
class: "text-gray-400 text-xs"
|
|
22
|
-
}, Te = { class: "flex" },
|
|
22
|
+
}, Te = { class: "flex" }, Ee = { class: "w-64 h-64 bg-gray-100 rounded-8 overflow-hidden" }, Be = ["src", "alt"], Re = {
|
|
23
23
|
key: 1,
|
|
24
24
|
class: "h-full flex flex-col"
|
|
25
25
|
}, Ae = {
|
|
@@ -65,7 +65,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
65
65
|
s("div", ke, [
|
|
66
66
|
s("div", Ce, [
|
|
67
67
|
s("button", {
|
|
68
|
-
class:
|
|
68
|
+
class: E([
|
|
69
69
|
"px-16 py-12 font-medium text-sm border-b-2 transition-colors",
|
|
70
70
|
y.value === "matched" ? "border-blue-500 text-blue-600 bg-blue-50" : "border-transparent text-gray-500 hover:text-gray-700"
|
|
71
71
|
]),
|
|
@@ -73,7 +73,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
73
73
|
}, " Matched Images (" + U(b.value) + ") ", 3),
|
|
74
74
|
k.value > 0 ? (r(), c("button", {
|
|
75
75
|
key: 0,
|
|
76
|
-
class:
|
|
76
|
+
class: E([
|
|
77
77
|
"px-16 py-12 font-medium text-sm border-b-2 transition-colors",
|
|
78
78
|
y.value === "unmatched" ? "border-blue-500 text-blue-600 bg-blue-50" : "border-transparent text-gray-500 hover:text-gray-700"
|
|
79
79
|
]),
|
|
@@ -84,7 +84,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
84
84
|
s("div", Ue, [
|
|
85
85
|
y.value === "matched" ? (r(), c("div", je, [
|
|
86
86
|
b.value === 0 ? (r(), c("div", Fe, l[3] || (l[3] = [
|
|
87
|
-
|
|
87
|
+
B('<div class="text-center text-gray-500"><svg class="mx-auto h-48 w-48 text-gray-400 mb-16" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg><p class="fm-typo-en-body-lg text-gray-500">No matched images found</p><p class="fm-typo-en-body-sm text-gray-400 mt-4"> Make sure your image filenames match product names </p></div>', 1)
|
|
88
88
|
]))) : (r(), c("div", Me, [
|
|
89
89
|
l[4] || (l[4] = s("div", { class: "grid grid-cols-3 gap-16 pb-12 border-b border-gray-200 mb-16" }, [
|
|
90
90
|
s("div", { class: "fm-typo-en-body-sm-600 font-semibold text-gray-700" }, "Product Name"),
|
|
@@ -108,12 +108,12 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
108
108
|
])
|
|
109
109
|
]),
|
|
110
110
|
s("div", Te, [
|
|
111
|
-
s("div",
|
|
111
|
+
s("div", Ee, [
|
|
112
112
|
s("img", {
|
|
113
113
|
src: m.newImageUrl,
|
|
114
114
|
alt: m.newImage.name,
|
|
115
115
|
class: "w-full h-full object-cover"
|
|
116
|
-
}, null, 8,
|
|
116
|
+
}, null, 8, Be)
|
|
117
117
|
])
|
|
118
118
|
])
|
|
119
119
|
]))), 128))
|
|
@@ -121,7 +121,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
121
121
|
]))
|
|
122
122
|
])) : y.value === "unmatched" ? (r(), c("div", Re, [
|
|
123
123
|
k.value === 0 ? (r(), c("div", Ae, l[5] || (l[5] = [
|
|
124
|
-
|
|
124
|
+
B('<div class="text-center text-gray-500"><svg class="mx-auto h-48 w-48 text-gray-400 mb-16" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg><p class="fm-typo-en-body-lg text-gray-500">All images matched!</p><p class="fm-typo-en-body-sm text-gray-400 mt-4">No unmatched images found</p></div>', 1)
|
|
125
125
|
]))) : (r(), c("div", Oe, [
|
|
126
126
|
l[6] || (l[6] = s("div", { class: "grid grid-cols-2 gap-16 pb-12 border-b border-gray-200 mb-16" }, [
|
|
127
127
|
s("div", { class: "fm-typo-en-body-sm-600 font-semibold text-gray-700" }, "Filename"),
|
|
@@ -151,7 +151,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
|
-
var Je = { firebase: { storageBucket: "image.
|
|
154
|
+
var Je = { firebase: { storageBucket: "image.feedmedev.cc" } };
|
|
155
155
|
const He = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "h-screen"
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as Y, computed as g, ref as
|
|
2
|
-
import { D as C } from "./dayjs.min-
|
|
3
|
-
import { u as W, a as X, M as ee, w as te } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { J as oe, F as ne } from "./jszip.min-
|
|
5
|
-
import { u as q,
|
|
1
|
+
import { defineComponent as Y, computed as g, ref as z, resolveComponent as h, createBlock as y, openBlock as d, unref as e, withCtx as m, createElementVNode as u, toDisplayString as U, createVNode as a, createCommentVNode as L, createElementBlock as D, Fragment as T } from "vue";
|
|
2
|
+
import { D as C } from "./dayjs.min-OqJAuW-9.js";
|
|
3
|
+
import { u as W, a as X, M as ee, w as te } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DV0-XcfW.js";
|
|
4
|
+
import { J as oe, F as ne } from "./jszip.min-C2aY4t8L.js";
|
|
5
|
+
import { u as q, D as G, A as I, e as H, G as O, B as ae, H as N, I as B } from "./menu-CAVt_lFp.js";
|
|
6
6
|
import { useCoreStore as re, useI18n as se } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as j, useDialogChild as ie, useSnackbar as J, useBreakpoints as le, FmButtonVariant as $, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
9
|
import { _ as ue, a as P } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
10
10
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
|
-
import { u as me, a as de } from "./menu-
|
|
12
|
-
import { u as pe } from "./item-
|
|
13
|
-
import { _ as A, a as fe } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { L as
|
|
15
|
-
import { _ as _e } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { m as ve } from "./toExcel-
|
|
11
|
+
import { u as me, a as de } from "./menu-DJkyk-fC.js";
|
|
12
|
+
import { u as pe } from "./item-vz-nrIWG.js";
|
|
13
|
+
import { _ as A, a as fe } from "./Product.vue_vue_type_script_setup_true_lang-BEHnUKcc.js";
|
|
14
|
+
import { L as R } from "./LinkProductSideSheet-DIvOzMB8.js";
|
|
15
|
+
import { _ as _e } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-0kXXOsyC.js";
|
|
16
|
+
import { m as ve } from "./toExcel-BvBlj-X5.js";
|
|
17
17
|
const ge = { class: "space-y-24 mb-24" }, be = ["innerHTML"], ye = { class: "flex justify-end gap-8" }, xe = /* @__PURE__ */ Y({
|
|
18
18
|
__name: "ConfirmActionDialog",
|
|
19
19
|
props: {
|
|
@@ -22,7 +22,7 @@ const ge = { class: "space-y-24 mb-24" }, be = ["innerHTML"], ye = { class: "fle
|
|
|
22
22
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
23
23
|
},
|
|
24
24
|
setup(F) {
|
|
25
|
-
const t = F, S = g(() => t.message.replace("[[value]]", t.value)), r =
|
|
25
|
+
const t = F, S = g(() => t.message.replace("[[value]]", t.value)), r = z(""), w = j(), { emitAction: x } = ie();
|
|
26
26
|
return (p, s) => {
|
|
27
27
|
const i = h("FmTextField"), f = h("FmButton"), b = h("FmForm");
|
|
28
28
|
return d(), y(b, {
|
|
@@ -65,7 +65,7 @@ const ge = { class: "space-y-24 mb-24" }, be = ["innerHTML"], ye = { class: "fle
|
|
|
65
65
|
}), ke = /* @__PURE__ */ Y({
|
|
66
66
|
__name: "Migrate",
|
|
67
67
|
setup(F) {
|
|
68
|
-
const t = q(), S = re(), r = J(), { minor: w } = G(r), x =
|
|
68
|
+
const t = q(), S = re(), r = J(), { minor: w } = G(r), x = z(!1), p = j();
|
|
69
69
|
async function s() {
|
|
70
70
|
i.value || x.value || p.open({
|
|
71
71
|
title: "Migrate to new version",
|
|
@@ -226,7 +226,7 @@ const ge = { class: "space-y-24 mb-24" }, be = ["innerHTML"], ye = { class: "fle
|
|
|
226
226
|
label: e(t)("menu.products.actions.add"),
|
|
227
227
|
"prepend-icon": "add",
|
|
228
228
|
onClick: o[0] || (o[0] = (n) => e(x).create(null))
|
|
229
|
-
}, null, 8, ["label"])) : p.value ? (d(), y(
|
|
229
|
+
}, null, 8, ["label"])) : p.value ? (d(), y(R, {
|
|
230
230
|
key: 1,
|
|
231
231
|
"categorized-items": e(s).linkableItems.value,
|
|
232
232
|
"initial-value": e(s).currentItems.value,
|
|
@@ -241,7 +241,7 @@ const ge = { class: "space-y-24 mb-24" }, be = ["innerHTML"], ye = { class: "fle
|
|
|
241
241
|
}, null, 8, ["label", "onClick"])
|
|
242
242
|
]),
|
|
243
243
|
_: 1
|
|
244
|
-
}, 8, ["categorized-items", "initial-value"])) : (d(), y(
|
|
244
|
+
}, 8, ["categorized-items", "initial-value"])) : (d(), y(R, {
|
|
245
245
|
key: 2,
|
|
246
246
|
"categorized-items": e(i).linkableItems.value,
|
|
247
247
|
"initial-value": e(i).currentItems.value,
|