@scrippsproduct/networks-ui-library 1.0.15
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 +71 -0
- package/dist/ChoicesItem-CGIr6Qga.mjs +38 -0
- package/dist/Form.module-DbpB9u1l.mjs +150 -0
- package/dist/PageHero.module-BdV8z_Xv.mjs +8 -0
- package/dist/ResultsTable.module-B7M9y7hd.mjs +14 -0
- package/dist/SocialShareButton-BXGVUD-z.mjs +30 -0
- package/dist/_commonjsHelpers-DaMA6jEr.mjs +8 -0
- package/dist/add-DH4DZT_w.mjs +17 -0
- package/dist/addMonths-Ca2KMx6g.mjs +23 -0
- package/dist/assets/ActionButton.css +1 -0
- package/dist/assets/AdBlock.css +1 -0
- package/dist/assets/AdjustableTwoColumnGrid.css +1 -0
- package/dist/assets/AirDateFormatter.css +1 -0
- package/dist/assets/AnchorTag.css +1 -0
- package/dist/assets/BCVideoPlayer.css +1 -0
- package/dist/assets/BasicGridModule.css +1 -0
- package/dist/assets/Button.css +1 -0
- package/dist/assets/CarouselSlide.css +1 -0
- package/dist/assets/ChannelSearch.css +1 -0
- package/dist/assets/ChoicesItem.css +1 -0
- package/dist/assets/ContentHero.css +1 -0
- package/dist/assets/CtaBlock.css +1 -0
- package/dist/assets/CustomDataList.css +1 -0
- package/dist/assets/DateNavigation.css +1 -0
- package/dist/assets/DatePicker.css +1 -0
- package/dist/assets/DeviceAndPlatformLists.css +1 -0
- package/dist/assets/DrawerNavigation.css +1 -0
- package/dist/assets/EqualSizeFlexRow.css +1 -0
- package/dist/assets/EqualSizeGrid.css +1 -0
- package/dist/assets/ErrorHandler.css +1 -0
- package/dist/assets/FeaturedList.css +1 -0
- package/dist/assets/Figure.css +1 -0
- package/dist/assets/Figure2.css +1 -0
- package/dist/assets/FindUs.css +1 -0
- package/dist/assets/FooterNavigation.css +1 -0
- package/dist/assets/Form.css +1 -0
- package/dist/assets/GradientButton.css +1 -0
- package/dist/assets/GridList.css +1 -0
- package/dist/assets/IONShowHero.css +1 -0
- package/dist/assets/ImageCard.css +1 -0
- package/dist/assets/ImageReplacementAnchor.css +1 -0
- package/dist/assets/InfoPanel.css +1 -0
- package/dist/assets/InlineNavigation.css +1 -0
- package/dist/assets/InstructionsList.css +1 -0
- package/dist/assets/Loading.css +1 -0
- package/dist/assets/LoadingV2.css +1 -0
- package/dist/assets/LogoListItem.css +1 -0
- package/dist/assets/LogoNavigation.css +1 -0
- package/dist/assets/ModalContainer.css +1 -0
- package/dist/assets/MultiLayeredFigure.css +1 -0
- package/dist/assets/NavList.css +1 -0
- package/dist/assets/Overlay.css +1 -0
- package/dist/assets/PageHero.css +1 -0
- package/dist/assets/Pagination.css +1 -0
- package/dist/assets/ProgramAirdate.css +1 -0
- package/dist/assets/PromotionBlock.css +1 -0
- package/dist/assets/PromotionsRowModule.css +1 -0
- package/dist/assets/RescanInstructions.css +1 -0
- package/dist/assets/ResultsTable.css +1 -0
- package/dist/assets/ScheduleList.css +1 -0
- package/dist/assets/ShowAboutLayout.css +1 -0
- package/dist/assets/ShowSlide.css +1 -0
- package/dist/assets/SocialLinks.css +1 -0
- package/dist/assets/SocialShareButton.css +1 -0
- package/dist/assets/StringList.css +1 -0
- package/dist/assets/TabNavigation.css +1 -0
- package/dist/assets/TextSlide.css +1 -0
- package/dist/assets/TwoColumnSlide.css +1 -0
- package/dist/assets/UpcomingList.css +1 -0
- package/dist/chevron-left-DmvQntvu.mjs +54 -0
- package/dist/chevron-right-CaAz6ISN.mjs +54 -0
- package/dist/components/ActionButton/ActionButton.d.ts +19 -0
- package/dist/components/ActionButton/ActionButton.js +78 -0
- package/dist/components/ActionButton/index.d.ts +1 -0
- package/dist/components/ActionButton/index.js +5 -0
- package/dist/components/AdBlock/AdBlock.d.ts +6 -0
- package/dist/components/AdBlock/AdBlock.js +110 -0
- package/dist/components/AdBlock/index.d.ts +1 -0
- package/dist/components/AdBlock/index.js +5 -0
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -0
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +24 -0
- package/dist/components/AdjustableTwoColumnGrid/index.d.ts +1 -0
- package/dist/components/AdjustableTwoColumnGrid/index.js +5 -0
- package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -0
- package/dist/components/AirDateFormatter/AirDateFormatter.js +82 -0
- package/dist/components/AirDateFormatter/index.d.ts +1 -0
- package/dist/components/AirDateFormatter/index.js +5 -0
- package/dist/components/AnchorTag/AnchorTag.d.ts +9 -0
- package/dist/components/AnchorTag/AnchorTag.js +45 -0
- package/dist/components/AnchorTag/index.d.ts +1 -0
- package/dist/components/AnchorTag/index.js +5 -0
- package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +13 -0
- package/dist/components/BCVideoPlayer/BCVideoPlayer.js +57 -0
- package/dist/components/BCVideoPlayer/index.d.ts +1 -0
- package/dist/components/BCVideoPlayer/index.js +5 -0
- package/dist/components/BasicGridModule/BasicGridModule.d.ts +24 -0
- package/dist/components/BasicGridModule/BasicGridModule.js +88 -0
- package/dist/components/BasicGridModule/index.d.ts +1 -0
- package/dist/components/BasicGridModule/index.js +5 -0
- package/dist/components/Button/Button.d.ts +19 -0
- package/dist/components/Button/Button.js +76 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.js +5 -0
- package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +6 -0
- package/dist/components/ButtonAnchor/ButtonAnchor.js +18 -0
- package/dist/components/ButtonAnchor/index.d.ts +1 -0
- package/dist/components/ButtonAnchor/index.js +5 -0
- package/dist/components/Carousel/Carousel.d.ts +25 -0
- package/dist/components/Carousel/Carousel.js +298 -0
- package/dist/components/Carousel/CarouselUtils.class.d.ts +68 -0
- package/dist/components/Carousel/CarouselUtils.class.js +187 -0
- package/dist/components/Carousel/index.d.ts +1 -0
- package/dist/components/Carousel/index.js +5 -0
- package/dist/components/Carousel/navigations/Pagination.d.ts +3 -0
- package/dist/components/Carousel/navigations/Pagination.js +18 -0
- package/dist/components/CarouselSlide/CarouselSlide.d.ts +7 -0
- package/dist/components/CarouselSlide/CarouselSlide.js +37 -0
- package/dist/components/CarouselSlide/index.d.ts +1 -0
- package/dist/components/CarouselSlide/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +2 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +9 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +9 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +30 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +34 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +105 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +2 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +10 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.d.ts +4 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.js +27 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +28 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +42 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +17 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +116 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +170 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +193 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +7 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +30 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +19 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +35 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +17 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +17 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +49 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +2 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +20 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/index.d.ts +8 -0
- package/dist/components/CarouselSlide/slide-layouts/index.js +18 -0
- package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +2 -0
- package/dist/components/CastInfoLayout/CastInfoLayout.js +62 -0
- package/dist/components/CastInfoLayout/index.d.ts +1 -0
- package/dist/components/CastInfoLayout/index.js +5 -0
- package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -0
- package/dist/components/ChannelSearch/ChannelSearch.js +171 -0
- package/dist/components/ChannelSearch/index.d.ts +1 -0
- package/dist/components/ChannelSearch/index.js +5 -0
- package/dist/components/ChoicesItem/ChoicesItem.d.ts +5 -0
- package/dist/components/ChoicesItem/ChoicesItem.js +8 -0
- package/dist/components/ChoicesItem/index.d.ts +1 -0
- package/dist/components/ChoicesItem/index.js +5 -0
- package/dist/components/ChoicesList/ChoicesList.d.ts +4 -0
- package/dist/components/ChoicesList/ChoicesList.js +9 -0
- package/dist/components/ChoicesList/index.d.ts +1 -0
- package/dist/components/ChoicesList/index.js +5 -0
- package/dist/components/Concat/Concat.d.ts +4 -0
- package/dist/components/Concat/Concat.js +10 -0
- package/dist/components/Concat/index.d.ts +1 -0
- package/dist/components/Concat/index.js +5 -0
- package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +6 -0
- package/dist/components/CreateChoiceList/CreateChoiceList.js +14 -0
- package/dist/components/CreateChoiceList/index.d.ts +1 -0
- package/dist/components/CreateChoiceList/index.js +5 -0
- package/dist/components/CtaBlock/CtaBlock.d.ts +23 -0
- package/dist/components/CtaBlock/CtaBlock.js +89 -0
- package/dist/components/CtaBlock/index.d.ts +1 -0
- package/dist/components/CtaBlock/index.js +5 -0
- package/dist/components/CustomDataList/CustomDataList.d.ts +11 -0
- package/dist/components/CustomDataList/CustomDataList.js +282 -0
- package/dist/components/CustomDataList/index.d.ts +1 -0
- package/dist/components/CustomDataList/index.js +5 -0
- package/dist/components/CustomSelect/CustomSelect.d.ts +14 -0
- package/dist/components/CustomSelect/CustomSelect.js +217 -0
- package/dist/components/CustomSelect/index.d.ts +1 -0
- package/dist/components/CustomSelect/index.js +5 -0
- package/dist/components/DateNavigation/DateNavigation.d.ts +5 -0
- package/dist/components/DateNavigation/DateNavigation.js +115 -0
- package/dist/components/DateNavigation/index.d.ts +1 -0
- package/dist/components/DateNavigation/index.js +5 -0
- package/dist/components/DatePicker/DatePicker.d.ts +10 -0
- package/dist/components/DatePicker/DatePicker.js +5895 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/index.js +5 -0
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +5 -0
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +60 -0
- package/dist/components/DeviceAndPlatformLists/index.d.ts +1 -0
- package/dist/components/DeviceAndPlatformLists/index.js +5 -0
- package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +10 -0
- package/dist/components/DrawerNavigation/DrawerNavigation.js +123 -0
- package/dist/components/DrawerNavigation/index.d.ts +1 -0
- package/dist/components/DrawerNavigation/index.js +5 -0
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -0
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +31 -0
- package/dist/components/EqualSizeFlexRow/index.d.ts +1 -0
- package/dist/components/EqualSizeFlexRow/index.js +5 -0
- package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -0
- package/dist/components/EqualSizeGrid/EqualSizeGrid.js +29 -0
- package/dist/components/EqualSizeGrid/index.d.ts +1 -0
- package/dist/components/EqualSizeGrid/index.js +5 -0
- package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -0
- package/dist/components/ErrorHandler/ErrorHandler.js +17 -0
- package/dist/components/ErrorHandler/index.d.ts +1 -0
- package/dist/components/ErrorHandler/index.js +5 -0
- package/dist/components/FeaturedList/FeaturedList.d.ts +7 -0
- package/dist/components/FeaturedList/FeaturedList.js +48 -0
- package/dist/components/FeaturedList/index.d.ts +1 -0
- package/dist/components/FeaturedList/index.js +5 -0
- package/dist/components/Figure/Figure.d.ts +8 -0
- package/dist/components/Figure/Figure.js +23 -0
- package/dist/components/Figure/index.d.ts +1 -0
- package/dist/components/Figure/index.js +5 -0
- package/dist/components/FindUs/FindUs.d.ts +20 -0
- package/dist/components/FindUs/FindUs.js +120 -0
- package/dist/components/FindUs/index.d.ts +1 -0
- package/dist/components/FindUs/index.js +5 -0
- package/dist/components/FooterNavigation/FooterNavigation.d.ts +4 -0
- package/dist/components/FooterNavigation/FooterNavigation.js +24 -0
- package/dist/components/FooterNavigation/index.d.ts +1 -0
- package/dist/components/FooterNavigation/index.js +5 -0
- package/dist/components/GenericList/GenericList.d.ts +6 -0
- package/dist/components/GenericList/GenericList.js +23 -0
- package/dist/components/GenericList/index.d.ts +1 -0
- package/dist/components/GenericList/index.js +5 -0
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -0
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +40 -0
- package/dist/components/GetAirdateWrapper/index.d.ts +1 -0
- package/dist/components/GetAirdateWrapper/index.js +5 -0
- package/dist/components/GradientButton/GradientButton.d.ts +15 -0
- package/dist/components/GradientButton/GradientButton.js +69 -0
- package/dist/components/GradientButton/index.d.ts +1 -0
- package/dist/components/GradientButton/index.js +5 -0
- package/dist/components/GridList/GridList.d.ts +6 -0
- package/dist/components/GridList/GridList.js +28 -0
- package/dist/components/GridList/index.d.ts +1 -0
- package/dist/components/GridList/index.js +5 -0
- package/dist/components/ImageCard/ImageCard.d.ts +3 -0
- package/dist/components/ImageCard/ImageCard.js +113 -0
- package/dist/components/ImageCard/ImageCardCore.d.ts +3 -0
- package/dist/components/ImageCard/ImageCardCore.js +129 -0
- package/dist/components/ImageCard/index.d.ts +1 -0
- package/dist/components/ImageCard/index.js +5 -0
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +15 -0
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +52 -0
- package/dist/components/ImageReplacementAnchor/index.d.ts +1 -0
- package/dist/components/ImageReplacementAnchor/index.js +5 -0
- package/dist/components/InfoPanel/InfoPanel.d.ts +10 -0
- package/dist/components/InfoPanel/InfoPanel.js +66 -0
- package/dist/components/InfoPanel/index.d.ts +1 -0
- package/dist/components/InfoPanel/index.js +5 -0
- package/dist/components/InlineNavigation/InlineNavigation.d.ts +6 -0
- package/dist/components/InlineNavigation/InlineNavigation.js +27 -0
- package/dist/components/InlineNavigation/index.d.ts +1 -0
- package/dist/components/InlineNavigation/index.js +4 -0
- package/dist/components/Input/Input.d.ts +10 -0
- package/dist/components/Input/Input.js +57 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/index.js +5 -0
- package/dist/components/InstructionsList/InstructionsList.d.ts +5 -0
- package/dist/components/InstructionsList/InstructionsList.js +17 -0
- package/dist/components/InstructionsList/index.d.ts +1 -0
- package/dist/components/InstructionsList/index.js +5 -0
- package/dist/components/Loading/Loading.d.ts +8 -0
- package/dist/components/Loading/Loading.js +36 -0
- package/dist/components/Loading/index.d.ts +1 -0
- package/dist/components/Loading/index.js +5 -0
- package/dist/components/LoadingV2/LoadingV2.d.ts +7 -0
- package/dist/components/LoadingV2/LoadingV2.js +39 -0
- package/dist/components/LoadingV2/index.d.ts +1 -0
- package/dist/components/LoadingV2/index.js +5 -0
- package/dist/components/LogoListItem/LogoListItem.d.ts +7 -0
- package/dist/components/LogoListItem/LogoListItem.js +29 -0
- package/dist/components/LogoListItem/index.d.ts +1 -0
- package/dist/components/LogoListItem/index.js +5 -0
- package/dist/components/LogoNavigation/LogoNavigation.d.ts +5 -0
- package/dist/components/LogoNavigation/LogoNavigation.js +23 -0
- package/dist/components/LogoNavigation/index.d.ts +1 -0
- package/dist/components/LogoNavigation/index.js +5 -0
- package/dist/components/ModalContainer/ModalContainer.d.ts +9 -0
- package/dist/components/ModalContainer/ModalContainer.js +108 -0
- package/dist/components/ModalContainer/index.d.ts +1 -0
- package/dist/components/ModalContainer/index.js +5 -0
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -0
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +29 -0
- package/dist/components/MultiLayeredFigure/index.d.ts +1 -0
- package/dist/components/MultiLayeredFigure/index.js +5 -0
- package/dist/components/NavList/NavList.d.ts +8 -0
- package/dist/components/NavList/NavList.js +33 -0
- package/dist/components/NavList/index.d.ts +1 -0
- package/dist/components/NavList/index.js +5 -0
- package/dist/components/Overlay/Overlay.d.ts +6 -0
- package/dist/components/Overlay/Overlay.js +37 -0
- package/dist/components/Overlay/index.d.ts +1 -0
- package/dist/components/Overlay/index.js +5 -0
- package/dist/components/PageHero/PageHero.d.ts +6 -0
- package/dist/components/PageHero/PageHero.js +19 -0
- package/dist/components/PageHero/index.d.ts +1 -0
- package/dist/components/PageHero/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +14 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +40 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +1 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +6 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +64 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +1 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +13 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +35 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +1 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/index.d.ts +3 -0
- package/dist/components/PageHero/page-hero-layouts/index.js +8 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +11 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.js +151 -0
- package/dist/components/ProgramAirdate/index.d.ts +1 -0
- package/dist/components/ProgramAirdate/index.js +5 -0
- package/dist/components/PromotionBlock/PromotionBlock.d.ts +5 -0
- package/dist/components/PromotionBlock/PromotionBlock.js +43 -0
- package/dist/components/PromotionBlock/index.d.ts +1 -0
- package/dist/components/PromotionBlock/index.js +5 -0
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -0
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +10 -0
- package/dist/components/PromotionsRowBlock/index.d.ts +1 -0
- package/dist/components/PromotionsRowBlock/index.js +5 -0
- package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +6 -0
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +113 -0
- package/dist/components/PromotionsRowModule/index.d.ts +1 -0
- package/dist/components/PromotionsRowModule/index.js +5 -0
- package/dist/components/RescanInstructions/RescanInstructions.d.ts +4 -0
- package/dist/components/RescanInstructions/RescanInstructions.js +30 -0
- package/dist/components/RescanInstructions/index.d.ts +1 -0
- package/dist/components/RescanInstructions/index.js +5 -0
- package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +14 -0
- package/dist/components/ResponsiveImage/ResponsiveImage.js +34 -0
- package/dist/components/ResponsiveImage/index.d.ts +1 -0
- package/dist/components/ResponsiveImage/index.js +5 -0
- package/dist/components/ResultsTable/ResultsTable.d.ts +7 -0
- package/dist/components/ResultsTable/ResultsTable.js +26 -0
- package/dist/components/ResultsTable/index.d.ts +1 -0
- package/dist/components/ResultsTable/index.js +5 -0
- package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +6 -0
- package/dist/components/ResultsTableBody/ResultsTableBody.js +51 -0
- package/dist/components/ResultsTableBody/index.d.ts +1 -0
- package/dist/components/ResultsTableBody/index.js +5 -0
- package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +4 -0
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +21 -0
- package/dist/components/ResultsTableHeader/index.d.ts +1 -0
- package/dist/components/ResultsTableHeader/index.js +5 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +6 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.js +28 -0
- package/dist/components/ScheduleLayout/index.d.ts +1 -0
- package/dist/components/ScheduleLayout/index.js +5 -0
- package/dist/components/ScheduleList/ScheduleList.d.ts +6 -0
- package/dist/components/ScheduleList/ScheduleList.js +100 -0
- package/dist/components/ScheduleList/index.d.ts +1 -0
- package/dist/components/ScheduleList/index.js +5 -0
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +5 -0
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +21 -0
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +8 -0
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +39 -0
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +8 -0
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +41 -0
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +8 -0
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +39 -0
- package/dist/components/SectionedContent/SectionedContent.d.ts +4 -0
- package/dist/components/SectionedContent/SectionedContent.js +23 -0
- package/dist/components/SectionedContent/index.d.ts +1 -0
- package/dist/components/SectionedContent/index.js +5 -0
- package/dist/components/Select/Select.d.ts +12 -0
- package/dist/components/Select/Select.js +64 -0
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/components/Select/index.js +5 -0
- package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +8 -0
- package/dist/components/ShowAboutContent/ShowAboutContent.js +69 -0
- package/dist/components/ShowAboutContent/index.d.ts +1 -0
- package/dist/components/ShowAboutContent/index.js +5 -0
- package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +8 -0
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +53 -0
- package/dist/components/ShowAboutLayout/index.d.ts +1 -0
- package/dist/components/ShowAboutLayout/index.js +5 -0
- package/dist/components/SocialLinks/SocialLinks.d.ts +11 -0
- package/dist/components/SocialLinks/SocialLinks.js +260 -0
- package/dist/components/SocialLinks/index.d.ts +1 -0
- package/dist/components/SocialLinks/index.js +5 -0
- package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -0
- package/dist/components/SocialShareBlock/SocialShareBlock.js +44 -0
- package/dist/components/SocialShareBlock/index.d.ts +1 -0
- package/dist/components/SocialShareBlock/index.js +5 -0
- package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -0
- package/dist/components/SocialShareButton/SocialShareButton.js +9 -0
- package/dist/components/SocialShareButton/index.d.ts +1 -0
- package/dist/components/SocialShareButton/index.js +5 -0
- package/dist/components/StringList/StringList.d.ts +6 -0
- package/dist/components/StringList/StringList.js +30 -0
- package/dist/components/StringList/index.d.ts +1 -0
- package/dist/components/StringList/index.js +5 -0
- package/dist/components/TabContent/TabContent.d.ts +5 -0
- package/dist/components/TabContent/TabContent.js +10 -0
- package/dist/components/TabContent/index.d.ts +1 -0
- package/dist/components/TabContent/index.js +5 -0
- package/dist/components/TabNavigation/TabNavigation.d.ts +6 -0
- package/dist/components/TabNavigation/TabNavigation.js +69 -0
- package/dist/components/TabNavigation/index.d.ts +1 -0
- package/dist/components/TabNavigation/index.js +5 -0
- package/dist/components/TabbedContent/TabbedContent.d.ts +5 -0
- package/dist/components/TabbedContent/TabbedContent.js +15 -0
- package/dist/components/TabbedContent/index.d.ts +1 -0
- package/dist/components/TabbedContent/index.js +5 -0
- package/dist/components/TextArea/TextArea.d.ts +2 -0
- package/dist/components/TextArea/TextArea.js +49 -0
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/TextArea/index.js +5 -0
- package/dist/components/UpcomingList/UpcomingList.d.ts +5 -0
- package/dist/components/UpcomingList/UpcomingList.js +61 -0
- package/dist/components/UpcomingList/index.d.ts +1 -0
- package/dist/components/UpcomingList/index.js +5 -0
- package/dist/containers/GetFeatruedListContainer.d.ts +17 -0
- package/dist/containers/GetFeatruedListContainer.js +50 -0
- package/dist/containers/NowPlayingContainer.d.ts +16 -0
- package/dist/containers/NowPlayingContainer.js +87 -0
- package/dist/data-resources/FakeDataResource.d.ts +95 -0
- package/dist/data-resources/FakeDataResource.js +692 -0
- package/dist/error-boundries/BlankErrorBoundry.d.ts +15 -0
- package/dist/error-boundries/BlankErrorBoundry.js +25 -0
- package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -0
- package/dist/error-boundries/GeneralErrorBoundry.js +27 -0
- package/dist/facebook-osmzgL7R.mjs +54 -0
- package/dist/format-DF9p-6BI.mjs +1221 -0
- package/dist/hooks/useAddScriptTags.d.ts +2 -0
- package/dist/hooks/useAddScriptTags.js +8 -0
- package/dist/hooks/useGetSchedule.d.ts +14 -0
- package/dist/hooks/useGetSchedule.js +58 -0
- package/dist/hooks/useGetUpcoming.d.ts +7 -0
- package/dist/hooks/useGetUpcoming.js +28 -0
- package/dist/hooks/useOptinMonsterReset.d.ts +4 -0
- package/dist/hooks/useOptinMonsterReset.js +41 -0
- package/dist/hooks/useSourcepointPrivacyTrigger.d.ts +4 -0
- package/dist/hooks/useSourcepointPrivacyTrigger.js +23 -0
- package/dist/icons/Facebook.d.ts +3 -0
- package/dist/icons/Facebook.js +33 -0
- package/dist/icons/Tiktok.d.ts +3 -0
- package/dist/icons/Tiktok.js +35 -0
- package/dist/icons/Twitter.d.ts +3 -0
- package/dist/icons/Twitter.js +35 -0
- package/dist/index-0wieGV50.mjs +133 -0
- package/dist/index-CZzwT3Oj.mjs +662 -0
- package/dist/index-DB0QlRo7.mjs +1827 -0
- package/dist/index-YbL9dKxh.mjs +19068 -0
- package/dist/index.d.ts +78 -0
- package/dist/index.js +158 -0
- package/dist/secl-ui.d.ts +2 -0
- package/dist/settings.d.ts +3 -0
- package/dist/settings.js +30 -0
- package/dist/sub-DTz41m8W.mjs +17 -0
- package/dist/subMonths-YdVF7zsL.mjs +11 -0
- package/dist/triangle-D0AHL9lB.mjs +54 -0
- package/dist/utils/Redirect.d.ts +4 -0
- package/dist/utils/Redirect.js +9 -0
- package/dist/utils/analytics.d.ts +1 -0
- package/dist/utils/analytics.js +458 -0
- package/dist/utils/createSocialShareLinks.d.ts +7 -0
- package/dist/utils/createSocialShareLinks.js +65 -0
- package/dist/utils/date-helpers.d.ts +31 -0
- package/dist/utils/date-helpers.js +49 -0
- package/dist/utils/events.d.ts +3 -0
- package/dist/utils/events.js +15 -0
- package/dist/utils/getCarouselOptions.d.ts +1 -0
- package/dist/utils/getCarouselOptions.js +64 -0
- package/dist/utils/getFeaturedList.d.ts +22 -0
- package/dist/utils/getFeaturedList.js +66 -0
- package/dist/utils/getFeaturedListImages.d.ts +5 -0
- package/dist/utils/getFeaturedListImages.js +36 -0
- package/dist/utils/getOnNowProgram.d.ts +12 -0
- package/dist/utils/getOnNowProgram.js +116 -0
- package/dist/utils/getSchedule.d.ts +7 -0
- package/dist/utils/getSchedule.js +31 -0
- package/dist/utils/getUpcomingPrograms.d.ts +18 -0
- package/dist/utils/getUpcomingPrograms.js +30 -0
- package/dist/utils/getViewingPlatforms.d.ts +16 -0
- package/dist/utils/getViewingPlatforms.js +34 -0
- package/dist/utils/gtm.d.ts +4 -0
- package/dist/utils/gtm.js +17 -0
- package/dist/utils/helpers.d.ts +116 -0
- package/dist/utils/helpers.js +117 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -0
- package/dist/utils/optinMonsterReset.d.ts +4 -0
- package/dist/utils/optinMonsterReset.js +18 -0
- package/dist/utils/optinMonsterScript.d.ts +4 -0
- package/dist/utils/optinMonsterScript.js +20 -0
- package/dist/utils/program-helpers.d.ts +50 -0
- package/dist/utils/program-helpers.js +33 -0
- package/dist/utils/schedule-helpers.d.ts +1 -0
- package/dist/utils/schedule-helpers.js +7 -0
- package/dist/utils/series-helpers.d.ts +50 -0
- package/dist/utils/series-helpers.js +33 -0
- package/dist/utils/wpPlatformsTransformer.d.ts +1 -0
- package/dist/utils/wpPlatformsTransformer.js +28 -0
- package/dist/vite-env.d.js +1 -0
- package/dist/vite.svg +1 -0
- package/dist/x-D8_C2o-U.mjs +62 -0
- package/package.json +131 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { jsx as a, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { classes as i } from "../../utils/helpers.js";
|
|
4
|
+
import { s as $ } from "../../sub-DTz41m8W.mjs";
|
|
5
|
+
import { f as m } from "../../format-DF9p-6BI.mjs";
|
|
6
|
+
import { a as u } from "../../add-DH4DZT_w.mjs";
|
|
7
|
+
import '../../assets/AirDateFormatter.css';const d = {
|
|
8
|
+
"airdate-formatter__pipe": "_airdate-formatter__pipe_1ox2d_1",
|
|
9
|
+
"airdate-formatter__date": "_airdate-formatter__date_1ox2d_8",
|
|
10
|
+
"airdate-formatter__time-wrap": "_airdate-formatter__time-wrap_1ox2d_13"
|
|
11
|
+
};
|
|
12
|
+
function b({ airdateStr: f = null, separatorType: p = "none" }) {
|
|
13
|
+
if (f === null) return /* @__PURE__ */ a("airdate-formatter", { class: "no-airdate", children: " " });
|
|
14
|
+
const e = new Date(f.replace(" ", "T")), h = $(e, { hours: 1 }), o = e.getMinutes() === 0 ? "" : m(e, ":mm"), s = `${m(e, "h")}${o}${Number.parseInt(m(e, "H"), 10) < 12 ? "a" : ""}`, l = `${m(h, "h")}${o}`;
|
|
15
|
+
let r = `${m(e, "ccc")}`, n = "";
|
|
16
|
+
const c = new Date((/* @__PURE__ */ new Date()).toLocaleString("en-US", { timeZone: "America/New_York" })), _ = u(c, { days: 1 });
|
|
17
|
+
switch (`${c.getFullYear()}${c.getMonth()}${c.getDate()}` == `${e.getFullYear()}${e.getMonth()}${e.getDate()}` ? r = "Today" : `${_.getFullYear()}${_.getMonth()}${_.getDate()}` == `${e.getFullYear()}${e.getMonth()}${e.getDate()}` ? r = "Tomorrow" : n = `${m(e, "LLL d")}`, p) {
|
|
18
|
+
case "pipe":
|
|
19
|
+
return /* @__PURE__ */ t("airdate-formatter", { children: [
|
|
20
|
+
/* @__PURE__ */ a("span", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: r === "Today" || r === "Tomorrow" ? r : `${r}, ${n}` }),
|
|
21
|
+
/* @__PURE__ */ a("span", { className: i([d["airdate-formatter__pipe"], "airdate-formatter__pipe"]), children: " | " }),
|
|
22
|
+
/* @__PURE__ */ t("span", { className: "airdate-formatter__time-wrap", children: [
|
|
23
|
+
/* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: s }),
|
|
24
|
+
"/",
|
|
25
|
+
o !== "" ? /* @__PURE__ */ a("br", {}) : null,
|
|
26
|
+
/* @__PURE__ */ t("span", { className: "airdate-formatter__central-time", children: [
|
|
27
|
+
l,
|
|
28
|
+
/* @__PURE__ */ a("span", { children: "c" })
|
|
29
|
+
] })
|
|
30
|
+
] })
|
|
31
|
+
] });
|
|
32
|
+
case "line-break":
|
|
33
|
+
return /* @__PURE__ */ t("airdate-formatter", { children: [
|
|
34
|
+
/* @__PURE__ */ a("div", { className: i([d["airdate-formatter__day"], "airdate-formatter__day"]), children: r }),
|
|
35
|
+
/* @__PURE__ */ a("div", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: n }),
|
|
36
|
+
/* @__PURE__ */ t("div", { className: i([d["airdate-formatter__time-wrap"], "airdate-formatter__time-wrap"]), children: [
|
|
37
|
+
/* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: s }),
|
|
38
|
+
"/",
|
|
39
|
+
o !== "" ? /* @__PURE__ */ a("br", {}) : null,
|
|
40
|
+
/* @__PURE__ */ t("span", { className: "airdate-formatter__central-time", children: [
|
|
41
|
+
l,
|
|
42
|
+
/* @__PURE__ */ a("span", { children: "c" })
|
|
43
|
+
] })
|
|
44
|
+
] })
|
|
45
|
+
] });
|
|
46
|
+
case "single-line-break":
|
|
47
|
+
return /* @__PURE__ */ t("airdate-formatter", { children: [
|
|
48
|
+
/* @__PURE__ */ t("div", { className: i([d["airdate-formatter__day"], "airdate-formatter__day"]), children: [
|
|
49
|
+
r,
|
|
50
|
+
" ",
|
|
51
|
+
/* @__PURE__ */ a("span", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: n })
|
|
52
|
+
] }),
|
|
53
|
+
/* @__PURE__ */ t("div", { className: i([d["airdate-formatter__time-wrap"], "airdate-formatter__time-wrap"]), children: [
|
|
54
|
+
/* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: s }),
|
|
55
|
+
"/",
|
|
56
|
+
o !== "" ? /* @__PURE__ */ a("br", {}) : null,
|
|
57
|
+
/* @__PURE__ */ t("span", { className: "airdate-formatter__central-time", children: [
|
|
58
|
+
l,
|
|
59
|
+
/* @__PURE__ */ a("span", { children: "c" })
|
|
60
|
+
] })
|
|
61
|
+
] })
|
|
62
|
+
] });
|
|
63
|
+
case "none":
|
|
64
|
+
default:
|
|
65
|
+
return /* @__PURE__ */ t("airdate-formatter", { children: [
|
|
66
|
+
/* @__PURE__ */ a("span", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: r === "Today" || r === "Tomorrow" ? r : `${r}, ${n}` }),
|
|
67
|
+
" ",
|
|
68
|
+
/* @__PURE__ */ t("span", { className: i([d["airdate-formatter__time-wrap"], "airdate-formatter__time-wrap"]), children: [
|
|
69
|
+
/* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: s }),
|
|
70
|
+
"/",
|
|
71
|
+
/* @__PURE__ */ t("span", { className: "airdate-formatter__central-time", children: [
|
|
72
|
+
l,
|
|
73
|
+
/* @__PURE__ */ a("span", { children: "c" })
|
|
74
|
+
] })
|
|
75
|
+
] })
|
|
76
|
+
] });
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
b as AirDateFormatter,
|
|
81
|
+
b as default
|
|
82
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AirDateFormatter, AirDateFormatter as default } from './AirDateFormatter';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function AnchorTag({ href, classname, label, type, image, clickHandler }: {
|
|
2
|
+
href?: string | undefined;
|
|
3
|
+
classname?: string | undefined;
|
|
4
|
+
label?: string | undefined;
|
|
5
|
+
type?: string | undefined;
|
|
6
|
+
image?: null | undefined;
|
|
7
|
+
clickHandler?: null | undefined;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default AnchorTag;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import '../../assets/AnchorTag.css';const o = {
|
|
4
|
+
"anchor-tag--image": "_anchor-tag--image_1nb7n_1"
|
|
5
|
+
};
|
|
6
|
+
function g({
|
|
7
|
+
href: l = "",
|
|
8
|
+
classname: t = "",
|
|
9
|
+
label: i = "",
|
|
10
|
+
type: n = "internal-link",
|
|
11
|
+
image: r = null,
|
|
12
|
+
clickHandler: a = null
|
|
13
|
+
}) {
|
|
14
|
+
return r !== null ? /* @__PURE__ */ s(
|
|
15
|
+
"a",
|
|
16
|
+
{
|
|
17
|
+
href: l,
|
|
18
|
+
className: [t, o["anchor-tag--image"], "anchor-tag--image"].join(" "),
|
|
19
|
+
rel: n === "external-link" ? "noreferrer" : null,
|
|
20
|
+
target: n === "internal-link" ? "_self" : "_blank",
|
|
21
|
+
style: {
|
|
22
|
+
"--anchor-tag-image-ratio": r.width / r.height
|
|
23
|
+
},
|
|
24
|
+
onClick: a && n === "internal-link" && l.includes("#") ? a : null,
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ e("img", { src: r.url, alt: i }),
|
|
27
|
+
/* @__PURE__ */ e("span", { className: "sr-only", children: i })
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
) : /* @__PURE__ */ e(
|
|
31
|
+
"a",
|
|
32
|
+
{
|
|
33
|
+
href: l,
|
|
34
|
+
className: t,
|
|
35
|
+
rel: n === "external-link" ? "noreferrer" : null,
|
|
36
|
+
target: n === "internal-link" ? "_self" : "_blank",
|
|
37
|
+
onClick: a && n === "internal-link" && l.includes("#") ? a : null,
|
|
38
|
+
children: i
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
g as AnchorTag,
|
|
44
|
+
g as default
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AnchorTag, AnchorTag as default } from './AnchorTag';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function BCVideoPlayer({ bcId, playerElId, containerClosing, autoplay, mute, handleClosing, pauseVideo, BC_AID, BC_PLAYERID, BC_EMBEDID }: {
|
|
2
|
+
bcId: any;
|
|
3
|
+
playerElId?: string | undefined;
|
|
4
|
+
containerClosing?: boolean | undefined;
|
|
5
|
+
autoplay?: boolean | undefined;
|
|
6
|
+
mute?: boolean | undefined;
|
|
7
|
+
handleClosing?: (() => boolean) | undefined;
|
|
8
|
+
pauseVideo?: boolean | undefined;
|
|
9
|
+
BC_AID?: string | undefined;
|
|
10
|
+
BC_PLAYERID?: string | undefined;
|
|
11
|
+
BC_EMBEDID?: string | undefined;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
export default BCVideoPlayer;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as l, useCallback as H, useEffect as a } from "react";
|
|
3
|
+
import '../../assets/BCVideoPlayer.css';function z({
|
|
4
|
+
bcId: t,
|
|
5
|
+
playerElId: n = "bc-player",
|
|
6
|
+
containerClosing: i = !1,
|
|
7
|
+
autoplay: c = !1,
|
|
8
|
+
mute: u = !1,
|
|
9
|
+
handleClosing: h = () => !0,
|
|
10
|
+
pauseVideo: d = !1,
|
|
11
|
+
BC_AID: p = "",
|
|
12
|
+
BC_PLAYERID: f = "",
|
|
13
|
+
BC_EMBEDID: y = ""
|
|
14
|
+
}) {
|
|
15
|
+
const r = l(null), s = l(null), m = l(t), P = (e) => {
|
|
16
|
+
e.key === "Escape" && (e.preventDefault(), h(e));
|
|
17
|
+
}, K = (e) => {
|
|
18
|
+
e.key === "Escape" && (e.stopPropagation(), e.preventDefault());
|
|
19
|
+
}, v = H(() => {
|
|
20
|
+
c && r.current.play(), u && r.current.muted(!0);
|
|
21
|
+
}, [c, u]);
|
|
22
|
+
return a(() => {
|
|
23
|
+
const e = () => {
|
|
24
|
+
const w = p, $ = f, x = `<video-js id="${n}" data-video-id="${t}" data-account="${w}" data-player="${$}" data-embed="${y}" controls></video-js>`;
|
|
25
|
+
s.current.innerHTML = x, r.current !== null && r.current.dispose();
|
|
26
|
+
const j = document.getElementById("video-js-script");
|
|
27
|
+
j && j.remove();
|
|
28
|
+
const o = document.createElement("script");
|
|
29
|
+
o.src = `https://players.brightcove.net/${w}/${$}_default/index.min.js`, o.id = "video-js-script", document.body.appendChild(o), o.onload = () => {
|
|
30
|
+
r.current = window.bc(n), r.current.on("loadedmetadata", v), document.querySelector(`#${n}`).focus();
|
|
31
|
+
};
|
|
32
|
+
}, k = setInterval(() => {
|
|
33
|
+
s.current !== null && (clearInterval(k), e());
|
|
34
|
+
}, 100);
|
|
35
|
+
}, [t, n, v, p, f, y]), a(() => {
|
|
36
|
+
i && r.current !== null && r.current.pause();
|
|
37
|
+
}, [i]), a(() => {
|
|
38
|
+
m.current !== t && (m.current = t);
|
|
39
|
+
}, [t]), a(() => {
|
|
40
|
+
var e;
|
|
41
|
+
d && ((e = r.current) == null || e.pause());
|
|
42
|
+
}, [d]), t != null && t !== "" ? /* @__PURE__ */ g(
|
|
43
|
+
"div",
|
|
44
|
+
{
|
|
45
|
+
id: "video-player-wrapper",
|
|
46
|
+
className: "video-player__wrapper",
|
|
47
|
+
onKeyDown: K,
|
|
48
|
+
onKeyUp: P,
|
|
49
|
+
ref: s
|
|
50
|
+
},
|
|
51
|
+
t
|
|
52
|
+
) : null;
|
|
53
|
+
}
|
|
54
|
+
export {
|
|
55
|
+
z as BCVideoPlayer,
|
|
56
|
+
z as default
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BCVideoPlayer, BCVideoPlayer as default } from './BCVideoPlayer';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export function BasicGridModule({ children, gap, itemsPerRow, classname, title, infoPanel, itemComponent, infoPanelComponent, items, customClicksHandler, noAnimation, }: {
|
|
2
|
+
children: any;
|
|
3
|
+
gap?: string | undefined;
|
|
4
|
+
itemsPerRow?: number | undefined;
|
|
5
|
+
classname?: string | undefined;
|
|
6
|
+
title?: string | undefined;
|
|
7
|
+
infoPanel: any;
|
|
8
|
+
itemComponent?: {
|
|
9
|
+
layout: string;
|
|
10
|
+
props: {
|
|
11
|
+
fullCardClickable: boolean;
|
|
12
|
+
};
|
|
13
|
+
} | undefined;
|
|
14
|
+
infoPanelComponent?: {
|
|
15
|
+
layout: string;
|
|
16
|
+
backButtonLabel: string;
|
|
17
|
+
resourceList: never[];
|
|
18
|
+
classname: string;
|
|
19
|
+
} | undefined;
|
|
20
|
+
items?: never[] | undefined;
|
|
21
|
+
customClicksHandler?: null | undefined;
|
|
22
|
+
noAnimation?: boolean | undefined;
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export default BasicGridModule;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { jsxs as g, Fragment as P, jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { useState as a, useRef as p, useCallback as S, useEffect as y, createElement as j } from "react";
|
|
3
|
+
import { EqualSizeGrid as F } from "../EqualSizeGrid/EqualSizeGrid.js";
|
|
4
|
+
import { InfoPanel as G } from "../InfoPanel/InfoPanel.js";
|
|
5
|
+
import { classes as _ } from "../../utils/helpers.js";
|
|
6
|
+
import { blockLayoutsMap as q } from "../../settings.js";
|
|
7
|
+
import '../../assets/BasicGridModule.css';function T({
|
|
8
|
+
children: z,
|
|
9
|
+
gap: b = "1.5rem",
|
|
10
|
+
itemsPerRow: k = 4,
|
|
11
|
+
classname: L = "",
|
|
12
|
+
title: d = "",
|
|
13
|
+
infoPanel: A,
|
|
14
|
+
itemComponent: o = {
|
|
15
|
+
layout: "ImageCard",
|
|
16
|
+
props: {
|
|
17
|
+
fullCardClickable: !1
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
infoPanelComponent: n = {
|
|
21
|
+
layout: "",
|
|
22
|
+
backButtonLabel: "Return to List",
|
|
23
|
+
resourceList: [],
|
|
24
|
+
classname: ""
|
|
25
|
+
},
|
|
26
|
+
items: E = [],
|
|
27
|
+
customClicksHandler: I = null,
|
|
28
|
+
noAnimation: x = !1
|
|
29
|
+
}) {
|
|
30
|
+
const [r, f] = a(!1), [C, R] = a({}), [m, B] = a(null), [v, c] = a("entering"), [M, N] = a(x ? null : !0), l = p("entering"), e = p(null), i = S(() => {
|
|
31
|
+
e.current.children[0].addEventListener("animationstart", () => {
|
|
32
|
+
console.log("animation started"), e.current.children[0].addEventListener("animationend", i, { once: !0 });
|
|
33
|
+
}), console.log("stateRef.current", l.current), console.log("infoPanelOpen", r), l.current === "exiting" ? (c("entering"), l.current = "entering", f(!0)) : c("idle");
|
|
34
|
+
}, []), O = (t) => {
|
|
35
|
+
t.type === "info-panel" && (R(n.resourceList.find((s) => Number.parseInt(s.id, 10) === Number.parseInt(t.resourceId, 10))), N(!1), l.current = "exiting", c("exiting"));
|
|
36
|
+
};
|
|
37
|
+
return y(() => {
|
|
38
|
+
B(q.get(o.layout));
|
|
39
|
+
}, [o.layout]), y(() => {
|
|
40
|
+
var t, s, h;
|
|
41
|
+
!r && e.current !== null && ((t = e.current) != null && t.children, e.current.children.length && ((s = e.current.children[0]) == null || s.removeEventListener("animationend", i, { once: !0 }), (h = e.current.children[0]) == null || h.addEventListener("animationend", i, { once: !0 })));
|
|
42
|
+
}, [r, i]), /* @__PURE__ */ g(P, { children: [
|
|
43
|
+
!r && /* @__PURE__ */ g("basic-grid-module", { "data-state": v, "first-entry": M, ref: e, children: [
|
|
44
|
+
d !== "" && /* @__PURE__ */ u("h2", { className: _(["basic-grid-module__header", "h4"]), children: d }),
|
|
45
|
+
m !== null && /* @__PURE__ */ u(
|
|
46
|
+
F,
|
|
47
|
+
{
|
|
48
|
+
gap: b,
|
|
49
|
+
itemsPerRow: k,
|
|
50
|
+
classname: L,
|
|
51
|
+
children: E.map(
|
|
52
|
+
(t) => /* @__PURE__ */ j(
|
|
53
|
+
m,
|
|
54
|
+
{
|
|
55
|
+
...t,
|
|
56
|
+
...o.props,
|
|
57
|
+
relatedResourceId: t.id,
|
|
58
|
+
handleClicks: I ?? O,
|
|
59
|
+
key: `grid-item-${Math.round(Math.random() * 1e7)}`
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
)
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
] }),
|
|
66
|
+
r && n.layout && /* @__PURE__ */ u(
|
|
67
|
+
G,
|
|
68
|
+
{
|
|
69
|
+
className: "grid-info-panel",
|
|
70
|
+
onBackClicked: () => {
|
|
71
|
+
f(!1);
|
|
72
|
+
},
|
|
73
|
+
backButtonLabel: n.backButtonLabel,
|
|
74
|
+
layoutComponent: {
|
|
75
|
+
layout: n.layout,
|
|
76
|
+
props: {
|
|
77
|
+
...C
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
classname: n.classname
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
] });
|
|
84
|
+
}
|
|
85
|
+
export {
|
|
86
|
+
T as BasicGridModule,
|
|
87
|
+
T as default
|
|
88
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BasicGridModule, BasicGridModule as default } from './BasicGridModule';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function Button({ type, label, href, varient, size, classname, customColors, onClick, ...attributes }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
type?: string | undefined;
|
|
4
|
+
label?: string | undefined;
|
|
5
|
+
href?: string | undefined;
|
|
6
|
+
varient?: string | undefined;
|
|
7
|
+
size?: string | undefined;
|
|
8
|
+
classname?: string | undefined;
|
|
9
|
+
customColors?: {
|
|
10
|
+
bgColor: string;
|
|
11
|
+
bgHoverColor: string;
|
|
12
|
+
color: string;
|
|
13
|
+
hoverColor: string;
|
|
14
|
+
borderColor: string;
|
|
15
|
+
borderHoverColor: string;
|
|
16
|
+
} | undefined;
|
|
17
|
+
onClick?: (() => void) | undefined;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default Button;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { jsx as t, Fragment as p } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { classes as i } from "../../utils/helpers.js";
|
|
4
|
+
import '../../assets/Button.css';const H = "_btn_14dnz_1", o = {
|
|
5
|
+
btn: H,
|
|
6
|
+
"btn--small": "_btn--small_14dnz_26",
|
|
7
|
+
"btn--large": "_btn--large_14dnz_33",
|
|
8
|
+
"btn--primary": "_btn--primary_14dnz_40",
|
|
9
|
+
"btn--action": "_btn--action_14dnz_49",
|
|
10
|
+
"btn--info": "_btn--info_14dnz_58",
|
|
11
|
+
"btn--danger": "_btn--danger_14dnz_67"
|
|
12
|
+
};
|
|
13
|
+
function z({
|
|
14
|
+
type: h = "button",
|
|
15
|
+
label: e = "",
|
|
16
|
+
href: l = "",
|
|
17
|
+
varient: n = "primary",
|
|
18
|
+
size: b = "",
|
|
19
|
+
classname: d = "",
|
|
20
|
+
customColors: r = {
|
|
21
|
+
bgColor: "",
|
|
22
|
+
bgHoverColor: "",
|
|
23
|
+
color: "",
|
|
24
|
+
hoverColor: "",
|
|
25
|
+
borderColor: "",
|
|
26
|
+
borderHoverColor: ""
|
|
27
|
+
},
|
|
28
|
+
onClick: c = () => {
|
|
29
|
+
},
|
|
30
|
+
..._
|
|
31
|
+
}) {
|
|
32
|
+
const a = n === "" ? "" : `btn--${n}`, g = b === "" ? "" : `btn--${b}`, v = r.bgColor !== "" ? {
|
|
33
|
+
"--button-bg-color": r.bgColor,
|
|
34
|
+
"--button-hover-bg-color": r.bgHoverColor === "" ? r.bgColor : r.bgHoverColor,
|
|
35
|
+
"--button-color": r.color,
|
|
36
|
+
"--button-hover-color": r.hoverColor === "" ? r.color : r.hoverColor,
|
|
37
|
+
"--button-border-color": r.borderColor === "" ? r.bgColor : r.borderColor,
|
|
38
|
+
"--button-hover-border-color": r.borderHoverColor === "" && r.borderColor === "" ? r.bgColor : r.borderHoverColor
|
|
39
|
+
} : null;
|
|
40
|
+
return /* @__PURE__ */ t(p, { children: l === "" ? /* @__PURE__ */ t(
|
|
41
|
+
"button",
|
|
42
|
+
{
|
|
43
|
+
type: h,
|
|
44
|
+
onClick: c,
|
|
45
|
+
className: i([
|
|
46
|
+
d,
|
|
47
|
+
o.btn,
|
|
48
|
+
"btn",
|
|
49
|
+
n === "" ? "" : o[a],
|
|
50
|
+
b === "" ? "" : o[g]
|
|
51
|
+
]),
|
|
52
|
+
style: v,
|
|
53
|
+
..._,
|
|
54
|
+
children: e
|
|
55
|
+
}
|
|
56
|
+
) : /* @__PURE__ */ t(
|
|
57
|
+
"a",
|
|
58
|
+
{
|
|
59
|
+
href: l,
|
|
60
|
+
className: i([
|
|
61
|
+
d,
|
|
62
|
+
o.btn,
|
|
63
|
+
"btn",
|
|
64
|
+
n === "" ? "" : o[a],
|
|
65
|
+
b === "" ? "" : o[g]
|
|
66
|
+
]),
|
|
67
|
+
style: v,
|
|
68
|
+
..._,
|
|
69
|
+
children: e
|
|
70
|
+
}
|
|
71
|
+
) });
|
|
72
|
+
}
|
|
73
|
+
export {
|
|
74
|
+
z as Button,
|
|
75
|
+
z as default
|
|
76
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Button, Button as default } from './Button';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
function a({ label: t = "", onClick: o = () => {
|
|
4
|
+
}, classname: n = "" }) {
|
|
5
|
+
return /* @__PURE__ */ r(
|
|
6
|
+
"button",
|
|
7
|
+
{
|
|
8
|
+
className: n,
|
|
9
|
+
type: "button",
|
|
10
|
+
onClick: o,
|
|
11
|
+
children: t
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
a as ButtonAnchor,
|
|
17
|
+
a as default
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ButtonAnchor, ButtonAnchor as default } from './ButtonAnchor';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export function Carousel({ id, slides, options }: {
|
|
2
|
+
id: any;
|
|
3
|
+
slides: any;
|
|
4
|
+
options?: {
|
|
5
|
+
paginationType: string;
|
|
6
|
+
showControls: boolean;
|
|
7
|
+
controlArrowSize: number;
|
|
8
|
+
controlButtonsOffset: number;
|
|
9
|
+
showScrollbar: boolean;
|
|
10
|
+
startIndex: number;
|
|
11
|
+
variableHeight: boolean;
|
|
12
|
+
title: string;
|
|
13
|
+
autoplay: boolean;
|
|
14
|
+
autoplayDelay: number;
|
|
15
|
+
showPagination: boolean;
|
|
16
|
+
gutterSize: number;
|
|
17
|
+
slideAspectRatio: string;
|
|
18
|
+
slideGap: number;
|
|
19
|
+
cellsPerSlide: number;
|
|
20
|
+
cellAspectRatio: string;
|
|
21
|
+
cellsPosition: string;
|
|
22
|
+
wrapAround: boolean;
|
|
23
|
+
} | undefined;
|
|
24
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export default Carousel;
|