@expedite-commerce/expedite-components 0.2.8 → 0.2.9
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.
|
@@ -25178,7 +25178,7 @@ function Hn() {
|
|
|
25178
25178
|
},
|
|
25179
25179
|
processSections: async (i, d, g) => {
|
|
25180
25180
|
const y = ro();
|
|
25181
|
-
if (
|
|
25181
|
+
if (i && d)
|
|
25182
25182
|
try {
|
|
25183
25183
|
const h = typeof i == "string" ? JSON.parse(i) : i;
|
|
25184
25184
|
y.pageBlocks = h;
|
|
@@ -25186,7 +25186,7 @@ function Hn() {
|
|
|
25186
25186
|
console.error("[ExpediteCart] Error parsing sections:", h);
|
|
25187
25187
|
}
|
|
25188
25188
|
else
|
|
25189
|
-
|
|
25189
|
+
await y.fetchBlockInformationREST({
|
|
25190
25190
|
templateId: g || Ti.value
|
|
25191
25191
|
});
|
|
25192
25192
|
}
|
|
@@ -28249,7 +28249,7 @@ const Mr = /* @__PURE__ */ Se(Jp, [["render", s3], ["__scopeId", "data-v-888eb5f
|
|
|
28249
28249
|
_: 1
|
|
28250
28250
|
}));
|
|
28251
28251
|
}
|
|
28252
|
-
}, g3 = /* @__PURE__ */ Se(m3, [["__scopeId", "data-v-55410518"]]), x3 = { class: "datatable" }, b3 = { class: "m-show" }, _3 = { key: 0 }, C3 = ["onClick"], E3 = { key: 1 }, w3 = ["onClick"], k3 = { class: "desktop d-show" }, A3 = { class: "datatable-skeletion" }, O3 = { class: "datatable-skeletion" }, S3 = { class: "datatable-skeletion" }, I3 = ["colspan"], T3 = { style: { display: "flex", gap: "1rem", height: "40px" } }, B3 = ["onClick"], D3 = ["onClick"], M3 = { key: 0 }, R3 = ["colspan"], L3 = { style: { display: "flex", gap: "1rem", height: "40px" } }, N3 = { key: 1 }, F3 = ["colspan"], P3 = { style: { display: "flex", "flex-wrap": "wrap", padding: "1rem" } }, q3 = {
|
|
28252
|
+
}, g3 = /* @__PURE__ */ Se(m3, [["__scopeId", "data-v-55410518"]]), x3 = { class: "datatable" }, b3 = { class: "m-show" }, _3 = { key: 0 }, C3 = ["onClick"], E3 = { key: 1 }, w3 = ["onClick"], k3 = { class: "desktop d-show ect-hidden md:ect-table" }, A3 = { class: "datatable-skeletion" }, O3 = { class: "datatable-skeletion" }, S3 = { class: "datatable-skeletion" }, I3 = ["colspan"], T3 = { style: { display: "flex", gap: "1rem", height: "40px" } }, B3 = ["onClick"], D3 = ["onClick"], M3 = { key: 0 }, R3 = ["colspan"], L3 = { style: { display: "flex", gap: "1rem", height: "40px" } }, N3 = { key: 1 }, F3 = ["colspan"], P3 = { style: { display: "flex", "flex-wrap": "wrap", padding: "1rem" } }, q3 = {
|
|
28253
28253
|
key: 0,
|
|
28254
28254
|
class: "attribute",
|
|
28255
28255
|
style: { width: "50%" }
|
|
@@ -28721,7 +28721,7 @@ const Mr = /* @__PURE__ */ Se(Jp, [["render", s3], ["__scopeId", "data-v-888eb5f
|
|
|
28721
28721
|
])
|
|
28722
28722
|
], 64));
|
|
28723
28723
|
}
|
|
28724
|
-
}, Or = /* @__PURE__ */ Se(K3, [["__scopeId", "data-v-
|
|
28724
|
+
}, Or = /* @__PURE__ */ Se(K3, [["__scopeId", "data-v-be219135"]]), Q3 = { class: "prodlist" }, G3 = { class: "prodlist-header" }, W3 = { key: 0 }, Z3 = {
|
|
28725
28725
|
key: 1,
|
|
28726
28726
|
class: "summary"
|
|
28727
28727
|
}, J3 = {
|
|
@@ -30438,7 +30438,7 @@ const oo = (e) => (yt("data-v-975857d5"), e = e(), mt(), e), Av = ["data-test-id
|
|
|
30438
30438
|
const s = e, t = ro(), n = un(), r = aa(), i = se(() => t.pageBlocks || []), d = (y) => !0, g = se(() => {
|
|
30439
30439
|
var h, c, p, a;
|
|
30440
30440
|
const y = [];
|
|
30441
|
-
return
|
|
30441
|
+
return s.isPreview && ((h = i.value) != null && h.content) ? (p = (c = i.value) == null ? void 0 : c.content) == null || p.forEach((f) => {
|
|
30442
30442
|
const l = [], u = f.section, o = JSON.parse(u.XX_ORD1__Content_JSON__c);
|
|
30443
30443
|
let m = {};
|
|
30444
30444
|
o && (m = Dr(o, r.isMobile), u.styleObject = u.hideStyle ? {} : m.sectionStyle, u.visibility = m.visibility), f.blocks.forEach((v) => {
|
|
@@ -30673,10 +30673,8 @@ const oo = (e) => (yt("data-v-975857d5"), e = e(), mt(), e), Av = ["data-test-id
|
|
|
30673
30673
|
composablesApiUrl: n.composablesApiUrl,
|
|
30674
30674
|
composablesApiKey: n.composablesApiKey,
|
|
30675
30675
|
composablesOrgType: n.composablesOrgType
|
|
30676
|
-
}), t.quoteId = n.quoteId,
|
|
30677
|
-
}),
|
|
30678
|
-
console.log("props.sections watch expedite cart", n.sections), await s.processSections(n.sections, n.isPreview, n.templateId);
|
|
30679
|
-
}, { deep: !0 }), (r, i) => (N(), j(ve, null, [
|
|
30676
|
+
}), t.quoteId = n.quoteId, await s.processSections(n.sections, n.isPreview, n.templateId);
|
|
30677
|
+
}), (r, i) => (N(), j(ve, null, [
|
|
30680
30678
|
oe(My, {
|
|
30681
30679
|
"organization-id": n.organizationId,
|
|
30682
30680
|
"template-id": n.templateId
|