sass-template-common 0.1.91 → 0.1.94

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.
@@ -1216,6 +1216,8 @@ declare interface ModuloNewsletterProps {
1216
1216
  sibtitle: string;
1217
1217
  image: ReactNode;
1218
1218
  texts: textsType;
1219
+ termsLink: string;
1220
+ submitFunction: () => void;
1219
1221
  }
1220
1222
 
1221
1223
  export declare const ModuloOpinion: FC<OptionCardBlockProps>;
@@ -1711,6 +1713,9 @@ declare type Props_29 = {
1711
1713
  image: ReactNode;
1712
1714
  texts: textsType;
1713
1715
  className?: string;
1716
+ termsLink: string;
1717
+ termsLinkTarget?: string;
1718
+ submitFunction: any;
1714
1719
  };
1715
1720
 
1716
1721
  declare type Props_3 = {
@@ -5875,7 +5875,7 @@ const Tt = (e) => {
5875
5875
  /* @__PURE__ */ a(kn, { className: qe.buttonStyled, size: "large", full: !0, children: e.texts.newsletterButtonText ?? "Suscribirme" }),
5876
5876
  /* @__PURE__ */ h("div", { className: qe.contentTerms, children: [
5877
5877
  /* @__PURE__ */ a("p", { className: qe.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
5878
- /* @__PURE__ */ a(B, { className: qe.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
5878
+ /* @__PURE__ */ a(B, { className: qe.terms, href: e.termsLink, target: e.termsLinkTarget, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
5879
5879
  ] })
5880
5880
  ] }), pl = "_content_1ms2y_1", Al = "_contentInfo_1ms2y_20", wl = "_subscribeImage_1ms2y_28", yl = "_tag_1ms2y_42", vl = "_contentTitle_1ms2y_60", bl = "_title_1ms2y_65", Cl = "_subTitle_1ms2y_70", _l = "_inputStyled_1ms2y_79", Nl = "_buttonStyled_1ms2y_118", Sl = "_contentTerms_1ms2y_131", El = "_subscribeText_1ms2y_137", xl = "_terms_1ms2y_146", Te = {
5881
5881
  content: pl,
@@ -8614,7 +8614,15 @@ const o3 = (e) => {
8614
8614
  /* @__PURE__ */ a("div", { className: wt.bannerContent, children: e.halfPageBanner })
8615
8615
  ] });
8616
8616
  }, c3 = (e) => /* @__PURE__ */ h(Y, { children: [
8617
- /* @__PURE__ */ a(gl, { className: "display-on-lower-900px", ...e }),
8617
+ /* @__PURE__ */ a(
8618
+ gl,
8619
+ {
8620
+ className: "display-on-lower-900px",
8621
+ ...e,
8622
+ termsLink: e.termsLink,
8623
+ submitFunction: e.submitFunction
8624
+ }
8625
+ ),
8618
8626
  /* @__PURE__ */ a(Tl, { ...e })
8619
8627
  ] }), b2 = "_newsContent_gd57q_1", C2 = "_newsContentWithLines_gd57q_8", _2 = "_newsContentWithoutLines_gd57q_13", N2 = "_contentSeparator_gd57q_18", en = {
8620
8628
  newsContent: b2,
@@ -10022,11 +10030,12 @@ const i0 = "_content_cu8lm_1", c0 = "_title_cu8lm_18", gr = {
10022
10030
  [ot.videoYouTube]: h0,
10023
10031
  [ot.iframe]: g0
10024
10032
  }, w0 = ({ news: e }) => {
10033
+ console.log("news", e.config);
10025
10034
  const { config: t, hascontent: n, info: r } = e, o = t.articlepreview, s = r.link.internal, i = n?.hasgalleryimages;
10026
10035
  if (o === ot.imagen && i)
10027
10036
  return /* @__PURE__ */ a("div", { className: pr.content, children: /* @__PURE__ */ a(Eo, { newsformated: e, internal: s }) });
10028
10037
  const c = o ? A0[o] : null;
10029
- return c ? /* @__PURE__ */ a("div", { className: pr.content, children: /* @__PURE__ */ a(c, { newsformated: e, internal: s }) }) : null;
10038
+ return console.log("PreviewComponent", c), c ? /* @__PURE__ */ a("div", { className: pr.content, children: /* @__PURE__ */ a(c, { newsformated: e, internal: s }) }) : null;
10030
10039
  }, y0 = (e) => {
10031
10040
  const { content: t, title: n, slot_id: r } = e, o = e.slot_id && e.slot_id !== "Nota_1";
10032
10041
  return t && t.length !== 0 && /* @__PURE__ */ a(me, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(xt, { slot_id: r, cardWidth: 200, children: t.map((s, i) => {
@@ -10366,7 +10375,7 @@ const wr = {
10366
10375
  getVideos: l
10367
10376
  } = e, u = e.slug === "liveblogs", { SHOW_NEWS_MORE_NEWS: f, SHOW_NEWS_RELATED_NEWS: m } = J();
10368
10377
  if (!(!s || !s[0]))
10369
- return /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ h(Af, { className: la.contentLayout2, children: [
10378
+ return console.log("news[0]", s[0]), console.log("isLiveBlog", u), /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ h(Af, { className: la.contentLayout2, children: [
10370
10379
  /* @__PURE__ */ a(
10371
10380
  Nf,
10372
10381
  {