@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,113 @@
|
|
|
1
|
+
import { jsxs as h, jsx as a, Fragment as S } from "react/jsx-runtime";
|
|
2
|
+
import { useState as R, useEffect as x } from "react";
|
|
3
|
+
import { PromotionsRowBlock as I } from "../PromotionsRowBlock/PromotionsRowBlock.js";
|
|
4
|
+
import { ImageCard as b } from "../ImageCard/ImageCard.js";
|
|
5
|
+
import { Carousel as B } from "../Carousel/Carousel.js";
|
|
6
|
+
import { CtaBlock as v } from "../CtaBlock/CtaBlock.js";
|
|
7
|
+
import { classes as G } from "../../utils/helpers.js";
|
|
8
|
+
import '../../assets/PromotionsRowModule.css';const P = {
|
|
9
|
+
paginationType: "dots",
|
|
10
|
+
showControls: !0,
|
|
11
|
+
controlButtonsOffset: -4,
|
|
12
|
+
controlArrowSize: 48,
|
|
13
|
+
showScrollbar: !1,
|
|
14
|
+
startIndex: 0,
|
|
15
|
+
variableHeight: !0,
|
|
16
|
+
title: "",
|
|
17
|
+
autoplay: !1,
|
|
18
|
+
autoplayDelay: 3500,
|
|
19
|
+
showPagination: !1,
|
|
20
|
+
gutterSize: 0,
|
|
21
|
+
slideAspectRatio: "4/2",
|
|
22
|
+
slideGap: 1.5,
|
|
23
|
+
cellsPerSlide: 4,
|
|
24
|
+
cellAspectRatio: "unset",
|
|
25
|
+
cellsPosition: "flex-start",
|
|
26
|
+
wrapAround: !1
|
|
27
|
+
};
|
|
28
|
+
function T({ title: d = "", promos: n = [], handleClicks: o = null }) {
|
|
29
|
+
const [u, w] = R([]), y = (t) => {
|
|
30
|
+
console.log("event details:", t);
|
|
31
|
+
};
|
|
32
|
+
if (x(() => {
|
|
33
|
+
const t = async (r) => {
|
|
34
|
+
const c = await r.map((e) => {
|
|
35
|
+
var l, i, s;
|
|
36
|
+
return {
|
|
37
|
+
title: "",
|
|
38
|
+
layout: "ImageCard",
|
|
39
|
+
props: {
|
|
40
|
+
image: {
|
|
41
|
+
url: e.image.url,
|
|
42
|
+
altText: e.image.altText,
|
|
43
|
+
aspectRatio: e.image.aspectRatio
|
|
44
|
+
},
|
|
45
|
+
title: e.title,
|
|
46
|
+
content: e.content,
|
|
47
|
+
handleClicks: o ?? y,
|
|
48
|
+
relatedResourceId: e.id,
|
|
49
|
+
overlayContent: e != null && e.overlayContent ? /* @__PURE__ */ a(
|
|
50
|
+
v,
|
|
51
|
+
{
|
|
52
|
+
title: (l = e.overlayContent) == null ? void 0 : l.title,
|
|
53
|
+
content: (i = e.overlayContent) == null ? void 0 : i.content,
|
|
54
|
+
cta: (s = e.overlayContent) == null ? void 0 : s.cta
|
|
55
|
+
}
|
|
56
|
+
) : "",
|
|
57
|
+
cta: e.cta
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
});
|
|
61
|
+
w(c);
|
|
62
|
+
};
|
|
63
|
+
n.length > 4 && t(n);
|
|
64
|
+
}, [n, o]), n.length <= 4)
|
|
65
|
+
return /* @__PURE__ */ h("section", { className: "promotions-row", children: [
|
|
66
|
+
/* @__PURE__ */ a("h2", { className: G(["h2", "promotions-row__header"]), children: d }),
|
|
67
|
+
/* @__PURE__ */ a(I, { gap: "2rem", children: n.map((t) => {
|
|
68
|
+
var r, c, e, l, i, s, C, f, g;
|
|
69
|
+
return /* @__PURE__ */ a(
|
|
70
|
+
b,
|
|
71
|
+
{
|
|
72
|
+
classname: t == null ? void 0 : t.classname,
|
|
73
|
+
image: t.image,
|
|
74
|
+
title: t.title,
|
|
75
|
+
content: t.content,
|
|
76
|
+
cta: t.cta,
|
|
77
|
+
handleClicks: ((r = t == null ? void 0 : t.cta) == null ? void 0 : r.type) === "play-video" ? o ?? y : () => !0,
|
|
78
|
+
relatedResourceId: t.id,
|
|
79
|
+
overlayContent: t.overlayContent ? /* @__PURE__ */ a(
|
|
80
|
+
v,
|
|
81
|
+
{
|
|
82
|
+
title: (c = t.overlayContent) == null ? void 0 : c.title,
|
|
83
|
+
content: (e = t.overlayContent) == null ? void 0 : e.content,
|
|
84
|
+
cta: (l = t.overlayContent) == null ? void 0 : l.cta,
|
|
85
|
+
titleImageUrl: (i = t.overlayContent) == null ? void 0 : i.titleImageUrl,
|
|
86
|
+
btnGradientStartColor: (s = t.overlayContent) == null ? void 0 : s.btnGradientStartColor,
|
|
87
|
+
btnGradientEndColor: (C = t.overlayContent) == null ? void 0 : C.btnGradientEndColor,
|
|
88
|
+
ctaButtonStyle: (f = t.overlayContent) == null ? void 0 : f.ctaButtonStyle,
|
|
89
|
+
type: (g = t.overlayConent) == null ? void 0 : g.type
|
|
90
|
+
}
|
|
91
|
+
) : ""
|
|
92
|
+
},
|
|
93
|
+
`promo-image-card-${Math.round(Math.random() * 1e7)}`
|
|
94
|
+
);
|
|
95
|
+
}) })
|
|
96
|
+
] });
|
|
97
|
+
if (n.length > 4 && u.length) return /* @__PURE__ */ h(S, { children: [
|
|
98
|
+
/* @__PURE__ */ a("h1", { className: ["h3", "promotions-row__header"].join(" "), children: d }),
|
|
99
|
+
/* @__PURE__ */ a(
|
|
100
|
+
B,
|
|
101
|
+
{
|
|
102
|
+
title: !0,
|
|
103
|
+
slides: u,
|
|
104
|
+
options: P,
|
|
105
|
+
id: "promotions-row"
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
] });
|
|
109
|
+
}
|
|
110
|
+
export {
|
|
111
|
+
T as PromotionsRowModule,
|
|
112
|
+
T as default
|
|
113
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PromotionsRowModule, PromotionsRowModule as default } from './PromotionsRowModule';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as e, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { InstructionsList as t } from "../InstructionsList/InstructionsList.js";
|
|
4
|
+
import '../../assets/RescanInstructions.css';const s = "_rescan__header_ndzy9_5", o = {
|
|
5
|
+
"rescan-instructions": "_rescan-instructions_ndzy9_1",
|
|
6
|
+
rescan__header: s
|
|
7
|
+
};
|
|
8
|
+
function g({ brandName: r = "" }) {
|
|
9
|
+
return /* @__PURE__ */ e("section", { className: [o["rescan-instructions"], "rescan-instructions"].join(" "), children: [
|
|
10
|
+
/* @__PURE__ */ n("h3", { className: [o.rescan__header, "rescan__header"].join(" "), children: "LEARN HOW TO RESCAN" }),
|
|
11
|
+
/* @__PURE__ */ n(t, { instructions: [
|
|
12
|
+
"Press the <strong>Menu</strong> button on your Converter Box, Digital TV, or remote.",
|
|
13
|
+
"Go to <strong>Setup</strong> or <strong>Settings</strong>.",
|
|
14
|
+
"Go to <strong>Installation</strong>, or <strong>System</strong>, or <strong>Channels</strong>.",
|
|
15
|
+
"Go to <strong>Scan Channels</strong>, or <strong>Program Channels</strong>, or <strong>Auto Scan</strong>, or <strong>Auto Program</strong>, or <strong>Auto-Tuning</strong>.",
|
|
16
|
+
"Press <strong>Select</strong>, or <strong>Enter</strong>, or <strong>OK</strong> to scan."
|
|
17
|
+
], headerHtml: `Watching ${r} with an antenna? You may need to rescan your TV.` }),
|
|
18
|
+
/* @__PURE__ */ n(t, { instructions: [
|
|
19
|
+
"Disconnect the antenna from the Digital TV or Converter Box.",
|
|
20
|
+
"Rescan without the antenna connected. As with any scan, follow the on-screen instructions or owner's manual for your device.",
|
|
21
|
+
"Unplug the Digital TV or Converter Box from the electrical outlet for one minute.",
|
|
22
|
+
"Reconnect the antenna to the Digital TV or Converter Box and plug the unit into the electrical outlet.",
|
|
23
|
+
"Rescan the Digital TV or Converter Box one more time."
|
|
24
|
+
], headerHtml: "Sometimes, a double rescan is needed to clear the memory of your Digital TV or Converter Box:" })
|
|
25
|
+
] });
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
g as RescanInstructions,
|
|
29
|
+
g as default
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RescanInstructions, RescanInstructions as default } from './RescanInstructions';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export function ResponsiveImage({ fullSizeUrl, sources, altText, classname, handleClick, loading, decoding, fetchpriority, }: {
|
|
2
|
+
fullSizeUrl: any;
|
|
3
|
+
sources?: {
|
|
4
|
+
srcsets: string[];
|
|
5
|
+
media: string;
|
|
6
|
+
}[] | undefined;
|
|
7
|
+
altText?: string | undefined;
|
|
8
|
+
classname?: string | undefined;
|
|
9
|
+
handleClick?: (() => boolean) | undefined;
|
|
10
|
+
loading?: string | undefined;
|
|
11
|
+
decoding?: string | undefined;
|
|
12
|
+
fetchpriority?: null | undefined;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default ResponsiveImage;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsxs as u, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
function f({
|
|
4
|
+
fullSizeUrl: r,
|
|
5
|
+
sources: a = [{ srcsets: [""], media: "" }],
|
|
6
|
+
altText: i = "",
|
|
7
|
+
classname: t = "",
|
|
8
|
+
handleClick: c = () => !0,
|
|
9
|
+
loading: m = "lazy",
|
|
10
|
+
// null/'eager', 'lazy'
|
|
11
|
+
decoding: n = "async",
|
|
12
|
+
// 'sync', 'async', 'auto'
|
|
13
|
+
fetchpriority: o = null
|
|
14
|
+
// null/'low', 'high'
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ u("picture", { className: t, children: [
|
|
17
|
+
a.map((s, l) => /* @__PURE__ */ e("source", { media: `(${s.media})`, srcSet: s.srcsets.join(", ") }, `source-${l}`)),
|
|
18
|
+
/* @__PURE__ */ e(
|
|
19
|
+
"img",
|
|
20
|
+
{
|
|
21
|
+
src: r,
|
|
22
|
+
alt: i,
|
|
23
|
+
onClick: c,
|
|
24
|
+
loading: m,
|
|
25
|
+
decoding: n,
|
|
26
|
+
fetchpriority: o
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
] });
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
f as ResponsiveImage,
|
|
33
|
+
f as default
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ResponsiveImage, ResponsiveImage as default } from './ResponsiveImage';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export function ResultsTable({ columns, results, noResultsMsg, compactLayout }: {
|
|
2
|
+
columns?: never[] | undefined;
|
|
3
|
+
results?: never[] | undefined;
|
|
4
|
+
noResultsMsg?: string | undefined;
|
|
5
|
+
compactLayout?: boolean | undefined;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default ResultsTable;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { ResultsTableBody as m } from "../ResultsTableBody/ResultsTableBody.js";
|
|
4
|
+
import { ResultsTableHeader as i } from "../ResultsTableHeader/ResultsTableHeader.js";
|
|
5
|
+
import { classes as p } from "../../utils/helpers.js";
|
|
6
|
+
import { s as e } from "../../ResultsTable.module-B7M9y7hd.mjs";
|
|
7
|
+
function x({
|
|
8
|
+
columns: s = [],
|
|
9
|
+
results: l = [],
|
|
10
|
+
noResultsMsg: a = "No results were returned",
|
|
11
|
+
compactLayout: r = !1
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ o("div", { className: p([
|
|
14
|
+
e["results-table"],
|
|
15
|
+
e["fade-in__wrapper"],
|
|
16
|
+
r ? e["results-table--compact"] : "",
|
|
17
|
+
r ? "results-table--compact" : ""
|
|
18
|
+
]), children: [
|
|
19
|
+
/* @__PURE__ */ t(i, { columns: s }),
|
|
20
|
+
/* @__PURE__ */ t(m, { columns: s, results: l, noResultsMsg: a })
|
|
21
|
+
] });
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
x as ResultsTable,
|
|
25
|
+
x as default
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ResultsTable, ResultsTable as default } from './ResultsTable';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export function ResultsTableBody({ results, columns, noResultsMsg }: {
|
|
2
|
+
results?: never[] | undefined;
|
|
3
|
+
columns?: never[] | undefined;
|
|
4
|
+
noResultsMsg?: string | undefined;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element | import("react/jsx-runtime").JSX.Element[];
|
|
6
|
+
export default ResultsTableBody;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsx as l, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { classes as t } from "../../utils/helpers.js";
|
|
4
|
+
import { s as e } from "../../ResultsTable.module-B7M9y7hd.mjs";
|
|
5
|
+
function c({ results: r = [], columns: u = [], noResultsMsg: b = "No results were returned" }) {
|
|
6
|
+
return r.length > 0 ? r.map((a, i) => /* @__PURE__ */ l(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: t([
|
|
10
|
+
e["results-table__row"],
|
|
11
|
+
"results-table__row"
|
|
12
|
+
]),
|
|
13
|
+
children: u.map((s) => /* @__PURE__ */ _(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: t([
|
|
17
|
+
e["results-table__item"],
|
|
18
|
+
`results-table__${s.title.replace(" ", "-").toLowerCase()}`,
|
|
19
|
+
"results-table__item"
|
|
20
|
+
]),
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ _("span", { className: t([
|
|
23
|
+
e["results-table__mobile-label"],
|
|
24
|
+
"results-table__mobile-label"
|
|
25
|
+
]), children: [
|
|
26
|
+
s.title,
|
|
27
|
+
":"
|
|
28
|
+
] }),
|
|
29
|
+
Object.keys(a).includes(s.resultKey) ? a[s.resultKey] : ""
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
`result-${i}-${s.title}`
|
|
33
|
+
))
|
|
34
|
+
},
|
|
35
|
+
`result-${i}`
|
|
36
|
+
)) : /* @__PURE__ */ l("div", { className: e["results-table__row"], children: /* @__PURE__ */ l(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
className: t([
|
|
40
|
+
e["results-table__item"],
|
|
41
|
+
e["results-table__no-results"],
|
|
42
|
+
"results-table__no-results"
|
|
43
|
+
]),
|
|
44
|
+
children: b
|
|
45
|
+
}
|
|
46
|
+
) });
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
c as ResultsTableBody,
|
|
50
|
+
c as default
|
|
51
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ResultsTableBody, ResultsTableBody as default } from './ResultsTableBody';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { s as r } from "../../ResultsTable.module-B7M9y7hd.mjs";
|
|
4
|
+
function o({ columns: s = [] }) {
|
|
5
|
+
return /* @__PURE__ */ t("div", { className: [r["results-table__row"], r["results-table__header-row"], "results-table__header-row"].join(" "), children: s.map((e) => /* @__PURE__ */ t(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
className: [
|
|
9
|
+
r["results-table__header"],
|
|
10
|
+
`results-table__${e.title.replace(" ", "-").toLowerCase()}`,
|
|
11
|
+
"results-table__header"
|
|
12
|
+
].join(" "),
|
|
13
|
+
children: e.title
|
|
14
|
+
},
|
|
15
|
+
`result-header-${e.title}`
|
|
16
|
+
)) });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
o as ResultsTableHeader,
|
|
20
|
+
o as default
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ResultsTableHeader, ResultsTableHeader as default } from './ResultsTableHeader';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export function ScheduleLayout({ schedule, handleScheduleClicks, handleDateChanged }: {
|
|
2
|
+
schedule?: never[] | undefined;
|
|
3
|
+
handleScheduleClicks?: (() => boolean) | undefined;
|
|
4
|
+
handleDateChanged?: (() => boolean) | undefined;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default ScheduleLayout;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs as y, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useState as a, useEffect as f } from "react";
|
|
3
|
+
import { DateNavigation as x } from "../DateNavigation/DateNavigation.js";
|
|
4
|
+
import { ScheduleList as w } from "../ScheduleList/ScheduleList.js";
|
|
5
|
+
import { chunkArray as L, create2WeeksList as S } from "../../utils/date-helpers.js";
|
|
6
|
+
import { f as u } from "../../format-DF9p-6BI.mjs";
|
|
7
|
+
import { s as b } from "../../sub-DTz41m8W.mjs";
|
|
8
|
+
function F({ schedule: o = [], handleScheduleClicks: e = () => !0, handleDateChanged: c = () => !0 }) {
|
|
9
|
+
const l = (/* @__PURE__ */ new Date()).toLocaleString("en-US", { timeZone: "America/New_York" }), t = new Date(l), [r, d] = a(Number.parseInt(u(t, "H"), 10) < 6 ? b(t, { days: 1 }) : t), g = L(S(), 7), [p, n] = a(!1), [D, i] = a(!1), h = (m) => {
|
|
10
|
+
i(!0), setTimeout(() => {
|
|
11
|
+
n(!0);
|
|
12
|
+
}, 325), setTimeout(() => {
|
|
13
|
+
d(m), c(m);
|
|
14
|
+
}, 2e3);
|
|
15
|
+
};
|
|
16
|
+
return f(() => {
|
|
17
|
+
i(!1), n(!1);
|
|
18
|
+
}, [o]), f(() => {
|
|
19
|
+
e(r);
|
|
20
|
+
}, [r, e]), /* @__PURE__ */ y("schedule-layout", { children: [
|
|
21
|
+
/* @__PURE__ */ s(x, { weeks: g, handleDateChanged: h }),
|
|
22
|
+
/* @__PURE__ */ s("div", { id: u(r, "yyyy-MM-dd"), role: "tabpanel", children: /* @__PURE__ */ s(w, { schedule: o, handleClicks: e, fetching: p, exiting: D }) })
|
|
23
|
+
] });
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
F as ScheduleLayout,
|
|
27
|
+
F as default
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ScheduleLayout, ScheduleLayout as default } from './ScheduleLayout';
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { SportsItem as j } from "./schedule-list-items/SportsItem.js";
|
|
4
|
+
import { SeriesItem as w } from "./schedule-list-items/SeriesItem.js";
|
|
5
|
+
import { MovieItem as $ } from "./schedule-list-items/MovieItem.js";
|
|
6
|
+
import { getMinutesFromStr as k } from "../../utils/helpers.js";
|
|
7
|
+
import '../../assets/ScheduleList.css';const g = {
|
|
8
|
+
"schedule-list__item": "_schedule-list__item_10j6g_1",
|
|
9
|
+
"schedule-list__airdate": "_schedule-list__airdate_10j6g_12",
|
|
10
|
+
"schedule-list": "_schedule-list_10j6g_1",
|
|
11
|
+
"fade-in": "_fade-in_10j6g_1",
|
|
12
|
+
"fade-out": "_fade-out_10j6g_1"
|
|
13
|
+
}, f = (r) => {
|
|
14
|
+
var o, p, i, a, n, t, v, y, x, b, S;
|
|
15
|
+
return (o = r.video) != null && o.brightcove_id ? {
|
|
16
|
+
label: "Watch Preview",
|
|
17
|
+
type: "play-video",
|
|
18
|
+
href: "",
|
|
19
|
+
relatedResourceId: r.video.brightcove_id,
|
|
20
|
+
position: "inline"
|
|
21
|
+
} : r != null && r.showUpcoming && (r == null ? void 0 : r.program_class) === "Episode" ? {
|
|
22
|
+
label: "",
|
|
23
|
+
//`View Upcoming Airings`
|
|
24
|
+
type: "",
|
|
25
|
+
//'show-modal',
|
|
26
|
+
href: "",
|
|
27
|
+
relatedResourceId: "",
|
|
28
|
+
//determineSeriesPrefix(scheduleItem.series_prefix),
|
|
29
|
+
relatedResourceType: "",
|
|
30
|
+
//'series',
|
|
31
|
+
position: ""
|
|
32
|
+
//'inline',
|
|
33
|
+
} : r != null && r.showUpcoming && (r == null ? void 0 : r.program_class) === "Film" ? {
|
|
34
|
+
label: "",
|
|
35
|
+
//`View Upcoming Airings`,
|
|
36
|
+
type: "",
|
|
37
|
+
//'show-modal',
|
|
38
|
+
href: "",
|
|
39
|
+
relatedResourceId: "",
|
|
40
|
+
//scheduleItem.title_code,
|
|
41
|
+
relatedResourceType: "",
|
|
42
|
+
//'film',
|
|
43
|
+
position: ""
|
|
44
|
+
//'inline',
|
|
45
|
+
} : (((p = r == null ? void 0 : r.content) == null ? void 0 : p.external_link) !== void 0 && ((i = r == null ? void 0 : r.content) == null ? void 0 : i.external_link) !== "" || ((a = r == null ? void 0 : r.content) == null ? void 0 : a.slug) !== void 0 && ((n = r == null ? void 0 : r.content) == null ? void 0 : n.slug) !== "") && !((t = r == null ? void 0 : r.content) != null && t.prevent_detail_page) ? {
|
|
46
|
+
label: (r == null ? void 0 : r.program_class) === "Episode" ? "View Series Details" : (r == null ? void 0 : r.program_class) === "Film" ? "View Movie Details" : "Learn More",
|
|
47
|
+
type: (v = r == null ? void 0 : r.content) != null && v.external_link ? "external-link" : "internal-link",
|
|
48
|
+
href: (y = r == null ? void 0 : r.content) != null && y.external_link ? (x = r == null ? void 0 : r.content) == null ? void 0 : x.external_link : r.program_class === "Episode" ? `/show/${(b = r == null ? void 0 : r.content) == null ? void 0 : b.slug}` : `/movie/${(S = r == null ? void 0 : r.content) == null ? void 0 : S.slug}`,
|
|
49
|
+
position: "inline"
|
|
50
|
+
} : {
|
|
51
|
+
label: "",
|
|
52
|
+
type: "",
|
|
53
|
+
href: "",
|
|
54
|
+
position: ""
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
function A({
|
|
58
|
+
schedule: r = [],
|
|
59
|
+
handleClicks: o = () => !0,
|
|
60
|
+
exiting: p = !1
|
|
61
|
+
}) {
|
|
62
|
+
return /* @__PURE__ */ _("ul", { className: `${g["schedule-list"]} schedule-list`, "data-state": p ? "exiting" : "idle", children: r.length !== 0 && r.map((i) => {
|
|
63
|
+
const a = k(i.element_length), n = f(i).type === "" ? [a, i.rating] : [a, i.rating, " "];
|
|
64
|
+
return i.program_class === "Episode" ? /* @__PURE__ */ _(
|
|
65
|
+
w,
|
|
66
|
+
{
|
|
67
|
+
scheduleItem: i,
|
|
68
|
+
styles: g,
|
|
69
|
+
strListArr: n,
|
|
70
|
+
handleClicks: o,
|
|
71
|
+
determineCTA: f
|
|
72
|
+
},
|
|
73
|
+
`schedule-list-${i.id}`
|
|
74
|
+
) : i.program_class === "Film" || i.program_class === "Movie" || i.program_class === "Special" ? /* @__PURE__ */ _(
|
|
75
|
+
$,
|
|
76
|
+
{
|
|
77
|
+
scheduleItem: i,
|
|
78
|
+
styles: g,
|
|
79
|
+
strListArr: n,
|
|
80
|
+
handleClicks: o,
|
|
81
|
+
determineCTA: f
|
|
82
|
+
},
|
|
83
|
+
`schedule-list-${i.id}`
|
|
84
|
+
) : i.program_class === "Sports" ? /* @__PURE__ */ _(
|
|
85
|
+
j,
|
|
86
|
+
{
|
|
87
|
+
scheduleItem: i,
|
|
88
|
+
styles: g,
|
|
89
|
+
strListArr: n,
|
|
90
|
+
handleClicks: o,
|
|
91
|
+
determineCTA: f
|
|
92
|
+
},
|
|
93
|
+
`schedule-list-${i.id}`
|
|
94
|
+
) : null;
|
|
95
|
+
}) });
|
|
96
|
+
}
|
|
97
|
+
export {
|
|
98
|
+
A as ScheduleList,
|
|
99
|
+
A as default
|
|
100
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ScheduleList, ScheduleList as default } from './ScheduleList';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { determineIfShowIsOnNow as o } from "../../../utils/date-helpers.js";
|
|
4
|
+
import { classes as s, convert12to24 as e } from "../../../utils/helpers.js";
|
|
5
|
+
import { AirDateFormatter as n } from "../../AirDateFormatter/AirDateFormatter.js";
|
|
6
|
+
function f({ scheduleItem: t, styles: a }) {
|
|
7
|
+
return /* @__PURE__ */ i("div", { className: s([a["schedule-list__airdate"], "schedule-list__airdate"]), children: [
|
|
8
|
+
o(`${t.start_date_parse}T${e(t.start_time)}`, t.element_length) && /* @__PURE__ */ r("div", { className: "schedule-list__on-now", children: "On Now" }),
|
|
9
|
+
/* @__PURE__ */ r(
|
|
10
|
+
n,
|
|
11
|
+
{
|
|
12
|
+
airdateStr: `${t.start_date} ${e(t.start_time)}`,
|
|
13
|
+
separatorType: "line-break"
|
|
14
|
+
}
|
|
15
|
+
)
|
|
16
|
+
] });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
f as AirDateSegment,
|
|
20
|
+
f as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { AirDateSegment as f } from "./AirDateSegment.js";
|
|
4
|
+
import { ImageCard as l } from "../../ImageCard/ImageCard.js";
|
|
5
|
+
import { StringList as e } from "../../StringList/StringList.js";
|
|
6
|
+
import { Concat as g } from "../../Concat/Concat.js";
|
|
7
|
+
import { classes as C } from "../../../utils/helpers.js";
|
|
8
|
+
function j({ scheduleItem: i, styles: r, handleClicks: a, strListArr: n, determineCTA: p }) {
|
|
9
|
+
var o;
|
|
10
|
+
const m = [
|
|
11
|
+
`<div>${i.program_synopsis}</div>`,
|
|
12
|
+
/* @__PURE__ */ t(e, { list: n, separatorType: "pipe" })
|
|
13
|
+
];
|
|
14
|
+
return /* @__PURE__ */ s("li", { className: C([r["schedule-list__item"], "schedule-list__item"]), children: [
|
|
15
|
+
/* @__PURE__ */ t(f, { scheduleItem: i, styles: r }),
|
|
16
|
+
/* @__PURE__ */ t(
|
|
17
|
+
l,
|
|
18
|
+
{
|
|
19
|
+
id: i.id,
|
|
20
|
+
image: {
|
|
21
|
+
url: ((o = i == null ? void 0 : i.content) == null ? void 0 : o.image) ?? "",
|
|
22
|
+
altText: "",
|
|
23
|
+
aspectRatio: 543 / 305
|
|
24
|
+
},
|
|
25
|
+
title: i.program,
|
|
26
|
+
content: /* @__PURE__ */ t(g, { list: m }),
|
|
27
|
+
cta: p(i),
|
|
28
|
+
clampContentLines: !0,
|
|
29
|
+
numberOfLinesToClamp: 5,
|
|
30
|
+
displayInline: !0,
|
|
31
|
+
handleClicks: a
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
] }, `schedule-list-${i.id}`);
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
j as MovieItem,
|
|
38
|
+
j as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function SeriesItem({ scheduleItem, styles, strListArr, handleClicks, determineCTA }: {
|
|
2
|
+
scheduleItem: any;
|
|
3
|
+
styles: any;
|
|
4
|
+
strListArr: any;
|
|
5
|
+
handleClicks: any;
|
|
6
|
+
determineCTA: any;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default SeriesItem;
|