@tet/tet-components 1.4.49-testing → 1.4.50-production
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{address-656e77f6.js → address-951109ee.js} +1 -1
- package/dist/cjs/{assets-f64f0e16.js → assets-c00a24d2.js} +1 -1
- package/dist/cjs/{async-request-fcf33aba.js → async-request-13036d6f.js} +1 -1
- package/dist/cjs/{http-codes-40da1e61.js → http-codes-16564d25.js} +1 -1
- package/dist/cjs/{index-3242ff3f.js → index-162b4cbc.js} +1 -1
- package/dist/cjs/{index-4b423f33.js → index-a59cbcb0.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{phone-055efd07.js → phone-39f20542.js} +2 -2
- package/dist/cjs/{product-comparison-88a89820.js → product-comparison-5535cd9e.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +9 -9
- package/dist/cjs/tet-address-search.cjs.entry.js +7 -7
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +6 -6
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
- package/dist/cjs/tet-carousel.cjs.entry.js +9 -9
- package/dist/cjs/tet-checkbox_3.cjs.entry.js +2 -2
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +5 -5
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +6 -6
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-countdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +4 -4
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
- package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
- package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
- package/dist/cjs/tet-grid.cjs.entry.js +2 -2
- package/dist/cjs/tet-icon.cjs.entry.js +3 -3
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +5 -5
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-loader.cjs.entry.js +2 -2
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +61 -33
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +7 -7
- package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
- package/dist/cjs/tet-referral.cjs.entry.js +7 -7
- package/dist/cjs/tet-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +2 -2
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +2 -2
- package/dist/cjs/tet-snicker-card.cjs.entry.js +5 -5
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-support-search.cjs.entry.js +4 -4
- package/dist/cjs/tet-switch.cjs.entry.js +4 -4
- package/dist/cjs/tet-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/tet-table.cjs.entry.js +2 -2
- package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +3 -3
- package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-cde3168f.js} +2 -2
- package/dist/cjs/{translations-03c9de64.js → translations-ca556860.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-mini-compare-card/assets/go3-sport-image.js +28 -0
- package/dist/collection/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.css +64 -29
- package/dist/collection/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.js +139 -43
- package/dist/collection/components/advanced/cards/tet-snicker-card/partials/tet-snicker-card-badge/tet-snicker-card-badge.js +1 -1
- package/dist/collection/components/advanced/cards/tet-snicker-card/tet-snicker-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-snicker-card-group/tet-snicker-card-group.js +1 -1
- package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
- package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +2 -2
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
- package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
- package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
- package/dist/collection/components/advanced/search/tet-support-search/tet-support-search.js +3 -3
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +6 -6
- package/dist/collection/components/basic/buttons/tet-switch/tet-switch.js +3 -3
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +6 -6
- package/dist/collection/components/basic/icon/tet-icon.js +1 -1
- package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
- package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
- package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
- package/dist/collection/components/basic/misc/tet-countdown/tet-countdown.js +1 -1
- package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
- package/dist/collection/components/basic/steppers/tet-round-stepper/tet-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper/tet-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v2/tet-stepper-v2.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
- package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view/tet-thank-you-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v2/tet-thank-you-view-v2.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.js +1 -1
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-bf9ae32d.js → p-09429507.js} +13 -13
- package/dist/components/{p-963b805c.js → p-0fc5f3a8.js} +3 -3
- package/dist/components/{p-9ffa5bd8.js → p-1001a393.js} +8 -8
- package/dist/components/{p-ee54db57.js → p-1037133e.js} +4 -4
- package/dist/components/{p-2565b5ec.js → p-110ad127.js} +11 -11
- package/dist/components/{p-9441b7d4.js → p-14ee939b.js} +3 -3
- package/dist/components/{p-babfb5e5.js → p-19d9055a.js} +8 -8
- package/dist/components/{p-faadd2e1.js → p-1cddaeb9.js} +3 -3
- package/dist/components/{p-d91c0f6b.js → p-20cf1eca.js} +2 -2
- package/dist/components/{p-af7a4cb5.js → p-2bbd77c2.js} +3 -3
- package/dist/components/{p-42de8d71.js → p-2da9eed9.js} +2 -2
- package/dist/components/{p-8574a3a1.js → p-3b101667.js} +6 -6
- package/dist/components/{p-646fed88.js → p-3e5e90db.js} +1 -1
- package/dist/components/{p-092b091d.js → p-40ade6b1.js} +7 -7
- package/dist/components/{p-d5165dba.js → p-41a2d3f9.js} +3 -3
- package/dist/components/{p-5158043e.js → p-41ae31d7.js} +1 -1
- package/dist/components/{p-a08ba8be.js → p-466d291f.js} +1 -1
- package/dist/components/{p-c55e7990.js → p-49a636a7.js} +3 -3
- package/dist/components/{p-061004fa.js → p-4cfcfeca.js} +3 -3
- package/dist/components/{p-41762a49.js → p-4d8a254f.js} +1 -1
- package/dist/components/{p-9b6d0cc3.js → p-5636c003.js} +4 -4
- package/dist/components/{p-f76fad86.js → p-5dcf08ec.js} +1 -1
- package/dist/components/{p-84a538fb.js → p-5fb2a24c.js} +10 -10
- package/dist/components/{p-870fad2f.js → p-6035b617.js} +2 -2
- package/dist/components/{p-a486d514.js → p-607b711d.js} +5 -5
- package/dist/components/{p-ac971b1b.js → p-60814fd4.js} +2 -2
- package/dist/components/{p-5ce90f5e.js → p-76bcd750.js} +2 -2
- package/dist/components/{p-fc699b45.js → p-76ec7861.js} +6 -6
- package/dist/components/{p-c09d3bd3.js → p-8162fa4a.js} +10 -10
- package/dist/components/{p-f18a0a13.js → p-82f09020.js} +7 -7
- package/dist/components/{p-8d33285a.js → p-86edb0c6.js} +3 -3
- package/dist/components/{p-4468c9e9.js → p-8792ebce.js} +1 -1
- package/dist/components/{p-7a7928fd.js → p-885689aa.js} +1 -1
- package/dist/components/{p-25b93e8f.js → p-8b6ad07d.js} +1 -1
- package/dist/components/{p-debf3f2f.js → p-9809e03e.js} +3 -3
- package/dist/components/{p-a4670e6b.js → p-9ea75f0a.js} +8 -8
- package/dist/components/{p-ee17ff2b.js → p-a2e18fd2.js} +2 -2
- package/dist/components/{p-4f53104b.js → p-a434796a.js} +2 -2
- package/dist/components/{p-9afafdbb.js → p-a71944c9.js} +2 -2
- package/dist/components/{p-ec7d275d.js → p-bc649acc.js} +10 -10
- package/dist/components/{p-10d7cf1c.js → p-bdd067fd.js} +5 -5
- package/dist/components/{p-ba425140.js → p-c000b23e.js} +6 -6
- package/dist/components/{p-f3636c1b.js → p-c388aa4e.js} +3 -3
- package/dist/components/{p-57975f41.js → p-c5771e5b.js} +2 -2
- package/dist/components/{p-2b8018b9.js → p-cbc99f83.js} +5 -5
- package/dist/components/{p-9dd9b4d4.js → p-cc4ab3ba.js} +1 -1
- package/dist/components/{p-2a947b34.js → p-cd9c430c.js} +6 -6
- package/dist/components/{p-a7feaf0a.js → p-d09e470e.js} +2 -2
- package/dist/components/{p-6c38c289.js → p-d284d615.js} +2 -2
- package/dist/components/{p-e8e67d7f.js → p-d8699c47.js} +4 -4
- package/dist/components/{p-03079120.js → p-e18f111c.js} +1 -1
- package/dist/components/{p-aae4f70e.js → p-e3d4f1d3.js} +3 -3
- package/dist/components/{p-2106a485.js → p-e6335656.js} +2 -2
- package/dist/components/{p-bc297484.js → p-ea499368.js} +14 -14
- package/dist/components/{p-88ed7e98.js → p-ec2e1429.js} +2 -2
- package/dist/components/{p-4b8c86e0.js → p-ed0891ec.js} +3 -3
- package/dist/components/{p-44201f97.js → p-f0861d7a.js} +1 -1
- package/dist/components/{p-9f83d277.js → p-fa530270.js} +4 -4
- package/dist/components/{p-6b1559e8.js → p-fc58828d.js} +7 -7
- 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 +25 -25
- 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 +13 -13
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +6 -6
- 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 +20 -20
- package/dist/components/tet-b2b-service-calculator.js +9 -9
- package/dist/components/tet-banner-nav.js +3 -3
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +2 -2
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +5 -5
- package/dist/components/tet-business-lines.js +6 -6
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +2 -2
- 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 +10 -10
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +12 -12
- package/dist/components/tet-colors.js +5 -5
- package/dist/components/tet-compare-card-v2.js +9 -9
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +16 -16
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +10 -10
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-countdown.js +2 -2
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-customer-assets.js +10 -10
- 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 +10 -10
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +8 -8
- package/dist/components/tet-divider.js +7 -7
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +4 -4
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +2 -2
- package/dist/components/tet-feedback-form.js +7 -7
- package/dist/components/tet-filter.js +4 -4
- package/dist/components/tet-floating-block.js +3 -3
- package/dist/components/tet-font-weight.js +2 -2
- package/dist/components/tet-fonts.js +2 -2
- package/dist/components/tet-grid.js +2 -2
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +5 -5
- package/dist/components/tet-layout.js +2 -2
- package/dist/components/tet-link-card-list.js +3 -3
- package/dist/components/tet-link.js +2 -2
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +10 -10
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-mini-compare-card.js +70 -38
- package/dist/components/tet-multi-step-dialog.js +6 -6
- package/dist/components/tet-navigation-mobile.js +5 -5
- package/dist/components/tet-news-card-list.js +5 -5
- 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-position.js +7 -7
- 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 +8 -8
- package/dist/components/tet-round-stepper.js +3 -3
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-badge.js +2 -2
- package/dist/components/tet-snicker-card-group.js +2 -2
- package/dist/components/tet-snicker-card.js +13 -13
- package/dist/components/tet-spacing.js +2 -2
- 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-support-search.js +10 -10
- 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 +4 -4
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +7 -7
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v2.js +6 -6
- package/dist/components/tet-thank-you-view-v3.js +6 -6
- package/dist/components/tet-thank-you-view.js +5 -5
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +2 -2
- package/dist/components/tet-tv-gift-list.js +4 -4
- package/dist/esm/{address-1e0810e7.js → address-24e316f2.js} +1 -1
- package/dist/esm/{assets-e1349520.js → assets-343a0b59.js} +1 -1
- package/dist/esm/{async-request-4c945e13.js → async-request-a5159336.js} +1 -1
- package/dist/esm/{http-codes-1927ea00.js → http-codes-98d3e25c.js} +1 -1
- package/dist/esm/{index-aac31bd2.js → index-0da0d682.js} +1 -1
- package/dist/esm/{index-412df137.js → index-6c5bc6fc.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{phone-1a920c5c.js → phone-ea11e1d0.js} +2 -2
- package/dist/esm/{product-comparison-dd90c721.js → product-comparison-21980b84.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_4.entry.js +9 -9
- package/dist/esm/tet-address-search.entry.js +7 -7
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
- package/dist/esm/tet-autocomplete.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +6 -6
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +3 -3
- package/dist/esm/tet-business-lines.entry.js +5 -5
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +5 -5
- package/dist/esm/tet-carousel.entry.js +9 -9
- package/dist/esm/tet-checkbox_3.entry.js +2 -2
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +5 -5
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +5 -5
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +6 -6
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-countdown.entry.js +2 -2
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +4 -4
- package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
- package/dist/esm/tet-datepicker.entry.js +5 -5
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +2 -2
- package/dist/esm/tet-fonts.entry.js +2 -2
- package/dist/esm/tet-grid.entry.js +2 -2
- package/dist/esm/tet-icon.entry.js +3 -3
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +5 -5
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-loader.entry.js +2 -2
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +61 -33
- package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +4 -4
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input.entry.js +3 -3
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +7 -7
- package/dist/esm/tet-range-slider.entry.js +8 -8
- package/dist/esm/tet-referral.entry.js +7 -7
- package/dist/esm/tet-round-stepper.entry.js +2 -2
- package/dist/esm/tet-snicker-card-badge.entry.js +2 -2
- package/dist/esm/tet-snicker-card-group.entry.js +2 -2
- package/dist/esm/tet-snicker-card.entry.js +5 -5
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-spinner.entry.js +4 -4
- package/dist/esm/tet-stepper-input.entry.js +4 -4
- package/dist/esm/tet-stepper-v2.entry.js +2 -2
- package/dist/esm/tet-stepper-v3.entry.js +2 -2
- package/dist/esm/tet-stepper.entry.js +2 -2
- package/dist/esm/tet-support-search.entry.js +4 -4
- package/dist/esm/tet-switch.entry.js +4 -4
- package/dist/esm/tet-tab-header.entry.js +3 -3
- package/dist/esm/tet-table.entry.js +2 -2
- package/dist/esm/tet-tag_2.entry.js +5 -5
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v2.entry.js +4 -4
- package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
- package/dist/esm/tet-thank-you-view.entry.js +2 -2
- package/dist/esm/tet-tv-gift-block.entry.js +2 -2
- package/dist/esm/tet-tv-gift-list.entry.js +3 -3
- package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-37dd9692.js} +2 -2
- package/dist/esm/{translations-4712c45f.js → translations-9a0d9386.js} +1 -1
- package/dist/tet-components/{p-f6916bfc.entry.js → p-01a44fa7.entry.js} +1 -1
- package/dist/tet-components/{p-0c6b6730.js → p-0255120e.js} +1 -1
- package/dist/tet-components/{p-b15dea9a.entry.js → p-03509092.entry.js} +1 -1
- package/dist/tet-components/{p-e6fe24ea.entry.js → p-038eb947.entry.js} +1 -1
- package/dist/tet-components/{p-3cde748b.entry.js → p-0d7d420a.entry.js} +1 -1
- package/dist/tet-components/{p-e0fc34c9.entry.js → p-114edb1d.entry.js} +1 -1
- package/dist/tet-components/{p-bd243842.entry.js → p-13288ea9.entry.js} +1 -1
- package/dist/tet-components/{p-12c824f4.entry.js → p-14b9903f.entry.js} +1 -1
- package/dist/tet-components/{p-4c6a379b.entry.js → p-1537fc09.entry.js} +1 -1
- package/dist/tet-components/{p-ce850061.entry.js → p-154f01f9.entry.js} +1 -1
- package/dist/tet-components/{p-46975ec4.entry.js → p-17276f7a.entry.js} +1 -1
- package/dist/tet-components/{p-c455736d.entry.js → p-185ea84a.entry.js} +1 -1
- package/dist/tet-components/{p-7544dfd7.js → p-19c6a28c.js} +1 -1
- package/dist/tet-components/{p-724189c2.entry.js → p-1ad37ab3.entry.js} +1 -1
- package/dist/tet-components/{p-32691e85.entry.js → p-1ae67837.entry.js} +1 -1
- package/dist/tet-components/{p-8c0ac70a.entry.js → p-1baa8f1d.entry.js} +1 -1
- package/dist/tet-components/{p-76526271.entry.js → p-1cecb836.entry.js} +1 -1
- package/dist/tet-components/{p-1fd2adaf.js → p-1e9db0cc.js} +1 -1
- package/dist/tet-components/{p-836e8254.entry.js → p-1f92c6a0.entry.js} +1 -1
- package/dist/tet-components/{p-d8518d4b.js → p-21acfb7d.js} +1 -1
- package/dist/tet-components/{p-aff47d36.entry.js → p-21bdda53.entry.js} +1 -1
- package/dist/tet-components/{p-71018cb8.entry.js → p-23ae40bc.entry.js} +1 -1
- package/dist/tet-components/{p-cfe6355d.entry.js → p-24b31e50.entry.js} +1 -1
- package/dist/tet-components/{p-89ccad80.entry.js → p-24b5fc92.entry.js} +1 -1
- package/dist/tet-components/{p-1e67317e.entry.js → p-27b1f1e9.entry.js} +1 -1
- package/dist/tet-components/{p-e9883cd3.entry.js → p-294fcbe6.entry.js} +1 -1
- package/dist/tet-components/{p-3ab161b4.entry.js → p-2e04273e.entry.js} +1 -1
- package/dist/tet-components/{p-5845a3dc.entry.js → p-2e1770c3.entry.js} +1 -1
- package/dist/tet-components/{p-c7c70062.entry.js → p-38177376.entry.js} +1 -1
- package/dist/tet-components/p-3c8bea13.entry.js +1 -0
- package/dist/tet-components/{p-9c23d6d8.entry.js → p-3cf56481.entry.js} +1 -1
- package/dist/tet-components/{p-c25c180e.entry.js → p-3e617d43.entry.js} +1 -1
- package/dist/tet-components/{p-cde8057a.entry.js → p-48d13280.entry.js} +1 -1
- package/dist/tet-components/{p-f3fa62ea.entry.js → p-4e4f057c.entry.js} +1 -1
- package/dist/tet-components/{p-cea240d6.entry.js → p-4f7a8ae9.entry.js} +1 -1
- package/dist/tet-components/{p-2a075768.entry.js → p-4fe60559.entry.js} +1 -1
- package/dist/tet-components/{p-920c54d8.entry.js → p-5104fc99.entry.js} +1 -1
- package/dist/tet-components/{p-5391d594.entry.js → p-52301881.entry.js} +1 -1
- package/dist/tet-components/{p-316a6c7f.entry.js → p-5574b3bf.entry.js} +1 -1
- package/dist/tet-components/{p-ee144210.entry.js → p-5592d9ee.entry.js} +1 -1
- package/dist/tet-components/{p-a0dbef8c.entry.js → p-55d40294.entry.js} +1 -1
- package/dist/tet-components/{p-0ebbf5ef.js → p-59ffdcd3.js} +1 -1
- package/dist/tet-components/{p-33ce9f7b.entry.js → p-5c46df37.entry.js} +1 -1
- package/dist/tet-components/{p-d4021803.entry.js → p-6139c1ba.entry.js} +1 -1
- package/dist/tet-components/{p-10e72480.entry.js → p-6235b259.entry.js} +1 -1
- package/dist/tet-components/{p-be3a10d0.entry.js → p-62d40cca.entry.js} +1 -1
- package/dist/tet-components/{p-8a363e18.entry.js → p-643c398b.entry.js} +1 -1
- package/dist/tet-components/{p-6eff3406.entry.js → p-69812025.entry.js} +1 -1
- package/dist/tet-components/p-6a538e1b.entry.js +1 -0
- package/dist/tet-components/{p-05bb42b5.entry.js → p-6f06432a.entry.js} +1 -1
- package/dist/tet-components/{p-5abc00f3.entry.js → p-74c123dd.entry.js} +1 -1
- package/dist/tet-components/{p-a42ebcce.entry.js → p-771a6368.entry.js} +1 -1
- package/dist/tet-components/{p-9a1f44f5.entry.js → p-79931377.entry.js} +1 -1
- package/dist/tet-components/{p-a113873a.entry.js → p-7b88bb4c.entry.js} +1 -1
- package/dist/tet-components/p-7c868b40.js +2 -0
- package/dist/tet-components/{p-1ac4521f.entry.js → p-7fe74a67.entry.js} +1 -1
- package/dist/tet-components/p-81456c37.js +1 -0
- package/dist/tet-components/{p-778c46a6.js → p-81586378.js} +1 -1
- package/dist/tet-components/{p-7056a120.entry.js → p-83a9957c.entry.js} +1 -1
- package/dist/tet-components/{p-b0c62997.entry.js → p-8763c126.entry.js} +1 -1
- package/dist/tet-components/{p-b34e86ef.entry.js → p-886b6db2.entry.js} +1 -1
- package/dist/tet-components/{p-f16514db.entry.js → p-8a26190c.entry.js} +1 -1
- package/dist/tet-components/{p-2a43ccef.entry.js → p-8c320500.entry.js} +1 -1
- package/dist/tet-components/{p-969964fc.entry.js → p-8cd391f1.entry.js} +1 -1
- package/dist/tet-components/{p-f3ce4422.entry.js → p-93e67d37.entry.js} +1 -1
- package/dist/tet-components/{p-f81b3bb0.js → p-a0b08ff1.js} +1 -1
- package/dist/tet-components/{p-c9f21fde.entry.js → p-a193f723.entry.js} +1 -1
- package/dist/tet-components/{p-122f3d3c.entry.js → p-a31f3a9a.entry.js} +1 -1
- package/dist/tet-components/{p-8915cdcf.entry.js → p-a3f313f1.entry.js} +1 -1
- package/dist/tet-components/{p-2176d605.entry.js → p-a497d092.entry.js} +1 -1
- package/dist/tet-components/p-a9b808b5.entry.js +1 -0
- package/dist/tet-components/{p-7fc79d32.entry.js → p-ae027694.entry.js} +1 -1
- package/dist/tet-components/{p-b439dc76.entry.js → p-b54e29ee.entry.js} +1 -1
- package/dist/tet-components/{p-e60b9cc4.entry.js → p-b92d64e0.entry.js} +1 -1
- package/dist/tet-components/{p-a093603e.entry.js → p-bbb58e2a.entry.js} +1 -1
- package/dist/tet-components/{p-46f6a051.entry.js → p-bcbb0768.entry.js} +1 -1
- package/dist/tet-components/{p-496180bc.entry.js → p-beb5e68d.entry.js} +1 -1
- package/dist/tet-components/{p-0d08725d.entry.js → p-bfd7d0c9.entry.js} +1 -1
- package/dist/tet-components/{p-c846b909.entry.js → p-c0c1b40a.entry.js} +1 -1
- package/dist/tet-components/{p-1ab7948a.entry.js → p-c2d4f5ad.entry.js} +1 -1
- package/dist/tet-components/{p-903c4587.entry.js → p-c423be9c.entry.js} +1 -1
- package/dist/tet-components/{p-9c837569.entry.js → p-c95500c7.entry.js} +1 -1
- package/dist/tet-components/{p-19fe8f41.entry.js → p-cb171bb9.entry.js} +1 -1
- package/dist/tet-components/{p-c4de9e32.entry.js → p-ccbe2f2a.entry.js} +1 -1
- package/dist/tet-components/{p-b893a2b0.entry.js → p-cd5e950a.entry.js} +1 -1
- package/dist/tet-components/{p-5e2eb1e5.entry.js → p-cfa681df.entry.js} +1 -1
- package/dist/tet-components/{p-d111dcb8.entry.js → p-d04088d9.entry.js} +1 -1
- package/dist/tet-components/{p-a0c7fa2c.entry.js → p-d06fc591.entry.js} +1 -1
- package/dist/tet-components/{p-f4c3c40e.entry.js → p-d4b57359.entry.js} +1 -1
- package/dist/tet-components/{p-a64e3e96.entry.js → p-d69f671b.entry.js} +1 -1
- package/dist/tet-components/{p-da0fc55d.entry.js → p-d9ba7a6e.entry.js} +1 -1
- package/dist/tet-components/{p-b365e697.entry.js → p-dadebb6f.entry.js} +1 -1
- package/dist/tet-components/{p-92ea084b.entry.js → p-e24d9987.entry.js} +1 -1
- package/dist/tet-components/{p-493768b0.entry.js → p-e7cbab6c.entry.js} +1 -1
- package/dist/tet-components/{p-3e3ecc08.entry.js → p-ed6af051.entry.js} +1 -1
- package/dist/tet-components/{p-f7a05494.entry.js → p-edd18cee.entry.js} +1 -1
- package/dist/tet-components/{p-39796998.entry.js → p-f080b1a0.entry.js} +1 -1
- package/dist/tet-components/{p-229abb64.entry.js → p-f113e773.entry.js} +1 -1
- package/dist/tet-components/{p-7821ff3b.entry.js → p-f32c58e7.entry.js} +1 -1
- package/dist/tet-components/{p-87221449.entry.js → p-f3cd9c56.entry.js} +1 -1
- package/dist/tet-components/{p-a8051a99.js → p-f9e5405c.js} +1 -1
- package/dist/tet-components/{p-8bfd498e.entry.js → p-fa69d1cf.entry.js} +1 -1
- package/dist/tet-components/{p-5d12f709.entry.js → p-fc642818.entry.js} +1 -1
- package/dist/tet-components/{p-ccfa9f31.entry.js → p-fc8d6963.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-mini-compare-card/assets/go3-sport-image.d.ts +2 -0
- package/dist/types/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.d.ts +27 -18
- package/dist/types/components.d.ts +45 -10
- package/package.json +1 -1
- package/dist/tet-components/p-613fd748.entry.js +0 -1
- package/dist/tet-components/p-65df1581.entry.js +0 -1
- package/dist/tet-components/p-83f43fdd.js +0 -2
- package/dist/tet-components/p-b52e7d13.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
package/dist/collection/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.js
CHANGED
|
@@ -1,53 +1,77 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class TetMiniCompareCard {
|
|
3
3
|
constructor() {
|
|
4
|
-
this.benefits =
|
|
5
|
-
this.
|
|
4
|
+
this.benefits = [];
|
|
5
|
+
this.productTitle = '';
|
|
6
6
|
this.price = undefined;
|
|
7
7
|
this.oldPrice = undefined;
|
|
8
8
|
this.currency = undefined;
|
|
9
|
-
this.buttonLabel =
|
|
9
|
+
this.buttonLabel = '';
|
|
10
|
+
this.url = undefined;
|
|
11
|
+
this.urlTarget = '_self';
|
|
12
|
+
}
|
|
13
|
+
buttonMobileBreakpoint = 768;
|
|
14
|
+
buttonRef = null;
|
|
15
|
+
onPriceChange() {
|
|
16
|
+
this.syncButtonSize();
|
|
10
17
|
}
|
|
11
18
|
/**
|
|
12
|
-
*
|
|
19
|
+
* Emits when the CTA button is clicked.
|
|
13
20
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
ctaClick;
|
|
22
|
+
getResolvedBenefits() {
|
|
23
|
+
if (Array.isArray(this.benefits))
|
|
24
|
+
return this.benefits;
|
|
25
|
+
if (typeof this.benefits === 'string') {
|
|
26
|
+
try {
|
|
27
|
+
const parsed = JSON.parse(this.benefits);
|
|
28
|
+
return Array.isArray(parsed) ? parsed : [];
|
|
29
|
+
}
|
|
30
|
+
catch {
|
|
31
|
+
return [];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return [];
|
|
35
|
+
}
|
|
36
|
+
handleCtaClick = () => {
|
|
37
|
+
const buttonLabel = this.buttonLabel.trim();
|
|
38
|
+
this.ctaClick.emit({
|
|
39
|
+
productTitle: this.productTitle,
|
|
40
|
+
buttonLabel,
|
|
41
|
+
url: this.url,
|
|
42
|
+
urlTarget: this.urlTarget === '_blank' ? '_blank' : '_self'
|
|
43
|
+
});
|
|
17
44
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
45
|
+
componentDidLoad() {
|
|
46
|
+
this.syncButtonSize();
|
|
47
|
+
globalThis.addEventListener('resize', this.syncButtonSize);
|
|
48
|
+
}
|
|
49
|
+
disconnectedCallback() {
|
|
50
|
+
globalThis.removeEventListener('resize', this.syncButtonSize);
|
|
51
|
+
}
|
|
52
|
+
syncButtonSize = () => {
|
|
53
|
+
if (globalThis.innerWidth < this.buttonMobileBreakpoint) {
|
|
54
|
+
this.buttonRef?.setAttribute('size', (this.price == null ? 'medium' : 'small'));
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
this.buttonRef?.removeAttribute('size');
|
|
24
58
|
}
|
|
25
|
-
return h("div", { class: "card__list" }, this.benefits.map((benefit) => this.renderBenefitsList(benefit)));
|
|
26
59
|
};
|
|
27
|
-
/**
|
|
28
|
-
* Render badge block content.
|
|
29
|
-
*/
|
|
30
60
|
renderBadgeContent = () => {
|
|
31
61
|
const { price, currency, oldPrice } = this;
|
|
32
|
-
if (
|
|
62
|
+
if (price == null) {
|
|
33
63
|
return null;
|
|
34
64
|
}
|
|
35
65
|
const mainPrice = price.toFixed(2).toString().split('.');
|
|
36
|
-
return (h("div", { class: "card__badge-content-item" }, h("div", { class: "card__badge-content-item__price-container" }, h("span", { class: "card__badge-content-item__price" }, mainPrice[0]), h("div", { class: "card__badge-content-item__price-details" }, h("span", { class: "card__badge-content-item__price-details__header" }, mainPrice[1]), h("span", { class: "card__badge-content-item__price-details__description" }, currency))),
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Render Badge block with title, price and content if provided.
|
|
40
|
-
*/
|
|
41
|
-
renderBadgeBlock = () => {
|
|
42
|
-
const { products, buttonLabel, price } = this;
|
|
43
|
-
const productsTitle = products.join(' + ');
|
|
44
|
-
return (h("div", { class: "card__badge" }, h("p", { class: { 'card__badge-title': true, 'large': !price } }, productsTitle), h("div", { class: "card__badge-content-wrapper" }, this.renderBadgeContent(), h("tet-button", { class: "card__badge-content-item__button", type: "primary", theme: "light" }, buttonLabel))));
|
|
66
|
+
return (h("div", { class: "card__badge-content-item" }, h("div", { class: "card__badge-content-item__price-container" }, h("span", { class: "card__badge-content-item__price" }, mainPrice[0]), h("div", { class: "card__badge-content-item__price-details" }, h("span", { class: "card__badge-content-item__price-details__header" }, mainPrice[1]), h("span", { class: "card__badge-content-item__price-details__description" }, currency))), oldPrice != null && (h("span", { class: "card__badge-content-item__footer" }, oldPrice.toFixed(2), " ", currency))));
|
|
45
67
|
};
|
|
46
|
-
/**
|
|
47
|
-
* Render mini card.
|
|
48
|
-
*/
|
|
49
68
|
render() {
|
|
50
|
-
|
|
69
|
+
const benefits = this.getResolvedBenefits();
|
|
70
|
+
const buttonLabel = this.buttonLabel.trim();
|
|
71
|
+
const urlTarget = this.urlTarget === '_blank' ? '_blank' : '_self';
|
|
72
|
+
return (h("div", { key: '4bded38de598964b2465a617084e06b7a622446a', class: "card-wrapper" }, !!benefits.length && (h("div", { key: '92a862dae2b44bc494f259eb2d45df5ae4a32d33', class: "card__list" }, benefits.map(({ iconImage, iconName, title }) => (h("div", { class: "card__list-item" }, iconImage ? (h("img", { class: "card__list-item-image", src: iconImage, alt: title })) : (!!iconName && h("tet-icon", { class: "card__list-item-icon", name: iconName })), h("p", { class: "card__list-item-title" }, title)))))), h("div", { key: 'bd39a219519fe4e9c2fef7136fe4f33661d63a2c', class: { 'card__badge': true, 'no-price': this.price == null } }, h("p", { key: '7da187124e4dfb2c7ebc9806f2f960e24daaceb9', class: { 'card__badge-title': true, 'no-price': this.price == null } }, this.productTitle), h("div", { key: 'cadad74abeeb4c858a016924a917565d7039406f', class: "card__badge-content-wrapper" }, this.renderBadgeContent(), !!buttonLabel && (h("tet-button", { key: 'a5d318c57bee7cddb6e574d24b2a43ab25c9d166', class: "card__badge-content-item__button", clickCallback: this.handleCtaClick, ref: (elm) => {
|
|
73
|
+
this.buttonRef = elm;
|
|
74
|
+
}, type: "primary", theme: "light", url: this.url, "url-target": urlTarget }, buttonLabel))))));
|
|
51
75
|
}
|
|
52
76
|
static get is() { return "tet-mini-compare-card"; }
|
|
53
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -64,11 +88,11 @@ export class TetMiniCompareCard {
|
|
|
64
88
|
static get properties() {
|
|
65
89
|
return {
|
|
66
90
|
"benefits": {
|
|
67
|
-
"type": "
|
|
91
|
+
"type": "string",
|
|
68
92
|
"mutable": false,
|
|
69
93
|
"complexType": {
|
|
70
|
-
"original": "MiniCompareCardBenefits[]",
|
|
71
|
-
"resolved": "MiniCompareCardBenefits[]",
|
|
94
|
+
"original": "string | MiniCompareCardBenefits[]",
|
|
95
|
+
"resolved": "MiniCompareCardBenefits[] | string",
|
|
72
96
|
"references": {
|
|
73
97
|
"MiniCompareCardBenefits": {
|
|
74
98
|
"location": "local",
|
|
@@ -78,26 +102,32 @@ export class TetMiniCompareCard {
|
|
|
78
102
|
}
|
|
79
103
|
},
|
|
80
104
|
"required": false,
|
|
81
|
-
"optional":
|
|
105
|
+
"optional": false,
|
|
82
106
|
"docs": {
|
|
83
107
|
"tags": [],
|
|
84
|
-
"text": "
|
|
85
|
-
}
|
|
108
|
+
"text": "Serialized benefits JSON string or normalized benefits array to show in card."
|
|
109
|
+
},
|
|
110
|
+
"attribute": "benefits",
|
|
111
|
+
"reflect": false,
|
|
112
|
+
"defaultValue": "[]"
|
|
86
113
|
},
|
|
87
|
-
"
|
|
88
|
-
"type": "
|
|
114
|
+
"productTitle": {
|
|
115
|
+
"type": "string",
|
|
89
116
|
"mutable": false,
|
|
90
117
|
"complexType": {
|
|
91
|
-
"original": "string
|
|
92
|
-
"resolved": "string
|
|
118
|
+
"original": "string",
|
|
119
|
+
"resolved": "string",
|
|
93
120
|
"references": {}
|
|
94
121
|
},
|
|
95
122
|
"required": false,
|
|
96
123
|
"optional": false,
|
|
97
124
|
"docs": {
|
|
98
125
|
"tags": [],
|
|
99
|
-
"text": "
|
|
100
|
-
}
|
|
126
|
+
"text": "Product title to show in card."
|
|
127
|
+
},
|
|
128
|
+
"attribute": "product-title",
|
|
129
|
+
"reflect": false,
|
|
130
|
+
"defaultValue": "''"
|
|
101
131
|
},
|
|
102
132
|
"price": {
|
|
103
133
|
"type": "number",
|
|
@@ -165,8 +195,74 @@ export class TetMiniCompareCard {
|
|
|
165
195
|
"text": "Button label to render."
|
|
166
196
|
},
|
|
167
197
|
"attribute": "button-label",
|
|
198
|
+
"reflect": false,
|
|
199
|
+
"defaultValue": "''"
|
|
200
|
+
},
|
|
201
|
+
"url": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"mutable": false,
|
|
204
|
+
"complexType": {
|
|
205
|
+
"original": "string",
|
|
206
|
+
"resolved": "string",
|
|
207
|
+
"references": {}
|
|
208
|
+
},
|
|
209
|
+
"required": false,
|
|
210
|
+
"optional": true,
|
|
211
|
+
"docs": {
|
|
212
|
+
"tags": [],
|
|
213
|
+
"text": "URL for button click action."
|
|
214
|
+
},
|
|
215
|
+
"attribute": "url",
|
|
168
216
|
"reflect": false
|
|
217
|
+
},
|
|
218
|
+
"urlTarget": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"mutable": false,
|
|
221
|
+
"complexType": {
|
|
222
|
+
"original": "'_blank' | '_self'",
|
|
223
|
+
"resolved": "\"_blank\" | \"_self\"",
|
|
224
|
+
"references": {}
|
|
225
|
+
},
|
|
226
|
+
"required": false,
|
|
227
|
+
"optional": false,
|
|
228
|
+
"docs": {
|
|
229
|
+
"tags": [],
|
|
230
|
+
"text": "Button link target."
|
|
231
|
+
},
|
|
232
|
+
"attribute": "url-target",
|
|
233
|
+
"reflect": false,
|
|
234
|
+
"defaultValue": "'_self'"
|
|
169
235
|
}
|
|
170
236
|
};
|
|
171
237
|
}
|
|
238
|
+
static get events() {
|
|
239
|
+
return [{
|
|
240
|
+
"method": "ctaClick",
|
|
241
|
+
"name": "ctaClick",
|
|
242
|
+
"bubbles": true,
|
|
243
|
+
"cancelable": true,
|
|
244
|
+
"composed": true,
|
|
245
|
+
"docs": {
|
|
246
|
+
"tags": [],
|
|
247
|
+
"text": "Emits when the CTA button is clicked."
|
|
248
|
+
},
|
|
249
|
+
"complexType": {
|
|
250
|
+
"original": "MiniCompareCardCtaClickEvent",
|
|
251
|
+
"resolved": "MiniCompareCardCtaClickEvent",
|
|
252
|
+
"references": {
|
|
253
|
+
"MiniCompareCardCtaClickEvent": {
|
|
254
|
+
"location": "local",
|
|
255
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.tsx",
|
|
256
|
+
"id": "src/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.tsx::MiniCompareCardCtaClickEvent"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}];
|
|
261
|
+
}
|
|
262
|
+
static get watchers() {
|
|
263
|
+
return [{
|
|
264
|
+
"propName": "price",
|
|
265
|
+
"methodName": "onPriceChange"
|
|
266
|
+
}];
|
|
267
|
+
}
|
|
172
268
|
}
|
|
@@ -17,7 +17,7 @@ export class TetSnickerCardBadge {
|
|
|
17
17
|
[this.theme]: true,
|
|
18
18
|
[`badge--state-${this.state}`]: !!this.state
|
|
19
19
|
};
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '7a1eee93afb82ab3910176799c48f4c4513af379' }, h("span", { key: '9e278daaf9a9658ff60bc30cd28208d231f23a15', class: classes }, h("span", { key: '5083f961f9a3cc445e6b2a05d4f3f418b8000710', class: "badge__text" }, this.badgeTitle ? this.badgeTitle : h("slot", null)))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "tet-snicker-card-badge"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -362,7 +362,7 @@ export class TetSnickerCard {
|
|
|
362
362
|
}, type: "primary", name: "chevron-down" }))), h("div", { class: "header__content" }, this.subtitle && h("p", { class: "header__subtitle" }, this.subtitle), hasPrice && (h("div", { class: "header__price-line" }, h("div", { class: "header__price-main" }, pricePrefix && h("span", { class: "header__price-prefix" }, pricePrefix), h("span", { class: "header__price-value" }, displayedPrice), priceSuffix && h("span", { class: "header__price-suffix" }, priceSuffix)), displayedOldPrice && (h("div", { class: "header__old-price" }, displayedOldPrice, priceSuffix ? ` ${priceSuffix}` : '')))), this.description && h("p", { class: "header__description" }, this.description))));
|
|
363
363
|
};
|
|
364
364
|
render() {
|
|
365
|
-
return (h(Host, { key: '
|
|
365
|
+
return (h(Host, { key: '3cf0e860f59dbd88e5cbaef3e1755aec7a4be0f2' }, h("div", { key: 'e9b9e6028ac5ccdebbdc40671f5b6b5b757146ed', class: {
|
|
366
366
|
'snicker-card': true,
|
|
367
367
|
[this.theme]: true,
|
|
368
368
|
'snicker-card--hoverable': this.isHoverable,
|
|
@@ -371,7 +371,7 @@ export class TetSnickerCard {
|
|
|
371
371
|
'snicker-card--unavailable': this.isUnavailableState,
|
|
372
372
|
'snicker-card--subscribed': this.isSubscribedState,
|
|
373
373
|
'snicker-card--with-badge': !!this.topBadge
|
|
374
|
-
}, onClick: this.onCardClick }, this.renderTopBadge(), this.renderSubscriptionStrip(), h("tet-accordion", { key: '
|
|
374
|
+
}, onClick: this.onCardClick }, this.renderTopBadge(), this.renderSubscriptionStrip(), h("tet-accordion", { key: 'cc63aa7d417d6e4a4c365b139dccbf637b92ef5d', ref: (el) => (this.accordionEl = el), class: "accordion", theme: this.theme, isOpen: this.isAccordionOpen, onOpenChanged: this.onAccordionChanged, transparentBackground: true, isHeaderInteractive: false }, h("div", { key: '5b02e7176089324c6e77b8b1f981af731cbdb39b', slot: "header", class: "accordion__header" }, this.renderHeader()), h("div", { key: 'ec6b11ae0d7a686ef0def067c6d45fee64e93d15', class: "accordion__content" }, this.renderInlineMessage(), this.renderSelection(), this.renderBenefits(), this.renderPackageItems(), this.renderSubscriptionItems())), this.renderBottomSection())));
|
|
375
375
|
}
|
|
376
376
|
static get is() { return "tet-snicker-card"; }
|
|
377
377
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/cards/tet-snicker-card-group/tet-snicker-card-group.js
CHANGED
|
@@ -155,7 +155,7 @@ export class TetSnickerCardGroup {
|
|
|
155
155
|
this.applySelectionToChildren();
|
|
156
156
|
};
|
|
157
157
|
render() {
|
|
158
|
-
return (h(Host, { key: '
|
|
158
|
+
return (h(Host, { key: '5d2f643962450d4aebb3f7deadced19a3d27f264', role: this.selectionType === 'radio' ? 'radiogroup' : 'group', onCardClick: this.handleCardClick, onKeyDown: this.handleKeyDown }, h("slot", { key: '88961cf4db7b9e720847092bcc81dd37a518ad17', onSlotchange: this.handleSlotChange })));
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "tet-snicker-card-group"; }
|
|
161
161
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js
CHANGED
|
@@ -122,7 +122,7 @@ export class TetCustomerAssets {
|
|
|
122
122
|
return (h("tet-selection-list", { items: assets, itemRenderFunction: assetRenderFunction, multipleSelections: false, class: "item", exportparts: "label", onItemSelected: this.selectAsset }));
|
|
123
123
|
};
|
|
124
124
|
render() {
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: 'c8dbb5f8dd25dda8092e0a0032d3d77f262ed03b' }, h("div", { key: 'a87e3e27b8b278666f7ebe2551377f9baff4b8a4', class: { wrapper: this.showLoader && this.singleLoader, 'dark-theme': this.darkTheme } }, this.showLoader && this.singleLoader
|
|
126
126
|
? h("tet-loader", { class: "loader-single" })
|
|
127
127
|
: this.showLoader ? this.renderLoader() : this.renderAssetsList())));
|
|
128
128
|
}
|
|
@@ -47,9 +47,9 @@ export class TetReferral {
|
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '81e3fb44941e8f766e719d45d2b0168fd015fe27' }, h("div", { key: 'c8767f148ccaaa4efb7f6688c675eaeeb7bf84cf', class: "wrapper" }, h(ThemeWrapper, { key: '74d6d369d7b5a8efb30f05d9b978ddb2d837f1fa', theme: this.theme }, h("div", { key: 'ad890fa00d9e02efa2291d180a4fb91bb7eb90e0', class: "image-container" }, h("img", { key: '60366bab0b82237e29cfb96410e6866e31528ca6', src: t('components-referral-image-url'), alt: "" })), h("div", { key: '055bc651a52fbe6dfd94704691685e87eb56b0a2', class: "subtitle-container" }, t('components-referral-subtitle')), h("div", { key: 'bd0bb086f82fa1be51ffcd1eeb63969b64b47f77', class: "description-container", innerHTML: t('components-referral-description') }), h("div", { key: 'd2bbd474fcbbc10246cd9458ea4a42f31e1ed078', class: "referral-block" }, h("div", { key: '1ec5a1840cd1c30773a682ad56c39f03a55f1524', class: "url-wrapper" }, h("div", { key: '3980baedbd350cb5561e1df64e026a50177d53a9', class: "referral-url" }, this.getReferralUrl()), h("div", { key: '8082b6d91785b9173e06673d999b3b3c0a9edb14' }, h("div", { key: 'dbeba4ddb9bf9785262b3aa5996b0d62e2cc40ef', class: "button-wrapper" }, h("tet-tooltip", { key: 'f9157f2d5f4a942ae372829ab13c003d373f30a1', theme: this.theme, class: "tooltip", doNotShowOnHover: true, ref: (el) => {
|
|
51
51
|
this.tooltip = el;
|
|
52
|
-
} }, t('components-referral-tooltip')), h("tet-button", { key: '
|
|
52
|
+
} }, t('components-referral-tooltip')), h("tet-button", { key: 'f1918575f5e7650a0dd68b32b84e3589e2b54f8b', clickCallback: this.copyToClipBoard, type: "primary", theme: this.theme }, t('components-referral-copy-button-label'))))))))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "tet-referral"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js
CHANGED
|
@@ -130,7 +130,7 @@ export class TetMultiStepDialog {
|
|
|
130
130
|
return (h("div", { innerHTML: step, "data-step": Number(index) + 1, class: "multi-step-dialog__step", ref: this.setStepBlocks }));
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: '5b54a6359952d8fa1df7c30ed848412bb06ab4b7', class: "multi-step-dialog" }, h("tet-dialog", { key: '0614e6c3f21e4082cbd8c4bfad4773bd5517464f', class: this.tetDialogClass, "is-open": this.isOpen, "data-screen-key": this.dialogDataScreenKey, "footer-display": "right", ref: el => this.tetDialog = el, theme: this.theme, onCloseDialog: this.handleCloseDialog, onOpenDialog: this.handleOpenDialog }, h("div", { key: 'f4bf912841a7f5502d3d76f41dc3a5f60b835793', innerHTML: this.content }), this.steps.map((step, index) => (this.renderStep(step, index))), h("tet-button", { key: '77a49bb79b8d3b98a4a9cc5e9bcab6cc7043f348', class: "footer-button", slot: "footer", size: "medium", theme: this.theme, type: "secondary", ref: el => this.prevButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-go-back')), h("tet-button", { key: 'bf0c7392baf674135c1c93a86a7887e99eaa3a71', class: "footer-button", slot: "footer", size: "medium", theme: this.theme, ref: el => this.nextButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-next-step')))));
|
|
134
134
|
}
|
|
135
135
|
static get is() { return "tet-multi-step-dialog"; }
|
|
136
136
|
static get encapsulation() { return "shadow"; }
|
|
@@ -132,7 +132,7 @@ export class TetAvailabilityContactForm {
|
|
|
132
132
|
return (h("div", null, h("tet-dialog", { ref: (element) => this.dialogElement = element, "footer-display": "hidden", "is-open": this.showAvailabilityContactForm, closeOnEscape: true, closeOnOverlayClick: true }, h("div", { class: "form-container" }, h("tet-icon", { name: "confirm-md", class: "icon icon-success icon-size" }), this.showTitle && h("h2", { class: "form-title" }, t('components-availability-contact-form-success-title')), h("p", { class: "form-subtitle" }, t('components-availability-contact-form-success-subtitle')), h("tet-button", { class: "form-container-close", clickCallback: this.closeDialogElement, size: "medium", type: "primary", theme: "light" }, h("span", null, t('components-availability-contact-form-success-close')))))));
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
return (h("div", { key: '
|
|
135
|
+
return (h("div", { key: '7e3b9342ee828bbdcbcfaf422e1bd1a9e36f544e', class: { 'dark-theme': this.darkTheme } }, this.success ? this.renderSuccessStep() : this.renderForm()));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "tet-availability-contact-form"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js
CHANGED
|
@@ -150,11 +150,11 @@ export class TetAvailabilityContactForm {
|
|
|
150
150
|
}
|
|
151
151
|
render() {
|
|
152
152
|
const { theme } = this;
|
|
153
|
-
return (h("tet-dialog", { key: '
|
|
153
|
+
return (h("tet-dialog", { key: 'd04ef4470809098ee062fb0a9745dc367cfc8b96', class: "modal-form-card", headerTitle: t('components-b2b-check-out-form-header'), theme: theme, closeOnOverlayClick: false, footerDisplay: "right", ref: (el) => {
|
|
154
154
|
this.dialogElement = el;
|
|
155
|
-
} }, h("div", { key: '
|
|
155
|
+
} }, h("div", { key: 'f678b12cc3cdc747612359e92e5133a0be13f84e', class: { 'modal-form-card-content': true, [`${theme}`]: true } }, h("div", { key: '2cd38210a1903e006432b720f67b79739dd7280b', class: "modal-form-card-content-header" }, h("div", { key: 'cd940d4b7ae33e43b622b33428bc212e14dcf95e', class: "icon-wrapper" }, h("tet-icon", { key: 'f3d9bf278f1b96701f6bbf9b146f49d8f0c95ca4', class: "icon", name: "tc-company-1" })), h("span", { key: '7e76f0714d8e10f2e572f897b61dcfbd4c104873', class: "modal-form-card-content-header__title" }, t('components-b2b-check-out-form-title')), h("span", { key: 'e91de75dceec563c91806f7bd331670f8d638c5a', class: "modal-form-card-content-header__description" }, t('components-b2b-check-out-form-description'))), h("div", { key: '5c9d96282c3bea53b71be6cfa3686f66e200d9aa', class: "modal-form-card-content-accordion-wrapper" }, h("slot", { key: 'deab9af25c5610ca2fd2a47de139770c24b041bb', name: "cart" })), h("form", { key: '3db7155ca815c4ffcf713535259d1ee7fd9dd052', id: "checkOutForm", class: "modal-form-card-form", ref: (ref) => (this.checkOutForm = ref) }, h("div", { key: '7dcd9c5282cd6a0935027877591e510dd1aa3cef', class: "modal-form-card-input__row" }, this.renderInput('companyRegNr', t('components-b2b-check-out-form-company-registration-number-input-label'), '40000000001', 'company-reg', '11'), this.renderInput('companyName', t('components-b2b-check-out-form-company-name-input-label'))), this.renderInput('address', t('components-b2b-check-out-form-address-input-label'), t('components-b2b-check-out-form-address-input-placeholder')), this.renderInput('nameSurname', t('components-b2b-check-out-form-name-input-label'), '', 'name'), h("div", { key: '24d9841a7509bfc54997886312e56bf32615f5ea', class: "modal-form-card-input__row" }, this.renderInput('email', t('components-b2b-check-out-form-email-input-label'), 'contact@company.com', 'email'), this.renderInput('phoneNr', t('components-b2b-check-out-form-phone-number-input-label'), '22222222', 'phone', '8')), h("tet-checkbox", { key: 'f1accc53d9232916b2e2b8cc39992283657d301d', class: "modal-form-card-content-checkbox", label: t('components-check-out-form-privacy-policy'), theme: theme }), h("slot", { key: 'd6c2a99c95cce10feabd96ceeeef05c4ebb8289c', name: "extra-fields", ref: (element) => (this.extraFieldsSlotElement = element) }))), h("div", { key: '5c19065f8604dca38bb4ae10c8994fda88345ee2', slot: "footer", class: "modal-form-card-footer" }, h("tet-button", { key: 'feea4b2e2d62dfd6ebe0d460bdad511b64d4ee64', type: "secondary", size: "medium", theme: theme, onClick: () => {
|
|
156
156
|
this.dialogElement.close();
|
|
157
|
-
} }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: '
|
|
157
|
+
} }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: '610f65d5a34d3f7c8a11997b1e647b1aa1c9d255', type: "primary", size: "medium", theme: theme, onClick: () => this.handleSubmit() }, t('components-b2b-check-out-form-submit-button-label')))));
|
|
158
158
|
}
|
|
159
159
|
static get is() { return "tet-b2b-check-out-form"; }
|
|
160
160
|
static get encapsulation() { return "shadow"; }
|
|
@@ -73,7 +73,7 @@ export class TetContactForm {
|
|
|
73
73
|
return (h("div", { class: "loader-overlay" }, h("tet-loader", { class: "loader" })));
|
|
74
74
|
};
|
|
75
75
|
render() {
|
|
76
|
-
return (h("div", { key: '
|
|
76
|
+
return (h("div", { key: 'f049d1210fda1813fdec32ee29c7670122d6fbb1', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: '1b72c554330603dd7d86663a68c172f306a73c4d', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: '97b6f35dbb8ab8ae2e93464ccef4fa55160514d7', class: "form-container" }, this.showTitle && h("h2", { key: '055946320c63e7f4fa3cf62cd6d78ba061491fca', class: "form-title" }, t('components-contact-form-title')), h("p", { key: 'ba1afbd3f962552b0bdd6d1a332adfe13707080a', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: 'bacb7841958944408e9ad1e7b4b445b4098e3ae6', class: "form-input", placeholder: "+37122345678", ref: (element) => this.phoneInput = element, validators: this.validators, label: this.showInputLabel ? t('components-contact-form-input-label') : null, theme: this.darkTheme ? 'dark' : 'classic' }), h("tet-button", { key: '49b5b47fac161b62b7b1e11a453939c02d797441', class: "form-submit", type: "primary", clickCallback: this.createManualTask, innerHTML: t('components-contact-form-submit'), ...this.submitButtonProps })))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "tet-contact-form"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@ export class TetTvGiftBlock {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '663c5f3632f1afb9c7421f873ddf30681a679d18' }, h("div", { key: '1098b2a9de02ddbc87bcb78896634d2e1785fe89', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: 'f4d23b44b7aa9d158e742ca58142f665186b4963', class: "tv-gift__header" }, h("slot", { key: '58759b0650d2469cc44c25193eb00924a7388985', name: "header" }, this.headerImageSrc && h("img", { key: '08862777563663ba90d80ac1ded747d26107c87d', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: 'f56664423e4373d97f0e2f871a22f1a3edc5e976', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: '5361a3413ce836723dc650fb5f5c11496b05741f', class: "tv-gift__content" }, h("slot", { key: '33b19d2bf84defc3b5318d80ab19a34ff32542a1' })), h("div", { key: '3409c71e31faa52cdf621a8fb97ccf73734ab16e', class: "tv-gift__footer" }, h("slot", { key: '902c9b3abc09f158da76b28e94390900d89442fa', name: "footer" }, h("span", { key: '986c68a05a7c22c151d5cfd8d30ae817be80eb14', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: '3ccd49b988de36556a365f5ad3c81b9384772ccf', class: "tv-gift__footer__text" }, this.footerText))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "tet-tv-gift-block"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js
CHANGED
|
@@ -36,11 +36,11 @@ export class TetTvGiftList {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '2d38b70870a5ab092d54c3d06452bed85c61509a' }, h("div", { key: 'd640a48adc216dfb50c42ade7bfe22d3619189cb', class: {
|
|
40
40
|
'tv-gift-list': true,
|
|
41
41
|
[`tv-gift-list--${this.containerSize}`]: true,
|
|
42
42
|
'tv-gift-list--image-list': Boolean(this.imageSource),
|
|
43
|
-
} }, this.imageSource && (h("div", { key: '
|
|
43
|
+
} }, this.imageSource && (h("div", { key: '1d8145796ced9ae028f66b4b048d06e6cea10c2b', class: "tv-gift-list__image__wrapper" }, h("img", { key: 'fdd09847cc21db18283db5a3b0b1c22b92ff2a3b', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: 'd7d12b2c749ddb242360fe0bb5d677aa3c5e8854', class: "tv-gift-list__list__wrapper" }, h("span", { key: '7acbf135e07b9551918721c26e2fa0fe2a48dcba', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: '0f9461c5fd13bfd08fa2bd07065d63c7046818ca', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "tet-tv-gift-list"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -204,11 +204,11 @@ export class TetSupportSearch {
|
|
|
204
204
|
])))))));
|
|
205
205
|
}
|
|
206
206
|
render() {
|
|
207
|
-
return (h(Host, { key: '
|
|
207
|
+
return (h(Host, { key: '459e859cb59f533d43d1a3d742c3c839af5da171', class: {
|
|
208
208
|
"search-container": true,
|
|
209
209
|
[this.theme]: true,
|
|
210
|
-
} }, h("div", { key: '
|
|
211
|
-
h("tet-spinner", { key: '
|
|
210
|
+
} }, h("div", { key: '14205c0a9c38b57ee217b62cd7c5492a2623e050', class: "search-container__inner-wrapper" }, h("tet-autocomplete", { key: 'db4a10d3f1bc84ca79e4b47466239e50d94fb493', optionsFilterAction: this.debounceOptionsFilter, onOptionSelected: this.boundHandleAutocompleteOptionSelection, onSearchTextSubmitted: this.boundHandleAutocompleteSearchSubmit, noOptionsMessage: this.labels.notFoundMessage, customOptionRenderFunction: this.boundRenderOption, finishedLoading: this.boundFinishedLoadingFunction, clearCallback: () => this.resetInputState(), darkTheme: this.theme === 'dark', newStyle: true, ref: (el) => (this.autocompleteComponent = el) }, h("tet-input", { key: '0ae36fed19ebe78539ac81594b81121597766dd6', class: "search-container__input", "input-class": `autocomplete-input search-container__input ${this.isLoading ? 'with-loader' : ''}`, "input-placeholder": this.labels.placeholder, "input-disabled": this.disabled, label: this.showInputLabel ? this.labels.label : undefined, accessibilityLabel: this.showInputLabel ? undefined : this.labels.label, iconLeft: "tc-search-short", iconRight: this.inputIconRight, iconRightClickCallback: this.boundHandleClearInput, iconRightAccessibilityLabel: this.labels.clearButtonLabel, theme: this.theme, ref: (el) => (this.inputComponent = el), autocomplete: "off", "input-value": this.inputValue }, this.isLoading &&
|
|
211
|
+
h("tet-spinner", { key: '2fbdb60cbe99b0e790aec831677c46806382ce25', theme: this.theme, class: "search-container__spinner", size: "small" }))), h("tet-button", { key: '5554b21a6dec1cf63fc2ef0876423d68fed4a397', class: "search-container__button search-container__button--mobile", theme: this.theme, size: "small", "accessibility-label": this.labels.searchButtonLabel, iconName: "tc-arrow-right", iconMode: true, disabled: this.disabled, onClick: this.boundHandleSearchSubmit }), h("tet-button", { key: 'a270ccf81d71ffa0eafd4e68ccfd90c9a82a2a8c', class: "search-container__button search-container__button--desktop", theme: this.theme, size: "medium", disabled: this.disabled, onClick: this.boundHandleSearchSubmit }, this.labels.searchButtonLabel))));
|
|
212
212
|
}
|
|
213
213
|
static get is() { return "tet-support-search"; }
|
|
214
214
|
static get encapsulation() { return "shadow"; }
|
|
@@ -97,20 +97,20 @@ export class TetRadio {
|
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
99
|
const { id, disabled, value, checked, name, label, accessibilityLabel, error, inputAutofocus, iconName, labelFont, alignCenter, hasSlotIcon, unavailable, iconType } = this;
|
|
100
|
-
return (h(Host, { key: '
|
|
100
|
+
return (h(Host, { key: '6a9f4a5b13ccc90b1e6b9fed904709284277bf8f' }, h("div", { key: '2912c32c8aad53137b8ece71955f3a1b3c4e9c90', class: { radio: true, [`radio-${this.theme}-theme`]: true } }, h("label", { key: '5872e9bb1fcb0005cf3697a1dfc818e6db31a0db', class: {
|
|
101
101
|
'radio__container': true,
|
|
102
102
|
'radio__container--focus-style': this.focusStyleOnContainer,
|
|
103
103
|
'radio__container--align-center': alignCenter,
|
|
104
|
-
}, htmlFor: id }, h("input", { key: '
|
|
104
|
+
}, htmlFor: id }, h("input", { key: 'c64cdc3a9d206b31c2c0538b0ce157371ea0388f', class: {
|
|
105
105
|
"radio__html-input": true,
|
|
106
106
|
'radio__html-input--unavailable': unavailable,
|
|
107
|
-
}, id: id, name: name, type: "radio", value: value, disabled: disabled || unavailable, checked: checked, onChange: this.handleInputChange, autofocus: inputAutofocus, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}) }), h("span", { key: '
|
|
107
|
+
}, id: id, name: name, type: "radio", value: value, disabled: disabled || unavailable, checked: checked, onChange: this.handleInputChange, autofocus: inputAutofocus, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}) }), h("span", { key: 'b8754998b3e38a0505c404aae944964a8453d15b', class: {
|
|
108
108
|
'radio__input': true,
|
|
109
109
|
'radio__input--error': error,
|
|
110
110
|
'radio__input--hide-focus-style': this.focusStyleOnContainer,
|
|
111
111
|
'radio__input--has-label-prop': !!label,
|
|
112
112
|
...(labelFont ? { [`radio__input--${labelFont}`]: true } : {}),
|
|
113
|
-
} }), h("div", { key: '
|
|
113
|
+
} }), h("div", { key: 'f525ae679b93ccb3a4dc060e1e8b3702843d6032', class: {
|
|
114
114
|
'radio__label-container': true,
|
|
115
115
|
'radio__label-container--line-height': hasSlotIcon || !!iconName,
|
|
116
116
|
} }, iconName ? (h("tet-icon", { theme: ['classic', 'light'].includes(this.theme) ? 'light' : 'dark', name: iconName, type: iconType, class: {
|
|
@@ -121,11 +121,11 @@ export class TetRadio {
|
|
|
121
121
|
'radio__label-slot-icon': true,
|
|
122
122
|
'radio__label-slot-icon--hidden': !hasSlotIcon,
|
|
123
123
|
...(labelFont ? { [`radio__label-slot-icon--${labelFont}`]: true } : {}),
|
|
124
|
-
} }, h("slot", { name: "label-icon" }))), h("span", { key: '
|
|
124
|
+
} }, h("slot", { name: "label-icon" }))), h("span", { key: '6c419661ad7ad1f9b8acf9833b4af813bded4be5', class: {
|
|
125
125
|
'radio__label': true,
|
|
126
126
|
'radio__label--has-slot-icon': hasSlotIcon,
|
|
127
127
|
...(labelFont ? { [`radio__label--${labelFont}`]: true } : {}),
|
|
128
|
-
}, innerHTML: label }, h("slot", { key: '
|
|
128
|
+
}, innerHTML: label }, h("slot", { key: '2049aa5ca49dd0d741199a92b7793642fed8bd5f' })))))));
|
|
129
129
|
}
|
|
130
130
|
static get is() { return "tet-radio"; }
|
|
131
131
|
static get encapsulation() { return "scoped"; }
|
|
@@ -46,16 +46,16 @@ export class TetSwitch {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
const { label, name, theme, disabled, checked, accessibilityLabel, labelFont, alignCenter, labelPosition } = this;
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '9c88f3b2bd5f7590f4dd3082cbe3940f7ff1d7fc' }, h("div", { key: 'a0ef6f831e743aa569ea960e340cf405dd1a3282', class: { 'switch': true, [`${theme}`]: true } }, h("label", { key: '3534de118069ba2a2133fe57b9fcf55d9b2590c5', class: {
|
|
50
50
|
'switch__container': true,
|
|
51
51
|
'switch__container--align-start': !alignCenter,
|
|
52
52
|
[`switch__container--${labelFont}`]: true,
|
|
53
53
|
'switch__container--focus-style': this.focusStyleOnContainer,
|
|
54
|
-
}, part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: '
|
|
54
|
+
}, part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: '6662689b3af55aa15cc34a85bbd9ce76a4cef9b2', class: "switch__html-input", name: name, id: "tet-switch", type: "checkbox", disabled: disabled, checked: checked, onChange: this.handleChange.bind(this), ...(accessibilityLabel ? { "aria-label": accessibilityLabel } : {}) }), labelPosition === 'right' && this.renderSwitch(), h("span", { key: '8173804628aade7a7f1bd4f93940f5e2ac415c35', class: {
|
|
55
55
|
'switch__label': true,
|
|
56
56
|
...(labelPosition === 'left' ? { 'switch__label--left': true } : {}),
|
|
57
57
|
...(labelFont ? { [`switch__label--${labelFont}`]: true } : {}),
|
|
58
|
-
}, innerHTML: label }, h("slot", { key: '
|
|
58
|
+
}, innerHTML: label }, h("slot", { key: '851dfff3cc029deb7ab777e67269576cee864994' })), labelPosition === 'left' && this.renderSwitch()))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "tet-switch"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js
CHANGED
|
@@ -161,11 +161,11 @@ export class TetTabContent {
|
|
|
161
161
|
this.selectedId = id;
|
|
162
162
|
}
|
|
163
163
|
render() {
|
|
164
|
-
return (h(Host, { key: '
|
|
164
|
+
return (h(Host, { key: '95eaef748652015d0855570bbd0d124739414da1' }, h("div", { key: '6a9d8fd3b7c679a25eb369e566c4d55c3dff5b15', class: {
|
|
165
165
|
'tet-tab-content': true,
|
|
166
166
|
'use-visibility': this.useVisibility,
|
|
167
167
|
[this.theme]: true
|
|
168
|
-
} }, h("slot", { key: '
|
|
168
|
+
} }, h("slot", { key: '29076f487c6efd02c8ad3d212a2e1da38948864e' }))));
|
|
169
169
|
}
|
|
170
170
|
static get is() { return "tet-tab-content"; }
|
|
171
171
|
static get encapsulation() { return "shadow"; }
|
|
@@ -609,7 +609,7 @@ export class TetTabHeader {
|
|
|
609
609
|
}
|
|
610
610
|
render() {
|
|
611
611
|
const shouldRenderOverflowGradients = this.showOverflowGradients;
|
|
612
|
-
return (h(Host, { key: '
|
|
612
|
+
return (h(Host, { key: '5e1185c4f47fca4065815b496105a9371fb5eac6', "data-id-suffix": this.idSuffix }, h("div", { key: 'acee88217fa514bef968e3ec95fcde6dd55b66f9', class: {
|
|
613
613
|
'tabs': true,
|
|
614
614
|
'tabs--segmented': this.segmented,
|
|
615
615
|
'tabs--overflow-left': this.hasOverflowLeft,
|
|
@@ -618,7 +618,7 @@ export class TetTabHeader {
|
|
|
618
618
|
[this.theme]: true,
|
|
619
619
|
[this.sizing]: true,
|
|
620
620
|
[this.type]: !!this.type
|
|
621
|
-
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, shouldRenderOverflowGradients && h("div", { key: '
|
|
621
|
+
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, shouldRenderOverflowGradients && h("div", { key: '456293621aedcabf65f59c9fb7ae5d31c4484dd8', class: "tabs-gradient tabs-gradient-left", "aria-hidden": "true" }), h("slot", { key: 'fe484b48f2e25547182efb27d56bc81947aaa7f1', onSlotchange: () => this.updatePositionClass(), ref: (slot) => (this.tabContainer = slot) }), shouldRenderOverflowGradients && h("div", { key: '0b8a4e15df3263cd47ae5d1c171bde2e46e7dcce', class: "tabs-gradient tabs-gradient-right", "aria-hidden": "true" })), h("div", { key: 'c133db9aa7ac2f34d33996adda8b6d8b85b844e1', class: {
|
|
622
622
|
'tabs-line': !this.segmented,
|
|
623
623
|
'no-underline': this.hideHeaderUnderline || this.type === 'pill',
|
|
624
624
|
[this.theme]: true
|
|
@@ -20,12 +20,12 @@ export class TetTag {
|
|
|
20
20
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '4a112f2e1e84696e61be4d9564fa409caa0b0372' }, h("button", { key: 'c5eb61a677b467a344660b5a96aa3a4e9e2d96fb', class: {
|
|
24
24
|
tag: true,
|
|
25
25
|
'tag-active': this.active,
|
|
26
26
|
'tag--icon': this.showIcon,
|
|
27
27
|
[`theme-${this.theme}`]: true,
|
|
28
|
-
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '
|
|
28
|
+
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '6dff37bf1a216415f48161c28e2d17fc106e504a', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: '98e26d8535be15e0ec17645ce17112a50ee31aa3', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '75e7bf01d713719f8e3ecc146474bddd3f7a33c8', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "tet-tag"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|