sass-template-common 0.3.62 → 0.3.64
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.
|
@@ -55,7 +55,8 @@ let ia = {
|
|
|
55
55
|
SHOW_NEWS_MORE_NEWS: !0,
|
|
56
56
|
SHOW_NEWS_RELATED_NEWS: !0,
|
|
57
57
|
MORE_NEWS_SSR: !1,
|
|
58
|
-
NEWS_JOURNALIST_COMPONENT: "op1"
|
|
58
|
+
NEWS_JOURNALIST_COMPONENT: "op1",
|
|
59
|
+
USE_QUOTE_IN_QUERY_TAG_HOME: !0
|
|
59
60
|
};
|
|
60
61
|
function n3(e = {}) {
|
|
61
62
|
ia = { ...ia, ...e };
|
|
@@ -3447,8 +3448,8 @@ class yc extends ht {
|
|
|
3447
3448
|
};
|
|
3448
3449
|
},
|
|
3449
3450
|
tag: async () => {
|
|
3450
|
-
const l = await this.getNewsListAvanced({
|
|
3451
|
-
query: "claves:(" + i + ")",
|
|
3451
|
+
const { USE_QUOTE_IN_QUERY_TAG_HOME: l } = ee(), u = await this.getNewsListAvanced({
|
|
3452
|
+
query: l ? 'claves:("' + i + '")' : "claves:(" + i + ")",
|
|
3452
3453
|
size: this.props?.imgSizes[c]?.size ?? 3,
|
|
3453
3454
|
newstype: this.props?.config?.newsType,
|
|
3454
3455
|
exclude: this.exclude,
|
|
@@ -3456,7 +3457,7 @@ class yc extends ht {
|
|
|
3456
3457
|
});
|
|
3457
3458
|
return {
|
|
3458
3459
|
blockSass: n.data.data,
|
|
3459
|
-
content:
|
|
3460
|
+
content: u ? u.data : void 0
|
|
3460
3461
|
};
|
|
3461
3462
|
},
|
|
3462
3463
|
seccion: async () => {
|
|
@@ -11502,7 +11503,7 @@ const pp = (e) => {
|
|
|
11502
11503
|
);
|
|
11503
11504
|
if (!i.length || !i[0]?.url || i[0]?.url === "")
|
|
11504
11505
|
return /* @__PURE__ */ a("div", { className: re.imagePlaceholder });
|
|
11505
|
-
const { PUBLIC_API_HOST: c, PUBLIC_ASSETS_URL: d } = e.API_ENV;
|
|
11506
|
+
const { PUBLIC_API_HOST: c = "", PUBLIC_ASSETS_URL: d } = e.API_ENV, l = i[0]?.url, u = d && d !== "false" ? d : c, h = l?.startsWith("http") || l?.includes(u) ? l : u + l;
|
|
11506
11507
|
return /* @__PURE__ */ a("figure", { className: re.figure, children: /* @__PURE__ */ f("span", { className: re.backdrop, children: [
|
|
11507
11508
|
/* @__PURE__ */ a(
|
|
11508
11509
|
"span",
|
|
@@ -11521,7 +11522,7 @@ const pp = (e) => {
|
|
|
11521
11522
|
loading: "lazy",
|
|
11522
11523
|
className: re.imageStyled,
|
|
11523
11524
|
alt: e.preview?.description || "",
|
|
11524
|
-
src:
|
|
11525
|
+
src: h,
|
|
11525
11526
|
style: {
|
|
11526
11527
|
boxShadow: s ? "0px 4px 8px 0px #00000033" : "0px"
|
|
11527
11528
|
}
|