sass-template-common 0.3.100 → 0.3.101
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.
|
@@ -3512,48 +3512,51 @@ class _c extends mt {
|
|
|
3512
3512
|
});
|
|
3513
3513
|
if (!n || !n.data || !n.data.data || n.data.data.length === 0 || !n.data.data[0]?.value || !n.data.data[0].block || !this.props?.imgSizes[n.data.data[0].block])
|
|
3514
3514
|
return { blockSass: n ? n.data.data : void 0 };
|
|
3515
|
-
const s = n.data.data[0] ?? [],
|
|
3515
|
+
const { MULTIPUBLICATION_FETCHES: s, PUBLIC_PUBLICATION_ID: o } = W(), r = n.data.data[0] ?? [], i = r?.value.split("="), c = i[0] ?? "", u = i[1] ?? "", l = r?.block, d = {
|
|
3516
3516
|
videos: async () => {
|
|
3517
|
-
const
|
|
3518
|
-
|
|
3517
|
+
const h = await this.getvideoListAdvanced({
|
|
3518
|
+
publication: s ?? o,
|
|
3519
|
+
size: this.props?.imgSizes[l].size ?? 5,
|
|
3519
3520
|
imagesizes: `${this.props?.imgSizesVideo.lg}${this.props?.imgSizesVideo.md}`,
|
|
3520
|
-
query: "Keywords:(" + (
|
|
3521
|
+
query: "Keywords:(" + (u ?? "videohome") + ")"
|
|
3521
3522
|
});
|
|
3522
3523
|
return {
|
|
3523
3524
|
blockSass: n.data.data,
|
|
3524
|
-
content:
|
|
3525
|
+
content: h ? h.data : void 0
|
|
3525
3526
|
};
|
|
3526
3527
|
},
|
|
3527
3528
|
tag: async () => {
|
|
3528
|
-
const { USE_QUOTE_IN_QUERY_TAG_HOME:
|
|
3529
|
-
|
|
3530
|
-
|
|
3529
|
+
const { USE_QUOTE_IN_QUERY_TAG_HOME: h } = W(), m = await this.getNewsListAvanced({
|
|
3530
|
+
publication: s ?? o,
|
|
3531
|
+
query: h ? 'claves:("' + u + '")' : "claves:(" + u + ")",
|
|
3532
|
+
size: this.props?.imgSizes[l]?.size ?? 3,
|
|
3531
3533
|
newstype: this.props?.config?.newsType,
|
|
3532
3534
|
exclude: this.exclude,
|
|
3533
|
-
imagesizes: this.props?.imgSizes[
|
|
3535
|
+
imagesizes: this.props?.imgSizes[l]?.imageSizes
|
|
3534
3536
|
});
|
|
3535
3537
|
return {
|
|
3536
3538
|
blockSass: n.data.data,
|
|
3537
|
-
content:
|
|
3539
|
+
content: m ? m.data : void 0
|
|
3538
3540
|
};
|
|
3539
3541
|
},
|
|
3540
3542
|
seccion: async () => {
|
|
3541
|
-
const
|
|
3542
|
-
|
|
3543
|
-
|
|
3543
|
+
const h = await this.getNewsListSection({
|
|
3544
|
+
publication: s ?? o,
|
|
3545
|
+
section: u,
|
|
3546
|
+
size: this.props?.imgSizes[l]?.size ?? 3,
|
|
3544
3547
|
newstype: this.props?.config?.newsType,
|
|
3545
3548
|
exclude: this.exclude,
|
|
3546
|
-
imagesizes: this.props?.imgSizes[
|
|
3549
|
+
imagesizes: this.props?.imgSizes[l]?.imageSizes
|
|
3547
3550
|
});
|
|
3548
3551
|
return {
|
|
3549
3552
|
blockSass: n.data.data,
|
|
3550
|
-
content:
|
|
3553
|
+
content: h ? h.data : void 0
|
|
3551
3554
|
};
|
|
3552
3555
|
}
|
|
3553
3556
|
};
|
|
3554
|
-
if (
|
|
3555
|
-
const
|
|
3556
|
-
return await
|
|
3557
|
+
if (c in d) {
|
|
3558
|
+
const h = d[c];
|
|
3559
|
+
return await h();
|
|
3557
3560
|
}
|
|
3558
3561
|
return { blockSass: n.data.data };
|
|
3559
3562
|
};
|