sass-template-common 0.3.146 → 0.4.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/dist/sass-template-common.d.ts +16 -22
- package/dist/sass-template-common.js +1788 -1755
- package/dist/sass-template-common.umd.cjs +32 -32
- package/package.json +1 -1
|
@@ -606,17 +606,7 @@ export declare const Font: ({ config }: {
|
|
|
606
606
|
|
|
607
607
|
export declare const Footer: FC<Props_31>;
|
|
608
608
|
|
|
609
|
-
export declare const FormatAfterScripts: (props:
|
|
610
|
-
name: string;
|
|
611
|
-
banners: BannerResponse[];
|
|
612
|
-
replaces?: {
|
|
613
|
-
"[author_replace]": string;
|
|
614
|
-
"[section_replace]": string;
|
|
615
|
-
"[tag_replace]": string;
|
|
616
|
-
"[url_replace]": string;
|
|
617
|
-
};
|
|
618
|
-
strategy?: "afterInteractive" | "lazyOnload" | "beforeInteractive" | "worker" | undefined;
|
|
619
|
-
}) => JSX.Element | null;
|
|
609
|
+
export declare const FormatAfterScripts: (props: ScriptProps) => JSX.Element | null;
|
|
620
610
|
|
|
621
611
|
export declare const formatDate: (date: number, DATE_CONFIG?: {
|
|
622
612
|
PUBLIC_LNG: string;
|
|
@@ -682,17 +672,7 @@ export declare const formatNewsMeta: (news: NewListResponseData | undefined, con
|
|
|
682
672
|
};
|
|
683
673
|
};
|
|
684
674
|
|
|
685
|
-
export declare const FormatScripts: (props:
|
|
686
|
-
name: string;
|
|
687
|
-
banners: BannerResponse[];
|
|
688
|
-
replaces?: {
|
|
689
|
-
"[author_replace]": string;
|
|
690
|
-
"[section_replace]": string;
|
|
691
|
-
"[tag_replace]": string;
|
|
692
|
-
"[url_replace]": string;
|
|
693
|
-
};
|
|
694
|
-
strategy?: "afterInteractive" | "lazyOnload" | "beforeInteractive" | "worker" | undefined;
|
|
695
|
-
}) => JSX.Element | null;
|
|
675
|
+
export declare const FormatScripts: (props: ScriptProps) => JSX.Element | null;
|
|
696
676
|
|
|
697
677
|
export declare const formatVideoData: (news: VideoResponseData, config: Config) => {
|
|
698
678
|
title?: undefined;
|
|
@@ -2168,6 +2148,13 @@ declare interface Relatedexternal {
|
|
|
2168
2148
|
|
|
2169
2149
|
export declare const removePages: (pathname: string) => string;
|
|
2170
2150
|
|
|
2151
|
+
declare type ReplaceProps = {
|
|
2152
|
+
'[author_replace]': string;
|
|
2153
|
+
'[section_replace]': string;
|
|
2154
|
+
'[tag_replace]': string;
|
|
2155
|
+
'[url_replace]': string;
|
|
2156
|
+
};
|
|
2157
|
+
|
|
2171
2158
|
declare type replaces = {
|
|
2172
2159
|
'[author_replace]': string;
|
|
2173
2160
|
'[section_replace]': string;
|
|
@@ -2227,6 +2214,13 @@ export declare interface RoutePathConfig {
|
|
|
2227
2214
|
|
|
2228
2215
|
export declare function ScriptHydrator({ containerId, containerId2 }: Props_15): null;
|
|
2229
2216
|
|
|
2217
|
+
declare type ScriptProps = {
|
|
2218
|
+
name: string;
|
|
2219
|
+
banners: BannerResponse[];
|
|
2220
|
+
replaces?: ReplaceProps;
|
|
2221
|
+
strategy?: 'afterInteractive' | 'lazyOnload' | 'beforeInteractive' | 'worker' | undefined;
|
|
2222
|
+
};
|
|
2223
|
+
|
|
2230
2224
|
export declare const SearchSection: FC<Props_11>;
|
|
2231
2225
|
|
|
2232
2226
|
export declare const Section: ForwardRefExoticComponent<SectionProps & RefAttributes<HTMLDivElement>>;
|