@expedite-commerce/expedite-components 0.2.7 → 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.
@@ -29641,7 +29641,7 @@ function Zr() {
29641
29641
  },
29642
29642
  processSections: async (i, a, l) => {
29643
29643
  const u = pa();
29644
- if (a && i)
29644
+ if (i && a)
29645
29645
  try {
29646
29646
  const f = typeof i == "string" ? JSON.parse(i) : i;
29647
29647
  u.pageBlocks = f;
@@ -29649,7 +29649,7 @@ function Zr() {
29649
29649
  console.error("[ExpediteCart] Error parsing sections:", f);
29650
29650
  }
29651
29651
  else
29652
- a || await u.fetchBlockInformationREST({
29652
+ await u.fetchBlockInformationREST({
29653
29653
  templateId: l || Wl.value
29654
29654
  });
29655
29655
  }
@@ -32712,7 +32712,7 @@ const Ei = /* @__PURE__ */ Re(v_, [["render", k_], ["__scopeId", "data-v-888eb5f
32712
32712
  _: 1
32713
32713
  }));
32714
32714
  }
32715
- }, N_ = /* @__PURE__ */ Re(L_, [["__scopeId", "data-v-55410518"]]), F_ = { class: "datatable" }, P_ = { class: "m-show" }, q_ = { key: 0 }, $_ = ["onClick"], j_ = { key: 1 }, V_ = ["onClick"], H_ = { class: "desktop d-show md:ect-table ect-hidden" }, U_ = { class: "datatable-skeletion" }, z_ = { class: "datatable-skeletion" }, X_ = { class: "datatable-skeletion" }, K_ = ["colspan"], W_ = { style: { display: "flex", gap: "1rem", height: "40px" } }, G_ = ["onClick"], Q_ = ["onClick"], Z_ = { key: 0 }, J_ = ["colspan"], Y_ = { style: { display: "flex", gap: "1rem", height: "40px" } }, eb = { key: 1 }, tb = ["colspan"], nb = { style: { display: "flex", "flex-wrap": "wrap", padding: "1rem" } }, rb = {
32715
+ }, N_ = /* @__PURE__ */ Re(L_, [["__scopeId", "data-v-55410518"]]), F_ = { class: "datatable" }, P_ = { class: "m-show" }, q_ = { key: 0 }, $_ = ["onClick"], j_ = { key: 1 }, V_ = ["onClick"], H_ = { class: "desktop d-show ect-hidden md:ect-table" }, U_ = { class: "datatable-skeletion" }, z_ = { class: "datatable-skeletion" }, X_ = { class: "datatable-skeletion" }, K_ = ["colspan"], W_ = { style: { display: "flex", gap: "1rem", height: "40px" } }, G_ = ["onClick"], Q_ = ["onClick"], Z_ = { key: 0 }, J_ = ["colspan"], Y_ = { style: { display: "flex", gap: "1rem", height: "40px" } }, eb = { key: 1 }, tb = ["colspan"], nb = { style: { display: "flex", "flex-wrap": "wrap", padding: "1rem" } }, rb = {
32716
32716
  key: 0,
32717
32717
  class: "attribute",
32718
32718
  style: { width: "50%" }
@@ -33184,7 +33184,7 @@ const Ei = /* @__PURE__ */ Re(v_, [["render", k_], ["__scopeId", "data-v-888eb5f
33184
33184
  ])
33185
33185
  ], 64));
33186
33186
  }
33187
- }, ui = /* @__PURE__ */ Re(db, [["__scopeId", "data-v-03864361"]]), fb = { class: "prodlist" }, hb = { class: "prodlist-header" }, pb = { key: 0 }, yb = {
33187
+ }, ui = /* @__PURE__ */ Re(db, [["__scopeId", "data-v-be219135"]]), fb = { class: "prodlist" }, hb = { class: "prodlist-header" }, pb = { key: 0 }, yb = {
33188
33188
  key: 1,
33189
33189
  class: "summary"
33190
33190
  }, vb = {
@@ -34901,7 +34901,7 @@ const ya = (e) => (Ft("data-v-975857d5"), e = e(), Pt(), e), Ub = ["data-test-id
34901
34901
  const n = e, t = pa(), r = er(), o = fc(), i = pe(() => t.pageBlocks || []), a = (u) => !0, l = pe(() => {
34902
34902
  var f, s, p, d;
34903
34903
  const u = [];
34904
- return console.log("props.sections template renderer", i.value), console.log("props.isPreview", n.isPreview), n.isPreview && ((f = i.value) != null && f.content) ? (p = (s = i.value) == null ? void 0 : s.content) == null || p.forEach((y) => {
34904
+ return n.isPreview && ((f = i.value) != null && f.content) ? (p = (s = i.value) == null ? void 0 : s.content) == null || p.forEach((y) => {
34905
34905
  const h = [], v = y.section, c = JSON.parse(v.XX_ORD1__Content_JSON__c);
34906
34906
  let m = {};
34907
34907
  c && (m = Ci(c, o.isMobile), v.styleObject = v.hideStyle ? {} : m.sectionStyle, v.visibility = m.visibility), y.blocks.forEach((g) => {
@@ -35136,10 +35136,8 @@ const ya = (e) => (Ft("data-v-975857d5"), e = e(), Pt(), e), Ub = ["data-test-id
35136
35136
  composablesApiUrl: r.composablesApiUrl,
35137
35137
  composablesApiKey: r.composablesApiKey,
35138
35138
  composablesOrgType: r.composablesOrgType
35139
- }), t.quoteId = r.quoteId, console.log("props.sections expedite cart", r.sections), await n.processSections(r.sections, r.isPreview, r.templateId);
35140
- }), Qe(() => r.sections, async () => {
35141
- console.log("props.sections watch expedite cart", r.sections), await n.processSections(r.sections, r.isPreview, r.templateId);
35142
- }, { deep: !0 }), (o, i) => (N(), j(xe, null, [
35139
+ }), t.quoteId = r.quoteId, await n.processSections(r.sections, r.isPreview, r.templateId);
35140
+ }), (o, i) => (N(), j(xe, null, [
35143
35141
  de(ZC, {
35144
35142
  "organization-id": r.organizationId,
35145
35143
  "template-id": r.templateId