@club-employes/utopia 4.373.0 → 4.375.0
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.
|
@@ -48,7 +48,7 @@ export interface CartConfirmationProps {
|
|
|
48
48
|
/** Product rows. Rendered read-only (no stepper, no delete) by CartConfirmation. */
|
|
49
49
|
products?: ProductRecapProps[];
|
|
50
50
|
/** Delivery & billing address block. */
|
|
51
|
-
address?: CartConfirmationInfoBlock;
|
|
51
|
+
address?: CartConfirmationInfoBlock[];
|
|
52
52
|
/** Payment details block. */
|
|
53
53
|
payment?: CartConfirmationInfoBlock;
|
|
54
54
|
/** Totals + savings column. */
|
package/dist/index.js
CHANGED
|
@@ -20745,7 +20745,7 @@ const Rz = {
|
|
|
20745
20745
|
}
|
|
20746
20746
|
function Qe(Q) {
|
|
20747
20747
|
const V = r.value, oe = V.state.apply(Q);
|
|
20748
|
-
V.updateState(oe), Ot(oe), fo(oe), l("update:modelValue", Ct(oe.doc)), Q.docChanged && n.state === "error" && (l("update:state", "default"), l("update:message", ""));
|
|
20748
|
+
V.updateState(oe), Ot(oe), fo(oe), Q.docChanged && l("update:modelValue", Ct(oe.doc)), Q.docChanged && n.state === "error" && (l("update:state", "default"), l("update:message", ""));
|
|
20749
20749
|
}
|
|
20750
20750
|
function et(Q) {
|
|
20751
20751
|
return () => {
|
|
@@ -21892,7 +21892,7 @@ const Rz = {
|
|
|
21892
21892
|
], 2)) : P("", !0)
|
|
21893
21893
|
], 2));
|
|
21894
21894
|
}
|
|
21895
|
-
}, Uz = /* @__PURE__ */ re(Kz, [["__scopeId", "data-v-
|
|
21895
|
+
}, Uz = /* @__PURE__ */ re(Kz, [["__scopeId", "data-v-0590d869"]]), Gs = {
|
|
21896
21896
|
showToolbar: !0,
|
|
21897
21897
|
headings: !0,
|
|
21898
21898
|
formatting: {
|
|
@@ -22039,58 +22039,61 @@ const tx = /* @__PURE__ */ se({
|
|
|
22039
22039
|
...sf,
|
|
22040
22040
|
...n.labels
|
|
22041
22041
|
})), a = { type: "doc", content: [{ type: "paragraph" }] }, s = H(a);
|
|
22042
|
-
|
|
22043
|
-
|
|
22044
|
-
|
|
22042
|
+
let c = null;
|
|
22043
|
+
function r(A) {
|
|
22044
|
+
if (typeof A == "string") {
|
|
22045
|
+
if (!A.trim()) return a;
|
|
22045
22046
|
try {
|
|
22046
|
-
return ex(
|
|
22047
|
+
return ex(A);
|
|
22047
22048
|
} catch {
|
|
22048
22049
|
return a;
|
|
22049
22050
|
}
|
|
22050
22051
|
}
|
|
22051
|
-
return
|
|
22052
|
+
return A && typeof A == "object" ? A : a;
|
|
22052
22053
|
}
|
|
22053
|
-
s.value =
|
|
22054
|
-
|
|
22054
|
+
s.value = r(n.modelValue), ke(() => n.modelValue, (A) => {
|
|
22055
|
+
if (n.output !== "json" && typeof A == "string" && A === c)
|
|
22056
|
+
return;
|
|
22057
|
+
const p = r(A);
|
|
22055
22058
|
try {
|
|
22056
|
-
JSON.stringify(
|
|
22059
|
+
JSON.stringify(p) !== JSON.stringify(s.value) && (s.value = p);
|
|
22057
22060
|
} catch {
|
|
22058
|
-
s.value =
|
|
22061
|
+
s.value = p;
|
|
22059
22062
|
}
|
|
22060
22063
|
}, { immediate: !0 });
|
|
22061
|
-
const
|
|
22062
|
-
const
|
|
22063
|
-
if (!(
|
|
22064
|
+
const u = M(() => {
|
|
22065
|
+
const A = n.toolbarConfig;
|
|
22066
|
+
if (!(A && Object.keys(A).length > 0) || A === Gs)
|
|
22064
22067
|
return Gs;
|
|
22065
|
-
const
|
|
22068
|
+
const f = { bold: !1, italic: !1, link: !1 }, b = { ordered: !1, bullet: !1 }, z = { codeBlock: !1, blockquote: !1, expandable: !1 }, k = { image: !1, video: !1, table: !1, columns: !1 };
|
|
22066
22069
|
return {
|
|
22067
|
-
showToolbar:
|
|
22068
|
-
headings:
|
|
22069
|
-
colors:
|
|
22070
|
-
alignment:
|
|
22071
|
-
separators:
|
|
22072
|
-
divider:
|
|
22073
|
-
formatting:
|
|
22074
|
-
lists:
|
|
22075
|
-
blocks:
|
|
22076
|
-
media:
|
|
22070
|
+
showToolbar: A.showToolbar !== !1,
|
|
22071
|
+
headings: A.headings === !0,
|
|
22072
|
+
colors: A.colors === !0,
|
|
22073
|
+
alignment: A.alignment === !0,
|
|
22074
|
+
separators: A.separators === !0,
|
|
22075
|
+
divider: A.divider !== !1,
|
|
22076
|
+
formatting: A.formatting ? { ...f, ...A.formatting } : f,
|
|
22077
|
+
lists: A.lists ? { ...b, ...A.lists } : b,
|
|
22078
|
+
blocks: A.blocks ? { ...z, ...A.blocks } : z,
|
|
22079
|
+
media: A.media ? { ...k, ...A.media } : k
|
|
22077
22080
|
};
|
|
22078
22081
|
});
|
|
22079
|
-
return ke(s, (
|
|
22082
|
+
return ke(s, (A) => {
|
|
22080
22083
|
try {
|
|
22081
22084
|
if (n.output === "json")
|
|
22082
|
-
o("update:modelValue",
|
|
22085
|
+
c = null, o("update:modelValue", A);
|
|
22083
22086
|
else {
|
|
22084
|
-
const
|
|
22085
|
-
o("update:modelValue",
|
|
22087
|
+
const p = fr(A);
|
|
22088
|
+
c = p, o("update:modelValue", p);
|
|
22086
22089
|
}
|
|
22087
|
-
} catch (
|
|
22088
|
-
console.error("Failed to render ProseMirror content",
|
|
22090
|
+
} catch (p) {
|
|
22091
|
+
console.error("Failed to render ProseMirror content", p);
|
|
22089
22092
|
}
|
|
22090
|
-
}, { deep: !0 }), (
|
|
22093
|
+
}, { deep: !0 }), (A, p) => (i(), B(Uz, {
|
|
22091
22094
|
modelValue: s.value,
|
|
22092
|
-
"onUpdate:modelValue":
|
|
22093
|
-
"toolbar-config":
|
|
22095
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => s.value = m),
|
|
22096
|
+
"toolbar-config": u.value,
|
|
22094
22097
|
labels: l.value,
|
|
22095
22098
|
label: e.label,
|
|
22096
22099
|
required: e.required,
|
|
@@ -22098,8 +22101,8 @@ const tx = /* @__PURE__ */ se({
|
|
|
22098
22101
|
message: e.message,
|
|
22099
22102
|
"max-image-size": e.maxImageSize,
|
|
22100
22103
|
"max-video-size": e.maxVideoSize,
|
|
22101
|
-
"onUpdate:state":
|
|
22102
|
-
"onUpdate:message":
|
|
22104
|
+
"onUpdate:state": p[1] || (p[1] = (m) => A.$emit("update:state", m)),
|
|
22105
|
+
"onUpdate:message": p[2] || (p[2] = (m) => A.$emit("update:message", m))
|
|
22103
22106
|
}, null, 8, ["modelValue", "toolbar-config", "labels", "label", "required", "state", "message", "max-image-size", "max-video-size"]));
|
|
22104
22107
|
}
|
|
22105
22108
|
}), tA = {};
|
|
@@ -46373,15 +46376,15 @@ const TN = /* @__PURE__ */ re(z3, [["__scopeId", "data-v-6c8523c1"]]), IE = {
|
|
|
46373
46376
|
radius: "18px",
|
|
46374
46377
|
bg: "",
|
|
46375
46378
|
animated: ""
|
|
46376
|
-
})) :
|
|
46377
|
-
|
|
46379
|
+
})) : (i(), B(De, {
|
|
46380
|
+
key: 1,
|
|
46378
46381
|
class: "utopia-product-recap__delete",
|
|
46379
46382
|
icon: "fa:regular:trash",
|
|
46380
46383
|
size: "sm",
|
|
46381
46384
|
aspect: e.outOfStock ? "filled" : "outlined",
|
|
46382
46385
|
color: e.outOfStock ? "common-danger" : "brand-secondary",
|
|
46383
46386
|
onClick: u[0] || (u[0] = (A) => o("delete"))
|
|
46384
|
-
}, null, 8, ["aspect", "color"])
|
|
46387
|
+
}, null, 8, ["aspect", "color"]))
|
|
46385
46388
|
], 64)) : P("", !0)
|
|
46386
46389
|
], 2),
|
|
46387
46390
|
!e.loading && s.value && (e.outOfStock || e.chips && e.chips.length) ? (i(), d("div", XE, [
|
|
@@ -46586,7 +46589,7 @@ const TN = /* @__PURE__ */ re(z3, [["__scopeId", "data-v-6c8523c1"]]), IE = {
|
|
|
46586
46589
|
}
|
|
46587
46590
|
}), ud = {};
|
|
46588
46591
|
typeof ud == "function" && ud(x3);
|
|
46589
|
-
const Ad = /* @__PURE__ */ re(x3, [["__scopeId", "data-v-
|
|
46592
|
+
const Ad = /* @__PURE__ */ re(x3, [["__scopeId", "data-v-12d82504"]]), UE = { class: "utopia-order-recap" }, qE = { class: "utopia-order-recap__header" }, _E = { class: "utopia-order-recap__row" }, $E = {
|
|
46590
46593
|
key: 0,
|
|
46591
46594
|
class: "utopia-order-recap__row-skeleton-container"
|
|
46592
46595
|
}, eG = { class: "utopia-order-recap__row-skeleton" }, tG = { class: "utopia-order-recap__row-skeleton" }, nG = {
|
|
@@ -47932,7 +47935,7 @@ const HN = /* @__PURE__ */ re(O3, [["__scopeId", "data-v-a07ffe16"]]), XG = { cl
|
|
|
47932
47935
|
bg: "",
|
|
47933
47936
|
animated: ""
|
|
47934
47937
|
})
|
|
47935
|
-
], 64)) : e.address ? (i(), d(X, { key: 1 }, [
|
|
47938
|
+
], 64)) : e.address ? (i(!0), d(X, { key: 1 }, de(e.address, (u, A) => (i(), d(X, { key: A }, [
|
|
47936
47939
|
w(_, {
|
|
47937
47940
|
size: "base",
|
|
47938
47941
|
weight: "bold",
|
|
@@ -47940,25 +47943,25 @@ const HN = /* @__PURE__ */ re(O3, [["__scopeId", "data-v-a07ffe16"]]), XG = { cl
|
|
|
47940
47943
|
color: "brand-secondary-500"
|
|
47941
47944
|
}, {
|
|
47942
47945
|
default: O(() => [
|
|
47943
|
-
S(C(
|
|
47946
|
+
S(C(u.title), 1)
|
|
47944
47947
|
]),
|
|
47945
|
-
_:
|
|
47946
|
-
}),
|
|
47948
|
+
_: 2
|
|
47949
|
+
}, 1024),
|
|
47947
47950
|
v("div", aF, [
|
|
47948
|
-
(i(!0), d(X, null, de(
|
|
47949
|
-
key:
|
|
47951
|
+
(i(!0), d(X, null, de(u.lines, (p, m) => (i(), B(_, {
|
|
47952
|
+
key: m,
|
|
47950
47953
|
size: "xs",
|
|
47951
47954
|
weight: "bold",
|
|
47952
47955
|
align: "center",
|
|
47953
47956
|
color: "brand-secondary-400"
|
|
47954
47957
|
}, {
|
|
47955
47958
|
default: O(() => [
|
|
47956
|
-
S(C(
|
|
47959
|
+
S(C(p), 1)
|
|
47957
47960
|
]),
|
|
47958
47961
|
_: 2
|
|
47959
47962
|
}, 1024))), 128))
|
|
47960
47963
|
])
|
|
47961
|
-
], 64)) : P("", !0)
|
|
47964
|
+
], 64))), 128)) : P("", !0)
|
|
47962
47965
|
])) : P("", !0),
|
|
47963
47966
|
e.loading || e.payment ? (i(), d("div", lF, [
|
|
47964
47967
|
e.loading ? (i(), d(X, { key: 0 }, [
|
|
@@ -48012,7 +48015,7 @@ const HN = /* @__PURE__ */ re(O3, [["__scopeId", "data-v-a07ffe16"]]), XG = { cl
|
|
|
48012
48015
|
}
|
|
48013
48016
|
}), bd = {};
|
|
48014
48017
|
typeof bd == "function" && bd(B3);
|
|
48015
|
-
const EN = /* @__PURE__ */ re(B3, [["__scopeId", "data-v-
|
|
48018
|
+
const EN = /* @__PURE__ */ re(B3, [["__scopeId", "data-v-6d4f3492"]]), iF = { class: "utopia-article-preview" }, rF = { class: "utopia-article-preview__header" }, cF = { class: "utopia-article-preview__hero" }, uF = { class: "utopia-article-preview__title-section" }, AF = { class: "utopia-article-preview__meta" }, dF = {
|
|
48016
48019
|
key: 0,
|
|
48017
48020
|
as: "span",
|
|
48018
48021
|
size: "sm",
|