@tet/tet-components 1.4.47-testing → 1.4.48-staging
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{address-656e77f6.js → address-f852270f.js} +1 -1
- package/dist/cjs/{assets-f64f0e16.js → assets-b9d36649.js} +1 -1
- package/dist/cjs/{async-request-fcf33aba.js → async-request-4517f566.js} +1 -1
- package/dist/cjs/{http-codes-40da1e61.js → http-codes-062f76cf.js} +1 -1
- package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
- package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +5 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{phone-055efd07.js → phone-d6be0dd2.js} +2 -2
- package/dist/cjs/{product-comparison-88a89820.js → product-comparison-aa80a77c.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 +8 -8
- package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
- 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.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 +1 -1
- 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 +1 -1
- 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 +64 -0
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
- 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 +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-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.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 +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 +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-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-46514846.js} +2 -2
- package/dist/cjs/{translations-03c9de64.js → translations-89a0ec3d.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.css +516 -0
- package/dist/collection/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.js +172 -0
- 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/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/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/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/components/index.js +3 -1
- package/dist/components/{p-57b986ba.js → p-02a3890f.js} +7 -7
- package/dist/components/{p-ea511c1d.js → p-0fbe24e2.js} +10 -10
- package/dist/components/{p-b9e49599.js → p-17260884.js} +2 -2
- package/dist/components/{p-9a669261.js → p-211fe695.js} +2 -2
- package/dist/components/{p-f44fc350.js → p-21f566b5.js} +3 -3
- package/dist/components/{p-155f2b7a.js → p-2536ab32.js} +3 -3
- package/dist/components/{p-ae777b5c.js → p-261a6a5f.js} +2 -2
- package/dist/components/{p-f76fad86.js → p-26ffcb52.js} +1 -1
- package/dist/components/{p-6ed7deb7.js → p-2b53b020.js} +3 -3
- package/dist/components/{p-b62256ec.js → p-2d97891c.js} +2 -2
- package/dist/components/{p-75a56bcc.js → p-33ca788d.js} +10 -10
- package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
- package/dist/components/{p-9c08a012.js → p-36415b79.js} +3 -3
- package/dist/components/{p-e69117e4.js → p-3cb65e17.js} +5 -5
- package/dist/components/{p-9b881720.js → p-4080b67f.js} +2 -2
- package/dist/components/{p-3632b58a.js → p-4628fea9.js} +6 -6
- package/dist/components/{p-3c102839.js → p-4b3861a7.js} +3 -3
- package/dist/components/{p-431026ba.js → p-55bc6fa0.js} +3 -3
- package/dist/components/{p-810de969.js → p-5683d753.js} +2 -2
- package/dist/components/{p-f6b620cf.js → p-5c47eac8.js} +4 -4
- package/dist/components/{p-73771a7d.js → p-62f4d383.js} +7 -7
- package/dist/components/{p-17885a7c.js → p-64f08c7d.js} +1 -1
- package/dist/components/{p-835ac6e6.js → p-66b26dbb.js} +10 -10
- package/dist/components/{p-71baab1d.js → p-6fb68bcd.js} +2 -2
- package/dist/components/{p-d475d2a6.js → p-70b717d0.js} +1 -1
- package/dist/components/{p-2093d82a.js → p-7239469b.js} +5 -5
- package/dist/components/{p-725d9300.js → p-73c1028f.js} +11 -11
- package/dist/components/{p-06329f36.js → p-77bfec51.js} +4 -4
- package/dist/components/{p-517c4a94.js → p-81230837.js} +1 -1
- package/dist/components/{p-c162d676.js → p-88544567.js} +3 -3
- package/dist/components/{p-229934ef.js → p-904c7f9e.js} +1 -1
- package/dist/components/{p-9b2fba6b.js → p-99f70678.js} +8 -8
- package/dist/components/{p-dd3541f5.js → p-9be1fea9.js} +3 -3
- package/dist/components/{p-c98c65c4.js → p-a5453017.js} +6 -6
- package/dist/components/{p-c8becb8a.js → p-a75775dc.js} +2 -2
- package/dist/components/{p-adb1d830.js → p-a808e607.js} +2 -2
- package/dist/components/{p-4177a58b.js → p-a8c01686.js} +6 -6
- package/dist/components/{p-d9053020.js → p-a9b14e7f.js} +2 -2
- package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
- package/dist/components/{p-17640ef4.js → p-b32b2f8c.js} +2 -2
- package/dist/components/{p-8c8b119b.js → p-b486b501.js} +2 -2
- package/dist/components/{p-ee54db57.js → p-b656e6b1.js} +1 -1
- package/dist/components/{p-44201f97.js → p-b6841a9b.js} +1 -1
- package/dist/components/{p-18119679.js → p-bae14f06.js} +2 -2
- package/dist/components/{p-8ca89afe.js → p-bbdb1bda.js} +2 -2
- package/dist/components/{p-ef2ec31f.js → p-be5c4a13.js} +10 -10
- package/dist/components/{p-5f8e9ab6.js → p-c0da6a5d.js} +2 -2
- package/dist/components/{p-e1c74b3e.js → p-c8793d83.js} +1 -1
- package/dist/components/{p-5c3ff591.js → p-c8952342.js} +1 -1
- package/dist/components/{p-d56887ae.js → p-cccc952c.js} +7 -7
- package/dist/components/{p-83a8368b.js → p-cd28d140.js} +1 -1
- package/dist/components/{p-69d10a5a.js → p-d9899045.js} +2 -2
- package/dist/components/{p-dd0c9a50.js → p-da4dca45.js} +3 -3
- package/dist/components/{p-08ccd2a5.js → p-db5bac31.js} +3 -3
- package/dist/components/{p-3748ab10.js → p-db644d5d.js} +2 -2
- package/dist/components/{p-a849dc99.js → p-e54a9851.js} +4 -4
- package/dist/components/{p-7d181132.js → p-f7dc51f7.js} +3 -3
- package/dist/components/{p-8e2186c9.js → p-f99cb5d1.js} +6 -6
- package/dist/components/{p-f80234ad.js → p-fba07984.js} +14 -14
- 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 +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-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 +3 -3
- 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.d.ts +11 -0
- package/dist/components/tet-mini-compare-card.js +97 -0
- 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 +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-badge.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +11 -11
- 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 +7 -7
- 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-text.js +7 -7
- package/dist/components/tet-textarea.js +1 -1
- 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/{address-1e0810e7.js → address-20e2d850.js} +1 -1
- package/dist/esm/{assets-e1349520.js → assets-894007df.js} +1 -1
- package/dist/esm/{async-request-4c945e13.js → async-request-ae1056de.js} +1 -1
- package/dist/esm/{http-codes-1927ea00.js → http-codes-cf0086d4.js} +1 -1
- package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
- package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +5 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{phone-1a920c5c.js → phone-62660137.js} +2 -2
- package/dist/esm/{product-comparison-dd90c721.js → product-comparison-cb8955f6.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 +8 -8
- package/dist/esm/tet-address-search.entry.js +4 -4
- 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.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 +1 -1
- 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 +1 -1
- 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 +60 -0
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- 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 +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-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.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 +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 +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-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-cf4d7d54.js} +2 -2
- package/dist/esm/{translations-4712c45f.js → translations-e60db8fd.js} +1 -1
- package/dist/tet-components/{p-56ed2fa5.entry.js → p-095c9bfd.entry.js} +1 -1
- package/dist/tet-components/{p-4002d906.entry.js → p-09dd5117.entry.js} +1 -1
- package/dist/tet-components/{p-5391d594.entry.js → p-0bf60061.entry.js} +1 -1
- package/dist/tet-components/p-0d1e2fc9.entry.js +1 -0
- package/dist/tet-components/{p-4c6a379b.entry.js → p-0dca3de0.entry.js} +1 -1
- package/dist/tet-components/{p-f16a4ea0.entry.js → p-14aa36ed.entry.js} +1 -1
- package/dist/tet-components/{p-2a43ccef.entry.js → p-14c15a69.entry.js} +1 -1
- package/dist/tet-components/p-1703ad04.entry.js +1 -0
- package/dist/tet-components/{p-73640752.entry.js → p-19b2ebb4.entry.js} +1 -1
- package/dist/tet-components/{p-903c4587.entry.js → p-1a84bfc6.entry.js} +1 -1
- package/dist/tet-components/{p-3e7e1106.entry.js → p-1c19e271.entry.js} +1 -1
- package/dist/tet-components/{p-be3a10d0.entry.js → p-24df18b9.entry.js} +1 -1
- package/dist/tet-components/{p-f6916bfc.entry.js → p-265701de.entry.js} +1 -1
- package/dist/tet-components/{p-e9883cd3.entry.js → p-2ad8cd81.entry.js} +1 -1
- package/dist/tet-components/{p-b365e697.entry.js → p-2c315c23.entry.js} +1 -1
- package/dist/tet-components/{p-ccfa9f31.entry.js → p-2c891567.entry.js} +1 -1
- package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
- package/dist/tet-components/{p-46f6a051.entry.js → p-2f25de81.entry.js} +1 -1
- package/dist/tet-components/{p-724189c2.entry.js → p-31be2161.entry.js} +1 -1
- package/dist/tet-components/{p-7056a120.entry.js → p-31d0b400.entry.js} +1 -1
- package/dist/tet-components/{p-c858f416.entry.js → p-35513cee.entry.js} +1 -1
- package/dist/tet-components/{p-b99fbdfa.entry.js → p-382a45a6.entry.js} +1 -1
- package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
- package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
- package/dist/tet-components/{p-6d57ae8d.entry.js → p-4ba89ef7.entry.js} +1 -1
- package/dist/tet-components/{p-aff47d36.entry.js → p-510806be.entry.js} +1 -1
- package/dist/tet-components/p-53af443c.entry.js +1 -0
- package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
- package/dist/tet-components/{p-8915cdcf.entry.js → p-5558eb1c.entry.js} +1 -1
- package/dist/tet-components/{p-71018cb8.entry.js → p-581b1f01.entry.js} +1 -1
- package/dist/tet-components/{p-ce850061.entry.js → p-589e8e4b.entry.js} +1 -1
- package/dist/tet-components/{p-5845a3dc.entry.js → p-59007fe7.entry.js} +1 -1
- package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
- package/dist/tet-components/{p-5e2eb1e5.entry.js → p-5b0df135.entry.js} +1 -1
- package/dist/tet-components/{p-316a6c7f.entry.js → p-5cc233e7.entry.js} +1 -1
- package/dist/tet-components/{p-3e3ecc08.entry.js → p-5d638022.entry.js} +1 -1
- package/dist/tet-components/{p-b0c62997.entry.js → p-5e8bd119.entry.js} +1 -1
- package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
- package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
- package/dist/tet-components/{p-1e67317e.entry.js → p-65d3c513.entry.js} +1 -1
- package/dist/tet-components/p-660bdc27.js +1 -0
- package/dist/tet-components/{p-99c3bea5.entry.js → p-68581067.entry.js} +1 -1
- package/dist/tet-components/{p-1dc79db3.entry.js → p-6d2fccab.entry.js} +1 -1
- package/dist/tet-components/{p-76526271.entry.js → p-6fb8c506.entry.js} +1 -1
- package/dist/tet-components/{p-32691e85.entry.js → p-71bdb301.entry.js} +1 -1
- package/dist/tet-components/{p-0ebbf5ef.js → p-726651bc.js} +1 -1
- package/dist/tet-components/{p-f3ce4422.entry.js → p-7330a0a8.entry.js} +1 -1
- package/dist/tet-components/{p-46975ec4.entry.js → p-73c190a2.entry.js} +1 -1
- package/dist/tet-components/{p-4fb9f367.entry.js → p-742b96c2.entry.js} +1 -1
- package/dist/tet-components/{p-a093603e.entry.js → p-771dd791.entry.js} +1 -1
- package/dist/tet-components/{p-8c0ac70a.entry.js → p-7a094aaa.entry.js} +1 -1
- package/dist/tet-components/{p-104a5917.entry.js → p-7d9df041.entry.js} +1 -1
- package/dist/tet-components/{p-1f33d1d9.entry.js → p-84bbd0f7.entry.js} +1 -1
- package/dist/tet-components/{p-4285287c.entry.js → p-84d4b2f0.entry.js} +1 -1
- package/dist/tet-components/{p-920c54d8.entry.js → p-863c1c55.entry.js} +1 -1
- package/dist/tet-components/{p-10e72480.entry.js → p-8b93b91f.entry.js} +1 -1
- package/dist/tet-components/{p-e0fc34c9.entry.js → p-8d399a39.entry.js} +1 -1
- package/dist/tet-components/{p-92d60107.entry.js → p-8feb28ad.entry.js} +1 -1
- package/dist/tet-components/{p-cbc98313.entry.js → p-91f99279.entry.js} +1 -1
- package/dist/tet-components/{p-cf9a7e1f.entry.js → p-9203dba5.entry.js} +1 -1
- package/dist/tet-components/{p-172e2ff7.entry.js → p-95676844.entry.js} +1 -1
- package/dist/tet-components/{p-a469caad.entry.js → p-974a6770.entry.js} +1 -1
- package/dist/tet-components/{p-8a363e18.entry.js → p-992da373.entry.js} +1 -1
- package/dist/tet-components/{p-f16514db.entry.js → p-9bd457d2.entry.js} +1 -1
- package/dist/tet-components/{p-da0fc55d.entry.js → p-9c263933.entry.js} +1 -1
- package/dist/tet-components/{p-eaaaeafe.entry.js → p-9c307fd5.entry.js} +1 -1
- package/dist/tet-components/{p-43869924.entry.js → p-9d73278f.entry.js} +1 -1
- package/dist/tet-components/{p-87221449.entry.js → p-9f921c87.entry.js} +1 -1
- package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
- package/dist/tet-components/{p-cf66f858.entry.js → p-a57ed64e.entry.js} +1 -1
- package/dist/tet-components/{p-ec630053.entry.js → p-a6084940.entry.js} +1 -1
- package/dist/tet-components/{p-09cfec89.entry.js → p-a63e291f.entry.js} +1 -1
- package/dist/tet-components/{p-7d64d525.entry.js → p-ab2b01f7.entry.js} +1 -1
- package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
- package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
- package/dist/tet-components/{p-c5ee1356.entry.js → p-b56db1bf.entry.js} +1 -1
- package/dist/tet-components/{p-ee144210.entry.js → p-b6c906e0.entry.js} +1 -1
- package/dist/tet-components/{p-d7342c6b.entry.js → p-b884530a.entry.js} +1 -1
- package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
- package/dist/tet-components/{p-b34e86ef.entry.js → p-c9583427.entry.js} +1 -1
- package/dist/tet-components/{p-496180bc.entry.js → p-c9a9c657.entry.js} +1 -1
- package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
- package/dist/tet-components/{p-99f3c763.entry.js → p-cab3e7f1.entry.js} +1 -1
- package/dist/tet-components/{p-c455736d.entry.js → p-ce1d5bd4.entry.js} +1 -1
- package/dist/tet-components/{p-7771bc1a.entry.js → p-d0218253.entry.js} +1 -1
- package/dist/tet-components/{p-615a1f0a.entry.js → p-d06598da.entry.js} +1 -1
- package/dist/tet-components/{p-3ab161b4.entry.js → p-d12eef25.entry.js} +1 -1
- package/dist/tet-components/{p-39796998.entry.js → p-d3db997e.entry.js} +1 -1
- package/dist/tet-components/{p-020ceb18.entry.js → p-d534dd79.entry.js} +1 -1
- package/dist/tet-components/{p-cea240d6.entry.js → p-d749ee2b.entry.js} +1 -1
- package/dist/tet-components/{p-9702ffe7.entry.js → p-d9a70403.entry.js} +1 -1
- package/dist/tet-components/{p-ab13d33d.entry.js → p-de713453.entry.js} +1 -1
- package/dist/tet-components/{p-eaaf3ccf.entry.js → p-df8fa399.entry.js} +1 -1
- package/dist/tet-components/{p-e95dba20.entry.js → p-dfdc6147.entry.js} +1 -1
- package/dist/tet-components/{p-a113873a.entry.js → p-e1d74c62.entry.js} +1 -1
- package/dist/tet-components/{p-a64e3e96.entry.js → p-e74416dc.entry.js} +1 -1
- package/dist/tet-components/p-e8639d99.entry.js +1 -0
- package/dist/tet-components/{p-c9f21fde.entry.js → p-ec5b1040.entry.js} +1 -1
- package/dist/tet-components/{p-cb8b3363.entry.js → p-ee3d0567.entry.js} +1 -1
- package/dist/tet-components/{p-202343e2.entry.js → p-eefbcf31.entry.js} +1 -1
- package/dist/tet-components/{p-9a1f44f5.entry.js → p-f242e081.entry.js} +1 -1
- package/dist/tet-components/{p-b87db05c.entry.js → p-fd2ebd97.entry.js} +1 -1
- package/dist/tet-components/{p-6eff3406.entry.js → p-fec0e9cf.entry.js} +1 -1
- package/dist/tet-components/{p-c4de9e32.entry.js → p-ff5b0f63.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.d.ts +51 -0
- package/dist/types/components.d.ts +63 -0
- package/package.json +1 -1
- package/dist/tet-components/p-2b10023e.entry.js +0 -1
- package/dist/tet-components/p-98412b48.entry.js +0 -1
- package/dist/tet-components/p-e035e45e.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
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export class TetMiniCompareCard {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.benefits = undefined;
|
|
5
|
+
this.products = undefined;
|
|
6
|
+
this.price = undefined;
|
|
7
|
+
this.oldPrice = undefined;
|
|
8
|
+
this.currency = undefined;
|
|
9
|
+
this.buttonLabel = undefined;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Renders benefits list of icons / images and titles.
|
|
13
|
+
*/
|
|
14
|
+
renderBenefitsList = (benefit) => {
|
|
15
|
+
const { iconName, imageSrc, title } = benefit;
|
|
16
|
+
return (h("div", { class: "card__list-item" }, !!iconName && h("tet-icon", { class: "card__list-item-icon", name: iconName }), !!imageSrc && h("img", { class: "card__list-item-image", src: imageSrc, alt: title }), h("p", { class: "card__list-item-title" }, title)));
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Function to render benefits block if benefits provided.
|
|
20
|
+
*/
|
|
21
|
+
renderBenefitsBlock = () => {
|
|
22
|
+
if (this.benefits.length === 0) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return h("div", { class: "card__list" }, this.benefits.map((benefit) => this.renderBenefitsList(benefit)));
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Render badge block content.
|
|
29
|
+
*/
|
|
30
|
+
renderBadgeContent = () => {
|
|
31
|
+
const { price, currency, oldPrice } = this;
|
|
32
|
+
if (!price) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
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))), !!oldPrice && (h("span", { class: "card__badge-content-item__footer" }, oldPrice.toFixed(2), " ", 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))));
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Render mini card.
|
|
48
|
+
*/
|
|
49
|
+
render() {
|
|
50
|
+
return (h("div", { key: '73c109b87c53bf25584c8471fc752cfaf3ae3e3e', class: "card-wrapper" }, this.renderBenefitsBlock(), this.renderBadgeBlock()));
|
|
51
|
+
}
|
|
52
|
+
static get is() { return "tet-mini-compare-card"; }
|
|
53
|
+
static get encapsulation() { return "shadow"; }
|
|
54
|
+
static get originalStyleUrls() {
|
|
55
|
+
return {
|
|
56
|
+
"$": ["tet-mini-compare-card.scss"]
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
static get styleUrls() {
|
|
60
|
+
return {
|
|
61
|
+
"$": ["tet-mini-compare-card.css"]
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
static get properties() {
|
|
65
|
+
return {
|
|
66
|
+
"benefits": {
|
|
67
|
+
"type": "unknown",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "MiniCompareCardBenefits[]",
|
|
71
|
+
"resolved": "MiniCompareCardBenefits[]",
|
|
72
|
+
"references": {
|
|
73
|
+
"MiniCompareCardBenefits": {
|
|
74
|
+
"location": "local",
|
|
75
|
+
"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",
|
|
76
|
+
"id": "src/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.tsx::MiniCompareCardBenefits"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": true,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Data for list of benefits to show in card."
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"products": {
|
|
88
|
+
"type": "unknown",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "string[]",
|
|
92
|
+
"resolved": "string[]",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": false,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": "Products titles to show in card."
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"price": {
|
|
103
|
+
"type": "number",
|
|
104
|
+
"mutable": false,
|
|
105
|
+
"complexType": {
|
|
106
|
+
"original": "number",
|
|
107
|
+
"resolved": "number",
|
|
108
|
+
"references": {}
|
|
109
|
+
},
|
|
110
|
+
"required": false,
|
|
111
|
+
"optional": true,
|
|
112
|
+
"docs": {
|
|
113
|
+
"tags": [],
|
|
114
|
+
"text": "Price of product on card."
|
|
115
|
+
},
|
|
116
|
+
"attribute": "price",
|
|
117
|
+
"reflect": false
|
|
118
|
+
},
|
|
119
|
+
"oldPrice": {
|
|
120
|
+
"type": "number",
|
|
121
|
+
"mutable": false,
|
|
122
|
+
"complexType": {
|
|
123
|
+
"original": "number",
|
|
124
|
+
"resolved": "number",
|
|
125
|
+
"references": {}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": true,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": "Old price of product to show on card."
|
|
132
|
+
},
|
|
133
|
+
"attribute": "old-price",
|
|
134
|
+
"reflect": false
|
|
135
|
+
},
|
|
136
|
+
"currency": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"mutable": false,
|
|
139
|
+
"complexType": {
|
|
140
|
+
"original": "string",
|
|
141
|
+
"resolved": "string",
|
|
142
|
+
"references": {}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": true,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": "Currency of product on card."
|
|
149
|
+
},
|
|
150
|
+
"attribute": "currency",
|
|
151
|
+
"reflect": false
|
|
152
|
+
},
|
|
153
|
+
"buttonLabel": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"mutable": false,
|
|
156
|
+
"complexType": {
|
|
157
|
+
"original": "string",
|
|
158
|
+
"resolved": "string",
|
|
159
|
+
"references": {}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": false,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "Button label to render."
|
|
166
|
+
},
|
|
167
|
+
"attribute": "button-label",
|
|
168
|
+
"reflect": false
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
}
|
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: '1d93375afc8dc4b320d539a123d5eeba2ff12930' }, h("div", { key: '97a4174912784fa62d8e256f2d0956b513fe1d28', 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: '818a9ef1703cca91f0a9a1086e0008803fc364de' }, h("div", { key: '2ab9e1c59c1cd7706d1929a7e06b16163e075bd4', class: "wrapper" }, h(ThemeWrapper, { key: '6589f6edf230d1e3eea0e36e9e8bef8ea71f5d85', theme: this.theme }, h("div", { key: '590152adfd71168cc119c4aaedebd7c51a19ac5c', class: "image-container" }, h("img", { key: '28ef193dd38c7b07a5a05f291555b3ffe8e205a5', src: t('components-referral-image-url'), alt: "" })), h("div", { key: '9cb3eddb27916b8b00b5e1f2ba36730e5cbd2ca7', class: "subtitle-container" }, t('components-referral-subtitle')), h("div", { key: '46f99b9ece9ed8091bed87df0bc631ef0a7ec8dd', class: "description-container", innerHTML: t('components-referral-description') }), h("div", { key: '8dc7f58371b056d22fb6123ecc8f3d00965daf5d', class: "referral-block" }, h("div", { key: '97d89c6c3fa4a7de0711ebb411b72ff76997c7af', class: "url-wrapper" }, h("div", { key: '04de98b8852cfe1e716152aa74786b3cb02a06e4', class: "referral-url" }, this.getReferralUrl()), h("div", { key: 'ad036347c2dab6b7880d44f7edd784853502c165' }, h("div", { key: '89788f1195853966829541940f4e7713502278fb', class: "button-wrapper" }, h("tet-tooltip", { key: '1592bbded056e833d9a4dabf68433895c2b45f6e', 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: '9290641592c6c94c115ef273674fdb97999df848', 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: '74c009bae55d08426b18c74e21f103fe9afb78d0', class: "multi-step-dialog" }, h("tet-dialog", { key: '81e708314199645db72a86e11916f52b973a5f06', 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: 'e16b2a212086cec5f111a58453601d0db12229ca', innerHTML: this.content }), this.steps.map((step, index) => (this.renderStep(step, index))), h("tet-button", { key: '36954d2def9b358caef5659841b0f4486af82a4f', 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: '76ef017d264e244f4f3808ad90193db5ed3f3a4f', 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: 'a8205702537b339c43b1bd4ab745946792fd4db6', 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: '11623a3778e60eb67b676f90a4e340eb9edbb9a8', 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: '454a43cc93cb22ea9c61e62bf2d1090763230319', class: { 'modal-form-card-content': true, [`${theme}`]: true } }, h("div", { key: '0f79d9d98024e0453f95e44d785bc17aa441ec96', class: "modal-form-card-content-header" }, h("div", { key: '61b3b3e9872bfa8a07ee77a696df5d55fa04d1ce', class: "icon-wrapper" }, h("tet-icon", { key: 'f729b6ce96b5336fbb16ce40273e2f9dc11d2c80', class: "icon", name: "tc-company-1" })), h("span", { key: '4cfe40705602507dff089f18aa44bf00459d1633', class: "modal-form-card-content-header__title" }, t('components-b2b-check-out-form-title')), h("span", { key: '7b32b6ac680593c92e10dcb21cac9fa77d976043', class: "modal-form-card-content-header__description" }, t('components-b2b-check-out-form-description'))), h("div", { key: 'ee191917bff0c32e38e7f12dbed1fe08ad19e6f4', class: "modal-form-card-content-accordion-wrapper" }, h("slot", { key: '2006d27fdff5ff5f67250bbd9985d15980dac5dc', name: "cart" })), h("form", { key: 'a150f88ccf062c0fc7378da36ae19a9ab781681c', id: "checkOutForm", class: "modal-form-card-form", ref: (ref) => (this.checkOutForm = ref) }, h("div", { key: 'e573aaf4e66aa86e0320ef0a8ad028f2913a020a', 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: 'b7ec3ceaad287ffc778035e8041eeea7bc8733b5', 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: '24e7b49bb1293b85ddcec1b40c0ff0d3a84cf25b', class: "modal-form-card-content-checkbox", label: t('components-check-out-form-privacy-policy'), theme: theme }), h("slot", { key: '517ef55d02e847cd6f39c2465204beb3b142bff8', name: "extra-fields", ref: (element) => (this.extraFieldsSlotElement = element) }))), h("div", { key: '28a7d6665688eb8c962c0682de3d7df07877463b', slot: "footer", class: "modal-form-card-footer" }, h("tet-button", { key: '5c81c96dd1fdc770161e2b6db2fae87fd9c15719', 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: 'aa1612b5e59d56c95519bcfdbc0334328141235b', 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: '8c3e33351ec884d4795ccacda764682d5744c120', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: '01c8254612c4a71685a4df1f2a81d9c1f1cc3d53', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: '4e4153d8e58ee8d365d03bb81865999d9f924ebf', class: "form-container" }, this.showTitle && h("h2", { key: 'c0413726bff33fe23bb4bda34aaaef0139576182', class: "form-title" }, t('components-contact-form-title')), h("p", { key: 'c500523e58bfbb3f4b7e6c518c5ab041bc9dc290', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: '34f7e5b773bc4afbf58210465c965cdf839c7e71', 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: 'c89070aea86a7421969a4b69ccf3ce22a596948e', 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: 'da85bd7ab8b796885407cd6e59acc6fe4eda4eff' }, h("div", { key: '0e24dfadb4e2f0fbf2548615add534dd61adc2d1', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: 'b0504fd586c36a11ea3d77996fb1b16b823fcba4', class: "tv-gift__header" }, h("slot", { key: 'f5a9c43f17b5589a04802d10458e545a5a78cb0e', name: "header" }, this.headerImageSrc && h("img", { key: '5a3321cea2e9e1fc3bc42eedd520dfce0145dd3d', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: '8c35005d36c604ebcf80be213676bbe7237f803a', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: '31293e735263adfbf0c3f5cf838d1073edfd7365', class: "tv-gift__content" }, h("slot", { key: '29590e7bb7543a1d432793858d15570419555c18' })), h("div", { key: '7294c2b404664dd49653029b71a311ebebe2db8d', class: "tv-gift__footer" }, h("slot", { key: '116a024b080812aab56286c7d265cd619f51b1aa', name: "footer" }, h("span", { key: '3642fa003f8a28a7a3de09eea57efc851effa779', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: '72006b91eafd39187bca741797ff54c9bd0b80fa', 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: 'ed3c027a443e8d457ef8d878ca0e298a7a39d81c' }, h("div", { key: '6400c120dc4e8d413bc414c6836ae44b993abce9', 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: 'bc5de4853a6b02bb0136f0f37a8fd9c1d5fa8112', class: "tv-gift-list__image__wrapper" }, h("img", { key: '5a262fc5db89447202f040858774571b90dc0b3b', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: 'aeeacb0fe1c16911674a869c54fa13daa8215e5e', class: "tv-gift-list__list__wrapper" }, h("span", { key: 'bde7c8858b0eb66091d167201dbe752bede393ff', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: '57786524f9e7b41f1554efde9e5ce5c46f732eac', 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"; }
|
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: '957e1ac5e1ce466a05969883b905b26322ab4b55' }, h("div", { key: 'be88626b4e435610e16b5e99a5329191c0a25e3e', 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: 'd0cead5dc1597c23ef9ead47d7fb3f19bab5bc38' }))));
|
|
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: '9fe9dae2271ec9e9c4c6f1169513faae3b76b58a', "data-id-suffix": this.idSuffix }, h("div", { key: 'd68c488af7f574ebacb2cbba49a7fe098411f508', 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: '62a91c406b1eec7e4fea833fba53d10d12fef700', class: "tabs-gradient tabs-gradient-left", "aria-hidden": "true" }), h("slot", { key: 'af802aebc253827c9ddebde865a246cf099b1e6a', onSlotchange: () => this.updatePositionClass(), ref: (slot) => (this.tabContainer = slot) }), shouldRenderOverflowGradients && h("div", { key: '74ac3e267e40e57b732994d1205b84594cb3bc75', class: "tabs-gradient tabs-gradient-right", "aria-hidden": "true" })), h("div", { key: 'ad2a8b4e77c1d532371baf74f7e9f12448f1e02f', 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: 'fe74cdcd4b83eaee2b546f6c47bda05bb9fadf4c' }, h("button", { key: 'ad9e37e45fe5ff09398a7bc70087dc25abf33099', 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: 'd6ea64c06cfc7a65fb4e7d321bdadc009c0b46ac', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'a5249ca44a70cd6c918e6a8574eaf1f9e7d6dcb3', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '6e24db90737c5b33c5cd6d2b6b4cd0fb4278455b', 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"; }
|
|
@@ -927,22 +927,22 @@ export class TetCarousel {
|
|
|
927
927
|
trackTransition = 'none';
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
|
-
return (h(Host, { key: '
|
|
930
|
+
return (h(Host, { key: 'cf38e235a5afbf01f6d7a39f4e8a2b5429978187' }, h("div", { key: '36e55acfea5303f28e588e803f318e56d14a3d82', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: 'a3cb94f942a8bfa36ff87404fbbc2a22488c1963', class: "tet-carousel__container" }, h("div", { key: 'da140fc326507460564cf93c9c31bab2daa71e8d', class: "tet-carousel__gradient-left", ref: (el) => {
|
|
931
931
|
this.leftGradientRef = el;
|
|
932
|
-
} }), h("div", { key: '
|
|
932
|
+
} }), h("div", { key: 'cb624143205c63dce10dcf1ca555eb57be20c42c', class: "tet-carousel__gradient-right", ref: (el) => {
|
|
933
933
|
this.rightGradientRef = el;
|
|
934
|
-
} }), h("div", { key: '
|
|
934
|
+
} }), h("div", { key: '736dd6e3d32914b88e6636a6809ecca899485fe7', class: `tet-carousel__track ${showControls ? '' : 'tet-carousel__track--center'}`, ref: (el) => (this.trackElement = el), style: {
|
|
935
935
|
transform: `translate3d(${this.dragOffset}px, 0, 0)`,
|
|
936
936
|
transition: trackTransition,
|
|
937
937
|
willChange: 'transform'
|
|
938
|
-
}, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: '
|
|
938
|
+
}, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: '0b0ce1bdc54a2d52c95990852ecdaca6d7c01df7', class: {
|
|
939
939
|
'tet-carousel__track-content': true,
|
|
940
940
|
'tet-carousel__track-content--nudge': this.isNudgeAnimating
|
|
941
941
|
}, ref: (el) => (this.trackContentElement = el), style: {
|
|
942
942
|
'--tet-carousel-nudge-distance': `${TetCarousel.NUDGE_DISTANCE_PX}px`
|
|
943
|
-
}, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: '
|
|
943
|
+
}, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: 'e5c5a8855cfd39787bffc7d6707912aa74119d3c' })))), !!this.label && h("div", { key: '921ecbd4a5c6e22f065aa3293143bb460e807117', class: "tet-carousel__label" }, this.label), showControls && (h("div", { key: '8b393bb4c325eaa82564371bc7209df2285a010f', class: "tet-carousel__controls" }, showButtons && (h("div", { key: '5081ee78a7e899b3066fd3516fce84de8c96c1fc', class: "tet-carousel__buttons tet-carousel__buttons--mobile", ref: (el) => (this.mobileBackButtonWrapper = el) }, h("tet-button", { key: '847f0765347d311df9774ecd5ab8e63a19ff5fda', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }))), showDots && (h("div", { key: '9e60673d0d07a1876b8f3eac5b6c32ac63b5c202', class: "tet-carousel__dots" }, Array.from({ length: this.dotCount }).map((_, idx) => (h("button", { type: "button", tabIndex: idx === this.activeDotIndex ? 0 : -1, class: `tet-carousel__dot${idx === this.activeDotIndex ? ' active' : ''}`, key: idx, "aria-label": `${idx === this.activeDotIndex
|
|
944
944
|
? t('components-carousel-indicator-button-active')
|
|
945
|
-
: t('components-carousel-indicator-button')} ${idx + 1}/${this.dotCount}`, "aria-current": idx === this.activeDotIndex ? 'true' : undefined, onPointerDown: (e) => e.stopPropagation(), onKeyDown: (event) => this.handleDotKeyDown(event, idx), onClick: () => this.handleDotClick(idx) }))))), showButtons && (h("div", { key: '
|
|
945
|
+
: t('components-carousel-indicator-button')} ${idx + 1}/${this.dotCount}`, "aria-current": idx === this.activeDotIndex ? 'true' : undefined, onPointerDown: (e) => e.stopPropagation(), onKeyDown: (event) => this.handleDotKeyDown(event, idx), onClick: () => this.handleDotClick(idx) }))))), showButtons && (h("div", { key: 'e12023fd4cacb60d29eb34485aaf09fd39b34074', class: "tet-carousel__buttons" }, h("tet-button", { key: '48274702797d73b8126560153bdb1216544c8a94', class: "tet-carousel__buttons--desktop", theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }), h("tet-button", { key: '80a9558cb46964597fdf5f568b7cdd988a7585f4', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconRight, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handleNext(), accessibilityLabel: t('components-carousel-next'), disabled: this.isRightNavigationDisabled() }))))))));
|
|
946
946
|
}
|
|
947
947
|
static get is() { return "tet-carousel"; }
|
|
948
948
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,7 +50,7 @@ export class TetIcon {
|
|
|
50
50
|
};
|
|
51
51
|
shouldUseDefaultColor = () => (this.useDefaultColor || defaultColorIcons.includes(this.name));
|
|
52
52
|
render() {
|
|
53
|
-
return (h("span", { key: '
|
|
53
|
+
return (h("span", { key: 'b1ca0070a7ee3bb617d6ffd7dcee70935b53d98f', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", { key: '2385e9dd50e8ee4c99e0b0878dbbeb28d9fef13f', class: {
|
|
54
54
|
'icon-container': true,
|
|
55
55
|
'default-color': this.shouldUseDefaultColor(),
|
|
56
56
|
[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: 'b651b82cfae638e67343be61934129e5c3760ec9', class: "loader" }, h("div", { key: 'ee83b13beae7797ec75501702129df680729d946', 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: '09466c27e7c3a5c465055612bf4098a4b365fd77', style: { width: this.width, height: this.height } }, h("div", { key: '550950faa4f6e32066552161e12ffe1225f1854d', class: { 'dark-theme': this.darkTheme } }, h("div", { key: 'c8527c7135f275a401285967901bca6bc1bae2f6', class: "placeholder", style: { height: this.height } }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "tet-placeholder"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,13 +48,13 @@ export class TetSpinner {
|
|
|
48
48
|
foreignObject.setAttribute('clip-path', 'url(#clip)');
|
|
49
49
|
};
|
|
50
50
|
render() {
|
|
51
|
-
return (h("div", { key: '
|
|
51
|
+
return (h("div", { key: 'b969d3c8d7a1f6c96cbce5e2e84e719e779dbb9f', ref: element => (this.spinner = element), class: {
|
|
52
52
|
spinner: true,
|
|
53
53
|
[`${this.theme}-theme`]: true,
|
|
54
54
|
[`size--${this.size}`]: true,
|
|
55
55
|
[`spinner--${this.type}`]: true,
|
|
56
|
-
} }, h("svg", { key: '
|
|
57
|
-
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: '
|
|
56
|
+
} }, h("svg", { key: 'b0e5b33be6b0e2dab87ff64abaf926604e89ebb0', viewBox: "0 0 40 40" }, h("clipPath", { key: 'ac9c236bd348b10b6abf859829c29b2b4de72288', id: "clip" }, h("path", { key: 'dd607c3b6fae5639f459e123cc1eb0937d4489b8', 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
|
|
57
|
+
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: '20b3b460740e1dd2ad1b07381ac97a7a327a7bb0' }, h("div", { key: 'ae1b8a05113ae24e79c44d94ba2f727a45386271', class: "spinner__gradient" })))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "tet-spinner"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -119,7 +119,7 @@ export class TetCountdown {
|
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
121
|
const hostClass = `static-text-color-${this.staticTextColor}`;
|
|
122
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: 'f6d1c44dd5c4e3ca09f8d26549b065da68b374b8', class: hostClass }, this.countdownTitle && (h("div", { key: '8624bef4058f57e1706ac13a6a8298da35204bd9', class: "countdown-title", part: "title", "aria-hidden": "true" }, this.countdownTitle)), h("div", { key: '2bb768a59430372ef8c9947631a9ae964d23bd31', class: "countdown", part: "countdown", "aria-hidden": "true" }, this.renderUnit(this.countdown.days, this.getUnitLabel('days', this.countdown.days), 'days'), this.renderUnit(this.countdown.hours, this.getUnitLabel('hours', this.countdown.hours), 'hours'), this.renderUnit(this.countdown.minutes, this.getUnitLabel('minutes', this.countdown.minutes), 'minutes'), this.renderUnit(this.countdown.seconds, this.getUnitLabel('seconds', this.countdown.seconds), 'seconds')), h("div", { key: '011a2b5feff0d85ccb97360b721f0fe76f2ab355', class: "sr-only" }, this.getCountdownAriaLabel())));
|
|
123
123
|
}
|
|
124
124
|
static get is() { return "tet-countdown"; }
|
|
125
125
|
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: '7afde21d27792b49ab94f34b6cbcc68431203c11' }, h("div", { key: '4459f089219e88dbf70281058d972bc363a882f0', 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: '4a0639ec32ad14221a67342c71e50720bf02fd6c', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: '2f9cf02a5255142ac6fcfd9d61f9375747a18c31', 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"; }
|
|
@@ -55,9 +55,9 @@ export class TetDatepickerHeader {
|
|
|
55
55
|
this.datepickerViewChanged.emit(view);
|
|
56
56
|
};
|
|
57
57
|
render() {
|
|
58
|
-
return (h("div", { key: '
|
|
58
|
+
return (h("div", { key: 'a52ac6cf868eb72b502b92af4907519a860d4039', class: "header" }, this.datepickerView !== 'year'
|
|
59
59
|
? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
|
|
60
|
-
: h("div", null), h("div", { key: '
|
|
60
|
+
: h("div", null), h("div", { key: 'fa422efee1d0b065aea4dd8777800cc929c0fe33', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: '0e3c9707e303dc2cb6a2c3716e7f5d9569431ec7', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
|
|
61
61
|
? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
|
|
62
62
|
: h("div", null)));
|
|
63
63
|
}
|
|
@@ -159,7 +159,7 @@ export class TetDatepickerMonthView {
|
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
render() {
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: 'e5fe4825d3bf79697faba78f5b89a30f074de344' }, h("div", { key: '4aec34905abc72b6224f9d19b546759baac757e5', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'b94133d063d9fea2a6eb6d778cb697603a22ae29', class: "month-dates" }, this.previousMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date.getDate()))), this.monthDates.map(date => h("div", { class: this.getDateContainerClasses(date), onPointerEnter: (event) => this.setInRangeHover(date, event), onPointerLeave: (event) => this.removeInRangeHover(event) }, h("div", { class: this.getDateClasses(date), onClick: () => this.handleDateSelection(date) }, date.getDate()))), this.nextMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date))))));
|
|
163
163
|
}
|
|
164
164
|
static get is() { return "tet-datepicker-month-view"; }
|
|
165
165
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class TetDatepickerMultiYearView {
|
|
|
32
32
|
return { year: true, current: year === currentYear, selected: this.isSelectedYear(year) };
|
|
33
33
|
};
|
|
34
34
|
render() {
|
|
35
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: '5888ae4618c714460fa346b812293ee5aa1a16de', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "tet-datepicker-multi-year-view"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class TetDatepickerYearView {
|
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: 'abaf34cc87ba09ad3d9924ef38e5037a4592f0b7', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "tet-datepicker-year-view"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -100,10 +100,10 @@ export class TetDatepicker {
|
|
|
100
100
|
return { overlay: true, closed: !this.isOpen, 'overlay-effect': this.overlayEffect };
|
|
101
101
|
};
|
|
102
102
|
render() {
|
|
103
|
-
return (h("div", { key: '
|
|
104
|
-
h("tet-datepicker-month-view", { key: '
|
|
105
|
-
h("tet-datepicker-multi-year-view", { key: '
|
|
106
|
-
h("tet-datepicker-year-view", { key: '
|
|
103
|
+
return (h("div", { key: '304858cb2878b20765aa07e5a4f874bfc37fdf0e', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: 'f61500674fb354d927675ce2febe9d8ea802e6ac', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '57176ad48867a898ec13d3a37a91ebcd1528dd16', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
104
|
+
h("tet-datepicker-month-view", { key: 'a37f564194a32e650d89f29f9062ff3e217a8683', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
105
|
+
h("tet-datepicker-multi-year-view", { key: '9cf2e20343643d3e04270392909a773bf6bbb392', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
106
|
+
h("tet-datepicker-year-view", { key: '051be6a41f885a121c8ff9673d67a945c513fdd5', selectedDate: this.date, internalDate: this.internalDate }))));
|
|
107
107
|
}
|
|
108
108
|
static get is() { return "tet-datepicker"; }
|
|
109
109
|
static get encapsulation() { return "shadow"; }
|