@tet/tet-components 1.3.68-testing → 1.3.69-production

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/dist/cjs/{address-41ac19c2.js → address-7fde1462.js} +1 -1
  2. package/dist/cjs/{assets-0bdcfba7.js → assets-81eb2ab8.js} +1 -1
  3. package/dist/cjs/{async-request-42567909.js → async-request-f7162bb5.js} +1 -1
  4. package/dist/cjs/compare-cards-tab-products-filters-6a634be2.js +96 -0
  5. package/dist/cjs/{http-codes-bec9330b.js → http-codes-5b982e01.js} +2 -2
  6. package/dist/cjs/{index-84ede372.js → index-457201e1.js} +1 -1
  7. package/dist/cjs/{index-f559cb2e.js → index-66913c99.js} +11 -7
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/cjs/{old-utils-ff6ab3d4.js → old-utils-4ba8b736.js} +1 -1
  10. package/dist/cjs/{phone-96a87ac9.js → phone-54eba6d6.js} +2 -2
  11. package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
  12. package/dist/cjs/{tet-compare-card_4.cjs.entry.js → tet-address-offers-filters-products_4.cjs.entry.js} +234 -554
  13. package/dist/cjs/tet-address-offers-view.cjs.entry.js +7 -7
  14. package/dist/cjs/tet-address-offers_4.cjs.entry.js +110 -105
  15. package/dist/cjs/tet-address-search.cjs.entry.js +7 -7
  16. package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
  17. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
  18. package/dist/cjs/tet-autocomplete_2.cjs.entry.js +4 -4
  19. package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
  20. package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
  21. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  22. package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
  23. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  24. package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
  25. package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
  26. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  27. package/dist/cjs/tet-button.cjs.entry.js +1 -1
  28. package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
  29. package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
  30. package/dist/cjs/tet-checkbox.cjs.entry.js +1 -1
  31. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
  32. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
  33. package/dist/cjs/tet-colors.cjs.entry.js +5 -5
  34. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +32 -18
  35. package/dist/cjs/{tet-compare-cards.cjs.entry.js → tet-compare-cards_2.cjs.entry.js} +140 -7
  36. package/dist/cjs/tet-components.cjs.js +2 -2
  37. package/dist/cjs/tet-contact-form.cjs.entry.js +6 -6
  38. package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
  39. package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
  40. package/dist/cjs/tet-customer-assets.cjs.entry.js +4 -4
  41. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
  42. package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
  43. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  44. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  45. package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
  46. package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
  47. package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
  48. package/dist/cjs/tet-grid.cjs.entry.js +2 -2
  49. package/dist/cjs/tet-icon.cjs.entry.js +3 -3
  50. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  51. package/dist/cjs/tet-input.cjs.entry.js +3 -3
  52. package/dist/cjs/tet-label.cjs.entry.js +5 -5
  53. package/dist/cjs/tet-layout.cjs.entry.js +2 -2
  54. package/dist/cjs/tet-link.cjs.entry.js +2 -2
  55. package/dist/cjs/tet-loader.cjs.entry.js +2 -2
  56. package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
  57. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  58. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  59. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
  60. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
  61. package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
  62. package/dist/cjs/tet-notification.cjs.entry.js +2 -2
  63. package/dist/cjs/tet-number-input_2.cjs.entry.js +4 -4
  64. package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
  65. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  66. package/dist/cjs/tet-radio.cjs.entry.js +1 -1
  67. package/dist/cjs/tet-range-slider_2.cjs.entry.js +8 -8
  68. package/dist/cjs/tet-referral.cjs.entry.js +7 -7
  69. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  70. package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
  71. package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
  72. package/dist/cjs/tet-stepper-v3.cjs.entry.js +6 -3
  73. package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
  74. package/dist/cjs/tet-tab-header.cjs.entry.js +434 -0
  75. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  76. package/dist/cjs/tet-tag.cjs.entry.js +44 -0
  77. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
  79. package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
  80. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
  81. package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
  82. package/dist/cjs/tet-tooltip.cjs.entry.js +2 -2
  83. package/dist/cjs/tet-tv-gift-block.cjs.entry.js +2 -2
  84. package/dist/cjs/tet-tv-gift-list.cjs.entry.js +3 -3
  85. package/dist/cjs/{theme-wrapper-a5bbadf6.js → theme-wrapper-d753e207.js} +2 -2
  86. package/dist/cjs/{translations-9c00ed63.js → translations-bb8512bf.js} +1 -1
  87. package/dist/collection/collection-manifest.json +1 -0
  88. package/dist/collection/components/advanced/address/tet-address-offers/address-offers.store.js +4 -1
  89. package/dist/collection/components/advanced/address/tet-address-offers/address-product-offers.store.js +21 -0
  90. package/dist/collection/components/advanced/address/tet-address-offers/tet-address-offers.css +58 -0
  91. package/dist/collection/components/advanced/address/tet-address-offers/tet-address-offers.js +115 -83
  92. package/dist/collection/components/advanced/address/tet-address-offers-filters/address-offers-filters.js +21 -8
  93. package/dist/collection/components/advanced/address/tet-address-offers-filters-products/address-offers-products-filters.js +95 -0
  94. package/dist/collection/components/advanced/address/tet-address-offers-filters-products/test/tet-address-offers-filters-products.spec.js +23 -0
  95. package/dist/collection/components/advanced/address/tet-address-offers-filters-products/tet-address-offers-filters-products.css +411 -0
  96. package/dist/collection/components/advanced/address/tet-address-offers-filters-products/tet-address-offers-filters-products.js +314 -0
  97. package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
  98. package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
  99. package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
  100. package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
  101. package/dist/collection/components/advanced/cards/tet-compare-card/test/tet-compare-card.spec.js +6 -0
  102. package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +8 -0
  103. package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.js +23 -3
  104. package/dist/collection/components/advanced/cards/tet-compare-cards/tet-compare-cards.css +0 -1
  105. package/dist/collection/components/advanced/cards/tet-compare-cards/tet-compare-cards.js +3 -3
  106. package/dist/collection/components/advanced/cards/tet-compare-cards-tab/compare-cards-tab-products-filters.js +93 -0
  107. package/dist/collection/components/advanced/cards/tet-compare-cards-tab/tet-compare-cards-tab.css +5 -0
  108. package/dist/collection/components/advanced/cards/tet-compare-cards-tab/tet-compare-cards-tab.js +30 -15
  109. package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
  110. package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +2 -2
  111. package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
  112. package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
  113. package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
  114. package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
  115. package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
  116. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
  117. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
  118. package/dist/collection/components/basic/buttons/tet-tag/tet-tag.css +19 -3
  119. package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +21 -2
  120. package/dist/collection/components/basic/buttons/tet-tag-group/tet-tag-group.js +2 -2
  121. package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +2 -2
  122. package/dist/collection/components/basic/icon/tet-icon.js +1 -1
  123. package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
  124. package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
  125. package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
  126. package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
  127. package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.css +34 -7
  128. package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.js +4 -1
  129. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
  130. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
  131. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
  132. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
  133. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
  134. package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
  135. package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
  136. package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
  137. package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
  138. package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
  139. package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
  140. package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
  141. package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
  142. package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
  143. package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.css +2 -4
  144. package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +3 -3
  145. package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
  146. package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
  147. package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.css +12 -4
  148. package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
  149. package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
  150. package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
  151. package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
  152. package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
  153. package/dist/collection/docs/styling/link/tet-link.js +1 -1
  154. package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
  155. package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
  156. package/dist/components/index.js +3 -1
  157. package/dist/components/{p-1c3075c7.js → p-004a1783.js} +2 -2
  158. package/dist/components/{p-1f8c84e9.js → p-03e69bb8.js} +2 -2
  159. package/dist/components/{p-13051901.js → p-06f249ce.js} +3 -3
  160. package/dist/components/{p-72dc8bb7.js → p-084b6798.js} +1 -1
  161. package/dist/components/{p-8bf4c1bc.js → p-15c94fd5.js} +2 -2
  162. package/dist/components/{p-4c25d5fb.js → p-1d44a94e.js} +3 -3
  163. package/dist/components/{p-cd8f3a84.js → p-1e39449b.js} +3 -3
  164. package/dist/components/{p-fde9ecef.js → p-3032ed77.js} +5 -5
  165. package/dist/components/{p-93e9c848.js → p-36109fb0.js} +13 -13
  166. package/dist/components/{p-aea191fd.js → p-38ad9047.js} +2 -2
  167. package/dist/components/{p-ceb45b17.js → p-3919b539.js} +4 -4
  168. package/dist/components/{p-74ff4f72.js → p-3e987c51.js} +1 -1
  169. package/dist/components/{p-8caa2e3e.js → p-430ff09c.js} +2 -2
  170. package/dist/components/{p-c44c8848.js → p-480ccc8d.js} +2 -2
  171. package/dist/components/{p-a0d406ca.js → p-4d00761a.js} +1 -1
  172. package/dist/components/{p-4f1c7348.js → p-505aaed1.js} +8 -6
  173. package/dist/components/{p-470276e6.js → p-5841617c.js} +1 -1
  174. package/dist/components/{p-37ed3ebb.js → p-599035b8.js} +1 -1
  175. package/dist/components/{p-50f47d0c.js → p-5d62e662.js} +5 -5
  176. package/dist/components/{p-fe0cc309.js → p-5e6c2118.js} +10 -10
  177. package/dist/components/{p-d0c96e9c.js → p-5e9de7d5.js} +3 -3
  178. package/dist/components/{p-ed7db4de.js → p-618e07b7.js} +2 -2
  179. package/dist/components/{p-b215fe36.js → p-680ce735.js} +1 -1
  180. package/dist/components/{p-39e60f54.js → p-6e0f6f88.js} +2 -2
  181. package/dist/components/{p-5cba049c.js → p-77f8b5db.js} +11 -11
  182. package/dist/components/{p-a63d3582.js → p-798cf5b6.js} +3 -3
  183. package/dist/components/{p-22444d39.js → p-7ef501a2.js} +7 -7
  184. package/dist/components/{p-ae1f41ee.js → p-84b6941e.js} +1 -1
  185. package/dist/components/p-8a25fdd3.js +360 -0
  186. package/dist/components/{p-9361fcb4.js → p-94622def.js} +7 -4
  187. package/dist/components/{p-a16b2429.js → p-95d6c397.js} +7 -7
  188. package/dist/components/{p-e51cbb09.js → p-97c791b8.js} +2 -2
  189. package/dist/components/{p-b5c85303.js → p-9a3121bc.js} +2 -2
  190. package/dist/components/{p-8c37c237.js → p-9bc13031.js} +1 -1
  191. package/dist/components/{p-f854817f.js → p-a22521b3.js} +1 -1
  192. package/dist/components/{p-3b3af880.js → p-a2f0236d.js} +4 -4
  193. package/dist/components/{p-aca37faa.js → p-a7cf4a7a.js} +7 -7
  194. package/dist/components/{p-9cb78c6f.js → p-ab1270fa.js} +103 -105
  195. package/dist/components/{p-f7de89c3.js → p-b38f9875.js} +3 -3
  196. package/dist/components/{p-447e727f.js → p-b9bc2f1a.js} +26 -10
  197. package/dist/components/{p-6f457b76.js → p-c753ab82.js} +1 -1
  198. package/dist/components/{p-139b55b9.js → p-ca44877c.js} +3 -3
  199. package/dist/components/{p-2e1448b5.js → p-cd90d45c.js} +3 -3
  200. package/dist/components/{p-80cbecdd.js → p-e165a4cc.js} +13 -13
  201. package/dist/components/{p-72b8586b.js → p-e2f0e8da.js} +1 -1
  202. package/dist/components/{p-8b7e53db.js → p-e5451722.js} +12 -9
  203. package/dist/components/{p-815407aa.js → p-ec157aef.js} +2 -2
  204. package/dist/components/{p-a6d99476.js → p-f60762e2.js} +3 -3
  205. package/dist/components/{p-c3552274.js → p-fbea31dc.js} +2 -2
  206. package/dist/components/{p-ffeb7385.js → p-ff2a5e22.js} +3 -3
  207. package/dist/components/tet-accordion.js +8 -8
  208. package/dist/components/tet-address-offers-filters-products.d.ts +11 -0
  209. package/dist/components/tet-address-offers-filters-products.js +6 -0
  210. package/dist/components/tet-address-offers-filters.js +1 -1
  211. package/dist/components/tet-address-offers-view.js +48 -54
  212. package/dist/components/tet-address-offers.js +1 -1
  213. package/dist/components/tet-address-search.js +1 -1
  214. package/dist/components/tet-asset-addresses.js +13 -13
  215. package/dist/components/tet-asset-availability-addresses.js +1 -1
  216. package/dist/components/tet-autocomplete-dropdown.js +6 -6
  217. package/dist/components/tet-autocomplete.js +1 -1
  218. package/dist/components/tet-availability-contact-form.js +1 -1
  219. package/dist/components/tet-b2b-service-calculator.js +9 -9
  220. package/dist/components/tet-banner-nav.js +3 -3
  221. package/dist/components/tet-bar-graph.js +1 -1
  222. package/dist/components/tet-border-radius.js +2 -2
  223. package/dist/components/tet-business-card.js +1 -1
  224. package/dist/components/tet-business-compare-card.js +5 -5
  225. package/dist/components/tet-business-lines.js +6 -6
  226. package/dist/components/tet-business-round-stepper.js +2 -2
  227. package/dist/components/tet-button.js +1 -1
  228. package/dist/components/tet-card-list.js +1 -1
  229. package/dist/components/tet-carousel.js +5 -5
  230. package/dist/components/tet-checkbox.js +1 -1
  231. package/dist/components/tet-cloud-application-form-dialog.js +8 -8
  232. package/dist/components/tet-cloud-configurator.js +11 -11
  233. package/dist/components/tet-colors.js +5 -5
  234. package/dist/components/tet-compare-card.js +1 -1
  235. package/dist/components/tet-compare-cards-tab.js +69 -37
  236. package/dist/components/tet-compare-cards.js +1 -1
  237. package/dist/components/tet-contact-form.js +10 -10
  238. package/dist/components/tet-contact-info.js +1 -1
  239. package/dist/components/tet-container.js +1 -1
  240. package/dist/components/tet-customer-assets.js +9 -9
  241. package/dist/components/tet-datepicker-header.js +1 -1
  242. package/dist/components/tet-datepicker-month-view.js +1 -1
  243. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  244. package/dist/components/tet-datepicker-year-view.js +1 -1
  245. package/dist/components/tet-datepicker.js +10 -10
  246. package/dist/components/tet-dialog.js +1 -1
  247. package/dist/components/tet-dropdown.js +1 -1
  248. package/dist/components/tet-expandable-input.js +3 -3
  249. package/dist/components/tet-expansion-panel.js +2 -2
  250. package/dist/components/tet-font-weight.js +2 -2
  251. package/dist/components/tet-fonts.js +2 -2
  252. package/dist/components/tet-grid.js +2 -2
  253. package/dist/components/tet-icon.js +1 -1
  254. package/dist/components/tet-inline-message.js +2 -2
  255. package/dist/components/tet-input.js +1 -1
  256. package/dist/components/tet-label.js +5 -5
  257. package/dist/components/tet-layout.js +2 -2
  258. package/dist/components/tet-link.js +2 -2
  259. package/dist/components/tet-loader.js +1 -1
  260. package/dist/components/tet-macd-view.js +11 -11
  261. package/dist/components/tet-menu-mobile.js +2 -2
  262. package/dist/components/tet-menu.js +2 -2
  263. package/dist/components/tet-multi-step-dialog.js +6 -6
  264. package/dist/components/tet-navigation-mobile.js +5 -5
  265. package/dist/components/tet-news-card-list.js +5 -5
  266. package/dist/components/tet-notification.js +1 -1
  267. package/dist/components/tet-number-input.js +1 -1
  268. package/dist/components/tet-placeholder.js +1 -1
  269. package/dist/components/tet-price-view.js +1 -1
  270. package/dist/components/tet-radio.js +1 -1
  271. package/dist/components/tet-range-slider.js +1 -1
  272. package/dist/components/tet-referral.js +9 -9
  273. package/dist/components/tet-round-stepper.js +2 -2
  274. package/dist/components/tet-selection-list.js +1 -1
  275. package/dist/components/tet-spacing.js +2 -2
  276. package/dist/components/tet-spinner.js +1 -1
  277. package/dist/components/tet-stepper-input.js +1 -1
  278. package/dist/components/tet-stepper-v2.js +1 -1
  279. package/dist/components/tet-stepper-v3.js +1 -1
  280. package/dist/components/tet-stepper.js +1 -1
  281. package/dist/components/tet-switch.js +1 -1
  282. package/dist/components/tet-tab-content.js +1 -1
  283. package/dist/components/tet-tab-header.js +1 -1
  284. package/dist/components/tet-table.js +3 -3
  285. package/dist/components/tet-tag-group.js +1 -1
  286. package/dist/components/tet-tag.js +1 -1
  287. package/dist/components/tet-text-list.js +1 -1
  288. package/dist/components/tet-textarea.js +3 -3
  289. package/dist/components/tet-thank-you-view-v2.js +5 -5
  290. package/dist/components/tet-thank-you-view-v3.js +6 -6
  291. package/dist/components/tet-thank-you-view.js +4 -4
  292. package/dist/components/tet-tooltip.js +1 -1
  293. package/dist/components/tet-tv-gift-block.js +2 -2
  294. package/dist/components/tet-tv-gift-list.js +4 -4
  295. package/dist/esm/{address-9dfd3c9e.js → address-446e44d1.js} +1 -1
  296. package/dist/esm/{assets-c074d2b9.js → assets-fba60496.js} +1 -1
  297. package/dist/esm/{async-request-754d6810.js → async-request-3be8369e.js} +1 -1
  298. package/dist/esm/compare-cards-tab-products-filters-094fdd08.js +94 -0
  299. package/dist/esm/{http-codes-42779195.js → http-codes-94d247ea.js} +2 -2
  300. package/dist/esm/{index-7f1e2a22.js → index-ce62f11b.js} +11 -7
  301. package/dist/esm/{index-1bf36cb9.js → index-d502e34e.js} +1 -1
  302. package/dist/esm/loader.js +3 -3
  303. package/dist/esm/{old-utils-e93e9607.js → old-utils-bb8e99c5.js} +1 -1
  304. package/dist/esm/{phone-66ff151d.js → phone-3dfebff1.js} +2 -2
  305. package/dist/esm/tet-accordion.entry.js +7 -7
  306. package/dist/esm/{tet-compare-card_4.entry.js → tet-address-offers-filters-products_4.entry.js} +233 -553
  307. package/dist/esm/tet-address-offers-view.entry.js +7 -7
  308. package/dist/esm/tet-address-offers_4.entry.js +110 -105
  309. package/dist/esm/tet-address-search.entry.js +7 -7
  310. package/dist/esm/tet-asset-addresses.entry.js +3 -3
  311. package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
  312. package/dist/esm/tet-autocomplete_2.entry.js +4 -4
  313. package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
  314. package/dist/esm/tet-banner-nav.entry.js +3 -3
  315. package/dist/esm/tet-bar-graph.entry.js +1 -1
  316. package/dist/esm/tet-border-radius.entry.js +2 -2
  317. package/dist/esm/tet-business-card.entry.js +1 -1
  318. package/dist/esm/tet-business-compare-card.entry.js +3 -3
  319. package/dist/esm/tet-business-lines.entry.js +5 -5
  320. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  321. package/dist/esm/tet-button.entry.js +1 -1
  322. package/dist/esm/tet-card-list.entry.js +5 -5
  323. package/dist/esm/tet-carousel.entry.js +3 -3
  324. package/dist/esm/tet-checkbox.entry.js +1 -1
  325. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  326. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  327. package/dist/esm/tet-colors.entry.js +5 -5
  328. package/dist/esm/tet-compare-cards-tab.entry.js +32 -18
  329. package/dist/esm/{tet-compare-cards.entry.js → tet-compare-cards_2.entry.js} +140 -8
  330. package/dist/esm/tet-components.js +3 -3
  331. package/dist/esm/tet-contact-form.entry.js +6 -6
  332. package/dist/esm/tet-contact-info.entry.js +1 -1
  333. package/dist/esm/tet-container_2.entry.js +1 -1
  334. package/dist/esm/tet-customer-assets.entry.js +4 -4
  335. package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
  336. package/dist/esm/tet-datepicker.entry.js +5 -5
  337. package/dist/esm/tet-dialog.entry.js +3 -3
  338. package/dist/esm/tet-expandable-input.entry.js +1 -1
  339. package/dist/esm/tet-expansion-panel.entry.js +2 -2
  340. package/dist/esm/tet-font-weight.entry.js +2 -2
  341. package/dist/esm/tet-fonts.entry.js +2 -2
  342. package/dist/esm/tet-grid.entry.js +2 -2
  343. package/dist/esm/tet-icon.entry.js +3 -3
  344. package/dist/esm/tet-inline-message.entry.js +1 -1
  345. package/dist/esm/tet-input.entry.js +3 -3
  346. package/dist/esm/tet-label.entry.js +5 -5
  347. package/dist/esm/tet-layout.entry.js +2 -2
  348. package/dist/esm/tet-link.entry.js +2 -2
  349. package/dist/esm/tet-loader.entry.js +2 -2
  350. package/dist/esm/tet-macd-view.entry.js +6 -6
  351. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  352. package/dist/esm/tet-menu.entry.js +1 -1
  353. package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
  354. package/dist/esm/tet-navigation-mobile.entry.js +4 -4
  355. package/dist/esm/tet-news-card-list.entry.js +2 -2
  356. package/dist/esm/tet-notification.entry.js +2 -2
  357. package/dist/esm/tet-number-input_2.entry.js +4 -4
  358. package/dist/esm/tet-placeholder.entry.js +2 -2
  359. package/dist/esm/tet-price-view.entry.js +1 -1
  360. package/dist/esm/tet-radio.entry.js +1 -1
  361. package/dist/esm/tet-range-slider_2.entry.js +8 -8
  362. package/dist/esm/tet-referral.entry.js +7 -7
  363. package/dist/esm/tet-round-stepper.entry.js +1 -1
  364. package/dist/esm/tet-spacing.entry.js +2 -2
  365. package/dist/esm/tet-stepper-v2.entry.js +1 -1
  366. package/dist/esm/tet-stepper-v3.entry.js +6 -3
  367. package/dist/esm/tet-stepper.entry.js +1 -1
  368. package/dist/esm/tet-tab-header.entry.js +430 -0
  369. package/dist/esm/tet-table.entry.js +1 -1
  370. package/dist/esm/tet-tag.entry.js +40 -0
  371. package/dist/esm/tet-text-list.entry.js +1 -1
  372. package/dist/esm/tet-textarea.entry.js +3 -3
  373. package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
  374. package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
  375. package/dist/esm/tet-thank-you-view.entry.js +1 -1
  376. package/dist/esm/tet-tooltip.entry.js +2 -2
  377. package/dist/esm/tet-tv-gift-block.entry.js +2 -2
  378. package/dist/esm/tet-tv-gift-list.entry.js +3 -3
  379. package/dist/esm/{theme-wrapper-6e6b2089.js → theme-wrapper-bf063190.js} +2 -2
  380. package/dist/esm/{translations-5c723a5f.js → translations-7cd34c7f.js} +1 -1
  381. package/dist/tet-components/{p-5786fab1.entry.js → p-06f46328.entry.js} +1 -1
  382. package/dist/tet-components/{p-325515ed.entry.js → p-070a8a51.entry.js} +1 -1
  383. package/dist/tet-components/{p-2de3f58f.entry.js → p-08a4652a.entry.js} +1 -1
  384. package/dist/tet-components/{p-d6c31a48.entry.js → p-0ae0c699.entry.js} +1 -1
  385. package/dist/tet-components/{p-f55a4508.entry.js → p-0bc0b0a2.entry.js} +1 -1
  386. package/dist/tet-components/p-0bec7586.entry.js +1 -0
  387. package/dist/tet-components/{p-87b47774.js → p-0d1e7cd6.js} +1 -1
  388. package/dist/tet-components/{p-faaf4f9e.entry.js → p-0e9714d1.entry.js} +1 -1
  389. package/dist/tet-components/{p-e0bb4410.entry.js → p-0f364200.entry.js} +1 -1
  390. package/dist/tet-components/{p-6a703ebb.entry.js → p-1097442d.entry.js} +1 -1
  391. package/dist/tet-components/{p-433fa62c.entry.js → p-11437185.entry.js} +1 -1
  392. package/dist/tet-components/{p-ca27b8cd.entry.js → p-14a302cb.entry.js} +1 -1
  393. package/dist/tet-components/{p-95877586.entry.js → p-14ea4439.entry.js} +1 -1
  394. package/dist/tet-components/{p-c4ba2330.entry.js → p-18e44b52.entry.js} +1 -1
  395. package/dist/tet-components/{p-8d198756.entry.js → p-1976e991.entry.js} +1 -1
  396. package/dist/tet-components/{p-bc1748c1.entry.js → p-1a5ed4b2.entry.js} +1 -1
  397. package/dist/tet-components/p-1d14c865.js +2 -0
  398. package/dist/tet-components/{p-3287547c.entry.js → p-20d5a05d.entry.js} +1 -1
  399. package/dist/tet-components/{p-6821b8e3.entry.js → p-239c5d3c.entry.js} +1 -1
  400. package/dist/tet-components/{p-82f39730.entry.js → p-251db7ef.entry.js} +1 -1
  401. package/dist/tet-components/{p-3dd44730.entry.js → p-2566226a.entry.js} +1 -1
  402. package/dist/tet-components/{p-4026fd82.entry.js → p-296f1706.entry.js} +1 -1
  403. package/dist/tet-components/{p-a96ad9aa.entry.js → p-30c078c5.entry.js} +1 -1
  404. package/dist/tet-components/{p-428dff99.entry.js → p-337cac3f.entry.js} +1 -1
  405. package/dist/tet-components/{p-520c7411.entry.js → p-34c9374c.entry.js} +1 -1
  406. package/dist/tet-components/{p-c47d5e36.entry.js → p-3659fe95.entry.js} +1 -1
  407. package/dist/tet-components/{p-257ee876.entry.js → p-3723442c.entry.js} +1 -1
  408. package/dist/tet-components/{p-dacff13f.entry.js → p-3819d28c.entry.js} +1 -1
  409. package/dist/tet-components/{p-11d5cdb7.entry.js → p-43d1a3f3.entry.js} +1 -1
  410. package/dist/tet-components/{p-1f33c4d8.entry.js → p-4d26aaca.entry.js} +1 -1
  411. package/dist/tet-components/{p-17219f8f.js → p-513c1986.js} +1 -1
  412. package/dist/tet-components/{p-9174fad4.entry.js → p-530d8ebd.entry.js} +1 -1
  413. package/dist/tet-components/{p-ac290b65.entry.js → p-53dfd0d1.entry.js} +1 -1
  414. package/dist/tet-components/{p-d51fb8f0.entry.js → p-5478765f.entry.js} +1 -1
  415. package/dist/tet-components/{p-6b022547.entry.js → p-564b1597.entry.js} +1 -1
  416. package/dist/tet-components/{p-13834305.entry.js → p-565aa846.entry.js} +1 -1
  417. package/dist/tet-components/{p-f52944ee.entry.js → p-571028b6.entry.js} +1 -1
  418. package/dist/tet-components/{p-7123c8cb.js → p-5f102998.js} +1 -1
  419. package/dist/tet-components/p-611377f2.entry.js +1 -0
  420. package/dist/tet-components/{p-138065a5.entry.js → p-616daa7e.entry.js} +1 -1
  421. package/dist/tet-components/p-63b7e0d0.entry.js +1 -0
  422. package/dist/tet-components/{p-b6fc2059.entry.js → p-6439c804.entry.js} +1 -1
  423. package/dist/tet-components/{p-1338b2c9.entry.js → p-652e2b67.entry.js} +1 -1
  424. package/dist/tet-components/{p-99dfcd9d.entry.js → p-683df0c1.entry.js} +1 -1
  425. package/dist/tet-components/{p-9c0ed718.entry.js → p-684d453b.entry.js} +1 -1
  426. package/dist/tet-components/{p-25498380.entry.js → p-6a8ebb69.entry.js} +1 -1
  427. package/dist/tet-components/{p-4b9d2f1e.js → p-6e6dafb1.js} +1 -1
  428. package/dist/tet-components/{p-91aebae3.entry.js → p-74940338.entry.js} +1 -1
  429. package/dist/tet-components/{p-1ae8df7d.js → p-766fd113.js} +1 -1
  430. package/dist/tet-components/p-7b21d33f.entry.js +1 -0
  431. package/dist/tet-components/p-7c136b44.entry.js +1 -0
  432. package/dist/tet-components/{p-8cadf068.entry.js → p-7eecadbc.entry.js} +1 -1
  433. package/dist/tet-components/{p-46a33f5c.entry.js → p-80c10282.entry.js} +1 -1
  434. package/dist/tet-components/{p-07081ea1.entry.js → p-88ff4729.entry.js} +1 -1
  435. package/dist/tet-components/p-8b9f2ed6.js +1 -0
  436. package/dist/tet-components/{p-01d2c9b2.entry.js → p-8e19e1de.entry.js} +1 -1
  437. package/dist/tet-components/{p-0e44600c.entry.js → p-8e59bc6e.entry.js} +1 -1
  438. package/dist/tet-components/{p-10271e23.entry.js → p-8fd66a80.entry.js} +1 -1
  439. package/dist/tet-components/p-a2e7d95d.entry.js +1 -0
  440. package/dist/tet-components/{p-8a211672.entry.js → p-a77d95aa.entry.js} +1 -1
  441. package/dist/tet-components/{p-010608e8.js → p-a9820b87.js} +1 -1
  442. package/dist/tet-components/{p-77372984.js → p-aba811f3.js} +1 -1
  443. package/dist/tet-components/{p-a89b07db.entry.js → p-ae6af193.entry.js} +1 -1
  444. package/dist/tet-components/{p-747fa00c.entry.js → p-b20f2137.entry.js} +1 -1
  445. package/dist/tet-components/{p-8e64a695.entry.js → p-b245b2cf.entry.js} +1 -1
  446. package/dist/tet-components/{p-2024adb8.entry.js → p-b324cfd1.entry.js} +1 -1
  447. package/dist/tet-components/{p-39de75af.js → p-b66cbe8a.js} +1 -1
  448. package/dist/tet-components/{p-f4786b25.entry.js → p-ba9dcdb2.entry.js} +1 -1
  449. package/dist/tet-components/{p-771146d4.entry.js → p-bd19cb33.entry.js} +1 -1
  450. package/dist/tet-components/p-c0be9da7.js +1 -0
  451. package/dist/tet-components/{p-1f61bc97.entry.js → p-c0d1f124.entry.js} +1 -1
  452. package/dist/tet-components/{p-3b5a822d.entry.js → p-c3934b44.entry.js} +1 -1
  453. package/dist/tet-components/{p-9eafff73.entry.js → p-c892bc9f.entry.js} +1 -1
  454. package/dist/tet-components/{p-76fc9aa4.entry.js → p-d96d0258.entry.js} +1 -1
  455. package/dist/tet-components/{p-ff769397.entry.js → p-decb5ec7.entry.js} +1 -1
  456. package/dist/tet-components/{p-8b174961.entry.js → p-df4e82bc.entry.js} +1 -1
  457. package/dist/tet-components/{p-d7b12aa8.entry.js → p-e412616e.entry.js} +1 -1
  458. package/dist/tet-components/{p-dce3f9e4.entry.js → p-e84bba1a.entry.js} +1 -1
  459. package/dist/tet-components/{p-e5a15112.entry.js → p-eab907b1.entry.js} +1 -1
  460. package/dist/tet-components/p-ee684ac3.entry.js +1 -0
  461. package/dist/tet-components/{p-4b3fc9e2.entry.js → p-f1bdb246.entry.js} +1 -1
  462. package/dist/tet-components/{p-121d2baf.entry.js → p-f1e5cd46.entry.js} +1 -1
  463. package/dist/tet-components/{p-d635d4b3.entry.js → p-faff3a4c.entry.js} +1 -1
  464. package/dist/tet-components/{p-3d20ced4.entry.js → p-fc19ac2a.entry.js} +1 -1
  465. package/dist/tet-components/tet-components.esm.js +1 -1
  466. package/dist/types/components/advanced/address/tet-address-offers/address-product-offers.store.d.ts +14 -0
  467. package/dist/types/components/advanced/address/tet-address-offers/tet-address-offers.d.ts +16 -12
  468. package/dist/types/components/advanced/address/tet-address-offers-filters/address-offers-filters.d.ts +2 -0
  469. package/dist/types/components/advanced/address/tet-address-offers-filters-products/address-offers-products-filters.d.ts +25 -0
  470. package/dist/types/components/advanced/address/tet-address-offers-filters-products/tet-address-offers-filters-products.d.ts +70 -0
  471. package/dist/types/components/advanced/cards/old-utils.d.ts +2 -2
  472. package/dist/types/components/advanced/cards/tet-compare-card/tet-compare-card.d.ts +5 -1
  473. package/dist/types/components/advanced/cards/tet-compare-cards/tet-compare-cards.d.ts +1 -0
  474. package/dist/types/components/advanced/cards/tet-compare-cards-tab/compare-cards-tab-products-filters.d.ts +36 -0
  475. package/dist/types/components/advanced/cards/tet-compare-cards-tab/tet-compare-cards-tab.d.ts +13 -5
  476. package/dist/types/components/advanced/cards/utils.d.ts +2 -2
  477. package/dist/types/components/basic/buttons/tet-tag/tet-tag.d.ts +2 -0
  478. package/dist/types/components/basic/buttons/tet-tag-group/tet-tag-group.d.ts +2 -0
  479. package/dist/types/components.d.ts +133 -2
  480. package/dist/types/services/api/index.d.ts +2 -2
  481. package/dist/types/services/api/services/catalog/product-comparison.d.ts +21 -14
  482. package/dist/types/services/api/services/catalog/service-availability-services.d.ts +19 -1
  483. package/package.json +1 -1
  484. package/dist/cjs/tet-tag_2.cjs.entry.js +0 -68
  485. package/dist/esm/tet-tag_2.entry.js +0 -63
  486. package/dist/tet-components/p-1ec7f341.js +0 -2
  487. package/dist/tet-components/p-3053f5a3.entry.js +0 -1
  488. package/dist/tet-components/p-49e636bb.entry.js +0 -1
  489. package/dist/tet-components/p-5d02dddb.entry.js +0 -1
  490. package/dist/tet-components/p-80a612b2.entry.js +0 -1
  491. package/dist/tet-components/p-ad9e7b19.entry.js +0 -1
  492. package/dist/tet-components/p-b2b384d2.js +0 -1
  493. package/dist/tet-components/p-fe5d035f.entry.js +0 -1
@@ -0,0 +1,93 @@
1
+ class CompareCardsTabProductsFilters {
2
+ constructor(onFilterSelect) {
3
+ this.onFilterSelect = onFilterSelect;
4
+ this.availableTvFilters = [];
5
+ this.allFilters = [];
6
+ this.currentProducts = {};
7
+ this.initialize = (productCodes) => {
8
+ const products = productCodes['products'];
9
+ const productTags = productCodes['productTags'];
10
+ this.currentProducts = products;
11
+ this.availableTvFilters = this.resolveFilters(products, productTags);
12
+ this.updateDisabledFilters();
13
+ this.onFilterSelect([...this.availableTvFilters], this.getActiveFilterIds(), this.getFilteredProductIds());
14
+ };
15
+ this.getAvailableFilters = () => {
16
+ return [...this.availableTvFilters];
17
+ };
18
+ this.clearFilters = () => {
19
+ this.availableTvFilters.forEach(filter => (filter.active = false));
20
+ this.updateDisabledFilters();
21
+ this.onFilterSelect([...this.availableTvFilters], [], this.getFilteredProductIds());
22
+ };
23
+ this.resolveFilters = (products, productTags) => {
24
+ const productCodeSet = new Set(Object.values(products).map(product => product.productCode));
25
+ return (productTags || [])
26
+ .map(tag => {
27
+ const localProducts = (tag.products || []).filter(productCode => productCodeSet.has(productCode));
28
+ return {
29
+ id: tag.tag,
30
+ title: tag.title,
31
+ products: localProducts,
32
+ active: false,
33
+ disabled: false,
34
+ clickAction: this.filterClickAction.bind(this),
35
+ };
36
+ })
37
+ .filter(filter => filter.products.length > 0);
38
+ };
39
+ this.filterClickAction = (filter) => {
40
+ const availableFilter = this.availableTvFilters.find(({ id }) => id === filter.id);
41
+ if (!availableFilter)
42
+ return;
43
+ if (availableFilter.disabled)
44
+ return;
45
+ availableFilter.active = !availableFilter.active;
46
+ availableFilter.showIcon = !availableFilter.showIcon;
47
+ this.updateDisabledFilters();
48
+ this.onFilterSelect([...this.availableTvFilters], this.getActiveFilterIds(), this.getFilteredProductIds());
49
+ };
50
+ this.updateDisabledFilters = () => {
51
+ const activeFilters = this.availableTvFilters.filter(f => f.active);
52
+ const activeCount = activeFilters.length;
53
+ let intersection = null;
54
+ if (activeCount > 0) {
55
+ intersection = new Set(activeFilters[0].products);
56
+ for (let i = 1; i < activeFilters.length; i++) {
57
+ intersection = new Set([...intersection].filter(productCode => activeFilters[i].products.includes(productCode)));
58
+ }
59
+ }
60
+ for (const filter of this.availableTvFilters) {
61
+ if (filter.active || activeCount === 0) {
62
+ filter.disabled = false;
63
+ }
64
+ else {
65
+ let simulatedIntersection = intersection ? [...intersection] : filter.products;
66
+ if (intersection) {
67
+ simulatedIntersection = simulatedIntersection.filter(code => filter.products.includes(code));
68
+ }
69
+ filter.disabled = simulatedIntersection.length <= 1;
70
+ filter.showIcon = false;
71
+ }
72
+ }
73
+ };
74
+ this.getActiveFilterIds = () => {
75
+ return this.availableTvFilters.filter(filter => filter.active).map(filter => filter.id);
76
+ };
77
+ this.getFilteredProductIds = () => {
78
+ const activeTags = this.availableTvFilters.filter(tag => tag.active);
79
+ const allProductCodes = Object.values(this.currentProducts).map(p => p.productCode);
80
+ if (activeTags.length === 0) {
81
+ return allProductCodes;
82
+ }
83
+ let intersection = [...activeTags[0].products];
84
+ for (let i = 1; i < activeTags.length; i++) {
85
+ intersection = intersection.filter(productCode => activeTags[i].products.includes(productCode));
86
+ }
87
+ const validSet = new Set(allProductCodes);
88
+ intersection = intersection.filter(code => validSet.has(code));
89
+ return intersection;
90
+ };
91
+ }
92
+ }
93
+ export { CompareCardsTabProductsFilters };
@@ -52,8 +52,13 @@
52
52
  }
53
53
  .tet-compare-cards-tab__header-container {
54
54
  display: flex;
55
+ flex-direction: column;
55
56
  padding-bottom: 0.75rem;
56
57
  }
58
+ .tet-compare-cards-tab__filters {
59
+ align-self: center;
60
+ margin-bottom: 1rem;
61
+ }
57
62
  .tet-compare-cards-tab__header--image {
58
63
  max-height: 0.875rem;
59
64
  align-self: center;
@@ -2,20 +2,22 @@ import { Host, h } from "@stencil/core";
2
2
  import { fillProductData } from "../utils";
3
3
  import { productComparison } from "../../../../services/api/index";
4
4
  import { fillOldProductData } from "../old-utils";
5
+ import { CompareCardsTabProductsFilters } from "./compare-cards-tab-products-filters";
5
6
  /**
6
7
  * List of cards for product comparison, sorted by tabs.
7
8
  */
8
9
  export class TetTabCompareCards {
9
10
  constructor() {
10
11
  /**
11
- * Renders the loader.
12
+ * Handles filtered products changed event from tet-address-offers-filters-products.
12
13
  */
13
- this.renderLoader = () => {
14
- return (h("div", { class: {
15
- 'tet-compare-cards-tab__placeholder': true,
16
- 'visible': this.showLoader
17
- } }, [...Array(3)].map(() => [h("tet-placeholder", { class: "tet-placeholder", height: "27rem", width: "21.5rem" })])));
14
+ this.handleFilteredProductsChanged = (event) => {
15
+ this.filteredProductCodes = event.detail.filteredProductIds;
18
16
  };
17
+ this.renderLoader = () => (h("div", { class: {
18
+ 'tet-compare-cards-tab__placeholder': true,
19
+ 'visible': this.showLoader
20
+ } }, [...Array(3)].map(() => h("tet-placeholder", { class: "tet-placeholder", height: "27rem", width: "21.5rem" }))));
19
21
  this.data = undefined;
20
22
  this.forceColumn = false;
21
23
  this.layout = 'default';
@@ -27,10 +29,8 @@ export class TetTabCompareCards {
27
29
  this.productDataLoaded = false;
28
30
  this.showLoader = true;
29
31
  this.productSACData = undefined;
32
+ this.filteredProductCodes = [];
30
33
  }
31
- /**
32
- * If the product codes are provided, get product data from SAC.
33
- */
34
34
  async componentWillLoad() {
35
35
  const productCodes = this.addProductCodes(this.data, []);
36
36
  if (productCodes.length > 0) {
@@ -95,11 +95,21 @@ export class TetTabCompareCards {
95
95
  productComparison(productCodes).then((response) => {
96
96
  this.productSACData = response;
97
97
  this.productDataLoaded = true;
98
+ this.initCompareCardFilters();
98
99
  this.element.shadowRoot.querySelectorAll('tet-tab-content').forEach((tabContent) => {
99
100
  tabContent.parentContainer = this.element.shadowRoot;
100
101
  });
101
102
  });
102
103
  }
104
+ /**
105
+ * Runs after productSACData is set, sets up the filtering helper and filteredProductCodes.
106
+ */
107
+ initCompareCardFilters() {
108
+ this.compareCardsFiltersHelper = new CompareCardsTabProductsFilters((_filters, _activeFilterIds, filteredIds) => {
109
+ this.filteredProductCodes = filteredIds;
110
+ });
111
+ this.compareCardsFiltersHelper.initialize(this.productSACData);
112
+ }
103
113
  /**
104
114
  * Renders the tab header.
105
115
  *
@@ -123,12 +133,12 @@ export class TetTabCompareCards {
123
133
  tab.disabled = true;
124
134
  }
125
135
  });
126
- return (h("div", { class: "tet-compare-cards-tab__header-container" }, h("tet-tab-header", { darkMode: this.darkHeader ? true : this.darkMode, position: tabList.tabHeader.position, "default-tab": `tab-${level}-${tabList.tabHeader.defaultTabIndex}`, segmented: tabList.tabHeader.segmented, sizing: tabList.tabHeader.sizing, "data-name": tabList.tabHeader.dataName, class: "tet-compare-cards-tab__header" }, tabList.tabs.map((element, index) => (h("button", { "data-name": `tab-${level}-${index}`, class: { disabled: element.disabled || this.showLoader, 'button': true } }, element.image && !element.imagePositionRight ?
136
+ return (h("div", { class: "tet-compare-cards-tab__header-container" }, tabList.withProductFilters && (h("tet-address-offers-filters-products", { productCodes: this.productSACData, class: "center tet-compare-cards-tab__filters", clearFilterButton: true, onFilteredProductsChanged: this.handleFilteredProductsChanged, theme: this.darkMode ? 'dark' : 'light' })), h("tet-tab-header", { darkMode: this.darkHeader ? true : this.darkMode, position: tabList.tabHeader.position, "default-tab": `tab-${level}-${tabList.tabHeader.defaultTabIndex}`, segmented: tabList.tabHeader.segmented, sizing: tabList.tabHeader.sizing, "data-name": tabList.tabHeader.dataName, class: "tet-compare-cards-tab__header" }, tabList.tabs.map((element, index) => (h("button", { "data-name": `tab-${level}-${index}`, class: { disabled: element.disabled || this.showLoader, 'button': true } }, element.image && !element.imagePositionRight ?
127
137
  h("img", { class: "tet-compare-cards-tab__header--image", src: element.image, alt: element.altText }) : '', element.title, element.image && element.imagePositionRight ?
128
138
  h("img", { class: { 'tet-compare-cards-tab__header--image': true, 'right': true }, src: element.image, alt: element.altText }) : ''))))));
129
139
  }
130
140
  /**
131
- * Renders the tab header.
141
+ * Renders tab content.
132
142
  *
133
143
  * @param tabList tab data
134
144
  * @param level level of the tab
@@ -148,11 +158,15 @@ export class TetTabCompareCards {
148
158
  * @param cardScript A script for the compare cards component.
149
159
  */
150
160
  renderCompareCards(cards, vatText = '', cardScript = '') {
161
+ let filteredCards = cards;
162
+ if (this.filteredProductCodes && this.filteredProductCodes.length > 0) {
163
+ filteredCards = cards.filter(card => this.filteredProductCodes.includes(card.productCode));
164
+ }
151
165
  let cardsWithAddedSACData = [];
152
- cards.forEach((element) => {
166
+ filteredCards.forEach((element) => {
153
167
  if (typeof element.productCode !== 'undefined') {
154
168
  const requestedProduct = element.productCode;
155
- const requestedProductData = this.productSACData[requestedProduct];
169
+ const requestedProductData = this.productSACData['products'][requestedProduct];
156
170
  if (requestedProductData) {
157
171
  if (this.newUrlGeneratorStructure) {
158
172
  element = fillProductData(element, requestedProduct, requestedProductData, this.theme, this.darkMode, this.isNetflixCard);
@@ -167,7 +181,7 @@ export class TetTabCompareCards {
167
181
  return (h("div", { class: "tet-compare-cards-tab__content" }, h("tet-compare-cards", { theme: this.theme, "dark-mode": this.darkMode, "is-netflix-card": this.isNetflixCard, layout: this.layout, "force-column": this.forceColumn, "vat-text": vatText !== null && vatText !== void 0 ? vatText : false, "card-script": cardScript !== null && cardScript !== void 0 ? cardScript : false, data: cardsWithAddedSACData, newUrlGeneratorStructure: this.newUrlGeneratorStructure })));
168
182
  }
169
183
  render() {
170
- return (h(Host, { key: '7058e7a89d8ca7993468913c87960e84883e4902' }, h("div", { key: 'ee7613f3e2f6e0c98fd446fb70cf2c50f3642373', class: "tet-compare-cards-tab-wrapper" }, this.renderTabHeader(this.data, 1), this.renderLoader(), h("div", { key: '250357233316a3e84a5ae0072968f25750b1f5ec', class: {
184
+ return (h(Host, { key: '54a44d3d6d76143678f77c9fefe66902a1f1654a' }, h("div", { key: 'b52b3b1d124835ad6eeb4bfc4f14d386477b3ba1', class: "tet-compare-cards-tab-wrapper" }, this.renderTabHeader(this.data, 1), this.renderLoader(), h("div", { key: '70ed32288ced853110f3675f535537519a4545da', class: {
171
185
  'tet-compare-cards-tab__cards': true,
172
186
  'hidden': this.showLoader
173
187
  } }, this.productDataLoaded ? this.renderContent(this.data, 1) : ''))));
@@ -351,7 +365,8 @@ export class TetTabCompareCards {
351
365
  return {
352
366
  "productDataLoaded": {},
353
367
  "showLoader": {},
354
- "productSACData": {}
368
+ "productSACData": {},
369
+ "filteredProductCodes": {}
355
370
  };
356
371
  }
357
372
  static get elementRef() { return "element"; }
@@ -117,7 +117,7 @@ export class TetCustomerAssets {
117
117
  return provisioningStatus === 'Active' && tetProductType !== 'ConsumerGoods';
118
118
  }
119
119
  render() {
120
- return (h(Host, { key: 'f43a6c6c1f5a5fe929ecfb8ef099863e2299b6fe' }, h("div", { key: '352e1a347740ae79f944480f0821630b6c0d2815', class: { wrapper: this.showLoader && this.singleLoader, 'dark-theme': this.darkTheme } }, this.showLoader && this.singleLoader
120
+ return (h(Host, { key: 'b673df48957c6ce5b4a6df1a1e89356ec840d64b' }, h("div", { key: '24f1756f8d4c83d02bc88197f37ec35bbdb32aef', class: { wrapper: this.showLoader && this.singleLoader, 'dark-theme': this.darkTheme } }, this.showLoader && this.singleLoader
121
121
  ? h("tet-loader", { class: "loader-single" })
122
122
  : this.showLoader ? this.renderLoader() : this.renderAssetsList())));
123
123
  }
@@ -42,9 +42,9 @@ export class TetReferral {
42
42
  processTranslations('tet-components', this.language).then(() => forceUpdate(this));
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'bab87a7f495f0493a88d914cc11e861f0e29b9b6' }, h("div", { key: 'd007cf9b2588d9d13b69ba422b7888212a5a6541', class: "wrapper" }, h(ThemeWrapper, { key: '778d1f5fa79ccf50f8ffe026269a2c38541e04fe', theme: this.theme }, h("div", { key: 'afc657102f82422017f9e80e268cd5445e8bdf81', class: "image-container" }, h("img", { key: '6b96746a518b289256b87b134f249e8d9c2b019b', src: t('components-referral-image-url'), alt: "" })), h("div", { key: 'dbcde7668f1e56ad95f8e6f385507e80d15bc4d6', class: "subtitle-container" }, t('components-referral-subtitle')), h("div", { key: '1a42aeeaf825b83456f02a3a89ec31fe661ae286', class: "description-container", innerHTML: t('components-referral-description') }), h("div", { key: '08a259d418a02c0b5bfaa7ca4178d16ae73f0e89', class: "referral-block" }, h("div", { key: 'c3d03b9dd20ab20921ad78a7813a9a2cf79dab16', class: "url-wrapper" }, h("div", { key: '1c7ddaa67fbdfeeaaa18edb518ea4b00172f1631', class: "referral-url" }, this.getReferralUrl()), h("div", { key: '6ca57526ab7d12fc69193330f114959dd9868ced' }, h("div", { key: '3a60f38fbd3cc95b1ecdda1314bca190a6378655', class: "button-wrapper" }, h("tet-tooltip", { key: 'e9673b86acba2cf49b2b5e8d479639d671168bc3', theme: this.theme, class: "tooltip", doNotShowOnHover: true, ref: (el) => {
45
+ return (h(Host, { key: '3332ca8239b865cb6debc47b04c9cf937caa058d' }, h("div", { key: '17cc752818ad7818282bd9b2a4780e3d6c9c480f', class: "wrapper" }, h(ThemeWrapper, { key: '02c4f3bd64acf223dfdb767553430bb41bb4748d', theme: this.theme }, h("div", { key: 'f164eab70a3e58bc7e5a08afa399fdf8dd945bf6', class: "image-container" }, h("img", { key: '0e9df07212aa90ecfa5f2975ab2d4e8a12947eab', src: t('components-referral-image-url'), alt: "" })), h("div", { key: '9fb0e7ae14ea53aefc989ffd0ea4b14130543919', class: "subtitle-container" }, t('components-referral-subtitle')), h("div", { key: '2161eb3fb1fe81bbb7c3514284c6b0e206b96125', class: "description-container", innerHTML: t('components-referral-description') }), h("div", { key: '59b6e1a26ecb27ed69d02b630d9ffdfe5aeff4ef', class: "referral-block" }, h("div", { key: '632d18b77e3734dd358505824fcae50543322d6f', class: "url-wrapper" }, h("div", { key: '3dc7e060e2939768ffd2c490e3622cc675099622', class: "referral-url" }, this.getReferralUrl()), h("div", { key: 'b932a84100e6b4e15c88516b1b1b8159d669e656' }, h("div", { key: 'af8b3e26e26dce8f4e7211283d0487ba32331283', class: "button-wrapper" }, h("tet-tooltip", { key: 'd512ba811ad7d530fdd0697aa7a7ea6e843d5ef7', theme: this.theme, class: "tooltip", doNotShowOnHover: true, ref: (el) => {
46
46
  this.tooltip = el;
47
- } }, t('components-referral-tooltip')), h("tet-button", { key: 'a4457d10568f570bb2dc08451ad53051ae9c0c46', clickCallback: this.copyToClipBoard, type: "primary", theme: this.theme }, t('components-referral-copy-button-label'))))))))));
47
+ } }, t('components-referral-tooltip')), h("tet-button", { key: '30f808697440c490728b68fafef3dfc824a87ce4', clickCallback: this.copyToClipBoard, type: "primary", theme: this.theme }, t('components-referral-copy-button-label'))))))))));
48
48
  }
49
49
  static get is() { return "tet-referral"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -107,7 +107,7 @@ export class TetMultiStepDialog {
107
107
  return (h("div", { innerHTML: step, "data-step": Number(index) + 1, class: "multi-step-dialog__step", ref: this.setStepBlocks }));
108
108
  }
109
109
  render() {
110
- return (h(Host, { key: '4737cad1acb4ec7427a172b971fede979440cfb0', class: "multi-step-dialog" }, h("tet-dialog", { key: '75ee834380eb198c6cb2f11b0327f39d722bbdc6', class: this.tetDialogClass, "is-open": this.isOpen, "data-screen-key": this.dialogDataScreenKey, "footer-display": "right", ref: el => this.tetDialog = el }, h("div", { key: 'b6de108525a7bb1d5fef1815ffa0dfb3b77e1162', innerHTML: this.content }), this.steps.map((step, index) => (this.renderStep(step, index))), h("tet-button", { key: '7fdbc08d57e7e13a013daaf2c8dffd3e62a3f556', class: "footer-button", slot: "footer", size: "medium", theme: "light", type: "secondary", ref: el => this.prevButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-go-back')), h("tet-button", { key: '9863007f01df881291c17abe44c67eb51485a3e1', class: "footer-button", slot: "footer", size: "medium", theme: "light", ref: el => this.nextButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-next-step')))));
110
+ return (h(Host, { key: '633893694bc160d5adca170f141a6274c55acb1c', class: "multi-step-dialog" }, h("tet-dialog", { key: 'f02b0aa33bb543fba871f7de01ef3c6d6632d88d', class: this.tetDialogClass, "is-open": this.isOpen, "data-screen-key": this.dialogDataScreenKey, "footer-display": "right", ref: el => this.tetDialog = el }, h("div", { key: 'e3707e61dcc1e9151ae973c0dd29fdf2f1fa9260', innerHTML: this.content }), this.steps.map((step, index) => (this.renderStep(step, index))), h("tet-button", { key: '4a06311048bafe2a5f7ce9450e297ad01f9c5575', class: "footer-button", slot: "footer", size: "medium", theme: "light", type: "secondary", ref: el => this.prevButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-go-back')), h("tet-button", { key: 'a93ca8393597debe1b08dbd130fbf2a323b52889', class: "footer-button", slot: "footer", size: "medium", theme: "light", ref: el => this.nextButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-next-step')))));
111
111
  }
112
112
  static get is() { return "tet-multi-step-dialog"; }
113
113
  static get encapsulation() { return "shadow"; }
@@ -121,7 +121,7 @@ export class TetAvailabilityContactForm {
121
121
  return (h("div", null, h("tet-dialog", { ref: (element) => this.dialogElement = element, "footer-display": "hidden", "is-open": this.showAvailabilityContactForm, closeOnEscape: true, closeOnOverlayClick: true }, h("div", { class: "form-container" }, h("tet-icon", { name: "confirm-md", class: "icon icon-success icon-size" }), this.showTitle && h("h2", { class: "form-title" }, t('components-availability-contact-form-success-title')), h("p", { class: "form-subtitle" }, t('components-availability-contact-form-success-subtitle')), h("tet-button", { class: "form-container-close", clickCallback: this.closeDialogElement, size: "medium", type: "primary", theme: "light" }, h("span", null, t('components-availability-contact-form-success-close')))))));
122
122
  }
123
123
  render() {
124
- return (h("div", { key: 'f1d8d9b0fff3d5c2e3f2f5fd4f8f69e6f899f8a0', class: { 'dark-theme': this.darkTheme } }, this.success ? this.renderSuccessStep() : this.renderForm()));
124
+ return (h("div", { key: 'b59f08b2e78fa184091772924ebc049e74fde605', class: { 'dark-theme': this.darkTheme } }, this.success ? this.renderSuccessStep() : this.renderForm()));
125
125
  }
126
126
  static get is() { return "tet-availability-contact-form"; }
127
127
  static get encapsulation() { return "shadow"; }
@@ -64,7 +64,7 @@ export class TetContactForm {
64
64
  processTranslations('tet-components', this.language).then(() => forceUpdate(this));
65
65
  }
66
66
  render() {
67
- return (h("div", { key: '6196c05370b4f09173f03d2d9f30749a5f5fd59a', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: 'bf6a4041396b415302ca1195d9381779ed3cdeac', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: '1b9c26a1313c36484dfd35ceb19af7d0b452fdaa', class: "form-container" }, this.showTitle && h("h2", { key: 'e21c1de3df386efcf6919dbf108b90171e408e28', class: "form-title" }, t('components-contact-form-title')), h("p", { key: '84dc326ec35f80129adb0bbb2c3014ec721fa188', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: '90ce7d81245930a566e09e805ee758aa45948311', class: "form-input", placeholder: "+37122345678", ref: (element) => this.phoneInput = element, validators: this.validators, label: this.showInputLabel ? t('components-contact-form-input-label') : null, theme: this.darkTheme ? 'dark' : 'classic' }), h("tet-button", Object.assign({ key: '09da34dffae3a2d546dac59893d288821f195939', class: "form-submit", type: "primary", clickCallback: this.createManualTask, innerHTML: t('components-contact-form-submit') }, this.submitButtonProps))))));
67
+ return (h("div", { key: 'a406dd58d8abbbd66e5a60c2a6fcc8ff9b43afed', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: '16ee2ee05637aa41e05f88b9f20ce0faac043d2a', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: '8200dcfa4d6cc25e6ad8adcece335415754ca11a', class: "form-container" }, this.showTitle && h("h2", { key: '36354fe11b6bb884f9d89ebe876f3ef140551a39', class: "form-title" }, t('components-contact-form-title')), h("p", { key: '4b37d3198bd735f78284cfd15b4c156b50a65842', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: '2b7381ca8fefdf1ce67578a6c41c35ed7b73785b', class: "form-input", placeholder: "+37122345678", ref: (element) => this.phoneInput = element, validators: this.validators, label: this.showInputLabel ? t('components-contact-form-input-label') : null, theme: this.darkTheme ? 'dark' : 'classic' }), h("tet-button", Object.assign({ key: '62f6169f6f1099486287e272e6ad248e974c8bb0', class: "form-submit", type: "primary", clickCallback: this.createManualTask, innerHTML: t('components-contact-form-submit') }, this.submitButtonProps))))));
68
68
  }
69
69
  static get is() { return "tet-contact-form"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class TetTvGiftBlock {
32
32
  this.setContainerSize();
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '99b4ab8fcd16d55ed84c558e5bf5b81753daca88' }, h("div", { key: 'ad026ec85ebb0c04dabc7ef4e15b8eea77b6cd1f', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: '83269cf57e6209fb16521a9c6e9c90150873efaa', class: "tv-gift__header" }, h("slot", { key: 'bc76e2dc5f482faf789df298ef8f14dad6af22aa', name: "header" }, this.headerImageSrc && h("img", { key: 'fcbb573a56c44fdf45d8e48d477b7c5a11c7d595', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: '0e005d7d7cc416df5aa51bdb7c1604e97649193f', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: '77ef7af23aac7768b7f47a80a6a1fb100cdbfbf7', class: "tv-gift__content" }, h("slot", { key: 'a77dc0307dbf41fd590a0013db84a37fbab22408' })), h("div", { key: '04dd6648a271e93d896e6bb8c745aec6ad310028', class: "tv-gift__footer" }, h("slot", { key: '30cfa96797dc307bcd7b765ee0fe9e10cf3db1da', name: "footer" }, h("span", { key: '52246cb549f3f29bd57b95d3c82cae39179abd7d', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: 'df9307c88f70a8c77b68f3ee2811d2b1f79cb001', class: "tv-gift__footer__text" }, this.footerText))))));
35
+ return (h(Host, { key: '773c99d1d823ed554a985350636fa1348ee506aa' }, h("div", { key: '76a060efd5ba9e6cb55eab6b1b647d7dcad11141', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: '0b8cef43b12b3348d50db5ca9a4f4189b96f3f3d', class: "tv-gift__header" }, h("slot", { key: '17822143d4254b3be6d587636579267c0a34c7b3', name: "header" }, this.headerImageSrc && h("img", { key: '217ac86bf1aa0ea3a1c99874bd3db5e45c9aae2e', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: '768015eb08dd1c07e53f99c1292c256f72beffa9', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: '74b7a7f8c819413294234782206863364937cb89', class: "tv-gift__content" }, h("slot", { key: 'e13aa5eb82c7df4e9cb944e593cb796ad8e330b1' })), h("div", { key: '2e4b475da19e1f865901956512f6cdb87c0ca3de', class: "tv-gift__footer" }, h("slot", { key: 'aeb0accc43dc733d9c4b7dbc5d1c7bf7f6c47c7e', name: "footer" }, h("span", { key: 'ad4a3cc8120bc42d32bf531bacca32293a0a908d', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: '8b3d4880010b24d474b8f6d28095fa2f319ad685', class: "tv-gift__footer__text" }, this.footerText))))));
36
36
  }
37
37
  static get is() { return "tet-tv-gift-block"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -34,11 +34,11 @@ export class TetTvGiftList {
34
34
  this.setContainerSize();
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '082c9b3b3ec32cbf50be53c8da14f9c2d8a6c410' }, h("div", { key: '134348f495631fa9d32bc9c76e867016c9f95983', class: {
37
+ return (h(Host, { key: 'f78e2fd97372592e8b27c6ac7b313504591bbb45' }, h("div", { key: '17147eb3f22f40c0afdbd148116e79b4d71fa9ee', class: {
38
38
  'tv-gift-list': true,
39
39
  [`tv-gift-list--${this.containerSize}`]: true,
40
40
  'tv-gift-list--image-list': Boolean(this.imageSource),
41
- } }, this.imageSource && (h("div", { key: '377b2d87af0bcd1eeeb5d9ce87edc1577b1dc027', class: "tv-gift-list__image__wrapper" }, h("img", { key: '1a2b9a0f6eabb27091bd52d78f580ae9ebd46f2d', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: 'cd007d8fd0a48e0ef1ec2f48e658678deb1ac0b9', class: "tv-gift-list__list__wrapper" }, h("span", { key: 'f109c565edcd19369fa56b86a4ef2b7613259720', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: 'df28840b32f8fef85c2355c08ca77c52bc60ea4c', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
41
+ } }, this.imageSource && (h("div", { key: 'ad1a60ae4e733c844d18ea6b871b0b36785eb358', class: "tv-gift-list__image__wrapper" }, h("img", { key: 'cd8524ed32af00412ed4fbe181d595fbc14f1540', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: '3a2f652f73a10013d61dfceb5b733bcd6879b443', class: "tv-gift-list__list__wrapper" }, h("span", { key: '6452f20ba9a42b607c71b03cd4708b27193b8a3a', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: '8ee50e9c915a4d02dd20d2932919c07e95e3ccb8', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
42
42
  }
43
43
  static get is() { return "tet-tv-gift-list"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -113,10 +113,10 @@ export class TetTabContent {
113
113
  this.selectedId = id;
114
114
  }
115
115
  render() {
116
- return (h(Host, { key: '618b5fdbf4d3a8f983ef8cbb7dd3ef2b75097f59' }, h("div", { key: '154a8982e2a0a78b6c0fffa98829277ca2762fb0', class: {
116
+ return (h(Host, { key: '33a0257fe61a77beff675c3b958c0d6b7d60bddc' }, h("div", { key: '9e3a94dc701de812ab6821c57b491b4b85d1c780', class: {
117
117
  'tet-tab-content': true,
118
118
  'use-visibility': this.useVisibility
119
- } }, h("slot", { key: '5c021ef8a8bce686a615a7478a4312f842eb4248' }))));
119
+ } }, h("slot", { key: '85950b5eae8dbae7fe83362f696501071dba4c29' }))));
120
120
  }
121
121
  static get is() { return "tet-tab-content"; }
122
122
  static get encapsulation() { return "shadow"; }
@@ -406,7 +406,7 @@ export class TetTabHeader {
406
406
  return {};
407
407
  }
408
408
  render() {
409
- return (h(Host, { key: '1f88fc45d0662681f6f3433b63ff2fe6248b557f' }, h("div", { key: '61caff06646d46be93eb5f42aee61bb02f2c90ed', class: {
409
+ return (h(Host, { key: 'fcf2ce3f93ff2a99fe53a02b663e1b96df8218b6' }, h("div", { key: '214ff13ea8dc05a7317310f4e110829d0f054446', class: {
410
410
  'tabs': true,
411
411
  'tabs--segmented': this.segmented,
412
412
  'dark': this.darkMode,
@@ -414,7 +414,7 @@ export class TetTabHeader {
414
414
  [this.theme]: true,
415
415
  [this.sizing]: true,
416
416
  [this.type]: !!this.type
417
- }, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref) }, h("slot", { key: 'e8fda4e0f7dc11cd8e60dfd8013f19d44ec816d2', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: 'a598ff2ee8d616a6b0d476a13a714b36f57e5cfa', class: { 'tabs-line': !this.segmented, 'no-underline': this.hideHeaderUnderline } })));
417
+ }, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref) }, h("slot", { key: '038ee9768e998e1c4e5e497b3fd8f852109f48e8', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: '1790b1f8148e5ad06408182917589bff69b82d5d', class: { 'tabs-line': !this.segmented, 'no-underline': this.hideHeaderUnderline } })));
418
418
  }
419
419
  static get is() { return "tet-tab-header"; }
420
420
  static get encapsulation() { return "shadow"; }
@@ -358,9 +358,11 @@
358
358
  *
359
359
  * @prop --tag-border-color: The border color of the tag.
360
360
  * @prop --tag-active-border-color: The border color of the tag when active.
361
+ * @prop --tag-disabled-border-color: The border color of the tag when disabled.
361
362
  *
362
363
  * @prop --tag-text-color: The text color of the tag.
363
364
  * @prop --tag-active-text-color: The text color of the tag when active.
365
+ * @prop --tag-disabled-text-color: The text color of the tag when disabled.
364
366
  */
365
367
  display: inline-block;
366
368
  --tag-background-color: rgb(255, 255, 255);
@@ -368,9 +370,11 @@
368
370
  --tag-active-background-color: rgb(10, 11, 13);
369
371
  --tag-border-color: rgb(153, 160, 174);
370
372
  --tag-active-border-color: rgb(10, 11, 13);
373
+ --tag-disabled-border-color: var(--tc-button-border-disabled);
371
374
  --tag-text-color: rgb(10, 11, 13);
372
375
  --tag-active-text-color: rgb(255, 255, 255);
373
376
  --tag-focus-outline-color:var(--tc-blue-40);
377
+ --tag-disabled-text-color: var(--tc-button-text-secondary-disabled);
374
378
  }
375
379
 
376
380
  .tag {
@@ -386,7 +390,7 @@
386
390
  border-color: var(--tag-border-color);
387
391
  border: 0.0625rem solid var(--tag-border-color);
388
392
  }
389
- .tag:hover {
393
+ .tag:hover:not(:disabled) {
390
394
  background: var(--tag-hover-background-color);
391
395
  }
392
396
  .tag:focus-visible {
@@ -396,14 +400,20 @@
396
400
  outline-color: var(--tag-focus-outline-color);
397
401
  border-color: transparent;
398
402
  }
399
- .tag:active:not(:disabled), .tag.tag-active {
403
+ .tag:active:not(:disabled), .tag.tag-active:not(:disabled) {
400
404
  color: var(--tag-active-text-color);
401
405
  background: var(--tag-active-background-color);
402
406
  border-color: var(--tag-active-border-color);
403
407
  }
404
- .tag:active:not(:disabled) .tag-icon, .tag.tag-active .tag-icon {
408
+ .tag:active:not(:disabled) .tag-icon, .tag.tag-active:not(:disabled) .tag-icon {
405
409
  --icon-color: var(--tag-active-text-color);
406
410
  }
411
+ .tag:disabled {
412
+ border-color: var(--tag-disabled-border-color);
413
+ color: var(--tag-disabled-text-color);
414
+ cursor: not-allowed;
415
+ background: transparent;
416
+ }
407
417
  .tag--icon {
408
418
  padding: 0.375rem 0.625rem 0.365rem 0.75rem;
409
419
  }
@@ -414,8 +424,10 @@
414
424
  --tag-border-color: var(--tc-border-secondary);
415
425
  --tag-active-border-color: var(--tc-button-primary-background-default);
416
426
  --tag-focus-outline-color:var(--tc-blue-40);
427
+ --tag-disabled-border-color: var(--tc-button-border-disabled);
417
428
  --tag-text-color: var(--tc-button-text-secondary);
418
429
  --tag-active-text-color: var(--tc-button-text-primary);
430
+ --tag-disabled-text-color: var(--tc-button-text-secondary-disabled);
419
431
  }
420
432
  .tag.theme-dark {
421
433
  --tag-background-color: var(--tc-layer-primary-dark);
@@ -424,8 +436,10 @@
424
436
  --tag-border-color: var(--tc-border-secondary-dark);
425
437
  --tag-active-border-color: var(--tc-button-primary-background-default-dark);
426
438
  --tag-focus-outline-color:var(--tc-blue-40-dark);
439
+ --tag-disabled-border-color: var(--tc-button-border-disabled-dark);
427
440
  --tag-text-color: var(--tc-button-text-secondary-dark);
428
441
  --tag-active-text-color: var(--tc-button-text-primary-dark);
442
+ --tag-disabled-text-color: var(--tc-button-text-secondary-disabled-dark);
429
443
  }
430
444
  .tag.theme-mint {
431
445
  --tag-background-color: rgb(35, 40, 46);
@@ -433,8 +447,10 @@
433
447
  --tag-active-background-color: rgb(26, 213, 219);
434
448
  --tag-border-color: rgb(26, 213, 219);
435
449
  --tag-active-border-color: rgb(26, 213, 219);
450
+ --tag-disabled-border-color: var(--tc-button-border-disabled-dark);
436
451
  --tag-text-color: rgb(255, 255, 255);
437
452
  --tag-active-text-color: rgb(10, 11, 13);
453
+ --tag-disabled-text-color: var(--tc-button-text-secondary-disabled-dark);
438
454
  }
439
455
  .tag .tag-icon {
440
456
  --icon-size: 1rem;
@@ -10,6 +10,7 @@ export class TetTag {
10
10
  this.active = false;
11
11
  this.theme = 'classic';
12
12
  this.showIcon = false;
13
+ this.disabled = false;
13
14
  this.language = 'lv';
14
15
  }
15
16
  async onLanguageChange(language) {
@@ -19,12 +20,12 @@ export class TetTag {
19
20
  processTranslations('tet-components', this.language).then(() => forceUpdate(this));
20
21
  }
21
22
  render() {
22
- return (h(Host, { key: 'd655cc4962f99fc8dde924497c1f5c46a687cd60' }, h("button", { key: '1215e39e7ef627a0ce07cf95199c975c3d27eda5', class: {
23
+ return (h(Host, { key: '26e4d377e0bf498e773cf3bbb9a316eb5413c8db' }, h("button", { key: '7034a6c7ac6168c2c78bd6190d31f397dc436331', class: {
23
24
  tag: true,
24
25
  'tag-active': this.active,
25
26
  'tag--icon': this.showIcon,
26
27
  [`theme-${this.theme}`]: true,
27
- }, "aria-pressed": this.active.toString() }, this.tagTitle && h("p", { key: '010ce65c48ab70eeeabb776a3859b9153881b3d4', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: '26939dfeb844a989c427cdef01f031a9ab7a98ac', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: 'eb00138d84341c81ec5e781dc78b3809b45dd915', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
28
+ }, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: 'f6ff0d60f26afb6010949f59095d1ceca5a0df9d', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: '65dc53b0ed299b49d80634c745916b04dde44325', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '4790727ca0ac7ee763a3c7047f89b1a65ab9b13c', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
28
29
  }
29
30
  static get is() { return "tet-tag"; }
30
31
  static get encapsulation() { return "shadow"; }
@@ -128,6 +129,24 @@ export class TetTag {
128
129
  "reflect": false,
129
130
  "defaultValue": "false"
130
131
  },
132
+ "disabled": {
133
+ "type": "boolean",
134
+ "mutable": false,
135
+ "complexType": {
136
+ "original": "boolean",
137
+ "resolved": "boolean",
138
+ "references": {}
139
+ },
140
+ "required": false,
141
+ "optional": false,
142
+ "docs": {
143
+ "tags": [],
144
+ "text": "State of the disabled tag"
145
+ },
146
+ "attribute": "disabled",
147
+ "reflect": false,
148
+ "defaultValue": "false"
149
+ },
131
150
  "language": {
132
151
  "type": "string",
133
152
  "mutable": false,
@@ -13,14 +13,14 @@ export class TetTagGroup {
13
13
  * @param tag
14
14
  */
15
15
  this.renderTag = (tag) => {
16
- return (h("tet-tag", { class: "single-tag", part: "tag", tagTitle: tag.title, count: tag.count, active: tag.active, showIcon: tag.showIcon, language: this.language, theme: this.theme, onClick: () => isFunction(tag.clickAction) ? tag.clickAction(tag) : null }));
16
+ return (h("tet-tag", { class: "single-tag", part: "tag", tagTitle: tag.title, count: tag.count, active: tag.active, showIcon: tag.showIcon, language: this.language, theme: this.theme, disabled: tag.disabled, onClick: () => isFunction(tag.clickAction) ? tag.clickAction(tag) : null }));
17
17
  };
18
18
  this.language = 'lv';
19
19
  this.tags = [];
20
20
  this.theme = 'classic';
21
21
  }
22
22
  render() {
23
- return h("div", { key: 'fbad853ff725a16c713d84a47f49c0e271ed5670', class: "tags" }, this.tags.map(this.renderTag));
23
+ return h("div", { key: 'f619e65de3bb1720a15764e3efdb076ea66a0ada', class: "tags" }, this.tags.map(this.renderTag));
24
24
  }
25
25
  static get is() { return "tet-tag-group"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -138,10 +138,10 @@ export class TetCarousel {
138
138
  window.removeEventListener('resize', this.getScreenCount.bind(this));
139
139
  }
140
140
  render() {
141
- return (h(Host, { key: '82455d2dfb8240a27e0e1b11dd68faad64ddfce3' }, h("div", { key: '96c8f171564ba89c9ec4a1d27040bf76d0e8c839', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '14306d6b91013f12d914493b2e134a883841e689', class: "tet-carousel__container" }, h("div", { key: '3b3ab56bf32a4b696db69d05ace95314068c908b', class: "tet-carousel__track", ref: (el) => (this.trackElement = el), style: {
141
+ return (h(Host, { key: '2f61631952462d8faaac9fcaa32b7cd49d298f4a' }, h("div", { key: '222266efa037d5947d310a160eb1b1e01f1ce322', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '366cca532254f73d1302bed7a4c2f4d8cbdc24e8', class: "tet-carousel__container" }, h("div", { key: '1eee687244a642b9f038c5aed5abfa99017b3776', class: "tet-carousel__track", ref: (el) => (this.trackElement = el), style: {
142
142
  transform: `translateX(${this.dragOffset}px)`,
143
143
  transition: this.isDragging ? 'none' : `transform ${this.transitionDuration}ms ${this.transitionTiming}`
144
- }, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '783ef1e0e5c558d698dd8591516d0cc4d613d890' }))), h("div", { key: '1fec30c7e26abc29218753da2c774c1736747b6b', class: "tet-carousel__controls" }, this.showButtons && (h("div", { key: '5d0e4c0dd7190384f8c96ff3aaed94db90e7d663', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: '8a065ab58157140a87ba884254d7f3f5afe72c71', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, onClick: this.handlePrev, "aria-label": "Previous", disabled: this.screenCount <= 1 || this.activeIndex === 0 }))), this.showDots && (h("div", { key: '9c6231e50f7c469254eeaba757a07fd4169d4dc2', class: "tet-carousel__dots" }, Array.from({ length: this.screenCount }).map((_, idx) => (h("span", { class: `tet-carousel__dot${idx === this.activeIndex ? ' active' : ''}`, key: idx, onClick: () => this.handleDotClick(idx) }))))), this.showButtons && (h("div", { key: 'aeb93d78f058d96f4e16253624b7cef6512ec167', class: "tet-carousel__buttons " }, h("tet-button", { key: '5bab8de73d3033df20101a810f89895d47f64fd5', class: "tet-carousel__buttons--desktop tet-carousel__btn ", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, onClick: this.handlePrev, "aria-label": "Previous", disabled: this.screenCount <= 1 || this.activeIndex === 0 }), h("tet-button", { key: 'f624005ca2aeda63dd730162d9a0b1538ceef561', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, onClick: this.handleNext, "aria-label": "Next", disabled: this.screenCount <= 1 || this.activeIndex === this.screenCount - 1 })))))));
144
+ }, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: 'c1c6a352df3f519745e7cbd5d442aaa6b0d279e6' }))), h("div", { key: '0a273ad667765abd8886816f9507ed766db3bbcb', class: "tet-carousel__controls" }, this.showButtons && (h("div", { key: '152a50e0e6b4600be42a97afc96202129208878e', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: '85927a1665cb8ddeac1a38e7dfde1d91dd393c31', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, onClick: this.handlePrev, "aria-label": "Previous", disabled: this.screenCount <= 1 || this.activeIndex === 0 }))), this.showDots && (h("div", { key: 'a4c481ec8f7c79efbf71e8f87853759135074acb', class: "tet-carousel__dots" }, Array.from({ length: this.screenCount }).map((_, idx) => (h("span", { class: `tet-carousel__dot${idx === this.activeIndex ? ' active' : ''}`, key: idx, onClick: () => this.handleDotClick(idx) }))))), this.showButtons && (h("div", { key: 'b04e56addc02346d2b78a8a87a41a33b3a40182a', class: "tet-carousel__buttons " }, h("tet-button", { key: 'de3e442e1dd33504132d68a1dd356eb688083c06', class: "tet-carousel__buttons--desktop tet-carousel__btn ", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, onClick: this.handlePrev, "aria-label": "Previous", disabled: this.screenCount <= 1 || this.activeIndex === 0 }), h("tet-button", { key: 'a78a12c790e51ff0a91998db00771319eb6c523b', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, onClick: this.handleNext, "aria-label": "Next", disabled: this.screenCount <= 1 || this.activeIndex === this.screenCount - 1 })))))));
145
145
  }
146
146
  static get is() { return "tet-carousel"; }
147
147
  static get encapsulation() { return "shadow"; }
@@ -49,7 +49,7 @@ export class TetIcon {
49
49
  });
50
50
  }
51
51
  render() {
52
- return (h("span", { key: '6413b597cede36555cd5c53911218d9de66d0383', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", Object.assign({ key: 'e462b6570081c13987b68a29250f0be4530e215b', class: {
52
+ return (h("span", { key: '49816e3b2718ca788e5f144ea166f105e5ddd468', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", Object.assign({ key: 'bcefb634abdab0de2dc09cbabc33655802d039b7', class: {
53
53
  'icon-container': true,
54
54
  'default-color': this.shouldUseDefaultColor(),
55
55
  [this.theme]: true,
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class TetLoader {
6
6
  render() {
7
- return (h("div", { key: '5693ed0c4c1f558b9aba3745ab82c65bce5e130e', class: "loader" }, h("div", { key: '0700c43da2dfad6d1b78bc7e0b7b6f00b84214d8', class: "loader-inner" })));
7
+ return (h("div", { key: '761206c2d51c653032b464e373f8f3845a39fbd0', class: "loader" }, h("div", { key: 'd58abc41d9f0c6e90c784cd5916ab0021c2a6b3c', 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: 'eb34706a5b84908ce5944ec5427e4da45dabcd75', style: { width: this.width, height: this.height } }, h("div", { key: 'ff19c33b66e5193fa5e429beb5c1bcf7925872c9', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '00564017cae2f1cb5c88f77be25ea3b3f97f0c68', class: "placeholder", style: { height: this.height } }))));
12
+ return (h(Host, { key: '651d3da26f9038f81db353a840d03f93efb46611', style: { width: this.width, height: this.height } }, h("div", { key: '775a3fc39497c8ec7479082689891fe8364a2eb1', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '7e33692dd60e6df4f2f0c015e4f165052ec5f65f', class: "placeholder", style: { height: this.height } }))));
13
13
  }
14
14
  static get is() { return "tet-placeholder"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -47,13 +47,13 @@ export class TetSpinner {
47
47
  this.setForeignObjectAttributes();
48
48
  }
49
49
  render() {
50
- return (h("div", { key: 'c31a7165f1cfa8e573ffacbc3e967f77f25d29c0', ref: element => (this.spinner = element), class: {
50
+ return (h("div", { key: 'de948e2bbce4907d1647853bdee51a6b009dcc33', ref: element => (this.spinner = element), class: {
51
51
  spinner: true,
52
52
  [`${this.theme}-theme`]: true,
53
53
  [`size--${this.size}`]: true,
54
54
  [`spinner--${this.type}`]: true,
55
- } }, h("svg", { key: '86af11dccfc6a569c9ce8c0098bcca86ae686b52', viewBox: "0 0 40 40" }, h("clipPath", { key: 'a89ee9cd72fe6649168aecf3a3c7129afc7df7e4', id: "clip" }, h("path", { key: '051980da4ca3787a690d1daaabcf8717a2939624', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
56
- 0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '6a81b30ca11a524a57224239a884acb010556838' }, h("div", { key: '714dc4bc3500325f79377cf71c6daf2cb1220dc7', class: "spinner__gradient" })))));
55
+ } }, h("svg", { key: '7a19bdb70adbc86a5d390393f015c9ecda79328d', viewBox: "0 0 40 40" }, h("clipPath", { key: '92e999cb64ab644d5f0cbd738ccfe18ad0533d19', id: "clip" }, h("path", { key: '394a1e358df9ab00d3955f4df105e8145406132c', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
56
+ 0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '7359114b0a47b1243a1e6483dfec8e28cd6185ca' }, h("div", { key: 'deeb55594d6a9364912e0faf59ce67f613e3e521', class: "spinner__gradient" })))));
57
57
  }
58
58
  static get is() { return "tet-spinner"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -13,12 +13,12 @@ export class TetLabel {
13
13
  this.showIcon = false;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: 'c79b013da76bbd3f5706270beedf30cb5deb9843' }, h("div", { key: 'ed67d61ed71db156f4d9852ffe4f7f43995fbd70', class: {
16
+ return (h(Host, { key: 'fa064d6a3a9e8b3943ee29721f96e73995b13448' }, h("div", { key: 'ca6c788ffba25e2fc6ccaf6079568f6c99947887', 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: 'f01967001f2e3b8e027f4649a285666973ab7fae', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: '6af9e12aec914a5085be6d393121fa22d0a1e79a', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
21
+ } }, this.labelTitle && h("p", { key: '8e03672f466ecaca977d5c54004b2d70f7615a8a', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: 'e88406f52a10ae2e664ba066a9e693df5ac8b710', 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"; }