sass-template-common 0.1.34 → 0.1.36
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/README.md +3 -3
- package/dist/AutorComponent.d.ts +240 -0
- package/dist/AutorComponent.js +4 -0
- package/dist/AutorComponent.umd.cjs +1 -0
- package/dist/AutorHeader1.d.ts +64 -0
- package/dist/AutorHeader1.js +4 -0
- package/dist/AutorHeader1.umd.cjs +1 -0
- package/dist/AutorHeader2.d.ts +63 -0
- package/dist/AutorHeader2.js +4 -0
- package/dist/AutorHeader2.umd.cjs +1 -0
- package/dist/BannerAdvertising.d.ts +22 -0
- package/dist/BannerAdvertising.js +4 -0
- package/dist/BannerAdvertising.umd.cjs +1 -0
- package/dist/BannerAdvertisingMiddle.d.ts +22 -0
- package/dist/BannerAdvertisingMiddle.js +5 -0
- package/dist/BannerAdvertisingMiddle.umd.cjs +1 -0
- package/dist/CarrouselCSR-CJYbRwia.js +303 -0
- package/dist/CarrouselCSR-DYd0tK22.cjs +1 -0
- package/dist/CarrouselCSR.d.ts +17 -0
- package/dist/CarrouselCSR.js +5 -0
- package/dist/CarrouselCSR.umd.cjs +1 -0
- package/dist/CarrouselIRS.d.ts +17 -0
- package/dist/CarrouselIRS.js +5 -0
- package/dist/CarrouselIRS.umd.cjs +1 -0
- package/dist/CarruselCard.d.ts +177 -0
- package/dist/CarruselCard.js +4 -0
- package/dist/CarruselCard.umd.cjs +1 -0
- package/dist/CarruselOpinion.d.ts +172 -0
- package/dist/CarruselOpinion.js +4 -0
- package/dist/CarruselOpinion.umd.cjs +1 -0
- package/dist/Clipboard-DjMsnSX4.js +68 -0
- package/dist/Clipboard-u_S1RBEo.cjs +1 -0
- package/dist/Close-C-8qzSDP.cjs +1 -0
- package/dist/Close-IzObL1Y8.js +8 -0
- package/dist/Comscore-Bq6K5xi3.js +17 -0
- package/dist/Comscore-DMCbZ32O.cjs +1 -0
- package/dist/Comscore.d.ts +5 -0
- package/dist/Comscore.js +4 -0
- package/dist/Comscore.umd.cjs +1 -0
- package/dist/ContactInfoServer.d.ts +21 -0
- package/dist/ContactInfoServer.js +4 -0
- package/dist/ContactInfoServer.umd.cjs +1 -0
- package/dist/ContactInput.d.ts +10 -0
- package/dist/ContactInput.js +4 -0
- package/dist/ContactInput.umd.cjs +1 -0
- package/dist/ContactSelect.d.ts +16 -0
- package/dist/ContactSelect.js +4 -0
- package/dist/ContactSelect.umd.cjs +1 -0
- package/dist/ContactTextarea.d.ts +11 -0
- package/dist/ContactTextarea.js +4 -0
- package/dist/ContactTextarea.umd.cjs +1 -0
- package/dist/ContentLayout1.d.ts +12 -0
- package/dist/ContentLayout1.js +4 -0
- package/dist/ContentLayout1.umd.cjs +1 -0
- package/dist/ContentLayoutTema.d.ts +11 -0
- package/dist/ContentLayoutTema.js +4 -0
- package/dist/ContentLayoutTema.umd.cjs +1 -0
- package/dist/DestacadoNoticias.d.ts +187 -0
- package/dist/DestacadoNoticias.js +4 -0
- package/dist/DestacadoNoticias.umd.cjs +1 -0
- package/dist/DestacadoVideos.d.ts +117 -0
- package/dist/DestacadoVideos.js +4 -0
- package/dist/DestacadoVideos.umd.cjs +1 -0
- package/dist/DynamicComponents-CMeItNDk.js +62 -0
- package/dist/DynamicComponents-DYjDE9AS.cjs +1 -0
- package/dist/DynamicComponents.d.ts +232 -0
- package/dist/DynamicComponents.js +4 -0
- package/dist/DynamicComponents.umd.cjs +1 -0
- package/dist/DynamicMainSlot.d.ts +24 -0
- package/dist/DynamicMainSlot.js +5 -0
- package/dist/DynamicMainSlot.umd.cjs +2 -0
- package/dist/DynamicSlot.d.ts +24 -0
- package/dist/DynamicSlot.js +5 -0
- package/dist/DynamicSlot.umd.cjs +2 -0
- package/dist/EditorialBlock.d.ts +180 -0
- package/dist/EditorialBlock.js +4 -0
- package/dist/EditorialBlock.umd.cjs +1 -0
- package/dist/ErrorComponent.d.ts +13 -0
- package/dist/ErrorComponent.js +4 -0
- package/dist/ErrorComponent.umd.cjs +1 -0
- package/dist/Footer.d.ts +27 -0
- package/dist/Footer.js +4 -0
- package/dist/Footer.umd.cjs +1 -0
- package/dist/GA4-2trwkmRz.js +45 -0
- package/dist/GA4-BHcMQc6X.cjs +7 -0
- package/dist/GA4.d.ts +12 -0
- package/dist/GA4.js +4 -0
- package/dist/GA4.umd.cjs +1 -0
- package/dist/GTM-BYKEijOo.js +34 -0
- package/dist/GTM-DUpgJ4I-.cjs +7 -0
- package/dist/GTM.d.ts +5 -0
- package/dist/GTM.js +4 -0
- package/dist/GTM.umd.cjs +1 -0
- package/dist/GenerateHead.d.ts +1 -0
- package/dist/GenerateHead.js +1 -0
- package/dist/GenerateHead.umd.cjs +1 -0
- package/dist/Header.d.ts +217 -0
- package/dist/Header.js +4 -0
- package/dist/Header.umd.cjs +1 -0
- package/dist/ImageOffline.d.ts +31 -0
- package/dist/ImageOffline.js +4 -0
- package/dist/ImageOffline.umd.cjs +1 -0
- package/dist/Instagram-C7jTvuG0.cjs +1 -0
- package/dist/Instagram-m7-mm3Ce.js +60 -0
- package/dist/JournalistArticule2.d.ts +77 -0
- package/dist/JournalistArticule2.js +4 -0
- package/dist/JournalistArticule2.umd.cjs +1 -0
- package/dist/JournalistGroup.d.ts +182 -0
- package/dist/JournalistGroup.js +4 -0
- package/dist/JournalistGroup.umd.cjs +1 -0
- package/dist/LayoutNewsComponent.d.ts +165 -0
- package/dist/LayoutNewsComponent.js +4 -0
- package/dist/LayoutNewsComponent.umd.cjs +1 -0
- package/dist/Link-BZyN_6rI.js +20 -0
- package/dist/Link-CHPphz3c.cjs +1 -0
- package/dist/LinkedIn-BIuKknxr.cjs +3 -0
- package/dist/LinkedIn-CCndDbG_.js +33 -0
- package/dist/LiveBlogHeader.d.ts +150 -0
- package/dist/LiveBlogHeader.js +4 -0
- package/dist/LiveBlogHeader.umd.cjs +1 -0
- package/dist/Location.d.ts +10 -0
- package/dist/Location.js +4 -0
- package/dist/Location.umd.cjs +1 -0
- package/dist/Marfeel-B7k-2klo.js +17 -0
- package/dist/Marfeel-C-_4NuGW.cjs +1 -0
- package/dist/Marfeel.d.ts +5 -0
- package/dist/Marfeel.js +4 -0
- package/dist/Marfeel.umd.cjs +1 -0
- package/dist/MiddleSection.d.ts +10 -0
- package/dist/MiddleSection.js +4 -0
- package/dist/MiddleSection.umd.cjs +1 -0
- package/dist/Modulo1x3.d.ts +247 -0
- package/dist/Modulo1x3.js +4 -0
- package/dist/Modulo1x3.umd.cjs +1 -0
- package/dist/Modulo1x3Card.d.ts +153 -0
- package/dist/Modulo1x3Card.js +4 -0
- package/dist/Modulo1x3Card.umd.cjs +1 -0
- package/dist/Modulo1x4.d.ts +189 -0
- package/dist/Modulo1x4.js +4 -0
- package/dist/Modulo1x4.umd.cjs +1 -0
- package/dist/Modulo1x5.d.ts +189 -0
- package/dist/Modulo1x5.js +4 -0
- package/dist/Modulo1x5.umd.cjs +1 -0
- package/dist/Modulo2Columnas.d.ts +175 -0
- package/dist/Modulo2Columnas.js +4 -0
- package/dist/Modulo2Columnas.umd.cjs +1 -0
- package/dist/Modulo3Columnas.d.ts +234 -0
- package/dist/Modulo3Columnas.js +4 -0
- package/dist/Modulo3Columnas.umd.cjs +1 -0
- package/dist/ModuloNewsletter.d.ts +32 -0
- package/dist/ModuloNewsletter.js +4 -0
- package/dist/ModuloNewsletter.umd.cjs +1 -0
- package/dist/ModuloOpinion.d.ts +170 -0
- package/dist/ModuloOpinion.js +4 -0
- package/dist/ModuloOpinion.umd.cjs +1 -0
- package/dist/NewsComponent.d.ts +294 -0
- package/dist/NewsComponent.js +4 -0
- package/dist/NewsComponent.umd.cjs +1 -0
- package/dist/NewsContent.d.ts +13 -0
- package/dist/NewsContent.js +4 -0
- package/dist/NewsContent.umd.cjs +1 -0
- package/dist/NextPrev.d.ts +16 -0
- package/dist/NextPrev.js +4 -0
- package/dist/NextPrev.umd.cjs +1 -0
- package/dist/Play-DtFrAVg_.cjs +1 -0
- package/dist/Play-mVECew4T.js +25 -0
- package/dist/PreloadImage-CnJUVuFd.cjs +1 -0
- package/dist/PreloadImage-DU0y-qQS.js +530 -0
- package/dist/Readest.d.ts +163 -0
- package/dist/Readest.js +4 -0
- package/dist/Readest.umd.cjs +1 -0
- package/dist/SearchSection.d.ts +30 -0
- package/dist/SearchSection.js +4 -0
- package/dist/SearchSection.umd.cjs +1 -0
- package/dist/Section.d.ts +16 -0
- package/dist/Section.js +5 -0
- package/dist/Section.umd.cjs +2 -0
- package/dist/SectionCard.d.ts +191 -0
- package/dist/SectionCard.js +4 -0
- package/dist/SectionCard.umd.cjs +1 -0
- package/dist/SectionCard2.d.ts +189 -0
- package/dist/SectionCard2.js +4 -0
- package/dist/SectionCard2.umd.cjs +1 -0
- package/dist/SectionServerComponent.d.ts +185 -0
- package/dist/SectionServerComponent.js +4 -0
- package/dist/SectionServerComponent.umd.cjs +1 -0
- package/dist/ShowSection.d.ts +12 -0
- package/dist/ShowSection.js +4 -0
- package/dist/ShowSection.umd.cjs +1 -0
- package/dist/SocialIcons-Df5cb5eG.js +148 -0
- package/dist/SocialIcons-T8ywDEIw.cjs +22 -0
- package/dist/StaticSlotWrapper.d.ts +13 -0
- package/dist/StaticSlotWrapper.js +4 -0
- package/dist/StaticSlotWrapper.umd.cjs +1 -0
- package/dist/SubscribeColumn.d.ts +33 -0
- package/dist/SubscribeColumn.js +4 -0
- package/dist/SubscribeColumn.umd.cjs +1 -0
- package/dist/SubscribeRow.d.ts +32 -0
- package/dist/SubscribeRow.js +4 -0
- package/dist/SubscribeRow.umd.cjs +1 -0
- package/dist/SubscribeWhatsAppColumn.d.ts +10 -0
- package/dist/SubscribeWhatsAppColumn.js +4 -0
- package/dist/SubscribeWhatsAppColumn.umd.cjs +1 -0
- package/dist/TagComponent.d.ts +33 -0
- package/dist/TagComponent.js +4 -0
- package/dist/TagComponent.umd.cjs +1 -0
- package/dist/TagSection.d.ts +28 -0
- package/dist/TagSection.js +4 -0
- package/dist/TagSection.umd.cjs +1 -0
- package/dist/TimeLine.d.ts +45 -0
- package/dist/TimeLine.js +4 -0
- package/dist/TimeLine.umd.cjs +1 -0
- package/dist/VideoBlock3.d.ts +65 -0
- package/dist/VideoBlock3.js +4 -0
- package/dist/VideoBlock3.umd.cjs +1 -0
- package/dist/VideoBlock4.d.ts +97 -0
- package/dist/VideoBlock4.js +4 -0
- package/dist/VideoBlock4.umd.cjs +1 -0
- package/dist/VideoSection.d.ts +65 -0
- package/dist/VideoSection.js +4 -0
- package/dist/VideoSection.umd.cjs +1 -0
- package/dist/X-BZxGttQP.js +5 -0
- package/dist/X-D2YkFTMd.cjs +1 -0
- package/dist/banner.css +1 -0
- package/dist/become-video-object-CgIYzHRq.js +36 -0
- package/dist/become-video-object-WRT2JnXP.cjs +1 -0
- package/dist/build-tag-url-BMptN9hq.cjs +1 -0
- package/dist/build-tag-url-BggBzzek.js +7 -0
- package/dist/carrousel.css +1 -0
- package/dist/comments-DB8EFXt7.cjs +74 -0
- package/dist/comments-tFoMbyqo.js +2803 -0
- package/dist/comments.css +1 -0
- package/dist/compileStyleProps-5AwxR1Kg.cjs +1 -0
- package/dist/compileStyleProps-C3Ic-G8F.js +9 -0
- package/dist/config-BzB6kHCH.cjs +1 -0
- package/dist/config-aAufvvYO.js +59 -0
- package/dist/cut-string-B_KYH_LD.cjs +1 -0
- package/dist/cut-string-Bmt-tKWG.js +4 -0
- package/dist/dynamicMainSlot-7gASyhub.cjs +1 -0
- package/dist/dynamicMainSlot-BQxEis6R.js +322 -0
- package/dist/dynamicMainSlot.css +1 -0
- package/dist/dynamicSlot-6TFhTtis.cjs +1 -0
- package/dist/dynamicSlot-CIjuUYqf.js +172 -0
- package/dist/dynamicSlot.css +1 -0
- package/dist/image-environtment-DvN02hR9.js +13 -0
- package/dist/image-environtment-n-o8Wvct.cjs +1 -0
- package/dist/image-offline.client-DCUZPh4N.js +80 -0
- package/dist/image-offline.client-r9irG9ar.cjs +1 -0
- package/dist/image-offline.css +1 -0
- package/dist/index-0q5UW-os.js +144 -0
- package/dist/index-1VBX2e-a.js +35 -0
- package/dist/index-8ydwCXM2.cjs +1 -0
- package/dist/index-AOhQz8B7.cjs +1 -0
- package/dist/index-B44ONT01.cjs +1 -0
- package/dist/index-B4Wbmicc.js +970 -0
- package/dist/index-B5h1k3BF.js +57 -0
- package/dist/index-B6nzUpBy.js +26 -0
- package/dist/index-B9BK2M6P.cjs +1 -0
- package/dist/index-BAkw1JP_.js +15 -0
- package/dist/index-BBaoMr4J.js +9 -0
- package/dist/index-BCeqfRUa.js +44 -0
- package/dist/index-BD2BnqMo.js +53 -0
- package/dist/index-BFJwjTEG.cjs +1 -0
- package/dist/index-BFlPL3-o.js +64 -0
- package/dist/index-BHoAVWni.js +9 -0
- package/dist/index-BMVOVUqe.cjs +1 -0
- package/dist/index-BQ0VlH1P.js +17 -0
- package/dist/index-BQ4m8CSd.cjs +1 -0
- package/dist/index-BSUmhtjV.cjs +1 -0
- package/dist/index-BTATfxw3.cjs +1 -0
- package/dist/index-BTXm1q5D.cjs +1 -0
- package/dist/index-BUqygcci.cjs +1 -0
- package/dist/index-BVctif39.js +54 -0
- package/dist/index-BVxIjyTu.cjs +1 -0
- package/dist/index-BWnZC_6p.cjs +1 -0
- package/dist/index-BXzwZS88.js +74 -0
- package/dist/index-BbpSaTTa.cjs +1 -0
- package/dist/index-BctcLaJ3.js +47 -0
- package/dist/index-BdWZsDM5.js +17 -0
- package/dist/index-BeNL3KGf.js +110 -0
- package/dist/index-BhJcbgps.cjs +1 -0
- package/dist/index-BiDQeLSe.cjs +1 -0
- package/dist/index-Bludp5ia.js +98 -0
- package/dist/index-BoFi5oPI.js +20 -0
- package/dist/index-BrR8dqqY.js +44 -0
- package/dist/index-BvxjhgQy.cjs +1 -0
- package/dist/index-ByqRcrmr.cjs +1 -0
- package/dist/index-ByzlJRal.js +22 -0
- package/dist/index-C0V-2Y3F.cjs +1 -0
- package/dist/index-C1b9RnKU.cjs +1 -0
- package/dist/index-C1yrpXf6.cjs +1 -0
- package/dist/index-C3_EDVyC.js +50 -0
- package/dist/index-C731eubZ.cjs +1 -0
- package/dist/index-CBBiNLd8.js +124 -0
- package/dist/index-CEyZh6GH.js +68 -0
- package/dist/index-CSP0gw9M.js +83 -0
- package/dist/index-CSWDcw6Z.js +106 -0
- package/dist/index-CUXrzzoy.js +165 -0
- package/dist/index-CVZ6pe_v.cjs +1 -0
- package/dist/index-CV_41-9o.js +98 -0
- package/dist/index-CZnJNr_-.cjs +1 -0
- package/dist/index-CaKVjYQx.cjs +1 -0
- package/dist/index-CbuyKJUC.js +220 -0
- package/dist/index-CbzRRNeZ.cjs +1 -0
- package/dist/index-Cfw-z8xA.cjs +1 -0
- package/dist/index-CkEGKGNq.cjs +1 -0
- package/dist/index-Cm1R7NCc.cjs +1 -0
- package/dist/index-CrRmOv9N.cjs +1 -0
- package/dist/index-Crk9bWh-.cjs +1 -0
- package/dist/index-CrlWjr_z.js +20 -0
- package/dist/index-CrqMIuml.cjs +1 -0
- package/dist/index-CuvdSdAB.js +46 -0
- package/dist/index-CzWMETLY.js +218 -0
- package/dist/index-D4XJVuVa.js +24 -0
- package/dist/index-D4aYrwX5.cjs +1 -0
- package/dist/index-D4cVrh_r.cjs +1 -0
- package/dist/index-D5HwU9w8.js +72 -0
- package/dist/index-D6GrBLX4.js +55 -0
- package/dist/index-D7OPcLbW.cjs +1 -0
- package/dist/index-D8_NxegM.js +32 -0
- package/dist/index-DAQF8x39.cjs +1 -0
- package/dist/index-DDfRRjFd.js +12 -0
- package/dist/index-DEDd6D4W.js +8 -0
- package/dist/index-DFl5LOA2.cjs +1 -0
- package/dist/index-DG5AJVRO.cjs +1 -0
- package/dist/index-DIFedwog.js +70 -0
- package/dist/index-DNEl0P1w.js +38 -0
- package/dist/index-DOKV7mWM.cjs +1 -0
- package/dist/index-DOUgegj3.cjs +1 -0
- package/dist/index-DPhvZRyf.js +7 -0
- package/dist/index-DQM3eD37.js +28 -0
- package/dist/index-DSiIjU39.js +136 -0
- package/dist/index-DVvcQR8S.js +47 -0
- package/dist/index-DYFMfLMT.cjs +1 -0
- package/dist/index-Da7jky-o.cjs +1 -0
- package/dist/index-DaYUh_52.cjs +1 -0
- package/dist/index-Db6FA9IG.js +15 -0
- package/dist/index-DhvwHZnW.js +24 -0
- package/dist/index-Dhy8tDFP.cjs +1 -0
- package/dist/index-DiG2MZu5.js +33 -0
- package/dist/index-DiRNYGIB.cjs +1 -0
- package/dist/index-DnO4uJnf.js +43 -0
- package/dist/index-Dnne9WW_.js +209 -0
- package/dist/index-DqOsfxCq.cjs +1 -0
- package/dist/index-DqY93RSP.js +41 -0
- package/dist/index-DqoL7iqu.cjs +1 -0
- package/dist/index-DsROBB-B.js +179 -0
- package/dist/index-DvWa7T7x.cjs +1 -0
- package/dist/index-Dw3nrCgB.cjs +1 -0
- package/dist/index-DyBYLT8G.js +29 -0
- package/dist/index-E63jFk_r.cjs +1 -0
- package/dist/index-F6olW6lY.js +50 -0
- package/dist/index-IYXqzMg6.js +19 -0
- package/dist/index-MriZ0V8v.js +86 -0
- package/dist/index-QIsNurJj.js +69 -0
- package/dist/index-V-J_R5-M.cjs +1 -0
- package/dist/index-Z58tQL2j.cjs +1 -0
- package/dist/index-_9wK_nki.js +610 -0
- package/dist/index-acARkfKm.cjs +1 -0
- package/dist/index-awsHS_US.cjs +1 -0
- package/dist/index-d8nN15g8.cjs +1 -0
- package/dist/index-pTs46L3d.cjs +1 -0
- package/dist/index-rPdT1G5L.js +27 -0
- package/dist/index-t7y5omIk.cjs +1 -0
- package/dist/index-uH8io09z.js +81 -0
- package/dist/index-ulfDPRWe.cjs +1 -0
- package/dist/index-w8Wp4avx.cjs +1 -0
- package/dist/index.css +1 -0
- package/dist/index10.css +1 -0
- package/dist/index11.css +1 -0
- package/dist/index12.css +1 -0
- package/dist/index13.css +1 -0
- package/dist/index14.css +1 -0
- package/dist/index15.css +1 -0
- package/dist/index16.css +1 -0
- package/dist/index17.css +1 -0
- package/dist/index18.css +1 -0
- package/dist/index19.css +1 -0
- package/dist/index2.css +1 -0
- package/dist/index20.css +1 -0
- package/dist/index21.css +1 -0
- package/dist/index22.css +1 -0
- package/dist/index23.css +1 -0
- package/dist/index24.css +1 -0
- package/dist/index25.css +1 -0
- package/dist/index26.css +1 -0
- package/dist/index27.css +1 -0
- package/dist/index28.css +1 -0
- package/dist/index29.css +1 -0
- package/dist/index3.css +1 -0
- package/dist/index30.css +1 -0
- package/dist/index31.css +1 -0
- package/dist/index32.css +1 -0
- package/dist/index33.css +1 -0
- package/dist/index34.css +1 -0
- package/dist/index35.css +1 -0
- package/dist/index36.css +1 -0
- package/dist/index37.css +1 -0
- package/dist/index38.css +1 -0
- package/dist/index39.css +1 -0
- package/dist/index4.css +1 -0
- package/dist/index40.css +1 -0
- package/dist/index41.css +1 -0
- package/dist/index42.css +1 -0
- package/dist/index43.css +1 -0
- package/dist/index44.css +1 -0
- package/dist/index45.css +1 -0
- package/dist/index46.css +1 -0
- package/dist/index47.css +1 -0
- package/dist/index48.css +1 -0
- package/dist/index49.css +1 -0
- package/dist/index5.css +1 -0
- package/dist/index6.css +1 -0
- package/dist/index7.css +1 -0
- package/dist/index8.css +1 -0
- package/dist/index9.css +1 -0
- package/dist/sass-template-common.css +1 -1
- package/dist/sass-template-common.js +2752 -12064
- package/dist/sass-template-common.umd.cjs +4 -111
- package/dist/section.card.css +1 -0
- package/dist/section.card.server-B99ARPky.js +54 -0
- package/dist/section.card.server-D4OCsd_w.cjs +1 -0
- package/dist/shareButtons.d.ts +19 -0
- package/dist/shareButtons.js +4 -0
- package/dist/shareButtons.umd.cjs +1 -0
- package/dist/staticSlotWrapper-CmDA3CVW.cjs +1 -0
- package/dist/staticSlotWrapper-VRNBG2M8.js +11 -0
- package/package.json +380 -60
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import { jsxs as F, jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { useState as M, useRef as J, useCallback as n, useEffect as j } from "react";
|
|
3
|
+
function K({
|
|
4
|
+
currentIndex: w,
|
|
5
|
+
totalItems: L,
|
|
6
|
+
cardWidth: o,
|
|
7
|
+
cardGap: m,
|
|
8
|
+
fullPageWidth: d,
|
|
9
|
+
enableDrag: h,
|
|
10
|
+
onIndexChange: p
|
|
11
|
+
}) {
|
|
12
|
+
const [r, S] = M(!1), [f, a] = M(0), [I, D] = M(0), [R, i] = M(0), [H, B] = M(0), [E, O] = M(null), s = J(null), [W, b] = M(1), v = n(() => {
|
|
13
|
+
if (d) return 1;
|
|
14
|
+
const t = s.current?.offsetWidth || window.innerWidth, e = o + m, g = Math.floor(t / e);
|
|
15
|
+
return Math.max(1, g);
|
|
16
|
+
}, [d, o, m]);
|
|
17
|
+
j(() => {
|
|
18
|
+
const t = () => {
|
|
19
|
+
const e = v();
|
|
20
|
+
b(e);
|
|
21
|
+
};
|
|
22
|
+
return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
|
|
23
|
+
}, [v]);
|
|
24
|
+
const C = n(() => {
|
|
25
|
+
const t = v();
|
|
26
|
+
return Math.max(0, L - t);
|
|
27
|
+
}, [L, v])(), N = n(() => {
|
|
28
|
+
const t = v();
|
|
29
|
+
return t === 1 ? 1 : Math.max(1, Math.ceil(t / 2));
|
|
30
|
+
}, [v]), c = n(
|
|
31
|
+
(t, e = 0) => {
|
|
32
|
+
if (d) {
|
|
33
|
+
const g = s.current?.offsetWidth || window.innerWidth;
|
|
34
|
+
return -(t * (100 + m)) + e / g * 100;
|
|
35
|
+
}
|
|
36
|
+
return -(t * (o + m)) + e;
|
|
37
|
+
},
|
|
38
|
+
[d, o, m]
|
|
39
|
+
), l = n(
|
|
40
|
+
(t) => {
|
|
41
|
+
const e = s.current?.offsetWidth || window.innerWidth, g = v(), X = N();
|
|
42
|
+
if (d)
|
|
43
|
+
return Math.abs(t) / e * 100 > 30 ? 1 : 0;
|
|
44
|
+
{
|
|
45
|
+
const y = o + m, A = Math.abs(t) / y;
|
|
46
|
+
return A >= (g === 1 ? 0.2 : 0.3) ? g === 1 ? 1 : Math.min(Math.round(A), X) : 0;
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
[d, o, m, v, N]
|
|
50
|
+
), x = n(
|
|
51
|
+
(t) => {
|
|
52
|
+
h && (a(t), D(t), i(0), B(Date.now()), S(!0), document.body.classList.add("dragging"));
|
|
53
|
+
},
|
|
54
|
+
[h]
|
|
55
|
+
), V = n(
|
|
56
|
+
(t) => {
|
|
57
|
+
if (!r || !h) return;
|
|
58
|
+
const e = t - f, g = (o + m) * 1.2, X = w === 0 && e > 0, y = w === C && e < 0, A = X || y ? Math.sign(e) * Math.min(Math.abs(e), g) : e;
|
|
59
|
+
D(t), i(A);
|
|
60
|
+
},
|
|
61
|
+
[r, f, h, w, C, o, m]
|
|
62
|
+
), k = n(
|
|
63
|
+
(t) => {
|
|
64
|
+
V(t.clientX);
|
|
65
|
+
},
|
|
66
|
+
[V]
|
|
67
|
+
), T = n(
|
|
68
|
+
(t) => {
|
|
69
|
+
if (!r || !h) return;
|
|
70
|
+
const e = I - f, g = Date.now() - H, X = Math.abs(e) / Math.max(g, 1), y = l(e), _ = X > 0.5 && Math.abs(e) > 50 ? Math.max(y, 1) : y;
|
|
71
|
+
if (_ > 0)
|
|
72
|
+
if (e > 0) {
|
|
73
|
+
const $ = Math.max(0, w - _);
|
|
74
|
+
p($);
|
|
75
|
+
} else {
|
|
76
|
+
const $ = Math.min(C, w + _);
|
|
77
|
+
p($);
|
|
78
|
+
}
|
|
79
|
+
S(!1), i(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", T), t.clientX === f && E?.dispatchEvent(new PointerEvent("click"));
|
|
80
|
+
},
|
|
81
|
+
[
|
|
82
|
+
r,
|
|
83
|
+
I,
|
|
84
|
+
f,
|
|
85
|
+
H,
|
|
86
|
+
w,
|
|
87
|
+
C,
|
|
88
|
+
h,
|
|
89
|
+
p,
|
|
90
|
+
l,
|
|
91
|
+
k,
|
|
92
|
+
E
|
|
93
|
+
]
|
|
94
|
+
), P = n(
|
|
95
|
+
(t) => {
|
|
96
|
+
t.preventDefault(), ["a", "span"].includes(t.target?.localName) && O(t.target), x(t.clientX);
|
|
97
|
+
},
|
|
98
|
+
[x]
|
|
99
|
+
), Q = n(
|
|
100
|
+
(t) => {
|
|
101
|
+
x(t.touches[0].clientX);
|
|
102
|
+
},
|
|
103
|
+
[x]
|
|
104
|
+
), Z = n(
|
|
105
|
+
(t) => {
|
|
106
|
+
r && (t.preventDefault(), V(t.touches[0].clientX));
|
|
107
|
+
},
|
|
108
|
+
[r, V]
|
|
109
|
+
), q = n(
|
|
110
|
+
(t) => {
|
|
111
|
+
T(t);
|
|
112
|
+
},
|
|
113
|
+
[T]
|
|
114
|
+
);
|
|
115
|
+
return j(() => {
|
|
116
|
+
if (r)
|
|
117
|
+
return s.current?.addEventListener("mousemove", k), s.current?.addEventListener("mouseup", T), () => {
|
|
118
|
+
s.current?.removeEventListener(
|
|
119
|
+
"mousemove",
|
|
120
|
+
k
|
|
121
|
+
), s.current?.removeEventListener("mouseup", T);
|
|
122
|
+
};
|
|
123
|
+
}, [r, V, T, k]), {
|
|
124
|
+
isDragging: r,
|
|
125
|
+
translateOffset: R,
|
|
126
|
+
carrouselRef: s,
|
|
127
|
+
maxIndex: C,
|
|
128
|
+
getTranslateValue: c,
|
|
129
|
+
actualVisibleItems: W,
|
|
130
|
+
dragHandlers: {
|
|
131
|
+
onMouseDown: P,
|
|
132
|
+
onTouchStart: Q,
|
|
133
|
+
onTouchMove: Z,
|
|
134
|
+
onTouchEnd: q,
|
|
135
|
+
onMouseLeave: T
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
function G(w) {
|
|
140
|
+
const {
|
|
141
|
+
children: L,
|
|
142
|
+
slot_id: o,
|
|
143
|
+
visibleItems: m = 4,
|
|
144
|
+
cardWidth: d = 260,
|
|
145
|
+
cardGap: h = 20,
|
|
146
|
+
fullPageWidth: p = !1,
|
|
147
|
+
pagination: r = !1,
|
|
148
|
+
enableDrag: S = !0
|
|
149
|
+
} = w, f = Array.isArray(L) ? L : L?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [a, I] = M(0), [D, R] = M(!1);
|
|
150
|
+
j(() => {
|
|
151
|
+
R(!0);
|
|
152
|
+
const c = document.getElementById("ssr-dummy_" + o);
|
|
153
|
+
c && c.remove();
|
|
154
|
+
}, []);
|
|
155
|
+
const {
|
|
156
|
+
isDragging: i,
|
|
157
|
+
translateOffset: H,
|
|
158
|
+
carrouselRef: B,
|
|
159
|
+
maxIndex: E,
|
|
160
|
+
getTranslateValue: O,
|
|
161
|
+
actualVisibleItems: s,
|
|
162
|
+
dragHandlers: W
|
|
163
|
+
} = K({
|
|
164
|
+
currentIndex: a,
|
|
165
|
+
totalItems: f.length,
|
|
166
|
+
cardWidth: d,
|
|
167
|
+
cardGap: h,
|
|
168
|
+
fullPageWidth: p,
|
|
169
|
+
enableDrag: S,
|
|
170
|
+
onIndexChange: I
|
|
171
|
+
}), b = n(
|
|
172
|
+
(c) => {
|
|
173
|
+
const l = Math.max(0, Math.min(c, E));
|
|
174
|
+
I(l);
|
|
175
|
+
},
|
|
176
|
+
[E]
|
|
177
|
+
), v = n(() => {
|
|
178
|
+
b(a - 1);
|
|
179
|
+
}, [a, b]), z = n(() => {
|
|
180
|
+
b(a + 1);
|
|
181
|
+
}, [a, b]);
|
|
182
|
+
if (!D) return;
|
|
183
|
+
const C = O(a, H), N = p ? `translateX(${C}%)` : `translateX(${C}px)`;
|
|
184
|
+
return /* @__PURE__ */ F("div", { className: `${o}- carrousel-container`, children: [
|
|
185
|
+
a > 0 && /* @__PURE__ */ u(
|
|
186
|
+
"button",
|
|
187
|
+
{
|
|
188
|
+
className: "visible-arrow left",
|
|
189
|
+
onClick: v,
|
|
190
|
+
"aria-label": "Previous slide",
|
|
191
|
+
style: { display: "flex" },
|
|
192
|
+
children: /* @__PURE__ */ u(
|
|
193
|
+
"svg",
|
|
194
|
+
{
|
|
195
|
+
width: "16",
|
|
196
|
+
height: "16",
|
|
197
|
+
viewBox: "0 0 16 16",
|
|
198
|
+
fill: "currentColor",
|
|
199
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
200
|
+
children: /* @__PURE__ */ u(
|
|
201
|
+
"path",
|
|
202
|
+
{
|
|
203
|
+
d: "M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z",
|
|
204
|
+
fill: "currentColor"
|
|
205
|
+
}
|
|
206
|
+
)
|
|
207
|
+
}
|
|
208
|
+
)
|
|
209
|
+
}
|
|
210
|
+
),
|
|
211
|
+
a < E && /* @__PURE__ */ u(
|
|
212
|
+
"button",
|
|
213
|
+
{
|
|
214
|
+
className: "visible-arrow right",
|
|
215
|
+
onClick: z,
|
|
216
|
+
"aria-label": "Next slide",
|
|
217
|
+
style: { display: "flex" },
|
|
218
|
+
children: /* @__PURE__ */ u(
|
|
219
|
+
"svg",
|
|
220
|
+
{
|
|
221
|
+
width: "16",
|
|
222
|
+
height: "16",
|
|
223
|
+
viewBox: "0 0 16 16",
|
|
224
|
+
fill: "currentColor",
|
|
225
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
226
|
+
children: /* @__PURE__ */ u(
|
|
227
|
+
"path",
|
|
228
|
+
{
|
|
229
|
+
d: "M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z",
|
|
230
|
+
fill: "currentColor"
|
|
231
|
+
}
|
|
232
|
+
)
|
|
233
|
+
}
|
|
234
|
+
)
|
|
235
|
+
}
|
|
236
|
+
),
|
|
237
|
+
/* @__PURE__ */ u(
|
|
238
|
+
"div",
|
|
239
|
+
{
|
|
240
|
+
ref: B,
|
|
241
|
+
className: "carrousel-ssr",
|
|
242
|
+
style: {
|
|
243
|
+
gap: h,
|
|
244
|
+
margin: h === 0 ? "0" : "0 0.5rem 1rem",
|
|
245
|
+
cursor: S ? i ? "grabbing" : "grab" : "default"
|
|
246
|
+
},
|
|
247
|
+
...W,
|
|
248
|
+
children: f && f.map((c, l) => typeof c == "string" ? /* @__PURE__ */ u(
|
|
249
|
+
"section",
|
|
250
|
+
{
|
|
251
|
+
className: "card",
|
|
252
|
+
style: {
|
|
253
|
+
transform: N,
|
|
254
|
+
transition: i ? "none" : "transform 300ms ease",
|
|
255
|
+
minWidth: p ? "100%" : d,
|
|
256
|
+
width: "min-content",
|
|
257
|
+
userSelect: i ? "none" : "auto",
|
|
258
|
+
pointerEvents: i ? "none" : "auto"
|
|
259
|
+
},
|
|
260
|
+
dangerouslySetInnerHTML: { __html: c }
|
|
261
|
+
},
|
|
262
|
+
l
|
|
263
|
+
) : /* @__PURE__ */ u(
|
|
264
|
+
"section",
|
|
265
|
+
{
|
|
266
|
+
className: "card",
|
|
267
|
+
style: {
|
|
268
|
+
transform: N,
|
|
269
|
+
transition: i ? "none" : "transform 300ms ease",
|
|
270
|
+
minWidth: p ? "100%" : d,
|
|
271
|
+
width: "min-content",
|
|
272
|
+
userSelect: i ? "none" : "auto",
|
|
273
|
+
pointerEvents: i ? "none" : "auto"
|
|
274
|
+
},
|
|
275
|
+
children: c
|
|
276
|
+
},
|
|
277
|
+
l
|
|
278
|
+
))
|
|
279
|
+
}
|
|
280
|
+
),
|
|
281
|
+
r && /* @__PURE__ */ u("nav", { className: "carrousel-pagination", children: Array.from(
|
|
282
|
+
{ length: Math.ceil(f.length / s) },
|
|
283
|
+
(c, l) => {
|
|
284
|
+
const x = Math.floor(a / s) === l;
|
|
285
|
+
return /* @__PURE__ */ u(
|
|
286
|
+
"li",
|
|
287
|
+
{
|
|
288
|
+
className: x ? "active" : "",
|
|
289
|
+
onClick: () => b(l * s),
|
|
290
|
+
style: {
|
|
291
|
+
cursor: "pointer",
|
|
292
|
+
backgroundColor: x ? "var(--carrousel-pagination-background-color)" : "var(--carrousel-pagination-background-color-white)"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
l
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
) })
|
|
299
|
+
] });
|
|
300
|
+
}
|
|
301
|
+
export {
|
|
302
|
+
G as C
|
|
303
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),t=require("react");function Q({currentIndex:C,totalItems:k,cardWidth:a,cardGap:m,fullPageWidth:d,enableDrag:h,onIndexChange:b}){const[r,y]=t.useState(!1),[f,i]=t.useState(0),[L,X]=t.useState(0),[H,l]=t.useState(0),[A,R]=t.useState(0),[T,_]=t.useState(null),n=t.useRef(null),[B,w]=t.useState(1),v=t.useCallback(()=>{if(d)return 1;const e=n.current?.offsetWidth||window.innerWidth,s=a+m,g=Math.floor(e/s);return Math.max(1,g)},[d,a,m]);t.useEffect(()=>{const e=()=>{const s=v();w(s)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[v]);const M=t.useCallback(()=>{const e=v();return Math.max(0,k-e)},[k,v])(),E=t.useCallback(()=>{const e=v();return e===1?1:Math.max(1,Math.ceil(e/2))},[v]),c=t.useCallback((e,s=0)=>{if(d){const g=n.current?.offsetWidth||window.innerWidth;return-(e*(100+m))+s/g*100}return-(e*(a+m))+s},[d,a,m]),u=t.useCallback(e=>{const s=n.current?.offsetWidth||window.innerWidth,g=v(),N=E();if(d)return Math.abs(e)/s*100>30?1:0;{const S=a+m,V=Math.abs(e)/S;return V>=(g===1?.2:.3)?g===1?1:Math.min(Math.round(V),N):0}},[d,a,m,v,E]),x=t.useCallback(e=>{h&&(i(e),X(e),l(0),R(Date.now()),y(!0),document.body.classList.add("dragging"))},[h]),I=t.useCallback(e=>{if(!r||!h)return;const s=e-f,g=(a+m)*1.2,N=C===0&&s>0,S=C===M&&s<0,V=N||S?Math.sign(s)*Math.min(Math.abs(s),g):s;X(e),l(V)},[r,f,h,C,M,a,m]),j=t.useCallback(e=>{I(e.clientX)},[I]),p=t.useCallback(e=>{if(!r||!h)return;const s=L-f,g=Date.now()-A,N=Math.abs(s)/Math.max(g,1),S=u(s),D=N>.5&&Math.abs(s)>50?Math.max(S,1):S;if(D>0)if(s>0){const O=Math.max(0,C-D);b(O)}else{const O=Math.min(M,C+D);b(O)}y(!1),l(0),document.body.classList.remove("dragging"),document.removeEventListener("mousemove",j),document.removeEventListener("mouseup",p),e.clientX===f&&T?.dispatchEvent(new PointerEvent("click"))},[r,L,f,A,C,M,h,b,u,j,T]),$=t.useCallback(e=>{e.preventDefault(),["a","span"].includes(e.target?.localName)&&_(e.target),x(e.clientX)},[x]),q=t.useCallback(e=>{x(e.touches[0].clientX)},[x]),z=t.useCallback(e=>{r&&(e.preventDefault(),I(e.touches[0].clientX))},[r,I]),P=t.useCallback(e=>{p(e)},[p]);return t.useEffect(()=>{if(r)return n.current?.addEventListener("mousemove",j),n.current?.addEventListener("mouseup",p),()=>{n.current?.removeEventListener("mousemove",j),n.current?.removeEventListener("mouseup",p)}},[r,I,p,j]),{isDragging:r,translateOffset:H,carrouselRef:n,maxIndex:M,getTranslateValue:c,actualVisibleItems:B,dragHandlers:{onMouseDown:$,onTouchStart:q,onTouchMove:z,onTouchEnd:P,onMouseLeave:p}}}function Z(C){const{children:k,slot_id:a,visibleItems:m=4,cardWidth:d=260,cardGap:h=20,fullPageWidth:b=!1,pagination:r=!1,enableDrag:y=!0}=C,f=Array.isArray(k)?k:k?.props?.value?.split('<div style="display:none;">SPLITING</div>'),[i,L]=t.useState(0),[X,H]=t.useState(!1);t.useEffect(()=>{H(!0);const c=document.getElementById("ssr-dummy_"+a);c&&c.remove()},[]);const{isDragging:l,translateOffset:A,carrouselRef:R,maxIndex:T,getTranslateValue:_,actualVisibleItems:n,dragHandlers:B}=Q({currentIndex:i,totalItems:f.length,cardWidth:d,cardGap:h,fullPageWidth:b,enableDrag:y,onIndexChange:L}),w=t.useCallback(c=>{const u=Math.max(0,Math.min(c,T));L(u)},[T]),v=t.useCallback(()=>{w(i-1)},[i,w]),W=t.useCallback(()=>{w(i+1)},[i,w]);if(!X)return;const M=_(i,A),E=b?`translateX(${M}%)`:`translateX(${M}px)`;return o.jsxs("div",{className:`${a}- carrousel-container`,children:[i>0&&o.jsx("button",{className:"visible-arrow left",onClick:v,"aria-label":"Previous slide",style:{display:"flex"},children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z",fill:"currentColor"})})}),i<T&&o.jsx("button",{className:"visible-arrow right",onClick:W,"aria-label":"Next slide",style:{display:"flex"},children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z",fill:"currentColor"})})}),o.jsx("div",{ref:R,className:"carrousel-ssr",style:{gap:h,margin:h===0?"0":"0 0.5rem 1rem",cursor:y?l?"grabbing":"grab":"default"},...B,children:f&&f.map((c,u)=>typeof c=="string"?o.jsx("section",{className:"card",style:{transform:E,transition:l?"none":"transform 300ms ease",minWidth:b?"100%":d,width:"min-content",userSelect:l?"none":"auto",pointerEvents:l?"none":"auto"},dangerouslySetInnerHTML:{__html:c}},u):o.jsx("section",{className:"card",style:{transform:E,transition:l?"none":"transform 300ms ease",minWidth:b?"100%":d,width:"min-content",userSelect:l?"none":"auto",pointerEvents:l?"none":"auto"},children:c},u))}),r&&o.jsx("nav",{className:"carrousel-pagination",children:Array.from({length:Math.ceil(f.length/n)},(c,u)=>{const x=Math.floor(i/n)===u;return o.jsx("li",{className:x?"active":"",onClick:()=>w(u*n),style:{cursor:"pointer",backgroundColor:x?"var(--carrousel-pagination-background-color)":"var(--carrousel-pagination-background-color-white)"}},u)})})]})}exports.CarrouselCSR=Z;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare function CarrouselCSR(props: CarrouselProps): JSX.Element | undefined;
|
|
5
|
+
|
|
6
|
+
declare type CarrouselProps = {
|
|
7
|
+
children: ReactNode[];
|
|
8
|
+
slot_id: string;
|
|
9
|
+
visibleItems?: number;
|
|
10
|
+
cardWidth?: number;
|
|
11
|
+
cardGap?: number;
|
|
12
|
+
fullPageWidth?: boolean;
|
|
13
|
+
pagination?: boolean;
|
|
14
|
+
enableDrag?: boolean;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */const e=require("./CarrouselCSR-DYd0tK22.cjs");exports.CarrouselCSR=e.CarrouselCSR;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare function CarrouselIRS(props: CarrouselProps): JSX.Element;
|
|
5
|
+
|
|
6
|
+
declare type CarrouselProps = {
|
|
7
|
+
children: ReactNode[];
|
|
8
|
+
slot_id: string;
|
|
9
|
+
visibleItems?: number;
|
|
10
|
+
cardWidth?: number;
|
|
11
|
+
cardGap?: number;
|
|
12
|
+
fullPageWidth?: boolean;
|
|
13
|
+
pagination?: boolean;
|
|
14
|
+
enableDrag?: boolean;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */const e=require("./index-CrRmOv9N.cjs");exports.CarrouselIRS=e.CarrouselIRS;
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
declare interface Author {
|
|
5
|
+
firstname: string;
|
|
6
|
+
lastname: string;
|
|
7
|
+
fullname: string;
|
|
8
|
+
image: Preview;
|
|
9
|
+
name: string;
|
|
10
|
+
internaluser: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare type CarrouselProps = {
|
|
14
|
+
children: ReactNode[];
|
|
15
|
+
slot_id: string;
|
|
16
|
+
visibleItems?: number;
|
|
17
|
+
cardWidth?: number;
|
|
18
|
+
cardGap?: number;
|
|
19
|
+
fullPageWidth?: boolean;
|
|
20
|
+
pagination?: boolean;
|
|
21
|
+
enableDrag?: boolean;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export declare const CarruselCard: FC<CarruselCardProps>;
|
|
25
|
+
|
|
26
|
+
declare interface CarruselCardProps extends Omit<CarrouselProps, 'slot_id'> {
|
|
27
|
+
title: string;
|
|
28
|
+
titleUrl: string;
|
|
29
|
+
content: Array<NewListResponseData>;
|
|
30
|
+
heightImageOverwrite?: string;
|
|
31
|
+
heightImageOverwriteMobile?: string;
|
|
32
|
+
slot_id: string;
|
|
33
|
+
paths: RoutePathConfig;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare interface Info {
|
|
37
|
+
type?: string;
|
|
38
|
+
section?: {
|
|
39
|
+
name: string;
|
|
40
|
+
slug: string;
|
|
41
|
+
url: string;
|
|
42
|
+
};
|
|
43
|
+
link: {
|
|
44
|
+
url?: string;
|
|
45
|
+
target?: string;
|
|
46
|
+
canonical?: boolean;
|
|
47
|
+
internal?: string;
|
|
48
|
+
};
|
|
49
|
+
date: {
|
|
50
|
+
date: string;
|
|
51
|
+
created: number;
|
|
52
|
+
modified: number;
|
|
53
|
+
firstpublish: number;
|
|
54
|
+
lastpublish: number;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare type NewListResponseData = {
|
|
59
|
+
info: Info;
|
|
60
|
+
config?: any;
|
|
61
|
+
social?: {
|
|
62
|
+
title: string;
|
|
63
|
+
description: string;
|
|
64
|
+
images: {
|
|
65
|
+
facebook: string;
|
|
66
|
+
twitter?: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
main: {
|
|
70
|
+
title: {
|
|
71
|
+
home: string;
|
|
72
|
+
section: string;
|
|
73
|
+
article: string;
|
|
74
|
+
seo?: string;
|
|
75
|
+
};
|
|
76
|
+
uppertitle?: string;
|
|
77
|
+
subtitle: {
|
|
78
|
+
rendered: string;
|
|
79
|
+
striped: string;
|
|
80
|
+
};
|
|
81
|
+
summary?: {
|
|
82
|
+
rendered: string;
|
|
83
|
+
};
|
|
84
|
+
tags: {
|
|
85
|
+
name: string;
|
|
86
|
+
slug: string;
|
|
87
|
+
url: string;
|
|
88
|
+
approved: boolean;
|
|
89
|
+
id: string;
|
|
90
|
+
}[];
|
|
91
|
+
sources?: {
|
|
92
|
+
name: string;
|
|
93
|
+
}[];
|
|
94
|
+
};
|
|
95
|
+
body?: {
|
|
96
|
+
rendered: string;
|
|
97
|
+
striped: string;
|
|
98
|
+
};
|
|
99
|
+
authors: Array<Author>;
|
|
100
|
+
preview: Preview;
|
|
101
|
+
keywords?: {
|
|
102
|
+
tags: Array<Tag>;
|
|
103
|
+
hiddentags: boolean;
|
|
104
|
+
person: boolean;
|
|
105
|
+
};
|
|
106
|
+
hascontent?: {
|
|
107
|
+
hasgalleryvideosflash: boolean;
|
|
108
|
+
hasgalleryvideosyoutube: boolean;
|
|
109
|
+
hasgalleryvideosembedded: boolean;
|
|
110
|
+
hasgalleryimages: boolean;
|
|
111
|
+
hasaudios: boolean;
|
|
112
|
+
hasfiles: boolean;
|
|
113
|
+
hasitemlist: boolean;
|
|
114
|
+
hasembeddedimage: boolean;
|
|
115
|
+
hasembeddedvideoyoutube: boolean;
|
|
116
|
+
hasembeddedvideolink: boolean;
|
|
117
|
+
hasembeddedvideoembedded: boolean;
|
|
118
|
+
hasembeddedvideogallery: boolean;
|
|
119
|
+
hasembeddedvideolist: boolean;
|
|
120
|
+
hasembeddedimagegallery: boolean;
|
|
121
|
+
hasembeddedaudio: boolean;
|
|
122
|
+
hasembeddedaudiogallery: boolean;
|
|
123
|
+
hasembeddedaudiolist: boolean;
|
|
124
|
+
hasembeddedpinterest: boolean;
|
|
125
|
+
hasembeddedvine: boolean;
|
|
126
|
+
hasembeddedinstagram: boolean;
|
|
127
|
+
hasembeddedtwitter: boolean;
|
|
128
|
+
hasembeddedfacebook: boolean;
|
|
129
|
+
hasembeddedembedded: boolean;
|
|
130
|
+
hasembeddedpoll: boolean;
|
|
131
|
+
hasembeddedstorify: boolean;
|
|
132
|
+
hasembeddedflickr: boolean;
|
|
133
|
+
hasembeddedimagecomparator: boolean;
|
|
134
|
+
hasembeddedyoutube: boolean;
|
|
135
|
+
hasembeddediframe: boolean;
|
|
136
|
+
hasembeddedevent: boolean;
|
|
137
|
+
hasembeddedrelatednews: boolean;
|
|
138
|
+
hasembeddedjwplayer: boolean;
|
|
139
|
+
hasembeddedbrid: boolean;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
declare interface Preview {
|
|
144
|
+
sizes: Array<SizeImage>;
|
|
145
|
+
original?: {
|
|
146
|
+
url: string;
|
|
147
|
+
};
|
|
148
|
+
description: string | false;
|
|
149
|
+
copyright?: string | false;
|
|
150
|
+
photographer?: string | false;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
declare interface RoutePathConfig {
|
|
154
|
+
autor: string | 'autor';
|
|
155
|
+
tema: string | 'tema';
|
|
156
|
+
buscar: string | 'buscar';
|
|
157
|
+
seccion: string | 'seccion';
|
|
158
|
+
contacto?: string | 'contacto';
|
|
159
|
+
anuncia?: string | 'anuncia';
|
|
160
|
+
'ultimas-noticias': string | 'ultimas-noticias';
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
declare interface SizeImage {
|
|
164
|
+
url: string;
|
|
165
|
+
width: number;
|
|
166
|
+
height: number;
|
|
167
|
+
scale?: string;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
declare interface Tag {
|
|
171
|
+
approved: boolean;
|
|
172
|
+
name: string;
|
|
173
|
+
id: string;
|
|
174
|
+
info: boolean;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CZnJNr_-.cjs");exports.CarruselCard=e.CarruselCard;
|