@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,314 @@
1
+ import { forceUpdate, h, Host } from "@stencil/core";
2
+ import { processTranslations, t } from "../../../../services/translations/index";
3
+ import { AddressOffersProductsFilters } from "./address-offers-products-filters";
4
+ import { CompareCardsTabProductsFilters } from "../../cards/tet-compare-cards-tab/compare-cards-tab-products-filters";
5
+ export class TetAddressOffersFiltersProducts {
6
+ constructor() {
7
+ this.clearAllFilters = () => {
8
+ if (this.filtersHelper) {
9
+ this.filtersHelper.clearFilters(this.category);
10
+ }
11
+ if (this.compareCardsFiltersHelper) {
12
+ this.compareCardsFiltersHelper.clearFilters();
13
+ }
14
+ };
15
+ this.renderClearFilterBtn = () => {
16
+ if (!this.clearFilterButton || this.availableTvProducts.length === 0) {
17
+ return null;
18
+ }
19
+ return (h("button", { class: { 'clear-button': true, [`theme-${this.theme}`]: true }, onClick: () => this.clearAllFilters() }, h("tet-icon", { name: "tc-reload", part: "icon-selected" }), t('components-address-offers-filters-clear-btn')));
20
+ };
21
+ this.renderLoader = () => {
22
+ return (h("div", { class: "loader" }, Array.from({ length: 4 }).map(() => (h("tet-placeholder", { height: "2rem", width: "8rem", class: "tag-placeholder" })))));
23
+ };
24
+ this.language = 'lv';
25
+ this.clearFilterButton = false;
26
+ this.theme = 'light';
27
+ this.catalog = undefined;
28
+ this.productCodes = undefined;
29
+ this.category = undefined;
30
+ this.subcategoryId = undefined;
31
+ this.availableTvProducts = [];
32
+ this.activeTvFilters = [];
33
+ }
34
+ /**
35
+ * Change translations on language change
36
+ * @param {Language} language
37
+ */
38
+ async onLanguageChange(language) {
39
+ processTranslations('tet-components', language).then(() => forceUpdate(this));
40
+ }
41
+ onDataChange() {
42
+ this.initFilters();
43
+ }
44
+ onProductCodesChanged() {
45
+ this.initFilters();
46
+ }
47
+ /**
48
+ * Lifecycle method
49
+ */
50
+ componentWillLoad() {
51
+ processTranslations('tet-components', this.language).then(() => forceUpdate(this));
52
+ this.initFilters();
53
+ }
54
+ /**
55
+ * Determines which helper to use and initializes filters.
56
+ */
57
+ initFilters() {
58
+ if (this.catalog && this.category) {
59
+ this.initAdrressOffersFilters();
60
+ }
61
+ else if (this.productCodes) {
62
+ this.initCompareCardFilters();
63
+ }
64
+ }
65
+ initAdrressOffersFilters() {
66
+ this.filtersHelper = new AddressOffersProductsFilters((filters, activeFilterIds, filteredProductIds) => {
67
+ this.availableTvProducts = filters.map(tag => (Object.assign(Object.assign({}, tag), { clickAction: () => this.toggleFilter(tag.id) })));
68
+ this.activeTvFilters = activeFilterIds;
69
+ this.activeFiltersChanged.emit(activeFilterIds);
70
+ this.filteredProductsChanged.emit({
71
+ subcategoryId: this.subcategoryId,
72
+ filteredProductIds,
73
+ });
74
+ });
75
+ this.filtersHelper.initialize(this.catalog, this.category);
76
+ }
77
+ initCompareCardFilters() {
78
+ this.compareCardsFiltersHelper = new CompareCardsTabProductsFilters((filters, activeFilterIds, filteredProductIds) => {
79
+ this.availableTvProducts = filters.map(tag => (Object.assign(Object.assign({}, tag), { clickAction: () => this.toggleCompareCardsFilter(tag.id) })));
80
+ this.activeTvFilters = activeFilterIds;
81
+ this.activeFiltersChanged.emit(activeFilterIds);
82
+ this.filteredProductsChanged.emit({
83
+ subcategoryId: this.subcategoryId,
84
+ filteredProductIds,
85
+ });
86
+ });
87
+ this.compareCardsFiltersHelper.initialize(this.productCodes);
88
+ }
89
+ toggleFilter(filterId) {
90
+ const filter = this.filtersHelper.getAvailableFilters().find(tag => tag.id === filterId);
91
+ if (filter && !filter.disabled) {
92
+ this.filtersHelper.filterClickAction(filter, this.category);
93
+ }
94
+ }
95
+ toggleCompareCardsFilter(filterId) {
96
+ const filter = this.compareCardsFiltersHelper.getAvailableFilters().find(tag => tag.id === filterId);
97
+ if (filter && !filter.disabled) {
98
+ this.compareCardsFiltersHelper.filterClickAction(filter);
99
+ }
100
+ }
101
+ render() {
102
+ return (h(Host, { key: '1572f9f51a53dedd278603fcd3fc9c824d089ef5' }, this.availableTvProducts.length === 0 && this.renderLoader(), h("tet-tag-group", { key: 'c2cab43e37381789d36cb1926b4aa586d9e38c2d', tags: this.availableTvProducts, language: this.language, theme: this.theme }), this.renderClearFilterBtn()));
103
+ }
104
+ static get is() { return "tet-address-offers-filters-products"; }
105
+ static get encapsulation() { return "shadow"; }
106
+ static get originalStyleUrls() {
107
+ return {
108
+ "$": ["tet-address-offers-filters-products.scss"]
109
+ };
110
+ }
111
+ static get styleUrls() {
112
+ return {
113
+ "$": ["tet-address-offers-filters-products.css"]
114
+ };
115
+ }
116
+ static get properties() {
117
+ return {
118
+ "language": {
119
+ "type": "string",
120
+ "mutable": false,
121
+ "complexType": {
122
+ "original": "Language",
123
+ "resolved": "\"en\" | \"lv\" | \"ru\"",
124
+ "references": {
125
+ "Language": {
126
+ "location": "import",
127
+ "path": "@services/translations",
128
+ "id": "src/services/translations/index.ts::Language"
129
+ }
130
+ }
131
+ },
132
+ "required": false,
133
+ "optional": false,
134
+ "docs": {
135
+ "tags": [],
136
+ "text": "The translation language."
137
+ },
138
+ "attribute": "language",
139
+ "reflect": false,
140
+ "defaultValue": "'lv'"
141
+ },
142
+ "clearFilterButton": {
143
+ "type": "boolean",
144
+ "mutable": false,
145
+ "complexType": {
146
+ "original": "boolean",
147
+ "resolved": "boolean",
148
+ "references": {}
149
+ },
150
+ "required": false,
151
+ "optional": false,
152
+ "docs": {
153
+ "tags": [],
154
+ "text": "Define if clear filter button should appear"
155
+ },
156
+ "attribute": "clear-filter-button",
157
+ "reflect": false,
158
+ "defaultValue": "false"
159
+ },
160
+ "theme": {
161
+ "type": "string",
162
+ "mutable": false,
163
+ "complexType": {
164
+ "original": "'light' | 'dark'",
165
+ "resolved": "\"dark\" | \"light\"",
166
+ "references": {}
167
+ },
168
+ "required": false,
169
+ "optional": false,
170
+ "docs": {
171
+ "tags": [],
172
+ "text": "The theme of the clear Filters button and tags."
173
+ },
174
+ "attribute": "theme",
175
+ "reflect": false,
176
+ "defaultValue": "'light'"
177
+ },
178
+ "catalog": {
179
+ "type": "unknown",
180
+ "mutable": false,
181
+ "complexType": {
182
+ "original": "AvailableServicesModel",
183
+ "resolved": "AvailableServicesModel",
184
+ "references": {
185
+ "AvailableServicesModel": {
186
+ "location": "import",
187
+ "path": "../../../../services/api/services/catalog/service-availability-services",
188
+ "id": "src/services/api/services/catalog/service-availability-services.ts::AvailableServicesModel"
189
+ }
190
+ }
191
+ },
192
+ "required": false,
193
+ "optional": false,
194
+ "docs": {
195
+ "tags": [],
196
+ "text": "The catalog data from the API."
197
+ }
198
+ },
199
+ "productCodes": {
200
+ "type": "unknown",
201
+ "mutable": false,
202
+ "complexType": {
203
+ "original": "CompareCardProductCodesProp",
204
+ "resolved": "ProductComparisonInterface[] | { products: { [key: string]: { productCode: string; }; }; productTags: any[]; }",
205
+ "references": {
206
+ "CompareCardProductCodesProp": {
207
+ "location": "local",
208
+ "path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/address/tet-address-offers-filters-products/tet-address-offers-filters-products.tsx",
209
+ "id": "src/components/advanced/address/tet-address-offers-filters-products/tet-address-offers-filters-products.tsx::CompareCardProductCodesProp"
210
+ }
211
+ }
212
+ },
213
+ "required": false,
214
+ "optional": false,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": "The prop that contains products."
218
+ }
219
+ },
220
+ "category": {
221
+ "type": "unknown",
222
+ "mutable": false,
223
+ "complexType": {
224
+ "original": "StructureModel",
225
+ "resolved": "StructureModel",
226
+ "references": {
227
+ "StructureModel": {
228
+ "location": "import",
229
+ "path": "../../../../services/api/services/catalog/service-availability-services",
230
+ "id": "src/services/api/services/catalog/service-availability-services.ts::StructureModel"
231
+ }
232
+ }
233
+ },
234
+ "required": false,
235
+ "optional": false,
236
+ "docs": {
237
+ "tags": [],
238
+ "text": "The category to show filters for."
239
+ }
240
+ },
241
+ "subcategoryId": {
242
+ "type": "string",
243
+ "mutable": false,
244
+ "complexType": {
245
+ "original": "string",
246
+ "resolved": "string",
247
+ "references": {}
248
+ },
249
+ "required": false,
250
+ "optional": false,
251
+ "docs": {
252
+ "tags": [],
253
+ "text": "The subcategory ID to identify the filtered products."
254
+ },
255
+ "attribute": "subcategory-id",
256
+ "reflect": false
257
+ }
258
+ };
259
+ }
260
+ static get states() {
261
+ return {
262
+ "availableTvProducts": {},
263
+ "activeTvFilters": {}
264
+ };
265
+ }
266
+ static get events() {
267
+ return [{
268
+ "method": "activeFiltersChanged",
269
+ "name": "activeFiltersChanged",
270
+ "bubbles": true,
271
+ "cancelable": true,
272
+ "composed": true,
273
+ "docs": {
274
+ "tags": [],
275
+ "text": "Event emitted when active filters change, sending array of active filter IDs."
276
+ },
277
+ "complexType": {
278
+ "original": "string[]",
279
+ "resolved": "string[]",
280
+ "references": {}
281
+ }
282
+ }, {
283
+ "method": "filteredProductsChanged",
284
+ "name": "filteredProductsChanged",
285
+ "bubbles": true,
286
+ "cancelable": true,
287
+ "composed": true,
288
+ "docs": {
289
+ "tags": [],
290
+ "text": "Event emitted when filtered products change, sending subcategory ID and array of filtered product IDs."
291
+ },
292
+ "complexType": {
293
+ "original": "{ subcategoryId: string; filteredProductIds: string[] }",
294
+ "resolved": "{ subcategoryId: string; filteredProductIds: string[]; }",
295
+ "references": {}
296
+ }
297
+ }];
298
+ }
299
+ static get watchers() {
300
+ return [{
301
+ "propName": "language",
302
+ "methodName": "onLanguageChange"
303
+ }, {
304
+ "propName": "catalog",
305
+ "methodName": "onDataChange"
306
+ }, {
307
+ "propName": "category",
308
+ "methodName": "onDataChange"
309
+ }, {
310
+ "propName": "productCodes",
311
+ "methodName": "onProductCodesChanged"
312
+ }];
313
+ }
314
+ }
@@ -281,20 +281,20 @@ export class TetAddressSearch {
281
281
  if (this.newFormsStyle) {
282
282
  inputClasses.push('address-search__input--forms');
283
283
  }
284
- return (h(Host, { key: '825bd78e49c58337466a6d735b58bbce2f93e3e8', class: {
284
+ return (h(Host, { key: '291ffa21c3727c7fbb628ee5b7d5b8afc1fc152a', class: {
285
285
  "address-search": true,
286
286
  "address-search--redesigned": this.redesignedStyle,
287
287
  "keyboard-focus": this.focusVisible,
288
288
  "active": this.elementActive,
289
289
  [this.theme]: true,
290
- } }, h("tet-autocomplete", { key: 'f57c061683254fd285e151c15951a85535cfb8f2', class: `address-search--redesigned__autocomplete
290
+ } }, h("tet-autocomplete", { key: 'be4a6bb92174c4e57b3f6a6d0b882fef3f44a244', class: `address-search--redesigned__autocomplete
291
291
  ${this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : ''}
292
292
  `, part: "autocomplete", optionsFilterAction: this.debounceAddressFilter, onOptionSelected: this.handleAutocompleteOptionSelection, noOptionsMessage: t('components-address-search-not-found-message'), noOptionsRenderFunction: this.manualAddressTriggers ? this.renderManualAddressInputNoOptionsMessage : undefined, clearCallback: this.autocompleteClearInputCallback, finishedLoading: this.finishedLoading, darkTheme: this.theme === 'dark' || this.theme === 'mint-original', newStyle: this.newStyle, ref: (el) => (this.autocomplete = el), optionsIcon: "location", redesignedStyle: this.redesignedStyle }, this.redesignedStyle ? (h("div", { class: "address-search--redesigned__autocomplete-content" }, h("div", { class: `address-search--redesigned__input-wrapper
293
293
  ${this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : ''}` }, h("tet-input", { class: `address-search__input address-search--redesigned__input
294
294
  ${this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : ''}`, part: "input", "input-class": inputClasses.join(' '), "input-placeholder": this.placeholder, "input-disabled": this.inputDisabled, label: this.label, accessibilityLabel: this.accessibilityLabel, iconLeft: this.newFormsStyle ? '' : 'tc-search-short', iconRight: this.inputIconRight, iconRightClickCallback: this.clearInputAction, ref: (el) => (this.inputComponent = el), error: this.isInputInvalid, autocomplete: "off" }, this.isLoading &&
295
295
  h("tet-spinner", { theme: this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : 'light', class: "address-search__spinner", size: "small" }))), h("div", { class: `address-search--redesigned__button-wrapper
296
296
  ${this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : ''}` }, h("tet-button", { class: "submit-address js-button-mobile button-icon", type: "primary", "accessibility-label": t('components-address-search-search'), iconName: "arrow-right", iconMode: true, onClick: this.handleSearchSubmit }), h("tet-button", { class: "submit-address button js-button", type: "primary", size: "medium", onClick: this.handleSearchSubmit }, this.searchButtonText)))) : (h("tet-input", { class: "address-search__input", part: "input", "input-class": inputClasses.join(' '), "input-placeholder": this.placeholder, "input-disabled": this.inputDisabled, label: this.label, accessibilityLabel: this.accessibilityLabel, iconLeft: this.newFormsStyle ? '' : 'search', iconRight: this.inputIconRight, iconRightClickCallback: this.clearInputAction, theme: this.theme, ref: (el) => (this.inputComponent = el), error: this.isInputInvalid, autocomplete: "off" }, this.isLoading &&
297
- h("tet-spinner", { theme: this.theme === 'dark' ? 'dark' : 'light', class: "address-search__spinner", size: "small" })))), this.redesignedStyle && (h("div", { key: 'e16e4fb65a0123459e4bdbdeb364aa01f5f8b52b', class: "address-search--redesigned__close-button" }, h("tet-button", { key: '3a0fc57d239b98846c33dba9466b1ca43106fc8f', type: "link", iconName: "close", theme: "dark" }, this.closeButtonText)))));
297
+ h("tet-spinner", { theme: this.theme === 'dark' ? 'dark' : 'light', class: "address-search__spinner", size: "small" })))), this.redesignedStyle && (h("div", { key: '6b356fc067dc1a94f8863ecc3c0fadc004263e51', class: "address-search--redesigned__close-button" }, h("tet-button", { key: '1eee81b47c0282fddf32a7deddd8ce1da9baf8b5', type: "link", iconName: "close", theme: "dark" }, this.closeButtonText)))));
298
298
  }
299
299
  static get is() { return "tet-address-search"; }
300
300
  static get encapsulation() { return "shadow"; }
@@ -69,7 +69,7 @@ export class TetAutocompleteDropdown {
69
69
  return this.inputValue.length ? IconName.Close : IconName.ChevronDown;
70
70
  }
71
71
  render() {
72
- return (h(Host, { key: '26d9895642efe283b331bff8fdfc108b12e3d74c' }, h("tet-autocomplete", { key: '99bee4f0b87a43d21320c39101d2aa3d1cf4a90e', newStyle: true, defaultOptions: this.options, showOptionsOnEscapeClear: true, noOptionsMessage: this.noOptionsMessage, optionsFilterAction: this.optionsFilterAction, clearCallback: this.autocompleteClearInputCallback, onOptionSelected: this.handleAutocompleteOptionSelection, ref: (element) => (this.autocomplete = element), darkTheme: this.theme === 'dark' }, h("tet-input", { key: '583090a2f9e715606e05dba01dcf57828c2d0395', class: "input", label: this.label, error: this.hasError, "icon-right": this.rightIconName, "input-class": "autocomplete-input", "input-placeholder": this.placeholder, ref: (element) => (this.inputComponent = element), iconRightClickCallback: this.iconRightClickCallback, theme: this.theme })), this.hasError && this.errorMessage && h("p", { key: '0c8ee886ae658c5fbaeee15e662758b4697cd9d2', class: "error-message" }, this.errorMessage)));
72
+ return (h(Host, { key: '61d6b74c7e0ed7a3c5d822a63ef37e93e3a30143' }, h("tet-autocomplete", { key: '3fa526eb25d2c1e41cdd50a31d6f0f0586e501c5', newStyle: true, defaultOptions: this.options, showOptionsOnEscapeClear: true, noOptionsMessage: this.noOptionsMessage, optionsFilterAction: this.optionsFilterAction, clearCallback: this.autocompleteClearInputCallback, onOptionSelected: this.handleAutocompleteOptionSelection, ref: (element) => (this.autocomplete = element), darkTheme: this.theme === 'dark' }, h("tet-input", { key: '33804b7e9df8f031c4229869c78beaee69e31bd2', class: "input", label: this.label, error: this.hasError, "icon-right": this.rightIconName, "input-class": "autocomplete-input", "input-placeholder": this.placeholder, ref: (element) => (this.inputComponent = element), iconRightClickCallback: this.iconRightClickCallback, theme: this.theme })), this.hasError && this.errorMessage && h("p", { key: 'c24518ff6efc594fb75f5a1064ea0f64d9784a3c', class: "error-message" }, this.errorMessage)));
73
73
  }
74
74
  static get is() { return "tet-autocomplete-dropdown"; }
75
75
  static get encapsulation() { return "shadow"; }
@@ -28,10 +28,10 @@ export class TetBusinessCompareCard {
28
28
  }
29
29
  render() {
30
30
  const { mainTitle, bulletPoints, theme, pricePrefix, price, currency } = this;
31
- return (h("div", { key: 'cf32a3fd7ed74d75e7b4fc5dcaa51993e1927236', class: { 'tet-business-compare-card': true, [`theme-${theme}`]: true } }, h("div", { key: 'f357097d8dd152dcc4fce98d921e984ecfa0fbaf', class: "tet-business-compare-card__body" }, h("div", { key: 'b9b8e301ab08b550aa0e55a6b6f3f32906e783b4', class: "tet-business-compare-card__title" }, h("slot", { key: '4d7d8d10fb08514ad0dc743eab034bddb56e50d6', name: "title" }, h("h3", { key: 'e4a397409521ee5f03fc30895e86a89c1a1eec8f' }, mainTitle))), h("div", { key: '3af68a4599478f20d4463ccfa70168a1005d36d1', class: "tet-business-compare-card__content" }, h("slot", { key: '54986938110ad7fffe20078157af86464da61d7d', name: "content" }, !!(bulletPoints === null || bulletPoints === void 0 ? void 0 : bulletPoints.length) && (h("tet-text-list", { key: '5c04461dd8ea8eeda912377e3643d12008944ee4', class: "bullet-points", theme: this.theme === 'dark' ? 'dark' : 'light' }, bulletPoints.map(bulletPoint => (h("p", null, bulletPoint)))))))), price && currency && (h("div", { key: '3887263480af0312802c568583235c501675defd', class: "tet-business-compare-card__price-wrapper" }, pricePrefix && (h("div", { key: 'e633e4f1b5a49e5b970358a010db057fdad53172', class: "tet-business-compare-card__price" }, h("span", { key: '5aa23336c7edd881fc1a6970020deacb1ad567b8', class: "tet-business-compare-card__price-prefix" }, pricePrefix, "\u00A0"), price)), !pricePrefix && h("div", { key: '3264dbe2e51891166a0d5611bc62b888f43cd493', class: "tet-business-compare-card__price" }, price), h("div", { key: '754c6bbd3dfb3245059c0f61893cdfd335199d26', class: "tet-business-compare-card__price-currency" }, currency))), h("div", { key: '777464cfe291b8667931093b3239fbee6051f4dd', class: {
31
+ return (h("div", { key: 'd8d3a6c52faed1547807ced6a914a4ee504e4daa', class: { 'tet-business-compare-card': true, [`theme-${theme}`]: true } }, h("div", { key: '9cc6bb6dbf7a03d255e52907354b1fd623d3f645', class: "tet-business-compare-card__body" }, h("div", { key: '440ba081486bf6a95e0252497dffd0a38bb46087', class: "tet-business-compare-card__title" }, h("slot", { key: 'ff9fbaee45b2d3523bf7e16c93ca6f57aefe2f65', name: "title" }, h("h3", { key: '9c836f70c1e5736baad15116afba7d6629597ebe' }, mainTitle))), h("div", { key: 'e88610818f9db7f701b7772b1f61e889eff3d88b', class: "tet-business-compare-card__content" }, h("slot", { key: 'd1cd16a6c66c133bc2147f1891fffadb36992402', name: "content" }, !!(bulletPoints === null || bulletPoints === void 0 ? void 0 : bulletPoints.length) && (h("tet-text-list", { key: '84cb34e3fc046a7a65c9c22934653284e61f1d76', class: "bullet-points", theme: this.theme === 'dark' ? 'dark' : 'light' }, bulletPoints.map(bulletPoint => (h("p", null, bulletPoint)))))))), price && currency && (h("div", { key: 'd83a165cf13fdafb97145dd482345218577cfc7f', class: "tet-business-compare-card__price-wrapper" }, pricePrefix && (h("div", { key: 'eace12a700f51515dea2775a4b9b6a6665735cd6', class: "tet-business-compare-card__price" }, h("span", { key: '4dcbb8c8c2bba27688721afa94a8f0b21229facc', class: "tet-business-compare-card__price-prefix" }, pricePrefix, "\u00A0"), price)), !pricePrefix && h("div", { key: '0f7c0cf8c5445f70cedd41d6751b539aed451c77', class: "tet-business-compare-card__price" }, price), h("div", { key: '794e9a62dc5f5a97ff56aa117332d72e606df69d', class: "tet-business-compare-card__price-currency" }, currency))), h("div", { key: '95eb30bd8a5b915e6560617f1afd1e5fc5e2fd5f', class: {
32
32
  'tet-business-compare-card__footer': true,
33
33
  'tet-business-compare-card__footer--show': this.hasContentInFooter,
34
- } }, h("slot", { key: '2bf75ccc957f4d4fd4778e11ca0b6681730d0957', ref: (slot) => (this.buttonSlotRef = slot), onSlotchange: this.checkFooterSlotContent, name: "button" }), h("slot", { key: '1155778c60ecfc67c685abbd93ebb94209aa40d0', ref: (slot) => (this.linkSlotRef = slot), onSlotchange: this.checkFooterSlotContent, name: "link" }))));
34
+ } }, h("slot", { key: '4fa7c8453bb73f5aa7a927e2791b13f6090fe7ad', ref: (slot) => (this.buttonSlotRef = slot), onSlotchange: this.checkFooterSlotContent, name: "button" }), h("slot", { key: 'f8d13e30560a2c53cedf2890c8aa9326bdd16c8a', ref: (slot) => (this.linkSlotRef = slot), onSlotchange: this.checkFooterSlotContent, name: "link" }))));
35
35
  }
36
36
  static get is() { return "tet-business-compare-card"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -646,19 +646,19 @@ export class TetCardList {
646
646
  this.dimensions.element.width = elementRect.width;
647
647
  }
648
648
  render() {
649
- return (h(Host, { key: 'a29e3674f3a70dc958884f5e55068b0ee1e9e9f1' }, h("div", { key: 'b0dbcd458dfad675fe2b84374c6a42593dc60f0f', class: {
649
+ return (h(Host, { key: 'a37659927c73cbed1a822f4820f93264f7418c0c' }, h("div", { key: '18a78c6bea76843bbb3205d780088dcdfedc3d65', class: {
650
650
  'tet-card-list__container': true,
651
651
  'tet-card-list--no-scroll': this.disableScroll,
652
652
  [this.theme]: true,
653
- }, part: "card-list-container" }, h("div", { key: 'da2e0847aa7b99b98a38338ee1d2c49a5383e932', class: "tet-card-list__scroll-container" }, h("div", { key: 'cbf9de8dd119e43c011990acb16827294d7a0964', part: "card-list", ref: el => (this.scrollContainerRef = el) }, h("slot", { key: 'b790e0dcbf209914de05fafc7276d8b0defe5922' }))), h("tet-button", { key: '52ab640145806053a8e3d44336f7e0a3b6744376', theme: this.theme, iconMode: true, class: {
653
+ }, part: "card-list-container" }, h("div", { key: '41d9611df428e1acf887e18d18bb0e74c266d27d', class: "tet-card-list__scroll-container" }, h("div", { key: 'f7118998798402c40df4d75e0fd907bec12b66c4', part: "card-list", ref: el => (this.scrollContainerRef = el) }, h("slot", { key: '5a022794ed879bf94157e77985fedf24fdbc70a0' }))), h("tet-button", { key: '5ea21737f2c05511bca92be2a5e4c3839c60b28c', theme: this.theme, iconMode: true, class: {
654
654
  'tet-card-list__control': true,
655
655
  'tet-card-list__control--left': true,
656
656
  'tet-card-list__control--hidden': !this.controlVisibility.left,
657
- }, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleLeftControl, onKeyUp: this.handleLeftControlKeyUp }, h("tet-icon", { key: '79b3ab0a0ff652d77956e7a36f6c131f7827117d', name: this.iconPrev && this.iconPrev !== '' ? this.iconPrev : 'chevron-left', class: "tet-card-list__control__icon" })), h("tet-button", { key: '0c20bf2053e6efd912b7e8b8c9b7feab6a73648e', theme: this.theme, iconMode: true, class: {
657
+ }, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleLeftControl, onKeyUp: this.handleLeftControlKeyUp }, h("tet-icon", { key: 'df14f0040d1924e9c003ec3e7e2a75ad087a83ca', name: this.iconPrev && this.iconPrev !== '' ? this.iconPrev : 'chevron-left', class: "tet-card-list__control__icon" })), h("tet-button", { key: '6967a738582c95efa21a6f2bd35b66fea9b70f2a', theme: this.theme, iconMode: true, class: {
658
658
  'tet-card-list__control': true,
659
659
  'tet-card-list__control--right': true,
660
660
  'tet-card-list__control--hidden': !this.controlVisibility.right,
661
- }, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleRightControl, onKeyUp: this.handleRightControlKeyUp }, h("tet-icon", { key: '62f0198d2c8fc74fc0332a7c2190564ab5af434a', name: this.iconNext && this.iconNext !== '' ? this.iconNext : 'chevron-right', class: "tet-card-list__control__icon" })), h("div", { key: 'b6deef611e47e53daaddb807afef74b1a43c18bf', class: { 'tet-card-list__scroll': true, 'tet-card-list--hidden': !this.withScrollbar } }, h("div", { key: 'fbe9c8909514121c295ef2d894c695e058c363fa', class: "tet-card-list__scroll--thumb", ref: el => (this.scrollbarRef = el) })))));
661
+ }, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleRightControl, onKeyUp: this.handleRightControlKeyUp }, h("tet-icon", { key: 'cf1009c29f76c9a70719656b40de39b205236b55', name: this.iconNext && this.iconNext !== '' ? this.iconNext : 'chevron-right', class: "tet-card-list__control__icon" })), h("div", { key: 'bd348b095be531deec965fb621269fe90cebfd8e', class: { 'tet-card-list__scroll': true, 'tet-card-list--hidden': !this.withScrollbar } }, h("div", { key: 'd5361269a2d18273d6aefd3a8f1ecb75f79e617f', class: "tet-card-list__scroll--thumb", ref: el => (this.scrollbarRef = el) })))));
662
662
  }
663
663
  static get is() { return "tet-card-list"; }
664
664
  static get encapsulation() { return "shadow"; }
@@ -71,6 +71,9 @@ describe('tet-compare-card', () => {
71
71
  </div>
72
72
  </div>
73
73
  </div>
74
+ <div class="upsell-block">
75
+ <slot name="upsell-block-slot" />
76
+ </div>
74
77
  </div>
75
78
  <div class="divided-information-wrapper js-resize-divide-slot">
76
79
  <slot name="divided-information-slot"></slot>
@@ -199,6 +202,9 @@ describe('tet-compare-card', () => {
199
202
  </div>
200
203
  </div>
201
204
  </div>
205
+ <div class="upsell-block">
206
+ <slot name="upsell-block-slot" />
207
+ </div>
202
208
  </div>
203
209
  <div class="divided-information-wrapper js-resize-divide-slot">
204
210
  <slot name="divided-information-slot"></slot>
@@ -7626,6 +7626,9 @@
7626
7626
  .grey.dark {
7627
7627
  background: radial-gradient(110.2% 141.42% at 0% 0%, var(--tc-grey-20-dark, #26292C) 0%, var(--tc-grey-10-dark, #18191B) 100%);
7628
7628
  }
7629
+ .grey.dark .best-choice-title {
7630
+ color: var(--tc-grey-minus-10-dark);
7631
+ }
7629
7632
  .grey.card.best-choice {
7630
7633
  --compare-card-border-color: var(--tet-compare-card-best-choice-border);
7631
7634
  }
@@ -8031,6 +8034,11 @@
8031
8034
  .best-choice-title.active {
8032
8035
  visibility: visible;
8033
8036
  }
8037
+ .best-choice-title.floating {
8038
+ top: -1.125rem;
8039
+ border-radius: 1rem;
8040
+ padding: 0.375rem 1.25rem;
8041
+ }
8034
8042
 
8035
8043
  .image-wrapper {
8036
8044
  display: flex;
@@ -145,6 +145,7 @@ export class TetCompareCard {
145
145
  this.withBorder = false;
146
146
  this.priceShownVertically = false;
147
147
  this.bestChoiceTextPosition = 'center';
148
+ this.bestChoiceTextFloating = false;
148
149
  this.secondaryLinkPosition = 'center';
149
150
  this.showBulletPoints = true;
150
151
  this.showSubTitle = true;
@@ -250,14 +251,15 @@ export class TetCompareCard {
250
251
  }, style: !this.darkMode ? { backgroundColor: this.cardBackgroundColor } : {} }, h("div", { class: {
251
252
  'best-choice-title': true,
252
253
  'active': this.bestChoice,
253
- [`${this.bestChoiceTextPosition}`]: true
254
+ [`${this.bestChoiceTextPosition}`]: true,
255
+ 'floating': this.bestChoiceTextFloating
254
256
  } }, this.options.bestChoiceText), h("div", { class: { 'image-wrapper': true, [`${this.cardHeader}`]: true } }, this.cardHeader === 'image' ? h("slot", { name: "image-slot" }) : '', this.cardHeader === 'logo' ? h("slot", { name: "logo-slot" }) : ''), h("div", { class: "compare-card-half-60" }, this.options.heroTitle || this.options.mainTitle ? (h("div", { class: {
255
257
  'title-wrapper': true,
256
258
  'js-resize-title': true,
257
259
  'no-divider': this.priceShownVertically
258
260
  }, part: "compare-card-title-wrapper" }, h("div", { class: {
259
261
  'title-wrapper-inner': true
260
- } }, this.options.heroTitle ? h("h3", { class: "hero-title" }, this.options.heroTitle) : '', this.options.mainTitle ? h("h3", { class: "main-title" }, this.options.mainTitle) : '', this.showSubTitle && this.options.subTitle ? (h("div", { class: "sub-title" }, this.options.subTitle, this.renderTooltip('infoItem'))) : ('')))) : (''), h("div", { class: "content-wrapper js-resize-content" }, h("div", { class: "custom-content-wrapper" }, h("slot", { name: "custom-slot" })), this.showBulletPoints ? (h("div", { class: "bullet-points-wrapper" }, (_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.bulletPoints) === null || _b === void 0 ? void 0 : _b.map((bulletpoint) => (h("div", { class: "bullet-point" }, h("tet-icon", { class: "icon", name: "check-circle" }), h("div", { innerHTML: bulletpoint })))))) : ('')), this.options.netflixProductDescription ? (h("div", { class: "netflix-product-description" }, this.options.netflixProductDescription)) : (''), h("div", { class: "divided-information-wrapper js-resize-divide-slot" }, h("slot", { name: "divided-information-slot" }))), h("div", { class: "compare-card-half-40" }, h("div", { class: "price js-resize-price" }, this.options.price && !isNaN(parseFloat(this.options.price)) ? (h("div", { class: {
262
+ } }, this.options.heroTitle ? h("h3", { class: "hero-title" }, this.options.heroTitle) : '', this.options.mainTitle ? h("h3", { class: "main-title" }, this.options.mainTitle) : '', this.showSubTitle && this.options.subTitle ? (h("div", { class: "sub-title" }, this.options.subTitle, this.renderTooltip('infoItem'))) : ('')))) : (''), h("div", { class: "content-wrapper js-resize-content" }, h("div", { class: "custom-content-wrapper" }, h("slot", { name: "custom-slot" })), this.showBulletPoints ? (h("div", { class: "bullet-points-wrapper" }, (_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.bulletPoints) === null || _b === void 0 ? void 0 : _b.map((bulletpoint) => (h("div", { class: "bullet-point" }, h("tet-icon", { class: "icon", name: "check-circle" }), h("div", { innerHTML: bulletpoint })))))) : (''), h("div", { class: "upsell-block" }, h("slot", { name: "upsell-block-slot" }))), this.options.netflixProductDescription ? (h("div", { class: "netflix-product-description" }, this.options.netflixProductDescription)) : (''), h("div", { class: "divided-information-wrapper js-resize-divide-slot" }, h("slot", { name: "divided-information-slot" }))), h("div", { class: "compare-card-half-40" }, h("div", { class: "price js-resize-price" }, this.options.price && !isNaN(parseFloat(this.options.price)) ? (h("div", { class: {
261
263
  'price-wrapper': true,
262
264
  'price-wrap': this.options.priceWrap,
263
265
  'price-flex-column': this.priceShownVertically
@@ -347,7 +349,7 @@ export class TetCompareCard {
347
349
  "type": "string",
348
350
  "mutable": false,
349
351
  "complexType": {
350
- "original": "ServiceAvailabilityServicesCategoryTheme",
352
+ "original": "'light' | 'dark' | ServiceAvailabilityServicesCategoryTheme",
351
353
  "resolved": "\"classic\" | \"dark\" | \"grey\" | \"light\" | \"netflix\" | \"non-netflix\" | \"tet-bundles\" | \"tet-business-blue\" | \"tet-business-default\" | \"tet-business-green\" | \"tet-business-mint\" | \"tet-business-purple\" | \"tet-business-red\" | \"tet-business-yellow\" | \"tet-electricity\" | \"tet-internet\" | \"tet-tv\" | \"tet-tv-plus\" | \"tet-vtv\"",
352
354
  "references": {
353
355
  "ServiceAvailabilityServicesCategoryTheme": {
@@ -711,6 +713,24 @@ export class TetCompareCard {
711
713
  "reflect": false,
712
714
  "defaultValue": "'center'"
713
715
  },
716
+ "bestChoiceTextFloating": {
717
+ "type": "boolean",
718
+ "mutable": false,
719
+ "complexType": {
720
+ "original": "boolean",
721
+ "resolved": "boolean",
722
+ "references": {}
723
+ },
724
+ "required": false,
725
+ "optional": false,
726
+ "docs": {
727
+ "tags": [],
728
+ "text": "This prop defines if the best choice text should be floating over the card."
729
+ },
730
+ "attribute": "best-choice-text-floating",
731
+ "reflect": false,
732
+ "defaultValue": "false"
733
+ },
714
734
  "secondaryLinkPosition": {
715
735
  "type": "string",
716
736
  "mutable": false,
@@ -485,7 +485,6 @@
485
485
  justify-content: center;
486
486
  }
487
487
  .vat__text {
488
- max-width: 53rem;
489
488
  width: 100%;
490
489
  text-align: center;
491
490
  padding-top: 0.5rem;
@@ -89,7 +89,7 @@ export class TetCompareCards {
89
89
  requestedProduct = element.productCode;
90
90
  }
91
91
  }
92
- const requestedProductData = response[requestedProduct];
92
+ const requestedProductData = response['products'][requestedProduct];
93
93
  if (requestedProductData) {
94
94
  if (this.newUrlGeneratorStructure) {
95
95
  element = fillProductData(element, requestedProduct, requestedProductData, this.theme);
@@ -105,7 +105,7 @@ export class TetCompareCards {
105
105
  });
106
106
  }
107
107
  render() {
108
- return (h(Host, { key: '93ccc91ac8ced1734d70e8700878c5beba261539', class: {
108
+ return (h(Host, { key: 'd585201b1bfb8a7334ed8737a1e3018d1f93d0f1', class: {
109
109
  'must-initialize': true,
110
110
  'initialized': this.initializedState
111
111
  } }, this.showLoader ? (this.renderLoader()) : (h("div", { class: {
@@ -116,7 +116,7 @@ export class TetCompareCards {
116
116
  return (h("tet-compare-card", { class: {
117
117
  'tet-compare-card': true,
118
118
  'tet-compare-card--thumbnail': !!el.thumbnail
119
- }, index: index, language: el.language, options: el.options, "card-type": el.cardType, theme: el.theme, "best-choice": el.bestChoice, "color-icons": el.colorIcons, "full-height": el.fullHeight, "card-header": el.cardHeader, logo: el.logo, image: el.image, "card-background-color": el.cardBackgroundColor, "card-script": el.cardScript, hideBestChoiceBorder: el.hideBestChoiceBorder, withBorder: el.withBorder, "best-choice-text-position": el.bestChoiceTextPosition, priceShownVertically: el.priceShownVertically, "secondary-link-position": el.secondaryLinkPosition, thumbnail: el.thumbnail, thumbnailAlt: el.thumbnailAlt, showBulletPoints: el.showBulletPoints, showSubTitle: el.showSubTitle, showHelper: el.showHelper, isNetflixCard: el.isNetflixCard, darkMode: this.darkMode }, h("div", { slot: "image-slot" }, h("img", { style: { width: '100%' }, src: el.image, alt: (_d = (_c = (_b = ((_a = el.image) !== null && _a !== void 0 ? _a : '').split('/')) === null || _b === void 0 ? void 0 : _b.pop()) === null || _c === void 0 ? void 0 : _c.split('.')[0]) !== null && _d !== void 0 ? _d : el.image })), h("div", { slot: "logo-slot" }, h("img", { style: { width: '100%' }, src: el.logo, alt: (_h = (_g = (_f = ((_e = el.logo) !== null && _e !== void 0 ? _e : '').split('/')) === null || _f === void 0 ? void 0 : _f.pop()) === null || _g === void 0 ? void 0 : _g.split('.')[0]) !== null && _h !== void 0 ? _h : el.logo })), h("div", { slot: "description-slot", innerHTML: el.cardDescription, class: this.darkMode ? 'dark' : '' })));
119
+ }, index: index, language: el.language, options: el.options, "card-type": el.cardType, theme: el.theme, "best-choice": el.bestChoice, "color-icons": el.colorIcons, "full-height": el.fullHeight, "card-header": el.cardHeader, logo: el.logo, image: el.image, "card-background-color": el.cardBackgroundColor, "card-script": el.cardScript, hideBestChoiceBorder: el.hideBestChoiceBorder, withBorder: el.withBorder, "best-choice-text-position": el.bestChoiceTextPosition, bestChoiceTextFloating: el.bestChoiceTextFloating, priceShownVertically: el.priceShownVertically, "secondary-link-position": el.secondaryLinkPosition, thumbnail: el.thumbnail, thumbnailAlt: el.thumbnailAlt, showBulletPoints: el.showBulletPoints, showSubTitle: el.showSubTitle, showHelper: el.showHelper, isNetflixCard: el.isNetflixCard, darkMode: this.darkMode }, h("div", { slot: "image-slot" }, h("img", { style: { width: '100%' }, src: el.image, alt: (_d = (_c = (_b = ((_a = el.image) !== null && _a !== void 0 ? _a : '').split('/')) === null || _b === void 0 ? void 0 : _b.pop()) === null || _c === void 0 ? void 0 : _c.split('.')[0]) !== null && _d !== void 0 ? _d : el.image })), h("div", { slot: "logo-slot" }, h("img", { style: { width: '100%' }, src: el.logo, alt: (_h = (_g = (_f = ((_e = el.logo) !== null && _e !== void 0 ? _e : '').split('/')) === null || _f === void 0 ? void 0 : _f.pop()) === null || _g === void 0 ? void 0 : _g.split('.')[0]) !== null && _h !== void 0 ? _h : el.logo })), h("div", { slot: "description-slot", innerHTML: el.cardDescription, class: this.darkMode ? 'dark' : '' })));
120
120
  })), this.vatText ? (h("div", { class: "vat" }, h("div", { class: "vat__text", innerHTML: this.vatText }))) : (''))), this.cardScript ? h("link", { href: this.cardScript, rel: "stylesheet", type: "text/css" }) : ''));
121
121
  }
122
122
  static get is() { return "tet-compare-cards"; }