@tet/tet-components 1.4.29-testing → 1.4.30-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.
Files changed (552) hide show
  1. package/dist/cjs/{address-656e77f6.js → address-f852270f.js} +1 -1
  2. package/dist/cjs/{assets-f64f0e16.js → assets-b9d36649.js} +1 -1
  3. package/dist/cjs/{async-request-fcf33aba.js → async-request-4517f566.js} +1 -1
  4. package/dist/cjs/{http-codes-40da1e61.js → http-codes-062f76cf.js} +1 -1
  5. package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
  6. package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +13 -9
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/{phone-055efd07.js → phone-d6be0dd2.js} +2 -2
  9. package/dist/cjs/{product-comparison-88a89820.js → product-comparison-aa80a77c.js} +1 -1
  10. package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
  11. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
  12. package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
  13. package/dist/cjs/tet-address-offers_4.cjs.entry.js +9 -9
  14. package/dist/cjs/tet-address-search.cjs.entry.js +7 -7
  15. package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
  16. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
  17. package/dist/cjs/tet-autocomplete.cjs.entry.js +21 -10
  18. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +6 -6
  19. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
  20. package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
  21. package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
  22. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  23. package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
  24. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  25. package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
  26. package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
  27. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  28. package/dist/cjs/tet-button.cjs.entry.js +1 -1
  29. package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
  30. package/dist/cjs/tet-carousel.cjs.entry.js +9 -9
  31. package/dist/cjs/tet-checkbox.cjs.entry.js +1 -1
  32. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
  33. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
  34. package/dist/cjs/tet-colors.cjs.entry.js +5 -5
  35. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
  36. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  37. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
  38. package/dist/cjs/tet-components.cjs.js +2 -2
  39. package/dist/cjs/tet-contact-form.cjs.entry.js +6 -6
  40. package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
  41. package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
  42. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  43. package/dist/cjs/tet-customer-assets.cjs.entry.js +4 -4
  44. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
  45. package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
  46. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  47. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  48. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-dropdown_2.cjs.entry.js +2 -2
  50. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  51. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  52. package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
  53. package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
  54. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  56. package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
  57. package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
  58. package/dist/cjs/tet-grid.cjs.entry.js +2 -2
  59. package/dist/cjs/tet-icon.cjs.entry.js +3 -3
  60. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  61. package/dist/cjs/tet-input.cjs.entry.js +10 -5
  62. package/dist/cjs/tet-label.cjs.entry.js +5 -5
  63. package/dist/cjs/tet-layout.cjs.entry.js +2 -2
  64. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  65. package/dist/cjs/tet-link.cjs.entry.js +2 -2
  66. package/dist/cjs/tet-loader.cjs.entry.js +2 -2
  67. package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
  68. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  69. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  70. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
  71. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
  72. package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
  73. package/dist/cjs/tet-notification.cjs.entry.js +2 -2
  74. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  75. package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
  76. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  77. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-radio.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
  80. package/dist/cjs/tet-referral.cjs.entry.js +7 -7
  81. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  82. package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
  83. package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
  84. package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
  85. package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
  86. package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
  87. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  88. package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
  89. package/dist/cjs/tet-support-search.cjs.entry.js +192 -0
  90. package/dist/cjs/tet-switch.cjs.entry.js +4 -4
  91. package/dist/cjs/tet-tab-header.cjs.entry.js +3 -3
  92. package/dist/cjs/tet-table.cjs.entry.js +2 -2
  93. package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
  94. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  95. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  96. package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
  97. package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +4 -4
  98. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
  99. package/dist/cjs/tet-thank-you-view.cjs.entry.js +2 -2
  100. package/dist/cjs/tet-tv-gift-block.cjs.entry.js +2 -2
  101. package/dist/cjs/tet-tv-gift-list.cjs.entry.js +3 -3
  102. package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-46514846.js} +2 -2
  103. package/dist/cjs/{translations-03c9de64.js → translations-89a0ec3d.js} +1 -1
  104. package/dist/collection/collection-manifest.json +1 -0
  105. package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
  106. package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
  107. package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.css +29 -10
  108. package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.js +40 -8
  109. package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
  110. package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
  111. package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
  112. package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
  113. package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +2 -2
  114. package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
  115. package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
  116. package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
  117. package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
  118. package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
  119. package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
  120. package/dist/collection/components/advanced/search/tet-support-search/tet-support-search.css +485 -0
  121. package/dist/collection/components/advanced/search/tet-support-search/tet-support-search.js +373 -0
  122. package/dist/collection/components/basic/buttons/tet-switch/tet-switch.js +3 -3
  123. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
  124. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
  125. package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
  126. package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +6 -6
  127. package/dist/collection/components/basic/icon/tet-icon.js +1 -1
  128. package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
  129. package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
  130. package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
  131. package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
  132. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
  133. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
  134. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
  135. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
  136. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
  137. package/dist/collection/components/simple/inputs/tet-input/tet-input.js +41 -2
  138. package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
  139. package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
  140. package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
  141. package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
  142. package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
  143. package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
  144. package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
  145. package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +1 -1
  146. package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
  147. package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
  148. package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
  149. package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
  150. package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
  151. package/dist/collection/components/views/tet-thank-you-view/tet-thank-you-view.js +1 -1
  152. package/dist/collection/components/views/tet-thank-you-view-v2/tet-thank-you-view-v2.js +1 -1
  153. package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.js +1 -1
  154. package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
  155. package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
  156. package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
  157. package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
  158. package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
  159. package/dist/collection/docs/styling/link/tet-link.js +1 -1
  160. package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
  161. package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
  162. package/dist/collection/services/api/services/article-search.js +11 -0
  163. package/dist/collection/services/utils/index.js +16 -20
  164. package/dist/collection/services/utils/inner-text-from-html.js +13 -0
  165. package/dist/components/index.js +3 -1
  166. package/dist/components/{p-67c5a58c.js → p-0025a4e9.js} +4 -4
  167. package/dist/components/{p-48611429.js → p-0545a113.js} +2 -2
  168. package/dist/components/{p-bef5a700.js → p-0600f2a8.js} +1 -1
  169. package/dist/components/{p-1e624d81.js → p-0c71dbc1.js} +2 -2
  170. package/dist/components/{p-def0e33f.js → p-16c3c70b.js} +3 -3
  171. package/dist/components/{p-95cc2537.js → p-20ce6730.js} +12 -5
  172. package/dist/components/{p-f76fad86.js → p-26ffcb52.js} +1 -1
  173. package/dist/components/{p-af9beaa1.js → p-2a10842f.js} +7 -7
  174. package/dist/components/{p-64690a6c.js → p-2aeb516c.js} +3 -3
  175. package/dist/components/{p-e3cb1d2d.js → p-32ed1082.js} +7 -7
  176. package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
  177. package/dist/components/{p-331ebe65.js → p-36cd40b1.js} +2 -2
  178. package/dist/components/{p-7f859d29.js → p-3990f3e5.js} +3 -3
  179. package/dist/components/{p-5472702d.js → p-3f09d5b9.js} +6 -6
  180. package/dist/components/{p-4903892e.js → p-3ff74849.js} +10 -10
  181. package/dist/components/{p-be5d67d1.js → p-46261374.js} +1 -1
  182. package/dist/components/{p-795a1c43.js → p-4965551a.js} +4 -4
  183. package/dist/components/{p-af0662ff.js → p-5199cad0.js} +2 -2
  184. package/dist/components/{p-193320bd.js → p-5259f563.js} +1 -1
  185. package/dist/components/{p-d22aed2d.js → p-53b12eea.js} +6 -6
  186. package/dist/components/{p-defc1e19.js → p-573a13c2.js} +14 -14
  187. package/dist/components/{p-2b5669f6.js → p-584f6222.js} +4 -4
  188. package/dist/components/{p-2c1233bc.js → p-5bc8e660.js} +2 -2
  189. package/dist/components/{p-41260991.js → p-5f5b40d1.js} +5 -5
  190. package/dist/components/{p-a57bdbb3.js → p-5f8ead19.js} +11 -11
  191. package/dist/components/{p-e4f06634.js → p-659abc43.js} +8 -8
  192. package/dist/components/{p-74e1a749.js → p-683362d8.js} +6 -6
  193. package/dist/components/{p-c964254d.js → p-6ae0afae.js} +2 -2
  194. package/dist/components/{p-1b7b79a5.js → p-707df8bb.js} +3 -3
  195. package/dist/components/{p-aae07dc6.js → p-72dec153.js} +2 -2
  196. package/dist/components/{p-04a2d6a8.js → p-7333ff31.js} +1 -1
  197. package/dist/components/{p-8a5c883e.js → p-7bcc69aa.js} +1 -1
  198. package/dist/components/{p-089612ee.js → p-80ce5780.js} +10 -10
  199. package/dist/components/{p-68143dc1.js → p-86309b82.js} +5 -5
  200. package/dist/components/{p-e87a77a6.js → p-986d5007.js} +2 -2
  201. package/dist/components/{p-0a575a94.js → p-9a0f2cfd.js} +6 -6
  202. package/dist/components/{p-59997b7c.js → p-9abdf1f3.js} +1 -1
  203. package/dist/components/{p-bf18b5b7.js → p-9c9430e6.js} +4 -4
  204. package/dist/components/{p-a6be19f9.js → p-a289a8f3.js} +3 -3
  205. package/dist/components/{p-6fa17892.js → p-a626214b.js} +13 -13
  206. package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
  207. package/dist/components/{p-df5d84f1.js → p-ad7d7e2a.js} +24 -12
  208. package/dist/components/{p-8f56bf1c.js → p-b23b7bbf.js} +2 -2
  209. package/dist/components/{p-50c4fd79.js → p-b270c5a0.js} +1 -1
  210. package/dist/components/{p-027f730e.js → p-b35077ba.js} +7 -7
  211. package/dist/components/{p-ddcc69cd.js → p-b63af45a.js} +2 -2
  212. package/dist/components/{p-44201f97.js → p-b6841a9b.js} +1 -1
  213. package/dist/components/{p-49251432.js → p-bd9cecff.js} +8 -8
  214. package/dist/components/{p-c1c77130.js → p-bf8ca05f.js} +2 -2
  215. package/dist/components/{p-4b4a0334.js → p-c58566bc.js} +2 -2
  216. package/dist/components/{p-375a5cfa.js → p-c8cfd2bf.js} +2 -2
  217. package/dist/components/{p-34265c9d.js → p-c9b8d9b5.js} +3 -3
  218. package/dist/components/{p-9783cca1.js → p-ccb2bd11.js} +10 -10
  219. package/dist/components/{p-49b5dcf4.js → p-cf7f9e48.js} +2 -2
  220. package/dist/components/{p-5c6b063f.js → p-d72db94e.js} +2 -2
  221. package/dist/components/{p-461e1a38.js → p-dd16efb9.js} +3 -3
  222. package/dist/components/{p-d57cec8c.js → p-e8a9eae7.js} +2 -2
  223. package/dist/components/{p-1035feaa.js → p-f973674b.js} +3 -3
  224. package/dist/components/tet-accordion.js +1 -1
  225. package/dist/components/tet-address-offers-filters-products.js +1 -1
  226. package/dist/components/tet-address-offers-filters.js +1 -1
  227. package/dist/components/tet-address-offers-view.js +25 -25
  228. package/dist/components/tet-address-offers.js +1 -1
  229. package/dist/components/tet-address-search.js +1 -1
  230. package/dist/components/tet-asset-addresses.js +13 -13
  231. package/dist/components/tet-asset-availability-addresses.js +1 -1
  232. package/dist/components/tet-autocomplete-dropdown.js +6 -6
  233. package/dist/components/tet-autocomplete.js +1 -1
  234. package/dist/components/tet-availability-contact-form.js +1 -1
  235. package/dist/components/tet-b2b-check-out-form.js +1 -1
  236. package/dist/components/tet-b2b-compare-card.js +1 -1
  237. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  238. package/dist/components/tet-b2b-configurator.js +20 -20
  239. package/dist/components/tet-b2b-service-calculator.js +9 -9
  240. package/dist/components/tet-banner-nav.js +3 -3
  241. package/dist/components/tet-bar-graph.js +1 -1
  242. package/dist/components/tet-border-radius.js +2 -2
  243. package/dist/components/tet-business-card.js +1 -1
  244. package/dist/components/tet-business-compare-card.js +5 -5
  245. package/dist/components/tet-business-lines.js +6 -6
  246. package/dist/components/tet-business-navigation.js +1 -1
  247. package/dist/components/tet-business-round-stepper.js +2 -2
  248. package/dist/components/tet-business-summary-card.js +1 -1
  249. package/dist/components/tet-button.js +1 -1
  250. package/dist/components/tet-card-list.js +1 -1
  251. package/dist/components/tet-carousel.js +10 -10
  252. package/dist/components/tet-checkbox.js +1 -1
  253. package/dist/components/tet-cloud-application-form-dialog.js +8 -8
  254. package/dist/components/tet-cloud-configurator.js +12 -12
  255. package/dist/components/tet-colors.js +5 -5
  256. package/dist/components/tet-compare-card-v2.js +9 -9
  257. package/dist/components/tet-compare-card.js +1 -1
  258. package/dist/components/tet-compare-cards-tab.js +16 -16
  259. package/dist/components/tet-compare-cards.js +1 -1
  260. package/dist/components/tet-contact-form.js +10 -10
  261. package/dist/components/tet-contact-info.js +1 -1
  262. package/dist/components/tet-container.js +1 -1
  263. package/dist/components/tet-counter.js +1 -1
  264. package/dist/components/tet-customer-assets.js +10 -10
  265. package/dist/components/tet-datepicker-header.js +1 -1
  266. package/dist/components/tet-datepicker-month-view.js +1 -1
  267. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  268. package/dist/components/tet-datepicker-year-view.js +1 -1
  269. package/dist/components/tet-datepicker.js +10 -10
  270. package/dist/components/tet-dialog.js +1 -1
  271. package/dist/components/tet-display.js +8 -8
  272. package/dist/components/tet-divider.js +7 -7
  273. package/dist/components/tet-dropdown.js +1 -1
  274. package/dist/components/tet-dynamic-card.js +4 -4
  275. package/dist/components/tet-expandable-input.js +3 -3
  276. package/dist/components/tet-expansion-panel.js +2 -2
  277. package/dist/components/tet-feedback-form.js +7 -7
  278. package/dist/components/tet-filter.js +4 -4
  279. package/dist/components/tet-floating-block.js +3 -3
  280. package/dist/components/tet-font-weight.js +2 -2
  281. package/dist/components/tet-fonts.js +2 -2
  282. package/dist/components/tet-grid.js +2 -2
  283. package/dist/components/tet-icon.js +1 -1
  284. package/dist/components/tet-inline-message.js +2 -2
  285. package/dist/components/tet-input.js +1 -1
  286. package/dist/components/tet-label.js +5 -5
  287. package/dist/components/tet-layout.js +2 -2
  288. package/dist/components/tet-link-card-list.js +3 -3
  289. package/dist/components/tet-link.js +2 -2
  290. package/dist/components/tet-loader.js +1 -1
  291. package/dist/components/tet-macd-view.js +10 -10
  292. package/dist/components/tet-menu-mobile.js +2 -2
  293. package/dist/components/tet-menu.js +2 -2
  294. package/dist/components/tet-multi-step-dialog.js +6 -6
  295. package/dist/components/tet-navigation-mobile.js +5 -5
  296. package/dist/components/tet-news-card-list.js +5 -5
  297. package/dist/components/tet-notification.js +1 -1
  298. package/dist/components/tet-number-input.js +1 -1
  299. package/dist/components/tet-placeholder.js +1 -1
  300. package/dist/components/tet-position.js +7 -7
  301. package/dist/components/tet-price-view.js +1 -1
  302. package/dist/components/tet-radio.js +1 -1
  303. package/dist/components/tet-range-slider.js +1 -1
  304. package/dist/components/tet-referral.js +8 -8
  305. package/dist/components/tet-round-stepper.js +2 -2
  306. package/dist/components/tet-selection-list.js +1 -1
  307. package/dist/components/tet-snicker-card-badge.js +1 -1
  308. package/dist/components/tet-spacing.js +2 -2
  309. package/dist/components/tet-spinner.js +1 -1
  310. package/dist/components/tet-stepper-input.js +1 -1
  311. package/dist/components/tet-stepper-v2.js +1 -1
  312. package/dist/components/tet-stepper-v3.js +1 -1
  313. package/dist/components/tet-stepper.js +1 -1
  314. package/dist/components/tet-support-search.d.ts +11 -0
  315. package/dist/components/tet-support-search.js +256 -0
  316. package/dist/components/tet-switch.js +1 -1
  317. package/dist/components/tet-tab-content.js +1 -1
  318. package/dist/components/tet-tab-header.js +1 -1
  319. package/dist/components/tet-table.js +4 -4
  320. package/dist/components/tet-tag-group.js +1 -1
  321. package/dist/components/tet-tag.js +1 -1
  322. package/dist/components/tet-text-list.js +1 -1
  323. package/dist/components/tet-text.js +7 -7
  324. package/dist/components/tet-textarea.js +1 -1
  325. package/dist/components/tet-thank-you-view-v2.js +6 -6
  326. package/dist/components/tet-thank-you-view-v3.js +6 -6
  327. package/dist/components/tet-thank-you-view.js +5 -5
  328. package/dist/components/tet-tooltip.js +1 -1
  329. package/dist/components/tet-tv-gift-block.js +2 -2
  330. package/dist/components/tet-tv-gift-list.js +4 -4
  331. package/dist/esm/{address-1e0810e7.js → address-20e2d850.js} +1 -1
  332. package/dist/esm/{assets-e1349520.js → assets-894007df.js} +1 -1
  333. package/dist/esm/{async-request-4c945e13.js → async-request-ae1056de.js} +1 -1
  334. package/dist/esm/{debounce-dee91907.js → debounce-33d1ec42.js} +1 -1
  335. package/dist/esm/{http-codes-1927ea00.js → http-codes-cf0086d4.js} +1 -1
  336. package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
  337. package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +13 -9
  338. package/dist/esm/loader.js +3 -3
  339. package/dist/esm/{phone-1a920c5c.js → phone-62660137.js} +2 -2
  340. package/dist/esm/{product-comparison-dd90c721.js → product-comparison-cb8955f6.js} +1 -1
  341. package/dist/esm/tet-accordion.entry.js +7 -7
  342. package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
  343. package/dist/esm/tet-address-offers-view.entry.js +4 -4
  344. package/dist/esm/tet-address-offers_4.entry.js +9 -9
  345. package/dist/esm/tet-address-search.entry.js +8 -8
  346. package/dist/esm/tet-asset-addresses.entry.js +3 -3
  347. package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
  348. package/dist/esm/tet-autocomplete.entry.js +22 -11
  349. package/dist/esm/tet-b2b-check-out-form_5.entry.js +6 -6
  350. package/dist/esm/tet-b2b-configurator.entry.js +4 -4
  351. package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
  352. package/dist/esm/tet-banner-nav.entry.js +3 -3
  353. package/dist/esm/tet-bar-graph.entry.js +1 -1
  354. package/dist/esm/tet-border-radius.entry.js +2 -2
  355. package/dist/esm/tet-business-card.entry.js +1 -1
  356. package/dist/esm/tet-business-compare-card.entry.js +3 -3
  357. package/dist/esm/tet-business-lines.entry.js +5 -5
  358. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  359. package/dist/esm/tet-button.entry.js +1 -1
  360. package/dist/esm/tet-card-list.entry.js +5 -5
  361. package/dist/esm/tet-carousel.entry.js +9 -9
  362. package/dist/esm/tet-checkbox.entry.js +1 -1
  363. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  364. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  365. package/dist/esm/tet-colors.entry.js +5 -5
  366. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  367. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  368. package/dist/esm/tet-compare-cards_2.entry.js +5 -5
  369. package/dist/esm/tet-components.js +3 -3
  370. package/dist/esm/tet-contact-form.entry.js +6 -6
  371. package/dist/esm/tet-contact-info.entry.js +1 -1
  372. package/dist/esm/tet-container_2.entry.js +1 -1
  373. package/dist/esm/tet-counter.entry.js +1 -1
  374. package/dist/esm/tet-customer-assets.entry.js +4 -4
  375. package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
  376. package/dist/esm/tet-datepicker.entry.js +5 -5
  377. package/dist/esm/tet-dialog.entry.js +3 -3
  378. package/dist/esm/tet-display.entry.js +1 -1
  379. package/dist/esm/tet-divider.entry.js +1 -1
  380. package/dist/esm/tet-dropdown_2.entry.js +2 -2
  381. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  382. package/dist/esm/tet-expandable-input.entry.js +1 -1
  383. package/dist/esm/tet-expansion-panel.entry.js +2 -2
  384. package/dist/esm/tet-feedback-form.entry.js +3 -3
  385. package/dist/esm/tet-filter.entry.js +1 -1
  386. package/dist/esm/tet-floating-block.entry.js +1 -1
  387. package/dist/esm/tet-font-weight.entry.js +2 -2
  388. package/dist/esm/tet-fonts.entry.js +2 -2
  389. package/dist/esm/tet-grid.entry.js +2 -2
  390. package/dist/esm/tet-icon.entry.js +3 -3
  391. package/dist/esm/tet-inline-message.entry.js +1 -1
  392. package/dist/esm/tet-input.entry.js +10 -5
  393. package/dist/esm/tet-label.entry.js +5 -5
  394. package/dist/esm/tet-layout.entry.js +2 -2
  395. package/dist/esm/tet-link-card-list.entry.js +1 -1
  396. package/dist/esm/tet-link.entry.js +2 -2
  397. package/dist/esm/tet-loader.entry.js +2 -2
  398. package/dist/esm/tet-macd-view.entry.js +6 -6
  399. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  400. package/dist/esm/tet-menu.entry.js +1 -1
  401. package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
  402. package/dist/esm/tet-navigation-mobile.entry.js +4 -4
  403. package/dist/esm/tet-news-card-list.entry.js +2 -2
  404. package/dist/esm/tet-notification.entry.js +2 -2
  405. package/dist/esm/tet-number-input.entry.js +1 -1
  406. package/dist/esm/tet-placeholder.entry.js +2 -2
  407. package/dist/esm/tet-position.entry.js +1 -1
  408. package/dist/esm/tet-price-view.entry.js +1 -1
  409. package/dist/esm/tet-radio.entry.js +1 -1
  410. package/dist/esm/tet-range-slider.entry.js +9 -9
  411. package/dist/esm/tet-referral.entry.js +7 -7
  412. package/dist/esm/tet-round-stepper.entry.js +1 -1
  413. package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
  414. package/dist/esm/tet-spacing.entry.js +2 -2
  415. package/dist/esm/tet-spinner.entry.js +4 -4
  416. package/dist/esm/tet-stepper-input.entry.js +4 -4
  417. package/dist/esm/tet-stepper-v2.entry.js +1 -1
  418. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  419. package/dist/esm/tet-stepper.entry.js +1 -1
  420. package/dist/esm/tet-support-search.entry.js +188 -0
  421. package/dist/esm/tet-switch.entry.js +4 -4
  422. package/dist/esm/tet-tab-header.entry.js +4 -4
  423. package/dist/esm/tet-table.entry.js +2 -2
  424. package/dist/esm/tet-tag_2.entry.js +5 -5
  425. package/dist/esm/tet-text-list.entry.js +1 -1
  426. package/dist/esm/tet-text.entry.js +1 -1
  427. package/dist/esm/tet-textarea.entry.js +3 -3
  428. package/dist/esm/tet-thank-you-view-v2.entry.js +4 -4
  429. package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
  430. package/dist/esm/tet-thank-you-view.entry.js +2 -2
  431. package/dist/esm/tet-tv-gift-block.entry.js +2 -2
  432. package/dist/esm/tet-tv-gift-list.entry.js +3 -3
  433. package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-cf4d7d54.js} +2 -2
  434. package/dist/esm/{translations-4712c45f.js → translations-e60db8fd.js} +1 -1
  435. package/dist/tet-components/{p-5391d594.entry.js → p-0bf60061.entry.js} +1 -1
  436. package/dist/tet-components/{p-a7b563a4.entry.js → p-0cbaaeef.entry.js} +1 -1
  437. package/dist/tet-components/{p-43c3b078.entry.js → p-0ff24bbc.entry.js} +1 -1
  438. package/dist/tet-components/{p-028e8ace.entry.js → p-125ceadf.entry.js} +1 -1
  439. package/dist/tet-components/{p-7a3c1254.entry.js → p-127b2895.entry.js} +1 -1
  440. package/dist/tet-components/{p-26b112a2.entry.js → p-12f975ff.entry.js} +1 -1
  441. package/dist/tet-components/{p-2a43ccef.entry.js → p-14c15a69.entry.js} +1 -1
  442. package/dist/tet-components/p-188169cd.entry.js +1 -0
  443. package/dist/tet-components/p-1b4da160.entry.js +1 -0
  444. package/dist/tet-components/p-1d35f1d4.entry.js +1 -0
  445. package/dist/tet-components/p-1e672d5b.entry.js +1 -0
  446. package/dist/tet-components/{p-bcca51cc.entry.js → p-1f5ed76c.entry.js} +1 -1
  447. package/dist/tet-components/{p-d4dc17f5.entry.js → p-206b137f.entry.js} +1 -1
  448. package/dist/tet-components/{p-81db4c30.entry.js → p-23c58fed.entry.js} +1 -1
  449. package/dist/tet-components/{p-be3a10d0.entry.js → p-24df18b9.entry.js} +1 -1
  450. package/dist/tet-components/{p-f6916bfc.entry.js → p-265701de.entry.js} +1 -1
  451. package/dist/tet-components/{p-00e4bbed.entry.js → p-27a27a6f.entry.js} +1 -1
  452. package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
  453. package/dist/tet-components/{p-7056a120.entry.js → p-31d0b400.entry.js} +1 -1
  454. package/dist/tet-components/{p-040c0f07.entry.js → p-346342a2.entry.js} +1 -1
  455. package/dist/tet-components/{p-3a3fd77f.entry.js → p-37d43e7a.entry.js} +1 -1
  456. package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
  457. package/dist/tet-components/{p-3fc6a020.entry.js → p-3b5e9fed.entry.js} +1 -1
  458. package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
  459. package/dist/tet-components/{p-4967b041.entry.js → p-4467148d.entry.js} +1 -1
  460. package/dist/tet-components/{p-4f5a19cb.entry.js → p-49402f08.entry.js} +1 -1
  461. package/dist/tet-components/{p-5e8466e6.entry.js → p-4b287640.entry.js} +1 -1
  462. package/dist/tet-components/{p-7c7fb42f.entry.js → p-4d935fc8.entry.js} +1 -1
  463. package/dist/tet-components/{p-33f2ed2e.entry.js → p-53d710a2.entry.js} +1 -1
  464. package/dist/tet-components/{p-cf479331.entry.js → p-54280bef.entry.js} +1 -1
  465. package/dist/tet-components/{p-584f54a7.entry.js → p-54750b41.entry.js} +1 -1
  466. package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
  467. package/dist/tet-components/{p-7de684c1.entry.js → p-5562d01c.entry.js} +1 -1
  468. package/dist/tet-components/{p-efdef0e5.entry.js → p-56813f4c.entry.js} +1 -1
  469. package/dist/tet-components/{p-4e58c5e2.entry.js → p-575b5351.entry.js} +1 -1
  470. package/dist/tet-components/{p-d5b72171.entry.js → p-576aac54.entry.js} +1 -1
  471. package/dist/tet-components/{p-71018cb8.entry.js → p-581b1f01.entry.js} +1 -1
  472. package/dist/tet-components/{p-ce850061.entry.js → p-589e8e4b.entry.js} +1 -1
  473. package/dist/tet-components/{p-5845a3dc.entry.js → p-59007fe7.entry.js} +1 -1
  474. package/dist/tet-components/{p-5533f71b.entry.js → p-593f9520.entry.js} +1 -1
  475. package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
  476. package/dist/tet-components/{p-0f2d1a9c.entry.js → p-5c98ce7f.entry.js} +1 -1
  477. package/dist/tet-components/{p-cf11c4cd.entry.js → p-5f330fa1.entry.js} +1 -1
  478. package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
  479. package/dist/tet-components/{p-f9a0b36a.entry.js → p-63c6bd0e.entry.js} +1 -1
  480. package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
  481. package/dist/tet-components/{p-87bbb893.js → p-64ec8edd.js} +1 -1
  482. package/dist/tet-components/p-660bdc27.js +1 -0
  483. package/dist/tet-components/{p-e98108ba.entry.js → p-66c1854f.entry.js} +1 -1
  484. package/dist/tet-components/{p-b822a377.entry.js → p-6c292a03.entry.js} +1 -1
  485. package/dist/tet-components/{p-c10d5369.entry.js → p-6c6cd148.entry.js} +1 -1
  486. package/dist/tet-components/{p-ae8ff573.entry.js → p-6cf6894d.entry.js} +1 -1
  487. package/dist/tet-components/{p-ed044f47.entry.js → p-6e57defa.entry.js} +1 -1
  488. package/dist/tet-components/{p-76526271.entry.js → p-6fb8c506.entry.js} +1 -1
  489. package/dist/tet-components/{p-32ece6e1.entry.js → p-6ffacde3.entry.js} +1 -1
  490. package/dist/tet-components/{p-c13b2ba7.entry.js → p-71783e88.entry.js} +1 -1
  491. package/dist/tet-components/{p-0ebbf5ef.js → p-726651bc.js} +1 -1
  492. package/dist/tet-components/p-72e93e4c.entry.js +1 -0
  493. package/dist/tet-components/{p-46975ec4.entry.js → p-73c190a2.entry.js} +1 -1
  494. package/dist/tet-components/{p-629a9a5d.entry.js → p-7ee7b3d9.entry.js} +1 -1
  495. package/dist/tet-components/{p-6dde4d69.entry.js → p-869f802c.entry.js} +1 -1
  496. package/dist/tet-components/{p-fa446e53.entry.js → p-87b6fe17.entry.js} +1 -1
  497. package/dist/tet-components/p-8adc0ab3.entry.js +1 -0
  498. package/dist/tet-components/{p-10e72480.entry.js → p-8b93b91f.entry.js} +1 -1
  499. package/dist/tet-components/{p-c31236d5.entry.js → p-8cdad878.entry.js} +1 -1
  500. package/dist/tet-components/{p-5a6fc34c.entry.js → p-8d0c5a09.entry.js} +1 -1
  501. package/dist/tet-components/{p-f5d4d8c8.entry.js → p-8fae4e03.entry.js} +1 -1
  502. package/dist/tet-components/{p-09e92f79.entry.js → p-95fbc38f.entry.js} +1 -1
  503. package/dist/tet-components/p-97a4e6d0.entry.js +1 -0
  504. package/dist/tet-components/{p-7a3e4581.entry.js → p-98896fce.entry.js} +1 -1
  505. package/dist/tet-components/{p-0e2dbd84.entry.js → p-9bc92020.entry.js} +1 -1
  506. package/dist/tet-components/{p-f16514db.entry.js → p-9bd457d2.entry.js} +1 -1
  507. package/dist/tet-components/{p-da0fc55d.entry.js → p-9c263933.entry.js} +1 -1
  508. package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
  509. package/dist/tet-components/{p-d9560c74.entry.js → p-a7cf9c43.entry.js} +1 -1
  510. package/dist/tet-components/{p-bb7d4ae2.entry.js → p-a99c273f.entry.js} +1 -1
  511. package/dist/tet-components/{p-f6fbba3e.entry.js → p-a9d2c4cb.entry.js} +1 -1
  512. package/dist/tet-components/{p-0d5562a1.entry.js → p-af86e2dc.entry.js} +1 -1
  513. package/dist/tet-components/{p-f68450a4.entry.js → p-b22de340.entry.js} +1 -1
  514. package/dist/tet-components/{p-ce4b6943.entry.js → p-b2c138f0.entry.js} +1 -1
  515. package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
  516. package/dist/tet-components/{p-872bbccf.entry.js → p-b468a922.entry.js} +1 -1
  517. package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
  518. package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
  519. package/dist/tet-components/{p-62bcf382.entry.js → p-bbc96f81.entry.js} +1 -1
  520. package/dist/tet-components/{p-b0fc3440.entry.js → p-c65385bd.entry.js} +1 -1
  521. package/dist/tet-components/{p-43fd6ff8.entry.js → p-c77a6f82.entry.js} +1 -1
  522. package/dist/tet-components/{p-b34e86ef.entry.js → p-c9583427.entry.js} +1 -1
  523. package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
  524. package/dist/tet-components/{p-55be4b32.entry.js → p-ca43526e.entry.js} +1 -1
  525. package/dist/tet-components/{p-b4ecbc40.entry.js → p-d028d7c4.entry.js} +1 -1
  526. package/dist/tet-components/{p-39796998.entry.js → p-d3db997e.entry.js} +1 -1
  527. package/dist/tet-components/{p-ee3604eb.entry.js → p-d5945e9c.entry.js} +1 -1
  528. package/dist/tet-components/{p-73411459.entry.js → p-e35d7379.entry.js} +1 -1
  529. package/dist/tet-components/{p-a64e3e96.entry.js → p-e74416dc.entry.js} +1 -1
  530. package/dist/tet-components/{p-c9f21fde.entry.js → p-ec5b1040.entry.js} +1 -1
  531. package/dist/tet-components/{p-1d0c3563.entry.js → p-ef84df23.entry.js} +1 -1
  532. package/dist/tet-components/{p-2738fbb7.entry.js → p-efc8d952.entry.js} +1 -1
  533. package/dist/tet-components/{p-f06fb66c.entry.js → p-f3fc1267.entry.js} +1 -1
  534. package/dist/tet-components/{p-2328b1d4.entry.js → p-f9c98275.entry.js} +1 -1
  535. package/dist/tet-components/{p-798aa31d.entry.js → p-fc04e584.entry.js} +1 -1
  536. package/dist/tet-components/{p-5d70599c.entry.js → p-fd5db2e4.entry.js} +1 -1
  537. package/dist/tet-components/tet-components.esm.js +1 -1
  538. package/dist/types/components/advanced/address/tet-autocomplete/tet-autocomplete.d.ts +3 -0
  539. package/dist/types/components/advanced/search/tet-support-search/tet-support-search.d.ts +83 -0
  540. package/dist/types/components/simple/inputs/tet-input/tet-input.d.ts +4 -0
  541. package/dist/types/components.d.ts +139 -0
  542. package/dist/types/services/api/services/article-search.d.ts +9 -0
  543. package/dist/types/services/utils/index.d.ts +16 -16
  544. package/dist/types/services/utils/inner-text-from-html.d.ts +9 -0
  545. package/package.json +1 -1
  546. package/dist/tet-components/p-0690732e.entry.js +0 -1
  547. package/dist/tet-components/p-33768388.entry.js +0 -1
  548. package/dist/tet-components/p-6297692b.entry.js +0 -1
  549. package/dist/tet-components/p-75927057.entry.js +0 -1
  550. package/dist/tet-components/p-79700f85.entry.js +0 -1
  551. package/dist/tet-components/p-a903f58f.entry.js +0 -1
  552. package/dist/tet-components/p-f81d95ae.js +0 -1
@@ -0,0 +1,373 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { findArticles } from "../../../../services/api/services/article-search";
3
+ import { normalize, debounceAsync, innerTextFromHtml } from "../../../../services/utils/index";
4
+ /**
5
+ * Support search input with autocomplete suggestions fetched from the configured support search API endpoint.
6
+ * Emits `searchSubmitted` for manual searches and `optionSelected` when a suggested article is chosen.
7
+ */
8
+ export class TetSupportSearch {
9
+ constructor() {
10
+ this.theme = 'light';
11
+ this.minSearchLength = 4;
12
+ this.showInputLabel = false;
13
+ this.labels = undefined;
14
+ this.disabled = false;
15
+ this.searchApiUrl = '';
16
+ this.maxSearchResults = 5;
17
+ this.inputIconRight = '';
18
+ this.inputValueLength = 0;
19
+ this.isLoading = false;
20
+ }
21
+ /** The event that is emitted when the user clicks the search button. */
22
+ searchSubmitted;
23
+ /** The autocomplete option selection event. */
24
+ optionSelected;
25
+ /** The reference to the native input element inside tet-input. */
26
+ nativeInput;
27
+ /** The reference to the tet-input element. */
28
+ inputComponent;
29
+ /** Pre-bound callback references to preserve component context when passing methods as handlers. */
30
+ boundOptionsFilterFunction = this.optionsFilterFunction.bind(this);
31
+ boundFinishedLoadingFunction = this.finishedLoading.bind(this);
32
+ boundHandleAutocompleteOptionSelection = this.handleAutocompleteOptionSelection.bind(this);
33
+ boundHandleSearchSubmit = this.handleSearchSubmit.bind(this);
34
+ boundHandleInputRightIcon = this.handleInputRightIcon.bind(this);
35
+ boundRenderOption = this.renderOption.bind(this);
36
+ onDisabledStateChange() {
37
+ if (this.disabled) {
38
+ this.removeIconRight();
39
+ }
40
+ else {
41
+ this.inputValueLength && this.addClearIcon();
42
+ }
43
+ }
44
+ /** Resets the input value, icon, and loading state to the initial state. */
45
+ async resetInputState() {
46
+ if (this.nativeInput) {
47
+ this.nativeInput.value = '';
48
+ }
49
+ this.inputValueLength = 0;
50
+ this.isLoading = false;
51
+ this.removeIconRight();
52
+ }
53
+ async componentDidLoad() {
54
+ this.nativeInput = await this.inputComponent.getInputHtmlElement();
55
+ this.nativeInput?.addEventListener('input', this.boundHandleInputRightIcon);
56
+ }
57
+ disconnectedCallback() {
58
+ this.nativeInput?.removeEventListener('input', this.boundHandleInputRightIcon);
59
+ }
60
+ handleInputRightIcon({ target }) {
61
+ const value = normalize(target.value);
62
+ this.inputValueLength = value.length;
63
+ if (this.inputValueLength >= this.minSearchLength) {
64
+ this.addLoadIcon();
65
+ this.removeIconRight();
66
+ return;
67
+ }
68
+ if (value && !this.inputIconRight) {
69
+ this.addClearIcon();
70
+ }
71
+ if (!value && this.inputIconRight) {
72
+ this.removeIconRight();
73
+ }
74
+ }
75
+ /**
76
+ * Filters autocomplete options by the given keyword.
77
+ *
78
+ * @param keyword
79
+ */
80
+ async optionsFilterFunction(keyword) {
81
+ if (keyword.length < this.minSearchLength || !this.searchApiUrl) {
82
+ return [];
83
+ }
84
+ const articles = await findArticles(this.searchApiUrl, keyword);
85
+ const limitedArticles = articles.slice(0, this.maxSearchResults);
86
+ const articleOptions = limitedArticles.map(({ title, id, description, categories, url }) => {
87
+ const label = innerTextFromHtml(title);
88
+ return {
89
+ label,
90
+ value: { id, description, categories, url, htmlLabel: title },
91
+ };
92
+ });
93
+ if (articleOptions.length > 0) {
94
+ articleOptions.push({
95
+ label: this.labels.moreResultsLabel,
96
+ value: 'more-results',
97
+ clickCallback: this.boundHandleSearchSubmit,
98
+ ignoreHighlighting: true,
99
+ cssPart: `more-results`
100
+ });
101
+ }
102
+ return articleOptions;
103
+ }
104
+ debounceOptionsFilter = debounceAsync(this.boundOptionsFilterFunction, 300);
105
+ removeIconRight() {
106
+ this.inputIconRight = '';
107
+ }
108
+ addClearIcon() {
109
+ this.isLoading = false;
110
+ this.inputIconRight = 'tc-close';
111
+ }
112
+ /** Removes the loader icon and adds the clear icon. */
113
+ finishedLoading() {
114
+ this.removeIconRight();
115
+ if (this.inputValueLength >= 1) {
116
+ this.addClearIcon();
117
+ }
118
+ }
119
+ addLoadIcon() {
120
+ this.isLoading = true;
121
+ }
122
+ /**
123
+ * The function that is executed when an autocomplete option is selected.
124
+ *
125
+ * @param event
126
+ */
127
+ handleAutocompleteOptionSelection(event) {
128
+ event.stopPropagation();
129
+ const { label, value, _originalEvent } = event.detail;
130
+ const detail = {
131
+ label,
132
+ id: value.id,
133
+ url: value.url,
134
+ originalEvent: _originalEvent
135
+ };
136
+ this.optionSelected.emit(detail);
137
+ }
138
+ handleSearchSubmit() {
139
+ this.searchSubmitted.emit(this.nativeInput?.value ?? '');
140
+ }
141
+ renderOption(option) {
142
+ 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) => ([
144
+ h("span", { innerHTML: category }),
145
+ (i < categories.length - 1) && (h("tet-icon", { name: "tc-chevron-right-small", theme: this.theme, type: "secondary", part: "option-category-separator" }))
146
+ ])))))));
147
+ }
148
+ render() {
149
+ return (h(Host, { key: '2fcf66c81bc71b0a869760c2df5e4279e1490cc2', class: {
150
+ "search-container": true,
151
+ [this.theme]: true,
152
+ } }, h("div", { key: '899abc00ebffe0b6d8f0cad8c724f432d83841ff', class: "search-container__inner-wrapper" }, h("tet-autocomplete", { key: '01c77e473e4afeac84736469e2fec4d9cc3f65dc', optionsFilterAction: this.debounceOptionsFilter, onOptionSelected: this.boundHandleAutocompleteOptionSelection, noOptionsMessage: this.labels.notFoundMessage, customOptionRenderFunction: this.boundRenderOption, finishedLoading: this.boundFinishedLoadingFunction, darkTheme: this.theme === 'dark', newStyle: true }, h("tet-input", { key: '650b286ac63028063ed50dc8b19afcd9b848acc3', 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.resetInputState(), iconRightAccessibilityLabel: this.labels.clearButtonLabel, theme: this.theme, ref: (el) => (this.inputComponent = el), autocomplete: "off" }, this.isLoading &&
153
+ h("tet-spinner", { key: 'e9e3028b2a69557a9ba39feb401e38fd9bf29fae', theme: this.theme, class: "search-container__spinner", size: "small" }))), h("tet-button", { key: '13611884e5fed25ef0f92ae8cfd281f73ba40911', 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: '6bd17d80b7e744ebdce53f2cd0e40aadc5fdc3f3', class: "search-container__button search-container__button--desktop", theme: this.theme, size: "large", disabled: this.disabled, onClick: this.boundHandleSearchSubmit }, this.labels.searchButtonLabel))));
154
+ }
155
+ static get is() { return "tet-support-search"; }
156
+ static get encapsulation() { return "shadow"; }
157
+ static get originalStyleUrls() {
158
+ return {
159
+ "$": ["tet-support-search.scss"]
160
+ };
161
+ }
162
+ static get styleUrls() {
163
+ return {
164
+ "$": ["tet-support-search.css"]
165
+ };
166
+ }
167
+ static get properties() {
168
+ return {
169
+ "theme": {
170
+ "type": "string",
171
+ "mutable": false,
172
+ "complexType": {
173
+ "original": "'light' | 'dark'",
174
+ "resolved": "\"dark\" | \"light\"",
175
+ "references": {}
176
+ },
177
+ "required": false,
178
+ "optional": false,
179
+ "docs": {
180
+ "tags": [],
181
+ "text": "The theme of the component."
182
+ },
183
+ "attribute": "theme",
184
+ "reflect": false,
185
+ "defaultValue": "'light'"
186
+ },
187
+ "minSearchLength": {
188
+ "type": "number",
189
+ "mutable": false,
190
+ "complexType": {
191
+ "original": "number",
192
+ "resolved": "number",
193
+ "references": {}
194
+ },
195
+ "required": false,
196
+ "optional": false,
197
+ "docs": {
198
+ "tags": [],
199
+ "text": "The minimum length of the keyword before search functionality is applied."
200
+ },
201
+ "attribute": "min-search-length",
202
+ "reflect": false,
203
+ "defaultValue": "4"
204
+ },
205
+ "showInputLabel": {
206
+ "type": "boolean",
207
+ "mutable": false,
208
+ "complexType": {
209
+ "original": "boolean",
210
+ "resolved": "boolean",
211
+ "references": {}
212
+ },
213
+ "required": false,
214
+ "optional": false,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": "Determines if the input label should be shown."
218
+ },
219
+ "attribute": "show-input-label",
220
+ "reflect": false,
221
+ "defaultValue": "false"
222
+ },
223
+ "labels": {
224
+ "type": "unknown",
225
+ "mutable": false,
226
+ "complexType": {
227
+ "original": "Labels",
228
+ "resolved": "Labels",
229
+ "references": {
230
+ "Labels": {
231
+ "location": "local",
232
+ "path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/search/tet-support-search/tet-support-search.tsx",
233
+ "id": "src/components/advanced/search/tet-support-search/tet-support-search.tsx::Labels"
234
+ }
235
+ }
236
+ },
237
+ "required": false,
238
+ "optional": false,
239
+ "docs": {
240
+ "tags": [],
241
+ "text": "Required labels and texts used in the component."
242
+ }
243
+ },
244
+ "disabled": {
245
+ "type": "boolean",
246
+ "mutable": false,
247
+ "complexType": {
248
+ "original": "boolean",
249
+ "resolved": "boolean",
250
+ "references": {}
251
+ },
252
+ "required": false,
253
+ "optional": false,
254
+ "docs": {
255
+ "tags": [],
256
+ "text": "The enabled or disabled state of the component."
257
+ },
258
+ "attribute": "disabled",
259
+ "reflect": false,
260
+ "defaultValue": "false"
261
+ },
262
+ "searchApiUrl": {
263
+ "type": "string",
264
+ "mutable": false,
265
+ "complexType": {
266
+ "original": "string",
267
+ "resolved": "string",
268
+ "references": {}
269
+ },
270
+ "required": false,
271
+ "optional": false,
272
+ "docs": {
273
+ "tags": [],
274
+ "text": "URL of the search API endpoint used to fetch autocomplete results for the entered query."
275
+ },
276
+ "attribute": "search-api-url",
277
+ "reflect": false,
278
+ "defaultValue": "''"
279
+ },
280
+ "maxSearchResults": {
281
+ "type": "number",
282
+ "mutable": false,
283
+ "complexType": {
284
+ "original": "number",
285
+ "resolved": "number",
286
+ "references": {}
287
+ },
288
+ "required": false,
289
+ "optional": false,
290
+ "docs": {
291
+ "tags": [],
292
+ "text": "The maximum number of search results to be shown in the dropdown."
293
+ },
294
+ "attribute": "max-search-results",
295
+ "reflect": false,
296
+ "defaultValue": "5"
297
+ }
298
+ };
299
+ }
300
+ static get states() {
301
+ return {
302
+ "inputIconRight": {},
303
+ "inputValueLength": {},
304
+ "isLoading": {}
305
+ };
306
+ }
307
+ static get events() {
308
+ return [{
309
+ "method": "searchSubmitted",
310
+ "name": "searchSubmitted",
311
+ "bubbles": true,
312
+ "cancelable": true,
313
+ "composed": true,
314
+ "docs": {
315
+ "tags": [],
316
+ "text": "The event that is emitted when the user clicks the search button."
317
+ },
318
+ "complexType": {
319
+ "original": "string",
320
+ "resolved": "string",
321
+ "references": {}
322
+ }
323
+ }, {
324
+ "method": "optionSelected",
325
+ "name": "optionSelected",
326
+ "bubbles": true,
327
+ "cancelable": true,
328
+ "composed": true,
329
+ "docs": {
330
+ "tags": [],
331
+ "text": "The autocomplete option selection event."
332
+ },
333
+ "complexType": {
334
+ "original": "OptionSelectedEventDetail",
335
+ "resolved": "{ label: string; id: string | number; url: string; originalEvent: Event; }",
336
+ "references": {
337
+ "OptionSelectedEventDetail": {
338
+ "location": "local",
339
+ "path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/search/tet-support-search/tet-support-search.tsx",
340
+ "id": "src/components/advanced/search/tet-support-search/tet-support-search.tsx::OptionSelectedEventDetail"
341
+ }
342
+ }
343
+ }
344
+ }];
345
+ }
346
+ static get methods() {
347
+ return {
348
+ "resetInputState": {
349
+ "complexType": {
350
+ "signature": "() => Promise<void>",
351
+ "parameters": [],
352
+ "references": {
353
+ "Promise": {
354
+ "location": "global",
355
+ "id": "global::Promise"
356
+ }
357
+ },
358
+ "return": "Promise<void>"
359
+ },
360
+ "docs": {
361
+ "text": "Resets the input value, icon, and loading state to the initial state.",
362
+ "tags": []
363
+ }
364
+ }
365
+ };
366
+ }
367
+ static get watchers() {
368
+ return [{
369
+ "propName": "disabled",
370
+ "methodName": "onDisabledStateChange"
371
+ }];
372
+ }
373
+ }
@@ -46,16 +46,16 @@ export class TetSwitch {
46
46
  }
47
47
  render() {
48
48
  const { label, name, theme, disabled, checked, accessibilityLabel, labelFont, alignCenter, labelPosition } = this;
49
- return (h(Host, { key: 'b9ab784392f96bcd9c675a17309a074f257c1b6a' }, h("div", { key: 'c747d4f40d343d3fb437a6371e60c4409242e0a7', class: { 'switch': true, [`${theme}`]: true } }, h("label", { key: '51521ad5b256229e559c1264edfcbddff077f01e', class: {
49
+ return (h(Host, { key: '9353eee67de4abd810beea107865694ee2c36fb2' }, h("div", { key: '6bbae8932cb99a054e3ed9f02ea18f8925b0dc8d', class: { 'switch': true, [`${theme}`]: true } }, h("label", { key: 'feaa3924ba8a2b869d5130fcf44194809123ffbb', class: {
50
50
  'switch__container': true,
51
51
  'switch__container--align-start': !alignCenter,
52
52
  [`switch__container--${labelFont}`]: true,
53
53
  'switch__container--focus-style': this.focusStyleOnContainer,
54
- }, part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: '24429f5b7d57b9ab1d94bfbf5ae8fcb1af156c82', class: "switch__html-input", name: name, id: "tet-switch", type: "checkbox", disabled: disabled, checked: checked, onChange: this.handleChange.bind(this), ...(accessibilityLabel ? { "aria-label": accessibilityLabel } : {}) }), labelPosition === 'right' && this.renderSwitch(), h("span", { key: '259bfd14a0082b379a733f5605eb760f5cb5dfaf', class: {
54
+ }, part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: 'a6cdceb08729e1d6f156c93af49e8963db480744', class: "switch__html-input", name: name, id: "tet-switch", type: "checkbox", disabled: disabled, checked: checked, onChange: this.handleChange.bind(this), ...(accessibilityLabel ? { "aria-label": accessibilityLabel } : {}) }), labelPosition === 'right' && this.renderSwitch(), h("span", { key: '19482e239c3c5b873751f04f9c6e387bf36dff7d', class: {
55
55
  'switch__label': true,
56
56
  ...(labelPosition === 'left' ? { 'switch__label--left': true } : {}),
57
57
  ...(labelFont ? { [`switch__label--${labelFont}`]: true } : {}),
58
- }, innerHTML: label }, h("slot", { key: '17bd908993e20dba389ebea6165bba4546bd4853' })), labelPosition === 'left' && this.renderSwitch()))));
58
+ }, innerHTML: label }, h("slot", { key: '20487b7313d9a0393f0056eb972200f13645c6d2' })), labelPosition === 'left' && this.renderSwitch()))));
59
59
  }
60
60
  static get is() { return "tet-switch"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -161,11 +161,11 @@ export class TetTabContent {
161
161
  this.selectedId = id;
162
162
  }
163
163
  render() {
164
- return (h(Host, { key: 'b6c8711fc9850aeaf025e215f04fb2932d4208c4' }, h("div", { key: 'ab5f83843944f003cb6f75378f3768b95d295339', class: {
164
+ return (h(Host, { key: 'ced475171679de9cca4b613f81f0d6c0badbf286' }, h("div", { key: '55ab49bc392db797c16c37874fec99545e2a8de9', class: {
165
165
  'tet-tab-content': true,
166
166
  'use-visibility': this.useVisibility,
167
167
  [this.theme]: true
168
- } }, h("slot", { key: '38e182f182fe04c9dcd250323c0f9a5048362c6f' }))));
168
+ } }, h("slot", { key: '9e5e1dd3c987d5d899ac83a1cec08615e9732367' }))));
169
169
  }
170
170
  static get is() { return "tet-tab-content"; }
171
171
  static get encapsulation() { return "shadow"; }
@@ -471,14 +471,14 @@ export class TetTabHeader {
471
471
  return {};
472
472
  }
473
473
  render() {
474
- return (h(Host, { key: '8e1924cd0f19ed6987c8cda6df5d7c9cb044c569', "data-id-suffix": this.idSuffix }, h("div", { key: 'd5582e17dd959d569ff981180540b8acaf07803d', class: {
474
+ return (h(Host, { key: '5c045abbb1262176d0db6c82f3631c2d6e8460cb', "data-id-suffix": this.idSuffix }, h("div", { key: '95b8b8238282f8924d4f6b7307c29a08335155c2', class: {
475
475
  'tabs': true,
476
476
  'tabs--segmented': this.segmented,
477
477
  [this.position]: true,
478
478
  [this.theme]: true,
479
479
  [this.sizing]: true,
480
480
  [this.type]: !!this.type
481
- }, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: 'b7a3ed5fdfb64cb8ff2ab9614bea51d5b4c7f0a4', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: '7a1d6571c66f66a854be259817bb1d0e39e442ed', class: {
481
+ }, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: '0cf3da0a4a3daefeec430b107c4951760546e29d', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: '02f14be1cbb29f08c4a95e56dcabf13528f530ab', class: {
482
482
  'tabs-line': !this.segmented,
483
483
  'no-underline': this.hideHeaderUnderline,
484
484
  [this.theme]: true,
@@ -20,12 +20,12 @@ export class TetTag {
20
20
  processTranslations('tet-components', this.language).then(() => forceUpdate(this));
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: '400777c5cd77465279f0f3dd106ac26e6a15807c' }, h("button", { key: '98998a4119d014a1c7692bf8c409d81851c0a5fc', class: {
23
+ return (h(Host, { key: '69e61de08a865ff1cc66829a63ef817c6b49da85' }, h("button", { key: '530f302e2facb86c2f5fed622508f83a9f405284', class: {
24
24
  tag: true,
25
25
  'tag-active': this.active,
26
26
  'tag--icon': this.showIcon,
27
27
  [`theme-${this.theme}`]: true,
28
- }, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '08322bdc4685a7bd7896cc9d8fa39cb0845bf720', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'd0186bd43116b76036813a6b043d18d627d5dd80', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '479c9d4b1c60d72e9733ec17c8eabe49b7d8492e', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
28
+ }, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '85387ea3d832c4223058d994fefc61e66b80f1cb', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'ba57579100e91d04d5e56da8a504426b45f11863', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '76c08e7ddd6ec54e301bf3fc12ff5d9a0baad7d9', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
29
29
  }
30
30
  static get is() { return "tet-tag"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -890,22 +890,22 @@ export class TetCarousel {
890
890
  trackTransition = 'none';
891
891
  }
892
892
  }
893
- return (h(Host, { key: '9767de8c2faf3b0e4830a392c9ba0d86c613646e' }, h("div", { key: 'fa87bbfcf929287a5440accd922698d4ad1f6d4b', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: 'f5650393d39f906e8c47fd299680b09f82b00a07', class: "tet-carousel__container" }, h("div", { key: 'f6bd47326c58ef355d35e33c037025e1d5a7b5a8', class: "tet-carousel__gradient-left", ref: (el) => {
893
+ return (h(Host, { key: '1fc3deb3e6e9262c20d9efd2abeedbf8563decf4' }, h("div", { key: '41b6db12fd2fb76a80a1d6575bfd1124a94a2934', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '255d5aa266e74f878025e53d3fd8521d66ace586', class: "tet-carousel__container" }, h("div", { key: '687ae940a8e941b0f24f84263606e079fcdcdd7c', class: "tet-carousel__gradient-left", ref: (el) => {
894
894
  this.leftGradientRef = el;
895
- } }), h("div", { key: '685cad2d917518a83c6db28ef451563fe349c218', class: "tet-carousel__gradient-right", ref: (el) => {
895
+ } }), h("div", { key: '8dcf6c321a78b979916c66ffc633cd1f217c375a', class: "tet-carousel__gradient-right", ref: (el) => {
896
896
  this.rightGradientRef = el;
897
- } }), h("div", { key: '2f5acf14605c82e42c845766bd50e61a644a6fe6', class: `tet-carousel__track ${showControls ? '' : 'tet-carousel__track--center'}`, ref: (el) => (this.trackElement = el), style: {
897
+ } }), h("div", { key: '10ced8c4f5e98d3a6fd8127a010bfd6003865ba0', class: `tet-carousel__track ${showControls ? '' : 'tet-carousel__track--center'}`, ref: (el) => (this.trackElement = el), style: {
898
898
  transform: `translate3d(${this.dragOffset}px, 0, 0)`,
899
899
  transition: trackTransition,
900
900
  willChange: 'transform'
901
- }, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: '84bcc48d810f6cd0d15022cdc6d48841187613ad', class: {
901
+ }, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: 'e92fdef0719e7de5cc7103b54966f5af9a677236', class: {
902
902
  'tet-carousel__track-content': true,
903
903
  'tet-carousel__track-content--nudge': this.isNudgeAnimating
904
904
  }, ref: (el) => (this.trackContentElement = el), style: {
905
905
  '--tet-carousel-nudge-distance': `${TetCarousel.NUDGE_DISTANCE_PX}px`
906
- }, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: '008187ecc9d482ffd1565aaa2c6da818a7bf34ed' })))), !!this.label && h("div", { key: 'd040796e5dc156331fdb2356cd7bb20e7900f460', class: "tet-carousel__label" }, this.label), showControls && (h("div", { key: '4446a2194185bae6fef623d21790f89346378194', class: "tet-carousel__controls" }, showButtons && (h("div", { key: '6c3c10f149b11f9b6503392f16d2d74b526d74c8', class: "tet-carousel__buttons tet-carousel__buttons--mobile", ref: (el) => (this.mobileBackButtonWrapper = el) }, h("tet-button", { key: 'e8f3dad8e0978add649e844149b94072e366f4d8', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }))), showDots && (h("div", { key: 'a747eb625e0bf36603a279f29f17ccac16c2e84c', class: "tet-carousel__dots" }, Array.from({ length: this.dotCount }).map((_, idx) => (h("button", { type: "button", tabIndex: idx === this.activeDotIndex ? 0 : -1, class: `tet-carousel__dot${idx === this.activeDotIndex ? ' active' : ''}`, key: idx, "aria-label": `${idx === this.activeDotIndex
906
+ }, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: 'dfa939715794282bf8f23dc5e11f8726853d6d65' })))), !!this.label && h("div", { key: 'f071b398922a60152db92ce0531920a2f53cb7b1', class: "tet-carousel__label" }, this.label), showControls && (h("div", { key: 'e62f01e1fdb4d979f00b3d5766609a147a8ee1c4', class: "tet-carousel__controls" }, showButtons && (h("div", { key: 'ff466189f9a91c7c223945c5e082e6cff612d0f9', class: "tet-carousel__buttons tet-carousel__buttons--mobile", ref: (el) => (this.mobileBackButtonWrapper = el) }, h("tet-button", { key: '13af12bfd4c7fcc7cb414b8f0057513f523a8d13', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }))), showDots && (h("div", { key: 'e78cbe6992aec81ccaca814380a554be11b9bb94', class: "tet-carousel__dots" }, Array.from({ length: this.dotCount }).map((_, idx) => (h("button", { type: "button", tabIndex: idx === this.activeDotIndex ? 0 : -1, class: `tet-carousel__dot${idx === this.activeDotIndex ? ' active' : ''}`, key: idx, "aria-label": `${idx === this.activeDotIndex
907
907
  ? t('components-carousel-indicator-button-active')
908
- : t('components-carousel-indicator-button')} ${idx + 1}/${this.dotCount}`, "aria-current": idx === this.activeDotIndex ? 'true' : undefined, onPointerDown: (e) => e.stopPropagation(), onKeyDown: (event) => this.handleDotKeyDown(event, idx), onClick: () => this.handleDotClick(idx) }))))), showButtons && (h("div", { key: '4ffa948621436b96fb9b8d6b10308ec9aa98dff3', class: "tet-carousel__buttons" }, h("tet-button", { key: '43de7d0b8e92e6b1e0e2b7f1ff5f851c4fc75ead', class: "tet-carousel__buttons--desktop", theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }), h("tet-button", { key: 'eb7b1f82803e0bc39ffb41721a1a906dd5fc6d55', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconRight, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handleNext(), accessibilityLabel: t('components-carousel-next'), disabled: this.isRightNavigationDisabled() }))))))));
908
+ : t('components-carousel-indicator-button')} ${idx + 1}/${this.dotCount}`, "aria-current": idx === this.activeDotIndex ? 'true' : undefined, onPointerDown: (e) => e.stopPropagation(), onKeyDown: (event) => this.handleDotKeyDown(event, idx), onClick: () => this.handleDotClick(idx) }))))), showButtons && (h("div", { key: '78bcece033f881bf1b74fa5cec0c252f706ae5bf', class: "tet-carousel__buttons" }, h("tet-button", { key: '7edd52dfbf520ffe68b97d073c58ddbd86dd809c', class: "tet-carousel__buttons--desktop", theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }), h("tet-button", { key: 'd7daa187520f89d4ffb24348e1408e6658dc4d4a', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconRight, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handleNext(), accessibilityLabel: t('components-carousel-next'), disabled: this.isRightNavigationDisabled() }))))))));
909
909
  }
910
910
  static get is() { return "tet-carousel"; }
911
911
  static get encapsulation() { return "shadow"; }
@@ -50,7 +50,7 @@ export class TetIcon {
50
50
  };
51
51
  shouldUseDefaultColor = () => (this.useDefaultColor || defaultColorIcons.includes(this.name));
52
52
  render() {
53
- return (h("span", { key: 'ed320686c17d5866f26d5f418f328c6948d3640f', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", { key: '8d5eb263eba6ce33576caff437625d5f021f9b19', class: {
53
+ return (h("span", { key: '69140342318871e93c5af7ae735bc5bcf48871a2', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", { key: '50b9d8e357da93c531178787f9757ae5c8476eda', class: {
54
54
  'icon-container': true,
55
55
  'default-color': this.shouldUseDefaultColor(),
56
56
  [this.theme]: true,
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class TetLoader {
6
6
  render() {
7
- return (h("div", { key: '85b2d0e291d3ef70af1e83c6adba5ace485b9010', class: "loader" }, h("div", { key: '962714060397a7dec7af28e046e5cd6533ed4505', class: "loader-inner" })));
7
+ return (h("div", { key: '1f30e22daa123f5fb09fa3e5e6c22ada0e5abfb9', class: "loader" }, h("div", { key: '418a872069e33873223afefae0941d4e86a54072', 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: 'f9c9d1dfed194378e90fe06171441b0db34111cd', style: { width: this.width, height: this.height } }, h("div", { key: 'd1f3b190ecfae5bfbb58a4a84901bf6ff7da64dd', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '79e229334a49b944ef89c27e3aefbcd053f2dc9d', class: "placeholder", style: { height: this.height } }))));
12
+ return (h(Host, { key: 'e70566c609c168ce6849e92e0acd233ba07a4b5c', style: { width: this.width, height: this.height } }, h("div", { key: '591fb7e0b39cdc2fa415e66a6ecf41416763928f', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '22c17cfdd054de5bde801b07af0dd19d95aad779', class: "placeholder", style: { height: this.height } }))));
13
13
  }
14
14
  static get is() { return "tet-placeholder"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -48,13 +48,13 @@ export class TetSpinner {
48
48
  foreignObject.setAttribute('clip-path', 'url(#clip)');
49
49
  };
50
50
  render() {
51
- return (h("div", { key: 'c5de3ff62bae17c64468e3406729a4c4a3a587f8', ref: element => (this.spinner = element), class: {
51
+ return (h("div", { key: '13ae0e053eeada739f10619cbbf4f98eb10c389d', ref: element => (this.spinner = element), class: {
52
52
  spinner: true,
53
53
  [`${this.theme}-theme`]: true,
54
54
  [`size--${this.size}`]: true,
55
55
  [`spinner--${this.type}`]: true,
56
- } }, h("svg", { key: 'acb4ecdbf2a75a47aae09a18a1fa44d8f942b6c5', viewBox: "0 0 40 40" }, h("clipPath", { key: 'f45be4277077512749cd357ec78146d2d180cf46', id: "clip" }, h("path", { key: '4d82466e60d835501e4622ae28e6cc3b90229c33', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
57
- 0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '62877b47af730b01ec32cb094b24445c0a4fa328' }, h("div", { key: 'b09da6b267c7dcfee4e17bedd0bc297ffea54ace', class: "spinner__gradient" })))));
56
+ } }, h("svg", { key: 'b52bd4856e3b00b2f312c144d9efc4f3b177e9b1', viewBox: "0 0 40 40" }, h("clipPath", { key: 'bba9a5c73c41e135c288cfbe4f34e6841219cd5e', id: "clip" }, h("path", { key: 'e51d5c18783abd377adcf3b5d3555fcfbb45d758', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
57
+ 0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '11ecac3df9f973b0603780a477474d9ee2d5654b' }, h("div", { key: '92a728196dee849b2f43e4ab237d5e935405175a', class: "spinner__gradient" })))));
58
58
  }
59
59
  static get is() { return "tet-spinner"; }
60
60
  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: 'e126e5919f6be51dc62a20027556a7c0e803f9a4' }, h("div", { key: '08ce2538f49bb446d065eb7e1ca22e43ae732d3d', class: {
16
+ return (h(Host, { key: '9876dfb683eac5551d760607e9c3c5c697c57fac' }, h("div", { key: 'f9508bd2394f93ac8de72134926ceccfc8151030', 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: '7ebcaf67ad4fe0fa7fbab9956bbe5cbe7fc1016c', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: 'bcc130874d361d1765c5a0c6b2478e79435f2a63', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
21
+ } }, this.labelTitle && h("p", { key: '1c1367b3f17ba7cbe09a009703db9aa75b2b18d5', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: '3acc811cc3f9136a95b13e3d9be3489370159f0d', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
22
22
  }
23
23
  static get is() { return "tet-label"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -55,9 +55,9 @@ export class TetDatepickerHeader {
55
55
  this.datepickerViewChanged.emit(view);
56
56
  };
57
57
  render() {
58
- return (h("div", { key: 'eabd0fd41ab5d16da4c28f953b040a628c472825', class: "header" }, this.datepickerView !== 'year'
58
+ return (h("div", { key: '2f4f6ac6b1b1833d82dde21157ce6520c6aa8c7d', class: "header" }, this.datepickerView !== 'year'
59
59
  ? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
60
- : h("div", null), h("div", { key: 'a41aabaa5e06a7632874ea12e33ace557989594f', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: '6765d3880b0fa9dd11582d4109104d75c8e735e9', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
60
+ : h("div", null), h("div", { key: '2847bbb4cda20689ff7314c84ad2e1cd0db0eab4', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: 'd80fde6078109ad9eb9bac9a751bd3965d60925d', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
61
61
  ? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
62
62
  : h("div", null)));
63
63
  }
@@ -159,7 +159,7 @@ export class TetDatepickerMonthView {
159
159
  };
160
160
  };
161
161
  render() {
162
- return (h(Host, { key: '5006dcdcb3b2fb73458d2570ee3e5868e9746bad' }, h("div", { key: '397d63b6868d5f0bf83d78fe0281921b8eff9d3f', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'cb15ac94b2e1500655d0a98216d99b899da83b83', 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))))));
162
+ return (h(Host, { key: 'b3656c8199631d9c250d30a3810618488f6a4193' }, h("div", { key: '600d8c7b8c465afec62149ebc707212d0053741d', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'c80a3249c9c9bc613c54a4b6fe0c1b1557c0fcb4', class: "month-dates" }, this.previousMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date.getDate()))), this.monthDates.map(date => h("div", { class: this.getDateContainerClasses(date), onPointerEnter: (event) => this.setInRangeHover(date, event), onPointerLeave: (event) => this.removeInRangeHover(event) }, h("div", { class: this.getDateClasses(date), onClick: () => this.handleDateSelection(date) }, date.getDate()))), this.nextMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date))))));
163
163
  }
164
164
  static get is() { return "tet-datepicker-month-view"; }
165
165
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class TetDatepickerMultiYearView {
32
32
  return { year: true, current: year === currentYear, selected: this.isSelectedYear(year) };
33
33
  };
34
34
  render() {
35
- return (h("div", { key: '1015708cc1361091f9cd7e96c771c6d9f14053b3', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
35
+ return (h("div", { key: '1d0a9d61b12bea36428970f842ee568579120848', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
36
36
  }
37
37
  static get is() { return "tet-datepicker-multi-year-view"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -39,7 +39,7 @@ export class TetDatepickerYearView {
39
39
  };
40
40
  };
41
41
  render() {
42
- return (h("div", { key: 'c6cebcc616dc7ad4ebe644c37aafd1379ee86867', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
42
+ return (h("div", { key: '798ce08920471d6f52d33da79c38bce7575ce16c', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
43
43
  }
44
44
  static get is() { return "tet-datepicker-year-view"; }
45
45
  static get encapsulation() { return "shadow"; }
@@ -100,10 +100,10 @@ export class TetDatepicker {
100
100
  return { overlay: true, closed: !this.isOpen, 'overlay-effect': this.overlayEffect };
101
101
  };
102
102
  render() {
103
- return (h("div", { key: '86dabe383b21b6fda3d4ee7de596c1eb90dcca8f', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: 'd6ab55b8985e2a392f5f3ffbdce0cb53c5a48477', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '179b9fcceddfcfcdaac97b6def9d33d9746c3139', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
104
- h("tet-datepicker-month-view", { key: '9c9e0046ca5b1f287cc8464eb01d6a02c19596cf', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
105
- h("tet-datepicker-multi-year-view", { key: '378525502835c38a657722116e9d87ce3b649815', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
106
- h("tet-datepicker-year-view", { key: '5ad09fb548685b6cd3942d84ed687f848cb03130', selectedDate: this.date, internalDate: this.internalDate }))));
103
+ return (h("div", { key: '92c942fc6361a7d28b77fc67a2176fb32b34c4a8', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: 'de9b3e6fb1cd6bb816bd40257c39d59a91e7f67e', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: 'cadad1987474fd59280983c19fb7c14816dfa990', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
104
+ h("tet-datepicker-month-view", { key: '1dd2b9a88844de67d35824f75265b0b98c764bce', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
105
+ h("tet-datepicker-multi-year-view", { key: '5b28ac53a2cc050fbef71f79d6b86bdd0ad42650', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
106
+ h("tet-datepicker-year-view", { key: '28ae9b16de7f4b1db5457a8ca4de26e43a64acd8', selectedDate: this.date, internalDate: this.internalDate }))));
107
107
  }
108
108
  static get is() { return "tet-datepicker"; }
109
109
  static get encapsulation() { return "shadow"; }