sass-template-common 0.0.0
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/README.md +73 -0
- package/dist/sass-template-common.css +1 -0
- package/dist/sass-template-common.d.ts +2121 -0
- package/dist/sass-template-common.js +14689 -0
- package/dist/sass-template-common.umd.cjs +126 -0
- package/dist/vite.svg +1 -0
- package/package.json +45 -0
|
@@ -0,0 +1,2121 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { AxiosResponse } from 'axios';
|
|
3
|
+
import { CSSProperties } from 'react';
|
|
4
|
+
import { default as default_2 } from 'react';
|
|
5
|
+
import { DetailedHTMLProps } from 'react';
|
|
6
|
+
import { FC } from 'react';
|
|
7
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
8
|
+
import { InputHTMLAttributes } from 'react';
|
|
9
|
+
import { JSX } from 'react/jsx-runtime';
|
|
10
|
+
import { JSX as JSX_2 } from 'react';
|
|
11
|
+
import { ReactNode } from 'react';
|
|
12
|
+
import { RefAttributes } from 'react';
|
|
13
|
+
import { TextareaHTMLAttributes } from 'react';
|
|
14
|
+
|
|
15
|
+
export declare function addComment({ publication, path, username, comment, id, captchaEnvVars, recaptchaResponse, baseUrl, apiToken, securityToken, }: {
|
|
16
|
+
publication: string;
|
|
17
|
+
path: string;
|
|
18
|
+
username: string;
|
|
19
|
+
comment: string;
|
|
20
|
+
id?: string;
|
|
21
|
+
captchaEnvVars: {
|
|
22
|
+
CAPTCHA_PROJECT: string;
|
|
23
|
+
CAPTCHA_KEY_V2: string;
|
|
24
|
+
COMMENTS_CAPTCHA_API_KEY: string;
|
|
25
|
+
};
|
|
26
|
+
recaptchaResponse: string;
|
|
27
|
+
baseUrl: string;
|
|
28
|
+
apiToken: string;
|
|
29
|
+
securityToken: string;
|
|
30
|
+
}): Promise<AddCommentResponse>;
|
|
31
|
+
|
|
32
|
+
declare type AddCommentResponse = {
|
|
33
|
+
type: 'success' | 'error';
|
|
34
|
+
message: string;
|
|
35
|
+
status: number;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export declare interface Advanced {
|
|
39
|
+
tagarticle: string;
|
|
40
|
+
cintillo: boolean;
|
|
41
|
+
color: string;
|
|
42
|
+
imagearticle: string;
|
|
43
|
+
imagehomeorientation: string;
|
|
44
|
+
imagesectionorientation: string;
|
|
45
|
+
elementhome: string;
|
|
46
|
+
elementarticle: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export declare type Analytics = {
|
|
50
|
+
ga4: string | undefined;
|
|
51
|
+
marfeel: string | undefined;
|
|
52
|
+
gtm: string | undefined;
|
|
53
|
+
comscore: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export declare const AssetsPreconnect: () => any;
|
|
57
|
+
|
|
58
|
+
export declare interface Author {
|
|
59
|
+
firstname: string;
|
|
60
|
+
lastname: string;
|
|
61
|
+
fullname: string;
|
|
62
|
+
image: Preview;
|
|
63
|
+
name: string;
|
|
64
|
+
internaluser: boolean;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export declare const AutorComponent: FC<Props_14>;
|
|
68
|
+
|
|
69
|
+
export declare interface AutorInfo {
|
|
70
|
+
info: {
|
|
71
|
+
id: string;
|
|
72
|
+
name: string;
|
|
73
|
+
nickname: string;
|
|
74
|
+
firstname: string;
|
|
75
|
+
lastname: string;
|
|
76
|
+
fullname: string;
|
|
77
|
+
email: string;
|
|
78
|
+
image: ImageProps;
|
|
79
|
+
country: string;
|
|
80
|
+
birthdate: string;
|
|
81
|
+
gender: string;
|
|
82
|
+
address: string;
|
|
83
|
+
telephone: string;
|
|
84
|
+
cellphone: string;
|
|
85
|
+
};
|
|
86
|
+
addtional: {
|
|
87
|
+
USER_VIEW_NEWS: string;
|
|
88
|
+
USER_USERIG: string;
|
|
89
|
+
USER_USERFB: string;
|
|
90
|
+
USER_MIBIO: string;
|
|
91
|
+
USER_COUNTRY: string;
|
|
92
|
+
USER_PICTURE: string;
|
|
93
|
+
APODO: string;
|
|
94
|
+
USER_SHOWEMAIL: boolean;
|
|
95
|
+
USER_TWOFACTOR_DEADLINE: string;
|
|
96
|
+
USER_MISITIO: string;
|
|
97
|
+
USER_SHOWBIO: boolean;
|
|
98
|
+
USER_MODULEALERTS_20220120: string;
|
|
99
|
+
USER_USERLIN: string;
|
|
100
|
+
USER_USERTWT: string;
|
|
101
|
+
USER_VIEW_PINS: string;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export declare const BannerAdvertising: ({ banners, name }: Props_27) => false | JSX.Element | null | undefined;
|
|
106
|
+
|
|
107
|
+
export declare const BannerAdvertisingMiddle: ({ banners, index }: Props_26) => JSX.Element | null;
|
|
108
|
+
|
|
109
|
+
export declare interface BannerResponse {
|
|
110
|
+
key: string;
|
|
111
|
+
value: string;
|
|
112
|
+
show: boolean;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export declare interface BannerResponse {
|
|
116
|
+
key: string;
|
|
117
|
+
value: string;
|
|
118
|
+
show: boolean;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export declare const bannersReplace: (bannerLineAd: string, replaces?: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
}) => string;
|
|
124
|
+
|
|
125
|
+
export declare const becomeVideoObject: (video: VideoResponseData, showtime?: boolean, showsubtitle?: boolean) => NewListResponseData;
|
|
126
|
+
|
|
127
|
+
export declare interface BlockSaasResponse {
|
|
128
|
+
key: string;
|
|
129
|
+
block: string;
|
|
130
|
+
size: string;
|
|
131
|
+
value: string;
|
|
132
|
+
title: string;
|
|
133
|
+
link: string;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export declare interface BlockSaasResponseData {
|
|
137
|
+
blockSass: Array<BlockSaasResponse>;
|
|
138
|
+
news?: NewListResponse | undefined;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
declare interface ButtonCSS {
|
|
142
|
+
'--button-background-color'?: string;
|
|
143
|
+
'--button-color'?: string;
|
|
144
|
+
'--button-background-color-hover'?: string;
|
|
145
|
+
'--button-border-image-source'?: string;
|
|
146
|
+
'--button-border'?: string;
|
|
147
|
+
'--button-font-size'?: string;
|
|
148
|
+
'--button-letter-spacing'?: string;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export declare type captchaActionType = 'comment_login' | 'comment_register' | 'login' | 'register';
|
|
152
|
+
|
|
153
|
+
export declare function CarrouselCSR(props: CarrouselProps): JSX.Element | undefined;
|
|
154
|
+
|
|
155
|
+
export declare function CarrouselIRS(props: CarrouselProps): JSX.Element;
|
|
156
|
+
|
|
157
|
+
declare type CarrouselProps = {
|
|
158
|
+
children: ReactNode[];
|
|
159
|
+
slot_id: string;
|
|
160
|
+
visibleItems?: number;
|
|
161
|
+
cardWidth?: number;
|
|
162
|
+
cardGap?: number;
|
|
163
|
+
fullPageWidth?: boolean;
|
|
164
|
+
pagination?: boolean;
|
|
165
|
+
enableDrag?: boolean;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export declare const CarruselCard: FC<CarruselCardProps>;
|
|
169
|
+
|
|
170
|
+
declare interface CarruselCardProps {
|
|
171
|
+
title: string;
|
|
172
|
+
titleUrl: string;
|
|
173
|
+
content: Array<NewListResponseData>;
|
|
174
|
+
heightImageOverwrite?: string;
|
|
175
|
+
heightImageOverwriteMobile?: string;
|
|
176
|
+
slot_id: string;
|
|
177
|
+
paths: RoutePathConfig;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export declare const CarruselOpinion: FC<SectionCardCarouselProps>;
|
|
181
|
+
|
|
182
|
+
export declare const coloringByStrokeSVGs: string[];
|
|
183
|
+
|
|
184
|
+
export declare interface CommentDate {
|
|
185
|
+
date?: number;
|
|
186
|
+
day?: number;
|
|
187
|
+
hours?: number;
|
|
188
|
+
minutes?: number;
|
|
189
|
+
month?: number;
|
|
190
|
+
seconds?: number;
|
|
191
|
+
time: number;
|
|
192
|
+
timezoneOffset?: number;
|
|
193
|
+
year?: number;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export declare interface CommentsResponse {
|
|
197
|
+
comments: CommentType[];
|
|
198
|
+
morecomment?: boolean;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export declare interface CommentType extends ReplyType {
|
|
202
|
+
morereply?: boolean;
|
|
203
|
+
reply?: ReplyType[] | false;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export declare class CommonServices {
|
|
207
|
+
protected props?: ICommonServices | undefined;
|
|
208
|
+
constructor(props?: ICommonServices | undefined);
|
|
209
|
+
generateTokenOffline: (browserId: string) => Promise<any>;
|
|
210
|
+
getMainMenu: (params: Params) => Promise<AxiosResponse< {
|
|
211
|
+
data: Array<MenuResponse>;
|
|
212
|
+
}, any, {}>> | undefined;
|
|
213
|
+
getNewsListZone: (params: Params) => Promise<AxiosResponse<NewListResponse, any, {}>> | undefined;
|
|
214
|
+
getNewsListZoneSection: (params: Params) => Promise<AxiosResponse<NewListResponse, any, {}>> | undefined;
|
|
215
|
+
getNewsList: (params: Params) => Promise<AxiosResponse<NewListResponse, any, {}>> | undefined;
|
|
216
|
+
getNewsListTag: (params: Params) => Promise<AxiosResponse<NewListResponse, any, {}>> | undefined;
|
|
217
|
+
getNewsListSection: (params: Params) => Promise<AxiosResponse<NewListResponse, any, {}>> | undefined;
|
|
218
|
+
getNewsListAvanced: (params: Params) => Promise<AxiosResponse<NewListResponse, any, {}>> | undefined;
|
|
219
|
+
getNewsListTags: (params: Params) => Promise<AxiosResponse<NewListResponse, any, {}>> | undefined;
|
|
220
|
+
getNewsListAutor: (params: Params) => Promise<AxiosResponse<NewListResponse, any, {}>> | undefined;
|
|
221
|
+
getNewsSearch: (params: Params) => Promise<AxiosResponse<NewListResponse, any, {}>> | undefined;
|
|
222
|
+
getAutorInfo: (params: Params) => Promise<AxiosResponse< {
|
|
223
|
+
data: Array<AutorInfo>;
|
|
224
|
+
}, any, {}>> | undefined;
|
|
225
|
+
getvideoListAdvanced: (params: Params) => Promise<AxiosResponse< {
|
|
226
|
+
data: Array<VideoResponseData>;
|
|
227
|
+
}, any, {}>> | undefined;
|
|
228
|
+
getVideos: (params: Params) => Promise<AxiosResponse< {
|
|
229
|
+
data: Array<VideoResponseData>;
|
|
230
|
+
}, any, {}>> | undefined;
|
|
231
|
+
getVideosList: (params: Params) => Promise<AxiosResponse< {
|
|
232
|
+
data: Array<VideoResponseData>;
|
|
233
|
+
}, any, {}>> | undefined;
|
|
234
|
+
getBanners: (params: Params) => Promise<AxiosResponse< {
|
|
235
|
+
data: Array<BannerResponse>;
|
|
236
|
+
}, any, {}> | undefined>;
|
|
237
|
+
getPages: (params: Params) => Promise<AxiosResponse< {
|
|
238
|
+
data: Array<FreeZoneResponse>;
|
|
239
|
+
}, any, {}>> | undefined;
|
|
240
|
+
getRankingS3: (url: string, headers?: {
|
|
241
|
+
Referer: string;
|
|
242
|
+
}) => Promise<void | AxiosResponse< {
|
|
243
|
+
data: Array<NewListResponseData>;
|
|
244
|
+
}, any, {}> | {
|
|
245
|
+
data: never[];
|
|
246
|
+
}>;
|
|
247
|
+
getNews: (params: Params) => Promise<AxiosResponse< {
|
|
248
|
+
data: Array<NewListResponseData>;
|
|
249
|
+
}, any, {}>> | undefined;
|
|
250
|
+
getNewsMultimedia: (params: Params) => Promise<AxiosResponse< {
|
|
251
|
+
data: {
|
|
252
|
+
gallery: Array<Preview>;
|
|
253
|
+
}[];
|
|
254
|
+
}, any, {}>> | undefined;
|
|
255
|
+
getNewsItemsList: (params: Params) => Promise<AxiosResponse< {
|
|
256
|
+
data: Array<ItemList>;
|
|
257
|
+
}, any, {}>> | undefined;
|
|
258
|
+
getNewsItemsRelated: (path: string) => Promise<AxiosResponse<NewListResponse, any, {}> | {
|
|
259
|
+
data: {
|
|
260
|
+
data: never[];
|
|
261
|
+
};
|
|
262
|
+
}> | undefined;
|
|
263
|
+
sendEmail: (data: EmailParams) => Promise<AxiosResponse< {
|
|
264
|
+
data: Array<ItemList>;
|
|
265
|
+
}, any, {}>> | undefined;
|
|
266
|
+
searchData: (params: Params) => Promise<{
|
|
267
|
+
search: AxiosResponse<NewListResponse, any, {}>;
|
|
268
|
+
lastNews?: undefined;
|
|
269
|
+
} | {
|
|
270
|
+
lastNews: AxiosResponse<NewListResponse, any, {}> | undefined;
|
|
271
|
+
search?: undefined;
|
|
272
|
+
}>;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export declare const Comscore: ({ id }: {
|
|
276
|
+
id?: string;
|
|
277
|
+
}) => "" | JSX.Element | undefined;
|
|
278
|
+
|
|
279
|
+
export declare type Config = {
|
|
280
|
+
paginationLimit: number;
|
|
281
|
+
newsListLimit: number;
|
|
282
|
+
description: string;
|
|
283
|
+
email: string;
|
|
284
|
+
ampOption: boolean;
|
|
285
|
+
useS3Font: boolean;
|
|
286
|
+
fontName: string;
|
|
287
|
+
fontWeight: string;
|
|
288
|
+
useSpeculationRules: boolean;
|
|
289
|
+
googleFontFamily: string;
|
|
290
|
+
sideCopyright: string;
|
|
291
|
+
footerCopyright: string;
|
|
292
|
+
tapeTitle: string;
|
|
293
|
+
fontS3Url: string;
|
|
294
|
+
siteUrl: string;
|
|
295
|
+
newsType: string;
|
|
296
|
+
servicePrefix: string;
|
|
297
|
+
name: string;
|
|
298
|
+
headerLogo: Logo;
|
|
299
|
+
squareLogo: Logo;
|
|
300
|
+
socialBlockLogo: Logo;
|
|
301
|
+
lang: string;
|
|
302
|
+
landscapeLogo: Logo;
|
|
303
|
+
twitterSummaryCard: Logo;
|
|
304
|
+
icons?: any;
|
|
305
|
+
manifest?: string;
|
|
306
|
+
msapplicationTileImage?: string;
|
|
307
|
+
paths: RoutePathConfig;
|
|
308
|
+
zonehome?: any;
|
|
309
|
+
showauthor?: boolean;
|
|
310
|
+
showtime?: boolean;
|
|
311
|
+
showsubtitle?: boolean;
|
|
312
|
+
priorityhome?: string;
|
|
313
|
+
zonesection?: string;
|
|
314
|
+
prioritysection?: string;
|
|
315
|
+
homepreview?: string;
|
|
316
|
+
showcomments?: boolean;
|
|
317
|
+
showuppertitle?: boolean;
|
|
318
|
+
showads?: boolean;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
export declare type ConfigDynamic = {
|
|
322
|
+
'Modulo 1x3': Modulo1XN;
|
|
323
|
+
'Modulo 1x3 Client'?: Modulo1XN;
|
|
324
|
+
'Modulo 1x3 card': any;
|
|
325
|
+
'Modulo 1x4': Modulo1XN;
|
|
326
|
+
'Modulo 1x5': Modulo1XN;
|
|
327
|
+
'Destacado noticias': IDestacadoNoticias;
|
|
328
|
+
'Destacado videos': DestacadoVideos_2;
|
|
329
|
+
'Carrusel opinion': any;
|
|
330
|
+
'Carrusel card': any;
|
|
331
|
+
'Carrusel story': any;
|
|
332
|
+
'Carrusel owl': any;
|
|
333
|
+
'Modulo fotogaleria': any;
|
|
334
|
+
'Destacado full width'?: any;
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
export declare type ConfigMain = {
|
|
338
|
+
Diario: DestacadoDiario;
|
|
339
|
+
'Diario con imagen': DestacadoDiario;
|
|
340
|
+
Super: SectionCardCSS & Super;
|
|
341
|
+
'3 notas verticales': {
|
|
342
|
+
customLargeSection?: SectionCardCSS & Super;
|
|
343
|
+
customSlimSection?: SectionCardCSS & Super;
|
|
344
|
+
};
|
|
345
|
+
'3 notas horizontales': {
|
|
346
|
+
customLargeSection?: SectionCardCSS & Super;
|
|
347
|
+
customSmallSection?: SectionCardCSS & Super;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
export declare const ContactInfoServer: FC<Props_10>;
|
|
352
|
+
|
|
353
|
+
export declare const ContactInput: FC<Props_39>;
|
|
354
|
+
|
|
355
|
+
export declare const ContactSelect: FC<Props_40>;
|
|
356
|
+
|
|
357
|
+
export declare const ContactTextarea: FC<Props_41>;
|
|
358
|
+
|
|
359
|
+
export declare const ContentLayout1: FC<Props_23>;
|
|
360
|
+
|
|
361
|
+
export declare const ContentLayoutTema: FC<Props_37>;
|
|
362
|
+
|
|
363
|
+
export declare const cutString: (text: string, length?: number) => string;
|
|
364
|
+
|
|
365
|
+
export declare interface DataNews {
|
|
366
|
+
info: Info;
|
|
367
|
+
config: Config;
|
|
368
|
+
main: Main;
|
|
369
|
+
body: Subtitle;
|
|
370
|
+
preview: Preview;
|
|
371
|
+
gallery: boolean;
|
|
372
|
+
related: Related;
|
|
373
|
+
relatedexternal: Relatedexternal;
|
|
374
|
+
list: boolean;
|
|
375
|
+
videos: boolean;
|
|
376
|
+
audios: boolean;
|
|
377
|
+
social: Social;
|
|
378
|
+
external: External_2;
|
|
379
|
+
hascontent: Hascontent;
|
|
380
|
+
customfields: boolean;
|
|
381
|
+
pixel: string;
|
|
382
|
+
authors: Author[];
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
declare interface Date_2 {
|
|
386
|
+
date: string;
|
|
387
|
+
created: number;
|
|
388
|
+
modified: number;
|
|
389
|
+
firstpublish: number;
|
|
390
|
+
lastpublish: number;
|
|
391
|
+
}
|
|
392
|
+
export { Date_2 as Date }
|
|
393
|
+
|
|
394
|
+
export declare const DEBUG_MainSlots: ({ mainBlock, StylesConfigMain, config, banners, }: Props_21) => JSX.Element | null;
|
|
395
|
+
|
|
396
|
+
declare type DestacadoDiario = {
|
|
397
|
+
customSectionCardStyles: SectionCardCSS;
|
|
398
|
+
customNewsDescriptionStyles: NewsDescriptionBlockCSS;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
export declare const DestacadoNoticias: FC<DestacadoNoticiasProps>;
|
|
402
|
+
|
|
403
|
+
declare interface DestacadoNoticiasProps extends Omit<ImageProps_2, 'preview'>, SectionProps {
|
|
404
|
+
titleUrl?: string;
|
|
405
|
+
content: Array<NewListResponseData>;
|
|
406
|
+
goTo?: {
|
|
407
|
+
url: string;
|
|
408
|
+
description: string;
|
|
409
|
+
};
|
|
410
|
+
slot_id?: string;
|
|
411
|
+
banner?: ReactNode;
|
|
412
|
+
customVariables?: CSSProperties;
|
|
413
|
+
paths: RoutePathConfig;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export declare const DestacadoVideos: FC<DestacadoVideosProps>;
|
|
417
|
+
|
|
418
|
+
declare type DestacadoVideos_2 = {
|
|
419
|
+
title: string;
|
|
420
|
+
isVideo: boolean;
|
|
421
|
+
goTo: {
|
|
422
|
+
description: string;
|
|
423
|
+
url: string;
|
|
424
|
+
};
|
|
425
|
+
titleUrl: string;
|
|
426
|
+
'--video-section-news-content-gap-mobile'?: string;
|
|
427
|
+
'--block-head-title-font-size'?: string;
|
|
428
|
+
'--block-head-title-line-height'?: string;
|
|
429
|
+
'--block-head-title-font-size-mobile'?: string;
|
|
430
|
+
'--block-head-title-line-height-mobile'?: string;
|
|
431
|
+
'--image-is-large-play-margin'?: string;
|
|
432
|
+
} & SectionCardCSS & SectionCSS & OutstandingNewsCSS & ButtonCSS;
|
|
433
|
+
|
|
434
|
+
declare interface DestacadoVideosProps extends Omit<ImageProps_2, 'preview'>, Omit<SectionProps, 'children'> {
|
|
435
|
+
titleUrl?: string;
|
|
436
|
+
content: Array<VideoResponseData>;
|
|
437
|
+
goTo?: {
|
|
438
|
+
url: string;
|
|
439
|
+
description: string;
|
|
440
|
+
};
|
|
441
|
+
slot_id?: string;
|
|
442
|
+
banner?: ReactNode;
|
|
443
|
+
paths: RoutePathConfig;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export declare class DynamicBlockServices extends CommonServices {
|
|
447
|
+
getBlockSass: (params: Params) => Promise<{
|
|
448
|
+
blockSass: BlockSaasResponse[];
|
|
449
|
+
content: {
|
|
450
|
+
data: Array<VideoResponseData>;
|
|
451
|
+
} | undefined;
|
|
452
|
+
} | {
|
|
453
|
+
blockSass: BlockSaasResponse[];
|
|
454
|
+
content: NewListResponse | undefined;
|
|
455
|
+
} | {
|
|
456
|
+
blockSass: BlockSaasResponse[] | undefined;
|
|
457
|
+
}>;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export declare const DynamicComponents: ({ slots, DYNAMIC_SLOT_SUBINDEXES, stylesConfig, AutorIcon, config, banners, }: Props_20) => JSX.Element[];
|
|
461
|
+
|
|
462
|
+
export declare const DynamicMainSlot: ({ component, data, banners, rightOnlyBanner, }: Props_19) => JSX.Element;
|
|
463
|
+
|
|
464
|
+
export declare function DynamicSlot({ component, slot_id, data, banners, }: Props_17): JSX.Element | undefined;
|
|
465
|
+
|
|
466
|
+
export declare const EditorialBlock: FC<Props_6>;
|
|
467
|
+
|
|
468
|
+
export declare type EmailParams = {
|
|
469
|
+
sendto: string;
|
|
470
|
+
from: string;
|
|
471
|
+
host: string;
|
|
472
|
+
subject: string;
|
|
473
|
+
body: string;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
export declare interface Entity {
|
|
477
|
+
color: string;
|
|
478
|
+
description: string;
|
|
479
|
+
idPage: number;
|
|
480
|
+
idTipoEdicion: number;
|
|
481
|
+
idZone: number;
|
|
482
|
+
name: string;
|
|
483
|
+
new: boolean;
|
|
484
|
+
order: number;
|
|
485
|
+
orderDefault: string;
|
|
486
|
+
sizeDefault: number;
|
|
487
|
+
visibility: boolean;
|
|
488
|
+
image: {
|
|
489
|
+
url: string;
|
|
490
|
+
width: number;
|
|
491
|
+
height: number;
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export declare const ErrorComponent: FC<Props_38>;
|
|
496
|
+
|
|
497
|
+
declare interface External_2 {
|
|
498
|
+
httpstream: boolean;
|
|
499
|
+
iframe: boolean;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export declare function extractRealtedNews(): Array<Array<string>>;
|
|
503
|
+
|
|
504
|
+
export declare const Footer1: FC<Props_32>;
|
|
505
|
+
|
|
506
|
+
export declare const Footer2: FC<Props_33>;
|
|
507
|
+
|
|
508
|
+
export declare const FooterComponent: FC<Props_8>;
|
|
509
|
+
|
|
510
|
+
export declare const FormatAfterScripts: (props: {
|
|
511
|
+
name: string;
|
|
512
|
+
banners: BannerResponse[];
|
|
513
|
+
replaces?: {
|
|
514
|
+
"[author_replace]": string;
|
|
515
|
+
"[section_replace]": string;
|
|
516
|
+
"[tag_replace]": string;
|
|
517
|
+
"[url_replace]": string;
|
|
518
|
+
};
|
|
519
|
+
strategy?: "afterInteractive" | "lazyOnload" | "beforeInteractive" | "worker" | undefined;
|
|
520
|
+
}) => JSX.Element | undefined;
|
|
521
|
+
|
|
522
|
+
export declare const formatDate: (date: number) => string;
|
|
523
|
+
|
|
524
|
+
export declare const formatDateEdiciones: (date: string) => string;
|
|
525
|
+
|
|
526
|
+
export declare const formatDateJournalistArticule: (date: number) => string;
|
|
527
|
+
|
|
528
|
+
export declare const formatDateTimeline: (date: number) => string;
|
|
529
|
+
|
|
530
|
+
export declare const formatNewsMeta: (news: NewListResponseData | undefined, config: Config) => {
|
|
531
|
+
title?: undefined;
|
|
532
|
+
robots?: undefined;
|
|
533
|
+
alternates?: undefined;
|
|
534
|
+
description?: undefined;
|
|
535
|
+
news_keywords?: undefined;
|
|
536
|
+
keywords?: undefined;
|
|
537
|
+
openGraph?: undefined;
|
|
538
|
+
twitter?: undefined;
|
|
539
|
+
} | {
|
|
540
|
+
title: string;
|
|
541
|
+
robots: string;
|
|
542
|
+
alternates: {
|
|
543
|
+
types: {
|
|
544
|
+
'application/rss+xml': string;
|
|
545
|
+
};
|
|
546
|
+
canonical: boolean | undefined;
|
|
547
|
+
};
|
|
548
|
+
description: string;
|
|
549
|
+
news_keywords: string;
|
|
550
|
+
keywords: string;
|
|
551
|
+
openGraph: {
|
|
552
|
+
title: string;
|
|
553
|
+
url: boolean | undefined;
|
|
554
|
+
type: string;
|
|
555
|
+
description: string;
|
|
556
|
+
images: {
|
|
557
|
+
url: string;
|
|
558
|
+
width: number;
|
|
559
|
+
height: number;
|
|
560
|
+
}[];
|
|
561
|
+
siteName: string;
|
|
562
|
+
};
|
|
563
|
+
twitter: {
|
|
564
|
+
title: string;
|
|
565
|
+
card: string;
|
|
566
|
+
site: string;
|
|
567
|
+
description: string;
|
|
568
|
+
images: {
|
|
569
|
+
url: string;
|
|
570
|
+
width: number;
|
|
571
|
+
height: number;
|
|
572
|
+
}[];
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
export declare const FormatScripts: (props: {
|
|
577
|
+
name: string;
|
|
578
|
+
banners: BannerResponse[];
|
|
579
|
+
replaces?: {
|
|
580
|
+
"[author_replace]": string;
|
|
581
|
+
"[section_replace]": string;
|
|
582
|
+
"[tag_replace]": string;
|
|
583
|
+
"[url_replace]": string;
|
|
584
|
+
};
|
|
585
|
+
strategy?: "afterInteractive" | "lazyOnload" | "beforeInteractive" | "worker" | undefined;
|
|
586
|
+
}) => JSX.Element | undefined;
|
|
587
|
+
|
|
588
|
+
export declare const formatVideoData: (news: VideoResponseData, config: Config) => {
|
|
589
|
+
title?: undefined;
|
|
590
|
+
robots?: undefined;
|
|
591
|
+
alternates?: undefined;
|
|
592
|
+
description?: undefined;
|
|
593
|
+
news_keywords?: undefined;
|
|
594
|
+
keywords?: undefined;
|
|
595
|
+
openGraph?: undefined;
|
|
596
|
+
twitter?: undefined;
|
|
597
|
+
} | {
|
|
598
|
+
title: string;
|
|
599
|
+
robots: string;
|
|
600
|
+
alternates: {
|
|
601
|
+
canonical: string;
|
|
602
|
+
};
|
|
603
|
+
description: string;
|
|
604
|
+
news_keywords: string;
|
|
605
|
+
keywords: string;
|
|
606
|
+
openGraph: {
|
|
607
|
+
title: string;
|
|
608
|
+
url: boolean;
|
|
609
|
+
type: string;
|
|
610
|
+
description: string;
|
|
611
|
+
images: {
|
|
612
|
+
url: string;
|
|
613
|
+
width: number;
|
|
614
|
+
height: number;
|
|
615
|
+
}[];
|
|
616
|
+
siteName: string;
|
|
617
|
+
};
|
|
618
|
+
twitter: {
|
|
619
|
+
title: string;
|
|
620
|
+
card: string;
|
|
621
|
+
site: string;
|
|
622
|
+
description: string;
|
|
623
|
+
images: {
|
|
624
|
+
url: string;
|
|
625
|
+
width: number;
|
|
626
|
+
height: number;
|
|
627
|
+
}[];
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
export declare interface FreeZoneResponse {
|
|
632
|
+
info: {
|
|
633
|
+
title: string;
|
|
634
|
+
description: string;
|
|
635
|
+
keywords: string;
|
|
636
|
+
};
|
|
637
|
+
body: {
|
|
638
|
+
rendered: string;
|
|
639
|
+
striped: string;
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export declare const GA4: ({ id, dimensionValues }: Props_2) => "" | JSX.Element | undefined;
|
|
644
|
+
|
|
645
|
+
export declare const generalGetData: (promiseArray: PromiseArray) => Promise<{
|
|
646
|
+
[key: string]: any;
|
|
647
|
+
}>;
|
|
648
|
+
|
|
649
|
+
export declare const GenerateBody: ({ children, defaultRouteName, bodyConfig, banners, pathname, slug, config, internalPath, analytics, currentNew, tagsParsed, scriptReplaces }: Props_4) => JSX.Element;
|
|
650
|
+
|
|
651
|
+
export declare function GenerateHead({ axiosApi, headConfig, meta, imgSizes, defaultMetadataName, pathname, slug, texts, query, currentNew, banners, internalPath, config, socials, speculationType, preloadImageUrl, custom_Speculation, custom_metadata, custom_scriptReplaces, custom_elements, }: Props_3): Promise<ReactNode>;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Helper para conseguir el recaptcha token usando grecaptcha.enterprise
|
|
655
|
+
* Make sure to load the grecaptcha script in your HTML:
|
|
656
|
+
* <script src="https://www.google.com/recaptcha/enterprise.js?render=your_site_key"></script>
|
|
657
|
+
* @param captchaAction Nombre de la acción para el captcha
|
|
658
|
+
* @param siteKey La clave del sitio para el captcha
|
|
659
|
+
* @returns Una promesa que se resuelve con el token del captcha
|
|
660
|
+
*/
|
|
661
|
+
export declare const getCaptchaToken: (captchaAction: captchaActionType, siteKey: string) => Promise<string>;
|
|
662
|
+
|
|
663
|
+
export declare function getComments({ publication, path, size, sizereply, id, lastid, state, baseUrl, apiToken, }: GetCommentsParams): Promise<any>;
|
|
664
|
+
|
|
665
|
+
export declare interface GetCommentsParams {
|
|
666
|
+
publication: string;
|
|
667
|
+
path: string;
|
|
668
|
+
size?: number;
|
|
669
|
+
sizereply?: number;
|
|
670
|
+
id?: string;
|
|
671
|
+
lastid?: string;
|
|
672
|
+
state?: string;
|
|
673
|
+
baseUrl: string;
|
|
674
|
+
apiToken: string;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
export declare const getDynamicSlots: (axiosApi: AxiosInstance, config: Config, imgSizes: {
|
|
678
|
+
[key: string]: any;
|
|
679
|
+
}, imgSizesVideo: {
|
|
680
|
+
[key: string]: any;
|
|
681
|
+
}, DYNAMIC_SLOT_TOTAL: number, DYNAMIC_SLOT_SUBINDEXES: number) => Promise<{
|
|
682
|
+
[key: string]: any;
|
|
683
|
+
}>;
|
|
684
|
+
|
|
685
|
+
export declare const getEnvironmentUrl: () => any;
|
|
686
|
+
|
|
687
|
+
export declare const getImageUrl: (imageUrl: string) => Promise<string>;
|
|
688
|
+
|
|
689
|
+
export declare const getNextMeta: (config: Config, paths: Array<string>, page: number) => string;
|
|
690
|
+
|
|
691
|
+
export declare const getPage: (pathname: string) => number;
|
|
692
|
+
|
|
693
|
+
export declare const getPreloadImages: (list: NewListResponseData[]) => PreloadImage[];
|
|
694
|
+
|
|
695
|
+
export declare const getPrevMeta: (config: Config, paths: Array<string>, page: number) => string;
|
|
696
|
+
|
|
697
|
+
export declare function getReportReasonLabel(reasonKey: ReportReasonKey): string;
|
|
698
|
+
|
|
699
|
+
export declare function getResponse<T>(response: PromiseSettledResult<AxiosResponse<T>> | undefined): T | null;
|
|
700
|
+
|
|
701
|
+
export declare function getResponsePromise<T>(response: PromiseSettledResult<T> | undefined): T | null;
|
|
702
|
+
|
|
703
|
+
export declare const getScriptReplaces: {
|
|
704
|
+
[key in MetadataDefaultsKeys]: (props: Props_5) => replaces | undefined;
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
export declare const getSlugs: {
|
|
708
|
+
[key in MetadataDefaultsKeys]: any;
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
export declare const getTypeOfNews: (props: Props) => string;
|
|
712
|
+
|
|
713
|
+
export declare const GTM: ({ id }: {
|
|
714
|
+
id?: string;
|
|
715
|
+
}) => JSX.Element;
|
|
716
|
+
|
|
717
|
+
export declare interface Hascontent {
|
|
718
|
+
hasgalleryvideosflash: boolean;
|
|
719
|
+
hasgalleryvideosyoutube: boolean;
|
|
720
|
+
hasgalleryvideosembedded: boolean;
|
|
721
|
+
hasgalleryimages: boolean;
|
|
722
|
+
hasaudios: boolean;
|
|
723
|
+
hasfiles: boolean;
|
|
724
|
+
hasembeddedimage: boolean;
|
|
725
|
+
hasembeddedvideoyoutube: boolean;
|
|
726
|
+
hasembeddedvideolink: boolean;
|
|
727
|
+
hasembeddedvideoembedded: boolean;
|
|
728
|
+
hasembeddedvideogallery: boolean;
|
|
729
|
+
hasembeddedvideolist: boolean;
|
|
730
|
+
hasembeddedimagegallery: boolean;
|
|
731
|
+
hasembeddedaudio: boolean;
|
|
732
|
+
hasembeddedaudiogallery: boolean;
|
|
733
|
+
hasembeddedaudiolist: boolean;
|
|
734
|
+
hasembeddedpinterest: boolean;
|
|
735
|
+
hasembeddedvine: boolean;
|
|
736
|
+
hasembeddedinstagram: boolean;
|
|
737
|
+
hasembeddedtwitter: boolean;
|
|
738
|
+
hasembeddedfacebook: boolean;
|
|
739
|
+
hasembeddedembedded: boolean;
|
|
740
|
+
hasembeddedpoll: boolean;
|
|
741
|
+
hasembeddedstorify: boolean;
|
|
742
|
+
hasembeddedflickr: boolean;
|
|
743
|
+
hasembeddedimagecomparator: boolean;
|
|
744
|
+
hasembeddedyoutube: boolean;
|
|
745
|
+
hasembeddediframe: boolean;
|
|
746
|
+
hasembeddedevent: boolean;
|
|
747
|
+
hasembeddedrelatednews: boolean;
|
|
748
|
+
hasembeddedjwplayer: boolean;
|
|
749
|
+
hasembeddedbrid: boolean;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export declare type headConfig = {
|
|
753
|
+
ampConfig: boolean;
|
|
754
|
+
ampConfig_slugIsValid: boolean;
|
|
755
|
+
preloadImages: boolean;
|
|
756
|
+
schemas_ItemList: boolean;
|
|
757
|
+
schemas_NewsArticle: boolean;
|
|
758
|
+
schemas_Videos: boolean;
|
|
759
|
+
schemas_WebsiteList: boolean;
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
export declare const HeaderComponent: FC<Props_7>;
|
|
763
|
+
|
|
764
|
+
declare interface ICommonServices {
|
|
765
|
+
config?: Config;
|
|
766
|
+
imgSizes?: any;
|
|
767
|
+
imgSizesVideo?: any;
|
|
768
|
+
axiosApi: AxiosInstance;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
export declare type IDestacadoNoticias = {
|
|
772
|
+
title: string;
|
|
773
|
+
'--block-head-title-font-size'?: string;
|
|
774
|
+
'--block-head-title-line-height'?: string;
|
|
775
|
+
'--block-head-title-font-size-mobile'?: string;
|
|
776
|
+
'--block-head-title-line-height-mobile'?: string;
|
|
777
|
+
'--news-section-news-content-gap-mobile'?: string;
|
|
778
|
+
} & OutstandingNewsCSS & SectionCardCSS & SectionCSS;
|
|
779
|
+
|
|
780
|
+
declare interface Image_2 {
|
|
781
|
+
sizes: Size[];
|
|
782
|
+
}
|
|
783
|
+
export { Image_2 as Image }
|
|
784
|
+
|
|
785
|
+
declare interface ImageProps {
|
|
786
|
+
copyright: boolean;
|
|
787
|
+
description: string | false;
|
|
788
|
+
photographer: boolean;
|
|
789
|
+
sizes: Array<{
|
|
790
|
+
scale: string;
|
|
791
|
+
url: string;
|
|
792
|
+
width: number;
|
|
793
|
+
height: number;
|
|
794
|
+
}>;
|
|
795
|
+
original: {
|
|
796
|
+
height: number;
|
|
797
|
+
width: number;
|
|
798
|
+
url: string;
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
declare interface ImageProps_2 {
|
|
803
|
+
preview: Preview;
|
|
804
|
+
isVideo?: boolean;
|
|
805
|
+
isLarge?: boolean;
|
|
806
|
+
priorityHigh?: boolean;
|
|
807
|
+
BackDropAuxHeigthMobile?: string;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
export declare interface Info {
|
|
811
|
+
type?: string;
|
|
812
|
+
section?: {
|
|
813
|
+
name: string;
|
|
814
|
+
slug: string;
|
|
815
|
+
url: string;
|
|
816
|
+
};
|
|
817
|
+
link: {
|
|
818
|
+
url?: string;
|
|
819
|
+
target?: string;
|
|
820
|
+
canonical?: boolean;
|
|
821
|
+
internal?: string;
|
|
822
|
+
};
|
|
823
|
+
date: {
|
|
824
|
+
date: string;
|
|
825
|
+
created: number;
|
|
826
|
+
modified: number;
|
|
827
|
+
firstpublish: number;
|
|
828
|
+
lastpublish: number;
|
|
829
|
+
};
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
export declare interface ISection {
|
|
833
|
+
name: string;
|
|
834
|
+
slug: string;
|
|
835
|
+
url: string;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export declare class IssuuServices {
|
|
839
|
+
private issuuApi;
|
|
840
|
+
private api;
|
|
841
|
+
constructor(config: Config);
|
|
842
|
+
getListIssuuPublications({ q, page }: {
|
|
843
|
+
q: string;
|
|
844
|
+
page: number;
|
|
845
|
+
}): Promise<AxiosResponse<any, any, {}> | undefined>;
|
|
846
|
+
getListIssuuPublicationBySlug(slug: string): Promise<AxiosResponse<any, any, {}> | undefined>;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
export declare type ItemList = {
|
|
850
|
+
list: {
|
|
851
|
+
integrated: boolean;
|
|
852
|
+
items: Array<{
|
|
853
|
+
index: number;
|
|
854
|
+
title: string;
|
|
855
|
+
body: {
|
|
856
|
+
rendered: string;
|
|
857
|
+
striped: string;
|
|
858
|
+
};
|
|
859
|
+
categories: boolean;
|
|
860
|
+
image: Preview;
|
|
861
|
+
videos: boolean;
|
|
862
|
+
related: string;
|
|
863
|
+
date: number;
|
|
864
|
+
}>;
|
|
865
|
+
};
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
export declare const ItemListSchema: ({ config, axiosApi, pathname, ROUTE }: ItemListSchemaProps) => Promise<false | JSX.Element>;
|
|
869
|
+
|
|
870
|
+
declare interface ItemListSchemaProps {
|
|
871
|
+
config: Config;
|
|
872
|
+
pathname: string;
|
|
873
|
+
axiosApi: AxiosInstance;
|
|
874
|
+
ROUTE: MetadataDefaultsKeys;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
export declare const LayoutNewsComponent: FC<Props_44>;
|
|
878
|
+
|
|
879
|
+
export declare interface Link {
|
|
880
|
+
url: string;
|
|
881
|
+
canonical: string;
|
|
882
|
+
internal: string;
|
|
883
|
+
target: string;
|
|
884
|
+
redirect: boolean;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
export declare const LiveBlogHeader: FC<Props_42>;
|
|
888
|
+
|
|
889
|
+
declare const Location_2: FC<Props_22>;
|
|
890
|
+
export { Location_2 as Location }
|
|
891
|
+
|
|
892
|
+
export declare type Logo = {
|
|
893
|
+
url: string;
|
|
894
|
+
width: number;
|
|
895
|
+
height: number;
|
|
896
|
+
alt: string;
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
declare interface Main {
|
|
900
|
+
title: Title;
|
|
901
|
+
uppertitle: boolean;
|
|
902
|
+
subtitle: Subtitle;
|
|
903
|
+
summary: boolean;
|
|
904
|
+
tags: Tag[];
|
|
905
|
+
hiddentags: string;
|
|
906
|
+
person: boolean;
|
|
907
|
+
categories: boolean;
|
|
908
|
+
sources: boolean;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
export declare interface MainBlock1Props extends SectionCardProps, NewDescriptionBlockProps {
|
|
912
|
+
banner?: ReactNode;
|
|
913
|
+
banners?: BannerResponse[];
|
|
914
|
+
rightOnlyBanner?: boolean;
|
|
915
|
+
customSectionCardStyles?: CSSProperties;
|
|
916
|
+
customNewsDescriptionStyles?: CSSProperties;
|
|
917
|
+
paths: RoutePathConfig;
|
|
918
|
+
showSuper?: boolean;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
export declare class MainComponentServices {
|
|
922
|
+
exclude: string;
|
|
923
|
+
config: any;
|
|
924
|
+
imgSizes: any;
|
|
925
|
+
axiosApi: AxiosInstance | undefined;
|
|
926
|
+
constructor(config: Config, imgSizes: any, axiosApi: AxiosInstance);
|
|
927
|
+
getNewsListZone(params: Params): Promise<AxiosResponse<NewListResponse, any, {}> | undefined>;
|
|
928
|
+
getOutstandingBlock(params: Params): Promise<AxiosResponse< {
|
|
929
|
+
data: Array<Outstanding>;
|
|
930
|
+
}, any, {}> | undefined>;
|
|
931
|
+
getNewsListZoneWrapper(section: string, size: number, imagesizes?: string): Promise<AxiosResponse<NewListResponse, any, {}> | undefined>;
|
|
932
|
+
getNewsDestacadoDiario(section: string): Promise<never[] | AxiosResponse<NewListResponse, any, {}>>;
|
|
933
|
+
getNewsDestacadoDiarioImage(section: string): Promise<never[] | AxiosResponse<NewListResponse, any, {}>>;
|
|
934
|
+
getNewsAltoImpacto(section: string): Promise<AxiosResponse<NewListResponse, any, {}> | undefined>;
|
|
935
|
+
getNewsDestacadoVertical(section: string): Promise<never[] | AxiosResponse<NewListResponse, any, {}>>;
|
|
936
|
+
getNewsDestacadoHorizontal(section: string): Promise<never[] | AxiosResponse<NewListResponse, any, {}>>;
|
|
937
|
+
GetByOptions: any;
|
|
938
|
+
getMainBlockData(params: Params, section?: string): Promise<{
|
|
939
|
+
section: string;
|
|
940
|
+
news: any;
|
|
941
|
+
}>;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
export declare const Marfeel: ({ id }: {
|
|
945
|
+
id?: string;
|
|
946
|
+
}) => "" | JSX.Element | undefined;
|
|
947
|
+
|
|
948
|
+
export declare interface MenuResponse {
|
|
949
|
+
description: string;
|
|
950
|
+
alt: string;
|
|
951
|
+
image: boolean;
|
|
952
|
+
link: string;
|
|
953
|
+
target: string;
|
|
954
|
+
parameters: boolean;
|
|
955
|
+
subitem: false | Array<MenuResponse>;
|
|
956
|
+
external: boolean;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
export declare type Metadata = {
|
|
960
|
+
title: string;
|
|
961
|
+
description: string;
|
|
962
|
+
sections?: Array<Metadata>;
|
|
963
|
+
alternates: {
|
|
964
|
+
[key: string]: string;
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
export declare const metadata_defaults: {
|
|
969
|
+
[key in MetadataDefaultsKeys]: any;
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
export declare type MetadataDefaultsKeys = '404' | 'home' | 'slug' | 'news' | 'anuncia' | 'autor' | 'buscar' | 'contacto' | 'pages' | 'seccion' | 'tema' | 'ultimas-noticias' | 'video' | 'videos';
|
|
973
|
+
|
|
974
|
+
export declare const metadataToJSX: (metadata: any) => JSX_2.Element[];
|
|
975
|
+
|
|
976
|
+
export declare const MiddleSection: FC<Props_25>;
|
|
977
|
+
|
|
978
|
+
export declare const Modulo1x3: FC<Modulo1x3Props>;
|
|
979
|
+
|
|
980
|
+
export declare const Modulo1x3Card: FC<Modulo1x3CardProps>;
|
|
981
|
+
|
|
982
|
+
declare interface Modulo1x3CardProps {
|
|
983
|
+
title: string;
|
|
984
|
+
content: Array<NewListResponseData>;
|
|
985
|
+
hasLines?: boolean;
|
|
986
|
+
slot_id?: string;
|
|
987
|
+
showNewsLikeTitle?: boolean;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
declare interface Modulo1x3Props extends Modulo3ColumnasProps, Omit<SectionProps, 'children'> {
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
export declare const Modulo1x4: FC<Modulo1x4Props>;
|
|
994
|
+
|
|
995
|
+
declare interface Modulo1x4Props {
|
|
996
|
+
title: string;
|
|
997
|
+
titleUrl?: string;
|
|
998
|
+
content: Array<NewListResponseData>;
|
|
999
|
+
share?: boolean;
|
|
1000
|
+
banner?: ReactNode;
|
|
1001
|
+
banners?: BannerResponse[];
|
|
1002
|
+
slot_id?: string;
|
|
1003
|
+
hasLines?: boolean;
|
|
1004
|
+
paths: RoutePathConfig;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
export declare const Modulo1x5: FC<Modulo1x5Props>;
|
|
1008
|
+
|
|
1009
|
+
declare interface Modulo1x5Props {
|
|
1010
|
+
title: string;
|
|
1011
|
+
titleUrl?: string;
|
|
1012
|
+
content: Array<NewListResponseData>;
|
|
1013
|
+
share?: boolean;
|
|
1014
|
+
banner?: ReactNode;
|
|
1015
|
+
banners?: BannerResponse[];
|
|
1016
|
+
slot_id?: string;
|
|
1017
|
+
hasLines?: boolean;
|
|
1018
|
+
paths: RoutePathConfig;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
export declare type Modulo1XN = {
|
|
1022
|
+
hasLines?: boolean;
|
|
1023
|
+
'--news-description-title-active-color'?: string;
|
|
1024
|
+
} & SectionCardCSS & SectionCSS;
|
|
1025
|
+
|
|
1026
|
+
export declare const Modulo2Columnas: FC<Modulo2ColumnasProps>;
|
|
1027
|
+
|
|
1028
|
+
declare interface Modulo2ColumnasProps {
|
|
1029
|
+
title: ReactNode;
|
|
1030
|
+
news: Array<NewListResponseData>;
|
|
1031
|
+
share?: boolean;
|
|
1032
|
+
bannerArray?: ReactNode[];
|
|
1033
|
+
halfPageBanner?: ReactNode;
|
|
1034
|
+
backgroundColor?: string;
|
|
1035
|
+
paths: RoutePathConfig;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
export declare const Modulo3Columnas: FC<Modulo3ColumnasProps>;
|
|
1039
|
+
|
|
1040
|
+
declare interface Modulo3ColumnasProps {
|
|
1041
|
+
content: Array<NewListResponseData> | Array<VideoResponseData>;
|
|
1042
|
+
banners?: BannerResponse[];
|
|
1043
|
+
slot_id?: string;
|
|
1044
|
+
hasLines?: boolean;
|
|
1045
|
+
bannerPositionIndex?: Array<number>;
|
|
1046
|
+
isVideo?: boolean;
|
|
1047
|
+
paths: RoutePathConfig;
|
|
1048
|
+
showVideoTime?: boolean;
|
|
1049
|
+
showVideosubtitle?: boolean;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
export declare const ModuloNewsletter: FC<ModuloNewsletterProps>;
|
|
1053
|
+
|
|
1054
|
+
declare interface ModuloNewsletterProps {
|
|
1055
|
+
title: string;
|
|
1056
|
+
sibtitle: string;
|
|
1057
|
+
image: ReactNode;
|
|
1058
|
+
texts: textsType;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export declare const ModuloOpinion: FC<OptionCardBlockProps>;
|
|
1062
|
+
|
|
1063
|
+
declare type Network = {
|
|
1064
|
+
title: string;
|
|
1065
|
+
slug: string;
|
|
1066
|
+
url: string;
|
|
1067
|
+
label: string;
|
|
1068
|
+
show: boolean;
|
|
1069
|
+
};
|
|
1070
|
+
|
|
1071
|
+
declare interface NewDescriptionBlockProps {
|
|
1072
|
+
imageSize?: {
|
|
1073
|
+
height: string;
|
|
1074
|
+
width: string;
|
|
1075
|
+
};
|
|
1076
|
+
block: Array<NewListResponseData>;
|
|
1077
|
+
fontSizeTitle?: string;
|
|
1078
|
+
lineHeightTitle?: string;
|
|
1079
|
+
fontSizeTitleMobile?: string;
|
|
1080
|
+
lineHeightTitleMobile?: string;
|
|
1081
|
+
priorityHigh?: boolean;
|
|
1082
|
+
itemReverseOrder?: boolean;
|
|
1083
|
+
customNewsDescriptionStyles?: CSSProperties;
|
|
1084
|
+
paths: RoutePathConfig;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export declare interface NewListResponse {
|
|
1088
|
+
success: boolean;
|
|
1089
|
+
site: string;
|
|
1090
|
+
publication: string;
|
|
1091
|
+
entity: Entity;
|
|
1092
|
+
data: Array<NewListResponseData>;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
export declare type NewListResponseData = {
|
|
1096
|
+
info: Info;
|
|
1097
|
+
config?: Config;
|
|
1098
|
+
social?: {
|
|
1099
|
+
title: string;
|
|
1100
|
+
description: string;
|
|
1101
|
+
images: {
|
|
1102
|
+
facebook: string;
|
|
1103
|
+
twitter?: string;
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
1106
|
+
main: {
|
|
1107
|
+
title: {
|
|
1108
|
+
home: string;
|
|
1109
|
+
section: string;
|
|
1110
|
+
article: string;
|
|
1111
|
+
seo?: string;
|
|
1112
|
+
};
|
|
1113
|
+
uppertitle?: string;
|
|
1114
|
+
subtitle: {
|
|
1115
|
+
rendered: string;
|
|
1116
|
+
striped: string;
|
|
1117
|
+
};
|
|
1118
|
+
summary?: {
|
|
1119
|
+
rendered: string;
|
|
1120
|
+
};
|
|
1121
|
+
tags: {
|
|
1122
|
+
name: string;
|
|
1123
|
+
slug: string;
|
|
1124
|
+
url: string;
|
|
1125
|
+
approved: boolean;
|
|
1126
|
+
id: string;
|
|
1127
|
+
}[];
|
|
1128
|
+
sources?: {
|
|
1129
|
+
name: string;
|
|
1130
|
+
}[];
|
|
1131
|
+
};
|
|
1132
|
+
body?: {
|
|
1133
|
+
rendered: string;
|
|
1134
|
+
striped: string;
|
|
1135
|
+
};
|
|
1136
|
+
authors: Array<Author>;
|
|
1137
|
+
preview: Preview;
|
|
1138
|
+
keywords?: {
|
|
1139
|
+
tags: Array<Tag>;
|
|
1140
|
+
hiddentags: boolean;
|
|
1141
|
+
person: boolean;
|
|
1142
|
+
};
|
|
1143
|
+
hascontent?: {
|
|
1144
|
+
hasgalleryvideosflash: boolean;
|
|
1145
|
+
hasgalleryvideosyoutube: boolean;
|
|
1146
|
+
hasgalleryvideosembedded: boolean;
|
|
1147
|
+
hasgalleryimages: boolean;
|
|
1148
|
+
hasaudios: boolean;
|
|
1149
|
+
hasfiles: boolean;
|
|
1150
|
+
hasitemlist: boolean;
|
|
1151
|
+
hasembeddedimage: boolean;
|
|
1152
|
+
hasembeddedvideoyoutube: boolean;
|
|
1153
|
+
hasembeddedvideolink: boolean;
|
|
1154
|
+
hasembeddedvideoembedded: boolean;
|
|
1155
|
+
hasembeddedvideogallery: boolean;
|
|
1156
|
+
hasembeddedvideolist: boolean;
|
|
1157
|
+
hasembeddedimagegallery: boolean;
|
|
1158
|
+
hasembeddedaudio: boolean;
|
|
1159
|
+
hasembeddedaudiogallery: boolean;
|
|
1160
|
+
hasembeddedaudiolist: boolean;
|
|
1161
|
+
hasembeddedpinterest: boolean;
|
|
1162
|
+
hasembeddedvine: boolean;
|
|
1163
|
+
hasembeddedinstagram: boolean;
|
|
1164
|
+
hasembeddedtwitter: boolean;
|
|
1165
|
+
hasembeddedfacebook: boolean;
|
|
1166
|
+
hasembeddedembedded: boolean;
|
|
1167
|
+
hasembeddedpoll: boolean;
|
|
1168
|
+
hasembeddedstorify: boolean;
|
|
1169
|
+
hasembeddedflickr: boolean;
|
|
1170
|
+
hasembeddedimagecomparator: boolean;
|
|
1171
|
+
hasembeddedyoutube: boolean;
|
|
1172
|
+
hasembeddediframe: boolean;
|
|
1173
|
+
hasembeddedevent: boolean;
|
|
1174
|
+
hasembeddedrelatednews: boolean;
|
|
1175
|
+
hasembeddedjwplayer: boolean;
|
|
1176
|
+
hasembeddedbrid: boolean;
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
declare interface News {
|
|
1181
|
+
path: string;
|
|
1182
|
+
inhome: boolean;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
export declare const NewsArticle: ({ realPath, config, BASE_URL, axiosApi, }: NewsArticleProps) => Promise<JSX.Element[]>;
|
|
1186
|
+
|
|
1187
|
+
declare interface NewsArticleProps {
|
|
1188
|
+
realPath: string;
|
|
1189
|
+
config: Config;
|
|
1190
|
+
BASE_URL: string;
|
|
1191
|
+
axiosApi: AxiosInstance;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
export declare const NewsComponent: (props: Props_11) => Promise<JSX.Element | undefined>;
|
|
1195
|
+
|
|
1196
|
+
export declare const NewsContent: FC<Props_36>;
|
|
1197
|
+
|
|
1198
|
+
declare interface NewsDescriptionBlockCSS extends NewsDescriptionCSS {
|
|
1199
|
+
'--news-description-block-padding-main'?: string;
|
|
1200
|
+
'--news-description-block-image-display'?: string;
|
|
1201
|
+
'--news-description-block-index-display'?: string;
|
|
1202
|
+
'--aspect-ratio'?: string;
|
|
1203
|
+
'--section-card-image-box-shadow'?: string;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
declare interface NewsDescriptionCSS extends SectionCardChipCSS {
|
|
1207
|
+
'--news-description-title-size-desk'?: string;
|
|
1208
|
+
'--news-description-title-line-height-desk'?: string;
|
|
1209
|
+
'--news-description-title-line-height-mobile'?: string;
|
|
1210
|
+
'--news-description-title-size-mobile'?: string;
|
|
1211
|
+
'--news-description-title-color'?: string;
|
|
1212
|
+
'--news-description-title-hover-color'?: string;
|
|
1213
|
+
'--news-description-title-hover-decoration'?: string;
|
|
1214
|
+
'--news-description-content-gap'?: string;
|
|
1215
|
+
'--news-description-autor-display'?: string;
|
|
1216
|
+
'--news-description-autor-color'?: string;
|
|
1217
|
+
'--news-description-autor-text-transform'?: string;
|
|
1218
|
+
'--news-description-autor-font-size'?: string;
|
|
1219
|
+
'--news-description-subtitle-display'?: string;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
declare type NewsDescriptionProps = {
|
|
1223
|
+
fontSizeSubTitle?: string;
|
|
1224
|
+
lineHeightSubTitle?: string;
|
|
1225
|
+
colorSubTitle?: string;
|
|
1226
|
+
cutSubtitle?: boolean;
|
|
1227
|
+
overImage?: 'left' | 'right' | 'default';
|
|
1228
|
+
share?: boolean;
|
|
1229
|
+
isTitle?: boolean;
|
|
1230
|
+
paths: RoutePathConfig;
|
|
1231
|
+
} & NewListResponseData;
|
|
1232
|
+
|
|
1233
|
+
export declare interface NewsResponse {
|
|
1234
|
+
success: boolean;
|
|
1235
|
+
site: string;
|
|
1236
|
+
publication: string;
|
|
1237
|
+
data: DataNews[];
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
export declare const NextPrev: FC<Props_35>;
|
|
1241
|
+
|
|
1242
|
+
export declare type NoteShare = {
|
|
1243
|
+
variant: 'outline' | 'container';
|
|
1244
|
+
options?: Array<NoteShareOption>;
|
|
1245
|
+
url: string;
|
|
1246
|
+
};
|
|
1247
|
+
|
|
1248
|
+
export declare type NoteShareOption = 'X' | 'Email' | 'LinkedIn' | 'Whatsapp' | 'FaceBook';
|
|
1249
|
+
|
|
1250
|
+
declare interface OptionCardBlockProps {
|
|
1251
|
+
title: ReactNode;
|
|
1252
|
+
banner?: ReactNode;
|
|
1253
|
+
titleUrl?: string;
|
|
1254
|
+
halfPageBanner?: ReactNode;
|
|
1255
|
+
news: Array<NewListResponseData>;
|
|
1256
|
+
isOpinion?: boolean;
|
|
1257
|
+
backgroundColor?: string;
|
|
1258
|
+
autorIcon: ReactNode;
|
|
1259
|
+
customStyles?: CSSProperties;
|
|
1260
|
+
paths: RoutePathConfig;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
export declare const OrgList: ({ config, socials }: {
|
|
1264
|
+
config: Config;
|
|
1265
|
+
socials: Socials;
|
|
1266
|
+
}) => JSX.Element;
|
|
1267
|
+
|
|
1268
|
+
export declare interface Original {
|
|
1269
|
+
scale: string;
|
|
1270
|
+
url: string;
|
|
1271
|
+
width: number;
|
|
1272
|
+
height: number;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
export declare interface Outstanding {
|
|
1276
|
+
key: string;
|
|
1277
|
+
value: string;
|
|
1278
|
+
config: string;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
declare interface OutstandingNewsCSS extends NewsDescriptionCSS {
|
|
1282
|
+
'--outstanding-news-head-background'?: string;
|
|
1283
|
+
'--outstanding-news-head-gap-mobile'?: string;
|
|
1284
|
+
'--outstanding-news-head-gap-desk'?: string;
|
|
1285
|
+
'--outstanding-news-head-title-color'?: string;
|
|
1286
|
+
'--outstanding-news-head-subtitle-color'?: string;
|
|
1287
|
+
'--outstanding-news-head-content-padding-desk'?: string;
|
|
1288
|
+
'--outstanding-news-head-content-padding-mobile'?: string;
|
|
1289
|
+
'--outstanding-news-head-content-gap-desk'?: string;
|
|
1290
|
+
'--outstanding-news-head-content-gap-mobile'?: string;
|
|
1291
|
+
'--outstanding-news-head-content-box-shadow'?: string;
|
|
1292
|
+
'--outstanding-news-head-boder-img'?: string;
|
|
1293
|
+
'--image-backdrop-border'?: string;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
export declare type Params = {
|
|
1297
|
+
publication?: number;
|
|
1298
|
+
exclude?: string;
|
|
1299
|
+
newstype?: string;
|
|
1300
|
+
size?: number;
|
|
1301
|
+
page?: number;
|
|
1302
|
+
imagesizes?: string;
|
|
1303
|
+
order?: string;
|
|
1304
|
+
template?: string;
|
|
1305
|
+
path?: string;
|
|
1306
|
+
query?: string;
|
|
1307
|
+
zone?: string;
|
|
1308
|
+
tagid?: string;
|
|
1309
|
+
tagtype?: number;
|
|
1310
|
+
section?: string;
|
|
1311
|
+
user?: string;
|
|
1312
|
+
search?: string;
|
|
1313
|
+
mode?: string;
|
|
1314
|
+
ranking?: string;
|
|
1315
|
+
onmainpage?: string;
|
|
1316
|
+
value?: string;
|
|
1317
|
+
};
|
|
1318
|
+
|
|
1319
|
+
export declare const parseTags: (keywords: any) => string;
|
|
1320
|
+
|
|
1321
|
+
export declare const pathnameSplit: (pathname: string) => {
|
|
1322
|
+
slug: string;
|
|
1323
|
+
path: string;
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
export declare interface PreloadImage {
|
|
1327
|
+
href: string;
|
|
1328
|
+
media?: string;
|
|
1329
|
+
fetchPriority?: "high" | "low" | "auto";
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
export declare const PreloadImages: default_2.FC<PreloadImagesProps>;
|
|
1333
|
+
|
|
1334
|
+
declare interface PreloadImagesProps {
|
|
1335
|
+
images: PreloadImage[];
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
export declare interface Preview {
|
|
1339
|
+
sizes: Array<SizeImage>;
|
|
1340
|
+
original?: {
|
|
1341
|
+
url: string;
|
|
1342
|
+
};
|
|
1343
|
+
description: string | false;
|
|
1344
|
+
copyright?: string | false;
|
|
1345
|
+
photographer?: string | false;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
export declare type PromiseArray = {
|
|
1349
|
+
[key: string]: {
|
|
1350
|
+
promise?: Promise<any>;
|
|
1351
|
+
custom_extractData?: (val: any) => any;
|
|
1352
|
+
};
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
export declare type Props = {
|
|
1356
|
+
params: {
|
|
1357
|
+
news: string;
|
|
1358
|
+
};
|
|
1359
|
+
config: Config;
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
declare type Props_10 = {
|
|
1363
|
+
data: FreeZoneResponse[];
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1366
|
+
declare type Props_11 = {
|
|
1367
|
+
ranking?: NewListResponseData[];
|
|
1368
|
+
banners: BannerResponse[];
|
|
1369
|
+
news?: NewListResponseData[];
|
|
1370
|
+
autor?: AutorInfo[];
|
|
1371
|
+
newsRelatedResponses?: (NewListResponseData[] | undefined)[];
|
|
1372
|
+
itemList?: ItemList[];
|
|
1373
|
+
slug: string;
|
|
1374
|
+
socials: any;
|
|
1375
|
+
getVideos: Function;
|
|
1376
|
+
autorIcon: ReactNode;
|
|
1377
|
+
shareOnlyWhatsApp?: boolean;
|
|
1378
|
+
noteShare?: NoteShare;
|
|
1379
|
+
stylesConfig: {
|
|
1380
|
+
[key: string]: any;
|
|
1381
|
+
};
|
|
1382
|
+
relatedNewsList: any;
|
|
1383
|
+
texts: textsType;
|
|
1384
|
+
paths: RoutePathConfig;
|
|
1385
|
+
internalPath: string;
|
|
1386
|
+
showComments?: boolean;
|
|
1387
|
+
COGNITO_AUTH_PREFIX?: string;
|
|
1388
|
+
captchaVars?: {
|
|
1389
|
+
CAPTCHA_KEY_V2: string;
|
|
1390
|
+
CAPTCHA_KEY: string;
|
|
1391
|
+
};
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
declare type Props_12 = {
|
|
1395
|
+
option: string;
|
|
1396
|
+
entity?: Entity;
|
|
1397
|
+
sectionPadding?: string;
|
|
1398
|
+
backgroundColor?: string;
|
|
1399
|
+
backDropHeigth?: string;
|
|
1400
|
+
textColor?: string;
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
declare type Props_13 = {
|
|
1404
|
+
query: string;
|
|
1405
|
+
hasContent: boolean;
|
|
1406
|
+
texts: textsType;
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
declare type Props_14 = {
|
|
1410
|
+
option: string;
|
|
1411
|
+
autor: Array<AutorInfo>;
|
|
1412
|
+
data: Array<NewListResponseData>;
|
|
1413
|
+
page: number;
|
|
1414
|
+
pathname: string;
|
|
1415
|
+
banners?: BannerResponse[];
|
|
1416
|
+
autorIcon: ReactNode;
|
|
1417
|
+
ranking: Array<NewListResponseData>;
|
|
1418
|
+
currentPage: number;
|
|
1419
|
+
newsListLimit: number;
|
|
1420
|
+
paginationLimit: number;
|
|
1421
|
+
slug: string;
|
|
1422
|
+
texts: {
|
|
1423
|
+
[key: string]: string;
|
|
1424
|
+
};
|
|
1425
|
+
paths: RoutePathConfig;
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
declare type Props_15 = {
|
|
1429
|
+
option: string;
|
|
1430
|
+
data: Array<VideoResponseData>;
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
declare type Props_16 = {
|
|
1434
|
+
option: string;
|
|
1435
|
+
item: NewListResponseData;
|
|
1436
|
+
autorIcon: ReactNode;
|
|
1437
|
+
paths: RoutePathConfig;
|
|
1438
|
+
};
|
|
1439
|
+
|
|
1440
|
+
declare type Props_17 = {
|
|
1441
|
+
component: string;
|
|
1442
|
+
slot_id: string;
|
|
1443
|
+
data: any;
|
|
1444
|
+
banners: BannerResponse[];
|
|
1445
|
+
};
|
|
1446
|
+
|
|
1447
|
+
declare type Props_18 = {
|
|
1448
|
+
children: ReactNode;
|
|
1449
|
+
stylesConfigEntry: {
|
|
1450
|
+
[key: string]: any;
|
|
1451
|
+
};
|
|
1452
|
+
};
|
|
1453
|
+
|
|
1454
|
+
declare type Props_19 = {
|
|
1455
|
+
component: string;
|
|
1456
|
+
data: any;
|
|
1457
|
+
banners: BannerResponse[];
|
|
1458
|
+
rightOnlyBanner?: boolean;
|
|
1459
|
+
};
|
|
1460
|
+
|
|
1461
|
+
declare type Props_2 = {
|
|
1462
|
+
id?: string;
|
|
1463
|
+
dimensionValues?: {
|
|
1464
|
+
[key: string]: string;
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
declare type Props_20 = {
|
|
1469
|
+
slots: any;
|
|
1470
|
+
DYNAMIC_SLOT_SUBINDEXES: number;
|
|
1471
|
+
stylesConfig: ConfigDynamic;
|
|
1472
|
+
AutorIcon: any;
|
|
1473
|
+
config: Config;
|
|
1474
|
+
banners: BannerResponse[];
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1477
|
+
declare type Props_21 = {
|
|
1478
|
+
mainBlock: any;
|
|
1479
|
+
StylesConfigMain: ConfigMain;
|
|
1480
|
+
config: Config;
|
|
1481
|
+
banners: BannerResponse[];
|
|
1482
|
+
};
|
|
1483
|
+
|
|
1484
|
+
declare type Props_22 = {
|
|
1485
|
+
place: string;
|
|
1486
|
+
};
|
|
1487
|
+
|
|
1488
|
+
declare type Props_23 = {
|
|
1489
|
+
children: ReactNode;
|
|
1490
|
+
desktopWidth?: string;
|
|
1491
|
+
className?: string;
|
|
1492
|
+
};
|
|
1493
|
+
|
|
1494
|
+
declare type Props_24 = {
|
|
1495
|
+
children: ReactNode;
|
|
1496
|
+
show: boolean;
|
|
1497
|
+
order?: number;
|
|
1498
|
+
};
|
|
1499
|
+
|
|
1500
|
+
declare type Props_25 = {
|
|
1501
|
+
children: ReactNode;
|
|
1502
|
+
};
|
|
1503
|
+
|
|
1504
|
+
declare type Props_26 = {
|
|
1505
|
+
banners: Array<BannerResponse>;
|
|
1506
|
+
index: string | number;
|
|
1507
|
+
};
|
|
1508
|
+
|
|
1509
|
+
declare type Props_27 = {
|
|
1510
|
+
banners: Array<BannerResponse>;
|
|
1511
|
+
name: string;
|
|
1512
|
+
};
|
|
1513
|
+
|
|
1514
|
+
declare type Props_28 = {
|
|
1515
|
+
title?: string;
|
|
1516
|
+
content: Array<NewListResponseData>;
|
|
1517
|
+
customNewsDescriptionStyles?: CSSProperties;
|
|
1518
|
+
paths: RoutePathConfig;
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
declare type Props_29 = {
|
|
1522
|
+
title: string;
|
|
1523
|
+
sibtitle: string;
|
|
1524
|
+
image: ReactNode;
|
|
1525
|
+
texts: textsType;
|
|
1526
|
+
className?: string;
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1529
|
+
declare type Props_3 = {
|
|
1530
|
+
axiosApi: AxiosInstance;
|
|
1531
|
+
banners: BannerResponse[];
|
|
1532
|
+
config: Config;
|
|
1533
|
+
socials: Socials;
|
|
1534
|
+
defaultMetadataName: MetadataDefaultsKeys;
|
|
1535
|
+
meta: any;
|
|
1536
|
+
imgSizes?: any;
|
|
1537
|
+
texts?: {
|
|
1538
|
+
[key: string]: string;
|
|
1539
|
+
};
|
|
1540
|
+
pathname: string;
|
|
1541
|
+
slug?: string;
|
|
1542
|
+
query?: string;
|
|
1543
|
+
internalPath?: string;
|
|
1544
|
+
speculationType?: 'Common' | 'Home';
|
|
1545
|
+
preloadImageUrl?: PreloadImage[];
|
|
1546
|
+
currentNew?: NewListResponseData;
|
|
1547
|
+
custom_metadata?: Metadata;
|
|
1548
|
+
custom_scriptReplaces?: {
|
|
1549
|
+
'[author_replace]': string;
|
|
1550
|
+
'[section_replace]': string;
|
|
1551
|
+
'[tag_replace]': string;
|
|
1552
|
+
'[url_replace]': string;
|
|
1553
|
+
};
|
|
1554
|
+
custom_Speculation?: string;
|
|
1555
|
+
headConfig?: headConfig;
|
|
1556
|
+
custom_elements?: any;
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
declare type Props_30 = {
|
|
1560
|
+
title: string;
|
|
1561
|
+
sibtitle: string;
|
|
1562
|
+
image: ReactNode;
|
|
1563
|
+
texts: textsType;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
declare type Props_31 = {
|
|
1567
|
+
whatsappLink: string;
|
|
1568
|
+
terms: string;
|
|
1569
|
+
};
|
|
1570
|
+
|
|
1571
|
+
declare type Props_32 = {
|
|
1572
|
+
socials: any;
|
|
1573
|
+
socialNetworks: any;
|
|
1574
|
+
freeZone: Array<MenuResponse>;
|
|
1575
|
+
};
|
|
1576
|
+
|
|
1577
|
+
declare type Props_33 = {
|
|
1578
|
+
socials: any;
|
|
1579
|
+
socialNetworks: any;
|
|
1580
|
+
freeZone: Array<MenuResponse>;
|
|
1581
|
+
menu: Array<MenuResponse>;
|
|
1582
|
+
logo: ReactNode;
|
|
1583
|
+
copyrigth?: string;
|
|
1584
|
+
customBlock?: ReactNode;
|
|
1585
|
+
};
|
|
1586
|
+
|
|
1587
|
+
declare type Props_34 = {
|
|
1588
|
+
video: VideoResponseData;
|
|
1589
|
+
type: string;
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
declare type Props_35 = {
|
|
1593
|
+
currentPage: number;
|
|
1594
|
+
showNext: boolean;
|
|
1595
|
+
maxPages: number;
|
|
1596
|
+
pathname: string;
|
|
1597
|
+
query: string;
|
|
1598
|
+
texts: {
|
|
1599
|
+
[key: string]: string;
|
|
1600
|
+
};
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
declare type Props_36 = {
|
|
1604
|
+
children: ReactNode;
|
|
1605
|
+
paginatorComponent?: ReactNode;
|
|
1606
|
+
grid?: 3 | 4;
|
|
1607
|
+
className?: string;
|
|
1608
|
+
};
|
|
1609
|
+
|
|
1610
|
+
declare type Props_37 = {
|
|
1611
|
+
children: ReactNode;
|
|
1612
|
+
className?: string;
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
declare type Props_38 = {
|
|
1616
|
+
title: string;
|
|
1617
|
+
description: string;
|
|
1618
|
+
buttonText?: string;
|
|
1619
|
+
logo: any;
|
|
1620
|
+
backgroundImgURL?: string;
|
|
1621
|
+
};
|
|
1622
|
+
|
|
1623
|
+
declare type Props_39 = {
|
|
1624
|
+
label: string;
|
|
1625
|
+
} & InputHTMLAttributes<HTMLInputElement>;
|
|
1626
|
+
|
|
1627
|
+
declare type Props_4 = {
|
|
1628
|
+
children: ReactNode;
|
|
1629
|
+
defaultRouteName: MetadataDefaultsKeys;
|
|
1630
|
+
bodyConfig: CSSProperties;
|
|
1631
|
+
banners: BannerResponse[];
|
|
1632
|
+
analytics: Analytics;
|
|
1633
|
+
pathname: string;
|
|
1634
|
+
config: Config;
|
|
1635
|
+
slug?: string;
|
|
1636
|
+
internalPath?: string;
|
|
1637
|
+
currentNew?: NewListResponseData;
|
|
1638
|
+
tagsParsed?: string;
|
|
1639
|
+
scriptReplaces: {
|
|
1640
|
+
[key in 'before' | 'after']: {
|
|
1641
|
+
active: boolean;
|
|
1642
|
+
customData: {
|
|
1643
|
+
'[author_replace]': string;
|
|
1644
|
+
'[section_replace]': string;
|
|
1645
|
+
'[tag_replace]': string;
|
|
1646
|
+
'[url_replace]': string;
|
|
1647
|
+
} | undefined;
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
declare type Props_40 = {
|
|
1653
|
+
label: string;
|
|
1654
|
+
options: Array<SelectItem>;
|
|
1655
|
+
} & InputHTMLAttributes<HTMLSelectElement>;
|
|
1656
|
+
|
|
1657
|
+
declare interface Props_41 extends DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> {
|
|
1658
|
+
label: string;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
declare type Props_42 = {
|
|
1662
|
+
fontSizeSubTitle?: string;
|
|
1663
|
+
lineHeightSubTitle?: string;
|
|
1664
|
+
} & NewListResponseData;
|
|
1665
|
+
|
|
1666
|
+
declare type Props_43 = {
|
|
1667
|
+
itemList: Array<ItemList>;
|
|
1668
|
+
};
|
|
1669
|
+
|
|
1670
|
+
declare type Props_44 = {
|
|
1671
|
+
children: ReactNode;
|
|
1672
|
+
banner: ReactNode;
|
|
1673
|
+
bannerTop: ReactNode;
|
|
1674
|
+
readestTitle: string;
|
|
1675
|
+
ranking: Array<NewListResponseData>;
|
|
1676
|
+
paths: RoutePathConfig;
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
declare type Props_45 = {
|
|
1680
|
+
video: VideoResponseData;
|
|
1681
|
+
videoList: Array<VideoResponseData>;
|
|
1682
|
+
type: string;
|
|
1683
|
+
mainVideoStyles?: CSSProperties;
|
|
1684
|
+
listVideoStyles?: CSSProperties;
|
|
1685
|
+
paths: RoutePathConfig;
|
|
1686
|
+
relatedName?: string;
|
|
1687
|
+
banner?: {
|
|
1688
|
+
banners: Array<BannerResponse>;
|
|
1689
|
+
bannerName: string;
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
declare type Props_5 = {
|
|
1694
|
+
pathname?: string;
|
|
1695
|
+
slug?: string;
|
|
1696
|
+
config?: Config;
|
|
1697
|
+
currentNew?: NewListResponseData;
|
|
1698
|
+
internalPath?: string;
|
|
1699
|
+
};
|
|
1700
|
+
|
|
1701
|
+
declare type Props_6 = {
|
|
1702
|
+
showTitle?: boolean;
|
|
1703
|
+
} & NewsDescriptionProps;
|
|
1704
|
+
|
|
1705
|
+
declare type Props_7 = {
|
|
1706
|
+
option: string;
|
|
1707
|
+
menu: Array<MenuResponse>;
|
|
1708
|
+
sidebar: Array<MenuResponse>;
|
|
1709
|
+
alertZone?: NewListResponse;
|
|
1710
|
+
cintillo?: Array<MenuResponse>;
|
|
1711
|
+
socialIcons?: boolean;
|
|
1712
|
+
children: ReactNode;
|
|
1713
|
+
tapeTitle?: string;
|
|
1714
|
+
icon: ReactNode;
|
|
1715
|
+
socials: Socials;
|
|
1716
|
+
copyrigth?: string;
|
|
1717
|
+
rightZone?: ReactNode;
|
|
1718
|
+
sidebarExtra?: ReactNode;
|
|
1719
|
+
showAlertPop?: boolean;
|
|
1720
|
+
texts: textsType;
|
|
1721
|
+
searchLink?: string;
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
declare type Props_8 = {
|
|
1725
|
+
socials: any;
|
|
1726
|
+
socialNetworks: any;
|
|
1727
|
+
option: string;
|
|
1728
|
+
menu: Array<MenuResponse>;
|
|
1729
|
+
freeZone: Array<MenuResponse>;
|
|
1730
|
+
logo: ReactNode;
|
|
1731
|
+
copyrigth?: string;
|
|
1732
|
+
customBlock?: ReactNode;
|
|
1733
|
+
};
|
|
1734
|
+
|
|
1735
|
+
declare type Props_9 = {
|
|
1736
|
+
option: string;
|
|
1737
|
+
slug: string;
|
|
1738
|
+
currentPage: number;
|
|
1739
|
+
data: Array<NewListResponseData>;
|
|
1740
|
+
banners?: BannerResponse[];
|
|
1741
|
+
ranking: Array<NewListResponseData>;
|
|
1742
|
+
PAGINATION_MAX_PAGES: number;
|
|
1743
|
+
NEWS_PER_SECTION: number;
|
|
1744
|
+
pathname: string;
|
|
1745
|
+
autorIcon: ReactNode;
|
|
1746
|
+
texts: {
|
|
1747
|
+
[key: string]: string;
|
|
1748
|
+
};
|
|
1749
|
+
paths: RoutePathConfig;
|
|
1750
|
+
};
|
|
1751
|
+
|
|
1752
|
+
export declare const Readest: FC<Props_28>;
|
|
1753
|
+
|
|
1754
|
+
declare interface Related {
|
|
1755
|
+
automatic: boolean;
|
|
1756
|
+
news: News[];
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
declare interface Relatedexternal {
|
|
1760
|
+
news: boolean;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
export declare const removePages: (pathname: string) => string;
|
|
1764
|
+
|
|
1765
|
+
declare type replaces = {
|
|
1766
|
+
'[author_replace]': string;
|
|
1767
|
+
'[section_replace]': string;
|
|
1768
|
+
'[tag_replace]': string;
|
|
1769
|
+
'[url_replace]': string;
|
|
1770
|
+
};
|
|
1771
|
+
|
|
1772
|
+
export declare interface ReplyType {
|
|
1773
|
+
id: string;
|
|
1774
|
+
state?: number;
|
|
1775
|
+
date: CommentDate;
|
|
1776
|
+
featured?: number;
|
|
1777
|
+
text: string;
|
|
1778
|
+
user: UserType | false;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
export declare const REPORT_REASONS: {
|
|
1782
|
+
readonly spam: "Es spam o contenido comercial no deseado";
|
|
1783
|
+
readonly inappropriate: "Lenguaje inadecuado";
|
|
1784
|
+
readonly hate: "Discurso o símbolos de odio";
|
|
1785
|
+
readonly misinformation: "Información falsa o fraude";
|
|
1786
|
+
readonly terrorism: "Promueve el terrorismo";
|
|
1787
|
+
readonly intellectual: "Violación de propiedad intelectual";
|
|
1788
|
+
readonly bullying: "Bullying o acoso";
|
|
1789
|
+
};
|
|
1790
|
+
|
|
1791
|
+
export declare function reportComment({ publication, username, id, type, baseUrl, captchaToken, captchaEnvVars, apiToken, }: ReportCommentParams): Promise<{
|
|
1792
|
+
type: string;
|
|
1793
|
+
message: string;
|
|
1794
|
+
status: number;
|
|
1795
|
+
data: any;
|
|
1796
|
+
}>;
|
|
1797
|
+
|
|
1798
|
+
export declare interface ReportCommentParams {
|
|
1799
|
+
publication: string;
|
|
1800
|
+
username: string;
|
|
1801
|
+
id: string;
|
|
1802
|
+
type: string;
|
|
1803
|
+
baseUrl: string;
|
|
1804
|
+
captchaToken: string;
|
|
1805
|
+
apiToken: string;
|
|
1806
|
+
captchaEnvVars: {
|
|
1807
|
+
CAPTCHA_PROJECT: string;
|
|
1808
|
+
CAPTCHA_KEY_V2: string;
|
|
1809
|
+
COMMENTS_CAPTCHA_API_KEY: string;
|
|
1810
|
+
};
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
export declare type ReportReasonKey = keyof typeof REPORT_REASONS;
|
|
1814
|
+
|
|
1815
|
+
export declare interface RoutePathConfig {
|
|
1816
|
+
autor: string | 'autor';
|
|
1817
|
+
tema: string | 'tema';
|
|
1818
|
+
buscar: string | 'buscar';
|
|
1819
|
+
seccion: string | 'seccion';
|
|
1820
|
+
contacto?: string | 'contacto';
|
|
1821
|
+
anuncia?: string | 'anuncia';
|
|
1822
|
+
'ultimas-noticias': string | 'ultimas-noticias';
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
export declare const SearchSection: FC<Props_13>;
|
|
1826
|
+
|
|
1827
|
+
export declare const Section: ForwardRefExoticComponent<SectionProps & RefAttributes<HTMLDivElement>>;
|
|
1828
|
+
|
|
1829
|
+
export declare const SectionCard: FC<SectionCardProps>;
|
|
1830
|
+
|
|
1831
|
+
declare interface SectionCardCarouselProps extends Omit<SectionProps, 'children'> {
|
|
1832
|
+
content: Array<NewListResponseData>;
|
|
1833
|
+
slot_id: string;
|
|
1834
|
+
autorIcon: ReactNode;
|
|
1835
|
+
paths: RoutePathConfig;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
declare interface SectionCardChipCSS {
|
|
1839
|
+
'--section-card-chip-display'?: string;
|
|
1840
|
+
'--section-card-chip-display-mobile'?: string;
|
|
1841
|
+
'--section-card-chip-weight'?: string;
|
|
1842
|
+
'--section-card-chip-line-height'?: string;
|
|
1843
|
+
'--section-card-chip-letter-spacing'?: string;
|
|
1844
|
+
'--section-card-chip-text-transform'?: string;
|
|
1845
|
+
'--section-card-chip-background'?: string;
|
|
1846
|
+
'--section-card-chip-padding'?: string;
|
|
1847
|
+
'--section-card-chip-border'?: string;
|
|
1848
|
+
'--section-card-chip-border-radius'?: string;
|
|
1849
|
+
'--section-card-chip-color'?: string;
|
|
1850
|
+
'--section-card-chip-position'?: string;
|
|
1851
|
+
'--section-card-chip-left'?: string;
|
|
1852
|
+
'--super-content-news-height'?: string;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
declare interface SectionCardCSS extends NewsDescriptionCSS {
|
|
1856
|
+
'--section-card-image-border-radius'?: string;
|
|
1857
|
+
'--section-card-image-box-shadow'?: string;
|
|
1858
|
+
'--section-card-news-description-padding-desk'?: string;
|
|
1859
|
+
'--section-card-news-description-padding-mobile'?: string;
|
|
1860
|
+
'--section-card-background'?: string;
|
|
1861
|
+
'--section-card-border'?: string;
|
|
1862
|
+
'--section-card-border-radius-content'?: string;
|
|
1863
|
+
'--section-card-border-radius-content-mobile'?: string;
|
|
1864
|
+
'--section-card-box-shadow'?: string;
|
|
1865
|
+
'--section-img-card-border-bottom'?: string;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
declare interface SectionCardProps extends Omit<NewsDescriptionProps, 'preview'>, Omit<ImageProps_2, 'info'> {
|
|
1869
|
+
isLarge?: boolean;
|
|
1870
|
+
sectionCardNewsDescClass?: string;
|
|
1871
|
+
customSectionCardStyles?: CSSProperties;
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
export declare const SectionCardServerComponent: FC<Props_16>;
|
|
1875
|
+
|
|
1876
|
+
declare interface SectionCSS {
|
|
1877
|
+
'--section-title-color'?: string;
|
|
1878
|
+
'--section-title-sideLines'?: string;
|
|
1879
|
+
'--section-title-bottomLine'?: string;
|
|
1880
|
+
'--section-title-read-more'?: string;
|
|
1881
|
+
'--section-title-read-more-color'?: string;
|
|
1882
|
+
'--section-title-read-more-hover-color'?: string;
|
|
1883
|
+
'--section-title-read-more-font-size-desk'?: string;
|
|
1884
|
+
'--section-title-read-more-line-height-desk'?: string;
|
|
1885
|
+
'--section-title-read-more-font-size-mobile'?: string;
|
|
1886
|
+
'--section-title-read-more-line-height-mobile'?: string;
|
|
1887
|
+
'--section-title-font-size'?: string;
|
|
1888
|
+
'--section-title-font-family'?: string;
|
|
1889
|
+
'--section-line-color'?: string;
|
|
1890
|
+
'--section-title-text-transform'?: string;
|
|
1891
|
+
'--section-line-width'?: string;
|
|
1892
|
+
'--section-background-color'?: string;
|
|
1893
|
+
'--section-back-drop-heigth'?: string;
|
|
1894
|
+
'--section-content-padding'?: string;
|
|
1895
|
+
'--section-title-padding-desk'?: string;
|
|
1896
|
+
'--section-title-padding-mobile'?: string;
|
|
1897
|
+
'--section-title-tab-background'?: string;
|
|
1898
|
+
'--section-title-tab-width'?: string;
|
|
1899
|
+
'--section-title-tab-height'?: string;
|
|
1900
|
+
'--section-title-border-top'?: string;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
declare interface SectionProps {
|
|
1904
|
+
title: ReactNode;
|
|
1905
|
+
className?: string;
|
|
1906
|
+
titleUrl?: string;
|
|
1907
|
+
isOpinion?: boolean;
|
|
1908
|
+
children: ReactNode;
|
|
1909
|
+
isTitle?: boolean;
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
export declare const SectionServerComponent: FC<Props_9>;
|
|
1913
|
+
|
|
1914
|
+
declare type SelectItem = {
|
|
1915
|
+
label: string;
|
|
1916
|
+
value: string | number;
|
|
1917
|
+
};
|
|
1918
|
+
|
|
1919
|
+
export declare const ShowSection: FC<Props_24>;
|
|
1920
|
+
|
|
1921
|
+
declare interface Size {
|
|
1922
|
+
size: string;
|
|
1923
|
+
url: string;
|
|
1924
|
+
width: number;
|
|
1925
|
+
height: number;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
export declare interface SizeImage {
|
|
1929
|
+
url: string;
|
|
1930
|
+
width: number;
|
|
1931
|
+
height: number;
|
|
1932
|
+
scale?: string;
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
declare interface Social {
|
|
1936
|
+
title: boolean;
|
|
1937
|
+
description: boolean;
|
|
1938
|
+
images: boolean;
|
|
1939
|
+
tags: boolean;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
export declare const socialIcons: {
|
|
1943
|
+
[key: string]: any;
|
|
1944
|
+
};
|
|
1945
|
+
|
|
1946
|
+
export declare const SocialNetworks: {
|
|
1947
|
+
FaceBook: string;
|
|
1948
|
+
Instagram: string;
|
|
1949
|
+
WhatsApp: string;
|
|
1950
|
+
TikTok: string;
|
|
1951
|
+
Youtube: string;
|
|
1952
|
+
X: string;
|
|
1953
|
+
Gnews: string;
|
|
1954
|
+
Podcast: string;
|
|
1955
|
+
Telegram: string;
|
|
1956
|
+
};
|
|
1957
|
+
|
|
1958
|
+
export declare type Socials = {
|
|
1959
|
+
[x: string]: Network;
|
|
1960
|
+
};
|
|
1961
|
+
|
|
1962
|
+
export declare function StaticSlotWrapper({ children, stylesConfigEntry, }: Props_18): JSX.Element;
|
|
1963
|
+
|
|
1964
|
+
export declare const SubscribeColumn: (props: Props_29) => JSX.Element;
|
|
1965
|
+
|
|
1966
|
+
export declare const SubscribeRow: FC<Props_30>;
|
|
1967
|
+
|
|
1968
|
+
export declare const SubscribeWhatsAppColumn: FC<Props_31>;
|
|
1969
|
+
|
|
1970
|
+
declare interface Subtitle {
|
|
1971
|
+
rendered: string;
|
|
1972
|
+
striped: string;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
export declare type Super = {
|
|
1976
|
+
'--super-content-news-color'?: string;
|
|
1977
|
+
'--super-content-news-border-top'?: string;
|
|
1978
|
+
'--super-content-news-position'?: string;
|
|
1979
|
+
'--super-content-news-bottom'?: string;
|
|
1980
|
+
'--super-content-news-width'?: string;
|
|
1981
|
+
'--super-content-news-margin'?: string;
|
|
1982
|
+
'--super-content-news-margin-mobile'?: string;
|
|
1983
|
+
'--super-content-news-bottom-mobile'?: string;
|
|
1984
|
+
'--super-content-news-align-items-mobile'?: string;
|
|
1985
|
+
'--super-content-news-align-items-desk'?: string;
|
|
1986
|
+
'--super-title-text-align-mobile'?: string;
|
|
1987
|
+
'--super-title-text-align-desk'?: string;
|
|
1988
|
+
'--super-content-linkTitle-justify-content'?: string;
|
|
1989
|
+
'--super-content-news-padding-mobile'?: string;
|
|
1990
|
+
'--super-content-news-margin-bottom'?: string;
|
|
1991
|
+
'--super-content-news-margin-bottom-mobile'?: string;
|
|
1992
|
+
'--super-title-text-color'?: string;
|
|
1993
|
+
'--super-content-news-box-shadow'?: string;
|
|
1994
|
+
'--super-description-news-display'?: string;
|
|
1995
|
+
'--section-card-tagmx-display'?: string;
|
|
1996
|
+
'--super-description-news-text-align'?: string;
|
|
1997
|
+
'--super-content-news-gap'?: string;
|
|
1998
|
+
'--super-content-linkTitle-align-content'?: string;
|
|
1999
|
+
'--super-description-news-color'?: string;
|
|
2000
|
+
};
|
|
2001
|
+
|
|
2002
|
+
export declare interface Tag {
|
|
2003
|
+
approved: boolean;
|
|
2004
|
+
name: string;
|
|
2005
|
+
id: string;
|
|
2006
|
+
info: boolean;
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
export declare const TagComponent: FC<Props_12>;
|
|
2010
|
+
|
|
2011
|
+
export declare type textsType = {
|
|
2012
|
+
menuText: string;
|
|
2013
|
+
editionText: string;
|
|
2014
|
+
readestTitle: string;
|
|
2015
|
+
enVivoButton: string;
|
|
2016
|
+
tapeTitle: string;
|
|
2017
|
+
sideCopyright: string;
|
|
2018
|
+
footerCopyright: string;
|
|
2019
|
+
relatedNewsTitle: string;
|
|
2020
|
+
moreNewsTitle: string;
|
|
2021
|
+
searchKeyWord: string;
|
|
2022
|
+
autor: string;
|
|
2023
|
+
tema: string;
|
|
2024
|
+
buscar: string;
|
|
2025
|
+
seccion: string;
|
|
2026
|
+
'ultimas-noticias': string;
|
|
2027
|
+
[key: string]: string;
|
|
2028
|
+
};
|
|
2029
|
+
|
|
2030
|
+
export declare const TimeLine: FC<Props_43>;
|
|
2031
|
+
|
|
2032
|
+
declare interface Title {
|
|
2033
|
+
home: string;
|
|
2034
|
+
section: string;
|
|
2035
|
+
article: string;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
export declare function TrimPathname(url: string): string;
|
|
2039
|
+
|
|
2040
|
+
export declare const urlReplaces: (internalPath: string) => string;
|
|
2041
|
+
|
|
2042
|
+
export declare interface UserType {
|
|
2043
|
+
username: string;
|
|
2044
|
+
firstname: string;
|
|
2045
|
+
lastname?: string;
|
|
2046
|
+
picture?: string;
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* Verifica el token de reCAPTCHA usando la API de Google
|
|
2051
|
+
* @param token El token generado por el cliente
|
|
2052
|
+
* @param projectId El ID del proyecto de Google Cloud
|
|
2053
|
+
* @param captchaKey La clave del sitio de reCAPTCHA
|
|
2054
|
+
* @param captchaAction El nombre de la acción que corresponde al token
|
|
2055
|
+
* @returns Una promesa que se resuelve con la puntuación de riesgo
|
|
2056
|
+
*/
|
|
2057
|
+
export declare const verifyCaptchaTokenEnterprise: ({ token, projectId, captchaKey, apiKey, captchaAction, }: {
|
|
2058
|
+
token: string;
|
|
2059
|
+
projectId: string;
|
|
2060
|
+
captchaKey: string;
|
|
2061
|
+
apiKey: string;
|
|
2062
|
+
captchaAction: captchaActionType;
|
|
2063
|
+
}) => Promise<number>;
|
|
2064
|
+
|
|
2065
|
+
export declare const VideoBlock3: FC<Props_34>;
|
|
2066
|
+
|
|
2067
|
+
export declare const VideoBlock4: FC<Props_45>;
|
|
2068
|
+
|
|
2069
|
+
export declare interface VideoResponseData {
|
|
2070
|
+
config: {
|
|
2071
|
+
autoplay: boolean;
|
|
2072
|
+
mute: boolean;
|
|
2073
|
+
};
|
|
2074
|
+
info: {
|
|
2075
|
+
type: string;
|
|
2076
|
+
size: boolean;
|
|
2077
|
+
path: string;
|
|
2078
|
+
bitrate: boolean;
|
|
2079
|
+
creator: string;
|
|
2080
|
+
date: {
|
|
2081
|
+
created: number;
|
|
2082
|
+
modified: number;
|
|
2083
|
+
};
|
|
2084
|
+
duration: {
|
|
2085
|
+
rendered: string;
|
|
2086
|
+
striped: number;
|
|
2087
|
+
};
|
|
2088
|
+
link: {
|
|
2089
|
+
canonical: boolean;
|
|
2090
|
+
internal: string;
|
|
2091
|
+
target: string;
|
|
2092
|
+
url: string;
|
|
2093
|
+
};
|
|
2094
|
+
};
|
|
2095
|
+
main: {
|
|
2096
|
+
agency: boolean;
|
|
2097
|
+
author: boolean;
|
|
2098
|
+
categories: string;
|
|
2099
|
+
code: string;
|
|
2100
|
+
description: string;
|
|
2101
|
+
tags: string;
|
|
2102
|
+
title: string;
|
|
2103
|
+
image: ImageProps;
|
|
2104
|
+
};
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
declare interface VideoSchemasProps {
|
|
2108
|
+
realPath: string;
|
|
2109
|
+
config: Config;
|
|
2110
|
+
axiosApi: AxiosInstance;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
export declare const VideoSection: FC<Props_15>;
|
|
2114
|
+
|
|
2115
|
+
export declare const VideosSchemas: ({ realPath, config, axiosApi }: VideoSchemasProps) => Promise<JSX.Element | null | undefined>;
|
|
2116
|
+
|
|
2117
|
+
export declare const WebsiteList: ({ config }: {
|
|
2118
|
+
config: Config;
|
|
2119
|
+
}) => JSX.Element;
|
|
2120
|
+
|
|
2121
|
+
export { }
|