@tet/tet-components 1.3.92-testing → 1.3.93-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/{a11y-cf6af7dd.js → a11y-bd966702.js} +1 -1
- package/dist/cjs/{address-d2b7628d.js → address-7fde1462.js} +1 -1
- package/dist/cjs/{assets-cf19c33d.js → assets-81eb2ab8.js} +1 -1
- package/dist/cjs/{async-request-433f54e5.js → async-request-f7162bb5.js} +1 -1
- package/dist/cjs/{http-codes-c2a24ff3.js → http-codes-5b982e01.js} +1 -1
- package/dist/cjs/{index-84ede372.js → index-457201e1.js} +1 -1
- package/dist/cjs/{index-f559cb2e.js → index-66913c99.js} +15 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{old-utils-1a20fe25.js → old-utils-4ba8b736.js} +1 -1
- package/dist/cjs/{phone-c264803a.js → phone-54eba6d6.js} +2 -2
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-filters-products_3.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 +8 -8
- package/dist/cjs/tet-address-search.cjs.entry.js +5 -5
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-compare-card.cjs.entry.js +164 -0
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
- package/dist/cjs/tet-banner-nav.cjs.entry.js +8 -8
- 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 +3 -3
- package/dist/cjs/tet-checkbox.cjs.entry.js +1 -1
- 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-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-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-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-filter.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 +4 -4
- 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.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-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_2.cjs.entry.js → tet-number-input.cjs.entry.js} +1 -134
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider_2.cjs.entry.js +8 -8
- package/dist/cjs/tet-referral.cjs.entry.js +7 -7
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper-input.cjs.entry.js +141 -0
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-text-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tooltip.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-a5bbadf6.js → theme-wrapper-d753e207.js} +2 -2
- package/dist/cjs/{translations-571bba05.js → translations-bb8512bf.js} +1 -1
- package/dist/collection/assets/icons/icon-map.json +1 -1
- package/dist/collection/assets/icons/tc/tc-trash.svg +5 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/advanced/cards/tet-b2b-compare-card/test/tet-b2b-compare-card.spec.js +87 -0
- package/dist/collection/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.css +758 -0
- package/dist/collection/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.js +301 -0
- 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/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-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/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 +2 -2
- 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-label/tet-label.js +2 -2
- package/dist/collection/components/basic/steppers/tet-banner-nav/tet-banner-nav.js +12 -8
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +5 -3
- 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/lists/tet-text-list/tet-text-list.css +2 -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/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/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/collection/services/utils/a11y.js +1 -1
- package/dist/components/assets/icons/icon-map.json +1 -1
- package/dist/components/assets/icons/tc/tc-trash.svg +5 -0
- package/dist/components/index.js +3 -1
- package/dist/components/{p-068140f8.js → p-0cafd6c9.js} +11 -11
- package/dist/components/{p-051ff30e.js → p-13cab4be.js} +5 -5
- package/dist/components/{p-faa0e9ab.js → p-245e9928.js} +3 -3
- package/dist/components/{p-43e6618c.js → p-255fc5ee.js} +4 -4
- package/dist/components/{p-c4f3dcb1.js → p-2d12d3cc.js} +1 -1
- package/dist/components/{p-4b9dfb04.js → p-2eac3a65.js} +2 -2
- package/dist/components/{p-b36f577b.js → p-36cfdf61.js} +1 -1
- package/dist/components/{p-8ee6460b.js → p-3c460d7d.js} +10 -10
- package/dist/components/{p-718290ba.js → p-3e987c51.js} +1 -1
- package/dist/components/{p-25cdba63.js → p-41a66b0c.js} +2 -2
- package/dist/components/{p-301a6e18.js → p-431c02f3.js} +7 -7
- package/dist/components/{p-b8870b18.js → p-45abf86e.js} +4 -4
- package/dist/components/{p-a0d406ca.js → p-4d00761a.js} +1 -1
- package/dist/components/{p-c2894616.js → p-4df6d5ee.js} +3 -3
- package/dist/components/{p-f0880c5c.js → p-4e5b1257.js} +7 -7
- package/dist/components/{p-87d48803.js → p-4ec5e03c.js} +3 -3
- package/dist/components/{p-9c9da230.js → p-5260200a.js} +2 -2
- package/dist/components/{p-d3236077.js → p-5841617c.js} +1 -1
- package/dist/components/{p-37ed3ebb.js → p-599035b8.js} +1 -1
- package/dist/components/{p-f34b6339.js → p-59ef7569.js} +14 -14
- package/dist/components/{p-9144c88a.js → p-5ce2385a.js} +2 -2
- package/dist/components/{p-659824f8.js → p-642d5f4a.js} +1 -1
- package/dist/components/{p-8439c034.js → p-65be4e9b.js} +9 -7
- package/dist/components/{p-c5705423.js → p-6e0f6f88.js} +2 -2
- package/dist/{esm/a11y-4b7d5055.js → components/p-713fff27.js} +1 -1
- package/dist/components/{p-195cefb5.js → p-798cf5b6.js} +2 -2
- package/dist/components/{p-7929cbd8.js → p-808b6ef8.js} +9 -9
- package/dist/components/{p-ef961ffc.js → p-82525b58.js} +1 -1
- package/dist/components/{p-1846e582.js → p-84b330b2.js} +6 -6
- package/dist/components/{p-8de02db3.js → p-84b6941e.js} +1 -1
- package/dist/components/{p-a654d013.js → p-85a9ba6e.js} +3 -3
- package/dist/components/{p-356eb35d.js → p-8b50747a.js} +3 -3
- package/dist/components/{p-63feb81d.js → p-8fd398c3.js} +2 -2
- package/dist/components/{p-02063d98.js → p-990cf90e.js} +2 -2
- package/dist/components/{p-75ebd918.js → p-9d513435.js} +7 -7
- package/dist/components/{p-106fd84b.js → p-9f069343.js} +2 -2
- package/dist/components/{p-91f33391.js → p-ba7350c8.js} +3 -3
- package/dist/components/{p-d23a8c55.js → p-bc461754.js} +3 -3
- package/dist/components/{p-88b42c67.js → p-bd781cf7.js} +1 -1
- package/dist/components/{p-7ee5bab7.js → p-be1b81f2.js} +11 -10
- package/dist/components/{p-e730b9b8.js → p-ce2de88e.js} +5 -18
- package/dist/components/{p-705296ed.js → p-cffd5888.js} +1 -1
- package/dist/components/{p-6494eed4.js → p-d7ea99c6.js} +6 -6
- package/dist/components/{p-5b282166.js → p-dc191741.js} +2 -2
- package/dist/components/{p-88039dc1.js → p-de6627f6.js} +2 -2
- package/dist/components/{p-dc399a20.js → p-e24e0c12.js} +3 -3
- package/dist/components/{p-aa90e33b.js → p-e2f0e8da.js} +1 -1
- package/dist/components/{p-174c6a8e.js → p-ec5a5e12.js} +2 -2
- package/dist/components/{p-f4178dfd.js → p-eeadf41e.js} +3 -3
- package/dist/components/{p-cccbf235.js → p-f402991e.js} +3 -3
- package/dist/components/{p-cc60fdfc.js → p-f9083a6b.js} +1 -1
- package/dist/components/{p-a3e1e40f.js → p-fb593a61.js} +2 -2
- package/dist/components/tet-accordion.js +8 -8
- 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 +26 -26
- 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 +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.d.ts +11 -0
- package/dist/components/tet-b2b-compare-card.js +211 -0
- package/dist/components/tet-b2b-service-calculator.js +9 -9
- package/dist/components/tet-banner-nav.js +8 -8
- 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-round-stepper.js +2 -2
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +5 -5
- 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 +11 -11
- package/dist/components/tet-colors.js +5 -5
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +15 -15
- 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-customer-assets.js +9 -9
- 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-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-filter.js +4 -4
- 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 +2 -2
- 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.js +2 -2
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +11 -11
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- 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-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 +9 -9
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- 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-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 +3 -3
- 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 +3 -3
- package/dist/components/tet-thank-you-view-v2.js +5 -5
- package/dist/components/tet-thank-you-view-v3.js +5 -5
- package/dist/components/tet-thank-you-view.js +4 -4
- 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/a11y-9b4d9fd4.js +15 -0
- package/dist/esm/{address-6bae95f7.js → address-446e44d1.js} +1 -1
- package/dist/esm/{assets-9f343e6e.js → assets-fba60496.js} +1 -1
- package/dist/esm/{async-request-5b1897cb.js → async-request-3be8369e.js} +1 -1
- package/dist/esm/{http-codes-03b4e7fe.js → http-codes-94d247ea.js} +1 -1
- package/dist/esm/{index-7f1e2a22.js → index-ce62f11b.js} +15 -7
- package/dist/esm/{index-1bf36cb9.js → index-d502e34e.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{old-utils-13592797.js → old-utils-bb8e99c5.js} +1 -1
- package/dist/esm/{phone-36ef7090.js → phone-3dfebff1.js} +2 -2
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-filters-products_3.entry.js +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_4.entry.js +8 -8
- package/dist/esm/tet-address-search.entry.js +5 -5
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.entry.js +4 -4
- package/dist/esm/tet-b2b-compare-card.entry.js +160 -0
- package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
- package/dist/esm/tet-banner-nav.entry.js +8 -8
- 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 +3 -3
- package/dist/esm/tet-checkbox.entry.js +1 -1
- 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-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-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-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-filter.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 +4 -4
- package/dist/esm/tet-label.entry.js +5 -5
- package/dist/esm/tet-layout.entry.js +2 -2
- 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-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_2.entry.js → tet-number-input.entry.js} +2 -134
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +1 -1
- package/dist/esm/tet-range-slider_2.entry.js +8 -8
- package/dist/esm/tet-referral.entry.js +7 -7
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-stepper-input.entry.js +137 -0
- package/dist/esm/tet-stepper-v2.entry.js +1 -1
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-stepper.entry.js +1 -1
- package/dist/esm/tet-tab-header.entry.js +3 -3
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +5 -5
- package/dist/esm/tet-text-list.entry.js +2 -2
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tooltip.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-6e6b2089.js → theme-wrapper-bf063190.js} +2 -2
- package/dist/esm/{translations-11287bda.js → translations-1d29b21f.js} +1 -1
- package/dist/tet-components/assets/icons/icon-map.json +1 -1
- package/dist/tet-components/assets/icons/tc/tc-trash.svg +5 -0
- package/dist/tet-components/{p-2323c938.entry.js → p-09fc163f.entry.js} +1 -1
- package/dist/tet-components/{p-db3b05b9.entry.js → p-0a02dd45.entry.js} +1 -1
- package/dist/tet-components/{p-7b67af22.entry.js → p-0a57bda8.entry.js} +1 -1
- package/dist/tet-components/{p-a932e715.entry.js → p-0af1220b.entry.js} +1 -1
- package/dist/tet-components/{p-816428cd.entry.js → p-0bc84d12.entry.js} +1 -1
- package/dist/tet-components/{p-ef909de3.js → p-0d1e7cd6.js} +1 -1
- package/dist/tet-components/{p-4c5d861d.entry.js → p-1757b81e.entry.js} +1 -1
- package/dist/tet-components/{p-eceafff4.entry.js → p-17edd514.entry.js} +1 -1
- package/dist/tet-components/p-1d14c865.js +2 -0
- package/dist/tet-components/{p-048205c9.entry.js → p-1d23bd5d.entry.js} +1 -1
- package/dist/tet-components/{p-2d9900c0.entry.js → p-225905e2.entry.js} +1 -1
- package/dist/tet-components/{p-a89a8dca.entry.js → p-292d2657.entry.js} +1 -1
- package/dist/tet-components/{p-d13cc04a.entry.js → p-2eadb689.entry.js} +1 -1
- package/dist/tet-components/{p-118bad7e.entry.js → p-317c3cf0.entry.js} +1 -1
- package/dist/tet-components/p-31e56eec.entry.js +1 -0
- package/dist/tet-components/{p-9f2ad6d8.entry.js → p-34931190.entry.js} +1 -1
- package/dist/tet-components/{p-f76f171b.entry.js → p-3e8c7e1f.entry.js} +1 -1
- package/dist/tet-components/{p-e8411d46.entry.js → p-44b573ce.entry.js} +1 -1
- package/dist/tet-components/{p-7a89815d.entry.js → p-476faca5.entry.js} +1 -1
- package/dist/tet-components/{p-9a39727e.entry.js → p-497bf2e1.entry.js} +1 -1
- package/dist/tet-components/{p-4f47b1ba.entry.js → p-4b3c3deb.entry.js} +1 -1
- package/dist/tet-components/{p-2d829674.entry.js → p-4cbb177a.entry.js} +1 -1
- package/dist/tet-components/{p-ce49b398.entry.js → p-4cf1b597.entry.js} +1 -1
- package/dist/tet-components/{p-1ef5243b.entry.js → p-4cfb3007.entry.js} +1 -1
- package/dist/tet-components/{p-c9d1f8b5.entry.js → p-4d77696a.entry.js} +1 -1
- package/dist/tet-components/{p-e2610d44.entry.js → p-4f5c9f04.entry.js} +1 -1
- package/dist/tet-components/{p-fd4d1ca5.js → p-513c1986.js} +1 -1
- package/dist/tet-components/{p-02cdb140.entry.js → p-52930f30.entry.js} +1 -1
- package/dist/tet-components/{p-759be092.entry.js → p-52d88a30.entry.js} +1 -1
- package/dist/tet-components/{p-48fe9ea7.entry.js → p-5336166d.entry.js} +1 -1
- package/dist/tet-components/{p-beeb3cae.entry.js → p-536ebeaa.entry.js} +1 -1
- package/dist/tet-components/{p-e0c5ac14.entry.js → p-54434393.entry.js} +1 -1
- package/dist/tet-components/{p-e75e5744.entry.js → p-56489c3a.entry.js} +1 -1
- package/dist/tet-components/{p-c35aa663.entry.js → p-5eeee2cd.entry.js} +1 -1
- package/dist/tet-components/{p-66eaa633.js → p-5f102998.js} +1 -1
- package/dist/tet-components/{p-b27f48a5.entry.js → p-66fd59dc.entry.js} +1 -1
- package/dist/tet-components/{p-e5bc2402.entry.js → p-68b557f3.entry.js} +1 -1
- package/dist/tet-components/{p-dfe87119.entry.js → p-6bd2bd28.entry.js} +1 -1
- package/dist/tet-components/{p-d1608c63.js → p-6e6dafb1.js} +1 -1
- package/dist/tet-components/{p-2ee22fc5.entry.js → p-6f60a621.entry.js} +1 -1
- package/dist/tet-components/p-713fff27.js +1 -0
- package/dist/tet-components/{p-7bc6a463.entry.js → p-717204a3.entry.js} +1 -1
- package/dist/tet-components/{p-1e5392b3.entry.js → p-7da3513d.entry.js} +1 -1
- package/dist/tet-components/{p-2f96da7b.entry.js → p-818e9c23.entry.js} +1 -1
- package/dist/tet-components/{p-464edbed.entry.js → p-826de04c.entry.js} +1 -1
- package/dist/tet-components/{p-96b88c24.entry.js → p-82ba6285.entry.js} +1 -1
- package/dist/tet-components/{p-3019fe9e.entry.js → p-8336e612.entry.js} +1 -1
- package/dist/tet-components/{p-237360ac.entry.js → p-835a790e.entry.js} +1 -1
- package/dist/tet-components/{p-93fcdf8f.entry.js → p-8848f88f.entry.js} +1 -1
- package/dist/tet-components/{p-64ee7471.entry.js → p-886aae2a.entry.js} +1 -1
- package/dist/tet-components/{p-1f6b6704.entry.js → p-88cac288.entry.js} +1 -1
- package/dist/tet-components/{p-a7c0fd47.entry.js → p-8962c2d3.entry.js} +1 -1
- package/dist/tet-components/p-8b9f2ed6.js +1 -0
- package/dist/tet-components/{p-b706cdd3.entry.js → p-921a45b7.entry.js} +1 -1
- package/dist/tet-components/{p-c82537f2.entry.js → p-926a876b.entry.js} +1 -1
- package/dist/tet-components/{p-701fb639.entry.js → p-9965314d.entry.js} +1 -1
- package/dist/tet-components/p-9ddfb98e.entry.js +1 -0
- package/dist/tet-components/{p-67643801.entry.js → p-a0339ce4.entry.js} +1 -1
- package/dist/tet-components/{p-4c7413fc.entry.js → p-a0356db6.entry.js} +1 -1
- package/dist/tet-components/{p-04a794db.entry.js → p-a0a53bfe.entry.js} +1 -1
- package/dist/tet-components/{p-5b360a66.entry.js → p-a4a01207.entry.js} +1 -1
- package/dist/tet-components/{p-44bd9249.js → p-a9820b87.js} +1 -1
- package/dist/tet-components/{p-e106f5a0.entry.js → p-aae98e69.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-aba811f3.js} +1 -1
- package/dist/tet-components/{p-a5872494.entry.js → p-b12f78b7.entry.js} +1 -1
- package/dist/tet-components/{p-75693c62.js → p-b3d49c78.js} +1 -1
- package/dist/tet-components/{p-e6a50442.entry.js → p-b41dc415.entry.js} +1 -1
- package/dist/tet-components/{p-ea2b3ea1.js → p-b66cbe8a.js} +1 -1
- package/dist/tet-components/{p-23f113ce.entry.js → p-b9203ea5.entry.js} +1 -1
- package/dist/tet-components/{p-091e774d.entry.js → p-c47543e1.entry.js} +1 -1
- package/dist/tet-components/{p-cbec683e.entry.js → p-c520fd76.entry.js} +1 -1
- package/dist/tet-components/{p-27b412fe.entry.js → p-c6717000.entry.js} +1 -1
- package/dist/tet-components/{p-3ea5e48b.entry.js → p-c9b8d9e5.entry.js} +1 -1
- package/dist/tet-components/{p-3d1fb94b.entry.js → p-ccf1d7f1.entry.js} +1 -1
- package/dist/tet-components/{p-ae654b8f.entry.js → p-cdd36b02.entry.js} +1 -1
- package/dist/tet-components/{p-8cb7a87d.entry.js → p-ce8db103.entry.js} +1 -1
- package/dist/tet-components/{p-03e95132.entry.js → p-cec333cf.entry.js} +1 -1
- package/dist/tet-components/{p-08b4cd81.entry.js → p-cf94d18c.entry.js} +1 -1
- package/dist/tet-components/{p-b09971aa.entry.js → p-d0e9c2d9.entry.js} +1 -1
- package/dist/tet-components/{p-a7f3696d.entry.js → p-d2bcb315.entry.js} +1 -1
- package/dist/tet-components/{p-4d98e775.entry.js → p-dd71cf2d.entry.js} +1 -1
- package/dist/tet-components/p-df570014.entry.js +1 -0
- package/dist/tet-components/{p-af2def62.entry.js → p-e06d84f2.entry.js} +1 -1
- package/dist/tet-components/{p-406551c3.entry.js → p-e62ddf2e.entry.js} +1 -1
- package/dist/tet-components/{p-0d4242c6.entry.js → p-ec92e5b7.entry.js} +1 -1
- package/dist/tet-components/{p-9f0d0072.entry.js → p-f2b8b227.entry.js} +1 -1
- package/dist/tet-components/{p-7e9c8900.entry.js → p-f7b95248.entry.js} +1 -1
- package/dist/tet-components/p-f9888c49.entry.js +1 -0
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.d.ts +110 -0
- package/dist/types/components/basic/steppers/tet-banner-nav/tet-banner-nav.d.ts +2 -1
- package/dist/types/components.d.ts +80 -3
- package/package.json +1 -1
- package/dist/tet-components/p-1ec7f341.js +0 -2
- package/dist/tet-components/p-7434c576.entry.js +0 -1
- package/dist/tet-components/p-78b74b41.js +0 -1
- package/dist/tet-components/p-b2b384d2.js +0 -1
- package/dist/tet-components/p-dd108d5a.entry.js +0 -1
package/dist/collection/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.js
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import { a11yBtnClick } from "../../../../services/utils/a11y";
|
|
2
|
+
import { Host, forceUpdate, h } from "@stencil/core";
|
|
3
|
+
import { processTranslations, t } from "../../../../services/translations/index";
|
|
4
|
+
/** Custom breakpoint for component, requested by designers to be different than usual 360, 768, 1440 */
|
|
5
|
+
const CUSTOM_BREAKPOINT = 422;
|
|
6
|
+
export class TetB2bCompareCard {
|
|
7
|
+
constructor() {
|
|
8
|
+
/** @private The suffix for the price displayed - "€/mēn."). */
|
|
9
|
+
this.priceSuffix = '€/mēn.';
|
|
10
|
+
/**
|
|
11
|
+
* @private Initializes localCount based on options.counterOptions.defaultValue or defaults to 1.
|
|
12
|
+
*/
|
|
13
|
+
this.initCount = () => {
|
|
14
|
+
var _a, _b;
|
|
15
|
+
this.localCount = (_b = (_a = this.options.counterOptions) === null || _a === void 0 ? void 0 : _a.defaultValue) !== null && _b !== void 0 ? _b : 1;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @private Updates localCount and emits the countChange event.
|
|
19
|
+
* @param newCount - The new count value to be emitted.
|
|
20
|
+
*/
|
|
21
|
+
this.updateCountAndEmit = (newCount) => {
|
|
22
|
+
if (typeof newCount === 'number') {
|
|
23
|
+
this.localCount = newCount;
|
|
24
|
+
}
|
|
25
|
+
this.countChange.emit({ cardId: this.options.id, count: newCount });
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @private Handles the card click event, setting localIsSelected to true and emitting selectedChange.
|
|
29
|
+
*/
|
|
30
|
+
this.handleSelect = (e) => {
|
|
31
|
+
const isLinkOrDescendant = e.target.closest('a');
|
|
32
|
+
if (isLinkOrDescendant) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
if (!this.localIsSelected) {
|
|
36
|
+
this.localIsSelected = true;
|
|
37
|
+
this.selectedChange.emit(true);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @private Handles the value change event from the nested tet-stepper-input component.
|
|
42
|
+
* @param detail - The event containing the new quantity value.
|
|
43
|
+
*/
|
|
44
|
+
this.handleCounterValueChange = ({ detail }) => {
|
|
45
|
+
if (this.added) {
|
|
46
|
+
this.updateCountAndEmit(detail);
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.localCount = detail;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @private Handles the "Add to Basket" action, stops event propagation, and emits the new count.
|
|
54
|
+
* @param e - The DOM event.
|
|
55
|
+
*/
|
|
56
|
+
this.handleAdd = (e) => {
|
|
57
|
+
e.stopPropagation();
|
|
58
|
+
this.updateCountAndEmit(this.localCount);
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @private Handles the "Remove from Basket" action, stops event propagation, and emits a null count.
|
|
62
|
+
* @param e - The DOM event.
|
|
63
|
+
*/
|
|
64
|
+
this.handleRemove = (e) => {
|
|
65
|
+
e.stopPropagation();
|
|
66
|
+
this.updateCountAndEmit(null);
|
|
67
|
+
};
|
|
68
|
+
this.localCount = 0;
|
|
69
|
+
this.localIsSelected = false;
|
|
70
|
+
this.isTablet = false;
|
|
71
|
+
this.theme = 'light';
|
|
72
|
+
this.options = undefined;
|
|
73
|
+
this.count = undefined;
|
|
74
|
+
this.isSelected = false;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @private Signals whether the item is currently considered "added" to the cart.
|
|
78
|
+
* Derived from the external 'count' prop being a defined number.
|
|
79
|
+
*/
|
|
80
|
+
get added() {
|
|
81
|
+
return this.count !== null && this.count !== undefined;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @watch syncCount
|
|
85
|
+
* Synchronizes the internal count state with the external 'count' property.
|
|
86
|
+
*/
|
|
87
|
+
syncCount(newCount) {
|
|
88
|
+
if (typeof newCount !== 'number') {
|
|
89
|
+
this.initCount();
|
|
90
|
+
}
|
|
91
|
+
else if (this.localCount !== newCount) {
|
|
92
|
+
this.localCount = newCount;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @watch syncSelected
|
|
97
|
+
* Synchronizes the internal selection state with the external 'isSelected' property.
|
|
98
|
+
*/
|
|
99
|
+
syncSelected(newSelected) {
|
|
100
|
+
if (this.localIsSelected !== newSelected) {
|
|
101
|
+
this.localIsSelected = newSelected;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
componentWillLoad() {
|
|
105
|
+
this.initCount();
|
|
106
|
+
processTranslations('tet-components', 'lv').then(() => forceUpdate(this));
|
|
107
|
+
}
|
|
108
|
+
componentDidLoad() {
|
|
109
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
110
|
+
for (let entry of entries) {
|
|
111
|
+
this.isTablet = entry.contentRect.width > CUSTOM_BREAKPOINT;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
this.resizeObserver.observe(this.hostElement);
|
|
115
|
+
}
|
|
116
|
+
disconnectedCallback() {
|
|
117
|
+
if (this.resizeObserver) {
|
|
118
|
+
this.resizeObserver.unobserve(this.hostElement);
|
|
119
|
+
this.resizeObserver.disconnect();
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
render() {
|
|
123
|
+
const { localIsSelected, localCount, options, priceSuffix } = this;
|
|
124
|
+
const { title, subtitle, isBestChoice, price, discountPrice, benefits, contract } = options;
|
|
125
|
+
const currentPrice = discountPrice !== null && discountPrice !== void 0 ? discountPrice : price;
|
|
126
|
+
const currentTotal = (localCount * currentPrice).toFixed(2);
|
|
127
|
+
const oldTotal = (localCount * price).toFixed(2);
|
|
128
|
+
const detailsId = `details-${options.id}`;
|
|
129
|
+
const titleId = `title-${options.id}`;
|
|
130
|
+
return (h(Host, { key: '06e7dfc1c810f4ca54ec3fd28113e6d369fb1bc8' }, h("div", { key: '0f043d5ee2c903c1bfce63fd1a8f5b4e403d57fb', class: { card__wrapper: isBestChoice } }, isBestChoice && (h("div", { key: '97af10522d049928f683165883af233f202ce3f9', class: { 'card__badge': true, 'card__badge--is-tablet': this.isTablet } }, t('components-b2b-configurator-best-choice'))), h("div", { key: 'f66fc87a1a9378b964d0ff5ca816663f8fe9bda9', class: { 'card': true, [`${this.theme}`]: true, 'card--selected': localIsSelected }, onClick: this.handleSelect, onKeyDown: a11yBtnClick, tabindex: 0, role: "button", "aria-expanded": localIsSelected, "aria-controls": detailsId, "aria-labelledby": titleId }, h("section", { key: 'eb2950cdd83c8397aa635f2268ff67fd61f86437', class: { 'offer': true, 'offer--is-tablet': this.isTablet } }, h("div", { key: '2c5154ac157fe6e03b8020c571f991b0153d466c', class: "offer__header" }, h("div", { key: '6bcd1f8ecd5f672937cd05cccafbd31a7836eb0a', class: { 'offer__top-info': true, 'offer__top-info--is-tablet': this.isTablet } }, h("h3", { key: '5909278d4661616c2259b647c849e5233df21eb5', id: titleId, class: { 'offer__title': true, 'offer__title--is-tablet': this.isTablet } }, title), h("p", { key: 'b88d3c9378d459f97aeae7d207795b7586373600', class: { 'offer__price': true, 'offer__price--is-tablet': this.isTablet } }, currentPrice, h("span", { key: '6f04810cda176175afc42982f2533cd88e792962', class: { 'offer__price-suffix': true, 'offer__price-suffix--is-tablet': this.isTablet } }, ' ', priceSuffix))), h("p", { key: '58807ffd2405067030b75860b6005438aa85bcf5', class: { 'offer__subtitle': true, 'offer__subtitle--is-tablet': this.isTablet } }, subtitle)), h("hr", { key: 'e1382fcfb293b07fa735f6d56190df64bfc7c878', class: "divider divider--slim" }), h("tet-text-list", { key: '1da2a6f511a8fedb9c386c61f5d6ab6ee2da0e2a', class: "offer__benefits", withIcon: true, listIcon: "tc-check", theme: this.theme }, benefits.map((benefit) => (h("span", null, benefit)))), contract && (h("div", { key: '447288a15955982e456b8fd7a575e2165aba22d4', class: "offer__contract-link" }, h("a", { key: '5c10745a26bc4ceeb36eae3fbc6166eee382087a', class: { 'tet-link': true, [`${this.theme}`]: true }, href: contract, target: "_blank", rel: "noopener noreferrer" }, t('components-b2b-configurator-contract-link-label'), h("span", { key: '11cd90f891ecd58a602e27e950c505e13c9a83cb', class: "sr-only" }, t('components-a11y-open-link-in-new-window')))))), localIsSelected && [
|
|
131
|
+
h("hr", { key: '295839d5f410009b8f4752ba68f838080ec6c859', class: "divider" }),
|
|
132
|
+
h("section", { key: '421ab3a6aadb577829a1f3e09da914573c157860', id: detailsId, role: "region", "aria-labelledby": titleId, class: { 'details': true, 'details--is-tablet': this.isTablet } }, h("div", { key: '5bf69e7293345c9975056884dca4fe4178070a5f', class: { 'details__price-block': true, 'details__price-block--is-tablet': this.isTablet } }, h("span", { key: 'ac73b260add59343d8616762720cbd2d346c6350' }, t('components-b2b-configurator-monthly-payment')), h("div", { key: 'c9153ae0621e27dcf5514db92707146d05e4f74b', class: "details__total", "aria-live": "polite" }, h("span", { key: 'ee6fcb1a273c24ebab76439569da984e92ebc5df', class: "details__total--current" }, currentTotal, " ", priceSuffix), discountPrice != null && discountPrice < price && (h("span", { key: 'ed892b2d3dd86483714e3796284c06f4fe39e7f0', class: "details__total--original" }, oldTotal, " ", priceSuffix)))), h("hr", { key: '2264d6a95f8614f375e1c1caefb571f4d42f33f9', class: "divider" }), h("div", { key: '072ab1bc2ebb383b102b04ede3cb60644f4716b6', class: { 'details__actions': true, 'details__actions--is-tablet': this.isTablet } }, h("div", { key: '4ad80af4325fa27a0a62ffb9266b2013672ed554', class: "details__quantity-control" }, options.counterOptions && [
|
|
133
|
+
h("span", { key: 'd30b66eca5c5c990c41dd784af577d7ab4956c6b', id: `qty-label-${options.id}`, class: "details__quantity-label" }, t(options.counterOptions.label)),
|
|
134
|
+
h("tet-stepper-input", { key: 'dd14d925b3c96eb37e4926adfb2253ac03cca053', class: {
|
|
135
|
+
'details__quantity-counter': true,
|
|
136
|
+
'details__quantity-counter--is-tablet': this.isTablet
|
|
137
|
+
}, onInputValueChanged: this.handleCounterValueChange, value: localCount, min: options.counterOptions.minValue, max: options.counterOptions.maxValue, step: 1, theme: this.theme, accessibilityLabel: t(options.counterOptions.label), "aria-labelledby": `qty-label-${options.id}` })
|
|
138
|
+
]), h("tet-button", { key: '4811b137265df7c3babaceee651bae05e22e5919', class: "details__submit-button", onClick: this.added ? this.handleRemove : this.handleAdd, size: "medium", type: this.added ? 'secondary' : 'primary', theme: this.theme, iconName: this.added ? 'tc-trash' : 'tc-cart-outline', iconPosition: "left" }, this.added
|
|
139
|
+
? t('components-b2b-configurator-remove-from-basket')
|
|
140
|
+
: t('components-b2b-configurator-add-to-basket'))))
|
|
141
|
+
]))));
|
|
142
|
+
}
|
|
143
|
+
static get is() { return "tet-b2b-compare-card"; }
|
|
144
|
+
static get encapsulation() { return "shadow"; }
|
|
145
|
+
static get originalStyleUrls() {
|
|
146
|
+
return {
|
|
147
|
+
"$": ["tet-b2b-compare-card.scss"]
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
static get styleUrls() {
|
|
151
|
+
return {
|
|
152
|
+
"$": ["tet-b2b-compare-card.css"]
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
static get properties() {
|
|
156
|
+
return {
|
|
157
|
+
"theme": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"mutable": false,
|
|
160
|
+
"complexType": {
|
|
161
|
+
"original": "'light' | 'dark'",
|
|
162
|
+
"resolved": "\"dark\" | \"light\"",
|
|
163
|
+
"references": {}
|
|
164
|
+
},
|
|
165
|
+
"required": false,
|
|
166
|
+
"optional": false,
|
|
167
|
+
"docs": {
|
|
168
|
+
"tags": [{
|
|
169
|
+
"name": "default",
|
|
170
|
+
"text": "'light'"
|
|
171
|
+
}],
|
|
172
|
+
"text": "The theme used for the component's styling."
|
|
173
|
+
},
|
|
174
|
+
"attribute": "theme",
|
|
175
|
+
"reflect": false,
|
|
176
|
+
"defaultValue": "'light'"
|
|
177
|
+
},
|
|
178
|
+
"options": {
|
|
179
|
+
"type": "unknown",
|
|
180
|
+
"mutable": false,
|
|
181
|
+
"complexType": {
|
|
182
|
+
"original": "B2BCard",
|
|
183
|
+
"resolved": "{ id: string; title: string; subtitle: string; isBestChoice: boolean; price: number; discountPrice?: number; benefits: string[]; contract?: string; counterOptions?: { defaultValue: number; minValue: number; maxValue: number; label: string; }; }",
|
|
184
|
+
"references": {
|
|
185
|
+
"B2BCard": {
|
|
186
|
+
"location": "local",
|
|
187
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.tsx",
|
|
188
|
+
"id": "src/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.tsx::B2BCard"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"required": false,
|
|
193
|
+
"optional": false,
|
|
194
|
+
"docs": {
|
|
195
|
+
"tags": [],
|
|
196
|
+
"text": "The core data object containing the title, prices, benefits, and counter options."
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"count": {
|
|
200
|
+
"type": "number",
|
|
201
|
+
"mutable": false,
|
|
202
|
+
"complexType": {
|
|
203
|
+
"original": "number | undefined | null",
|
|
204
|
+
"resolved": "number",
|
|
205
|
+
"references": {}
|
|
206
|
+
},
|
|
207
|
+
"required": false,
|
|
208
|
+
"optional": false,
|
|
209
|
+
"docs": {
|
|
210
|
+
"tags": [],
|
|
211
|
+
"text": "The current quantity count for the item (eg. count that is added to cart in the parent)"
|
|
212
|
+
},
|
|
213
|
+
"attribute": "count",
|
|
214
|
+
"reflect": false
|
|
215
|
+
},
|
|
216
|
+
"isSelected": {
|
|
217
|
+
"type": "boolean",
|
|
218
|
+
"mutable": false,
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "boolean",
|
|
221
|
+
"resolved": "boolean",
|
|
222
|
+
"references": {}
|
|
223
|
+
},
|
|
224
|
+
"required": false,
|
|
225
|
+
"optional": false,
|
|
226
|
+
"docs": {
|
|
227
|
+
"tags": [{
|
|
228
|
+
"name": "default",
|
|
229
|
+
"text": "false"
|
|
230
|
+
}],
|
|
231
|
+
"text": "Tracks whether the card is visually expanded/selected."
|
|
232
|
+
},
|
|
233
|
+
"attribute": "is-selected",
|
|
234
|
+
"reflect": false,
|
|
235
|
+
"defaultValue": "false"
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
static get states() {
|
|
240
|
+
return {
|
|
241
|
+
"localCount": {},
|
|
242
|
+
"localIsSelected": {},
|
|
243
|
+
"isTablet": {}
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
static get events() {
|
|
247
|
+
return [{
|
|
248
|
+
"method": "countChange",
|
|
249
|
+
"name": "countChange",
|
|
250
|
+
"bubbles": true,
|
|
251
|
+
"cancelable": true,
|
|
252
|
+
"composed": true,
|
|
253
|
+
"docs": {
|
|
254
|
+
"tags": [{
|
|
255
|
+
"name": "event",
|
|
256
|
+
"text": undefined
|
|
257
|
+
}],
|
|
258
|
+
"text": "Emitted when the user changes the quantity counter value and submits; or on card close event."
|
|
259
|
+
},
|
|
260
|
+
"complexType": {
|
|
261
|
+
"original": "B2bCardUpdateEvent",
|
|
262
|
+
"resolved": "{ cardId: string; count: number; }",
|
|
263
|
+
"references": {
|
|
264
|
+
"B2bCardUpdateEvent": {
|
|
265
|
+
"location": "local",
|
|
266
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.tsx",
|
|
267
|
+
"id": "src/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.tsx::B2bCardUpdateEvent"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}, {
|
|
272
|
+
"method": "selectedChange",
|
|
273
|
+
"name": "selectedChange",
|
|
274
|
+
"bubbles": true,
|
|
275
|
+
"cancelable": true,
|
|
276
|
+
"composed": true,
|
|
277
|
+
"docs": {
|
|
278
|
+
"tags": [{
|
|
279
|
+
"name": "event",
|
|
280
|
+
"text": undefined
|
|
281
|
+
}],
|
|
282
|
+
"text": "Emitted when the card is clicked to change its selected state"
|
|
283
|
+
},
|
|
284
|
+
"complexType": {
|
|
285
|
+
"original": "boolean",
|
|
286
|
+
"resolved": "boolean",
|
|
287
|
+
"references": {}
|
|
288
|
+
}
|
|
289
|
+
}];
|
|
290
|
+
}
|
|
291
|
+
static get elementRef() { return "hostElement"; }
|
|
292
|
+
static get watchers() {
|
|
293
|
+
return [{
|
|
294
|
+
"propName": "count",
|
|
295
|
+
"methodName": "syncCount"
|
|
296
|
+
}, {
|
|
297
|
+
"propName": "isSelected",
|
|
298
|
+
"methodName": "syncSelected"
|
|
299
|
+
}];
|
|
300
|
+
}
|
|
301
|
+
}
|
|
@@ -28,10 +28,10 @@ export class TetBusinessCompareCard {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const { mainTitle, bulletPoints, theme, pricePrefix, price, currency } = this;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: '35ca4e2b3df38720b9edf185be47efa21840513e', class: { 'tet-business-compare-card': true, [`theme-${theme}`]: true } }, h("div", { key: '7109e4601fae8a53cecec12f1c756acbdbce768d', class: "tet-business-compare-card__body" }, h("div", { key: '8afbb5e28e5cb08416256a090521790707bfaae3', class: "tet-business-compare-card__title" }, h("slot", { key: 'db1b22bce281b23c37ab974819bae15cfea0ac47', name: "title" }, h("h3", { key: 'bec3a7806cceb353d7e895c2a9d862d6d9041166' }, mainTitle))), h("div", { key: '14797e43dd41185295a8b684178641bef5b72ebe', class: "tet-business-compare-card__content" }, h("slot", { key: '6394090fb55d3e8aa3082c43569be73a2a9a51ed', name: "content" }, !!(bulletPoints === null || bulletPoints === void 0 ? void 0 : bulletPoints.length) && (h("tet-text-list", { key: '2e35c5ad4f2f7555c392b98497d4b2144cc1921d', class: "bullet-points", theme: this.theme === 'dark' ? 'dark' : 'light' }, bulletPoints.map(bulletPoint => (h("p", null, bulletPoint)))))))), price && currency && (h("div", { key: 'b82ddb751f43ff2dca9e719e34084241a542b00a', class: "tet-business-compare-card__price-wrapper" }, pricePrefix && (h("div", { key: '4b26e18cd6fa1ea5bdc6ecdfac5334f6b14ab9ea', class: "tet-business-compare-card__price" }, h("span", { key: 'f589e2ace04e497ca8e259b83b086de4a7bef8dc', class: "tet-business-compare-card__price-prefix" }, pricePrefix, "\u00A0"), price)), !pricePrefix && h("div", { key: '6680817ecbaf472db827d89abd44290d5a37ac9d', class: "tet-business-compare-card__price" }, price), h("div", { key: 'a6d5369d5d35c267e8d1d7e8dda3e44e53fa1969', class: "tet-business-compare-card__price-currency" }, currency))), h("div", { key: 'da2035dc950fc8142ff00bf04d3c3e84bf3a3b0c', class: {
|
|
32
32
|
'tet-business-compare-card__footer': true,
|
|
33
33
|
'tet-business-compare-card__footer--show': this.hasContentInFooter,
|
|
34
|
-
} }, h("slot", { key: '
|
|
34
|
+
} }, h("slot", { key: '669ded1714b3127b5cafa61aac1ff59fbb33c486', ref: (slot) => (this.buttonSlotRef = slot), onSlotchange: this.checkFooterSlotContent, name: "button" }), h("slot", { key: 'f95a1eab115b7056caa0ddd81a2f80d2a6afa360', ref: (slot) => (this.linkSlotRef = slot), onSlotchange: this.checkFooterSlotContent, name: "link" }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "tet-business-compare-card"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -646,19 +646,19 @@ export class TetCardList {
|
|
|
646
646
|
this.dimensions.element.width = elementRect.width;
|
|
647
647
|
}
|
|
648
648
|
render() {
|
|
649
|
-
return (h(Host, { key: '
|
|
649
|
+
return (h(Host, { key: '28390b3ae883aa090c9edcfdd99cae59b1beb5e2' }, h("div", { key: 'c21db66f3b5935308fb8770a515bcbca6e3fb103', class: {
|
|
650
650
|
'tet-card-list__container': true,
|
|
651
651
|
'tet-card-list--no-scroll': this.disableScroll,
|
|
652
652
|
[this.theme]: true,
|
|
653
|
-
}, part: "card-list-container" }, h("div", { key: '
|
|
653
|
+
}, part: "card-list-container" }, h("div", { key: 'c0c87835eedf89098ff9663c6f7bf5822593afe8', class: "tet-card-list__scroll-container" }, h("div", { key: '903c160b99be9b9f3eb0a41907b57919483f7513', part: "card-list", ref: el => (this.scrollContainerRef = el) }, h("slot", { key: '6349638760d42c535eebf84d680c9da174e10aac' }))), h("tet-button", { key: '85cf93e22b332ad7ed9b651ca93aaaaed30a573d', theme: this.theme, iconMode: true, class: {
|
|
654
654
|
'tet-card-list__control': true,
|
|
655
655
|
'tet-card-list__control--left': true,
|
|
656
656
|
'tet-card-list__control--hidden': !this.controlVisibility.left,
|
|
657
|
-
}, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleLeftControl, onKeyUp: this.handleLeftControlKeyUp }, h("tet-icon", { key: '
|
|
657
|
+
}, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleLeftControl, onKeyUp: this.handleLeftControlKeyUp }, h("tet-icon", { key: '0be1c1c8ae3d5a2f90531ced42c0edf50d1b3e29', name: this.iconPrev && this.iconPrev !== '' ? this.iconPrev : 'chevron-left', class: "tet-card-list__control__icon" })), h("tet-button", { key: '15d1a6c7adc0f397094bf57656a496dcb656c980', theme: this.theme, iconMode: true, class: {
|
|
658
658
|
'tet-card-list__control': true,
|
|
659
659
|
'tet-card-list__control--right': true,
|
|
660
660
|
'tet-card-list__control--hidden': !this.controlVisibility.right,
|
|
661
|
-
}, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleRightControl, onKeyUp: this.handleRightControlKeyUp }, h("tet-icon", { key: '
|
|
661
|
+
}, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleRightControl, onKeyUp: this.handleRightControlKeyUp }, h("tet-icon", { key: 'f14e143a9d30ea8e3248bcf8f2a5a2145e52fcc2', name: this.iconNext && this.iconNext !== '' ? this.iconNext : 'chevron-right', class: "tet-card-list__control__icon" })), h("div", { key: '75c30dac7b7645a1cffc0cc2497a5d64f7dcbe13', class: { 'tet-card-list__scroll': true, 'tet-card-list--hidden': !this.withScrollbar } }, h("div", { key: '5853fdb0dedc8729d967ed160c1465118d68fe16', class: "tet-card-list__scroll--thumb", ref: el => (this.scrollbarRef = el) })))));
|
|
662
662
|
}
|
|
663
663
|
static get is() { return "tet-card-list"; }
|
|
664
664
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js
CHANGED
|
@@ -117,7 +117,7 @@ export class TetCustomerAssets {
|
|
|
117
117
|
return provisioningStatus === 'Active' && tetProductType !== 'ConsumerGoods';
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
|
-
return (h(Host, { key: '
|
|
120
|
+
return (h(Host, { key: 'd157f956d1af0e71afdec8428cdcd9f864327d2d' }, h("div", { key: 'a842c6960677131ef1ef6602ae7a0426c782cec5', class: { wrapper: this.showLoader && this.singleLoader, 'dark-theme': this.darkTheme } }, this.showLoader && this.singleLoader
|
|
121
121
|
? h("tet-loader", { class: "loader-single" })
|
|
122
122
|
: this.showLoader ? this.renderLoader() : this.renderAssetsList())));
|
|
123
123
|
}
|
|
@@ -42,9 +42,9 @@ export class TetReferral {
|
|
|
42
42
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '8d221adfe8a3b5bae5e52d769c523ac6ff98a6f6' }, h("div", { key: '9879856f747004efd35619c25e0c8a3235201f48', class: "wrapper" }, h(ThemeWrapper, { key: 'e61e6fb96d35875c4c134b0865950cd21e4425b7', theme: this.theme }, h("div", { key: '777a3dd5f157801f36c09e9bd6b9acdd6bf0d6f0', class: "image-container" }, h("img", { key: 'f5818dc251071154a9e79caf89bc2bb51b318676', src: t('components-referral-image-url'), alt: "" })), h("div", { key: 'eddbe49d1654114d5043d86b8b014bd0692f68af', class: "subtitle-container" }, t('components-referral-subtitle')), h("div", { key: 'f377f9aa6a8a44fe8f7cc323ede85c6148c925d6', class: "description-container", innerHTML: t('components-referral-description') }), h("div", { key: 'f7a987d60e60e9b69a14b8b7c64e6a61a6459ac2', class: "referral-block" }, h("div", { key: '7dc3dea2c4910a635f1fe5d8e8a8a17b33796b82', class: "url-wrapper" }, h("div", { key: '33cf0a61dd7419a975f13effbc98b113e087b4c8', class: "referral-url" }, this.getReferralUrl()), h("div", { key: '3f530451e795f721842f34d3f45d83f467df4299' }, h("div", { key: 'eee3deb626d0bc30a5c75554f8524bed7437ccab', class: "button-wrapper" }, h("tet-tooltip", { key: '76d361082fb1c4416188eba31570dcc2d2e3f738', theme: this.theme, class: "tooltip", doNotShowOnHover: true, ref: (el) => {
|
|
46
46
|
this.tooltip = el;
|
|
47
|
-
} }, t('components-referral-tooltip')), h("tet-button", { key: '
|
|
47
|
+
} }, t('components-referral-tooltip')), h("tet-button", { key: '438808bb41dbdc77a0d3fc833c744bc4dad59260', clickCallback: this.copyToClipBoard, type: "primary", theme: this.theme }, t('components-referral-copy-button-label'))))))))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "tet-referral"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js
CHANGED
|
@@ -107,7 +107,7 @@ export class TetMultiStepDialog {
|
|
|
107
107
|
return (h("div", { innerHTML: step, "data-step": Number(index) + 1, class: "multi-step-dialog__step", ref: this.setStepBlocks }));
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '9ca3f147e9c2cf9459a2c5a8a6b8cf7f40fb687d', class: "multi-step-dialog" }, h("tet-dialog", { key: '1266930ee05b6e0785f1b5b01a1b377e0366d195', class: this.tetDialogClass, "is-open": this.isOpen, "data-screen-key": this.dialogDataScreenKey, "footer-display": "right", ref: el => this.tetDialog = el }, h("div", { key: '50d8cc87c7beded569f11f7c27132c99d9a7f012', innerHTML: this.content }), this.steps.map((step, index) => (this.renderStep(step, index))), h("tet-button", { key: '43e41d87867ceaf9a87080df83247cfb0140bf73', class: "footer-button", slot: "footer", size: "medium", theme: "light", type: "secondary", ref: el => this.prevButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-go-back')), h("tet-button", { key: 'be885020478b0cb08ac0494932012a00af11a111', class: "footer-button", slot: "footer", size: "medium", theme: "light", ref: el => this.nextButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-next-step')))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "tet-multi-step-dialog"; }
|
|
113
113
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class TetAvailabilityContactForm {
|
|
|
121
121
|
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')))))));
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: '63c7b8453a97abf60f00dabed340cf2f860a1c74', class: { 'dark-theme': this.darkTheme } }, this.success ? this.renderSuccessStep() : this.renderForm()));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "tet-availability-contact-form"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -64,7 +64,7 @@ export class TetContactForm {
|
|
|
64
64
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: '7cbbbb904b090dd60858e0cfec5704e28f174fb6', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: '96b3a8c916b4e450a8d3daf647066947f6f99a45', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: '0bea47bb81facf096655a456015def705b8b2c33', class: "form-container" }, this.showTitle && h("h2", { key: 'fbe360ffb62197b0a5ecd503f1c2ea0ce80240a1', class: "form-title" }, t('components-contact-form-title')), h("p", { key: '0b7467e8ca330342d93805c8667f1577052ab082', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: 'a5043132b9239b6e7ea986c71a654693742f755a', 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", Object.assign({ key: 'b9800f791dabf4034f0019a2e1445192ed022130', class: "form-submit", type: "primary", clickCallback: this.createManualTask, innerHTML: t('components-contact-form-submit') }, this.submitButtonProps))))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "tet-contact-form"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class TetTvGiftBlock {
|
|
|
32
32
|
this.setContainerSize();
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '6fa5c3643ec1cbf8a980dd7dcf4add062fee41f3' }, h("div", { key: 'ad2415ba70d3d9cd18c9ba07b75aedc8df81b8de', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: '2e27bc8a519ac1ebc05dfd90f19290151a77597c', class: "tv-gift__header" }, h("slot", { key: '76959cad03453cfda3ac123908c948805c9fdc1a', name: "header" }, this.headerImageSrc && h("img", { key: '5e57011cee51a0214376b5fbbf44c4e5084836c4', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: '47eb671de082cadf963e89176ee1a115ae696256', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: '78422d61d3c717c6a217af79a4d9ebe1a90df98d', class: "tv-gift__content" }, h("slot", { key: '0cc59553976cdcff8ee58847381f068987de1391' })), h("div", { key: '9705da254c39522ce568a8b3f26703bd24a48683', class: "tv-gift__footer" }, h("slot", { key: 'f81d442f192c265e0ecfa2ae992690932fce7758', name: "footer" }, h("span", { key: 'eee26914b62077c5001b2dc7ee5aef112aca9a6e', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: '3553056fd948fefcb1a0601425e35f0d2daee011', class: "tv-gift__footer__text" }, this.footerText))))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "tet-tv-gift-block"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js
CHANGED
|
@@ -34,11 +34,11 @@ export class TetTvGiftList {
|
|
|
34
34
|
this.setContainerSize();
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '80c3e1fefd3ca6a55b7373d26bc149bb242e6f41' }, h("div", { key: '56757c3c2fa7b169328637ce78f14824028c9a3d', class: {
|
|
38
38
|
'tv-gift-list': true,
|
|
39
39
|
[`tv-gift-list--${this.containerSize}`]: true,
|
|
40
40
|
'tv-gift-list--image-list': Boolean(this.imageSource),
|
|
41
|
-
} }, this.imageSource && (h("div", { key: '
|
|
41
|
+
} }, this.imageSource && (h("div", { key: '6417daa090839bb35ae145dcf7c4518b42bc62e3', class: "tv-gift-list__image__wrapper" }, h("img", { key: '4656cfba436c5fd42c80fffb68a8cecf77fb23da', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: 'b680d531cd3c2ae35965fe945757cc3789271aa3', class: "tv-gift-list__list__wrapper" }, h("span", { key: 'e91fb3bd9aeade554f352cbbd955d867f39963a9', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: '38240537eb7893bdaf65b63c05b87cafa1f34791', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tet-tv-gift-list"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js
CHANGED
|
@@ -151,11 +151,11 @@ export class TetTabContent {
|
|
|
151
151
|
this.selectedId = id;
|
|
152
152
|
}
|
|
153
153
|
render() {
|
|
154
|
-
return (h(Host, { key: '
|
|
154
|
+
return (h(Host, { key: '3905734ec605f86ae0ede23c30a2c69a4e03dc4f' }, h("div", { key: '01921c53660cfd1f71a0febe26b457299828be78', class: {
|
|
155
155
|
'tet-tab-content': true,
|
|
156
156
|
'use-visibility': this.useVisibility,
|
|
157
157
|
[this.theme]: true
|
|
158
|
-
} }, h("slot", { key: '
|
|
158
|
+
} }, h("slot", { key: 'e0647e264feb46e582bb1ea813c2a56a0ec139cb' }))));
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "tet-tab-content"; }
|
|
161
161
|
static get encapsulation() { return "shadow"; }
|
|
@@ -470,7 +470,7 @@ export class TetTabHeader {
|
|
|
470
470
|
return {};
|
|
471
471
|
}
|
|
472
472
|
render() {
|
|
473
|
-
return (h(Host, { key: '
|
|
473
|
+
return (h(Host, { key: '575c8d810e80af2791b022fdf71dea2448090a28', "data-id-suffix": this.idSuffix }, h("div", { key: 'c241f89fd0656b8db17f9dd8032f00aa7a585974', class: {
|
|
474
474
|
'tabs': true,
|
|
475
475
|
'tabs--segmented': this.segmented,
|
|
476
476
|
'dark': this.darkMode,
|
|
@@ -478,7 +478,7 @@ export class TetTabHeader {
|
|
|
478
478
|
[this.theme]: true,
|
|
479
479
|
[this.sizing]: true,
|
|
480
480
|
[this.type]: !!this.type
|
|
481
|
-
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: '
|
|
481
|
+
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: '7ef4e7e08144dca09ab93f4dddb6222a5809d6d4', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: '4f5388597cec44056b6d8f0196539705d0b28dcc', class: { 'tabs-line': !this.segmented, 'no-underline': this.hideHeaderUnderline } })));
|
|
482
482
|
}
|
|
483
483
|
static get is() { return "tet-tab-header"; }
|
|
484
484
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: 'cf0f36ac5f23bd7d2f01b9dcfea807db47a46219' }, h("button", { key: '9e0e8ca9a934c8ef37ded4a7ce7fe9cca7eeb342', 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: '1ed39713ae948576326c306eb80e08e5ea7c1ad9', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'b81819a3c030ddd0b4450a7b9f2e0aa30daf0270', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: 'd271c7f5040129da82aa6ad5120a6ad8adbb7645', 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"; }
|
|
@@ -185,10 +185,10 @@ export class TetCarousel {
|
|
|
185
185
|
window.removeEventListener('resize', this.getScreenCount.bind(this));
|
|
186
186
|
}
|
|
187
187
|
render() {
|
|
188
|
-
return (h(Host, { key: '
|
|
188
|
+
return (h(Host, { key: '9d5d17eb8407d5cf85f7d1da1ba976e099e0ca4a' }, h("div", { key: 'db301001e7a4e27f5bf2240d58ffca110b85bf23', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '0771fc98d2118bea3c8a6c2bc3735bbaddbd4f00', class: "tet-carousel__container" }, h("div", { key: 'b2d6159c82a2dc92e75b553003d167eb5704fa77', class: "tet-carousel__track", ref: (el) => (this.trackElement = el), style: {
|
|
189
189
|
transform: `translateX(${this.dragOffset}px)`,
|
|
190
190
|
transition: this.isDragging ? 'none' : `transform ${this.transitionDuration}ms ${this.transitionTiming}`
|
|
191
|
-
}, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '
|
|
191
|
+
}, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '5a694914d92cdc1240ebcd5695dc96bfd984f3f7' }))), h("div", { key: 'ecbabb88d417d7b988e621c7b58b622b6ebf39be', class: "tet-carousel__controls" }, this.showButtons && (h("div", { key: '999f31dec00863712eb22b84ed1851a382840e9d', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: '703ea759681f0deddceeae3d1a6cf2e02601c5ae', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, onClick: this.handlePrev, "aria-label": "Previous", disabled: this.screenCount <= 1 || this.activeIndex === 0 }))), this.showDots && (h("div", { key: 'b47562c9a32e2c473f3877b2d5ef96e6aba5b94d', class: "tet-carousel__dots" }, Array.from({ length: this.screenCount }).map((_, idx) => (h("span", { class: `tet-carousel__dot${idx === this.activeIndex ? ' active' : ''}`, key: idx, onClick: () => this.handleDotClick(idx) }))))), this.showButtons && (h("div", { key: '7e42421d3e72ec427606f5ff0230ac43ceb87d24', class: "tet-carousel__buttons " }, h("tet-button", { key: '63d3de05405317d08b8ad0109a4b25f218ddcd33', class: "tet-carousel__buttons--desktop tet-carousel__btn ", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, onClick: this.handlePrev, "aria-label": "Previous", disabled: this.screenCount <= 1 || this.activeIndex === 0 }), h("tet-button", { key: '35807ee3df9f6c786a6b213b9b70097c12aba8fe', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, onClick: this.handleNext, "aria-label": "Next", disabled: this.screenCount <= 1 || this.activeIndex === this.screenCount - 1 })))))));
|
|
192
192
|
}
|
|
193
193
|
static get is() { return "tet-carousel"; }
|
|
194
194
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class TetIcon {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("span", { key: '
|
|
52
|
+
return (h("span", { key: 'e70f786551aa30c0da08c84a0a97c75952c0ef2f', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", Object.assign({ key: '8ce04feab01d9ca4e038a24da49e6d408a7edfc0', class: {
|
|
53
53
|
'icon-container': true,
|
|
54
54
|
'default-color': this.shouldUseDefaultColor(),
|
|
55
55
|
[this.theme]: true,
|
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TetLoader {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '89c692f31a49d021a7b273d1b014030b54076df2', class: "loader" }, h("div", { key: '205122d466cf6778217bbc67a66ff9252e9ab157', class: "loader-inner" })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "tet-loader"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class TetPlaceholder {
|
|
|
9
9
|
this.darkTheme = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '366bac6a9630484c54d6ab565db7a0bab2d9d3a0', style: { width: this.width, height: this.height } }, h("div", { key: '0bb9d52da084d9634c923c727f2f14f9e0bff144', class: { 'dark-theme': this.darkTheme } }, h("div", { key: 'e0d463ebcae4fc94ffb0a10ecc19fb79a5352923', class: "placeholder", style: { height: this.height } }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "tet-placeholder"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,13 +47,13 @@ export class TetSpinner {
|
|
|
47
47
|
this.setForeignObjectAttributes();
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h("div", { key: '
|
|
50
|
+
return (h("div", { key: 'd18e1b1784c18ab83fc174bcee964c666ed5a06a', ref: element => (this.spinner = element), class: {
|
|
51
51
|
spinner: true,
|
|
52
52
|
[`${this.theme}-theme`]: true,
|
|
53
53
|
[`size--${this.size}`]: true,
|
|
54
54
|
[`spinner--${this.type}`]: true,
|
|
55
|
-
} }, h("svg", { key: '
|
|
56
|
-
0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '
|
|
55
|
+
} }, h("svg", { key: 'dd176aa4d93d3838ff6b84365abcead5a40327ff', viewBox: "0 0 40 40" }, h("clipPath", { key: '3fe9945177f2df1ef95e576184edf1ea81ef0064', id: "clip" }, h("path", { key: '6b222355721e1f0ed02f305602e6ed5351381865', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
|
|
56
|
+
0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '0ca874272ba9a9e1104d88521b370ed2745460d4' }, h("div", { key: '2d1d8ad03618ea9b8ab66152ecdaf957e6c0a9b5', class: "spinner__gradient" })))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "tet-spinner"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,12 +13,12 @@ export class TetLabel {
|
|
|
13
13
|
this.showIcon = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'd085902408f606d07d13f35542a338acb2ef1dd6' }, h("div", { key: '4422eebeef7045c3180b3a914808d7ed1c5d39fe', class: {
|
|
17
17
|
label: true,
|
|
18
18
|
'label-active': this.active,
|
|
19
19
|
[`label-type-${this.type}`]: true,
|
|
20
20
|
[`theme-${this.theme}`]: true,
|
|
21
|
-
} }, this.labelTitle && h("p", { key: '
|
|
21
|
+
} }, this.labelTitle && h("p", { key: '48a9ea51ddf8f9560765355cad3c52536440bb80', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: '293d0b34b255e39760371fbe8c0cc6ab446a99a6', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "tet-label"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|