sass-template-common 0.0.7 → 0.0.9
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 +103 -0
- package/dist/sass-template-common.js +8297 -6354
- package/dist/sass-template-common.umd.cjs +43 -43
- package/package.json +1 -1
|
@@ -501,6 +501,10 @@ declare interface External_2 {
|
|
|
501
501
|
|
|
502
502
|
export declare function extractRealtedNews(): Array<Array<string>>;
|
|
503
503
|
|
|
504
|
+
export declare const Font: ({ config }: {
|
|
505
|
+
config: Config;
|
|
506
|
+
}) => JSX.Element;
|
|
507
|
+
|
|
504
508
|
export declare const Footer1: FC<Props_32>;
|
|
505
509
|
|
|
506
510
|
export declare const Footer2: FC<Props_33>;
|
|
@@ -642,6 +646,11 @@ export declare interface FreeZoneResponse {
|
|
|
642
646
|
|
|
643
647
|
export declare const GA4: ({ id, dimensionValues }: Props_2) => "" | JSX.Element | undefined;
|
|
644
648
|
|
|
649
|
+
export declare const GalleryHeader: ({ newsformated, internal, }: {
|
|
650
|
+
newsformated: NewListResponseData;
|
|
651
|
+
internal?: string;
|
|
652
|
+
}) => Promise<JSX.Element | undefined>;
|
|
653
|
+
|
|
645
654
|
export declare const generalGetData: (promiseArray: PromiseArray) => Promise<{
|
|
646
655
|
[key: string]: any;
|
|
647
656
|
}>;
|
|
@@ -782,6 +791,8 @@ declare interface Image_2 {
|
|
|
782
791
|
}
|
|
783
792
|
export { Image_2 as Image }
|
|
784
793
|
|
|
794
|
+
export declare const ImageOffline: FC<ImageProps_3>;
|
|
795
|
+
|
|
785
796
|
declare interface ImageProps {
|
|
786
797
|
copyright: boolean;
|
|
787
798
|
description: string | false;
|
|
@@ -807,6 +818,15 @@ declare interface ImageProps_2 {
|
|
|
807
818
|
BackDropAuxHeigthMobile?: string;
|
|
808
819
|
}
|
|
809
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
|
+
|
|
810
830
|
export declare interface Info {
|
|
811
831
|
type?: string;
|
|
812
832
|
section?: {
|
|
@@ -876,6 +896,30 @@ declare interface ItemListSchemaProps {
|
|
|
876
896
|
|
|
877
897
|
export declare const LayoutNewsComponent: FC<Props_44>;
|
|
878
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
|
+
|
|
879
923
|
export declare interface Link {
|
|
880
924
|
url: string;
|
|
881
925
|
canonical: string;
|
|
@@ -1177,6 +1221,20 @@ export declare type NewListResponseData = {
|
|
|
1177
1221
|
};
|
|
1178
1222
|
};
|
|
1179
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
|
+
|
|
1180
1238
|
declare interface News {
|
|
1181
1239
|
path: string;
|
|
1182
1240
|
inhome: boolean;
|
|
@@ -1959,6 +2017,51 @@ export declare type Socials = {
|
|
|
1959
2017
|
[x: string]: Network;
|
|
1960
2018
|
};
|
|
1961
2019
|
|
|
2020
|
+
export declare const SpeculationRules: ({ active, type, customSpeculation }: {
|
|
2021
|
+
active: boolean;
|
|
2022
|
+
type: "Home" | "Common";
|
|
2023
|
+
customSpeculation?: string;
|
|
2024
|
+
}) => false | JSX.Element;
|
|
2025
|
+
|
|
2026
|
+
export declare const speculationRules: {
|
|
2027
|
+
prerender: ({
|
|
2028
|
+
where: {
|
|
2029
|
+
and: ({
|
|
2030
|
+
href_matches: string;
|
|
2031
|
+
not?: undefined;
|
|
2032
|
+
} | {
|
|
2033
|
+
not: {
|
|
2034
|
+
selector_matches: string;
|
|
2035
|
+
};
|
|
2036
|
+
href_matches?: undefined;
|
|
2037
|
+
})[];
|
|
2038
|
+
};
|
|
2039
|
+
eagerness: string;
|
|
2040
|
+
urls?: undefined;
|
|
2041
|
+
} | {
|
|
2042
|
+
eagerness: string;
|
|
2043
|
+
urls: string[];
|
|
2044
|
+
where?: undefined;
|
|
2045
|
+
})[];
|
|
2046
|
+
};
|
|
2047
|
+
|
|
2048
|
+
export declare const speculationRulesHome: {
|
|
2049
|
+
prerender: {
|
|
2050
|
+
where: {
|
|
2051
|
+
and: ({
|
|
2052
|
+
href_matches: string;
|
|
2053
|
+
not?: undefined;
|
|
2054
|
+
} | {
|
|
2055
|
+
not: {
|
|
2056
|
+
selector_matches: string;
|
|
2057
|
+
};
|
|
2058
|
+
href_matches?: undefined;
|
|
2059
|
+
})[];
|
|
2060
|
+
};
|
|
2061
|
+
eagerness: string;
|
|
2062
|
+
}[];
|
|
2063
|
+
};
|
|
2064
|
+
|
|
1962
2065
|
export declare function StaticSlotWrapper({ children, stylesConfigEntry, }: Props_18): JSX.Element;
|
|
1963
2066
|
|
|
1964
2067
|
export declare const SubscribeColumn: (props: Props_29) => JSX.Element;
|