@feedmepos/mf-menu 0.32.41-dev → 0.32.41-dev.2
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-BBcgfTlG.js → App-mCGGnjeS.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-OrSFDz8s.js → ApplyProduct.vue_vue_type_script_setup_true_lang-MWoYiClD.js} +3 -3
- package/dist/{Catalog-16-XsXPU.js → Catalog-CM2wnQ4l.js} +44 -44
- package/dist/{Category-CTntkYfO.js → Category-Bp9tGWwJ.js} +24 -24
- package/dist/{Category-CZGmamNx.js → Category-bsL9IQ5n.js} +24 -24
- package/dist/{CookingGuide-DbMIe9_K.js → CookingGuide-Cy0Kt6Ys.js} +105 -105
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-KbbZAmIv.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CX4s7NYy.js} +1 -1
- package/dist/{Group-DIIuJACV.js → Group-0hMArGNs.js} +1 -1
- package/dist/{Group-BZd7YYFK.js → Group-BKFZMvZg.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BrjgJ3NE.js → Group.vue_vue_type_script_setup_true_lang-st4plK2R.js} +18 -18
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DxjmWrLI.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-8zW2KIMn.js} +30 -30
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DOaMHGe_.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-UhuYuL-A.js} +2986 -2985
- package/dist/{Ingredient-Bmt5K9iD.js → Ingredient-CvE0xujL.js} +20 -20
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-GsuKEhFQ.js → InventoryBinding.vue_vue_type_script_setup_true_lang-iEhZ4_5G.js} +2 -2
- package/dist/{LinkProductSideSheet-bUXGmrKI.js → LinkProductSideSheet-CbppLDSB.js} +45 -45
- package/dist/{MenuSetting-BX0ptcTg.js → MenuSetting-CQ9HnQKx.js} +47 -47
- package/dist/{PrintRoute-Diwh3HTz.js → PrintRoute-Cc81zV6Q.js} +39 -39
- package/dist/{Product-Dujeig8N.js → Product-kFoTn7zI.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CYkZCser.js → Product.vue_vue_type_script_setup_true_lang-BVF9SBEL.js} +128 -128
- package/dist/{ProductInternalTools-klTjOQCE.js → ProductInternalTools-CwxPRqTy.js} +66 -66
- package/dist/Products-IBe-R8XN.js +334 -0
- package/dist/{Publish-NZPrvmyi.js → Publish-BE-PPNO8.js} +29 -29
- package/dist/{Recipe-Dlw0C6gW.js → Recipe-Ddts2It2.js} +24 -24
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CYx6T762.js → RuleView.vue_vue_type_script_setup_true_lang-DQjE4JRi.js} +295 -295
- package/dist/{Scheduler-DsQdgoLu.js → Scheduler-CqP0Ha2K.js} +11 -11
- package/dist/{ServingSequence-B9z8EaGP.js → ServingSequence-WpneAUiB.js} +44 -44
- package/dist/{Setting-ec0DdRF7.js → Setting-CNGZaUUT.js} +17 -17
- package/dist/{Subcategory-ChpQhSVG.js → Subcategory-BVN0OH_q.js} +51 -51
- package/dist/{Takeaway-D3FlVQp7.js → Takeaway-BtnGTcvW.js} +1 -1
- package/dist/{Takeaway-D4DEkAmo.js → Takeaway-LFslRotB.js} +13 -13
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DSao2Kxm.js → Takeaway.vue_vue_type_script_setup_true_lang-CJZfd5JB.js} +28 -28
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-Deu4-qaj.js → Thumbnail.vue_vue_type_script_setup_true_lang-CI8eK98T.js} +27 -27
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-Dglm0-9O.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CfA400oN.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DVJb9jBY.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-SNBrW4Or.js} +12 -12
- package/dist/{Unit-odR08MnE.js → Unit-kL0Wjfb6.js} +8 -8
- package/dist/{Variant-4KiJoM6w.js → Variant-Cj82yGYE.js} +24 -24
- package/dist/{_id_-Catkkx7h.js → _id_-B-guZ25K.js} +28 -28
- package/dist/app-D4se7Sr4.js +1643 -0
- package/dist/{app-Ba81wWHP.js → app-DiVDYcc9.js} +1 -1
- package/dist/app.js +2 -2
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-pcUpPyqX.js → linked-status-C4nECq-3.js} +2 -2
- package/dist/assets/{menu-export-jKixYJMZ.js → menu-export-PPICN1VA.js} +2 -2
- package/dist/assets/{override-menu-B7PRcoFy.js → override-menu-BaYdZfDk.js} +2 -2
- package/dist/assets/{validate-menu-BP-GZf3a.js → validate-menu-DCyVSa7R.js} +2 -2
- package/dist/{catalog-DzVVQnuB.js → catalog-BTsgJdVe.js} +1 -1
- package/dist/{catalogSetting-CVpP5Ffj.js → catalogSetting-BNYPChMH.js} +1 -1
- package/dist/{currency-BvFATAPr.js → currency-2KuoTCt5.js} +1 -1
- package/dist/dayjs.min-BE8PtbAQ.js +7 -0
- package/dist/{index-DX-MOpoZ.js → index-GaHNc4iH.js} +43 -43
- package/dist/{index-BxTVwMqI.js → index-UthDVOpX.js} +31 -31
- package/dist/{index-CLbcP_tB.js → index-fLVJt8Pt.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-kAgODQk6.js → index.vue_vue_type_script_setup_true_lang-CsnEYmWv.js} +242 -267
- package/dist/{item-DybTsHw-.js → item-DYsNPLH9.js} +14 -14
- package/dist/{jszip.min-BqfTPXF5.js → jszip.min-CLQSAAHL.js} +388 -387
- package/dist/{menu-DM97MTPH.js → menu-Btb1sPTh.js} +1 -1
- package/dist/{menuV2-MAWvzZYI.js → menuV2-Bfj5ljzI.js} +71 -71
- package/dist/{priceTier-DtbwffZ8.js → priceTier-DHp_DiBo.js} +1 -1
- package/dist/{rules-DjL44XM2.js → rules-B5QEx6OC.js} +11 -11
- package/dist/{scheduler-DdfAPCOy.js → scheduler-CI-LJfho.js} +29 -29
- package/dist/{toExcel-Bj7g8zi5.js → toExcel-CHdQxEnw.js} +2 -2
- package/dist/{unit-SsjSaoZy.js → unit-D53f5n16.js} +35 -35
- package/package.json +2 -1
- package/dist/Products-DrWglbo9.js +0 -291
- package/dist/app-DmWoLe5_.js +0 -363
- package/dist/dayjs.min-BdQPTGQm.js +0 -6
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as Z, computed as v, resolveComponent as M, createBlock as U, openBlock as m, withCtx as D, createElementBlock as C, Fragment as T, renderList as ne, createElementVNode as p, normalizeClass as X, toDisplayString as G, createVNode as i, ref as R, renderSlot as Ee, unref as r, createCommentVNode as I, watch as Re, h as H, mergeProps as Se, createSlots as Ie, withModifiers as Ue, isRef as W, nextTick as fe } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { H as q, u as le, O as Te, B as $e, y as g, A as Ye, a2 as Le, z as ze, J as je } from "./index.vue_vue_type_script_setup_true_lang-CsnEYmWv.js";
|
|
3
3
|
import { d as Be } from "./vuedraggable-CK8z7qA8.js";
|
|
4
4
|
import { b as ve, H as Ke } from "./app-5fxKLAzS.js";
|
|
5
5
|
import { useI18n as ae, useCoreStore as He, useCustomAttributes as qe } from "@feedmepos/mf-common";
|
|
6
|
-
import { useBreakpoints as ye, components as _e, useSnackbar as
|
|
7
|
-
import { _ as Xe, a as Ze } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as et } from "./app-
|
|
6
|
+
import { useBreakpoints as ye, components as _e, useSnackbar as Je, useDialog as Qe, FmButtonVariant as We } from "@feedmepos/ui-library";
|
|
7
|
+
import { _ as Xe, a as Ze } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-CX4s7NYy.js";
|
|
8
|
+
import { _ as et } from "./app-D4se7Sr4.js";
|
|
9
9
|
import { _ as tt, a as ot } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
10
10
|
import { c as nt } from "./object-DVUNCr7w.js";
|
|
11
11
|
import { u as lt } from "./discardConfirm-BHni0LNu.js";
|
|
12
|
-
import { _ as at } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as at } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-MWoYiClD.js";
|
|
13
13
|
import { c as rt } from "./check-C9mY6LiX.js";
|
|
14
|
-
import { M as ge, D as ut, E as st, B as it, j as ct, l as mt, r as pt } from "./item-
|
|
14
|
+
import { M as ge, D as ut, E as st, B as it, j as ct, l as mt, r as pt } from "./item-DYsNPLH9.js";
|
|
15
15
|
import { u as dt } from "./search-BAPEUu1R.js";
|
|
16
|
-
import { C as ft } from "./catalog-
|
|
17
|
-
import { c as vt } from "./menuV2-
|
|
16
|
+
import { C as ft } from "./catalog-BTsgJdVe.js";
|
|
17
|
+
import { c as vt } from "./menuV2-Bfj5ljzI.js";
|
|
18
18
|
import { g as gt } from "./translation-Cdap0IVg.js";
|
|
19
19
|
const yt = /* @__PURE__ */ Z({
|
|
20
20
|
__name: "ResponsiveContextMenu",
|
|
@@ -93,10 +93,10 @@ const yt = /* @__PURE__ */ Z({
|
|
|
93
93
|
rt.isBoolean(F) ? h.value = F : h.value = !h.value, h.value && (f.value = u.initialValue.map((_) => ({ _id: _ })));
|
|
94
94
|
}, x = le();
|
|
95
95
|
return (F, _) => {
|
|
96
|
-
const b = M("fm-button"),
|
|
96
|
+
const b = M("fm-button"), J = M("fm-side-sheet");
|
|
97
97
|
return m(), C(T, null, [
|
|
98
98
|
Ee(F.$slots, "default", { trigger: A }),
|
|
99
|
-
i(
|
|
99
|
+
i(J, {
|
|
100
100
|
id: "group-form",
|
|
101
101
|
modelValue: h.value,
|
|
102
102
|
"onUpdate:modelValue": _[1] || (_[1] = (N) => h.value = N),
|
|
@@ -208,11 +208,11 @@ const yt = /* @__PURE__ */ Z({
|
|
|
208
208
|
setup(L, {
|
|
209
209
|
emit: S
|
|
210
210
|
}) {
|
|
211
|
-
const u = le(), E = He(), V =
|
|
211
|
+
const u = le(), E = He(), V = Je(), k = Te($e(V)), f = Qe(), y = v(() => u.rules.group), h = v(() => new ge(u, k.updateMenu, f)), A = v(() => h.value.mapGroups(u.groups, !1)), {
|
|
212
212
|
searchKey: x,
|
|
213
213
|
filter: F
|
|
214
214
|
} = dt(), _ = R(!1), b = R(null), {
|
|
215
|
-
attributes:
|
|
215
|
+
attributes: J,
|
|
216
216
|
filterRule: N,
|
|
217
217
|
mongoQuery: re
|
|
218
218
|
} = qe({
|
|
@@ -523,9 +523,9 @@ const yt = /* @__PURE__ */ Z({
|
|
|
523
523
|
} = ae(), Ve = v(() => {
|
|
524
524
|
var t;
|
|
525
525
|
return ((t = E.groupAttributeSettings) == null ? void 0 : t.value.length) > 0;
|
|
526
|
-
}), K = R(!1),
|
|
526
|
+
}), K = R(!1), Q = R(null);
|
|
527
527
|
async function Ne() {
|
|
528
|
-
K.value = !K.value, K.value && (await fe(),
|
|
528
|
+
K.value = !K.value, K.value && (await fe(), Q.value && Q.value.toggleProperty(!0));
|
|
529
529
|
}
|
|
530
530
|
const de = () => y.value.multiScheduler ? i(Ze, null, {
|
|
531
531
|
append: () => Ve.value ? i("div", {
|
|
@@ -609,8 +609,8 @@ const yt = /* @__PURE__ */ Z({
|
|
|
609
609
|
_: 1
|
|
610
610
|
}, 8, ["modelValue"])) : I("", !0)]), K.value ? (m(), C("div", Vt, [i(r(ve), {
|
|
611
611
|
ref_key: "attributeFilterRef",
|
|
612
|
-
ref:
|
|
613
|
-
attributes: r(
|
|
612
|
+
ref: Q,
|
|
613
|
+
attributes: r(J),
|
|
614
614
|
modelValue: r(N),
|
|
615
615
|
"onUpdate:modelValue": e[15] || (e[15] = (o) => W(N) ? N.value = o : null)
|
|
616
616
|
}, null, 8, ["attributes", "modelValue"])])) : I("", !0), i(r(Be), {
|
|
@@ -667,8 +667,8 @@ const yt = /* @__PURE__ */ Z({
|
|
|
667
667
|
placeholder: r(l)("menu.group.search.placeholder")
|
|
668
668
|
}, null, 8, ["modelValue", "placeholder"])])]), K.value ? (m(), C("div", Mt, [i(r(ve), {
|
|
669
669
|
ref_key: "attributeFilterRef",
|
|
670
|
-
ref:
|
|
671
|
-
attributes: r(
|
|
670
|
+
ref: Q,
|
|
671
|
+
attributes: r(J),
|
|
672
672
|
modelValue: r(N),
|
|
673
673
|
"onUpdate:modelValue": e[7] || (e[7] = (o) => W(N) ? N.value = o : null)
|
|
674
674
|
}, null, 8, ["attributes", "modelValue"])])) : I("", !0), i(et, null, {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as N, useModel as K, computed as B, resolveComponent as d, createBlock as
|
|
1
|
+
import { defineComponent as N, useModel as K, computed as B, resolveComponent as d, createBlock as U, openBlock as b, ref as L, watch as W, withCtx as _, createElementBlock as F, createElementVNode as P, Fragment as q, renderList as X, createVNode as u, unref as e, createCommentVNode as $, withModifiers as Q, onMounted as te, renderSlot as le, toDisplayString as h, createTextVNode as ae } from "vue";
|
|
2
2
|
import { useI18n as z, useCustomAttributes as ue, useCoreStore as re, isEmptyRule as oe, EMPTY_RULE as w } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as x } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
4
|
-
import { u as D } from "./priceTier-
|
|
5
|
-
import { b as
|
|
6
|
-
import { FmButtonVariant as Z, useDialog as ne, components as ie, FmButtonColorThemeVariant as
|
|
7
|
-
import { m as
|
|
8
|
-
import { L as R } from "./catalogSetting-
|
|
9
|
-
import { L as de } from "./LinkProductSideSheet-
|
|
4
|
+
import { u as D } from "./priceTier-DHp_DiBo.js";
|
|
5
|
+
import { b as G } from "./app-5fxKLAzS.js";
|
|
6
|
+
import { FmButtonVariant as Z, useDialog as ne, components as ie, FmButtonColorThemeVariant as O } from "@feedmepos/ui-library";
|
|
7
|
+
import { m as j, f as Y, d as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-DQjE4JRi.js";
|
|
8
|
+
import { L as R } from "./catalogSetting-BNYPChMH.js";
|
|
9
|
+
import { L as de } from "./LinkProductSideSheet-CbppLDSB.js";
|
|
10
10
|
import { c as H } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { u as pe,
|
|
11
|
+
import { u as pe, G as J, ak as ce } from "./index.vue_vue_type_script_setup_true_lang-CsnEYmWv.js";
|
|
12
12
|
import { c as ve } from "./string-DpfFixWH.js";
|
|
13
13
|
const fe = /* @__PURE__ */ N({
|
|
14
14
|
__name: "LinkPriceTier",
|
|
@@ -24,7 +24,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
24
24
|
})));
|
|
25
25
|
return (V, g) => {
|
|
26
26
|
const i = d("FmSelect");
|
|
27
|
-
return b(),
|
|
27
|
+
return b(), U(i, {
|
|
28
28
|
items: a.value,
|
|
29
29
|
"model-value": r.value ?? [],
|
|
30
30
|
multiselect: !0,
|
|
@@ -53,8 +53,8 @@ const fe = /* @__PURE__ */ N({
|
|
|
53
53
|
return {
|
|
54
54
|
...l,
|
|
55
55
|
restaurantRule: {
|
|
56
|
-
restaurantAttributes:
|
|
57
|
-
restaurantCustomAttributes:
|
|
56
|
+
restaurantAttributes: j((p = l.restaurantRule) == null ? void 0 : p.restaurantAttributes),
|
|
57
|
+
restaurantCustomAttributes: j((c = l.restaurantRule) == null ? void 0 : c.restaurantCustomAttributes)
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
}));
|
|
@@ -101,13 +101,13 @@ const fe = /* @__PURE__ */ N({
|
|
|
101
101
|
}
|
|
102
102
|
return (l, p) => {
|
|
103
103
|
const c = d("FmSelect"), n = d("fm-button"), v = d("FmCard"), E = d("FmButton");
|
|
104
|
-
return b(),
|
|
105
|
-
default: _(() => [(b(!0), F(q, null, X(o.value, (M, S) => (b(),
|
|
104
|
+
return b(), U(me, null, {
|
|
105
|
+
default: _(() => [(b(!0), F(q, null, X(o.value, (M, S) => (b(), U(v, {
|
|
106
106
|
key: S,
|
|
107
107
|
class: "p-16 space-y-16",
|
|
108
108
|
variant: "outlined"
|
|
109
109
|
}, {
|
|
110
|
-
default: _(() => [
|
|
110
|
+
default: _(() => [P("div", null, [u(c, {
|
|
111
111
|
label: "Price groups",
|
|
112
112
|
"label-mark": "required",
|
|
113
113
|
items: s.value,
|
|
@@ -119,7 +119,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
119
119
|
}, {
|
|
120
120
|
default: _(() => {
|
|
121
121
|
var f;
|
|
122
|
-
return [u(e(
|
|
122
|
+
return [u(e(G), {
|
|
123
123
|
attributes: e(g),
|
|
124
124
|
"model-value": (f = M.restaurantRule) == null ? void 0 : f.restaurantAttributes,
|
|
125
125
|
"onUpdate:modelValue": (C) => i(S, C, "restaurantAttributes")
|
|
@@ -131,20 +131,20 @@ const fe = /* @__PURE__ */ N({
|
|
|
131
131
|
}, {
|
|
132
132
|
default: _(() => {
|
|
133
133
|
var f;
|
|
134
|
-
return [u(e(
|
|
134
|
+
return [u(e(G), {
|
|
135
135
|
attributes: e(V),
|
|
136
136
|
"model-value": (f = M.restaurantRule) == null ? void 0 : f.restaurantCustomAttributes,
|
|
137
137
|
"onUpdate:modelValue": (C) => i(S, C, "restaurantCustomAttributes")
|
|
138
138
|
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
|
|
139
139
|
}),
|
|
140
140
|
_: 2
|
|
141
|
-
}, 1032, ["label"]),
|
|
141
|
+
}, 1032, ["label"]), P("div", _e, [u(n, {
|
|
142
142
|
variant: e(Z).Tertiary,
|
|
143
143
|
"prepend-icon": "delete",
|
|
144
144
|
onClick: (f) => A(S)
|
|
145
145
|
}, null, 8, ["variant", "onClick"])])]),
|
|
146
146
|
_: 2
|
|
147
|
-
}, 1024))), 128)),
|
|
147
|
+
}, 1024))), 128)), P("div", null, [u(E, {
|
|
148
148
|
label: "Add rule",
|
|
149
149
|
onClick: t
|
|
150
150
|
})])]),
|
|
@@ -178,7 +178,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
178
178
|
}
|
|
179
179
|
return (s, t) => {
|
|
180
180
|
const A = d("fm-radio"), k = d("fm-radio-group");
|
|
181
|
-
return !s.isMainCatalog && s.isV4 && e(V).priceTiers.value.length > 0 ? (b(),
|
|
181
|
+
return !s.isMainCatalog && s.isV4 && e(V).priceTiers.value.length > 0 ? (b(), U(x, {
|
|
182
182
|
key: 0,
|
|
183
183
|
label: e(a)("menu.price_tier.link_price_tier")
|
|
184
184
|
}, {
|
|
@@ -298,7 +298,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
298
298
|
le(n.$slots, "default", { trigger: s }),
|
|
299
299
|
u(ee, {
|
|
300
300
|
modelValue: i.value,
|
|
301
|
-
"onUpdate:modelValue": v[4] || (v[4] = (
|
|
301
|
+
"onUpdate:modelValue": v[4] || (v[4] = (I) => i.value = I),
|
|
302
302
|
"is-component": e(ie).FmForm,
|
|
303
303
|
"is-component-props": {
|
|
304
304
|
onValidationSuccess: c
|
|
@@ -312,7 +312,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
312
312
|
class: "sm:w-full xs:w-full ml-auto",
|
|
313
313
|
label: "Cancel",
|
|
314
314
|
variant: "tertiary",
|
|
315
|
-
onClick: v[3] || (v[3] = (
|
|
315
|
+
onClick: v[3] || (v[3] = (I) => s(!1))
|
|
316
316
|
}),
|
|
317
317
|
u(C, {
|
|
318
318
|
label: e(ve)(n.action),
|
|
@@ -323,9 +323,9 @@ const fe = /* @__PURE__ */ N({
|
|
|
323
323
|
}, null, 8, ["label"])
|
|
324
324
|
]),
|
|
325
325
|
default: _(() => {
|
|
326
|
-
var
|
|
326
|
+
var I;
|
|
327
327
|
return [
|
|
328
|
-
|
|
328
|
+
P("div", ge, [
|
|
329
329
|
u(M, {
|
|
330
330
|
modelValue: t.value.percentage,
|
|
331
331
|
"onUpdate:modelValue": v[0] || (v[0] = (m) => t.value.percentage = m),
|
|
@@ -343,7 +343,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
343
343
|
]),
|
|
344
344
|
_: 1
|
|
345
345
|
}, 8, ["modelValue", "rules", "label", "placeholder"]),
|
|
346
|
-
|
|
346
|
+
P("div", null, [
|
|
347
347
|
u(f, {
|
|
348
348
|
modelValue: k.value,
|
|
349
349
|
"onUpdate:modelValue": [
|
|
@@ -353,7 +353,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
353
353
|
class: "space-y-8"
|
|
354
354
|
}, {
|
|
355
355
|
default: _(() => [
|
|
356
|
-
(b(!0), F(q, null, X(p.value, (m) => (b(),
|
|
356
|
+
(b(!0), F(q, null, X(p.value, (m) => (b(), U(S, {
|
|
357
357
|
key: m.value,
|
|
358
358
|
label: m.label,
|
|
359
359
|
value: m.value
|
|
@@ -361,7 +361,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
361
361
|
]),
|
|
362
362
|
_: 1
|
|
363
363
|
}, 8, ["modelValue"]),
|
|
364
|
-
|
|
364
|
+
P("div", ke, [
|
|
365
365
|
u(de, {
|
|
366
366
|
title: "Link products",
|
|
367
367
|
"categorized-items": e(o).categorizedItems,
|
|
@@ -370,10 +370,10 @@ const fe = /* @__PURE__ */ N({
|
|
|
370
370
|
onSubmit: v[2] || (v[2] = ({ items: m }) => A(m))
|
|
371
371
|
}, {
|
|
372
372
|
default: _(({ trigger: m }) => [
|
|
373
|
-
k.value === 1 ? (b(),
|
|
373
|
+
k.value === 1 ? (b(), U(C, {
|
|
374
374
|
key: 0,
|
|
375
|
-
"text-color": e(
|
|
376
|
-
"border-color": e(
|
|
375
|
+
"text-color": e(O).ColorPrimary,
|
|
376
|
+
"border-color": e(O).ColorPrimary,
|
|
377
377
|
variant: e(Z).Secondary,
|
|
378
378
|
label: e(a)("menu.markup.dialog.products.link"),
|
|
379
379
|
"prepend-icon": "link",
|
|
@@ -382,7 +382,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
382
382
|
]),
|
|
383
383
|
_: 1
|
|
384
384
|
}, 8, ["categorized-items", "initial-value"]),
|
|
385
|
-
(
|
|
385
|
+
(I = t.value.includeItems) != null && I.length ? (b(), F("p", Ve, h(e(a)("menu.markup.dialog.products.count", { count: t.value.includeItems.length })), 1)) : $("", !0)
|
|
386
386
|
])
|
|
387
387
|
])
|
|
388
388
|
])
|