@tet/tet-components 1.3.22-testing → 1.3.23-production
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{address-41ac19c2.js → address-1674aa2d.js} +1 -1
- package/dist/cjs/{assets-0bdcfba7.js → assets-a459d319.js} +1 -1
- package/dist/cjs/{async-request-42567909.js → async-request-e8810b2c.js} +1 -1
- package/dist/cjs/{http-codes-bec9330b.js → http-codes-12b2b47b.js} +1 -1
- package/dist/cjs/{index-84ede372.js → index-457201e1.js} +1 -1
- package/dist/cjs/{index-f559cb2e.js → index-66913c99.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{old-utils-31714a40.js → old-utils-ddf2ad10.js} +1 -1
- package/dist/cjs/{phone-96a87ac9.js → phone-c79e43f4.js} +2 -2
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +9 -9
- package/dist/cjs/tet-address-search.cjs.entry.js +7 -7
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +4 -4
- package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-button.cjs.entry.js +2 -2
- package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
- package/dist/cjs/tet-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +5 -5
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-card_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-cards.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +3 -3
- 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 +4 -4
- package/dist/cjs/tet-expandable-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- 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 +2 -2
- 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.cjs.entry.js +2 -2
- package/dist/cjs/tet-loader.cjs.entry.js +2 -2
- package/dist/cjs/tet-macd-view.cjs.entry.js +26 -73
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +2 -2
- package/dist/cjs/tet-menu.cjs.entry.js +2 -2
- 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 +6 -6
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-radio.cjs.entry.js +2 -2
- package/dist/cjs/tet-range-slider_2.cjs.entry.js +9 -9
- package/dist/cjs/tet-referral.cjs.entry.js +10 -5
- package/dist/cjs/tet-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-table.cjs.entry.js +2 -2
- package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +2 -2
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +2 -2
- 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-d753e207.js +54 -0
- package/dist/cjs/{translations-9c00ed63.js → translations-51ad8d5d.js} +1 -1
- package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
- package/dist/collection/components/advanced/cards/tet-business-card/tet-business-card.css +5 -4
- package/dist/collection/components/advanced/cards/tet-business-card/tet-business-card.js +1 -1
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.css +5 -2
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-compare-card/test/tet-compare-card.spec.js +2 -2
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.js +1 -1
- package/dist/collection/components/advanced/cards/tet-compare-cards/tet-compare-cards.js +1 -1
- package/dist/collection/components/advanced/cards/tet-compare-cards-tab/tet-compare-cards-tab.js +1 -1
- package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
- package/dist/collection/components/advanced/customer/tet-referral/test/tet-referral.spec.js +43 -3
- package/dist/collection/components/advanced/customer/tet-referral/tet-referral.css +42 -4
- package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +32 -3
- 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-button/tet-button.js +1 -1
- package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.js +1 -1
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +1 -1
- package/dist/collection/components/basic/buttons/tet-switch/tet-switch.js +1 -1
- 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/container/tet-container/tet-container.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-business-round-stepper/tet-business-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-round-stepper/tet-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper/tet-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v2/tet-stepper-v2.js +1 -1
- package/dist/collection/components/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-dropdown/tet-dropdown.js +1 -1
- package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +1 -1
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.js +1 -1
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-cloud-application-form-dialog/tet-cloud-application-form-dialog.js +2 -2
- package/dist/collection/components/simple/text-blocks/tet-dialog/tet-dialog.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-inline-message/tet-inline-message.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
- package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
- package/dist/collection/components/views/tet-contact-info/tet-contact-info.js +1 -1
- package/dist/collection/components/views/tet-macd-view/tet-macd-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view/tet-thank-you-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v2/tet-thank-you-view-v2.js +1 -1
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +3 -3
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-8efcb0c3.js → p-1311592b.js} +1 -1
- package/dist/components/{p-e815ce6d.js → p-2740b690.js} +2 -2
- package/dist/components/{p-321255db.js → p-29c19b91.js} +2 -2
- package/dist/components/{p-15533684.js → p-2b82aa91.js} +2 -2
- package/dist/components/{p-a6b31256.js → p-2e153b06.js} +2 -2
- package/dist/components/{p-e410d547.js → p-37881c1f.js} +3 -3
- package/dist/components/{p-1203f088.js → p-38409860.js} +3 -3
- package/dist/components/{p-42d65fe3.js → p-3a606e4a.js} +4 -4
- package/dist/components/{p-a0d406ca.js → p-4d00761a.js} +1 -1
- package/dist/components/{p-ceb195b0.js → p-514f36fb.js} +11 -11
- package/dist/components/{p-16eadc6a.js → p-5296e0ca.js} +2 -2
- package/dist/components/{p-470276e6.js → p-52a4005a.js} +1 -1
- package/dist/components/{p-39e60f54.js → p-52e27ed1.js} +2 -2
- package/dist/components/{p-b2147cf4.js → p-53a1ed0a.js} +2 -2
- package/dist/components/{p-37ed3ebb.js → p-599035b8.js} +1 -1
- package/dist/components/{p-39380108.js → p-65d484bf.js} +8 -8
- package/dist/components/{p-51bd91f3.js → p-6955d080.js} +3 -3
- package/dist/components/{p-a63d3582.js → p-6cc02895.js} +2 -2
- package/dist/components/{p-8606e8c6.js → p-7506bfaf.js} +2 -2
- package/dist/components/{p-68e74ae1.js → p-7ea93a2c.js} +2 -2
- package/dist/components/{p-3c659813.js → p-80a70727.js} +3 -3
- package/dist/components/{p-240aff0b.js → p-80cef1c9.js} +2 -2
- package/dist/components/{p-cb22d3d2.js → p-82cd1907.js} +3 -3
- package/dist/components/{p-72905fb7.js → p-8922db15.js} +3 -3
- package/dist/components/{p-8ef66b49.js → p-8d234419.js} +5 -5
- package/dist/components/{p-b552ee35.js → p-8e539954.js} +4 -4
- package/dist/components/{p-74ff4f72.js → p-92365b7e.js} +1 -1
- package/dist/components/{p-475e0a22.js → p-92a1a46e.js} +3 -3
- package/dist/components/{p-3d125506.js → p-93b0dbfc.js} +3 -3
- package/dist/components/{p-66ff4648.js → p-94964a07.js} +4 -4
- package/dist/components/{p-8c37c237.js → p-9bc13031.js} +1 -1
- package/dist/components/{p-05d81fbb.js → p-9c67d965.js} +5 -5
- package/dist/components/{p-8b7e5ccc.js → p-a5560987.js} +3 -3
- package/dist/components/{p-6f3cbbaa.js → p-a8a85574.js} +7 -7
- package/dist/components/{p-72b8586b.js → p-ad2c1218.js} +1 -1
- package/dist/components/{p-ae1f41ee.js → p-bdb032c1.js} +1 -1
- package/dist/components/{p-fea41e0d.js → p-c631d6f1.js} +12 -12
- package/dist/components/{p-995d7780.js → p-c753ab82.js} +2 -2
- package/dist/components/{p-47f12038.js → p-cf57db29.js} +10 -10
- package/dist/components/{p-3c4a2e5d.js → p-cf9ab59f.js} +8 -8
- package/dist/components/p-d448a3d9.js +52 -0
- package/dist/components/{p-61750a4f.js → p-db43baa8.js} +5 -5
- package/dist/components/{p-ada7a4e0.js → p-dc489196.js} +5 -5
- package/dist/components/{p-c32ac663.js → p-de85b961.js} +11 -11
- package/dist/components/{p-5936af9d.js → p-df7cb6e1.js} +3 -3
- package/dist/components/{p-7666d9d7.js → p-dfd0eaa8.js} +4 -4
- package/dist/components/{p-f2d9a87f.js → p-e2670da4.js} +3 -3
- package/dist/components/{p-969e046a.js → p-e5ee066d.js} +7 -7
- package/dist/components/tet-accordion.js +8 -8
- 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 +12 -12
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +6 -6
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-service-calculator.js +9 -9
- 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 +3 -3
- package/dist/components/tet-business-compare-card.js +6 -6
- package/dist/components/tet-business-lines.js +6 -6
- package/dist/components/tet-business-round-stepper.js +3 -3
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +10 -10
- package/dist/components/tet-cloud-configurator.js +11 -11
- package/dist/components/tet-colors.js +4 -4
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +11 -11
- 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 +2 -2
- 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-expandable-input.js +5 -5
- package/dist/components/tet-expansion-panel.js +2 -2
- 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 +3 -3
- 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 +19 -66
- package/dist/components/tet-menu-mobile.js +3 -3
- package/dist/components/tet-menu.js +3 -3
- 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-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +13 -8
- package/dist/components/tet-round-stepper.js +3 -3
- 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.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 +4 -4
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-textarea.js +2 -2
- package/dist/components/tet-thank-you-view-v2.js +6 -6
- package/dist/components/tet-thank-you-view.js +5 -5
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +2 -2
- package/dist/components/tet-tv-gift-list.js +4 -4
- package/dist/esm/{address-9dfd3c9e.js → address-18c4b9dc.js} +1 -1
- package/dist/esm/{assets-c074d2b9.js → assets-b258bac4.js} +1 -1
- package/dist/esm/{async-request-754d6810.js → async-request-f3a79721.js} +1 -1
- package/dist/esm/{http-codes-42779195.js → http-codes-3253f363.js} +1 -1
- package/dist/esm/{index-7f1e2a22.js → index-ce62f11b.js} +1 -1
- package/dist/esm/{index-1bf36cb9.js → index-d502e34e.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{old-utils-7140ef76.js → old-utils-4acec2e9.js} +1 -1
- package/dist/esm/{phone-66ff151d.js → phone-56c1d5c3.js} +2 -2
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_4.entry.js +9 -9
- package/dist/esm/tet-address-search.entry.js +7 -7
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
- package/dist/esm/tet-autocomplete_2.entry.js +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +3 -3
- package/dist/esm/tet-business-compare-card.entry.js +4 -4
- package/dist/esm/tet-business-lines.entry.js +5 -5
- package/dist/esm/tet-business-round-stepper.entry.js +2 -2
- package/dist/esm/tet-button.entry.js +2 -2
- package/dist/esm/tet-card-list.entry.js +5 -5
- package/dist/esm/tet-checkbox.entry.js +2 -2
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +5 -5
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +4 -4
- package/dist/esm/tet-compare-card_4.entry.js +7 -7
- package/dist/esm/tet-compare-cards-tab.entry.js +4 -4
- package/dist/esm/tet-compare-cards.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/tet-container_2.entry.js +3 -3
- 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 +4 -4
- package/dist/esm/tet-expandable-input.entry.js +3 -3
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- 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 +2 -2
- 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.entry.js +2 -2
- package/dist/esm/tet-loader.entry.js +2 -2
- package/dist/esm/tet-macd-view.entry.js +7 -54
- package/dist/esm/tet-menu-mobile.entry.js +2 -2
- package/dist/esm/tet-menu.entry.js +2 -2
- 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 +6 -6
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-radio.entry.js +2 -2
- package/dist/esm/tet-range-slider_2.entry.js +9 -9
- package/dist/esm/tet-referral.entry.js +10 -5
- package/dist/esm/tet-round-stepper.entry.js +2 -2
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-stepper-v2.entry.js +2 -2
- package/dist/esm/tet-stepper.entry.js +2 -2
- package/dist/esm/tet-table.entry.js +2 -2
- package/dist/esm/tet-tag_2.entry.js +5 -5
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +2 -2
- package/dist/esm/tet-thank-you-view-v2.entry.js +4 -4
- package/dist/esm/tet-thank-you-view.entry.js +2 -2
- 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-bf063190.js +52 -0
- package/dist/esm/{translations-5c723a5f.js → translations-9e12c95e.js} +1 -1
- package/dist/tet-components/{p-030a3de8.entry.js → p-0155c657.entry.js} +1 -1
- package/dist/tet-components/{p-5e6a2157.entry.js → p-04da9b5b.entry.js} +1 -1
- package/dist/tet-components/p-0d4bafff.entry.js +1 -0
- package/dist/tet-components/{p-a1d165fb.entry.js → p-11d5a35c.entry.js} +1 -1
- package/dist/tet-components/p-1d14c865.js +2 -0
- package/dist/tet-components/p-249bf5c8.entry.js +1 -0
- package/dist/tet-components/{p-87c2c315.entry.js → p-28acb3fc.entry.js} +1 -1
- package/dist/tet-components/{p-14446f4f.entry.js → p-2c5f342f.entry.js} +1 -1
- package/dist/tet-components/{p-25505094.entry.js → p-2f689369.entry.js} +1 -1
- package/dist/tet-components/{p-166963c5.entry.js → p-30c078c5.entry.js} +1 -1
- package/dist/tet-components/{p-37cb354d.entry.js → p-33c67974.entry.js} +1 -1
- package/dist/tet-components/{p-f3488858.entry.js → p-37f0418a.entry.js} +1 -1
- package/dist/tet-components/{p-7a39630d.entry.js → p-3819d28c.entry.js} +1 -1
- package/dist/tet-components/{p-b1d202b2.entry.js → p-3c8ae099.entry.js} +1 -1
- package/dist/tet-components/{p-0fb07f0b.entry.js → p-419ba4e5.entry.js} +1 -1
- package/dist/tet-components/{p-c7d28253.entry.js → p-45aa4b50.entry.js} +1 -1
- package/dist/tet-components/{p-02649751.entry.js → p-4681fe83.entry.js} +1 -1
- package/dist/tet-components/{p-af7dc158.entry.js → p-499304cd.entry.js} +1 -1
- package/dist/tet-components/{p-1c5af148.entry.js → p-4d27565e.entry.js} +1 -1
- package/dist/tet-components/{p-ca6856a3.js → p-50f3eebf.js} +1 -1
- package/dist/tet-components/{p-9cee3786.entry.js → p-53a2bbf4.entry.js} +1 -1
- package/dist/tet-components/{p-26a2f1d6.entry.js → p-54750791.entry.js} +1 -1
- package/dist/tet-components/{p-7a099256.entry.js → p-5478765f.entry.js} +1 -1
- package/dist/tet-components/{p-11196487.entry.js → p-5fe1ef15.entry.js} +1 -1
- package/dist/tet-components/{p-010608e8.js → p-676cb76a.js} +1 -1
- package/dist/tet-components/{p-734cfdc6.entry.js → p-69554e11.entry.js} +1 -1
- package/dist/tet-components/{p-c53a9bc3.entry.js → p-6a8ebb69.entry.js} +1 -1
- package/dist/tet-components/{p-1239f636.entry.js → p-6af74fe9.entry.js} +1 -1
- package/dist/tet-components/{p-07081ea1.entry.js → p-6e008132.entry.js} +1 -1
- package/dist/tet-components/{p-ce65121f.entry.js → p-75996f0d.entry.js} +1 -1
- package/dist/tet-components/p-77f1d719.entry.js +1 -0
- package/dist/tet-components/p-78a26c3f.entry.js +1 -0
- package/dist/tet-components/{p-a522cdf2.entry.js → p-7926c510.entry.js} +1 -1
- package/dist/tet-components/{p-7123c8cb.js → p-7c3a56ca.js} +1 -1
- package/dist/tet-components/{p-d74634d2.entry.js → p-7d2dc52d.entry.js} +1 -1
- package/dist/tet-components/{p-5078b3cd.entry.js → p-8086d11f.entry.js} +1 -1
- package/dist/tet-components/{p-074de91e.entry.js → p-8451363e.entry.js} +1 -1
- package/dist/tet-components/{p-2551a6c6.entry.js → p-8ab890d6.entry.js} +1 -1
- package/dist/tet-components/{p-aaf1b036.entry.js → p-8ada92e9.entry.js} +1 -1
- package/dist/tet-components/p-8b9f2ed6.js +1 -0
- package/dist/tet-components/{p-dd6cae79.entry.js → p-8d043fed.entry.js} +1 -1
- package/dist/tet-components/{p-056bd456.entry.js → p-93be320a.entry.js} +1 -1
- package/dist/tet-components/{p-20b1d127.entry.js → p-9acd1962.entry.js} +1 -1
- package/dist/tet-components/{p-b0f3e676.entry.js → p-9c6ee0d1.entry.js} +1 -1
- package/dist/tet-components/{p-3b889e3b.entry.js → p-9e65a3b4.entry.js} +1 -1
- package/dist/tet-components/{p-4592cbaf.entry.js → p-a02fd184.entry.js} +1 -1
- package/dist/tet-components/{p-4b9d2f1e.js → p-a15f30a7.js} +1 -1
- package/dist/tet-components/{p-36c39e15.entry.js → p-a1aeb828.entry.js} +1 -1
- package/dist/tet-components/{p-b05aff62.entry.js → p-a5546585.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-aba811f3.js} +1 -1
- package/dist/tet-components/{p-72db5f00.entry.js → p-ae9bcf20.entry.js} +1 -1
- package/dist/tet-components/{p-128cd0c3.entry.js → p-b3b69db8.entry.js} +1 -1
- package/dist/tet-components/{p-37c47dae.entry.js → p-b4ae1fcb.entry.js} +1 -1
- package/dist/tet-components/{p-0b5e6eb8.entry.js → p-b6eed73d.entry.js} +1 -1
- package/dist/tet-components/{p-a136e67d.entry.js → p-baee218c.entry.js} +1 -1
- package/dist/tet-components/p-bb1367bc.entry.js +1 -0
- package/dist/tet-components/{p-40a986ae.entry.js → p-bb1e7458.entry.js} +1 -1
- package/dist/tet-components/{p-2eb5fc41.entry.js → p-bcd2d200.entry.js} +1 -1
- package/dist/tet-components/{p-8fe1bb83.entry.js → p-c2cfef93.entry.js} +1 -1
- package/dist/tet-components/{p-1e0a8fe9.entry.js → p-c3411124.entry.js} +1 -1
- package/dist/tet-components/{p-ca2ebd54.entry.js → p-c73786d9.entry.js} +1 -1
- package/dist/tet-components/{p-2ddeb07f.entry.js → p-c86b2e42.entry.js} +1 -1
- package/dist/tet-components/{p-d88934af.entry.js → p-d1f38bfd.entry.js} +1 -1
- package/dist/tet-components/p-dace6aeb.js +1 -0
- package/dist/tet-components/p-decb5ec7.entry.js +1 -0
- package/dist/tet-components/{p-6ff965c8.entry.js → p-deec2dd4.entry.js} +1 -1
- package/dist/tet-components/{p-17219f8f.js → p-e06817f1.js} +1 -1
- package/dist/tet-components/{p-a8ea7746.entry.js → p-e13b8ae3.entry.js} +1 -1
- package/dist/tet-components/{p-90cba676.entry.js → p-e2b270d3.entry.js} +1 -1
- package/dist/tet-components/{p-39de75af.js → p-e340aec2.js} +1 -1
- package/dist/tet-components/{p-2f213459.entry.js → p-e469768e.entry.js} +1 -1
- package/dist/tet-components/{p-024bc777.entry.js → p-eab907b1.entry.js} +1 -1
- package/dist/tet-components/{p-071b1b4d.entry.js → p-f40db990.entry.js} +1 -1
- package/dist/tet-components/{p-433fa62c.entry.js → p-f53247e0.entry.js} +1 -1
- package/dist/tet-components/{p-c8978aad.entry.js → p-f6eb975f.entry.js} +1 -1
- package/dist/tet-components/{p-1eacd629.entry.js → p-f9123a1e.entry.js} +1 -1
- package/dist/tet-components/{p-6c0d4c09.entry.js → p-ff3e2982.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/customer/tet-referral/tet-referral.d.ts +5 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/tet-components/p-1ae8df7d.js +0 -1
- package/dist/tet-components/p-1ec7f341.js +0 -2
- package/dist/tet-components/p-37022e13.entry.js +0 -1
- package/dist/tet-components/p-81a999eb.entry.js +0 -1
- package/dist/tet-components/p-855f9589.entry.js +0 -1
- package/dist/tet-components/p-abd47fde.entry.js +0 -1
- package/dist/tet-components/p-be981a51.entry.js +0 -1
- package/dist/tet-components/p-e561bf0d.entry.js +0 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { processTranslations, t } from "../../../../services/translations/index";
|
|
1
|
+
import { ThemeWrapper } from "../../../theme/functional/theme-wrapper";
|
|
3
2
|
import { landingPages } from "../../../../config/landing-pages";
|
|
3
|
+
import { Theme } from "../../../../services/theme/index";
|
|
4
|
+
import { processTranslations, t } from "../../../../services/translations/index";
|
|
5
|
+
import { forceUpdate, h, Host } from "@stencil/core";
|
|
4
6
|
/**
|
|
5
7
|
* The referral Web Component can be used to advertise a referral program and prompt an existing
|
|
6
8
|
* customer to share a dedicated link with other people.
|
|
@@ -26,6 +28,7 @@ export class TetReferral {
|
|
|
26
28
|
});
|
|
27
29
|
});
|
|
28
30
|
};
|
|
31
|
+
this.theme = Theme.LIGHT;
|
|
29
32
|
this.language = 'lv';
|
|
30
33
|
this.data = undefined;
|
|
31
34
|
}
|
|
@@ -39,7 +42,9 @@ export class TetReferral {
|
|
|
39
42
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
40
43
|
}
|
|
41
44
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'c98cad8db5dbffed7d94d3f4b20c86f76dc6c133' }, h("div", { key: '91b2e3a6199e93f8ad2a137eecbdb850e8269f72', class: "wrapper" }, h(ThemeWrapper, { key: '126407b7ef5b3f253ec90ede0d17648a3aee9dd6', theme: this.theme }, h("div", { key: '7632e7be11bf4032058482fd78b324d3ed05fb15', class: "image-container" }, h("img", { key: '71b7e6bac26a0cfef9697ddfb75347048545dbf7', src: t('components-referral-image-url'), alt: "" })), h("div", { key: 'acfb45a8d4a7ecd8e7f58a9ba02dfe029d4e9368', class: "subtitle-container" }, t('components-referral-subtitle')), h("div", { key: 'e2c1b3feceee5daf022229c9ebbeda2c697893b3', class: "description-container", innerHTML: t('components-referral-description') }), h("div", { key: 'b4602c905ca9528d0f50717d5919b4580df3e782', class: "referral-block" }, h("div", { key: 'dabddc6d65722dc1b6a6777a0ab0cb5b5594b614', class: "url-wrapper" }, h("div", { key: '17487ebf3ed63bd11416cc0484a6b5e64b0e5f60', class: "referral-url" }, this.getReferralUrl()), h("div", { key: 'ef44a01cbabf9da81223dc76e04427196b30d6a6' }, h("div", { key: 'fc7068202b757ed2dbb2ab9691bdb63ffa8cfd0e', class: "button-wrapper" }, h("tet-tooltip", { key: 'f3b0f1a0d09b72c3acc9f04ce6c150abe4c789c0', theme: this.theme, class: "tooltip", doNotShowOnHover: true, ref: (el) => {
|
|
46
|
+
this.tooltip = el;
|
|
47
|
+
} }, t('components-referral-tooltip')), h("tet-button", { key: '7155d7919c8525d832611d967b8b01eb99b281a3', clickCallback: this.copyToClipBoard, type: "primary", theme: this.theme }, t('components-referral-copy-button-label'))))))))));
|
|
43
48
|
}
|
|
44
49
|
static get is() { return "tet-referral"; }
|
|
45
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,6 +61,30 @@ export class TetReferral {
|
|
|
56
61
|
static get assetsDirs() { return ["assets.component"]; }
|
|
57
62
|
static get properties() {
|
|
58
63
|
return {
|
|
64
|
+
"theme": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"mutable": false,
|
|
67
|
+
"complexType": {
|
|
68
|
+
"original": "Theme",
|
|
69
|
+
"resolved": "Theme.DARK | Theme.LIGHT",
|
|
70
|
+
"references": {
|
|
71
|
+
"Theme": {
|
|
72
|
+
"location": "import",
|
|
73
|
+
"path": "@services/theme",
|
|
74
|
+
"id": "src/services/theme/index.ts::Theme"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"required": false,
|
|
79
|
+
"optional": false,
|
|
80
|
+
"docs": {
|
|
81
|
+
"tags": [],
|
|
82
|
+
"text": "The property to determine the theme of the component."
|
|
83
|
+
},
|
|
84
|
+
"attribute": "theme",
|
|
85
|
+
"reflect": false,
|
|
86
|
+
"defaultValue": "Theme.LIGHT"
|
|
87
|
+
},
|
|
59
88
|
"language": {
|
|
60
89
|
"type": "string",
|
|
61
90
|
"mutable": false,
|
package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js
CHANGED
|
@@ -90,7 +90,7 @@ export class TetMultiStepDialog {
|
|
|
90
90
|
return (h("div", { innerHTML: step, "data-step": Number(index) + 1, class: "multi-step-dialog__step", ref: this.setStepBlocks }));
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: '883b306209d9f8a82d2ce23a51285cb241aa824b', class: "multi-step-dialog" }, h("tet-dialog", { key: 'a97de5824348ff149ac9db2ad436fddd39ea28e0', class: this.tetDialogClass, "is-open": this.isOpen, "data-screen-key": this.dialogDataScreenKey, "footer-display": "right", ref: el => this.tetDialog = el }, h("div", { key: '3813fcac4aa952b12884151dd7acf5eeb10cfdf7', innerHTML: this.content }), this.steps.map((step, index) => (this.renderStep(step, index))), h("tet-button", { key: 'a192e68cd76da9e9bcad4c42828f23f78a7b1c66', class: "footer-button", slot: "footer", size: "medium", theme: "light", type: "secondary", ref: el => this.prevButton = el }, t('components-go-back')), h("tet-button", { key: 'da34881e842d87aac6d656e97b86d7533ebf9be9', class: "footer-button", slot: "footer", size: "medium", theme: "light", ref: el => this.nextButton = el }, t('components-next-step')))));
|
|
94
94
|
}
|
|
95
95
|
static get is() { return "tet-multi-step-dialog"; }
|
|
96
96
|
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: '3c2c8a5a2c96852faec1443b9d392aa8c77742f0', 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: '42605e97778dd48bce6a8247d4ef569c603fbe5e', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: '34357707e1e2061047f459d82e1cd57ace297e54', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: 'bd1c3f044fbefa0bfc11f9848317a7ea0055d5ea', class: "form-container" }, this.showTitle && h("h2", { key: '31270fb76a7d8a61d5129df7ba10a15c6482f1f3', class: "form-title" }, t('components-contact-form-title')), h("p", { key: '0a9c4900224c2e09cfc281ccaea331092e12f1fe', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: '7f76f3bc0778e2a1ebaa6b587ec79ac2c2b415b2', 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: 'b39cc8ea681851fbceab6de6a47615720150013d', 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: '2e72249d13c9b2a04fe92ef4344e26ec59710e05' }, h("div", { key: 'c9ec574f0e1f140c353100399e25f8c2f2a57939', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: '6f52b2408fd48500affbf5d0f2c111cf33f2168b', class: "tv-gift__header" }, h("slot", { key: 'b390054f876ab278f6fa8b308d1e11dfc14efbe0', name: "header" }, this.headerImageSrc && h("img", { key: '7c9728bf77fd717c75fc09d576871576ab4c6826', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: '7939336e74c56ce21a2ded019e33f531a8d787fa', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: '2c501b50b2b79f0310558df488831ebf18317d15', class: "tv-gift__content" }, h("slot", { key: '7be94725a7d884a4dbf241542d9d2d304abd86f5' })), h("div", { key: 'ba22228277be617dd32e227a4d902722686c21a7', class: "tv-gift__footer" }, h("slot", { key: 'c4fb5d3b40694840a08ca7394ba301a7f1fb5b20', name: "footer" }, h("span", { key: 'd248d4e4080b8e8962307f5b0e477f1f61830749', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: 'dae6a5665b9dc34696337ec447f16e38d15f8ab8', 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: '270bcbabbb7180756d8b25e85a2f1aee57fb341a' }, h("div", { key: 'ffcb75681fc4b2e7c7857d52e71e537cd7559bb9', 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: '4e89a9af1c6c56250a8767c7d2595e6eed8c08c3', class: "tv-gift-list__image__wrapper" }, h("img", { key: 'd8431708ea52c261a0be0c5385114461dfdfd9de', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: '339e53d2985951176847c8acb4e866a4b359b842', class: "tv-gift-list__list__wrapper" }, h("span", { key: 'fa680171e07654d476b3924c5c02a6185d307bc2', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: 'ec9b710b5781bb0ff6067d3bb39b59558623c97f', 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"; }
|
|
@@ -27,7 +27,7 @@ export class TetButton {
|
|
|
27
27
|
return (h("div", { class: "button__content" }, h("slot", null), h("tet-icon", { name: this.iconName })));
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '57f85898ea9406150ff5d6ebe74207ce9db2f468' }, h("button", Object.assign({ key: 'd8ab0fc232a28724d24bb09502033204d2e1016c', part: "button", onClick: this.clickCallback, id: this.elementId, class: {
|
|
31
31
|
button: true,
|
|
32
32
|
[`button-${this.size}`]: true,
|
|
33
33
|
[`button--type-${this.type}`]: true,
|
|
@@ -57,7 +57,7 @@ export class TetCheckbox {
|
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
59
|
const { label, name, checked, value, disabled, error } = this;
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: 'a1b82f46971bb28bad2d2dd2e6710b74493062bf' }, h("div", { key: 'f940718cd92c51c2539a4bda4e6045cae52bcc4a', class: { checkbox: true, [`${this.theme}`]: true } }, h("label", { key: 'd9605cc70023629d9e310f89e9d9c0930c5e0e86', class: "checkbox__container", part: "checkbox-container", htmlFor: "tet-checkbox" }, h("input", { key: '4b027f65600277d5503fba7f1b9d43587711f532', ref: (el) => (this.inputEl = el), class: "checkbox__html-input", id: "tet-checkbox", type: "checkbox", name: name, value: value, disabled: disabled, checked: checked, onChange: this.handleChange }), h("span", { key: '328bd69893030a78b22b919647a7979fc5986e41', class: { 'checkbox__input': true, 'checkbox__input--error': error } }, h("tet-icon", { key: '5a49a6a251cc21a572f558116e91c5ffd3673d87', name: "remove", class: "checkbox__icon checkbox__icon--indeterminate indicator" }), h("tet-icon", { key: '6447610f05dc85b21cf4689a6bd586f570cfd471', name: "check", class: "checkbox__icon" })), label ? (h("span", { class: "checkbox__label", innerHTML: label })) : (h("span", { class: "checkbox__label" }, h("slot", null)))))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "tet-checkbox"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class TetRadio {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
const { id, disabled, value, checked, name, label, handleInputChange, accessibilityLabel, inputAutofocus } = this;
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'f390c9749d5b2ea79058da7169a69154533ebe28' }, h("div", { key: '6ef9ab27b3eda1559412a9f8043cffebdf5f4529', class: { radio: true, [`radio-${this.theme}-theme`]: true } }, h("label", { key: '9a4058656b39b10483a977d7105ce8d2820e1b3c', class: "radio__container", htmlFor: id }, h("input", Object.assign({ key: '6d801c90500e2724fc1dd03de75cf2e3d2d30539', class: "radio__html-input", id: id, name: name, type: "radio", value: value, disabled: disabled, checked: checked, onChange: handleInputChange, autofocus: inputAutofocus }, (accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}), { tabindex: this.checked ? '0' : '-1', role: "radio", "aria-checked": this.checked ? 'true' : 'false' })), h("span", { key: '227f509a4eff043ce71a177a2733b04a23dacf82', class: "radio__input" }), label ? (h("span", { class: "radio__label", innerHTML: label })) : (h("span", { class: "radio__label" }, h("slot", null)))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "tet-radio"; }
|
|
51
51
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,7 +35,7 @@ export class TetSwitch {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const { label, name, theme, disabled, checked, accessibilityLabel } = this;
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '54f2e341920d6bcd99533b723eee03a6f35927e5' }, h("div", { key: '3dc73c69e65bbef9c57406933933e5b377d16fa7', class: { 'switch': true, [`${theme}`]: true } }, h("label", { key: '449c3812e489af508a057966eef8ceab18233089', class: "switch__container", part: "switch-container", htmlFor: "tet-switch" }, h("input", Object.assign({ key: 'a526a2071de462760e14b0399fed18e5137cfea9', class: "switch__html-input", name: name, id: "tet-switch", type: "checkbox", disabled: disabled, checked: checked, onChange: this.handleChange() }, (accessibilityLabel ? { "aria-label": accessibilityLabel } : {}))), h("span", { key: '3ed6173e93a1a823103379115d7bcf04235ce141', class: { "switch__input": true, [this.theme]: true } }, h("span", { key: 'f715fb0a5bd2dcfac29be4799a843d2ae0cdbda9', class: "switch__state" })), label
|
|
39
39
|
? h("span", { class: "switch__label", innerHTML: label })
|
|
40
40
|
: h("span", { class: "switch__label" }, h("slot", null))))));
|
|
41
41
|
}
|
package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js
CHANGED
|
@@ -113,10 +113,10 @@ export class TetTabContent {
|
|
|
113
113
|
this.selectedId = id;
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '192fc02028e1f5a90d0c63f5c3c6f879d3aac7e3' }, h("div", { key: 'dd44ab40f8615ef72fa03fe9e865851b540cc8bb', class: {
|
|
117
117
|
'tet-tab-content': true,
|
|
118
118
|
'use-visibility': this.useVisibility
|
|
119
|
-
} }, h("slot", { key: '
|
|
119
|
+
} }, h("slot", { key: '790ecd2a8ef21b5a8bf05b90770c3c017e5d57e5' }))));
|
|
120
120
|
}
|
|
121
121
|
static get is() { return "tet-tab-content"; }
|
|
122
122
|
static get encapsulation() { return "shadow"; }
|
|
@@ -399,7 +399,7 @@ export class TetTabHeader {
|
|
|
399
399
|
return {};
|
|
400
400
|
}
|
|
401
401
|
render() {
|
|
402
|
-
return (h(Host, { key: '
|
|
402
|
+
return (h(Host, { key: 'e52f129c090c3d6a2c09d45d9b9fcad1bbd1e9ad' }, h("div", { key: '98e09e86a9d0f1202a98e826b2362b95d88547ac', class: {
|
|
403
403
|
'tabs': true,
|
|
404
404
|
'tabs--segmented': this.segmented,
|
|
405
405
|
[this.position]: true,
|
|
@@ -407,7 +407,7 @@ export class TetTabHeader {
|
|
|
407
407
|
[this.sizing]: true,
|
|
408
408
|
'no-underline': this.hideHeaderUnderline,
|
|
409
409
|
[this.type]: !!this.type
|
|
410
|
-
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref) }, h("slot", { key: '
|
|
410
|
+
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref) }, h("slot", { key: '26b7c15d820aa76edeed064264ac801c2b089080', ref: (slot) => (this.tabContainer = slot) }))));
|
|
411
411
|
}
|
|
412
412
|
static get is() { return "tet-tab-header"; }
|
|
413
413
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,12 +19,12 @@ export class TetTag {
|
|
|
19
19
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: 'e4b668968daf57d36ddea1790453092a0c59278f' }, h("button", { key: '13648dc924f1f970a2a88cb1a5ab84d42f2926ca', class: {
|
|
23
23
|
tag: true,
|
|
24
24
|
'tag-active': this.active,
|
|
25
25
|
'tag--icon': this.showIcon,
|
|
26
26
|
[`theme-${this.theme}`]: true,
|
|
27
|
-
}, "aria-pressed": this.active.toString() }, this.tagTitle && h("p", { key: '
|
|
27
|
+
}, "aria-pressed": this.active.toString() }, this.tagTitle && h("p", { key: '7a4922d106fd52c4a502527b9ecb63aa3148b8c4', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: '4ac29841e9ec6f3f4de40c061f2baeb0c49efcef', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '4a1109eb4767741c469c8073e471555dc15ee33e', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "tet-tag"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,12 +11,12 @@ export class TetContainer {
|
|
|
11
11
|
this.theme = 'classic';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: '5ac5ea13f4ab8a1e421f9db6b7c6d0ee6076ccf3', class: {
|
|
15
15
|
'container': true,
|
|
16
16
|
'container--highlightable': this.highlightable,
|
|
17
17
|
'container--selected': this.selected,
|
|
18
18
|
[`container--${this.theme}`]: this.theme !== 'classic',
|
|
19
|
-
}, part: "container" }, h("slot", { key: '
|
|
19
|
+
}, part: "container" }, h("slot", { key: '08405376f22817c242f62d60e04b037512fe4d3d' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "tet-container"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class TetIcon {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("span", { key: '
|
|
48
|
+
return (h("span", { key: '3749c414a38d699b7688db6af43b365ebf56f536', class: "icon-wrapper" }, h("span", Object.assign({ key: 'c3a443ffabc1529f929b0954b88e813d5fd29aa3', class: { 'icon-container': true, 'default-color': this.useDefaultColor, [this.theme]: true }, ref: (element) => (this.iconContainer = element) }, (this.accessibilityLabel
|
|
49
49
|
? { "aria-label": this.accessibilityLabel, "role": "img" }
|
|
50
50
|
: { "role": "presentation" })))));
|
|
51
51
|
}
|
|
@@ -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: 'fb07b6b91f86cb2a73963747120907c039972b10', class: "loader" }, h("div", { key: '40420aef875c7ae320f32a6fea69e6bdee118c44', 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: 'bc59e16189f2cee4b74e5755175874232310cd6e', style: { width: this.width, height: this.height } }, h("div", { key: '95a67726db2105bb9fc3228b1e53997c117a7fd1', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '75f3970f227ca92dc9d2ceb7b1c65dd05b870c02', 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: 'c15f0c771cc10d48100c934e6385a61bc32cc66e', 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: '699481d45c7273cd9fa93e6c173e261ad2a1627e', viewBox: "0 0 40 40" }, h("clipPath", { key: 'bcf306301fb9870daede7a441e6ee5ff73b8564a', id: "clip" }, h("path", { key: 'ebc63f0854d6d9f24cf9cde806507b2743cfdd27', 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: '5de22d05531dca735f47c7822c1fdddf058c63be' }, h("div", { key: '6163825ede1377cb15c1a8fb3e211cad6fb4346f', 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: '9dd7a061500cdce531db4358bdada819ff41e4a3' }, h("div", { key: '595b5e7191f561a8fb60bb5356c5671ca270b735', 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: '47c9a8dedd0419733b983dd42e8f35fcf452d2cc', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: '1b07082b7f1710b618d7fb3219ed8fe6513518c7', 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"; }
|
|
@@ -17,7 +17,7 @@ export class TetBusinessRoundStepper {
|
|
|
17
17
|
return (h("div", { class: "business-stepper__step" }, h("div", { class: "business-stepper__icon", style: { 'background-color': stepData.color } }, h("tet-icon", { name: stepData.icon, style: { '--icon-color': stepData.iconColor } })), h("span", { class: "business-stepper__title" }, stepData.description), h("p", { class: "business-stepper__text" }, stepData.text)));
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: '7b1781760a645007ad505eacc221a77b34a4b9f3', class: {
|
|
21
21
|
'business-stepper': true,
|
|
22
22
|
'business-stepper--uneven': this.layout === 'grid' && this.stepperData.length % 2 == 1,
|
|
23
23
|
[`business-stepper--${this.layout}`]: true,
|
|
@@ -58,7 +58,7 @@ export class TetRoundStepper {
|
|
|
58
58
|
this.calculateContainerWidth();
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '06c75498d8fb49bac8e2b918a887304403b637cc' }, h("div", { key: '7765f56024935fcef5e7bd10ab7d2aadc6d89062', class: {
|
|
62
62
|
'round-stepper': true,
|
|
63
63
|
'column': this.forcedColumn,
|
|
64
64
|
'hide-icons': this.hideIcons,
|
|
@@ -70,7 +70,7 @@ export class TetStepper {
|
|
|
70
70
|
this.stepperData = [];
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '6ac0529a66f1cf0e2c8d2b107850b028cb50e2a2' }, h("ol", { key: 'c5403e7b83d047cead659f664947de3130c411e0', class: "stepper" }, this.stepperData.map(this.renderStep))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "tet-stepper"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class TetStepperV2 {
|
|
|
36
36
|
this.theme = 'light';
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '465f30f914aec7d3d9924f163c4fbddc2690a7f3' }, h("ol", { key: '698b427da7b02faab8ebd6ea6dc25dc7a44bba67', class: {
|
|
40
40
|
'stepper': true,
|
|
41
41
|
[this.theme]: true,
|
|
42
42
|
} }, this.stepperData.map(this.renderStep.bind(this)))));
|
|
@@ -51,9 +51,9 @@ export class TetDatepickerHeader {
|
|
|
51
51
|
this.internalDateChanged.emit(newDate);
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: '510d9b8528a88a96725c58381b091ad4446b66b4', class: "header" }, this.datepickerView !== 'year'
|
|
55
55
|
? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
|
|
56
|
-
: h("div", null), h("div", { key: '
|
|
56
|
+
: h("div", null), h("div", { key: '4b4fcfe4a382d0784a32c5fdccb5d75bfe1d4241', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: 'be039101f84f096e3c275ab476920d13b25cc66c', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
|
|
57
57
|
? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
|
|
58
58
|
: h("div", null)));
|
|
59
59
|
}
|
|
@@ -156,7 +156,7 @@ export class TetDatepickerMonthView {
|
|
|
156
156
|
return date.toDateString() === this.currentDate.toDateString();
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '3927dde5b691ee8449dadb663981e24562ed80fc' }, h("div", { key: 'c6d9b19017f6df6c1f1809147401d83693f9bfcd', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: '18293704c71d83799d08f1ce6e3633da449ec1a7', 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))))));
|
|
160
160
|
}
|
|
161
161
|
static get is() { return "tet-datepicker-month-view"; }
|
|
162
162
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class TetDatepickerMultiYearView {
|
|
|
29
29
|
this.years = this.getYears(this.internalDate);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '2e60f4c50f18004123572c7a846bf1f50893dc48', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "tet-datepicker-multi-year-view"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class TetDatepickerYearView {
|
|
|
34
34
|
return this.todayDate.getMonth() === monthIndex;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: 'b4829f0c145e6a6ca289b25b06f5d0e1a72626ed', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tet-datepicker-year-view"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,10 +94,10 @@ export class TetDatepicker {
|
|
|
94
94
|
this.rangeDatesChanged.emit(newDates);
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (h("div", { key: '
|
|
98
|
-
h("tet-datepicker-month-view", { key: '
|
|
99
|
-
h("tet-datepicker-multi-year-view", { key: '
|
|
100
|
-
h("tet-datepicker-year-view", { key: '
|
|
97
|
+
return (h("div", { key: 'a812f22d1b55ec8587c62a88696192be1aeb497c', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: 'a5abfd90650e4df8c0ff0bf9a6547a98d2f504ad', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '8ca8d7faf3b0a0ba6d2241670294185795b8096b', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
98
|
+
h("tet-datepicker-month-view", { key: 'f5b090675c4515e5775769c8dc379a8c25c26afd', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
99
|
+
h("tet-datepicker-multi-year-view", { key: '8a1151f3a1f6c3182a08d7703d9c5e565ebcec78', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
100
|
+
h("tet-datepicker-year-view", { key: '54e2a20d2cb5f295a5bc7a621e428eaa17ef0bea', selectedDate: this.date, internalDate: this.internalDate }))));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "tet-datepicker"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -359,7 +359,7 @@ export class TetDropdown {
|
|
|
359
359
|
}
|
|
360
360
|
render() {
|
|
361
361
|
const { theme, isOpen, isKeyboardFocus } = this;
|
|
362
|
-
return (h(Host, { key: '
|
|
362
|
+
return (h(Host, { key: '562e18e6d7541ae72f276140592f9f1e86bf1dfb' }, h("div", { key: '5bd4df5ed2992ec894cfe6b1b838e0d59d6503c9', class: { 'dropdown': true, 'dropdown--open': isOpen, 'focus-visible': isKeyboardFocus && isOpen, [`${theme}`]: true } }, this.renderButton(), this.renderOptions())));
|
|
363
363
|
}
|
|
364
364
|
static get is() { return "tet-dropdown"; }
|
|
365
365
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.js
CHANGED
|
@@ -225,12 +225,12 @@ export class TetExpandableInput {
|
|
|
225
225
|
return '';
|
|
226
226
|
}
|
|
227
227
|
render() {
|
|
228
|
-
return (h(Host, { key: '
|
|
228
|
+
return (h(Host, { key: '966f0c513c9af74accb2c9ac05106ea2fb9b2ec2', class: { small: this.size === 'small' } }, h("div", { key: '3181be4bba55614b2d538469f2d4d7c7a7bfdfd9', class: {
|
|
229
229
|
container: true,
|
|
230
230
|
expanded: this.expanded,
|
|
231
231
|
[this.mode]: true,
|
|
232
232
|
dark: this.darkMode
|
|
233
|
-
} }, h("div", { key: '
|
|
233
|
+
} }, h("div", { key: 'a50105b3fc8d3b34fe3b9fa13b0afc46b639ff10', class: "input-wrapper", ref: (element) => (this.inputWrapper = element) }, h("tet-input", { key: '8cb1ec1d74fc7b87062b988ce63b8794e887182e', class: "tet-input", label: this.label, "input-class": this.class, "input-placeholder": this.renderInputContent ? this.placeholder : '', "accessibility-label": this.accessibilityLabel, "input-type": this.type, "input-value": this.value, "input-disabled": this.disabled, error: this.error, "icon-left": this.iconLeft, "icon-right": this.renderInputContent ? this.iconRight : '', iconRightClickCallback: this.iconRightClickCallback, theme: this.theme, ref: (inputElement) => (this.inputHtmlElement = inputElement) }), this.closeButton))));
|
|
234
234
|
}
|
|
235
235
|
static get is() { return "tet-expandable-input"; }
|
|
236
236
|
static get encapsulation() { return "shadow"; }
|
|
@@ -236,8 +236,8 @@ export class TetInput {
|
|
|
236
236
|
*/
|
|
237
237
|
render() {
|
|
238
238
|
const { label, helperText, value, disabled, error, completed, isOpen, suffix } = this;
|
|
239
|
-
return (h("div", { key: '
|
|
240
|
-
'disabled': disabled, 'error': error, 'completed': completed } }, !!label && (h("label", { key: '
|
|
239
|
+
return (h("div", { key: 'ad2189f28458f296fd76390eb07996637f0f99d7', class: { 'number-input': true, [this.theme]: !!this.theme,
|
|
240
|
+
'disabled': disabled, 'error': error, 'completed': completed } }, !!label && (h("label", { key: '146fc7c71058fa0c1f81ed56081f49b054faff61', class: "number-input__label", htmlFor: "number-input" }, label)), h("div", { key: 'f7f5b78ebd0b02fbad5cdc0c285c656d9b03354b', class: { 'number-input__input-container': true, 'dropdown-open': this.isOpen }, onKeyDown: this.handleContainerKeydown }, h("input", Object.assign({ key: '4058bb72542f82be4ec7c692642e2066af44e3e5', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: { 'number-input__input': true, 'number-input__input--hidden': this.isValueHidden }, disabled: disabled, value: value, type: "number", id: "number-input" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("div", { key: '5a51da6e82e6bb430242f3fb1d630a764b6b1077', ref: (htmlInputElement) => (this.inputElementHidden = htmlInputElement), class: "number-input__input-invisible" }, value), !!suffix && h("div", { key: '2100c7f19934b51a7a46e53139e127c0f935e177', class: "number-input__input-suffix" }, suffix.name), !!this.suffixes && this.suffixes.length > 1 && (h("tet-button", { key: '690e1ebf1a885532fedacad732f376db57e334fb', type: "ghost", size: "small", ref: (element) => (this.chevronElement = element), class: { 'number-input__cheveron': true }, onClick: this.onChevronClick, "accessibility-label": this.buttonAccessibilityLabel, tabindex: "-1" }, !isOpen && h("tet-icon", { key: '600304642780a9fe20e28a6974179ff45842fe09', name: "chevron-down" }), isOpen && h("tet-icon", { key: '30fd2bc3ba018a178e179dec02aa6cd7812248e6', name: "chevron-up" }))), isOpen && (h("div", { key: 'cf7913cf9b324911c24f2069083a7e2e71dcc95b', class: "number-input__dropdown", ref: (htmlDivElement) => (this.dropdownElement = htmlDivElement) }, this.renderDropdownContent()))), !!helperText && h("div", { key: '77a8561e514764964b4d1599e328fa1b38286e19', class: "number-input__helper-text" }, helperText)));
|
|
241
241
|
}
|
|
242
242
|
static get is() { return "tet-number-input"; }
|
|
243
243
|
static get encapsulation() { return "shadow"; }
|
|
@@ -709,31 +709,31 @@ export class TetRangeSlider {
|
|
|
709
709
|
this.updateProgress();
|
|
710
710
|
}
|
|
711
711
|
render() {
|
|
712
|
-
return (h(Host, { key: '
|
|
712
|
+
return (h(Host, { key: '115d4713858a8191f69d4f882f5552ac86c09f24' }, h("div", { key: 'fcc88a9260be64f061322ac8e772468f7c74b41a', class: {
|
|
713
713
|
'range-slider': true,
|
|
714
714
|
[`range-slider--${this.containerSize}`]: true,
|
|
715
715
|
[`range-slider--${this.type}`]: true,
|
|
716
716
|
'range-slider--no-controls': !this.withControls,
|
|
717
717
|
'range-slider--no-input': !this.withInput,
|
|
718
718
|
[this.theme]: true,
|
|
719
|
-
} }, h("div", { key: '
|
|
719
|
+
} }, h("div", { key: 'c2fd331680eb082efb21b0b13ba08dd13d5c6d56', class: {
|
|
720
720
|
'range-slider__input-container': true,
|
|
721
721
|
'hidden': !this.withInput,
|
|
722
|
-
} }, h("tet-input", Object.assign({ key: '
|
|
722
|
+
} }, h("tet-input", Object.assign({ key: 'ff2770350df49f5d59d899a6c24ac4e94c226786', "input-class": "range-slider__input", "input-type": "number", "input-value": this.currentValue, ref: inputEl => (this.inputRef = inputEl), theme: this.theme, onInput: this.onInputChange, onKeyDown: (event) => this.onInputKeyDown(event, true), accessibilityLabel: this.numberInputAccessibilityLabel }, (this.containerSize !== 'large' ? { inputTabindex: 3 } : {})))), h("div", { key: 'd0bd143f2b13f5d4b5ff99c5bacb949cbfafe198', class: "range-slider__container" }, h("tet-button", Object.assign({ key: '5ee5f75f8217ef9333dca32e23661463ee153e9b', theme: this.theme, iconMode: true, class: {
|
|
723
723
|
'range-slider__control': true,
|
|
724
724
|
'range-slider__control--left': true,
|
|
725
725
|
'hidden': !this.withControls,
|
|
726
|
-
}, clickCallback: this.onControlPreviousClick }, (this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 2 } : {})), h("tet-icon", { key: '
|
|
726
|
+
}, clickCallback: this.onControlPreviousClick }, (this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 2 } : {})), h("tet-icon", { key: 'd59cfe259d75bd1b54ea89fbe1a9d305d3a7f749', name: "remove", class: "range-slider__control--icon" })), h("div", { key: '00f15791b4020054f5c7aafe314f663f99890222', onTouchStart: this.onContainerTouchStart, onTouchEnd: this.onContainerTouchEnd, onMouseDown: this.onContainerMouseDown, onScroll: this.onContainerScroll, ref: sliderContainerEl => (this.sliderContainerRef = sliderContainerEl), class: "range-slider__slider-container", draggable: false }, h("div", { key: '0e9902eb81457a5d883c3421b74626b70a588fab', class: "range-slider__slider-wrapper" }, h("input", Object.assign({ key: '78199421e238dd269339197f8dba4564f714f15c', ref: sliderEl => (this.sliderRef = sliderEl), type: "range", min: this.minValue, max: this.maxValue, step: this.step, value: this.defaultValue, list: "steplist", id: "rangeInput", onInput: this.onSliderInput, onChange: this.onSliderChange, onPointerDown: this.onSliderPointerDown, onPointerUp: this.onSliderPointerUp, onKeyDown: this.onInputKeyDown, class: "range-slider__slider" }, (this.sliderInputAccessibilityLabel ? { "aria-label": this.sliderInputAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 1 } : {})))), h("div", { key: 'cdf060a71ff344e62d0781f07635aaa6a59bdff8', class: "range-slider__track range-slider__track--background" }), h("div", { key: '72afb6402fe9c8061ddf38e348b57c256a106628', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: 'dd497578a9c8106f72ad3c3e26512877fc1b0d38', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: 'cb6a5776d27eacec014ff8da82790d9253382fab', ref: dataLabelEl => (this.dataLabelRef = dataLabelEl), class: {
|
|
727
727
|
'range-slider__data-label-container': true,
|
|
728
728
|
'hidden': this.type === 'secondary' && this.containerSize === 'small',
|
|
729
|
-
} })), h("div", { key: '
|
|
729
|
+
} })), h("div", { key: '18b58ea0cd36892dc7d16073737ae5cee5789d62', class: {
|
|
730
730
|
'range-slider__current-step-container': true,
|
|
731
731
|
'hidden': !this.withCurrentStepCounter,
|
|
732
|
-
} }, h("div", { key: '
|
|
732
|
+
} }, h("div", { key: 'ead4b7f71a5f46c662f676265f358482a4f3a215', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: '50771fffde88c3b3e22ad6b843242a19cc2b8fb5', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: '49005a474025ad29f4336c51d0daea29ba5e241a', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", Object.assign({ key: 'bb225028fa126c0c17eb02a88362871caf8dc91f', theme: this.theme, iconMode: true, class: {
|
|
733
733
|
'range-slider__control': true,
|
|
734
734
|
'range-slider__control--right': true,
|
|
735
735
|
'hidden': !this.withControls,
|
|
736
|
-
}, clickCallback: this.onControlNextClick }, (this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 4 } : {})), h("tet-icon", { key: '
|
|
736
|
+
}, clickCallback: this.onControlNextClick }, (this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 4 } : {})), h("tet-icon", { key: '7fc5eb1bf43ac76716f06c86824a6c849b3294aa', name: "add", class: "range-slider__control--icon" }))))));
|
|
737
737
|
}
|
|
738
738
|
static get is() { return "tet-range-slider"; }
|
|
739
739
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class TetStepperInput {
|
|
|
121
121
|
*/
|
|
122
122
|
render() {
|
|
123
123
|
const { onMinusClick, value, onPlusClick } = this;
|
|
124
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: '11e087cc51c530cf0fca8490c13da03cb4061c7f', class: { 'stepper-input': true, [this.theme]: !!this.theme } }, h("tet-button", { key: '6c8788ff8ed37724dfc73a2aca2c5df3749ea0b4', type: "secondary", iconMode: true, theme: this.theme, size: 'small', "aria-label": t('components-number-input-decrease'), onKeyDown: this.handleOptionKeydown(onMinusClick), onClick: onMinusClick }, h("tet-icon", { key: '24cb6ca34cb965709b2c9a1d0ebffa7446895b94', name: "remove", onClick: onMinusClick })), h("input", Object.assign({ key: '8c50b00e33cb1c9d8793b324d3abe7d363ca0d46', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: "stepper-input__value", value: value, type: "number" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("tet-button", { key: '3a8116b553927b9309887858f9ef368c554b0bd2', type: "secondary", iconMode: true, theme: this.theme, size: 'small', "aria-label": t('components-number-input-increase'), onKeyDown: this.handleOptionKeydown(onPlusClick), onClick: onPlusClick }, h("tet-icon", { key: 'b1524ea85664173e74f3d245ee2650471a561ae4', name: "add", onClick: onPlusClick }))));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "tet-stepper-input"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|