@tet/tet-components 1.3.157-testing → 1.4.0-staging
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/{address-5271d3aa.js → address-b695d769.js} +1 -1
- package/dist/cjs/{assets-e3bb045c.js → assets-39f8cd2c.js} +1 -1
- package/dist/cjs/{async-request-29b32d63.js → async-request-77d8e0b8.js} +27 -26
- package/dist/cjs/compare-cards-tab-products-filters-10b06fe0.js +100 -0
- package/dist/cjs/{http-codes-2f72a8b2.js → http-codes-38914116.js} +25 -19
- package/dist/cjs/{index-f559cb2e.js → index-28359ea5.js} +1672 -1598
- package/dist/cjs/{index-84ede372.js → index-bf7cfd19.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{phone-d414fe5a.js → phone-ed64bd26.js} +8 -6
- package/dist/cjs/{product-comparison-f784fb1b.js → product-comparison-ae2ccae4.js} +1 -1
- package/dist/cjs/{tasks-af99ad61.js → tasks-57ad40ae.js} +2 -2
- package/dist/cjs/tet-accordion_2.cjs.entry.js +62 -46
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +249 -232
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +43 -35
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +343 -313
- package/dist/cjs/tet-address-search.cjs.entry.js +175 -167
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +106 -95
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +40 -30
- package/dist/cjs/tet-autocomplete.cjs.entry.js +203 -190
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +280 -241
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +396 -378
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +28 -28
- package/dist/cjs/tet-banner-nav.cjs.entry.js +23 -11
- package/dist/cjs/tet-bar-graph.cjs.entry.js +222 -215
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +38 -32
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +18 -11
- package/dist/cjs/tet-business-lines.cjs.entry.js +25 -26
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +10 -10
- package/dist/cjs/tet-button.cjs.entry.js +9 -9
- package/dist/cjs/tet-card-list.cjs.entry.js +557 -530
- package/dist/cjs/tet-carousel.cjs.entry.js +180 -184
- package/dist/cjs/tet-checkbox.cjs.entry.js +15 -11
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +30 -4
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +132 -124
- package/dist/cjs/tet-colors.cjs.entry.js +42 -42
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +51 -49
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +29 -28
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +41 -34
- package/dist/cjs/tet-components.cjs.js +3 -3
- package/dist/cjs/tet-contact-form.cjs.entry.js +55 -46
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +62 -58
- package/dist/cjs/tet-customer-assets.cjs.entry.js +90 -85
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +202 -187
- package/dist/cjs/tet-datepicker.cjs.entry.js +35 -30
- package/dist/cjs/tet-dialog.cjs.entry.js +41 -35
- package/dist/cjs/tet-dropdown_2.cjs.entry.js +137 -115
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +68 -71
- package/dist/cjs/tet-expandable-input.cjs.entry.js +97 -80
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +17 -19
- package/dist/cjs/tet-filter.cjs.entry.js +26 -11
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +25 -24
- package/dist/cjs/tet-inline-message.cjs.entry.js +7 -7
- package/dist/cjs/tet-input.cjs.entry.js +47 -37
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +50 -23
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +13 -14
- package/dist/cjs/tet-menu.cjs.entry.js +4 -5
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +86 -72
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +19 -15
- package/dist/cjs/tet-news-card-list.cjs.entry.js +35 -36
- package/dist/cjs/tet-number-input.cjs.entry.js +56 -42
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-radio.cjs.entry.js +11 -7
- package/dist/cjs/tet-range-slider.cjs.entry.js +632 -620
- package/dist/cjs/tet-referral.cjs.entry.js +30 -26
- package/dist/cjs/tet-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +16 -16
- package/dist/cjs/tet-stepper-input.cjs.entry.js +32 -26
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +28 -29
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +20 -21
- package/dist/cjs/tet-stepper.cjs.entry.js +62 -63
- package/dist/cjs/tet-switch.cjs.entry.js +4 -2
- package/dist/cjs/tet-tab-header.cjs.entry.js +68 -65
- package/dist/cjs/tet-table.cjs.entry.js +132 -138
- package/dist/cjs/tet-tag_2.cjs.entry.js +11 -11
- package/dist/cjs/tet-text-list.cjs.entry.js +12 -4
- package/dist/cjs/tet-textarea.cjs.entry.js +14 -14
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +36 -33
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +36 -33
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +52 -46
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +15 -15
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +15 -15
- package/dist/cjs/{theme-wrapper-a5bbadf6.js → theme-wrapper-6ae60d67.js} +2 -2
- package/dist/cjs/{translations-ed68775f.js → translations-2637e1f9.js} +52 -51
- package/dist/cjs/{utils-ac9be2ff.js → utils-1f67c4b7.js} +23 -8
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/advanced/address/tet-address-offers/tet-address-offers.js +108 -101
- package/dist/collection/components/advanced/address/tet-address-offers-filters/address-offers-filters.js +128 -129
- package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +17 -17
- package/dist/collection/components/advanced/address/tet-address-offers-filters-products/address-offers-products-filters.js +90 -89
- package/dist/collection/components/advanced/address/tet-address-offers-filters-products/tet-address-offers-filters-products.js +33 -19
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +171 -163
- package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.js +203 -206
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +39 -29
- package/dist/collection/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.js +75 -62
- package/dist/collection/components/advanced/cards/tet-business-card/tet-business-card.js +40 -30
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +17 -10
- package/dist/collection/components/advanced/cards/tet-business-summary-card/tet-business-summary-card.js +38 -32
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +356 -337
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.js +125 -119
- package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.js +51 -45
- package/dist/collection/components/advanced/cards/tet-compare-cards/tet-compare-cards.js +21 -15
- package/dist/collection/components/advanced/cards/tet-compare-cards-tab/compare-cards-tab-products-filters.js +89 -88
- package/dist/collection/components/advanced/cards/tet-compare-cards-tab/tet-compare-cards-tab.js +25 -22
- package/dist/collection/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.js +67 -70
- package/dist/collection/components/advanced/cards/utils.js +23 -8
- package/dist/collection/components/advanced/customer/tet-asset-addresses/tet-asset-addresses.js +103 -92
- package/dist/collection/components/advanced/customer/tet-asset-availability-addresses/tet-asset-availability-addresses.js +29 -14
- package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +87 -82
- package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +24 -19
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +83 -69
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +54 -43
- package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +11 -3
- package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +49 -40
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +14 -13
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +15 -13
- package/dist/collection/components/basic/buttons/tet-button/tet-button.js +8 -8
- package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.js +14 -10
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +10 -6
- package/dist/collection/components/basic/buttons/tet-switch/tet-switch.js +3 -1
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +17 -13
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +67 -63
- package/dist/collection/components/basic/buttons/tet-tag-group/tet-tag-group.js +8 -8
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +177 -181
- package/dist/collection/components/basic/icon/tet-icon.js +23 -22
- package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +15 -14
- package/dist/collection/components/basic/steppers/tet-banner-nav/tet-banner-nav.js +20 -8
- package/dist/collection/components/basic/steppers/tet-business-round-stepper/tet-business-round-stepper.js +9 -9
- package/dist/collection/components/basic/steppers/tet-round-stepper/tet-round-stepper.js +4 -0
- package/dist/collection/components/basic/steppers/tet-stepper/tet-stepper.js +61 -62
- package/dist/collection/components/basic/steppers/tet-stepper-v2/tet-stepper-v2.js +27 -28
- package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.js +19 -20
- package/dist/collection/components/simple/filter/tet-filter/tet-filter.js +25 -10
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +20 -16
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +135 -132
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +20 -17
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +26 -21
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +34 -28
- package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.js +20 -8
- package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.js +99 -78
- package/dist/collection/components/simple/inputs/tet-input/tet-input.js +44 -34
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +55 -41
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +631 -618
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +29 -23
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +13 -13
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +37 -34
- package/dist/collection/components/simple/lists/tet-selection-list/tet-selection-list.js +61 -57
- package/dist/collection/components/simple/lists/tet-text-list/tet-text-list.js +14 -2
- package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.js +48 -45
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.js +3 -4
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.js +15 -12
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +18 -14
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +37 -20
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +16 -17
- package/dist/collection/components/simple/tables-and-graphs/tet-bar-graph/tet-bar-graph.js +222 -213
- package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +132 -136
- package/dist/collection/components/simple/text-blocks/tet-cloud-application-form-dialog/tet-cloud-application-form-dialog.js +27 -1
- package/dist/collection/components/simple/text-blocks/tet-dialog/tet-dialog.js +39 -31
- package/dist/collection/components/simple/text-blocks/tet-inline-message/tet-inline-message.js +6 -6
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +27 -23
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +119 -105
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +40 -32
- package/dist/collection/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/tet-b2b-configurator-cart.js +99 -88
- package/dist/collection/components/views/tet-b2b-configurator/tet-b2b-configurator.js +392 -373
- package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +25 -25
- package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +21 -22
- package/dist/collection/components/views/tet-cloud-configurator/tet-cloud-configurator.js +130 -120
- package/dist/collection/components/views/tet-macd-view/tet-macd-view.js +42 -13
- package/dist/collection/components/views/tet-price-view/tet-price-view.js +4 -2
- package/dist/collection/components/views/tet-thank-you-view/tet-thank-you-view.js +52 -44
- package/dist/collection/components/views/tet-thank-you-view-v2/tet-thank-you-view-v2.js +34 -29
- package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.js +34 -29
- package/dist/collection/config/bradcasting.js +1 -2
- package/dist/collection/config/endpoints.js +7 -5
- package/dist/collection/config/forms-portal.js +1 -2
- package/dist/collection/config/landing-pages.js +1 -2
- package/dist/collection/config/mytet-portal.js +1 -2
- package/dist/collection/docs/styling/colors/tet-colors.js +41 -41
- package/dist/collection/services/api/async-request.js +26 -25
- package/dist/collection/services/api/request.js +16 -11
- package/dist/collection/services/api/services/tv/tv-channel-count-parser.js +73 -74
- package/dist/collection/services/translations/translations-manager.js +46 -47
- package/dist/collection/services/translations/translations.js +1 -2
- package/dist/collection/services/translations/translations.store.js +2 -3
- package/dist/collection/services/utils/inertia-scroll.js +203 -191
- package/dist/collection/services/utils/object.js +5 -3
- package/dist/collection/services/validators/validators/e-mail.js +6 -5
- package/dist/collection/services/validators/validators/phone.js +6 -5
- package/dist/collection/services/validators/validators/required.js +2 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-35e72a2b.js → p-01f21691.js} +58 -44
- package/dist/components/{p-cec65d0a.js → p-02c55c0d.js} +121 -116
- package/dist/components/{p-7ddd71bd.js → p-08fbbbf9.js} +3 -3
- package/dist/components/{p-00c91e96.js → p-0e0dcb37.js} +2 -2
- package/dist/components/{p-639c9d1a.js → p-11a7865e.js} +80 -69
- package/dist/components/{p-ca66b4b1.js → p-12649d6e.js} +8 -6
- package/dist/components/{p-03177920.js → p-1278b6e9.js} +181 -173
- package/dist/components/{p-f18e5ae3.js → p-153245c0.js} +28 -23
- package/dist/components/{p-7b3c7bf1.js → p-243407f8.js} +4 -2
- package/dist/components/p-245f534d.js +869 -0
- package/dist/components/{p-856695a3.js → p-2630a661.js} +43 -37
- package/dist/components/{p-3fd7310f.js → p-269298f7.js} +1 -1
- package/dist/components/{p-50f207fd.js → p-27b54fb3.js} +54 -34
- package/dist/components/{p-53ca0a91.js → p-281300b4.js} +39 -23
- package/dist/components/{p-163de6e2.js → p-29df1df5.js} +23 -11
- package/dist/components/{p-42ff76b5.js → p-2c7320b5.js} +22 -18
- package/dist/components/{p-aca28e71.js → p-3444731e.js} +53 -52
- package/dist/components/{p-9a47b95f.js → p-35eefb16.js} +26 -26
- package/dist/components/{p-68f0e894.js → p-36c5e434.js} +10 -10
- package/dist/components/{p-9573f82c.js → p-392981a3.js} +41 -35
- package/dist/components/{p-965cea5b.js → p-39c66558.js} +137 -134
- package/dist/components/{p-9fe57fd0.js → p-3bb2ad44.js} +68 -65
- package/dist/components/{p-a188f09e.js → p-3e04ea5b.js} +11 -7
- package/dist/components/{p-eb54f5b9.js → p-4ae2dab9.js} +21 -18
- package/dist/components/{p-9bf262a8.js → p-52152f5b.js} +33 -27
- package/dist/components/{p-a0d406ca.js → p-549fe76f.js} +117 -72
- package/dist/components/{p-e707e73a.js → p-65770d46.js} +13 -5
- package/dist/components/{p-bb324278.js → p-68024f5b.js} +1 -1
- package/dist/components/{p-4d33055f.js → p-6bfd47c5.js} +117 -107
- package/dist/components/{p-a81e545d.js → p-6e8a8d28.js} +1 -1
- package/dist/components/{p-489ae3a0.js → p-6f4bf94f.js} +27 -26
- package/dist/components/{p-df1fe72c.js → p-754dce81.js} +47 -37
- package/dist/components/{p-5c8c2d8d.js → p-7dd65c3a.js} +1 -1
- package/dist/components/{p-6a2a81d8.js → p-85821f41.js} +104 -94
- package/dist/components/{p-817bee22.js → p-8b4a75b2.js} +12 -12
- package/dist/{esm/http-codes-7faa9f6e.js → components/p-94a1eb7a.js} +66 -59
- package/dist/components/{p-045bec85.js → p-98b10b48.js} +16 -16
- package/dist/components/{p-7790eae2.js → p-99823afc.js} +128 -126
- package/dist/components/{p-b0d6ed2e.js → p-9ee3e98b.js} +25 -24
- package/dist/components/{p-6847eb2d.js → p-a09504f7.js} +62 -63
- package/dist/components/{p-88b42c67.js → p-a15512ce.js} +63 -59
- package/dist/components/{p-6b7e73c0.js → p-bd9b1f18.js} +218 -202
- package/dist/components/{p-881093d4.js → p-bf642eca.js} +206 -194
- package/dist/components/{p-91651432.js → p-bfcce1dd.js} +1 -1
- package/dist/components/{p-21c5cfc4.js → p-c47caf67.js} +64 -53
- package/dist/components/{p-c1876db7.js → p-c7dba63e.js} +36 -21
- package/dist/components/{p-5dc5e13c.js → p-c8fc3c1f.js} +2 -2
- package/dist/components/{p-bd3402f6.js → p-c97d9f10.js} +17 -15
- package/dist/components/p-c996a768.js +169 -0
- package/dist/components/{p-37ed3ebb.js → p-c9d79ad4.js} +190 -135
- package/dist/components/{p-029ff2b3.js → p-d22e1c96.js} +24 -24
- package/dist/components/{p-0088d040.js → p-d7d60ba4.js} +16 -12
- package/dist/components/{p-00e689fb.js → p-d92a53ea.js} +1 -1
- package/dist/components/{p-e04716ac.js → p-da4e6cfb.js} +29 -30
- package/dist/components/{p-cb2daf20.js → p-dcf5c661.js} +25 -16
- package/dist/components/{p-04fe59fc.js → p-dcffa870.js} +50 -47
- package/dist/components/{p-616c71e1.js → p-e4f00545.js} +559 -532
- package/dist/components/{p-530ef38b.js → p-f44eb3d8.js} +4 -4
- package/dist/components/{p-144dffdc.js → p-f7bd56ce.js} +1 -1
- package/dist/components/{p-818742ad.js → p-f8ef72c1.js} +21 -22
- 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-view.js +65 -57
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-asset-addresses.js +116 -105
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +44 -34
- 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 +411 -393
- package/dist/components/tet-b2b-service-calculator.js +33 -33
- package/dist/components/tet-banner-nav.js +23 -11
- package/dist/components/tet-bar-graph.js +222 -215
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +38 -32
- package/dist/components/tet-business-compare-card.js +20 -13
- package/dist/components/tet-business-lines.js +26 -27
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +11 -11
- 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 +181 -185
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +35 -9
- package/dist/components/tet-cloud-configurator.js +140 -132
- package/dist/components/tet-colors.js +42 -42
- package/dist/components/tet-compare-card-v2.js +57 -55
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +40 -39
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +59 -50
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-customer-assets.js +95 -90
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +41 -36
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +71 -74
- package/dist/components/tet-expandable-input.js +99 -82
- package/dist/components/tet-expansion-panel.js +17 -19
- package/dist/components/tet-filter.js +29 -14
- 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 +8 -8
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +55 -28
- package/dist/components/tet-menu-mobile.js +14 -15
- package/dist/components/tet-menu.js +5 -6
- package/dist/components/tet-multi-step-dialog.js +88 -74
- package/dist/components/tet-navigation-mobile.js +20 -16
- package/dist/components/tet-news-card-list.js +38 -39
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +32 -28
- package/dist/components/tet-round-stepper.js +3 -3
- package/dist/components/tet-selection-list.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-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.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 +134 -140
- 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-textarea.js +14 -14
- package/dist/components/tet-thank-you-view-v2.js +38 -35
- package/dist/components/tet-thank-you-view-v3.js +38 -35
- package/dist/components/tet-thank-you-view.js +55 -49
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +15 -15
- package/dist/components/tet-tv-gift-list.js +16 -16
- package/dist/esm/{address-979a9993.js → address-1ff7cd1f.js} +1 -1
- package/dist/esm/{assets-b971f105.js → assets-79f78adb.js} +1 -1
- package/dist/esm/{async-request-6675e5f5.js → async-request-ab25480d.js} +27 -26
- package/dist/esm/compare-cards-tab-products-filters-79b7b7c6.js +98 -0
- package/dist/{components/p-6830b44d.js → esm/http-codes-eb08ff6f.js} +65 -60
- package/dist/esm/{index-1bf36cb9.js → index-8ebb7ad1.js} +1 -1
- package/dist/esm/{index-7f1e2a22.js → index-950abbb7.js} +1672 -1598
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{phone-99c2f297.js → phone-4b016684.js} +8 -6
- package/dist/esm/{product-comparison-830e2764.js → product-comparison-286ce057.js} +1 -1
- package/dist/esm/{tasks-3dfcc330.js → tasks-770dc32d.js} +2 -2
- package/dist/esm/tet-accordion_2.entry.js +62 -46
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +250 -233
- package/dist/esm/tet-address-offers-view.entry.js +44 -36
- package/dist/esm/tet-address-offers_4.entry.js +344 -314
- package/dist/esm/tet-address-search.entry.js +176 -168
- package/dist/esm/tet-asset-addresses.entry.js +106 -95
- package/dist/esm/tet-autocomplete-dropdown.entry.js +40 -30
- package/dist/esm/tet-autocomplete.entry.js +204 -191
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +281 -242
- package/dist/esm/tet-b2b-configurator.entry.js +397 -379
- package/dist/esm/tet-b2b-service-calculator.entry.js +29 -29
- package/dist/esm/tet-banner-nav.entry.js +24 -12
- package/dist/esm/tet-bar-graph.entry.js +222 -215
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +38 -32
- package/dist/esm/tet-business-compare-card.entry.js +18 -11
- package/dist/esm/tet-business-lines.entry.js +26 -27
- package/dist/esm/tet-business-round-stepper.entry.js +10 -10
- package/dist/esm/tet-button.entry.js +9 -9
- package/dist/esm/tet-card-list.entry.js +557 -530
- package/dist/esm/tet-carousel.entry.js +181 -185
- package/dist/esm/tet-checkbox.entry.js +15 -11
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +31 -5
- package/dist/esm/tet-cloud-configurator.entry.js +133 -125
- package/dist/esm/tet-colors.entry.js +42 -42
- package/dist/esm/tet-compare-card-v2.entry.js +51 -49
- package/dist/esm/tet-compare-cards-tab.entry.js +29 -28
- package/dist/esm/tet-compare-cards_2.entry.js +41 -34
- package/dist/esm/tet-components.js +4 -4
- package/dist/esm/tet-contact-form.entry.js +56 -47
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +63 -59
- package/dist/esm/tet-customer-assets.entry.js +90 -85
- package/dist/esm/tet-datepicker-header_4.entry.js +203 -188
- package/dist/esm/tet-datepicker.entry.js +36 -31
- package/dist/esm/tet-dialog.entry.js +42 -36
- package/dist/esm/tet-dropdown_2.entry.js +137 -115
- package/dist/esm/tet-dynamic-card.entry.js +68 -71
- package/dist/esm/tet-expandable-input.entry.js +97 -80
- package/dist/esm/tet-expansion-panel.entry.js +17 -19
- package/dist/esm/tet-filter.entry.js +26 -11
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +25 -24
- package/dist/esm/tet-inline-message.entry.js +7 -7
- package/dist/esm/tet-input.entry.js +48 -38
- package/dist/esm/tet-label.entry.js +4 -4
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +51 -24
- package/dist/esm/tet-menu-mobile.entry.js +13 -14
- package/dist/esm/tet-menu.entry.js +4 -5
- package/dist/esm/tet-multi-step-dialog.entry.js +87 -73
- package/dist/esm/tet-navigation-mobile.entry.js +19 -15
- package/dist/esm/tet-news-card-list.entry.js +35 -36
- package/dist/esm/tet-number-input.entry.js +56 -42
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +4 -4
- package/dist/esm/tet-radio.entry.js +11 -7
- package/dist/esm/tet-range-slider.entry.js +632 -620
- package/dist/esm/tet-referral.entry.js +31 -27
- package/dist/esm/tet-round-stepper.entry.js +2 -2
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +16 -16
- package/dist/esm/tet-stepper-input.entry.js +33 -27
- package/dist/esm/tet-stepper-v2.entry.js +28 -29
- package/dist/esm/tet-stepper-v3.entry.js +20 -21
- package/dist/esm/tet-stepper.entry.js +62 -63
- package/dist/esm/tet-switch.entry.js +4 -2
- package/dist/esm/tet-tab-header.entry.js +68 -65
- package/dist/esm/tet-table.entry.js +132 -138
- package/dist/esm/tet-tag_2.entry.js +12 -12
- package/dist/esm/tet-text-list.entry.js +12 -4
- package/dist/esm/tet-textarea.entry.js +14 -14
- package/dist/esm/tet-thank-you-view-v2.entry.js +37 -34
- package/dist/esm/tet-thank-you-view-v3.entry.js +37 -34
- package/dist/esm/tet-thank-you-view.entry.js +52 -46
- package/dist/esm/tet-tv-gift-block.entry.js +15 -15
- package/dist/esm/tet-tv-gift-list.entry.js +15 -15
- package/dist/esm/{theme-wrapper-6e6b2089.js → theme-wrapper-f83deed6.js} +2 -2
- package/dist/esm/{translations-eff34607.js → translations-baabae60.js} +53 -52
- package/dist/esm/{typecheck-31fd6c02.js → typecheck-4abf0258.js} +1 -1
- package/dist/esm/{utils-f8f08058.js → utils-c110a4b1.js} +23 -8
- package/dist/tet-components/{p-c7dbb16f.entry.js → p-0847a214.entry.js} +1 -1
- package/dist/tet-components/p-086f464e.entry.js +1 -0
- package/dist/tet-components/{p-eed2b508.entry.js → p-0ecbcf94.entry.js} +1 -1
- package/dist/tet-components/p-1215e5c0.entry.js +1 -0
- package/dist/tet-components/p-12649d6e.js +1 -0
- package/dist/tet-components/p-15cd7158.entry.js +1 -0
- package/dist/tet-components/p-203651e5.entry.js +1 -0
- package/dist/tet-components/p-20a93866.entry.js +1 -0
- package/dist/tet-components/p-25c9957d.js +1 -0
- package/dist/tet-components/p-29268caf.entry.js +1 -0
- package/dist/tet-components/{p-8f545d45.entry.js → p-29b1a959.entry.js} +1 -1
- package/dist/tet-components/p-2a0bbc16.js +1 -0
- package/dist/tet-components/p-2a346803.entry.js +1 -0
- package/dist/tet-components/p-300dcb5e.entry.js +1 -0
- package/dist/tet-components/{p-1a89919e.entry.js → p-30677f37.entry.js} +1 -1
- package/dist/tet-components/p-30f27049.entry.js +1 -0
- package/dist/tet-components/p-316f0d93.entry.js +1 -0
- package/dist/tet-components/{p-66dd0ede.entry.js → p-39153b16.entry.js} +1 -1
- package/dist/tet-components/p-3b5c1dfc.entry.js +1 -0
- package/dist/tet-components/p-3f630a8d.entry.js +1 -0
- package/dist/tet-components/p-446f550d.entry.js +1 -0
- package/dist/tet-components/{p-a07cada6.entry.js → p-44827a7f.entry.js} +1 -1
- package/dist/tet-components/p-47f100fa.entry.js +1 -0
- package/dist/tet-components/{p-9b027102.entry.js → p-4b4626ec.entry.js} +1 -1
- package/dist/tet-components/p-4e4095c1.js +1 -0
- package/dist/tet-components/{p-46e5b573.entry.js → p-50479341.entry.js} +1 -1
- package/dist/tet-components/p-536dd157.entry.js +1 -0
- package/dist/tet-components/{p-ecff869b.entry.js → p-56b8b4ec.entry.js} +1 -1
- package/dist/tet-components/p-56d32115.entry.js +1 -0
- package/dist/tet-components/p-5d2f0c13.entry.js +1 -0
- package/dist/tet-components/p-618e8591.entry.js +1 -0
- package/dist/tet-components/p-63a909de.entry.js +1 -0
- package/dist/tet-components/p-63b83c11.entry.js +1 -0
- package/dist/tet-components/p-641f4ab5.entry.js +1 -0
- package/dist/tet-components/p-6d468c83.entry.js +1 -0
- package/dist/tet-components/{p-e263ecdf.js → p-6d681c43.js} +1 -1
- package/dist/tet-components/p-72082f3b.entry.js +1 -0
- package/dist/tet-components/{p-7a04bcd7.entry.js → p-739d3344.entry.js} +1 -1
- package/dist/tet-components/p-77d8a2a5.entry.js +1 -0
- package/dist/tet-components/p-77dea317.entry.js +1 -0
- package/dist/tet-components/p-78eb86ff.entry.js +1 -0
- package/dist/tet-components/p-7b91c3d4.entry.js +1 -0
- package/dist/tet-components/{p-f9a1fbb2.entry.js → p-7f520852.entry.js} +1 -1
- package/dist/tet-components/p-8254455b.entry.js +1 -0
- package/dist/tet-components/p-87be3264.entry.js +1 -0
- package/dist/tet-components/{p-918e4e84.entry.js → p-87f36453.entry.js} +1 -1
- package/dist/tet-components/p-88c9ef00.entry.js +1 -0
- package/dist/tet-components/{p-de142575.js → p-88f7bb98.js} +1 -1
- package/dist/tet-components/p-89ae73f2.entry.js +1 -0
- package/dist/tet-components/p-8aecb130.entry.js +1 -0
- package/dist/tet-components/{p-77372984.js → p-90205e46.js} +1 -1
- package/dist/tet-components/p-9081ba98.entry.js +1 -0
- package/dist/tet-components/{p-b680d126.entry.js → p-90ef663e.entry.js} +1 -1
- package/dist/tet-components/p-93e2d958.entry.js +1 -0
- package/dist/tet-components/p-9464cc18.entry.js +1 -0
- package/dist/tet-components/{p-bb9f1a6f.entry.js → p-988b6712.entry.js} +1 -1
- package/dist/tet-components/p-98f93bec.entry.js +1 -0
- package/dist/tet-components/p-9a2b6ee2.js +1 -0
- package/dist/tet-components/{p-8c964cca.js → p-9af9c5e3.js} +2 -2
- package/dist/tet-components/p-9c188d1b.entry.js +1 -0
- package/dist/tet-components/p-a263681d.entry.js +1 -0
- package/dist/tet-components/{p-8b405467.entry.js → p-a43badd1.entry.js} +1 -1
- package/dist/tet-components/{p-775aa778.entry.js → p-a77b7388.entry.js} +1 -1
- package/dist/tet-components/p-ad14115e.entry.js +1 -0
- package/dist/tet-components/{p-36d2a380.entry.js → p-af82e64e.entry.js} +1 -1
- package/dist/tet-components/p-b47e0d55.entry.js +1 -0
- package/dist/tet-components/p-b4b92f9b.js +2 -0
- package/dist/tet-components/p-b9359fea.entry.js +1 -0
- package/dist/tet-components/p-ba494985.entry.js +1 -0
- package/dist/tet-components/p-bda2a644.entry.js +1 -0
- package/dist/tet-components/{p-bc16c07b.js → p-c2a00b6a.js} +1 -1
- package/dist/tet-components/p-c3d9064d.entry.js +1 -0
- package/dist/tet-components/{p-a9ed4e2b.entry.js → p-c61ef9e0.entry.js} +1 -1
- package/dist/tet-components/p-c6818401.entry.js +1 -0
- package/dist/tet-components/{p-ed67bd52.entry.js → p-c7830c8a.entry.js} +1 -1
- package/dist/tet-components/p-c7e4365a.entry.js +1 -0
- package/dist/tet-components/{p-9f1a810e.entry.js → p-c88cdf25.entry.js} +1 -1
- package/dist/tet-components/p-c9cdf98c.js +1 -0
- package/dist/tet-components/p-cba8d001.js +1 -0
- package/dist/tet-components/p-ce271068.entry.js +1 -0
- package/dist/tet-components/p-d55c2f9e.entry.js +1 -0
- package/dist/tet-components/p-db090557.entry.js +1 -0
- package/dist/tet-components/p-df542648.entry.js +1 -0
- package/dist/tet-components/p-e11eb73d.entry.js +1 -0
- package/dist/tet-components/{p-49122f6a.entry.js → p-e6fea049.entry.js} +1 -1
- package/dist/tet-components/p-e87226cb.entry.js +1 -0
- package/dist/tet-components/{p-b2b384d2.js → p-ec1c990e.js} +1 -1
- package/dist/tet-components/p-ec892e18.entry.js +1 -0
- package/dist/tet-components/p-ede893e6.entry.js +1 -0
- package/dist/tet-components/p-eefc4f3d.entry.js +1 -0
- package/dist/tet-components/{p-44d068ac.entry.js → p-efa6f09b.entry.js} +1 -1
- package/dist/tet-components/p-f6f98ea9.entry.js +1 -0
- package/dist/tet-components/{p-5c86ad42.entry.js → p-fca864a8.entry.js} +1 -1
- package/dist/tet-components/{p-f023f124.entry.js → p-ffd1a0d9.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/address/tet-autocomplete/tet-autocomplete.d.ts +3 -2
- package/dist/types/components.d.ts +0 -8
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +6 -12
- package/dist/cjs/compare-cards-tab-products-filters-58410792.js +0 -99
- package/dist/collection/components/advanced/address/tet-address-offers-filters/address-offers-filters.spec.js +0 -105
- package/dist/collection/components/advanced/address/tet-address-offers-filters/test/tet-address-offers-filters.spec.js +0 -23
- package/dist/collection/components/advanced/address/tet-address-offers-filters-products/test/tet-address-offers-filters-products.spec.js +0 -23
- package/dist/collection/components/advanced/address/tet-autocomplete/test/tet-autocomplete.spec.js +0 -110
- package/dist/collection/components/advanced/cards/tet-b2b-compare-card/test/tet-b2b-compare-card.spec.js +0 -86
- package/dist/collection/components/advanced/cards/tet-card-list/test/tet-card-list.spec.js +0 -69
- package/dist/collection/components/advanced/cards/tet-compare-card/test/tet-compare-card.spec.js +0 -292
- package/dist/collection/components/advanced/cards/tet-compare-card-v2/test/tet-compare-card-v2.spec.js +0 -40
- package/dist/collection/components/advanced/cards/tet-compare-cards/test/tet-compare-cards.spec.js +0 -65
- package/dist/collection/components/advanced/cards/tet-compare-cards-tab/test/tet-compare-cards-tab.spec.js +0 -399
- package/dist/collection/components/advanced/customer/tet-asset-addresses/test/tet-asset-addresses.spec.js +0 -30
- package/dist/collection/components/advanced/customer/tet-asset-availability-addresses/test/tet-asset-availability-addresses.spec.js +0 -30
- package/dist/collection/components/advanced/customer/tet-referral/test/tet-referral.spec.js +0 -85
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/test/tet-multi-step-dialog.spec.js +0 -53
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/test/tet-availability-contact-form.spec.js +0 -35
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/test/tet-tv-gift-block.spec.js +0 -61
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/test/tet-tv-gift-list.spec.js +0 -55
- package/dist/collection/components/basic/buttons/tet-button/test/tet-button.spec.js +0 -131
- package/dist/collection/components/basic/buttons/tet-checkbox/test/tet-checkbox.spec.js +0 -28
- package/dist/collection/components/basic/buttons/tet-radio/test/tet-radio.spec.js +0 -26
- package/dist/collection/components/basic/buttons/tet-switch/test/tet-switch.spec.js +0 -27
- package/dist/collection/components/basic/buttons/tet-tabs/test/tet-tab-content.spec.js +0 -35
- package/dist/collection/components/basic/buttons/tet-tabs/test/tet-tab-header.spec.js +0 -42
- package/dist/collection/components/basic/buttons/tet-tag/test/tet-tag.spec.js +0 -76
- package/dist/collection/components/basic/buttons/tet-tag-group/test/tet-tag-group.spec.js +0 -92
- package/dist/collection/components/basic/carousel/tet-carousel/test/tet-carousel.spec.js +0 -63
- package/dist/collection/components/basic/container/tet-container/test/tet-container.spec.js +0 -50
- package/dist/collection/components/basic/loaders/tet-loader/test/tet-loader.spec.js +0 -19
- package/dist/collection/components/basic/loaders/tet-placeholder/test/tet-placeholder.spec.js +0 -19
- package/dist/collection/components/basic/loaders/tet-spinner/test/tet-spinner.spec.js +0 -52
- package/dist/collection/components/basic/steppers/tet-business-round-stepper/test/tet-business-round-stepper.spec.js +0 -82
- package/dist/collection/components/basic/steppers/tet-round-stepper/test/tet-round-stepper.spec.js +0 -78
- package/dist/collection/components/basic/steppers/tet-stepper/test/tet-stepper.spec.js +0 -110
- package/dist/collection/components/basic/steppers/tet-stepper-v2/test/tet-stepper-v2.spec.js +0 -136
- package/dist/collection/components/basic/steppers/tet-stepper-v3/test/tet-stepper-v3.spec.js +0 -135
- package/dist/collection/components/simple/inputs/tet-dropdown/test/tet-dropdown.spec.js +0 -122
- package/dist/collection/components/simple/inputs/tet-input/test/tet-input.spec.js +0 -110
- package/dist/collection/components/simple/inputs/tet-range-slider/test/tet-range-slider.spec.js +0 -145
- package/dist/collection/components/simple/lists/tet-news-card-list/test/tet-news-card-list.spec.js +0 -111
- package/dist/collection/components/simple/lists/tet-selection-list/test/tet-selection-list.spec.js +0 -64
- package/dist/collection/components/simple/lists/tet-text-list/test/tet-text-list.spec.js +0 -171
- package/dist/collection/components/simple/menu/tet-menu/test/tet-menu.spec.js +0 -231
- package/dist/collection/components/simple/menu/tet-menu-mobile/test/tet-menu-mobile.spec.js +0 -87
- package/dist/collection/components/simple/menu/tet-navigation-mobile/test/tet-navigation-mobile.spec.js +0 -81
- package/dist/collection/components/simple/structural/tet-accordion/test/tet-accordion.spec.js +0 -108
- package/dist/collection/components/simple/structural/tet-expansion-panel/test/tet-expansion-panel.spec.js +0 -42
- package/dist/collection/components/simple/tables-and-graphs/tet-bar-graph/test/tet-bar-graph.spec.js +0 -85
- package/dist/collection/components/simple/tables-and-graphs/tet-table/test/tet-table.spec.js +0 -360
- package/dist/collection/components/simple/text-blocks/tet-dialog/test/tet-dialog.spec.js +0 -84
- package/dist/collection/components/simple/text-blocks/tet-inline-message/test/tet-inline-message.spec.js +0 -22
- package/dist/collection/components/simple/text-blocks/tet-notification/test/tet-notification.spec.js +0 -88
- package/dist/collection/components/simple/text-blocks/tet-tooltip/test/tet-tooltip.spec.js +0 -79
- package/dist/collection/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/test/tet-b2b-configurator-cart.spec.js +0 -50
- package/dist/collection/components/views/tet-b2b-configurator/test/tet-b2b-configurator.spec.js +0 -136
- package/dist/collection/components/views/tet-business-lines/test/tet-business-lines.spec.js +0 -23
- package/dist/collection/components/views/tet-contact-info/test/tet-contact-info.spec.js +0 -44
- package/dist/collection/components/views/tet-macd-view/test/tet-macd-view.spec.js +0 -498
- package/dist/collection/components/views/tet-price-view/test/tet-price-view.spec.js +0 -98
- package/dist/collection/components/views/tet-thank-you-view/test/tet-thank-you-view.spec.js +0 -275
- package/dist/collection/components/views/tet-thank-you-view-v2/test/tet-thank-you-view-v2.spec.js +0 -175
- package/dist/collection/components/views/tet-thank-you-view-v3/test/tet-thank-you-view-v3.spec.js +0 -175
- package/dist/collection/services/api/async-request.spec.js +0 -37
- package/dist/collection/services/api/request.spec.js +0 -32
- package/dist/collection/services/api/services/address.spec.js +0 -39
- package/dist/collection/services/api/services/catalog/product-comparison.spec.js +0 -22
- package/dist/collection/services/api/services/components/component-data.spec.js +0 -20
- package/dist/collection/services/api/services/customer/assets.spec.js +0 -25
- package/dist/collection/services/api/services/customer/query.spec.js +0 -25
- package/dist/collection/services/api/services/macd/macd.spec.js +0 -91
- package/dist/collection/services/api/services/operations/operations.spec.js +0 -19
- package/dist/collection/services/api/services/tasks.spec.js +0 -25
- package/dist/collection/services/api/services/translations.spec.js +0 -20
- package/dist/collection/services/products/product-codes.spec.js +0 -11
- package/dist/collection/services/translations/translations.spec.js +0 -30
- package/dist/collection/services/url/build-url-params.spec.js +0 -11
- package/dist/collection/services/url/url.spec.js +0 -16
- package/dist/collection/services/utils/array.spec.js +0 -10
- package/dist/collection/services/utils/debounce.spec.js +0 -19
- package/dist/collection/services/utils/execute-until.spec.js +0 -10
- package/dist/collection/services/utils/inertia-scroll.spec.js +0 -56
- package/dist/collection/services/utils/isFocusableElementOrChild.spec.js +0 -67
- package/dist/collection/services/utils/object.spec.js +0 -84
- package/dist/collection/services/utils/price.spec.js +0 -18
- package/dist/collection/services/utils/random.spec.js +0 -10
- package/dist/collection/services/utils/reactive.spec.js +0 -15
- package/dist/collection/services/utils/size.spec.js +0 -13
- package/dist/collection/services/utils/string.spec.js +0 -9
- package/dist/collection/services/utils/throttle.spec.js +0 -32
- package/dist/collection/services/utils/typecheck.spec.js +0 -49
- package/dist/collection/services/validators/validator-group.spec.js +0 -30
- package/dist/collection/services/validators/validators/e-mail.spec.js +0 -20
- package/dist/collection/services/validators/validators/phone.spec.js +0 -23
- package/dist/collection/services/validators/validators/required.spec.js +0 -16
- package/dist/components/p-8e19c5da.js +0 -857
- package/dist/components/p-e34bf267.js +0 -170
- package/dist/esm/compare-cards-tab-products-filters-f0fa0712.js +0 -97
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/tet-components/p-021268b7.entry.js +0 -1
- package/dist/tet-components/p-02e548d5.entry.js +0 -1
- package/dist/tet-components/p-06bf08a4.entry.js +0 -1
- package/dist/tet-components/p-0738afc0.entry.js +0 -1
- package/dist/tet-components/p-1b797a96.entry.js +0 -1
- package/dist/tet-components/p-1be23b32.entry.js +0 -1
- package/dist/tet-components/p-1e840eca.entry.js +0 -1
- package/dist/tet-components/p-1ec7f341.js +0 -2
- package/dist/tet-components/p-2e870f4d.entry.js +0 -1
- package/dist/tet-components/p-2f029068.entry.js +0 -1
- package/dist/tet-components/p-34ed0dd7.entry.js +0 -1
- package/dist/tet-components/p-3604bf21.entry.js +0 -1
- package/dist/tet-components/p-3d2dc872.entry.js +0 -1
- package/dist/tet-components/p-48bd3f87.entry.js +0 -1
- package/dist/tet-components/p-4e3c6172.entry.js +0 -1
- package/dist/tet-components/p-4e917b52.entry.js +0 -1
- package/dist/tet-components/p-511680d5.entry.js +0 -1
- package/dist/tet-components/p-5d920c98.entry.js +0 -1
- package/dist/tet-components/p-618134c3.entry.js +0 -1
- package/dist/tet-components/p-695cdc78.entry.js +0 -1
- package/dist/tet-components/p-6a5eca28.js +0 -1
- package/dist/tet-components/p-71cbde0c.entry.js +0 -1
- package/dist/tet-components/p-7751035d.entry.js +0 -1
- package/dist/tet-components/p-78014763.entry.js +0 -1
- package/dist/tet-components/p-78a0c398.entry.js +0 -1
- package/dist/tet-components/p-79255c00.entry.js +0 -1
- package/dist/tet-components/p-805c9ef3.entry.js +0 -1
- package/dist/tet-components/p-88885ba1.entry.js +0 -1
- package/dist/tet-components/p-8a6831bc.entry.js +0 -1
- package/dist/tet-components/p-8c7c6590.entry.js +0 -1
- package/dist/tet-components/p-8c89d1f5.entry.js +0 -1
- package/dist/tet-components/p-8d644f8b.entry.js +0 -1
- package/dist/tet-components/p-9102c6d9.entry.js +0 -1
- package/dist/tet-components/p-977ea27a.entry.js +0 -1
- package/dist/tet-components/p-9a5b8dbc.entry.js +0 -1
- package/dist/tet-components/p-a15d2b6a.entry.js +0 -1
- package/dist/tet-components/p-a549f1dd.entry.js +0 -1
- package/dist/tet-components/p-a8030923.entry.js +0 -1
- package/dist/tet-components/p-aff1e911.entry.js +0 -1
- package/dist/tet-components/p-b0112dde.entry.js +0 -1
- package/dist/tet-components/p-b14b8531.entry.js +0 -1
- package/dist/tet-components/p-bc2e65ab.entry.js +0 -1
- package/dist/tet-components/p-bfa02c13.entry.js +0 -1
- package/dist/tet-components/p-c4a95bbe.entry.js +0 -1
- package/dist/tet-components/p-c4ed060b.entry.js +0 -1
- package/dist/tet-components/p-ca66b4b1.js +0 -1
- package/dist/tet-components/p-cf7d5c84.js +0 -1
- package/dist/tet-components/p-d0d6a340.js +0 -1
- package/dist/tet-components/p-d2919aae.js +0 -1
- package/dist/tet-components/p-d795f9c3.entry.js +0 -1
- package/dist/tet-components/p-dc12dee9.entry.js +0 -1
- package/dist/tet-components/p-dcbe09b5.js +0 -1
- package/dist/tet-components/p-de040767.entry.js +0 -1
- package/dist/tet-components/p-de4c32ee.entry.js +0 -1
- package/dist/tet-components/p-e423fe76.entry.js +0 -1
- package/dist/tet-components/p-e69056de.entry.js +0 -1
- package/dist/tet-components/p-e86164ef.entry.js +0 -1
- package/dist/tet-components/p-eb66d7b2.js +0 -1
- package/dist/tet-components/p-ecbfde88.entry.js +0 -1
- package/dist/tet-components/p-ed4b8bbe.entry.js +0 -1
- package/dist/tet-components/p-eed7244f.entry.js +0 -1
- package/dist/tet-components/p-f48500fd.entry.js +0 -1
- package/dist/tet-components/p-fab4ab39.entry.js +0 -1
- package/dist/tet-components/p-fd4131ad.entry.js +0 -1
|
@@ -2,109 +2,110 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const translations = require('./translations-
|
|
7
|
-
const compareCardsTabProductsFilters = require('./compare-cards-tab-products-filters-
|
|
5
|
+
const index = require('./index-28359ea5.js');
|
|
6
|
+
const translations = require('./translations-2637e1f9.js');
|
|
7
|
+
const compareCardsTabProductsFilters = require('./compare-cards-tab-products-filters-10b06fe0.js');
|
|
8
8
|
const size = require('./size-46435ffe.js');
|
|
9
9
|
require('./typecheck-d48810dc.js');
|
|
10
|
-
require('./http-codes-
|
|
10
|
+
require('./http-codes-38914116.js');
|
|
11
11
|
|
|
12
12
|
class AddressOffersProductsFilters {
|
|
13
|
+
onFilterSelect;
|
|
14
|
+
availableTvFilters = [];
|
|
15
|
+
allFilters = [];
|
|
13
16
|
constructor(onFilterSelect) {
|
|
14
17
|
this.onFilterSelect = onFilterSelect;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
}
|
|
19
|
+
initialize = (serviceAvailabilityData, category) => {
|
|
20
|
+
if (serviceAvailabilityData.productTags) {
|
|
21
|
+
this.availableTvFilters = this.resolveFilters(serviceAvailabilityData, category);
|
|
22
|
+
}
|
|
23
|
+
this.updateDisabledFilters();
|
|
24
|
+
this.onFilterSelect([...this.availableTvFilters], this.getActiveFilterIds(), this.getFilteredProductIds(category));
|
|
25
|
+
};
|
|
26
|
+
getAvailableFilters = () => {
|
|
27
|
+
return [...this.availableTvFilters];
|
|
28
|
+
};
|
|
29
|
+
clearFilters = (category) => {
|
|
30
|
+
this.availableTvFilters.forEach(filter => {
|
|
31
|
+
filter.active = false;
|
|
32
|
+
filter.showIcon = false;
|
|
33
|
+
});
|
|
34
|
+
this.updateDisabledFilters();
|
|
35
|
+
this.onFilterSelect([...this.availableTvFilters], [], this.getFilteredProductIds(category));
|
|
36
|
+
};
|
|
37
|
+
resolveFilters = (serviceAvailabilityData, category) => {
|
|
38
|
+
const subcategoryProductCodes = new Set(category.products.map(product => product.productCode));
|
|
39
|
+
const productTags = serviceAvailabilityData.productTags || [];
|
|
40
|
+
return productTags
|
|
41
|
+
.map(tag => {
|
|
42
|
+
const localProducts = (tag.products || []).filter(productCode => subcategoryProductCodes.has(productCode));
|
|
43
|
+
return {
|
|
44
|
+
id: tag.tag,
|
|
45
|
+
title: tag.title,
|
|
46
|
+
products: localProducts,
|
|
47
|
+
active: false,
|
|
48
|
+
disabled: false,
|
|
49
|
+
showIcon: false,
|
|
50
|
+
clickAction: this.filterClickAction.bind(this)
|
|
51
|
+
};
|
|
52
|
+
})
|
|
53
|
+
.filter(filter => filter.products.length > 0); // Only include if products present in this group
|
|
54
|
+
};
|
|
55
|
+
updateDisabledFilters = () => {
|
|
56
|
+
const activeFilters = this.availableTvFilters.filter(f => f.active);
|
|
57
|
+
const activeCount = activeFilters.length;
|
|
58
|
+
let intersection = null;
|
|
59
|
+
if (activeCount > 0) {
|
|
60
|
+
intersection = new Set(activeFilters[0].products);
|
|
61
|
+
for (let i = 1; i < activeFilters.length; i++) {
|
|
62
|
+
intersection = new Set([...intersection].filter(productCode => activeFilters[i].products.includes(productCode)));
|
|
20
63
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return [...this.availableTvFilters];
|
|
26
|
-
};
|
|
27
|
-
this.clearFilters = (category) => {
|
|
28
|
-
this.availableTvFilters.forEach(filter => {
|
|
29
|
-
filter.active = false;
|
|
30
|
-
filter.showIcon = false;
|
|
31
|
-
});
|
|
32
|
-
this.updateDisabledFilters();
|
|
33
|
-
this.onFilterSelect([...this.availableTvFilters], [], this.getFilteredProductIds(category));
|
|
34
|
-
};
|
|
35
|
-
this.resolveFilters = (serviceAvailabilityData, category) => {
|
|
36
|
-
const subcategoryProductCodes = new Set(category.products.map(product => product.productCode));
|
|
37
|
-
const productTags = serviceAvailabilityData.productTags || [];
|
|
38
|
-
return productTags
|
|
39
|
-
.map(tag => {
|
|
40
|
-
const localProducts = (tag.products || []).filter(productCode => subcategoryProductCodes.has(productCode));
|
|
41
|
-
return {
|
|
42
|
-
id: tag.tag,
|
|
43
|
-
title: tag.title,
|
|
44
|
-
products: localProducts,
|
|
45
|
-
active: false,
|
|
46
|
-
disabled: false,
|
|
47
|
-
showIcon: false,
|
|
48
|
-
clickAction: this.filterClickAction.bind(this)
|
|
49
|
-
};
|
|
50
|
-
})
|
|
51
|
-
.filter(filter => filter.products.length > 0); // Only include if products present in this group
|
|
52
|
-
};
|
|
53
|
-
this.updateDisabledFilters = () => {
|
|
54
|
-
const activeFilters = this.availableTvFilters.filter(f => f.active);
|
|
55
|
-
const activeCount = activeFilters.length;
|
|
56
|
-
let intersection = null;
|
|
57
|
-
if (activeCount > 0) {
|
|
58
|
-
intersection = new Set(activeFilters[0].products);
|
|
59
|
-
for (let i = 1; i < activeFilters.length; i++) {
|
|
60
|
-
intersection = new Set([...intersection].filter(productCode => activeFilters[i].products.includes(productCode)));
|
|
61
|
-
}
|
|
64
|
+
}
|
|
65
|
+
for (const filter of this.availableTvFilters) {
|
|
66
|
+
if (filter.active || activeCount === 0) {
|
|
67
|
+
filter.disabled = false;
|
|
62
68
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
else {
|
|
68
|
-
let simulatedIntersection = intersection ? [...intersection] : filter.products;
|
|
69
|
-
if (intersection) {
|
|
70
|
-
simulatedIntersection = simulatedIntersection.filter(code => filter.products.includes(code));
|
|
71
|
-
}
|
|
72
|
-
filter.disabled = simulatedIntersection.length <= 0;
|
|
73
|
-
filter.showIcon = false;
|
|
69
|
+
else {
|
|
70
|
+
let simulatedIntersection = intersection ? [...intersection] : filter.products;
|
|
71
|
+
if (intersection) {
|
|
72
|
+
simulatedIntersection = simulatedIntersection.filter(code => filter.products.includes(code));
|
|
74
73
|
}
|
|
74
|
+
filter.disabled = simulatedIntersection.length <= 0;
|
|
75
|
+
filter.showIcon = false;
|
|
75
76
|
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
filterClickAction = (filter, category) => {
|
|
80
|
+
const availableFilter = this.availableTvFilters.find(({ id }) => id === filter.id);
|
|
81
|
+
if (!availableFilter)
|
|
82
|
+
return;
|
|
83
|
+
if (availableFilter.disabled)
|
|
84
|
+
return;
|
|
85
|
+
availableFilter.active = !availableFilter.active;
|
|
86
|
+
availableFilter.showIcon = !availableFilter.showIcon;
|
|
87
|
+
this.updateDisabledFilters();
|
|
88
|
+
this.onFilterSelect([...this.availableTvFilters], this.getActiveFilterIds(), this.getFilteredProductIds(category));
|
|
89
|
+
};
|
|
90
|
+
getActiveFilterIds = () => {
|
|
91
|
+
return this.availableTvFilters.filter(filter => filter.active).map(filter => filter.id);
|
|
92
|
+
};
|
|
93
|
+
getFilteredProductIds = (category = null) => {
|
|
94
|
+
if (!category || !category.products) {
|
|
95
|
+
return [];
|
|
96
|
+
}
|
|
97
|
+
const activeTags = this.availableTvFilters.filter(tag => tag.active);
|
|
98
|
+
if (activeTags.length === 0) {
|
|
99
|
+
return category.products.map(product => product.productCode);
|
|
100
|
+
}
|
|
101
|
+
let intersection = [...activeTags[0].products];
|
|
102
|
+
for (let i = 1; i < activeTags.length; i++) {
|
|
103
|
+
intersection = intersection.filter(productCode => activeTags[i].products.includes(productCode));
|
|
104
|
+
}
|
|
105
|
+
const productsInCategory = new Set(category.products.map(product => product.productCode));
|
|
106
|
+
intersection = intersection.filter(productCode => productsInCategory.has(productCode));
|
|
107
|
+
return intersection;
|
|
108
|
+
};
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
const tetAddressOffersFiltersProductsCss = "@font-face{font-family:Avenir Next;src:url(assets/fonts/8e7462a9501f48c43c58f870188b3fb2.eot?#iefix);src:url(assets/fonts/8e7462a9501f48c43c58f870188b3fb2.eot?#iefix) format(\"eot\"),url(assets/fonts/3c3e10968ffc97c2a52c5830f9886d1f.woff2) format(\"woff2\"),url(assets/fonts/660fbf858d30d7685fa4b166080f5980.woff) format(\"woff\"),url(assets/fonts/2b7748589092fd1a10b806abdfb562ff.ttf) format(\"truetype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/d5e25ad69d0ea31f3b8f66d634ca40fe.eot?#iefix);src:url(assets/fonts/d5e25ad69d0ea31f3b8f66d634ca40fe.eot?#iefix) format(\"eot\"),url(assets/fonts/aad36ecead30948bb30fe0ef818b749c.woff2) format(\"woff2\"),url(assets/fonts/c437d7752feaf3f056bbf8613e898d3a.woff) format(\"woff\"),url(assets/fonts/b8df4d02ef5de13a813917a85bc4a9c4.ttf) format(\"truetype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/046190c9a2f724b925df848737b03819.eot?#iefix);src:url(assets/fonts/046190c9a2f724b925df848737b03819.eot?#iefix) format(\"eot\"),url(assets/fonts/4d52f8276a74ea8efbad833ed790367c.woff2) format(\"woff2\"),url(assets/fonts/a067695dd1b87e927f4056c040d84669.woff) format(\"woff\"),url(assets/fonts/510a664af9771b72d4ce5e637109ca3c.ttf) format(\"truetype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/0715de188f56c99aa615905f7e06292e.eot?#iefix);src:url(assets/fonts/0715de188f56c99aa615905f7e06292e.eot?#iefix) format(\"eot\"),url(assets/fonts/63f5acc71d9852468683a4bfe824a28f.woff2) format(\"woff2\"),url(assets/fonts/ed94c737da267752ce0abd79bb003ff6.woff) format(\"woff\"),url(assets/fonts/6302f55a6dc6b12365177dc89b7d63cf.ttf) format(\"truetype\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/3f76abc23eef0596c499840db84213bb.eot?#iefix);src:url(assets/fonts/3f76abc23eef0596c499840db84213bb.eot?#iefix) format(\"eot\"),url(assets/fonts/1fe7da97fe9dbe1349aca9b54b5fdf69.woff2) format(\"woff2\"),url(assets/fonts/dacc6a84278e221422902af99579ada5.woff) format(\"woff\"),url(assets/fonts/e530c573663a3a07243d303fbf7db508.ttf) format(\"truetype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Avenir Next;src:url(assets/fonts/75f8489ba53f19968feaa3e2eb78c569.eot?#iefix);src:url(assets/fonts/75f8489ba53f19968feaa3e2eb78c569.eot?#iefix) format(\"eot\"),url(assets/fonts/93ec0034623fc696601ab99aba652d4c.woff2) format(\"woff2\"),url(assets/fonts/d73c8eb1c13abe1237366aa3ee829a59.woff) format(\"woff\"),url(assets/fonts/7b6dcef99f3f4b23346e23925ec8678f.ttf) format(\"truetype\");font-weight:600;font-style:italic;font-display:swap}.tet-icon{font-family:Tet Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}@font-face{font-family:Tet Icons;src:url(assets/fonts/d2ce51cdcd0b9707af186f8d50023d23.eot);src:url(assets/fonts/d2ce51cdcd0b9707af186f8d50023d23.eot?#iefix) format(\"embedded-opentype\"),url(assets/fonts/25f10ef322a1220b2e9e11db38b73892.woff2) format(\"woff2\"),url(assets/fonts/fed75ac1edcf1c25cdd8612d2c365f9a.woff) format(\"woff\"),url(assets/fonts/df7fbe67cabb13cb837172a73c46378a.ttf) format(\"truetype\"),url(assets/fonts/5486d8c87e2abc6c13ed952a6cc96658.svg#tet-icons) format(\"svg\");font-weight:400;font-style:normal}.tet-icon:before{content:\"\\E84E\"}.tet-icon--sm{font-size:1.125rem}.tet-icon--md{font-size:1.5rem}.tet-icon--lg{font-size:2.25rem}.tet-icon--xl{font-size:3rem}.tet-icon--xxl{font-size:4rem}.tet-icon--0{font-size:0}.tet-icon--1{font-size:.0625rem}.tet-icon--2{font-size:.125rem}.tet-icon--3{font-size:.1875rem}.tet-icon--4{font-size:.25rem}.tet-icon--5{font-size:.3125rem}.tet-icon--6{font-size:.375rem}.tet-icon--7{font-size:.4375rem}.tet-icon--8{font-size:.5rem}.tet-icon--9{font-size:.5625rem}.tet-icon--10{font-size:.625rem}.tet-icon--11{font-size:.6875rem}.tet-icon--12{font-size:.75rem}.tet-icon--13{font-size:.8125rem}.tet-icon--14{font-size:.875rem}.tet-icon--15{font-size:.9375rem}.tet-icon--16{font-size:1rem}.tet-icon--17{font-size:1.0625rem}.tet-icon--18{font-size:1.125rem}.tet-icon--19{font-size:1.1875rem}.tet-icon--20{font-size:1.25rem}.tet-icon--21{font-size:1.3125rem}.tet-icon--22{font-size:1.375rem}.tet-icon--23{font-size:1.4375rem}.tet-icon--24{font-size:1.5rem}.tet-icon--25{font-size:1.5625rem}.tet-icon--26{font-size:1.625rem}.tet-icon--27{font-size:1.6875rem}.tet-icon--28{font-size:1.75rem}.tet-icon--29{font-size:1.8125rem}.tet-icon--30{font-size:1.875rem}.tet-icon--31{font-size:1.9375rem}.tet-icon--32{font-size:2rem}.tet-icon--33{font-size:2.0625rem}.tet-icon--34{font-size:2.125rem}.tet-icon--35{font-size:2.1875rem}.tet-icon--36{font-size:2.25rem}.tet-icon--37{font-size:2.3125rem}.tet-icon--38{font-size:2.375rem}.tet-icon--39{font-size:2.4375rem}.tet-icon--40{font-size:2.5rem}.tet-icon--41{font-size:2.5625rem}.tet-icon--42{font-size:2.625rem}.tet-icon--43{font-size:2.6875rem}.tet-icon--44{font-size:2.75rem}.tet-icon--45{font-size:2.8125rem}.tet-icon--46{font-size:2.875rem}.tet-icon--47{font-size:2.9375rem}.tet-icon--48{font-size:3rem}.tet-icon--49{font-size:3.0625rem}.tet-icon--50{font-size:3.125rem}.tet-icon--51{font-size:3.1875rem}.tet-icon--52{font-size:3.25rem}.tet-icon--53{font-size:3.3125rem}.tet-icon--54{font-size:3.375rem}.tet-icon--55{font-size:3.4375rem}.tet-icon--56{font-size:3.5rem}.tet-icon--57{font-size:3.5625rem}.tet-icon--58{font-size:3.625rem}.tet-icon--59{font-size:3.6875rem}.tet-icon--60{font-size:3.75rem}.tet-icon--61{font-size:3.8125rem}.tet-icon--62{font-size:3.875rem}.tet-icon--63{font-size:3.9375rem}.tet-icon--64{font-size:4rem}.tet-icon--65{font-size:4.0625rem}.tet-icon--66{font-size:4.125rem}.tet-icon--67{font-size:4.1875rem}.tet-icon--68{font-size:4.25rem}.tet-icon--69{font-size:4.3125rem}.tet-icon--70{font-size:4.375rem}.tet-icon--71{font-size:4.4375rem}.tet-icon--72{font-size:4.5rem}.tet-icon--73{font-size:4.5625rem}.tet-icon--74{font-size:4.625rem}.tet-icon--75{font-size:4.6875rem}.tet-icon--76{font-size:4.75rem}.tet-icon--77{font-size:4.8125rem}.tet-icon--78{font-size:4.875rem}.tet-icon--79{font-size:4.9375rem}.tet-icon--80{font-size:5rem}.tet-icon--81{font-size:5.0625rem}.tet-icon--82{font-size:5.125rem}.tet-icon--83{font-size:5.1875rem}.tet-icon--84{font-size:5.25rem}.tet-icon--85{font-size:5.3125rem}.tet-icon--86{font-size:5.375rem}.tet-icon--87{font-size:5.4375rem}.tet-icon--88{font-size:5.5rem}.tet-icon--89{font-size:5.5625rem}.tet-icon--90{font-size:5.625rem}.tet-icon--91{font-size:5.6875rem}.tet-icon--92{font-size:5.75rem}.tet-icon--93{font-size:5.8125rem}.tet-icon--94{font-size:5.875rem}.tet-icon--95{font-size:5.9375rem}.tet-icon--96{font-size:6rem}.tet-icon--97{font-size:6.0625rem}.tet-icon--98{font-size:6.125rem}.tet-icon--99{font-size:6.1875rem}.tet-icon--100{font-size:6.25rem}.tet-icon--101{font-size:6.3125rem}.tet-icon__add:before{content:\"\\E800\"}.tet-icon__alert-circled:before{content:\"\\E801\"}.tet-icon__alert:before{content:\"\\E802\"}.tet-icon__bank:before{content:\"\\E803\"}.tet-icon__box:before{content:\"\\E804\"}.tet-icon__download:before{content:\"\\E805\"}.tet-icon__burger:before{content:\"\\E806\"}.tet-icon__cancel:before{content:\"\\E807\"}.tet-icon__printer:before{content:\"\\E808\"}.tet-icon__cart-add:before{content:\"\\E809\"}.tet-icon__cart-remove:before{content:\"\\E80A\"}.tet-icon__cart:before{content:\"\\E80B\"}.tet-icon__chat:before{content:\"\\E80C\"}.tet-icon__arrow-up:before{content:\"\\E80D\"}.tet-icon__calendar:before{content:\"\\E80E\"}.tet-icon__help-circled:before{content:\"\\E80F\"}.tet-icon__edit:before{content:\"\\E810\"}.tet-icon__external-link:before{content:\"\\E811\"}.tet-icon__gift:before{content:\"\\E812\"}.tet-icon__person:before{content:\"\\E813\"}.tet-icon__heart:before{content:\"\\E814\"}.tet-icon__language:before{content:\"\\E815\"}.tet-icon__help:before{content:\"\\E816\"}.tet-icon__home-1:before{content:\"\\E817\"}.tet-icon__location:before{content:\"\\E818\"}.tet-icon__home-3:before{content:\"\\E819\"}.tet-icon__chart-even:before{content:\"\\E81A\"}.tet-icon__info-2:before{content:\"\\E81B\"}.tet-icon__key:before{content:\"\\E81C\"}.tet-icon__info:before{content:\"\\E81D\"}.tet-icon__lock-opened:before{content:\"\\E81E\"}.tet-icon__lock-outlined:before{content:\"\\E81F\"}.tet-icon__lock:before{content:\"\\E820\"}.tet-icon__laptop-filled:before{content:\"\\E821\"}.tet-icon__mail:before{content:\"\\E822\"}.tet-icon__options:before{content:\"\\E823\"}.tet-icon__chart-uneven:before{content:\"\\E824\"}.tet-icon__mail-2:before{content:\"\\E825\"}.tet-icon__remove:before{content:\"\\E826\"}.tet-icon__mobile-filled:before{content:\"\\E827\"}.tet-icon__ilu-calendar-check:before{content:\"\\E828\"}.tet-icon__settings-outlined:before{content:\"\\E829\"}.tet-icon__tablet:before{content:\"\\E82A\"}.tet-icon__thumb-up:before{content:\"\\E82B\"}.tet-icon__ilu-purchase:before{content:\"\\E82C\"}.tet-icon__chart-even-outlined:before{content:\"\\E82D\"}.tet-icon__movie:before{content:\"\\E82E\"}.tet-icon__percent:before{content:\"\\E82F\"}.tet-icon__ilu-change-whenever:before{content:\"\\E830\"}.tet-icon__truck:before{content:\"\\E831\"}.tet-icon__zero:before{content:\"\\E832\"}.tet-icon__attach:before{content:\"\\E833\"}.tet-icon__cloud-done:before{content:\"\\E834\"}.tet-icon__cloud-download:before{content:\"\\E835\"}.tet-icon__cloud-upload:before{content:\"\\E836\"}.tet-icon__cloud:before{content:\"\\E837\"}.tet-icon__folder:before{content:\"\\E838\"}.tet-icon__remote:before{content:\"\\E839\"}.tet-icon__router:before{content:\"\\E83A\"}.tet-icon__shield-filled:before{content:\"\\E83B\"}.tet-icon__shield:before{content:\"\\E83C\"}.tet-icon__ilu-devices:before{content:\"\\E83D\"}.tet-icon__ilu-get-points:before{content:\"\\E83E\"}.tet-icon__tv:before{content:\"\\E83F\"}.tet-icon__ilu-internet:before{content:\"\\E840\"}.tet-icon__wifi-outlined:before{content:\"\\E841\"}.tet-icon__wifi:before{content:\"\\E842\"}.tet-icon__description-outlined:before{content:\"\\E843\"}.tet-icon__laptop:before{content:\"\\E844\"}.tet-icon__chart-uneven-outlined:before{content:\"\\E845\"}.tet-icon__meter:before{content:\"\\E846\"}.tet-icon__mobile:before{content:\"\\E847\"}.tet-icon__phone:before{content:\"\\E848\"}.tet-icon__plug-filled:before{content:\"\\E849\"}.tet-icon__plug:before{content:\"\\E84A\"}.tet-icon__print:before{content:\"\\E84B\"}.tet-icon__camera:before{content:\"\\E84C\"}.tet-icon__clock:before{content:\"\\E84D\"}.tet-icon__placeholder:before{content:\"\\E84E\"}.tet-icon__tv-filled:before{content:\"\\E84F\"}.tet-icon__arrow-down:before{content:\"\\E850\"}.tet-icon__arrow-left:before{content:\"\\E851\"}.tet-icon__arrow-right:before{content:\"\\E852\"}.tet-icon__description:before{content:\"\\E853\"}.tet-icon__login:before{content:\"\\E854\"}.tet-icon__check:before{content:\"\\E855\"}.tet-icon__chevron-down:before{content:\"\\E856\"}.tet-icon__chevron-left:before{content:\"\\E857\"}.tet-icon__chevron-right:before{content:\"\\E858\"}.tet-icon__chevron-up:before{content:\"\\E859\"}.tet-icon__close-circled:before{content:\"\\E85A\"}.tet-icon__close:before{content:\"\\E85B\"}.tet-icon__more-horizontal:before{content:\"\\E85C\"}.tet-icon__more-vertical:before{content:\"\\E85D\"}.tet-icon__refresh:before{content:\"\\E85E\"}.tet-icon__facebook:before{content:\"\\E85F\"}.tet-icon__instagram:before{content:\"\\E860\"}.tet-icon__linkedin:before{content:\"\\E861\"}.tet-icon__people:before{content:\"\\E862\"}.tet-icon__logout:before{content:\"\\E863\"}.tet-icon__share:before{content:\"\\E864\"}.tet-icon__twitter:before{content:\"\\E865\"}.tet-icon__cancel-filled:before{content:\"\\E866\"}.tet-icon__done:before{content:\"\\E867\"}.tet-icon__star-filled:before{content:\"\\E868\"}.tet-icon__star:before{content:\"\\E869\"}.tet-icon__clipboard:before{content:\"\\E86A\"}.tet-icon__ilu-calendar:before{content:\"\\E86B\"}.tet-icon__check-circled:before{content:\"\\E86C\"}.tet-icon__ilu-choose-channels:before{content:\"\\E86D\"}.tet-icon__search:before{content:\"\\E86E\"}.tet-icon__warning:before{content:\"\\E86F\"}.tet-icon__ilu-clock-1:before{content:\"\\E870\"}.tet-icon__ilu-fold:before{content:\"\\E871\"}.tet-icon__ilu-letter:before{content:\"\\E872\"}.tet-icon__ilu-pay:before{content:\"\\E873\"}.tet-icon__ilu-meter:before{content:\"\\E874\"}.tet-icon__ilu-sign:before{content:\"\\E875\"}.tet-icon__smart-watch-filled:before{content:\"\\E876\"}.tet-icon__washing-machine-filled:before{content:\"\\E877\"}.tet-icon__bullet:before{content:\"\\E878\"}.tet-icon__sound:before{content:\"\\E879\"}.tet-icon__dropdown:before{content:\"\\E87A\"}.tet-icon__mask-pass:before{content:\"\\E87B\"}.tet-icon__select:before{content:\"\\E87C\"}.tet-icon__text-area-sizing:before{content:\"\\E87D\"}.tet-icon__unmask-pass:before{content:\"\\E87E\"}.tet-icon__bullet-small:before{content:\"\\E882\"}.tet-icon__electric-bolt:before{content:\"\\E880\"}.tet-icon__sun:before{content:\"\\E881\"}:host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:\"\\e86e\"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:\"\\e85a\"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:\"\\e85b\"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:\"\\e86c\"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:\"\\e855\"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:\"\\e859\"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:\"\\e856\"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:\"\\e86a\"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:\"\\e81d\"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:\"\\e867\"}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{display:flex;flex-wrap:wrap;gap:1rem}.loader{display:flex;gap:0.5rem;flex-wrap:wrap}.loader .tag-placeholder{--placeholder-animation-speed:20s}.clear-button{font:500 1rem/1.5rem \"Inter\", \"Gilroy, Arial, sans-serif\";display:flex;flex-wrap:nowrap;border:0.0625rem solid var(--clear-button-border-color);cursor:pointer;align-items:center;gap:0.25rem;padding:0.375rem 0.75rem;color:var(--clear-button-text-color);border-radius:0.625rem;background:var(--clear-button-background-color);--icon-size:1rem}.clear-button tet-icon{--icon-color:var(--clear-button-icon-color);--icon-container-display:flex}.clear-button:hover{background:var(--clear-button-background-hover)}.clear-button.theme-light{--clear-button-border-color:var(--tc-border-primary);--clear-button-text-color:var(--tc-text-primary);--clear-button-background-color:var(--tc-layer-primary);--clear-button-background-hover:var(--tc-button-primary-background-inverse-hover);--clear-button-focus-outline-color:var(--tc-blue-40);--clear-button-icon-color:var(--tc-icon-primary)}.clear-button.theme-dark{--clear-button-border-color:var(--tc-border-primary-dark);--clear-button-text-color:var(--tc-text-primary-dark);--clear-button-background-color:var(--tc-layer-primary-dark);--clear-button-background-hover:var(--tc-button-primary-background-inverse-hover-dark);--clear-button-focus-outline-color:var(--tc-blue-40-dark);--clear-button-icon-color:var(--tc-icon-primary-dark)}.clear-button:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0rem;transition:outline 0s;outline-color:var(--clear-button-focus-outline-color);border-color:transparent}";
|
|
@@ -115,23 +116,6 @@ const TetAddressOffersFiltersProducts = class {
|
|
|
115
116
|
index.registerInstance(this, hostRef);
|
|
116
117
|
this.activeFiltersChanged = index.createEvent(this, "activeFiltersChanged", 7);
|
|
117
118
|
this.filteredProductsChanged = index.createEvent(this, "filteredProductsChanged", 7);
|
|
118
|
-
this.clearAllFilters = () => {
|
|
119
|
-
if (this.filtersHelper) {
|
|
120
|
-
this.filtersHelper.clearFilters(this.category);
|
|
121
|
-
}
|
|
122
|
-
if (this.compareCardsFiltersHelper) {
|
|
123
|
-
this.compareCardsFiltersHelper.clearFilters();
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
this.renderClearFilterBtn = () => {
|
|
127
|
-
if (!this.clearFilterButton || this.availableTvProducts.length === 0) {
|
|
128
|
-
return null;
|
|
129
|
-
}
|
|
130
|
-
return (index.h("button", { class: { 'clear-button': true, [`theme-${this.theme}`]: true }, onClick: () => this.clearAllFilters() }, index.h("tet-icon", { name: "tc-reload", part: "icon-selected" }), translations.translate('components-address-offers-filters-clear-btn')));
|
|
131
|
-
};
|
|
132
|
-
this.renderLoader = () => {
|
|
133
|
-
return (index.h("div", { class: "loader" }, Array.from({ length: 4 }).map(() => (index.h("tet-placeholder", { height: "2rem", width: "8rem", class: "tag-placeholder", darkTheme: this.theme === 'dark' })))));
|
|
134
|
-
};
|
|
135
119
|
this.language = 'lv';
|
|
136
120
|
this.clearFilterButton = false;
|
|
137
121
|
this.theme = 'light';
|
|
@@ -142,6 +126,14 @@ const TetAddressOffersFiltersProducts = class {
|
|
|
142
126
|
this.availableTvProducts = [];
|
|
143
127
|
this.activeTvFilters = [];
|
|
144
128
|
}
|
|
129
|
+
/** Event emitted when active filters change, sending array of active filter IDs. */
|
|
130
|
+
activeFiltersChanged;
|
|
131
|
+
/** Event emitted when filtered products change, sending subcategory ID and array of filtered product IDs. */
|
|
132
|
+
filteredProductsChanged;
|
|
133
|
+
// Helper class instance
|
|
134
|
+
filtersHelper;
|
|
135
|
+
// Helper class instance for compare cards
|
|
136
|
+
compareCardsFiltersHelper;
|
|
145
137
|
/**
|
|
146
138
|
* Change translations on language change
|
|
147
139
|
* @param {Language} language
|
|
@@ -175,7 +167,10 @@ const TetAddressOffersFiltersProducts = class {
|
|
|
175
167
|
}
|
|
176
168
|
initAdrressOffersFilters() {
|
|
177
169
|
this.filtersHelper = new AddressOffersProductsFilters((filters, activeFilterIds, filteredProductIds) => {
|
|
178
|
-
this.availableTvProducts = filters.map((tag) => (
|
|
170
|
+
this.availableTvProducts = filters.map((tag) => ({
|
|
171
|
+
...tag,
|
|
172
|
+
clickAction: () => this.toggleFilter(tag.id)
|
|
173
|
+
}));
|
|
179
174
|
this.activeTvFilters = activeFilterIds;
|
|
180
175
|
this.activeFiltersChanged.emit(activeFilterIds);
|
|
181
176
|
this.filteredProductsChanged.emit({
|
|
@@ -187,7 +182,10 @@ const TetAddressOffersFiltersProducts = class {
|
|
|
187
182
|
}
|
|
188
183
|
initCompareCardFilters() {
|
|
189
184
|
this.compareCardsFiltersHelper = new compareCardsTabProductsFilters.CompareCardsTabProductsFilters((filters, activeFilterIds, filteredProductIds) => {
|
|
190
|
-
this.availableTvProducts = filters.map((tag) => (
|
|
185
|
+
this.availableTvProducts = filters.map((tag) => ({
|
|
186
|
+
...tag,
|
|
187
|
+
clickAction: () => this.toggleCompareCardsFilter(tag.id)
|
|
188
|
+
}));
|
|
191
189
|
this.activeTvFilters = activeFilterIds;
|
|
192
190
|
this.activeFiltersChanged.emit(activeFilterIds);
|
|
193
191
|
this.filteredProductsChanged.emit({
|
|
@@ -209,6 +207,23 @@ const TetAddressOffersFiltersProducts = class {
|
|
|
209
207
|
this.compareCardsFiltersHelper.filterClickAction(filter);
|
|
210
208
|
}
|
|
211
209
|
}
|
|
210
|
+
clearAllFilters = () => {
|
|
211
|
+
if (this.filtersHelper) {
|
|
212
|
+
this.filtersHelper.clearFilters(this.category);
|
|
213
|
+
}
|
|
214
|
+
if (this.compareCardsFiltersHelper) {
|
|
215
|
+
this.compareCardsFiltersHelper.clearFilters();
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
renderClearFilterBtn = () => {
|
|
219
|
+
if (!this.clearFilterButton || this.availableTvProducts.length === 0) {
|
|
220
|
+
return null;
|
|
221
|
+
}
|
|
222
|
+
return (index.h("button", { class: { 'clear-button': true, [`theme-${this.theme}`]: true }, onClick: () => this.clearAllFilters() }, index.h("tet-icon", { name: "tc-reload", part: "icon-selected" }), translations.translate('components-address-offers-filters-clear-btn')));
|
|
223
|
+
};
|
|
224
|
+
renderLoader = () => {
|
|
225
|
+
return (index.h("div", { class: "loader" }, Array.from({ length: 4 }).map(() => (index.h("tet-placeholder", { height: "2rem", width: "8rem", class: "tag-placeholder", darkTheme: this.theme === 'dark' })))));
|
|
226
|
+
};
|
|
212
227
|
render() {
|
|
213
228
|
return (index.h(index.Host, { key: '0653dfffcff52b781190e2d8bd13611217410425' }, this.availableTvProducts.length === 0 && this.renderLoader(), index.h("tet-tag-group", { key: '56d5d36703d745c6e1c57ff721bda16bae741d9e', tags: this.availableTvProducts, language: this.language, theme: this.theme }), this.renderClearFilterBtn()));
|
|
214
229
|
}
|
|
@@ -593,119 +608,6 @@ const TetCompareCard = class {
|
|
|
593
608
|
constructor(hostRef) {
|
|
594
609
|
index.registerInstance(this, hostRef);
|
|
595
610
|
this.selectEvent = index.createEvent(this, "selectEvent", 7);
|
|
596
|
-
/** The parent element containing the components siblings. */
|
|
597
|
-
this.parentElement = null;
|
|
598
|
-
/** The resize observer watching element resizes. */
|
|
599
|
-
this.resizeObserver = null;
|
|
600
|
-
/** An object containing the previous, watched, element sizes.
|
|
601
|
-
* index: element class name.
|
|
602
|
-
* number: the height sum of the element's children.
|
|
603
|
-
*/
|
|
604
|
-
this.sizes = {};
|
|
605
|
-
/**
|
|
606
|
-
* Dispatches a custom 'tet-card-resize' event to the `parentElement` with class names of the elements that have changed size.
|
|
607
|
-
*/
|
|
608
|
-
this.emitResize = () => {
|
|
609
|
-
/* Skip resize on wide cards */
|
|
610
|
-
if (this.currentCardType === 'wide60-40') {
|
|
611
|
-
return;
|
|
612
|
-
}
|
|
613
|
-
const resizedElements = [];
|
|
614
|
-
const resizeables = Array.from(querySelectorAllDeep("[class*='js-resize']", this.host));
|
|
615
|
-
for (const resizeable of resizeables) {
|
|
616
|
-
const resizeableHeight = this.getElementInnerHeight(resizeable);
|
|
617
|
-
const selector = Array.from(resizeable.classList).find((className) => className.includes('js-resize'));
|
|
618
|
-
if (this.sizes[selector] !== resizeableHeight) {
|
|
619
|
-
resizedElements.push(selector);
|
|
620
|
-
}
|
|
621
|
-
this.sizes[selector] = resizeableHeight;
|
|
622
|
-
}
|
|
623
|
-
/** Only dispatch if there are changes. */
|
|
624
|
-
if (resizedElements.length) {
|
|
625
|
-
this.parentElement.dispatchEvent(new CustomEvent('tet-card-resize', { detail: resizedElements }));
|
|
626
|
-
}
|
|
627
|
-
};
|
|
628
|
-
/**
|
|
629
|
-
* Adds bottom padding to the observed elements if they are smaller than those of their sibling cards.
|
|
630
|
-
* @param event A custom event containing the selectors of the elements that have changed size.
|
|
631
|
-
*/
|
|
632
|
-
this.resizeCard = (event) => {
|
|
633
|
-
const tabCardsContainer = closestPastShadow(this.parentElement, '.tet-compare-cards-tab__cards');
|
|
634
|
-
let parentContainer;
|
|
635
|
-
if (tabCardsContainer) {
|
|
636
|
-
parentContainer = querySelectorAllDeep('tet-compare-card', tabCardsContainer);
|
|
637
|
-
}
|
|
638
|
-
else {
|
|
639
|
-
parentContainer = this.parentElement.querySelectorAll('tet-compare-card');
|
|
640
|
-
}
|
|
641
|
-
const siblings = Array.from(parentContainer).filter((card) => card != this.host);
|
|
642
|
-
const hostShadowRoot = this.host.shadowRoot;
|
|
643
|
-
const elementSizes = {};
|
|
644
|
-
for (const sibling of siblings) {
|
|
645
|
-
const siblingShadowRoot = sibling.shadowRoot;
|
|
646
|
-
/** if a sibling is `best-choice` add extra padding to the top. */
|
|
647
|
-
if (!this.bestChoice && siblingShadowRoot.querySelector('.card').classList.contains('best-choice')) {
|
|
648
|
-
const firstElement = hostShadowRoot.querySelector('.best-choice-title');
|
|
649
|
-
firstElement.style.paddingBottom = '1rem';
|
|
650
|
-
}
|
|
651
|
-
const siblingElements = Array.from(querySelectorAllDeep("[class*='js-resize']", sibling));
|
|
652
|
-
for (const siblingElement of siblingElements) {
|
|
653
|
-
const selector = Array.from(siblingElement.classList).find((className) => className.includes('js-resize'));
|
|
654
|
-
if (!event.detail.includes(selector)) {
|
|
655
|
-
continue;
|
|
656
|
-
}
|
|
657
|
-
if (elementSizes[selector] === undefined) {
|
|
658
|
-
elementSizes[selector] = [];
|
|
659
|
-
}
|
|
660
|
-
const height = this.getElementInnerHeight(siblingElement);
|
|
661
|
-
elementSizes[selector].push({ element: siblingElement, height });
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
for (const selector in elementSizes) {
|
|
665
|
-
const element = querySelectorDeep(`.${selector}`, this.host);
|
|
666
|
-
const elementHeight = this.getElementInnerHeight(element);
|
|
667
|
-
/** Get the largest of the elements out of all cards. */
|
|
668
|
-
const largestHeight = elementSizes[selector].reduce((siblingA, siblingB) => (siblingA.height >= siblingB.height ? siblingA : siblingB), { element, height: elementHeight });
|
|
669
|
-
this.resizeObserver.unobserve(element);
|
|
670
|
-
if (largestHeight.element === element) {
|
|
671
|
-
/** If the current element is the largest, remove the extra padding. */
|
|
672
|
-
element.style.paddingBottom = null;
|
|
673
|
-
}
|
|
674
|
-
else {
|
|
675
|
-
/** Get the current padding from the largest sibling, as they will not have the manually added padding. */
|
|
676
|
-
const paddingBottom = size.getConvertedPixels(getComputedStyle(largestHeight.element).paddingBottom);
|
|
677
|
-
element.style.paddingBottom = `${largestHeight.height - elementHeight + paddingBottom}px`;
|
|
678
|
-
}
|
|
679
|
-
this.resizeObserver.observe(element);
|
|
680
|
-
}
|
|
681
|
-
};
|
|
682
|
-
/** Gets the height sum of all direct child elements.
|
|
683
|
-
* @param element The parent element.
|
|
684
|
-
* @returns a pixel value of the child element height sum.
|
|
685
|
-
*/
|
|
686
|
-
this.getElementInnerHeight = (element) => {
|
|
687
|
-
return Array.from(element.children)
|
|
688
|
-
.map((child) => child.getBoundingClientRect().height)
|
|
689
|
-
.reduce((a, b) => a + b, 0);
|
|
690
|
-
};
|
|
691
|
-
/** Attaches the `resizeObserver` to all elements containing a class selector containing `js-resize` */
|
|
692
|
-
this.observeResize = () => {
|
|
693
|
-
for (const element of Array.from(this.host.shadowRoot.querySelectorAll("[class*='js-resize']"))) {
|
|
694
|
-
this.resizeObserver.observe(element);
|
|
695
|
-
}
|
|
696
|
-
};
|
|
697
|
-
/**
|
|
698
|
-
* Set the current card type based on window width, essentially simulating media query behavior.
|
|
699
|
-
*/
|
|
700
|
-
this.setCardType = () => {
|
|
701
|
-
const windowWidth = window.innerWidth;
|
|
702
|
-
if (this.currentCardType === 'wide60-40' && windowWidth <= this.minWideWidth) {
|
|
703
|
-
this.currentCardType = 'regular';
|
|
704
|
-
}
|
|
705
|
-
else if (this.currentCardType === 'regular' && windowWidth > this.minWideWidth) {
|
|
706
|
-
this.currentCardType = 'wide60-40';
|
|
707
|
-
}
|
|
708
|
-
};
|
|
709
611
|
this.clickCallback = () => null;
|
|
710
612
|
this.index = undefined;
|
|
711
613
|
this.cardType = 'regular';
|
|
@@ -738,6 +640,20 @@ const TetCompareCard = class {
|
|
|
738
640
|
this.darkMode = false;
|
|
739
641
|
this.currentCardType = this.cardType;
|
|
740
642
|
}
|
|
643
|
+
get host() { return index.getElement(this); }
|
|
644
|
+
/**
|
|
645
|
+
* The selectEvent event emitter.
|
|
646
|
+
*/
|
|
647
|
+
selectEvent;
|
|
648
|
+
/** The parent element containing the components siblings. */
|
|
649
|
+
parentElement = null;
|
|
650
|
+
/** The resize observer watching element resizes. */
|
|
651
|
+
resizeObserver = null;
|
|
652
|
+
/** An object containing the previous, watched, element sizes.
|
|
653
|
+
* index: element class name.
|
|
654
|
+
* number: the height sum of the element's children.
|
|
655
|
+
*/
|
|
656
|
+
sizes = {};
|
|
741
657
|
onClick() {
|
|
742
658
|
this.selectEvent.emit({ index: this.index, target: this });
|
|
743
659
|
}
|
|
@@ -774,6 +690,110 @@ const TetCompareCard = class {
|
|
|
774
690
|
}
|
|
775
691
|
return this.parentElement;
|
|
776
692
|
}
|
|
693
|
+
/**
|
|
694
|
+
* Dispatches a custom 'tet-card-resize' event to the `parentElement` with class names of the elements that have changed size.
|
|
695
|
+
*/
|
|
696
|
+
emitResize = () => {
|
|
697
|
+
/* Skip resize on wide cards */
|
|
698
|
+
if (this.currentCardType === 'wide60-40') {
|
|
699
|
+
return;
|
|
700
|
+
}
|
|
701
|
+
const resizedElements = [];
|
|
702
|
+
const resizeables = Array.from(querySelectorAllDeep("[class*='js-resize']", this.host));
|
|
703
|
+
for (const resizeable of resizeables) {
|
|
704
|
+
const resizeableHeight = this.getElementInnerHeight(resizeable);
|
|
705
|
+
const selector = Array.from(resizeable.classList).find((className) => className.includes('js-resize'));
|
|
706
|
+
if (this.sizes[selector] !== resizeableHeight) {
|
|
707
|
+
resizedElements.push(selector);
|
|
708
|
+
}
|
|
709
|
+
this.sizes[selector] = resizeableHeight;
|
|
710
|
+
}
|
|
711
|
+
/** Only dispatch if there are changes. */
|
|
712
|
+
if (resizedElements.length) {
|
|
713
|
+
this.parentElement.dispatchEvent(new CustomEvent('tet-card-resize', { detail: resizedElements }));
|
|
714
|
+
}
|
|
715
|
+
};
|
|
716
|
+
/**
|
|
717
|
+
* Adds bottom padding to the observed elements if they are smaller than those of their sibling cards.
|
|
718
|
+
* @param event A custom event containing the selectors of the elements that have changed size.
|
|
719
|
+
*/
|
|
720
|
+
resizeCard = (event) => {
|
|
721
|
+
const tabCardsContainer = closestPastShadow(this.parentElement, '.tet-compare-cards-tab__cards');
|
|
722
|
+
let parentContainer;
|
|
723
|
+
if (tabCardsContainer) {
|
|
724
|
+
parentContainer = querySelectorAllDeep('tet-compare-card', tabCardsContainer);
|
|
725
|
+
}
|
|
726
|
+
else {
|
|
727
|
+
parentContainer = this.parentElement.querySelectorAll('tet-compare-card');
|
|
728
|
+
}
|
|
729
|
+
const siblings = Array.from(parentContainer).filter((card) => card != this.host);
|
|
730
|
+
const hostShadowRoot = this.host.shadowRoot;
|
|
731
|
+
const elementSizes = {};
|
|
732
|
+
for (const sibling of siblings) {
|
|
733
|
+
const siblingShadowRoot = sibling.shadowRoot;
|
|
734
|
+
/** if a sibling is `best-choice` add extra padding to the top. */
|
|
735
|
+
if (!this.bestChoice && siblingShadowRoot.querySelector('.card').classList.contains('best-choice')) {
|
|
736
|
+
const firstElement = hostShadowRoot.querySelector('.best-choice-title');
|
|
737
|
+
firstElement.style.paddingBottom = '1rem';
|
|
738
|
+
}
|
|
739
|
+
const siblingElements = Array.from(querySelectorAllDeep("[class*='js-resize']", sibling));
|
|
740
|
+
for (const siblingElement of siblingElements) {
|
|
741
|
+
const selector = Array.from(siblingElement.classList).find((className) => className.includes('js-resize'));
|
|
742
|
+
if (!event.detail.includes(selector)) {
|
|
743
|
+
continue;
|
|
744
|
+
}
|
|
745
|
+
if (elementSizes[selector] === undefined) {
|
|
746
|
+
elementSizes[selector] = [];
|
|
747
|
+
}
|
|
748
|
+
const height = this.getElementInnerHeight(siblingElement);
|
|
749
|
+
elementSizes[selector].push({ element: siblingElement, height });
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
for (const selector in elementSizes) {
|
|
753
|
+
const element = querySelectorDeep(`.${selector}`, this.host);
|
|
754
|
+
const elementHeight = this.getElementInnerHeight(element);
|
|
755
|
+
/** Get the largest of the elements out of all cards. */
|
|
756
|
+
const largestHeight = elementSizes[selector].reduce((siblingA, siblingB) => (siblingA.height >= siblingB.height ? siblingA : siblingB), { element, height: elementHeight });
|
|
757
|
+
this.resizeObserver.unobserve(element);
|
|
758
|
+
if (largestHeight.element === element) {
|
|
759
|
+
/** If the current element is the largest, remove the extra padding. */
|
|
760
|
+
element.style.paddingBottom = null;
|
|
761
|
+
}
|
|
762
|
+
else {
|
|
763
|
+
/** Get the current padding from the largest sibling, as they will not have the manually added padding. */
|
|
764
|
+
const paddingBottom = size.getConvertedPixels(getComputedStyle(largestHeight.element).paddingBottom);
|
|
765
|
+
element.style.paddingBottom = `${largestHeight.height - elementHeight + paddingBottom}px`;
|
|
766
|
+
}
|
|
767
|
+
this.resizeObserver.observe(element);
|
|
768
|
+
}
|
|
769
|
+
};
|
|
770
|
+
/** Gets the height sum of all direct child elements.
|
|
771
|
+
* @param element The parent element.
|
|
772
|
+
* @returns a pixel value of the child element height sum.
|
|
773
|
+
*/
|
|
774
|
+
getElementInnerHeight = (element) => {
|
|
775
|
+
return Array.from(element.children)
|
|
776
|
+
.map((child) => child.getBoundingClientRect().height)
|
|
777
|
+
.reduce((a, b) => a + b, 0);
|
|
778
|
+
};
|
|
779
|
+
/** Attaches the `resizeObserver` to all elements containing a class selector containing `js-resize` */
|
|
780
|
+
observeResize = () => {
|
|
781
|
+
for (const element of Array.from(this.host.shadowRoot.querySelectorAll("[class*='js-resize']"))) {
|
|
782
|
+
this.resizeObserver.observe(element);
|
|
783
|
+
}
|
|
784
|
+
};
|
|
785
|
+
/**
|
|
786
|
+
* Set the current card type based on window width, essentially simulating media query behavior.
|
|
787
|
+
*/
|
|
788
|
+
setCardType = () => {
|
|
789
|
+
const windowWidth = window.innerWidth;
|
|
790
|
+
if (this.currentCardType === 'wide60-40' && windowWidth <= this.minWideWidth) {
|
|
791
|
+
this.currentCardType = 'regular';
|
|
792
|
+
}
|
|
793
|
+
else if (this.currentCardType === 'regular' && windowWidth > this.minWideWidth) {
|
|
794
|
+
this.currentCardType = 'wide60-40';
|
|
795
|
+
}
|
|
796
|
+
};
|
|
777
797
|
getTheme() {
|
|
778
798
|
if (this.darkMode) {
|
|
779
799
|
if (this.theme === 'classic' || this.theme === 'light' || this.theme === 'dark') {
|
|
@@ -791,7 +811,7 @@ const TetCompareCard = class {
|
|
|
791
811
|
buttonContent = index.h("div", { class: "button", innerHTML: button });
|
|
792
812
|
}
|
|
793
813
|
else if (buttonArgs && buttonTitle) {
|
|
794
|
-
buttonContent = (index.h("div", { class: "button" }, index.h("tet-button",
|
|
814
|
+
buttonContent = (index.h("div", { class: "button" }, index.h("tet-button", { ...buttonArgs, theme: this.darkMode || this.theme === 'dark' ? 'dark' : 'light', type: buttonType }, buttonTitle), buttonStyle && index.h("style", null, buttonStyle)));
|
|
795
815
|
}
|
|
796
816
|
return (index.h("a", { target: target, href: link, "data-form-link": link, tabIndex: -1 }, buttonContent));
|
|
797
817
|
}
|
|
@@ -820,7 +840,6 @@ const TetCompareCard = class {
|
|
|
820
840
|
* @returns rendered card body.
|
|
821
841
|
*/
|
|
822
842
|
renderCard() {
|
|
823
|
-
var _a, _b, _c, _d, _e, _f;
|
|
824
843
|
return (index.h("div", { onClick: this.clickCallback, onKeyDown: () => { }, class: {
|
|
825
844
|
'card': true,
|
|
826
845
|
[`${this.currentCardType}`]: true,
|
|
@@ -845,7 +864,7 @@ const TetCompareCard = class {
|
|
|
845
864
|
'no-divider': this.priceShownVertically
|
|
846
865
|
}, part: "compare-card-title-wrapper" }, index.h("div", { class: {
|
|
847
866
|
'title-wrapper-inner': true
|
|
848
|
-
} }, this.options.heroTitle ? index.h("h3", { class: "hero-title" }, this.options.heroTitle) : '', this.options.mainTitle ? index.h("h3", { class: "main-title" }, this.options.mainTitle) : '', this.showSubTitle && this.options.subTitle ? (index.h("div", { class: "sub-title" }, this.options.subTitle, this.renderTooltip('infoItem'))) : (''), this.options.infoTitle ? index.h("div", { class: "info-title" }, this.options.infoTitle) : ''))) : (''), index.h("div", { class: "content-wrapper js-resize-content" }, index.h("div", { class: "custom-content-wrapper" }, index.h("slot", { name: "custom-slot" })), this.showBulletPoints && !this.options.bulletPointPositionBottom ? (index.h("div", { class: "bullet-points-wrapper" },
|
|
867
|
+
} }, this.options.heroTitle ? index.h("h3", { class: "hero-title" }, this.options.heroTitle) : '', this.options.mainTitle ? index.h("h3", { class: "main-title" }, this.options.mainTitle) : '', this.showSubTitle && this.options.subTitle ? (index.h("div", { class: "sub-title" }, this.options.subTitle, this.renderTooltip('infoItem'))) : (''), this.options.infoTitle ? index.h("div", { class: "info-title" }, this.options.infoTitle) : ''))) : (''), index.h("div", { class: "content-wrapper js-resize-content" }, index.h("div", { class: "custom-content-wrapper" }, index.h("slot", { name: "custom-slot" })), this.showBulletPoints && !this.options.bulletPointPositionBottom ? (index.h("div", { class: "bullet-points-wrapper" }, this.options?.bulletPoints?.map((bulletpoint) => (index.h("div", { class: "bullet-point" }, index.h("tet-icon", { class: "icon", name: "check-circle" }), index.h("div", { innerHTML: bulletpoint })))))) : (''), index.h("div", { class: "upsell-block" }, index.h("slot", { name: "upsell-block-slot" }))), this.options.netflixProductDescription ? (index.h("div", { class: "netflix-product-description" }, this.options.netflixProductDescription)) : (''), index.h("div", { class: "divided-information-wrapper js-resize-divide-slot" }, index.h("slot", { name: "divided-information-slot" }))), index.h("div", { class: "compare-card-half-40" }, index.h("div", { class: "price js-resize-price" }, this.options.price && !isNaN(parseFloat(this.options.price)) ? (index.h("div", { class: {
|
|
849
868
|
'price-wrapper': true,
|
|
850
869
|
'price-wrap': this.options.priceWrap,
|
|
851
870
|
'price-flex-column': this.priceShownVertically
|
|
@@ -853,21 +872,19 @@ const TetCompareCard = class {
|
|
|
853
872
|
'secondary-link': true,
|
|
854
873
|
'tet-link': true,
|
|
855
874
|
[`${this.secondaryLinkPosition}`]: true
|
|
856
|
-
} }, this.options.secondaryLinkOpenBlank ? (index.h("a", { target: "_blank", href: this.options.secondaryLink }, this.options.secondaryLinkText)) : (index.h("a", { href: this.options.secondaryLink }, this.options.secondaryLinkText))))), this.showBulletPoints && this.options.bulletPointPositionBottom ? (index.h("div", { class: "bullet-points-wrapper bottom" },
|
|
875
|
+
} }, this.options.secondaryLinkOpenBlank ? (index.h("a", { target: "_blank", href: this.options.secondaryLink }, this.options.secondaryLinkText)) : (index.h("a", { href: this.options.secondaryLink }, this.options.secondaryLinkText))))), this.showBulletPoints && this.options.bulletPointPositionBottom ? (index.h("div", { class: "bullet-points-wrapper bottom" }, this.options?.bulletPoints?.map((bulletpoint) => (index.h("div", { class: "bullet-point" }, index.h("tet-icon", { class: "icon", name: "check-circle" }), index.h("div", { innerHTML: bulletpoint })))))) : ('')), this.cardScript ? index.h("link", { href: this.cardScript, rel: "stylesheet", type: "text/css" }) : '', index.h("div", { class: "data-hidden" }, index.h("div", { "data-attribute": "hero-title" }, this.options.heroTitle ? this.options.heroTitle : ''), index.h("div", { "data-attribute": "main-title" }, this.options.mainTitle ? this.options.mainTitle : ''), index.h("div", { "data-attribute": "sub-title" }, this.options.subTitle ? this.options.subTitle : ''), index.h("div", { "data-attribute": "price" }, this.options.price ? this.formatPrice(this.options.price) : ''), index.h("div", { "data-attribute": "old-price" }, this.options.oldPrice ? this.formatPrice(this.options.oldPrice) : ''), index.h("div", { "data-attribute": "term" }, this.options.term ? this.options.term : ''), index.h("div", { "data-attribute": "term-text" }, this.options.termText ? this.options.termText : ''), index.h("div", { "data-attribute": "helper" }, this.options.helper ? this.options.helper : ''), index.h("div", { "data-attribute": "description" }, index.h("slot", { name: "description-slot" })), index.h("div", { "data-attribute": "custom-slot" }, index.h("slot", { name: "custom-slot" })), this.showBulletPoints ? (index.h("div", { "data-attribute": "bullet-points" }, this.options?.bulletPoints?.map((bulletpoint) => (index.h("div", null, bulletpoint))))) : (''), index.h("div", { "data-attribute": "divided-information" }, index.h("slot", { name: "divided-information-slot" })), this.options.pricePrefix ?
|
|
857
876
|
index.h("div", { "data-attribute": "price-prefix" }, this.options.pricePrefix)
|
|
858
877
|
: '', this.options.priceInfo ?
|
|
859
878
|
index.h("div", { "data-attribute": "price-info" }, this.options.priceInfo)
|
|
860
879
|
: '')));
|
|
861
880
|
}
|
|
862
881
|
render() {
|
|
863
|
-
var _a;
|
|
864
882
|
const card = this.renderCard();
|
|
865
883
|
if (this.thumbnail) {
|
|
866
|
-
return (index.h("div", { class: "card-wrapper js-card-wrapper" }, index.h("img", { src: this.thumbnail, class: "card-thumbnail", alt:
|
|
884
|
+
return (index.h("div", { class: "card-wrapper js-card-wrapper" }, index.h("img", { src: this.thumbnail, class: "card-thumbnail", alt: this.thumbnailAlt ?? '' }), card));
|
|
867
885
|
}
|
|
868
886
|
return card;
|
|
869
887
|
}
|
|
870
|
-
get host() { return index.getElement(this); }
|
|
871
888
|
};
|
|
872
889
|
TetCompareCard.style = TetCompareCardStyle0;
|
|
873
890
|
|