@tet/tet-components 1.4.148-testing → 1.4.149-staging

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (428) hide show
  1. package/dist/cjs/{http-codes-D7ffzpYW.js → http-codes-Dr-iFaJ9.js} +1 -1
  2. package/dist/cjs/{index-Dzs7Nkbj.js → index-BEOR8cIU.js} +1 -1
  3. package/dist/cjs/{index-BL_zVDFC.js → index-DRNSo5RU.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{product-comparison-DUzqZuWv.js → product-comparison-_8BsEWy8.js} +1 -1
  6. package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
  8. package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
  9. package/dist/cjs/tet-address-offers_5.cjs.entry.js +4 -4
  10. package/dist/cjs/tet-assembler.cjs.entry.js +3 -3
  11. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
  12. package/dist/cjs/tet-autocomplete_2.cjs.entry.js +1 -1
  13. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
  14. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
  15. package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
  16. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  17. package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
  18. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  19. package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
  20. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  21. package/dist/cjs/tet-button.cjs.entry.js +1 -1
  22. package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
  23. package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
  24. package/dist/cjs/tet-checkbox_3.cjs.entry.js +7 -3
  25. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
  26. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
  27. package/dist/cjs/tet-colors.cjs.entry.js +1 -1
  28. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
  29. package/dist/cjs/tet-compare-card-v3.cjs.entry.js +3 -3
  30. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  31. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
  32. package/dist/cjs/tet-components.cjs.js +2 -2
  33. package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
  34. package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
  35. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  36. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
  37. package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
  38. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  39. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  40. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  41. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  42. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  43. package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
  44. package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
  45. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  46. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  47. package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
  48. package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-grid.cjs.entry.js +1 -1
  50. package/dist/cjs/tet-icon.cjs.entry.js +2 -2
  51. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  52. package/dist/cjs/tet-input.cjs.entry.js +3 -3
  53. package/dist/cjs/tet-layout.cjs.entry.js +1 -1
  54. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-link.cjs.entry.js +1 -1
  56. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  57. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  58. package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
  59. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
  60. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +3 -3
  61. package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
  62. package/dist/cjs/tet-news-card.cjs.entry.js +1 -1
  63. package/dist/cjs/tet-notification.cjs.entry.js +1 -1
  64. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  65. package/dist/cjs/tet-paginator.cjs.entry.js +6 -4
  66. package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
  67. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  68. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  69. package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
  70. package/dist/cjs/tet-radio_2.cjs.entry.js +1 -1
  71. package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
  72. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  73. package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
  74. package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
  75. package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
  76. package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
  77. package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
  78. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-sticky-offer.cjs.entry.js +1 -1
  80. package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
  81. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  82. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  83. package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
  84. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  85. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  86. package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
  87. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
  88. package/dist/cjs/{translations-Uvcq4kv8.js → translations-Dgrvj2-A.js} +1 -1
  89. package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.css +43 -0
  90. package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.js +25 -1
  91. package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.js +23 -1
  92. package/dist/components/index.js +1 -1
  93. package/dist/components/{p-BCZ_nV74.js → p--oNUVPhE.js} +1 -1
  94. package/dist/components/{p-B5Dk5hzj.js → p-4Ucu3g0C.js} +1 -1
  95. package/dist/components/{p--BHbdHcQ.js → p-B2LOw9U1.js} +1 -1
  96. package/dist/components/{p-By8xS2Ys.js → p-B3AKEjT3.js} +1 -1
  97. package/dist/components/{p-CemKaBKV.js → p-B4JYI6Da.js} +1 -1
  98. package/dist/components/{p-BTJ0yItl.js → p-BQr7oJlo.js} +1 -1
  99. package/dist/components/{p-CMxcvnRv.js → p-BSySZotX.js} +1 -1
  100. package/dist/components/{p-DN2JwXg9.js → p-BcXV5sQw.js} +1 -1
  101. package/dist/components/{p-B0WxHzd1.js → p-BcYT5W0z.js} +1 -1
  102. package/dist/components/{p-CDSqRH2x.js → p-BfZ1ZZj-.js} +1 -1
  103. package/dist/components/{p-CL2Agirm.js → p-BpLcsV2G.js} +1 -1
  104. package/dist/components/{p-CSFy0ZOg.js → p-C454nOI2.js} +1 -1
  105. package/dist/components/{p-CRPjTvkU.js → p-C4sjhoYC.js} +1 -1
  106. package/dist/components/{p-CZdY-X-X.js → p-CE7FqWIM.js} +1 -1
  107. package/dist/components/{p-DsRgePgU.js → p-CEYVXw4e.js} +1 -1
  108. package/dist/components/{p-Dr2nLp20.js → p-CHcqkxJU.js} +1 -1
  109. package/dist/components/{p-Cor3VECP.js → p-CHlBG23-.js} +1 -1
  110. package/dist/components/{p-B_LCtA3T.js → p-CNKJVbUM.js} +1 -1
  111. package/dist/components/{p-BbQvtfxD.js → p-CP7MSCkE.js} +1 -1
  112. package/dist/components/{p-Dw0BkIcL.js → p-CUH6nkd0.js} +1 -1
  113. package/dist/components/{p-Mwmrfh0-.js → p-CUh5CugC.js} +1 -1
  114. package/dist/components/{p-lEX8wezw.js → p-CXP2jsSO.js} +1 -1
  115. package/dist/components/{p-Bw-D7nPx.js → p-CaHY4mtM.js} +1 -1
  116. package/dist/components/{p-DesVo0z4.js → p-CacSARKA.js} +1 -1
  117. package/dist/components/{p-BvWhh2Zj.js → p-CcHWhQDQ.js} +1 -1
  118. package/dist/components/{p-DEwpLI-6.js → p-ClGG1pz8.js} +1 -1
  119. package/dist/components/{p-CXef17B1.js → p-CmVD5led.js} +1 -1
  120. package/dist/components/{p-CtH9YzFc.js → p-CtmqySxU.js} +1 -1
  121. package/dist/components/{p-C806_efq.js → p-Cum9fClO.js} +1 -1
  122. package/dist/components/{p-CGv6OEVB.js → p-D1EcTfyQ.js} +1 -1
  123. package/dist/components/{p-ChK9hswC.js → p-D6H-KF7Z.js} +1 -1
  124. package/dist/components/{p-DOHKrJoH.js → p-DA3S_mkH.js} +1 -1
  125. package/dist/components/{p-D8Xy3-us.js → p-DAobsjqJ.js} +1 -1
  126. package/dist/components/{p-C8cwO513.js → p-DB-jANUe.js} +1 -1
  127. package/dist/components/{p-Cz39Cyku.js → p-DDd2g7kx.js} +1 -1
  128. package/dist/components/{p-BOnnNv8Z.js → p-DIZ1sqcq.js} +1 -1
  129. package/dist/components/{p-Cdi7KDBd.js → p-DIyhqSTP.js} +1 -1
  130. package/dist/components/{p-dtbMtDdl.js → p-DJCg82sx.js} +1 -1
  131. package/dist/components/{p-JNpROyw-.js → p-DMpg_LPb.js} +1 -1
  132. package/dist/components/{p-CdulEVw7.js → p-DQGFuy6Q.js} +1 -1
  133. package/dist/components/{p-1m_-23MB.js → p-DQQL2xNs.js} +1 -1
  134. package/dist/components/{p-BbHr_ZQG.js → p-DRY3DK1K.js} +1 -1
  135. package/dist/components/{p-DGTpUa2B.js → p-DTp3hskI.js} +1 -1
  136. package/dist/components/{p-B9bE6qY-.js → p-DZ6ri3Ez.js} +1 -1
  137. package/dist/components/{p-ZmeWEIlj.js → p-DZfyLZam.js} +1 -1
  138. package/dist/components/{p-Ca03NnmU.js → p-Dcd_eoCQ.js} +1 -1
  139. package/dist/components/{p-B4LdtxCG.js → p-Kwq6MnqR.js} +1 -1
  140. package/dist/components/{p-CxbnslX3.js → p-NcCsJO5d.js} +1 -1
  141. package/dist/components/{p-CaIJPjIP.js → p-T3h_f03k.js} +1 -1
  142. package/dist/components/{p-Br4jWI9B.js → p-dg7EpwKx.js} +1 -1
  143. package/dist/components/{p-CCRw8qtH.js → p-vj6Nk2Ur.js} +1 -1
  144. package/dist/components/p-z_Yc5cwo.js +1 -0
  145. package/dist/components/tet-accordion.js +1 -1
  146. package/dist/components/tet-address-offers-filters-products.js +1 -1
  147. package/dist/components/tet-address-offers-filters.js +1 -1
  148. package/dist/components/tet-address-offers-view.js +1 -1
  149. package/dist/components/tet-address-offers.js +1 -1
  150. package/dist/components/tet-address-search.js +1 -1
  151. package/dist/components/tet-assembler.js +1 -1
  152. package/dist/components/tet-asset-availability-addresses.js +1 -1
  153. package/dist/components/tet-autocomplete-dropdown.js +1 -1
  154. package/dist/components/tet-autocomplete.js +1 -1
  155. package/dist/components/tet-availability-contact-form.js +1 -1
  156. package/dist/components/tet-b2b-check-out-form.js +1 -1
  157. package/dist/components/tet-b2b-compare-card.js +1 -1
  158. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  159. package/dist/components/tet-b2b-configurator.js +1 -1
  160. package/dist/components/tet-banner-nav.js +1 -1
  161. package/dist/components/tet-bar-graph.js +1 -1
  162. package/dist/components/tet-border-radius.js +1 -1
  163. package/dist/components/tet-business-card.js +1 -1
  164. package/dist/components/tet-business-compare-card.js +1 -1
  165. package/dist/components/tet-business-navigation.js +1 -1
  166. package/dist/components/tet-business-round-stepper.js +1 -1
  167. package/dist/components/tet-business-summary-card.js +1 -1
  168. package/dist/components/tet-button.js +1 -1
  169. package/dist/components/tet-card-list.js +1 -1
  170. package/dist/components/tet-carousel.js +1 -1
  171. package/dist/components/tet-checkbox.js +1 -1
  172. package/dist/components/tet-cloud-application-form-dialog.js +1 -1
  173. package/dist/components/tet-cloud-configurator.js +1 -1
  174. package/dist/components/tet-colors.js +1 -1
  175. package/dist/components/tet-compare-card-v2.js +1 -1
  176. package/dist/components/tet-compare-card-v3.js +1 -1
  177. package/dist/components/tet-compare-card.js +1 -1
  178. package/dist/components/tet-compare-cards-tab.js +1 -1
  179. package/dist/components/tet-compare-cards.js +1 -1
  180. package/dist/components/tet-container.js +1 -1
  181. package/dist/components/tet-countdown.js +1 -1
  182. package/dist/components/tet-counter.js +1 -1
  183. package/dist/components/tet-datepicker-header.js +1 -1
  184. package/dist/components/tet-datepicker-month-view.js +1 -1
  185. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  186. package/dist/components/tet-datepicker-year-view.js +1 -1
  187. package/dist/components/tet-datepicker.js +1 -1
  188. package/dist/components/tet-dialog.js +1 -1
  189. package/dist/components/tet-display.js +1 -1
  190. package/dist/components/tet-divider.js +1 -1
  191. package/dist/components/tet-dropdown.js +1 -1
  192. package/dist/components/tet-dynamic-card.js +1 -1
  193. package/dist/components/tet-expandable-input.js +1 -1
  194. package/dist/components/tet-expansion-panel.js +1 -1
  195. package/dist/components/tet-feedback-form.js +1 -1
  196. package/dist/components/tet-filter.js +1 -1
  197. package/dist/components/tet-floating-block.js +1 -1
  198. package/dist/components/tet-font-weight.js +1 -1
  199. package/dist/components/tet-fonts.js +1 -1
  200. package/dist/components/tet-grid.js +1 -1
  201. package/dist/components/tet-icon.js +1 -1
  202. package/dist/components/tet-inline-message.js +1 -1
  203. package/dist/components/tet-input.js +1 -1
  204. package/dist/components/tet-layout.js +1 -1
  205. package/dist/components/tet-link-card-list.js +1 -1
  206. package/dist/components/tet-link.js +1 -1
  207. package/dist/components/tet-loader.js +1 -1
  208. package/dist/components/tet-menu-mobile.js +1 -1
  209. package/dist/components/tet-menu.js +1 -1
  210. package/dist/components/tet-mini-compare-card.js +1 -1
  211. package/dist/components/tet-multi-step-dialog.js +1 -1
  212. package/dist/components/tet-navigation-mobile.js +1 -1
  213. package/dist/components/tet-news-card-list.js +1 -1
  214. package/dist/components/tet-news-card.js +1 -1
  215. package/dist/components/tet-notification.js +1 -1
  216. package/dist/components/tet-number-input.js +1 -1
  217. package/dist/components/tet-paginator.js +1 -1
  218. package/dist/components/tet-placeholder.js +1 -1
  219. package/dist/components/tet-position.js +1 -1
  220. package/dist/components/tet-price-view.js +1 -1
  221. package/dist/components/tet-radio-blocks.js +1 -1
  222. package/dist/components/tet-radio.js +1 -1
  223. package/dist/components/tet-range-slider.js +1 -1
  224. package/dist/components/tet-round-stepper.js +1 -1
  225. package/dist/components/tet-selection-list.js +1 -1
  226. package/dist/components/tet-snicker-card-group.js +1 -1
  227. package/dist/components/tet-snicker-card.js +1 -1
  228. package/dist/components/tet-spacing.js +1 -1
  229. package/dist/components/tet-spinner.js +1 -1
  230. package/dist/components/tet-stepper-input.js +1 -1
  231. package/dist/components/tet-stepper-v3.js +1 -1
  232. package/dist/components/tet-sticky-offer.js +1 -1
  233. package/dist/components/tet-support-search.js +1 -1
  234. package/dist/components/tet-switch.js +1 -1
  235. package/dist/components/tet-tab-content.js +1 -1
  236. package/dist/components/tet-tab-header.js +1 -1
  237. package/dist/components/tet-table.js +1 -1
  238. package/dist/components/tet-tag-group.js +1 -1
  239. package/dist/components/tet-tag.js +1 -1
  240. package/dist/components/tet-text-list.js +1 -1
  241. package/dist/components/tet-text.js +1 -1
  242. package/dist/components/tet-textarea.js +1 -1
  243. package/dist/components/tet-thank-you-view-v3.js +1 -1
  244. package/dist/components/tet-tooltip.js +1 -1
  245. package/dist/esm/{http-codes-BQGPgOl6.js → http-codes-DP6cQyLI.js} +1 -1
  246. package/dist/esm/{index-DScZlZas.js → index-BTdj-C2n.js} +1 -1
  247. package/dist/esm/{index-BGB6gNkz.js → index-BWP8psSS.js} +1 -1
  248. package/dist/esm/loader.js +3 -3
  249. package/dist/esm/{product-comparison-DUVV7BFR.js → product-comparison-CBuVYKp-.js} +1 -1
  250. package/dist/esm/tet-accordion.entry.js +1 -1
  251. package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
  252. package/dist/esm/tet-address-offers-view.entry.js +3 -3
  253. package/dist/esm/tet-address-offers_5.entry.js +4 -4
  254. package/dist/esm/tet-assembler.entry.js +3 -3
  255. package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
  256. package/dist/esm/tet-autocomplete_2.entry.js +1 -1
  257. package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
  258. package/dist/esm/tet-b2b-configurator.entry.js +4 -4
  259. package/dist/esm/tet-banner-nav.entry.js +3 -3
  260. package/dist/esm/tet-bar-graph.entry.js +1 -1
  261. package/dist/esm/tet-border-radius.entry.js +1 -1
  262. package/dist/esm/tet-business-card.entry.js +1 -1
  263. package/dist/esm/tet-business-compare-card.entry.js +1 -1
  264. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  265. package/dist/esm/tet-button.entry.js +1 -1
  266. package/dist/esm/tet-card-list.entry.js +1 -1
  267. package/dist/esm/tet-carousel.entry.js +3 -3
  268. package/dist/esm/tet-checkbox_3.entry.js +7 -3
  269. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  270. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  271. package/dist/esm/tet-colors.entry.js +1 -1
  272. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  273. package/dist/esm/tet-compare-card-v3.entry.js +3 -3
  274. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  275. package/dist/esm/tet-compare-cards_2.entry.js +3 -3
  276. package/dist/esm/tet-components.js +3 -3
  277. package/dist/esm/tet-container_2.entry.js +1 -1
  278. package/dist/esm/tet-countdown.entry.js +1 -1
  279. package/dist/esm/tet-counter.entry.js +1 -1
  280. package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
  281. package/dist/esm/tet-datepicker.entry.js +1 -1
  282. package/dist/esm/tet-dialog.entry.js +3 -3
  283. package/dist/esm/tet-display.entry.js +1 -1
  284. package/dist/esm/tet-divider.entry.js +1 -1
  285. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  286. package/dist/esm/tet-expandable-input.entry.js +1 -1
  287. package/dist/esm/tet-expansion-panel.entry.js +1 -1
  288. package/dist/esm/tet-feedback-form.entry.js +3 -3
  289. package/dist/esm/tet-filter.entry.js +1 -1
  290. package/dist/esm/tet-floating-block.entry.js +1 -1
  291. package/dist/esm/tet-font-weight.entry.js +1 -1
  292. package/dist/esm/tet-fonts.entry.js +1 -1
  293. package/dist/esm/tet-grid.entry.js +1 -1
  294. package/dist/esm/tet-icon.entry.js +2 -2
  295. package/dist/esm/tet-inline-message.entry.js +1 -1
  296. package/dist/esm/tet-input.entry.js +3 -3
  297. package/dist/esm/tet-layout.entry.js +1 -1
  298. package/dist/esm/tet-link-card-list.entry.js +1 -1
  299. package/dist/esm/tet-link.entry.js +1 -1
  300. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  301. package/dist/esm/tet-menu.entry.js +1 -1
  302. package/dist/esm/tet-mini-compare-card.entry.js +1 -1
  303. package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
  304. package/dist/esm/tet-navigation-mobile.entry.js +3 -3
  305. package/dist/esm/tet-news-card-list.entry.js +1 -1
  306. package/dist/esm/tet-news-card.entry.js +1 -1
  307. package/dist/esm/tet-notification.entry.js +1 -1
  308. package/dist/esm/tet-number-input.entry.js +1 -1
  309. package/dist/esm/tet-paginator.entry.js +6 -4
  310. package/dist/esm/tet-placeholder.entry.js +1 -1
  311. package/dist/esm/tet-position.entry.js +1 -1
  312. package/dist/esm/tet-price-view.entry.js +1 -1
  313. package/dist/esm/tet-radio-blocks.entry.js +1 -1
  314. package/dist/esm/tet-radio_2.entry.js +1 -1
  315. package/dist/esm/tet-range-slider.entry.js +1 -1
  316. package/dist/esm/tet-round-stepper.entry.js +1 -1
  317. package/dist/esm/tet-snicker-card-group.entry.js +1 -1
  318. package/dist/esm/tet-snicker-card.entry.js +3 -3
  319. package/dist/esm/tet-spacing.entry.js +1 -1
  320. package/dist/esm/tet-spinner.entry.js +1 -1
  321. package/dist/esm/tet-stepper-input.entry.js +3 -3
  322. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  323. package/dist/esm/tet-sticky-offer.entry.js +1 -1
  324. package/dist/esm/tet-support-search.entry.js +1 -1
  325. package/dist/esm/tet-switch.entry.js +1 -1
  326. package/dist/esm/tet-table.entry.js +1 -1
  327. package/dist/esm/tet-tag_2.entry.js +3 -3
  328. package/dist/esm/tet-text-list.entry.js +1 -1
  329. package/dist/esm/tet-text.entry.js +1 -1
  330. package/dist/esm/tet-textarea.entry.js +1 -1
  331. package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
  332. package/dist/esm/{translations-Dc2OQnbI.js → translations-BxuQY6H_.js} +1 -1
  333. package/dist/tet-components/{p-7cc6b959.entry.js → p-0821f339.entry.js} +1 -1
  334. package/dist/tet-components/{p-2c84bff1.entry.js → p-11bb38bc.entry.js} +1 -1
  335. package/dist/tet-components/{p-92340a39.entry.js → p-132da9f3.entry.js} +1 -1
  336. package/dist/tet-components/{p-ecdaf331.entry.js → p-14fa05f5.entry.js} +1 -1
  337. package/dist/tet-components/p-15bd70e7.entry.js +1 -0
  338. package/dist/tet-components/{p-30523176.entry.js → p-15df2f2b.entry.js} +1 -1
  339. package/dist/tet-components/{p-1b29e5f2.entry.js → p-1a24d6bb.entry.js} +1 -1
  340. package/dist/tet-components/{p-6146284d.entry.js → p-1bb794e8.entry.js} +1 -1
  341. package/dist/tet-components/{p-01577a41.entry.js → p-1c58ffe4.entry.js} +1 -1
  342. package/dist/tet-components/{p-bb16b0e5.entry.js → p-1dc250ec.entry.js} +1 -1
  343. package/dist/tet-components/{p-a579df12.entry.js → p-1dfbd098.entry.js} +1 -1
  344. package/dist/tet-components/{p-9cee887f.entry.js → p-2538d199.entry.js} +1 -1
  345. package/dist/tet-components/{p-380c13f1.entry.js → p-2a96f73a.entry.js} +1 -1
  346. package/dist/tet-components/{p-a240b7c2.entry.js → p-315b6aac.entry.js} +1 -1
  347. package/dist/tet-components/{p-49ba40a1.entry.js → p-34a661a6.entry.js} +1 -1
  348. package/dist/tet-components/{p-c9c4656e.entry.js → p-376e55d2.entry.js} +1 -1
  349. package/dist/tet-components/{p-87675c65.entry.js → p-38192518.entry.js} +1 -1
  350. package/dist/tet-components/{p-9d103705.entry.js → p-3b186178.entry.js} +1 -1
  351. package/dist/tet-components/{p-0c0dec4c.entry.js → p-3bbf937c.entry.js} +1 -1
  352. package/dist/tet-components/{p-0996dd5a.entry.js → p-3c232c0d.entry.js} +1 -1
  353. package/dist/tet-components/{p-f23fbdab.entry.js → p-3c489f4d.entry.js} +1 -1
  354. package/dist/tet-components/{p-de8125d5.entry.js → p-4187e993.entry.js} +1 -1
  355. package/dist/tet-components/{p-b31a3fa1.entry.js → p-43bd87cf.entry.js} +1 -1
  356. package/dist/tet-components/{p-fbb45705.entry.js → p-4a6bf53c.entry.js} +1 -1
  357. package/dist/tet-components/{p-6bc9b958.entry.js → p-4d985d70.entry.js} +1 -1
  358. package/dist/tet-components/{p-e2d4e5c3.entry.js → p-4f339642.entry.js} +1 -1
  359. package/dist/tet-components/{p-129027b6.entry.js → p-51fccc0d.entry.js} +1 -1
  360. package/dist/tet-components/{p-3af65955.entry.js → p-52cc694d.entry.js} +1 -1
  361. package/dist/tet-components/{p-0386aeb9.entry.js → p-5317947b.entry.js} +1 -1
  362. package/dist/tet-components/{p-8ad37783.entry.js → p-57d267fa.entry.js} +1 -1
  363. package/dist/tet-components/{p-ec596eb2.entry.js → p-59a4500c.entry.js} +1 -1
  364. package/dist/tet-components/p-5a3ca73d.entry.js +1 -0
  365. package/dist/tet-components/{p-185e98b4.entry.js → p-5d2b1316.entry.js} +1 -1
  366. package/dist/tet-components/{p-c6dc0917.entry.js → p-61a9bc72.entry.js} +1 -1
  367. package/dist/tet-components/{p-ad0b78d5.entry.js → p-64b9b07d.entry.js} +1 -1
  368. package/dist/tet-components/{p-38459b69.entry.js → p-6ca9f8e7.entry.js} +1 -1
  369. package/dist/tet-components/{p-45c01709.entry.js → p-6fd37205.entry.js} +1 -1
  370. package/dist/tet-components/{p-c97d7c52.entry.js → p-70af2afa.entry.js} +1 -1
  371. package/dist/tet-components/{p-7dcb307f.entry.js → p-71f9504c.entry.js} +1 -1
  372. package/dist/tet-components/{p-5e237b6d.entry.js → p-73f3d6e1.entry.js} +1 -1
  373. package/dist/tet-components/{p-830e4fe6.entry.js → p-77ef94a7.entry.js} +1 -1
  374. package/dist/tet-components/{p-b3acb430.entry.js → p-78fe0d42.entry.js} +1 -1
  375. package/dist/tet-components/{p-386be2d5.entry.js → p-7c4ef1a9.entry.js} +1 -1
  376. package/dist/tet-components/{p-47b65d11.entry.js → p-7fac3d04.entry.js} +1 -1
  377. package/dist/tet-components/{p-4b92e8e6.entry.js → p-82d5f453.entry.js} +1 -1
  378. package/dist/tet-components/{p-b8b2a9f5.entry.js → p-8903db67.entry.js} +1 -1
  379. package/dist/tet-components/{p-4db60df6.entry.js → p-94c9fce7.entry.js} +1 -1
  380. package/dist/tet-components/{p-f5cf45c1.entry.js → p-96f0eff9.entry.js} +1 -1
  381. package/dist/tet-components/{p-11ed5b55.entry.js → p-9988e041.entry.js} +1 -1
  382. package/dist/tet-components/{p-6ec585b8.entry.js → p-9af88202.entry.js} +1 -1
  383. package/dist/tet-components/{p-BGB6gNkz.js → p-BWP8psSS.js} +1 -1
  384. package/dist/tet-components/p-Bi5WA4Eb.js +1 -0
  385. package/dist/tet-components/{p-DX1IQAn5.js → p-CEkiSmjX.js} +1 -1
  386. package/dist/tet-components/p-D5A3ic42.js +1 -0
  387. package/dist/tet-components/{p-DbJll7nz.js → p-Ojgt8vhK.js} +1 -1
  388. package/dist/tet-components/{p-c96c5b96.entry.js → p-a178ca0d.entry.js} +1 -1
  389. package/dist/tet-components/{p-b82a4ea3.entry.js → p-a5e44414.entry.js} +1 -1
  390. package/dist/tet-components/{p-51e6df01.entry.js → p-a7d8477f.entry.js} +1 -1
  391. package/dist/tet-components/{p-6a8f5935.entry.js → p-a9d5bc77.entry.js} +1 -1
  392. package/dist/tet-components/{p-74877031.entry.js → p-b1ad17b9.entry.js} +1 -1
  393. package/dist/tet-components/{p-db2a72c7.entry.js → p-b2c85619.entry.js} +1 -1
  394. package/dist/tet-components/{p-c2d6ac75.entry.js → p-b49ea768.entry.js} +1 -1
  395. package/dist/tet-components/{p-632d382c.entry.js → p-b64f4147.entry.js} +1 -1
  396. package/dist/tet-components/{p-78975957.entry.js → p-b98a8b9e.entry.js} +1 -1
  397. package/dist/tet-components/{p-ea9d92f6.entry.js → p-c3455ad8.entry.js} +1 -1
  398. package/dist/tet-components/{p-74ccd606.entry.js → p-c6419606.entry.js} +1 -1
  399. package/dist/tet-components/{p-37c3f4c6.entry.js → p-c7473b74.entry.js} +1 -1
  400. package/dist/tet-components/{p-acdbec26.entry.js → p-cad7f27d.entry.js} +1 -1
  401. package/dist/tet-components/{p-4804006b.entry.js → p-cafa7f45.entry.js} +1 -1
  402. package/dist/tet-components/{p-cd7efc99.entry.js → p-d2179734.entry.js} +1 -1
  403. package/dist/tet-components/{p-3ae8cca8.entry.js → p-d64c6445.entry.js} +1 -1
  404. package/dist/tet-components/{p-cc3e87fe.entry.js → p-d9b9bae7.entry.js} +1 -1
  405. package/dist/tet-components/{p-a96d7e90.entry.js → p-dfe40a38.entry.js} +1 -1
  406. package/dist/tet-components/{p-7338bab9.entry.js → p-e0aacafc.entry.js} +1 -1
  407. package/dist/tet-components/{p-2ac83b4c.entry.js → p-e362d48f.entry.js} +1 -1
  408. package/dist/tet-components/{p-a4d98d8f.entry.js → p-e4cc950c.entry.js} +1 -1
  409. package/dist/tet-components/{p-41763924.entry.js → p-eab06d8d.entry.js} +1 -1
  410. package/dist/tet-components/{p-e7e18cc4.entry.js → p-eb219b3a.entry.js} +1 -1
  411. package/dist/tet-components/{p-e0752dc6.entry.js → p-ef27c46b.entry.js} +1 -1
  412. package/dist/tet-components/{p-8310d42d.entry.js → p-f0a12cbd.entry.js} +1 -1
  413. package/dist/tet-components/{p-1c254d23.entry.js → p-f3baa590.entry.js} +1 -1
  414. package/dist/tet-components/{p-119e349d.entry.js → p-f63194a6.entry.js} +1 -1
  415. package/dist/tet-components/{p-24058988.entry.js → p-f6d3abd5.entry.js} +1 -1
  416. package/dist/tet-components/{p-a560fec1.entry.js → p-f6f7436d.entry.js} +1 -1
  417. package/dist/tet-components/{p-0e32545c.entry.js → p-f78dd5fe.entry.js} +1 -1
  418. package/dist/tet-components/{p-4a39f6bc.entry.js → p-f7b720ca.entry.js} +1 -1
  419. package/dist/tet-components/tet-components.esm.js +1 -1
  420. package/dist/types/components/simple/inputs/tet-dropdown/tet-dropdown.d.ts +2 -0
  421. package/dist/types/components/simple/menu/tet-paginator/tet-paginator.d.ts +2 -0
  422. package/dist/types/components.d.ts +22 -0
  423. package/package.json +1 -1
  424. package/dist/components/p-BGk18SzH.js +0 -1
  425. package/dist/tet-components/p-0d1a1939.entry.js +0 -1
  426. package/dist/tet-components/p-160ad29a.entry.js +0 -1
  427. package/dist/tet-components/p-BzLFf73g.js +0 -1
  428. package/dist/tet-components/p-C1XJmhDH.js +0 -1
@@ -1 +1 @@
1
- import{r as t,d as e,h as o,H as l}from"./p-BGB6gNkz.js";import{T as a}from"./p-CroGHapK.js";const r=class{constructor(e){t(this,e)}get host(){return e(this)}caption="";cellTextAlign="left";tableHeader="";tableHeaderTextAlign="left";tableHeaderColumnSpan=1;tableHeaderWidth="";tableData={rows:[],columns:[],columnColors:[],rowOptions:[],columnHeaderOptions:[]};gappedColumnLayout=!1;theme="light";colorTheme;fixedFirstColumn=!1;normalizedColumns=[];onTableDataChange(){this.normalizedColumns=this.transformColumns(this.tableData.columns)}componentWillLoad(){this.normalizedColumns=this.transformColumns(this.tableData.columns),this.loadSlotData()}transformColumns(t){return t&&0!==t.length?t.map((t=>"string"==typeof t?{value:t,tooltip:""}:t)):[]}loadSlotData(){const t=this.host.querySelector("template");if(null===t)return;const e={rows:[],columns:[],columnColors:[],rowOptions:[],columnHeaderOptions:[]},o=t.querySelector("thead")||t.content.querySelector("thead"),l=t.querySelector("tbody")||t.content.querySelector("tbody");if(null!==o||null!==l){if(null!==o){let t;o.querySelectorAll("th").forEach((o=>{const l=o.innerHTML.replace(/&nbsp;/g,""),a=""===l?t:o.getAttribute("data-color"),r=this.getCellDataOptions(o);e.columns.push(l),e.columnColors.push(a),e.columnHeaderOptions.push(r),t=a}))}if(null!==l){const t=JSON.parse(l.getAttribute("data-mobile-columns"));l.querySelectorAll("tr").forEach((o=>{const l=this.getRowOptions(o,t),a={label:o.querySelector("th")?.innerHTML||"",cells:[]};o.querySelectorAll("td").forEach((t=>{const e=this.getCellDataOptions(t);a.cells.push({value:t.innerHTML,options:e})})),e.rowOptions.push(l),e.rows.push(a)}))}this.tableData=e}}renderDesktopHeader=(t,e,l)=>{const a=this.getColumnCellInnerClassName(l),r=this.getColumnColor(l),s={};return r&&(s["--table-header-background-color"]=r),e&&"left"!==e.textAlign&&(s["--table-cell-text-align"]=e.textAlign),e&&e.width&&(s["--table-cell-width"]=e.width),o("th",{class:a,style:s,colSpan:e?.columnSpan||1,scope:"col"},(t.value||t.tooltip)&&o("div",{class:"cell-content-wrapper"},t.value,t.tooltip&&this.renderTooltip(t.tooltip)))};renderMobileHeader=t=>o("th",{scope:"col",colSpan:2},o("div",{class:"mobile-table-header"},o("p",{innerHTML:t.label}),!!t.subLabel&&!t.tooltip&&this.renderTooltip(t.subLabel),t.tooltip&&this.renderTooltip(t.tooltip)));renderRowData=(t,e)=>{const l={};return"left"!==this.tableHeaderTextAlign&&(l["--table-cell-text-align"]=this.tableHeaderTextAlign),this.tableHeaderWidth&&(l["--table-cell-width"]=this.tableHeaderWidth),o("tr",null,o("th",{scope:"row",style:l,colSpan:this.tableHeaderColumnSpan||1},o("p",{class:"title"},o("span",{innerHTML:t.label}),t.tooltip&&this.renderTooltip(t.tooltip)),t.subLabel&&!t.tooltip&&o("p",{class:"subtitle",innerHTML:t.subLabel})),t.cells.map(((t,o)=>this.renderDesktopCellData(t,o,e))))};renderTooltip=t=>o("span",{class:"tooltip-wrapper"},o("tet-icon",{theme:this.theme,type:this.colorTheme?"primary":"secondary",class:"info-icon",name:this.colorTheme?"tc-info-circle-outline":"tc-info-circle",tabindex:"0"}),o("tet-tooltip",{position:a.TOP,theme:this.theme},t));renderDesktopCellData=(t,e,l)=>{const a=this.tableData.rowOptions&&this.tableData.rowOptions[l];if(a&&a.mobileShow)return null;if(t.options&&t.options.mobileShow)return null;const r=this.getColumnCellInnerClassName(e),s=this.getColumnColor(e),n=t.options,i={};return s&&(i["--table-cell-overlay-color"]=`${s}4D`),n&&"left"!==n.textAlign&&(i["--table-cell-text-align"]=n.textAlign),o("td",{class:r,style:i,colSpan:n?.columnSpan||1},o("div",{class:"cell-content-wrapper"},o("span",{innerHTML:t.value}),t.tooltip&&this.renderTooltip(t.tooltip)))};renderMobileCellData=(t,e,l)=>{const a=t.options,r=this.getRowOption(l),s=this.getMobileColumn(l,e);return r&&r.mobileHide||a&&a.mobileHide?null:o("tr",null,o("th",null,o("div",{class:"cell-content-wrapper"},s||this.normalizedColumns[e]?.value,this.normalizedColumns[e]?.tooltip&&this.renderTooltip(this.normalizedColumns[e].tooltip))),o("td",null,o("div",{class:"cell-content-wrapper"},o("span",{innerHTML:t.value}),t.tooltip&&this.renderTooltip(t.tooltip))))};renderLargeScreenTable=()=>{const t=t=>this.tableData.columnHeaderOptions&&this.tableData.columnHeaderOptions[t],e={columnSpan:this.tableHeaderColumnSpan,textAlign:this.tableHeaderTextAlign,width:this.tableHeaderWidth};return o("table",{class:{table:!0,"table--gapped-columns":this.gappedColumnLayout,[this.theme]:!0,...this.colorTheme?{[`color-theme-${this.colorTheme}`]:!0}:{},"table--fixed-first-column":this.fixedFirstColumn}},this.caption&&o("caption",null,this.caption),o("thead",null,o("tr",null,this.renderDesktopHeader({value:this.tableHeader,tooltip:""},e),this.normalizedColumns?.map(((e,o)=>this.renderDesktopHeader(e,t(o),o))))),o("tbody",null,this.tableData.rows?.map(((t,e)=>this.renderRowData(t,e)))))};renderMobileScreenTable=()=>o("div",{class:"mobile-table-wrapper"},this.tableData.rows?.map(((t,e)=>this.getRowOption(e)?.mobileHide?null:o("table",{class:{"mobile-table":!0,[this.theme]:!0,...this.colorTheme?{[`color-theme-${this.colorTheme}`]:!0}:{}}},o("thead",null,o("tr",null,this.renderMobileHeader(t))),o("tbody",null,t.cells.map(((t,o)=>this.renderMobileCellData(t,o,e))))))));getMobileColumn(t,e){const o=this.getRowOption(t);if(null==o)return"";const{mobileColumns:l}=o;return null==l||null==l[e]?"":""===l[e]?" ":l[e]}getRowOption(t){return null==this.tableData.rowOptions?null:this.tableData.rowOptions[t]}getRowOptions(t,e){return{mobileColumns:JSON.parse(t.getAttribute("data-mobile-columns"))||e,mobileShow:null!==t.getAttribute("data-mobile-shown"),mobileHide:null!==t.getAttribute("data-mobile-hidden")}}getCellDataOptions(t){return{width:t.getAttribute("width"),columnSpan:parseInt(t.getAttribute("colspan")),textAlign:t.getAttribute("data-text-align")||this.cellTextAlign,mobileShow:null!==t.getAttribute("data-mobile-shown"),mobileHide:null!==t.getAttribute("data-mobile-hidden")}}getColumnColor(t){const{tableData:{columns:e,columnColors:o}}=this;return null==o||t<0&&t>=e.length?null:o[t]}getColumnCellInnerClassName(t){const{tableData:{columns:e},gappedColumnLayout:o}=this;return o?{"table__cell--inner":t+1<e.length&&""===e[t+1]}:{}}render(){return o(l,{key:"398560a4ac5a5dff36009cb3f1fb69a3c20eeddd"},this.renderLargeScreenTable(),this.renderMobileScreenTable())}static get watchers(){return{tableData:[{onTableDataChange:0}]}}};r.style='.sc-tet-table-h{box-sizing:border-box}*.sc-tet-table,*.sc-tet-table:before,*.sc-tet-table:after{box-sizing:inherit;padding:0;margin:0}.sc-tet-table-h{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search.sc-tet-table::before{content:"\\e86e"}.icon.tet-close-circled.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled.sc-tet-table::before{content:"\\e85a"}.icon.tet-close.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close.sc-tet-table::before{content:"\\e85b"}.icon.tet-check-circled.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled.sc-tet-table::before{content:"\\e86c"}.icon.tet-check.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check.sc-tet-table::before{content:"\\e855"}.icon.tet-chevron-up.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up.sc-tet-table::before{content:"\\e859"}.icon.tet-chevron-down.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down.sc-tet-table::before{content:"\\e856"}.icon.tet-clipboard.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard.sc-tet-table::before{content:"\\e86a"}.icon.tet-info.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info.sc-tet-table::before{content:"\\e81d"}.icon.tet-done.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done.sc-tet-table::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}.sc-tet-table-h{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}.sc-tet-table-h{--table-desktop-size-display:table;--table-mobile-size-display:none;--table-header-cell-padding:1rem;--table-header-cell-padding-mobile:0.5rem 0.75rem;--table-body-cell-padding:1rem;--table-background-base-color:var(--tc-layer-primary);--table-background-highlight-color:var(--tc-layer-secondary);--table-header-background-color:var(--tc-layer-tertiary);--table-separator-border-width:0.0625rem;--table-separator-border-color:var(--tc-border-quaternary);--table-bottom-border-color:var(--tc-grey-20);--table-header-color:var(--tc-text-primary);--table-cell-text-align:left;--table-cell-color:var(--tc-text-primary);--table-cell-subtitle-color:var(--tc-text-tertiary);--table-cell-vertical-align:middle;--table-gapped-columns-header-radius:0.5rem;--table-gapped-columns-gap:0.5rem;--table-cell-width:auto;--table-tooltip-icon-color:var(--tc-icon-secondary);--table-focus-outline-color:var(--tc-blue-40);--table-sticky-col-separator-gradient:linear-gradient(270deg, transparent 0%, rgba(196, 198, 202, 0.30) 100%);--table-mobile-row-gap:2rem;--table-color-theme-yellow-header-background-color:var(--tc-cell-yellow-primary);--table-color-theme-yellow-row-highlight-background-color:var(--tc-cell-yellow-secondary);--table-color-theme-yellow-row-base-background-color:var(--tc-cell-yellow-tertiary);--table-color-theme-grey-header-background-color:var(--tc-cell-grey-primary);--table-color-theme-grey-row-highlight-background-color:var(--tc-cell-grey-secondary);--table-color-theme-grey-row-base-background-color:var(--tc-cell-grey-tertiary)}.table.dark.sc-tet-table,.mobile-table.dark.sc-tet-table{--table-background-base-color:var(--tc-layer-primary-dark);--table-background-highlight-color:var(--tc-layer-secondary-dark);--table-header-background-color:var(--tc-layer-tertiary-dark);--table-separator-border-color:var(--tc-border-quaternary-dark);--table-bottom-border-color:var(--tc-grey-20-dark);--table-header-color:var(--tc-text-primary-dark);--table-cell-color:var(--tc-text-primary-dark);--table-cell-subtitle-color:var(--tc-text-tertiary-dark);--table-tooltip-icon-color:var(--tc-icon-secondary-dark);--table-focus-outline-color:var(--tc-blue-40-dark);--table-sticky-col-separator-gradient:linear-gradient(270deg, transparent 0%, rgba(12, 12, 14, 0.30) 100%);--table-color-theme-yellow-header-background-color:var(--tc-cell-yellow-primary-dark);--table-color-theme-yellow-row-highlight-background-color:var(--tc-cell-yellow-secondary-dark);--table-color-theme-yellow-row-base-background-color:var(--tc-cell-yellow-tertiary-dark);--table-color-theme-grey-header-background-color:var(--tc-cell-grey-primary-dark);--table-color-theme-grey-row-highlight-background-color:var(--tc-cell-grey-secondary-dark);--table-color-theme-grey-row-base-background-color:var(--tc-cell-grey-tertiary-dark)}.table.color-theme-yellow.sc-tet-table,.mobile-table.color-theme-yellow.sc-tet-table{--table-header-background-color:var(--table-color-theme-yellow-header-background-color);--table-background-base-color:var(--table-color-theme-yellow-row-base-background-color);--table-background-highlight-color:var(--table-color-theme-yellow-row-highlight-background-color);--table-separator-border-width:0}.table.color-theme-grey.sc-tet-table,.mobile-table.color-theme-grey.sc-tet-table{--table-header-background-color:var(--table-color-theme-grey-header-background-color);--table-background-base-color:var(--table-color-theme-grey-row-base-background-color);--table-background-highlight-color:var(--table-color-theme-grey-row-highlight-background-color);--table-separator-border-width:0}.table.sc-tet-table .tooltip-wrapper.sc-tet-table,.mobile-table.sc-tet-table .tooltip-wrapper.sc-tet-table{display:flex;align-self:flex-start;margin-top:0.125rem}.table.sc-tet-table .tooltip-wrapper.sc-tet-table .info-icon.sc-tet-table,.mobile-table.sc-tet-table .tooltip-wrapper.sc-tet-table .info-icon.sc-tet-table{--icon-container-display:flex;--icon-color:var(--table-tooltip-icon-color);--icon-size:1.25rem;border-radius:50%}.table.sc-tet-table .tooltip-wrapper.sc-tet-table .info-icon.sc-tet-table:focus-visible,.mobile-table.sc-tet-table .tooltip-wrapper.sc-tet-table .info-icon.sc-tet-table:focus-visible{outline:0.125rem solid var(--table-focus-outline-color)}.table.sc-tet-table .cell-content-wrapper.sc-tet-table,.mobile-table.sc-tet-table .cell-content-wrapper.sc-tet-table{display:flex;justify-content:space-between;column-gap:0.5rem}.table.sc-tet-table{display:var(--table-desktop-size-display);border-spacing:0;width:100%;table-layout:fixed}.table.sc-tet-table caption.sc-tet-table{padding:0.5rem;font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.table.sc-tet-table tr.sc-tet-table td.sc-tet-table,.table.sc-tet-table tr.sc-tet-table th.sc-tet-table{width:var(--table-cell-width);text-align:var(--table-cell-text-align);background:var(--table-background-base-color);border:none}.table.sc-tet-table tr.sc-tet-table td.sc-tet-table{vertical-align:var(--table-cell-vertical-align)}.table.sc-tet-table thead.sc-tet-table th.sc-tet-table{width:var(--table-cell-width);padding:var(--table-header-cell-padding);color:var(--table-header-color);background:var(--table-header-background-color);text-align:var(--table-cell-text-align);font:600 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";border-bottom:var(--table-separator-border-width) solid var(--table-separator-border-color)}.table.sc-tet-table thead.sc-tet-table tr.sc-tet-table>.sc-tet-table:first-child{border-top-left-radius:var(--table-border-radius, 0)}.table.sc-tet-table thead.sc-tet-table tr.sc-tet-table>.sc-tet-table:last-child{border-top-right-radius:var(--table-border-radius, 0)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:nth-of-type(2n-1) th.sc-tet-table,.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:nth-of-type(2n-1) td.sc-tet-table{background:var(--table-background-highlight-color)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type th.sc-tet-table,.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type td.sc-tet-table{border-bottom:var(--table-separator-border-width) solid var(--table-bottom-border-color)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type>.sc-tet-table:first-child{border-bottom-left-radius:var(--table-border-radius, 0)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type>.sc-tet-table:last-child{border-bottom-right-radius:var(--table-border-radius, 0)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table .title.sc-tet-table{display:flex;justify-content:space-between;column-gap:0.5rem;line-height:1.5rem}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table .subtitle.sc-tet-table{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";margin-top:0.25rem;color:var(--table-cell-subtitle-color);line-height:1.25rem}.table.sc-tet-table tbody.sc-tet-table th.sc-tet-table,.table.sc-tet-table tbody.sc-tet-table td.sc-tet-table{width:var(--table-cell-width);padding:var(--table-body-cell-padding);color:var(--table-cell-color);box-shadow:var(--table-cell-overlay-color) 0 0 0 100rem inset;text-align:var(--table-cell-text-align);font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.table--fixed-first-column.sc-tet-table tbody.sc-tet-table tr.sc-tet-table th.sc-tet-table,.table--fixed-first-column.sc-tet-table thead.sc-tet-table tr.sc-tet-table th.sc-tet-table:first-child{position:sticky;left:0;z-index:1}.table--fixed-first-column.sc-tet-table tbody.sc-tet-table tr.sc-tet-table th.sc-tet-table::after,.table--fixed-first-column.sc-tet-table thead.sc-tet-table tr.sc-tet-table th.sc-tet-table:first-child::after{content:"";position:absolute;top:0;right:-1rem;height:100%;width:1rem;background:var(--table-sticky-col-separator-gradient)}.table--gapped-columns.sc-tet-table{border-collapse:separate}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table{position:relative;background:none;border-bottom:0;z-index:10;padding-right:calc(var(--table-header-cell-padding) + var(--table-gapped-columns-gap))}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table::before{content:"";display:block;position:absolute;inset:0;z-index:-1;background:var(--table-header-background-color);border-top-left-radius:var(--table-gapped-columns-header-radius);border-top-right-radius:var(--table-gapped-columns-header-radius)}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table:first-child::before{display:none}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table:not(:last-child):not(.table__cell--inner)::before{right:var(--table-gapped-columns-gap)}.table--gapped-columns.sc-tet-table thead.sc-tet-table .table__cell--inner.sc-tet-table::before{border-radius:0}.table--gapped-columns.sc-tet-table thead.sc-tet-table .table__cell--inner.sc-tet-table+th.sc-tet-table::before{border-top-left-radius:0}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table+th.sc-tet-table::before{border-top-left-radius:var(--table-gapped-columns-header-radius)}.table--gapped-columns.sc-tet-table tbody.sc-tet-table th.sc-tet-table,.table--gapped-columns.sc-tet-table tbody.sc-tet-table td.sc-tet-table:not(:last-child):not(.table__cell--inner){border-right:var(--table-gapped-columns-gap) transparent solid}.table--gapped-columns.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type th.sc-tet-table,.table--gapped-columns.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type td.sc-tet-table{border-bottom:none}.mobile-table-wrapper.sc-tet-table{display:var(--table-mobile-size-display);flex-direction:column;row-gap:var(--table-mobile-row-gap)}.mobile-table.sc-tet-table{width:100%;text-align:left;vertical-align:top;border-collapse:collapse;table-layout:fixed}.mobile-table.sc-tet-table .tooltip-wrapper.sc-tet-table{margin:0}.mobile-table.sc-tet-table thead.sc-tet-table th.sc-tet-table{border-radius:var(--table-border-radius-mobile, 0.625rem) var(--table-border-radius-mobile, 0.625rem) 0 0;padding:var(--table-header-cell-padding-mobile);background-color:var(--table-header-background-color);color:var(--table-header-color);font:600 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";border-bottom:var(--table-separator-border-width) solid var(--table-separator-border-color)}.mobile-table.sc-tet-table tbody.sc-tet-table th.sc-tet-table{width:40%}.mobile-table.sc-tet-table tbody.sc-tet-table td.sc-tet-table{width:60%}.mobile-table.sc-tet-table tbody.sc-tet-table th.sc-tet-table,.mobile-table.sc-tet-table tbody.sc-tet-table td.sc-tet-table{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";padding:0.5rem 0.75rem;background:var(--table-background-base-color);color:var(--table-cell-color)}.mobile-table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:nth-of-type(2n-1) th.sc-tet-table,.mobile-table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:nth-of-type(2n-1) td.sc-tet-table{background:var(--table-background-highlight-color)}.mobile-table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type>.sc-tet-table:first-child{border-bottom-left-radius:var(--table-border-radius-mobile, 0)}.mobile-table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type>.sc-tet-table:last-child{border-bottom-right-radius:var(--table-border-radius-mobile, 0)}.mobile-table-header.sc-tet-table{display:flex;align-items:center;justify-content:space-between;column-gap:0.5rem}';export{r as tet_table}
1
+ import{r as t,d as e,h as o,H as l}from"./p-BWP8psSS.js";import{T as a}from"./p-CroGHapK.js";const r=class{constructor(e){t(this,e)}get host(){return e(this)}caption="";cellTextAlign="left";tableHeader="";tableHeaderTextAlign="left";tableHeaderColumnSpan=1;tableHeaderWidth="";tableData={rows:[],columns:[],columnColors:[],rowOptions:[],columnHeaderOptions:[]};gappedColumnLayout=!1;theme="light";colorTheme;fixedFirstColumn=!1;normalizedColumns=[];onTableDataChange(){this.normalizedColumns=this.transformColumns(this.tableData.columns)}componentWillLoad(){this.normalizedColumns=this.transformColumns(this.tableData.columns),this.loadSlotData()}transformColumns(t){return t&&0!==t.length?t.map((t=>"string"==typeof t?{value:t,tooltip:""}:t)):[]}loadSlotData(){const t=this.host.querySelector("template");if(null===t)return;const e={rows:[],columns:[],columnColors:[],rowOptions:[],columnHeaderOptions:[]},o=t.querySelector("thead")||t.content.querySelector("thead"),l=t.querySelector("tbody")||t.content.querySelector("tbody");if(null!==o||null!==l){if(null!==o){let t;o.querySelectorAll("th").forEach((o=>{const l=o.innerHTML.replace(/&nbsp;/g,""),a=""===l?t:o.getAttribute("data-color"),r=this.getCellDataOptions(o);e.columns.push(l),e.columnColors.push(a),e.columnHeaderOptions.push(r),t=a}))}if(null!==l){const t=JSON.parse(l.getAttribute("data-mobile-columns"));l.querySelectorAll("tr").forEach((o=>{const l=this.getRowOptions(o,t),a={label:o.querySelector("th")?.innerHTML||"",cells:[]};o.querySelectorAll("td").forEach((t=>{const e=this.getCellDataOptions(t);a.cells.push({value:t.innerHTML,options:e})})),e.rowOptions.push(l),e.rows.push(a)}))}this.tableData=e}}renderDesktopHeader=(t,e,l)=>{const a=this.getColumnCellInnerClassName(l),r=this.getColumnColor(l),s={};return r&&(s["--table-header-background-color"]=r),e&&"left"!==e.textAlign&&(s["--table-cell-text-align"]=e.textAlign),e&&e.width&&(s["--table-cell-width"]=e.width),o("th",{class:a,style:s,colSpan:e?.columnSpan||1,scope:"col"},(t.value||t.tooltip)&&o("div",{class:"cell-content-wrapper"},t.value,t.tooltip&&this.renderTooltip(t.tooltip)))};renderMobileHeader=t=>o("th",{scope:"col",colSpan:2},o("div",{class:"mobile-table-header"},o("p",{innerHTML:t.label}),!!t.subLabel&&!t.tooltip&&this.renderTooltip(t.subLabel),t.tooltip&&this.renderTooltip(t.tooltip)));renderRowData=(t,e)=>{const l={};return"left"!==this.tableHeaderTextAlign&&(l["--table-cell-text-align"]=this.tableHeaderTextAlign),this.tableHeaderWidth&&(l["--table-cell-width"]=this.tableHeaderWidth),o("tr",null,o("th",{scope:"row",style:l,colSpan:this.tableHeaderColumnSpan||1},o("p",{class:"title"},o("span",{innerHTML:t.label}),t.tooltip&&this.renderTooltip(t.tooltip)),t.subLabel&&!t.tooltip&&o("p",{class:"subtitle",innerHTML:t.subLabel})),t.cells.map(((t,o)=>this.renderDesktopCellData(t,o,e))))};renderTooltip=t=>o("span",{class:"tooltip-wrapper"},o("tet-icon",{theme:this.theme,type:this.colorTheme?"primary":"secondary",class:"info-icon",name:this.colorTheme?"tc-info-circle-outline":"tc-info-circle",tabindex:"0"}),o("tet-tooltip",{position:a.TOP,theme:this.theme},t));renderDesktopCellData=(t,e,l)=>{const a=this.tableData.rowOptions&&this.tableData.rowOptions[l];if(a&&a.mobileShow)return null;if(t.options&&t.options.mobileShow)return null;const r=this.getColumnCellInnerClassName(e),s=this.getColumnColor(e),n=t.options,i={};return s&&(i["--table-cell-overlay-color"]=`${s}4D`),n&&"left"!==n.textAlign&&(i["--table-cell-text-align"]=n.textAlign),o("td",{class:r,style:i,colSpan:n?.columnSpan||1},o("div",{class:"cell-content-wrapper"},o("span",{innerHTML:t.value}),t.tooltip&&this.renderTooltip(t.tooltip)))};renderMobileCellData=(t,e,l)=>{const a=t.options,r=this.getRowOption(l),s=this.getMobileColumn(l,e);return r&&r.mobileHide||a&&a.mobileHide?null:o("tr",null,o("th",null,o("div",{class:"cell-content-wrapper"},s||this.normalizedColumns[e]?.value,this.normalizedColumns[e]?.tooltip&&this.renderTooltip(this.normalizedColumns[e].tooltip))),o("td",null,o("div",{class:"cell-content-wrapper"},o("span",{innerHTML:t.value}),t.tooltip&&this.renderTooltip(t.tooltip))))};renderLargeScreenTable=()=>{const t=t=>this.tableData.columnHeaderOptions&&this.tableData.columnHeaderOptions[t],e={columnSpan:this.tableHeaderColumnSpan,textAlign:this.tableHeaderTextAlign,width:this.tableHeaderWidth};return o("table",{class:{table:!0,"table--gapped-columns":this.gappedColumnLayout,[this.theme]:!0,...this.colorTheme?{[`color-theme-${this.colorTheme}`]:!0}:{},"table--fixed-first-column":this.fixedFirstColumn}},this.caption&&o("caption",null,this.caption),o("thead",null,o("tr",null,this.renderDesktopHeader({value:this.tableHeader,tooltip:""},e),this.normalizedColumns?.map(((e,o)=>this.renderDesktopHeader(e,t(o),o))))),o("tbody",null,this.tableData.rows?.map(((t,e)=>this.renderRowData(t,e)))))};renderMobileScreenTable=()=>o("div",{class:"mobile-table-wrapper"},this.tableData.rows?.map(((t,e)=>this.getRowOption(e)?.mobileHide?null:o("table",{class:{"mobile-table":!0,[this.theme]:!0,...this.colorTheme?{[`color-theme-${this.colorTheme}`]:!0}:{}}},o("thead",null,o("tr",null,this.renderMobileHeader(t))),o("tbody",null,t.cells.map(((t,o)=>this.renderMobileCellData(t,o,e))))))));getMobileColumn(t,e){const o=this.getRowOption(t);if(null==o)return"";const{mobileColumns:l}=o;return null==l||null==l[e]?"":""===l[e]?" ":l[e]}getRowOption(t){return null==this.tableData.rowOptions?null:this.tableData.rowOptions[t]}getRowOptions(t,e){return{mobileColumns:JSON.parse(t.getAttribute("data-mobile-columns"))||e,mobileShow:null!==t.getAttribute("data-mobile-shown"),mobileHide:null!==t.getAttribute("data-mobile-hidden")}}getCellDataOptions(t){return{width:t.getAttribute("width"),columnSpan:parseInt(t.getAttribute("colspan")),textAlign:t.getAttribute("data-text-align")||this.cellTextAlign,mobileShow:null!==t.getAttribute("data-mobile-shown"),mobileHide:null!==t.getAttribute("data-mobile-hidden")}}getColumnColor(t){const{tableData:{columns:e,columnColors:o}}=this;return null==o||t<0&&t>=e.length?null:o[t]}getColumnCellInnerClassName(t){const{tableData:{columns:e},gappedColumnLayout:o}=this;return o?{"table__cell--inner":t+1<e.length&&""===e[t+1]}:{}}render(){return o(l,{key:"398560a4ac5a5dff36009cb3f1fb69a3c20eeddd"},this.renderLargeScreenTable(),this.renderMobileScreenTable())}static get watchers(){return{tableData:[{onTableDataChange:0}]}}};r.style='.sc-tet-table-h{box-sizing:border-box}*.sc-tet-table,*.sc-tet-table:before,*.sc-tet-table:after{box-sizing:inherit;padding:0;margin:0}.sc-tet-table-h{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search.sc-tet-table::before{content:"\\e86e"}.icon.tet-close-circled.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled.sc-tet-table::before{content:"\\e85a"}.icon.tet-close.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close.sc-tet-table::before{content:"\\e85b"}.icon.tet-check-circled.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled.sc-tet-table::before{content:"\\e86c"}.icon.tet-check.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check.sc-tet-table::before{content:"\\e855"}.icon.tet-chevron-up.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up.sc-tet-table::before{content:"\\e859"}.icon.tet-chevron-down.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down.sc-tet-table::before{content:"\\e856"}.icon.tet-clipboard.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard.sc-tet-table::before{content:"\\e86a"}.icon.tet-info.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info.sc-tet-table::before{content:"\\e81d"}.icon.tet-done.sc-tet-table{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done.sc-tet-table::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}.sc-tet-table-h{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}.sc-tet-table-h{--table-desktop-size-display:table;--table-mobile-size-display:none;--table-header-cell-padding:1rem;--table-header-cell-padding-mobile:0.5rem 0.75rem;--table-body-cell-padding:1rem;--table-background-base-color:var(--tc-layer-primary);--table-background-highlight-color:var(--tc-layer-secondary);--table-header-background-color:var(--tc-layer-tertiary);--table-separator-border-width:0.0625rem;--table-separator-border-color:var(--tc-border-quaternary);--table-bottom-border-color:var(--tc-grey-20);--table-header-color:var(--tc-text-primary);--table-cell-text-align:left;--table-cell-color:var(--tc-text-primary);--table-cell-subtitle-color:var(--tc-text-tertiary);--table-cell-vertical-align:middle;--table-gapped-columns-header-radius:0.5rem;--table-gapped-columns-gap:0.5rem;--table-cell-width:auto;--table-tooltip-icon-color:var(--tc-icon-secondary);--table-focus-outline-color:var(--tc-blue-40);--table-sticky-col-separator-gradient:linear-gradient(270deg, transparent 0%, rgba(196, 198, 202, 0.30) 100%);--table-mobile-row-gap:2rem;--table-color-theme-yellow-header-background-color:var(--tc-cell-yellow-primary);--table-color-theme-yellow-row-highlight-background-color:var(--tc-cell-yellow-secondary);--table-color-theme-yellow-row-base-background-color:var(--tc-cell-yellow-tertiary);--table-color-theme-grey-header-background-color:var(--tc-cell-grey-primary);--table-color-theme-grey-row-highlight-background-color:var(--tc-cell-grey-secondary);--table-color-theme-grey-row-base-background-color:var(--tc-cell-grey-tertiary)}.table.dark.sc-tet-table,.mobile-table.dark.sc-tet-table{--table-background-base-color:var(--tc-layer-primary-dark);--table-background-highlight-color:var(--tc-layer-secondary-dark);--table-header-background-color:var(--tc-layer-tertiary-dark);--table-separator-border-color:var(--tc-border-quaternary-dark);--table-bottom-border-color:var(--tc-grey-20-dark);--table-header-color:var(--tc-text-primary-dark);--table-cell-color:var(--tc-text-primary-dark);--table-cell-subtitle-color:var(--tc-text-tertiary-dark);--table-tooltip-icon-color:var(--tc-icon-secondary-dark);--table-focus-outline-color:var(--tc-blue-40-dark);--table-sticky-col-separator-gradient:linear-gradient(270deg, transparent 0%, rgba(12, 12, 14, 0.30) 100%);--table-color-theme-yellow-header-background-color:var(--tc-cell-yellow-primary-dark);--table-color-theme-yellow-row-highlight-background-color:var(--tc-cell-yellow-secondary-dark);--table-color-theme-yellow-row-base-background-color:var(--tc-cell-yellow-tertiary-dark);--table-color-theme-grey-header-background-color:var(--tc-cell-grey-primary-dark);--table-color-theme-grey-row-highlight-background-color:var(--tc-cell-grey-secondary-dark);--table-color-theme-grey-row-base-background-color:var(--tc-cell-grey-tertiary-dark)}.table.color-theme-yellow.sc-tet-table,.mobile-table.color-theme-yellow.sc-tet-table{--table-header-background-color:var(--table-color-theme-yellow-header-background-color);--table-background-base-color:var(--table-color-theme-yellow-row-base-background-color);--table-background-highlight-color:var(--table-color-theme-yellow-row-highlight-background-color);--table-separator-border-width:0}.table.color-theme-grey.sc-tet-table,.mobile-table.color-theme-grey.sc-tet-table{--table-header-background-color:var(--table-color-theme-grey-header-background-color);--table-background-base-color:var(--table-color-theme-grey-row-base-background-color);--table-background-highlight-color:var(--table-color-theme-grey-row-highlight-background-color);--table-separator-border-width:0}.table.sc-tet-table .tooltip-wrapper.sc-tet-table,.mobile-table.sc-tet-table .tooltip-wrapper.sc-tet-table{display:flex;align-self:flex-start;margin-top:0.125rem}.table.sc-tet-table .tooltip-wrapper.sc-tet-table .info-icon.sc-tet-table,.mobile-table.sc-tet-table .tooltip-wrapper.sc-tet-table .info-icon.sc-tet-table{--icon-container-display:flex;--icon-color:var(--table-tooltip-icon-color);--icon-size:1.25rem;border-radius:50%}.table.sc-tet-table .tooltip-wrapper.sc-tet-table .info-icon.sc-tet-table:focus-visible,.mobile-table.sc-tet-table .tooltip-wrapper.sc-tet-table .info-icon.sc-tet-table:focus-visible{outline:0.125rem solid var(--table-focus-outline-color)}.table.sc-tet-table .cell-content-wrapper.sc-tet-table,.mobile-table.sc-tet-table .cell-content-wrapper.sc-tet-table{display:flex;justify-content:space-between;column-gap:0.5rem}.table.sc-tet-table{display:var(--table-desktop-size-display);border-spacing:0;width:100%;table-layout:fixed}.table.sc-tet-table caption.sc-tet-table{padding:0.5rem;font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.table.sc-tet-table tr.sc-tet-table td.sc-tet-table,.table.sc-tet-table tr.sc-tet-table th.sc-tet-table{width:var(--table-cell-width);text-align:var(--table-cell-text-align);background:var(--table-background-base-color);border:none}.table.sc-tet-table tr.sc-tet-table td.sc-tet-table{vertical-align:var(--table-cell-vertical-align)}.table.sc-tet-table thead.sc-tet-table th.sc-tet-table{width:var(--table-cell-width);padding:var(--table-header-cell-padding);color:var(--table-header-color);background:var(--table-header-background-color);text-align:var(--table-cell-text-align);font:600 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";border-bottom:var(--table-separator-border-width) solid var(--table-separator-border-color)}.table.sc-tet-table thead.sc-tet-table tr.sc-tet-table>.sc-tet-table:first-child{border-top-left-radius:var(--table-border-radius, 0)}.table.sc-tet-table thead.sc-tet-table tr.sc-tet-table>.sc-tet-table:last-child{border-top-right-radius:var(--table-border-radius, 0)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:nth-of-type(2n-1) th.sc-tet-table,.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:nth-of-type(2n-1) td.sc-tet-table{background:var(--table-background-highlight-color)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type th.sc-tet-table,.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type td.sc-tet-table{border-bottom:var(--table-separator-border-width) solid var(--table-bottom-border-color)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type>.sc-tet-table:first-child{border-bottom-left-radius:var(--table-border-radius, 0)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type>.sc-tet-table:last-child{border-bottom-right-radius:var(--table-border-radius, 0)}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table .title.sc-tet-table{display:flex;justify-content:space-between;column-gap:0.5rem;line-height:1.5rem}.table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table .subtitle.sc-tet-table{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";margin-top:0.25rem;color:var(--table-cell-subtitle-color);line-height:1.25rem}.table.sc-tet-table tbody.sc-tet-table th.sc-tet-table,.table.sc-tet-table tbody.sc-tet-table td.sc-tet-table{width:var(--table-cell-width);padding:var(--table-body-cell-padding);color:var(--table-cell-color);box-shadow:var(--table-cell-overlay-color) 0 0 0 100rem inset;text-align:var(--table-cell-text-align);font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.table--fixed-first-column.sc-tet-table tbody.sc-tet-table tr.sc-tet-table th.sc-tet-table,.table--fixed-first-column.sc-tet-table thead.sc-tet-table tr.sc-tet-table th.sc-tet-table:first-child{position:sticky;left:0;z-index:1}.table--fixed-first-column.sc-tet-table tbody.sc-tet-table tr.sc-tet-table th.sc-tet-table::after,.table--fixed-first-column.sc-tet-table thead.sc-tet-table tr.sc-tet-table th.sc-tet-table:first-child::after{content:"";position:absolute;top:0;right:-1rem;height:100%;width:1rem;background:var(--table-sticky-col-separator-gradient)}.table--gapped-columns.sc-tet-table{border-collapse:separate}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table{position:relative;background:none;border-bottom:0;z-index:10;padding-right:calc(var(--table-header-cell-padding) + var(--table-gapped-columns-gap))}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table::before{content:"";display:block;position:absolute;inset:0;z-index:-1;background:var(--table-header-background-color);border-top-left-radius:var(--table-gapped-columns-header-radius);border-top-right-radius:var(--table-gapped-columns-header-radius)}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table:first-child::before{display:none}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table:not(:last-child):not(.table__cell--inner)::before{right:var(--table-gapped-columns-gap)}.table--gapped-columns.sc-tet-table thead.sc-tet-table .table__cell--inner.sc-tet-table::before{border-radius:0}.table--gapped-columns.sc-tet-table thead.sc-tet-table .table__cell--inner.sc-tet-table+th.sc-tet-table::before{border-top-left-radius:0}.table--gapped-columns.sc-tet-table thead.sc-tet-table th.sc-tet-table+th.sc-tet-table::before{border-top-left-radius:var(--table-gapped-columns-header-radius)}.table--gapped-columns.sc-tet-table tbody.sc-tet-table th.sc-tet-table,.table--gapped-columns.sc-tet-table tbody.sc-tet-table td.sc-tet-table:not(:last-child):not(.table__cell--inner){border-right:var(--table-gapped-columns-gap) transparent solid}.table--gapped-columns.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type th.sc-tet-table,.table--gapped-columns.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type td.sc-tet-table{border-bottom:none}.mobile-table-wrapper.sc-tet-table{display:var(--table-mobile-size-display);flex-direction:column;row-gap:var(--table-mobile-row-gap)}.mobile-table.sc-tet-table{width:100%;text-align:left;vertical-align:top;border-collapse:collapse;table-layout:fixed}.mobile-table.sc-tet-table .tooltip-wrapper.sc-tet-table{margin:0}.mobile-table.sc-tet-table thead.sc-tet-table th.sc-tet-table{border-radius:var(--table-border-radius-mobile, 0.625rem) var(--table-border-radius-mobile, 0.625rem) 0 0;padding:var(--table-header-cell-padding-mobile);background-color:var(--table-header-background-color);color:var(--table-header-color);font:600 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";border-bottom:var(--table-separator-border-width) solid var(--table-separator-border-color)}.mobile-table.sc-tet-table tbody.sc-tet-table th.sc-tet-table{width:40%}.mobile-table.sc-tet-table tbody.sc-tet-table td.sc-tet-table{width:60%}.mobile-table.sc-tet-table tbody.sc-tet-table th.sc-tet-table,.mobile-table.sc-tet-table tbody.sc-tet-table td.sc-tet-table{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";padding:0.5rem 0.75rem;background:var(--table-background-base-color);color:var(--table-cell-color)}.mobile-table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:nth-of-type(2n-1) th.sc-tet-table,.mobile-table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:nth-of-type(2n-1) td.sc-tet-table{background:var(--table-background-highlight-color)}.mobile-table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type>.sc-tet-table:first-child{border-bottom-left-radius:var(--table-border-radius-mobile, 0)}.mobile-table.sc-tet-table tbody.sc-tet-table tr.sc-tet-table:last-of-type>.sc-tet-table:last-child{border-bottom-right-radius:var(--table-border-radius-mobile, 0)}.mobile-table-header.sc-tet-table{display:flex;align-items:center;justify-content:space-between;column-gap:0.5rem}';export{r as tet_table}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as r}from"./p-BGB6gNkz.js";const a=class{constructor(i){t(this,i),this.tetDynamicCardClickEvent=e(this,"tetDynamicCardClickEvent")}theme="light";onThemeChanged(t){"dark"===t?(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorLight}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorDark}`)):(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorDark}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorLight}`))}size="S";onSizeChange(){this.originalSize=this.size,this.resizeCard(window.innerWidth)}sizeChangeBreakpoint="None";isInCarousel=!1;pictureLayoutShiftPosition="left";cardTitle;subtitle;tags;dateTag;dateTagColorLight="black";dateTagColorDark="white";priceTagOptions={show:!1,background:"white"};linkHref;linkText;linkNewTab=!1;index;buttonColorTheme;buttonCustomColorCode;buttonCustomColorContentTone="light";tetDynamicCardClickEvent;isFocused=!1;originalSize=null;currentSize=null;priceViewRef=null;buttonRef=null;dateTagColorRef=null;rootElementRef=null;BREAKPOINTS={MOBILE:768,TABLET_SMALL:1024,TABLET:1440,DESKTOP:1920};CARD_SIZES={standard:{S:"fit-content",M:"calc(50% - 0.75rem)",XL:"100%"},responsive:{mobile:"100%",tablet:"calc(100% - var(--card-width-tablet) - 1.5rem - 2px)",desktop:"calc(100% - var(--card-width-desktop) - 1.5rem - 2px)"}};getCardSize(t){return this.isInCarousel?"S":t<this.BREAKPOINTS.MOBILE?"XL":t<this.BREAKPOINTS.TABLET_SMALL?"M":("L"===this.originalSize||"M"===this.originalSize)&&t<this.BREAKPOINTS.TABLET&&"Tab"===this.sizeChangeBreakpoint?"S":this.originalSize}getMinWidth(t){return t<this.BREAKPOINTS.MOBILE?"calc(var(--card-width-mobile) - 2rem)":t<this.BREAKPOINTS.TABLET?"calc(var(--card-width-tablet) - 2rem)":t<this.BREAKPOINTS.DESKTOP?"var(--card-width-tablet)":"var(--card-width-desktop)"}getCardWidth(t,e){if(this.isInCarousel)return"fit-content";if(e<this.BREAKPOINTS.MOBILE)return this.CARD_SIZES.responsive.mobile;if(e<this.BREAKPOINTS.TABLET){if(("L"===this.originalSize||"M"===this.originalSize)&&"Tab"===this.sizeChangeBreakpoint)return"fit-content";if("M"===t)return this.CARD_SIZES.standard.M;if("L"===t)return this.CARD_SIZES.responsive.tablet}else if("L"===t)return e<this.BREAKPOINTS.DESKTOP?this.CARD_SIZES.responsive.tablet:this.CARD_SIZES.responsive.desktop;return this.CARD_SIZES.standard[t]||"fit-content"}resizeCard=t=>{this.currentSize=this.getCardSize(t),this.rootElementRef.style.minWidth=this.getMinWidth(t),this.rootElementRef.style.width=this.getCardWidth(this.currentSize,t)};resizeObserver=new ResizeObserver((()=>{const t=window.innerWidth;this.resizeCard(t),t<768?(this.priceViewRef?.setAttribute("size","S"),this.buttonRef?.setAttribute("size","small")):t<1920?(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","medium")):(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","large"))}));componentWillLoad(){this.originalSize=this.size,this.currentSize=this.size}componentDidLoad(){this.onThemeChanged(this.theme),this.resizeObserver.observe(window.document.body)}handleClick=t=>{if(t.composedPath().some((t=>t instanceof HTMLElement&&t.classList?.contains("button"))))this.tetDynamicCardClickEvent.emit();else if(this.buttonRef&&this.linkHref){const t=this.buttonRef.shadowRoot?.querySelector("button");t&&t.click()}};renderTags(){const t="dark"===this.theme?this.dateTagColorDark:this.dateTagColorLight;return i("div",{class:"tags-container",part:"tags"},this.tags?.length>0&&i("div",{class:"tags"},this.tags.map((t=>i("span",{class:"tag"},t)))),this.dateTag&&i("div",{class:"tags"},i("div",{class:`tag colored colored--${t}`,ref:t=>{this.dateTagColorRef=t}},i("span",{class:"date-tag-text"},this.dateTag))))}renderPrice(){return this.priceTagOptions?.show?i("div",{class:"price",part:"price"},i("tet-price-view",{ref:t=>{this.priceViewRef=t},font:this.priceTagOptions.font||"Gilroy, Arial, sans-serif",background:this.priceTagOptions.background,staticColors:this.priceTagOptions.isStatic,theme:this.theme,size:"S","heading-text":this.priceTagOptions.headingText,"price-type":this.priceTagOptions.priceType,"euro-price":this.priceTagOptions.euroPrice?.toString(),"cents-price":this.priceTagOptions.centsPrice?.toString(),"footer-text":this.priceTagOptions.footerText,"footer-text-type":this.priceTagOptions.footerTextType})):null}renderButton(){return this.linkText?i("div",{class:"button",part:"button"},i("tet-button",{type:"primary",size:"small",theme:this.theme,"color-theme":this.buttonColorTheme,"custom-color-code":this.buttonCustomColorCode,"custom-color-content-tone":this.buttonCustomColorContentTone,url:this.linkHref,"url-target":this.linkNewTab?"_blank":"_self","accessibility-label":this.linkText,ref:t=>{this.buttonRef=t}},this.linkText)):null}render(){return i(r,{key:"9cfe72778dfaf7f44e796b0f1e41d8df1a9fe1f8",class:{"dynamic-card":!0,"is-focused":this.isFocused},"data-index":this.index,ref:t=>{this.rootElementRef=t}},i("div",{key:"2cd33e638a62cd75bbd5f9138d0e77f1e5543255",class:`card\n theme-${this.theme}\n size-${this.currentSize}\n position-${this.pictureLayoutShiftPosition}\n carousel-${this.isInCarousel}\n `,onClick:this.handleClick,onKeyUp:t=>{"Enter"===t.key&&this.handleClick(t)},tabindex:0,part:"card","aria-labelledby":this.cardTitle},i("div",{key:"056b9dcfd8edacd3983c49005fd22433e764b3e2",class:"image",part:"image"},i("slot",{key:"f52a2c79285fba66aad95cb495ba6c0083bc1bd8",name:"image"}),this.renderPrice(),this.renderTags()),i("div",{key:"dbdf37d7141c0b2f0b8c1a40c823dc7484ba45a2",class:"content-container"},i("div",{key:"64f160389fc01119f4992329c15a02297c5d965e",class:"content",part:"content"},this.cardTitle&&i("h3",{key:"ca864db8b53d4515dc4d262b1ee88e6f5215b9d0",class:"title",part:"title"},this.cardTitle),this.subtitle&&i("p",{key:"4ec676735fda2e89c457f27099d99a3c9c67cfe6",class:"subtitle",part:"subtitle"},this.subtitle)),this.renderButton())))}static get watchers(){return{theme:[{onThemeChanged:0}],size:[{onSizeChange:0}]}}};a.style=":host{--image-type:cover;--image-background-color:var(--tc-background-white-black);--card-width-mobile:17.5rem;--card-height-mobile:27.75rem;--card-width-tablet:21.375rem;--card-height-tablet:33.875rem;--card-width-desktop:25.625rem;--card-height-desktop:39.5rem;--option-card-bg:var(--tc-background-white-black);--option-card-text:var(--tc-text-primary);--option-card-border:var(--tc-border-quaternary);display:block;font-family:var(--tet-font-family-primary)}.card{-webkit-user-drag:none;user-select:none;cursor:pointer;background:var(--tc-background-white-black);border-radius:1rem;border:0.0625rem solid var(--tc-border-quaternary);overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem;margin:0 auto;min-width:var(--card-width-mobile);width:var(--card-width-mobile);height:var(--card-height-mobile);transition:box-shadow 0.15s ease}.card.size-S{width:var(--card-width-mobile);height:var(--card-height-mobile)}.card.size-XL,.card.size-L,.card.size-M{width:100%}.card:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem}.card:hover{box-shadow:0 4px 24px 0 rgba(0, 0, 0, 0.1), 0 1.5px 6px 0 rgba(0, 0, 0, 0.08)}.card:hover ::slotted(img){transform:scale(1.06)}.card:active{box-shadow:0 0 1px 0 rgba(12, 12, 14, 0.08), 0 1px 3px 0 rgba(12, 12, 14, 0.12)}.card:active ::slotted(img){transform:scale(1.01)}.content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.image{-webkit-user-drag:none;user-select:none;flex-shrink:0;width:100%;height:16.125rem;overflow:hidden;position:relative;background-color:var(--image-background-color)}.image ::slotted(img){transition:transform 0.3s ease;width:100%;height:100%;object-fit:var(--image-type);display:block}.price{position:absolute;bottom:0.75rem;right:0.75rem;z-index:1}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem;z-index:1}.content{height:auto;padding:0 1rem;text-align:center}.title{margin:0;font-family:var(--font-family-fallback);font-size:1.25rem;font-weight:600;margin-bottom:0.5rem;color:var(--tc-text-primary);line-height:1.5rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:3rem}.subtitle{color:var(--tc-text-primary);text-align:center;font-family:var(--font-family-content);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.003125rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.5rem}.button{margin-top:auto;margin-bottom:1.5rem;width:fit-content;text-wrap:nowrap}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem}.tags{display:flex;flex-wrap:wrap;gap:0.25rem}.tag{border:0.0625px solid var(--tc-border-tertiary);padding:0.1875rem 0.3125rem;border-radius:0.375rem;background:var(--tc-layer-primary);color:var(--tc-text-primary);font-family:var(--font-family-content);font-size:0.75rem;font-style:normal;font-weight:500;line-height:1rem}.tag.colored--white{background:var(--tc-layer-primary);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.tag.colored--black{color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}.tag.colored--yellow{background:var(--tc-yellow-20);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.theme-dark{background:var(--tc-layer-primary-dark);border:0.0625rem solid var(--tc-border-quaternary-dark)}.theme-dark .title{color:var(--tc-text-primary-dark)}.theme-dark .subtitle{color:var(--tc-text-primary-dark)}.theme-dark .tag:not(.colored){color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}@media all and (min-width: 48rem){.card{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-S{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-M{width:100%}.card.size-M .image{width:100%}.card.size-M.carousel-true{width:44rem}.card.size-XL,.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-XL .image,.card.size-L .image{width:60%;height:100%}.card.size-XL .button,.card.size-L .button{margin-top:0}.card.size-XL.position-right,.card.size-L.position-right{flex-direction:row-reverse}.card.size-XL.carousel-true,.card.size-L.carousel-true{width:44rem}.image{width:var(--card-width-tablet);height:var(--card-width-tablet)}.title{font-size:1.5rem;line-height:1.75rem;max-height:3.5rem}.tag{font-size:0.875rem;line-height:1.25rem;letter-spacing:-0.003125rem}}@media all and (min-width: 90rem){.card.size-M{width:100%}.card.size-M.carousel-true{width:39.375rem}.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-L .image{width:62%;height:100%}.card.size-L .button{margin-top:0}.card.size-L.position-right{flex-direction:row-reverse}.card.size-L.carousel-true{width:57.25rem}.card.size-XL .image{width:64%}.card.size-XL.carousel-true{width:80.25rem}}@media all and (min-width: 120rem){.card{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-S{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-L.carousel-true{width:83.125rem}.card.size-XL .image{width:72%}.card.size-XL.carousel-true{width:110.25rem}.image{width:var(--card-width-desktop);height:var(--card-width-desktop)}.title{font-size:1.75rem;line-height:2rem;max-height:4rem}.subtitle{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem;max-height:3rem}}";export{a as tet_dynamic_card}
1
+ import{r as t,c as e,h as i,H as r}from"./p-BWP8psSS.js";const a=class{constructor(i){t(this,i),this.tetDynamicCardClickEvent=e(this,"tetDynamicCardClickEvent")}theme="light";onThemeChanged(t){"dark"===t?(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorLight}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorDark}`)):(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorDark}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorLight}`))}size="S";onSizeChange(){this.originalSize=this.size,this.resizeCard(window.innerWidth)}sizeChangeBreakpoint="None";isInCarousel=!1;pictureLayoutShiftPosition="left";cardTitle;subtitle;tags;dateTag;dateTagColorLight="black";dateTagColorDark="white";priceTagOptions={show:!1,background:"white"};linkHref;linkText;linkNewTab=!1;index;buttonColorTheme;buttonCustomColorCode;buttonCustomColorContentTone="light";tetDynamicCardClickEvent;isFocused=!1;originalSize=null;currentSize=null;priceViewRef=null;buttonRef=null;dateTagColorRef=null;rootElementRef=null;BREAKPOINTS={MOBILE:768,TABLET_SMALL:1024,TABLET:1440,DESKTOP:1920};CARD_SIZES={standard:{S:"fit-content",M:"calc(50% - 0.75rem)",XL:"100%"},responsive:{mobile:"100%",tablet:"calc(100% - var(--card-width-tablet) - 1.5rem - 2px)",desktop:"calc(100% - var(--card-width-desktop) - 1.5rem - 2px)"}};getCardSize(t){return this.isInCarousel?"S":t<this.BREAKPOINTS.MOBILE?"XL":t<this.BREAKPOINTS.TABLET_SMALL?"M":("L"===this.originalSize||"M"===this.originalSize)&&t<this.BREAKPOINTS.TABLET&&"Tab"===this.sizeChangeBreakpoint?"S":this.originalSize}getMinWidth(t){return t<this.BREAKPOINTS.MOBILE?"calc(var(--card-width-mobile) - 2rem)":t<this.BREAKPOINTS.TABLET?"calc(var(--card-width-tablet) - 2rem)":t<this.BREAKPOINTS.DESKTOP?"var(--card-width-tablet)":"var(--card-width-desktop)"}getCardWidth(t,e){if(this.isInCarousel)return"fit-content";if(e<this.BREAKPOINTS.MOBILE)return this.CARD_SIZES.responsive.mobile;if(e<this.BREAKPOINTS.TABLET){if(("L"===this.originalSize||"M"===this.originalSize)&&"Tab"===this.sizeChangeBreakpoint)return"fit-content";if("M"===t)return this.CARD_SIZES.standard.M;if("L"===t)return this.CARD_SIZES.responsive.tablet}else if("L"===t)return e<this.BREAKPOINTS.DESKTOP?this.CARD_SIZES.responsive.tablet:this.CARD_SIZES.responsive.desktop;return this.CARD_SIZES.standard[t]||"fit-content"}resizeCard=t=>{this.currentSize=this.getCardSize(t),this.rootElementRef.style.minWidth=this.getMinWidth(t),this.rootElementRef.style.width=this.getCardWidth(this.currentSize,t)};resizeObserver=new ResizeObserver((()=>{const t=window.innerWidth;this.resizeCard(t),t<768?(this.priceViewRef?.setAttribute("size","S"),this.buttonRef?.setAttribute("size","small")):t<1920?(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","medium")):(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","large"))}));componentWillLoad(){this.originalSize=this.size,this.currentSize=this.size}componentDidLoad(){this.onThemeChanged(this.theme),this.resizeObserver.observe(window.document.body)}handleClick=t=>{if(t.composedPath().some((t=>t instanceof HTMLElement&&t.classList?.contains("button"))))this.tetDynamicCardClickEvent.emit();else if(this.buttonRef&&this.linkHref){const t=this.buttonRef.shadowRoot?.querySelector("button");t&&t.click()}};renderTags(){const t="dark"===this.theme?this.dateTagColorDark:this.dateTagColorLight;return i("div",{class:"tags-container",part:"tags"},this.tags?.length>0&&i("div",{class:"tags"},this.tags.map((t=>i("span",{class:"tag"},t)))),this.dateTag&&i("div",{class:"tags"},i("div",{class:`tag colored colored--${t}`,ref:t=>{this.dateTagColorRef=t}},i("span",{class:"date-tag-text"},this.dateTag))))}renderPrice(){return this.priceTagOptions?.show?i("div",{class:"price",part:"price"},i("tet-price-view",{ref:t=>{this.priceViewRef=t},font:this.priceTagOptions.font||"Gilroy, Arial, sans-serif",background:this.priceTagOptions.background,staticColors:this.priceTagOptions.isStatic,theme:this.theme,size:"S","heading-text":this.priceTagOptions.headingText,"price-type":this.priceTagOptions.priceType,"euro-price":this.priceTagOptions.euroPrice?.toString(),"cents-price":this.priceTagOptions.centsPrice?.toString(),"footer-text":this.priceTagOptions.footerText,"footer-text-type":this.priceTagOptions.footerTextType})):null}renderButton(){return this.linkText?i("div",{class:"button",part:"button"},i("tet-button",{type:"primary",size:"small",theme:this.theme,"color-theme":this.buttonColorTheme,"custom-color-code":this.buttonCustomColorCode,"custom-color-content-tone":this.buttonCustomColorContentTone,url:this.linkHref,"url-target":this.linkNewTab?"_blank":"_self","accessibility-label":this.linkText,ref:t=>{this.buttonRef=t}},this.linkText)):null}render(){return i(r,{key:"9cfe72778dfaf7f44e796b0f1e41d8df1a9fe1f8",class:{"dynamic-card":!0,"is-focused":this.isFocused},"data-index":this.index,ref:t=>{this.rootElementRef=t}},i("div",{key:"2cd33e638a62cd75bbd5f9138d0e77f1e5543255",class:`card\n theme-${this.theme}\n size-${this.currentSize}\n position-${this.pictureLayoutShiftPosition}\n carousel-${this.isInCarousel}\n `,onClick:this.handleClick,onKeyUp:t=>{"Enter"===t.key&&this.handleClick(t)},tabindex:0,part:"card","aria-labelledby":this.cardTitle},i("div",{key:"056b9dcfd8edacd3983c49005fd22433e764b3e2",class:"image",part:"image"},i("slot",{key:"f52a2c79285fba66aad95cb495ba6c0083bc1bd8",name:"image"}),this.renderPrice(),this.renderTags()),i("div",{key:"dbdf37d7141c0b2f0b8c1a40c823dc7484ba45a2",class:"content-container"},i("div",{key:"64f160389fc01119f4992329c15a02297c5d965e",class:"content",part:"content"},this.cardTitle&&i("h3",{key:"ca864db8b53d4515dc4d262b1ee88e6f5215b9d0",class:"title",part:"title"},this.cardTitle),this.subtitle&&i("p",{key:"4ec676735fda2e89c457f27099d99a3c9c67cfe6",class:"subtitle",part:"subtitle"},this.subtitle)),this.renderButton())))}static get watchers(){return{theme:[{onThemeChanged:0}],size:[{onSizeChange:0}]}}};a.style=":host{--image-type:cover;--image-background-color:var(--tc-background-white-black);--card-width-mobile:17.5rem;--card-height-mobile:27.75rem;--card-width-tablet:21.375rem;--card-height-tablet:33.875rem;--card-width-desktop:25.625rem;--card-height-desktop:39.5rem;--option-card-bg:var(--tc-background-white-black);--option-card-text:var(--tc-text-primary);--option-card-border:var(--tc-border-quaternary);display:block;font-family:var(--tet-font-family-primary)}.card{-webkit-user-drag:none;user-select:none;cursor:pointer;background:var(--tc-background-white-black);border-radius:1rem;border:0.0625rem solid var(--tc-border-quaternary);overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem;margin:0 auto;min-width:var(--card-width-mobile);width:var(--card-width-mobile);height:var(--card-height-mobile);transition:box-shadow 0.15s ease}.card.size-S{width:var(--card-width-mobile);height:var(--card-height-mobile)}.card.size-XL,.card.size-L,.card.size-M{width:100%}.card:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem}.card:hover{box-shadow:0 4px 24px 0 rgba(0, 0, 0, 0.1), 0 1.5px 6px 0 rgba(0, 0, 0, 0.08)}.card:hover ::slotted(img){transform:scale(1.06)}.card:active{box-shadow:0 0 1px 0 rgba(12, 12, 14, 0.08), 0 1px 3px 0 rgba(12, 12, 14, 0.12)}.card:active ::slotted(img){transform:scale(1.01)}.content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.image{-webkit-user-drag:none;user-select:none;flex-shrink:0;width:100%;height:16.125rem;overflow:hidden;position:relative;background-color:var(--image-background-color)}.image ::slotted(img){transition:transform 0.3s ease;width:100%;height:100%;object-fit:var(--image-type);display:block}.price{position:absolute;bottom:0.75rem;right:0.75rem;z-index:1}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem;z-index:1}.content{height:auto;padding:0 1rem;text-align:center}.title{margin:0;font-family:var(--font-family-fallback);font-size:1.25rem;font-weight:600;margin-bottom:0.5rem;color:var(--tc-text-primary);line-height:1.5rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:3rem}.subtitle{color:var(--tc-text-primary);text-align:center;font-family:var(--font-family-content);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.003125rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.5rem}.button{margin-top:auto;margin-bottom:1.5rem;width:fit-content;text-wrap:nowrap}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem}.tags{display:flex;flex-wrap:wrap;gap:0.25rem}.tag{border:0.0625px solid var(--tc-border-tertiary);padding:0.1875rem 0.3125rem;border-radius:0.375rem;background:var(--tc-layer-primary);color:var(--tc-text-primary);font-family:var(--font-family-content);font-size:0.75rem;font-style:normal;font-weight:500;line-height:1rem}.tag.colored--white{background:var(--tc-layer-primary);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.tag.colored--black{color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}.tag.colored--yellow{background:var(--tc-yellow-20);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.theme-dark{background:var(--tc-layer-primary-dark);border:0.0625rem solid var(--tc-border-quaternary-dark)}.theme-dark .title{color:var(--tc-text-primary-dark)}.theme-dark .subtitle{color:var(--tc-text-primary-dark)}.theme-dark .tag:not(.colored){color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}@media all and (min-width: 48rem){.card{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-S{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-M{width:100%}.card.size-M .image{width:100%}.card.size-M.carousel-true{width:44rem}.card.size-XL,.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-XL .image,.card.size-L .image{width:60%;height:100%}.card.size-XL .button,.card.size-L .button{margin-top:0}.card.size-XL.position-right,.card.size-L.position-right{flex-direction:row-reverse}.card.size-XL.carousel-true,.card.size-L.carousel-true{width:44rem}.image{width:var(--card-width-tablet);height:var(--card-width-tablet)}.title{font-size:1.5rem;line-height:1.75rem;max-height:3.5rem}.tag{font-size:0.875rem;line-height:1.25rem;letter-spacing:-0.003125rem}}@media all and (min-width: 90rem){.card.size-M{width:100%}.card.size-M.carousel-true{width:39.375rem}.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-L .image{width:62%;height:100%}.card.size-L .button{margin-top:0}.card.size-L.position-right{flex-direction:row-reverse}.card.size-L.carousel-true{width:57.25rem}.card.size-XL .image{width:64%}.card.size-XL.carousel-true{width:80.25rem}}@media all and (min-width: 120rem){.card{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-S{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-L.carousel-true{width:83.125rem}.card.size-XL .image{width:72%}.card.size-XL.carousel-true{width:110.25rem}.image{width:var(--card-width-desktop);height:var(--card-width-desktop)}.title{font-size:1.75rem;line-height:2rem;max-height:4rem}.subtitle{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem;max-height:3rem}}";export{a as tet_dynamic_card}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,H as i}from"./p-BGB6gNkz.js";import{p as o,t as a}from"./p-BzLFf73g.js";import"./p-DbJll7nz.js";import"./p-Bvqcvhjw.js";const n=class{constructor(s){t(this,s),this.closeDialog=e(this,"closeDialog"),this.openDialog=e(this,"openDialog")}stepBlocks=[];prevButton;nextButton;tetDialog;content="";steps=[];isOpen=!1;dialogDataScreenKey="";tetDialogClass="";language="lv";isKeydownFocus=!1;theme="light";closeDialog;openDialog;async componentWillLoad(){await o("tet-components",this.language)}componentDidLoad(){this.setActive(!1),this.prevButton.addEventListener("click",(()=>{this.setActive(!0),this.prevButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.prevButton.style.display?this.prevButton.focus():this.nextButton.focus())})),this.nextButton.addEventListener("click",(()=>{this.setActive(!1),this.nextButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.nextButton.style.display?this.nextButton.focus():this.prevButton.focus())}))}setStepBlocks=t=>{t&&this.stepBlocks.push(t)};setActive=t=>{const e=Array.from(this.stepBlocks).find((t=>t.classList.contains("active"))),s=e?Number(e.getAttribute("data-step")):0,i=t?s-1:s+1,o=Array.from(this.stepBlocks),a=o.find((t=>Number(t.getAttribute("data-step"))===i));a&&(this.stepBlocks.forEach((t=>{t.style.display="none",t.classList.remove("active")})),a.classList.add("active"),a.style.display="block",this.updateButtonVisibility(i,o))};updateButtonVisibility=(t,e)=>{const s=e.find((e=>Number(e.getAttribute("data-step"))===t+1)),i=e.find((e=>Number(e.getAttribute("data-step"))===t-1));this.nextButton.style.display=s?"block":"none",this.prevButton.style.display=i?"block":"none",this.tetDialog.setAttribute("footer-display",s?i?"between":"right":"left")};handleKeydownEvent=t=>{["Enter"," "].includes(t.key)&&(this.isKeydownFocus=!0)};handleCloseDialog=t=>{t.stopPropagation(),this.closeDialog.emit(t.detail)};handleOpenDialog=t=>{t.stopPropagation(),this.openDialog.emit(t.detail)};renderStep(t,e){return s("div",{innerHTML:t,"data-step":Number(e)+1,class:"multi-step-dialog__step",ref:this.setStepBlocks})}render(){return s(i,{key:"e96889d646e2275058bb4718876972cea8c86ad4",class:"multi-step-dialog"},s("tet-dialog",{key:"bf35ef6e8ea7450ca6880f236c4e4d36cf52f4cd",class:this.tetDialogClass,"is-open":this.isOpen,"data-screen-key":this.dialogDataScreenKey,"footer-display":"right",ref:t=>this.tetDialog=t,theme:this.theme,onCloseDialog:this.handleCloseDialog,onOpenDialog:this.handleOpenDialog},s("div",{key:"91b6f323f2015195f3c1d683fa563713bc39d8c9",innerHTML:this.content}),this.steps.map(((t,e)=>this.renderStep(t,e))),s("tet-button",{key:"cc316e8a51130f3b682d9f4063c80bd337987568",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,type:"secondary",ref:t=>this.prevButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},a("components-go-back")),s("tet-button",{key:"1ca71d384b7936c5a129cb07a88fadf5278009b6",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,ref:t=>this.nextButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},a("components-next-step"))))}};export{n as tet_multi_step_dialog}
1
+ import{r as t,c as e,h as s,H as i}from"./p-BWP8psSS.js";import{p as o,t as a}from"./p-Bi5WA4Eb.js";import"./p-Ojgt8vhK.js";import"./p-Bvqcvhjw.js";const n=class{constructor(s){t(this,s),this.closeDialog=e(this,"closeDialog"),this.openDialog=e(this,"openDialog")}stepBlocks=[];prevButton;nextButton;tetDialog;content="";steps=[];isOpen=!1;dialogDataScreenKey="";tetDialogClass="";language="lv";isKeydownFocus=!1;theme="light";closeDialog;openDialog;async componentWillLoad(){await o("tet-components",this.language)}componentDidLoad(){this.setActive(!1),this.prevButton.addEventListener("click",(()=>{this.setActive(!0),this.prevButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.prevButton.style.display?this.prevButton.focus():this.nextButton.focus())})),this.nextButton.addEventListener("click",(()=>{this.setActive(!1),this.nextButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.nextButton.style.display?this.nextButton.focus():this.prevButton.focus())}))}setStepBlocks=t=>{t&&this.stepBlocks.push(t)};setActive=t=>{const e=Array.from(this.stepBlocks).find((t=>t.classList.contains("active"))),s=e?Number(e.getAttribute("data-step")):0,i=t?s-1:s+1,o=Array.from(this.stepBlocks),a=o.find((t=>Number(t.getAttribute("data-step"))===i));a&&(this.stepBlocks.forEach((t=>{t.style.display="none",t.classList.remove("active")})),a.classList.add("active"),a.style.display="block",this.updateButtonVisibility(i,o))};updateButtonVisibility=(t,e)=>{const s=e.find((e=>Number(e.getAttribute("data-step"))===t+1)),i=e.find((e=>Number(e.getAttribute("data-step"))===t-1));this.nextButton.style.display=s?"block":"none",this.prevButton.style.display=i?"block":"none",this.tetDialog.setAttribute("footer-display",s?i?"between":"right":"left")};handleKeydownEvent=t=>{["Enter"," "].includes(t.key)&&(this.isKeydownFocus=!0)};handleCloseDialog=t=>{t.stopPropagation(),this.closeDialog.emit(t.detail)};handleOpenDialog=t=>{t.stopPropagation(),this.openDialog.emit(t.detail)};renderStep(t,e){return s("div",{innerHTML:t,"data-step":Number(e)+1,class:"multi-step-dialog__step",ref:this.setStepBlocks})}render(){return s(i,{key:"e96889d646e2275058bb4718876972cea8c86ad4",class:"multi-step-dialog"},s("tet-dialog",{key:"bf35ef6e8ea7450ca6880f236c4e4d36cf52f4cd",class:this.tetDialogClass,"is-open":this.isOpen,"data-screen-key":this.dialogDataScreenKey,"footer-display":"right",ref:t=>this.tetDialog=t,theme:this.theme,onCloseDialog:this.handleCloseDialog,onOpenDialog:this.handleOpenDialog},s("div",{key:"91b6f323f2015195f3c1d683fa563713bc39d8c9",innerHTML:this.content}),this.steps.map(((t,e)=>this.renderStep(t,e))),s("tet-button",{key:"cc316e8a51130f3b682d9f4063c80bd337987568",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,type:"secondary",ref:t=>this.prevButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},a("components-go-back")),s("tet-button",{key:"1ca71d384b7936c5a129cb07a88fadf5278009b6",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,ref:t=>this.nextButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},a("components-next-step"))))}};export{n as tet_multi_step_dialog}