sass-template-common 0.12.19 → 0.12.21
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/sass-template-common.css +1 -1
- package/dist/sass-template-common.d.ts +7 -0
- package/dist/sass-template-common.js +29 -28
- package/dist/sass-template-common.umd.cjs +1 -1
- package/dist/ui/components/common/autor-header-1/autor-header-1.css +1 -1
- package/dist/ui/components/common/liveblog-header/liveblog-header.css +1 -1
- package/dist/ui/components/pages/news/components-pages-news-header-section.css +1 -1
- package/package.json +1 -1
|
@@ -3378,6 +3378,13 @@ declare type Props_45 = {
|
|
|
3378
3378
|
socialIconsFilled?: boolean;
|
|
3379
3379
|
/** Si true, renderiza los iconos de redes sociales por medio de imagen (custom) */
|
|
3380
3380
|
socialIconsCustom?: boolean;
|
|
3381
|
+
/**
|
|
3382
|
+
* Si true, pinta el cargo del autor (`USER_JOBTITLE` / `USER_POSITION`) entre
|
|
3383
|
+
* el nombre y el mail. Apagado por defecto: hasta ahora el cargo solo se
|
|
3384
|
+
* usaba para el `jobTitle` del schema ProfilePage y ningun sitio lo mostraba,
|
|
3385
|
+
* asi que el header no cambia salvo que el consumidor lo prenda.
|
|
3386
|
+
*/
|
|
3387
|
+
showPosition?: boolean;
|
|
3381
3388
|
};
|
|
3382
3389
|
|
|
3383
3390
|
declare type Props_46 = {
|
|
@@ -10092,88 +10092,89 @@ const qf = (e) => {
|
|
|
10092
10092
|
loading: "lazy"
|
|
10093
10093
|
}
|
|
10094
10094
|
), zf = async (e) => {
|
|
10095
|
-
const { autor: t, autorIcon: n, socialIconsFilled: a = !1, socialIconsCustom: r = !1 } = e,
|
|
10095
|
+
const { autor: t, autorIcon: n, socialIconsFilled: a = !1, socialIconsCustom: r = !1, showPosition: o = !1 } = e, i = n, { PUBLIC_LNG: c } = I(), l = c === "en", d = t?.addtional, u = t?.info?.image?.sizes?.[0]?.url ?? "", h = t?.info?.fullname ?? "", m = t?.info?.email ?? "", p = l ? d?.USER_DESCRIPCION_EN || d?.USER_MIBIO_EN || "" : d?.USER_DESCRIPCION || d?.USER_MIBIO || "", f = l ? d?.USER_POSITION_EN || "" : d?.USER_JOBTITLE || d?.USER_POSITION || "", b = dn(t?.addtional?.USER_USERFB ?? ""), w = dn(t?.addtional?.USER_USERIG ?? ""), A = dn(t?.addtional?.USER_USERTWT ?? ""), y = dn(t?.addtional?.USER_USERLIN ?? ""), C = $e("tiktok", d?.USER_PAGE_TIKTOK), N = $e("youtube", d?.USER_PAGE_YOUTUBE), v = $e(
|
|
10096
10096
|
"pinterest",
|
|
10097
|
-
|
|
10098
|
-
),
|
|
10097
|
+
d?.USER_PAGE_PINTEREST
|
|
10098
|
+
), S = () => !m || m.trim() === "" ? !1 : pu(m), T = (P) => `mailto:${P.trim()}`;
|
|
10099
10099
|
return /* @__PURE__ */ s(
|
|
10100
10100
|
"section",
|
|
10101
10101
|
{
|
|
10102
10102
|
className: `sass-com-ah1-content su-flex-center su-relative su-w-full ${e.className ?? ""}`,
|
|
10103
10103
|
children: /* @__PURE__ */ g("div", { className: "sass-com-ah1-info", children: [
|
|
10104
|
-
|
|
10104
|
+
u ? /* @__PURE__ */ s("div", { className: "sass-com-ah1-image-container sass-image-autor-wrapper", children: /* @__PURE__ */ s(
|
|
10105
10105
|
"img",
|
|
10106
10106
|
{
|
|
10107
10107
|
fetchPriority: "low",
|
|
10108
10108
|
loading: "lazy",
|
|
10109
|
-
alt: "Imagen de perfil de " +
|
|
10109
|
+
alt: "Imagen de perfil de " + h,
|
|
10110
10110
|
className: "sass-com-ah1-image su-object-cover",
|
|
10111
|
-
src: await fe(
|
|
10111
|
+
src: await fe(u)
|
|
10112
10112
|
}
|
|
10113
10113
|
) }) : /* @__PURE__ */ s(
|
|
10114
10114
|
"div",
|
|
10115
10115
|
{
|
|
10116
10116
|
className: "sass-com-ah1-icon-wrap sass-image-autor-wrapper su-flex-center",
|
|
10117
|
-
children: /* @__PURE__ */ s(
|
|
10117
|
+
children: /* @__PURE__ */ s(i, {})
|
|
10118
10118
|
}
|
|
10119
10119
|
),
|
|
10120
|
-
/* @__PURE__ */ s("h1", { className: "sass-com-ah1-name", children:
|
|
10121
|
-
|
|
10120
|
+
/* @__PURE__ */ s("h1", { className: "sass-com-ah1-name", children: h }),
|
|
10121
|
+
o && f && /* @__PURE__ */ s("p", { className: "sass-com-ah1-position", children: f }),
|
|
10122
|
+
S() && /* @__PURE__ */ s(
|
|
10122
10123
|
"a",
|
|
10123
10124
|
{
|
|
10124
|
-
href:
|
|
10125
|
+
href: T(m),
|
|
10125
10126
|
className: "sass-com-ah1-email",
|
|
10126
|
-
"aria-label": `Enviar correo electrónico a ${
|
|
10127
|
-
title: `Enviar correo a ${
|
|
10128
|
-
children:
|
|
10127
|
+
"aria-label": `Enviar correo electrónico a ${m}`,
|
|
10128
|
+
title: `Enviar correo a ${m}`,
|
|
10129
|
+
children: m
|
|
10129
10130
|
}
|
|
10130
10131
|
),
|
|
10131
|
-
/* @__PURE__ */ s("p", { className: "sass-com-ah1-description", children:
|
|
10132
|
+
/* @__PURE__ */ s("p", { className: "sass-com-ah1-description", children: p }),
|
|
10132
10133
|
/* @__PURE__ */ g("div", { className: "sass-com-ah1-social", children: [
|
|
10133
|
-
|
|
10134
|
+
b && /* @__PURE__ */ s(
|
|
10134
10135
|
"a",
|
|
10135
10136
|
{
|
|
10136
|
-
href:
|
|
10137
|
+
href: b,
|
|
10137
10138
|
target: "_blank",
|
|
10138
10139
|
className: `sass-com-ah1-social-link ${a ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
10139
10140
|
rel: "noreferrer",
|
|
10140
10141
|
children: r ? it(a ? "facebook-black" : "facebook", "Facebook", "sass-com-ah1-social-icon sass-social-icon-facebook") : a ? /* @__PURE__ */ s(nn, { className: "sass-com-ah1-social-icon sass-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ s(zn, { className: "sass-com-ah1-facebook-icon sass-com-ah1-social-icon-facebook", forceSVG: !0 })
|
|
10141
10142
|
}
|
|
10142
10143
|
),
|
|
10143
|
-
|
|
10144
|
+
w && /* @__PURE__ */ s(
|
|
10144
10145
|
"a",
|
|
10145
10146
|
{
|
|
10146
|
-
href:
|
|
10147
|
+
href: w,
|
|
10147
10148
|
target: "_blank",
|
|
10148
10149
|
className: "sass-com-ah1-social-link",
|
|
10149
10150
|
rel: "noreferrer",
|
|
10150
10151
|
children: r ? it("instagram", "Instagram", "sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram") : /* @__PURE__ */ s($n, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram", forceSVG: !0 })
|
|
10151
10152
|
}
|
|
10152
10153
|
),
|
|
10153
|
-
|
|
10154
|
+
A && /* @__PURE__ */ s(
|
|
10154
10155
|
"a",
|
|
10155
10156
|
{
|
|
10156
|
-
href:
|
|
10157
|
+
href: A,
|
|
10157
10158
|
target: "_blank",
|
|
10158
10159
|
className: "sass-com-ah1-social-link",
|
|
10159
10160
|
rel: "noreferrer",
|
|
10160
10161
|
children: r ? it("x", "X", "sass-com-ah1-social-icon sass-com-ah1-social-icon-x") : /* @__PURE__ */ s(Fe, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-x", forceSVG: !0 })
|
|
10161
10162
|
}
|
|
10162
10163
|
),
|
|
10163
|
-
|
|
10164
|
+
y && /* @__PURE__ */ s(
|
|
10164
10165
|
"a",
|
|
10165
10166
|
{
|
|
10166
|
-
href:
|
|
10167
|
+
href: y,
|
|
10167
10168
|
target: "_blank",
|
|
10168
10169
|
className: `sass-com-ah1-social-link ${a ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
10169
10170
|
rel: "noreferrer",
|
|
10170
10171
|
children: r ? it(a ? "linkedin-black" : "linkedin", "LinkedIn", "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin") : a ? /* @__PURE__ */ s(wo, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ s(Ge, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 })
|
|
10171
10172
|
}
|
|
10172
10173
|
),
|
|
10173
|
-
|
|
10174
|
+
C && /* @__PURE__ */ s(
|
|
10174
10175
|
"a",
|
|
10175
10176
|
{
|
|
10176
|
-
href:
|
|
10177
|
+
href: C,
|
|
10177
10178
|
target: "_blank",
|
|
10178
10179
|
"aria-label": "TikTok",
|
|
10179
10180
|
className: "sass-com-ah1-social-link",
|
|
@@ -10181,10 +10182,10 @@ const qf = (e) => {
|
|
|
10181
10182
|
children: r ? it("tiktok", "TikTok", "sass-com-ah1-social-icon sass-com-ah1-social-icon-tiktok") : /* @__PURE__ */ s(Wn, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-tiktok", forceSVG: !0, width: 28, height: 28 })
|
|
10182
10183
|
}
|
|
10183
10184
|
),
|
|
10184
|
-
|
|
10185
|
+
N && /* @__PURE__ */ s(
|
|
10185
10186
|
"a",
|
|
10186
10187
|
{
|
|
10187
|
-
href:
|
|
10188
|
+
href: N,
|
|
10188
10189
|
target: "_blank",
|
|
10189
10190
|
"aria-label": "YouTube",
|
|
10190
10191
|
className: "sass-com-ah1-social-link",
|
|
@@ -10192,10 +10193,10 @@ const qf = (e) => {
|
|
|
10192
10193
|
children: r ? it("youtube", "YouTube", "sass-com-ah1-social-icon sass-com-ah1-social-icon-youtube") : /* @__PURE__ */ s(Yn, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-youtube", forceSVG: !0, width: 28, height: 28 })
|
|
10193
10194
|
}
|
|
10194
10195
|
),
|
|
10195
|
-
|
|
10196
|
+
v && /* @__PURE__ */ s(
|
|
10196
10197
|
"a",
|
|
10197
10198
|
{
|
|
10198
|
-
href:
|
|
10199
|
+
href: v,
|
|
10199
10200
|
target: "_blank",
|
|
10200
10201
|
"aria-label": "Pinterest",
|
|
10201
10202
|
className: "sass-com-ah1-social-link",
|