sass-template-common 0.0.8 → 0.0.10
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.css +1 -1
- package/dist/sass-template-common.d.ts +58 -3
- package/dist/sass-template-common.js +8330 -6361
- package/dist/sass-template-common.umd.cjs +43 -43
- package/package.json +1 -1
|
@@ -646,13 +646,18 @@ export declare interface FreeZoneResponse {
|
|
|
646
646
|
|
|
647
647
|
export declare const GA4: ({ id, dimensionValues }: Props_2) => "" | JSX.Element | undefined;
|
|
648
648
|
|
|
649
|
+
export declare const GalleryHeader: ({ newsformated, internal, }: {
|
|
650
|
+
newsformated: NewListResponseData;
|
|
651
|
+
internal?: string;
|
|
652
|
+
}) => Promise<JSX.Element | undefined>;
|
|
653
|
+
|
|
649
654
|
export declare const generalGetData: (promiseArray: PromiseArray) => Promise<{
|
|
650
655
|
[key: string]: any;
|
|
651
656
|
}>;
|
|
652
657
|
|
|
653
|
-
export declare const GenerateBody: ({ children, defaultRouteName, bodyConfig, banners, pathname, slug, config, internalPath, analytics, currentNew, tagsParsed, scriptReplaces }: Props_4) => JSX.Element;
|
|
658
|
+
export declare const GenerateBody: ({ children, defaultRouteName, bodyConfig, banners, pathname, slug, config, internalPath, analytics, currentNew, tagsParsed, scriptReplaces, body_custom_elements, }: Props_4) => JSX.Element;
|
|
654
659
|
|
|
655
|
-
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,
|
|
660
|
+
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, head_custom_elements, }: Props_3): Promise<ReactNode>;
|
|
656
661
|
|
|
657
662
|
/**
|
|
658
663
|
* Helper para conseguir el recaptcha token usando grecaptcha.enterprise
|
|
@@ -786,6 +791,8 @@ declare interface Image_2 {
|
|
|
786
791
|
}
|
|
787
792
|
export { Image_2 as Image }
|
|
788
793
|
|
|
794
|
+
export declare const ImageOffline: FC<ImageProps_3>;
|
|
795
|
+
|
|
789
796
|
declare interface ImageProps {
|
|
790
797
|
copyright: boolean;
|
|
791
798
|
description: string | false;
|
|
@@ -811,6 +818,15 @@ declare interface ImageProps_2 {
|
|
|
811
818
|
BackDropAuxHeigthMobile?: string;
|
|
812
819
|
}
|
|
813
820
|
|
|
821
|
+
declare interface ImageProps_3 {
|
|
822
|
+
preview: Preview;
|
|
823
|
+
isVideo?: boolean;
|
|
824
|
+
isLarge?: boolean;
|
|
825
|
+
hasShadow?: boolean;
|
|
826
|
+
priorityHigh?: boolean;
|
|
827
|
+
cookies?: any;
|
|
828
|
+
}
|
|
829
|
+
|
|
814
830
|
export declare interface Info {
|
|
815
831
|
type?: string;
|
|
816
832
|
section?: {
|
|
@@ -880,6 +896,30 @@ declare interface ItemListSchemaProps {
|
|
|
880
896
|
|
|
881
897
|
export declare const LayoutNewsComponent: FC<Props_44>;
|
|
882
898
|
|
|
899
|
+
export declare const LazyLoader: ({ render, internalPath, section, currentNews, stylesConfig, icon, COGNITO_AUTH_PREFIX, captchaVars, }: LazyLoaderProps) => JSX.Element;
|
|
900
|
+
|
|
901
|
+
declare type LazyLoaderProps = {
|
|
902
|
+
render: 'more' | 'comment';
|
|
903
|
+
section?: string;
|
|
904
|
+
currentNews?: NewListResponseData;
|
|
905
|
+
config?: {
|
|
906
|
+
apiUrl: string;
|
|
907
|
+
publication: number;
|
|
908
|
+
imagesizes: string;
|
|
909
|
+
apiToken: string;
|
|
910
|
+
};
|
|
911
|
+
stylesConfig?: {
|
|
912
|
+
[key: string]: any;
|
|
913
|
+
};
|
|
914
|
+
internalPath?: string;
|
|
915
|
+
icon?: ReactNode;
|
|
916
|
+
COGNITO_AUTH_PREFIX?: string;
|
|
917
|
+
captchaVars?: {
|
|
918
|
+
CAPTCHA_KEY_V2: string;
|
|
919
|
+
CAPTCHA_KEY: string;
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
|
|
883
923
|
export declare interface Link {
|
|
884
924
|
url: string;
|
|
885
925
|
canonical: string;
|
|
@@ -1181,6 +1221,20 @@ export declare type NewListResponseData = {
|
|
|
1181
1221
|
};
|
|
1182
1222
|
};
|
|
1183
1223
|
|
|
1224
|
+
export declare const NewListResponseDataPH: NewListResponseDataPlaceholder;
|
|
1225
|
+
|
|
1226
|
+
export declare type NewListResponseDataPlaceholder = Omit<NewListResponseData, 'authors' | 'preview'> & {
|
|
1227
|
+
authors: {
|
|
1228
|
+
firstname: string;
|
|
1229
|
+
lastname: string;
|
|
1230
|
+
fullname: string;
|
|
1231
|
+
image: undefined;
|
|
1232
|
+
name: string;
|
|
1233
|
+
internaluser: boolean;
|
|
1234
|
+
}[];
|
|
1235
|
+
preview?: NewListResponseData['preview'];
|
|
1236
|
+
};
|
|
1237
|
+
|
|
1184
1238
|
declare interface News {
|
|
1185
1239
|
path: string;
|
|
1186
1240
|
inhome: boolean;
|
|
@@ -1557,7 +1611,7 @@ declare type Props_3 = {
|
|
|
1557
1611
|
};
|
|
1558
1612
|
custom_Speculation?: string;
|
|
1559
1613
|
headConfig?: headConfig;
|
|
1560
|
-
|
|
1614
|
+
head_custom_elements?: any;
|
|
1561
1615
|
};
|
|
1562
1616
|
|
|
1563
1617
|
declare type Props_30 = {
|
|
@@ -1651,6 +1705,7 @@ declare type Props_4 = {
|
|
|
1651
1705
|
} | undefined;
|
|
1652
1706
|
};
|
|
1653
1707
|
};
|
|
1708
|
+
body_custom_elements?: any;
|
|
1654
1709
|
};
|
|
1655
1710
|
|
|
1656
1711
|
declare type Props_40 = {
|