sass-template-common 0.0.18 → 0.0.19
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 +79 -72
- package/dist/sass-template-common.js +6001 -10020
- package/dist/sass-template-common.umd.cjs +45 -55
- package/package.json +1 -1
|
@@ -102,9 +102,9 @@ export declare interface AutorInfo {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
export declare const BannerAdvertising: ({ banners, name }:
|
|
105
|
+
export declare const BannerAdvertising: ({ banners, name }: Props_28) => false | JSX.Element | null | undefined;
|
|
106
106
|
|
|
107
|
-
export declare const BannerAdvertisingMiddle: ({ banners, index }:
|
|
107
|
+
export declare const BannerAdvertisingMiddle: ({ banners, index }: Props_27) => JSX.Element | null;
|
|
108
108
|
|
|
109
109
|
export declare interface BannerResponse {
|
|
110
110
|
key: string;
|
|
@@ -350,15 +350,15 @@ export declare type ConfigMain = {
|
|
|
350
350
|
|
|
351
351
|
export declare const ContactInfoServer: FC<Props_10>;
|
|
352
352
|
|
|
353
|
-
export declare const ContactInput: FC<
|
|
353
|
+
export declare const ContactInput: FC<Props_40>;
|
|
354
354
|
|
|
355
|
-
export declare const ContactSelect: FC<
|
|
355
|
+
export declare const ContactSelect: FC<Props_41>;
|
|
356
356
|
|
|
357
|
-
export declare const ContactTextarea: FC<
|
|
357
|
+
export declare const ContactTextarea: FC<Props_42>;
|
|
358
358
|
|
|
359
|
-
export declare const ContentLayout1: FC<
|
|
359
|
+
export declare const ContentLayout1: FC<Props_24>;
|
|
360
360
|
|
|
361
|
-
export declare const ContentLayoutTema: FC<
|
|
361
|
+
export declare const ContentLayoutTema: FC<Props_38>;
|
|
362
362
|
|
|
363
363
|
export declare const cutString: (text: string, length?: number) => string;
|
|
364
364
|
|
|
@@ -391,7 +391,7 @@ declare interface Date_2 {
|
|
|
391
391
|
}
|
|
392
392
|
export { Date_2 as Date }
|
|
393
393
|
|
|
394
|
-
export declare const DEBUG_MainSlots: ({ mainBlock, StylesConfigMain, config, banners, }:
|
|
394
|
+
export declare const DEBUG_MainSlots: ({ mainBlock, StylesConfigMain, config, banners, }: Props_22) => JSX.Element | null;
|
|
395
395
|
|
|
396
396
|
declare type DestacadoDiario = {
|
|
397
397
|
customSectionCardStyles: SectionCardCSS;
|
|
@@ -457,11 +457,11 @@ export declare class DynamicBlockServices extends CommonServices {
|
|
|
457
457
|
}>;
|
|
458
458
|
}
|
|
459
459
|
|
|
460
|
-
export declare const DynamicComponents: ({ slots, DYNAMIC_SLOT_SUBINDEXES, stylesConfig, AutorIcon, config, banners, }:
|
|
460
|
+
export declare const DynamicComponents: ({ slots, DYNAMIC_SLOT_SUBINDEXES, stylesConfig, AutorIcon, config, banners, }: Props_21) => JSX.Element[];
|
|
461
461
|
|
|
462
|
-
export declare const DynamicMainSlot: ({ component, data, banners, rightOnlyBanner, }:
|
|
462
|
+
export declare const DynamicMainSlot: ({ component, data, banners, rightOnlyBanner, }: Props_20) => JSX.Element;
|
|
463
463
|
|
|
464
|
-
export declare function DynamicSlot({ component, slot_id, data, banners, }:
|
|
464
|
+
export declare function DynamicSlot({ component, slot_id, data, banners, }: Props_18): JSX.Element | undefined;
|
|
465
465
|
|
|
466
466
|
export declare const EditorialBlock: FC<Props_6>;
|
|
467
467
|
|
|
@@ -492,22 +492,22 @@ export declare interface Entity {
|
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
494
|
|
|
495
|
-
export declare const ErrorComponent: FC<
|
|
495
|
+
export declare const ErrorComponent: FC<Props_39>;
|
|
496
496
|
|
|
497
497
|
declare interface External_2 {
|
|
498
498
|
httpstream: boolean;
|
|
499
499
|
iframe: boolean;
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
export declare function extractRealtedNews(): Array<Array<string>>;
|
|
502
|
+
export declare function extractRealtedNews(articleBody: string): Array<Array<string>>;
|
|
503
503
|
|
|
504
504
|
export declare const Font: ({ config }: {
|
|
505
505
|
config: Config;
|
|
506
506
|
}) => JSX.Element;
|
|
507
507
|
|
|
508
|
-
export declare const Footer1: FC<
|
|
508
|
+
export declare const Footer1: FC<Props_33>;
|
|
509
509
|
|
|
510
|
-
export declare const Footer2: FC<
|
|
510
|
+
export declare const Footer2: FC<Props_34>;
|
|
511
511
|
|
|
512
512
|
export declare const FooterComponent: FC<Props_8>;
|
|
513
513
|
|
|
@@ -521,7 +521,7 @@ export declare const FormatAfterScripts: (props: {
|
|
|
521
521
|
"[url_replace]": string;
|
|
522
522
|
};
|
|
523
523
|
strategy?: "afterInteractive" | "lazyOnload" | "beforeInteractive" | "worker" | undefined;
|
|
524
|
-
}) => JSX.Element |
|
|
524
|
+
}) => JSX.Element | null;
|
|
525
525
|
|
|
526
526
|
export declare const formatDate: (date: number) => string;
|
|
527
527
|
|
|
@@ -587,7 +587,7 @@ export declare const FormatScripts: (props: {
|
|
|
587
587
|
"[url_replace]": string;
|
|
588
588
|
};
|
|
589
589
|
strategy?: "afterInteractive" | "lazyOnload" | "beforeInteractive" | "worker" | undefined;
|
|
590
|
-
}) => JSX.Element |
|
|
590
|
+
}) => JSX.Element | null;
|
|
591
591
|
|
|
592
592
|
export declare const formatVideoData: (news: VideoResponseData, config: Config) => {
|
|
593
593
|
title?: undefined;
|
|
@@ -899,7 +899,7 @@ declare interface ItemListSchemaProps {
|
|
|
899
899
|
ROUTE: MetadataDefaultsKeys;
|
|
900
900
|
}
|
|
901
901
|
|
|
902
|
-
export declare const LayoutNewsComponent: FC<
|
|
902
|
+
export declare const LayoutNewsComponent: FC<Props_45>;
|
|
903
903
|
|
|
904
904
|
export declare const LazyLoader: ({ render, internalPath, section, currentNews, stylesConfig, icon, COGNITO_AUTH_PREFIX, captchaVars, }: LazyLoaderProps) => JSX.Element;
|
|
905
905
|
|
|
@@ -933,9 +933,9 @@ export declare interface Link {
|
|
|
933
933
|
redirect: boolean;
|
|
934
934
|
}
|
|
935
935
|
|
|
936
|
-
export declare const LiveBlogHeader: FC<
|
|
936
|
+
export declare const LiveBlogHeader: FC<Props_43>;
|
|
937
937
|
|
|
938
|
-
declare const Location_2: FC<
|
|
938
|
+
declare const Location_2: FC<Props_23>;
|
|
939
939
|
export { Location_2 as Location }
|
|
940
940
|
|
|
941
941
|
export declare type Logo = {
|
|
@@ -1022,7 +1022,7 @@ export declare type MetadataDefaultsKeys = '404' | 'home' | 'slug' | 'news' | 'a
|
|
|
1022
1022
|
|
|
1023
1023
|
export declare const metadataToJSX: (metadata: any) => JSX_2.Element[];
|
|
1024
1024
|
|
|
1025
|
-
export declare const MiddleSection: FC<
|
|
1025
|
+
export declare const MiddleSection: FC<Props_26>;
|
|
1026
1026
|
|
|
1027
1027
|
export declare const Modulo1x3: FC<Modulo1x3Props>;
|
|
1028
1028
|
|
|
@@ -1256,7 +1256,7 @@ declare interface NewsArticleProps {
|
|
|
1256
1256
|
|
|
1257
1257
|
export declare const NewsComponent: (props: Props_11) => Promise<JSX.Element | undefined>;
|
|
1258
1258
|
|
|
1259
|
-
export declare const NewsContent: FC<
|
|
1259
|
+
export declare const NewsContent: FC<Props_37>;
|
|
1260
1260
|
|
|
1261
1261
|
declare interface NewsDescriptionBlockCSS extends NewsDescriptionCSS {
|
|
1262
1262
|
'--news-description-block-padding-main'?: string;
|
|
@@ -1300,7 +1300,7 @@ export declare interface NewsResponse {
|
|
|
1300
1300
|
data: DataNews[];
|
|
1301
1301
|
}
|
|
1302
1302
|
|
|
1303
|
-
export declare const NextPrev: FC<
|
|
1303
|
+
export declare const NextPrev: FC<Props_36>;
|
|
1304
1304
|
|
|
1305
1305
|
export declare type NoteShare = {
|
|
1306
1306
|
variant: 'outline' | 'container';
|
|
@@ -1501,26 +1501,24 @@ declare type Props_16 = {
|
|
|
1501
1501
|
};
|
|
1502
1502
|
|
|
1503
1503
|
declare type Props_17 = {
|
|
1504
|
+
containerId: string;
|
|
1505
|
+
containerId2: string;
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
declare type Props_18 = {
|
|
1504
1509
|
component: string;
|
|
1505
1510
|
slot_id: string;
|
|
1506
1511
|
data: any;
|
|
1507
1512
|
banners: BannerResponse[];
|
|
1508
1513
|
};
|
|
1509
1514
|
|
|
1510
|
-
declare type
|
|
1515
|
+
declare type Props_19 = {
|
|
1511
1516
|
children: ReactNode;
|
|
1512
1517
|
stylesConfigEntry: {
|
|
1513
1518
|
[key: string]: any;
|
|
1514
1519
|
};
|
|
1515
1520
|
};
|
|
1516
1521
|
|
|
1517
|
-
declare type Props_19 = {
|
|
1518
|
-
component: string;
|
|
1519
|
-
data: any;
|
|
1520
|
-
banners: BannerResponse[];
|
|
1521
|
-
rightOnlyBanner?: boolean;
|
|
1522
|
-
};
|
|
1523
|
-
|
|
1524
1522
|
declare type Props_2 = {
|
|
1525
1523
|
id?: string;
|
|
1526
1524
|
dimensionValues?: {
|
|
@@ -1529,6 +1527,13 @@ declare type Props_2 = {
|
|
|
1529
1527
|
};
|
|
1530
1528
|
|
|
1531
1529
|
declare type Props_20 = {
|
|
1530
|
+
component: string;
|
|
1531
|
+
data: any;
|
|
1532
|
+
banners: BannerResponse[];
|
|
1533
|
+
rightOnlyBanner?: boolean;
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1536
|
+
declare type Props_21 = {
|
|
1532
1537
|
slots: any;
|
|
1533
1538
|
DYNAMIC_SLOT_SUBINDEXES: number;
|
|
1534
1539
|
stylesConfig: ConfigDynamic;
|
|
@@ -1537,58 +1542,50 @@ declare type Props_20 = {
|
|
|
1537
1542
|
banners: BannerResponse[];
|
|
1538
1543
|
};
|
|
1539
1544
|
|
|
1540
|
-
declare type
|
|
1545
|
+
declare type Props_22 = {
|
|
1541
1546
|
mainBlock: any;
|
|
1542
1547
|
StylesConfigMain: ConfigMain;
|
|
1543
1548
|
config: Config;
|
|
1544
1549
|
banners: BannerResponse[];
|
|
1545
1550
|
};
|
|
1546
1551
|
|
|
1547
|
-
declare type
|
|
1552
|
+
declare type Props_23 = {
|
|
1548
1553
|
place: string;
|
|
1549
1554
|
};
|
|
1550
1555
|
|
|
1551
|
-
declare type
|
|
1556
|
+
declare type Props_24 = {
|
|
1552
1557
|
children: ReactNode;
|
|
1553
1558
|
desktopWidth?: string;
|
|
1554
1559
|
className?: string;
|
|
1555
1560
|
};
|
|
1556
1561
|
|
|
1557
|
-
declare type
|
|
1562
|
+
declare type Props_25 = {
|
|
1558
1563
|
children: ReactNode;
|
|
1559
1564
|
show: boolean;
|
|
1560
1565
|
order?: number;
|
|
1561
1566
|
};
|
|
1562
1567
|
|
|
1563
|
-
declare type
|
|
1568
|
+
declare type Props_26 = {
|
|
1564
1569
|
children: ReactNode;
|
|
1565
1570
|
};
|
|
1566
1571
|
|
|
1567
|
-
declare type
|
|
1572
|
+
declare type Props_27 = {
|
|
1568
1573
|
banners: Array<BannerResponse>;
|
|
1569
1574
|
index: string | number;
|
|
1570
1575
|
};
|
|
1571
1576
|
|
|
1572
|
-
declare type
|
|
1577
|
+
declare type Props_28 = {
|
|
1573
1578
|
banners: Array<BannerResponse>;
|
|
1574
1579
|
name: string;
|
|
1575
1580
|
};
|
|
1576
1581
|
|
|
1577
|
-
declare type
|
|
1582
|
+
declare type Props_29 = {
|
|
1578
1583
|
title?: string;
|
|
1579
1584
|
content: Array<NewListResponseData>;
|
|
1580
1585
|
customNewsDescriptionStyles?: CSSProperties;
|
|
1581
1586
|
paths: RoutePathConfig;
|
|
1582
1587
|
};
|
|
1583
1588
|
|
|
1584
|
-
declare type Props_29 = {
|
|
1585
|
-
title: string;
|
|
1586
|
-
sibtitle: string;
|
|
1587
|
-
image: ReactNode;
|
|
1588
|
-
texts: textsType;
|
|
1589
|
-
className?: string;
|
|
1590
|
-
};
|
|
1591
|
-
|
|
1592
1589
|
declare type Props_3 = {
|
|
1593
1590
|
axiosApi: AxiosInstance;
|
|
1594
1591
|
banners: BannerResponse[];
|
|
@@ -1624,20 +1621,28 @@ declare type Props_30 = {
|
|
|
1624
1621
|
sibtitle: string;
|
|
1625
1622
|
image: ReactNode;
|
|
1626
1623
|
texts: textsType;
|
|
1624
|
+
className?: string;
|
|
1627
1625
|
};
|
|
1628
1626
|
|
|
1629
1627
|
declare type Props_31 = {
|
|
1628
|
+
title: string;
|
|
1629
|
+
sibtitle: string;
|
|
1630
|
+
image: ReactNode;
|
|
1631
|
+
texts: textsType;
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
declare type Props_32 = {
|
|
1630
1635
|
whatsappLink: string;
|
|
1631
1636
|
terms: string;
|
|
1632
1637
|
};
|
|
1633
1638
|
|
|
1634
|
-
declare type
|
|
1639
|
+
declare type Props_33 = {
|
|
1635
1640
|
socials: any;
|
|
1636
1641
|
socialNetworks: any;
|
|
1637
1642
|
freeZone: Array<MenuResponse>;
|
|
1638
1643
|
};
|
|
1639
1644
|
|
|
1640
|
-
declare type
|
|
1645
|
+
declare type Props_34 = {
|
|
1641
1646
|
socials: any;
|
|
1642
1647
|
socialNetworks: any;
|
|
1643
1648
|
freeZone: Array<MenuResponse>;
|
|
@@ -1647,12 +1652,12 @@ declare type Props_33 = {
|
|
|
1647
1652
|
customBlock?: ReactNode;
|
|
1648
1653
|
};
|
|
1649
1654
|
|
|
1650
|
-
declare type
|
|
1655
|
+
declare type Props_35 = {
|
|
1651
1656
|
video: VideoResponseData;
|
|
1652
1657
|
type: string;
|
|
1653
1658
|
};
|
|
1654
1659
|
|
|
1655
|
-
declare type
|
|
1660
|
+
declare type Props_36 = {
|
|
1656
1661
|
currentPage: number;
|
|
1657
1662
|
showNext: boolean;
|
|
1658
1663
|
maxPages: number;
|
|
@@ -1663,19 +1668,19 @@ declare type Props_35 = {
|
|
|
1663
1668
|
};
|
|
1664
1669
|
};
|
|
1665
1670
|
|
|
1666
|
-
declare type
|
|
1671
|
+
declare type Props_37 = {
|
|
1667
1672
|
children: ReactNode;
|
|
1668
1673
|
paginatorComponent?: ReactNode;
|
|
1669
1674
|
grid?: 3 | 4;
|
|
1670
1675
|
className?: string;
|
|
1671
1676
|
};
|
|
1672
1677
|
|
|
1673
|
-
declare type
|
|
1678
|
+
declare type Props_38 = {
|
|
1674
1679
|
children: ReactNode;
|
|
1675
1680
|
className?: string;
|
|
1676
1681
|
};
|
|
1677
1682
|
|
|
1678
|
-
declare type
|
|
1683
|
+
declare type Props_39 = {
|
|
1679
1684
|
title: string;
|
|
1680
1685
|
description: string;
|
|
1681
1686
|
buttonText?: string;
|
|
@@ -1683,10 +1688,6 @@ declare type Props_38 = {
|
|
|
1683
1688
|
backgroundImgURL?: string;
|
|
1684
1689
|
};
|
|
1685
1690
|
|
|
1686
|
-
declare type Props_39 = {
|
|
1687
|
-
label: string;
|
|
1688
|
-
} & InputHTMLAttributes<HTMLInputElement>;
|
|
1689
|
-
|
|
1690
1691
|
declare type Props_4 = {
|
|
1691
1692
|
children: ReactNode;
|
|
1692
1693
|
defaultRouteName: MetadataDefaultsKeys;
|
|
@@ -1715,23 +1716,27 @@ declare type Props_4 = {
|
|
|
1715
1716
|
|
|
1716
1717
|
declare type Props_40 = {
|
|
1717
1718
|
label: string;
|
|
1719
|
+
} & InputHTMLAttributes<HTMLInputElement>;
|
|
1720
|
+
|
|
1721
|
+
declare type Props_41 = {
|
|
1722
|
+
label: string;
|
|
1718
1723
|
options: Array<SelectItem>;
|
|
1719
1724
|
} & InputHTMLAttributes<HTMLSelectElement>;
|
|
1720
1725
|
|
|
1721
|
-
declare interface
|
|
1726
|
+
declare interface Props_42 extends DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> {
|
|
1722
1727
|
label: string;
|
|
1723
1728
|
}
|
|
1724
1729
|
|
|
1725
|
-
declare type
|
|
1730
|
+
declare type Props_43 = {
|
|
1726
1731
|
fontSizeSubTitle?: string;
|
|
1727
1732
|
lineHeightSubTitle?: string;
|
|
1728
1733
|
} & NewListResponseData;
|
|
1729
1734
|
|
|
1730
|
-
declare type
|
|
1735
|
+
declare type Props_44 = {
|
|
1731
1736
|
itemList: Array<ItemList>;
|
|
1732
1737
|
};
|
|
1733
1738
|
|
|
1734
|
-
declare type
|
|
1739
|
+
declare type Props_45 = {
|
|
1735
1740
|
children: ReactNode;
|
|
1736
1741
|
banner: ReactNode;
|
|
1737
1742
|
bannerTop: ReactNode;
|
|
@@ -1740,7 +1745,7 @@ declare type Props_44 = {
|
|
|
1740
1745
|
paths: RoutePathConfig;
|
|
1741
1746
|
};
|
|
1742
1747
|
|
|
1743
|
-
declare type
|
|
1748
|
+
declare type Props_46 = {
|
|
1744
1749
|
video: VideoResponseData;
|
|
1745
1750
|
videoList: Array<VideoResponseData>;
|
|
1746
1751
|
type: string;
|
|
@@ -1813,7 +1818,7 @@ declare type Props_9 = {
|
|
|
1813
1818
|
paths: RoutePathConfig;
|
|
1814
1819
|
};
|
|
1815
1820
|
|
|
1816
|
-
export declare const Readest: FC<
|
|
1821
|
+
export declare const Readest: FC<Props_29>;
|
|
1817
1822
|
|
|
1818
1823
|
declare interface Related {
|
|
1819
1824
|
automatic: boolean;
|
|
@@ -1886,6 +1891,8 @@ export declare interface RoutePathConfig {
|
|
|
1886
1891
|
'ultimas-noticias': string | 'ultimas-noticias';
|
|
1887
1892
|
}
|
|
1888
1893
|
|
|
1894
|
+
export declare function ScriptHydrator({ containerId, containerId2 }: Props_17): null;
|
|
1895
|
+
|
|
1889
1896
|
export declare const SearchSection: FC<Props_13>;
|
|
1890
1897
|
|
|
1891
1898
|
export declare const Section: ForwardRefExoticComponent<SectionProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -1980,7 +1987,7 @@ declare type SelectItem = {
|
|
|
1980
1987
|
value: string | number;
|
|
1981
1988
|
};
|
|
1982
1989
|
|
|
1983
|
-
export declare const ShowSection: FC<
|
|
1990
|
+
export declare const ShowSection: FC<Props_25>;
|
|
1984
1991
|
|
|
1985
1992
|
declare interface Size {
|
|
1986
1993
|
size: string;
|
|
@@ -2068,13 +2075,13 @@ export declare const speculationRulesHome: {
|
|
|
2068
2075
|
}[];
|
|
2069
2076
|
};
|
|
2070
2077
|
|
|
2071
|
-
export declare function StaticSlotWrapper({ children, stylesConfigEntry, }:
|
|
2078
|
+
export declare function StaticSlotWrapper({ children, stylesConfigEntry, }: Props_19): JSX.Element;
|
|
2072
2079
|
|
|
2073
|
-
export declare const SubscribeColumn: (props:
|
|
2080
|
+
export declare const SubscribeColumn: (props: Props_30) => JSX.Element;
|
|
2074
2081
|
|
|
2075
|
-
export declare const SubscribeRow: FC<
|
|
2082
|
+
export declare const SubscribeRow: FC<Props_31>;
|
|
2076
2083
|
|
|
2077
|
-
export declare const SubscribeWhatsAppColumn: FC<
|
|
2084
|
+
export declare const SubscribeWhatsAppColumn: FC<Props_32>;
|
|
2078
2085
|
|
|
2079
2086
|
declare interface Subtitle {
|
|
2080
2087
|
rendered: string;
|
|
@@ -2136,7 +2143,7 @@ export declare type textsType = {
|
|
|
2136
2143
|
[key: string]: string;
|
|
2137
2144
|
};
|
|
2138
2145
|
|
|
2139
|
-
export declare const TimeLine: FC<
|
|
2146
|
+
export declare const TimeLine: FC<Props_44>;
|
|
2140
2147
|
|
|
2141
2148
|
declare interface Title {
|
|
2142
2149
|
home: string;
|
|
@@ -2171,9 +2178,9 @@ export declare const verifyCaptchaTokenEnterprise: ({ token, projectId, captchaK
|
|
|
2171
2178
|
captchaAction: captchaActionType;
|
|
2172
2179
|
}) => Promise<number>;
|
|
2173
2180
|
|
|
2174
|
-
export declare const VideoBlock3: FC<
|
|
2181
|
+
export declare const VideoBlock3: FC<Props_35>;
|
|
2175
2182
|
|
|
2176
|
-
export declare const VideoBlock4: FC<
|
|
2183
|
+
export declare const VideoBlock4: FC<Props_46>;
|
|
2177
2184
|
|
|
2178
2185
|
export declare interface VideoResponseData {
|
|
2179
2186
|
config: {
|