@feedmepos/mf-menu 0.32.15 → 0.32.17-dev
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-BFUyUrdi.js → App-CS86owo3.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BbjRIN7Z.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DaUTgTs_.js} +3 -3
- package/dist/{Catalog-B6VFmr6e.js → Catalog-DRNhdGGD.js} +6 -6
- package/dist/{Category-C8uGxpST.js → Category-BNhbD0VA.js} +6 -6
- package/dist/{Category-B-bTjNFI.js → Category-mS09ECzt.js} +4 -4
- package/dist/{CookingGuide-BL3uetlO.js → CookingGuide-CtE-ueBG.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-8yIVwc8E.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DCbTamf9.js} +1 -1
- package/dist/{Group-BvO-gQZe.js → Group-CsurQlC9.js} +1 -1
- package/dist/{Group-DT9UkkOx.js → Group-D2RLkrxZ.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DZhM1Tpb.js → Group.vue_vue_type_script_setup_true_lang-Chq5Pcnw.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D48u_DHq.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Ch9xYGvB.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C_X-lTnN.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DTKmyt73.js} +5056 -5055
- package/dist/{Ingredient-7qWDD9e6.js → Ingredient-Civo_6ts.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CwjW0wfz.js → InventoryBinding.vue_vue_type_script_setup_true_lang-LDadxBhp.js} +1052 -1052
- package/dist/{LinkProductSideSheet-BXW6eNgZ.js → LinkProductSideSheet-8NK_5ryH.js} +3 -3
- package/dist/{MenuSetting-BSF7O2NL.js → MenuSetting-BnPspVfy.js} +5 -5
- package/dist/{PrintRoute-b1ii5Uz9.js → PrintRoute-WToP4QnZ.js} +4 -4
- package/dist/{Product-Ce0GJb3c.js → Product-D2pWNPhP.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BZVvTAOX.js → Product.vue_vue_type_script_setup_true_lang-Cq42j791.js} +12 -12
- package/dist/{ProductInternalTools-igbOLRap.js → ProductInternalTools-DzzhanaE.js} +5 -5
- package/dist/{Products-GAyUdhnN.js → Products-J9XiGz-3.js} +102 -103
- package/dist/{Publish-g60odzhM.js → Publish-B0KcuZAD.js} +3 -3
- package/dist/{Recipe-B6aye_iC.js → Recipe-C0hVFbp4.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-By8kwuMB.js → RuleView.vue_vue_type_script_setup_true_lang-CpNKX-sg.js} +2 -2
- package/dist/{Scheduler-CyaG6Y5v.js → Scheduler-DsWzD3qp.js} +3 -3
- package/dist/{ServingSequence-BXeypgrN.js → ServingSequence-BvBJtPsT.js} +3 -3
- package/dist/{Setting-D7GcaNTk.js → Setting-lZyb72vf.js} +5 -5
- package/dist/{Subcategory-DNUp9ojI.js → Subcategory-BdPHqNYT.js} +4 -4
- package/dist/{Takeaway-Baqvq5nP.js → Takeaway-1-_pOBc_.js} +4 -4
- package/dist/{Takeaway-BjXPeYRv.js → Takeaway-BGGKoWV5.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CgXT2UVL.js → Takeaway.vue_vue_type_script_setup_true_lang-yDE3yWDr.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CX8cSbDe.js → Thumbnail.vue_vue_type_script_setup_true_lang-h9yZ2fAu.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DcjGVQEO.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C3q_7RGw.js} +147 -141
- package/dist/{Unit-mI7lLzCf.js → Unit-DnWI2GGt.js} +2 -2
- package/dist/{Variant-CVwnODRz.js → Variant-CBIO_Py6.js} +3 -3
- package/dist/{_id_-fpn0nBru.js → _id_-CWZxFATG.js} +9 -9
- package/dist/{app-CCKI85Te.js → app-BoMEYIIR.js} +26 -26
- package/dist/{app-U5MEN4U1.js → app-DQFmgarT.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +1 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-6Jt70XBp.js → linked-status-HhBW6D7W.js} +2 -2
- package/dist/assets/{menu-export-CR0a98CA.js → menu-export-qkOR6zu5.js} +3 -3
- package/dist/assets/{override-menu-Chsc0CSI.js → override-menu-ClYLJDqA.js} +2 -2
- package/dist/assets/{validate-menu-pb0aN4gj.js → validate-menu-WQ3U3WZa.js} +2 -2
- package/dist/{catalog-BgQmytEA.js → catalog-DDqEdble.js} +1 -1
- package/dist/{catalogSetting-BS5IaQKq.js → catalogSetting-CCmJsXTh.js} +1 -1
- package/dist/{category-DJMVbmzx.js → category-Dx7d5TEa.js} +1 -1
- package/dist/{currency-FHrLDvzy.js → currency-CM1RnQcP.js} +1 -1
- package/dist/{dayjs.min-DJGdQr-B.js → dayjs.min-Dk58BsuL.js} +1 -1
- package/dist/{index-BywPDIFW.js → index-CEen9P1H.js} +4 -4
- package/dist/{index-DYxLHjeC.js → index-Mlze1KnJ.js} +1 -1
- package/dist/{index-XVWDnyu-.js → index-mCZY4RLs.js} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-kj6HkxwD.js → index.vue_vue_type_script_setup_true_lang-CvDwvRNY.js} +284 -284
- package/dist/{item-cmnP2N-a.js → item-va1GmngO.js} +96 -90
- package/dist/{jszip.min-psVCZNVl.js → jszip.min-BwKJLdao.js} +353 -353
- package/dist/{menu-CgQPOu3W.js → menu-C8VGzuie.js} +1 -1
- package/dist/{menuV2-DHO9OmzU.js → menuV2-t3v9Mt48.js} +86 -86
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-CLm9vzaK.js → priceTier-CfMNR5R4.js} +1 -1
- package/dist/{scheduler-BMdZdtpj.js → scheduler-Br2nYK4b.js} +4 -4
- package/dist/{subcategory-Dj_DOvFt.js → subcategory-D9UJvB3z.js} +2 -2
- package/dist/{toExcel-XwFFiTiA.js → toExcel-BdhvLkrS.js} +2 -2
- package/dist/{unit-CsuAQsy7.js → unit-DfSNL7du.js} +2 -2
- package/package.json +2 -2
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { defineStore as Oi } from "pinia";
|
|
2
|
-
import { defineComponent as me, resolveComponent as N, createElementBlock as te, createBlock as j, openBlock as O, createElementVNode as V, createVNode as b, toDisplayString as de, Fragment as Ae, renderList as Ue, h as Se, ref as ee, computed as F, watch as xe, unref as h, renderSlot as ve, withCtx as P, createCommentVNode as
|
|
3
|
-
import { M as Ce, A as G, al as Rn, an as An, Z as Mn, I as ue, D as Ie, B as ke, V as Ti, u as be, J as Ve, G as Xe, Q as qe, R as On, T as Fn, U as zn, W as Ot, af as In, O as En, N as hi } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { defineComponent as me, resolveComponent as N, createElementBlock as te, createBlock as j, openBlock as O, createElementVNode as V, createVNode as b, toDisplayString as de, Fragment as Ae, renderList as Ue, h as Se, ref as ee, computed as F, watch as xe, unref as h, renderSlot as ve, withCtx as P, createCommentVNode as ne, Transition as bn, normalizeClass as Oe, resolveDynamicComponent as wt, withDirectives as ut, vShow as St, mergeProps as Fi, withModifiers as Ct, onMounted as ot, onUnmounted as yn, createTextVNode as Pt, resolveDirective as zi, getCurrentInstance as Ii, markRaw as _n, render as Vt, mergeModels as wn, useModel as Sn, nextTick as Ei, normalizeProps as Cn, guardReactiveProps as kn, normalizeStyle as xn } from "vue";
|
|
3
|
+
import { M as Ce, A as G, al as Rn, an as An, Z as Mn, I as ue, D as Ie, B as ke, V as Ti, u as be, J as Ve, G as Xe, Q as qe, R as On, T as Fn, U as zn, W as Ot, af as In, O as En, N as hi } from "./index.vue_vue_type_script_setup_true_lang-CvDwvRNY.js";
|
|
4
4
|
import { useI18n as he, useCoreStore as mt, CustomAttributesForm as Di } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as Ne, useSnackbar as Ee, components as Re, FmButtonColorThemeVariant as Ke, FmButtonVariant as Ze, useBreakpoints as Pi, useDialogChild as Vi } from "@feedmepos/ui-library";
|
|
6
|
-
import { C as je } from "./catalog-
|
|
6
|
+
import { C as je } from "./catalog-DDqEdble.js";
|
|
7
7
|
import { c as Tn } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
8
8
|
import { a as fi, _ as Ui } from "./tooltip-B5BiPMx9.js";
|
|
9
|
-
import { H as Dn, L as Pn } from "./LinkProductSideSheet-
|
|
10
|
-
import { e as Vn, _ as Be, a as Un } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { H as Dn, L as Pn } from "./LinkProductSideSheet-8NK_5ryH.js";
|
|
10
|
+
import { e as Vn, _ as Be, a as Un } from "./RuleView.vue_vue_type_script_setup_true_lang-CpNKX-sg.js";
|
|
11
11
|
import { s as Ut, F as $n, _ as Nn } from "./index-CisutoS9.js";
|
|
12
|
-
import { a as Bn } from "./app-
|
|
12
|
+
import { a as Bn } from "./app-BoMEYIIR.js";
|
|
13
13
|
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
import { g as $i, b as Ln, c as Gn, a as Kn, m as jn } from "./menuV2-
|
|
14
|
+
import { g as $i, b as Ln, c as Gn, a as Kn, m as jn } from "./menuV2-t3v9Mt48.js";
|
|
15
15
|
import { useAppStore as Yt, RemyButton as Ni } from "@feedmepos/mf-remy-panel";
|
|
16
16
|
import { _ as Ye } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
17
|
-
import { u as Wn } from "./subcategory-
|
|
18
|
-
import { u as Yn } from "./category-
|
|
17
|
+
import { u as Wn } from "./subcategory-D9UJvB3z.js";
|
|
18
|
+
import { u as Yn } from "./category-Dx7d5TEa.js";
|
|
19
19
|
import { u as Ht } from "./discardConfirm-BHni0LNu.js";
|
|
20
|
-
import { _ as et, l as $t, T as Hn } from "./index-
|
|
20
|
+
import { _ as et, l as $t, T as Hn } from "./index-CEen9P1H.js";
|
|
21
21
|
import { useInventoryStore as Bi, InventoryBindingForm as Xn, InventoryBindingSummary as qn } from "@feedmepos/mf-inventory-portal";
|
|
22
22
|
import { c as pt } from "./check-C9mY6LiX.js";
|
|
23
23
|
import { c as Zn } from "./object-DVUNCr7w.js";
|
|
24
|
-
import { f as at } from "./currency-
|
|
25
|
-
import { u as Li } from "./priceTier-
|
|
24
|
+
import { f as at } from "./currency-CM1RnQcP.js";
|
|
25
|
+
import { u as Li } from "./priceTier-CfMNR5R4.js";
|
|
26
26
|
import { u as Qn } from "./search-BAPEUu1R.js";
|
|
27
27
|
import { c as Jn } from "./string-DpfFixWH.js";
|
|
28
28
|
import { d as Gi } from "./vuedraggable-CK8z7qA8.js";
|
|
29
|
-
import { _ as eo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
30
|
-
import { V as vi } from "./index-
|
|
29
|
+
import { _ as eo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DaUTgTs_.js";
|
|
30
|
+
import { V as vi } from "./index-mCZY4RLs.js";
|
|
31
31
|
class yt {
|
|
32
32
|
constructor(i, t, n, a) {
|
|
33
33
|
this.scheduler = i, this.menuStore = t, this.updateMenu = n, this.dialog = a;
|
|
@@ -665,7 +665,7 @@ const oo = {
|
|
|
665
665
|
V("div", fo, [
|
|
666
666
|
V("div", vo, [
|
|
667
667
|
V("p", go, de(n.title), 1),
|
|
668
|
-
n.description ? (O(), te("p", bo, de(n.description), 1)) :
|
|
668
|
+
n.description ? (O(), te("p", bo, de(n.description), 1)) : ne("", !0)
|
|
669
669
|
]),
|
|
670
670
|
b(o, {
|
|
671
671
|
"model-value": n.toggle,
|
|
@@ -676,7 +676,7 @@ const oo = {
|
|
|
676
676
|
default: P(() => [
|
|
677
677
|
n.toggle ? (O(), te("div", yo, [
|
|
678
678
|
ve(n.$slots, "default", {}, void 0, !0)
|
|
679
|
-
])) :
|
|
679
|
+
])) : ne("", !0)
|
|
680
680
|
]),
|
|
681
681
|
_: 3
|
|
682
682
|
})
|
|
@@ -882,7 +882,7 @@ const Mo = /* @__PURE__ */ it(xo, [["render", Ao]]), Oo = { class: "flex flex-co
|
|
|
882
882
|
removable: "",
|
|
883
883
|
onChipClosed: s
|
|
884
884
|
}, null, 8, ["disabled", "items"])
|
|
885
|
-
])) :
|
|
885
|
+
])) : ne("", !0)
|
|
886
886
|
]);
|
|
887
887
|
};
|
|
888
888
|
}
|
|
@@ -2259,7 +2259,7 @@ var ca = ["transitions"], Ge = Te("vue-advanced-cropper"), cn = { name: "Cropper
|
|
|
2259
2259
|
cn.render = function(e, i, t, n, a, o) {
|
|
2260
2260
|
return O(), j("div", { ref: "cropper", class: o.classes.cropper }, [b("div", { ref: "stretcher", class: o.classes.stretcher }, null, 2), b("div", { class: o.classes.boundaries, style: o.boundariesStyle }, [(O(), j(wt(t.backgroundWrapperComponent), { class: o.classes.cropperWrapper, "wheel-resize": o.settings.resizeImage.wheel, "touch-resize": o.settings.resizeImage.touch, "touch-move": o.settings.moveImage.touch, "mouse-move": o.settings.moveImage.mouse, onMove: o.onManipulateImage, onResize: o.onManipulateImage }, { default: P(function() {
|
|
2261
2261
|
return [b("div", { class: o.classes.background, style: o.boundariesStyle }, null, 6), b("div", { class: o.classes.imageWrapper }, [b("img", { ref: "image", crossorigin: a.imageAttributes.crossOrigin, src: a.imageAttributes.src, class: o.classes.image, style: o.imageStyle, onMousedown: i[1] || (i[1] = Ct(function() {
|
|
2262
|
-
}, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), b("div", { class: o.classes.foreground, style: o.boundariesStyle }, null, 6), ut((O(), j(wt(t.stencilComponent), Fi({ ref: "stencil", image: o.image, coordinates: a.coordinates, "stencil-coordinates": o.stencilCoordinates, transitions: o.transitionsOptions }, t.stencilProps, { onResize: o.onResize, onResizeEnd: o.onResizeEnd, onMove: o.onMove, onMoveEnd: o.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[St, a.imageLoaded]]), t.canvas ? (O(), j("canvas", da, null, 512)) :
|
|
2262
|
+
}, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), b("div", { class: o.classes.foreground, style: o.boundariesStyle }, null, 6), ut((O(), j(wt(t.stencilComponent), Fi({ ref: "stencil", image: o.image, coordinates: a.coordinates, "stencil-coordinates": o.stencilCoordinates, transitions: o.transitionsOptions }, t.stencilProps, { onResize: o.onResize, onResizeEnd: o.onResizeEnd, onMove: o.onMove, onMoveEnd: o.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[St, a.imageLoaded]]), t.canvas ? (O(), j("canvas", da, null, 512)) : ne("", !0), t.canvas ? (O(), j("canvas", ma, null, 512)) : ne("", !0)];
|
|
2263
2263
|
}), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
|
|
2264
2264
|
};
|
|
2265
2265
|
function ei(e, i) {
|
|
@@ -2398,7 +2398,7 @@ const fa = {
|
|
|
2398
2398
|
name: "auto_awesome",
|
|
2399
2399
|
size: "sm"
|
|
2400
2400
|
})
|
|
2401
|
-
])) :
|
|
2401
|
+
])) : ne("", !0)
|
|
2402
2402
|
])
|
|
2403
2403
|
])
|
|
2404
2404
|
])
|
|
@@ -2635,7 +2635,7 @@ const fa = {
|
|
|
2635
2635
|
removable: "",
|
|
2636
2636
|
onChipClosed: p
|
|
2637
2637
|
}, null, 8, ["disabled", "items"])
|
|
2638
|
-
])) :
|
|
2638
|
+
])) : ne("", !0)
|
|
2639
2639
|
]);
|
|
2640
2640
|
};
|
|
2641
2641
|
}
|
|
@@ -2817,10 +2817,10 @@ const ja = /* @__PURE__ */ me({
|
|
|
2817
2817
|
"model-value": g.form.code,
|
|
2818
2818
|
placeholder: ((oe = g.fallback) == null ? void 0 : oe.code) || h(z)("menu.product.form.detail.fields.code.placeholder"),
|
|
2819
2819
|
label: h(z)("menu.product.form.detail.fields.code.label"),
|
|
2820
|
-
rules: [(
|
|
2820
|
+
rules: [(ie) => M.value === 0 || h(z)("menu.product.form.detail.fields.code.duplicate_warning", {
|
|
2821
2821
|
count: M.value
|
|
2822
2822
|
})],
|
|
2823
|
-
"onUpdate:modelValue": C[0] || (C[0] = (
|
|
2823
|
+
"onUpdate:modelValue": C[0] || (C[0] = (ie) => c("update:form", "code", h(dn)(ie, g.isOverride)))
|
|
2824
2824
|
}, null, 8, ["model-value", "placeholder", "label", "rules"])]), V("div", Pa, [b(W, {
|
|
2825
2825
|
id: "product-name",
|
|
2826
2826
|
disabled: !m.value.name,
|
|
@@ -2829,16 +2829,16 @@ const ja = /* @__PURE__ */ me({
|
|
|
2829
2829
|
}) : void 0,
|
|
2830
2830
|
"model-value": g.form.name,
|
|
2831
2831
|
placeholder: (ce = g.fallback) == null ? void 0 : ce.name,
|
|
2832
|
-
rules: m.value.name ? [(
|
|
2832
|
+
rules: m.value.name ? [(ie) => !!ie || h(z)("menu.product.form.detail.fields.name.required")] : void 0,
|
|
2833
2833
|
"label-mark": "required",
|
|
2834
2834
|
autofocus: "",
|
|
2835
2835
|
label: h(z)("menu.product.form.detail.fields.name.label"),
|
|
2836
|
-
"onUpdate:modelValue": C[1] || (C[1] = (
|
|
2836
|
+
"onUpdate:modelValue": C[1] || (C[1] = (ie) => c("update:form", "name", ie))
|
|
2837
2837
|
}, null, 8, ["disabled", "helper-text", "model-value", "placeholder", "rules", "label"])])]), V("div", Va, [b(ae, {
|
|
2838
2838
|
disabled: !m.value.description,
|
|
2839
2839
|
"model-value": g.form.description || void 0,
|
|
2840
2840
|
placeholder: h(z)("menu.product.form.detail.fields.description.placeholder"),
|
|
2841
|
-
"onUpdate:modelValue": C[2] || (C[2] = (
|
|
2841
|
+
"onUpdate:modelValue": C[2] || (C[2] = (ie) => c("update:form", "description", ie.trim())),
|
|
2842
2842
|
class: "description"
|
|
2843
2843
|
}, {
|
|
2844
2844
|
label: P(() => [V("p", Ua, [Pt(de(h(z)("menu.product.form.detail.fields.description.label")) + " ", 1), V("span", $a, de(h(z)("menu.product.form.detail.fields.description.optional")), 1)])]),
|
|
@@ -2849,9 +2849,9 @@ const ja = /* @__PURE__ */ me({
|
|
|
2849
2849
|
}, null, 512), [[X, h(Ui)("Suggest description")]])])]), b(xa, {
|
|
2850
2850
|
disabled: !m.value.thumbnail,
|
|
2851
2851
|
"model-value": g.thumbnail,
|
|
2852
|
-
"onUpdate:modelValue": C[3] || (C[3] = (
|
|
2853
|
-
"onReset:modelValue": C[4] || (C[4] = (
|
|
2854
|
-
"onUpdate:trackingId": C[5] || (C[5] = (
|
|
2852
|
+
"onUpdate:modelValue": C[3] || (C[3] = (ie) => c("update:thumbnail", ie)),
|
|
2853
|
+
"onReset:modelValue": C[4] || (C[4] = (ie) => c("reset:thumbnail")),
|
|
2854
|
+
"onUpdate:trackingId": C[5] || (C[5] = (ie) => c("update:form", "_thumbnailTrackingId", ie))
|
|
2855
2855
|
}, null, 8, ["disabled", "model-value"])]), b(Ye, {
|
|
2856
2856
|
label: h(n).isV4 ? h(z)("menu.product.form.detail.category.label") : h(z)("menu.product.form.detail.category.label_singular")
|
|
2857
2857
|
}, {
|
|
@@ -2859,7 +2859,7 @@ const ja = /* @__PURE__ */ me({
|
|
|
2859
2859
|
key: 0,
|
|
2860
2860
|
disabled: !m.value.category,
|
|
2861
2861
|
"model-value": T.value,
|
|
2862
|
-
"onUpdate:modelValue": C[6] || (C[6] = (
|
|
2862
|
+
"onUpdate:modelValue": C[6] || (C[6] = (ie) => I(ie))
|
|
2863
2863
|
}, {
|
|
2864
2864
|
default: P(() => [V("div", Na, [V("div", Ba, [b(re, {
|
|
2865
2865
|
disabled: _.value || !m.value.category,
|
|
@@ -2869,7 +2869,7 @@ const ja = /* @__PURE__ */ me({
|
|
|
2869
2869
|
}, null, 8, ["disabled", "value", "label", "sublabel"]), b(Mo, null, {
|
|
2870
2870
|
default: P(() => [h(n).isV4 ? (O(), j(U, {
|
|
2871
2871
|
key: 0
|
|
2872
|
-
})) :
|
|
2872
|
+
})) : ne("", !0)]),
|
|
2873
2873
|
_: 1
|
|
2874
2874
|
})]), _.value ? (O(), te("div", La, [b(E, {
|
|
2875
2875
|
title: h(z)("menu.product.form.detail.category.add_first"),
|
|
@@ -2879,17 +2879,17 @@ const ja = /* @__PURE__ */ me({
|
|
|
2879
2879
|
"prepend-icon": "add",
|
|
2880
2880
|
variant: "secondary",
|
|
2881
2881
|
onClick: h(u).create
|
|
2882
|
-
}, null, 8, ["label", "onClick"])])) :
|
|
2882
|
+
}, null, 8, ["label", "onClick"])])) : ne("", !0), b(re, {
|
|
2883
2883
|
value: Je.ADD_ON,
|
|
2884
2884
|
label: h(z)("menu.product.form.detail.category.options.addon.label"),
|
|
2885
2885
|
sublabel: h(z)("menu.product.form.detail.category.options.addon.sublabel")
|
|
2886
2886
|
}, null, 8, ["value", "label", "sublabel"])])]),
|
|
2887
2887
|
_: 1
|
|
2888
|
-
}, 8, ["disabled", "model-value"])) :
|
|
2888
|
+
}, 8, ["disabled", "model-value"])) : ne("", !0), h(n).isV4 ? ne("", !0) : (O(), j(q, {
|
|
2889
2889
|
key: 1,
|
|
2890
2890
|
"model-value": g.form.category,
|
|
2891
|
-
rules: [(
|
|
2892
|
-
"onUpdate:modelValue": C[7] || (C[7] = (
|
|
2891
|
+
rules: [(ie) => !ie && !g.isOverride ? "Category is required" : !0],
|
|
2892
|
+
"onUpdate:modelValue": C[7] || (C[7] = (ie) => c("update:form", "category", ie))
|
|
2893
2893
|
}, {
|
|
2894
2894
|
default: P(() => [b(U, {
|
|
2895
2895
|
multiple: !1
|
|
@@ -2903,32 +2903,37 @@ const ja = /* @__PURE__ */ me({
|
|
|
2903
2903
|
}, {
|
|
2904
2904
|
default: P(() => [V("div", Ga, [b(za, {
|
|
2905
2905
|
modelValue: $.value,
|
|
2906
|
-
"onUpdate:modelValue": C[8] || (C[8] = (
|
|
2906
|
+
"onUpdate:modelValue": C[8] || (C[8] = (ie) => $.value = ie),
|
|
2907
2907
|
items: x.value,
|
|
2908
2908
|
placeholder: h(z)("menu.product.form.detail.path.placeholder"),
|
|
2909
2909
|
disabled: !m.value.category,
|
|
2910
2910
|
"is-local-only": !1
|
|
2911
2911
|
}, null, 8, ["modelValue", "items", "placeholder", "disabled"])])]),
|
|
2912
2912
|
_: 1
|
|
2913
|
-
}, 8, ["label"])) :
|
|
2913
|
+
}, 8, ["label"])) : ne("", !0), V("div", Ka, [b(Z, {
|
|
2914
2914
|
label: "Shelf Life (mins)",
|
|
2915
2915
|
"model-value": g.form.shelfLife ?? null,
|
|
2916
|
-
|
|
2917
|
-
|
|
2916
|
+
rules: [(ie) => ie == null || ie > 0 || h(z)("menu.common.validation.min_value", {
|
|
2917
|
+
value: 1
|
|
2918
|
+
})],
|
|
2919
|
+
"onUpdate:modelValue": C[9] || (C[9] = (ie) => {
|
|
2920
|
+
(ie == null || ie > 0) && c("update:form", "shelfLife", ie);
|
|
2921
|
+
})
|
|
2922
|
+
}, null, 8, ["model-value", "rules"])]), b(ti, {
|
|
2918
2923
|
disabled: !m.value.orderFrom,
|
|
2919
2924
|
"model-value": g.form.orderFrom,
|
|
2920
2925
|
"order-from-none": m.value.orderFromNone,
|
|
2921
2926
|
required: m.value.orderFrom,
|
|
2922
2927
|
"default-label": h(z)("menu.product.form.detail.order_from.default"),
|
|
2923
2928
|
label: h(z)("menu.product.form.detail.order_from.label"),
|
|
2924
|
-
"onUpdate:modelValue": C[10] || (C[10] = (
|
|
2929
|
+
"onUpdate:modelValue": C[10] || (C[10] = (ie) => ie && c("update:form", "orderFrom", ie))
|
|
2925
2930
|
}, null, 8, ["disabled", "model-value", "order-from-none", "required", "default-label", "label"])];
|
|
2926
2931
|
}),
|
|
2927
2932
|
_: 1
|
|
2928
2933
|
}, 8, ["title"]);
|
|
2929
2934
|
};
|
|
2930
2935
|
}
|
|
2931
|
-
}), Wa = /* @__PURE__ */ it(ja, [["__scopeId", "data-v-
|
|
2936
|
+
}), Wa = /* @__PURE__ */ it(ja, [["__scopeId", "data-v-30c8f191"]]), Ya = {}, Ha = { class: "overflow-x-auto" }, Xa = { class: "xs:w-[600px]" };
|
|
2932
2937
|
function qa(e, i) {
|
|
2933
2938
|
return O(), te("div", Ha, [
|
|
2934
2939
|
V("div", Xa, [
|
|
@@ -2983,7 +2988,7 @@ const mn = /* @__PURE__ */ it(Ya, [["render", qa]]), Za = /* @__PURE__ */ me({
|
|
|
2983
2988
|
ve(s.$slots, "default", { trigger: d })
|
|
2984
2989
|
]),
|
|
2985
2990
|
_: 3
|
|
2986
|
-
}, 8, ["categorized-items", "config", "group", "title"])) :
|
|
2991
|
+
}, 8, ["categorized-items", "config", "group", "title"])) : ne("", !0);
|
|
2987
2992
|
}
|
|
2988
2993
|
}), Qa = {}, Ja = { class: "flex gap-16" };
|
|
2989
2994
|
function er(e, i) {
|
|
@@ -3372,9 +3377,9 @@ const pn = /* @__PURE__ */ me({
|
|
|
3372
3377
|
modelValue: Z,
|
|
3373
3378
|
disabled: q,
|
|
3374
3379
|
"onUpdate:modelValue": (ce) => {
|
|
3375
|
-
var
|
|
3380
|
+
var ie;
|
|
3376
3381
|
if (D) {
|
|
3377
|
-
const Le = (
|
|
3382
|
+
const Le = (ie = E.row.getParentRow()) == null ? void 0 : ie.original;
|
|
3378
3383
|
if (!Le) return;
|
|
3379
3384
|
w(Le._id, Y.combinationKey ?? "", "isDefault", ce);
|
|
3380
3385
|
} else
|
|
@@ -3413,9 +3418,9 @@ const pn = /* @__PURE__ */ me({
|
|
|
3413
3418
|
"onUpdate:modelValue": (oe) => {
|
|
3414
3419
|
var ce;
|
|
3415
3420
|
if (Z) {
|
|
3416
|
-
const
|
|
3417
|
-
if (!
|
|
3418
|
-
w(
|
|
3421
|
+
const ie = (ce = E.row.getParentRow()) == null ? void 0 : ce.original;
|
|
3422
|
+
if (!ie) return;
|
|
3423
|
+
w(ie._id, Y.combinationKey ?? "", "name", oe);
|
|
3419
3424
|
} else
|
|
3420
3425
|
I(Y._id, "name", oe);
|
|
3421
3426
|
},
|
|
@@ -3454,10 +3459,10 @@ const pn = /* @__PURE__ */ me({
|
|
|
3454
3459
|
"onUpdate:modelValue": (oe) => {
|
|
3455
3460
|
var ce;
|
|
3456
3461
|
if (X) {
|
|
3457
|
-
const
|
|
3458
|
-
if (!
|
|
3462
|
+
const ie = (ce = E.row.getParentRow()) == null ? void 0 : ce.original;
|
|
3463
|
+
if (!ie) return;
|
|
3459
3464
|
w(
|
|
3460
|
-
|
|
3465
|
+
ie._id,
|
|
3461
3466
|
Y.combinationKey ?? "",
|
|
3462
3467
|
// @ts-ignore
|
|
3463
3468
|
"price",
|
|
@@ -3621,10 +3626,10 @@ const pn = /* @__PURE__ */ me({
|
|
|
3621
3626
|
});
|
|
3622
3627
|
}
|
|
3623
3628
|
function w(E, D, Y, q) {
|
|
3624
|
-
var ce,
|
|
3629
|
+
var ce, ie;
|
|
3625
3630
|
const Z = ue(t.group), X = (ce = Z.items[E].items) == null ? void 0 : ce.findIndex((Le) => Le.combinationKey === D);
|
|
3626
3631
|
if (!pt.isSet(X)) return;
|
|
3627
|
-
let oe = (
|
|
3632
|
+
let oe = (ie = Z.items[E].items) == null ? void 0 : ie[X];
|
|
3628
3633
|
oe && (oe = {
|
|
3629
3634
|
...oe,
|
|
3630
3635
|
[Y]: q
|
|
@@ -3659,7 +3664,7 @@ const pn = /* @__PURE__ */ me({
|
|
|
3659
3664
|
if (!Z || !Z.variant || ((oe = Z.variant.variantCombinations) == null ? void 0 : oe.length) === 0)
|
|
3660
3665
|
return;
|
|
3661
3666
|
(Z.variant.variantCombinations || []).forEach((ce) => {
|
|
3662
|
-
const
|
|
3667
|
+
const ie = `${ce._id}:${ce.combinationKey}`, Le = !Y.has(ie);
|
|
3663
3668
|
D.push({
|
|
3664
3669
|
_id: ce._id,
|
|
3665
3670
|
combinationKey: ce.combinationKey,
|
|
@@ -3730,7 +3735,7 @@ const pn = /* @__PURE__ */ me({
|
|
|
3730
3735
|
label: h(U)("menu.group.option.add_option"),
|
|
3731
3736
|
"prepend-icon": "add",
|
|
3732
3737
|
onClick: T
|
|
3733
|
-
}, null, 8, ["text-color", "border-color", "label"])]))], 64)) :
|
|
3738
|
+
}, null, 8, ["text-color", "border-color", "label"])]))], 64)) : ne("", !0)]),
|
|
3734
3739
|
default: P(() => [V("div", pr, [V("div", hr, [b(q, {
|
|
3735
3740
|
"column-defs": L.value,
|
|
3736
3741
|
"column-visibility": M.value,
|
|
@@ -4045,7 +4050,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
4045
4050
|
}, 8, ["disabled", "model-value"])
|
|
4046
4051
|
]),
|
|
4047
4052
|
_: 1
|
|
4048
|
-
}, 8, ["label"])) :
|
|
4053
|
+
}, 8, ["label"])) : ne("", !0),
|
|
4049
4054
|
b(Ye, {
|
|
4050
4055
|
label: h(z)("menu.common.labels.configuration")
|
|
4051
4056
|
}, {
|
|
@@ -4075,7 +4080,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
4075
4080
|
}, null, 8, ["model-value", "value-options"])
|
|
4076
4081
|
]),
|
|
4077
4082
|
_: 1
|
|
4078
|
-
}, 8, ["title", "sub-title"])) :
|
|
4083
|
+
}, 8, ["title", "sub-title"])) : ne("", !0)
|
|
4079
4084
|
]),
|
|
4080
4085
|
_: 1
|
|
4081
4086
|
}),
|
|
@@ -4100,7 +4105,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
4100
4105
|
]),
|
|
4101
4106
|
_: 1
|
|
4102
4107
|
}, 8, ["modelValue", "rules", "helper-text"])
|
|
4103
|
-
])) :
|
|
4108
|
+
])) : ne("", !0)
|
|
4104
4109
|
]),
|
|
4105
4110
|
_: 3
|
|
4106
4111
|
}, 8, ["modelValue", "is-container", "is-container-props", "onOn:clickedAway"])
|
|
@@ -4258,7 +4263,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
4258
4263
|
])
|
|
4259
4264
|
]),
|
|
4260
4265
|
_: 1
|
|
4261
|
-
})) :
|
|
4266
|
+
})) : ne("", !0)
|
|
4262
4267
|
]),
|
|
4263
4268
|
_: 3
|
|
4264
4269
|
}, 8, ["categorized-items", "group", "title"]);
|
|
@@ -4655,7 +4660,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
4655
4660
|
"hide-footer": "",
|
|
4656
4661
|
"pin-header-row": "",
|
|
4657
4662
|
"shrink-at": !1
|
|
4658
|
-
}, null, 8, ["column-defs", "column-visibility", "row-data", "page-size"])) :
|
|
4663
|
+
}, null, 8, ["column-defs", "column-visibility", "row-data", "page-size"])) : ne("", !0)];
|
|
4659
4664
|
}),
|
|
4660
4665
|
_: 1
|
|
4661
4666
|
})]),
|
|
@@ -4918,6 +4923,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
4918
4923
|
append: P(() => [
|
|
4919
4924
|
ut(b(h(Ni), {
|
|
4920
4925
|
"pure-styling": "",
|
|
4926
|
+
class: "shrink-0 scale-75",
|
|
4921
4927
|
onClick: _
|
|
4922
4928
|
}, null, 512), [
|
|
4923
4929
|
[T, h(Ui)("Suggest pricing")]
|
|
@@ -4954,7 +4960,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
4954
4960
|
default: P(() => {
|
|
4955
4961
|
var w;
|
|
4956
4962
|
return [
|
|
4957
|
-
f.isOverride ?
|
|
4963
|
+
f.isOverride ? ne("", !0) : (O(), j(pn, {
|
|
4958
4964
|
key: 0,
|
|
4959
4965
|
"price-tiers": h(o).priceTiers.value,
|
|
4960
4966
|
"model-value": f.form.priceTiers || ((w = f.fallback) == null ? void 0 : w.priceTiers) || {},
|
|
@@ -4964,7 +4970,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
4964
4970
|
];
|
|
4965
4971
|
}),
|
|
4966
4972
|
_: 1
|
|
4967
|
-
}, 8, ["label", "description"])) :
|
|
4973
|
+
}, 8, ["label", "description"])) : ne("", !0),
|
|
4968
4974
|
b(Ye, {
|
|
4969
4975
|
label: h(r)("menu.product.form.price.settings.title")
|
|
4970
4976
|
}, {
|
|
@@ -5017,7 +5023,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
5017
5023
|
"onUpdate:modelValue": R[4] || (R[4] = (x) => l("update:form", "unit", x))
|
|
5018
5024
|
}, null, 8, ["disabled", "model-value", "rules", "placeholder"])
|
|
5019
5025
|
])
|
|
5020
|
-
])) :
|
|
5026
|
+
])) : ne("", !0)
|
|
5021
5027
|
]),
|
|
5022
5028
|
s.value.costing ? (O(), te("div", Wr, [
|
|
5023
5029
|
b(L, {
|
|
@@ -5037,8 +5043,8 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
5037
5043
|
"onUpdate:modelValue": R[6] || (R[6] = (x) => l("update:form", "costing", x ?? h(ke.Dinero).zero().toObject()))
|
|
5038
5044
|
}, null, 8, ["model-value"])
|
|
5039
5045
|
])
|
|
5040
|
-
])) :
|
|
5041
|
-
])) :
|
|
5046
|
+
])) : ne("", !0)
|
|
5047
|
+
])) : ne("", !0),
|
|
5042
5048
|
s.value.minPrice ? (O(), te("div", Xr, [
|
|
5043
5049
|
b(L, {
|
|
5044
5050
|
disabled: !s.value.minPrice || f.isAddon,
|
|
@@ -5057,10 +5063,10 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
5057
5063
|
class: "flex-1",
|
|
5058
5064
|
"show-currency": "",
|
|
5059
5065
|
"onUpdate:modelValue": R[8] || (R[8] = (x) => l("update:form", "minPrice", x ?? h(ke.Dinero).zero().toObject()))
|
|
5060
|
-
}, null, 8, ["max", "model-value"])) :
|
|
5066
|
+
}, null, 8, ["max", "model-value"])) : ne("", !0)
|
|
5061
5067
|
])
|
|
5062
5068
|
])
|
|
5063
|
-
])) :
|
|
5069
|
+
])) : ne("", !0)
|
|
5064
5070
|
])
|
|
5065
5071
|
];
|
|
5066
5072
|
}),
|
|
@@ -5175,7 +5181,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
5175
5181
|
editable: "",
|
|
5176
5182
|
title: h(i)("menu.print_dept.columns.products"),
|
|
5177
5183
|
"onUpdate:overrides": m[1] || (m[1] = (_) => r.value.usedBy = _)
|
|
5178
|
-
}, null, 8, ["overrides", "title"])) :
|
|
5184
|
+
}, null, 8, ["overrides", "title"])) : ne("", !0)
|
|
5179
5185
|
])
|
|
5180
5186
|
]),
|
|
5181
5187
|
_: 1
|
|
@@ -5285,7 +5291,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
5285
5291
|
];
|
|
5286
5292
|
}),
|
|
5287
5293
|
_: 1
|
|
5288
|
-
}, 8, ["label"])) :
|
|
5294
|
+
}, 8, ["label"])) : ne("", !0),
|
|
5289
5295
|
b(U, {
|
|
5290
5296
|
label: h(a)("menu.product.form.print.kds.label"),
|
|
5291
5297
|
"model-value": ((T = S.form.print) == null ? void 0 : T.sequential) ?? !1,
|
|
@@ -5328,7 +5334,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
5328
5334
|
variant: "tertiary",
|
|
5329
5335
|
onClick: f[2] || (f[2] = Ct(() => {
|
|
5330
5336
|
}, ["stop"]))
|
|
5331
|
-
}, null, 8, ["disabled"])) :
|
|
5337
|
+
}, null, 8, ["disabled"])) : ne("", !0)
|
|
5332
5338
|
]),
|
|
5333
5339
|
b(M, {
|
|
5334
5340
|
id: I,
|
|
@@ -5343,7 +5349,7 @@ const gr = { class: "fm-typo-en-title-md-600" }, br = {
|
|
|
5343
5349
|
];
|
|
5344
5350
|
}),
|
|
5345
5351
|
_: 1
|
|
5346
|
-
}, 8, ["item-key", "model-value"])) :
|
|
5352
|
+
}, 8, ["item-key", "model-value"])) : ne("", !0),
|
|
5347
5353
|
b(h(ns), { "apply-product": !1 }, {
|
|
5348
5354
|
default: P(({ trigger: I }) => [
|
|
5349
5355
|
V("div", ss, [
|
|
@@ -5570,7 +5576,7 @@ const cs = /* @__PURE__ */ me({
|
|
|
5570
5576
|
variant: "tertiary",
|
|
5571
5577
|
"text-color": "primary",
|
|
5572
5578
|
onClick: (S) => _()
|
|
5573
|
-
}, null, 8, ["label", "onClick"])) :
|
|
5579
|
+
}, null, 8, ["label", "onClick"])) : ne("", !0)
|
|
5574
5580
|
]),
|
|
5575
5581
|
_: 1
|
|
5576
5582
|
}),
|
|
@@ -5868,7 +5874,7 @@ const cs = /* @__PURE__ */ me({
|
|
|
5868
5874
|
variant: "secondary",
|
|
5869
5875
|
"prepend-icon": "add",
|
|
5870
5876
|
onClick: _
|
|
5871
|
-
}, null, 8, ["label"])) :
|
|
5877
|
+
}, null, 8, ["label"])) : ne("", !0)]),
|
|
5872
5878
|
default: P(() => {
|
|
5873
5879
|
var g;
|
|
5874
5880
|
return [V("div", _s, [b($, {
|
|
@@ -5916,7 +5922,7 @@ const cs = /* @__PURE__ */ me({
|
|
|
5916
5922
|
"row-data": R.value ?? [],
|
|
5917
5923
|
"hide-footer": "",
|
|
5918
5924
|
"shrink-at": !1
|
|
5919
|
-
}, null, 8, ["column-defs", "column-visibility", "page-size", "row-data"])) :
|
|
5925
|
+
}, null, 8, ["column-defs", "column-visibility", "page-size", "row-data"])) : ne("", !0)]),
|
|
5920
5926
|
_: 1
|
|
5921
5927
|
})])];
|
|
5922
5928
|
}),
|
|
@@ -6233,7 +6239,7 @@ const cs = /* @__PURE__ */ me({
|
|
|
6233
6239
|
B || pe(!1);
|
|
6234
6240
|
}), n("submit:form", p.value, f.value), c(), oe();
|
|
6235
6241
|
}
|
|
6236
|
-
function
|
|
6242
|
+
function ie() {
|
|
6237
6243
|
c(), oe();
|
|
6238
6244
|
}
|
|
6239
6245
|
const { isAtMost: Le } = Pi(), ni = ee(null), gn = Bn(ni);
|
|
@@ -6250,11 +6256,11 @@ const cs = /* @__PURE__ */ me({
|
|
|
6250
6256
|
"secondary-actions": [
|
|
6251
6257
|
{
|
|
6252
6258
|
label: h(r)("menu.common.actions.cancel"),
|
|
6253
|
-
click:
|
|
6259
|
+
click: ie
|
|
6254
6260
|
}
|
|
6255
6261
|
],
|
|
6256
6262
|
onOnPrimary: ce,
|
|
6257
|
-
onOnCancel:
|
|
6263
|
+
onOnCancel: ie
|
|
6258
6264
|
}, {
|
|
6259
6265
|
"append-title": P(() => [
|
|
6260
6266
|
h(Le)("sm") ? (O(), j(gi, {
|
|
@@ -6262,12 +6268,12 @@ const cs = /* @__PURE__ */ me({
|
|
|
6262
6268
|
variant: "dialog",
|
|
6263
6269
|
title: w.value.title,
|
|
6264
6270
|
items: w.value.items
|
|
6265
|
-
}, null, 8, ["title", "items"])) :
|
|
6271
|
+
}, null, 8, ["title", "items"])) : ne("", !0)
|
|
6266
6272
|
]),
|
|
6267
6273
|
default: P(() => {
|
|
6268
6274
|
var pe, fe;
|
|
6269
6275
|
return [
|
|
6270
|
-
h(Le)("sm") ?
|
|
6276
|
+
h(Le)("sm") ? ne("", !0) : (O(), j(gi, {
|
|
6271
6277
|
key: 0,
|
|
6272
6278
|
class: "fixed",
|
|
6273
6279
|
style: xn({
|
|
@@ -6288,7 +6294,7 @@ const cs = /* @__PURE__ */ me({
|
|
|
6288
6294
|
key: 0,
|
|
6289
6295
|
"linked-status": v.value,
|
|
6290
6296
|
"onUpdate:catalogAndScheduler": _
|
|
6291
|
-
}, null, 8, ["linked-status"])) :
|
|
6297
|
+
}, null, 8, ["linked-status"])) : ne("", !0),
|
|
6292
6298
|
b(Nn, { "menu-store": h(a) }, null, 8, ["menu-store"]),
|
|
6293
6299
|
b(Qe, {
|
|
6294
6300
|
toggle: A.value,
|
|
@@ -6315,7 +6321,7 @@ const cs = /* @__PURE__ */ me({
|
|
|
6315
6321
|
]),
|
|
6316
6322
|
_: 1
|
|
6317
6323
|
}, 8, ["toggle", "disabled", "description", "title"]),
|
|
6318
|
-
U.value ?
|
|
6324
|
+
U.value ? ne("", !0) : (O(), te("div", Rs)),
|
|
6319
6325
|
M.value ? (O(), j(Be, {
|
|
6320
6326
|
key: 2,
|
|
6321
6327
|
title: h(r)("menu.product.form.sections.tagging.title"),
|
|
@@ -6330,8 +6336,8 @@ const cs = /* @__PURE__ */ me({
|
|
|
6330
6336
|
}, null, 8, ["model-value", "value-options"])
|
|
6331
6337
|
]),
|
|
6332
6338
|
_: 1
|
|
6333
|
-
}, 8, ["title", "sub-title"])) :
|
|
6334
|
-
M.value ? (O(), te("div", As)) :
|
|
6339
|
+
}, 8, ["title", "sub-title"])) : ne("", !0),
|
|
6340
|
+
M.value ? (O(), te("div", As)) : ne("", !0),
|
|
6335
6341
|
b(Qe, {
|
|
6336
6342
|
toggle: $.value,
|
|
6337
6343
|
"onUpdate:toggle": [
|
|
@@ -6353,7 +6359,7 @@ const cs = /* @__PURE__ */ me({
|
|
|
6353
6359
|
]),
|
|
6354
6360
|
_: 1
|
|
6355
6361
|
}, 8, ["toggle", "disabled", "description", "title"]),
|
|
6356
|
-
s.value.print && !U.value ? (O(), te("div", Ms)) :
|
|
6362
|
+
s.value.print && !U.value ? (O(), te("div", Ms)) : ne("", !0),
|
|
6357
6363
|
s.value.print ? (O(), j(Qe, {
|
|
6358
6364
|
key: 5,
|
|
6359
6365
|
toggle: D.value,
|
|
@@ -6377,8 +6383,8 @@ const cs = /* @__PURE__ */ me({
|
|
|
6377
6383
|
}, null, 8, ["fallback", "form", "full-combinations", "is-addon", "is-override"])
|
|
6378
6384
|
]),
|
|
6379
6385
|
_: 1
|
|
6380
|
-
}, 8, ["toggle"])) :
|
|
6381
|
-
U.value ?
|
|
6386
|
+
}, 8, ["toggle"])) : ne("", !0),
|
|
6387
|
+
U.value ? ne("", !0) : (O(), te("div", Os)),
|
|
6382
6388
|
b(Qe, {
|
|
6383
6389
|
toggle: g.value,
|
|
6384
6390
|
"onUpdate:toggle": [
|
|
@@ -6402,7 +6408,7 @@ const cs = /* @__PURE__ */ me({
|
|
|
6402
6408
|
]),
|
|
6403
6409
|
_: 1
|
|
6404
6410
|
}, 8, ["toggle", "disabled", "description", "title"]),
|
|
6405
|
-
s.value.group && !U.value ? (O(), te("div", Fs)) :
|
|
6411
|
+
s.value.group && !U.value ? (O(), te("div", Fs)) : ne("", !0),
|
|
6406
6412
|
s.value.group ? (O(), j(Qe, {
|
|
6407
6413
|
key: 8,
|
|
6408
6414
|
toggle: q.value,
|
|
@@ -6426,8 +6432,8 @@ const cs = /* @__PURE__ */ me({
|
|
|
6426
6432
|
}, null, 8, ["fallback", "form", "full-combinations", "is-addon", "is-override"])
|
|
6427
6433
|
]),
|
|
6428
6434
|
_: 1
|
|
6429
|
-
}, 8, ["toggle", "disabled"])) :
|
|
6430
|
-
s.value.inventory && !U.value ? (O(), te("div", zs)) :
|
|
6435
|
+
}, 8, ["toggle", "disabled"])) : ne("", !0),
|
|
6436
|
+
s.value.inventory && !U.value ? (O(), te("div", zs)) : ne("", !0),
|
|
6431
6437
|
s.value.inventory ? (O(), j(Qe, {
|
|
6432
6438
|
key: 10,
|
|
6433
6439
|
toggle: W.value,
|
|
@@ -6451,8 +6457,8 @@ const cs = /* @__PURE__ */ me({
|
|
|
6451
6457
|
}, null, 8, ["fallback", "form", "full-combinations", "is-addon", "is-override"])
|
|
6452
6458
|
]),
|
|
6453
6459
|
_: 1
|
|
6454
|
-
}, 8, ["toggle", "disabled", "description", "title"])) :
|
|
6455
|
-
s.value.takeaway(p.value.category ?? ((pe = m.value) == null ? void 0 : pe.category)) && !U.value ? (O(), te("div", Is)) :
|
|
6460
|
+
}, 8, ["toggle", "disabled", "description", "title"])) : ne("", !0),
|
|
6461
|
+
s.value.takeaway(p.value.category ?? ((pe = m.value) == null ? void 0 : pe.category)) && !U.value ? (O(), te("div", Is)) : ne("", !0),
|
|
6456
6462
|
s.value.takeaway(p.value.category ?? ((fe = m.value) == null ? void 0 : fe.category)) ? (O(), j(Qe, {
|
|
6457
6463
|
key: 12,
|
|
6458
6464
|
toggle: re.value,
|
|
@@ -6476,7 +6482,7 @@ const cs = /* @__PURE__ */ me({
|
|
|
6476
6482
|
}, null, 8, ["fallback", "form", "full-combinations", "is-addon", "is-override"])
|
|
6477
6483
|
]),
|
|
6478
6484
|
_: 1
|
|
6479
|
-
}, 8, ["toggle", "disabled", "description", "title"])) :
|
|
6485
|
+
}, 8, ["toggle", "disabled", "description", "title"])) : ne("", !0)
|
|
6480
6486
|
], 512),
|
|
6481
6487
|
B[21] || (B[21] = V("div", { class: "w-[360px] xs:hidden sm:hidden" }, null, -1))
|
|
6482
6488
|
])
|