@tet/tet-components 1.4.157-testing → 1.4.158-production
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/format-program-start-date-zxseYpV_.js +151 -0
- package/dist/cjs/{http-codes-D7ffzpYW.js → http-codes-BEt9xtqF.js} +2 -1
- package/dist/cjs/{index-BL_zVDFC.js → index-puzHM5yZ.js} +21 -21
- package/dist/cjs/{index-Dzs7Nkbj.js → index-t4WNVvo_.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{product-comparison-DUzqZuWv.js → product-comparison-CkjpMhjy.js} +1 -1
- package/dist/cjs/{service-availability-services-BXL7V5i1.js → service-availability-services-CcQ-evt-.js} +1 -1
- package/dist/cjs/{string-D0kCSyUd.js → string-CL-wkThZ.js} +0 -4
- package/dist/cjs/tet-accordion.cjs.entry.js +8 -8
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-v2.cjs.entry.js +6 -6
- package/dist/cjs/tet-address-offers-view-v2.cjs.entry.js +6 -6
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +5 -5
- package/dist/cjs/tet-address-offers_3.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search_2.cjs.entry.js +9 -9
- package/dist/cjs/tet-assembler_3.cjs.entry.js +5 -5
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +7 -7
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +5 -5
- package/dist/cjs/tet-banner-nav.cjs.entry.js +4 -4
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
- package/dist/cjs/tet-carousel.cjs.entry.js +10 -10
- package/dist/cjs/{tet-checkbox_3.cjs.entry.js → tet-checkbox_2.cjs.entry.js} +1 -453
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-colors.cjs.entry.js +5 -5
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-countdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-feedback-form.cjs.entry.js +4 -4
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
- package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
- package/dist/cjs/tet-grid.cjs.entry.js +2 -2
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +5 -5
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +7 -7
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-news-card.cjs.entry.js +2 -2
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-paginator.cjs.entry.js +5 -5
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +4 -4
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-input.cjs.entry.js +5 -5
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +2 -2
- package/dist/cjs/tet-support-search.cjs.entry.js +2 -2
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +6 -6
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
- package/dist/cjs/tet-tooltip.cjs.entry.js +456 -0
- package/dist/cjs/tet-tv-program-channel-picker_3.cjs.entry.js +1465 -0
- package/dist/cjs/tet-tv-program-item.cjs.entry.js +217 -0
- package/dist/cjs/tet-tv-program-placeholders-C4m4UB1-.js +22 -0
- package/dist/cjs/tet-tv-program.cjs.entry.js +642 -3
- package/dist/cjs/{translations-Uvcq4kv8.js → translations-c8BeO6Gg.js} +2 -2
- package/dist/cjs/{typecheck--Bs-bZ_K.js → typecheck-Do6mN8Vg.js} +0 -2
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-offers-v2/tet-address-offers-v2.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.js +1 -1
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
- package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +6 -6
- package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
- package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
- package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
- package/dist/collection/components/basic/misc/tet-countdown/tet-countdown.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.js +1 -1
- package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.js +1 -1
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.css +5 -1
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view-v2/tet-address-offers-view-v2.js +2 -2
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-channel-picker/tet-tv-program-channel-picker.css +21 -8
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-channel-picker/tet-tv-program-channel-picker.js +59 -39
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.css +52 -36
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.js +24 -30
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.css +352 -0
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.js +488 -0
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.mock.js +45 -0
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-schedule/tet-tv-program-schedule.css +567 -0
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-schedule/tet-tv-program-schedule.js +1309 -0
- package/dist/collection/components/views/tet-tv-program/test/mock-schedule-layout.js +74 -0
- package/dist/collection/components/views/tet-tv-program/tet-tv-program-placeholders.js +8 -0
- package/dist/collection/components/views/tet-tv-program/tet-tv-program.css +777 -0
- package/dist/collection/components/views/tet-tv-program/tet-tv-program.js +638 -2
- package/dist/collection/components/views/tet-tv-program/tet-tv-program.types.js +1 -0
- package/dist/collection/components/views/tet-tv-program/utils/broadcast-time.js +26 -0
- package/dist/collection/components/views/tet-tv-program/utils/fill-program-gaps.js +44 -0
- package/dist/collection/components/views/tet-tv-program/utils/format-program-start-date.js +13 -0
- package/dist/collection/components/views/tet-tv-program/utils/tooltip-lifecycle.js +132 -0
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/collection/services/api/index.js +1 -0
- package/dist/collection/services/api/services/tv/tv-program-types.js +1 -0
- package/dist/collection/services/api/services/tv/tv-program.js +31 -0
- package/dist/collection/services/utils/date.js +7 -0
- package/dist/collection/services/utils/index.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-B9bE6qY-.js → p--_RUy11E.js} +1 -1
- package/dist/components/p-B-Tjx5SX.js +1 -0
- package/dist/components/{p-CgV4zAwQ.js → p-B4UX_mB_.js} +1 -1
- package/dist/components/{p-p-J7NvGs.js → p-B73K4uEg.js} +1 -1
- package/dist/components/{p-BztqMLE1.js → p-BAf_O-kb.js} +1 -1
- package/dist/components/{p-BcVrianM.js → p-BOsv3j3J.js} +1 -1
- package/dist/components/p-BQ5mo25G.js +1 -0
- package/dist/components/{p-BI70OOEF.js → p-BQjtvIgJ.js} +1 -1
- package/dist/components/p-BTZzfMYY.js +1 -0
- package/dist/components/{p-C-sZ3Bzu.js → p-BX98BUpV.js} +1 -1
- package/dist/components/p-Bdbn4prA.js +8 -0
- package/dist/components/{p-CF15dAPd.js → p-BjM9vx9w.js} +1 -1
- package/dist/components/{p-nKvolHsW.js → p-BkXzaJcc.js} +1 -1
- package/dist/components/{p-CYMnJi7q.js → p-ByM3JujT.js} +1 -1
- package/dist/components/{p-B5HqUnpw.js → p-C2nyJwDX.js} +1 -1
- package/dist/components/{p-CJnk1Plz.js → p-C50q8-fi.js} +1 -1
- package/dist/components/{p-DXQ-UeYl.js → p-C5f1C5m_.js} +1 -1
- package/dist/components/{p-t_FgKIcd.js → p-CEyoGS5R.js} +1 -1
- package/dist/components/{p-BrPUjt5B.js → p-CI8FUu6q.js} +1 -1
- package/dist/components/{p-CMxcvnRv.js → p-CKWJROPt.js} +1 -1
- package/dist/components/{p-B-1KdQSL.js → p-CVhyWWJA.js} +1 -1
- package/dist/components/p-CWuhYFDW.js +1 -0
- package/dist/components/{p-44eECwiT.js → p-CXjWLDzk.js} +1 -1
- package/dist/components/p-C_Jw5r9B.js +1 -0
- package/dist/components/{p-vu71OGLf.js → p-ClXBenaN.js} +1 -1
- package/dist/components/{p-B60jnxEn.js → p-ClkvaRio.js} +1 -1
- package/dist/components/{p-HzogPVbA.js → p-D323rUMJ.js} +1 -1
- package/dist/components/{p-C4uKGuRj.js → p-D4MolLd8.js} +1 -1
- package/dist/components/{p-CPGJg5Si.js → p-D4k1E1mH.js} +1 -1
- package/dist/components/p-D5YRHMvl.js +1 -0
- package/dist/components/p-D9QC8S_K.js +1 -0
- package/dist/components/{p-DikHJHTd.js → p-DBK9GhUz.js} +1 -1
- package/dist/components/{p-Bho4Xl9R.js → p-DCeNW6E9.js} +1 -1
- package/dist/components/{p-C32vgbsV.js → p-DIpqXULQ.js} +1 -1
- package/dist/components/p-DPGMd9pW.js +1 -0
- package/dist/components/{p-C61jDpta.js → p-DTOuhcpL.js} +1 -1
- package/dist/components/{p-DN2JwXg9.js → p-DZRioc0D.js} +1 -1
- package/dist/components/{p-B1d6HEqd.js → p-DZecnsEu.js} +1 -1
- package/dist/components/{p-CZach5oP.js → p-DezVRSSN.js} +1 -1
- package/dist/components/{p-CDUvchOX.js → p-DiSdptzb.js} +1 -1
- package/dist/components/{p-lEX8wezw.js → p-DoCUcvkE.js} +1 -1
- package/dist/components/{p-Bsqoxd9G.js → p-DobMlMDf.js} +1 -1
- package/dist/components/{p-BD6bBnqr.js → p-Dr3_Xm0C.js} +1 -1
- package/dist/components/{p-DnPS3TWn.js → p-JrKx7ojI.js} +1 -1
- package/dist/components/{p-mVj43aKR.js → p-OAkgt412.js} +1 -1
- package/dist/components/{p-Cb2bEUmu.js → p-QcD5cCtX.js} +1 -1
- package/dist/components/{p-D8avEs-F.js → p-QlXxBzaI.js} +1 -1
- package/dist/components/{p-Mpe-2CVQ.js → p-QlyBltAE.js} +1 -1
- package/dist/components/{p-CwZljiBM.js → p-R45gvsNR.js} +1 -1
- package/dist/components/{p-sgozlrhg.js → p-RQYdSAu8.js} +1 -1
- package/dist/components/{p-CvUaogvc.js → p-RcwM6MVX.js} +1 -1
- package/dist/components/p-S9EUQFLQ.js +1 -0
- package/dist/components/{p-Bc4oqt_L.js → p-W3LV-Z7z.js} +1 -1
- package/dist/components/p-_2UzwYR8.js +1 -0
- package/dist/components/{p-DKZxpjnL.js → p-_pn0YVXD.js} +1 -1
- package/dist/components/{p-BmH_7-IQ.js → p-gw3AOj6h.js} +1 -1
- package/dist/components/{p-Bw-D7nPx.js → p-sp4th_AU.js} +1 -1
- package/dist/components/{p-o4S5jRzK.js → p-vwpr_v76.js} +1 -1
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-v2.js +1 -1
- package/dist/components/tet-address-offers-view-v2.js +1 -1
- package/dist/components/tet-address-offers-view.js +1 -1
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-assembler.js +1 -1
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +1 -1
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +1 -1
- package/dist/components/tet-banner-nav.js +1 -1
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +1 -1
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +1 -1
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +1 -1
- package/dist/components/tet-cloud-configurator.js +1 -1
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +1 -1
- package/dist/components/tet-compare-card-v3.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +1 -1
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-countdown.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +1 -1
- package/dist/components/tet-divider.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +1 -1
- package/dist/components/tet-expandable-input.js +1 -1
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +1 -1
- package/dist/components/tet-filter.js +1 -1
- package/dist/components/tet-floating-block.js +1 -1
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-menu-mobile.js +1 -1
- package/dist/components/tet-menu.js +1 -1
- package/dist/components/tet-mini-compare-card.js +1 -1
- package/dist/components/tet-multi-step-dialog.js +1 -1
- package/dist/components/tet-navigation-mobile.js +1 -1
- package/dist/components/tet-news-card-list.js +1 -1
- package/dist/components/tet-news-card.js +1 -1
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-paginator.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-sticky-offer.js +1 -1
- package/dist/components/tet-support-search.js +1 -1
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +1 -1
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v3.js +1 -1
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-program-channel-picker.js +1 -1
- package/dist/components/tet-tv-program-date-picker.js +1 -1
- package/dist/components/{tet-datepicker.d.ts → tet-tv-program-item.d.ts} +4 -4
- package/dist/components/tet-tv-program-item.js +1 -0
- package/dist/components/tet-tv-program-schedule.d.ts +11 -0
- package/dist/components/tet-tv-program-schedule.js +1 -0
- package/dist/components/tet-tv-program.js +1 -1
- package/dist/esm/format-program-start-date-BTxL4Knq.js +148 -0
- package/dist/esm/{http-codes-CHPW8K5J.js → http-codes-8cHNuJ77.js} +2 -1
- package/dist/esm/{index-gA3_LS77.js → index-CO8AyGrA.js} +21 -21
- package/dist/esm/{index-BzVLx-ae.js → index-Rx46bgOe.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{product-comparison-09p7FlLY.js → product-comparison-DZV6jdwa.js} +1 -1
- package/dist/esm/{service-availability-services-DHbWTGBw.js → service-availability-services-DglLgqmx.js} +1 -1
- package/dist/esm/{string-D0GJDW-O.js → string-C9BlrGW8.js} +1 -4
- package/dist/esm/tet-accordion.entry.js +8 -8
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
- package/dist/esm/tet-address-offers-v2.entry.js +6 -6
- package/dist/esm/tet-address-offers-view-v2.entry.js +6 -6
- package/dist/esm/tet-address-offers-view.entry.js +5 -5
- package/dist/esm/tet-address-offers_3.entry.js +7 -7
- package/dist/esm/tet-address-search_2.entry.js +9 -9
- package/dist/esm/tet-assembler_3.entry.js +5 -5
- package/dist/esm/tet-autocomplete-dropdown.entry.js +3 -3
- package/dist/esm/tet-autocomplete_2.entry.js +4 -4
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +7 -7
- package/dist/esm/tet-b2b-configurator.entry.js +5 -5
- package/dist/esm/tet-banner-nav.entry.js +4 -4
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +3 -3
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +5 -5
- package/dist/esm/tet-carousel.entry.js +10 -10
- package/dist/esm/{tet-checkbox_3.entry.js → tet-checkbox_2.entry.js} +2 -453
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +4 -4
- package/dist/esm/tet-cloud-configurator.entry.js +4 -4
- package/dist/esm/tet-colors.entry.js +5 -5
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +5 -5
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-container_2.entry.js +2 -2
- package/dist/esm/tet-countdown.entry.js +2 -2
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +4 -4
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-feedback-form.entry.js +4 -4
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +2 -2
- package/dist/esm/tet-fonts.entry.js +2 -2
- package/dist/esm/tet-grid.entry.js +2 -2
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +4 -4
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +5 -5
- package/dist/esm/tet-navigation-mobile.entry.js +7 -7
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-news-card.entry.js +2 -2
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-paginator.entry.js +5 -5
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio_2.entry.js +3 -3
- package/dist/esm/tet-range-slider.entry.js +8 -8
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +4 -4
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-spinner.entry.js +4 -4
- package/dist/esm/tet-stepper-input.entry.js +5 -5
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-sticky-offer.entry.js +2 -2
- package/dist/esm/tet-support-search.entry.js +2 -2
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +6 -6
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
- package/dist/esm/tet-tooltip.entry.js +454 -0
- package/dist/esm/tet-tv-program-channel-picker_3.entry.js +1461 -0
- package/dist/esm/tet-tv-program-item.entry.js +215 -0
- package/dist/esm/tet-tv-program-placeholders-DyupRSa9.js +19 -0
- package/dist/esm/tet-tv-program.entry.js +642 -3
- package/dist/esm/{translations-CLCWF8K_.js → translations-Cytyv90Z.js} +2 -2
- package/dist/esm/{typecheck-Bvqcvhjw.js → typecheck-CaZKtSyx.js} +1 -2
- package/dist/tet-components/{p-8b7bbbbf.entry.js → p-00440570.entry.js} +1 -1
- package/dist/tet-components/{p-9d612283.entry.js → p-00ee3383.entry.js} +1 -1
- package/dist/tet-components/{p-19cb8e38.entry.js → p-026c4688.entry.js} +1 -1
- package/dist/tet-components/{p-e45dab2b.entry.js → p-0a35f634.entry.js} +1 -1
- package/dist/tet-components/{p-72c54f04.entry.js → p-0be0b06d.entry.js} +1 -1
- package/dist/tet-components/{p-af7f7020.entry.js → p-1125417c.entry.js} +1 -1
- package/dist/tet-components/{p-0026968d.entry.js → p-17dd27fc.entry.js} +1 -1
- package/dist/tet-components/{p-b389b07a.entry.js → p-18e188fe.entry.js} +1 -1
- package/dist/tet-components/p-1Pg6Bg5R.js +1 -0
- package/dist/tet-components/{p-22db539b.entry.js → p-1ee4e8b2.entry.js} +1 -1
- package/dist/tet-components/{p-0bd6e06e.entry.js → p-25b05e87.entry.js} +1 -1
- package/dist/tet-components/p-27d7ad18.entry.js +1 -0
- package/dist/tet-components/{p-a2e40f04.entry.js → p-285a92c5.entry.js} +1 -1
- package/dist/tet-components/{p-12fe3881.entry.js → p-2a528ade.entry.js} +1 -1
- package/dist/tet-components/{p-0e4129ea.entry.js → p-2c75f965.entry.js} +1 -1
- package/dist/tet-components/{p-c5068d10.entry.js → p-2eafdaed.entry.js} +1 -1
- package/dist/tet-components/{p-0e9201e6.entry.js → p-335a6617.entry.js} +1 -1
- package/dist/tet-components/{p-daa8ca5c.entry.js → p-38ac5d83.entry.js} +1 -1
- package/dist/tet-components/{p-e88e50e6.entry.js → p-39431ec5.entry.js} +1 -1
- package/dist/tet-components/{p-7672a3cf.entry.js → p-3ad392f5.entry.js} +1 -1
- package/dist/tet-components/p-3bf86def.entry.js +1 -0
- package/dist/tet-components/p-3ec54e1f.entry.js +1 -0
- package/dist/tet-components/{p-8329cd9d.entry.js → p-421edd38.entry.js} +1 -1
- package/dist/tet-components/{p-7d62e8e0.entry.js → p-4398cb86.entry.js} +1 -1
- package/dist/tet-components/{p-039121d4.entry.js → p-43b92cf1.entry.js} +1 -1
- package/dist/tet-components/p-444eec19.entry.js +1 -0
- package/dist/tet-components/{p-f8aa1f9b.entry.js → p-53288215.entry.js} +1 -1
- package/dist/tet-components/{p-8424ddb6.entry.js → p-5466531d.entry.js} +1 -1
- package/dist/tet-components/{p-a9706390.entry.js → p-56b3c60a.entry.js} +1 -1
- package/dist/tet-components/{p-9f8c0d62.entry.js → p-56c7ed22.entry.js} +1 -1
- package/dist/tet-components/p-58dc974a.entry.js +1 -0
- package/dist/tet-components/{p-827abc22.entry.js → p-5c9f805c.entry.js} +1 -1
- package/dist/tet-components/{p-1af6b8cb.entry.js → p-5cf98e2a.entry.js} +1 -1
- package/dist/tet-components/{p-9ab815b3.entry.js → p-5f683fd6.entry.js} +1 -1
- package/dist/tet-components/{p-bc73adcc.entry.js → p-61cb3c7b.entry.js} +1 -1
- package/dist/tet-components/{p-318947f9.entry.js → p-671a5b50.entry.js} +1 -1
- package/dist/tet-components/{p-aa0b655b.entry.js → p-694911f0.entry.js} +1 -1
- package/dist/tet-components/{p-e7c43c95.entry.js → p-69c6c216.entry.js} +1 -1
- package/dist/tet-components/{p-73acf518.entry.js → p-6baf4f40.entry.js} +1 -1
- package/dist/tet-components/p-6c3a131b.entry.js +1 -0
- package/dist/tet-components/{p-13550c14.entry.js → p-6e126f61.entry.js} +1 -1
- package/dist/tet-components/{p-f53d2d9f.entry.js → p-6f449651.entry.js} +1 -1
- package/dist/tet-components/{p-f73c5481.entry.js → p-70775616.entry.js} +1 -1
- package/dist/tet-components/{p-0e021d89.entry.js → p-7d81be98.entry.js} +1 -1
- package/dist/tet-components/{p-db92c865.entry.js → p-7da500c3.entry.js} +1 -1
- package/dist/tet-components/{p-324d8840.entry.js → p-82de3c82.entry.js} +1 -1
- package/dist/tet-components/{p-c778dbd4.entry.js → p-84153818.entry.js} +1 -1
- package/dist/tet-components/{p-c321199b.entry.js → p-845addd5.entry.js} +1 -1
- package/dist/tet-components/{p-b370c444.entry.js → p-88184103.entry.js} +1 -1
- package/dist/tet-components/p-8c53b195.entry.js +1 -0
- package/dist/tet-components/{p-03b6c7a2.entry.js → p-998ee6ff.entry.js} +1 -1
- package/dist/tet-components/{p-e9e288f6.entry.js → p-9cb7e09d.entry.js} +1 -1
- package/dist/tet-components/{p-4a21fdfb.entry.js → p-9fcebf59.entry.js} +1 -1
- package/dist/tet-components/{p-nYl-0ap-.js → p-B00u2s3v.js} +1 -1
- package/dist/tet-components/p-BCewZzcy.js +8 -0
- package/dist/tet-components/p-BTxL4Knq.js +1 -0
- package/dist/tet-components/p-C9BlrGW8.js +1 -0
- package/dist/tet-components/p-CO8AyGrA.js +3 -0
- package/dist/tet-components/p-CaZKtSyx.js +1 -0
- package/dist/tet-components/p-Cak7jORV.js +1 -0
- package/dist/tet-components/{p-AT09y63b.js → p-DSi6YWYP.js} +1 -1
- package/dist/tet-components/{p-Th74Kc5K.js → p-WCtqtcml.js} +1 -1
- package/dist/tet-components/{p-8b2edb99.entry.js → p-a5dc9b50.entry.js} +1 -1
- package/dist/tet-components/{p-ff164570.entry.js → p-a72a6886.entry.js} +1 -1
- package/dist/tet-components/{p-484266ca.entry.js → p-aab96319.entry.js} +1 -1
- package/dist/tet-components/{p-6800ae9e.entry.js → p-afdfbbe6.entry.js} +1 -1
- package/dist/tet-components/{p-0b122cc1.entry.js → p-b32bfbcc.entry.js} +1 -1
- package/dist/tet-components/{p-a91c8e30.entry.js → p-b394da8f.entry.js} +1 -1
- package/dist/tet-components/{p-25c80589.entry.js → p-b47dbd57.entry.js} +1 -1
- package/dist/tet-components/{p-675387bc.entry.js → p-b495c225.entry.js} +1 -1
- package/dist/tet-components/{p-6a3891bf.entry.js → p-b85587af.entry.js} +1 -1
- package/dist/tet-components/{p-845419ea.entry.js → p-baf51820.entry.js} +1 -1
- package/dist/tet-components/{p-17f8270f.entry.js → p-bb72ca94.entry.js} +1 -1
- package/dist/tet-components/{p-7b98b883.entry.js → p-bbde7f66.entry.js} +1 -1
- package/dist/tet-components/{p-1ce9b751.entry.js → p-bc168e7d.entry.js} +1 -1
- package/dist/tet-components/{p-ae31acd5.entry.js → p-c0c72e90.entry.js} +1 -1
- package/dist/tet-components/{p-3dd266f3.entry.js → p-c1e542f3.entry.js} +1 -1
- package/dist/tet-components/{p-1ed0c66f.entry.js → p-c66fa72e.entry.js} +1 -1
- package/dist/tet-components/{p-e59ec4c3.entry.js → p-cc26cad3.entry.js} +1 -1
- package/dist/tet-components/{p-467663a9.entry.js → p-d0824b42.entry.js} +1 -1
- package/dist/tet-components/{p-73a66398.entry.js → p-d0e27220.entry.js} +1 -1
- package/dist/tet-components/{p-ebd66166.entry.js → p-d2bfb56b.entry.js} +1 -1
- package/dist/tet-components/{p-57d07760.entry.js → p-d9059fe6.entry.js} +1 -1
- package/dist/tet-components/{p-231dde32.entry.js → p-dce8109c.entry.js} +1 -1
- package/dist/tet-components/{p-0d0de163.entry.js → p-e6ae26c9.entry.js} +1 -1
- package/dist/tet-components/{p-0744b479.entry.js → p-e813e289.entry.js} +1 -1
- package/dist/tet-components/{p-2be883e9.entry.js → p-e8395909.entry.js} +1 -1
- package/dist/tet-components/{p-7dfd519c.entry.js → p-eac96e34.entry.js} +1 -1
- package/dist/tet-components/{p-ac515335.entry.js → p-ece42f8d.entry.js} +1 -1
- package/dist/tet-components/{p-7c1dd176.entry.js → p-edd7aeaa.entry.js} +1 -1
- package/dist/tet-components/{p-32983951.entry.js → p-ef66b469.entry.js} +1 -1
- package/dist/tet-components/{p-16282657.entry.js → p-f1512e81.entry.js} +1 -1
- package/dist/tet-components/{p-2884891b.entry.js → p-f8106629.entry.js} +1 -1
- package/dist/tet-components/{p-76be889b.entry.js → p-ff09a8f4.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-channel-picker/tet-tv-program-channel-picker.d.ts +9 -13
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.d.ts +1 -3
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.d.ts +62 -0
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.mock.d.ts +2 -0
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-schedule/tet-tv-program-schedule.d.ts +174 -0
- package/dist/types/components/views/tet-tv-program/test/mock-schedule-layout.d.ts +4 -0
- package/dist/types/components/views/tet-tv-program/tet-tv-program-placeholders.d.ts +2 -0
- package/dist/types/components/views/tet-tv-program/tet-tv-program.d.ts +96 -0
- package/dist/types/components/views/tet-tv-program/tet-tv-program.types.d.ts +30 -0
- package/dist/types/components/views/tet-tv-program/utils/broadcast-time.d.ts +14 -0
- package/dist/types/components/views/tet-tv-program/utils/fill-program-gaps.d.ts +3 -0
- package/dist/types/components/views/tet-tv-program/utils/format-program-start-date.d.ts +1 -0
- package/dist/types/components/views/tet-tv-program/utils/tooltip-lifecycle.d.ts +22 -0
- package/dist/types/components.d.ts +339 -389
- package/dist/types/services/api/index.d.ts +2 -0
- package/dist/types/services/api/services/tv/tv-program-types.d.ts +46 -0
- package/dist/types/services/api/services/tv/tv-program.d.ts +7 -0
- package/dist/types/services/utils/date.d.ts +2 -0
- package/dist/types/services/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +0 -387
- package/dist/cjs/tet-datepicker.cjs.entry.js +0 -132
- package/dist/cjs/tet-tv-program-channel-picker_2.cjs.entry.js +0 -536
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.css +0 -393
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.css +0 -455
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.css +0 -382
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.css +0 -382
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.css +0 -380
- package/dist/components/p-BMSAKp34.js +0 -1
- package/dist/components/p-Br4jWI9B.js +0 -8
- package/dist/components/p-C9dDgHzh.js +0 -1
- package/dist/components/p-CSxtbfBJ.js +0 -1
- package/dist/components/p-Cdi7KDBd.js +0 -1
- package/dist/components/p-Cef0hbKH.js +0 -1
- package/dist/components/p-CoQ-OVcl.js +0 -1
- package/dist/components/p-Czx7ardH.js +0 -1
- package/dist/components/p-D0GJDW-O.js +0 -1
- package/dist/components/p-DgT79UG-.js +0 -1
- package/dist/components/p-DrFW6lxe.js +0 -1
- package/dist/components/p-DutLsF-O.js +0 -1
- package/dist/components/p-Lpb2mgqh.js +0 -1
- package/dist/components/p-Q3NUC_eC.js +0 -1
- package/dist/components/tet-datepicker-header.d.ts +0 -11
- package/dist/components/tet-datepicker-header.js +0 -1
- package/dist/components/tet-datepicker-month-view.d.ts +0 -11
- package/dist/components/tet-datepicker-month-view.js +0 -1
- package/dist/components/tet-datepicker-multi-year-view.d.ts +0 -11
- package/dist/components/tet-datepicker-multi-year-view.js +0 -1
- package/dist/components/tet-datepicker-year-view.d.ts +0 -11
- package/dist/components/tet-datepicker-year-view.js +0 -1
- package/dist/components/tet-datepicker.js +0 -1
- package/dist/esm/tet-datepicker-header_4.entry.js +0 -382
- package/dist/esm/tet-datepicker.entry.js +0 -130
- package/dist/esm/tet-tv-program-channel-picker_2.entry.js +0 -533
- package/dist/tet-components/p-340c3e79.entry.js +0 -1
- package/dist/tet-components/p-3a573d6e.entry.js +0 -1
- package/dist/tet-components/p-7d218d65.entry.js +0 -1
- package/dist/tet-components/p-Bvqcvhjw.js +0 -1
- package/dist/tet-components/p-CNGb2lWC.js +0 -8
- package/dist/tet-components/p-ChdlTQSF.js +0 -1
- package/dist/tet-components/p-D0GJDW-O.js +0 -1
- package/dist/tet-components/p-aea861c9.entry.js +0 -1
- package/dist/tet-components/p-b21b4329.entry.js +0 -1
- package/dist/tet-components/p-c102d7e8.entry.js +0 -1
- package/dist/tet-components/p-dabdfe62.entry.js +0 -1
- package/dist/tet-components/p-gA3_LS77.js +0 -3
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.d.ts +0 -21
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.d.ts +0 -45
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.d.ts +0 -20
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.d.ts +0 -20
- package/dist/types/components/simple/inputs/tet-datepicker/tet-datepicker.d.ts +0 -47
package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js
CHANGED
|
@@ -72,13 +72,13 @@ export class TetNavigationMobile {
|
|
|
72
72
|
await processTranslations('tet-components', this.language || 'lv');
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '180ed834e31bf8ec462c2fa75f28d5e6abd80ea4' }, h("navigation", { key: 'c14b2e2a3b89aef2ea10dbde5f286d6496d8801b', class: {
|
|
76
76
|
'navigation': true,
|
|
77
77
|
'navigation--dark': this.darkMode
|
|
78
|
-
} }, h("div", { key: '
|
|
78
|
+
} }, h("div", { key: '52fbf9bd91e80a1abef47181105ad0b369b70b0b', class: "navigation__nav-bar" }, h("slot", { key: 'b18cc6a8a95104ddbb918bdb8c896b9592015e75' })), this.isTogglerVisible && (h("button", { key: '556689f43ff0e7e39693c9b50b83b65e70b1d031', type: "button", class: "navigation__toggler", "aria-controls": "tet-navigation-mobile-dropdown", "aria-expanded": this.isTogglerExpanded.toString(), "aria-label": t(this.isTogglerExpanded ? 'components-navigation-mobile-close-menu-label' : 'components-navigation-mobile-open-menu-label'), onClick: this.onTogglerClick }, h("tet-icon", { key: '7678dead08cd31f5ec72541fa677223402502398', theme: this.darkMode ? "dark" : "light", name: this.isTogglerExpanded ? "tc-close" : "tc-burger" }))), h("div", { key: '229266f9d7b0c2f9617b143467f6fc5de8cea315', id: "tet-navigation-mobile-dropdown", class: {
|
|
79
79
|
'navigation__dropdown': true,
|
|
80
80
|
'navigation__dropdown--expanded': this.isTogglerExpanded,
|
|
81
|
-
}, inert: !this.isTogglerExpanded }, h("slot", { key: '
|
|
81
|
+
}, inert: !this.isTogglerExpanded }, h("slot", { key: '0b16eef829b429bb51598905f428bbdaabef2494', name: "dropdown" })))));
|
|
82
82
|
}
|
|
83
83
|
static get is() { return "tet-navigation-mobile"; }
|
|
84
84
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ export class TetPaginator {
|
|
|
71
71
|
return (h("button", { type: "button", class: "paginator__button", "aria-label": direction === 'previous' ? t('components-paginator-previous-page') : t('components-paginator-next-page'), disabled: disabled, onClick: () => this.handleButtonClick(direction) }, h("tet-icon", { class: "paginator__button-icon", name: iconName })));
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'bd8d1c5382a0f79c06bae594b9d05473b48c81c4' }, h("div", { key: 'e6b39535049c5e7952fd92e9c5615783f79965be', class: "paginator" }, this.renderButton('previous'), h("tet-dropdown", { key: 'e5d99764403a38bdfc0e9165fb40d4e68ff10671', class: "paginator__dropdown", ref: element => (this.dropdownElement = element), theme: this.theme, disabled: this.disabled, dropdownPlacement: this.dropdownPlacement, onOptionsChanged: this.handleDropdownChange, gappedLayout: true, label: `${t('components-paginator-page')} ${this.selectedPage}/${this.pageCount}`, showLabel: false, selectedOptionStyle: "underline", closeOnSelection: true, options: Array.from({ length: this.pageCount }, (_, index) => ({
|
|
75
75
|
label: String(index + 1),
|
|
76
76
|
value: index + 1,
|
|
77
77
|
preselected: this.selectedPage === index + 1,
|
|
@@ -167,7 +167,7 @@ export class TetStickyOffer {
|
|
|
167
167
|
return this.detectedModule;
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: 'b9878e87a59d18815fe1377e97b424d016e733f7', class: { 'offer-visible': this.visible && this.boundaryVisible }, style: { '--boundary-bottom': `${this.boundaryBottom}px` } }, h("div", { key: '8281e6f0423f2256b7a29cc945d3193abcd97a52', class: "sticky-offer", inert: !this.visible || !this.boundaryVisible }, h("span", { key: '9c5add5a6714f5bce0e9f8905fb577bceec944ec', class: "sticky-offer__name", "aria-live": "polite", "aria-atomic": "true" }, this.offerName), h("div", { key: '2fa04d73b6e81e1b797352bfe74eb4504f748648', class: "sticky-offer__inner-container" }, h("div", { key: 'ebced42173592c29ff98a6da580c75c77c945185', class: "sticky-offer__price-container", "aria-live": "polite", "aria-atomic": "true" }, h("span", { key: '54ed7ee0bf94886ce7df1f3362f982283df939ac', class: "sticky-offer__price" }, this.price), this.priceSuffix && (h("span", { key: '0aeaa8816612bdcc16aa41efff01d7a1b5c79120', class: "sticky-offer__price-suffix" }, this.priceSuffix))), h("tet-button", { key: '77db71c045a9407a8761c6fd35259e1f2c1c3d36', size: "small", theme: "light", breakpointConfig: {
|
|
171
171
|
lg: { size: 'medium' },
|
|
172
172
|
xl: { size: 'large' },
|
|
173
173
|
}, url: this.actionUrl, urlTarget: this.actionTarget, onClick: () => this.applyClick.emit() }, this.actionLabel)))));
|
|
@@ -353,6 +353,8 @@
|
|
|
353
353
|
* @prop --accordion-animation-duration: The duration of the animation when expanding or collapsing the panel.
|
|
354
354
|
* @prop --accordion-header-padding: The padding for the header element.
|
|
355
355
|
* @prop --accordion-header-mobile-padding: The padding for the header element for smaller screens.
|
|
356
|
+
* @prop --accordion-header-border-radius: The border radius of the focusable header element.
|
|
357
|
+
* @prop --accordion-header-outline-offset: The offset of the header's keyboard focus outline. Defaults to 0.0625rem.
|
|
356
358
|
* @prop --accordion-background-color: The background color of the component.
|
|
357
359
|
* @prop --accordion-text-color: The color of the text.
|
|
358
360
|
* @prop --accordion-border-bottom-width: The width of the bottom border of the accordion.
|
|
@@ -412,7 +414,7 @@
|
|
|
412
414
|
display: var(--accordion-header-display);
|
|
413
415
|
align-items: var(--accordion-header-align-items);
|
|
414
416
|
width: 100%;
|
|
415
|
-
border-radius: 0.125rem;
|
|
417
|
+
border-radius: var(--accordion-header-border-radius, 0.125rem);
|
|
416
418
|
}
|
|
417
419
|
.tet-accordion__header--non-interactive {
|
|
418
420
|
cursor: default;
|
|
@@ -435,12 +437,14 @@
|
|
|
435
437
|
outline: 0.125rem solid var(--tc-blue-40);
|
|
436
438
|
outline-offset: 0.0625rem;
|
|
437
439
|
transition: outline 0s;
|
|
440
|
+
outline-offset: var(--accordion-header-outline-offset, 0.0625rem);
|
|
438
441
|
}
|
|
439
442
|
.tet-accordion__header:focus-visible.dark {
|
|
440
443
|
outline: 0.125rem solid var(--tc-blue-40);
|
|
441
444
|
outline: 0.125rem solid var(--tc-blue-40-dark);
|
|
442
445
|
outline-offset: 0.0625rem;
|
|
443
446
|
transition: outline 0s;
|
|
447
|
+
outline-offset: var(--accordion-header-outline-offset, 0.0625rem);
|
|
444
448
|
}
|
|
445
449
|
.tet-accordion__header-text {
|
|
446
450
|
flex-grow: 1;
|
|
@@ -168,13 +168,13 @@ export class TetAccordion {
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '24f05ae86f021af98a65e2a7927d3ff9ccf3cdeb' }, h("div", { key: 'd7b8402ba0d11c5ba8235de69478ff51f5b48509', class: {
|
|
172
172
|
'tet-accordion': true,
|
|
173
173
|
'tet-accordion--border': this.withBorder,
|
|
174
174
|
[`${this.theme}-theme`]: true,
|
|
175
175
|
[`tet-accordion--breakpoint-${this.breakpoint}`]: true,
|
|
176
176
|
'transparent-bg': this.transparentBackground,
|
|
177
|
-
} }, h("div", { key: '
|
|
177
|
+
} }, h("div", { key: 'b5856911d35bd1df2bf3adcfe2375277488bf3bb', class: {
|
|
178
178
|
"tet-accordion__header": true,
|
|
179
179
|
[this.theme]: true,
|
|
180
180
|
"tet-accordion__header--non-interactive": !this.isHeaderInteractive,
|
|
@@ -182,15 +182,15 @@ export class TetAccordion {
|
|
|
182
182
|
onClick: this.toggleOpenState,
|
|
183
183
|
onKeyDown: this.toggleAccessibilityOpenState,
|
|
184
184
|
tabIndex: 0
|
|
185
|
-
} : {}) }, h("slot", { key: '
|
|
185
|
+
} : {}) }, h("slot", { key: 'f2fe8313b0c5a00b0c050ea5bd6729ccd20c8df2', name: "header" }, this.headerIconName && (h("tet-icon", { key: '9fe06e2d923446dde7b37ed55e5388f77e537fcd', name: this.headerIconName, class: "tet-accordion__header-icon tet-accordion__icon" })), this.headerImageSrc && this.headerImageSrc !== '' && (h("img", { key: 'b0c5264884eaf131d14e35902c6113122b1ed131', src: this.headerImageSrc, alt: this.headerImageAlt ? this.headerImageAlt : undefined, class: "tet-accordion__header-image", loading: "lazy" })), this.renderHeading(), this.isHeaderInteractive && (h("tet-icon", { key: '40b94eaf65bce6505ea1c46ac01b52f9a57ac207', name: `tc-chevron-${this.indicatorDirection}`, class: {
|
|
186
186
|
'tet-accordion__icon': true,
|
|
187
187
|
'open': this.isOpen
|
|
188
|
-
} })))), h("div", { key: '
|
|
188
|
+
} })))), h("div", { key: '06799f0acf7b89587dbe9ce254d1e3c48b5f9629', ref: (element) => (this.contentWrapperElement = element), class: {
|
|
189
189
|
'tet-accordion__content-wrapper': true,
|
|
190
190
|
'visible': this.isOpen
|
|
191
|
-
}, inert: !this.isOpen }, h("div", { key: '
|
|
191
|
+
}, inert: !this.isOpen }, h("div", { key: '64ac6496ee552bb4a5d34b11572e557821d6d123', ref: (element) => (this.contentElement = element), class: {
|
|
192
192
|
'tet-accordion__content': true
|
|
193
|
-
} }, h("slot", { key: '
|
|
193
|
+
} }, h("slot", { key: 'efb459ec36564948bbb3cbcfa8877ac123497507' }))))));
|
|
194
194
|
}
|
|
195
195
|
static get is() { return "tet-accordion"; }
|
|
196
196
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js
CHANGED
|
@@ -66,7 +66,7 @@ export class TetExpansionPanel {
|
|
|
66
66
|
this.state = this.state === 'open' ? 'closed' : 'open';
|
|
67
67
|
};
|
|
68
68
|
render() {
|
|
69
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: '0b68e891c0e9c65a6c91bb2241e5d1ab5ddcc446', class: { 'tet-expansion-panel': true, 'open': this.state === 'open' } }, h("div", { key: 'd2c7e42165d885ee0a51598256d8aa4ca8ea87f1', class: "tet-expansion-panel-content" }, h("slot", { key: '40431b6459fd0b51faa5bdb79c4a25bc6809efd6' }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "tet-expansion-panel"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -139,7 +139,7 @@ export class TetNotification {
|
|
|
139
139
|
}
|
|
140
140
|
render() {
|
|
141
141
|
const { headerTitle, content } = this;
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: 'efa67f7e8b555f0f053c69670ba6f1c5716f2fc2' }, h("div", { key: '2ddbea009b1bc10d25ad33398c2b8cf72039430d', class: { notification: true, [this.theme]: true } }, h("div", { key: 'afecc526210edace51372048789563d8be31d66e', class: { item: true, [this.type]: true } }, h("div", { key: '7043672aab0018f256cbca05131575d53e7919f8', class: "header" }, this.renderTypeIcon(), h("div", { key: 'd2ff63484568f43236b3b6290579d3eb966bc2a2', class: "title" }, headerTitle), this.renderCloseButton()), h("div", { key: '6edfc3d324c33ed9135cb2439b917101bfed94f9', class: "content" }, h("span", { key: '47833d896791fc902ea226b16d0b32b630657f1e', innerHTML: content }), h("div", { key: 'ec460cf577b13b28e98ee5329ae0ba31603b22fc' }, h("slot", { key: '5cdf5afbec83616ff2c9017594d654b5e95b0306', name: "button" })))))));
|
|
143
143
|
}
|
|
144
144
|
static get is() { return "tet-notification"; }
|
|
145
145
|
static get encapsulation() { return "shadow"; }
|
|
@@ -438,7 +438,7 @@ export class TetTooltip {
|
|
|
438
438
|
return (h("div", { class: { tooltip: true, [`${this.theme}`]: true }, role: "tooltip", "aria-hidden": this.showTooltip ? 'false' : 'true', "aria-live": this.showTooltip ? 'polite' : undefined }, h("div", { class: "tooltip-pointer", ref: (el) => (this.tooltipPointer = el) }), h("slot", null)));
|
|
439
439
|
};
|
|
440
440
|
render() {
|
|
441
|
-
return h(Host, { key: '
|
|
441
|
+
return h(Host, { key: '79928506f2183fa0ab3b9b8821c3eadb7ac6b3ea', class: { visible: this.showTooltip } }, this.renderTooltip());
|
|
442
442
|
}
|
|
443
443
|
static get is() { return "tet-tooltip"; }
|
|
444
444
|
static get encapsulation() { return "shadow"; }
|
|
@@ -175,7 +175,7 @@ export class TetAddressOffersView {
|
|
|
175
175
|
return h(Fragment, null);
|
|
176
176
|
}
|
|
177
177
|
render() {
|
|
178
|
-
return (h(Host, { key: '
|
|
178
|
+
return (h(Host, { key: 'b1605644da3f81743b0f668ba0fb553ee368bf5e' }, this.renderContactForm(), this.renderHeader(), this.address && this.renderBody()));
|
|
179
179
|
}
|
|
180
180
|
static get is() { return "tet-address-offers-view"; }
|
|
181
181
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/views/tet-address-offers-view-v2/tet-address-offers-view-v2.js
CHANGED
|
@@ -51,11 +51,11 @@ export class TetAddressOffersViewV2 {
|
|
|
51
51
|
render() {
|
|
52
52
|
const showForm = this.showContactForm || this.catalogEmpty;
|
|
53
53
|
const bannerImage = this.heroImage || getAssetPath('assets/banner.webp');
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'a822488b1975bb3c12f6b8e436959aae0438268e' }, h("div", { key: 'd6381cc2aa9dd6af625273ac63fb7ffb17eab53d', class: "page" }, h("section", { key: '4ffb38e78790229d3ae90d6284b7fb625066b4d1', class: "search-banner", style: { backgroundImage: `linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.15)), url('${bannerImage}')` } }, h("h1", { key: '5f020552680400a897ea7d32c52a24c4da7379d0', class: "search-banner-title" }, t('components-address-offers-view-v2-title')), h("tet-address-search", { key: '70fd03c8d6aa53a11f39fcbdc5ed714314a18b61', class: "address-search", redesignedStyle: true, alwaysExpanded: true, addressKey: this.addressKey, language: this.language, theme: this.theme, searchButtonText: t('components-address-offers-view-check'), onAddressSelected: (event) => this.onAddressSelected(event.detail), onSearchSubmitted: this.submitAddress, onClearInputField: () => {
|
|
55
55
|
this.selectedAddress = undefined;
|
|
56
56
|
this.activeAddressKey = undefined;
|
|
57
57
|
this.catalogEmpty = false;
|
|
58
|
-
} })), this.activeAddressKey && (h("tet-address-offers-v2", { key: '
|
|
58
|
+
} })), this.activeAddressKey && (h("tet-address-offers-v2", { key: '3696d526e4cf95773c1a4c897c7cbfed4f94712f', addressKey: this.activeAddressKey, catalog: this.catalog, assemblerScenarios: this.assemblerScenarios, displayedContractTerms: this.displayedContractTerms, language: this.language, theme: this.theme, onEmptyCatalog: () => { this.catalogEmpty = true; } })), h("slot", { key: '19276acfa5e2518d742636794c3d9aa13c02c786', name: "lead-form" }), showForm && this.callCenterTaskOptions && (h("tet-availability-contact-form", { key: '8e0e23ad75aa2ff983fdb68b9f4d5ba86ad1d080', taskOptions: this.callCenterTaskOptions, language: this.language, showAvailabilityContactForm: true })))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "tet-address-offers-view-v2"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -62,8 +62,9 @@
|
|
|
62
62
|
:host {
|
|
63
63
|
--tv-channel-picker-text-primary-color: var(--tc-text-primary);
|
|
64
64
|
--tv-channel-picker-button-background-color: var(--tc-layer-grey-primary);
|
|
65
|
-
--tv-channel-picker-button-
|
|
66
|
-
--tv-channel-picker-button-active-background-color: var(--tc-layer-grey-
|
|
65
|
+
--tv-channel-picker-button-pressed-background-color: var(--tc-layer-grey-tertiary);
|
|
66
|
+
--tv-channel-picker-button-active-background-color: var(--tc-layer-grey-secondary);
|
|
67
|
+
--tv-channel-picker-button-underline-color: var(--tc-layer-permanent-yellow);
|
|
67
68
|
--tv-channel-picker-focus-outline-color: var(--tc-blue-40);
|
|
68
69
|
--tv-channel-picker-gradient-color: var(--tc-background-primary);
|
|
69
70
|
display: block;
|
|
@@ -73,8 +74,9 @@
|
|
|
73
74
|
:host([theme=dark]) {
|
|
74
75
|
--tv-channel-picker-text-primary-color: var(--tc-text-primary-dark);
|
|
75
76
|
--tv-channel-picker-button-background-color: var(--tc-layer-grey-primary-dark);
|
|
76
|
-
--tv-channel-picker-button-
|
|
77
|
-
--tv-channel-picker-button-active-background-color: var(--tc-layer-grey-
|
|
77
|
+
--tv-channel-picker-button-pressed-background-color: var(--tc-layer-grey-tertiary-dark);
|
|
78
|
+
--tv-channel-picker-button-active-background-color: var(--tc-layer-grey-secondary-dark);
|
|
79
|
+
--tv-channel-picker-button-underline-color: var(--tc-layer-permanent-yellow-dark);
|
|
78
80
|
--tv-channel-picker-focus-outline-color: var(--tc-blue-40-dark);
|
|
79
81
|
--tv-channel-picker-gradient-color: var(--tc-background-primary-dark);
|
|
80
82
|
}
|
|
@@ -120,6 +122,17 @@
|
|
|
120
122
|
scrollbar-width: none;
|
|
121
123
|
-webkit-user-select: none;
|
|
122
124
|
user-select: none;
|
|
125
|
+
padding-inline: 1rem;
|
|
126
|
+
}
|
|
127
|
+
@media screen and (min-width: 31.25rem) {
|
|
128
|
+
.tv-channel-picker__list {
|
|
129
|
+
padding-inline: 2rem;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
@media screen and (min-width: 48rem) {
|
|
133
|
+
.tv-channel-picker__list {
|
|
134
|
+
padding-inline: 0;
|
|
135
|
+
}
|
|
123
136
|
}
|
|
124
137
|
.tv-channel-picker__list--dragging {
|
|
125
138
|
scroll-behavior: auto;
|
|
@@ -177,10 +190,10 @@
|
|
|
177
190
|
color: var(--tv-channel-picker-text-primary-color);
|
|
178
191
|
background-color: var(--tv-channel-picker-button-background-color);
|
|
179
192
|
}
|
|
180
|
-
.tv-channel-picker__button:
|
|
181
|
-
background-color: var(--tv-channel-picker-button-
|
|
193
|
+
.tv-channel-picker__button:active {
|
|
194
|
+
background-color: var(--tv-channel-picker-button-pressed-background-color);
|
|
182
195
|
}
|
|
183
|
-
.tv-channel-picker__button
|
|
196
|
+
.tv-channel-picker__button[aria-pressed=true] {
|
|
184
197
|
background-color: var(--tv-channel-picker-button-active-background-color);
|
|
185
198
|
}
|
|
186
199
|
.tv-channel-picker__button:disabled {
|
|
@@ -196,5 +209,5 @@
|
|
|
196
209
|
.tv-channel-picker__button-underline {
|
|
197
210
|
height: 0.25rem;
|
|
198
211
|
border-radius: 0.5rem;
|
|
199
|
-
background-color: var(--tv-channel-picker-button-
|
|
212
|
+
background-color: var(--tv-channel-picker-button-underline-color);
|
|
200
213
|
}
|
|
@@ -7,13 +7,14 @@ export class TetTvProgramChannelPicker {
|
|
|
7
7
|
theme = 'light';
|
|
8
8
|
/** Channels available for selection. Channel IDs must be unique. */
|
|
9
9
|
channels = [];
|
|
10
|
+
/** Selected channel ID. Defaults to the first channel when missing or unavailable. */
|
|
11
|
+
selectedChannel;
|
|
10
12
|
/** Disables channel selection and navigation while allowing scrolling. */
|
|
11
13
|
disabled = false;
|
|
12
14
|
/** Shows placeholder items while the parent fetches channels. */
|
|
13
15
|
loading = false;
|
|
14
16
|
/** Shows full-height gradients at both edges of the channel list. */
|
|
15
17
|
showGradients = false;
|
|
16
|
-
selectedChannel;
|
|
17
18
|
focusedChannel;
|
|
18
19
|
failedImageSources = [];
|
|
19
20
|
visibleChannelIds = [];
|
|
@@ -21,40 +22,13 @@ export class TetTvProgramChannelPicker {
|
|
|
21
22
|
canScrollRight = false;
|
|
22
23
|
/** Emitted when the user selects a different channel, with its ID. */
|
|
23
24
|
channelSelected;
|
|
25
|
+
imageObservations = new Map();
|
|
24
26
|
channelList;
|
|
25
27
|
renderedSelectedChannel;
|
|
26
28
|
renderedLoading = false;
|
|
27
29
|
drag;
|
|
28
30
|
suppressChannelClick = false;
|
|
29
31
|
resizeObserver;
|
|
30
|
-
imageObservations = new Map();
|
|
31
|
-
onThemeChange() {
|
|
32
|
-
this.visibleChannelIds = [];
|
|
33
|
-
for (const stop of this.imageObservations.values()) {
|
|
34
|
-
stop();
|
|
35
|
-
}
|
|
36
|
-
this.imageObservations.clear();
|
|
37
|
-
}
|
|
38
|
-
onChannelsChange() {
|
|
39
|
-
const channelIds = new Set(this.channels.map(channel => channel.id));
|
|
40
|
-
this.visibleChannelIds = this.visibleChannelIds.filter(id => channelIds.has(id));
|
|
41
|
-
if (!this.channels.some(channel => channel.id === this.selectedChannel)) {
|
|
42
|
-
this.selectedChannel = this.channels[0]?.id;
|
|
43
|
-
}
|
|
44
|
-
if (!this.channels.some(channel => channel.id === this.focusedChannel)) {
|
|
45
|
-
this.focusedChannel = undefined;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
/** Selects a channel by ID. Missing or unknown IDs select the first channel. Does not emit channelSelected. */
|
|
49
|
-
async setChannel(id) {
|
|
50
|
-
const nextChannel = this.channels.find(channel => channel.id === id) ?? this.channels[0];
|
|
51
|
-
if (nextChannel?.id === this.selectedChannel) {
|
|
52
|
-
this.centerChannel();
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
this.selectedChannel = nextChannel?.id;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
32
|
connectedCallback() {
|
|
59
33
|
if (this.channelList) {
|
|
60
34
|
this.resizeObserver?.observe(this.channelList);
|
|
@@ -83,7 +57,7 @@ export class TetTvProgramChannelPicker {
|
|
|
83
57
|
if (selectionChanged || channelsBecameVisible) {
|
|
84
58
|
this.centerChannel();
|
|
85
59
|
}
|
|
86
|
-
this.updateScrollEdges();
|
|
60
|
+
queueMicrotask(() => this.updateScrollEdges());
|
|
87
61
|
this.observeChannelImages();
|
|
88
62
|
}
|
|
89
63
|
disconnectedCallback() {
|
|
@@ -97,6 +71,33 @@ export class TetTvProgramChannelPicker {
|
|
|
97
71
|
}
|
|
98
72
|
this.suppressChannelClick = false;
|
|
99
73
|
}
|
|
74
|
+
onThemeChange() {
|
|
75
|
+
this.visibleChannelIds = [];
|
|
76
|
+
for (const stop of this.imageObservations.values()) {
|
|
77
|
+
stop();
|
|
78
|
+
}
|
|
79
|
+
this.imageObservations.clear();
|
|
80
|
+
}
|
|
81
|
+
onChannelsChange() {
|
|
82
|
+
const channelIds = new Set(this.channels.map(channel => channel.id));
|
|
83
|
+
this.visibleChannelIds = this.visibleChannelIds.filter(id => channelIds.has(id));
|
|
84
|
+
if (!this.channels.some(channel => channel.id === this.selectedChannel)) {
|
|
85
|
+
this.selectedChannel = this.channels[0]?.id;
|
|
86
|
+
}
|
|
87
|
+
if (!this.channels.some(channel => channel.id === this.focusedChannel)) {
|
|
88
|
+
this.focusedChannel = undefined;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
/** Selects a channel by ID. Missing or unknown IDs select the first channel. Does not emit channelSelected. */
|
|
92
|
+
async setChannel(id) {
|
|
93
|
+
const nextChannel = this.channels.find(channel => channel.id === id) ?? this.channels[0];
|
|
94
|
+
if (nextChannel?.id === this.selectedChannel) {
|
|
95
|
+
this.centerChannel();
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
this.selectedChannel = nextChannel?.id;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
100
101
|
handlePointerDown(event) {
|
|
101
102
|
this.suppressChannelClick = false;
|
|
102
103
|
if (event.pointerType === 'mouse' && event.button === 0 && this.channelList) {
|
|
@@ -246,12 +247,12 @@ export class TetTvProgramChannelPicker {
|
|
|
246
247
|
});
|
|
247
248
|
}
|
|
248
249
|
render() {
|
|
249
|
-
return (h(Host, { key: '
|
|
250
|
+
return (h(Host, { key: '8e7b35a4998e34008c283b328a5cfe7ec2e969b7' }, h("div", { key: '043d490ec8280e64a11d36fc3ea0a15e40528609', class: {
|
|
250
251
|
'tv-channel-picker': true,
|
|
251
252
|
'tv-channel-picker--gradients': this.showGradients,
|
|
252
253
|
'tv-channel-picker--gradient-left': this.showGradients && this.canScrollLeft,
|
|
253
254
|
'tv-channel-picker--gradient-right': this.showGradients && this.canScrollRight,
|
|
254
|
-
} }, h("ul", { key: '
|
|
255
|
+
} }, h("ul", { key: 'abf60cc7e85d5f58f9b6d6ad186480553f03fd89', class: "tv-channel-picker__list", tabIndex: -1, "aria-busy": this.loading ? 'true' : 'false', ref: element => { this.channelList = element; }, onScroll: () => this.updateScrollEdges(), onFocusout: event => this.handleFocusOut(event), onPointerDown: event => this.handlePointerDown(event), onPointerMove: event => this.handlePointerMove(event), onPointerUp: event => this.handlePointerEnd(event.pointerId), onPointerCancel: event => this.handlePointerEnd(event.pointerId), onLostPointerCapture: event => this.handlePointerEnd(event.pointerId) }, this.loading ? this.renderChannelPlaceholders() : this.renderChannelButtons()))));
|
|
255
256
|
}
|
|
256
257
|
static get is() { return "tet-tv-program-channel-picker"; }
|
|
257
258
|
static get encapsulation() { return "shadow"; }
|
|
@@ -291,13 +292,14 @@ export class TetTvProgramChannelPicker {
|
|
|
291
292
|
"type": "unknown",
|
|
292
293
|
"mutable": false,
|
|
293
294
|
"complexType": {
|
|
294
|
-
"original": "
|
|
295
|
-
"resolved": "
|
|
295
|
+
"original": "TvProgramChannelPickerChannel[]",
|
|
296
|
+
"resolved": "TvProgramChannelPickerChannel[]",
|
|
296
297
|
"references": {
|
|
297
|
-
"
|
|
298
|
-
"location": "
|
|
299
|
-
"path": "
|
|
300
|
-
"id": "src/components/views/tet-tv-program/
|
|
298
|
+
"TvProgramChannelPickerChannel": {
|
|
299
|
+
"location": "import",
|
|
300
|
+
"path": "../../tet-tv-program.types",
|
|
301
|
+
"id": "src/components/views/tet-tv-program/tet-tv-program.types.ts::TvProgramChannelPickerChannel",
|
|
302
|
+
"referenceLocation": "TvProgramChannelPickerChannel"
|
|
301
303
|
}
|
|
302
304
|
}
|
|
303
305
|
},
|
|
@@ -311,6 +313,25 @@ export class TetTvProgramChannelPicker {
|
|
|
311
313
|
"setter": false,
|
|
312
314
|
"defaultValue": "[]"
|
|
313
315
|
},
|
|
316
|
+
"selectedChannel": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"mutable": true,
|
|
319
|
+
"complexType": {
|
|
320
|
+
"original": "string",
|
|
321
|
+
"resolved": "string",
|
|
322
|
+
"references": {}
|
|
323
|
+
},
|
|
324
|
+
"required": false,
|
|
325
|
+
"optional": true,
|
|
326
|
+
"docs": {
|
|
327
|
+
"tags": [],
|
|
328
|
+
"text": "Selected channel ID. Defaults to the first channel when missing or unavailable."
|
|
329
|
+
},
|
|
330
|
+
"getter": false,
|
|
331
|
+
"setter": false,
|
|
332
|
+
"reflect": false,
|
|
333
|
+
"attribute": "selected-channel"
|
|
334
|
+
},
|
|
314
335
|
"disabled": {
|
|
315
336
|
"type": "boolean",
|
|
316
337
|
"mutable": false,
|
|
@@ -375,7 +396,6 @@ export class TetTvProgramChannelPicker {
|
|
|
375
396
|
}
|
|
376
397
|
static get states() {
|
|
377
398
|
return {
|
|
378
|
-
"selectedChannel": {},
|
|
379
399
|
"focusedChannel": {},
|
|
380
400
|
"failedImageSources": {},
|
|
381
401
|
"visibleChannelIds": {},
|
|
@@ -59,37 +59,48 @@
|
|
|
59
59
|
margin: 0;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
:host {
|
|
63
|
+
--tv-program-navigation-button-background-color: var(--tc-layer-grey-primary);
|
|
64
|
+
--tv-program-navigation-button-hover-background-color: var(--tc-layer-grey-secondary);
|
|
65
|
+
--tv-program-navigation-button-pressed-background-color: var(--tc-layer-grey-tertiary);
|
|
66
|
+
--tv-program-navigation-button-focus-outline-color: var(--tc-blue-40);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
:host([theme=dark]) {
|
|
70
|
+
--tv-program-navigation-button-background-color: var(--tc-layer-grey-primary-dark);
|
|
71
|
+
--tv-program-navigation-button-hover-background-color: var(--tc-layer-grey-secondary-dark);
|
|
72
|
+
--tv-program-navigation-button-pressed-background-color: var(--tc-layer-grey-tertiary-dark);
|
|
73
|
+
--tv-program-navigation-button-focus-outline-color: var(--tc-blue-40-dark);
|
|
74
|
+
}
|
|
75
|
+
|
|
62
76
|
:host {
|
|
63
77
|
--tv-date-picker-text-primary-color: var(--tc-text-primary);
|
|
64
78
|
--tv-date-picker-text-permanent-black-color: var(--tc-text-black-permanent);
|
|
65
|
-
--tv-date-picker-main-background-color: var(--
|
|
66
|
-
--tv-date-picker-button-hover-background-color: var(--tc-button-secondary-background-hover);
|
|
67
|
-
--tv-date-picker-button-pressed-background-color: var(--tc-button-secondary-background-pressed);
|
|
79
|
+
--tv-date-picker-main-background-color: var(--tv-program-navigation-button-background-color);
|
|
68
80
|
--tv-date-picker-button-active-background-color: var(--tc-button-primary-yellow-background-default);
|
|
69
|
-
--tv-date-picker-
|
|
81
|
+
--tv-date-picker-button-active-box-shadow: var(--tc-elevation-one);
|
|
70
82
|
display: block;
|
|
71
|
-
min-height:
|
|
83
|
+
min-height: 2.75rem;
|
|
72
84
|
}
|
|
73
85
|
|
|
74
86
|
:host([theme=dark]) {
|
|
75
87
|
--tv-date-picker-text-primary-color: var(--tc-text-primary-dark);
|
|
76
88
|
--tv-date-picker-text-permanent-black-color: var(--tc-text-black-permanent-dark);
|
|
77
|
-
--tv-date-picker-main-background-color: var(--tc-layer-grey-primary-dark);
|
|
78
|
-
--tv-date-picker-button-hover-background-color: var(--tc-button-secondary-background-hover-dark);
|
|
79
|
-
--tv-date-picker-button-pressed-background-color: var(--tc-button-secondary-background-pressed-dark);
|
|
80
89
|
--tv-date-picker-button-active-background-color: var(--tc-button-primary-yellow-background-default-dark);
|
|
81
|
-
--tv-date-picker-
|
|
90
|
+
--tv-date-picker-button-active-box-shadow: var(--tc-elevation-one-dark);
|
|
82
91
|
}
|
|
83
92
|
|
|
84
93
|
.tv-date-picker {
|
|
85
94
|
display: flex;
|
|
86
95
|
align-items: center;
|
|
87
96
|
max-width: 100%;
|
|
88
|
-
height:
|
|
97
|
+
height: 2.75rem;
|
|
89
98
|
}
|
|
90
99
|
@media screen and (min-width: 48rem) {
|
|
91
100
|
.tv-date-picker {
|
|
101
|
+
height: 3.75rem;
|
|
92
102
|
border-radius: 1.875rem;
|
|
103
|
+
padding-inline: 0.5rem;
|
|
93
104
|
background-color: var(--tv-date-picker-main-background-color);
|
|
94
105
|
}
|
|
95
106
|
}
|
|
@@ -97,21 +108,23 @@
|
|
|
97
108
|
align-items: center;
|
|
98
109
|
border: none;
|
|
99
110
|
cursor: pointer;
|
|
111
|
+
background-color: var(--tv-program-navigation-button-background-color);
|
|
100
112
|
color: var(--tv-date-picker-text-primary-color);
|
|
101
|
-
background-color: var(--tv-date-picker-main-background-color);
|
|
102
113
|
}
|
|
103
114
|
.tv-date-picker__button:hover {
|
|
104
|
-
background-color: var(--tv-
|
|
115
|
+
background-color: var(--tv-program-navigation-button-hover-background-color);
|
|
105
116
|
}
|
|
106
117
|
.tv-date-picker__button:active {
|
|
107
|
-
background-color: var(--tv-
|
|
118
|
+
background-color: var(--tv-program-navigation-button-pressed-background-color);
|
|
108
119
|
}
|
|
109
120
|
.tv-date-picker__button:disabled {
|
|
110
121
|
pointer-events: none;
|
|
111
122
|
}
|
|
112
123
|
.tv-date-picker__button:focus-visible {
|
|
113
|
-
outline: 0.125rem solid var(--tv-
|
|
124
|
+
outline: 0.125rem solid var(--tv-program-navigation-button-focus-outline-color);
|
|
114
125
|
outline-offset: 0.125rem;
|
|
126
|
+
}
|
|
127
|
+
.tv-date-picker__button:focus-visible {
|
|
115
128
|
z-index: 1;
|
|
116
129
|
}
|
|
117
130
|
.tv-date-picker__list {
|
|
@@ -122,21 +135,27 @@
|
|
|
122
135
|
justify-content: safe center;
|
|
123
136
|
gap: var(--date-gap);
|
|
124
137
|
min-width: 0;
|
|
125
|
-
padding: 0.
|
|
126
|
-
margin-
|
|
138
|
+
padding-block: 0.25rem;
|
|
139
|
+
margin-block: -0.25rem;
|
|
140
|
+
padding-inline: 1rem;
|
|
127
141
|
overflow-x: auto;
|
|
128
142
|
scroll-behavior: smooth;
|
|
129
143
|
scrollbar-width: none;
|
|
130
144
|
-webkit-user-select: none;
|
|
131
145
|
user-select: none;
|
|
132
146
|
}
|
|
147
|
+
@media screen and (min-width: 31.25rem) {
|
|
148
|
+
.tv-date-picker__list {
|
|
149
|
+
padding-inline: 2rem;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
133
152
|
@media screen and (min-width: 48rem) {
|
|
134
153
|
.tv-date-picker__list {
|
|
135
154
|
--visible-dates: 3;
|
|
136
155
|
display: grid;
|
|
137
156
|
grid-auto-flow: column;
|
|
138
157
|
grid-auto-columns: calc((100% - (var(--visible-dates) - 1) * var(--date-gap)) / var(--visible-dates));
|
|
139
|
-
padding: 0.5rem;
|
|
158
|
+
padding: 0.375rem 0.5rem;
|
|
140
159
|
margin-inline: 0;
|
|
141
160
|
scroll-snap-type: x mandatory;
|
|
142
161
|
scroll-padding-inline: 0.5rem;
|
|
@@ -164,29 +183,20 @@
|
|
|
164
183
|
display: none;
|
|
165
184
|
}
|
|
166
185
|
.tv-date-picker__button--nav {
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
justify-content: center;
|
|
189
|
+
padding: 0.875rem;
|
|
190
|
+
border-radius: 50%;
|
|
167
191
|
display: none;
|
|
168
|
-
height: 100%;
|
|
169
192
|
}
|
|
170
193
|
@media screen and (min-width: 48rem) {
|
|
171
194
|
.tv-date-picker__button--nav {
|
|
172
195
|
display: flex;
|
|
173
196
|
}
|
|
174
197
|
}
|
|
175
|
-
.tv-date-picker__button--nav-left {
|
|
176
|
-
border-top-left-radius: 1.875rem;
|
|
177
|
-
border-bottom-left-radius: 1.875rem;
|
|
178
|
-
padding-inline: 1.5rem 1rem;
|
|
179
|
-
}
|
|
180
|
-
.tv-date-picker__button--nav-right {
|
|
181
|
-
border-top-right-radius: 1.875rem;
|
|
182
|
-
border-bottom-right-radius: 1.875rem;
|
|
183
|
-
padding-inline: 1rem 1.5rem;
|
|
184
|
-
}
|
|
185
|
-
.tv-date-picker__button--nav:focus-visible {
|
|
186
|
-
outline-offset: -0.125rem;
|
|
187
|
-
}
|
|
188
198
|
.tv-date-picker__nav-button-icon {
|
|
189
|
-
--icon-size: 1.
|
|
199
|
+
--icon-size: 1.25rem;
|
|
190
200
|
}
|
|
191
201
|
.tv-date-picker__item {
|
|
192
202
|
list-style: none;
|
|
@@ -197,6 +207,10 @@
|
|
|
197
207
|
scroll-snap-align: start;
|
|
198
208
|
}
|
|
199
209
|
}
|
|
210
|
+
.tv-date-picker__button-label {
|
|
211
|
+
display: block;
|
|
212
|
+
overflow: hidden;
|
|
213
|
+
}
|
|
200
214
|
@media screen and (min-width: 64rem) {
|
|
201
215
|
.tv-date-picker__date {
|
|
202
216
|
display: block;
|
|
@@ -209,19 +223,21 @@
|
|
|
209
223
|
}
|
|
210
224
|
.tv-date-picker__button--date {
|
|
211
225
|
font: 500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
|
|
212
|
-
padding-inline: 1.
|
|
226
|
+
padding-inline: 1.25rem;
|
|
213
227
|
border-radius: 1.5rem;
|
|
214
|
-
height: 2.
|
|
228
|
+
height: 2.75rem;
|
|
215
229
|
white-space: nowrap;
|
|
230
|
+
line-height: 1.25;
|
|
216
231
|
}
|
|
217
232
|
@media screen and (min-width: 48rem) {
|
|
218
233
|
.tv-date-picker__button--date {
|
|
219
|
-
font: 500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
220
234
|
width: 100%;
|
|
221
|
-
|
|
235
|
+
height: 3rem;
|
|
236
|
+
padding-inline: 1.25rem;
|
|
222
237
|
}
|
|
223
238
|
}
|
|
224
239
|
.tv-date-picker__button--date[aria-pressed=true] {
|
|
225
240
|
color: var(--tv-date-picker-text-permanent-black-color);
|
|
226
241
|
background-color: var(--tv-date-picker-button-active-background-color);
|
|
242
|
+
box-shadow: var(--tv-date-picker-button-active-box-shadow);
|
|
227
243
|
}
|