sass-template-common 0.16.16 → 0.16.17
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 +13 -0
- package/dist/sass-template-common.js +1876 -1858
- package/dist/sass-template-common.umd.cjs +27 -27
- package/package.json +1 -1
|
@@ -857,6 +857,7 @@ export declare type ConfigDynamic = {
|
|
|
857
857
|
'Carrusel card': any;
|
|
858
858
|
'Carrusel story': any;
|
|
859
859
|
'Carrusel owl': any;
|
|
860
|
+
'Carrusel Videos'?: any;
|
|
860
861
|
'Carrusel video'?: any;
|
|
861
862
|
'Carusel videos'?: any;
|
|
862
863
|
'Modulo fotogaleria': any;
|
|
@@ -1557,6 +1558,15 @@ export declare function GenerateHead({ axiosApi, headConfig: headConfigInput, me
|
|
|
1557
1558
|
/** Cliente axios compartido por origen de bucket (keep-alive en Node SSR). */
|
|
1558
1559
|
export declare function getBucketHttpClient(baseUrl: string, referer: string): AxiosInstance;
|
|
1559
1560
|
|
|
1561
|
+
/**
|
|
1562
|
+
* Busca en un dict keyed por nombre de bloque (SlotComponents, stylesConfig,
|
|
1563
|
+
* imgSizes). Match exacto primero; si no, compara nombres normalizados para que
|
|
1564
|
+
* 'Carrusel Videos', 'Carrusel video' y 'Carusel videos' resuelvan igual.
|
|
1565
|
+
*/
|
|
1566
|
+
export declare const getByBlockName: <T>(dict: {
|
|
1567
|
+
[key: string]: T;
|
|
1568
|
+
} | undefined | null, name: string | undefined | null) => T | undefined;
|
|
1569
|
+
|
|
1560
1570
|
/**
|
|
1561
1571
|
* Helper para conseguir el recaptcha token usando grecaptcha.enterprise
|
|
1562
1572
|
* Make sure to load the grecaptcha script in your HTML:
|
|
@@ -3186,6 +3196,9 @@ export declare const NextPrev: FC<Props_36>;
|
|
|
3186
3196
|
*/
|
|
3187
3197
|
export declare const normalizeAuthorSocialUrl: (network: AuthorSocialNetwork, rawValue: unknown) => string;
|
|
3188
3198
|
|
|
3199
|
+
/** Normaliza un nombre de bloque: trim, minúsculas, espacios colapsados y alias. */
|
|
3200
|
+
export declare const normalizeBlockName: (name: string) => string;
|
|
3201
|
+
|
|
3189
3202
|
/**
|
|
3190
3203
|
* Deja la entrada del ranking lista para `Readest`/`NewDescriptionBlock`.
|
|
3191
3204
|
* Idempotente: una entrada ya normalizada (o una nota completa) se devuelve
|