sass-template-common 0.3.76 → 0.3.78
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.d.ts +30 -0
- package/dist/sass-template-common.js +3255 -3168
- package/dist/sass-template-common.umd.cjs +34 -34
- package/package.json +1 -1
|
@@ -401,6 +401,30 @@ export declare const ContentLayout1: FC<Props_22>;
|
|
|
401
401
|
|
|
402
402
|
export declare const ContentLayoutTema: FC<Props_36>;
|
|
403
403
|
|
|
404
|
+
export declare const createAssessment: ({ projectID, recaptchaKey, token, recaptchaAction, apiKey, userAgent, userIpAddress, }: CreateAssessmentParams) => Promise<number | null>;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Crea una evaluación para analizar el riesgo de una acción de la IU.
|
|
408
|
+
* Usa la API REST de reCAPTCHA Enterprise (sin SDK, ~12MB menos en deploy).
|
|
409
|
+
*
|
|
410
|
+
* projectID: El ID del proyecto de Google Cloud.
|
|
411
|
+
* recaptchaKey: La clave reCAPTCHA (site key) asociada con el sitio.
|
|
412
|
+
* token: El token generado obtenido del cliente.
|
|
413
|
+
* recaptchaAction: El nombre de la acción que corresponde al token.
|
|
414
|
+
* apiKey: API key de Google Cloud para autenticar la petición REST.
|
|
415
|
+
* userAgent: (opcional) User-Agent del request para mejor detección.
|
|
416
|
+
* userIpAddress: (opcional) IP del usuario para mejor detección.
|
|
417
|
+
*/
|
|
418
|
+
declare interface CreateAssessmentParams {
|
|
419
|
+
projectID: string;
|
|
420
|
+
recaptchaKey: string;
|
|
421
|
+
token: string;
|
|
422
|
+
recaptchaAction: string;
|
|
423
|
+
apiKey: string;
|
|
424
|
+
userAgent?: string;
|
|
425
|
+
userIpAddress?: string;
|
|
426
|
+
}
|
|
427
|
+
|
|
404
428
|
export declare const cutString: (text: string, length?: number) => string;
|
|
405
429
|
|
|
406
430
|
export declare interface DataNews {
|
|
@@ -1117,6 +1141,11 @@ export declare type LibraryConfig = {
|
|
|
1117
1141
|
};
|
|
1118
1142
|
USE_QUOTE_IN_QUERY_TAG_HOME?: boolean;
|
|
1119
1143
|
FETCH_TAG_BASED_RELATED_NEWS?: boolean;
|
|
1144
|
+
SUB_PUBLICATION_PREFIX_IN_ROUTES?: {
|
|
1145
|
+
buscar: boolean;
|
|
1146
|
+
autor: boolean;
|
|
1147
|
+
tema: boolean;
|
|
1148
|
+
};
|
|
1120
1149
|
};
|
|
1121
1150
|
|
|
1122
1151
|
export declare interface Link {
|
|
@@ -1853,6 +1882,7 @@ declare type Props_34 = {
|
|
|
1853
1882
|
texts: {
|
|
1854
1883
|
[key: string]: string;
|
|
1855
1884
|
};
|
|
1885
|
+
block_subPublication?: boolean;
|
|
1856
1886
|
};
|
|
1857
1887
|
|
|
1858
1888
|
declare type Props_35 = {
|