@tet/tet-components 1.3.154-staging → 1.3.155-staging

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/dist/cjs/tet-accordion_2.cjs.entry.js +6 -6
  2. package/dist/cjs/tet-address-offers-view.cjs.entry.js +1 -1
  3. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +32 -4
  4. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +1 -1
  5. package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +1 -1
  6. package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
  7. package/dist/cjs/tet-business-lines.cjs.entry.js +1 -1
  8. package/dist/cjs/tet-carousel.cjs.entry.js +7 -7
  9. package/dist/cjs/tet-colors.cjs.entry.js +4 -4
  10. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +2 -2
  11. package/dist/cjs/tet-contact-form.cjs.entry.js +1 -1
  12. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +5 -5
  13. package/dist/cjs/tet-datepicker.cjs.entry.js +4 -4
  14. package/dist/cjs/tet-dropdown_2.cjs.entry.js +1 -1
  15. package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
  16. package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
  17. package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
  18. package/dist/cjs/tet-grid.cjs.entry.js +1 -1
  19. package/dist/cjs/tet-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/tet-label.cjs.entry.js +2 -2
  21. package/dist/cjs/tet-layout.cjs.entry.js +1 -1
  22. package/dist/cjs/tet-link.cjs.entry.js +1 -1
  23. package/dist/cjs/tet-loader.cjs.entry.js +1 -1
  24. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +3 -3
  25. package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
  26. package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
  27. package/dist/cjs/tet-range-slider.cjs.entry.js +7 -7
  28. package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
  29. package/dist/cjs/tet-spinner.cjs.entry.js +3 -3
  30. package/dist/cjs/tet-stepper-input.cjs.entry.js +1 -1
  31. package/dist/cjs/tet-tab-header.cjs.entry.js +2 -2
  32. package/dist/cjs/tet-tag_2.cjs.entry.js +2 -2
  33. package/dist/cjs/tet-textarea.cjs.entry.js +2 -2
  34. package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
  35. package/dist/cjs/tet-tv-gift-list.cjs.entry.js +2 -2
  36. package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +32 -4
  37. package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
  38. package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
  39. package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
  40. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
  41. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
  42. package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
  43. package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +7 -7
  44. package/dist/collection/components/basic/icon/tet-icon.js +1 -1
  45. package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
  46. package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
  47. package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
  48. package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
  49. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
  50. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
  51. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
  52. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
  53. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
  54. package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
  55. package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
  56. package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
  57. package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
  58. package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
  59. package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +5 -5
  60. package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
  61. package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
  62. package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
  63. package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
  64. package/dist/collection/components/views/tet-b2b-configurator/tet-b2b-configurator.css +5 -5
  65. package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
  66. package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
  67. package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
  68. package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
  69. package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
  70. package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
  71. package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
  72. package/dist/collection/docs/styling/link/tet-link.js +1 -1
  73. package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
  74. package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
  75. package/dist/components/{p-bd5fc6cb.js → p-00351bb3.js} +1 -1
  76. package/dist/components/{p-7556136b.js → p-01cbd3bb.js} +1 -1
  77. package/dist/components/{p-6c463341.js → p-0b96f814.js} +4 -4
  78. package/dist/components/{p-b0f75d20.js → p-119a13f1.js} +2 -2
  79. package/dist/components/{p-9782e5c4.js → p-123957bc.js} +1 -1
  80. package/dist/components/{p-c18138a8.js → p-14288c49.js} +1 -1
  81. package/dist/components/{p-60d0e1f7.js → p-1512dc60.js} +37 -9
  82. package/dist/components/{p-fb5ceb0e.js → p-19b25c1c.js} +2 -2
  83. package/dist/components/{p-eec88245.js → p-1a3d1023.js} +2 -2
  84. package/dist/components/{p-78dee01e.js → p-1aad0dd8.js} +5 -5
  85. package/dist/components/{p-f752e23b.js → p-1aba570d.js} +1 -1
  86. package/dist/components/{p-d26fdfd6.js → p-22a55ad3.js} +1 -1
  87. package/dist/components/{p-7a99c2a6.js → p-2376ee47.js} +2 -2
  88. package/dist/components/{p-3d3ad524.js → p-2c7a3d78.js} +1 -1
  89. package/dist/components/{p-4497f6a3.js → p-2dd801b1.js} +4 -4
  90. package/dist/components/{p-2cfa5ac5.js → p-34247e22.js} +2 -2
  91. package/dist/components/{p-598a7cda.js → p-44ac2ae1.js} +1 -1
  92. package/dist/components/{p-b73be1b2.js → p-5390df74.js} +2 -2
  93. package/dist/components/{p-a8f280e5.js → p-556f0aa3.js} +1 -1
  94. package/dist/components/{p-40c772b5.js → p-57254ef4.js} +3 -3
  95. package/dist/components/{p-7d5ded0e.js → p-64f0f6cb.js} +6 -6
  96. package/dist/components/{p-95b9de26.js → p-6c499d64.js} +1 -1
  97. package/dist/components/{p-19e25c47.js → p-6f304db6.js} +5 -5
  98. package/dist/components/{p-e3520d95.js → p-7ec09b0c.js} +7 -7
  99. package/dist/components/{p-6d4cd18b.js → p-815aaa96.js} +3 -3
  100. package/dist/components/{p-7e4ad30e.js → p-8453880f.js} +1 -1
  101. package/dist/components/{p-b1e5b668.js → p-95253940.js} +3 -3
  102. package/dist/components/{p-1de4299e.js → p-9760d556.js} +1 -1
  103. package/dist/components/{p-28d6865c.js → p-99b95710.js} +1 -1
  104. package/dist/components/{p-7edbbbe4.js → p-9e74fece.js} +3 -3
  105. package/dist/components/{p-486f6fa7.js → p-a2f3e4b4.js} +1 -1
  106. package/dist/components/{p-6b80d7f4.js → p-a9584c18.js} +2 -2
  107. package/dist/components/{p-e0afecc3.js → p-b2e2755e.js} +2 -2
  108. package/dist/components/{p-4a071c77.js → p-b9352083.js} +1 -1
  109. package/dist/components/{p-c6b82ba2.js → p-c19d8bb9.js} +3 -3
  110. package/dist/components/{p-da8c8a43.js → p-c5a2b455.js} +11 -11
  111. package/dist/components/{p-eda4637f.js → p-cc910b02.js} +6 -6
  112. package/dist/components/{p-e92015f1.js → p-ce553a17.js} +10 -10
  113. package/dist/components/{p-3789537e.js → p-e5ac3870.js} +1 -1
  114. package/dist/components/{p-2b253f12.js → p-ec3ba8ed.js} +2 -2
  115. package/dist/components/{p-9b1ffc7a.js → p-f0c5b263.js} +5 -5
  116. package/dist/components/{p-67fd9c6f.js → p-f426e701.js} +3 -3
  117. package/dist/components/{p-aab6ab36.js → p-ff632c82.js} +1 -1
  118. package/dist/components/tet-accordion.js +1 -1
  119. package/dist/components/tet-address-offers-filters-products.js +1 -1
  120. package/dist/components/tet-address-offers-filters.js +1 -1
  121. package/dist/components/tet-address-offers-view.js +21 -21
  122. package/dist/components/tet-address-offers.js +1 -1
  123. package/dist/components/tet-address-search.js +1 -1
  124. package/dist/components/tet-asset-addresses.js +8 -8
  125. package/dist/components/tet-asset-availability-addresses.js +1 -1
  126. package/dist/components/tet-autocomplete-dropdown.js +4 -4
  127. package/dist/components/tet-autocomplete.js +1 -1
  128. package/dist/components/tet-availability-contact-form.js +1 -1
  129. package/dist/components/tet-b2b-check-out-form.js +1 -1
  130. package/dist/components/tet-b2b-compare-card.js +1 -1
  131. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  132. package/dist/components/tet-b2b-configurator.js +17 -17
  133. package/dist/components/tet-b2b-service-calculator.js +6 -6
  134. package/dist/components/tet-banner-nav.js +1 -1
  135. package/dist/components/tet-border-radius.js +1 -1
  136. package/dist/components/tet-business-compare-card.js +2 -2
  137. package/dist/components/tet-business-lines.js +2 -2
  138. package/dist/components/tet-business-navigation.js +1 -1
  139. package/dist/components/tet-business-round-stepper.js +1 -1
  140. package/dist/components/tet-business-summary-card.js +1 -1
  141. package/dist/components/tet-button.js +1 -1
  142. package/dist/components/tet-card-list.js +1 -1
  143. package/dist/components/tet-carousel.js +9 -9
  144. package/dist/components/tet-checkbox.js +1 -1
  145. package/dist/components/tet-cloud-application-form-dialog.js +6 -6
  146. package/dist/components/tet-cloud-configurator.js +7 -7
  147. package/dist/components/tet-colors.js +4 -4
  148. package/dist/components/tet-compare-card-v2.js +5 -5
  149. package/dist/components/tet-compare-card.js +1 -1
  150. package/dist/components/tet-compare-cards-tab.js +13 -13
  151. package/dist/components/tet-compare-cards.js +1 -1
  152. package/dist/components/tet-contact-form.js +5 -5
  153. package/dist/components/tet-customer-assets.js +2 -2
  154. package/dist/components/tet-datepicker-header.js +1 -1
  155. package/dist/components/tet-datepicker-month-view.js +1 -1
  156. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  157. package/dist/components/tet-datepicker-year-view.js +1 -1
  158. package/dist/components/tet-datepicker.js +9 -9
  159. package/dist/components/tet-dialog.js +1 -1
  160. package/dist/components/tet-dropdown.js +1 -1
  161. package/dist/components/tet-dynamic-card.js +2 -2
  162. package/dist/components/tet-expandable-input.js +2 -2
  163. package/dist/components/tet-expansion-panel.js +1 -1
  164. package/dist/components/tet-filter.js +3 -3
  165. package/dist/components/tet-font-weight.js +1 -1
  166. package/dist/components/tet-fonts.js +1 -1
  167. package/dist/components/tet-grid.js +1 -1
  168. package/dist/components/tet-icon.js +1 -1
  169. package/dist/components/tet-inline-message.js +1 -1
  170. package/dist/components/tet-input.js +1 -1
  171. package/dist/components/tet-label.js +3 -3
  172. package/dist/components/tet-layout.js +1 -1
  173. package/dist/components/tet-link.js +1 -1
  174. package/dist/components/tet-loader.js +1 -1
  175. package/dist/components/tet-macd-view.js +6 -6
  176. package/dist/components/tet-menu-mobile.js +1 -1
  177. package/dist/components/tet-menu.js +1 -1
  178. package/dist/components/tet-multi-step-dialog.js +3 -3
  179. package/dist/components/tet-navigation-mobile.js +4 -4
  180. package/dist/components/tet-news-card-list.js +4 -4
  181. package/dist/components/tet-notification.js +1 -1
  182. package/dist/components/tet-number-input.js +1 -1
  183. package/dist/components/tet-placeholder.js +1 -1
  184. package/dist/components/tet-range-slider.js +1 -1
  185. package/dist/components/tet-referral.js +4 -4
  186. package/dist/components/tet-round-stepper.js +1 -1
  187. package/dist/components/tet-spacing.js +1 -1
  188. package/dist/components/tet-spinner.js +1 -1
  189. package/dist/components/tet-stepper-input.js +1 -1
  190. package/dist/components/tet-stepper-v2.js +1 -1
  191. package/dist/components/tet-stepper-v3.js +1 -1
  192. package/dist/components/tet-tab-content.js +1 -1
  193. package/dist/components/tet-tab-header.js +1 -1
  194. package/dist/components/tet-table.js +2 -2
  195. package/dist/components/tet-tag-group.js +1 -1
  196. package/dist/components/tet-tag.js +1 -1
  197. package/dist/components/tet-text-list.js +1 -1
  198. package/dist/components/tet-textarea.js +2 -2
  199. package/dist/components/tet-thank-you-view-v2.js +3 -3
  200. package/dist/components/tet-thank-you-view-v3.js +3 -3
  201. package/dist/components/tet-thank-you-view.js +2 -2
  202. package/dist/components/tet-tooltip.js +1 -1
  203. package/dist/components/tet-tv-gift-block.js +1 -1
  204. package/dist/components/tet-tv-gift-list.js +3 -3
  205. package/dist/esm/tet-accordion_2.entry.js +6 -6
  206. package/dist/esm/tet-address-offers-view.entry.js +1 -1
  207. package/dist/esm/tet-b2b-check-out-form_5.entry.js +32 -4
  208. package/dist/esm/tet-b2b-configurator.entry.js +1 -1
  209. package/dist/esm/tet-b2b-service-calculator.entry.js +1 -1
  210. package/dist/esm/tet-border-radius.entry.js +1 -1
  211. package/dist/esm/tet-business-lines.entry.js +1 -1
  212. package/dist/esm/tet-carousel.entry.js +7 -7
  213. package/dist/esm/tet-colors.entry.js +4 -4
  214. package/dist/esm/tet-compare-cards_2.entry.js +2 -2
  215. package/dist/esm/tet-contact-form.entry.js +1 -1
  216. package/dist/esm/tet-datepicker-header_4.entry.js +5 -5
  217. package/dist/esm/tet-datepicker.entry.js +4 -4
  218. package/dist/esm/tet-dropdown_2.entry.js +1 -1
  219. package/dist/esm/tet-expansion-panel.entry.js +1 -1
  220. package/dist/esm/tet-font-weight.entry.js +1 -1
  221. package/dist/esm/tet-fonts.entry.js +1 -1
  222. package/dist/esm/tet-grid.entry.js +1 -1
  223. package/dist/esm/tet-icon.entry.js +1 -1
  224. package/dist/esm/tet-label.entry.js +2 -2
  225. package/dist/esm/tet-layout.entry.js +1 -1
  226. package/dist/esm/tet-link.entry.js +1 -1
  227. package/dist/esm/tet-loader.entry.js +1 -1
  228. package/dist/esm/tet-navigation-mobile.entry.js +3 -3
  229. package/dist/esm/tet-news-card-list.entry.js +1 -1
  230. package/dist/esm/tet-placeholder.entry.js +1 -1
  231. package/dist/esm/tet-range-slider.entry.js +7 -7
  232. package/dist/esm/tet-spacing.entry.js +1 -1
  233. package/dist/esm/tet-spinner.entry.js +3 -3
  234. package/dist/esm/tet-stepper-input.entry.js +1 -1
  235. package/dist/esm/tet-tab-header.entry.js +2 -2
  236. package/dist/esm/tet-tag_2.entry.js +2 -2
  237. package/dist/esm/tet-textarea.entry.js +2 -2
  238. package/dist/esm/tet-tv-gift-block.entry.js +1 -1
  239. package/dist/esm/tet-tv-gift-list.entry.js +2 -2
  240. package/dist/tet-components/{p-84f99a6d.entry.js → p-009033c6.entry.js} +1 -1
  241. package/dist/tet-components/{p-c5f3cf38.entry.js → p-1de2f088.entry.js} +1 -1
  242. package/dist/tet-components/{p-8d29d1e0.entry.js → p-33789894.entry.js} +1 -1
  243. package/dist/tet-components/{p-38caba5e.entry.js → p-3a70224f.entry.js} +1 -1
  244. package/dist/tet-components/{p-811222db.entry.js → p-3bc3faa9.entry.js} +1 -1
  245. package/dist/tet-components/{p-87d3b2f5.entry.js → p-3bc6d640.entry.js} +1 -1
  246. package/dist/tet-components/{p-5dfaeee4.entry.js → p-3beccfff.entry.js} +1 -1
  247. package/dist/tet-components/{p-66f54133.entry.js → p-43815545.entry.js} +1 -1
  248. package/dist/tet-components/{p-af6a1d29.entry.js → p-4387a566.entry.js} +1 -1
  249. package/dist/tet-components/{p-2fa851a4.entry.js → p-447d9060.entry.js} +1 -1
  250. package/dist/tet-components/{p-554048e9.entry.js → p-510ca370.entry.js} +1 -1
  251. package/dist/tet-components/{p-caa1fb4d.entry.js → p-5630b45a.entry.js} +1 -1
  252. package/dist/tet-components/{p-d95eaef4.entry.js → p-59242535.entry.js} +1 -1
  253. package/dist/tet-components/{p-26ead5ae.entry.js → p-59e54ef9.entry.js} +1 -1
  254. package/dist/tet-components/{p-1ccb81d6.entry.js → p-5b9929c2.entry.js} +1 -1
  255. package/dist/tet-components/{p-16863fb3.entry.js → p-601c034b.entry.js} +1 -1
  256. package/dist/tet-components/{p-7e53423b.entry.js → p-713326bb.entry.js} +1 -1
  257. package/dist/tet-components/{p-fbb36c62.entry.js → p-7175505b.entry.js} +1 -1
  258. package/dist/tet-components/{p-d70b7d35.entry.js → p-7519647f.entry.js} +1 -1
  259. package/dist/tet-components/{p-431bd2ee.entry.js → p-7dbf0d0f.entry.js} +1 -1
  260. package/dist/tet-components/{p-8fa0bbba.entry.js → p-8326ee0d.entry.js} +1 -1
  261. package/dist/tet-components/{p-ca156b2f.entry.js → p-8483ca11.entry.js} +1 -1
  262. package/dist/tet-components/{p-4f45391c.entry.js → p-94ff7eaf.entry.js} +1 -1
  263. package/dist/tet-components/{p-08916e95.entry.js → p-964f75d3.entry.js} +1 -1
  264. package/dist/tet-components/{p-1b0ac117.entry.js → p-97801176.entry.js} +1 -1
  265. package/dist/tet-components/{p-07de58e9.entry.js → p-9d320497.entry.js} +1 -1
  266. package/dist/tet-components/{p-134a3a27.entry.js → p-bd24cacd.entry.js} +1 -1
  267. package/dist/tet-components/{p-6ad4b5d9.entry.js → p-ccd7750d.entry.js} +1 -1
  268. package/dist/tet-components/{p-0a45f03b.entry.js → p-d1375a82.entry.js} +1 -1
  269. package/dist/tet-components/{p-50361f7c.entry.js → p-d8a5b744.entry.js} +1 -1
  270. package/dist/tet-components/{p-51ed09f7.entry.js → p-dbbb7caf.entry.js} +1 -1
  271. package/dist/tet-components/{p-2b5c3ead.entry.js → p-de517d09.entry.js} +1 -1
  272. package/dist/tet-components/{p-d6566e42.entry.js → p-f974d78b.entry.js} +1 -1
  273. package/dist/tet-components/{p-6a9bebe8.entry.js → p-fc15f4ef.entry.js} +1 -1
  274. package/dist/tet-components/p-fefaa4ec.entry.js +1 -0
  275. package/dist/tet-components/tet-components.esm.js +1 -1
  276. package/dist/types/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.d.ts +10 -0
  277. package/package.json +1 -1
  278. package/dist/tet-components/p-26af11a8.entry.js +0 -1
@@ -105,15 +105,43 @@ export class TetAvailabilityContactForm {
105
105
  const value = item.querySelector('input').value;
106
106
  emitValue = Object.assign(Object.assign({}, emitValue), { [item.id]: value });
107
107
  });
108
- this.submitCheckOutForm.emit(emitValue);
108
+ this.submitCheckOutForm.emit(Object.assign(Object.assign({}, emitValue), this.extraFieldsSubmissionData));
109
+ }
110
+ /** Returns the slotted `extra-fields` input elements with a provided id attribute. */
111
+ get extraFieldsElements() {
112
+ return this.extraFieldsSlotElement
113
+ .assignedElements()
114
+ .flatMap((parentElement) => Array.from(parentElement.querySelectorAll('input[id], tet-input[id]'))
115
+ .filter((element) => element instanceof HTMLInputElement || 'value' in element));
116
+ }
117
+ /** Returns the submission data of all extra fields elements with a provided id attribute. */
118
+ get extraFieldsSubmissionData() {
119
+ return this.extraFieldsElements.reduce((object, element) => {
120
+ object[element.id] = this.getExtraFieldValue(element);
121
+ return object;
122
+ }, {});
123
+ }
124
+ /** Returns the value of a provided extra field element based on it's HTML tag name. */
125
+ getExtraFieldValue(element) {
126
+ switch (element.tagName.toLowerCase()) {
127
+ case 'input': {
128
+ return element.value;
129
+ }
130
+ case 'tet-input': {
131
+ return element.querySelector('input').value;
132
+ }
133
+ default: {
134
+ return '';
135
+ }
136
+ }
109
137
  }
110
138
  render() {
111
139
  const { theme } = this;
112
- return (h("tet-dialog", { key: '782d976f40d9d0c8244a957f3effcfb415d146f1', class: "modal-form-card", headerTitle: t('components-b2b-check-out-form-header'), theme: theme, closeOnOverlayClick: false, footerDisplay: "right", ref: (el) => {
140
+ return (h("tet-dialog", { key: '0c8a8b0abc3dcdb486ec391884aa9aa581f5a407', class: "modal-form-card", headerTitle: t('components-b2b-check-out-form-header'), theme: theme, closeOnOverlayClick: false, footerDisplay: "right", ref: (el) => {
113
141
  this.dialogElement = el;
114
- } }, h("div", { key: '582b9a27f471f70f53f2041aed395ccc9c698b84', class: { 'modal-form-card-content': true, [`${theme}`]: true } }, h("div", { key: '64729b163942de87741ccba8793aaea6380d93f9', class: "modal-form-card-content-header" }, h("div", { key: '7197a58dd6d8ff8fac2f3fd90c8b00e8f2ed8602', class: "icon-wrapper" }, h("tet-icon", { key: '4152f0f93d4aa09ad1fe5c5b40a75af277b7a64b', class: "icon", name: "tc-company-1" })), h("span", { key: '2f865ef3292cd53018627ab0ae71887b57838b91', class: "modal-form-card-content-header__title" }, t('components-b2b-check-out-form-title')), h("span", { key: 'fd4beb06346c9451c9210beaa970b7f571d7d9c2', class: "modal-form-card-content-header__description" }, t('components-b2b-check-out-form-description'))), h("div", { key: '77b6420f61987f5063fea2337f5a1aa41df35e90', class: "modal-form-card-content-accordion-wrapper" }, h("slot", { key: 'df31c787f4a328b132430ff1fb89f8bd6ea89421', name: 'cart' })), h("form", { key: '3f5b74b63a0b7138d4305d4fd27d2ab41b255ec1', id: "checkOutForm", class: "modal-form-card-form", ref: (ref) => (this.checkOutForm = ref) }, h("div", { key: '6345f3a023fa2ad63306dd53917f1a4c1d9e29de', class: "modal-form-card-input__row" }, this.renderInput('companyRegNr', t('components-b2b-check-out-form-company-registration-number-input-label'), '40000000001'), this.renderInput('companyName', t('components-b2b-check-out-form-company-name-input-label'))), this.renderInput('address', t('components-b2b-check-out-form-address-input-label'), t('components-b2b-check-out-form-address-input-placeholder')), this.renderInput('nameSurname', t('components-b2b-check-out-form-name-input-label')), h("div", { key: 'a49d64a152e69a192833b093c3985987ddc11d18', class: "modal-form-card-input__row" }, this.renderInput('email', t('components-b2b-check-out-form-email-input-label'), 'contact@company.com'), this.renderInput('phoneNr', t('components-b2b-check-out-form-phone-number-input-label'), '123456789', true)), h("tet-checkbox", { key: '68ab6f5b06ea4907d69980118995bbde7bc1ef07', class: "modal-form-card-content-checkbox", label: t('components-check-out-form-privacy-policy'), theme: theme }))), h("div", { key: '35fb55daec26d8483f7ce3942e0879fbdfee6944', slot: "footer", class: "modal-form-card-footer" }, h("tet-button", { key: '1812bc8cff4e1f3297e86e3b4cc0b85146375602', type: "secondary", size: "medium", theme: theme, onClick: () => {
142
+ } }, h("div", { key: 'b8927b04f0600d96f487274181916fe81da5f8e0', class: { 'modal-form-card-content': true, [`${theme}`]: true } }, h("div", { key: '24f525eff4beefa20fe8a2ef21991a8706dfbad7', class: "modal-form-card-content-header" }, h("div", { key: 'c322431303bdb06c89404669473c0d0bb8f1c392', class: "icon-wrapper" }, h("tet-icon", { key: 'cfcc78c549359fbd6f98743348b648a6d5e1c892', class: "icon", name: "tc-company-1" })), h("span", { key: '551e0313c7483f8bbcb6008f419278f6e001e9b1', class: "modal-form-card-content-header__title" }, t('components-b2b-check-out-form-title')), h("span", { key: 'bd8f04729297cb8bc6442d20ac8e8dda29c86684', class: "modal-form-card-content-header__description" }, t('components-b2b-check-out-form-description'))), h("div", { key: 'f1bfc4744d32c53d8054fcaadbe4e9e1ac31d491', class: "modal-form-card-content-accordion-wrapper" }, h("slot", { key: '1b74b74177882e3d8ec58130609157188df7ee5a', name: 'cart' })), h("form", { key: 'fb340ee9e178d73775f1547357d2592caa7482cd', id: "checkOutForm", class: "modal-form-card-form", ref: (ref) => (this.checkOutForm = ref) }, h("div", { key: '7e6eb3cfe5eb6e5ffa5047babafc2fc6a9cc6dbc', class: "modal-form-card-input__row" }, this.renderInput('companyRegNr', t('components-b2b-check-out-form-company-registration-number-input-label'), '40000000001'), this.renderInput('companyName', t('components-b2b-check-out-form-company-name-input-label'))), this.renderInput('address', t('components-b2b-check-out-form-address-input-label'), t('components-b2b-check-out-form-address-input-placeholder')), this.renderInput('nameSurname', t('components-b2b-check-out-form-name-input-label')), h("div", { key: 'fd34bf38ea28dbeaec24d2f1896612b87c8fbbe6', class: "modal-form-card-input__row" }, this.renderInput('email', t('components-b2b-check-out-form-email-input-label'), 'contact@company.com'), this.renderInput('phoneNr', t('components-b2b-check-out-form-phone-number-input-label'), '123456789', true)), h("tet-checkbox", { key: '6e2290e56be09fbb77d726b88af427ab42d4a077', class: "modal-form-card-content-checkbox", label: t('components-check-out-form-privacy-policy'), theme: theme }), h("slot", { key: '8db82d172bdf53630bb62a9d5b2b83b371543f8e', name: "extra-fields", ref: (element) => (this.extraFieldsSlotElement = element) }))), h("div", { key: 'e58a5b758f5710cded86e8054a396485d558058e', slot: "footer", class: "modal-form-card-footer" }, h("tet-button", { key: '00899942aee0822148bf57adb85790a09f50dd1b', type: "secondary", size: "medium", theme: theme, onClick: () => {
115
143
  this.dialogElement.close();
116
- } }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: 'ae3291d94d3fc9b7a44314ede10bfca2086ebb32', type: "primary", size: "medium", theme: theme, onClick: () => this.handleSubmit() }, t('components-b2b-check-out-form-submit-button-label')))));
144
+ } }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: 'b651ec7b24762dc6a406a5701de568a5ad35bcd1', type: "primary", size: "medium", theme: theme, onClick: () => this.handleSubmit() }, t('components-b2b-check-out-form-submit-button-label')))));
117
145
  }
118
146
  static get is() { return "tet-b2b-check-out-form"; }
119
147
  static get encapsulation() { return "shadow"; }
@@ -64,7 +64,7 @@ export class TetContactForm {
64
64
  processTranslations('tet-components', this.language).then(() => forceUpdate(this));
65
65
  }
66
66
  render() {
67
- return (h("div", { key: 'af86227688f591a177aec4f54c06d38bc0ca8eaf', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: '10cf49ff11982e46b7254cbd711445568c1c2512', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: 'a8e3e94d0c5aafb7cab49a38d85759788cd0c65c', class: "form-container" }, this.showTitle && h("h2", { key: '7f4b5a0a607b2dbe5afe88aa4ba71045efb93b80', class: "form-title" }, t('components-contact-form-title')), h("p", { key: 'e494bc3ddbf49175e9a2bcc7417540987161c0f5', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: '2e0a29e63513a26d2df98749bb260a3469708901', class: "form-input", placeholder: "+37122345678", ref: (element) => this.phoneInput = element, validators: this.validators, label: this.showInputLabel ? t('components-contact-form-input-label') : null, theme: this.darkTheme ? 'dark' : 'classic' }), h("tet-button", Object.assign({ key: '8dc67fa295f9ddc2bdc464b26e3eeaa6616c93be', class: "form-submit", type: "primary", clickCallback: this.createManualTask, innerHTML: t('components-contact-form-submit') }, this.submitButtonProps))))));
67
+ return (h("div", { key: 'aa73925751c61121515c6024bbcfc67af99a8d08', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: '117b6ca9f520597c1792b61a98093bcad5c3d16f', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: 'ce0c7c329eb46a59c56065563b33d25c9c9c74a6', class: "form-container" }, this.showTitle && h("h2", { key: '1b85342b0de325c12037d5f8c7925cb7d1fcad0a', class: "form-title" }, t('components-contact-form-title')), h("p", { key: '801bf51e1f0e4430de903660e3a88449d3c50575', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: '8254bc713f64a9ec290982fc9ec5578551b6c9a1', class: "form-input", placeholder: "+37122345678", ref: (element) => this.phoneInput = element, validators: this.validators, label: this.showInputLabel ? t('components-contact-form-input-label') : null, theme: this.darkTheme ? 'dark' : 'classic' }), h("tet-button", Object.assign({ key: '8657be6c0585a964a7b2ea9b23d081f07246e38a', class: "form-submit", type: "primary", clickCallback: this.createManualTask, innerHTML: t('components-contact-form-submit') }, this.submitButtonProps))))));
68
68
  }
69
69
  static get is() { return "tet-contact-form"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class TetTvGiftBlock {
32
32
  this.setContainerSize();
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '768511a1419e708eb02e438e3b20a7063ff8c282' }, h("div", { key: '46c28a41d38c6d97dfc8483df532263471727a44', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: 'e7d1fc3a9898aa5ec79a581c2be6033bd781aa9e', class: "tv-gift__header" }, h("slot", { key: '3fef36341bcb445344871de8ca4f14638aacf590', name: "header" }, this.headerImageSrc && h("img", { key: '8a3cd0551ee5a8720900716e23326472c2191bca', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: 'a5a6d87017b675480ed3267db1463c58d2a109cf', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: 'a17a1b3ce8e9204fa2801048c0ed49eba1380d77', class: "tv-gift__content" }, h("slot", { key: 'e0229072d46653aa34a2dcd1c4a227c22e1c9376' })), h("div", { key: '86f9a511f9280ae1fc9256400e53a006a9a828b0', class: "tv-gift__footer" }, h("slot", { key: '45b5e974c3af754a2b4c31ebb54b08b5625629a1', name: "footer" }, h("span", { key: 'a4fc1115052bcce9c5bebbf886b6c804512164b3', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: 'a9ad52a528e9765a34885e0842475305036e5a0e', class: "tv-gift__footer__text" }, this.footerText))))));
35
+ return (h(Host, { key: 'ac8bcd4d4eb55765dd10fa13d9ffff39e81e33d1' }, h("div", { key: 'ec07fae328dd2eddf389c3893e31e4dbf1562595', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: '817339745ecb4fbffa8e46ef8ed153917e388c24', class: "tv-gift__header" }, h("slot", { key: '5b6749f6937949fdb6a5574ac11bc2473198dc9f', name: "header" }, this.headerImageSrc && h("img", { key: 'fbeabbdba2044f34fb3fa7b4f8e0edb79c527f2e', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: '1543107590bbf1f6e5194f6a5fee6e7088ce1ea1', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: '3f2cd3ef8f9129ad359fff04be3227cc428df0ce', class: "tv-gift__content" }, h("slot", { key: '2f9a54fec1ed884aeb2eaa75f70120fe11bd11d3' })), h("div", { key: '122782accbb4e3f1a8d99e8c928734edc2872362', class: "tv-gift__footer" }, h("slot", { key: '7966b2ff325ce60bd769e730c3556a12d7ee82c3', name: "footer" }, h("span", { key: '888cea05ac463736ac00cec67d80ad33b63cc625', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: '2d563779e213d9de1b01db5b936bb7d434f288a6', class: "tv-gift__footer__text" }, this.footerText))))));
36
36
  }
37
37
  static get is() { return "tet-tv-gift-block"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -34,11 +34,11 @@ export class TetTvGiftList {
34
34
  this.setContainerSize();
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: 'aabe89bbef89759993bc68ccdd3305136da87ed0' }, h("div", { key: '7d4f5a467f09e86b8c6737363c37bd167ee446c8', class: {
37
+ return (h(Host, { key: '3afe457fefc5505386877474b348e1a0d7810590' }, h("div", { key: 'e4d07cf23a27002abd8d3afa29f4fa5cb3605898', class: {
38
38
  'tv-gift-list': true,
39
39
  [`tv-gift-list--${this.containerSize}`]: true,
40
40
  'tv-gift-list--image-list': Boolean(this.imageSource),
41
- } }, this.imageSource && (h("div", { key: 'df39ca4413adae5d2eb8f837f94e0f1d2ff1f57d', class: "tv-gift-list__image__wrapper" }, h("img", { key: '43621dcf26574b186dfad5ead2f3be41b496f38f', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: 'd635105dc3e6bdf64661b21443191893e258e7fe', class: "tv-gift-list__list__wrapper" }, h("span", { key: '623f17fe522795e8a770f78821a263093d173d31', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: '07b5b2ad4eff7a48ca415c620a1a48718c7ac5c3', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
41
+ } }, this.imageSource && (h("div", { key: '5d613a501ca2a377e3e9935ea7a021a8cf16d63d', class: "tv-gift-list__image__wrapper" }, h("img", { key: '0c4340f3fef355a839824e1e8f9694452d379f73', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: '1f800f68d384723302463f60e2fa60c90ca2838f', class: "tv-gift-list__list__wrapper" }, h("span", { key: '8985c4ea56fb3834adaa260434b9781f320a99f1', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: '20097d16f1c21f6cc4f738b94471a68f3b11471f', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
42
42
  }
43
43
  static get is() { return "tet-tv-gift-list"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -157,11 +157,11 @@ export class TetTabContent {
157
157
  this.selectedId = id;
158
158
  }
159
159
  render() {
160
- return (h(Host, { key: '99ef654990007a1767d83bdada1254908054df86' }, h("div", { key: '9a47d04a0294e2c323d84195a8655bdc3eb1cb79', class: {
160
+ return (h(Host, { key: 'ed62db4ffe30b80044cf53e77fcab7d97e842ea8' }, h("div", { key: '9085065bf7eaf59031ffb592581a4e8ad1df186c', class: {
161
161
  'tet-tab-content': true,
162
162
  'use-visibility': this.useVisibility,
163
163
  [this.theme]: true
164
- } }, h("slot", { key: 'cbd4bd6c2256bec90cdb4bf3e03811ada0a7c187' }))));
164
+ } }, h("slot", { key: 'c9570e911111cc9be74e9ef99622df2d70667c89' }))));
165
165
  }
166
166
  static get is() { return "tet-tab-content"; }
167
167
  static get encapsulation() { return "shadow"; }
@@ -468,7 +468,7 @@ export class TetTabHeader {
468
468
  return {};
469
469
  }
470
470
  render() {
471
- return (h(Host, { key: '69375bd1efd1b8ffc58e5a5b20d534a429d04fc5', "data-id-suffix": this.idSuffix }, h("div", { key: '62b614ad945461fe2cae468dd82f69f88fd6f4f2', class: {
471
+ return (h(Host, { key: 'd5ec141aa62d1ca98e31dcc34fe954bda12cdba5', "data-id-suffix": this.idSuffix }, h("div", { key: 'f02d170c1d2ece9c78f2b05826c9a5124a56a120', class: {
472
472
  'tabs': true,
473
473
  'tabs--segmented': this.segmented,
474
474
  'dark': this.darkMode,
@@ -476,7 +476,7 @@ export class TetTabHeader {
476
476
  [this.theme]: true,
477
477
  [this.sizing]: true,
478
478
  [this.type]: !!this.type
479
- }, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: '6f84be168ec7fef30d35eea8c221236896a74906', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: '7b8f4b5199a4871b2aee1cf9381e479da03622b0', class: { 'tabs-line': !this.segmented, 'no-underline': this.hideHeaderUnderline } })));
479
+ }, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: 'cf2991dfdbe50b704b0d6a4c3e417d59e391436d', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: 'ad582424eb6c51c29ac979a81ed1a80c7912820a', class: { 'tabs-line': !this.segmented, 'no-underline': this.hideHeaderUnderline } })));
480
480
  }
481
481
  static get is() { return "tet-tab-header"; }
482
482
  static get encapsulation() { return "shadow"; }
@@ -20,12 +20,12 @@ export class TetTag {
20
20
  processTranslations('tet-components', this.language).then(() => forceUpdate(this));
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: '9adf21e526708f99322d9d75d7a533295feacad4' }, h("button", { key: '534e66a2ad0e858a1bb0cec2f35ff4926325f749', class: {
23
+ return (h(Host, { key: 'ab7bbef648448eed0d371f4df1ee32f7c41ef5bf' }, h("button", { key: 'b137d0c7100a92f67b1123f5faa71dbccbf0ed63', class: {
24
24
  tag: true,
25
25
  'tag-active': this.active,
26
26
  'tag--icon': this.showIcon,
27
27
  [`theme-${this.theme}`]: true,
28
- }, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: 'ce9882a609dfd7e21bbc6109cab368e885ef4694', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: '63ce70c6ae2193fcef302f70d2eb4f36db0d2021', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '85cfc52b1b50d9c58051a56a16d2c73b57c0533d', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
28
+ }, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '36df61f82fbf4d0ef42718acae6b57ea6ce30f13', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'a33bd28cc9b6eb4a6424266d22b9b1916f498d3b', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '47673d9c9dff84aca27d0d26ecfc434ee4fe296b', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
29
29
  }
30
30
  static get is() { return "tet-tag"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -431,23 +431,23 @@ export class TetCarousel {
431
431
  document.removeEventListener('pointerup', this.onPointerUp);
432
432
  }
433
433
  render() {
434
- return (h(Host, { key: 'bb7670689ce1d4e7e3d049a1a91c06b2a7714509' }, h("div", { key: '7d33df637778fda0aa730499423478913266d0ce', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: 'e4008496a6877b8ba9a376011556338be2b14c7f', class: "tet-carousel__container" }, h("div", { key: 'f75a6ee045999de32a9ffe5801a1a6861a5ce960', class: "tet-carousel__gradient-left", ref: (el) => {
434
+ return (h(Host, { key: 'cc7785e5ce781064c7fd53cb5f4d624d755d33df' }, h("div", { key: 'bfe9b6b3528a0a08db1dde0a3d9dcedd67ec4980', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '823b75de5ca2a185ead350122234eef6fb002231', class: "tet-carousel__container" }, h("div", { key: 'd7927cf0cd255574c4939f5054cf2f1de7a3c831', class: "tet-carousel__gradient-left", ref: (el) => {
435
435
  this.leftGradientRef = el;
436
- } }), h("div", { key: 'b9b007acfdb75662c2beffa64fe0e893760fbe09', class: "tet-carousel__gradient-right", ref: (el) => {
436
+ } }), h("div", { key: '5a604a3084fcb4cac73c74639ef3ca622498754e', class: "tet-carousel__gradient-right", ref: (el) => {
437
437
  this.rightGradientRef = el;
438
- } }), h("div", { key: '44aa002cf7136d51227a2b485b2f5fe92c411966', class: `tet-carousel__track ${!this._showButtons() && !this._showDots() ? 'tet-carousel__track--center' : ''}`, ref: (el) => (this.trackElement = el), style: {
438
+ } }), h("div", { key: '67de66314358e29978696b5ced9b9f3bb52d33c9', class: `tet-carousel__track ${!this._showButtons() && !this._showDots() ? 'tet-carousel__track--center' : ''}`, ref: (el) => (this.trackElement = el), style: {
439
439
  transform: `translateX(${this.dragOffset}px)`,
440
440
  transition: this.isDragging ? 'none' : `transform ${this.transitionDuration}ms ${this.transitionTiming}`
441
- }, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '056207cffb106abba1c84e66e66aa39a4386255b' }))), !!this.label && h("div", { key: '6049044e67bc36cc5af3eeba3a298a1025340374', class: "tet-carousel__label" }, this.label), (this._showButtons() || this._showDots()) && (h("div", { key: '1db07d47f4c0941584c988653df8bb1f06089d0f', class: "tet-carousel__controls" }, this._showButtons() && (h("div", { key: 'a073c79635049c68600bd6eb481c14cd04956c6b', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: 'e6c33055aceb9e046092611e404b6f43ebf230f3', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
441
+ }, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '1449c936f68deaf14b6d5903a55885c0f381c3da' }))), !!this.label && h("div", { key: '96d0b4d134336f39fa7f9d69f1be7c34ebc57376', class: "tet-carousel__label" }, this.label), (this._showButtons() || this._showDots()) && (h("div", { key: 'c3495191eb4e7976a6403a1e33a9c5f81b65690b', class: "tet-carousel__controls" }, this._showButtons() && (h("div", { key: '8e0831510715879ec751d82ed41a460754dbb730', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: '372ee4b1aa7f971fb2ce91e18617f145397749d9', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
442
442
  if (!this.isDragging)
443
443
  this.handlePrev();
444
- }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }))), this._showDots() && (h("div", { key: 'f7ee07e80085ddec37d4ce675e0573aed1d2a302', class: "tet-carousel__dots" }, Array.from({ length: this.dotCount }).map((_, idx) => (h("button", { type: "button", tabIndex: -1, class: `tet-carousel__dot${idx === this.activeDotIndex ? ' active' : ''}`, key: idx, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
444
+ }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }))), this._showDots() && (h("div", { key: '7f9185833ad5dc5bede28a19f7b84a66fc8ee480', class: "tet-carousel__dots" }, Array.from({ length: this.dotCount }).map((_, idx) => (h("button", { type: "button", tabIndex: -1, class: `tet-carousel__dot${idx === this.activeDotIndex ? ' active' : ''}`, key: idx, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
445
445
  if (!this.isDragging)
446
446
  this.handleDotClick(idx);
447
- }, onClick: () => this.handleDotClick(idx) }))))), this._showButtons() && (h("div", { key: '14417fe1cf7ac43b5f000a2e7485124a946834b9', class: "tet-carousel__buttons " }, h("tet-button", { key: '6073c9834c9517779402c5c6661ac3500afad10a', class: "tet-carousel__buttons--desktop tet-carousel__btn ", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
447
+ }, onClick: () => this.handleDotClick(idx) }))))), this._showButtons() && (h("div", { key: 'cbbe188d3e5acef8bea2ec994fe5fe1f97b4faab', class: "tet-carousel__buttons " }, h("tet-button", { key: '91d8366e978bc437047095b2460fa417a44d3dd8', class: "tet-carousel__buttons--desktop tet-carousel__btn ", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
448
448
  if (!this.isDragging)
449
449
  this.handlePrev();
450
- }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }), h("tet-button", { key: '948e4149930e7acd3aa64dc94557e96b487946cb', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
450
+ }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }), h("tet-button", { key: '17d016fe166ad12d1768a3b94213f4fd2b310ffe', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
451
451
  if (!this.isDragging)
452
452
  this.handleNext();
453
453
  }, "aria-label": t('components-carousel-next'), disabled: this.dotCount <= 1 ||
@@ -49,7 +49,7 @@ export class TetIcon {
49
49
  });
50
50
  }
51
51
  render() {
52
- return (h("span", { key: 'b64042a5ccef4f24f040b11bc1c667e852d107c9', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", Object.assign({ key: '85bcc937605472010decb513a8c46fb332da2c91', class: {
52
+ return (h("span", { key: '3963eb8c5c4fabc9d2c87f9f2063592345975325', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", Object.assign({ key: '744c96f0f0cbac249e4d4ffb77981fa6d267e52a', class: {
53
53
  'icon-container': true,
54
54
  'default-color': this.shouldUseDefaultColor(),
55
55
  [this.theme]: true,
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class TetLoader {
6
6
  render() {
7
- return (h("div", { key: '810fabedba008fdd679c00faaa3e37b220c0b0d4', class: "loader" }, h("div", { key: '382c4d05d02cbd05ceff85e21f54b092bbcb3a1b', class: "loader-inner" })));
7
+ return (h("div", { key: '09300b685d530e8942f78d9eae8ad9ae5edce4d7', class: "loader" }, h("div", { key: '511652ee404eef66b5a169249959d04be05c8be0', class: "loader-inner" })));
8
8
  }
9
9
  static get is() { return "tet-loader"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class TetPlaceholder {
9
9
  this.darkTheme = false;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '4d02b9fba03d0ec8d670a94597fdeb71a264fac0', style: { width: this.width, height: this.height } }, h("div", { key: '50c0bf32fed5e31563222be25875609541783321', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '091231196ebec4770385c4792f2a967c180fe80c', class: "placeholder", style: { height: this.height } }))));
12
+ return (h(Host, { key: '4eabc206064cd1ff6f76bd6afc5a84b36587a3fa', style: { width: this.width, height: this.height } }, h("div", { key: '9b0d63300471b673c9a6872c653ee5dc52b1aab9', class: { 'dark-theme': this.darkTheme } }, h("div", { key: 'faa8f1c18dda4dfe7e1d5230816544d96603808c', class: "placeholder", style: { height: this.height } }))));
13
13
  }
14
14
  static get is() { return "tet-placeholder"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -47,13 +47,13 @@ export class TetSpinner {
47
47
  this.setForeignObjectAttributes();
48
48
  }
49
49
  render() {
50
- return (h("div", { key: '80d6e4e8423122fdbe5976fa1682f1b84dd4c30c', ref: element => (this.spinner = element), class: {
50
+ return (h("div", { key: '939bc9a8489618ca09ccd56037ac4bcccffef9f3', ref: element => (this.spinner = element), class: {
51
51
  spinner: true,
52
52
  [`${this.theme}-theme`]: true,
53
53
  [`size--${this.size}`]: true,
54
54
  [`spinner--${this.type}`]: true,
55
- } }, h("svg", { key: 'f7a801b7ec3655023480cfd8f9bf0334982f9bbb', viewBox: "0 0 40 40" }, h("clipPath", { key: 'c1b9c71d29ee808fa9e20067f2cbb574580c2d4f', id: "clip" }, h("path", { key: '59da97936d0aeb48a5d637e9b449e2e75c49ce97', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
56
- 0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '136a0347951d968aa6c232d0d5ba2d58324facdf' }, h("div", { key: '946ca391bda21cef00b621e81d06fd193f267c38', class: "spinner__gradient" })))));
55
+ } }, h("svg", { key: '55db6e97bfd1b85be83b287e2efac8ff0efe49f6', viewBox: "0 0 40 40" }, h("clipPath", { key: 'ee388a7fcbb01f43058456494f7ccfd2976ed8a7', id: "clip" }, h("path", { key: 'ed2c7dae569da6e3725017431f31bc699da27c3f', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
56
+ 0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: 'c17720fdb456cb616bb019cacc078e8585e150e9' }, h("div", { key: '905c1b463931244539021b13085084d580bd34ee', class: "spinner__gradient" })))));
57
57
  }
58
58
  static get is() { return "tet-spinner"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -13,12 +13,12 @@ export class TetLabel {
13
13
  this.showIcon = false;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '2d391e505ea7f920e498749ac37d7f7f0f3707bb' }, h("div", { key: '83058292d04395c6c3ec3e4ced89160021a96d7a', class: {
16
+ return (h(Host, { key: '189316abb6947c2b80b4a5e122c034428dd585ab' }, h("div", { key: '927a44f2e990687cdce82e616710a44a6e8fdd01', class: {
17
17
  label: true,
18
18
  'label-active': this.active,
19
19
  [`label-type-${this.type}`]: true,
20
20
  [`theme-${this.theme}`]: true,
21
- } }, this.labelTitle && h("p", { key: '19dcdcb5c6fc4f2bcf0bf064882ca1871686b3fa', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: '1d1be38e6a71c682a7d276ff8c8efb15cc59e835', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
21
+ } }, this.labelTitle && h("p", { key: '52ca2dd70bfb5bfdc87b357a5314bcc841722638', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: 'a5e595e998e36527d16d22ef6943c05d1f9bad9c', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
22
22
  }
23
23
  static get is() { return "tet-label"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -51,9 +51,9 @@ export class TetDatepickerHeader {
51
51
  this.internalDateChanged.emit(newDate);
52
52
  }
53
53
  render() {
54
- return (h("div", { key: '5e9853fc4c6dddedf90714a298129ef8d5308112', class: "header" }, this.datepickerView !== 'year'
54
+ return (h("div", { key: '6b5f27b0570eb16cf7fd96ff5152152d7d8260c1', class: "header" }, this.datepickerView !== 'year'
55
55
  ? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
56
- : h("div", null), h("div", { key: 'ef8216cb059829654419d63e4d1ba296cfc77cbe', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: '5dff8cd29082aecbfe2908c41ad9647b7ffac3ea', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
56
+ : h("div", null), h("div", { key: '3cc993fe37d9a3aca9059c8c821a66cfb1a42a74', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: 'defcfa31cfbd9b2202eb70bca6f09445235facf7', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
57
57
  ? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
58
58
  : h("div", null)));
59
59
  }
@@ -156,7 +156,7 @@ export class TetDatepickerMonthView {
156
156
  return date.toDateString() === this.currentDate.toDateString();
157
157
  }
158
158
  render() {
159
- return (h(Host, { key: '2418b17ffad4717135dd901675cce8837dd67c9d' }, h("div", { key: 'eddd8275d137954d07cb8eda851afe641458c4fe', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: '4b3d5d75b37046307ac5f7e5453eb9d71a7a98bf', class: "month-dates" }, this.previousMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date.getDate()))), this.monthDates.map(date => h("div", { class: this.getDateContainerClasses(date), onPointerEnter: (event) => this.setInRangeHover(date, event), onPointerLeave: (event) => this.removeInRangeHover(event) }, h("div", { class: this.getDateClasses(date), onClick: () => this.handleDateSelection(date) }, date.getDate()))), this.nextMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date))))));
159
+ return (h(Host, { key: '799581ac22a5905c44e0aef6d287a6cff108f62a' }, h("div", { key: 'ca3912658b3aa61bceb790647a8f87263667a768', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'ee0c8cab27294d7ed54f39132597b765c24c2e42', class: "month-dates" }, this.previousMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date.getDate()))), this.monthDates.map(date => h("div", { class: this.getDateContainerClasses(date), onPointerEnter: (event) => this.setInRangeHover(date, event), onPointerLeave: (event) => this.removeInRangeHover(event) }, h("div", { class: this.getDateClasses(date), onClick: () => this.handleDateSelection(date) }, date.getDate()))), this.nextMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date))))));
160
160
  }
161
161
  static get is() { return "tet-datepicker-month-view"; }
162
162
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class TetDatepickerMultiYearView {
29
29
  this.years = this.getYears(this.internalDate);
30
30
  }
31
31
  render() {
32
- return (h("div", { key: '7deaee90f0befb6966d42c1f4aed376eadcc866d', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
32
+ return (h("div", { key: '2b9e6a0532cd99b341adb008806a59ad0e330d71', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
33
33
  }
34
34
  static get is() { return "tet-datepicker-multi-year-view"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -34,7 +34,7 @@ export class TetDatepickerYearView {
34
34
  return this.todayDate.getMonth() === monthIndex;
35
35
  }
36
36
  render() {
37
- return (h("div", { key: '903b92c31ff86446b8acb80c12ca5ddc882950d8', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
37
+ return (h("div", { key: '11e53490145bbeae473c6714fcf245c1630f55eb', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
38
38
  }
39
39
  static get is() { return "tet-datepicker-year-view"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -94,10 +94,10 @@ export class TetDatepicker {
94
94
  this.rangeDatesChanged.emit(newDates);
95
95
  }
96
96
  render() {
97
- return (h("div", { key: '7dadc4adb89f9676f81f1d1038ea5b744dd09c8c', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: 'cf0c5c063b86556874067fc2659fd29d14e4545f', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '0b034b1a9b1028939a372fcc25d305481ab6731a', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
98
- h("tet-datepicker-month-view", { key: '7a54c81816f0200d6df3fc625aebff93f30d6285', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
99
- h("tet-datepicker-multi-year-view", { key: 'f5a0862146008dfb1c8fefad6900893e02ceb318', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
100
- h("tet-datepicker-year-view", { key: 'e930e475ad3d464801cebe7dade48f86afb3e966', selectedDate: this.date, internalDate: this.internalDate }))));
97
+ return (h("div", { key: 'b89a2ef91d3b9516d8d80745a5c4105cdc4eb096', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: '07ceb2a2b3ce12ddad14d6a4294218df4c2f95d8', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '033f7baba4ffa0c0576637475f167182257565bc', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
98
+ h("tet-datepicker-month-view", { key: 'f29f0e235502958e18b152c63e712fe278e2614a', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
99
+ h("tet-datepicker-multi-year-view", { key: '171e871160cea96e173fbba2b99a9b51744200bb', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
100
+ h("tet-datepicker-year-view", { key: '31367535b8b5c58aede8c3dd72d2efddc0bb1b52', selectedDate: this.date, internalDate: this.internalDate }))));
101
101
  }
102
102
  static get is() { return "tet-datepicker"; }
103
103
  static get encapsulation() { return "shadow"; }
@@ -747,31 +747,31 @@ export class TetRangeSlider {
747
747
  this.updateProgress();
748
748
  }
749
749
  render() {
750
- return (h(Host, { key: '4ecf0341fca005f2b3fb1792415e6ac5a1fc2b67' }, h("div", { key: 'bc3a6dba2d680f890e2a544365e5d2c3aebb5fb5', class: {
750
+ return (h(Host, { key: '2fd9918402c7fd6646765b003f58207f94e55bd6' }, h("div", { key: '146876c58f3e7ca4590360905e3d48adba41c2da', class: {
751
751
  'range-slider': true,
752
752
  [`range-slider--${this.containerSize}`]: true,
753
753
  [`range-slider--${this.type}`]: true,
754
754
  'range-slider--no-controls': !this.withControls,
755
755
  'range-slider--no-input': !this.withInput,
756
756
  [this.theme]: true,
757
- } }, h("div", { key: 'a9585c34bb3ad57274e4f2a451ceba183fd19b13', class: {
757
+ } }, h("div", { key: 'b615781e3e754e7ce56c268c820a34104a8dd62b', class: {
758
758
  'range-slider__input-container': true,
759
759
  'hidden': !this.withInput,
760
- } }, h("tet-input", Object.assign({ key: 'e2dc3feb5e15b988886a36d2a456f4c523aa5d6a', "input-class": "range-slider__input", "input-type": "number", "input-value": this.currentValue, ref: inputEl => (this.inputRef = inputEl), theme: this.theme, onInput: this.onInputChange, onKeyDown: (event) => this.onInputKeyDown(event, true), accessibilityLabel: this.numberInputAccessibilityLabel }, (this.containerSize !== 'large' ? { inputTabindex: 3 } : {})))), h("div", { key: '028d7b63d5c52ff8ffb99b696d57e87b6a25dfc1', class: "range-slider__container" }, h("tet-button", Object.assign({ key: 'a54a4293a5e5d7e08912d176991f85ce2493929d', theme: this.theme, iconMode: true, class: {
760
+ } }, h("tet-input", Object.assign({ key: 'e1c502b4e84bcae1bf5fb7bc0f1446d9edc5c829', "input-class": "range-slider__input", "input-type": "number", "input-value": this.currentValue, ref: inputEl => (this.inputRef = inputEl), theme: this.theme, onInput: this.onInputChange, onKeyDown: (event) => this.onInputKeyDown(event, true), accessibilityLabel: this.numberInputAccessibilityLabel }, (this.containerSize !== 'large' ? { inputTabindex: 3 } : {})))), h("div", { key: 'dc49209286326c4f7e89f4fe89469d7a02969c2b', class: "range-slider__container" }, h("tet-button", Object.assign({ key: '4b58b564ea06c0495408beb10f92e54973b192f6', theme: this.theme, iconMode: true, class: {
761
761
  'range-slider__control': true,
762
762
  'range-slider__control--left': true,
763
763
  'hidden': !this.withControls,
764
- }, clickCallback: this.onControlPreviousClick }, (this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 2 } : {})), h("tet-icon", { key: '9f6c1a112efb19702b123579d454b3d396d1befb', name: "remove", class: "range-slider__control--icon" })), h("div", { key: '96a546d0e61dac0d6043b5f729c63614f09b2b38', onTouchStart: this.onContainerTouchStart, onTouchEnd: this.onContainerTouchEnd, onMouseDown: this.onContainerMouseDown, onScroll: this.onContainerScroll, ref: sliderContainerEl => (this.sliderContainerRef = sliderContainerEl), class: "range-slider__slider-container", draggable: false }, h("div", { key: 'f0295b5cb83adf0b7be7243e1bbd3aafd04fcdda', class: "range-slider__slider-wrapper" }, h("input", Object.assign({ key: 'f09c3998d3d4c552bc78a2348648ea545758195a', ref: sliderEl => (this.sliderRef = sliderEl), type: "range", min: this.minValue, max: this.maxValue, step: this.step, value: this.defaultValue, list: "steplist", id: "rangeInput", onInput: this.onSliderInput, onChange: this.onSliderChange, onPointerDown: this.onSliderPointerDown, onPointerUp: this.onSliderPointerUp, onKeyDown: this.onInputKeyDown, class: "range-slider__slider" }, (this.sliderInputAccessibilityLabel ? { "aria-label": this.sliderInputAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 1 } : {})))), h("div", { key: 'd2259d60a0377023578c09dac3fc37b11015237b', class: "range-slider__track range-slider__track--background" }), h("div", { key: 'ab33a18a27c257e1a5e39fcdc816693dda98cd9e', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: '895d20240efeee6f43eca55218872ac2e438ef23', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: '7639fd616257ef774ff166c76be408442463820e', ref: dataLabelEl => (this.dataLabelRef = dataLabelEl), class: {
764
+ }, clickCallback: this.onControlPreviousClick }, (this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 2 } : {})), h("tet-icon", { key: '7cce8a328d48bd1afc5223f16985f27c6d03f6fe', name: "remove", class: "range-slider__control--icon" })), h("div", { key: '302ce14f3bff9a4affdd70628e4064bc0ba4c76f', onTouchStart: this.onContainerTouchStart, onTouchEnd: this.onContainerTouchEnd, onMouseDown: this.onContainerMouseDown, onScroll: this.onContainerScroll, ref: sliderContainerEl => (this.sliderContainerRef = sliderContainerEl), class: "range-slider__slider-container", draggable: false }, h("div", { key: 'eff01ff14ae1d4f6cad12ff87f182d90e7c98986', class: "range-slider__slider-wrapper" }, h("input", Object.assign({ key: '84b518a1a5d0af0b71cab56eaf70da99ba9037f5', ref: sliderEl => (this.sliderRef = sliderEl), type: "range", min: this.minValue, max: this.maxValue, step: this.step, value: this.defaultValue, list: "steplist", id: "rangeInput", onInput: this.onSliderInput, onChange: this.onSliderChange, onPointerDown: this.onSliderPointerDown, onPointerUp: this.onSliderPointerUp, onKeyDown: this.onInputKeyDown, class: "range-slider__slider" }, (this.sliderInputAccessibilityLabel ? { "aria-label": this.sliderInputAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 1 } : {})))), h("div", { key: 'a6227baafbd8a95a038b349bfdbf0c82ff16d32e', class: "range-slider__track range-slider__track--background" }), h("div", { key: '67ee06268d066ac19a3168c1c390da759829ecbe', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: 'c6ef47bebfe1fa2d324ddca291796d7d9dddf757', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: '5c9b34e1b9f14c8229038244f3af9f8c429c4a0b', ref: dataLabelEl => (this.dataLabelRef = dataLabelEl), class: {
765
765
  'range-slider__data-label-container': true,
766
766
  'hidden': this.type === 'secondary' && this.containerSize === 'small',
767
- } })), h("div", { key: '3120e01488e8b65ca1390a81356906189d370202', class: {
767
+ } })), h("div", { key: '822ebaa3ba6dbfdb8e1dc5b389500bf153a24838', class: {
768
768
  'range-slider__current-step-container': true,
769
769
  'hidden': !this.withCurrentStepCounter,
770
- } }, h("div", { key: 'fc8cc8144298b2b56452587eae9c61053f794271', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: 'f41bc4e3e30bdfd10e0396735a82fad53388e444', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: '432b1cef8b41404104205e47ce339c7d79bbd62c', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", Object.assign({ key: 'dafc0d34344c3fd04756db52ffde74b20a246146', theme: this.theme, iconMode: true, class: {
770
+ } }, h("div", { key: 'b2df015bf74c75402e7ff2214421f640222fbe79', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: 'c5e29b80359672b9ae5947fd7d0423b9babe28e0', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: 'be6b64554b6c49e80bb3d36ff24ed2800c580a5f', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", Object.assign({ key: '4afb1fcdfabe0a51c131d206795a514c03619548', theme: this.theme, iconMode: true, class: {
771
771
  'range-slider__control': true,
772
772
  'range-slider__control--right': true,
773
773
  'hidden': !this.withControls,
774
- }, clickCallback: this.onControlNextClick }, (this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 4 } : {})), h("tet-icon", { key: 'a8b05d5ee60e7cb3d9767a46cf84299a5816cdea', name: "add", class: "range-slider__control--icon" }))))));
774
+ }, clickCallback: this.onControlNextClick }, (this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 4 } : {})), h("tet-icon", { key: '71a65900ae93e08dbf724090f66b0e1d383124d7', name: "add", class: "range-slider__control--icon" }))))));
775
775
  }
776
776
  static get is() { return "tet-range-slider"; }
777
777
  static get encapsulation() { return "shadow"; }
@@ -123,7 +123,7 @@ export class TetStepperInput {
123
123
  */
124
124
  render() {
125
125
  const { onMinusClick, value, onPlusClick } = this;
126
- return (h("div", { key: '431bc704e974bd077a462692526113ff5b2a47fb', class: { 'stepper-input': true, [this.theme]: !!this.theme } }, h("tet-button", { key: 'ca7947f37e0bf6482a96260636aa19a7de0c278a', type: "secondary", iconMode: true, theme: this.theme, size: 'small', accessibilityLabel: t('components-number-input-decrease'), onKeyDown: this.handleOptionKeydown(onMinusClick), onClick: onMinusClick }, h("tet-icon", { key: 'ebaebc4048be36613bde41bb65cc760a4f5039bd', name: "remove" })), h("input", Object.assign({ key: '8574037a98bb73a23164266bd4e732e52fad3286', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: "stepper-input__value", value: value, type: "number" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("tet-button", { key: '9212e461c199f6992a78d368a28343a6b4456784', type: "secondary", iconMode: true, theme: this.theme, size: 'small', accessibilityLabel: t('components-number-input-increase'), onKeyDown: this.handleOptionKeydown(onPlusClick), onClick: onPlusClick }, h("tet-icon", { key: '75fce150a780e0096474bd36eac33f0d9f20fd75', name: "add" }))));
126
+ return (h("div", { key: 'e96aa70ddd07c636ce7ee350b0d308318acca733', class: { 'stepper-input': true, [this.theme]: !!this.theme } }, h("tet-button", { key: 'b7cd698c41b5089f8199dac74f80e67866bc0b57', type: "secondary", iconMode: true, theme: this.theme, size: 'small', accessibilityLabel: t('components-number-input-decrease'), onKeyDown: this.handleOptionKeydown(onMinusClick), onClick: onMinusClick }, h("tet-icon", { key: '915b5d63e35b7584cf9773d6dfee2ace4db1164e', name: "remove" })), h("input", Object.assign({ key: 'f94749e198ffae317e35acb08de385b73436f28d', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: "stepper-input__value", value: value, type: "number" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("tet-button", { key: 'c8b8a88436a61708bfea2fe522b8d180a9327448', type: "secondary", iconMode: true, theme: this.theme, size: 'small', accessibilityLabel: t('components-number-input-increase'), onKeyDown: this.handleOptionKeydown(onPlusClick), onClick: onPlusClick }, h("tet-icon", { key: '2254b7c8ccc1658317d2d0d5adbca9dd3e1b4c85', name: "add" }))));
127
127
  }
128
128
  static get is() { return "tet-stepper-input"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -50,8 +50,8 @@ export class TetTextarea {
50
50
  'error': (errorMessages.length > 0),
51
51
  'keyboard-focus': this.focusVisible,
52
52
  };
53
- return (h(Host, { key: '909fe293456d0c8be0b5f8a39e5b63a323380ce8' }, h("label", { key: '3f0f9564bad315e959a5c618a022852b2f28ec0f', class: { [`${theme}`]: true } }, label &&
54
- h("span", { key: '610393736f1dcb6ffff2a17cc943cf63495738ce', class: { 'tet-textarea__label': true, [`tet-textarea__${theme}`]: true } }, label), h("div", { key: '9ae25c4104ba8a17d9ffce33ae9801cef6c35947', class: { 'textarea-container': true, [`tet-textarea__${theme}`]: true } }, h("textarea", { key: '31f72aa28b27fe622ee412224b4084e2816133a4', onFocus: this.addKeyboardFocus, onFocusout: this.removeKeyboardFocus, id: "textarea", class: textareaClasses, placeholder: placeholder, disabled: disabled, autocomplete: "off" }, value))), (this.errorMessages.length > 0) && renderErrorMessages()));
53
+ return (h(Host, { key: 'a87402023963e5e972e19ce6e25a1f6b00c80721' }, h("label", { key: 'ee87158030fbb41a663ff24cee0d7694c01d8b65', class: { [`${theme}`]: true } }, label &&
54
+ h("span", { key: '54abeed36abd6e61f8531e9fdbcbbe5902733b0f', class: { 'tet-textarea__label': true, [`tet-textarea__${theme}`]: true } }, label), h("div", { key: '2d59267b0aa9e15e8b1bab9c3f7ed5d6b9b981dd', class: { 'textarea-container': true, [`tet-textarea__${theme}`]: true } }, h("textarea", { key: '7a6a2f8feeff9abb6a187f2fe0f393b8ef441513', onFocus: this.addKeyboardFocus, onFocusout: this.removeKeyboardFocus, id: "textarea", class: textareaClasses, placeholder: placeholder, disabled: disabled, autocomplete: "off" }, value))), (this.errorMessages.length > 0) && renderErrorMessages()));
55
55
  }
56
56
  static get is() { return "tet-textarea"; }
57
57
  static get encapsulation() { return "shadow"; }
@@ -65,7 +65,7 @@ export class TetNewsCardList {
65
65
  scrollFullWidth,
66
66
  controlScrollAmount,
67
67
  };
68
- return (h(Host, { key: 'e1450298518f895f6d6f0f678fdb5163001f84ec' }, h("tet-card-list", Object.assign({ key: '02d0a38297b68221eddcf100031c8f54db2f5ffe', theme: this.theme, part: "card-list-component", exportparts: "card-list, card-list-container", withOverflowOpacity: true }, props), this.items.map((item, index) => this.renderListCard(item, index)))));
68
+ return (h(Host, { key: 'f9177ab3ca9aa92548820179ca3731669285102f' }, h("tet-card-list", Object.assign({ key: '94f9a204f48a6c33eaa039c8fd8a699cbb36b1d1', theme: this.theme, part: "card-list-component", exportparts: "card-list, card-list-container", withOverflowOpacity: true }, props), this.items.map((item, index) => this.renderListCard(item, index)))));
69
69
  }
70
70
  static get is() { return "tet-news-card-list"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -54,13 +54,13 @@ export class TetNavigationMobile {
54
54
  this.mainDropdownToggle.emit(isTogglerExpanded);
55
55
  }
56
56
  render() {
57
- return (h(Host, { key: '989a334e62baeff292f20db879a03cc99cfaa4c6' }, h("navigation", { key: 'c03c5fd048ade2f6c352c52d5f533a9972d7ce09', class: {
57
+ return (h(Host, { key: 'e6c968b7ca4f7958739d66a53c11b0644eeabdf2' }, h("navigation", { key: '24490a07460c08cb599a2abd378281512af29b84', class: {
58
58
  'navigation': true,
59
59
  'navigation--dark': this.darkMode
60
- } }, h("div", { key: 'f974ef6ecd48eab6d68573dd111889271e5b948d', class: "navigation__nav-bar" }, h("slot", { key: 'ae9b0246413bfb6e0ad3f8bcee569d34eb1cdc02' })), this.isTogglerVisible && (h("span", { key: 'd775bf2274f4359b8045afe34a8482153be9d182', class: "navigation__toggler", onClick: this.onTogglerClick, onKeyDown: (e) => this.handleKeyDown(e), tabIndex: 0 }, h("tet-icon", { key: '229b5b93b76dab8e526ba79a44cd788999f92212', theme: this.darkMode ? "dark" : "light", name: this.isTogglerExpanded ? "close" : "burger" }))), h("div", { key: '148c71a67b3c439f72a6acaa8458a5f3298bccb6', class: {
60
+ } }, h("div", { key: 'c04f1582f0c0e72e5d5b1b82defbdf7ffe7d7db7', class: "navigation__nav-bar" }, h("slot", { key: '1250cc97415a50379c08cbe67442d0347a50865a' })), this.isTogglerVisible && (h("span", { key: 'e76f066965f62de22fa0e2c4cc75ecf710238c3a', class: "navigation__toggler", onClick: this.onTogglerClick, onKeyDown: (e) => this.handleKeyDown(e), tabIndex: 0 }, h("tet-icon", { key: '4d0d26bbbfa8b1aed3cbfe4daeb8714266a97b30', theme: this.darkMode ? "dark" : "light", name: this.isTogglerExpanded ? "close" : "burger" }))), h("div", { key: 'a1d5060ff612dfdab70e0c1b406382d1f7932c94', class: {
61
61
  'navigation__dropdown': true,
62
62
  'navigation__dropdown--expanded': this.isTogglerExpanded,
63
- }, inert: !this.isTogglerExpanded }, h("slot", { key: 'a727d7ce1b173546b9a9fbb2cb44b64a40fd2ecf', name: "dropdown" })))));
63
+ }, inert: !this.isTogglerExpanded }, h("slot", { key: '0159d73960c28c7c77fee11c17f4bd3c0d659f2f', name: "dropdown" })))));
64
64
  }
65
65
  static get is() { return "tet-navigation-mobile"; }
66
66
  static get encapsulation() { return "shadow"; }
@@ -109,21 +109,21 @@ export class TetAccordion {
109
109
  }
110
110
  }
111
111
  render() {
112
- return (h(Host, { key: '87844fc844e9ee1b0d1af78b07142a090ec1e423' }, h("div", { key: 'f3e38a17ed1aac728bdba76af9e56298e209f562', class: {
112
+ return (h(Host, { key: 'cf9081d01cb3aa3dd0c713aeb098873d748bd477' }, h("div", { key: '54f7ce82ec1b6c6f171ae3dab74cfff44cb41256', class: {
113
113
  'tet-accordion': true,
114
114
  'tet-accordion--border': this.withBorder,
115
115
  [`${this.theme}-theme`]: true,
116
116
  [`tet-accordion--breakpoint-${this.breakpoint}`]: true,
117
117
  'transparent-bg': this.transparentBackground,
118
- } }, h("div", { key: 'd3c53f53298ae967634ad8bd13b876ebf2b6e1e3', class: { "tet-accordion__header": true, [this.theme]: true }, onClick: this.toggleOpenState, onKeyDown: this.toggleAccessibilityOpenState, tabIndex: 0 }, h("slot", { key: 'f4f4ca3e2b31178753d1b3c235199111f51dff31', name: "header" }, this.headerImageSrc && this.headerImageSrc !== '' && (h("img", { key: 'e770fd70dd4eb4d01e956967d383f749f2a92249', src: this.headerImageSrc, alt: this.headerImageAlt ? this.headerImageAlt : undefined, class: "tet-accordion__header-image" })), this.renderHeading(), h("tet-icon", { key: 'cf72384e62b153169fd87dec61e1dcdc6f60d025', name: `chevron-${this.indicatorDirection}`, class: {
118
+ } }, h("div", { key: 'ec48bcb9bf9104104ea94e809fdf11ad327f6839', class: { "tet-accordion__header": true, [this.theme]: true }, onClick: this.toggleOpenState, onKeyDown: this.toggleAccessibilityOpenState, tabIndex: 0 }, h("slot", { key: 'c925326230cfca6dda33f8de35edd242ec1d75b4', name: "header" }, this.headerImageSrc && this.headerImageSrc !== '' && (h("img", { key: 'dcaa36fb20dcdb2b9a5bf504142eb715281a1c3e', src: this.headerImageSrc, alt: this.headerImageAlt ? this.headerImageAlt : undefined, class: "tet-accordion__header-image" })), this.renderHeading(), h("tet-icon", { key: '3de81beabd68962a81b6d14b43836522ed42adf5', name: `chevron-${this.indicatorDirection}`, class: {
119
119
  'tet-accordion__icon': true,
120
120
  'open': this.isOpen
121
- } }))), h("div", { key: 'ac910535f2252b83500ae60da5182e701fc28546', ref: (element) => (this.contentWrapperElement = element), class: {
121
+ } }))), h("div", { key: 'c36d811dce6e7f75943cf6ebc3efc9c5e59992ba', ref: (element) => (this.contentWrapperElement = element), class: {
122
122
  'tet-accordion__content-wrapper': true,
123
123
  'visible': this.isOpen
124
- }, inert: !this.isOpen }, h("div", { key: '3a9658d4826b7c3b95c2c7a54f5f9ffcfeddcfb9', ref: (element) => (this.contentElement = element), class: {
124
+ }, inert: !this.isOpen }, h("div", { key: 'b0eb8bde4f2dcc4485e4ac7438e4e10c0665223f', ref: (element) => (this.contentElement = element), class: {
125
125
  'tet-accordion__content': true
126
- } }, h("slot", { key: 'cf5c44c68e23109eb6837bad34dd920fb2a325f2' }))))));
126
+ } }, h("slot", { key: '30549eb3dd9bcdd2bf1fc604a582d71d1ebfafad' }))))));
127
127
  }
128
128
  static get is() { return "tet-accordion"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -63,7 +63,7 @@ export class TetExpansionPanel {
63
63
  return this.state;
64
64
  }
65
65
  render() {
66
- return (h("div", { key: 'be51c2f24b6136ded20650774ba479cf36680a39', class: { 'tet-expansion-panel': true, 'open': this.state === 'open' } }, h("div", { key: '7ed548b6f739c7ba9b1e1210146f4b7d81aa5025', class: "tet-expansion-panel-content" }, h("slot", { key: '0d0ad5b0381dc5fd83904b78f963f875b0e8f1d4' }))));
66
+ return (h("div", { key: 'bd845f20dc3891dea5b3a05a545a7c3a723c79f0', class: { 'tet-expansion-panel': true, 'open': this.state === 'open' } }, h("div", { key: '32989a1dd3c8d2a7ab4bf0391623e48858150a68', class: "tet-expansion-panel-content" }, h("slot", { key: 'ee2496a37cc35893d1bbcd8b7aa047ef6368858b' }))));
67
67
  }
68
68
  static get is() { return "tet-expansion-panel"; }
69
69
  static get encapsulation() { return "shadow"; }
@@ -116,7 +116,7 @@ export class TetNotification {
116
116
  }
117
117
  render() {
118
118
  const { headerTitle, content } = this;
119
- return (h(Host, { key: '92df6a533080766bcb112aa5628c7f3987397ef0' }, h("div", { key: '86b96d038588c3c0528c2e2ea19e63d1920ef18b', class: { notification: true, [this.theme]: true } }, h("div", { key: '8f3481b551e50bc59be0eae227fadcc3ca60c2c8', class: { item: true, [this.type]: true } }, h("div", { key: 'f127ffec1199b429829e3aeac8487117f65d87f2', class: "header" }, this.renderTypeIcon(), h("div", { key: '2faed02346636d431dc3b0fa7a8d6b8502d086f0', class: "title" }, headerTitle), this.renderCloseButton()), h("div", { key: '541a597ac2d32da9ae34c61617f486cdaa87f612', class: "content" }, h("span", { key: '6cd93c3b41708e4bd78255abf13c43884921fd5e', innerHTML: content }), h("div", { key: 'f1566305649d3881c3dae206a0109392e0706cb5' }, h("slot", { key: '9a2a2a50459f544f39cbedac66546b3f6ec3d6c2', name: "button" })))))));
119
+ return (h(Host, { key: '3ad67a5d65a80d5ab0e062a14ddeae4c34063c41' }, h("div", { key: '69c7fed9473334a39f65acd7592cf2180110e265', class: { notification: true, [this.theme]: true } }, h("div", { key: '0e1ae217e9b47282f3af1e4cb2eae524d10c6e72', class: { item: true, [this.type]: true } }, h("div", { key: 'd5af5b9363034c25224bbe1f5529aad8a410ee1e', class: "header" }, this.renderTypeIcon(), h("div", { key: 'ca1c5f69b0fe81a785d650304e4d42ac00f9f3b0', class: "title" }, headerTitle), this.renderCloseButton()), h("div", { key: '7fc0bf1cc2b623c4255ef2745595aa6f83210779', class: "content" }, h("span", { key: 'f914bad800ff00fc58e7cd90a91aa3b2aa753f0e', innerHTML: content }), h("div", { key: 'a713f6e9b18b179a576a822bffca7930d021476a' }, h("slot", { key: '5873086c00b01ea63803576827b7aab2c5a9e979', name: "button" })))))));
120
120
  }
121
121
  static get is() { return "tet-notification"; }
122
122
  static get encapsulation() { return "shadow"; }
@@ -351,7 +351,7 @@ export class TetTooltip {
351
351
  return isTooltipOutOfBounds;
352
352
  }
353
353
  render() {
354
- return h(Host, { key: '9038a4e6d207d625e43ad30b9dda7428092f5eb5', class: { visible: this.showTooltip } }, this.renderTooltip());
354
+ return h(Host, { key: '0c83c0260ccb60dbacae07d2938a961d2d5b843f', class: { visible: this.showTooltip } }, this.renderTooltip());
355
355
  }
356
356
  static get is() { return "tet-tooltip"; }
357
357
  static get encapsulation() { return "shadow"; }
@@ -129,7 +129,7 @@ export class TetAddressOffersView {
129
129
  return h(Fragment, null);
130
130
  }
131
131
  render() {
132
- return (h(Host, { key: '0040bcf574a2730fc66219e184b7da182239bf36' }, this.renderContactForm(), this.renderHeader(), this.address && this.renderBody()));
132
+ return (h(Host, { key: '027d4397d35bb9d3953ff6fa0b4fb2150950e9f4' }, this.renderContactForm(), this.renderHeader(), this.address && this.renderBody()));
133
133
  }
134
134
  static get is() { return "tet-address-offers-view"; }
135
135
  static get encapsulation() { return "shadow"; }
@@ -408,15 +408,15 @@ button.button-reset {
408
408
  flex: 0 0 calc(30% - 0.75rem);
409
409
  position: sticky;
410
410
  }
411
- @media screen and (min-width: 64rem) {
412
- .cart {
413
- max-width: calc(30% - 0.75rem);
414
- }
415
- }
416
411
  .cart--edit {
417
412
  bottom: -1px;
418
413
  top: calc(var(--b2b-cart-sticky-top) + var(--b2b-cart-offset-top));
419
414
  }
415
+ @media screen and (min-width: 64rem) {
416
+ .cart--edit {
417
+ max-width: calc(30% - 0.75rem);
418
+ }
419
+ }
420
420
  .cart--empty {
421
421
  display: none;
422
422
  }