@tet/tet-components 1.4.138-staging → 1.4.139-testing

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 (420) hide show
  1. package/dist/cjs/{http-codes-M3UINy7t.js → http-codes-C-IXSZGG.js} +1 -1
  2. package/dist/cjs/{index-CabrFqSe.js → index-Bo0hF6YQ.js} +1 -1
  3. package/dist/cjs/{index-BGnwL8G_.js → index-DKg1QTRW.js} +5 -5
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{product-comparison-1cTUG5Si.js → product-comparison-f-u42TDe.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 +1 -1
  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 +46 -9
  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-notification.cjs.entry.js +1 -1
  63. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  64. package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
  65. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  66. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  67. package/dist/cjs/tet-radio-blocks.cjs.entry.js +28 -21
  68. package/dist/cjs/tet-radio_2.cjs.entry.js +1 -1
  69. package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
  70. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  71. package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
  72. package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
  73. package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
  74. package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
  75. package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
  76. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  77. package/dist/cjs/tet-sticky-offer.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  80. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  81. package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
  82. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  83. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  84. package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
  85. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
  86. package/dist/cjs/{translations-MNaGVsId.js → translations-f2lO6WcB.js} +1 -1
  87. package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.css +1 -1
  88. package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js +65 -6
  89. package/dist/collection/components/basic/buttons/tet-radio-blocks/tet-radio-blocks.css +75 -42
  90. package/dist/collection/components/basic/buttons/tet-radio-blocks/tet-radio-blocks.js +35 -26
  91. package/dist/components/index.js +1 -1
  92. package/dist/components/{p-CVKvk6QH.js → p-1M2reaCU.js} +1 -1
  93. package/dist/components/{p-ro9Xo95n.js → p-4OtGLxTM.js} +1 -1
  94. package/dist/components/{p-ClZGNJ8K.js → p-9ItXFJZ6.js} +1 -1
  95. package/dist/components/{p-DWm7jq2J.js → p-B4MTqXan.js} +1 -1
  96. package/dist/components/{p-CYfNgSDa.js → p-B8ElCfnM.js} +1 -1
  97. package/dist/components/{p-DftHVfCt.js → p-BBMx2Nbt.js} +1 -1
  98. package/dist/components/{p-B5gZt66l.js → p-BLY0RO0L.js} +1 -1
  99. package/dist/components/{p-Jr4xP8U0.js → p-BOavyx-7.js} +1 -1
  100. package/dist/components/{p-v3jmLiwp.js → p-BWmFtcLN.js} +1 -1
  101. package/dist/components/{p-YbtFFhcU.js → p-BZ0uDmYr.js} +1 -1
  102. package/dist/components/{p-DMha5T5b.js → p-BZ9cVPPC.js} +1 -1
  103. package/dist/components/{p-DF_X_yCR.js → p-B_RQCK28.js} +1 -1
  104. package/dist/components/{p-BvciW7tt.js → p-Bdt0k-v8.js} +1 -1
  105. package/dist/components/{p-BXDq6r9O.js → p-Be5i4YJ4.js} +1 -1
  106. package/dist/components/{p-BJyEjHQx.js → p-BgpTlgXX.js} +1 -1
  107. package/dist/components/{p-Vo_9U06w.js → p-Bq1skzzY.js} +1 -1
  108. package/dist/components/{p-CwSl5E57.js → p-BsNlQtYx.js} +1 -1
  109. package/dist/components/{p-CfmV2Jgh.js → p-CFDvtl5l.js} +1 -1
  110. package/dist/components/{p-B36OnKxA.js → p-CIMNJ4X2.js} +1 -1
  111. package/dist/components/{p-BtQDYhdb.js → p-CIPUn8d2.js} +1 -1
  112. package/dist/components/p-CKvGKHDE.js +1 -0
  113. package/dist/components/{p-DULF82L1.js → p-CMbAQKoe.js} +1 -1
  114. package/dist/components/{p-STr2Oh_2.js → p-CQfy7CVi.js} +1 -1
  115. package/dist/components/{p-nfGM0aGC.js → p-CT-Ge0pF.js} +1 -1
  116. package/dist/components/{p-CO0VSTHD.js → p-Cfy46lS6.js} +1 -1
  117. package/dist/components/{p-DvUWnsVA.js → p-ChbxhvnA.js} +1 -1
  118. package/dist/components/{p-CrSRJXyV.js → p-CjOuXGOS.js} +1 -1
  119. package/dist/components/{p-Df7zWrR3.js → p-ClWTLrk_.js} +1 -1
  120. package/dist/components/{p-x60Po9AL.js → p-Clw2OLNj.js} +1 -1
  121. package/dist/components/{p-BKT3j81W.js → p-Cwu8jtXG.js} +1 -1
  122. package/dist/components/{p-CPB6HceB.js → p-D9qys4GX.js} +1 -1
  123. package/dist/components/{p-D_0fYn3l.js → p-DH1iZWF5.js} +1 -1
  124. package/dist/components/{p-C2Vn0VjX.js → p-DHOPNeBR.js} +1 -1
  125. package/dist/components/{p-D7yVtwIG.js → p-DJQWSjRR.js} +1 -1
  126. package/dist/components/{p-BKPQnaRw.js → p-DKavMVSi.js} +1 -1
  127. package/dist/components/{p-TrvYXEJ_.js → p-DQaNW2BX.js} +1 -1
  128. package/dist/components/{p-cb20nj-c.js → p-DRJ0zjoF.js} +1 -1
  129. package/dist/components/{p-CDm2kZUj.js → p-DcqGjbQO.js} +1 -1
  130. package/dist/components/{p-JxsG9Eqn.js → p-DeFz-G5N.js} +1 -1
  131. package/dist/components/{p-B8FP4SAH.js → p-DePtMqzY.js} +1 -1
  132. package/dist/components/{p-BtSNSrDr.js → p-DgcBdohb.js} +1 -1
  133. package/dist/components/{p-DyW5hKus.js → p-Do_1srPW.js} +1 -1
  134. package/dist/components/{p-vTo56FQh.js → p-Dvk7syez.js} +1 -1
  135. package/dist/components/{p-CRJmHkRm.js → p-Dzb-TXLO.js} +1 -1
  136. package/dist/components/{p-BMd3uvm2.js → p-KBNSpMwX.js} +1 -1
  137. package/dist/components/{p-BCS3Q4O-.js → p-P_J147mb.js} +1 -1
  138. package/dist/components/{p-CP-a_UPI.js → p-c36Z0_hK.js} +1 -1
  139. package/dist/components/{p-BFRbl437.js → p-cnUvPtFj.js} +1 -1
  140. package/dist/components/{p-Dy5X-F_i.js → p-lmIrgmgo.js} +1 -1
  141. package/dist/components/{p-ChxhsA_J.js → p-nb3MHK7A.js} +1 -1
  142. package/dist/components/{p-nZe5s9iw.js → p-tQ4vjHQ1.js} +1 -1
  143. package/dist/components/{p-DDjtysF3.js → p-zkmKLYHg.js} +1 -1
  144. package/dist/components/tet-accordion.js +1 -1
  145. package/dist/components/tet-address-offers-filters-products.js +1 -1
  146. package/dist/components/tet-address-offers-filters.js +1 -1
  147. package/dist/components/tet-address-offers-view.js +1 -1
  148. package/dist/components/tet-address-offers.js +1 -1
  149. package/dist/components/tet-address-search.js +1 -1
  150. package/dist/components/tet-assembler.js +1 -1
  151. package/dist/components/tet-asset-availability-addresses.js +1 -1
  152. package/dist/components/tet-autocomplete-dropdown.js +1 -1
  153. package/dist/components/tet-autocomplete.js +1 -1
  154. package/dist/components/tet-availability-contact-form.js +1 -1
  155. package/dist/components/tet-b2b-check-out-form.js +1 -1
  156. package/dist/components/tet-b2b-compare-card.js +1 -1
  157. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  158. package/dist/components/tet-b2b-configurator.js +1 -1
  159. package/dist/components/tet-banner-nav.js +1 -1
  160. package/dist/components/tet-bar-graph.js +1 -1
  161. package/dist/components/tet-border-radius.js +1 -1
  162. package/dist/components/tet-business-card.js +1 -1
  163. package/dist/components/tet-business-compare-card.js +1 -1
  164. package/dist/components/tet-business-navigation.js +1 -1
  165. package/dist/components/tet-business-round-stepper.js +1 -1
  166. package/dist/components/tet-business-summary-card.js +1 -1
  167. package/dist/components/tet-button.js +1 -1
  168. package/dist/components/tet-card-list.js +1 -1
  169. package/dist/components/tet-carousel.js +1 -1
  170. package/dist/components/tet-checkbox.js +1 -1
  171. package/dist/components/tet-cloud-application-form-dialog.js +1 -1
  172. package/dist/components/tet-cloud-configurator.js +1 -1
  173. package/dist/components/tet-colors.js +1 -1
  174. package/dist/components/tet-compare-card-v2.js +1 -1
  175. package/dist/components/tet-compare-card-v3.js +1 -1
  176. package/dist/components/tet-compare-card.js +1 -1
  177. package/dist/components/tet-compare-cards-tab.js +1 -1
  178. package/dist/components/tet-compare-cards.js +1 -1
  179. package/dist/components/tet-container.js +1 -1
  180. package/dist/components/tet-countdown.js +1 -1
  181. package/dist/components/tet-counter.js +1 -1
  182. package/dist/components/tet-datepicker-header.js +1 -1
  183. package/dist/components/tet-datepicker-month-view.js +1 -1
  184. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  185. package/dist/components/tet-datepicker-year-view.js +1 -1
  186. package/dist/components/tet-datepicker.js +1 -1
  187. package/dist/components/tet-dialog.js +1 -1
  188. package/dist/components/tet-display.js +1 -1
  189. package/dist/components/tet-divider.js +1 -1
  190. package/dist/components/tet-dropdown.js +1 -1
  191. package/dist/components/tet-dynamic-card.js +1 -1
  192. package/dist/components/tet-expandable-input.js +1 -1
  193. package/dist/components/tet-expansion-panel.js +1 -1
  194. package/dist/components/tet-feedback-form.js +1 -1
  195. package/dist/components/tet-filter.js +1 -1
  196. package/dist/components/tet-floating-block.js +1 -1
  197. package/dist/components/tet-font-weight.js +1 -1
  198. package/dist/components/tet-fonts.js +1 -1
  199. package/dist/components/tet-grid.js +1 -1
  200. package/dist/components/tet-icon.js +1 -1
  201. package/dist/components/tet-inline-message.js +1 -1
  202. package/dist/components/tet-input.js +1 -1
  203. package/dist/components/tet-layout.js +1 -1
  204. package/dist/components/tet-link-card-list.js +1 -1
  205. package/dist/components/tet-link.js +1 -1
  206. package/dist/components/tet-loader.js +1 -1
  207. package/dist/components/tet-menu-mobile.js +1 -1
  208. package/dist/components/tet-menu.js +1 -1
  209. package/dist/components/tet-mini-compare-card.js +1 -1
  210. package/dist/components/tet-multi-step-dialog.js +1 -1
  211. package/dist/components/tet-navigation-mobile.js +1 -1
  212. package/dist/components/tet-news-card-list.js +1 -1
  213. package/dist/components/tet-notification.js +1 -1
  214. package/dist/components/tet-number-input.js +1 -1
  215. package/dist/components/tet-placeholder.js +1 -1
  216. package/dist/components/tet-position.js +1 -1
  217. package/dist/components/tet-price-view.js +1 -1
  218. package/dist/components/tet-radio-blocks.js +1 -1
  219. package/dist/components/tet-radio.js +1 -1
  220. package/dist/components/tet-range-slider.js +1 -1
  221. package/dist/components/tet-round-stepper.js +1 -1
  222. package/dist/components/tet-selection-list.js +1 -1
  223. package/dist/components/tet-snicker-card-group.js +1 -1
  224. package/dist/components/tet-snicker-card.js +1 -1
  225. package/dist/components/tet-spacing.js +1 -1
  226. package/dist/components/tet-spinner.js +1 -1
  227. package/dist/components/tet-stepper-input.js +1 -1
  228. package/dist/components/tet-stepper-v3.js +1 -1
  229. package/dist/components/tet-sticky-offer.js +1 -1
  230. package/dist/components/tet-support-search.js +1 -1
  231. package/dist/components/tet-switch.js +1 -1
  232. package/dist/components/tet-tab-content.js +1 -1
  233. package/dist/components/tet-tab-header.js +1 -1
  234. package/dist/components/tet-table.js +1 -1
  235. package/dist/components/tet-tag-group.js +1 -1
  236. package/dist/components/tet-tag.js +1 -1
  237. package/dist/components/tet-text-list.js +1 -1
  238. package/dist/components/tet-text.js +1 -1
  239. package/dist/components/tet-textarea.js +1 -1
  240. package/dist/components/tet-thank-you-view-v3.js +1 -1
  241. package/dist/components/tet-tooltip.js +1 -1
  242. package/dist/esm/{http-codes-CMh_eKUC.js → http-codes-DchfPj1v.js} +1 -1
  243. package/dist/esm/{index-st4TD55I.js → index-ClX9TYQY.js} +5 -5
  244. package/dist/esm/{index-DScKyiML.js → index-DfBhGuuz.js} +1 -1
  245. package/dist/esm/loader.js +3 -3
  246. package/dist/esm/{product-comparison-BHzU1-QK.js → product-comparison-DJko3TwF.js} +1 -1
  247. package/dist/esm/tet-accordion.entry.js +1 -1
  248. package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
  249. package/dist/esm/tet-address-offers-view.entry.js +3 -3
  250. package/dist/esm/tet-address-offers_5.entry.js +4 -4
  251. package/dist/esm/tet-assembler.entry.js +3 -3
  252. package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
  253. package/dist/esm/tet-autocomplete_2.entry.js +1 -1
  254. package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
  255. package/dist/esm/tet-b2b-configurator.entry.js +4 -4
  256. package/dist/esm/tet-banner-nav.entry.js +3 -3
  257. package/dist/esm/tet-bar-graph.entry.js +1 -1
  258. package/dist/esm/tet-border-radius.entry.js +1 -1
  259. package/dist/esm/tet-business-card.entry.js +1 -1
  260. package/dist/esm/tet-business-compare-card.entry.js +1 -1
  261. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  262. package/dist/esm/tet-button.entry.js +1 -1
  263. package/dist/esm/tet-card-list.entry.js +1 -1
  264. package/dist/esm/tet-carousel.entry.js +3 -3
  265. package/dist/esm/tet-checkbox_3.entry.js +1 -1
  266. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  267. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  268. package/dist/esm/tet-colors.entry.js +1 -1
  269. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  270. package/dist/esm/tet-compare-card-v3.entry.js +46 -9
  271. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  272. package/dist/esm/tet-compare-cards_2.entry.js +3 -3
  273. package/dist/esm/tet-components.js +3 -3
  274. package/dist/esm/tet-container_2.entry.js +1 -1
  275. package/dist/esm/tet-countdown.entry.js +1 -1
  276. package/dist/esm/tet-counter.entry.js +1 -1
  277. package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
  278. package/dist/esm/tet-datepicker.entry.js +1 -1
  279. package/dist/esm/tet-dialog.entry.js +3 -3
  280. package/dist/esm/tet-display.entry.js +1 -1
  281. package/dist/esm/tet-divider.entry.js +1 -1
  282. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  283. package/dist/esm/tet-expandable-input.entry.js +1 -1
  284. package/dist/esm/tet-expansion-panel.entry.js +1 -1
  285. package/dist/esm/tet-feedback-form.entry.js +3 -3
  286. package/dist/esm/tet-filter.entry.js +1 -1
  287. package/dist/esm/tet-floating-block.entry.js +1 -1
  288. package/dist/esm/tet-font-weight.entry.js +1 -1
  289. package/dist/esm/tet-fonts.entry.js +1 -1
  290. package/dist/esm/tet-grid.entry.js +1 -1
  291. package/dist/esm/tet-icon.entry.js +2 -2
  292. package/dist/esm/tet-inline-message.entry.js +1 -1
  293. package/dist/esm/tet-input.entry.js +3 -3
  294. package/dist/esm/tet-layout.entry.js +1 -1
  295. package/dist/esm/tet-link-card-list.entry.js +1 -1
  296. package/dist/esm/tet-link.entry.js +1 -1
  297. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  298. package/dist/esm/tet-menu.entry.js +1 -1
  299. package/dist/esm/tet-mini-compare-card.entry.js +1 -1
  300. package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
  301. package/dist/esm/tet-navigation-mobile.entry.js +3 -3
  302. package/dist/esm/tet-news-card-list.entry.js +1 -1
  303. package/dist/esm/tet-notification.entry.js +1 -1
  304. package/dist/esm/tet-number-input.entry.js +1 -1
  305. package/dist/esm/tet-placeholder.entry.js +1 -1
  306. package/dist/esm/tet-position.entry.js +1 -1
  307. package/dist/esm/tet-price-view.entry.js +1 -1
  308. package/dist/esm/tet-radio-blocks.entry.js +28 -21
  309. package/dist/esm/tet-radio_2.entry.js +1 -1
  310. package/dist/esm/tet-range-slider.entry.js +1 -1
  311. package/dist/esm/tet-round-stepper.entry.js +1 -1
  312. package/dist/esm/tet-snicker-card-group.entry.js +1 -1
  313. package/dist/esm/tet-snicker-card.entry.js +3 -3
  314. package/dist/esm/tet-spacing.entry.js +1 -1
  315. package/dist/esm/tet-spinner.entry.js +1 -1
  316. package/dist/esm/tet-stepper-input.entry.js +3 -3
  317. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  318. package/dist/esm/tet-sticky-offer.entry.js +1 -1
  319. package/dist/esm/tet-support-search.entry.js +1 -1
  320. package/dist/esm/tet-switch.entry.js +1 -1
  321. package/dist/esm/tet-table.entry.js +1 -1
  322. package/dist/esm/tet-tag_2.entry.js +3 -3
  323. package/dist/esm/tet-text-list.entry.js +1 -1
  324. package/dist/esm/tet-text.entry.js +1 -1
  325. package/dist/esm/tet-textarea.entry.js +1 -1
  326. package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
  327. package/dist/esm/{translations-CkBHYZxq.js → translations-4zQUcigP.js} +1 -1
  328. package/dist/tet-components/{p-c1ee1558.entry.js → p-0690117e.entry.js} +1 -1
  329. package/dist/tet-components/{p-4e65a282.entry.js → p-10e789d9.entry.js} +1 -1
  330. package/dist/tet-components/{p-e624df8a.entry.js → p-139d4cad.entry.js} +1 -1
  331. package/dist/tet-components/{p-abb2da28.entry.js → p-1556076a.entry.js} +1 -1
  332. package/dist/tet-components/{p-7dba08b3.entry.js → p-15bddc3d.entry.js} +1 -1
  333. package/dist/tet-components/{p-42346043.entry.js → p-19343cc6.entry.js} +1 -1
  334. package/dist/tet-components/{p-47c15f9c.entry.js → p-1d997c7d.entry.js} +1 -1
  335. package/dist/tet-components/{p-c7f0f9f4.entry.js → p-1deb89e1.entry.js} +1 -1
  336. package/dist/tet-components/{p-52c129e9.entry.js → p-21a59a4f.entry.js} +1 -1
  337. package/dist/tet-components/{p-d1a9ded7.entry.js → p-24bdeb37.entry.js} +1 -1
  338. package/dist/tet-components/{p-3204266c.entry.js → p-26dd3cb0.entry.js} +1 -1
  339. package/dist/tet-components/{p-104a465c.entry.js → p-29948163.entry.js} +1 -1
  340. package/dist/tet-components/{p-79388d8a.entry.js → p-2bd1b7ec.entry.js} +1 -1
  341. package/dist/tet-components/{p-a28d27a1.entry.js → p-2e4e81a5.entry.js} +1 -1
  342. package/dist/tet-components/{p-8b5ee723.entry.js → p-2e7cb093.entry.js} +1 -1
  343. package/dist/tet-components/{p-b066e773.entry.js → p-306ff942.entry.js} +1 -1
  344. package/dist/tet-components/{p-cf0f0d6e.entry.js → p-3242f182.entry.js} +1 -1
  345. package/dist/tet-components/{p-9a491f9a.entry.js → p-394b9c6b.entry.js} +1 -1
  346. package/dist/tet-components/{p-c3862ffb.entry.js → p-39be547b.entry.js} +1 -1
  347. package/dist/tet-components/{p-4bd72575.entry.js → p-3ab52911.entry.js} +1 -1
  348. package/dist/tet-components/{p-9d704250.entry.js → p-3d8635c1.entry.js} +1 -1
  349. package/dist/tet-components/{p-1c627ac0.entry.js → p-43d1f956.entry.js} +1 -1
  350. package/dist/tet-components/{p-a86ca759.entry.js → p-47484c33.entry.js} +1 -1
  351. package/dist/tet-components/{p-6b27edab.entry.js → p-47b6721e.entry.js} +1 -1
  352. package/dist/tet-components/{p-b2798ef1.entry.js → p-499ff632.entry.js} +1 -1
  353. package/dist/tet-components/{p-50c5e01e.entry.js → p-4a22c9a8.entry.js} +1 -1
  354. package/dist/tet-components/{p-4051e024.entry.js → p-4aa2dbc8.entry.js} +1 -1
  355. package/dist/tet-components/{p-e2d09b10.entry.js → p-4f47079e.entry.js} +1 -1
  356. package/dist/tet-components/{p-1095d7d6.entry.js → p-517168f6.entry.js} +1 -1
  357. package/dist/tet-components/{p-016d6dd4.entry.js → p-53b4947e.entry.js} +1 -1
  358. package/dist/tet-components/{p-c9bc7e1c.entry.js → p-591a092a.entry.js} +1 -1
  359. package/dist/tet-components/{p-c7741572.entry.js → p-5a31f21d.entry.js} +1 -1
  360. package/dist/tet-components/{p-dac6ad5c.entry.js → p-5bd0a0c8.entry.js} +1 -1
  361. package/dist/tet-components/{p-854c146d.entry.js → p-616d3818.entry.js} +1 -1
  362. package/dist/tet-components/{p-631721d5.entry.js → p-7105253e.entry.js} +1 -1
  363. package/dist/tet-components/{p-b2d61826.entry.js → p-73aca8b1.entry.js} +1 -1
  364. package/dist/tet-components/p-7491ce95.entry.js +1 -0
  365. package/dist/tet-components/{p-537faa1c.entry.js → p-77ae360e.entry.js} +1 -1
  366. package/dist/tet-components/{p-1633a0b1.entry.js → p-79e4a166.entry.js} +1 -1
  367. package/dist/tet-components/{p-648fe9fe.entry.js → p-7fdd634a.entry.js} +1 -1
  368. package/dist/tet-components/{p-a631d8c5.entry.js → p-7ffa074d.entry.js} +1 -1
  369. package/dist/tet-components/{p-7366cfd6.entry.js → p-8436df88.entry.js} +1 -1
  370. package/dist/tet-components/{p-feccd822.entry.js → p-87d015b3.entry.js} +1 -1
  371. package/dist/tet-components/{p-76d6013c.entry.js → p-8a9d5ef1.entry.js} +1 -1
  372. package/dist/tet-components/{p-af0e9ee6.entry.js → p-8b3ea797.entry.js} +1 -1
  373. package/dist/tet-components/{p-e87a7b06.entry.js → p-8bdcb714.entry.js} +1 -1
  374. package/dist/tet-components/{p-87e315d4.entry.js → p-92ef3a39.entry.js} +1 -1
  375. package/dist/tet-components/{p-6f09c992.entry.js → p-98ae4292.entry.js} +1 -1
  376. package/dist/tet-components/{p-6a2ed4f0.entry.js → p-9ab737dd.entry.js} +1 -1
  377. package/dist/tet-components/{p-3AR12uVQ.js → p-B8Zjo2sa.js} +1 -1
  378. package/dist/tet-components/p-BGrvDoTj.js +1 -0
  379. package/dist/tet-components/{p-st4TD55I.js → p-ClX9TYQY.js} +1 -1
  380. package/dist/tet-components/{p-f4cfb3a5.entry.js → p-a0340287.entry.js} +1 -1
  381. package/dist/tet-components/{p-129762b3.entry.js → p-a2a4917a.entry.js} +1 -1
  382. package/dist/tet-components/{p-96e57ac6.entry.js → p-a410109c.entry.js} +1 -1
  383. package/dist/tet-components/{p-ba878c01.entry.js → p-b315a1c8.entry.js} +1 -1
  384. package/dist/tet-components/{p-3d981a11.entry.js → p-b4c45d6b.entry.js} +1 -1
  385. package/dist/tet-components/{p-54c98af8.entry.js → p-b5efc6d4.entry.js} +1 -1
  386. package/dist/tet-components/{p-ee844459.entry.js → p-b849774e.entry.js} +1 -1
  387. package/dist/tet-components/{p-6d7506fe.entry.js → p-b8c0433c.entry.js} +1 -1
  388. package/dist/tet-components/{p-a7f8ef9f.entry.js → p-baf6ba9e.entry.js} +1 -1
  389. package/dist/tet-components/{p-f2bd28a0.entry.js → p-bb325aa4.entry.js} +1 -1
  390. package/dist/tet-components/{p-ea5a63a1.entry.js → p-bd42d182.entry.js} +1 -1
  391. package/dist/tet-components/{p-891cff98.entry.js → p-c32edb32.entry.js} +1 -1
  392. package/dist/tet-components/p-c989a64d.entry.js +1 -0
  393. package/dist/tet-components/{p-b1037e46.entry.js → p-cb1c05ab.entry.js} +1 -1
  394. package/dist/tet-components/{p-9691d0a9.entry.js → p-cd267067.entry.js} +1 -1
  395. package/dist/tet-components/{p-76b13aec.entry.js → p-d2abe02d.entry.js} +1 -1
  396. package/dist/tet-components/{p-4b7c2be5.entry.js → p-d2db496b.entry.js} +1 -1
  397. package/dist/tet-components/{p-937c99dd.entry.js → p-d44bea09.entry.js} +1 -1
  398. package/dist/tet-components/{p-668c2484.entry.js → p-d88d8689.entry.js} +1 -1
  399. package/dist/tet-components/{p-7fc4c174.entry.js → p-d89ae495.entry.js} +1 -1
  400. package/dist/tet-components/{p-7a9e715e.entry.js → p-dca1a4c2.entry.js} +1 -1
  401. package/dist/tet-components/{p-86614def.entry.js → p-dfdf946f.entry.js} +1 -1
  402. package/dist/tet-components/{p-ca111c70.entry.js → p-e13f06c4.entry.js} +1 -1
  403. package/dist/tet-components/{p-11363389.entry.js → p-eb3a8119.entry.js} +1 -1
  404. package/dist/tet-components/{p-259dfc83.entry.js → p-eca2fc2f.entry.js} +1 -1
  405. package/dist/tet-components/{p-041f46b1.entry.js → p-f5315eaf.entry.js} +1 -1
  406. package/dist/tet-components/{p-f96c8acc.entry.js → p-f5a86256.entry.js} +1 -1
  407. package/dist/tet-components/{p-6fc08d81.entry.js → p-f79c8697.entry.js} +1 -1
  408. package/dist/tet-components/{p-d1f560a6.entry.js → p-f7e3a24b.entry.js} +1 -1
  409. package/dist/tet-components/p-fa381f41.entry.js +1 -0
  410. package/dist/tet-components/{p-CjkCTYSi.js → p-t-BNeeWq.js} +1 -1
  411. package/dist/tet-components/{p-2BDVUFcI.js → p-tf8lKgfD.js} +1 -1
  412. package/dist/tet-components/tet-components.esm.js +1 -1
  413. package/dist/types/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.d.ts +11 -1
  414. package/dist/types/components/basic/buttons/tet-radio-blocks/tet-radio-blocks.d.ts +6 -3
  415. package/dist/types/components.d.ts +18 -5
  416. package/package.json +1 -1
  417. package/dist/tet-components/p-16c536a8.entry.js +0 -1
  418. package/dist/tet-components/p-371e754f.entry.js +0 -1
  419. package/dist/tet-components/p-9a5ddf08.entry.js +0 -1
  420. package/dist/tet-components/p-C8CA8-C8.js +0 -1
@@ -7,6 +7,10 @@ export class TetCompareCardV3 {
7
7
  * The size of the button.
8
8
  */
9
9
  cardType = 'static';
10
+ /**
11
+ * Control used to select options when cardType is 'single-card'.
12
+ */
13
+ singleCardControlType = 'tabs';
10
14
  /**
11
15
  * The theme of the card.
12
16
  */
@@ -84,6 +88,8 @@ export class TetCompareCardV3 {
84
88
  preselectedRemountId = 0;
85
89
  buttonSize = 'large';
86
90
  isSingleCardDesktop = true;
91
+ smallRadioBlocksPerRow = 2;
92
+ largeRadioBlocksPerRow = 3;
87
93
  didEmitCardLoaded = false;
88
94
  /**
89
95
  * Emitted when the card has loaded.
@@ -173,12 +179,19 @@ export class TetCompareCardV3 {
173
179
  syncSingleCardBreakpoint() {
174
180
  if (globalThis.window === undefined) {
175
181
  this.isSingleCardDesktop = true;
182
+ this.smallRadioBlocksPerRow = 2;
183
+ this.largeRadioBlocksPerRow = 3;
176
184
  return;
177
185
  }
178
- const nextIsSingleCardDesktop = globalThis.window.innerWidth >= this.singleCardBreakpoint;
186
+ const width = globalThis.window.innerWidth;
187
+ const nextIsSingleCardDesktop = width >= this.singleCardBreakpoint;
179
188
  if (this.isSingleCardDesktop !== nextIsSingleCardDesktop) {
180
189
  this.isSingleCardDesktop = nextIsSingleCardDesktop;
181
190
  }
191
+ if (this.singleCardControlType === 'radio') {
192
+ this.smallRadioBlocksPerRow = width < 768 || (width >= 1024 && width < 1280) ? 1 : 2;
193
+ this.largeRadioBlocksPerRow = (width >= 768 && width < 1024) || width >= 1440 ? 3 : 2;
194
+ }
182
195
  }
183
196
  getOptionId(option) {
184
197
  return option?.id ?? option?.productCode ?? '';
@@ -366,7 +379,7 @@ export class TetCompareCardV3 {
366
379
  : toggleKey;
367
380
  return (h("div", { class: "switch-wrapper" }, h("tet-switch", { class: "switch", theme: this.theme, key: switchKey, name: toggleKey, checked: this.selectedSwitchKeys.includes(toggleKey), onCheck: (e) => this.handleSwitchToggle(toggleKey, e.detail.checked), labelPosition: "left", focusStyleOnContainer: true }, h("div", { class: "switch-label" }, h("tet-icon", { theme: this.theme, class: "benefit__icon", name: icon }), name))));
368
381
  }
369
- handleSingleCardTabSelect(productId) {
382
+ handleSingleCardControlSelect(productId) {
370
383
  const option = this.getOptionById(productId);
371
384
  if (!option) {
372
385
  return;
@@ -385,7 +398,10 @@ export class TetCompareCardV3 {
385
398
  const label = this.options[0].optionLabel ?? '';
386
399
  return (h("div", { class: "single-option-label" }, label));
387
400
  }
388
- return (h("tet-tab-header", { theme: this.theme, mode: "switch", segmented: true, sizing: this.isSingleCardDesktop ? 'web' : 'mobile', defaultTab: defaultTab, onTabSelected: (event) => this.handleSingleCardTabSelect(event.detail.new) }, this.options.map((option) => {
401
+ if (this.singleCardControlType === 'radio') {
402
+ return this.renderSingleCardRadioControls();
403
+ }
404
+ return (h("tet-tab-header", { theme: this.theme, mode: "switch", segmented: true, sizing: this.isSingleCardDesktop ? 'web' : 'mobile', defaultTab: defaultTab, onTabSelected: (event) => this.handleSingleCardControlSelect(event.detail.new) }, this.options.map((option) => {
389
405
  const productId = this.getOptionId(option);
390
406
  const label = option.optionLabel ?? '';
391
407
  if (!productId) {
@@ -394,6 +410,26 @@ export class TetCompareCardV3 {
394
410
  return (h("button", { type: "button", "data-name": productId }, label));
395
411
  })));
396
412
  }
413
+ renderSingleCardRadioControls() {
414
+ const selectedProductId = this.selectedProductId || this.getOptionId(this.options[0]);
415
+ const useSmallBlocks = this.options.some((option) => (option?.bonuses ?? []).length > 0 || !!option?.optionIcon);
416
+ const blocks = this.options.flatMap((option) => {
417
+ const productId = this.getOptionId(option);
418
+ if (!productId) {
419
+ return [];
420
+ }
421
+ return [{
422
+ id: productId,
423
+ label: option.optionLabel ?? '',
424
+ value: productId,
425
+ checked: productId === selectedProductId,
426
+ iconName: option.optionIcon ?? '',
427
+ description: option.optionDescription ?? '',
428
+ secondaryDescription: option.optionSecondaryDescription ?? '',
429
+ }];
430
+ });
431
+ return (h("tet-radio-blocks", { theme: this.theme, blocks: blocks, blockType: useSmallBlocks ? 'small' : 'large', blocksPerRow: useSmallBlocks ? this.smallRadioBlocksPerRow : this.largeRadioBlocksPerRow, accessibilityLabel: this.controlsTitle?.replace(/:\s*$/, '').trim(), onCheck: (event) => this.handleSingleCardControlSelect(event.detail.value) }));
432
+ }
397
433
  /**
398
434
  * Renders bonus groups for the selected product.
399
435
  */
@@ -514,13 +550,14 @@ export class TetCompareCardV3 {
514
550
  ? this.renderSingleCardDropdownControls()
515
551
  : this.renderControl(selectionOptions);
516
552
  const isSingleCard = this.cardType === 'single-card';
553
+ const isSingleCardTabControls = this.singleCardControlType === 'tabs';
517
554
  const isSingleOption = this.options.length === 1;
518
555
  if (!control && !hasSingleCardDropdownOptions) {
519
556
  return null;
520
557
  }
521
558
  return (h("div", { class: "controls" }, hasSingleCardDropdownOptions && !!this.singleCardTabsTitle && (h("div", { class: "single-card-tabs-title" }, this.singleCardTabsTitle)), hasSingleCardDropdownOptions && this.renderSingleCardControls(), renderTitle && (h("div", { class: {
522
559
  'section-title': true,
523
- 'single-card-controls-title': isSingleCard,
560
+ 'single-card-tab-controls-title': isSingleCard && isSingleCardTabControls,
524
561
  'single-option': isSingleCard && isSingleOption,
525
562
  } }, this.controlsTitle)), control));
526
563
  }
@@ -603,7 +640,7 @@ export class TetCompareCardV3 {
603
640
  return (h("tet-placeholder", { class: { 'card__placeholder': true, 'single-card': this.cardType === 'single-card' }, height: "100%", width: "100%", darkTheme: this.theme === 'dark' }));
604
641
  }
605
642
  render() {
606
- return (h(Host, { key: 'db2a0399e7903acc8a4f3065211cab95a02b8179', "data-contains-focusable-content": true }, this.showLoader ? this.renderLoader() : this.renderCard()));
643
+ return (h(Host, { key: '26d85ce9b2114fab806f029fc148374227a8a54a', "data-contains-focusable-content": true }, this.showLoader ? this.renderLoader() : this.renderCard()));
607
644
  }
608
645
  static get is() { return "tet-compare-card-v3"; }
609
646
  static get encapsulation() { return "shadow"; }
@@ -639,6 +676,26 @@ export class TetCompareCardV3 {
639
676
  "attribute": "card-type",
640
677
  "defaultValue": "'static'"
641
678
  },
679
+ "singleCardControlType": {
680
+ "type": "string",
681
+ "mutable": false,
682
+ "complexType": {
683
+ "original": "'tabs' | 'radio'",
684
+ "resolved": "\"radio\" | \"tabs\"",
685
+ "references": {}
686
+ },
687
+ "required": false,
688
+ "optional": false,
689
+ "docs": {
690
+ "tags": [],
691
+ "text": "Control used to select options when cardType is 'single-card'."
692
+ },
693
+ "getter": false,
694
+ "setter": false,
695
+ "reflect": false,
696
+ "attribute": "single-card-control-type",
697
+ "defaultValue": "'tabs'"
698
+ },
642
699
  "theme": {
643
700
  "type": "string",
644
701
  "mutable": false,
@@ -976,7 +1033,9 @@ export class TetCompareCardV3 {
976
1033
  "allProductData": {},
977
1034
  "preselectedRemountId": {},
978
1035
  "buttonSize": {},
979
- "isSingleCardDesktop": {}
1036
+ "isSingleCardDesktop": {},
1037
+ "smallRadioBlocksPerRow": {},
1038
+ "largeRadioBlocksPerRow": {}
980
1039
  };
981
1040
  }
982
1041
  static get events() {
@@ -361,21 +361,21 @@
361
361
  * @prop --radio-block-checked-background-color: Sets background color of radio block when its checked.
362
362
  * @prop --radio-block-focused-border-color: Sets outline color of radio block when focused with keyboard;
363
363
  */
364
+ --radio-block-text-color: var(--tc-text-primary);
365
+ --radio-block-border-color: var(--tc-border-quaternary);
366
+ --radio-block-background-color: var(--tc-layer-permanent-white);
367
+ --radio-block-hover-border-color: var(--tc-border-tertiary);
368
+ --radio-block-hover-background-color: var(--tc-yellow-10);
369
+ --radio-block-pressed-border-color: var(--tc-border-secondary);
370
+ --radio-block-pressed-background-color: var(--tc-yellow-20);
371
+ --radio-block-checked-border-color: var(--tc-yellow-60);
372
+ --radio-block-checked-background-color: var(--tc-yellow-40);
373
+ --radio-block-focused-border-color: var(--tc-blue-40);
364
374
  display: block;
365
375
  position: relative;
366
376
  }
367
377
 
368
- .radio-block {
369
- display: flex;
370
- width: 100%;
371
- align-items: center;
372
- gap: 0.75rem;
373
- border-radius: 0.5rem;
374
- border: 0.0625rem solid var(--radio-block-border-color);
375
- background-color: var(--radio-block-background-color);
376
- cursor: pointer;
377
- }
378
- .radio-block-dark-theme {
378
+ :host([theme=dark]) {
379
379
  --radio-block-text-color: var(--tc-text-primary-dark);
380
380
  --radio-block-border-color: var(--tc-border-quaternary-dark);
381
381
  --radio-block-background-color: var(--tc-layer-permanent-black-dark);
@@ -387,60 +387,92 @@
387
387
  --radio-block-checked-background-color: var(--tc-brown-50-dark);
388
388
  --radio-block-focused-border-color: var(--tc-blue-40-dark);
389
389
  }
390
- .radio-block-light-theme {
391
- --radio-block-text-color: var(--tc-text-primary);
392
- --radio-block-border-color: var(--tc-border-quaternary);
393
- --radio-block-background-color: var(--tc-layer-permanent-white);
394
- --radio-block-hover-border-color: var(--tc-border-tertiary);
395
- --radio-block-hover-background-color: var(--tc-yellow-10);
396
- --radio-block-pressed-border-color: var(--tc-border-secondary);
397
- --radio-block-pressed-background-color: var(--tc-yellow-20);
398
- --radio-block-checked-border-color: var(--tc-yellow-60);
399
- --radio-block-checked-background-color: var(--tc-yellow-40);
400
- --radio-block-focused-border-color: var(--tc-blue-40);
390
+
391
+ .radio-block {
392
+ display: flex;
393
+ position: relative;
394
+ box-sizing: border-box;
395
+ width: 100%;
396
+ align-items: flex-start;
397
+ gap: 0.75rem;
398
+ border-radius: 0.5rem;
399
+ border: 0.0625rem solid var(--radio-block-border-color);
400
+ background-color: var(--radio-block-background-color);
401
+ cursor: pointer;
402
+ overflow: hidden;
401
403
  }
402
- .radio-block.small {
403
- padding: 1.25rem 0.75rem;
404
+ .radio-block__container.small > .radio-block {
405
+ padding: 1rem 0.75rem;
404
406
  flex-direction: row;
405
- gap: 0.75rem;
407
+ gap: 0.5rem;
406
408
  }
407
- .radio-block.large {
409
+ .radio-block__container.large > .radio-block {
408
410
  align-items: flex-start;
409
- padding: 1.25rem;
410
411
  flex-direction: column;
411
- gap: 1rem;
412
+ padding: 1rem;
413
+ gap: 0.5rem;
414
+ }
415
+ @media screen and (min-width: 80rem) {
416
+ .radio-block__container.large > .radio-block {
417
+ padding: 1.25rem;
418
+ gap: 1rem;
419
+ }
412
420
  }
413
421
  .radio-block__container {
414
422
  display: grid;
415
423
  grid-template-columns: repeat(1, 1fr);
416
424
  gap: 1rem;
417
425
  }
418
- @media screen and (min-width: 31.25rem) {
419
- .radio-block__container.row-of-2 {
420
- grid-template-columns: repeat(2, 1fr);
421
- }
426
+ .radio-block__container.row-of-2 {
427
+ grid-template-columns: repeat(2, minmax(0, 1fr));
422
428
  }
423
- @media screen and (min-width: 31.25rem) {
424
- .radio-block__container.row-of-3 {
425
- grid-template-columns: repeat(3, 1fr);
426
- }
429
+ .radio-block__container.row-of-2 > :last-child:nth-child(odd) {
430
+ grid-column: 1/-1;
431
+ }
432
+ .radio-block__container.row-of-3 {
433
+ grid-template-columns: repeat(6, minmax(0, 1fr));
434
+ }
435
+ .radio-block__container.row-of-3 > * {
436
+ grid-column: span 2;
437
+ }
438
+ .radio-block__container.row-of-3 > :last-child:nth-child(3n+1) {
439
+ grid-column: 1/-1;
440
+ }
441
+ .radio-block__container.row-of-3 > :nth-child(3n+1):nth-last-child(2),
442
+ .radio-block__container.row-of-3 > :nth-child(3n+1):nth-last-child(2) + * {
443
+ grid-column: span 3;
427
444
  }
428
445
  .radio-block__icon {
429
446
  --icon-size: 1.5rem;
430
447
  }
448
+ .radio-block__input {
449
+ position: absolute;
450
+ width: 1px;
451
+ height: 1px;
452
+ padding: 0;
453
+ margin: -1px;
454
+ overflow: hidden;
455
+ clip-path: inset(50%);
456
+ white-space: nowrap;
457
+ border: 0;
458
+ }
431
459
  .radio-block__label {
432
- font: 500 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif";
460
+ font: 500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
433
461
  color: var(--radio-block-text-color);
434
462
  }
435
- @media screen and (min-width: 31.25rem) {
436
- .radio-block__label {
437
- font: 500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
463
+ @media screen and (min-width: 80rem) {
464
+ .radio-block__container.large > .radio-block .radio-block__label {
465
+ font: 500 1.25rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
438
466
  }
439
467
  }
440
468
  .radio-block__description {
441
469
  font: 500 0.75rem/1rem "Inter", "Gilroy, Arial, sans-serif";
442
470
  color: var(--radio-block-text-color);
443
471
  text-align: start;
472
+ display: flex;
473
+ flex-direction: column;
474
+ margin-top: auto;
475
+ gap: 0.25rem;
444
476
  }
445
477
  .radio-block:hover {
446
478
  border-color: var(--radio-block-hover-border-color);
@@ -454,6 +486,7 @@
454
486
  border-color: var(--radio-block-checked-border-color);
455
487
  background-color: var(--radio-block-checked-background-color);
456
488
  }
457
- .radio-block:focus-visible {
458
- border: 0.125rem solid var(--radio-block-focused-border-color);
489
+ .radio-block:has(> .radio-block__input:focus-visible) {
490
+ border: 0.0625rem solid var(--radio-block-focused-border-color);
491
+ outline: 0.0625rem solid var(--radio-block-focused-border-color);
459
492
  }
@@ -3,20 +3,21 @@ import { Host, h } from "@stencil/core";
3
3
  * A simple radio block component.
4
4
  */
5
5
  export class TetRadioBlocks {
6
+ radioGroupName = 'tet-radio-blocks';
6
7
  /** The event that is emitted whenever the control element is checked. */
7
8
  check;
8
9
  /** The array of items to render as radio blocks. */
9
- blocks;
10
+ blocks = [];
10
11
  /** Number of blocks to render in one row. */
11
12
  blocksPerRow = 2;
12
13
  /** Type of the block. */
13
14
  blockType = 'small';
14
15
  /** The theme of the radio block. */
15
16
  theme = 'light';
16
- /** The value of the aria label. */
17
+ /** Accessible name for the radio group. */
17
18
  accessibilityLabel = '';
18
19
  /** Defines if block is checked. */
19
- checked;
20
+ checkedBlockId;
20
21
  /**
21
22
  * Changes the checked prop of the block.
22
23
  *
@@ -26,16 +27,15 @@ export class TetRadioBlocks {
26
27
  async setChecked(id, value) {
27
28
  this.blocks.forEach((block) => {
28
29
  block.checked = block.id === id;
29
- this.checked = id;
30
+ this.checkedBlockId = id;
30
31
  });
31
32
  this.check.emit({ id, value });
32
33
  }
33
34
  componentWillLoad() {
34
- this.blocks.forEach((block) => {
35
- if (block.checked) {
36
- this.checked = block.id;
37
- }
38
- });
35
+ this.syncCheckedBlock();
36
+ }
37
+ syncCheckedBlock() {
38
+ this.checkedBlockId = this.blocks.find((block) => block.checked)?.id;
39
39
  }
40
40
  /** Render icon of b;lock type is small. */
41
41
  renderIcon(iconName) {
@@ -45,27 +45,29 @@ export class TetRadioBlocks {
45
45
  return h("tet-icon", { class: "radio-block__icon", name: iconName, theme: this.theme });
46
46
  }
47
47
  /** Render description if blockType set to large. */
48
- renderDescription(description) {
49
- if (this.blockType === 'small' || !description) {
48
+ renderDescription(description, secondaryDescription, descriptionId) {
49
+ if (this.blockType === 'small' || (!description && !secondaryDescription)) {
50
50
  return '';
51
51
  }
52
- return h("span", { class: "radio-block__description" }, description);
52
+ return (h("span", { class: "radio-block__description", id: descriptionId }, description && h("span", null, description), secondaryDescription && h("span", null, secondaryDescription)));
53
53
  }
54
54
  /** Function to render one Single block based on block info. */
55
- renderSingleBlock(block) {
56
- const { id, value, iconName, label, description } = block;
57
- return (h("button", { class: { 'radio-block': true, [this.blockType]: true, 'checked': this.checked === id }, onClick: () => this.setChecked(id, value) }, this.renderIcon(iconName), h("span", { class: "radio-block__label" }, label), this.renderDescription(description)));
55
+ renderSingleBlock(block, index) {
56
+ const { id, value, iconName, label, description, secondaryDescription } = block;
57
+ const labelId = `${this.radioGroupName}-${index}-label`;
58
+ const descriptionId = `${this.radioGroupName}-${index}-description`;
59
+ const hasDescription = this.blockType === 'large' && !!(description || secondaryDescription);
60
+ return (h("label", { class: { 'radio-block': true, 'checked': this.checkedBlockId === id } }, h("input", { class: "radio-block__input", type: "radio", name: this.radioGroupName, value: value, checked: this.checkedBlockId === id, "aria-labelledby": labelId, "aria-describedby": hasDescription ? descriptionId : undefined, onChange: () => this.setChecked(id, value) }), this.renderIcon(iconName), h("span", { class: "radio-block__label", id: labelId }, label), this.renderDescription(description, secondaryDescription, descriptionId)));
58
61
  }
59
62
  render() {
60
- const { theme, blocks } = this;
61
- return (h(Host, { key: '9d5566ae86d83b32f964fe3a809c137b68dc323e' }, h("div", { key: '669855a39a00bdf352bc4f98dfe8f9f2a667ac20', class: {
63
+ return (h(Host, { key: '21a0749fdba1cc6001513687262ab146a892f639' }, h("div", { key: 'dcec81d674af2ca39f150c12096dca147213e938', role: "radiogroup", "aria-label": this.accessibilityLabel || undefined, class: {
62
64
  'radio-block__container': true,
63
- [`radio-block-${theme}-theme`]: true,
65
+ [this.blockType]: true,
64
66
  [`row-of-${this.blocksPerRow}`]: !!this.blocksPerRow
65
- } }, blocks.map((block) => this.renderSingleBlock(block)))));
67
+ } }, this.blocks.map((block, index) => this.renderSingleBlock(block, index)))));
66
68
  }
67
69
  static get is() { return "tet-radio-blocks"; }
68
- static get encapsulation() { return "scoped"; }
70
+ static get encapsulation() { return "shadow"; }
69
71
  static get originalStyleUrls() {
70
72
  return {
71
73
  "$": ["tet-radio-blocks.scss"]
@@ -99,14 +101,15 @@ export class TetRadioBlocks {
99
101
  "text": "The array of items to render as radio blocks."
100
102
  },
101
103
  "getter": false,
102
- "setter": false
104
+ "setter": false,
105
+ "defaultValue": "[]"
103
106
  },
104
107
  "blocksPerRow": {
105
108
  "type": "number",
106
109
  "mutable": false,
107
110
  "complexType": {
108
- "original": "2 | 3",
109
- "resolved": "2 | 3",
111
+ "original": "1 | 2 | 3",
112
+ "resolved": "1 | 2 | 3",
110
113
  "references": {}
111
114
  },
112
115
  "required": false,
@@ -157,7 +160,7 @@ export class TetRadioBlocks {
157
160
  },
158
161
  "getter": false,
159
162
  "setter": false,
160
- "reflect": false,
163
+ "reflect": true,
161
164
  "attribute": "theme",
162
165
  "defaultValue": "'light'"
163
166
  },
@@ -173,7 +176,7 @@ export class TetRadioBlocks {
173
176
  "optional": false,
174
177
  "docs": {
175
178
  "tags": [],
176
- "text": "The value of the aria label."
179
+ "text": "Accessible name for the radio group."
177
180
  },
178
181
  "getter": false,
179
182
  "setter": false,
@@ -185,7 +188,7 @@ export class TetRadioBlocks {
185
188
  }
186
189
  static get states() {
187
190
  return {
188
- "checked": {}
191
+ "checkedBlockId": {}
189
192
  };
190
193
  }
191
194
  static get events() {
@@ -247,4 +250,10 @@ export class TetRadioBlocks {
247
250
  }
248
251
  };
249
252
  }
253
+ static get watchers() {
254
+ return [{
255
+ "propName": "blocks",
256
+ "methodName": "syncCheckedBlock"
257
+ }];
258
+ }
250
259
  }
@@ -1 +1 @@
1
- import{t}from"./p-ChxhsA_J.js";export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-ChxhsA_J.js";import{TetAccordion as o}from"./tet-accordion.js";import{TetAddressOffers as m}from"./tet-address-offers.js";import{TetAddressOffersFilters as e}from"./tet-address-offers-filters.js";import{TetAddressOffersFiltersProducts as i}from"./tet-address-offers-filters-products.js";import{TetAddressOffersView as p}from"./tet-address-offers-view.js";import{TetAddressSearch as f}from"./tet-address-search.js";import{TetAssembler as j}from"./tet-assembler.js";import{TetAssetAvailabilityAddresses as c}from"./tet-asset-availability-addresses.js";import{TetAutocomplete as n}from"./tet-autocomplete.js";import{TetAutocompleteDropdown as d}from"./tet-autocomplete-dropdown.js";import{TetAvailabilityContactForm as l}from"./tet-availability-contact-form.js";import{TetB2bCheckOutForm as u}from"./tet-b2b-check-out-form.js";import{TetB2bCompareCard as h}from"./tet-b2b-compare-card.js";import{TetB2bConfigurator as k}from"./tet-b2b-configurator.js";import{TetB2bConfiguratorCart as v}from"./tet-b2b-configurator-cart.js";import{TetBannerNav as w}from"./tet-banner-nav.js";import{TetBarGraph as y}from"./tet-bar-graph.js";import{TetBorderRadius as x}from"./tet-border-radius.js";import{TetBusinessCard as A}from"./tet-business-card.js";import{TetBusinessCompareCard as E}from"./tet-business-compare-card.js";import{TetBusinessNavigation as P}from"./tet-business-navigation.js";import{TetBusinessRoundStepper as C}from"./tet-business-round-stepper.js";import{TetBusinessSummaryCard as J}from"./tet-business-summary-card.js";import{TetButton as _}from"./tet-button.js";import{TetCardList as N}from"./tet-card-list.js";import{TetCarousel as O}from"./tet-carousel.js";import{TetCheckbox as q}from"./tet-checkbox.js";import{TetCloudApplicationFormDialog as z}from"./tet-cloud-application-form-dialog.js";import{TetCloudConfigurator as B}from"./tet-cloud-configurator.js";import{TetColors as D}from"./tet-colors.js";import{TetCompareCard as F}from"./tet-compare-card.js";import{TetCompareCardV2 as G}from"./tet-compare-card-v2.js";import{TetCompareCardV3 as H}from"./tet-compare-card-v3.js";import{TetCompareCards as I}from"./tet-compare-cards.js";import{TetCompareCardsTab as K}from"./tet-compare-cards-tab.js";import{TetContainer as L}from"./tet-container.js";import{TetCountdown as M}from"./tet-countdown.js";import{TetCounter as Q}from"./tet-counter.js";import{TetDatepicker as R}from"./tet-datepicker.js";import{TetDatepickerHeader as S}from"./tet-datepicker-header.js";import{TetDatepickerMonthView as T}from"./tet-datepicker-month-view.js";import{TetDatepickerMultiYearView as U}from"./tet-datepicker-multi-year-view.js";import{TetDatepickerYearView as V}from"./tet-datepicker-year-view.js";import{TetDialog as W}from"./tet-dialog.js";import{TetDisplay as X}from"./tet-display.js";import{TetDivider as Y}from"./tet-divider.js";import{TetDropdown as Z}from"./tet-dropdown.js";import{TetDynamicCard as $}from"./tet-dynamic-card.js";import{TetExpandableInput as tt}from"./tet-expandable-input.js";import{TetExpansionPanel as rt}from"./tet-expansion-panel.js";import{TetFeedbackForm as ot}from"./tet-feedback-form.js";import{TetFilter as mt}from"./tet-filter.js";import{TetFloatingBlock as et}from"./tet-floating-block.js";import{TetFontWeight as st}from"./tet-font-weight.js";import{TetFonts as it}from"./tet-fonts.js";import{TetGrid as pt}from"./tet-grid.js";import{TetIcon as ft}from"./tet-icon.js";import{TetInlineMessage as at}from"./tet-inline-message.js";import{TetInput as jt}from"./tet-input.js";import{TetLayout as ct}from"./tet-layout.js";import{TetLink as nt}from"./tet-link.js";import{TetLinkCardList as dt}from"./tet-link-card-list.js";import{TetLoader as lt}from"./tet-loader.js";import{TetMenu as ut}from"./tet-menu.js";import{TetMenuMobile as bt}from"./tet-menu-mobile.js";import{TetMiniCompareCard as gt}from"./tet-mini-compare-card.js";import{TetMultiStepDialog as ht}from"./tet-multi-step-dialog.js";import{TetNavigationMobile as kt}from"./tet-navigation-mobile.js";import{TetNewsCardList as vt}from"./tet-news-card-list.js";import{TetNotification as wt}from"./tet-notification.js";import{TetNumberInput as yt}from"./tet-number-input.js";import{TetPlaceholder as xt}from"./tet-placeholder.js";import{TetPosition as At}from"./tet-position.js";import{TetPriceView as Et}from"./tet-price-view.js";import{TetRadio as Pt}from"./tet-radio.js";import{TetRadioBlocks as Ct}from"./tet-radio-blocks.js";import{TetRangeSlider as Jt}from"./tet-range-slider.js";import{TetRoundStepper as _t}from"./tet-round-stepper.js";import{TetSelectionList as Nt}from"./tet-selection-list.js";import{TetSnickerCard as Ot}from"./tet-snicker-card.js";import{TetSnickerCardGroup as qt}from"./tet-snicker-card-group.js";import{TetSpacing as zt}from"./tet-spacing.js";import{TetSpinner as Bt}from"./tet-spinner.js";import{TetStepperInput as Dt}from"./tet-stepper-input.js";import{TetStepperV3 as Ft}from"./tet-stepper-v3.js";import{TetStickyOffer as Gt}from"./tet-sticky-offer.js";import{TetSupportSearch as Ht}from"./tet-support-search.js";import{TetSwitch as It}from"./tet-switch.js";import{TetTabContent as Kt}from"./tet-tab-content.js";import{TetTabHeader as Lt}from"./tet-tab-header.js";import{TetTable as Mt}from"./tet-table.js";import{TetTag as Qt}from"./tet-tag.js";import{TetTagGroup as Rt}from"./tet-tag-group.js";import{TetText as St}from"./tet-text.js";import{TetTextList as Tt}from"./tet-text-list.js";import{TetTextarea as Ut}from"./tet-textarea.js";import{TetThankYouViewV3 as Vt}from"./tet-thank-you-view-v3.js";import{TetTooltip as Wt}from"./tet-tooltip.js";const Xt=r=>{"undefined"!=typeof customElements&&[o,m,e,i,p,f,j,c,n,d,l,u,h,k,v,w,y,x,A,E,P,C,J,_,N,O,q,z,B,D,F,G,H,I,K,L,M,Q,R,S,T,U,V,W,X,Y,Z,$,tt,rt,ot,mt,et,st,it,pt,ft,at,jt,ct,nt,dt,lt,ut,bt,gt,ht,kt,vt,wt,yt,xt,At,Et,Pt,Ct,Jt,_t,Nt,Ot,qt,zt,Bt,Dt,Ft,Gt,Ht,It,Kt,Lt,Mt,Qt,Rt,St,Tt,Ut,Vt,Wt].forEach((o=>{customElements.get(t(o.is))||customElements.define(t(o.is),o,r)}))};export{Xt as defineCustomElements}
1
+ import{t}from"./p-nb3MHK7A.js";export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-nb3MHK7A.js";import{TetAccordion as o}from"./tet-accordion.js";import{TetAddressOffers as m}from"./tet-address-offers.js";import{TetAddressOffersFilters as e}from"./tet-address-offers-filters.js";import{TetAddressOffersFiltersProducts as i}from"./tet-address-offers-filters-products.js";import{TetAddressOffersView as p}from"./tet-address-offers-view.js";import{TetAddressSearch as f}from"./tet-address-search.js";import{TetAssembler as j}from"./tet-assembler.js";import{TetAssetAvailabilityAddresses as n}from"./tet-asset-availability-addresses.js";import{TetAutocomplete as c}from"./tet-autocomplete.js";import{TetAutocompleteDropdown as d}from"./tet-autocomplete-dropdown.js";import{TetAvailabilityContactForm as l}from"./tet-availability-contact-form.js";import{TetB2bCheckOutForm as u}from"./tet-b2b-check-out-form.js";import{TetB2bCompareCard as k}from"./tet-b2b-compare-card.js";import{TetB2bConfigurator as v}from"./tet-b2b-configurator.js";import{TetB2bConfiguratorCart as h}from"./tet-b2b-configurator-cart.js";import{TetBannerNav as w}from"./tet-banner-nav.js";import{TetBarGraph as y}from"./tet-bar-graph.js";import{TetBorderRadius as x}from"./tet-border-radius.js";import{TetBusinessCard as A}from"./tet-business-card.js";import{TetBusinessCompareCard as E}from"./tet-business-compare-card.js";import{TetBusinessNavigation as P}from"./tet-business-navigation.js";import{TetBusinessRoundStepper as H}from"./tet-business-round-stepper.js";import{TetBusinessSummaryCard as K}from"./tet-business-summary-card.js";import{TetButton as M}from"./tet-button.js";import{TetCardList as N}from"./tet-card-list.js";import{TetCarousel as O}from"./tet-carousel.js";import{TetCheckbox as q}from"./tet-checkbox.js";import{TetCloudApplicationFormDialog as z}from"./tet-cloud-application-form-dialog.js";import{TetCloudConfigurator as B}from"./tet-cloud-configurator.js";import{TetColors as C}from"./tet-colors.js";import{TetCompareCard as D}from"./tet-compare-card.js";import{TetCompareCardV2 as F}from"./tet-compare-card-v2.js";import{TetCompareCardV3 as G}from"./tet-compare-card-v3.js";import{TetCompareCards as I}from"./tet-compare-cards.js";import{TetCompareCardsTab as J}from"./tet-compare-cards-tab.js";import{TetContainer as L}from"./tet-container.js";import{TetCountdown as Q}from"./tet-countdown.js";import{TetCounter as R}from"./tet-counter.js";import{TetDatepicker as S}from"./tet-datepicker.js";import{TetDatepickerHeader as T}from"./tet-datepicker-header.js";import{TetDatepickerMonthView as U}from"./tet-datepicker-month-view.js";import{TetDatepickerMultiYearView as V}from"./tet-datepicker-multi-year-view.js";import{TetDatepickerYearView as W}from"./tet-datepicker-year-view.js";import{TetDialog as X}from"./tet-dialog.js";import{TetDisplay as Y}from"./tet-display.js";import{TetDivider as Z}from"./tet-divider.js";import{TetDropdown as $}from"./tet-dropdown.js";import{TetDynamicCard as _}from"./tet-dynamic-card.js";import{TetExpandableInput as tt}from"./tet-expandable-input.js";import{TetExpansionPanel as rt}from"./tet-expansion-panel.js";import{TetFeedbackForm as ot}from"./tet-feedback-form.js";import{TetFilter as mt}from"./tet-filter.js";import{TetFloatingBlock as et}from"./tet-floating-block.js";import{TetFontWeight as st}from"./tet-font-weight.js";import{TetFonts as it}from"./tet-fonts.js";import{TetGrid as pt}from"./tet-grid.js";import{TetIcon as ft}from"./tet-icon.js";import{TetInlineMessage as at}from"./tet-inline-message.js";import{TetInput as jt}from"./tet-input.js";import{TetLayout as nt}from"./tet-layout.js";import{TetLink as ct}from"./tet-link.js";import{TetLinkCardList as dt}from"./tet-link-card-list.js";import{TetLoader as lt}from"./tet-loader.js";import{TetMenu as ut}from"./tet-menu.js";import{TetMenuMobile as bt}from"./tet-menu-mobile.js";import{TetMiniCompareCard as gt}from"./tet-mini-compare-card.js";import{TetMultiStepDialog as kt}from"./tet-multi-step-dialog.js";import{TetNavigationMobile as vt}from"./tet-navigation-mobile.js";import{TetNewsCardList as ht}from"./tet-news-card-list.js";import{TetNotification as wt}from"./tet-notification.js";import{TetNumberInput as yt}from"./tet-number-input.js";import{TetPlaceholder as xt}from"./tet-placeholder.js";import{TetPosition as At}from"./tet-position.js";import{TetPriceView as Et}from"./tet-price-view.js";import{TetRadio as Pt}from"./tet-radio.js";import{TetRadioBlocks as Ht}from"./tet-radio-blocks.js";import{TetRangeSlider as Kt}from"./tet-range-slider.js";import{TetRoundStepper as Mt}from"./tet-round-stepper.js";import{TetSelectionList as Nt}from"./tet-selection-list.js";import{TetSnickerCard as Ot}from"./tet-snicker-card.js";import{TetSnickerCardGroup as qt}from"./tet-snicker-card-group.js";import{TetSpacing as zt}from"./tet-spacing.js";import{TetSpinner as Bt}from"./tet-spinner.js";import{TetStepperInput as Ct}from"./tet-stepper-input.js";import{TetStepperV3 as Dt}from"./tet-stepper-v3.js";import{TetStickyOffer as Ft}from"./tet-sticky-offer.js";import{TetSupportSearch as Gt}from"./tet-support-search.js";import{TetSwitch as It}from"./tet-switch.js";import{TetTabContent as Jt}from"./tet-tab-content.js";import{TetTabHeader as Lt}from"./tet-tab-header.js";import{TetTable as Qt}from"./tet-table.js";import{TetTag as Rt}from"./tet-tag.js";import{TetTagGroup as St}from"./tet-tag-group.js";import{TetText as Tt}from"./tet-text.js";import{TetTextList as Ut}from"./tet-text-list.js";import{TetTextarea as Vt}from"./tet-textarea.js";import{TetThankYouViewV3 as Wt}from"./tet-thank-you-view-v3.js";import{TetTooltip as Xt}from"./tet-tooltip.js";const Yt=r=>{"undefined"!=typeof customElements&&[o,m,e,i,p,f,j,n,c,d,l,u,k,v,h,w,y,x,A,E,P,H,K,M,N,O,q,z,B,C,D,F,G,I,J,L,Q,R,S,T,U,V,W,X,Y,Z,$,_,tt,rt,ot,mt,et,st,it,pt,ft,at,jt,nt,ct,dt,lt,ut,bt,gt,kt,vt,ht,wt,yt,xt,At,Et,Pt,Ht,Kt,Mt,Nt,Ot,qt,zt,Bt,Ct,Dt,Ft,Gt,It,Jt,Lt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt].forEach((o=>{customElements.get(t(o.is))||customElements.define(t(o.is),o,r)}))};export{Yt as defineCustomElements}
@@ -1 +1 @@
1
- import{p as t,H as o,d as e,h as n,t as i}from"./p-ChxhsA_J.js";import{a as r}from"./p-CoQ-OVcl.js";import{i as a}from"./p-Cef0hbKH.js";const f=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internalDateChanged=e(this,"internalDateChanged"),this.datepickerViewChanged=e(this,"datepickerViewChanged")}months=r;todayDate;selectedDate;internalDate;internalDateChanged;datepickerViewChanged;componentWillLoad(){this.todayDate=new Date}isCurrentMonth(t){return this.todayDate.getMonth()===t}handleMonthSelection=t=>{const o=new Date(this.internalDate.setMonth(t));this.internalDateChanged.emit(o),this.datepickerViewChanged.emit("month")};isMonthSelected=t=>{if(a(this.selectedDate))return!1;const o=this.selectedDate.getFullYear()===this.internalDate.getFullYear(),e=this.selectedDate.getMonth()===t;return o&&e};getMonthClasses=t=>({month:!0,current:this.isCurrentMonth(t),selected:this.isMonthSelected(t)});render(){return n("div",{key:"8968d573ef922b5ae1e1fc5e3f3bede1cca24fc3",class:"container"},this.months.map(((t,o)=>n("div",{class:"month-container"},n("div",{class:this.getMonthClasses(o),onClick:()=>this.handleMonthSelection(o)},t)))))}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--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{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::before{content:"\\e86e"}.icon.tet-close-circled{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::before{content:"\\e85a"}.icon.tet-close{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::before{content:"\\e85b"}.icon.tet-check-circled{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::before{content:"\\e86c"}.icon.tet-check{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::before{content:"\\e855"}.icon.tet-chevron-up{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::before{content:"\\e859"}.icon.tet-chevron-down{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::before{content:"\\e856"}.icon.tet-clipboard{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::before{content:"\\e86a"}.icon.tet-info{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::before{content:"\\e81d"}.icon.tet-done{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::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")}:host{--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)}:host{display:block;-webkit-tap-highlight-color:transparent}.container{display:grid;grid-template-columns:repeat(3, 1fr);row-gap:2rem;column-gap:0.25rem;margin:1.25rem 0.5rem 0.75rem 0;font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.container .month{display:flex;width:100%;height:2.875rem;align-items:center;justify-content:center;border-radius:1.5rem;cursor:pointer}.container .month.current:not(.container .month.selected,.container .month:active){border:0.09375rem solid rgb(153, 160, 174)}.container .month:active,.container .month.selected{color:var(--text-color-primary-light);background:rgb(10, 11, 13)}.container .month:hover:not(.container .month.selected,.container .month:active){background:var(--interaction-state-gray)}'}},[513,"tet-datepicker-year-view",{selectedDate:[16],internalDate:[16]}]);function s(){"undefined"!=typeof customElements&&["tet-datepicker-year-view"].forEach((t=>{"tet-datepicker-year-view"===t&&(customElements.get(i(t))||customElements.define(i(t),f))}))}export{f as T,s as d}
1
+ import{p as t,H as o,d as e,h as n,t as i}from"./p-nb3MHK7A.js";import{a as r}from"./p-CoQ-OVcl.js";import{i as a}from"./p-Cef0hbKH.js";const f=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internalDateChanged=e(this,"internalDateChanged"),this.datepickerViewChanged=e(this,"datepickerViewChanged")}months=r;todayDate;selectedDate;internalDate;internalDateChanged;datepickerViewChanged;componentWillLoad(){this.todayDate=new Date}isCurrentMonth(t){return this.todayDate.getMonth()===t}handleMonthSelection=t=>{const o=new Date(this.internalDate.setMonth(t));this.internalDateChanged.emit(o),this.datepickerViewChanged.emit("month")};isMonthSelected=t=>{if(a(this.selectedDate))return!1;const o=this.selectedDate.getFullYear()===this.internalDate.getFullYear(),e=this.selectedDate.getMonth()===t;return o&&e};getMonthClasses=t=>({month:!0,current:this.isCurrentMonth(t),selected:this.isMonthSelected(t)});render(){return n("div",{key:"8968d573ef922b5ae1e1fc5e3f3bede1cca24fc3",class:"container"},this.months.map(((t,o)=>n("div",{class:"month-container"},n("div",{class:this.getMonthClasses(o),onClick:()=>this.handleMonthSelection(o)},t)))))}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--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{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::before{content:"\\e86e"}.icon.tet-close-circled{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::before{content:"\\e85a"}.icon.tet-close{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::before{content:"\\e85b"}.icon.tet-check-circled{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::before{content:"\\e86c"}.icon.tet-check{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::before{content:"\\e855"}.icon.tet-chevron-up{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::before{content:"\\e859"}.icon.tet-chevron-down{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::before{content:"\\e856"}.icon.tet-clipboard{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::before{content:"\\e86a"}.icon.tet-info{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::before{content:"\\e81d"}.icon.tet-done{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::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")}:host{--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)}:host{display:block;-webkit-tap-highlight-color:transparent}.container{display:grid;grid-template-columns:repeat(3, 1fr);row-gap:2rem;column-gap:0.25rem;margin:1.25rem 0.5rem 0.75rem 0;font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.container .month{display:flex;width:100%;height:2.875rem;align-items:center;justify-content:center;border-radius:1.5rem;cursor:pointer}.container .month.current:not(.container .month.selected,.container .month:active){border:0.09375rem solid rgb(153, 160, 174)}.container .month:active,.container .month.selected{color:var(--text-color-primary-light);background:rgb(10, 11, 13)}.container .month:hover:not(.container .month.selected,.container .month:active){background:var(--interaction-state-gray)}'}},[513,"tet-datepicker-year-view",{selectedDate:[16],internalDate:[16]}]);function s(){"undefined"!=typeof customElements&&["tet-datepicker-year-view"].forEach((t=>{"tet-datepicker-year-view"===t&&(customElements.get(i(t))||customElements.define(i(t),f))}))}export{f as T,s as d}
@@ -1 +1 @@
1
- import{p as t,H as e,d as i,h as a,c as n,t as s}from"./p-ChxhsA_J.js";const o=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","iframe",'[tabindex]:not([tabindex="-1"])',"audio[controls]","video[controls]","[contenteditable]","[data-contains-focusable-content]"],r=t=>{if(!t)return!1;if((t=>t.matches(o.join(",")))(t))return!0;if(t instanceof HTMLElement&&t.shadowRoot&&t.shadowRoot.querySelectorAll(o.join(",")).length>0)return!0;for(const e of Array.from(t.children))if(r(e))return!0;return!1},d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.select=i(this,"tabSelected")}get element(){return this}tabContentSlides=[];dataName;defaultTab=0;parentContainer=document;useVisibility=!1;select;selectedId;previousDataName;previousParentContainer;theme;themeObserver;componentWillLoad(){this.previousDataName=this.dataName,this.previousParentContainer=this.parentContainer}componentDidLoad(){this.init(),this.selectTab(this.defaultTab)}onDataNameChange(t){t&&(this.detachOldListeners(),this.previousDataName=this.dataName,this.initTabEventHandler())}onParentContainerChange(){this.detachOldListeners(),this.previousParentContainer=this.parentContainer,this.initTabEventHandler()}async init(){this.initTabContentSlides(),this.initTabEventHandler(),this.initParentTheme()}initParentTheme(){const t=this.parentContainer.querySelector(`tet-tab-header[data-name="${this.dataName}"]`);this.theme=t?.getAttribute("theme")??""}initTabContentSlides(){this.tabContentSlides=Array.from(this.element.children);const t=this.parentContainer.querySelector(`tet-tab-header[data-name="${this.dataName}"]`),e=t?.getAttribute("data-id-suffix")??"";this.tabContentSlides.forEach(((t,i)=>{const a=t.firstElementChild;let n=!1;a&&(n=r(a)),t.setAttribute("role","tabpanel"),t.setAttribute("tabindex",n?"-1":"0"),t.setAttribute("id",`tabpanel-${i+1}-${e}`),t.setAttribute("aria-labelledby",`tab-${i+1}-${e}`),t.setAttribute("aria-hidden","true")}))}initTabEventHandler(){this.parentContainer.querySelectorAll(`tet-tab-header[data-name="${this.dataName}"]`).forEach(((t,e)=>{t.addEventListener("tabSelected",this.onTabSelect),0===e&&(this.themeObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"theme"===t.attributeName&&this.initParentTheme()}))})),this.themeObserver.observe(t,{attributes:!0,attributeFilter:["theme"]}))}))}detachOldListeners(){this.themeObserver&&this.themeObserver.disconnect(),this.previousParentContainer.querySelectorAll(`tet-tab-header[data-name="${this.previousDataName}"]`).forEach((t=>{t.removeEventListener("tabSelected",this.onTabSelect)}))}onTabSelect=t=>{this.selectTab(t.detail.new)};async selectTab(t){if(!this.tabContentSlides.length)return;const e=Number.parseInt(t.toString());e.toString()===t.toString()&&(t=e),this.tabContentSlides.forEach((t=>{t.classList.remove("active"),t.setAttribute("aria-hidden","true")}));let i=this.tabContentSlides[0];if("number"==typeof t)this.tabContentSlides[t]&&(i=this.tabContentSlides[t]);else{const e=this.tabContentSlides.find((e=>e.getAttribute("data-name")===t));e&&(i=e)}i.classList.add("active"),i.setAttribute("aria-hidden","false"),this.select.emit({new:t,old:this.selectedId}),this.selectedId=t}render(){return a(n,{key:"8f696bd4d86575b2fc4b55dab8378be91f4807db"},a("div",{key:"bdb0e9231c8e119566f8ad9f636d38ae5c7733a8",class:{"tet-tab-content":!0,"use-visibility":this.useVisibility,[this.theme]:!0}},a("slot",{key:"52d7330b421acc3c756f1dec3c267be08aa9213b"})))}static get watchers(){return{dataName:[{onDataNameChange:0}],parentContainer:[{onParentContainerChange:0}]}}static get style(){return".tet-tab-content ::slotted(*){display:none}.tet-tab-content ::slotted(.active){display:block}.tet-tab-content ::slotted(.active:focus-visible){outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;border-radius:0.125rem}.tet-tab-content.dark ::slotted(.active:focus-visible){outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.tet-tab-content.use-visibility ::slotted(*){visibility:hidden;position:absolute;top:-9999px;left:-9999px;right:9999px;display:block}.tet-tab-content.use-visibility ::slotted(.active){visibility:revert;position:relative;top:0;left:0}"}},[769,"tet-tab-content",{dataName:[1,"data-name"],defaultTab:[8,"default-tab"],parentContainer:[16],useVisibility:[4,"use-visibility"],selectedId:[32],previousDataName:[32],previousParentContainer:[32],theme:[32],init:[64],selectTab:[64]},void 0,{dataName:[{onDataNameChange:0}],parentContainer:[{onParentContainerChange:0}]}]);function l(){"undefined"!=typeof customElements&&["tet-tab-content"].forEach((t=>{"tet-tab-content"===t&&(customElements.get(s(t))||customElements.define(s(t),d))}))}export{d as T,l as d}
1
+ import{p as t,H as e,d as i,h as a,c as n,t as s}from"./p-nb3MHK7A.js";const o=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","iframe",'[tabindex]:not([tabindex="-1"])',"audio[controls]","video[controls]","[contenteditable]","[data-contains-focusable-content]"],r=t=>{if(!t)return!1;if((t=>t.matches(o.join(",")))(t))return!0;if(t instanceof HTMLElement&&t.shadowRoot&&t.shadowRoot.querySelectorAll(o.join(",")).length>0)return!0;for(const e of Array.from(t.children))if(r(e))return!0;return!1},d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.select=i(this,"tabSelected")}get element(){return this}tabContentSlides=[];dataName;defaultTab=0;parentContainer=document;useVisibility=!1;select;selectedId;previousDataName;previousParentContainer;theme;themeObserver;componentWillLoad(){this.previousDataName=this.dataName,this.previousParentContainer=this.parentContainer}componentDidLoad(){this.init(),this.selectTab(this.defaultTab)}onDataNameChange(t){t&&(this.detachOldListeners(),this.previousDataName=this.dataName,this.initTabEventHandler())}onParentContainerChange(){this.detachOldListeners(),this.previousParentContainer=this.parentContainer,this.initTabEventHandler()}async init(){this.initTabContentSlides(),this.initTabEventHandler(),this.initParentTheme()}initParentTheme(){const t=this.parentContainer.querySelector(`tet-tab-header[data-name="${this.dataName}"]`);this.theme=t?.getAttribute("theme")??""}initTabContentSlides(){this.tabContentSlides=Array.from(this.element.children);const t=this.parentContainer.querySelector(`tet-tab-header[data-name="${this.dataName}"]`),e=t?.getAttribute("data-id-suffix")??"";this.tabContentSlides.forEach(((t,i)=>{const a=t.firstElementChild;let n=!1;a&&(n=r(a)),t.setAttribute("role","tabpanel"),t.setAttribute("tabindex",n?"-1":"0"),t.setAttribute("id",`tabpanel-${i+1}-${e}`),t.setAttribute("aria-labelledby",`tab-${i+1}-${e}`),t.setAttribute("aria-hidden","true")}))}initTabEventHandler(){this.parentContainer.querySelectorAll(`tet-tab-header[data-name="${this.dataName}"]`).forEach(((t,e)=>{t.addEventListener("tabSelected",this.onTabSelect),0===e&&(this.themeObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"theme"===t.attributeName&&this.initParentTheme()}))})),this.themeObserver.observe(t,{attributes:!0,attributeFilter:["theme"]}))}))}detachOldListeners(){this.themeObserver&&this.themeObserver.disconnect(),this.previousParentContainer.querySelectorAll(`tet-tab-header[data-name="${this.previousDataName}"]`).forEach((t=>{t.removeEventListener("tabSelected",this.onTabSelect)}))}onTabSelect=t=>{this.selectTab(t.detail.new)};async selectTab(t){if(!this.tabContentSlides.length)return;const e=Number.parseInt(t.toString());e.toString()===t.toString()&&(t=e),this.tabContentSlides.forEach((t=>{t.classList.remove("active"),t.setAttribute("aria-hidden","true")}));let i=this.tabContentSlides[0];if("number"==typeof t)this.tabContentSlides[t]&&(i=this.tabContentSlides[t]);else{const e=this.tabContentSlides.find((e=>e.getAttribute("data-name")===t));e&&(i=e)}i.classList.add("active"),i.setAttribute("aria-hidden","false"),this.select.emit({new:t,old:this.selectedId}),this.selectedId=t}render(){return a(n,{key:"8f696bd4d86575b2fc4b55dab8378be91f4807db"},a("div",{key:"bdb0e9231c8e119566f8ad9f636d38ae5c7733a8",class:{"tet-tab-content":!0,"use-visibility":this.useVisibility,[this.theme]:!0}},a("slot",{key:"52d7330b421acc3c756f1dec3c267be08aa9213b"})))}static get watchers(){return{dataName:[{onDataNameChange:0}],parentContainer:[{onParentContainerChange:0}]}}static get style(){return".tet-tab-content ::slotted(*){display:none}.tet-tab-content ::slotted(.active){display:block}.tet-tab-content ::slotted(.active:focus-visible){outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;border-radius:0.125rem}.tet-tab-content.dark ::slotted(.active:focus-visible){outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.tet-tab-content.use-visibility ::slotted(*){visibility:hidden;position:absolute;top:-9999px;left:-9999px;right:9999px;display:block}.tet-tab-content.use-visibility ::slotted(.active){visibility:revert;position:relative;top:0;left:0}"}},[769,"tet-tab-content",{dataName:[1,"data-name"],defaultTab:[8,"default-tab"],parentContainer:[16],useVisibility:[4,"use-visibility"],selectedId:[32],previousDataName:[32],previousParentContainer:[32],theme:[32],init:[64],selectTab:[64]},void 0,{dataName:[{onDataNameChange:0}],parentContainer:[{onParentContainerChange:0}]}]);function l(){"undefined"!=typeof customElements&&["tet-tab-content"].forEach((t=>{"tet-tab-content"===t&&(customElements.get(s(t))||customElements.define(s(t),d))}))}export{d as T,l as d}
@@ -1 +1 @@
1
- import{p as t,H as o,d as e,h as n,t as r}from"./p-ChxhsA_J.js";const i=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internalDateChanged=e(this,"internalDateChanged"),this.datepickerViewChanged=e(this,"datepickerViewChanged")}years=[];selectedDate;internalDate;internalDateChanged;datepickerViewChanged;handleInternalDateChange(t){this.years=this.getYears(t)}componentWillLoad(){this.years=this.getYears(this.internalDate)}getYears=t=>{const o=t.getFullYear();return Array.from({length:12},((t,e)=>o+e))};handleYearSelection=t=>{const o=new Date(this.internalDate.setFullYear(t));this.internalDateChanged.emit(o),this.datepickerViewChanged.emit("year")};isSelectedYear=t=>this.selectedDate?.getFullYear()===t;getYearClasses=t=>({year:!0,current:t===(new Date).getFullYear(),selected:this.isSelectedYear(t)});render(){return n("div",{key:"03c2b00f5549cbd3e500c0063152d3861f74ff2c",class:"container"},this.years.map((t=>n("div",{class:this.getYearClasses(t),onClick:()=>this.handleYearSelection(t)},t))))}static get watchers(){return{internalDate:[{handleInternalDateChange:0}]}}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--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{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::before{content:"\\e86e"}.icon.tet-close-circled{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::before{content:"\\e85a"}.icon.tet-close{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::before{content:"\\e85b"}.icon.tet-check-circled{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::before{content:"\\e86c"}.icon.tet-check{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::before{content:"\\e855"}.icon.tet-chevron-up{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::before{content:"\\e859"}.icon.tet-chevron-down{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::before{content:"\\e856"}.icon.tet-clipboard{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::before{content:"\\e86a"}.icon.tet-info{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::before{content:"\\e81d"}.icon.tet-done{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::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")}:host{--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)}:host{display:block;-webkit-tap-highlight-color:transparent}.container{display:grid;grid-template-columns:repeat(3, 1fr);row-gap:2rem;column-gap:0.25rem;margin:1.25rem 0 0.75rem;font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.container .year{display:flex;width:100%;height:2.875rem;align-items:center;justify-content:center;border-radius:1.5rem;cursor:pointer}.container .year.current:not(.container .year.selected,.container .year:active){border:0.09375rem solid rgb(153, 160, 174)}.container .year:active,.container .year.selected{color:var(--text-color-primary-light);background:rgb(10, 11, 13)}.container .year:hover:not(.container .year.selected,.container .year:active){background:var(--interaction-state-gray)}'}},[513,"tet-datepicker-multi-year-view",{selectedDate:[16],internalDate:[16],years:[32]},void 0,{internalDate:[{handleInternalDateChange:0}]}]);function a(){"undefined"!=typeof customElements&&["tet-datepicker-multi-year-view"].forEach((t=>{"tet-datepicker-multi-year-view"===t&&(customElements.get(r(t))||customElements.define(r(t),i))}))}export{i as T,a as d}
1
+ import{p as t,H as o,d as e,h as n,t as r}from"./p-nb3MHK7A.js";const i=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internalDateChanged=e(this,"internalDateChanged"),this.datepickerViewChanged=e(this,"datepickerViewChanged")}years=[];selectedDate;internalDate;internalDateChanged;datepickerViewChanged;handleInternalDateChange(t){this.years=this.getYears(t)}componentWillLoad(){this.years=this.getYears(this.internalDate)}getYears=t=>{const o=t.getFullYear();return Array.from({length:12},((t,e)=>o+e))};handleYearSelection=t=>{const o=new Date(this.internalDate.setFullYear(t));this.internalDateChanged.emit(o),this.datepickerViewChanged.emit("year")};isSelectedYear=t=>this.selectedDate?.getFullYear()===t;getYearClasses=t=>({year:!0,current:t===(new Date).getFullYear(),selected:this.isSelectedYear(t)});render(){return n("div",{key:"03c2b00f5549cbd3e500c0063152d3861f74ff2c",class:"container"},this.years.map((t=>n("div",{class:this.getYearClasses(t),onClick:()=>this.handleYearSelection(t)},t))))}static get watchers(){return{internalDate:[{handleInternalDateChange:0}]}}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--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{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::before{content:"\\e86e"}.icon.tet-close-circled{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::before{content:"\\e85a"}.icon.tet-close{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::before{content:"\\e85b"}.icon.tet-check-circled{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::before{content:"\\e86c"}.icon.tet-check{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::before{content:"\\e855"}.icon.tet-chevron-up{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::before{content:"\\e859"}.icon.tet-chevron-down{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::before{content:"\\e856"}.icon.tet-clipboard{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::before{content:"\\e86a"}.icon.tet-info{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::before{content:"\\e81d"}.icon.tet-done{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::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")}:host{--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)}:host{display:block;-webkit-tap-highlight-color:transparent}.container{display:grid;grid-template-columns:repeat(3, 1fr);row-gap:2rem;column-gap:0.25rem;margin:1.25rem 0 0.75rem;font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.container .year{display:flex;width:100%;height:2.875rem;align-items:center;justify-content:center;border-radius:1.5rem;cursor:pointer}.container .year.current:not(.container .year.selected,.container .year:active){border:0.09375rem solid rgb(153, 160, 174)}.container .year:active,.container .year.selected{color:var(--text-color-primary-light);background:rgb(10, 11, 13)}.container .year:hover:not(.container .year.selected,.container .year:active){background:var(--interaction-state-gray)}'}},[513,"tet-datepicker-multi-year-view",{selectedDate:[16],internalDate:[16],years:[32]},void 0,{internalDate:[{handleInternalDateChange:0}]}]);function a(){"undefined"!=typeof customElements&&["tet-datepicker-multi-year-view"].forEach((t=>{"tet-datepicker-multi-year-view"===t&&(customElements.get(r(t))||customElements.define(r(t),i))}))}export{i as T,a as d}