@tet/tet-components 1.4.33-testing → 1.4.34-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} +1 -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 +1 -1
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +5 -5
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +4 -2
- package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +16 -9
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
- 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 +1 -1
- 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 +4 -4
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +2 -2
- package/dist/cjs/tet-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
- package/dist/cjs/tet-checkbox_3.cjs.entry.js +1 -1
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
- 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-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/tet-feedback-form.cjs.entry.js +45 -8
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +2 -2
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +7 -4
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/tet-referral.cjs.entry.js +5 -5
- 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 +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
- 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 +41 -11
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-tab-header.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
- 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/assets/icons/icon-map.json +1 -1
- package/dist/collection/assets/icons/tc/tc-search-empty.svg +4 -0
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.css +1 -1
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +3 -1
- package/dist/collection/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.css +0 -3
- package/dist/collection/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.js +1 -1
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.css +1 -1
- package/dist/collection/components/advanced/forms/tet-feedback-form/tet-feedback-form.css +3 -2
- package/dist/collection/components/advanced/forms/tet-feedback-form/tet-feedback-form.js +56 -4
- package/dist/collection/components/advanced/search/tet-support-search/tet-support-search.css +3 -3
- package/dist/collection/components/advanced/search/tet-support-search/tet-support-search.js +59 -10
- package/dist/collection/components/basic/buttons/tet-button/tet-button.css +6 -0
- package/dist/collection/components/simple/inputs/tet-input/tet-input.js +4 -1
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.css +1 -1
- package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.css +8 -10
- package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.js +12 -5
- package/dist/collection/components/simple/structural/tet-floating-block/tet-floating-block.css +2 -6
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.css +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +2 -2
- package/dist/components/assets/icons/icon-map.json +1 -1
- package/dist/components/assets/icons/tc/tc-search-empty.svg +4 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-1b1c4871.js → p-00806d54.js} +6 -6
- package/dist/components/{p-fd3bdd4c.js → p-01354b80.js} +14 -14
- package/dist/components/{p-7620ce21.js → p-04c58dbe.js} +1 -1
- package/dist/components/{p-6cd63078.js → p-089cf97c.js} +1 -1
- package/dist/components/{p-4061b379.js → p-0f45e193.js} +5 -5
- package/dist/components/{p-b0347530.js → p-1e072080.js} +9 -9
- package/dist/components/{p-52fcf7aa.js → p-22855c3a.js} +1 -1
- package/dist/components/{p-f76fad86.js → p-26ffcb52.js} +1 -1
- package/dist/components/{p-efdf0813.js → p-2dbdff4f.js} +2 -2
- package/dist/components/{p-e9bf0228.js → p-31cf0ad6.js} +1 -1
- package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
- package/dist/components/{p-6d10cfc1.js → p-37950005.js} +10 -10
- package/dist/components/{p-4a4f4abf.js → p-3e8aed87.js} +2 -2
- package/dist/components/{p-89c93c64.js → p-3f34928f.js} +1 -1
- package/dist/components/{p-2d32db8b.js → p-46db990b.js} +7 -4
- package/dist/components/{p-d69376b7.js → p-4c9926ae.js} +2 -2
- package/dist/components/{p-3881222c.js → p-4e2d077b.js} +6 -6
- package/dist/components/{p-1dc3b03c.js → p-4f0c7a6b.js} +3 -3
- package/dist/components/{p-4e0e2b59.js → p-563a8b83.js} +1 -1
- package/dist/components/{p-86aaf990.js → p-569fe3e0.js} +3 -3
- package/dist/components/{p-869958e9.js → p-58a6be72.js} +2 -2
- package/dist/components/{p-13c2091d.js → p-59337a7e.js} +7 -7
- package/dist/components/{p-1ffee60d.js → p-6635e4bc.js} +2 -2
- package/dist/components/{p-92eb4c89.js → p-6afd7970.js} +5 -5
- package/dist/components/{p-b453369c.js → p-6ecba6d0.js} +1 -1
- package/dist/components/{p-d32eca66.js → p-8001fa16.js} +2 -2
- package/dist/components/{p-19d39e59.js → p-8275a2c7.js} +15 -8
- package/dist/components/{p-cf8fb3b8.js → p-884ea344.js} +11 -11
- package/dist/components/{p-c6c5425e.js → p-8b5b8f91.js} +1 -1
- package/dist/components/{p-595baac6.js → p-8cd5675e.js} +1 -1
- package/dist/components/{p-0d8e93da.js → p-8e814c8e.js} +1 -1
- package/dist/components/{p-f1380f68.js → p-927f057a.js} +3 -3
- package/dist/components/{p-eca7dc6f.js → p-a2264ad8.js} +2 -2
- package/dist/components/{p-543c7a96.js → p-a808cedb.js} +9 -9
- package/dist/components/{p-dd3541f5.js → p-a9c8d424.js} +1 -1
- package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
- package/dist/components/{p-19a63760.js → p-adeb1eb9.js} +1 -1
- package/dist/components/{p-43ec1361.js → p-afb886f7.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-ca8df28e.js → p-b68fc77d.js} +3 -3
- package/dist/components/{p-dfb8a350.js → p-b72c07cb.js} +7 -7
- package/dist/components/{p-027b4019.js → p-ba73feeb.js} +3 -3
- package/dist/components/{p-b0040cc1.js → p-c152e932.js} +2 -2
- package/dist/components/{p-250eb091.js → p-c1c76acd.js} +1 -1
- package/dist/components/{p-d41f8f87.js → p-c737018f.js} +2 -2
- package/dist/components/{p-0138c33f.js → p-c9ce4ed1.js} +6 -6
- package/dist/components/{p-548501b5.js → p-caddcfad.js} +1 -1
- package/dist/components/{p-848ec723.js → p-d3dfeee8.js} +1 -1
- package/dist/components/{p-980978bc.js → p-d644fcc9.js} +4 -4
- package/dist/components/{p-4ff94d2c.js → p-d8094eaa.js} +2 -2
- package/dist/components/{p-9c321f66.js → p-e01e4727.js} +7 -7
- package/dist/components/{p-ce823477.js → p-e01e633d.js} +2 -2
- package/dist/components/{p-c615bc41.js → p-e7dbbcdd.js} +1 -1
- package/dist/components/{p-c4d184b3.js → p-eb0b3d19.js} +5 -5
- package/dist/components/{p-924b430a.js → p-ec684898.js} +1 -1
- package/dist/components/p-f643aa85.js +153 -0
- package/dist/components/{p-d96c9c10.js → p-fa7e231b.js} +3 -3
- package/dist/components/{p-58991856.js → p-fc106744.js} +1 -1
- 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 +27 -27
- 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 +8 -6
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +20 -20
- package/dist/components/tet-b2b-service-calculator.js +8 -8
- 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 +1 -1
- 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 +5 -5
- 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 +4 -4
- 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 +1 -1
- 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 +9 -9
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-counter.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 +6 -6
- 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 +1 -1
- package/dist/components/tet-feedback-form.js +49 -12
- package/dist/components/tet-filter.js +4 -4
- package/dist/components/tet-floating-block.js +4 -4
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +3 -3
- package/dist/components/tet-link.js +1 -1
- 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-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +2 -2
- package/dist/components/tet-news-card-list.js +4 -4
- 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 +6 -6
- 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 +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-support-search.js +49 -17
- 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 +1 -1
- package/dist/components/tet-tv-gift-list.js +2 -2
- 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} +1 -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 +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +6 -6
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +5 -5
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +4 -2
- package/dist/esm/tet-autocomplete.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +16 -9
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
- 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 +1 -1
- 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 +4 -4
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +2 -2
- package/dist/esm/tet-card-list.entry.js +2 -2
- package/dist/esm/tet-carousel.entry.js +3 -3
- package/dist/esm/tet-checkbox_3.entry.js +1 -1
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +5 -5
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +3 -3
- package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/tet-feedback-form.entry.js +45 -8
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +2 -2
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +7 -4
- package/dist/esm/tet-label.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +1 -1
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/tet-referral.entry.js +5 -5
- 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 +1 -1
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +3 -3
- 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 +41 -11
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-tab-header.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- 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/assets/icons/icon-map.json +1 -1
- package/dist/tet-components/assets/icons/tc/tc-search-empty.svg +4 -0
- package/dist/tet-components/{p-a5bbadd5.entry.js → p-04d050f5.entry.js} +1 -1
- package/dist/tet-components/{p-d41a4ec0.entry.js → p-06c7aa77.entry.js} +1 -1
- package/dist/tet-components/{p-3e7e1106.entry.js → p-0781e892.entry.js} +1 -1
- package/dist/tet-components/{p-5391d594.entry.js → p-0bf60061.entry.js} +1 -1
- package/dist/tet-components/{p-7a3c1254.entry.js → p-127b2895.entry.js} +1 -1
- package/dist/tet-components/{p-b7393577.entry.js → p-134b5155.entry.js} +1 -1
- package/dist/tet-components/{p-068ab35d.entry.js → p-145baad0.entry.js} +1 -1
- package/dist/tet-components/{p-2a43ccef.entry.js → p-14c15a69.entry.js} +1 -1
- package/dist/tet-components/{p-e481116c.entry.js → p-16d7c0d2.entry.js} +1 -1
- package/dist/tet-components/{p-85a4823a.entry.js → p-1a4422ad.entry.js} +1 -1
- package/dist/tet-components/{p-903c4587.entry.js → p-1a84bfc6.entry.js} +1 -1
- package/dist/tet-components/{p-bcca51cc.entry.js → p-1f5ed76c.entry.js} +1 -1
- package/dist/tet-components/{p-747e5e19.entry.js → p-20ade008.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-d8518d4b.js → p-2dbe670c.js} +1 -1
- package/dist/tet-components/{p-d6aa828a.entry.js → p-2e5e5716.entry.js} +1 -1
- package/dist/tet-components/{p-7056a120.entry.js → p-31d0b400.entry.js} +1 -1
- package/dist/tet-components/{p-c1b70e23.entry.js → p-3369cf8a.entry.js} +1 -1
- package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
- package/dist/tet-components/{p-3fc6a020.entry.js → p-3b5e9fed.entry.js} +1 -1
- package/dist/tet-components/{p-94322144.entry.js → p-40d20508.entry.js} +1 -1
- package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
- package/dist/tet-components/{p-7d64d525.entry.js → p-4589ba47.entry.js} +1 -1
- package/dist/tet-components/{p-7c7fb42f.entry.js → p-4d935fc8.entry.js} +1 -1
- package/dist/tet-components/{p-aff47d36.entry.js → p-510806be.entry.js} +1 -1
- package/dist/tet-components/{p-1ddfaaa0.entry.js → p-53e83f83.entry.js} +1 -1
- package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
- package/dist/tet-components/p-5558eb1c.entry.js +1 -0
- 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-3e3ecc08.entry.js → p-5d638022.entry.js} +1 -1
- package/dist/tet-components/p-5e8bd119.entry.js +1 -0
- package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
- package/dist/tet-components/{p-2ee91947.entry.js → p-61de58e7.entry.js} +1 -1
- package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
- package/dist/tet-components/p-660bdc27.js +1 -0
- package/dist/tet-components/{p-ee15fbb6.entry.js → p-699ecd12.entry.js} +1 -1
- package/dist/tet-components/{p-c10d5369.entry.js → p-6c6cd148.entry.js} +1 -1
- package/dist/tet-components/{p-0ffbeb2a.entry.js → p-6ec21c58.entry.js} +1 -1
- package/dist/tet-components/{p-76526271.entry.js → p-6fb8c506.entry.js} +1 -1
- package/dist/tet-components/{p-c858f416.entry.js → p-6fe562e3.entry.js} +1 -1
- package/dist/tet-components/{p-32ece6e1.entry.js → p-6ffacde3.entry.js} +1 -1
- package/dist/tet-components/{p-c380ea54.entry.js → p-71064d29.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-46975ec4.entry.js → p-73c190a2.entry.js} +1 -1
- package/dist/tet-components/{p-a093603e.entry.js → p-771dd791.entry.js} +1 -1
- package/dist/tet-components/{p-ab13d33d.entry.js → p-79911ddf.entry.js} +1 -1
- package/dist/tet-components/{p-8c0ac70a.entry.js → p-7a094aaa.entry.js} +1 -1
- package/dist/tet-components/{p-920c54d8.entry.js → p-863c1c55.entry.js} +1 -1
- package/dist/tet-components/{p-8dad0d3e.entry.js → p-87fdd3dd.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-f5d4d8c8.entry.js → p-8fae4e03.entry.js} +1 -1
- package/dist/tet-components/{p-3e1e9943.entry.js → p-9020245b.entry.js} +1 -1
- package/dist/tet-components/{p-ed061701.entry.js → p-9114f39c.entry.js} +1 -1
- package/dist/tet-components/{p-1308389c.entry.js → p-9303f044.entry.js} +1 -1
- package/dist/tet-components/{p-c72c4c61.entry.js → p-938c44a3.entry.js} +1 -1
- package/dist/tet-components/{p-77eaa70d.entry.js → p-94ef0a7b.entry.js} +1 -1
- package/dist/tet-components/{p-c8c0f6d3.entry.js → p-97a4e6d0.entry.js} +1 -1
- package/dist/tet-components/p-97b87a25.entry.js +1 -0
- 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-9f921c87.entry.js +1 -0
- package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
- package/dist/tet-components/{p-20bb8b10.entry.js → p-a58dc2dd.entry.js} +1 -1
- package/dist/tet-components/{p-a7b563a4.entry.js → p-adcfcac9.entry.js} +1 -1
- package/dist/tet-components/{p-f68450a4.entry.js → p-b22de340.entry.js} +1 -1
- package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
- package/dist/tet-components/{p-872bbccf.entry.js → p-b468a922.entry.js} +1 -1
- package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
- package/dist/tet-components/{p-eaaaeafe.entry.js → p-b72b9466.entry.js} +1 -1
- package/dist/tet-components/{p-8d2269b5.entry.js → p-b9209f91.entry.js} +1 -1
- package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
- package/dist/tet-components/{p-1db8895a.entry.js → p-bb947f1a.entry.js} +1 -1
- package/dist/tet-components/{p-7ffb8e4f.entry.js → p-bca076c8.entry.js} +1 -1
- package/dist/tet-components/{p-28c54fff.entry.js → p-bd2e52e7.entry.js} +1 -1
- package/dist/tet-components/{p-4fb3f48b.entry.js → p-bdc6c9fb.entry.js} +1 -1
- package/dist/tet-components/{p-b34e86ef.entry.js → p-c9583427.entry.js} +1 -1
- package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
- package/dist/tet-components/{p-503fa549.entry.js → p-ca78ea7c.entry.js} +1 -1
- package/dist/tet-components/{p-c455736d.entry.js → p-ce1d5bd4.entry.js} +1 -1
- package/dist/tet-components/{p-13b8d342.entry.js → p-cf0df09b.entry.js} +1 -1
- package/dist/tet-components/{p-970336de.entry.js → p-d0726a9d.entry.js} +1 -1
- package/dist/tet-components/{p-c00fe3e7.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-eaaf3ccf.entry.js → p-d8875b9f.entry.js} +1 -1
- package/dist/tet-components/{p-a64e3e96.entry.js → p-e74416dc.entry.js} +1 -1
- package/dist/tet-components/{p-c9f21fde.entry.js → p-ec5b1040.entry.js} +1 -1
- package/dist/tet-components/p-ed8265ca.entry.js +1 -0
- package/dist/tet-components/{p-a4bef9cf.entry.js → p-f743f892.entry.js} +1 -1
- package/dist/tet-components/{p-2328b1d4.entry.js → p-f9c98275.entry.js} +1 -1
- package/dist/tet-components/{p-b87db05c.entry.js → p-fa34e438.entry.js} +1 -1
- package/dist/tet-components/{p-09dd8219.entry.js → p-fb434c23.entry.js} +1 -1
- package/dist/tet-components/p-fb4d019d.entry.js +1 -0
- package/dist/tet-components/{p-aa54c6ab.entry.js → p-ffc57ff3.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/forms/tet-feedback-form/tet-feedback-form.d.ts +8 -0
- package/dist/types/components/advanced/search/tet-support-search/tet-support-search.d.ts +14 -3
- package/dist/types/components/simple/inputs/tet-input/tet-input.d.ts +1 -0
- package/dist/types/components/simple/menu/tet-business-navigation/tet-business-navigation.d.ts +2 -2
- package/dist/types/components.d.ts +16 -3
- package/package.json +1 -1
- package/dist/components/p-60104d4b.js +0 -153
- package/dist/tet-components/p-00e4bbed.entry.js +0 -1
- package/dist/tet-components/p-1a05235c.entry.js +0 -1
- package/dist/tet-components/p-2f95b99f.entry.js +0 -1
- package/dist/tet-components/p-62fbcab1.entry.js +0 -1
- package/dist/tet-components/p-9cb7ecf6.entry.js +0 -1
- package/dist/tet-components/p-ae8ff573.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
|
@@ -14,8 +14,10 @@ export class TetSupportSearch {
|
|
|
14
14
|
this.disabled = false;
|
|
15
15
|
this.searchApiUrl = '';
|
|
16
16
|
this.maxSearchResults = 5;
|
|
17
|
+
this.searchQuery = '';
|
|
17
18
|
this.inputIconRight = '';
|
|
18
19
|
this.inputValueLength = 0;
|
|
20
|
+
this.inputValue = '';
|
|
19
21
|
this.isLoading = false;
|
|
20
22
|
}
|
|
21
23
|
/** The event that is emitted when the user clicks the search button. */
|
|
@@ -26,10 +28,13 @@ export class TetSupportSearch {
|
|
|
26
28
|
nativeInput;
|
|
27
29
|
/** The reference to the tet-input element. */
|
|
28
30
|
inputComponent;
|
|
31
|
+
/** The reference to the autocomplete element. */
|
|
32
|
+
autocompleteComponent;
|
|
29
33
|
/** Pre-bound callback references to preserve component context when passing methods as handlers. */
|
|
30
34
|
boundOptionsFilterFunction = this.optionsFilterFunction.bind(this);
|
|
31
35
|
boundFinishedLoadingFunction = this.finishedLoading.bind(this);
|
|
32
36
|
boundHandleAutocompleteOptionSelection = this.handleAutocompleteOptionSelection.bind(this);
|
|
37
|
+
boundHandleClearInput = this.handleClearInput.bind(this);
|
|
33
38
|
boundHandleSearchSubmit = this.handleSearchSubmit.bind(this);
|
|
34
39
|
boundHandleInputRightIcon = this.handleInputRightIcon.bind(this);
|
|
35
40
|
boundRenderOption = this.renderOption.bind(this);
|
|
@@ -46,29 +51,44 @@ export class TetSupportSearch {
|
|
|
46
51
|
if (this.nativeInput) {
|
|
47
52
|
this.nativeInput.value = '';
|
|
48
53
|
}
|
|
54
|
+
this.inputValue = '';
|
|
49
55
|
this.inputValueLength = 0;
|
|
50
56
|
this.isLoading = false;
|
|
51
57
|
this.removeIconRight();
|
|
52
58
|
}
|
|
59
|
+
componentWillLoad() {
|
|
60
|
+
this.initializeInputValue();
|
|
61
|
+
}
|
|
53
62
|
async componentDidLoad() {
|
|
54
|
-
this.nativeInput = await this.inputComponent
|
|
63
|
+
this.nativeInput = await this.inputComponent?.getInputHtmlElement();
|
|
55
64
|
this.nativeInput?.addEventListener('input', this.boundHandleInputRightIcon);
|
|
56
65
|
}
|
|
57
66
|
disconnectedCallback() {
|
|
58
67
|
this.nativeInput?.removeEventListener('input', this.boundHandleInputRightIcon);
|
|
59
68
|
}
|
|
69
|
+
/** Initializes local input state from the initial `searchQuery` value. */
|
|
70
|
+
initializeInputValue() {
|
|
71
|
+
this.inputValue = this.searchQuery;
|
|
72
|
+
const normalizedInputValue = normalize(this.inputValue);
|
|
73
|
+
this.inputValueLength = normalizedInputValue.length;
|
|
74
|
+
if (normalizedInputValue.length > 0) {
|
|
75
|
+
this.addClearIcon();
|
|
76
|
+
}
|
|
77
|
+
}
|
|
60
78
|
handleInputRightIcon({ target }) {
|
|
61
|
-
const value =
|
|
62
|
-
this.
|
|
79
|
+
const value = target.value;
|
|
80
|
+
this.inputValue = value;
|
|
81
|
+
const normalizedValue = normalize(value);
|
|
82
|
+
this.inputValueLength = normalizedValue.length;
|
|
63
83
|
if (this.inputValueLength >= this.minSearchLength) {
|
|
64
84
|
this.addLoadIcon();
|
|
65
85
|
this.removeIconRight();
|
|
66
86
|
return;
|
|
67
87
|
}
|
|
68
|
-
if (
|
|
88
|
+
if (normalizedValue && !this.inputIconRight) {
|
|
69
89
|
this.addClearIcon();
|
|
70
90
|
}
|
|
71
|
-
if (!
|
|
91
|
+
if (!normalizedValue && this.inputIconRight) {
|
|
72
92
|
this.removeIconRight();
|
|
73
93
|
}
|
|
74
94
|
}
|
|
@@ -127,6 +147,9 @@ export class TetSupportSearch {
|
|
|
127
147
|
handleAutocompleteOptionSelection(event) {
|
|
128
148
|
event.stopPropagation();
|
|
129
149
|
const { label, value, _originalEvent } = event.detail;
|
|
150
|
+
this.inputValue = label;
|
|
151
|
+
this.inputValueLength = normalize(label).length;
|
|
152
|
+
this.addClearIcon();
|
|
130
153
|
const detail = {
|
|
131
154
|
label,
|
|
132
155
|
id: value.id,
|
|
@@ -138,19 +161,26 @@ export class TetSupportSearch {
|
|
|
138
161
|
handleSearchSubmit() {
|
|
139
162
|
this.searchSubmitted.emit(this.nativeInput?.value ?? '');
|
|
140
163
|
}
|
|
164
|
+
async handleClearInput() {
|
|
165
|
+
if (typeof this.autocompleteComponent?.clear === 'function') {
|
|
166
|
+
await this.autocompleteComponent.clear(false);
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
await this.resetInputState();
|
|
170
|
+
}
|
|
141
171
|
renderOption(option) {
|
|
142
172
|
const { description, categories, htmlLabel } = option.value;
|
|
143
|
-
return (h("div", { part: "dropdown-option" }, h("tet-icon", { part: "option-icon", class: "icon", name: "tc-arrow-right" }), h("div", { part: "dropdown-option-content" }, h("div", { part: "option-label", innerHTML: htmlLabel }), description && (h("div", { part: "option-description", innerHTML: description })), categories?.length && (h("div", { part: "option-categories" }, categories.map((category, i) => ([
|
|
173
|
+
return (h("div", { part: "dropdown-option" }, h("tet-icon", { part: "option-icon", class: "icon", name: "tc-arrow-right" }), h("div", { part: "dropdown-option-content" }, h("div", { part: "option-label", innerHTML: htmlLabel }), description && (h("div", { part: "option-description", innerHTML: description })), categories?.length > 0 && (h("div", { part: "option-categories" }, categories.map((category, i) => ([
|
|
144
174
|
h("span", { innerHTML: category }),
|
|
145
175
|
(i < categories.length - 1) && (h("tet-icon", { name: "tc-chevron-right-small", theme: this.theme, type: "secondary", part: "option-category-separator" }))
|
|
146
176
|
])))))));
|
|
147
177
|
}
|
|
148
178
|
render() {
|
|
149
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: 'c19a59f10bcbbf3a22332a4dbdba6ef80ca3ea25', class: {
|
|
150
180
|
"search-container": true,
|
|
151
181
|
[this.theme]: true,
|
|
152
|
-
} }, h("div", { key: '
|
|
153
|
-
h("tet-spinner", { key: '
|
|
182
|
+
} }, h("div", { key: 'a95d76001fae0b8e80a1786952b7dc7c68437a3b', class: "search-container__inner-wrapper" }, h("tet-autocomplete", { key: 'e707e6f968e5bd54cdc88caea3b2d4d16091de0d', optionsFilterAction: this.debounceOptionsFilter, onOptionSelected: this.boundHandleAutocompleteOptionSelection, noOptionsMessage: this.labels.notFoundMessage, customOptionRenderFunction: this.boundRenderOption, finishedLoading: this.boundFinishedLoadingFunction, clearCallback: () => this.resetInputState(), darkTheme: this.theme === 'dark', newStyle: true, ref: (el) => (this.autocompleteComponent = el) }, h("tet-input", { key: 'ad8b177a7155bd2c84d6415dd8ecdb945433a19f', class: "search-container__input", "input-class": `autocomplete-input search-container__input ${this.isLoading ? 'with-loader' : ''}`, "input-placeholder": this.labels.placeholder, "input-disabled": this.disabled, label: this.showInputLabel ? this.labels.label : undefined, accessibilityLabel: this.showInputLabel ? undefined : this.labels.label, iconLeft: "tc-search-short", iconRight: this.inputIconRight, iconRightClickCallback: this.boundHandleClearInput, iconRightAccessibilityLabel: this.labels.clearButtonLabel, theme: this.theme, ref: (el) => (this.inputComponent = el), autocomplete: "off", "input-value": this.inputValue }, this.isLoading &&
|
|
183
|
+
h("tet-spinner", { key: '331c80ed0008613872cfd3838d4e38e2bde4887a', theme: this.theme, class: "search-container__spinner", size: "small" }))), h("tet-button", { key: '97dbefee1f3d006a311eaed3b819aaefa73dcd8c', class: "search-container__button search-container__button--mobile", theme: this.theme, size: "small", "accessibility-label": this.labels.searchButtonLabel, iconName: "tc-arrow-right", iconMode: true, disabled: this.disabled, onClick: this.boundHandleSearchSubmit }), h("tet-button", { key: 'd2db672ed4f0dc01f1a7301a812b9cde1d89dde4', class: "search-container__button search-container__button--desktop", theme: this.theme, size: "medium", disabled: this.disabled, onClick: this.boundHandleSearchSubmit }, this.labels.searchButtonLabel))));
|
|
154
184
|
}
|
|
155
185
|
static get is() { return "tet-support-search"; }
|
|
156
186
|
static get encapsulation() { return "shadow"; }
|
|
@@ -234,7 +264,7 @@ export class TetSupportSearch {
|
|
|
234
264
|
}
|
|
235
265
|
}
|
|
236
266
|
},
|
|
237
|
-
"required":
|
|
267
|
+
"required": true,
|
|
238
268
|
"optional": false,
|
|
239
269
|
"docs": {
|
|
240
270
|
"tags": [],
|
|
@@ -294,6 +324,24 @@ export class TetSupportSearch {
|
|
|
294
324
|
"attribute": "max-search-results",
|
|
295
325
|
"reflect": false,
|
|
296
326
|
"defaultValue": "5"
|
|
327
|
+
},
|
|
328
|
+
"searchQuery": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"mutable": false,
|
|
331
|
+
"complexType": {
|
|
332
|
+
"original": "string",
|
|
333
|
+
"resolved": "string",
|
|
334
|
+
"references": {}
|
|
335
|
+
},
|
|
336
|
+
"required": false,
|
|
337
|
+
"optional": false,
|
|
338
|
+
"docs": {
|
|
339
|
+
"tags": [],
|
|
340
|
+
"text": "The initial search query shown in the input."
|
|
341
|
+
},
|
|
342
|
+
"attribute": "search-query",
|
|
343
|
+
"reflect": false,
|
|
344
|
+
"defaultValue": "''"
|
|
297
345
|
}
|
|
298
346
|
};
|
|
299
347
|
}
|
|
@@ -301,6 +349,7 @@ export class TetSupportSearch {
|
|
|
301
349
|
return {
|
|
302
350
|
"inputIconRight": {},
|
|
303
351
|
"inputValueLength": {},
|
|
352
|
+
"inputValue": {},
|
|
304
353
|
"isLoading": {}
|
|
305
354
|
};
|
|
306
355
|
}
|
|
@@ -386,6 +386,8 @@
|
|
|
386
386
|
|
|
387
387
|
.button {
|
|
388
388
|
--button-icon-mode-padding-internal: 0.75rem;
|
|
389
|
+
min-width: 7.5rem;
|
|
390
|
+
line-height: 1.5rem;
|
|
389
391
|
--button-text-color-current: var(--button-text-color);
|
|
390
392
|
--button-border-color-current: var(--button-border-color);
|
|
391
393
|
--button-background-current: var(--button-background);
|
|
@@ -437,11 +439,14 @@
|
|
|
437
439
|
--button-font-size: var(--button-font-size-small);
|
|
438
440
|
--button-padding: var(--button-padding-small);
|
|
439
441
|
--button-icon-mode-padding-internal: 0.375rem;
|
|
442
|
+
min-width: 6.25rem;
|
|
443
|
+
line-height: 1.25rem;
|
|
440
444
|
}
|
|
441
445
|
.button--medium {
|
|
442
446
|
--button-font-size: var(--button-font-size-medium);
|
|
443
447
|
--button-padding: var(--button-padding-medium);
|
|
444
448
|
--button-icon-mode-padding-internal: 0.625rem;
|
|
449
|
+
min-width: 6.875rem;
|
|
445
450
|
}
|
|
446
451
|
.button__content {
|
|
447
452
|
display: flex;
|
|
@@ -799,4 +804,5 @@
|
|
|
799
804
|
padding: var(--button-icon-mode-padding, var(--button-icon-mode-padding-internal));
|
|
800
805
|
aspect-ratio: 1;
|
|
801
806
|
border-radius: 50%;
|
|
807
|
+
min-width: auto;
|
|
802
808
|
}
|
|
@@ -100,6 +100,9 @@ export class TetInput {
|
|
|
100
100
|
validateInputValue = (value) => {
|
|
101
101
|
this.errorMessages = validate(value, this.validators);
|
|
102
102
|
};
|
|
103
|
+
preventIconMouseDown(event) {
|
|
104
|
+
event.preventDefault();
|
|
105
|
+
}
|
|
103
106
|
renderIcon = (iconName, alignment, callback) => {
|
|
104
107
|
const clickable = Boolean(callback);
|
|
105
108
|
const accessibilityLabel = alignment === 'left'
|
|
@@ -111,7 +114,7 @@ export class TetInput {
|
|
|
111
114
|
'icon-right': alignment === 'right',
|
|
112
115
|
'clickable': clickable
|
|
113
116
|
};
|
|
114
|
-
return (h("tet-icon", { name: iconName, class: classes, onClick: callback, accessibilityLabel: clickable ? accessibilityLabel : '', onKeyDown: a11yBtnClick }));
|
|
117
|
+
return (h("tet-icon", { name: iconName, class: classes, onMouseDown: clickable ? this.preventIconMouseDown : undefined, onClick: callback, accessibilityLabel: clickable ? accessibilityLabel : '', onKeyDown: a11yBtnClick }));
|
|
115
118
|
};
|
|
116
119
|
renderErrorMessages = () => {
|
|
117
120
|
return (h("div", { class: { 'errors': true, [`tet-input__${this.theme}`]: true, 'errors--hidden': this.disabled } }, this.errorMessages.map((message) => (h("p", { class: "tet-input__error-message" }, t(message))))));
|
package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.css
CHANGED
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
transition: width 2s;
|
|
116
116
|
}
|
|
117
117
|
@media screen and (max-width: 63.9375rem) {
|
|
118
|
-
.business-navigation {
|
|
118
|
+
.business-navigation:not(.expandable) {
|
|
119
119
|
flex-direction: row;
|
|
120
120
|
gap: 0.5rem;
|
|
121
121
|
max-width: 100%;
|
|
@@ -126,6 +126,7 @@
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
.business-navigation.light {
|
|
129
|
+
--tet-business-navigation-background-color: var(--tc-layer-primary);
|
|
129
130
|
--tet-business-navigation-item-background-color: var(--tc-layer-primary);
|
|
130
131
|
--tet-business-navigation-item-mobile-screen-background-color: var(--tc-layer-secondary);
|
|
131
132
|
--tet-business-navigation-item-hover-background-color: var(--tc-menu-item-hover);
|
|
@@ -147,6 +148,7 @@
|
|
|
147
148
|
transition: outline 0s;
|
|
148
149
|
}
|
|
149
150
|
.business-navigation.dark {
|
|
151
|
+
--tet-business-navigation-background-color: var(--tc-layer-primary-dark);
|
|
150
152
|
--tet-business-navigation-item-background-color: var(--tc-layer-primary-dark);
|
|
151
153
|
--tet-business-navigation-item-mobile-screen-background-color: var(--tc-layer-secondary-dark);
|
|
152
154
|
--tet-business-navigation-item-hover-background-color: var(--tc-menu-item-hover-dark);
|
|
@@ -173,13 +175,9 @@
|
|
|
173
175
|
padding: 1.5rem;
|
|
174
176
|
box-shadow: var(--tet-expandable-business-navigation-border-shadow);
|
|
175
177
|
border: 0.0625rem solid var(--tet-expandable-business-navigation-border-color);
|
|
178
|
+
background-color: var(--tet-business-navigation-background-color);
|
|
176
179
|
transition: width 2s;
|
|
177
180
|
}
|
|
178
|
-
@media screen and (max-width: 63.9375rem) {
|
|
179
|
-
.business-navigation.expandable {
|
|
180
|
-
display: none;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
181
|
.business-navigation.expandable.closed {
|
|
184
182
|
width: auto;
|
|
185
183
|
padding: 1.5rem 1rem;
|
|
@@ -235,7 +233,7 @@
|
|
|
235
233
|
cursor: pointer;
|
|
236
234
|
}
|
|
237
235
|
@media screen and (max-width: 63.9375rem) {
|
|
238
|
-
.business-navigation-item {
|
|
236
|
+
.business-navigation:where(:not(.expandable)) .business-navigation-item {
|
|
239
237
|
display: inline-flex;
|
|
240
238
|
padding: 0.375rem 0.75rem;
|
|
241
239
|
min-width: max-content;
|
|
@@ -262,12 +260,12 @@
|
|
|
262
260
|
height: 100%;
|
|
263
261
|
}
|
|
264
262
|
@media screen and (max-width: 63.9375rem) {
|
|
265
|
-
.business-navigation-item__wrapper:first-child {
|
|
263
|
+
.business-navigation:not(.expandable) .business-navigation-item__wrapper:first-child {
|
|
266
264
|
margin-left: 1.5rem;
|
|
267
265
|
}
|
|
268
266
|
}
|
|
269
267
|
@media screen and (max-width: 63.9375rem) {
|
|
270
|
-
.business-navigation-item__wrapper:last-child {
|
|
268
|
+
.business-navigation:not(.expandable) .business-navigation-item__wrapper:last-child {
|
|
271
269
|
margin-right: 1.5rem;
|
|
272
270
|
}
|
|
273
271
|
}
|
|
@@ -284,7 +282,7 @@
|
|
|
284
282
|
--icon-color: var(--tet-business-navigation-label-color);
|
|
285
283
|
}
|
|
286
284
|
@media screen and (max-width: 63.9375rem) {
|
|
287
|
-
.business-navigation-item__icon {
|
|
285
|
+
.business-navigation:not(.expandable) .business-navigation-item__icon {
|
|
288
286
|
--icon-size: 1.25rem;
|
|
289
287
|
}
|
|
290
288
|
}
|
package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.js
CHANGED
|
@@ -14,7 +14,7 @@ export class TetBusinessNavigation {
|
|
|
14
14
|
this.openedMenuIds = new Set();
|
|
15
15
|
}
|
|
16
16
|
navigationContainer;
|
|
17
|
-
isPointerDown;
|
|
17
|
+
isPointerDown = false;
|
|
18
18
|
/** Event emitter for the menu item click passing menu id */
|
|
19
19
|
menuClickEvent;
|
|
20
20
|
componentWillLoad() {
|
|
@@ -61,6 +61,9 @@ export class TetBusinessNavigation {
|
|
|
61
61
|
*/
|
|
62
62
|
onContainerMouseDown = (event) => {
|
|
63
63
|
this.isPointerDown = true;
|
|
64
|
+
if (!this.navigationContainer) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
64
67
|
this.positions = {
|
|
65
68
|
scrollLeft: this.navigationContainer.scrollLeft,
|
|
66
69
|
mouseX: event.clientX
|
|
@@ -82,13 +85,16 @@ export class TetBusinessNavigation {
|
|
|
82
85
|
return;
|
|
83
86
|
}
|
|
84
87
|
const deltaX = e.clientX - this.positions.mouseX;
|
|
85
|
-
this.navigationContainer
|
|
88
|
+
this.navigationContainer?.scrollTo(this.positions.scrollLeft - deltaX, 0);
|
|
86
89
|
};
|
|
87
90
|
/**
|
|
88
91
|
* Removes mouse drag events.
|
|
89
92
|
*/
|
|
90
93
|
onContainerMouseUp = () => {
|
|
91
94
|
this.isPointerDown = false;
|
|
95
|
+
if (!this.navigationContainer) {
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
92
98
|
this.navigationContainer.removeEventListener('mousemove', this.onContainerMouseMove);
|
|
93
99
|
this.navigationContainer.removeEventListener('mouseup', this.onContainerMouseUp);
|
|
94
100
|
this.navigationContainer.removeEventListener('mouseleave', this.onContainerMouseUp);
|
|
@@ -109,6 +115,7 @@ export class TetBusinessNavigation {
|
|
|
109
115
|
toggleSublevels = (id) => {
|
|
110
116
|
if (this.selectedItemId !== id) {
|
|
111
117
|
this.selectedItemId = id;
|
|
118
|
+
this.menuClickEvent.emit({ id });
|
|
112
119
|
}
|
|
113
120
|
const newSet = new Set(this.openedMenuIds);
|
|
114
121
|
newSet.has(id) ? newSet.delete(id) : newSet.add(id);
|
|
@@ -140,7 +147,7 @@ export class TetBusinessNavigation {
|
|
|
140
147
|
/** Render Functional Component*/
|
|
141
148
|
render() {
|
|
142
149
|
const { menuItems, theme, expandable } = this;
|
|
143
|
-
return (h("div", { key: '
|
|
150
|
+
return (h("div", { key: 'ba4c02855e8335bf7b32bcb22b7c8858fdfb35bc', class: { 'business-navigation': true, [`${theme}`]: true, 'expandable': expandable, 'closed': !this.expanded }, role: "group", onMouseDown: this.onContainerMouseDown, ref: (ref) => (this.navigationContainer = ref) }, this.renderExpandButton(), expandable && h("hr", { key: 'd209c8db158e5ab23d2a5224335e8421170ff2e0', class: "business-navigation-divider" }), menuItems && menuItems.map(this.renderMenuItem)));
|
|
144
151
|
}
|
|
145
152
|
static get is() { return "tet-business-navigation"; }
|
|
146
153
|
static get encapsulation() { return "shadow"; }
|
|
@@ -174,7 +181,7 @@ export class TetBusinessNavigation {
|
|
|
174
181
|
}
|
|
175
182
|
}
|
|
176
183
|
},
|
|
177
|
-
"required":
|
|
184
|
+
"required": true,
|
|
178
185
|
"optional": false,
|
|
179
186
|
"docs": {
|
|
180
187
|
"tags": [],
|
|
@@ -208,7 +215,7 @@ export class TetBusinessNavigation {
|
|
|
208
215
|
"references": {}
|
|
209
216
|
},
|
|
210
217
|
"required": false,
|
|
211
|
-
"optional":
|
|
218
|
+
"optional": false,
|
|
212
219
|
"docs": {
|
|
213
220
|
"tags": [],
|
|
214
221
|
"text": "Defines menu is expandable and minimize."
|
package/dist/collection/components/simple/structural/tet-floating-block/tet-floating-block.css
CHANGED
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
outline-offset: 0rem;
|
|
394
394
|
transition: outline 0s;
|
|
395
395
|
}
|
|
396
|
-
@media only screen and (max-width:
|
|
396
|
+
@media only screen and (max-width: 74.99rem) {
|
|
397
397
|
.floating-block {
|
|
398
398
|
width: 100%;
|
|
399
399
|
max-width: 100%;
|
|
@@ -415,11 +415,7 @@
|
|
|
415
415
|
--accordion-header-mobile-padding: 0.625rem;
|
|
416
416
|
--accordion-header-align-items: center;
|
|
417
417
|
--accordion-header-text-desktop-margin-right: 0.5rem;
|
|
418
|
-
|
|
419
|
-
@media only screen and (max-width: 48rem) {
|
|
420
|
-
.floating-block__accordion {
|
|
421
|
-
width: 100%;
|
|
422
|
-
}
|
|
418
|
+
width: 100%;
|
|
423
419
|
}
|
|
424
420
|
.floating-block__content {
|
|
425
421
|
padding: 0.125rem 0.625rem 0.625rem;
|
|
@@ -106,7 +106,7 @@ export class TetAddressOffersView {
|
|
|
106
106
|
*/
|
|
107
107
|
renderAddressSearch() {
|
|
108
108
|
const clickCallback = this.checkServiceAvailability.bind(this);
|
|
109
|
-
return (h("div", { class: "search-block" }, h("tet-address-search", { class: "search-block-input", newStyle: true, theme: this.theme, addressKey: this.addressKey, onAddressSelected: ({ detail }) => this.selectAddress(detail), language: this.language, ...(this.accessibilityLabel ? { "accessibility-label": this.accessibilityLabel } : {}) }), h("tet-button", { class: "search-block-button", theme: this.theme, size: "medium", clickCallback: clickCallback }, h("span", null, t('components-address-offers-view-check'))), h("tet-button", { class: "search-block-button mobile", theme: this.theme,
|
|
109
|
+
return (h("div", { class: "search-block" }, h("tet-address-search", { class: "search-block-input", newStyle: true, theme: this.theme, addressKey: this.addressKey, onAddressSelected: ({ detail }) => this.selectAddress(detail), language: this.language, ...(this.accessibilityLabel ? { "accessibility-label": this.accessibilityLabel } : {}) }), h("tet-button", { class: "search-block-button", theme: this.theme, size: "medium", clickCallback: clickCallback }, h("span", null, t('components-address-offers-view-check'))), h("tet-button", { class: "search-block-button mobile", theme: this.theme, iconMode: true, clickCallback: clickCallback, iconName: "arrow-right" })));
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
112
|
* Renders address offer available filters.
|
|
@@ -137,7 +137,7 @@ export class TetAddressOffersView {
|
|
|
137
137
|
return h(Fragment, null);
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: 'f2ecc4fc6b8a72a9f028aa9bfe37fa0d3ead91bf' }, this.renderContactForm(), this.renderHeader(), this.address && this.renderBody()));
|
|
141
141
|
}
|
|
142
142
|
static get is() { return "tet-address-offers-view"; }
|
|
143
143
|
static get encapsulation() { return "shadow"; }
|